/*
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. V18 design: logo palette (ink / gold / purple / door-light blue), wall hero with curtain-door opening, editorial sections.
Author: ACCESS
Template: alante
Version: 2.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Sora:wght@600;700;800&display=swap');

/* =============================================
   CUSTOM PROPERTIES — V18 logo palette
   ============================================= */
:root {
  --ink:         #0c0e15;
  --ink-soft:    #141926;
  --gold:        #f5c116;
  --gold-deep:   #96790a;
  --purple:      #5b3d8f;
  --purple-soft: #ece6f6;
  --door:        #cfe0f2;
  --text:        #191c26;
  --muted:       #5d6274;
  --line:        #e4e5ec;
  --bg-soft:     #f6f6f9;
  --max-width:   1280px;
  --font-sans:   'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --font-head:   'Sora', 'Inter', system-ui, sans-serif;

  /* legacy aliases still referenced by older selectors */
  --color-primary:    #0c0e15;
  --color-accent:     #96790a;
  --color-text:       #191c26;
  --color-text-muted: #5d6274;
  --color-bg-alt:     #f6f6f9;
  --color-border:     #e4e5ec;
}

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

body.access-homepage,
body.access-homepage *,
body.access-homepage *::before,
body.access-homepage *::after {
  box-sizing: border-box;
}

/* =============================================
   INNER PAGE STYLES — page hero, content, typography
   ============================================= */
.access-page-hero {
  background: var(--ink);
  padding: 3rem 1.5rem;
}
.access-page-hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.access-page-hero__title {
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 .75rem;
}
.access-page-hero__title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin-top: .6rem;
  border-radius: 2px;
}
.access-page-hero__crumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}
.access-page-hero__crumb a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
}
.access-page-hero__crumb a:hover { color: #fff; }
.access-page-hero__crumb span:last-child { color: var(--gold); }

.access-page-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}

.access-article {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
}
.access-article h1, .access-article h2, .access-article h3,
.access-article h4, .access-article h5 {
  font-family: var(--font-head);
  color: var(--ink);
  margin-top: 2rem;
  margin-bottom: .75rem;
  line-height: 1.25;
}
.access-article h2 { font-size: 1.6rem; }
.access-article h3 { font-size: 1.25rem; }
.access-article p  { margin-bottom: 1.25rem; }
.access-article a  { color: var(--purple); }
.access-article a:hover { text-decoration: underline; }
.access-article img { max-width: 100%; border-radius: 10px; margin: 1.5rem 0; }
.access-article ul, .access-article ol { padding-left: 1.75rem; margin-bottom: 1.25rem; }
.access-article li { margin-bottom: .5rem; }

.access-elementor-wrap { width: 100%; }

.access-article img,
.access-page-content img {
  max-width: min(100%, 680px);
  height: auto;
  display: block;
  margin: 1.5rem auto;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(12,14,21,.12);
}

.access-article .wp-block-gallery,
.access-article .blocks-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.access-article .wp-block-gallery img,
.access-article .blocks-gallery-grid img {
  max-width: 100%;
  margin: 0;
  border-radius: 8px;
}

.access-elementor-wrap .elementor-widget-image { text-align: center; }
.access-elementor-wrap .elementor-widget-image img,
.access-elementor-wrap .elementor-image img {
  max-width: min(100%, 720px);
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(12,14,21,.1);
}

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

