/*
Theme Name: ACCESS Child
Theme URI: https://accessyyc.com
Description: Child theme for ACCESS - Alliance of Calgary Community Ethnic Support Society. Based on the Alante theme.
Author: ACCESS
Template: alante
Version: 1.1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* =============================================
   CUSTOM PROPERTIES
   ============================================= */
:root {
  --color-primary:    #1f2329;
  --color-accent:     #d33d33;
  --color-text:       #2b2d2f;
  --color-text-muted: #5b6064;
  --color-bg-alt:     #f6f7f8;
  --color-border:     #e3e5e7;
  --max-width:        1180px;
  --font-sans:        'Plus Jakarta Sans', -apple-system, 'Segoe UI', system-ui, sans-serif;
}

/* =============================================
   RESETS (scoped so we don't break wp-admin)
   ============================================= */
body.access-homepage,
body.access-homepage *,
body.access-homepage *::before,
body.access-homepage *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans) !important;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* =============================================
   HEADER & NAV — fully isolated class names
   ============================================= */
#access-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff;
  border-bottom: 1px solid #e3e5e7;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}

.acnav {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: .85rem clamp(1.25rem,4vw,2rem) !important;
  display: flex !important;
  align-items: center !important;
  gap: 1.5rem !important;
}

/* Brand */
.acnav__brand {
  display: flex !important;
  align-items: center !important;
  gap: .65rem !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
  font-weight: 800 !important;
  font-size: 1.1rem !important;
  color: #1f2329 !important;
}

.acnav__brand img {
  height: 44px !important;
  width: 44px !important;
  max-width: 44px !important;
  object-fit: contain !important;
  display: block !important;
  flex-shrink: 0 !important;
}

/* Top-level menu */
.acnav__menu {
  flex: 1 !important;
  display: flex !important;
  justify-content: center !important;
}

.acnav__menu ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
}

.acnav__menu > ul > li {
  position: relative !important;
  display: block !important;
  float: none !important;
}

.acnav__menu > ul > li > a {
  display: block !important;
  padding: .7rem .95rem !important;
  font-size: .88rem !important;
  font-weight: 600 !important;
  color: #2b2d2f !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  background: transparent !important;
}

.acnav__menu > ul > li > a:hover,
.acnav__menu > ul > li:hover > a {
  color: #d33d33 !important;
  background: transparent !important;
}

/* Dropdown */
.acnav__menu ul ul {
  display: none !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  min-width: 240px !important;
  background: #fff !important;
  border: 1px solid #e3e5e7 !important;
  border-top: 2px solid #d33d33 !important;
  border-radius: 0 0 8px 8px !important;
  box-shadow: 0 14px 32px -12px rgba(0,0,0,.2) !important;
  list-style: none !important;
  margin: 0 !important;
  padding: .4rem 0 !important;
  z-index: 10000 !important;
  flex-direction: column !important;
}

.acnav__menu li:hover > ul {
  display: block !important;
}

.acnav__menu ul ul li {
  position: relative !important;
  display: block !important;
  float: none !important;
}

.acnav__menu ul ul li a {
  display: block !important;
  padding: .55rem 1.25rem !important;
  font-size: .86rem !important;
  font-weight: 500 !important;
  color: #2b2d2f !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  background: transparent !important;
}

.acnav__menu ul ul li a:hover {
  background: #f6f7f8 !important;
  color: #d33d33 !important;
}

/* Nested sub-sub-menu (Canada88news) */
.acnav__menu ul ul ul {
  top: 0;
  left: 100%;
  border-top: 1px solid #e3e5e7;
  border-left: 2px solid #d33d33;
  border-radius: 0 8px 8px 0;
  max-height: 60vh;
  overflow-y: auto;
}

/* Language switcher */
.acnav__lang {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-shrink: 0;
}

.acnav__lang a {
  display: inline-block;
  padding: .28rem .65rem;
  font-size: .78rem;
  font-weight: 700;
  color: #5b6064;
  border: 1px solid #e3e5e7;
  border-radius: 4px;
  text-decoration: none;
}

.acnav__lang a:hover {
  color: #d33d33;
  border-color: #d33d33;
}

@media (max-width: 860px) {
  .acnav__menu { display: none; }
}

/* =============================================
   SHARED UTILITIES
   ============================================= */
