/* ============================================================
   AYN — INTERNATIONAL YOUTH DAY 2025 COMMUNITY OUTREACH
   (css/iyd2025.css)
   Completed-event recap & partnership spotlight. AYN blue/gold
   system stays dominant; IYD sky (#2f9be8), orange (#e67e22)
   and soft green (#2e9e6b) appear only as restrained event
   accents. All classes namespaced with .iyd-.
   ============================================================ */

/* IYD event accent tokens (page-local, non-global) */
:root { --iyd-sky: #2f9be8; --iyd-orange: #e67e22; --iyd-green: #2e9e6b; }

/* hero-drift keyframes live in css/home.css (homepage only) —
   restated here so the IYD hero animates on its own page. */
@keyframes hero-drift {
  from { transform: scale(1.06) translateY(0); }
  to   { transform: scale(1.12) translateY(-2%); }
}

/* ─── Page hero ─── */
.iyd-hero {
  position: relative;
  min-height: 92svh;
  display: flex; align-items: flex-end;
  background: var(--navy-950); color: #fff;
  overflow: hidden;
}
.iyd-hero-media {
  position: absolute; inset: 0;
  background: url('../assets/images/iyd2025-march.jpg') center 35% / cover no-repeat;
  transform: scale(1.05);
  animation: hero-drift 24s ease-in-out infinite alternate;
}
.iyd-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(6,22,45,.97) 4%, rgba(6,22,45,.82) 42%, rgba(6,22,45,.66) 68%, rgba(6,22,45,.86) 100%);
}
.iyd-hero .container { position: relative; z-index: 2; padding-top: calc(var(--nav-h) + 80px); padding-bottom: clamp(48px, 7vw, 84px); }
.iyd-hero h1 {
  color: #fff; max-width: 18ch; margin: 18px 0 20px;
  font-size: clamp(2.4rem, 6.4vw, 4.9rem);
  text-shadow: 0 2px 28px rgba(6,22,45,.65);
}
.iyd-hero h1 .accent { font-style: italic; font-weight: 480; color: var(--iyd-orange); }
.iyd-hero .eyebrow, .iyd-meta span { text-shadow: 0 1px 14px rgba(6,22,45,.8); }
.iyd-meta { display: flex; gap: 26px; flex-wrap: wrap; max-width: 920px; }
.iyd-meta span { display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; color: rgba(255,255,255,.85); }
.iyd-meta i { color: var(--iyd-sky); }
.iyd-status {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 22px; padding: 9px 18px;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  background: rgba(6,22,45,.45); backdrop-filter: blur(6px);
  font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: #fff;
}
.iyd-status i { color: var(--iyd-green); }

