/* One opt-in introduction for public pages. CMS body content is deliberately excluded. */
body main .ab-page-intro { min-width: 0; padding-top: 0; border-top: 0; font-family: var(--ab-font); }
body main .ab-page-intro .ab-page-back { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; margin: -6px 0 14px; border: 0; padding: 0; background: transparent; color: var(--ab-muted); font-size: .75rem; font-weight: 400; line-height: 1.6; text-decoration: none; }
body main .ab-page-back svg { flex: none; width: 12px; height: 12px; transform: rotate(180deg); }
body main header.ab-page-intro.ab-page-intro h1 { max-width: 100%; margin: 0; color: var(--ab-brand); font-size: clamp(1.875rem,2.6vw,2.125rem); font-weight: 500; line-height: 1.2; letter-spacing: -.035em; text-wrap: initial; overflow-wrap: anywhere; }
body main .ab-page-intro .ab-page-intro__eyebrow { margin: 0 0 12px; color: var(--ab-muted); font-size: .75rem; line-height: 1.6; font-weight: 400; }
body main .ab-page-intro .ab-page-intro__description { max-width: 48ch; margin: 16px 0 0; color: var(--ab-muted); font-size: .875rem; font-weight: 400; line-height: 1.8; letter-spacing: normal; }
body main .ab-page-intro .ab-ui-button { justify-content: space-between; gap: 20px; width: 100%; margin-top: 28px; font-size: .8125rem; }
body main .ab-page-intro .ab-ui-button svg { flex: none; width: 16px; height: 16px; }
body main .ab-page-back:focus-visible { outline: 2px solid var(--ab-brand); outline-offset: 4px; }
body main .ab-page-intro__actions { display: grid; gap: 12px; }
body main .ab-page-intro__actions > .ab-ui-button { margin-top: 28px; }
body main .ab-page-intro__actions > a:not(.ab-ui-button) { display: inline-flex; align-items: center; justify-content: space-between; min-height: 44px; color: var(--ab-brand); font-size: .75rem; }
body main .ab-page-intro__actions > a:not(.ab-ui-button) svg { width: 14px; height: 14px; }
body main .ab-page-intro__visual { display: block; overflow: hidden; margin: 28px 0 0; border-radius: 8px; background: var(--ab-surface-subtle); }
body main .ab-page-intro__visual img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
body main .ab-page-workspace { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: clamp(32px,4vw,64px); align-items: start; }
body main .ab-page-workspace > aside { position: sticky; top: 120px; align-self: start; min-width: 0; max-height: calc(100svh - 144px); overflow-y: auto; overscroll-behavior: contain; }
/* Keep public sidebars scrollable without visible scrollbar tracks or thumbs. */
body main aside[class], body main aside[class] * { scrollbar-width: none; -ms-overflow-style: none; }
body main aside[class]::-webkit-scrollbar, body main aside[class] *::-webkit-scrollbar { display: none; width: 0; height: 0; }
body main .ab-page-workspace > div { min-width: 0; }
body main .ab-page-workspace .gtip-page-heading, body main .ab-page-workspace .correlation-heading, body main .ab-page-workspace .gtip-glossary-heading { display: block; margin-bottom: 0; }
body main .ab-page-workspace .gtip-search { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; margin-top: 28px; padding: 0; border: 0; }
body main .ab-page-workspace .gtip-search-or { display: none; }
body main .ab-page-workspace .gtip-search-actions { justify-content: space-between; }
body main .ab-page-workspace .gtip-year { margin-top: 20px; }
body main .ab-page-workspace .gtip-app-shell { height: clamp(480px,calc(100svh - 210px),760px); }
body main .ab-page-workspace .correlation-search { grid-template-columns: minmax(0,1fr); gap: 12px; margin-top: 28px; }
body main .ab-page-workspace .correlation-search-actions { justify-content: space-between; }
body main .ab-page-workspace .correlation-contact, body main .ab-page-workspace .ab-fihrist-related { margin-top: 20px; }
body main .ab-page-workspace .gtip-glossary-list { grid-template-columns: minmax(0,1fr); margin-top: 0; }
body main .ab-page-workspace .gtip-glossary-column + .gtip-glossary-column > .gtip-glossary-row:first-child { border-top: 0; }
body main .ab-page-workspace .gtip-letter-navigation { position: static; margin-top: 28px; }
body main .ab-page-workspace .gtip-letter-nav { flex-wrap: wrap; }
body main .ab-page-workspace .gtip-letter-nav a { flex: 0 0 38px; }
body main .ab-sidebar-banner { display: flex; min-height: 140px; margin-top: 24px; padding: 24px; flex-direction: column; justify-content: space-between; border-radius: var(--ab-radius-control); background: var(--ab-brand); color: #fff; text-decoration: none; }
body main .ab-sidebar-banner__eyebrow { font-size: .5625rem; font-weight: 500; letter-spacing: .14em; line-height: 1.8; }
body main .ab-sidebar-banner__content { display: grid; gap: 12px; }
body main .ab-sidebar-banner__content strong { max-width: 12ch; font-size: 1.5rem; font-weight: 500; line-height: 1.25; letter-spacing: -.035em; }
body main .ab-sidebar-banner__content > span { max-width: 25ch; font-size: .75rem; line-height: 1.75; opacity: .84; }
body main .ab-sidebar-banner__cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .6875rem; font-weight: 500; line-height: 1.5; }
body main .ab-sidebar-banner__cta svg { flex: none; width: 14px; height: 14px; fill: currentColor; }
body .ab-publication-body { grid-template-columns: 300px minmax(0,1fr); }
body main .ab-photo-form-layout { grid-template-columns: 300px minmax(0,1fr); gap: clamp(32px,4vw,64px); }
body main .ab-photo-form-layout > :is(header,.ab-contact-intro,.career-page__intro) { position: sticky; top: 120px; }
body main .ab-page-workspace input.ab-ui-control { width: 100%; min-width: 0; height: var(--ab-control-height); border: 1px solid var(--ab-control-border); border-radius: var(--ab-radius-control); padding: 12px 16px; background: var(--ab-surface); color: var(--ab-ink); font: 400 var(--ab-control-font-size)/1.5 var(--ab-font); }
body main .ab-page-workspace input.ab-ui-control:focus-visible { outline: 2px solid var(--ab-brand) !important; outline-offset: 3px; box-shadow: none !important; }
@media (hover:hover) { body main .ab-page-intro .ab-page-back:hover { color: var(--ab-brand); } }
@media (max-width:1100px) and (min-width:961px) {
    body main :is(.ab-page-workspace,.ab-photo-form-layout,.ab-publication-body) { grid-template-columns: 260px minmax(0,1fr); gap: 32px; }
}
@media (min-width:961px) {
    body main :is(.ab-academy-sidebar,.ab-regulations-sidebar,.ab-page-workspace > aside:has(.ab-sidebar-banner)) { display: flex; flex-direction: column; min-height: calc(100svh - 144px); box-sizing: border-box; }
    body main :is(.ab-academy-sidebar,.ab-page-workspace > aside) > .ab-sidebar-banner { flex: 1 1 140px; margin-top: 24px; }
    body main .ab-regulations-sidebar > .ab-regulations-promotions { display: flex; flex: 1 1 140px; margin-top: 24px; }
    body main .ab-regulations-sidebar > .ab-regulations-promotions > .ab-sidebar-banner { flex: 1 1 140px; margin-top: 0; }
}
@media (max-width:960px) {
    body main :is(.ab-page-workspace,.ab-photo-form-layout,.ab-publication-body) { grid-template-columns: minmax(0,1fr); gap: 32px; }
    body main .ab-page-workspace > aside,body main .ab-photo-form-layout > :is(header,.ab-contact-intro,.career-page__intro) { position: static; max-height: none; overflow: visible; }
    body main .ab-sidebar-banner { min-height: 180px; }
    body main .ab-photo-form-layout > :is(header,.ab-contact-intro,.career-page__intro) { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 24px 32px; align-items: start; }
    body main .ab-photo-form-layout .ab-page-intro__visual { margin-top: 0; }
}
@media (max-width:600px) {
    body main .ab-page-intro .ab-page-back { margin-bottom: 10px; }
    body main header.ab-page-intro.ab-page-intro h1 { font-size: clamp(1.875rem,8vw,2.125rem); }
    body main .ab-page-intro .ab-page-intro__description { margin-top: 12px; font-size: .8125rem; }
    body main .ab-page-intro .ab-ui-button,body main .ab-page-intro__actions > .ab-ui-button { margin-top: 20px; }
    body main .ab-photo-form-layout > :is(header,.ab-contact-intro,.career-page__intro) { display: block; }
    body main .ab-photo-form-layout .ab-page-intro__visual { margin-top: 24px; }
    body main .ab-page-intro__visual img { height: 120px; }
}
@media print { body main .ab-page-back { display: none !important; } body main .ab-page-workspace { display: block; } body main .ab-page-workspace > aside { position: static; max-height: none; overflow: visible; } }

