/* ==========================================================================
   all-star-business-visionary-for-2024.css — page-only tweaks (prefix .asb-). Loads after pages.css.
   Tokens only: no new colours, fonts, radii or shadows. 2026-10-22.
   ========================================================================== */

/* keep a hyphenated name on one line in headings */
.asb-nowrap { white-space: nowrap; }

/* hero: the award artwork is a wide 624 x 327 graphic on black, show it whole (no crop, no photo grade) */
@media (min-width: 1069px) { .asb-hero .pg-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.asb-hero .pg-hero__media { max-width: 520px; }  /* source is only 624px wide: cap so it stays crisp */
.asb-hero .pg-hero__media .pg-photo,
.asb-award { aspect-ratio: 624 / 327; max-height: none; background: var(--color-black); }
.asb-award img { filter: none; }

/* split photo: the landscape event shot keeps its 3:2 frame at every width */
.asb-split .pg-photo { aspect-ratio: 3 / 2; max-height: none; }

/* response band: shared centred pull-quote (.pg-quote); the quote is long, so it sits at display-sm, not display-md */
.asb-pullquote { gap: var(--space-5); }
.asb-pullquote blockquote p { font-size: var(--fs-display-sm); line-height: var(--lh-tight); text-wrap: pretty; }

/* AIBF quote cards: the quotes are the core content, set them at lead size in the main text tone */
.asb-quotes .pg-card--quote blockquote { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--color-text); }

/* "Read Shay's story" link: standard tight gap under the prose */
.asb-split .pg-split__body .pg-actions { margin-top: var(--space-5); }

@media (max-width: 1068px) {
  .asb-hero .pg-hero__media { max-width: 520px; }
  .asb-hero .pg-hero__media .pg-photo { aspect-ratio: 624 / 327; }
  /* pages.css forces span 3 with !important: stack the two long quotes full width */
  .asb-quotes { grid-template-columns: minmax(0, 1fr); }
  .asb-quotes > * { grid-column: 1 / -1 !important; }
}
@media (max-width: 734px) {
  .pg-crumbs .asb-crumbs-mid { display: none; }
  .asb-quotes .pg-card--quote blockquote { font-size: var(--fs-body); line-height: var(--lh-body); }
}

/* fix round 1 (2026-10-22) */
/* announcement: image top aligns with the eyebrow */
.asb-split { align-items: start; }
/* commendation: narration column beside the Kapil Khanna quote card */
.asb-commend { list-style: none; align-self: start; }
.asb-commend p { color: var(--color-text-muted); }
.asb-commend p:first-child { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--color-text); }
/* response: long quote in sentence case at lead size, readable measure */
.asb-pullquote { max-width: 60ch; }
.asb-pullquote blockquote p { font-family: var(--font-body); font-size: var(--fs-lead); line-height: var(--lh-lead); letter-spacing: 0; text-transform: none; color: var(--color-on-dark); text-wrap: pretty; }
/* hero artwork: let it fill its column up to the source width */
.asb-hero .pg-hero__media { max-width: 624px; width: 100%; justify-self: end; }
@media (max-width: 1068px) { .asb-hero .pg-hero__media { max-width: 624px; justify-self: start; } }

/* ===== sitewide fix 2026-11-16 (tester checklist, group "other") ===== */
/* sitewide fix 2026-11-16 (bug 9): headings outside the hero use plain wrap, so line 1 fills its column
   ("The All-Ireland Business Foundation" was 60% of the column at 1440 with balance). */
html body main :is(h2, h3):not(section[class*="hero"] *) { text-wrap: wrap !important; }
/* sitewide fix 2026-11-16 (bug 9): CTA title on desktop: one line across the text column (448px cap = 2 lines at 51-78%) */
@media (min-width: 1069px) { html body main .pg-cta__card .pg-cta__title { max-width: none; } }
