/* ==========================================================================
   Page-specific tweaks (keep this file small; prefer components)
   ========================================================================== */

/* Home: about split image */
.about-img { border-radius: calc(var(--radius) * 1.4); box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.about-img--full { aspect-ratio: auto; height: auto; } /* show the whole photo: its banner text sits at the edges */

/* Home: vision / mission / objective */
.vmo .card { background: var(--white); }

/* Home: chairman + president */
.leaders-section .section-head { margin-bottom: 2rem; }

/* Islamabad: landmarks */
.landmarks .card__img { aspect-ratio: 4 / 3; }
.landmarks h3 { font-size: 1.1rem; margin: 0; }

/* SIG pages: lead organisation */
.lead-org { display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem; background: var(--bg-soft); border-radius: var(--radius); margin: 2rem 0; }
.lead-org img { width: 120px; height: auto; border-radius: var(--radius-sm); background: var(--white); padding: 0.5rem; }
.lead-org p { margin: 0; }
.lead-org .label { color: var(--muted); font-size: 0.8rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }

.aside-card { padding: 1.5rem; background: var(--bg-soft); border-radius: var(--radius); }
.aside-card h2 { font-size: 1.2rem; }
.aside-card .event-list { grid-template-columns: 1fr; gap: 0.75rem; }
.aside-card .event-card { padding: 0.85rem; }
.aside-card .date { width: 54px; height: 62px; }
.aside-card .date__day { font-size: 1.3rem; }

/* 404 */
.not-found { padding: 6rem 0; text-align: center; }
.not-found .code { color: var(--green); font-size: clamp(4rem, 12vw, 7rem); font-weight: 900; line-height: 1; }

/* Annual Forum 2026 (events/annual-forum-2026.html) and its home-page highlight */
.forum-meta { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; margin: 1.4rem 0 1.6rem; padding: 0; }
.forum-meta li { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; padding: 0.5rem 1rem 0.5rem 0.75rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 700; }
.forum-meta .icon { color: var(--green-700); }
.forum-banner { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.forum-topics { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.forum-topics .card h3 { font-size: 1.05rem; }
.forum-topics .card p { font-size: 0.95rem; }
.forum-for { margin: -0.25rem 0 0.75rem; color: var(--muted); }
.forum-cards .card .check-list { margin: 0.5rem 0 1.5rem; }
.forum-cards .card .btn { margin-top: auto; }
.forum-agenda { border-top: 4px solid var(--green); }
.forum-agenda .tag { align-self: flex-start; margin-bottom: 0.6rem; }
.forum-tier { border-top: 6px solid var(--tier, var(--line)); }
.forum-tier--platinum { --tier: #5f6f78; }
.forum-tier--gold { --tier: #c9a227; }
.forum-tier--silver { --tier: #8f9ca5; }
.forum-tier--bronze { --tier: #b0703d; }
.forum-note { margin-top: 1.5rem; }
.forum-cta { margin-top: 2rem; }
.forum-cta a:not(.btn) { color: var(--white); }
.forum-highlight { display: grid; gap: 1.25rem; }
.forum-highlight > a { display: block; border-radius: var(--radius); }
@media (max-width: 1040px) { .forum-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .forum-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .forum-meta li { width: 100%; } }
@media (max-width: 400px) { .forum-topics { grid-template-columns: 1fr; } }
.prose .eyebrow + h2 { margin-top: 0; }
/* Home slider: forum banner first, then the photo hero (js/main.js [data-slider]) */
.hero-slider { position: relative; background: var(--white); }
.hero-slider__track { display: grid; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.7s var(--ease), visibility 0.7s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide--forum { display: flex; align-items: center; min-height: min(78vh, 680px); padding: 4.25rem 0 4rem; background: linear-gradient(180deg, var(--green-50), var(--white)); }
.hero-forum { display: grid; gap: 1.25rem; }
.hero-forum__banner { display: block; border-radius: var(--radius); }
.hero-forum__banner img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.hero-forum__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; }
.hero-forum__title { margin: 0; color: var(--ink); font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 900; line-height: 1.25; }
.hero-forum__meta { margin: 0.25rem 0 0; color: var(--muted); }
.hero-slider__controls { position: absolute; top: 1rem; right: var(--gutter); z-index: 3; display: flex; align-items: center; gap: 0.15rem; padding: 0.15rem 0.3rem; border-radius: 999px; background: rgba(255, 255, 255, 0.88); box-shadow: var(--shadow-sm); }
.hero-slider__dot, .hero-slider__pause { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--green-800); cursor: pointer; }
.hero-slider__dot span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); box-shadow: inset 0 0 0 1px var(--green-700); transition: background 0.2s, transform 0.2s; }
.hero-slider__dot[aria-current="true"] span { background: var(--green-700); transform: scale(1.2); }
.hero-slider__pause .icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero-slider__pause .icon-play, .hero-slider__pause[aria-pressed="true"] .icon-pause { display: none; }
.hero-slider__pause[aria-pressed="true"] .icon-play { display: block; }
.hero-slider__dot:focus-visible, .hero-slider__pause:focus-visible { outline: 3px solid var(--green-700); outline-offset: 1px; }
@media (max-width: 600px) {
  .hero-forum__bar .btn { width: 100%; }
  .hero-slider .hero, .hero-slide--forum { min-height: 0; }
  .hero-slider .hero__content { padding-block: 4.5rem 4rem; }
}
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } }
/* Home: President's message quote, Urdu couplet and signature on the green section */
.home-message__quote { margin: 1.5rem 0; padding: 0.9rem 1.2rem; border-left: 4px solid rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.08); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.home-message__quote p { margin: 0; color: var(--white); font-weight: 700; }
.section--green .home-message__urdu { margin: 1.5rem 0; padding: 1rem 0; border-block: 1px solid rgba(255, 255, 255, 0.25); color: var(--white); text-align: right; font-size: 1.35rem; }
.home-message__sign { margin: 0; color: rgba(255, 255, 255, 0.9); }
.forum-tier .plan__price { font-size: 1.6rem; margin: 0.1rem 0 0.4rem; }
.forum-tier .btn { width: 100%; }