/* V18 shared pieces */
.v18-eyebrow {
  font-family: var(--font-sans);
  font-size: .85rem; font-weight: 800; letter-spacing: .26em;
  text-transform: uppercase; color: var(--purple);
  margin: 0 0 1rem;
}
.v18-eyebrow--gold { color: var(--gold); }
.v18-head { max-width: 720px; margin-bottom: 3rem; }
.v18-head h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.06; color: var(--ink);
  margin: 0;
}
.v18-head--light h2 { color: #fff; }
.v18-head__sub { margin: .9rem 0 0; font-size: 1.1rem; line-height: 1.7; color: var(--muted); }
.v18-head--light .v18-head__sub { color: rgba(255,255,255,.75); }
.v18-head--row {
  max-width: none;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
}
.v18-head__all {
  font-size: 1rem; font-weight: 700; color: var(--purple);
  text-decoration: underline; text-underline-offset: 6px;
  text-decoration-color: var(--line); white-space: nowrap;
}
.v18-head__all:hover { text-decoration-color: var(--purple); }

.v18-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: .9rem 2.1rem; border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 1rem; font-weight: 700; text-decoration: none;
  transition: background .2s, transform .15s;
}
.v18-btn:hover { transform: translateY(-2px); }
.v18-btn--gold { background: var(--gold); color: var(--ink); }
.v18-btn--gold:hover { background: #ddad04; color: var(--ink); }
.v18-btn--line { border: 2px solid rgba(255,255,255,.65); color: #fff; }
.v18-btn--line:hover { background: rgba(255,255,255,.12); color: #fff; }

/* =============================================
   V18 HERO — the community wall behind parting doors
   ============================================= */
.v18-hero {
  position: relative;
  min-height: calc(100svh - 77px);
  overflow: hidden;
  display: flex; align-items: center;
  background: var(--ink-soft);
}
.v18-hero__wall {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3px;
  background: var(--ink-soft);
}
.v18-hero__wall img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.62);
  margin: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
@media (max-width: 640px) {
  .v18-hero__wall { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); }
}
.v18-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,14,21,.48) 0%, rgba(12,14,21,.26) 45%, rgba(12,14,21,.6) 100%);
}

/* the doors — ink panels with a glowing icy seam, parting on load */
.v18-hero__curtain {
  position: absolute; top: 0; bottom: 0; z-index: 3;
  width: 50.5%;
  background: var(--ink-soft);
  pointer-events: none;
}
.v18-hero__curtain--left { left: 0; transform: translateX(-102%); }
.v18-hero__curtain--right { right: 0; transform: translateX(102%); }
.v18-hero__curtain--left::after,
.v18-hero__curtain--right::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 2px;
  background: rgba(207,224,242,.55);
  box-shadow: 0 0 24px rgba(207,224,242,.6);
}
.v18-hero__curtain--left::after { right: 0; }
.v18-hero__curtain--right::after { left: 0; }
.v18-hero__curtain--left { animation: v18CurtainL 1.7s cubic-bezier(.76, 0, .18, 1) .4s both; }
.v18-hero__curtain--right { animation: v18CurtainR 1.7s cubic-bezier(.76, 0, .18, 1) .4s both; }
@keyframes v18CurtainL {
  from { transform: translateX(0); }
  to   { transform: translateX(-102%); }
}
@keyframes v18CurtainR {
  from { transform: translateX(0); }
  to   { transform: translateX(102%); }
}
/* JS failsafe — once the timer fires the panels are gone and the message shows */
.v18-hero--open .v18-hero__curtain { display: none; }
.v18-hero--open .v18-hero__content { animation: none; opacity: 1; transform: none; }

.v18-hero__content {
  position: relative; z-index: 2;
  max-width: 900px; width: 100%;
  margin: auto; padding: 4rem 1.5rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  animation: v18FadeUp 1.1s cubic-bezier(.16,1,.3,1) 1.5s both;
}
@keyframes v18FadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
.v18-hero__eyebrow {
  font-size: .82rem; font-weight: 700; letter-spacing: .26em;
  text-transform: uppercase; color: rgba(255,255,255,.75);
  text-shadow: 0 1px 12px rgba(0,0,0,.7);
  margin: 0 0 1.6rem;
}
.v18-hero h1 {
  font-family: var(--font-head);
  color: #fff;
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -.04em;
  text-shadow: 0 3px 32px rgba(0,0,0,.85);
  margin: 0;
}
.v18-hero__accent { color: var(--door); }
.v18-hero__lead {
  margin: 1.4rem 0 0; max-width: 560px;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.7;
  color: rgba(255,255,255,.9);
  text-shadow: 0 2px 18px rgba(0,0,0,.8);
}
.v18-hero__btns {
  margin-top: 2.4rem; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
}

/* =============================================
   V18 STATS — quiet editorial band
   ============================================= */