.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.section-heading h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.section-heading p  { margin-top: .6rem; color: #5b6064; }

/* =============================================
   HERO
   ============================================= */
.v11-hero {
  position: relative;
  height: 88vh; min-height: 520px;
  overflow: hidden;
}
.v11-hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.v11-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,rgba(8,8,10,.65) 0%,rgba(8,8,10,.25) 30%,rgba(8,8,10,.35) 60%,rgba(8,8,10,.88) 100%);
}
.v11-hero__content {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  max-width: 1180px; margin: 0 auto;
  padding: 0 clamp(1.25rem,4vw,3rem) 6rem; width: 100%;
}
.v11-hero__eyebrow {
  text-transform: uppercase; letter-spacing: .1em;
  font-weight: 700; font-size: .82rem;
  color: rgba(255,255,255,.92);
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
  margin-bottom: 1rem;
}
.v11-hero h1 {
  color: #fff; font-size: clamp(2.4rem,5.5vw,4rem);
  font-weight: 800; letter-spacing: -.02em; max-width: 760px;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
}
.v11-hero__lead {
  margin-top: 1.25rem; max-width: 580px;
  font-size: 1.08rem; color: rgba(255,255,255,.9);
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
}
.v11-hero__actions { margin-top: 2.25rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.v11-btn {
  display: inline-flex; align-items: center;
  padding: .9rem 1.9rem; border-radius: 999px;
  font-weight: 700; font-size: .92rem; font-family: var(--font-sans);
}
.v11-btn--solid  { background: #d33d33; color: #fff; }
.v11-btn--outline { border: 2px solid rgba(255,255,255,.7); color: #fff; }
.v11-hero__scroll-cue {
  position: absolute; z-index: 1;
  bottom: 2.25rem; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,.6); border-radius: 14px;
}
.v11-hero__scroll-cue span {
  position: absolute; top: 7px; left: 50%;
  width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: #fff;
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue {
  0%,100% { transform: translateY(0); opacity:1; }
  50%      { transform: translateY(10px); opacity:.4; }
}

/* =============================================
   MISSION / VISION
   ============================================= */
.v10-mission {
  max-width: 1180px; margin: 0 auto; padding: 5rem 1.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
}
.v10-eyebrow {
  text-transform: uppercase; letter-spacing: .14em;
  font-weight: 700; font-size: .8rem; color: #d33d33; margin-bottom: 1rem;
}
.v10-mission__text { color: #2b2d2f; font-size: 1.05rem; line-height: 1.65; }
.v10-mission__text--zh { margin-top: .85rem; color: #5b6064; font-size: .95rem; }
.v10-languages {
  grid-column: 1 / -1; margin-top: 1rem; padding-top: 2rem;
  border-top: 1px solid #e3e5e7;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.v10-languages__label { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.v10-languages__list  { font-size: 1rem; color: #5b6064; }
@media (max-width:760px) { .v10-mission { grid-template-columns: 1fr; } }

/* =============================================
   STATS BAND
   ============================================= */
.v11-stats-band { background: #1f2329; padding: 1.1rem 1.5rem; }
.v11-stats-band__row {
  max-width: 1180px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: .25rem;
}
.v11-stats-band__item {
  display: flex; align-items: center; padding: .25rem 0;
  color: #fff; font-weight: 700; font-size: .92rem; white-space: nowrap;
}
.v11-stats-band__dot { color: #d33d33; margin: 0 1.25rem; }
@media (max-width:760px) {
  .v11-stats-band__row { flex-direction: column; gap: .5rem; }
  .v11-stats-band__dot { display: none; }
}

/* =============================================
   PARTNER LOGO WALL
   ============================================= */
.v11-partners { max-width: 1180px; margin: 0 auto; padding: 5rem 1.5rem; }
.v11-partners__grid {
  margin-top: 2.5rem; display: grid; grid-template-columns: repeat(4,1fr);
  border-top: 1px solid #e3e5e7; border-left: 1px solid #e3e5e7;
}
.v11-partners__card {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 1rem; padding: 2.5rem 1.5rem;
  border-right: 1px solid #e3e5e7; border-bottom: 1px solid #e3e5e7;
  text-align: center; transition: background .15s ease;
}
.v11-partners__card:hover { background: #f6f7f8; }
.v11-partners__logo { height: 110px; width: 100%; display: flex; align-items: center; justify-content: center; }
.v11-partners__logo img { max-height: 100%; max-width: 230px; object-fit: contain; }
.v11-partners__logo--lg { height: 140px; }
.v11-partners__logo--lg img { max-width: 280px; }
.v11-partners__placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; padding: .9rem .75rem;
  border: 1px dashed #e3e5e7; border-radius: 8px;
  background: #f6f7f8; color: #5b6064;
  font-weight: 800; font-size: 1rem; letter-spacing: .04em;
}
.v11-partners__name { font-size: .78rem; line-height: 1.3; color: #5b6064; }
@media (max-width:860px) { .v11-partners__grid { grid-template-columns: repeat(2,1fr); } }

/* =============================================
   PROGRAMS SHOWCASE
   ============================================= */
.v10-showcase { background: #f6f7f8; padding: 5rem 1.5rem; }
.v10-showcase__grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.v10-showcase__card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px -20px rgba(20,20,25,.15); transition: transform .2s ease; }
.v10-showcase__card:hover { transform: translateY(-4px); }
.v10-showcase__card img { width: 100%; height: 150px; object-fit: cover; display: block; }
.v10-showcase__body { padding: 1.5rem; }
.v10-showcase__card h3 { font-size: 1.05rem; color: #1f2329; margin: 0; }
.v10-showcase__card p  { margin-top: .6rem; font-size: .88rem; color: #5b6064; }
@media (max-width:900px) { .v10-showcase__grid { grid-template-columns: repeat(2,1fr); } }

/* =============================================
   SOLUTIONS GRID
   ============================================= */
.v6-solutions { max-width: 1180px; margin: 0 auto; padding: 5rem 1.5rem; }
.v6-solutions__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.v6-solution-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid #e3e5e7; }
.v6-solution-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.v6-solution-card__body { padding: 1.5rem; text-align: center; }
.v6-solution-card__body h3 { font-size: 1.05rem; color: #d33d33; margin: 0; }
.v6-solution-card__body p  { margin-top: .6rem; font-size: .9rem; color: #5b6064; }
.v6-pill {
  display: inline-block; margin-top: 1.25rem;
  padding: .6rem 1.5rem; border-radius: 999px;
  border: 2px solid #d33d33; color: #d33d33; font-weight: 700; font-size: .82rem;
}
@media (max-width:860px) { .v6-solutions__grid { grid-template-columns: 1fr; } }

/* =============================================
   MID BANNER
   ============================================= */
.v6-banner {
  position: relative; min-height: 45vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; color: #fff;
}
.v6-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v6-banner__overlay { position: absolute; inset: 0; background: rgba(10,12,14,.65); }
.v6-banner__content { position: relative; z-index: 1; padding: 3rem 1.5rem; }
.v6-banner h2 { color: #fff; margin-bottom: 1.75rem; font-size: clamp(1.75rem,3vw,2.25rem); }
.v6-btn--solid { display: inline-flex; padding: .85rem 1.85rem; border-radius: 999px; background: #d33d33; color: #fff; font-weight: 700; font-size: .9rem; text-decoration: none; }

/* =============================================
   LATEST UPDATES
   ============================================= */
.v6-posts { max-width: 1180px; margin: 0 auto; padding: 5rem 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.v6-posts__heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.v6-posts__heading h2 { margin: 0; }
.v6-posts__heading a { font-weight: 600; font-size: .9rem; color: #d33d33; text-decoration: none; }
.v6-post-item { padding: 1.25rem 0; border-top: 1px solid #e3e5e7; }
.v6-post-item h3 { font-size: 1.02rem; margin: 0; }
.v6-post-item h3 a { color: #1f2329; text-decoration: none; }
.v6-post-item h3 a:hover { color: #d33d33; }
.v6-post-item p  { margin-top: .4rem; font-size: .88rem; color: #5b6064; }
.v6-posts__featured { background: #f6f7f8; border-radius: 16px; overflow: hidden; }
.v6-posts__featured img { width: 100%; height: 220px; object-fit: cover; display: block; }
.v6-posts__featured-body { padding: 1.75rem; }
.v6-posts__featured-body h3 { margin: 0; }
.v6-posts__featured-body p { margin-top: .75rem; color: #5b6064; font-size: .92rem; }
.v6-posts__featured-body .v6-btn--solid { margin-top: 1.5rem; }
@media (max-width:860px) { .v6-posts { grid-template-columns: 1fr; } }

/* =============================================
   FOOTER
   ============================================= */
.site-footer { background: #1f2329; color: rgba(255,255,255,.85); }
.site-footer__inner { max-width: 1180px; margin: 0 auto; padding: 3.5rem 1.5rem 2rem; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.site-footer__brand { display: flex; flex-direction: column; gap: .85rem; }
.site-footer__brand img { height: 44px; width: 44px; object-fit: contain; border-radius: 8px; background: #fff; padding: 4px; }
.site-footer__brand p  { font-size: .9rem; max-width: 320px; color: rgba(255,255,255,.7); }
.site-footer__column   { display: flex; flex-direction: column; gap: .6rem; }
.site-footer__column h4 { color: #fff; font-size: .95rem; margin-bottom: .4rem; }
.site-footer__column a, .site-footer__column p { font-size: .9rem; color: rgba(255,255,255,.7); text-decoration: none; }
.site-footer__column a:hover { color: #fff; }
.site-footer__copyright { text-align: center; padding: 1.25rem 1.5rem; border-top: 1px solid rgba(255,255,255,.15); font-size: .85rem; color: rgba(255,255,255,.6); }
@media (max-width:860px) { .site-footer__inner { grid-template-columns: 1fr; } }
