/* Nobody's Simple · Cultural Psychology World Atlas.
   The map sits last on the homepage, responsive and independent of other features. */
body.app-body #main .ns-culture-atlas{
 --ca-ink:#254939;--ca-muted:#5c7469;--ca-paper:#fffdf7;--ca-outline:#cad9cb;
 --ca-deep:#2c5844;--ca-water:#dfecee;--ca-land:#e3e8d6;--ca-pick:#c58054;
 margin:clamp(34px,6vw,76px) 0 28px;
 padding:clamp(17px,3vw,34px);
 border:1px solid #c6d6c8;border-radius:28px;
 background:radial-gradient(ellipse at 10% 0%,#fff4da 0%,transparent 48%),linear-gradient(150deg,#f9f8ed 0%,#ecf3e9 100%);
 color:var(--ca-ink);box-shadow:0 16px 42px rgb(27 58 43 / .06);
}
.ns-culture-atlas *{box-sizing:border-box}
.ns-culture-atlas .ns-culture-heading{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:22px}
.ns-culture-atlas .ns-culture-eyebrow{color:#8e6441;font-size:.69rem;font-weight:800;letter-spacing:.17em;text-transform:uppercase;margin:0 0 8px}
.ns-culture-atlas h2{font-family:Georgia,serif;font-size:clamp(1.7rem,3.4vw,2.9rem);line-height:1.13;margin:0 0 10px;color:var(--ca-ink)}
.ns-culture-atlas .ns-culture-heading p:not(.ns-culture-eyebrow){max-width:690px;line-height:1.62;margin:0;color:#466257;font-size:.96rem}
.ns-culture-atlas .ns-culture-stamp{font-size:.64rem;font-weight:800;letter-spacing:.12em;white-space:nowrap;border:1px solid #c4ceb9;border-radius:40px;padding:10px 14px;color:#587964;background:#fafff4}
.ns-culture-controls{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:0 0 18px}
.ns-culture-controls label,.ns-culture-region-control{display:grid;gap:4px;min-width:min(100%,245px);flex:1;font-size:.77rem;font-weight:750;color:var(--ca-ink)}
.ns-culture-atlas select{appearance:auto;width:100%;max-width:100%;min-height:45px;padding:10px 12px;font-size:.86rem;border:1px solid #aebdaf;border-radius:12px;background:#fffdf7;color:#244434}
.ns-culture-atlas button{font:inherit;cursor:pointer;min-height:44px;border-radius:12px;border:1px solid #aabfaf;padding:10px 14px;transition:background .16s ease,color .16s ease}
.ns-culture-atlas button:disabled{opacity:.53;cursor:default}
.ns-culture-atlas .ns-culture-random{background:#2f654a;color:#fff;font-size:.83rem;font-weight:800;border-color:#2f654a}
.ns-culture-atlas .ns-culture-random:hover{background:#214a38}
.ns-culture-atlas .ns-culture-reset{background:#f5f6e9;color:#315946;font-size:.82rem;font-weight:750}
.ns-culture-atlas :is(select,button,a,[role=button]):focus-visible{outline:3px solid #c88e56;outline-offset:3px}
.ns-culture-layout{display:grid;grid-template-columns:minmax(0,1.58fr) minmax(280px,1fr);align-items:stretch;gap:16px}
.ns-culture-map-column{min-width:0}
.ns-culture-map-shell{position:relative;overflow:hidden;border:1px solid #c4d8d3;border-radius:18px;background:var(--ca-water)}
.ns-culture-map{display:block;aspect-ratio:2/1;width:100%;height:auto;max-height:540px;overflow:hidden;touch-action:none;user-select:none;cursor:grab}
.ns-culture-map .ns-culture-sea{fill:var(--ca-water)}
.ns-culture-map .ns-culture-country{stroke:#779688;stroke-width:.45;vector-effect:non-scaling-stroke;fill:var(--ca-land);cursor:pointer;transition:fill .15s ease,opacity .15s ease}
.ns-culture-map .ns-culture-country:hover,.ns-culture-map .ns-culture-country:focus{fill:#bdd5ad;stroke:#2c664c;stroke-width:1.4;outline:none}
.ns-culture-map .ns-culture-country.is-selected{fill:var(--ca-pick);stroke:#8b4936;stroke-width:1.4}
.ns-culture-map .ns-culture-country.is-dimmed{opacity:.42}
.ns-culture-map .ns-culture-region{fill:#d9bd91;stroke:#755b48;stroke-width:1.2;vector-effect:non-scaling-stroke;cursor:pointer}
.ns-culture-map .ns-culture-region:hover,.ns-culture-map .ns-culture-region:focus{fill:#f0c47e;stroke:#704326;stroke-width:1.9;outline:none}
.ns-culture-map .ns-culture-region.is-selected{fill:#437d69;stroke:#174a3b;stroke-width:2}
.ns-culture-map-status{position:absolute;left:10px;bottom:10px;max-width:calc(100% - 20px);border-radius:10px;padding:5px 9px;background:rgb(255 253 247 / .92);font-size:.72rem;font-weight:750;color:#294b3e;pointer-events:none}
.ns-culture-map-foot{display:flex;justify-content:space-between;gap:10px;font-size:.73rem;color:#536b5b;line-height:1.45;margin:10px 2px 13px}
.ns-culture-map-foot span:last-child{white-space:nowrap}
.ns-culture-region-control[hidden]{display:none}
.ns-culture-region-control{margin:0 0 12px}
.ns-culture-map-source{font-size:.69rem!important;color:#617467!important;line-height:1.55;margin:10px 0 0}
.ns-culture-map-source a,.ns-culture-source{color:#2a6453;text-decoration:underline;text-underline-offset:3px}
.ns-culture-reading{min-width:0;max-height:670px;overflow:auto;overscroll-behavior:contain;border-radius:18px;padding:clamp(15px,2vw,24px);background:#fffef9;border:1px solid #d1dbcb;box-shadow:0 6px 24px rgb(34 67 45 / .04)}
.ns-culture-reading h3{color:#274e3d;font-family:Georgia,serif;font-size:clamp(1.35rem,2.3vw,1.9rem);line-height:1.22;margin:10px 0 7px}
.ns-culture-reading p{color:#455f53;font-size:.86rem;line-height:1.68;margin:0 0 12px}
.ns-culture-reading .ns-culture-place{font-weight:750;font-size:.82rem;margin:0 0 16px;color:#59725c}
.ns-culture-reading .ns-culture-welcome{display:grid;align-content:center;min-height:370px}
.ns-culture-ornament{font-size:3rem;line-height:1;color:#b58454;margin-bottom:22px}
.ns-culture-welcome .ns-culture-promise{border-left:3px solid #adc9b1;padding-left:12px;margin:7px 0 25px}
.ns-culture-reading .ns-culture-random--inside{width:fit-content;max-width:100%}
.ns-culture-story-head{display:flex;gap:12px;justify-content:space-between;font-weight:850;letter-spacing:.08em;text-transform:uppercase;font-size:.65rem;color:#9c7054}
.ns-culture-reading .ns-culture-where{color:#7e6652;font-style:italic;font-size:.78rem;margin-bottom:18px}
.ns-culture-story-body p{margin-bottom:13px}
.ns-culture-lesson,.ns-culture-question{border-radius:12px;padding:12px 14px;margin:16px 0;background:#edf4e7;border:1px solid #d0e2ce}
.ns-culture-question{background:#fff4e0;border-color:#ebdec5}
.ns-culture-lesson strong,.ns-culture-question strong{display:block;margin-bottom:6px;font-size:.78rem}
.ns-culture-lesson p,.ns-culture-question p{margin:0!important}
.ns-culture-reading .ns-culture-region-note{border-left:3px solid #d1ae6c;padding-left:10px;margin:10px 0 15px;font-size:.8rem}
.ns-culture-reading .ns-culture-source{display:inline-block;margin:8px 0 15px;font-size:.73rem;overflow-wrap:anywhere}
.ns-culture-story-nav{display:flex;gap:8px;margin:0 0 16px}
.ns-culture-story-nav button{flex:1;background:#f0f5e9;color:#28503d;font-size:.8rem;font-weight:700}
.ns-culture-story-nav button:not(:disabled):hover{background:#e0edda}
.ns-culture-story-list summary{font-size:.78rem;font-weight:750;cursor:pointer;padding:9px 0;color:#38634f}
.ns-culture-story-tab{display:grid;gap:2px;width:100%;text-align:left;margin:7px 0;background:#fffefb}
.ns-culture-story-tab span{font-size:.63rem;color:#866750}
.ns-culture-story-tab strong{font-size:.79rem}
.ns-culture-disclaimer{max-width:980px;margin:14px 0 0;font-size:.73rem;line-height:1.6;color:#647569}
@media(max-width:850px){
 .ns-culture-layout{grid-template-columns:1fr}
 .ns-culture-reading{max-height:none}
 .ns-culture-atlas .ns-culture-stamp{display:none}
 .ns-culture-map{max-height:none}
 .ns-culture-reading .ns-culture-welcome{min-height:220px}
}
@media(max-width:540px){
 body.app-body #main .ns-culture-atlas{padding:15px;border-radius:17px;margin:36px 0 22px}
 .ns-culture-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 .ns-culture-controls label{grid-column:1/-1}
 .ns-culture-atlas .ns-culture-random,.ns-culture-atlas .ns-culture-reset{font-size:.75rem;padding:8px}
 .ns-culture-map-foot{display:block}
 .ns-culture-map-foot span{display:block;margin:3px 0}
 .ns-culture-map-status{font-size:.65rem}
}
html[data-theme=dark] body.app-body #main .ns-culture-atlas{
 --ca-ink:#e8f3e7;--ca-muted:#d0e3d3;--ca-water:#244a53;--ca-land:#667f6b;--ca-pick:#c28059;
 background:linear-gradient(130deg,#253e32,#1b322c);border-color:#62856b;color:#e8f3e7
}
html[data-theme=dark] .ns-culture-atlas :is(.ns-culture-reading,.ns-culture-atlas select,.ns-culture-story-tab){background:#2a4939;color:#f3f9ed;border-color:#668b70}
html[data-theme=dark] .ns-culture-atlas :is(h2,h3,p,small,.ns-culture-place,.ns-culture-where,.ns-culture-heading p:not(.ns-culture-eyebrow),.ns-culture-map-foot){color:#e3f1e1}
html[data-theme=dark] .ns-culture-atlas :is(.ns-culture-lesson,.ns-culture-question){background:#335745;border-color:#668b70}
html[data-theme=dark] .ns-culture-atlas .ns-culture-source{color:#cbe9cb}
html[data-low-stim=true] .ns-culture-atlas *,html[data-visual=text] .ns-culture-atlas *{transition:none!important}
@media(prefers-reduced-motion:reduce){.ns-culture-atlas *{transition:none!important}}


/* Exploration controls stay legible and tappable on desktop, phone and tablet. */
.ns-culture-map:active{cursor:grabbing}
.ns-culture-zoom{position:absolute;right:10px;top:10px;display:flex;gap:5px;z-index:2}
.ns-culture-atlas .ns-culture-zoom button{min-height:42px;min-width:42px;padding:4px 8px;font-size:1.25rem;font-weight:800;
 background:rgba(255,253,247,.96);border:1px solid #92ac9c;box-shadow:0 3px 11px rgb(27 58 43 / .14);color:#254939}
.ns-culture-zoom button:hover{background:#e5efdf}
.ns-culture-map .ns-culture-subregion{fill:#d6a472;stroke:#774e36;stroke-width:1.15;vector-effect:non-scaling-stroke;cursor:pointer}
.ns-culture-map .ns-culture-subregion:hover,.ns-culture-map .ns-culture-subregion:focus{fill:#f2cf93;stroke:#704326;stroke-width:1.75;outline:none}
.ns-culture-map .ns-culture-subregion.is-selected{fill:#32806b;stroke:#194936;stroke-width:2}
.ns-culture-map .ns-culture-indigenous{fill:#a87ac4;fill-opacity:.42;stroke:#6d3884;stroke-width:1.15;
 vector-effect:non-scaling-stroke;cursor:pointer}
.ns-culture-map .ns-culture-indigenous:hover,.ns-culture-map .ns-culture-indigenous:focus{fill:#b586d4;fill-opacity:.74;stroke:#472761}
.ns-culture-map .ns-culture-place-halo{fill:#fffef6;stroke:#244b38;stroke-width:.7;vector-effect:non-scaling-stroke;pointer-events:none}
.ns-culture-map .ns-culture-place-dot{fill:#bd5938;stroke:#244b38;stroke-width:.4;vector-effect:non-scaling-stroke;pointer-events:none}
.ns-culture-drill,.ns-culture-indigenous-control,.ns-culture-place-search{display:flex;align-items:flex-end;gap:10px;
 flex-wrap:wrap;margin:0 0 12px;padding:12px;background:#f5f7eb;border:1px solid #d1dccb;border-radius:14px}
.ns-culture-drill[hidden],.ns-culture-indigenous-control[hidden],.ns-culture-place-search[hidden],
.ns-culture-drill [hidden],.ns-culture-place-search [hidden]{display:none!important}
.ns-culture-drill label,.ns-culture-place-search label{display:grid;flex:1;min-width:min(100%,220px);gap:5px;font-size:.78rem;font-weight:750}
.ns-culture-place-search input{min-height:44px;width:100%;border:1px solid #9fbba8;border-radius:10px;
 background:#fffef9;color:#254939;padding:9px 11px;font:inherit;font-size:.87rem}
.ns-culture-drill button,.ns-culture-place-search button{background:#315d46;color:#fff;border-color:#315d46;font-size:.78rem;font-weight:750}
.ns-culture-drill p,.ns-culture-indigenous-control p,.ns-culture-place-search p{font-size:.74rem;line-height:1.5;
 flex-basis:100%;color:#496a58;margin:0}
.ns-culture-indigenous-control label{display:flex;align-items:center;gap:9px;font-size:.82rem;font-weight:750;cursor:pointer}
.ns-culture-indigenous-control input{width:19px;height:19px;accent-color:#76508f;flex-shrink:0}
html[data-theme=dark] .ns-culture-atlas :is(.ns-culture-drill,.ns-culture-indigenous-control,.ns-culture-place-search){background:#2e4c3c;border-color:#688770}
html[data-theme=dark] .ns-culture-atlas :is(.ns-culture-place-search input){background:#2a4939;border-color:#668b70;color:#fff}
html[data-theme=dark] .ns-culture-atlas :is(.ns-culture-drill p,.ns-culture-indigenous-control p,.ns-culture-place-search p){color:#e3f1e1}
@media(max-width:540px){.ns-culture-zoom{top:8px;right:8px;gap:4px}.ns-culture-atlas .ns-culture-zoom button{min-width:40px;min-height:40px}}

.ns-culture-indigenous-control label[data-culture-indigenous-list-wrap]{display:grid;flex-basis:100%;gap:6px;font-size:.79rem}
.ns-culture-indigenous-control label[data-culture-indigenous-list-wrap][hidden]{display:none}
.ns-culture-indigenous-control select{min-height:44px;max-width:100%;font-size:.82rem}


/* Optional full-screen map mode. The existing map controls stay available over the map. */
.ns-culture-map-shell:fullscreen{width:100vw;height:100vh;max-width:none;max-height:none;border:0;border-radius:0;background:var(--ca-water)}
.ns-culture-map-shell:fullscreen .ns-culture-map{width:100%;height:100%;max-height:none;aspect-ratio:auto}
.ns-culture-map-shell:fullscreen .ns-culture-map-status{bottom:16px;left:16px}
.ns-culture-indigenous-control>strong{font-size:.82rem;color:#315946}
.ns-culture-atlas .ns-culture-zoom [data-culture-fullscreen]{font-size:1.15rem}

.ns-culture-psychology{margin:15px 0;padding:15px 16px;border-left:4px solid #557f61;border-radius:0 13px 13px 0;background:#eef4e9}
.ns-culture-psychology strong{display:block;margin-bottom:7px;color:#28513d;font-size:.9rem}
.ns-culture-psychology p{margin:0;color:#314f3e;line-height:1.62}
html[data-theme=dark] .ns-culture-psychology{background:#2e4c3c;border-color:#8fb88e}
html[data-theme=dark] .ns-culture-psychology :is(strong,p){color:#e3f1e1}


.ns-culture-practice{margin:12px 0 16px;padding:0 0 14px;border-bottom:1px solid #d9e2d6}
.ns-culture-practice strong{display:block;margin-bottom:6px;color:#385b47;font-size:.82rem}
.ns-culture-practice p{margin:0;line-height:1.65;color:#3f5d4e}
.ns-culture-research{margin:17px 0;padding:16px;border:1px solid #d1dbcb;border-radius:14px;background:#f7f8ef}
.ns-culture-research>h4{margin:0 0 14px;color:#294c3b;font-family:Georgia,serif;font-size:1.12rem}
.ns-culture-research article{margin:0;padding:12px 0;border-top:1px solid #d9e2d6}
.ns-culture-research article h5{margin:0 0 7px;color:#315b45;font-size:.86rem}
.ns-culture-research article>p{margin:0 0 10px;color:#435f50;line-height:1.55;font-size:.82rem}
.ns-culture-research-debate{padding:11px 12px;margin:10px 0;border-left:3px solid #b67850;border-radius:0 10px 10px 0;background:#f2eee6}
.ns-culture-research-debate strong{display:block;margin-bottom:5px;color:#68492f;font-size:.76rem}
.ns-culture-research-debate p{margin:0;color:#5b5249;font-size:.78rem;line-height:1.55}
.ns-culture-research-study{padding:9px 10px;margin:8px 0 0;border-radius:10px;background:#fffdf8}
.ns-culture-research-study p{margin:0 0 7px;color:#4a6254;font-size:.79rem;line-height:1.5}
.ns-culture-research-study a{color:#285b49;font-size:.75rem;font-weight:750;text-underline-offset:3px}
.ns-culture-research-study small{display:block;margin-top:4px;color:#63786b;font-size:.68rem;line-height:1.45}
html[data-theme=dark] .ns-culture-practice{border-color:#526c5c}
html[data-theme=dark] .ns-culture-practice :is(strong,p){color:#e3f1e1}
html[data-theme=dark] .ns-culture-research{background:#2b4738;border-color:#607765}
html[data-theme=dark] .ns-culture-research :is(h4,h5,p){color:#e3f1e1}
html[data-theme=dark] .ns-culture-research article{border-color:#526c5c}
html[data-theme=dark] .ns-culture-research-debate{background:#443b31;border-color:#dfac7f}
html[data-theme=dark] .ns-culture-research-debate :is(strong,p){color:#f2e7da}
html[data-theme=dark] .ns-culture-research-study{background:#203a2e}
html[data-theme=dark] .ns-culture-research-study a{color:#b8dec3}
html[data-theme=dark] .ns-culture-research-study small{color:#cbdece}

/* Place-led atlas stories and their local evidence */
.ns-culture-investigation{display:grid;gap:0;margin:4px 0 20px}
.ns-culture-investigation-section{padding:15px 0 17px;border-bottom:1px solid #d9e2d6}
.ns-culture-investigation-section h4{margin:0 0 9px;color:#294c3b;font:600 1.04rem/1.3 Georgia,serif}
.ns-culture-investigation-section p{margin:0 0 11px;color:#405e4f;font-size:.88rem;line-height:1.74}
.ns-culture-investigation-section p:last-child{margin-bottom:0}
.ns-culture-inline-sources{font-size:.76rem;line-height:1.7}
.ns-culture-inline-sources a{color:#285b49;text-underline-offset:3px}
html[data-theme=dark] .ns-culture-inline-sources a{color:#b7d8bf}
.ns-culture-evidence{margin:18px 0;padding:16px;border:1px solid #d1dbcb;border-radius:15px;background:#f7f8ef}
.ns-culture-evidence>h4{margin:0 0 7px;color:#294c3b;font:600 1.13rem/1.3 Georgia,serif}
.ns-culture-evidence .ns-culture-evidence-intro{margin:0 0 12px;color:#597061;font-size:.78rem;line-height:1.55}
.ns-culture-evidence-card{padding:13px 0;border-top:1px solid #d9e2d6}
.ns-culture-evidence-kind{display:inline-block;margin:0 0 6px;padding:4px 8px;border-radius:20px;background:#e8efe1;color:#40624c;font-size:.65rem;font-weight:800;letter-spacing:.03em}
.ns-culture-evidence-card h5{margin:0 0 7px;color:#315b45;font-size:.89rem;line-height:1.4}
.ns-culture-evidence-card p{margin:0 0 8px;color:#435f50;font-size:.78rem;line-height:1.6}
.ns-culture-evidence-card p strong{color:#365640}
.ns-culture-evidence-card blockquote{margin:10px 0;padding:10px 12px;border-left:3px solid #b67850;border-radius:0 10px 10px 0;background:#fff9ed}
.ns-culture-evidence-card blockquote p{margin:0 0 5px;color:#4b5448;font:italic .9rem/1.55 Georgia,serif}
.ns-culture-evidence-card blockquote cite{color:#786650;font-size:.69rem;font-style:normal}
.ns-culture-evidence-card>a{display:inline-block;margin:2px 10px 0 0;color:#285b49;font-size:.76rem;font-weight:750;text-underline-offset:3px}
.ns-culture-evidence-card>small{display:block;margin-top:6px;color:#748477;font-size:.67rem}
html[data-theme=dark] .ns-culture-investigation-section{border-color:#526457}
html[data-theme=dark] .ns-culture-investigation-section h4,html[data-theme=dark] .ns-culture-investigation-section p{color:#e1eadf}
html[data-theme=dark] .ns-culture-evidence{background:#263b30;border-color:#536d5c}
html[data-theme=dark] .ns-culture-evidence>h4,html[data-theme=dark] .ns-culture-evidence-card h5{color:#e3f1e1}
html[data-theme=dark] .ns-culture-evidence .ns-culture-evidence-intro,html[data-theme=dark] .ns-culture-evidence-card p,html[data-theme=dark] .ns-culture-evidence-card>small{color:#d0dfd1}
html[data-theme=dark] .ns-culture-evidence-card{border-color:#526457}
html[data-theme=dark] .ns-culture-evidence-kind{background:#385440;color:#dcebdd}
html[data-theme=dark] .ns-culture-evidence-card blockquote{background:#34483a}
html[data-theme=dark] .ns-culture-evidence-card blockquote p,html[data-theme=dark] .ns-culture-evidence-card blockquote cite{color:#e3eadf}
html[data-theme=dark] .ns-culture-evidence-card>a{color:#b7d8bf}

.ns-culture-story-image{margin:12px 0 18px;padding:9px;border:1px solid #dce4d8;border-radius:14px;background:#f8f7ee}
.ns-culture-story-image--inline{margin:20px 0 22px}
.ns-culture-story-image--inline[hidden]{display:none}
.ns-culture-story-image figure{margin:0}
.ns-culture-story-image img{display:block;width:100%;max-height:440px;object-fit:contain;border-radius:9px;background:#eeeadd}
.ns-culture-story-image figcaption{margin:8px 2px 0;color:#52675a;font-size:.7rem;line-height:1.55}
.ns-culture-story-image figcaption a{color:#315b45;text-underline-offset:2px}
.ns-culture-image-status{margin:4px;color:#627467;font-size:.76rem;line-height:1.5}
html[data-theme=dark] .ns-culture-story-image{background:#263b30;border-color:#536d5c}
html[data-theme=dark] .ns-culture-story-image img{background:#18251d}
html[data-theme=dark] .ns-culture-story-image figcaption,html[data-theme=dark] .ns-culture-image-status{color:#d0dfd1}
html[data-theme=dark] .ns-culture-story-image figcaption a{color:#b7d8bf}