.v18-stats { background: #fff; border-bottom: 1px solid var(--line); }
.v18-stats__inner {
  max-width: var(--max-width); margin: 0 auto;
  padding: clamp(3.5rem, 6vw, 5rem) 1.5rem;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1rem;
}
.v18-stat { border-left: 1px solid var(--line); padding-left: 1.5rem; }
.v18-stat:first-child { border-left: none; padding-left: 0; }
.v18-stat__n {
  display: block; font-family: var(--font-head);
  font-size: clamp(2rem, 3vw, 2.9rem); font-weight: 800;
  color: var(--ink); letter-spacing: -.03em; line-height: 1;
}
.v18-stat__l {
  display: block; margin-top: .55rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.v18-stat__zh {
  display: block; margin-top: .15rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .18em;
  color: var(--purple);
}
@media (max-width: 700px) {
  .v18-stats__inner { grid-template-columns: repeat(2, 1fr); }
  .v18-stat:nth-child(odd) { border-left: none; padding-left: 0; }
  .v18-stat:nth-child(even) { border-left: 1px solid var(--line); padding-left: 1.5rem; }
}

/* =============================================
   V18 MISSION
   ============================================= */
.v18-mission { position: relative; padding: clamp(5rem, 9vw, 7.5rem) 1.5rem; overflow: hidden; background: #fff; }
.v18-mission__inner { position: relative; max-width: 880px; margin: 0 auto; }
.v18-mission__watermark {
  position: absolute; right: -3rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-head);
  font-size: clamp(14rem, 28vw, 22rem); font-weight: 800; line-height: 1;
  color: var(--purple-soft);
  user-select: none; pointer-events: none;
}
.v18-mission h2 {
  position: relative;
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700;
  line-height: 1.3; letter-spacing: -.02em; color: var(--ink);
  max-width: 720px; margin: 0;
}
.v18-mission__zh { position: relative; margin: 1.25rem 0 0; font-size: 1.12rem; color: var(--muted); }

/* =============================================
   V18 PROGRAMS — editorial index
   ============================================= */
.v18-programs { background: var(--bg-soft); padding: clamp(5rem, 9vw, 7.5rem) 1.5rem; }
.v18-programs__inner { max-width: var(--max-width); margin: 0 auto; }

.v18-progidx {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: start;
}
.v18-progidx__list { display: flex; flex-direction: column; }
.v18-progidx__row {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: baseline; gap: 1.5rem;
  padding: 1.35rem .25rem;
  border-top: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
  transition: padding-left .3s cubic-bezier(.16,1,.3,1);
}
.v18-progidx__row:last-child { border-bottom: 1px solid var(--line); }
.v18-progidx__row--active { padding-left: 1rem; }
.v18-progidx__num {
  font-family: var(--font-head);
  font-size: .9rem; font-weight: 800; color: var(--gold-deep);
  letter-spacing: .05em;
}
.v18-progidx__row--active .v18-progidx__num { color: var(--purple); }
.v18-progidx__names strong {
  display: block; font-family: var(--font-head);
  font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 800; letter-spacing: -.015em;
  color: var(--ink);
}
.v18-progidx__names em {
  display: inline-block; margin-top: .2rem;
  font-style: normal; font-size: .88rem; font-weight: 700;
  letter-spacing: .22em; color: var(--purple);
}
.v18-progidx__desc {
  display: block; max-width: 52ch;
  max-height: 0; overflow: hidden; opacity: 0;
  font-size: .96rem; line-height: 1.6; color: var(--muted);
  transition: max-height .45s cubic-bezier(.16,1,.3,1), opacity .35s ease, margin-top .35s;
}
.v18-progidx__row--active .v18-progidx__desc {
  max-height: 8rem; opacity: 1; margin-top: .6rem;
}
.v18-progidx__arrow {
  font-size: 1.2rem; color: var(--muted);
  transition: transform .3s cubic-bezier(.16,1,.3,1), color .3s;
}
.v18-progidx__row--active .v18-progidx__arrow { transform: translateX(6px); color: var(--purple); }

/* the door — programs preview lives inside an arch */
.v18-progidx__media {
  position: sticky; top: 110px;
  justify-self: center;
  width: min(380px, 100%);
  aspect-ratio: 4 / 5.4;
  position: -webkit-sticky;
}
.v18-progidx__media::before {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid rgba(91,61,143,.3);
  border-radius: 999px 999px 22px 22px;
  transform: translate(14px, -14px);
  pointer-events: none;
}
.v18-progidx__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 999px 999px 22px 22px !important;
  box-shadow: 0 34px 64px -30px rgba(12,14,21,.45) !important;
  margin: 0 !important;
  opacity: 0; transform: scale(1.02);
  transition: opacity .55s ease, transform .8s cubic-bezier(.16,1,.3,1);
}
.v18-progidx__media img.v18-progidx__img--active { opacity: 1; transform: scale(1); }
@media (max-width: 900px) {
  .v18-progidx { grid-template-columns: 1fr; }
  .v18-progidx__media { display: none; }
}

/* =============================================
   V18 EVENTS — dark
   ============================================= */
.v18-events {
  position: relative;
  background: var(--ink);
  padding: clamp(5rem, 9vw, 7.5rem) 1.5rem;
  overflow: hidden;
}
.v18-events__inner { position: relative; max-width: var(--max-width); margin: 0 auto; }
.v18-events__layout {
  display: grid; grid-template-columns: minmax(300px, 420px) 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.v18-events__flyer {
  position: relative; display: block; width: 100%;
  cursor: zoom-in;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.v18-events__flyer::before {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid rgba(207,224,242,.35);
  border-radius: 20px;
  transform: translate(14px, -14px);
  pointer-events: none;
}
.v18-events__flyer:hover { transform: translateY(-6px); }
.v18-events__flyer img {
  display: block; width: 100%; height: auto;
  border-radius: 20px !important;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08) !important;
  margin: 0 !important;
  max-width: 100% !important;
}
.v18-events__zoom {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: .7rem 1rem;
  background: rgba(12, 14, 21, .82);
  border-radius: 0 0 20px 20px;
  color: #fff; font-size: .82rem; font-weight: 600; letter-spacing: .06em;
  text-align: center;
}
.v18-events__org {
  font-size: 1.05rem; font-weight: 700; letter-spacing: .12em;
  color: var(--door); margin: 0 0 1.5rem;
}
.v18-events__meta {
  display: grid; gap: 1.1rem; margin: 0 0 1.75rem;
  border-left: 3px solid var(--gold); padding-left: 1.5rem;
}
.v18-events__meta dt {
  font-size: .75rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.5);
}
.v18-events__meta dd {
  margin: .2rem 0 0; font-size: 1.05rem; font-weight: 600;
  color: #fff; line-height: 1.5;
}
.v18-events__features { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.v18-events__features span {
  padding: .45rem .95rem; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  font-size: .86rem; font-weight: 600; color: rgba(255,255,255,.9);
}
.v18-events__closing {
  max-width: 46ch; margin: 0;
  font-size: 1.08rem; line-height: 1.7; font-weight: 500;
  color: rgba(255,255,255,.65); font-style: italic;
}
@media (max-width: 860px) {
  .v18-events__layout { grid-template-columns: 1fr; }
  .v18-events__flyer { max-width: 420px; margin: 0 auto; }
}

/* Lightbox (kept from previous theme) */
.access-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7,8,13,.9);
  z-index: 999999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  padding: 1.5rem;
}
.access-lightbox img {
  max-width: min(90vw, 680px);
  max-height: 90vh;
  height: auto; width: auto;
  border-radius: 12px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.8);
  display: block;
}

