/* WRA160-Media v2.1 content-density and accessibility refinement. */
.v21-page-intro{margin:0 0 1.4rem;max-width:1100px}
.v21-page-intro h1{font-size:clamp(2rem,3vw,3.5rem);line-height:1.11;margin:.6rem 0}
.v21-page-intro p{font-size:clamp(1rem,1.1vw,1.12rem);line-height:1.7;color:var(--muted,#bbcad5);max-width:80ch}
.v21-gallery-cta{display:grid;grid-template-columns:minmax(270px,1.1fr) minmax(280px,1fr);gap:1.5rem;align-items:center;border:1px solid #355064;background:#142433;border-radius:17px;overflow:hidden;margin:1.1rem 0 1.75rem}
.v21-gallery-cta>img{width:100%;height:275px;object-fit:cover;display:block}
.v21-gallery-cta>div{padding:1.3rem}.v21-gallery-cta h2{font-size:clamp(1.3rem,2vw,2rem);margin:0 0 .65rem}.v21-gallery-cta p{line-height:1.7;color:#c9d8df}
.v21-result-banner{display:flex;gap:.8rem;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:1rem 1.15rem;border-radius:12px;background:#1a2d39;border:1px solid #365362;margin-bottom:1.4rem}
.v21-result-banner span{color:#cbdce3}
.v21-topic-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.v21-topic,.v21-map-card{min-width:0;background:#142331;border:1px solid #334d5f;border-radius:15px;padding:1.2rem;display:flex;flex-direction:column;gap:.65rem}
.v21-topic h2,.v21-map-card h2{font-size:1.22rem;line-height:1.3;margin:0}.v21-topic p,.v21-map-card p{font-size:1rem;line-height:1.65;color:#c7d8df;margin:0 0 .8rem}
.v21-button-row{display:flex;flex-wrap:wrap;gap:.65rem;align-items:center;margin-top:auto;padding-top:.4rem}
.v21-count{color:#91e3bc;font-weight:700;white-space:nowrap}
.v21-context-summary,.v21-live-summary,.v21-takeaways{margin:1.5rem 0;border:1px solid #477565;background:linear-gradient(120deg,#14302e,#172735 70%);border-radius:17px;padding:1.4rem;max-width:100%;}
.v21-context-summary h2,.v21-live-summary h2,.v21-takeaways h2{margin:.5rem 0 1rem;font-size:clamp(1.45rem,2vw,2.1rem)}
.v21-context-summary p,.v21-live-summary p,.v21-takeaways p{font-size:1rem;line-height:1.65;color:#d2e5e7}
.v21-live-summary[data-state="normal"]{border-color:#459e7a}
.v21-live-summary[data-state]:not([data-state="normal"]){border-color:#d8955b}
.v21-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}
.v21-summary-grid>div{background:#0f202d;border:1px solid #395369;padding:1.05rem;border-radius:11px;min-width:0}
.v21-summary-grid strong{color:#a9efc8}.v21-summary-grid p{margin:.4rem 0 0}
.v21-simulation-note{font-size:.9rem!important;color:#9dbecb!important}
.v21-dual-scene{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-bottom:1.6rem}
.v21-dual-scene figure{margin:0;background:#132536;border:1px solid #344e61;border-radius:14px;overflow:hidden}
.v21-dual-scene img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
.v21-dual-scene figcaption{padding:.8rem 1rem;font-size:.96rem;font-weight:600;color:#cce5df}
.v21-map-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.v21-map-card img{display:block;width:100%;height:auto;background:#081522;border-radius:10px}
.v21-map-card .v21-button-row{margin-top:auto}
.v21-explore-links{display:flex;gap:.6rem;flex-wrap:wrap;margin:1.2rem 0}
/* Respect light themes as well as v2 dark styling. */
html[data-theme="light"] .v21-topic,html[data-theme="light"] .v21-map-card,html[data-theme="light"] .v21-result-banner,html[data-theme="light"] .v21-gallery-cta{background:#f7fbfa;color:#172a36;border-color:#c6d8de}
html[data-theme="light"] .v21-topic p,html[data-theme="light"] .v21-map-card p,html[data-theme="light"] .v21-page-intro p,html[data-theme="light"] .v21-result-banner span,html[data-theme="light"] .v21-gallery-cta p{color:#405563}
html[data-theme="light"] .v21-context-summary,html[data-theme="light"] .v21-live-summary,html[data-theme="light"] .v21-takeaways{background:#eaf5f1;color:#16362d;border-color:#9bc6b4}
html[data-theme="light"] .v21-context-summary p,html[data-theme="light"] .v21-live-summary p,html[data-theme="light"] .v21-takeaways p{color:#28463f}
html[data-theme="light"] .v21-summary-grid>div{background:#fff;color:#173b37;border-color:#b3d2c8}
html[data-theme="light"] .v21-summary-grid strong{color:#13543e}
html[data-theme="light"] .v21-dual-scene figcaption{color:#193c39}
@media(max-width:1100px){.v21-topic-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){.v21-topic-list,.v21-map-grid,.v21-dual-scene,.v21-summary-grid,.v21-gallery-cta{grid-template-columns:1fr}.v21-gallery-cta>img{height:auto;max-height:300px}.v21-context-summary,.v21-live-summary,.v21-takeaways{padding:1rem}}
@media(prefers-reduced-motion:no-preference){.v21-topic,.v21-map-card{transition:border-color .18s ease,transform .18s ease}.v21-topic:focus-within,.v21-map-card:focus-within{border-color:#80d9af}.v21-topic:hover,.v21-map-card:hover{transform:translateY(-2px)}}
