/* Keep the requested brand colours identical in both themes. */
.wordmark .wordmark-nordic,[data-theme=dark] .wordmark .wordmark-nordic{color:#00205b}
.wordmark .wordmark-tvhub,.wordmark .wordmark-dot,[data-theme=dark] .wordmark .wordmark-tvhub,[data-theme=dark] .wordmark .wordmark-dot{color:#ba0c2f}
[data-theme=dark] .brand.wordmark{background:#fff;border-radius:7px;padding:7px 9px}
/* Official SVG is kept unchanged; colour is not inherited from the theme. */
.support-float{display:flex;align-items:center;justify-content:center;gap:10px;min-width:48px;min-height:48px;width:auto;height:auto;padding:10px 16px;background:#fff;color:#00205b;border:1px solid #d5e3da;border-radius:999px;max-width:calc(100vw - 32px)}
.support-float .whatsapp-logo{display:block;width:30px;height:30px;object-fit:contain;flex:0 0 30px}
.support-float span{display:block;font-size:13px;font-weight:600;line-height:1.4;white-space:normal}
.support-float:hover{border-color:#25d366;box-shadow:0 6px 24px #0002}
.support-float:focus-visible{outline:3px solid #25d366;outline-offset:4px}
/* Use natural-height content areas instead of overlaying text on diagrams. */
.genre-grid{align-items:stretch;grid-template-columns:repeat(3,minmax(0,1fr))}
.genre{height:auto;min-height:0;display:flex;flex-direction:column;isolation:isolate;min-width:0;background:#0c1b2d;border:1px solid var(--line);overflow:hidden}
.genre:after{display:none}
.genre>picture,.genre>img{position:static;inset:auto;z-index:auto;display:block;width:100%;height:auto;aspect-ratio:16/9;flex:none}
.genre>picture img{display:block;width:100%;height:100%;object-fit:cover}
.genre>img[src$=".svg"]{object-fit:contain;object-position:center;background:#0c1b2d}
.genre>div{position:static;inset:auto;display:flex;flex-direction:column;flex:1;min-width:0;padding:24px;overflow:visible}
.genre h3{font-size:clamp(25px,2.4vw,32px);line-height:1.2;max-height:none;height:auto;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.genre p{font-size:15px;line-height:1.6;white-space:normal;overflow:visible}
.genre .genre-tag{position:static;align-self:flex-start;order:-1;margin:0 0 12px;border-color:#9da8bd;color:#f5f5f7}
.genre-cover{position:absolute;inset:0;z-index:4}
.genre-cover:focus-visible{outline:3px solid #fff;outline-offset:-5px}
.section-heading{flex-wrap:wrap;align-items:flex-start}
.section-heading>div{flex:1 1 340px;min-width:0}
.section-heading>p{flex:0 1 410px}
.section-heading h2{height:auto;max-height:none;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
/* Preserve all text embedded in diagrams at their full aspect ratio. */
.page-visual:has(img[src$=".svg"]){height:auto;aspect-ratio:16/9;background:#0c1b2d}
.page-visual img[src$=".svg"],.decision-visual img[src$=".svg"],.guide-step img[src$=".svg"],.post-card img[src$=".svg"]{object-fit:contain;object-position:center}
.decision-visual{min-width:0}.decision-panel>div{min-width:0}
.post-card h3,.poster-card h3,.plan h3,.plan-row h3{white-space:normal;overflow:visible;text-overflow:clip;max-height:none;overflow-wrap:anywhere}
@media(max-width:900px){.genre-grid{grid-template-columns:1fr}.genre>picture,.genre>img{aspect-ratio:16/9}.genre>div{padding:22px}.genre h3{font-size:30px}}
@media(max-width:580px){.support-float{width:auto;height:auto;padding:9px 13px;right:16px;bottom:16px}.support-float span{display:block}.support-float .whatsapp-logo{width:28px;height:28px;flex-basis:28px}.section-heading{gap:20px}.section-heading>div,.section-heading>p{flex-basis:100%}[data-theme=dark] .header .brand.wordmark{padding:6px 7px;font-size:19px}}

/* Override the previous mobile carousel and its higher-specificity fixed heights. */
.genre-grid{display:grid;overflow:visible;scroll-snap-type:none}
.genre,.genre.sport{height:auto;min-height:0;flex:initial;grid-column:auto;scroll-snap-align:none}
.genre:hover>img[src$=".svg"]{transform:none}