body main .ab-sidebar-banner { position: relative; overflow: hidden; isolation: isolate; }
body main .ab-sidebar-banner > :not(.ab-sidebar-banner__image) { position: relative; z-index: 1; }
body main .ab-sidebar-banner--image,
body main :is(.ab-academy-sidebar,.ab-page-workspace > aside) > .ab-sidebar-banner--image,
body main .ab-regulations-sidebar > .ab-regulations-promotions > .ab-sidebar-banner--image { display: block; flex: 0 0 auto; align-self: flex-start; width: 100%; height: auto; min-height: 0; padding: 0; background: transparent; }
body main .ab-sidebar-banner--image > .ab-sidebar-banner__image { display: block; position: static; width: 100%; height: auto; object-fit: contain; opacity: 1; }
body main .ab-regulations-promotions:has(> .ab-sidebar-banner--image) { grid-template-columns: minmax(0,1fr); flex: 0 0 auto; }

/* Keep the compact introduction while artwork fills the entire column width. */
@media (min-width:961px) {
    body main aside[class]:has(.ab-sidebar-banner) > :not(.ab-sidebar-banner):not(.ab-regulations-promotions) { flex: 0 0 auto; }
    body main aside[class]:has(.ab-sidebar-banner) :is(.ab-academy-search,.ab-video-search,.ab-regulations-tools) { margin-top: 16px; }
    body main aside[class]:has(.ab-sidebar-banner) :is(.ab-page-intro__description,.ab-academy-description,.ab-regulations-hero__description) { margin-top: 10px; line-height: 1.6; }
    body main aside[class] > .ab-sidebar-banner,
    body main aside[class] > .ab-regulations-promotions { margin-top: 16px; }
}