/* ─── Intro statement (on dark) ─── */
.iyd-intro { background: var(--navy-950); color: #fff; padding-top: 0; }
.iyd-intro .statement {
  font-family: var(--font-display); font-weight: 480;
  font-size: clamp(1.4rem, 3.2vw, 2.35rem); line-height: 1.38;
  color: #fff; max-width: 920px;
}
.iyd-intro .statement em { color: var(--iyd-orange); }
.iyd-intro .statement-note {
  margin-top: 26px; max-width: 760px;
  font-size: .98rem; line-height: 1.75; color: rgba(255,255,255,.72);
  border-left: 2px solid var(--iyd-green); padding-left: 22px;
}
.iyd-intro .kicker-row {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  border-top: 1px solid var(--line-dark); padding-top: 26px; margin-bottom: clamp(40px, 6vw, 64px);
  flex-wrap: wrap;
}
.iyd-intro .kicker-row .tag { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 700; }
.iyd-intro .kicker-row .tag b { color: var(--iyd-orange); }

/* ─── Key facts band ─── */
.iyd-facts { padding-top: clamp(40px, 5vw, 64px); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.fact {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 26px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.fact:hover { transform: translateY(-4px); box-shadow: var(--sh-sm); }
.fact i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--sky-100); color: var(--iyd-sky); font-size: 1.05rem;
  margin-bottom: 16px;
}
.fact:nth-child(2) i { background: #fdf0e3; color: var(--iyd-orange); }
.fact:nth-child(3) i { background: #e6f5ee; color: var(--iyd-green); }
.fact:nth-child(4) i { color: var(--blue-600); background: var(--sky-100); }
.fact h4 { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 8px; }
.fact p { font-size: .95rem; }

/* ─── SDGs advanced ─── */
.iyd-sdgs { background: var(--paper); }
.sdg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sdg-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.sdg-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.sdg-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 62px; height: 40px; border-radius: 10px;
  color: #fff; font-weight: 800; font-size: .92rem; letter-spacing: .04em;
  margin-bottom: 18px;
}
.sdg-card:nth-child(1) .sdg-num { background: var(--iyd-green); }
.sdg-card:nth-child(2) .sdg-num { background: var(--iyd-orange); }
.sdg-card:nth-child(3) .sdg-num { background: var(--gold-500); }
.sdg-card:nth-child(4) .sdg-num { background: var(--iyd-sky); }
.sdg-card h4 { font-size: 1.06rem; margin-bottom: 10px; }
.sdg-card p { font-size: .9rem; }

/* ─── PANT Campaign focus areas ─── */
.focus-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.focus-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 30px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.focus-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.focus-card i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-100), #fff);
  border: 1px solid var(--line); color: var(--iyd-sky); font-size: 1.1rem;
  margin-bottom: 18px;
}
.focus-card:nth-child(2) i { color: var(--iyd-orange); background: linear-gradient(135deg, #fdf0e3, #fff); }
.focus-card:nth-child(3) i { color: var(--iyd-green); background: linear-gradient(135deg, #e6f5ee, #fff); }
.focus-card:nth-child(4) i { color: var(--blue-600); }
.focus-card h4 { font-size: 1.1rem; margin-bottom: 10px; }
.focus-card p { font-size: .92rem; margin-bottom: 10px; }
.focus-quote {
  font-family: var(--font-display); font-style: italic; font-weight: 480;
  font-size: 1.02rem; color: var(--blue-600);
  border-left: 2px solid var(--iyd-orange); padding-left: 16px; margin-top: 12px;
}
.focus-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.focus-tags span {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 12px; color: var(--muted);
}

/* ─── Editorial photo story ─── */
.iyd-gallery .frames { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2.4vw, 28px); }
.frame { position: relative; overflow: hidden; border-radius: var(--r-md); }
.frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.frame:hover img { transform: scale(1.05); }
.frame figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 22px 18px;
  background: linear-gradient(to top, rgba(6,22,45,.85), transparent);
  color: #fff; font-size: .82rem; font-weight: 600; letter-spacing: .06em;
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.frame:hover figcaption, .frame:focus-within figcaption { opacity: 1; transform: none; }
.frame-hero { grid-column: 1 / 8; aspect-ratio: 16 / 10.4; }
.frame-a { grid-column: 8 / 13; aspect-ratio: 1 / 1.06; align-self: start; margin-top: clamp(20px, 4vw, 64px); }
.frame-b { grid-column: 1 / 7; aspect-ratio: 16 / 10.5; margin-top: clamp(8px, 2vw, 24px); }
.frame-c { grid-column: 7 / 13; aspect-ratio: 16 / 10.5; align-self: start; margin-top: clamp(24px, 5vw, 72px); }

/* photo credit strip */
.photo-credit {
  margin-top: 26px; font-size: .78rem; color: #1d222d;
  display: flex; align-items: center; gap: 10px;
}
.photo-credit i { color: #1d222d; }

/* ─── Pull quote ─── */
.iyd-quote {
  background: var(--navy-950); color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.iyd-quote::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 320px at 50% -20%, rgba(47,155,232,.16), transparent 65%);
}
.iyd-quote .container { position: relative; z-index: 1; }
.iyd-quote blockquote {
  font-family: var(--font-display); font-weight: 480;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1.4;
  max-width: 880px; margin: 0 auto;
  color: #fff;
}
.iyd-quote blockquote em { color: var(--iyd-orange); font-style: italic; }
.iyd-quote cite {
  display: block; margin-top: 24px; font-style: normal;
  font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.iyd-quote cite i { color: var(--iyd-green); margin-right: 8px; }
.iyd-quote .qmark {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 6.5rem); line-height: .6;
  color: var(--iyd-orange); margin-bottom: 22px;
}
.iyd-quote .quote-source {
  margin-top: 24px;
  font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

/* ─── Partners & recognition ─── */
.iyd-partners { background: var(--paper); }
.partner-graphic {
  margin: 0 auto; max-width: 760px;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--sh-md);
}
.partner-graphic img { display: block; width: 100%; height: auto; }
.partner-graphic figcaption {
  padding: 14px 20px; background: #fff;
  font-size: .8rem; font-weight: 600; color: #1d222d;
  border-top: 1px solid var(--line);
}
.iyd-partners-note {
  text-align: center; max-width: 620px; margin: 26px auto 0;
  font-size: .95rem; color: #1d222d;
}

/* ─── Closing CTA ─── */
.iyd-cta { background: var(--navy-950); color: #fff; text-align: center; position: relative; overflow: hidden; }
.iyd-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 320px at 50% -20%, rgba(46,158,107,.16), transparent 65%);
}
.iyd-cta .container { position: relative; z-index: 1; }
.iyd-cta h2 { color: #fff; }
.iyd-cta p { color: rgba(255,255,255,.72); max-width: 620px; margin: 14px auto 30px; }
.iyd-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .sdg-grid { grid-template-columns: repeat(2, 1fr); }
  .focus-grid { grid-template-columns: 1fr; }
  .frame-hero { grid-column: 1 / 13; aspect-ratio: 16 / 10; }
  .frame-a { grid-column: 1 / 8; margin-top: 0; }
  .frame-b { grid-column: 8 / 13; margin-top: 0; }
  .frame-c { grid-column: 1 / 13; margin-top: 0; }
}
@media (max-width: 560px) {
  .facts-grid { grid-template-columns: 1fr; }
  .sdg-grid { grid-template-columns: 1fr; }
  .frame-a, .frame-b { grid-column: 1 / 13; }
  .iyd-cta-actions .btn { width: 100%; }
}
