/* Light appearance overrides; the original cinematic palette remains the dark default. */
.theme-switcher{position:relative;flex:none;margin-left:14px;z-index:100;align-self:center}
.theme-toggle{display:flex;align-items:center;gap:7px;background:#173b46;color:#fff;border:1px solid #48636b;border-radius:999px;padding:8px 12px;font:700 12px/1.2 'DM Sans',sans-serif;white-space:nowrap;cursor:pointer}
.theme-toggle:hover{border-color:#df8f55}.theme-menu{position:absolute;right:0;top:calc(100% + 9px);min-width:154px;padding:6px;background:#173b46;border:1px solid #50707a;border-radius:12px;box-shadow:0 15px 35px #001a2699}
.theme-menu[hidden]{display:none}.theme-menu button{display:block;width:100%;padding:11px 12px;text-align:left;border:0;border-radius:7px;background:transparent;color:#fff;font:700 13px 'DM Sans',sans-serif;cursor:pointer}
.theme-menu button:hover,.theme-menu button[aria-checked="true"]{background:#315763}
.theme-menu button[aria-checked="true"]:after{content:'✓';float:right;color:#ffca97}
header.top,header.header{display:flex;align-items:center}
@media(max-width:680px){.theme-switcher{margin-left:auto}.theme-toggle{padding:8px 10px}.theme-caption{display:none}.top nav,.header nav{gap:12px!important}}
html[data-theme="light"]{--bg:#f5f7f4;--panel:#fff;--panel2:#edf3ef;--text:#15343d;--muted:#526c73;--line:#d4e1dd;--accent:#ac5a25;color-scheme:light}
html[data-theme="light"] body{background:#f5f7f4!important;color:#15343d!important}
html[data-theme="light"] header.top,html[data-theme="light"] header.header,html[data-theme="light"] .top,html[data-theme="light"] .header{background:#f5f7f4!important;color:#173743!important}
html[data-theme="light"] .top a,html[data-theme="light"] .header a,html[data-theme="light"] .menu a{color:#173743}
html[data-theme="light"] .logo b,html[data-theme="light"] .logo em{color:#ac5a25}
html[data-theme="light"] .logo::before{background-image:url('./geziadresim-mark-light.svg')}
html[data-theme="light"] .theme-toggle{background:#fff;color:#183b45;border-color:#bdcec9}
html[data-theme="light"] .theme-menu{background:#fff;border-color:#ccdcd6;box-shadow:0 15px 35px #183c4833}
html[data-theme="light"] .theme-menu button{color:#173743}
html[data-theme="light"] .theme-menu button:hover,html[data-theme="light"] .theme-menu button[aria-checked="true"]{background:#e5f0eb}
html[data-theme="light"] .theme-menu button[aria-checked="true"]:after{color:#a75b27}
html[data-theme="light"] .breadcrumb,html[data-theme="light"] .footer,html[data-theme="light"] .updated,html[data-theme="light"] .preview-note{color:#5b7379}
html[data-theme="light"] .section,html[data-theme="light"] .atlas-panel,html[data-theme="light"] .guide-section,html[data-theme="light"] .ending,html[data-theme="light"] .footer{background:#f5f7f4!important;color:#173743!important}
html[data-theme="light"] .atlas-panel{background:#e8f0ed!important;border-color:#d1ded9}
html[data-theme="light"] .section h2,html[data-theme="light"] .section h3,html[data-theme="light"] .guide-grid h2,html[data-theme="light"] .ending h2,html[data-theme="light"] .atlas-panel .panel-title{color:#173743!important}
html[data-theme="light"] .section-lead,html[data-theme="light"] .panel-desc,html[data-theme="light"] .ending p,html[data-theme="light"] .guide-grid p,html[data-theme="light"] .country-status,html[data-theme="light"] .country-status strong{color:#526c73!important}
html[data-theme="light"] .card,html[data-theme="light"] .card-directory,html[data-theme="light"] .guide,html[data-theme="light"] .tile,html[data-theme="light"] .panel,html[data-theme="light"] .fact,html[data-theme="light"] .city-fact,html[data-theme="light"] .toc,html[data-theme="light"] .callout,html[data-theme="light"] .source-row,html[data-theme="light"] .notice,html[data-theme="light"] .food-list div,html[data-theme="light"] .route-step,html[data-theme="light"] details{background:#fff!important;border-color:#d2dfdb!important;color:#173743!important;box-shadow:0 5px 22px #183c4810}
html[data-theme="light"] .lead,html[data-theme="light"] .city-portrait-lead,html[data-theme="light"] .tile h3,html[data-theme="light"] .tile-body h3,html[data-theme="light"] .panel h3,html[data-theme="light"] .callout strong,html[data-theme="light"] .city-fact b{color:#183842!important}
html[data-theme="light"] .intro,html[data-theme="light"] .city-summary,html[data-theme="light"] .city-portrait-body p,html[data-theme="light"] .block p,html[data-theme="light"] .block ul,html[data-theme="light"] .tile-body p,html[data-theme="light"] .panel p,html[data-theme="light"] .guide small,html[data-theme="light"] .card-content p,html[data-theme="light"] .card-directory .directory-note,html[data-theme="light"] .source-row span,html[data-theme="light"] .food-list span,html[data-theme="light"] .route-step span,html[data-theme="light"] .toc a,html[data-theme="light"] .fact small{color:#546f76!important}
html[data-theme="light"] .card-content .go,html[data-theme="light"] .directory-link,html[data-theme="light"] .source{color:#a75929!important}
html[data-theme="light"] .toc a:hover{color:#a75929!important}
html[data-theme="light"] .hero:not(.city-hero),html[data-theme="light"] .city-hero{color:#fff}
html[data-theme="light"] .hero p,html[data-theme="light"] .city-hero p{color:#eef4f4}
html[data-theme="light"] .hero .eyebrow{color:#f2bb90}
html[data-theme="light"] .hero .search{color:#15343d}
html[data-theme="light"] .atlas-panel .continent b{color:#fff}
html[data-theme="light"] .guide-image .floating{background:#fff;color:#173743}
html[data-theme="light"] .place-photo-pending,html[data-theme="light"] .photo-empty{background:#e3ece9!important;color:#526a71!important}
html[data-theme="light"] .block,html[data-theme="light"] .footer{border-color:#d4e1dd!important}
html[data-theme="light"] .meta .pill,html[data-theme="light"] .flag-card{color:#fff}
html[data-theme="light"] .modal-content{background:#fff;color:#173743}
/* Country navigation stays readable and separated in the light theme. */
html[data-theme="light"] .section-pager a{background:#fff!important;color:#173b46!important;border-color:#c9d9d5!important;box-shadow:0 5px 18px #183c4812}
html[data-theme="light"] .section-pager a:hover,html[data-theme="light"] .section-pager a:focus-visible{background:#e7f0ec!important;color:#102f3a!important;border-color:#ac5a25!important}

/* City guides keep the logo and theme control together, with navigation below. */
@media (max-width: 600px) {
  body:has(.city-hero:not(.country-hero)) > header.top.shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "logo theme"
      "navigation navigation";
    height: auto;
    min-height: 70px;
    padding-block: 8px;
    gap: 4px 12px;
  }

  body:has(.city-hero:not(.country-hero)) > header.top.shell > .logo {
    grid-area: logo;
    justify-self: start;
  }

  body:has(.city-hero:not(.country-hero)) > header.top.shell > .theme-switcher {
    grid-area: theme;
    justify-self: end;
    margin-left: 0;
  }

  body:has(.city-hero:not(.country-hero)) > header.top.shell > nav {
    grid-area: navigation;
    flex-wrap: wrap;
    min-width: 0;
  }
}
