/* Sourov Living Map Repair — sd-header.css (added 2026-12-11, v1.9.1)
 * 1. Header refresh: faded light-yellow background + Palatino type (requested by Sourov).
 * 2. Reading Mode: browser-reader-style control added to the #sd-textsize group;
 *    comfortable reading surface, hides decorative machine-lab sections.
 * Loads last (after design-2610.css) so it wins the cascade at equal specificity.
 */

/* ---------- 1. Header: faded light yellow + Palatino ---------- */
.site-header{
  background:rgba(250,243,214,.9) !important;
  color:#241d08 !important;
  border-bottom:1px solid rgba(122,104,47,.45);
  backdrop-filter:saturate(1.15) blur(6px);
  -webkit-backdrop-filter:saturate(1.15) blur(6px);
  font-family:Palatino,"Palatino Linotype","Book Antiqua","URW Palladio L",Georgia,serif;
}
.site-header .brand strong{color:#241d08}
.site-header .brand small{color:#6d5c26}
.site-header .brand-mark{
  border-color:#7a682f !important;
  color:#241d08 !important;
  background:transparent;
}
.site-header .nav-toggle{
  color:#241d08;
  border-color:#8a7840;
  background:#fffdf4;
}
.site-header .site-nav--header a,
.site-header .site-nav a{color:inherit}
.site-header .site-nav--header a:hover,
.site-header .site-nav--header a:focus-visible{color:#7a5c00}

/* Header controls on the light surface (A-/A/A+/A++ + Reading mode). */
.site-header .sd-textsize__btn{
  background:#fffdf4;
  color:#3d3312;
  border-color:#9a8a55;
}
.site-header .sd-textsize__btn:hover{background:#f1ead2}
.site-header .sd-textsize__btn[aria-pressed="true"]{
  background:#241d08;
  color:#f8f2d8;
  border-color:#241d08;
}
.site-header .sd-textsize__btn[data-sd-reading]{letter-spacing:.03em}

/* ---------- 2. Reading Mode (html.sd-reading) ---------- */
html.sd-reading body{background:#faf7ee}
html.sd-reading .map-hero,
html.sd-reading .latest-rail,
html.sd-reading .bird-window{display:none !important}
html.sd-reading .site-main{font-size:112.5%;line-height:1.75}
html.sd-reading .site-main p,
html.sd-reading .site-main li,
html.sd-reading .entry,
html.sd-reading .entry-content{line-height:1.8}
html.sd-reading .site-main h2,
html.sd-reading .site-main h3{font-family:Palatino,"Palatino Linotype","Book Antiqua",Georgia,serif}
html.sd-reading .section{max-width:48rem;margin-left:auto;margin-right:auto}
