/*
Theme Name: Oichalia Municipal
Description: Municipal design for the existing Municipality of Oichalia WordPress site.
Version: 1.0.27
Author: Tasios Designs
Text Domain: oichalia-municipal
Requires at least: 6.4
Requires PHP: 7.4
*/
@font-face{font-family:Manrope;src:url(assets/manrope-greek.woff2) format("woff2");font-weight:400 800;font-display:swap;unicode-range:U+0370-03FF}
@font-face{font-family:Manrope;src:url(assets/manrope-latin.woff2) format("woff2");font-weight:400 800;font-display:swap}
:root{--ink:#17273a;--navy:#0c2241;--deep:#112d51;--muted:#435b75;--sage:#e1ebf7;--gold:#e4c384;--paper:#f5f8fc;--line:#d8e3f0;--white:#fff}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:95px}body{margin:0;background:var(--paper);color:var(--ink);font:500 16px/1.65 Manrope,Arial,sans-serif}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer}img{display:block;max-width:100%;height:auto}p,h1,h2,h3{margin:0}h1,h2,h3{text-wrap:balance;line-height:1.13;font-weight:800}h2{font-size:clamp(29px,4.2vw,47px);letter-spacing:-.043em}h3{font-size:22px;letter-spacing:-.022em}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #455981;outline-offset:4px}.ico{height:20px;width:20px;flex:none;vertical-align:middle}.wrap{width:min(1280px,calc(100% - 112px));margin-inline:auto}.skip{position:fixed;top:-100px;left:8px;z-index:10;padding:10px 16px;background:white}.skip:focus{top:8px}.utility{background:var(--navy);color:#e0e5f0;font-size:14px}.utility .wrap,.navrow{display:flex;align-items:center;justify-content:space-between;gap:20px}.utility .wrap{min-height:39px}.utility a,.utility span{display:inline-flex;align-items:center;gap:8px}.utility .ico{width:15px;height:15px}.utility-right{display:flex;gap:24px}.utility a:hover{text-decoration:underline}
.sitehead{background:#fff;position:sticky;top:0;z-index:5;box-shadow:0 1px 0 #08132c20}.navrow{height:82px}.brand{display:inline-flex;align-items:center;gap:12px;flex-shrink:0;line-height:1.18}.brand img{width:52px;height:52px}.brand strong{display:block;font-size:20px;font-weight:800;letter-spacing:-.04em}.brand small{display:block;font-size:14px;font-weight:600;color:var(--muted);margin-top:5px}.navlinks{display:flex;gap:26px;align-items:center;font-size:14px;font-weight:800}.navlinks a{position:relative;padding:15px 0;white-space:nowrap}.navlinks a:hover,.navlinks a[aria-current]{color:#245d9c}.navlinks a[aria-current]::after{content:"";position:absolute;height:2px;left:0;right:0;bottom:7px;background:#a78040}.head-actions{display:flex;gap:8px;align-items:center}.icon-btn{width:44px;height:44px;border:1px solid var(--line);border-radius:12px;background:white;color:var(--ink);display:grid;place-items:center}.icon-btn:hover{background:#eaf2fc}.menutoggle{display:none}
.hero{background:#131c2f;color:white;position:relative;isolation:isolate;overflow:hidden}.hero-media{position:absolute;inset:0 0 0 0;width:100%;height:100%;object-fit:cover;object-position:center 55%;z-index:-3}.hero::before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(7,14,31,.97) 0%,rgba(8,16,34,.90) 23%,rgba(9,18,37,.58) 53%,rgba(9,18,36,.09) 100%),linear-gradient(0deg,#0a1329a8,transparent 58%)}.hero-inner{min-height:535px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:64px 0 108px;position:relative}.overline{font-size:14px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;display:flex;align-items:center;gap:10px;color:#414d65}.overline:before{content:"";width:22px;height:2px;background:#b89650}.hero .overline,.dark .overline{color:#f1d49a}.hero h1{font-size:clamp(55px,7vw,107px);letter-spacing:-.074em;line-height:.98;margin:20px 0 26px}.hero h1 span{display:block;color:#f0d195}.hero p:not(.overline){font-size:clamp(17px,1.9vw,21px);line-height:1.55;max-width:510px;color:#e9eef4;text-wrap:pretty}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:27px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 17px;border-radius:8px;font-size:15px;font-weight:800;min-height:48px;border:1px solid transparent;transition:background .18s,color .18s,transform .18s}.button:hover{transform:translateY(-2px)}.button.gold{background:var(--gold);color:#161d2a}.button.gold:hover{background:#f4d7a4}.button.outline{color:#fff;border-color:#fff8;background:#0f192f55}.button.outline:hover{background:#232e47}.button.light{border-color:var(--line);background:white;color:var(--ink)}.button.light:hover{background:var(--sage)}.button.dark{background:var(--deep);color:#fff}.photo-label{position:absolute;right:0;bottom:75px;display:flex;align-items:center;gap:6px;color:#fff;background:#0f182ab8;border:1px solid #e7ecf54d;padding:5px 10px;border-radius:6px;font-size:14px}.photo-label .ico{width:16px;height:16px}
.shortcuts{display:grid;grid-template-columns:repeat(4,1fr);margin-top:-55px;position:relative;z-index:1;box-shadow:0 16px 38px #111f3c20;border-radius:16px;background:white;border:1px solid var(--line)}.quick{padding:21px 20px;min-height:104px;display:flex;align-items:center;gap:13px;border-right:1px solid var(--line);position:relative;transition:background .18s}.quick:first-child{border-radius:15px 0 0 15px}.quick:last-child{border-right:0;border-radius:0 15px 15px 0}.quick:hover{background:#eaf2fc}.tileicon{width:43px;height:43px;display:grid;place-items:center;background:#e5eaf3;color:#275586;border-radius:10px;flex:none}.tileicon .ico{width:22px;height:22px}.quick strong,.quick small{display:block;line-height:1.35}.quick strong{font-size:16px;font-weight:800}.quick small{font-size:14px;color:var(--muted);margin-top:4px}
.section{padding:76px 0}.heading{margin-bottom:26px}.heading .overline{margin-bottom:10px}.split-heading{display:flex;align-items:end;justify-content:space-between;gap:20px}.news-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,.87fr);gap:38px;align-items:start}.news-stack{border-top:1px solid var(--line)}.news-row{display:grid;grid-template-columns:112px minmax(0,1fr);gap:18px;align-items:center;padding:17px 0;border-bottom:1px solid var(--line)}.news-row img{width:112px;height:76px;object-fit:cover;border-radius:8px}.news-row :is(h3,.news-title){font-size:19px;margin-top:5px;line-height:1.32}.news-row a:hover :is(h3,.news-title){text-decoration:underline;text-underline-offset:4px}.meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 13px;font-size:14px;color:var(--muted)}.chip{background:#e4eaf2;color:#323d54;padding:2px 8px;border-radius:5px;font-weight:800}.notice{border-radius:16px;background:#e4e9f2;padding:26px;border:1px solid #d0dae9}.notice h2{font-size:25px;letter-spacing:-.03em}.notice a{display:flex;align-items:center;gap:11px;padding:15px 0;border-bottom:1px solid #b9c0cd;font-size:15px;font-weight:800}.notice a:last-child{border-bottom:0;padding-bottom:0}.notice a:hover{text-decoration:underline;text-underline-offset:4px}.notice .ico{color:#465570}
.place{background:#0f182f;color:white}.place .split-heading p:not(.overline){max-width:510px;color:#d8dfec;margin-top:12px}.photo-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:18px}.photo-card{min-height:290px;position:relative;isolation:isolate;overflow:hidden;border-radius:14px;display:flex;align-items:flex-end;padding:20px;color:white;background:#18243f}.photo-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .35s}.photo-card::before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#050f26ed,transparent 68%);z-index:-1}.photo-card:hover img{transform:scale(1.05)}.photo-card small{display:block;color:#f6da9d;font-size:14px;font-weight:800;margin-bottom:7px}.photo-card strong{display:block;font-size:23px;font-weight:800;line-height:1.17}
.subhero{padding:46px 0 54px;background:#e2e8f1}.crumb{font-size:14px;color:#3c475e;display:flex;align-items:center;gap:10px;margin-bottom:23px}.crumb a:hover{text-decoration:underline}.subhero h1{font-size:clamp(36px,6.2vw,70px);letter-spacing:-.06em;max-width:1030px}.subhero p:not(.crumb){margin-top:16px;color:#3a455b;max-width:710px;font-size:18px}.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.service-card{background:white;border:1px solid var(--line);border-radius:13px;padding:23px;min-height:178px;display:flex;flex-direction:column;gap:11px;transition:transform .18s,border-color .18s}.service-card:hover{border-color:#6d7c98;transform:translateY(-3px)}.service-card strong{font-size:20px;font-weight:800;line-height:1.25}.service-card small{font-size:15px;color:var(--muted)}.sub-section{margin-top:45px}.sub-section>h2{font-size:30px;margin-bottom:18px}.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:25px}.filter{border:1px solid var(--line);border-radius:100px;padding:8px 16px;background:#fff;color:var(--ink);font-size:14px;font-weight:800}.filter[aria-pressed=true]{background:var(--deep);color:#fff;border-color:var(--deep)}.news-row[hidden]{display:none}.prose{max-width:750px}.prose p{margin:0 0 16px}.prose h2{font-size:28px;margin:27px 0 13px}.feature-image{width:100%;max-height:430px;object-fit:cover;border-radius:14px;margin-bottom:27px}.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:28px;align-items:start}.contact-grid h2{font-size:28px;margin-bottom:18px}.info-lines{list-style:none;padding:0;margin:0}.info-lines li{border-bottom:1px solid var(--line);padding:10px 0}.info-lines li:last-child{border:0}.info-lines a{text-decoration:underline;text-underline-offset:3px}.formbox{border:1px solid var(--line);border-radius:14px;background:white;padding:25px}.formbox label{font-size:15px;font-weight:800;display:block;margin:10px 0 4px}.formbox input,.formbox textarea,.searchinput{display:block;width:100%;padding:11px 12px;border:1px solid #adb4c0;border-radius:8px;background:#fff;color:var(--ink)}.formbox button{margin-top:14px}.formbox p{font-size:14px;color:var(--muted);margin-top:9px}.formbox textarea{min-height:130px;resize:vertical}
dialog{border:1px solid var(--line);border-radius:16px;padding:25px;width:min(620px,calc(100% - 28px));color:var(--ink);max-height:85dvh}dialog::backdrop{background:#08132caa}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}.dialog-head h2{font-size:25px}.results{padding:0;margin:12px 0 0;list-style:none}.results a{display:block;border-bottom:1px solid var(--line);padding:10px 0}.results a:hover{text-decoration:underline}
@media(max-width:1150px){.wrap{width:calc(100% - 64px)}.navlinks{gap:17px}.quick{padding:17px 13px;gap:9px}.quick strong{font-size:15px}.brand strong{font-size:18px}}
@media(max-width:1120px){.navlinks{display:none}.menutoggle{display:grid}.navrow{height:72px}.hero-inner{min-height:495px}.shortcuts{grid-template-columns:repeat(2,1fr)}.quick{min-height:85px;padding:15px}.quick:nth-child(2){border-right:0;border-radius:0 15px 0 0}.quick:nth-child(-n+2){border-bottom:1px solid var(--line)}.quick:first-child{border-radius:15px 0 0 0}.quick:nth-child(3){border-radius:0 0 0 15px}.quick:last-child{border-radius:0 0 15px 0}.news-layout{gap:24px}.section{padding:58px 0}}
@media(max-width:650px){.wrap{width:calc(100% - 36px)}.utility .wrap{min-height:35px;gap:7px}.utility-right{gap:0}.utility .contacttop{display:none}.brand img{width:46px;height:46px}.brand strong{font-size:17px}.brand small{margin-top:3px}.navrow{height:66px;gap:10px}.head-actions{gap:6px}.icon-btn{width:42px;height:42px}.hero-inner{min-height:495px;padding:61px 0 100px}.hero-media{object-position:61% 57%}.hero::before{background:linear-gradient(90deg,#091125e8,#0a152c70),linear-gradient(0deg,#0a1329ab,transparent 74%)}.hero h1{font-size:clamp(50px,13vw,73px);margin:18px 0 19px}.hero p:not(.overline){font-size:17px}.actions{margin-top:20px;gap:8px}.actions .button{padding-inline:11px;font-size:14px}.photo-label{bottom:59px;font-size:14px}.shortcuts{margin-top:-44px}.quick{align-items:flex-start;flex-direction:column;padding:12px;gap:7px;min-height:113px}.tileicon{width:34px;height:34px}.tileicon .ico{width:19px;height:19px}.quick small{margin-top:3px}.split-heading{align-items:flex-start;flex-direction:column;gap:14px}.news-layout,.photo-grid,.card-grid,.contact-grid{grid-template-columns:1fr}.news-layout{gap:28px}.news-row{grid-template-columns:77px minmax(0,1fr);gap:12px}.news-row img{width:77px;height:66px}.news-row :is(h3,.news-title){font-size:17px}.photo-card{min-height:220px}.photo-grid{gap:12px}.section{padding:47px 0}.subhero{padding:34px 0 38px}.card-grid{gap:12px}.service-card{min-height:145px}}
@media(max-width:350px){.utility .ico{display:none}.brand{gap:6px}.brand img{width:40px;height:40px}.wrap{width:calc(100% - 28px)}.hero h1{font-size:47px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:650px){.sitehead .brand{min-width:0;flex-shrink:1}.sitehead .brand img,.head-actions{flex-shrink:0}.sitehead .brand small{line-height:1.15}.sitehead .brand strong{letter-spacing:-.03em}}

.mega-item{display:flex;align-items:center;min-height:82px}
.mega-trigger{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:12px 0;border:0;background:transparent;color:inherit;font-weight:800;text-align:left;white-space:nowrap;position:relative}
.nav-chevron{width:15px;height:15px;flex:none;transition:transform .18s}
.mega-trigger[aria-expanded=true] .nav-chevron{transform:rotate(180deg)}
.mega-trigger:hover,.mega-trigger[aria-expanded=true],.mega-trigger[data-current=true]{color:#245d9c}
.navlinks .mega-trigger[data-current=true]::after{content:"";position:absolute;height:2px;left:0;right:0;bottom:4px;background:#a78040}
.mega-panel[hidden]{display:none}
.navlinks .mega-panel{position:absolute;top:100%;left:0;width:100%;background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);box-shadow:0 20px 34px #0c224126}
.mega-inner{width:min(1020px,calc(100% - 112px));margin:auto;display:flex;gap:30px;padding:25px 0 27px;align-items:start}
.mega-column{flex:1;min-width:0}
.mega-label{color:#275586;font-size:14px;font-weight:800;margin:0 0 7px;padding:0 9px}
.mega-column ul{list-style:none;padding:0;margin:0}
.navlinks .mega-column a,.mobile-nav .mega-column a{display:block;white-space:normal;padding:8px 9px;border-radius:7px;font-size:15px;font-weight:750;line-height:1.4;border:0}
.navlinks .mega-column a:hover,.mobile-nav .mega-column a:hover{background:#e5eaf3}
.navlinks .mega-column a[aria-current]::after{display:none}
.navlinks .mega-feature{display:block;white-space:normal;padding:0;width:min(28%,230px);background:#ebeff5;border-radius:9px;overflow:hidden}
.mega-feature img{width:100%;height:auto;aspect-ratio:3;object-fit:cover}
.mega-feature span{display:block;padding:9px 12px;line-height:1.35}
@media(min-width:1121px) and (max-width:1190px){.navlinks{gap:12px}.navrow{gap:12px}.mega-inner{width:calc(100% - 64px)}}
/* Home masthead and municipal map */
.sitehead-overlay{margin-bottom:-82px;transition:background .22s,color .22s,box-shadow .22s}
.sitehead-overlay:not(.is-scrolled):not(:has(.navlinks .mega-trigger[aria-expanded=true])){background:transparent;color:#fff;box-shadow:none}
.sitehead-overlay:not(.is-scrolled):not(:has(.navlinks .mega-trigger[aria-expanded=true])) .navrow{border-bottom:1px solid #ffffff3d}
.sitehead-overlay:not(.is-scrolled):not(:has(.navlinks .mega-trigger[aria-expanded=true])) :is(.brand small,.navlinks a[aria-current],.navlinks a:hover,.mega-trigger:hover){color:#f3d9a8}
.sitehead-overlay:not(.is-scrolled):not(:has(.navlinks .mega-trigger[aria-expanded=true])) .icon-btn{background:#0f192f5c;color:#fff;border-color:#ffffff75}
.sitehead-overlay:not(.is-scrolled):not(:has(.navlinks .mega-trigger[aria-expanded=true])) .icon-btn:hover{background:#111e3b}
.hero-mapped{background:#111a2d}
.hero-mapped .hero-media{object-position:center 60%;filter:saturate(.91)}
.hero-mapped::before{background:linear-gradient(180deg,#060e1ec2 0%,transparent 24%,transparent 64%,#070f20cc 100%),linear-gradient(90deg,#071128f5 0%,#081229ca 33%,#0f192e44 69%,#0a142a4d)}
.hero-mapped .hero-inner{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(365px,.84fr);align-items:center;gap:clamp(24px,6.2vw,96px);min-height:0;padding:132px 0 100px}
.hero-mapped .hero-copy{padding:10px 0}
.hero-mapped h1{font-size:clamp(59px,7vw,107px);margin:18px 0 22px}
.hero-mapped .actions{margin-top:24px}
.hero-mapped p.hero-caption:not(.overline){display:flex;align-items:center;gap:7px;margin-top:27px;color:#d6deeb;font-size:14px}
.hero-caption .ico{width:17px;height:17px;color:#eed191}
/* Keep the map legible directly over the hero photo. */
.hero-map {
  width: 100%;
  max-width: 550px;
  min-width: 0;
  justify-self: end;
  color: #eaf1f9;
}
.map-surface {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: clip;
}
.map-figure {
  position: relative;
  width: 118%;
  max-width: 660px;
  aspect-ratio: 8 / 5;
  filter: drop-shadow(0 4px 10px #071128a8);
}
.map-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}
.map-switch {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  min-width: 0;
}
.map-switch button, .map-more {
  border: 1px solid #d6e3f680;
  background: #101d35db;
  color: #f0f5ff;
}
.map-switch button {
  border-radius: 20px;
  padding: 5px 9px;
  min-height: 34px;
  font-size: 14px;
  line-height: 1.22;
  font-weight: 800;
}
.map-switch button:hover, .map-switch button[aria-pressed=true] {
  color: #0f182b;
  background: #e8c982;
  border-color: #e8c982;
}
.map-more {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: #fae3aa;
}
.map-more:hover { background: #263d64; }
.map-info {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.map-weather {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  align-items: baseline;
  margin-top: 10px;
  color: #e1eaf7;
  font-size: 13px;
  text-shadow: 0 1px 5px #071128, 0 1px 3px #071128;
}
.map-weather[hidden] { display: none; }
.map-weather strong { color: #fff3d4; font-weight: 800; }

.contact-side { display: grid; gap: 20px; min-width: 0; align-content: start; }
.contact-side .notice { align-self: start; }
.contact-side .actions .button { padding-inline: 14px; }
.contact-map {
  overflow: hidden;
  border: 1px solid #d5deeb;
  border-radius: 16px;
  background: #fff;
}
.contact-map iframe { display: block; width: 100%; height: 245px; border: 0; background: #e2e8f1; }
.contact-map-info { padding: 16px 21px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.contact-map-info h2 { font-size: 1.05rem; margin: 0; }
.contact-map-info .button { min-height: 44px; padding: 8px 13px; }

.directory-hero { background: linear-gradient(112deg, #e1e9f4, #eff4fa 70%, #e7eef8); }
.directory-hero-inner { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.directory-hero-inner p { margin-bottom: 0; }
.directory-switchboard {
  display: inline-flex; gap: 14px; align-items: center; padding: 14px 22px;
  background: #152b4c; color: #fff; border-radius: 13px;
  box-shadow: 0 7px 22px #172f541c;
}
.directory-switchboard:hover { background: #203d65; }
.directory-switchboard .ico { color: #edcc8c; width: 23px; height: 23px; }
.directory-switchboard small { display: block; font-size: .875rem; color: #e0e9f4; }
.directory-switchboard strong { font-size: 1.26rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.directory-list { padding-block: 34px 65px; }
.directory-tools {
  display: grid; gap: 16px; padding: 19px 22px; background: #fff;
  border: 1px solid #d5deeb; border-radius: 14px; margin-bottom: 34px;
}
.directory-search label { display: block; font-weight: 800; margin-bottom: 6px; }
.directory-search input {
  width: min(100%, 570px); font: inherit; color: inherit; min-height: 48px;
  padding: 8px 12px; border-radius: 8px; border: 1px solid #aebbd0; background: #f7f9fc;
}
.directory-jumps { display: flex; flex-wrap: wrap; gap: 7px; }
.directory-jumps button {
  min-height: 41px; padding: 6px 12px; cursor: pointer; font: inherit; font-size: .875rem;
  font-weight: 750; color: #18395f; background: #edf2f9; border: 1px solid #d7e1ef; border-radius: 7px;
}
.directory-jumps button:hover { background: #dce8f6; }
.directory-group + .directory-group { margin-top: 37px; }
.directory-group h2 {
  margin: 0 0 14px; padding: 0 0 9px; border-bottom: 1px solid #cdd9e9;
  scroll-margin-top: 105px; font-size: clamp(1.37rem, 3vw, 1.8rem);
}
.directory-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.directory-card { border: 1px solid #d5deeb; border-radius: 12px; background: #fff; min-width: 0; overflow: hidden; }
.directory-card h3 {
  padding: 13px 15px; margin: 0; background: #e7eef8; color: #152e50; font-size: 1.05rem;
}
.directory-card ul { list-style: none; margin: 0; padding: 0 15px; }
.directory-card li { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 9px; row-gap: 3px; padding: 9px 0; }
.directory-card li + li { border-top: 1px solid #e5ebf4; }
.directory-name { overflow-wrap: anywhere; }
.directory-number, .directory-unverified { font-variant-numeric: tabular-nums; font-weight: 800; white-space: nowrap; }
.directory-number { color: #1d4777; padding: 8px 9px; border-radius: 6px; background: #eff4fa; }
.directory-number:hover { background: #dbe8f6; }
.directory-email { grid-column: 1 / -1; color: #254c77; font-size: .875rem; overflow-wrap: anywhere; width: fit-content; }
.directory-unverified small { display: block; font-size: .75rem; font-weight: 600; white-space: normal; }
.directory-source { margin: 25px 0 0; font-size: .9rem; color: #254c77; }
.directory-list [hidden] { display: none; }
@media (max-width: 520px) {
  .directory-tools { padding: 14px; margin-bottom: 25px; }
  .contact-map-info { padding: 14px; }
}

.townhall-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #d5deeb;
  border-radius: 17px;
  box-shadow: 0 9px 28px #1934560d;
}
.townhall-head {
  display: flex; align-items: center; gap: 15px; padding: 20px 24px;
  background: linear-gradient(125deg, #11233f, #214469); color: #fff;
  border-bottom: 3px solid #d6b877;
}
.townhall-seal { display: grid; place-items: center; flex: 0 0 59px; }
.townhall-seal img { border-radius: 50%; display: block; width: 100%; height: auto; }
.townhall-head h2 { margin: 3px 0 0; font-size: clamp(1.34rem, 3vw, 1.8rem); line-height: 1.12; }
.townhall-head p { margin: 0; color: #f0d9a8; font-size: .875rem; font-weight: 750; }
.townhall-details { margin: 0; padding: 8px 24px; }
.townhall-row { display: flex; align-items: center; gap: 13px; padding: 9px 0; min-height: 62px; }
.townhall-row + .townhall-row { border-top: 1px solid #e6ecf5; }
.townhall-icon {
  display: grid; place-items: center; flex: 0 0 39px; height: 39px;
  border-radius: 9px; color: #244e7a; background: #ebf1f8;
}
.townhall-details dt { font-weight: 750; font-size: .875rem; color: #435773; }
.townhall-details dd { margin: 2px 0 0; font-size: .98rem; line-height: 1.35; overflow-wrap: anywhere; }
.townhall-details dd a { color: #193b62; font-weight: 750; }
.townhall-directory {
  display: flex; align-items: center; gap: 9px; width: fit-content; max-width: 100%;
  margin: 4px 24px 20px; padding: 10px 12px; min-height: 44px;
  color: #173c66; background: #edf3fa; border: 1px solid #dce5f1;
  border-radius: 8px; font-size: .9rem; font-weight: 800;
}
.townhall-directory:hover { background: #dce9f8; }
.contact-map-placeholder {
  display: grid; justify-items: center; align-content: center; gap: 6px;
  min-height: 245px; padding: 18px; text-align: center;
  background: linear-gradient(150deg, #f1f5fb, #e1eaf6);
}
.contact-map-placeholder p { margin: 0; max-width: 35ch; color: #344a67; font-size: .9rem; }
.contact-map-placeholder button { margin-top: 4px; }
.contact-map [hidden], .privacy-footer [hidden], .policy-layout [hidden], .consent-banner[hidden] { display: none; }

.privacy-footer { display: flex; flex-wrap: wrap; gap: 2px 20px; margin-top: 22px; align-items: center; }
.privacy-footer a, .privacy-footer button { display: inline-flex; align-items: center; min-height: 42px; font-size: .9rem; color: #deebfa; }
.policy-layout { padding-block: 36px 62px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .34fr); gap: 22px; align-items: start; }
.policy-layout article, .policy-links { border-radius: 13px; background: #fff; border: 1px solid #d5deeb; padding: clamp(18px, 3vw, 33px); }
.policy-links { display: grid; gap: 8px; }
.policy-links h2 { font-size: 1rem; margin: 0; }
.policy-links button { justify-self: start; }
.policy-section h2 { color: #172f54; margin: 0 0 8px; font-size: 1.37rem; }
.policy-section p { margin: 0 0 10px; max-width: 74ch; }
.policy-section > :last-child { margin-bottom: 0; }
.policy-section + .policy-section { border-top: 1px solid #dfe7f3; margin-top: 22px; padding-top: 20px; }
.policy-layout a { color: #224d80; text-decoration: underline; text-underline-offset: .15em; overflow-wrap: anywhere; }
.policy-layout a:hover { text-decoration: none; }

.consent-banner {
  position: fixed; z-index: 45; bottom: max(16px, env(safe-area-inset-bottom)); inset-inline: 16px;
  max-width: 1060px; margin-inline: auto; padding: 18px 22px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 15px 26px;
  background: #fff; color: #142a47; border: 1px solid #cbd9eb; border-radius: 15px;
  box-shadow: 0 12px 42px #111f3d37;
}
.consent-copy { display: flex; align-items: flex-start; gap: 13px; }
.consent-icon {
  width: 40px; height: 40px; display: grid; place-items: center;
  flex: 0 0 40px; background: #e8eff9; color: #25517c; border-radius: 10px;
}
.consent-copy h2 { font-size: 1.09rem; margin: 0 0 3px; }
.consent-copy p, .consent-dialog p { margin: 0; font-size: .9rem; color: #354e6e; }
.consent-copy a { color: #245289; display: inline-flex; align-items: center; min-height: 35px; font-size: .875rem; font-weight: 750; }
.consent-actions, .consent-dialog-actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.consent-actions .consent-link { margin-inline: 3px; }
.consent-choice, .consent-save, .consent-link { font: inherit; font-size: .875rem; font-weight: 800; cursor: pointer; min-height: 44px; }
.consent-choice, .consent-save {
  color: #12355c; background: #eef4fa; border: 1px solid #cbd9e9; border-radius: 8px; padding: 8px 12px;
}
.consent-choice:hover, .consent-save:hover { background: #dbe8f6; }
.consent-link { background: none; border: 0; padding: 0; color: inherit; }
.consent-link:hover { color: #28619b; }
.privacy-footer .consent-link:hover { color: #f4d893; }
dialog.consent-dialog {
  width: min(91vw, 555px); max-height: 85dvh; padding: 22px;
  background: #fff; color: #142a47; border: 1px solid #d5deeb; border-radius: 15px;
}
.consent-dialog::backdrop { background: #0c193c9c; }
.consent-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.consent-dialog-head h2 { margin: 0; font-size: 1.35rem; }
.consent-dialog-head button { font-size: 1.5rem; }
.consent-option {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid #d5deeb; background: #f5f8fc; border-radius: 8px; padding: 12px; margin-top: 10px;
}
.consent-option h3, .consent-option strong { font-size: .95rem; margin: 0 0 2px; }
.consent-switch { cursor: pointer; }
.consent-switch span span { display: block; font-size: .9rem; color: #354e6e; }
.consent-switch input { width: 23px; height: 23px; flex: 0 0 23px; accent-color: #244f7b; }
.consent-required { font-size: .8rem; color: #244b75; font-weight: 750; text-align: right; }
.consent-dialog-actions { margin-top: 14px; }
@media (max-width: 900px) {
  .consent-banner { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
@media (max-width: 620px) {
  .townhall-head, .townhall-details { padding-inline: 16px; }
  .townhall-directory { margin-inline: 16px; }
  .policy-layout { grid-template-columns: minmax(0, 1fr); }
  .consent-banner { inset-inline: 10px; bottom: max(10px, env(safe-area-inset-bottom)); padding: 12px; }
  .consent-copy .consent-icon { display: none; }
  .consent-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  .consent-actions .consent-link { grid-column: 1 / -1; }
}
.footer-data-sources summary { cursor: pointer; }
.footer-data-sources p { margin: 4px 0 0; }
@media (max-width: 740px) {
  .hero-map {
    justify-self: center;
    max-width: 420px;
  }
}
@media (max-width: 420px) {
  .map-controls { gap: 6px; }
  .map-switch { gap: 4px; }
  .map-switch button { padding-inline: 7px; }
}
.region-outline{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.area-fill{fill:url(#regional-fill);stroke:#a2b3cc;stroke-width:1.45;stroke-linejoin:round}
.area-shadow{fill:none;stroke:#889aba;opacity:.13;stroke-width:13;stroke-linejoin:round}
.region-pin{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);width:29px;height:29px;border:0;border-radius:50%;background:transparent;padding:0;display:grid;place-items:center;color:#fff}
.pin-dot{display:block;width:11px;height:11px;background:#e7eff7;border:2px solid #213359;border-radius:50%;box-shadow:0 0 0 3px #e7eff74b;transition:box-shadow .16s,background .16s}
.region-pin[aria-pressed=true] .pin-dot,.region-pin:hover .pin-dot,.region-pin:focus-visible .pin-dot{background:#f2ca7e;box-shadow:0 0 0 5px #f2ca7e65;border-color:#182236}
.pin-label{position:absolute;left:24px;top:50%;transform:translateY(-50%);color:#fff;font-size:14px;font-weight:800;line-height:1.2;white-space:nowrap;pointer-events:none;text-shadow:0 1px 5px #071025,0 1px 4px #071025}
.region-pin.left .pin-label{left:auto;right:24px}
.region-pin[aria-pressed=true] .pin-label{color:#ffe2a3}

/* Navigation panels */
.navlinks .mega-panel{width:min(1320px,calc(100% - 46px));left:50%;transform:translateX(-50%);border:1px solid #dae2ed;border-top:3px solid #d6b578;border-radius:0 0 22px 22px;box-shadow:0 24px 64px #0711294d;max-height:calc(100dvh - 105px);overflow:auto;color:var(--ink)}
.navlinks .mega-inner{width:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(220px,.9fr);gap:clamp(20px,2.4vw,36px);padding:clamp(22px,2.5vw,36px)}
.navlinks .mega-column{padding:4px 0 0}
.navlinks .mega-column + .mega-column{border-left:1px solid #e3e9f1;padding-left:13px}
.mega-label{color:#485368;letter-spacing:.07em;margin-bottom:9px;font-size:14px}
.navlinks .mega-column a,.mobile-nav .mega-column a{display:flex;align-items:center;gap:9px;min-height:51px;padding:6px 9px;border-radius:9px}
.mega-link-icon{width:37px;height:37px;border-radius:10px;display:grid;place-items:center;background:#e3e9f2;color:#303f5c;flex:none}
.mega-link-icon .ico{width:18px;height:18px}
.mega-link-name{flex:1}
.mega-column a>.ico{width:15px;height:15px;color:#515d74;opacity:.75}
.navlinks .mega-feature{width:auto;border:1px solid #d8dfec;border-radius:12px;box-shadow:0 4px 13px #1621380d;align-self:stretch}
.navlinks .mega-feature img{height:150px;aspect-ratio:auto}
.mega-feature-art{height:150px;background:radial-gradient(circle at 75% 15%,#35486e,transparent 47%),repeating-linear-gradient(130deg,#ffffff06,#ffffff06 1px,transparent 1px,transparent 10px),#16233e;color:#efd39a}
.navlinks .mega-feature .mega-feature-art{display:grid;place-items:center;padding:0}
.mega-feature .mega-feature-art .ico{width:46px;height:46px}
.navlinks .mega-feature .mega-feature-copy{padding:13px 16px 17px}
.mega-feature-copy small,.mega-feature-copy strong{display:block}
.mega-feature-copy small{color:#3e4b63;font-size:14px;margin-bottom:4px}
.mega-feature-copy strong{font-size:18px;color:#141d2f;line-height:1.22}
.navlinks .mega-feature:hover{background:#e0e6f0;border-color:#c3cbd8}

@media(max-width:1120px){
 .sitehead-overlay{margin-bottom:-72px}
 .hero-mapped .hero-inner{gap:23px;grid-template-columns:minmax(0,1fr) minmax(300px,.98fr);padding-top:109px}
 .hero-mapped h1{font-size:clamp(54px,8.5vw,81px)}
}
@media(max-width:740px){
 .hero-mapped .hero-inner{grid-template-columns:1fr;gap:20px;padding-bottom:73px}
 .hero-mapped .hero-media{object-position:center 15%}
 .hero-mapped::before{background:linear-gradient(180deg,#061025d6 0%,#0f192f87 33%,#091226ea 87%),linear-gradient(90deg,#07122a85,transparent)}
}
@media(max-width:650px){
 .sitehead-overlay{margin-bottom:-66px}
 .hero-mapped .hero-inner{padding-top:93px}
 .hero-mapped h1{font-size:clamp(53px,14vw,76px)}
 .hero-mapped p.hero-caption:not(.overline){margin-top:18px}
 .pin-label{display:none}
}
@media(prefers-reduced-motion:reduce){.sitehead-overlay,.pin-dot{transition:none}}

/* Home hero and map framing */
.hero-mapped .hero-media{object-position:center 58%;filter:saturate(1.02)}
.hero-mapped::before{background:linear-gradient(180deg,#060e1edc 0%,#121b2d29 32%,#0f192c1a 51%,#060e20d4 100%),linear-gradient(90deg,#050d20e8 0%,#091329ad 38%,#242f4216 68%,#141f384a)}
.hero-mapped::after{content:"";position:absolute;inset:auto 0 0;height:1px;background:#d3b07580;z-index:-1}
.hero-mapped .hero-inner{gap:clamp(35px,8vw,130px);min-height:715px;padding-top:137px;padding-bottom:102px;grid-template-columns:minmax(0,1.14fr) minmax(350px,.86fr)}
.hero-mapped .hero-copy{align-self:center}
.hero-mapped .hero-copy .overline{gap:11px;font-size:14px;letter-spacing:.18em}
.hero-mapped .hero-copy .overline:before{width:32px;background:#f0d195}
.hero-mapped h1{font-size:clamp(65px,8vw,120px);line-height:.96;letter-spacing:-.08em;margin:19px 0 24px;text-shadow:0 6px 36px #060e1f52}
.hero-mapped h1 span{color:#f3d396}
.hero-mapped .hero-copy>p:not(.overline):not(.hero-caption){max-width:510px;color:#e8eef5;font-size:clamp(17px,1.54vw,22px);line-height:1.55}
.hero-mapped .hero-copy .actions{gap:11px;margin-top:27px}
.hero-mapped .hero-copy .actions .button{border-radius:11px;min-height:52px;padding-inline:16px}
.hero-mapped .hero-copy .actions .outline{background:#16213763;border-color:#edf3f988}
.hero-mapped .hero-copy .actions .outline:hover{background:#232f46}
.hero-mapped p.hero-caption:not(.overline){color:#dce3ee;font-size:14px;letter-spacing:.02em;margin-top:28px}
.shortcuts{box-shadow:0 21px 45px #13213c26}

/* Municipal footer */
.foot{position:relative;overflow:hidden;padding:62px 0 0;color:#d9e0ec;background:radial-gradient(ellipse at 86% 100%,#1c2946 0%,transparent 42%),linear-gradient(155deg,#162139,#091125 64%,#0a142a)}
.footer-banner{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(230px,1fr);margin:0 0 43px;border:1px solid #a7b4cc4e;border-radius:19px;overflow:hidden;background:radial-gradient(ellipse at 10% 12%,#384764,#182849 62%,#131f37);box-shadow:0 24px 48px #060d1c66;isolation:isolate}
.footer-banner-copy{align-self:center;padding:clamp(22px,4vw,47px)}
.footer-banner h2{color:#fff7e2;font-size:clamp(31px,4.2vw,55px);max-width:570px;letter-spacing:-.048em}
.footer-banner p{max-width:410px;color:#dee6f0;margin-top:12px}
.footer-banner .actions{margin-top:22px}
.footer-photo{position:relative;display:grid;align-items:end;min-height:240px;margin:0;padding:16px;isolation:isolate}
.footer-photo img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center 53%;z-index:-2}
.footer-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#0f1728d1,transparent 58%),linear-gradient(90deg,#182643a3,transparent 26%);z-index:-1}
.footer-photo figcaption{justify-self:end;display:inline-flex;align-items:center;gap:6px;border:1px solid #fffbdb43;padding:5px 8px;border-radius:7px;background:#111d36e3;color:#fff4d6;font-size:14px;line-height:1.4}
.footer-photo figcaption .ico{width:16px;height:16px}
.foot-grid{display:grid;grid-template-columns:1.18fr .85fr 1fr 1.05fr;gap:clamp(17px,3vw,49px)}
.foot-grid h2{font-size:17px;color:#f5d69c;letter-spacing:0;margin:3px 0 13px}
.foot-grid ul{list-style:none;padding:0;margin:0}
.foot-grid li{margin-top:8px;font-size:15px;line-height:1.5}
.foot-grid a:hover,.legal a:hover{text-decoration:underline;text-underline-offset:4px}
.footer-identity .brand{align-items:flex-start}
.footer-identity .brand img{width:62px;height:62px;flex:none}
.footer-identity .brand strong{font-size:22px;color:#fffdf1}
.footer-identity .brand small{color:#d5ddeb;line-height:1.4}
.footer-contact li{display:flex;align-items:flex-start;gap:8px;overflow-wrap:anywhere}
.footer-contact li .ico{width:17px;height:17px;margin-top:3px;color:#efd095}
.legal{margin-top:39px;border-top:1px solid #b2bdcd3d;padding:15px 0;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:center;font-size:14px}
.back-to-top {
  position: fixed; z-index: 31; right: max(22px, env(safe-area-inset-right)); bottom: max(62px, env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 49px; height: 49px; border-radius: 50%;
  background: #e6ca90; color: #172945; border: 1px solid #f4dfb2; box-shadow: 0 5px 22px #111f3d54;
}
.back-to-top:hover { background: #f3ddae; }
.back-to-top .ico { width: 22px; height: 22px; }
.back-to-top[hidden] { display: none; }
body:has(.consent-banner:not([hidden])) .back-to-top { bottom: max(155px, env(safe-area-inset-bottom)); }

.about-intro { padding-bottom: 30px; }
.about-heading { max-width: 760px; margin-bottom: 22px; }
.about-heading h2 { margin: 0 0 7px; color: #172f54; font-size: clamp(1.63rem, 3.8vw, 2.45rem); line-height: 1.17; }
.about-heading p { color: #435773; margin: 0; }
.about-heading a { color: #244e7a; font-weight: 750; }
.about-story { background: #fff; border: 1px solid #d5deeb; border-radius: 16px; }
.about-chapter { padding: clamp(18px, 3.3vw, 32px); }
.about-chapter + .about-chapter { border-top: 1px solid #e0e8f4; }
.about-chapter h3 { margin: 0 0 9px; color: #1d416b; font-size: clamp(1.12rem, 2.4vw, 1.42rem); }
.about-chapter p { max-width: 94ch; margin: 0 0 12px; }
.about-chapter p:last-child { margin-bottom: 0; }
.explore-section { padding-top: 35px; }
.explore-map {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  overflow: hidden; border: 1px solid #d0deef; border-radius: 18px; background: #fff;
}
.explore-stage {
  position: relative; display: grid; place-items: center; min-width: 0; min-height: 390px;
  background:
    radial-gradient(ellipse at 48% 42%, #e1eef08a, transparent 70%),
    linear-gradient(#365f7e13 1px, transparent 1px) 50% 50% / 24px 24px,
    linear-gradient(90deg, #365f7e13 1px, transparent 1px) 50% 50% / 24px 24px, #edf4f8;
}
.explore-figure { position: relative; width: min(94%, 370px); aspect-ratio: 230 / 250; margin: 12px 0; }
.explore-figure svg { display: block; width: 100%; height: 100%; overflow: visible; }
.explore-figure svg path { fill: #86ad9a; fill-opacity: .83; stroke: #38705b; stroke-width: 1.25; stroke-linejoin: round; }
.explore-north {
  position: absolute; top: 14px; right: 16px; border: 1px solid #d3e2ef; border-radius: 7px;
  background: #ffffffc9; padding: 3px 8px; color: #214569; font-size: .875rem; font-weight: 800;
}
.explore-pin {
  position: absolute; top: var(--pin-y); left: var(--pin-x); transform: translate(-13px, -50%);
  display: flex; align-items: center; gap: 5px; background: none; color: #18395b; border: 0;
  padding: 0; min-height: 36px; cursor: pointer; font: inherit; font-size: .875rem; white-space: nowrap;
}
.explore-pin.left { flex-direction: row-reverse; transform: translate(calc(-100% + 13px), -50%); }
.explore-pin span { border: 2px solid #27516a; background: #fff; width: 14px; height: 14px; margin: 6px; border-radius: 50%; }
.explore-pin strong { padding: 0 5px; border-radius: 5px; background: #f8fbffeb; }
.explore-pin[aria-pressed=true] span { background: #efc976; box-shadow: 0 0 0 5px #f6dd9ca0; }
.explore-pin[aria-pressed=true] strong { background: #f6dda0; }
.explore-pin:hover span { box-shadow: 0 0 0 4px #fff9; }
.explore-sidebar { padding: clamp(14px, 2.3vw, 26px); display: grid; align-content: start; gap: 12px; min-width: 0; }
.explore-choices { display: flex; flex-wrap: wrap; gap: 5px; }
.explore-choices button {
  min-height: 44px; padding: 6px 10px; border: 1px solid #ccdbec; border-radius: 8px;
  background: #edf4fa; color: #1b426b; font: inherit; font-weight: 800; font-size: .875rem; cursor: pointer;
}
.explore-choices button:hover { background: #e1edfa; }
.explore-choices button[aria-pressed=true] { border-color: #b38739; background: #f4dda9; color: #172945; }
.explore-panel { border: 1px solid #d7e3ef; border-radius: 11px; overflow: hidden; }
.explore-panel[hidden] { display: none; }
.explore-panel figure { position: relative; margin: 0; }
.explore-panel img { display: block; width: 100%; height: clamp(165px, 18vw, 240px); object-fit: cover; }
.explore-panel figcaption {
  position: absolute; right: 9px; bottom: 9px; padding: 3px 8px; border-radius: 5px;
  color: #fff; background: #102747ea; font-size: .875rem;
}
.explore-panel > div { padding: 11px 14px 14px; }
.explore-panel h3 { margin: 0; color: #172f54; font-size: 1.15rem; }
.explore-panel p { margin: 3px 0 0; color: #435773; }
.explore-panel a, .explore-all { display: inline-block; margin-top: 3px; color: #1d4b7f; font-weight: 800; }
.explore-photo-credit { display: block; font-size: .79rem; }
.explore-photo-credit a { color: #435773; font-weight: 650; }
.explore-credits { margin-top: 8px; color: #435773; font-size: .875rem; }
.explore-credits summary { cursor: pointer; }
.explore-credits p { margin: 3px 0 0; }
.municipal-books { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.municipal-book {
  display: flex; align-items: center; gap: 17px; min-width: 0; padding: 14px;
  background: #fff; border: 1px solid #d5deeb; border-radius: 14px;
}
.municipal-book:hover { background: #edf4fa; }
.municipal-book img { width: clamp(69px, 13vw, 115px); height: auto; border-radius: 5px; }
.municipal-book span { display: grid; gap: 9px; color: #172f54; }
.municipal-book small { font-size: .875rem; color: #245486; font-weight: 800; }
@media (max-width: 900px) {
  body:has(.consent-banner:not([hidden])) .back-to-top { bottom: max(196px, env(safe-area-inset-bottom)); }
  .explore-map { grid-template-columns: minmax(0, 1fr); }
  .explore-stage { min-height: 0; }
}
@media (max-width: 620px) {
  body:has(.consent-banner:not([hidden])) .back-to-top { bottom: max(246px, env(safe-area-inset-bottom)); }
  .back-to-top { width: 46px; height: 46px; right: max(13px, env(safe-area-inset-right)); }
  .municipal-books { grid-template-columns: minmax(0, 1fr); }
}

@media(max-width:1120px){
 .hero-mapped .hero-inner{min-height:0;gap:32px;grid-template-columns:minmax(0,1.02fr) minmax(305px,.98fr);padding-top:111px;padding-bottom:91px}
 .hero-mapped h1{font-size:clamp(57px,9vw,100px)}
 .foot-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .footer-identity{grid-column:1/-1}
}
@media(max-width:740px){
 .hero-mapped .hero-inner{grid-template-columns:1fr;gap:22px;padding-bottom:74px}
 .hero-mapped .hero-media{object-position:center top}
 .hero-mapped::before{background:linear-gradient(180deg,#061026e0 0%,#0f192d82 39%,#0c162ce8 80%),linear-gradient(90deg,#07112862,transparent)}
 .hero-mapped h1{font-size:clamp(60px,14vw,97px);margin-bottom:20px}
 .hero-mapped .hero-copy .actions{margin-top:19px}
 .hero-mapped p.hero-caption:not(.overline){margin-top:19px}
 .foot{padding-top:37px}
 .footer-banner{grid-template-columns:1fr;margin-bottom:29px}
 .footer-photo{min-height:178px;padding:10px}
 .footer-photo::after{background:linear-gradient(0deg,#0f1728c9,transparent 64%)}
 .foot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}
 .footer-contact{grid-column:1/-1}
 .legal{margin-top:27px}
}
@media(max-width:420px){
 .hero-mapped .hero-inner{padding-top:92px}
 .hero-mapped .hero-copy .actions .button{padding-inline:11px}
 .footer-banner .actions .button{width:100%}
}

/* Rotating photos, with the navigation and local information in a stable layer. */
.hero-mapped .hero-inner{min-height:790px;padding-top:150px;padding-bottom:108px}
.hero-mapped .hero-slides{background:#0f192f;filter:none;overflow:hidden}
.hero-frame{position:absolute;inset:0;opacity:0;transition:opacity 1.15s ease;isolation:isolate}
.hero-frame.is-current{opacity:1}
.hero-frame img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-focus, 50% 50%);
  animation: hero-drift 9s ease-in-out infinite alternate;
  animation-play-state: paused;
}
.hero-frame-kato { --hero-focus: 50% 54%; }
.hero-frame-neda { --hero-focus: 44% 49%; }
.hero-frame-temple { --hero-focus: 53% 54%; }
.hero-frame-katsarou { --hero-focus: 54% 66%; }
.hero-frame-taxiarches { --hero-focus: 50% 51%; }
.hero-frame-polichni { --hero-focus: 52% 57%; }
.hero-frame-agrilovouno { --hero-focus: 52% 57%; }
.hero-frame-region[data-region-frame="eira"] { --hero-focus: 52% 55%; }
.hero-frame-region[data-region-frame="dorio"] { --hero-focus: 56% 59%; }
.hero-frame-region[data-region-frame="andania"] { --hero-focus: 52% 59%; }
.hero-frame-region[data-region-frame="oichalia"] { --hero-focus: 53% 62%; }
.hero-frame-region[data-region-frame="meligalas"] { --hero-focus: 53% 53%; }
.hero-mapped.is-playing .hero-frame.is-current img{animation-play-state:running}
.hero-frame-callas { --hero-focus: 44% 28%; }
@keyframes hero-drift{from{transform:scale(1)}to{transform:scale(1.045)}}
.hero-mapped::before{background:linear-gradient(180deg,#050c1de0 0%,#0913291a 28%,#09132915 52%,#050d1ee0 100%),linear-gradient(90deg,#050d20f0 0%,#07122ac2 33%,#141f3838 65%,#0a152c80)}
.hero-gallery{display:grid;justify-items:start;gap:7px;margin-top:27px}
.hero-gallery-meta{display:flex;align-items:center;gap:8px;min-width:0}
.hero-gallery-meta>.ico{width:18px;height:18px;color:#edce8f}
.hero-photo-caption strong,.hero-photo-caption small{display:block;color:#e7eef5;font-size:14px;line-height:1.45}
.hero-photo-caption small{color:#d6deeb}
.hero-photo-caption a{text-decoration:underline;text-decoration-color:#c2c9d589;text-underline-offset:3px}
.hero-gallery-controls{display:flex;align-items:center;gap:1px}
.hero-gallery-controls[hidden]{display:none}
.hero-gallery-controls button{border:0;background:transparent;color:#ffe1a0;display:grid;place-items:center}
.hero-slide-choice{min-height:36px;width:25px;padding:0}
.hero-slide-choice span{width:8px;height:8px;border:1px solid #f4e1aeaa;border-radius:20px;transition:width .25s,background .25s}
.hero-slide-choice[aria-pressed=true] span{width:18px;background:#edce8f}
.hero-gallery-controls .hero-slide-toggle{width:36px;height:36px;border:1px solid #f4e1ae75;border-radius:100px;margin-left:5px}
.hero-slide-toggle:hover{background:#1a2743}
.hero-slide-toggle svg{width:17px;height:17px}
.hero-slide-toggle .play-icon,.hero-slide-toggle.is-paused .pause-icon{display:none}
.hero-slide-toggle.is-paused .play-icon{display:block}


.area-fill{stroke:#cfebd1;stroke-width:1.7}
.area-shadow{stroke:#8fbf9a;opacity:.22}

@media(max-width:1120px){.hero-mapped .hero-inner{min-height:0;padding-top:116px;padding-bottom:88px}}
@media(max-width:740px){
 .hero-mapped .hero-inner{padding-top:104px;padding-bottom:77px}
 .hero-mapped::before{background:linear-gradient(180deg,#071126d9 0%,#0f192e9e 36%,#081228ec 87%),linear-gradient(90deg,#0711286e,transparent)}
 .hero-gallery{margin-top:19px}

}
@media(max-width:420px){.hero-mapped .hero-inner{padding-top:92px}}
@media(prefers-reduced-motion:reduce){.hero-frame,.hero-slide-choice span{transition:none}.hero-frame img{animation:none}}

/* Language links live in the utility bar on every page. */
.utility-right{align-items:center}
.language-switch{display:flex;align-items:center;gap:4px;padding-block:2px}
.utility .language-switch a{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:45px;min-height:33px;padding:2px 6px;border:1px solid transparent;border-radius:6px;color:#dbe1ed;font-weight:800;text-decoration:none}
.utility .language-switch a[aria-current],.utility .language-switch a:hover{background:#ffffff15;border-color:#e4c38470;color:#f8dfab}
.utility .language-switch a:focus-visible{outline:2px solid #e4c384;outline-offset:1px}
.language-switch svg{width:20px;height:13px;border-radius:2px;box-shadow:0 0 0 1px #ffffff4a;flex:none}
html[lang=en] .hero-mapped h1{font-size:clamp(54px,7vw,100px)}
@media(max-width:650px){
 .utility-right{gap:7px}
 .utility .language-switch a{min-width:36px;min-height:32px;padding:2px 5px}
 .utility .language-switch a span{display:none}
}
@media(max-width:450px){
 .utility .utility-hours-label{display:none}
 .utility .wrap{gap:5px}
 .utility-right{gap:5px}
}

a:hover { text-decoration: none !important; }
.photo-card[href*="maria-kallas"] img { object-position: center top; }
.photo-card[href*="maria-kallas"]:hover img { transform: none; }
.hero-frame-callas img { animation: none; }
.hero-gallery-controls { max-width: 100%; }
.hero-gallery-controls .hero-slide-arrow { min-width: 26px; min-height: 36px; border-radius: 6px; font-size: 23px; cursor: pointer; }
.hero-gallery-controls .hero-slide-arrow:hover { background: #1a2743; }
@media (max-width: 460px) {
  .hero-slide-choice { width: 20px; }
  .hero-gallery-controls { gap: 0; }
}
.contact-form-rich .contact-instructions { margin:0 0 18px; font-size:14px; color:#3f495e; }
.contact-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 18px; }
.contact-fields .wide { grid-column:1/-1; }
.contact-fields label { display:block; margin:0 0 5px; font-size:15px; font-weight:800; }
.contact-fields :is(input,textarea,select) { display:block; width:100%; font:inherit; color:#1a2234; min-height:48px; border:1px solid #adb4c0; border-radius:8px; padding:10px 12px; background:#fbfcfd; }
.contact-fields textarea { min-height:145px; resize:vertical; }
.contact-fields :is(input,textarea,select):focus { border-color:#364b74; outline:2px solid #afbcd3; outline-offset:1px; }
.contact-form-rich .contact-submit { display:flex; flex-wrap:wrap; align-items:center; gap:9px 16px; margin-top:17px; }
.contact-submit .button { margin:0; }
.contact-form-rich #contact-status { margin:0; font-size:14px; color:#3f495e; }
@media (max-width:620px){.contact-fields{grid-template-columns:1fr}}
.formbox:has(.contact-form-rich) { border-top: 3px solid #c5a46c; padding: clamp(18px, 3vw, 34px); box-shadow: 0 13px 36px #18233910; }

/* Official service links below the primary shortcuts. */
.resource-links {
  margin-block-start: 13px;
  padding-inline: 8px;
  font-size: .8125rem;
  line-height: 1.8;
}
.resource-links #resource-links-title {
  color: var(--ink);
  font-weight: 800;
  margin-inline-end: 8px;
  white-space: nowrap;
}
.resource-links ul { display: inline; list-style: none; padding: 0; margin: 0; }
.resource-links li { display: inline-block; }
.resource-links li + li::before {
  content: "·";
  margin-inline: 6px;
  color: var(--muted);
}
.resource-links a { color: #245d9c; font-weight: 650; }
.resource-links a:hover { color: #102a49; }
.resource-links a:focus-visible { outline: 2px solid #245d9c; outline-offset: 3px; border-radius: 2px; }

/* Full-screen navigation below the desktop breakpoint. */
html:has(.mobile-menu[open]) { overflow: hidden; overscroll-behavior: none; }
dialog.mobile-menu {
  position: fixed; inset: 0; width: 100%; max-width: none; height: 100vh; height: 100dvh;
  max-height: none; margin: 0; padding: 0; overflow: hidden; border: 0; border-radius: 0;
  background: radial-gradient(ellipse at 94% 0, #263d60, transparent 55%), #111e35;
  color: #f5f8ff; color-scheme: dark;
}
.mobile-menu::backdrop { background: #111e35; }
.mobile-menu-shell { width: min(100%, 740px); height: 100%; margin: auto; display: flex; flex-direction: column; }
.mobile-menu-head {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(15px + env(safe-area-inset-top)) max(17px, env(safe-area-inset-right)) 15px max(17px, env(safe-area-inset-left));
  border-bottom: 1px solid #91a8cc45;
}
.mobile-menu-head .brand { color: #fff; flex-shrink: 1; min-width: 0; }
.mobile-menu-head .brand img { width: 45px; height: 45px; flex: 0 0 45px; }
.mobile-menu-head .brand small { color: #e8c98d; font-size: .79rem; }
.mobile-menu .mobile-menu-close {
  width: 46px; height: 46px; flex: 0 0 46px; border: 1px solid #9fb3d475;
  background: #ffffff10; color: #fff; border-radius: 14px;
}
.mobile-menu .mobile-menu-close:hover { background: #ffffff25; }
.mobile-menu-close .ico { width: 22px; height: 22px; }
.mobile-menu-body {
  min-height: 0; flex: 1; overflow: auto; overscroll-behavior: contain;
  padding: 13px max(17px, env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) max(17px, env(safe-area-inset-left));
}
.mobile-menu .mobile-nav { display: grid; gap: 6px; }
.mobile-menu .mobile-nav .mega-item { display: block; min-height: 0; }
.mobile-menu .mobile-menu-row, .mobile-menu .mega-trigger {
  display: grid; grid-template-columns: 39px minmax(0, 1fr) auto; align-items: center; gap: 11px;
  min-height: 57px; width: 100%; padding: 7px 12px; border: 1px solid #8da6d338; border-radius: 11px;
  background: #ffffff08; color: #f5f8ff; font-size: clamp(1rem, 3.8vw, 1.15rem); font-weight: 800;
  white-space: normal; line-height: 1.25; text-align: left;
}
.mobile-menu .mobile-menu-row:hover, .mobile-menu .mega-trigger:hover { background: #ffffff17; }
.mobile-menu .mobile-menu-row[aria-current], .mobile-menu .mega-trigger[data-current=true], .mobile-menu .mega-trigger[aria-expanded=true] {
  border-color: #e5c27b8c; color: #ffe4ab; background: #f1c77414;
}
.mobile-menu-icon { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 9px; background: #9ab2db22; color: #dceaff; }
.mobile-menu-row[aria-current] .mobile-menu-icon, .mega-trigger[aria-expanded=true] .mobile-menu-icon { color: #ffdda0; }
.mobile-menu .nav-chevron { width: 18px; height: 18px; color: #d9e7ff; }
.mobile-menu .mega-inner {
  width: auto; margin: 5px 0 2px; padding: 11px 9px; display: grid; gap: 12px;
  grid-template-columns: 1fr; background: #0c172a; border: 1px solid #8da6d338; border-radius: 11px;
}
.mobile-menu .mega-label { color: #e8ca91; margin-bottom: 3px; letter-spacing: 0; }
.mobile-menu .mega-column a { color: #f5f8ff; }
.mobile-menu .mega-column a:hover { background: #ffffff13; }
.mobile-menu .mega-column a[aria-current] { color: #ffe4ab; }
.mobile-menu .mega-link-icon { background: #9ab2db22; color: #e4ecfc; width: 32px; height: 32px; }
.mobile-menu .mega-column a > .ico { color: #a7bddc; }
.mobile-menu .mega-feature { display: none; }
.mobile-menu-contacts { display: flex; flex-wrap: wrap; gap: 7px 17px; margin-top: 15px; padding: 9px 5px 0; border-top: 1px solid #91a8cc45; }
.mobile-menu-contacts a { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; color: #e0eafb; font-weight: 750; }
.mobile-menu-contacts a:hover { color: #ffe4ab; }
.mobile-menu :focus-visible { outline: 2px solid #f8d68f; outline-offset: -2px; }
@media (min-width: 560px) {
  .mobile-menu .mega-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 380px) {
  .mobile-menu-head .brand { gap: 8px; }
  .mobile-menu-head .brand strong { font-size: 1rem; }
  .mobile-menu-head .brand small { font-size: .73rem; }
}

.live-content {min-width:0; overflow-wrap:anywhere}
.live-content p {margin-block:.75em}
.live-content h2,.live-content h3 {margin-top:1.15em}
.live-content iframe,.live-content video {max-width:100%}
.live-content table {max-width:100%}
.live-content a {text-decoration:underline;text-underline-offset:.14em}
.live-content .wpcf7 label {display:block}
.live-content .wpcf7 input:not([type=hidden]),.live-content .wpcf7 textarea {max-width:100%}
.live-content .wpcf7 input[type=submit] {background:#16233e;border:0;border-radius:8px;color:#fff;padding:.75em 1.2em}
.live-news-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:16px}
.live-news-item {padding:20px;border-radius:14px;background:#fff;border:1px solid #d5deeb}
.live-news-item time {display:block;font-size:.9em;color:#435773;margin-bottom:8px}
.live-pagination {margin-top:22px}
.live-pagination .page-numbers {display:inline-block;padding:.35em .6em}
