/* CABO VERDE V6 — ATLANTIC EDITION
   National flag-led visual identity: Atlantic blue, warm sand, golden stars.
   Red remains a restrained flag accent only; never a large surface.
   The compact navigation and thin Manrope typography are unchanged.
 */
:root {
  --navy:#112d50; --deep:#0c2747; --ink:#233343; --muted:#6e797f;
  --lime:#f2c956; --sea:#1c7294; --paper:#f8f7f2; --line:#d9e2e4;
  --cv-red:#bd4052; --cv-red-dark:#982e41; --cv-gold:#e9bf4e;
  --cv-cream:#f8f7f2; --cv-warm:#edf3f4; --cv-charcoal:#253849;
  --cv-ocean:#124d7a; --cv-ocean-deep:#0b2c52; --cv-sky:#dfeff3;
}
html,body {background:#f8f7f2;color:#233343}
::selection {background:#f2ca5d;color:#0b2c52}
.top-accent {background:linear-gradient(90deg,#0b3265 0 64%,#f9faf7 64% 80%,#c43e51 80% 91%,#ecc350 91% 100%)}
.header {background:rgba(252,251,246,.98);border-bottom-color:#d8e2e5;box-shadow:0 4px 18px rgba(6,42,72,.04);color:#243647}
.header .brand-logo {color:#183a5d}
.header .brand-logo span {color:#c44352}
.header .brand-line {background:#b9cdd6}
.header .brand-cat {color:#13527d}
.header .brand-cat small {color:#68869b}
.header .nav a {color:#476170}
.header .nav a:hover {color:#176b98}
.header .edition {color:#718896}
.language-picker {background:#fcfdf9;border-color:#c6d7df;box-shadow:none}
.language-choice {color:#48677b}
.language-choice.is-active {background:#11517f;border-color:#11517f;color:#fff}
.language-choice:not(.is-active):hover {background:#e8f2f4;color:#0c4a77}
.language-choice:focus-visible {outline-color:#0e5988}
.results-announcement {background:#e4f2f2;color:#174d64;border-bottom-color:#bddcde}
.announcement-marker {border-color:#c43e51}
.announcement-action {color:#0b5888}
.announcement-action:hover {color:#063c64}
.view-navigation {background:rgba(251,250,245,.98);border-bottom-color:#dbe5e7;box-shadow:0 4px 14px rgba(8,45,68,.035)}
.view-tab {color:#667e8a}
.view-tab:hover {color:#155e88}
.view-tab.is-active,.view-tab[aria-selected="true"] {color:#124f7d;border-bottom-color:#e0b449}
.view-tab:focus-visible {outline-color:#14628f}
.hero {background:#fdfbf5;border-color:#dde4e3;box-shadow:0 12px 44px rgba(17,54,78,.045)}
.hero-copy {background:#fcfaf4;border-left-color:#e6c05d}
.hero-copy:before {background:linear-gradient(90deg,#e8c45c 0 45%,#155b85 45% 91%,#c64253 91% 100%)}
.hero h1 {color:#153951}
.hero h1 em {color:#126593}
.eyebrow {color:#376980}
.eyebrow-bar {background:#dcaf45}
.eyebrow .dot {background:#c24352}
.hero-sub {color:#5d7279}
.cta {background:#145783;color:#fff;box-shadow:5px 5px 0 #eac55b}
.cta:hover {background:#0a426c;color:#fff}
.ghost-cta {color:#0f5d89}
.ghost-cta:hover {color:#0b3c66}
.hero-bottom {color:#657e8a;border-top-color:#d6e3e5}
.hero-bottom strong {color:#1b415f}
.hero-bottom a {color:#0a5d8d}
.official-dot {background:#e5bd4d;box-shadow:0 0 0 3px #f7ecd0}
.hero-visual {background:radial-gradient(ellipse at 68% 29%,#2d789f 0,#13517c 38%,#0b2c52 100%);border-left-color:#165375}
.hero-visual:before {background:repeating-radial-gradient(circle at 61% 33%,transparent 0 52px,rgba(238,246,248,.10) 54px 56px,transparent 57px 92px)}
.hero-visual:after {background:linear-gradient(100deg,rgba(0,29,53,.12),transparent 44%,rgba(0,22,44,.17))}
.ocean-lines {opacity:.16;background:repeating-linear-gradient(0deg,transparent,transparent 33px,#e8f7f6 34px,#e8f7f6 35px),repeating-linear-gradient(90deg,transparent,transparent 42px,#e8f7f6 43px,#e8f7f6 44px)}
.archipelago {filter:drop-shadow(0 8px 10px rgba(5,31,57,.24))}
.archipelago #island stop:first-child {stop-color:#fff7d7}
.archipelago #island stop:last-child {stop-color:#f4cc57}
.archipelago g[stroke="#95b5bc"] {stroke:#d2f1f3}
.archipelago g[fill="url(#island)"] {stroke:#fff4d0}
.archipelago text {fill:#f3fbfb}
.visual-top span,.visual-overlay>span {color:#e7f5f7}
.visual-overlay {border-top-color:rgba(224,242,247,.42)}
.visual-overlay strong {color:#f4d06c}
.visual-overlay strong span {color:#9ac6d9}
.visual-overlay small {color:#c5e3eb}
#overview .visual-overlay {background:rgba(5,37,68,.72);border-top-color:rgba(202,232,240,.52)}
.flag {border-color:#f8fbff;box-shadow:0 8px 22px rgba(4,28,55,.4)}
.ticker {background:#f2d679;border-block-color:#dec26c}
.ticker-cell {border-right-color:#d5b65a}
.ticker-cell:nth-child(-n+2) {border-bottom-color:#d5b65a}
.ticker-cell>span,.ticker-cell>small {color:#655733}
.ticker-cell strong {color:#1e4361}
#overview .ticker {border-color:#ddc16b}
.section-eyebrow {color:#1d6b8a}
.section h2 {color:#163950}
.section-lead,.section-index {color:#70858b}
.text-link {color:#0e5c8a;border-bottom-color:#e4bc4e}
.text-link:hover {color:#063e63}
.results-primary {background:#fff;border-color:#d9e4e6}
.results-meta {color:#547482;border-bottom-color:#dbe5e8}
.state-pill {color:#245e74;background:#e6f2ee;border-color:#cce4e5}
.state-pill .blink {background:#dbab39}
.results-figure h3 {color:#1e455e}
.results-figure p,.result-foot>span {color:#74838b}
.huge-dash {color:#bfcfd6}
.results-rows {background:#eef5f5;border-block-color:#d5e2e4}
.results-rows>div {border-right-color:#d5e2e4}
.results-rows span {color:#667e88}
.results-rows strong {color:#1a475e}
.result-foot a {background:#12527e;color:#fff}
.result-foot a:hover {background:#0a3c64}
.results-side {background:linear-gradient(150deg,#155b83 0,#0b2e52 100%);box-shadow:inset 0 5px 0 #e4bd50}
.side-top {color:#c8eaf3}
.results-side>p {color:#d2e6ed}
.majority-track {background:#5689a4}
.majority-a {background:#e2c462}
.majority-marker {background:#fffaf0;box-shadow:0 0 0 2px #11446d}
.majority-labels strong,.sim-output span {color:#f3d177}
.scenario label {color:#e6f1f4}
.scenario input {accent-color:#edca61}
.scenario>small {color:#b7d6df}
.candidates-section {background:#eef3f1;border-block-color:#d8e4e2}
.candidate {background:#fff;border-color:#d7e3e5;box-shadow:0 4px 0 #dce9e9}
.candidate:hover {border-color:#7daebc;box-shadow:0 7px 0 #e5ca6f}
.candidate-top>span:first-child {color:#13577c}
.candidate-top small {color:#90a7b0}
.candidate-mark {background:#dae9e9;color:#12496d}
.candidate-mark.a {background:#edd47f;color:#34556a}
.candidate-mark.b {background:#d3e7ec;color:#174e6d}
.candidate-mark.c {background:#135483;color:#fff}
.candidate-mark.d {background:#f4e0a0;color:#3b5870}
.candidate-mark.e {background:#e5edf0;color:#225c80}
.candidate-mark.f {background:#d1e6dc;color:#225a70}
.candidate-type {color:#47778c}
.candidate h3 {color:#23445b}
.candidate p,.candidate-note p {color:#71848d}
.candidate-link {color:#0e638c;border-top-color:#d9e5e7}
.candidate-link:hover {color:#084669}
.info-dot {color:#246a84;border-color:#bad2da}
.guide-card {background:#fff;border-color:#dae5e5;box-shadow:inset 0 3px 0 #e6c561}
.guide-icon {color:#14668d}
.guide-num {color:#98aeb7}
.guide-card h3 {color:#244a5f}
.guide-card p {color:#70848b}
.guide-bottom {background:#e5eff0;border-left-color:#e3ba4c}
.guide-bottom>div:first-child>span {color:#185a7c}
.guide-bottom p {color:#4d7787}
.guide-actions a {background:#135781;color:#fff}
.guide-actions a:hover {background:#0a3a61}
.islands-section {background:radial-gradient(ellipse at 8% 0%,#17658e 0,#114774 52%,#0b2e55 100%);border-block-color:#216486}
.islands-section h2 {color:#f8fcfd}
.islands-section .section-eyebrow {color:#f2d27c}
.islands-intro>p {color:#d0e6eb}
.islands-badge {border-top-color:#52899f}
.islands-badge>span:first-child {color:#f1cb63}
.islands-badge>span:last-child {color:#d6e9ef}
.islands-panel {background:#fff;color:#23475d}
.panel-top {background:#e5f1ef;border-bottom-color:#d1e2e4;color:#27647c}
.island-buttons button {background:#f9fbfa;border-color:#d0e1e4;color:#476f80}
.island-buttons button:hover {border-color:#277f9e}
.island-buttons button.is-active {background:#145b83;border-color:#145b83;color:#fff}
.island-selected {background:#eff5f3;border-color:#d8e5e4}
.island-selected>span:first-child {color:#19688a}
.island-selected h3 {color:#1b4d67}
.island-selected p,.island-no-data {color:#607f8b}
.no-data-dot {background:#dab65a}
.timeline-grid {border-color:#d5e2e5}
.timeline-item {background:#fff;border-right-color:#dce5e6}
.timeline-item:nth-child(-n+2){border-bottom-color:#dce5e6}
.timeline-item.focus {background:#e6d38a}
.timeline-item time {color:#1b6186}
.timeline-item.focus time {color:#254b63}
.timeline-step {color:#879ea7}
.timeline-item.focus .timeline-step {color:#736332}
.timeline-item strong {color:#244a60}
.timeline-item p {color:#71848b}
.timeline-item.focus p {color:#625f48}
.sources-section {background:#eef4f3;border-top-color:#d8e4e5}
.source-article {background:#fff;border-color:#d8e5e5}
.source-article h3 {color:#24475c}
.source-kicker {color:#487b91}
.source-article p {color:#728790}
.article-arrow {color:#176389}
.featured-source {background:linear-gradient(142deg,#176486,#0f3c65);color:#fff;border-color:#13547b}
.featured-source h3 {color:#fff}
.featured-source .source-kicker {color:#e8d38a}
.featured-source p {color:#cce2e9}
.featured-source .article-arrow {color:#f1cd65}
.source-directory {border-top-color:#d4e2e4}
.source-directory>span {color:#6c8791}
.source-directory a {color:#0c5e86}
.footer {background:#0c2f53;color:#f5f9fa;border-top:6px solid #e5c05b}
.footer-logo span {color:#f2d16e}
.footer-logo small {color:#c7e1e9}
.footer-main p {color:#c6dce4}
.footer-links a,.footer-links button {color:#d9eaf0}
.footer-links a:hover,.footer-links button:hover {color:#f5d16d}
.footer-bottom {border-top-color:#315d79;color:#b9d2de}
.toast {background:#e9c35a;color:#153e5e}
@media(max-width:820px){.nav {border-top-color:#d5e4e9}.hero-visual {border-top-color:#e0bd55;border-left:0}}
@media(max-width:540px){.header {border-bottom-color:#d6e3e7}.hero-copy {border-left-width:5px}}
