/* Data-backed states use the approved Joker palette and the same page spacing. */
body.home-reordered .hero-katana.hero-be{min-height:calc(100svh - var(--site-header-height,76px) - 1px)}
.portal-state{max-width:70rem;margin:clamp(1rem,3vw,2.5rem) auto;padding:clamp(1.25rem,3vw,2rem);border:1px solid #ffffff25;border-radius:1.25rem;background:linear-gradient(130deg,#07261988,#080808);color:#f5f8f5;line-height:1.7}
.portal-state h2,.portal-state h3{margin-block:0 .6em;color:#fff}.portal-state a{color:#ffed00;text-underline-offset:.25em}.portal-source-note{font-size:.85rem;color:#c9d4cf;line-height:1.6;margin:1rem auto;max-width:80rem;padding-inline:1rem}.portal-source-note[hidden]{display:none}
.portal-promotions{padding:clamp(2rem,5vw,4rem) clamp(1rem,4vw,3rem);max-width:86rem;margin:auto}.portal-promotion-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:1.25rem}.portal-promotion{padding:1.5rem;border:1px solid #ffffff25;border-radius:1.25rem;background:linear-gradient(135deg,#063d22,#090a09);color:#f5f8f5;line-height:1.6}.portal-promotion h3{color:#fff;margin:.4em 0}.portal-promotion strong{color:#ffed00}.portal-promotion a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.6rem 1rem;background:#ffed00;color:#071710;border-radius:.7rem;font-weight:800;text-decoration:none}
.portal-branches{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,19rem),1fr));gap:1rem}.portal-branches article{padding:1.5rem;border:1px solid #ffffff25;border-radius:1rem}.portal-hours{width:100%;border-collapse:collapse}.portal-hours td{padding:.5em .3em;border-bottom:1px solid #ffffff15}.portal-hours td:last-child{text-align:end}
.portal-faq details{padding:1rem 0;border-bottom:1px solid #ffffff25}.portal-faq summary{font-weight:750;cursor:pointer;min-height:44px}.portal-posts{display:grid;gap:1rem}.portal-posts article{padding:1.5rem;border:1px solid #ffffff25;border-radius:1rem}
#main .portal-faq a{color:#40ef92;text-decoration:underline;text-underline-offset:.2em;text-decoration-thickness:.08em}#main .portal-faq a:hover{color:#ffed00}#main .portal-faq a:focus-visible{outline:2px solid #ffed00;outline-offset:3px}
body.be-trailer-page #main.be2-page .be2-faq:has(> [data-portal-source] > .portal-faq){width:min(1280px,calc(100% - 96px));margin-inline:auto;min-width:0}
@media(max-width:760px){body.be-trailer-page #main.be2-page .be2-faq:has(> [data-portal-source] > .portal-faq){width:calc(100% - 48px)}}
@media(max-width:600px){body.be-trailer-page #main.be2-page .be2-faq:has(> [data-portal-source] > .portal-faq){width:calc(100% - 36px)}}
.portal-transactions{background:#080908;color:#f5f8f5}.portal-transactions main{min-height:70vh;padding-top:7rem}.portal-transactions .portal-chrome-slot{display:contents}
.portal-transactions .lucide-arrow-right,.portal-transactions .lucide-arrow-up-right{display:none}
.portal-preview-form{display:grid;gap:.65rem;max-width:25rem;width:100%;text-align:start}.portal-preview-form label{font-weight:700}.portal-preview-form input{min-width:0;min-height:48px;padding:.6rem .8rem;border:1px solid #ffffff55;border-radius:.65rem;background:#141a16;color:#fff}.portal-preview-form button{justify-self:start}.portal-preview-form [role=status]{font-size:.9rem;line-height:1.5}
@media(max-width:640px){.portal-state{margin-inline:1rem}.portal-promotions{padding-inline:1rem}.portal-transactions main{padding-top:5.5rem}}

/* Shared wording QA: clear the overhanging logo and fit headings to their columns. */
#main > p.portal-source-note{margin:0 auto;padding-block-start:2.5rem;padding-block-end:1rem}
#main:is(.prices-page,.theory-page,.ct-page) :is(.prices-intro,.theory-intro,.ct-intro) h1,
#main:is(.prices-page,.theory-page,.ct-page) :is(.prices-intro,.theory-intro,.ct-intro) h1 span{max-inline-size:100%;white-space:normal;word-break:normal;overflow-wrap:break-word;text-wrap:balance}
#main.prices-page .prices-intro h1{font-size:clamp(3rem,5vw,4.5rem);line-height:1.08}
#main.theory-page .theory-intro h1{font-size:clamp(3rem,5.4vw,5rem);line-height:1.08;max-width:100%}
body.joker-dark #main.ct-page .ct-intro h1{font-size:clamp(2.6rem,4vw,4rem);white-space:normal}
html:is([lang="ta"],[lang="te"]) body.joker-dark #main:is(.prices-page,.theory-page,.ct-page) h1{font-size:clamp(2rem,3.2vw,3rem);line-height:1.22;letter-spacing:normal}
@media(max-width:640px){body:not(:has(.landing-header)) #ai-site-disclosure{top:28px;bottom:auto;left:50%;right:auto;transform:translateX(-50%)}}

/* Keep translated calendar labels inside their seven tracks; retain complete accessible day labels. */
#main.theory-page .theory-weekdays > span{min-inline-size:0;overflow-wrap:anywhere;line-height:1.5}
html[lang="ckb"] #main.ck-page h1{font-size:clamp(1.8rem,3.2vw,2.2rem);line-height:1.25}
html[lang="ckb"] #main.ck-page h1 span{white-space:nowrap}
/* Place the global disclosure in free header space, away from page actions. */
@media(min-width:641px){body:not(:has(.landing-header)) #ai-site-disclosure{top:28px;bottom:auto;left:max(8rem,calc(50vw - 30rem));right:auto;transform:none}html[dir="rtl"] body:not(:has(.landing-header)) #ai-site-disclosure{left:auto;right:max(8rem,calc(50vw - 30rem))}}

@media(min-width:641px){body:has(.landing-header) #ai-site-disclosure{top:32px;bottom:auto;left:50%;right:auto;transform:translateX(-50%)}}
