/* v12 palette shared by the native IA course and Tangier guide. */
body[data-kb-page]{background:#173a2d;color:#f0f5ec;color-scheme:dark}
body[data-kb-page] :is(header,.top,.course-sections,.course-home-return,footer,.site-footer){background:#0d271c;color:#f0f5ec;border-color:#3e6b52}
body[data-kb-page] :is(header,.top) :is(a,b,span){color:#f0f5ec}
body[data-kb-page] :is(.card,.route-grid article,.place,.museum-grid article,.archive-links article,.reference-grid article,.article,.step,.notice,.prompt,.news-card,.band){background:#1e4634;color:#f0f5ec;border-color:#3e6b52}
body[data-kb-page] :is(.card,.route-grid article,.place,.museum-grid article,.archive-links article,.reference-grid article,.article,.step,.news-card) :is(p,h2,h3,a,small){color:#f0f5ec;text-shadow:none}
body[data-kb-page] :is(.muted,.meta,.lead,.section-head p,.route-list p,.model-row small,.stats){color:#c9dcc9}
body[data-kb-page] :is(.pill,.eyebrow,.n,.blue,.light){color:#d9a45b}
body[data-kb-page] :is(.btn,button,.primary){border-radius:24px;border-color:#63c2b4;background:#63c2b4;color:#0b3027}
body[data-kb-page] :is(.btn,button,.primary):hover{background:#8bd4c8;color:#0b3027}
body[data-kb-page] :is(input,select,textarea){background:#edf3e8;color:#183d2c;border-color:#71977a;max-width:100%}
body[data-kb-page] :is(.notice,.photo-grid figure,.photo-grid figcaption){background:#265239;color:#f0f5ec;border-color:#71977a}
body[data-kb-page] :is(.photo-grid figcaption,.reference-grid article,.photo-credit) a{color:#91dfd0;text-shadow:none}
body[data-kb-page] :is(.intro,.real-photos,.places,.museums,.archive-video,.references,.closing,.routes){color:#f0f5ec}
body[data-kb-page] :is(.routes,.commerce,.archive-video){background:#132f24}
body[data-kb-page] .hero{background-color:#1c4231}
body[data-kb-page=curso] .hero :is(h1,p,.stats,.stats strong){color:#f0f5ec}
body[data-kb-page=curso] .hero em{color:#63c2b4}
body[data-kb-page=curso] .visible-language-select{background:#1e4634;border-color:#3e6b52;color:#f0f5ec}
body[data-kb-page=curso] .visible-language-select[aria-current=page]{background:#63c2b4;color:#0b3027}
body[data-kb-page=curso] .hero .btn{background:#63c2b4;border-color:#63c2b4;color:#0b3027}
body[data-kb-page=curso] .course-translation-notice{background:#265239;color:#f0f5ec}
body[data-kb-page=tanger] .hero{background-image:url('/media/tanger-noche-2015.jpg');background-position:center}
body[data-kb-page=tanger] .shade{background:none}
body[data-kb-page=tanger] .top{position:sticky;top:0;z-index:60;min-height:68px;padding-block:10px}
body[data-kb-page=tanger] .photo-credit{font:13px/1.6 Arial,sans-serif;max-width:580px;margin-top:20px}
body[data-kb-page=tanger] .filters button{background:#1e4634;color:#f0f5ec;border-color:#3e6b52}
body[data-kb-page=tanger] .filters button.active{background:#63c2b4;color:#0b3027}
body[data-kb-page] a:focus-visible,body[data-kb-page] button:focus-visible{outline:3px solid #d9a45b;outline-offset:4px}
@media(max-width:700px){body[data-kb-page=tanger] .top{position:relative}.wrap{max-width:100%}body[data-kb-page] :is(.hero-inner,.topbar,.section-head,.language-tools){min-width:0}body[data-kb-page] .hero h1{overflow-wrap:break-word}}

/* Tangier photographs retain their original light; only glyphs carry a shadow. */
body[data-kb-page=tanger] .hero{filter:none;opacity:1}
body[data-kb-page=tanger] .hero::before,body[data-kb-page=tanger] .hero::after{content:none;display:none}
body[data-kb-page=tanger] .shade{background:none!important;min-height:580px}
body[data-kb-page=tanger] .hero-inner{padding-block:50px}
body[data-kb-page=tanger] .hero :is(h1,.eyebrow,.lead){color:#fffaf0;paint-order:stroke fill;-webkit-text-stroke:.7px #173236;text-shadow:0 1px 2px #173236,0 2px 4px #173236}
body[data-kb-page=tanger] .hero h1{max-width:960px;line-height:1.2}
body[data-kb-page=tanger] .hero .eyebrow{color:#ffe2a1;font-weight:800}
body[data-kb-page=tanger] .intro .preview{color:#c9dcc9}
html[dir=rtl] body[data-kb-page=tanger] .hero-inner{text-align:right;direction:rtl}
html[dir=rtl] body[data-kb-page=tanger] .hero h1,html[dir=rtl] body[data-kb-page=tanger] .hero .lead{margin-left:0;margin-right:0}
@media(max-width:700px){body[data-kb-page=tanger] .hero .shade{min-height:520px}body[data-kb-page=tanger] .hero h1{font-size:42px}}