/* Resize the entire column together; never clip artwork in an inner scroller. */
@media (min-width:961px) {
    body main .ab-fitted-workspace { grid-template-columns: var(--ab-sidebar-width,300px) minmax(0,1fr); }
    body main aside[class].ab-fitted-sidebar { container-type: inline-size; position: sticky; top: 120px; align-self: start; height: auto; min-height: 0; max-height: none; overflow: visible; overscroll-behavior: auto; }
    body main aside[class].ab-fitted-sidebar > :not(.ab-sidebar-banner):not(.ab-regulations-promotions) { flex: 0 0 auto; }
    body main aside[class].ab-fitted-sidebar :is(header.ab-page-intro.ab-page-intro h1,.ab-academy-intro h1,.ab-regulations-hero h1) { font-size: clamp(20px,9cqi,30px); }
    body main aside[class].ab-fitted-sidebar :is(.ab-page-intro__description,.ab-academy-description,.ab-regulations-hero__description) { font-size: clamp(11px,4cqi,13px); line-height: 1.5; margin-top: 8px; }
    body main aside[class].ab-fitted-sidebar .ab-page-back { min-height: 20px; font-size: 11px; margin-bottom: 6px; }
    body main aside[class].ab-fitted-sidebar :is(.ab-academy-search,.ab-video-search,.ab-regulations-tools,.ab-directory-contact) { margin-top: 12px; }
    body main aside[class].ab-fitted-sidebar :is(.ab-academy-search,.ab-regulations-search) { gap: 6px; }
    body main aside[class].ab-fitted-sidebar :is(.ab-academy-search label,.ab-video-search label,.ab-regulations-search label) { font-size: 11px; }
    body main aside[class].ab-fitted-sidebar :is(.ab-ui-control,.ab-ui-button) { height: 36px; min-height: 36px; padding: 8px 10px; font-size: 12px; gap: 8px; }
    body main aside[class].ab-fitted-sidebar .ab-regulations-topics { margin-top: 10px; }
    body main aside[class].ab-fitted-sidebar .ab-regulations-topics summary { min-height: 36px; font-size: 12px; }
    body main aside[class].ab-fitted-sidebar > .ab-sidebar-banner,
    body main aside[class].ab-fitted-sidebar > .ab-regulations-promotions { flex: 0 0 auto; margin-top: 12px; }
    body main aside[class].ab-fitted-sidebar .ab-regulations-promotions > .ab-sidebar-banner { flex: 0 0 auto; margin: 0; }
}
@media (min-width:961px) and (max-height:680px) {
    body main aside[class].ab-fitted-sidebar { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 12px; align-content: start; }
    body main aside[class].ab-fitted-sidebar > * { grid-column: 1; }
    body main aside[class].ab-fitted-sidebar > .ab-sidebar-banner,
    body main aside[class].ab-fitted-sidebar > .ab-regulations-promotions { grid-column: 2; grid-row: 1 / span 10; align-self: start; margin-top: 0; }
    body main aside[class].ab-fitted-sidebar :is(header.ab-page-intro.ab-page-intro h1,.ab-academy-intro h1,.ab-regulations-hero h1) { font-size: 20px; }
    body main aside[class].ab-fitted-sidebar :is(.ab-page-intro__description,.ab-academy-description,.ab-regulations-hero__description) { font-size: 11px; }
}