/* =============================================
   V18 UPDATES — featured + grid
   ============================================= */
.v18-updates { padding: clamp(5rem, 9vw, 7.5rem) 1.5rem; background: #fff; }
.v18-updates__inner { max-width: var(--max-width); margin: 0 auto; }
.v18-wall-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.v18-post {
  background: #fff; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s;
}
.v18-post--featured { grid-column: span 2; }
.v18-post:hover { transform: translateY(-6px); box-shadow: 0 26px 48px -24px rgba(12,14,21,.25); }
.v18-post > a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.v18-post__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-soft); }
.v18-post--featured .v18-post__img { aspect-ratio: 16 / 7.2; }
.v18-post__img img {
  width: 100%; height: 100%; object-fit: cover;
  margin: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  max-width: 100% !important;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.v18-post:hover .v18-post__img img { transform: scale(1.05); }
.v18-post__img--fallback {
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.3); font-family: var(--font-head); font-weight: 800; font-size: 1.4rem;
}
.v18-post__body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.v18-post__body time {
  font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--purple);
}
.v18-post h3 {
  margin: .7rem 0 0; font-family: var(--font-head);
  font-size: 1.18rem; font-weight: 700;
  letter-spacing: -.01em; line-height: 1.3; color: var(--ink);
}
.v18-post h3 a { color: inherit; text-decoration: none; }
.v18-post--featured h3 { font-size: 1.45rem; }
.v18-post p { margin: .55rem 0 0; flex: 1; font-size: .96rem; line-height: 1.65; color: var(--muted); }
.v18-post__more { margin-top: 1.1rem; font-size: .92rem; font-weight: 700; color: var(--gold-deep); }
@media (max-width: 960px) {
  .v18-wall-grid { grid-template-columns: 1fr; }
  .v18-post--featured { grid-column: auto; }
  .v18-post--featured .v18-post__img { aspect-ratio: 16 / 10; }
}

