/* Keep appearance preference independent of stored CMS content and accounts. */
:root{--smr-theme-surface:#fff;--smr-theme-raised:#f5f7fa;--smr-theme-text:#172d43;--smr-theme-muted:#637183;--smr-theme-border:#dbe3ed;--smr-theme-link:#174d75;color-scheme:light}
:root[data-theme="dark"]{--bg:#0c1521;--surface:#142233;--text:#e8eef6;--text-muted:#afbecf;--border:#334458;--smr-theme-surface:#142233;--smr-theme-raised:#1b2b40;--smr-theme-text:#e8eef6;--smr-theme-muted:#afbecf;--smr-theme-border:#334458;--smr-theme-link:#91caff;color-scheme:dark}
html:not([data-theme="dark"]) .smr-inline-note{color:var(--smr-theme-muted)!important}
.smr-appearance{position:relative;flex:0 0 auto;color:#173851}
.smr-appearance-toggle{display:grid;place-items:center;width:36px;height:40px;padding:8px;border:0;border-radius:8px;background:transparent;color:inherit;cursor:pointer}
.smr-appearance-toggle svg{width:20px;height:20px;display:block}
.smr-appearance [hidden]{display:none!important}
.smr-appearance-toggle:hover{background:#8396ab20}
.smr-appearance :is(button):focus-visible{outline:3px solid #57a7f5;outline-offset:3px}
body:has(#hero-slider) #site-header:not(.scrolled) .smr-appearance{color:#fff}
.smr-appearance--mobile{display:none}
@media(max-width:992px){
 .smr-appearance--desktop{display:none}.smr-appearance--mobile{display:block}
 #site-header{padding-top:env(safe-area-inset-top)}
 #site-header .main-nav{margin-left:0!important;margin-right:0!important}
 #site-header .main-nav>.container{width:100%;max-width:none;padding-left:12px!important;padding-right:12px!important}
 #site-header .main-nav-inner{gap:8px!important}
 #site-header .site-logo{width:clamp(112px,calc(100vw - 210px),170px)!important;flex-shrink:1;min-width:0}
 #site-header .site-logo .header-logo-img{width:100%!important;max-width:100%!important}
 #site-header .mobile-header-actions{gap:4px!important;flex-shrink:0}
 .smr-appearance-toggle{width:36px;height:40px}
 .smr-appearance--mobile .smr-appearance-panel{position:fixed;top:calc(82px + env(safe-area-inset-top));right:12px;width:min(236px,calc(100vw - 24px))}
 body:has(#hero-slider){padding-top:0!important}
 #hero-slider{height:auto!important;min-height:0!important;max-height:none!important}
 #hero-slider .slider-container{display:grid;height:auto!important;min-height:0!important}
 #hero-slider .slider-slide{position:relative!important;inset:auto;grid-area:1/1;display:flex;flex-direction:column;height:auto!important;min-height:0!important}
 #hero-slider .slider-content{box-sizing:border-box;flex:1;height:auto!important;min-height:640px!important;padding-top:calc(124px + env(safe-area-inset-top))!important;padding-bottom:136px!important}
 #hero-slider .slider-text{padding:0 16px!important}
 #hero-slider .slider-text .subtitle{margin-bottom:18px!important;line-height:1.5!important}
 #hero-slider .slider-nav{bottom:112px!important}
}
:is(#menu-primary-menu,#menu-primary-menu-1) a[aria-current="page"]{background:#e3edf7!important;color:#123b63!important;border-radius:8px;box-shadow:inset 3px 0 #b33820}
/* Dark surfaces, not inverted photographs, flags, video or map tiles. */
html[data-theme="dark"] body{background:var(--bg);color:var(--text)}
html[data-theme="dark"] main{background:var(--bg);color:var(--text)}
html[data-theme="dark"] #hero-slider .slide-overlay{background:rgba(5,14,24,.68)}
html[data-theme="dark"] main>section:not(#hero-slider,.page-header,.cta-section){background:var(--bg)!important}
html[data-theme="dark"] :is(.clean-card,.smr-article,.news-card,.news-card__inner,.news-card__body,.directory-card,.camera-card,.smr-career-card,.smr-career-explorer,.career-sidebar-card,.career-single-main,.career-share-card,.smr-contact-note,.visi-card,.misi-card,.val-card,.timeline-card,.smr-gallery-grid figure,.tarif-plugin-wrapper,.tarif-info-section,.map-card-modern,.mobile-menu-container,.dropdown,.dropdown-menu,.mobile-lang-menu){background:var(--smr-theme-surface)!important;color:var(--text)!important;border-color:var(--border)!important}
/* The nearby directory sits directly on the page; only its controls/cards are raised. */
html[data-theme="dark"] .smr-article:has(.directory-places){background:transparent!important}
html[data-theme="dark"] :is(.smr-career-total,.smr-career-facts,.smr-career-detail,.smr-empty,.directory-gate-badge,.directory-phone,.rest-filter-btn,.smr-map-help,.smr-map-points,.smr-map-point){background:var(--smr-theme-raised)!important;color:var(--text)!important;border-color:var(--border)!important}
html[data-theme="dark"] main :is(h1,h2,h3,h4,p,li,dt,dd,.section-title,.section-subtitle,.meta-val,.meta-label,.directory-address,.directory-category,.directory-place-meta,.directory-estimate,.smr-career-total,.smr-career-field label,.tarif-info-text){color:var(--text)!important}
html[data-theme="dark"] main :is(a:not([class]),.smr-article p a,.news-card__title a,.news-card__read-more,.directory-action,.smr-career-filter-actions a){color:var(--smr-theme-link)!important}
html[data-theme="dark"] main p.smr-inline-note{background:var(--smr-theme-raised)!important;color:var(--smr-theme-muted)!important;border-color:var(--smr-theme-border)!important}
html[data-theme="dark"] .tarif-info-list>li{background:var(--smr-theme-surface)!important;border-color:var(--smr-theme-border)!important}
html[data-theme="dark"] .tarif-info-list>li:hover{background:var(--smr-theme-raised)!important;border-color:#91caff!important}
html[data-theme="dark"] .tarif-info-text strong{color:var(--smr-theme-text)!important}
html[data-theme="dark"] .tarif-info-phone{color:var(--smr-theme-link)!important;border-bottom-color:currentColor!important}
html[data-theme="dark"] .tarif-info-phone:hover{color:#c0e2ff!important}
.tarif-info-phone:focus-visible{outline:3px solid #57a7f5;outline-offset:4px}
/* A solid scrim keeps breadcrumb contrast independent of the cover photo. */
html[data-theme="dark"] .page-header .breadcrumbs{background:#142233;padding:8px 12px;border-radius:8px;width:fit-content;max-width:100%;margin-inline:auto;flex-wrap:wrap}
html[data-theme="dark"] .page-header .breadcrumbs :is(a,span){color:#e8eef6!important;opacity:1}
html[data-theme="dark"] .page-header .breadcrumbs a{text-decoration:underline;text-underline-offset:3px}
html[data-theme="dark"] .page-header .breadcrumbs a:hover{color:#91caff!important}
html[data-theme="dark"] .page-header .breadcrumbs a:focus-visible{outline:3px solid #91caff;outline-offset:3px}
html[data-theme="dark"] .smr-fact-grid strong{color:#ff9a83!important}
html[data-theme="dark"] :is(input,select,textarea){background:var(--smr-theme-raised)!important;color:var(--text)!important;border-color:var(--border)!important}
html[data-theme="dark"] :is(input,textarea)::placeholder{color:var(--smr-theme-muted);opacity:1}
html[data-theme="dark"] .mobile-lang-option{background:var(--smr-theme-raised)!important;color:var(--text)!important;border-color:var(--border)!important}
html[data-theme="dark"] :is(.smr-gallery-grid figcaption,.news-card__meta-item){color:var(--text)!important}
/* Match foregrounds with the Rest Area surfaces, including empty/detail states. */
html[data-theme="dark"] :is(.rest-area-archive-offer,.rest-area-no-results,.rest-area-pagination .nav-links,.rest-facility-stat-box,.rest-facility-note){background:var(--smr-theme-surface)!important;color:var(--text)!important;border-color:var(--border)!important}
html[data-theme="dark"] :is(.clean-facility-item,.rest-facility-detail-card,.count-badge){background:var(--smr-theme-raised)!important;color:var(--text)!important;border-color:var(--border)!important}
html[data-theme="dark"] :is(.facility-label,.rest-facility-stat-value,.rest-area-pagination .page-numbers){color:var(--text)!important}
html[data-theme="dark"] :is(.rest-area-archive-offer-note,.rest-facility-stat-label,.clean-empty-text){color:var(--smr-theme-muted)!important}
html[data-theme="dark"] .rest-area-offer-badge{background:#3b2530;border-color:#75414b;color:#ffc4ba}
html[data-theme="dark"] .rest-area-archive-offer .btn-rest-wa{background:#087f3a;color:#fff}
html[data-theme="dark"] :is(.rest-filter-btn.active,.rest-area-pagination .page-numbers.current){background:#a52a1c!important;color:#fff!important;border-color:#ff9a83!important}
html[data-theme="dark"] .rest-filter-btn i{color:inherit}
html[data-theme="dark"] :is(.mobile-menu-header,.mobile-menu-footer,.mobile-menu-close,.mobile-info-item){background:var(--smr-theme-surface)!important;color:var(--text)!important;border-color:var(--border)!important}
html[data-theme="dark"] .mobile-menu-header img{content:var(--smr-logo-on-dark,url('/smr-logo-white.svg'))}
html[data-theme="dark"] .mobile-menu-header .mobile-menu-logo{background:transparent!important;border-color:var(--border)!important}
html[data-theme="dark"] .mobile-menu-info{background:var(--smr-theme-raised)!important;color:var(--text)!important;border-color:var(--border)!important}
html[data-theme="dark"] :is(#menu-primary-menu,#menu-primary-menu-1) :is(.smr-menu-heading,.smr-menu-heading>a,.smr-submenu-toggle){color:var(--text)!important}
html[data-theme="dark"] :is(#menu-primary-menu,#menu-primary-menu-1) .smr-submenu{background:var(--smr-theme-surface)!important;color:var(--text)!important;border-color:var(--border)!important}
html[data-theme="dark"] :is(#menu-primary-menu,#menu-primary-menu-1) :is(.smr-menu-heading:hover,.smr-submenu-toggle:hover,.smr-submenu-toggle:focus-visible){background:var(--smr-theme-raised)!important}
html[data-theme="dark"] #menu-primary-menu-1>.menu-item-gtranslate{background:var(--smr-theme-surface)!important;border-color:var(--border)!important}
html[data-theme="dark"] #menu-primary-menu-1>.menu-item-gtranslate::before{color:var(--smr-theme-muted)!important}
html[data-theme="dark"] #menu-primary-menu-1>.menu-item-gtranslate>.sub-menu>li>a{background:var(--smr-theme-raised)!important;color:var(--text)!important;border-color:var(--border)!important}
html[data-theme="dark"] #menu-primary-menu-1>.menu-item-gtranslate>.sub-menu>li>a:hover{background:#25415f!important}
html[data-theme="dark"] #menu-primary-menu-1>.menu-item-gtranslate>.sub-menu>li>a[aria-current="true"]{background:#a83525!important;color:#fff!important}
html[data-theme="dark"] :is(.career-single-body,.profil-perusahaan-wrapper){background:var(--smr-theme-surface)!important;color:var(--text)!important}
html[data-theme="dark"] .career-fraud-alert{background:#3d2f19!important;border-color:#9b7a42!important}
html[data-theme="dark"] .career-fraud-alert,html[data-theme="dark"] .career-fraud-alert *{color:#ffe0a3!important}
html[data-theme="dark"] .btn-sidebar-back{background:var(--smr-theme-raised)!important;color:var(--text)!important;border-color:var(--border)!important}
html[data-theme="dark"] .map-legend-modern :is(.legend-label,.legend-symbol){color:var(--text)!important}
html[data-theme="dark"] :is(.legend-symbol.toll-gate,.legend-symbol.toll-gate i){color:#91caff!important}
html[data-theme="dark"] :is(.directory-tab:not(.is-active),.camera-stop){background:var(--smr-theme-raised);color:var(--text);border-color:var(--border)}
html[data-theme="dark"] .directory-places{--directory-ink:#e8eef6;--directory-muted:#afbecf;--directory-accent:#ff9a83}
html[data-theme="dark"] .directory-map{background:#a52a1c;color:#fff!important}
html[data-theme="dark"] .directory-category-badge{background:#142233;color:#ff9a83}
html[data-theme="dark"] .directory-tab.is-active{background:#a52a1c;border-color:#a52a1c}
html[data-theme="dark"] .directory-tab.is-active .directory-tab-count{color:#a52a1c}
html[data-theme="dark"] :is(.directory-description,.directory-card-actions,.directory-tabs,.smr-career-explorer-header,.smr-career-filter-actions){border-color:var(--border)!important}
html[data-theme="dark"] .smr-appearance{color:#e8eef6}
html[data-theme="dark"] #site-header.scrolled,html[data-theme="dark"] body:not(:has(#hero-slider)) #site-header{background:#142233!important;border-color:#334458!important}
html[data-theme="dark"] #site-header .logo-dark{opacity:0!important;visibility:hidden!important}
html[data-theme="dark"] #site-header .logo-white{opacity:1!important;visibility:visible!important}
html[data-theme="dark"] #site-header :is(.mobile-lang-current,.nav-menu>li>a,.dropdown a,.dropdown-menu a){color:#e8eef6!important}
html[data-theme="dark"] #site-header .mobile-menu-toggle span{background:#e8eef6!important}
html[data-theme="dark"] :is(.mobile-menu-nav a,.mobile-submenu-toggle,.mobile-menu-close){color:#e8eef6!important}
/* Touch browsers can retain :hover after a tap; never leave a light hover pill. */
html[data-theme="dark"] .mobile-nav-menu a:is(:hover,:focus-visible),html[data-theme="dark"] .mobile-nav-menu>.menu-item>.mobile-menu-item-wrapper:hover{background:var(--smr-theme-raised)!important;color:var(--text)!important}
html[data-theme="dark"] .mobile-nav-menu :is(.current-menu-item,.current_page_item)>:is(a,.mobile-menu-item-wrapper){background:#25415f!important;color:var(--text)!important}
html[data-theme="dark"] .mobile-nav-menu :is(.current-menu-item,.current_page_item)>.mobile-menu-item-wrapper::before{background:#ff9a83!important}
html[data-theme="dark"] :is(#menu-primary-menu,#menu-primary-menu-1) a[aria-current="page"]{background:#25415f!important;color:var(--text)!important;box-shadow:inset 3px 0 #ff9a83}
html[data-theme="dark"] .mobile-menu-logo{background:#fff;border-radius:8px;padding:8px}
html[data-theme="dark"] #peta :is(.map-legend-modern,.smr-map-caption){background:var(--smr-theme-surface);color:var(--text);border-color:var(--border)}
html[data-theme="dark"] #peta .smr-map-tools button:not(.is-active){background:var(--smr-theme-raised);color:var(--text);border-color:var(--border)}
html[data-theme="dark"] #smr-geographic-map :is(.smr-map-popup,.smr-map-popup p,.smr-map-popup strong){color:#173851!important}
html[data-theme="dark"] #smr-geographic-map .smr-map-popup a{color:#8f2818!important}
html[data-theme="dark"] #smr-geographic-map .leaflet-control-attribution a{color:#174664!important}
@media print{.smr-appearance{display:none!important}}