/* =============================================
   V18 PARTNERS
   ============================================= */
.v18-partners { background: var(--bg-soft); padding: clamp(5rem, 9vw, 7.5rem) 1.5rem; }
.v18-partners__inner { max-width: var(--max-width); margin: 0 auto; }
.v18-partners__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.v18-partner {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s;
}
.v18-partner:hover { transform: translateY(-4px); box-shadow: 0 18px 32px -20px rgba(12,14,21,.3); }
.v18-partner__logo {
  height: 90px; width: 100%;
  display: flex; align-items: center; justify-content: center;
}
.v18-partner__logo img {
  max-height: 100% !important; max-width: 200px !important;
  object-fit: contain;
  margin: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
.v18-partner__abbr {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 90px;
  border: 1px dashed var(--line); border-radius: 8px;
  background: var(--bg-soft); color: var(--muted);
  font-weight: 800; font-size: 1rem; letter-spacing: .04em;
}
.v18-partner__name { font-size: .78rem; line-height: 1.35; color: var(--muted); }
@media (max-width: 1000px) { .v18-partners__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .v18-partners__grid { grid-template-columns: repeat(2, 1fr); } }

/* =============================================
   V18 JOIN — door of light
   ============================================= */
.v18-join {
  position: relative;
  background: var(--ink);
  padding: clamp(6rem, 11vw, 9rem) 1.5rem;
  text-align: center;
  overflow: hidden;
}
.v18-join__door {
  position: absolute; left: 50%; bottom: -1px;
  transform: translateX(-50%);
  width: min(460px, 72vw); height: 88%;
  border: 1px solid rgba(207,224,242,.4);
  border-bottom: none;
  border-radius: 999px 999px 0 0;
  background: radial-gradient(ellipse 90% 80% at 50% 100%, rgba(207,224,242,.14), transparent 75%);
  pointer-events: none;
}
.v18-join__door::before {
  content: ''; position: absolute; inset: 0;
  border: 1px solid rgba(91,61,143,.35);
  border-bottom: none;
  border-radius: 999px 999px 0 0;
  transform: translate(16px, -16px);
}
.v18-join__inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.v18-join h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 800;
  letter-spacing: -.03em; color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,.5);
  margin: 0;
}
.v18-join__sub {
  margin: 1.1rem 0 0; font-size: 1.12rem; line-height: 1.7;
  color: rgba(255,255,255,.78);
}
.v18-join__btns { margin-top: 2.5rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer { background: #07080d; color: rgba(255,255,255,.85); }
.site-footer__inner {
  max-width: var(--max-width); margin: 0 auto;
  padding: 4rem 1.5rem 2.5rem;
  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: 52px; width: 52px; object-fit: contain;
}
.site-footer__brand p  { font-size: .95rem; max-width: 340px; color: rgba(255,255,255,.65); line-height: 1.6; }
.site-footer__column   { display: flex; flex-direction: column; gap: .6rem; }
.site-footer__column h4 {
  color: var(--gold); font-size: .84rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: .4rem;
}
.site-footer__column a, .site-footer__column p { font-size: .92rem; color: rgba(255,255,255,.6); 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,.1);
  font-size: .82rem; color: rgba(255,255,255,.4);
}
@media (max-width:860px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* =============================================
   COVID-19 FLYER SECTION (inner page, recoloured)
   ============================================= */
.covid-resources { background: var(--bg-soft); padding: 4rem 1.5rem 5rem; }
.covid-resources__inner { max-width: 860px; margin: 0 auto; text-align: center; }
.covid-resources__inner h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--ink);
  margin-bottom: .75rem;
}
.covid-resources__inner > p { color: var(--muted); font-size: 1rem; margin-bottom: 2.5rem; }
.covid-resources__flyer { display: flex; justify-content: center; }
.covid-resources__flyer img {
  max-width: min(100%, 480px);
  height: auto;
  border-radius: 14px;
  box-shadow: 0 20px 50px -20px rgba(12,14,21,.35);
  display: block;
}

/* =============================================
   REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  .v18-hero__curtain { display: none !important; }
  .v18-hero__content { animation: none !important; opacity: 1 !important; transform: none !important; }
  .v18-hero__wall img, .v18-post__img img { transition: none !important; }
}
