@font-face{
  font-family:"Inter";
  src:url("/assets/fonts/inter/inter-v12-latin-400.woff2") format("woff2");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Inter";
  src:url("/assets/fonts/inter/inter-v20-latin-500.woff2") format("woff2");
  font-weight:500;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Inter";
  src:url("/assets/fonts/inter/inter-v20-latin-600.woff2") format("woff2");
  font-weight:600;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Inter";
  src:url("/assets/fonts/inter/inter-v20-latin-700.woff2") format("woff2");
  font-weight:700;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Inter";
  src:url("/assets/fonts/inter/inter-v20-latin-800.woff2") format("woff2");
  font-weight:800;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Inter";
  src:url("/assets/fonts/inter/inter-v20-latin-900.woff2") format("woff2");
  font-weight:900;
  font-style:normal;
  font-display:swap;
}

:root{
  --bg:#f4f3ef;
  --surface:#ffffff;
  --surface-soft:#fbfbf8;
  --ink:#2e3137;
  --muted:#636a74;
  --line:#d7d9d4;
  --primary:#ef5030;
  --accent:#1aa95a;
  --blue:#1f89d9;
  --yellow:#f2bf23;
  --purple:#7754b3;
  --card-bg:#ffffff;
  --card-border:#dfe2dc;
  --max:1180px;
  --radius:24px;
  --shadow:0 16px 38px rgba(47,49,56,.08);
  --shadow-soft:0 8px 22px rgba(47,49,56,.05);
  --patternOpacity:.05;
  --patternDot:rgba(47,49,56,.05);
  --patternSize:24px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--ink);
  line-height:1.6;
}
body.pattern{
  background-image:radial-gradient(circle,var(--patternDot) 1px,transparent 1px);
  background-size:var(--patternSize) var(--patternSize);
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,textarea,select{font:inherit}
.wrap{width:min(calc(100% - 32px),var(--max));margin:0 auto}

.noticeBar{
  background:rgba(255,255,255,.72);
  border-bottom:1px solid rgba(215,217,212,.9);
  color:#59606a;
  font-size:13px;
}
.noticeBar .wrap{padding:10px 0}
.noticeBar[hidden]{display:none!important}

.siteHeader{
  position:sticky;
  top:0;
  z-index:40;
  background:rgba(244,243,239,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(215,217,212,.92);
}

.navRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding:18px 0;
}

/* Header / Logo */
.brand{
  display:flex;
  align-items:center;
  min-width:0;
}

.logoBox{
  width:240px;
  height:150px;
  flex:0 0 240px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:transparent;
  border:none;
  box-shadow:none;
  padding:0;
  overflow:visible;
}

.logoBox img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.logoPlaceholder{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  text-align:center;
  color:#66707a;
  font-weight:800;
  line-height:1.05;
}

/* Falls brandText noch im HTML/site.js vorhanden ist: ausblenden */
.brandText{
  display:none;
}

.menuToggle{
  display:none;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border:1px solid var(--card-border);
  border-radius:14px;
  background:#fff;
  font-weight:800;
  color:var(--ink);
}

.mainNav{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.navItem{position:relative}

.navLink,
.navButton{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:11px 14px;
  border-radius:14px;
  border:1px solid transparent;
  background:transparent;
  color:var(--ink);
  font-weight:700;
  cursor:pointer;
}

.navLink:hover,
.navButton:hover{
  background:rgba(255,255,255,.78);
  border-color:var(--card-border);
}

.navLink.active,
.navButton.active,
.navItem.open > .navButton{
  background:#fff;
  border-color:var(--card-border);
  box-shadow:var(--shadow-soft);
}

.dropdown{
  position:absolute;
  top:calc(100% + 12px);
  left:0;
  min-width:260px;
  padding:10px;
  background:#fff;
  border:1px solid var(--card-border);
  border-radius:18px;
  box-shadow:var(--shadow);
  display:none;
  z-index:80;
}

.navItem.open .dropdown,
.navItem:focus-within .dropdown{
  display:block;
}

.dropdown a{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  font-size:14px;
  color:var(--muted);
}

.dropdown a:hover,
.dropdown a.active{
  background:var(--surface-soft);
  color:var(--ink);
}

/* Hero */
.hero{padding:40px 0 22px}

.heroGrid{
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
  gap:28px;
  align-items:stretch;
}

.panel{
  background:rgba(255,255,255,.84);
  border:1px solid var(--card-border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.heroCopy{padding:40px}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--card-border);
  color:#5b6270;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.hero h1,
.pageHero h1{
  font-size:clamp(36px,5vw,62px);
  line-height:.96;
  letter-spacing:-.045em;
  margin:18px 0 16px;
  max-width:9.5ch;
}

.hero p,
.pageHero p{
  font-size:18px;
  color:var(--muted);
  max-width:62ch;
  margin:0;
}

.heroActions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:14px;
  border:1px solid var(--card-border);
  background:#fff;
  color:var(--ink);
  font-weight:800;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.btn:hover{
  transform:translateY(-1px);
  box-shadow:var(--shadow-soft);
}

.btnPrimary{
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
}

.btnGhost{background:transparent}

/* Hero video panel */
.heroVideoPanel{
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
  position:relative;
  overflow:hidden;
}

.heroVideoPanel::before{
  content:'';
  position:absolute;
  top:-56px;
  right:-56px;
  width:170px;
  height:170px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(31,137,217,.13),transparent 72%);
  pointer-events:none;
}

.heroVideoPanel::after{
  content:'';
  position:absolute;
  left:-38px;
  bottom:-54px;
  width:180px;
  height:180px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(242,191,35,.12),transparent 72%);
  pointer-events:none;
}

.heroVideoTitle{
  margin:0;
  font-size:clamp(26px,3.1vw,40px);
  line-height:1.04;
  letter-spacing:-.035em;
  max-width:14ch;
}

.heroVideoFrame{
  position:relative;
  min-height:520px;
  border-radius:24px;
  overflow:hidden;
  border:1px solid rgba(46,49,55,.08);
  background:
    linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.36)),
    linear-gradient(135deg,rgba(119,84,179,.10),rgba(31,137,217,.08),rgba(26,169,90,.08),rgba(242,191,35,.10)),
    url('/assets/img/test.jpg') center/cover no-repeat;
  display:flex;
  align-items:flex-end;
}

.heroVideoSound{
  position:absolute;
  top:14px;
  right:14px;
  z-index:2;
  padding:10px 14px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  background:rgba(255,255,255,.16);
  color:#fff;
  font-weight:800;
  backdrop-filter:blur(10px);
}

.heroVideoPlay{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  z-index:1;
  pointer-events:none;
}

.heroVideoPlay span{
  width:84px;
  height:84px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.28);
  backdrop-filter:blur(8px);
  color:#fff;
  font-size:28px;
}

.heroVideoOverlay{
  position:relative;
  z-index:2;
  padding:24px;
  display:flex;
  flex-direction:column;
  gap:8px;
  color:#fff;
}

.heroVideoOverlay strong{
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.heroVideoOverlay span{
  font-size:16px;
  line-height:1.55;
  max-width:52ch;
  color:rgba(255,255,255,.92);
}

.heroVideoCaption{
  margin:0;
  color:#4a5560;
  font-weight:700;
}

/* Sections */
.section{padding:22px 0 44px}

.sectionHead{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:16px;
}

.sectionHead h2{
  margin:0;
  font-size:31px;
  letter-spacing:-.035em;
}

.sectionHead p{
  margin:0;
  color:var(--muted);
}

.cards{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.card{
  padding:24px;
  border-radius:22px;
  background:var(--card-bg);
  border:1px solid var(--card-border);
  box-shadow:var(--shadow);
  position:relative;
  overflow:hidden;
}

.card::before{
  content:'';
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:4px;
  background:var(--primary);
}

.card.accent-red::before{background:var(--primary)}
.card.accent-green::before{background:var(--accent)}
.card.accent-blue::before{background:var(--blue)}
.card.accent-yellow::before{background:var(--yellow)}

.card h3{
  margin:6px 0 8px;
  font-size:22px;
  letter-spacing:-.025em;
}

.card p{
  margin:0;
  color:var(--muted);
}

.card .btn{margin-top:18px}

.grid2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.textPanel{padding:28px}

.textPanel h2,
.textPanel h3{
  margin:0 0 12px;
  letter-spacing:-.025em;
}

.textPanel p{
  margin:0 0 14px;
  color:var(--muted);
}

.listClean{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:12px;
}

.listClean li{
  padding:14px 16px;
  border:1px solid var(--card-border);
  border-radius:16px;
  background:#fff;
}

.listClean strong{color:var(--ink)}

.newsList,
.pressList,
.mediaList,
.clubList{
  display:grid;
  gap:14px;
}

.entry{
  padding:22px;
  border:1px solid var(--card-border);
  border-radius:20px;
  background:#fff;
  box-shadow:var(--shadow-soft);
}

.entryMeta{
  font-size:12px;
  font-weight:800;
  color:#69707b;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:8px;
}

.entry h3{
  margin:0 0 8px;
  font-size:24px;
  letter-spacing:-.02em;
}

.entry p{
  margin:0;
  color:var(--muted);
}

/* Page hero / subnav */
.pageHero{padding:34px 0 14px}

.subnav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.subnav a{
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--card-border);
  background:#fff;
  font-weight:700;
}

.subnav a.active{
  background:var(--accent);
  color:#fff;
  border-color:var(--accent);
}

.pageQuote{
  padding:32px 36px;
  border-left:6px solid var(--primary);
  background:linear-gradient(180deg, rgba(239,80,48,.08), rgba(255,255,255,.98));
}

.pageQuote p{
  margin:0;
  font-size:clamp(24px, 3vw, 36px);
  line-height:1.35;
  letter-spacing:-.025em;
  font-weight:800;
  color:var(--ink);
}

.featuredImagePanel{
  padding:18px;
}

.featuredImage{
  display:block;
  width:100%;
  max-height:720px;
  object-fit:cover;
  border-radius:20px;
}

.featuredImagePanel figcaption{
  margin-top:12px;
  color:var(--muted);
  font-size:14px;
}

/* Embed / gallery */
.embedWrap{
  border:1px solid var(--card-border);
  border-radius:22px;
  overflow:hidden;
  background:#fff;
  min-height:420px;
  box-shadow:var(--shadow-soft);
}

.embedWrap iframe{
  width:100%;
  height:760px;
  border:0;
}

.gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:14px;
}

.gallery img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:16px;
  border:1px solid var(--card-border);
}

.videoList{
  display:grid;
  gap:10px;
  margin-top:12px;
}

.videoLink{
  padding:12px 14px;
  border:1px solid var(--card-border);
  border-radius:14px;
  background:#fff;
}

/* Footer */
.siteFooter{
  padding:28px 0 40px;
  border-top:1px solid var(--line);
  margin-top:18px;
}

.footerRow{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-start;
}

.footerLinks{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.small{
  font-size:14px;
  color:var(--muted);
}

/* Soft page hero */
.pageHeroSoft{padding:38px 0 18px}

.pageHeroGrid{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);
  gap:22px;
  align-items:start;
}

.pageHeroGrid.singleColumn{
  grid-template-columns:1fr;
}

.heroSideCard{
  padding:24px;
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,249,247,.94));
}

.heroSideCard::before{
  content:'';
  position:absolute;
  inset:auto -42px -52px auto;
  width:160px;
  height:160px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(31,137,217,.12),transparent 70%);
  pointer-events:none;
}

.heroSideKicker{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(26,169,90,.08);
  color:var(--accent);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.heroSideCard h2{
  margin:14px 0 10px;
  font-size:30px;
  line-height:1.04;
  letter-spacing:-.03em;
}

.heroSideCard p{
  margin:0;
  color:var(--muted);
}

.heroMetaList{
  list-style:none;
  padding:0;
  margin:18px 0 0;
  display:grid;
  gap:10px;
}

.heroMetaList li{
  padding:12px 14px;
  border-radius:16px;
  background:#fff;
  border:1px solid var(--card-border);
  font-weight:700;
}

/* Dokumente */
.docGrid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.docCard{
  display:flex;
  flex-direction:column;
  min-height:100%;
  background:rgba(255,255,255,.92);
  border:1px solid var(--card-border);
  border-radius:24px;
  box-shadow:var(--shadow);
  overflow:hidden;
  position:relative;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.docCard.is-link:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 42px rgba(47,49,56,.12);
  border-color:rgba(47,49,56,.16);
}

.docCard.is-disabled{opacity:.94}

.docTopline{height:5px;background:var(--accent)}
.docCard.accent-red .docTopline{background:var(--primary)}
.docCard.accent-green .docTopline{background:var(--accent)}
.docCard.accent-blue .docTopline{background:var(--blue)}
.docCard.accent-yellow .docTopline{background:var(--yellow)}
.docCard.accent-purple .docTopline{background:var(--purple)}

.docThumbWrap{
  padding:26px 26px 10px;
  display:grid;
  place-items:center;
  min-height:240px;
  background:linear-gradient(180deg,rgba(250,251,249,.95),rgba(244,246,243,.96));
}

.docThumb{
  width:min(180px,76%);
  aspect-ratio:3/4;
  object-fit:cover;
  border-radius:14px;
  border:1px solid rgba(47,49,56,.08);
  box-shadow:0 18px 32px rgba(47,49,56,.16);
}

.docThumbFallback{
  width:min(180px,76%);
  aspect-ratio:3/4;
  display:grid;
  place-items:center;
  background:#fff;
  border-radius:14px;
  border:1px solid var(--card-border);
  color:var(--muted);
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.docContent{
  padding:0 22px 22px;
  display:flex;
  flex-direction:column;
  gap:10px;
  flex:1;
}

.docMeta{
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#69707b;
}

.docCard h3{
  margin:0;
  font-size:28px;
  line-height:1.02;
  letter-spacing:-.03em;
}

.docCard p{
  margin:0;
  color:var(--muted);
}

.docAction{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  margin-top:auto;
  padding:11px 14px;
  border-radius:14px;
  background:#fff;
  border:1px solid var(--card-border);
  font-weight:800;
}

.docCard.is-link .docAction{
  background:rgba(26,169,90,.08);
  border-color:rgba(26,169,90,.24);
  color:#166b40;
}

/* Mitgliederbereich */
.membersGate{
  padding:30px;
  max-width:720px;
  margin:0 auto;
}

.membersGateBadge{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(239,80,48,.08);
  color:var(--primary);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.membersGate h2{
  margin:16px 0 10px;
  font-size:34px;
  line-height:1.02;
  letter-spacing:-.035em;
}

.membersGate p{
  margin:0 0 14px;
  color:var(--muted);
}

.membersForm{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  align-items:end;
  margin-top:18px;
}

.fieldLabel{
  display:block;
  font-weight:800;
  color:var(--ink);
  margin-bottom:8px;
}

.textInput{
  width:100%;
  min-height:50px;
  padding:0 16px;
  border-radius:14px;
  border:1px solid var(--card-border);
  background:#fff;
  color:var(--ink);
}

.textInput:focus{
  outline:none;
  border-color:rgba(31,137,217,.55);
  box-shadow:0 0 0 4px rgba(31,137,217,.12);
}

.membersHelp{font-size:14px}
.membersError{color:#a2331d;font-weight:700}

/* Responsive */
@media (max-width:1100px){
  .cards{grid-template-columns:repeat(2,1fr)}
  .heroGrid{grid-template-columns:1fr}
  .hero h1,
  .pageHero h1{max-width:none}
  .docGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pageHeroGrid{grid-template-columns:1fr}
}

@media (max-width:820px){
  .menuToggle{display:inline-flex}

  .mainNav{
    display:none;
    position:absolute;
    left:16px;
    right:16px;
    top:100%;
    padding:14px;
    background:rgba(244,243,239,.98);
    border-bottom:1px solid var(--line);
    flex-direction:column;
    align-items:stretch;
  }

  .mainNav.open{display:flex}

  .navRow{
    align-items:flex-start;
    position:relative;
  }

  .navItem{width:100%}

  .navLink,
  .navButton{
    width:100%;
    justify-content:space-between;
    background:#fff;
    border:1px solid var(--card-border);
  }

  .dropdown{
    position:static;
    display:none;
    min-width:0;
    box-shadow:none;
    border:none;
    padding:8px 0 0;
    background:transparent;
  }

  .navItem.open .dropdown{display:block}

  .dropdown a{
    background:#fff;
    border:1px solid var(--card-border);
    margin-top:8px;
  }

  .brand{
    align-items:flex-start;
  }

  .logoBox{
    width:180px;
    height:112px;
    flex:0 0 180px;
  }

  .heroCopy,
  .textPanel{padding:24px}

  .hero h1,
  .pageHero h1{font-size:42px}

  .hero p,
  .pageHero p{font-size:17px}

  .heroVideoFrame{min-height:300px}

  .grid2,
  .gallery,
  .footerRow,
  .cards{
    grid-template-columns:1fr;
    display:grid;
  }

  .docGrid{grid-template-columns:1fr}
  .membersForm{grid-template-columns:1fr}
  .docCard h3{font-size:24px}
  .membersGate h2,
  .heroSideCard h2{font-size:28px}
}

/* Footer watermark */
footer{
  padding:28px 0 44px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:12px;
  position:relative;
}

footer::after{
  content:"made by 63157";
  position:absolute;
  right:20px;
  bottom:16px;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
  font-weight:700;
  font-size:18px;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:rgba(11,16,32,.03);
  opacity:.9;
  pointer-events:none;
  user-select:none;
  filter:blur(.25px);
}

/* Today banner / calendar tools */
.sectionToday{padding-top:0}
.todayPanel,
.calendarToolsPanel,
.mapPanel{
  padding:24px;
}
.todayPanelStandalone{margin-top:18px}
.todayLoading,
.todayEmpty,
.todayFallback,
.mapEmpty{
  padding:18px;
  border:1px dashed var(--card-border);
  border-radius:18px;
  background:rgba(255,255,255,.58);
  color:var(--muted);
}
.todayFallback{margin-bottom:14px;color:#8b5b39;background:#fff8f2;border-style:solid}
.todayGrid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:16px;
  margin-top:18px;
}
.todayCard{
  background:#fff;
  border:1px solid var(--card-border);
  border-radius:20px;
  padding:18px;
  box-shadow:var(--shadow-soft);
}
.todayCard h3{margin:6px 0 8px;font-size:20px;line-height:1.15}
.todayCard p{margin:0;color:var(--muted);font-size:14px}
.todayCardTime{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(31,137,217,.10);
  color:#235e8e;
  font-size:12px;
  font-weight:800;
  letter-spacing:.03em;
}
.todayCardMeta{margin-bottom:10px;font-size:13px;color:var(--muted);font-weight:700}
.todayActions,
.calendarTools,
.mapActions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.calendarToolsPanel{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
}
.calendarToolsPanel h2{margin:0 0 6px}
.calendarToolsPanel p{margin:0;color:var(--muted)}

/* Map */
.mapModuleLayout{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);
  gap:24px;
  align-items:start;
}
.sectionHeadTight{margin-bottom:14px}
.chipRow{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.chipRowTight{margin-bottom:16px}
.chipBtn{
  border:1px solid var(--card-border);
  background:#fff;
  color:var(--ink);
  border-radius:999px;
  padding:10px 14px;
  font-weight:700;
  cursor:pointer;
}
.chipBtn.active,
.chipBtn:hover{
  background:var(--ink);
  color:#fff;
  border-color:var(--ink);
}
.villageMapShell{
  background:#fff;
  border:1px solid var(--card-border);
  border-radius:24px;
  padding:14px;
  box-shadow:var(--shadow-soft);
}
.villageMapFrame{
  position:relative;
  min-height:420px;
  border-radius:20px;
  overflow:hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,0)),
    linear-gradient(90deg, rgba(46,49,55,.05) 1px, transparent 1px),
    linear-gradient(rgba(46,49,55,.05) 1px, transparent 1px),
    radial-gradient(circle at 20% 20%, rgba(26,169,90,.10), transparent 22%),
    radial-gradient(circle at 78% 28%, rgba(31,137,217,.12), transparent 26%),
    radial-gradient(circle at 42% 74%, rgba(239,80,48,.10), transparent 28%),
    #eef4ec;
  background-size:auto, 34px 34px, 34px 34px, auto, auto, auto, auto;
}
.villageMapBackdrop{
  position:absolute;
  inset:0;
  background:
    linear-gradient(115deg, rgba(255,255,255,.55), transparent 40%),
    linear-gradient(0deg, rgba(255,255,255,.25), rgba(255,255,255,.25));
}
.mapMarker{
  position:absolute;
  transform:translate(-50%,-50%);
  width:42px;
  height:42px;
  border:none;
  border-radius:999px;
  color:#fff;
  font-weight:900;
  box-shadow:0 10px 22px rgba(47,49,56,.20);
  cursor:pointer;
  z-index:2;
  transition:transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.mapMarker:hover,
.mapMarker:focus-visible{
  transform:translate(-50%,-54%) scale(1.08);
  box-shadow:0 16px 28px rgba(47,49,56,.24);
  filter:saturate(1.05);
}
.mapMarker span{pointer-events:none}
.mapMarker.is-hidden{display:none}
.mapMarker--verein{background:#1aa95a}
.mapMarker--veranstaltung{background:#ef5030}
.mapMarker--feuerwehr{background:#c43b23}
.mapMarker--kirche{background:#7754b3}
.mapMarker--sport{background:#1f89d9}
.mapMarker--sonstiges{background:#59606a}
.mapLocations{
  display:grid;
  gap:14px;
  max-height:520px;
  overflow:auto;
  padding-right:6px;
}
.mapLocationCard{
  background:#fff;
  border:1px solid var(--card-border);
  border-radius:20px;
  padding:18px;
  box-shadow:var(--shadow-soft);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.mapLocationCard:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 32px rgba(47,49,56,.10);
  border-color:rgba(31,137,217,.18);
}
.mapLocationCard.flash{
  outline:2px solid rgba(31,137,217,.35);
  box-shadow:0 0 0 10px rgba(31,137,217,.10);
}
.mapLocationHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.mapLocationCard h3{margin:0 0 6px;font-size:20px;line-height:1.15}
.mapLocationCard p{margin:0;color:var(--muted)}
.mapAddress{font-weight:700;color:var(--ink)!important;margin-bottom:8px!important}
.mapBadge{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.mapBadge--verein{background:rgba(26,169,90,.12);color:#0e7f41}
.mapBadge--veranstaltung{background:rgba(239,80,48,.12);color:#b94426}
.mapBadge--feuerwehr{background:rgba(196,59,35,.12);color:#8d2d1d}
.mapBadge--kirche{background:rgba(119,84,179,.13);color:#6641a2}
.mapBadge--sport{background:rgba(31,137,217,.12);color:#216fbb}
.mapBadge--sonstiges{background:rgba(89,96,106,.12);color:#4d5560}

@media (max-width: 980px){
  .calendarToolsPanel,
  .mapModuleLayout{
    grid-template-columns:1fr;
  }
  .calendarToolsPanel{padding:20px}
}

@media (max-width: 720px){
  .todayPanel,
  .calendarToolsPanel,
  .mapPanel{padding:18px}
  .todayActions,
  .calendarTools,
  .mapActions{width:100%}
  .todayActions .btn,
  .calendarTools .btn,
  .mapActions .btn{width:100%}
  .villageMapFrame{min-height:320px}
  .mapLocations{max-height:none}
}
.heroVideoFrame{
  position:relative;
  width:100%;
  aspect-ratio:16 / 9;
  border-radius:24px;
  overflow:hidden;
  background:#000;
}

/* YouTube richtig skalieren */
.heroYoutubeFrame{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  transform:none;
  border:0;
  background:#000;
}

/* Video / Bild */
.heroVideoMedia,
.heroImageMedia{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.heroConsentPreview,
.heroConsentPoster{
  width:100%;
  height:100%;
}

.heroConsentPreview{
  position:relative;
  display:block;
  overflow:hidden;
  background:#101114;
}

.heroConsentPoster{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  opacity:1;
  transform:scale(1.01);
}

.heroConsentPreview::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.5) 72%, rgba(0,0,0,.62));
}

.heroConsentButton{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
  z-index:4;
  box-shadow:0 16px 34px rgba(0,0,0,.24);
}

/* Overlay */
.heroVideoOverlay,
.heroImageOverlay{
  position:absolute;
  bottom:16px;
  left:16px;
  right:16px;
  padding:14px 16px;
  border-radius:14px;
  background:rgba(0,0,0,.4);
  color:#fff;
  z-index:2;
}

/* Klick-Overlay */
.heroVideoLoad{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:5;
  background:rgba(0,0,0,.2);
}

.heroVideoLoad button{
  background:rgba(0,0,0,.7);
  color:#fff;
  border:none;
  padding:12px 18px;
  border-radius:999px;
  cursor:pointer;
  font-weight:600;
}


.agendaPanel,
.embedPanel{
  padding:22px;
}

.agendaList{
  display:grid;
  gap:14px;
}

.agendaItem{
  display:grid;
  grid-template-columns:170px 1fr;
  gap:16px;
  padding:18px;
  border:1px solid var(--card-border);
  border-radius:18px;
  background:linear-gradient(180deg,#fff,#fcfcfa);
}

.agendaDate{
  font-weight:800;
  color:var(--ink);
  letter-spacing:-.02em;
}

.agendaBody h3{
  margin:4px 0 6px;
  font-size:22px;
}

.agendaBody p{
  margin:8px 0 0;
  color:var(--muted);
}

.embedPanel .embedWrap{
  margin-top:0;
}

.embedWrap iframe{
  min-height:720px;
  border:0;
  border-radius:18px;
  background:#fff;
}

@media (max-width: 900px){
  .agendaItem{
    grid-template-columns:1fr;
  }
  .embedWrap iframe{
    min-height:560px;
  }
}


/* Final polish */
.noticeBar{
  background:linear-gradient(180deg,rgba(255,255,255,.78),rgba(255,255,255,.64));
}
.siteHeader{
  box-shadow:0 10px 30px rgba(47,49,56,.05);
}
.panel{
  background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.84));
}
.hero{
  padding:34px 0 18px;
}
.heroCopy,
.heroVideoPanel{
  position:relative;
  overflow:hidden;
}
.heroCopy{
  background:
    linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.88)),
    radial-gradient(circle at top left,rgba(239,80,48,.06),transparent 28%),
    radial-gradient(circle at 82% 16%,rgba(31,137,217,.08),transparent 22%);
}
.heroCopy::after{
  content:'';
  position:absolute;
  right:28px;
  bottom:26px;
  width:110px;
  height:110px;
  border-radius:22px;
  background:linear-gradient(135deg,rgba(31,137,217,.06),rgba(26,169,90,.07));
  transform:rotate(12deg);
  pointer-events:none;
}
.hero h1,
.pageHero h1{
  max-width:11ch;
}
.hero p,
.pageHero p{
  line-height:1.72;
}
.heroActions .btn,
.todayActions .btn,
.calendarTools .btn,
.mapActions .btn,
.mapLocationHead .btn,
.docAction,
.footerLinks .btn{
  min-height:46px;
}
.btn{
  box-shadow:0 2px 0 rgba(47,49,56,.04);
}
.btnPrimary{
  box-shadow:0 14px 28px rgba(26,169,90,.18);
}
.btnPrimary:hover{
  box-shadow:0 18px 34px rgba(26,169,90,.22);
}
.heroVideoPanel{
  background:
    linear-gradient(180deg,rgba(255,255,255,.94),rgba(251,251,248,.88));
}
.heroVideoFrame{
  border:1px solid rgba(46,49,55,.06);
  box-shadow:0 22px 40px rgba(17,24,39,.12);
}
.heroVideoOverlay,
.heroImageOverlay{
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.12);
}
.sectionHead h2,
.sectionHeadTight h2{
  letter-spacing:-.04em;
}
.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:18px;
}
.card{
  position:relative;
  overflow:hidden;
  border-radius:22px;
  padding:24px;
  background:linear-gradient(180deg,#ffffff,#fbfbf9);
  border:1px solid var(--card-border);
  box-shadow:var(--shadow-soft);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card::before{
  content:'';
  position:absolute;
  inset:0 auto auto 0;
  width:100%;
  height:5px;
  background:linear-gradient(90deg,var(--primary),var(--blue),var(--accent));
  opacity:.9;
}
.card:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 36px rgba(47,49,56,.10);
}
.card h3{margin:0 0 10px;font-size:24px;letter-spacing:-.03em}
.card p{margin:0 0 18px;color:var(--muted)}
.todayPanel,
.agendaPanel,
.embedPanel,
.calendarToolsPanel,
.mapPanel,
.textPanel,
.docCard,
.entry{
  background:linear-gradient(180deg,#ffffff,#fcfcfa);
}
.todayGrid{
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
}
.todayCard,
.agendaItem{
  position:relative;
  overflow:hidden;
}
.todayCard::before,
.agendaItem::before{
  content:'';
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:5px;
  background:linear-gradient(180deg,var(--primary),var(--blue));
}
.todayCard{
  padding:20px 20px 20px 22px;
}
.todayCard h3,
.agendaBody h3{
  letter-spacing:-.03em;
}
.todayCardTime{
  background:rgba(31,137,217,.12);
  color:#1e5b90;
}
.todayEmpty,
.todayLoading,
.mapEmpty{
  background:linear-gradient(180deg,rgba(255,255,255,.72),rgba(255,255,255,.58));
}
.calendarToolsPanel{
  align-items:center;
  background:
    linear-gradient(180deg,#ffffff,#fbfbf9),
    radial-gradient(circle at top right,rgba(26,169,90,.08),transparent 20%);
}
.calendarToolsPanel h2,
.agendaPanel h2,
.embedPanel h2,
.mapPanel h2{
  font-size:34px;
  letter-spacing:-.04em;
}
.embedPanel .embedWrap{
  position:relative;
  border-radius:22px;
  overflow:hidden;
  border:1px solid var(--card-border);
  box-shadow:var(--shadow-soft);
}
.embedWrap::before{
  content:'';
  position:absolute;
  inset:0 0 auto 0;
  height:1px;
  background:rgba(255,255,255,.42);
  z-index:2;
}
.mapLocations{
  gap:16px;
}
.mapLocationCard{
  cursor:pointer;
}
.mapLocationCard::after{
  content:'→';
  position:absolute;
  right:18px;
  bottom:16px;
  font-size:18px;
  color:rgba(46,49,55,.34);
}
.mapBadge{
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.4);
}
.customLeafletMarkerWrap{
  background:transparent;
  border:none;
}
.customLeafletMarker{
  position:relative;
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  border-radius:18px;
  color:#fff;
  font-weight:900;
  font-size:14px;
  letter-spacing:.02em;
  border:2px solid rgba(255,255,255,.92);
  box-shadow:0 16px 28px rgba(17,24,39,.20);
  transform:rotate(8deg);
}
.customLeafletMarker::after{
  content:'';
  position:absolute;
  inset:6px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.18);
}
.customLeafletMarker > span{
  transform:rotate(-8deg);
}
.customLeafletMarker.is-green{background:linear-gradient(135deg,#18a862,#0e7f41)}
.customLeafletMarker.is-red{background:linear-gradient(135deg,#ef5030,#b83d24)}
.customLeafletMarker.is-blue{background:linear-gradient(135deg,#2f93df,#1d6fb7)}
.customLeafletMarker.is-purple{background:linear-gradient(135deg,#8a62cc,#6743a3)}
.customLeafletMarker.is-orange{background:linear-gradient(135deg,#d65a37,#a93e22)}
.customLeafletMarker.is-dark{background:linear-gradient(135deg,#68717e,#454d58)}
.leaflet-popup-content-wrapper{
  border-radius:18px;
  box-shadow:0 18px 34px rgba(17,24,39,.16);
}
.leaflet-popup-content{margin:14px 16px}
.mapPopup strong{display:block;font-size:18px;letter-spacing:-.03em;margin-bottom:4px}
.mapPopupMeta{font-size:13px;font-weight:700;color:var(--muted);margin-bottom:8px}
.mapPopup p{margin:0 0 10px;color:var(--muted)}
.mapPopupLink{display:inline-flex;padding:9px 12px;border-radius:12px;background:var(--ink);color:#fff;font-weight:800}
.footerRow{
  align-items:center;
}
@media (max-width: 900px){
  .heroCopy::after{display:none}
  .calendarToolsPanel h2,
  .agendaPanel h2,
  .embedPanel h2,
  .mapPanel h2{font-size:28px}
}
@media (max-width: 720px){
  .hero{padding-top:24px}
  .heroCopy,
  .heroVideoPanel{padding:20px}
  .card{padding:20px}
  .todayGrid{grid-template-columns:1fr}
  .agendaItem{padding-left:16px}
  .customLeafletMarker{width:42px;height:42px;border-radius:16px}
}


/* Hero cleanup */
.noticeBar{display:none}
.heroGrid{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:20px}
.heroVideoTitle{display:none}
.heroVideoPanel::before,
.heroVideoPanel::after{display:none}
.heroConsentPreview{
  position:relative;
  display:block;
  cursor:pointer;
}
.heroConsentPreview::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.16) 45%, rgba(0,0,0,.62) 100%);
}
.heroConsentButton{
  position:absolute;
  left:18px;
  bottom:18px;
  top:auto;
  transform:none;
  z-index:4;
  min-height:48px;
  box-shadow:0 10px 22px rgba(0,0,0,.18);
}
.heroConsentButton:hover{transform:none}
.heroVideoPlay{display:none}
.heroVideoOverlay,
.heroImageOverlay{
  left:18px;
  right:18px;
  bottom:18px;
  padding:16px 18px 72px;
  border-radius:18px;
  background:linear-gradient(180deg,rgba(7,10,14,.18),rgba(7,10,14,.48));
}
.heroVideoOverlay strong,
.heroImageOverlay strong{display:block;font-size:15px;letter-spacing:.04em;text-transform:uppercase}
.heroVideoOverlay span,
.heroImageOverlay span{display:block;margin-top:6px;font-size:17px;line-height:1.35;color:rgba(255,255,255,.92)}
.heroVideoCaption{margin:2px 4px 0;color:var(--muted);font-size:14px}
@media (max-width: 980px){
  .heroGrid{grid-template-columns:1fr}
  .heroVideoFrame{min-height:420px}
}
@media (max-width: 640px){
  .heroVideoFrame{min-height:300px}
  .heroConsentButton{left:14px;bottom:14px;width:calc(100% - 28px)}
  .heroVideoOverlay,.heroImageOverlay{left:14px;right:14px;bottom:14px;padding:14px 14px 76px}
}


/* ===== Hero v4 clean ===== */
.noticeBar{display:none !important}
.hero{padding:28px 0 18px}
.heroGrid{
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr) !important;
  gap:24px !important;
  align-items:stretch;
}
.heroCopy,
.heroVideoPanel{
  background:rgba(255,255,255,.9);
  border:1px solid var(--card-border);
  border-radius:26px;
  box-shadow:var(--shadow-soft);
}
.heroCopy{
  position:relative;
  padding:32px 30px 28px !important;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.hero h1{
  font-size:clamp(38px,5.8vw,64px) !important;
  line-height:.93 !important;
  letter-spacing:-.05em !important;
  max-width:8.3ch !important;
  margin:14px 0 16px !important;
}
.hero p{
  font-size:16px !important;
  line-height:1.6 !important;
  max-width:34ch !important;
  color:var(--muted) !important;
}
.heroActions{margin-top:22px !important}
.heroActions .btn{min-height:50px}
.heroCopy::after{
  content:'';
  position:absolute;
  right:26px;
  bottom:18px;
  width:108px;
  height:88px;
  border-radius:22px;
  background:linear-gradient(180deg,rgba(206,218,216,.38),rgba(206,218,216,.62));
  transform:rotate(10deg);
  pointer-events:none;
  opacity:.9;
}
.heroVideoPanel{
  padding:14px !important;
  display:flex;
  align-items:stretch;
  justify-content:center;
}
.heroVideoFrame{
  min-height:100% !important;
  aspect-ratio:auto !important;
  height:100%;
  border-radius:22px !important;
  background:#0a0a0a !important;
  display:block !important;
  overflow:hidden;
}
.heroConsentMedia,
.heroConsentPreview{
  position:relative;
  width:100%;
  height:100%;
  display:block;
}
.heroConsentPreview{
  cursor:pointer;
  background:#0a0a0a;
}
.heroConsentPoster,
.heroImageMedia,
.heroVideoMedia,
.heroYoutubeFrame{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
  display:block;
  background:#0a0a0a;
}
.heroConsentPreview::after{display:none !important}
.heroConsentShade{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.06) 0%, rgba(0,0,0,.02) 42%, rgba(0,0,0,.4) 100%);
  z-index:1;
  pointer-events:none;
}
.heroConsentFooter{
  position:absolute;
  left:18px;
  right:18px;
  bottom:18px;
  display:flex;
  align-items:center;
  gap:12px;
  z-index:3;
}
.heroConsentButton{
  position:relative !important;
  left:auto !important;
  top:auto !important;
  bottom:auto !important;
  transform:none !important;
  margin:0;
  flex:0 0 auto;
  min-height:48px;
  padding:12px 18px !important;
  border-radius:14px !important;
  box-shadow:0 10px 22px rgba(0,0,0,.18) !important;
}
.heroConsentMeta,
.heroImageOverlay{
  margin-left:auto;
  max-width:60%;
  padding:10px 14px;
  border-radius:14px;
  background:rgba(10,12,14,.44);
  color:rgba(255,255,255,.94);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  font-size:14px;
  line-height:1.35;
}
.heroImageOverlay{
  position:absolute !important;
  right:18px !important;
  left:auto !important;
  bottom:18px !important;
}
.heroVideoOverlay,
.heroVideoPlay,
.heroVideoTitle{display:none !important}
.heroVideoCaption{
  margin:10px 2px 0;
  font-size:13px;
  color:var(--muted);
}
@media (max-width: 980px){
  .heroGrid{grid-template-columns:1fr !important}
  .heroVideoPanel{min-height:420px}
  .heroCopy::after{display:none}
}
@media (max-width: 640px){
  .heroCopy{padding:24px 22px !important}
  .hero h1{font-size:clamp(34px,12vw,52px) !important}
  .heroVideoPanel{min-height:320px}
  .heroConsentFooter{
    left:14px;
    right:14px;
    bottom:14px;
    flex-direction:column;
    align-items:stretch;
  }
  .heroConsentMeta,
  .heroImageOverlay{
    max-width:none;
    margin-left:0;
  }
}

/* v5 hero cleanup: true editorial split layout */
.hero{
  padding:34px 0 24px;
}
.heroGrid{
  grid-template-columns:minmax(320px,.78fr) minmax(0,1.22fr) !important;
  gap:44px !important;
  align-items:start !important;
}
.heroCopy,
.heroVideoPanel{
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  border-radius:0 !important;
  padding:0 !important;
}
.heroCopy{
  min-width:0;
  padding-top:10px !important;
}
.heroCopy::after{display:none !important}
.hero .eyebrow{
  display:inline-flex;
  margin-bottom:14px;
}
.hero h1{
  font-size:clamp(42px,5.1vw,72px) !important;
  line-height:.94 !important;
  letter-spacing:-.055em !important;
  max-width:7.3ch !important;
  margin:0 0 18px !important;
}
.hero p{
  max-width:34ch !important;
  font-size:16px !important;
  line-height:1.62 !important;
  margin:0 !important;
}
.heroActions{
  margin-top:24px !important;
  gap:12px !important;
}
.heroActions .btn{
  min-height:48px;
}
.heroVideoPanel{
  min-width:0;
}
.heroVideoFrame{
  min-height:560px !important;
  height:560px !important;
  border-radius:22px !important;
  background:#000 !important;
  box-shadow:0 16px 40px rgba(20,24,28,.12) !important;
}
.heroConsentPreview,
.heroConsentMedia,
.heroImageMedia,
.heroVideoMedia,
.heroYoutubeFrame,
.heroConsentPoster{
  border-radius:22px !important;
}
.heroConsentShade{
  background:linear-gradient(180deg,rgba(0,0,0,.04) 0%, rgba(0,0,0,0) 52%, rgba(0,0,0,.28) 100%) !important;
}
.heroConsentFooter{
  left:18px !important;
  right:auto !important;
  bottom:18px !important;
  gap:0 !important;
  display:block !important;
}
.heroConsentButton{
  min-height:46px !important;
  padding:11px 18px !important;
  border-radius:14px !important;
  box-shadow:0 10px 22px rgba(0,0,0,.16) !important;
}
.heroConsentMeta,
.heroImageOverlay,
.heroVideoCaption{
  display:none !important;
}
@media (max-width: 1180px){
  .heroGrid{
    grid-template-columns:minmax(300px,.86fr) minmax(0,1.14fr) !important;
    gap:28px !important;
  }
  .heroVideoFrame{
    min-height:500px !important;
    height:500px !important;
  }
}
@media (max-width: 980px){
  .heroGrid{grid-template-columns:1fr !important; gap:22px !important;}
  .heroVideoFrame{
    min-height:420px !important;
    height:420px !important;
  }
}
@media (max-width: 640px){
  .hero h1{font-size:clamp(34px,12vw,52px) !important; max-width:none !important;}
  .hero p{max-width:none !important;}
  .heroVideoFrame{
    min-height:320px !important;
    height:320px !important;
  }
}


/* v6 hero poster fix: keep poster stable until media is actually ready */
.heroGrid{
  grid-template-columns:minmax(320px,.74fr) minmax(0,1.26fr) !important;
}
.heroVideoFrame{
  min-height:520px !important;
  height:520px !important;
}
.heroConsentPreview,
.heroConsentMedia,
.heroMediaStage,
.heroMediaPreview,
.heroMediaLive,
.heroImageMedia,
.heroVideoMedia,
.heroYoutubeFrame,
.heroConsentPoster{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
}
.heroMediaStage{
  overflow:hidden;
  border-radius:22px;
  background:#000;
}
.heroMediaPreview{
  z-index:1;
  opacity:1;
  transition:opacity .28s ease;
}
.heroMediaLive{
  z-index:2;
  opacity:0;
  transition:opacity .28s ease;
  background:#000;
}
.heroConsentMedia.is-ready .heroMediaLive,
.heroConsentMedia.is-playing .heroMediaLive{
  opacity:1;
}
.heroConsentMedia.is-ready .heroMediaPreview,
.heroConsentMedia.is-playing .heroMediaPreview{
  opacity:0;
  pointer-events:none;
}
.heroConsentPreview,
.heroConsentPoster,
.heroImageMedia,
.heroVideoMedia,
.heroYoutubeFrame{
  object-fit:cover !important;
  object-position:center center !important;
}
.heroConsentButton{
  z-index:4 !important;
}
@media (max-width: 1180px){
  .heroGrid{
    grid-template-columns:minmax(300px,.82fr) minmax(0,1.18fr) !important;
  }
  .heroVideoFrame{
    min-height:470px !important;
    height:470px !important;
  }
}
@media (max-width: 980px){
  .heroVideoFrame{
    min-height:400px !important;
    height:400px !important;
  }
}


/* v7 hero repair */
.heroGrid{
  grid-template-columns:minmax(0,.96fr) minmax(0,1.34fr) !important;
  gap:40px !important;
  align-items:center !important;
}
.heroCopy{
  min-width:0 !important;
  max-width:540px !important;
  padding-right:10px !important;
}
.hero h1{
  font-size:clamp(40px,4.8vw,72px) !important;
  line-height:.94 !important;
  letter-spacing:-.045em !important;
  max-width:8.6ch !important;
  overflow:visible !important;
  word-break:normal !important;
  overflow-wrap:break-word !important;
}
.hero p{
  max-width:36ch !important;
}
.heroVideoPanel{
  width:100% !important;
}
.heroVideoFrame{
  position:relative !important;
  min-height:390px !important;
  height:390px !important;
  border-radius:24px !important;
  overflow:hidden !important;
  background:#111 !important;
}
.heroConsentMedia,
.heroMediaStage,
.heroMediaPreview,
.heroMediaLive{
  position:absolute !important;
  inset:0 !important;
}
.heroMediaStage{
  border-radius:24px !important;
  overflow:hidden !important;
  background:#111 !important;
}
.heroConsentPreview{
  position:absolute !important;
  inset:0 !important;
  cursor:pointer !important;
  background:#111 !important;
}
.heroConsentPoster,
.heroImageMedia{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:#111 !important;
}
.heroVideoMedia,
.heroYoutubeFrame{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  border:0 !important;
}
.heroVideoMedia{object-fit:cover !important;}
.heroConsentShade{
  position:absolute !important;
  inset:0 !important;
  background:linear-gradient(180deg,rgba(0,0,0,.02) 0%, rgba(0,0,0,0) 62%, rgba(0,0,0,.22) 100%) !important;
}
.heroConsentFooter{
  position:absolute !important;
  left:18px !important;
  bottom:18px !important;
  right:auto !important;
  display:block !important;
  z-index:4 !important;
}
.heroConsentButton{
  position:relative !important;
  left:auto !important;
  bottom:auto !important;
  top:auto !important;
  transform:none !important;
  pointer-events:none !important;
}
.heroMediaLive{
  opacity:0 !important;
  transition:opacity .25s ease !important;
  background:#111 !important;
}
.heroConsentMedia.is-ready .heroMediaLive,
.heroConsentMedia.is-playing .heroMediaLive{
  opacity:1 !important;
}
.heroConsentMedia.is-ready .heroMediaPreview,
.heroConsentMedia.is-playing .heroMediaPreview{
  opacity:0 !important;
  pointer-events:none !important;
}
@media (max-width: 1180px){
  .heroGrid{
    grid-template-columns:minmax(0,1fr) minmax(0,1.18fr) !important;
    gap:28px !important;
  }
  .heroVideoFrame{
    min-height:350px !important;
    height:350px !important;
  }
}
@media (max-width: 980px){
  .heroGrid{grid-template-columns:1fr !important; gap:22px !important;}
  .heroCopy{max-width:none !important; padding-right:0 !important;}
  .hero h1{max-width:10ch !important;}
  .heroVideoFrame{
    min-height:320px !important;
    height:320px !important;
  }
}
@media (max-width: 640px){
  .hero h1{
    font-size:clamp(34px,11vw,52px) !important;
    max-width:none !important;
  }
  .hero p{max-width:none !important;}
  .heroVideoFrame{
    min-height:260px !important;
    height:260px !important;
  }
}


/* v8 hero hard fix */
.hero{padding:32px 0 20px !important}
.heroGrid{
  display:grid !important;
  grid-template-columns:minmax(0,0.92fr) minmax(0,1.38fr) !important;
  gap:36px !important;
  align-items:center !important;
}
.heroCopy,
.heroVideoPanel{
  min-width:0 !important;
}
.heroCopy{
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
  max-width:none !important;
}
.hero .eyebrow{
  display:inline-flex !important;
  max-width:none !important;
  margin:0 0 14px !important;
}
.hero h1{
  font-size:clamp(58px,5.6vw,78px) !important;
  line-height:.95 !important;
  letter-spacing:-.04em !important;
  max-width:7.2ch !important;
  margin:0 0 18px !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
  hyphens:none !important;
}
.hero p{
  max-width:34rem !important;
  font-size:30px !important;
  margin:0 0 22px !important;
}
.heroActions{
  margin-top:0 !important;
}
.heroVideoPanel{
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
}
.heroVideoFrame{
  position:relative !important;
  width:100% !important;
  min-height:0 !important;
  height:auto !important;
  aspect-ratio:16 / 9 !important;
  border-radius:22px !important;
  overflow:hidden !important;
  background:#0f1115 !important;
}
.heroConsentMedia,
.heroMediaStage,
.heroMediaPreview,
.heroMediaLive,
.heroConsentPreview,
.heroConsentPoster,
.heroImageMedia,
.heroVideoMedia,
.heroYoutubeFrame{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
}
.heroConsentPoster,
.heroImageMedia,
.heroVideoMedia,
.heroYoutubeFrame{
  object-fit:cover !important;
  object-position:center center !important;
}
.heroConsentPreview{
  cursor:pointer !important;
  background:#0f1115 !important;
}
.heroConsentShade{
  position:absolute !important;
  inset:0 !important;
  background:linear-gradient(180deg,rgba(0,0,0,.03) 0%, rgba(0,0,0,0) 55%, rgba(0,0,0,.34) 100%) !important;
}
.heroConsentFooter{
  position:absolute !important;
  left:18px !important;
  bottom:18px !important;
  right:auto !important;
  display:block !important;
  z-index:5 !important;
}
.heroConsentButton{
  position:relative !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:0 !important;
  left:auto !important;
  bottom:auto !important;
  transform:none !important;
  pointer-events:none !important;
}
.heroConsentMeta,
.heroImageOverlay,
.heroVideoOverlay,
.heroVideoCaption,
.heroVideoTitle,
.heroVideoPlay{display:none !important}
.heroMediaLive{
  opacity:0 !important;
  transition:opacity .2s ease !important;
  z-index:2 !important;
  background:#0f1115 !important;
}
.heroConsentMedia.is-ready .heroMediaLive,
.heroConsentMedia.is-playing .heroMediaLive{
  opacity:1 !important;
}
.heroConsentMedia.is-ready .heroMediaPreview,
.heroConsentMedia.is-playing .heroMediaPreview{
  opacity:0 !important;
  pointer-events:none !important;
}
@media (max-width: 1100px){
  .heroGrid{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) !important; gap:28px !important;}
  .hero h1{font-size:clamp(48px,6vw,68px) !important; max-width:8ch !important;}
}
@media (max-width: 900px){
  .heroGrid{grid-template-columns:1fr !important; gap:22px !important;}
  .hero h1{max-width:none !important; font-size:clamp(42px,10vw,64px) !important;}
  .hero p{max-width:none !important;}
}


/* v9 hero final: exact split layout like reference */
.noticeBar{display:none !important;}
.hero{
  padding:34px 0 24px !important;
}
.heroGrid{
  display:grid !important;
  grid-template-columns:minmax(0,0.9fr) minmax(0,1.4fr) !important;
  gap:42px !important;
  align-items:start !important;
}
.heroCopy,
.heroVideoPanel{
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  padding:0 !important;
  min-width:0 !important;
}
.heroCopy{max-width:none !important;}
.hero .eyebrow{
  display:inline-flex !important;
  align-items:center;
  min-height:28px;
  padding:0 14px !important;
  border:1px solid var(--line) !important;
  border-radius:999px !important;
  font-size:12px !important;
  letter-spacing:.09em !important;
  text-transform:uppercase !important;
  color:var(--muted) !important;
  margin-bottom:18px !important;
}
.hero h1{
  display:block !important;
  max-width:none !important;
  width:100% !important;
  font-size:clamp(56px,6.2vw,78px) !important;
  line-height:.95 !important;
  letter-spacing:-.04em !important;
  margin:0 0 20px !important;
  overflow:visible !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
  hyphens:none !important;
}
.hero p{
  max-width:640px !important;
  font-size:18px !important;
  line-height:1.65 !important;
  margin:0 !important;
}
.heroActions{
  margin-top:28px !important;
  display:flex !important;
  gap:14px !important;
  flex-wrap:wrap !important;
}
.heroActions .btn{
  min-height:52px;
  padding:0 18px !important;
}
.heroCopy::after,
.heroVideoPanel::before,
.heroVideoPanel::after,
.heroVideoTitle,
.heroVideoCaption,
.heroConsentShade,
.heroConsentFooter,
.heroConsentMeta,
.heroImageOverlay,
.heroVideoOverlay,
.heroVideoPlay{display:none !important;}
.heroVideoPanel{align-self:start !important;}
.heroVideoFrame{
  position:relative !important;
  min-height:0 !important;
  aspect-ratio:16 / 9 !important;
  width:100% !important;
  border-radius:0 !important;
  overflow:hidden !important;
  background:#000 !important;
  box-shadow:none !important;
}
.heroConsentMedia,
.heroMediaStage,
.heroMediaPreview,
.heroMediaLive,
.heroConsentPreview,
.heroConsentPoster,
.heroImageMedia,
.heroVideoMedia,
.heroYoutubeFrame{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
}
.heroConsentPreview{
  display:block !important;
  cursor:pointer !important;
  background:#000 !important;
}
.heroConsentPoster,
.heroImageMedia,
.heroVideoMedia,
.heroYoutubeFrame{
  object-fit:cover !important;
  object-position:center center !important;
  border:0 !important;
}
.heroConsentButton{
  position:absolute !important;
  left:18px !important;
  bottom:18px !important;
  z-index:3 !important;
  width:auto !important;
  min-width:0 !important;
  border-radius:14px !important;
  box-shadow:none !important;
}
@media (max-width: 1100px){
  .heroGrid{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) !important; gap:28px !important;}
  .hero h1{font-size:clamp(46px,5.6vw,64px) !important;}
  .hero p{font-size:17px !important;}
}
@media (max-width: 860px){
  .heroGrid{grid-template-columns:1fr !important; gap:22px !important;}
  .hero h1{font-size:clamp(40px,12vw,56px) !important;}
  .heroVideoFrame{aspect-ratio:16 / 10 !important;}
}

/* v8 hero + gallery improvements */
.hero{
  padding:32px 0 22px;
}
.heroGrid{
  grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) !important;
  gap:34px !important;
  align-items:center !important;
}
.heroCopy{
  min-width:0;
  padding-top:0 !important;
}
.hero h1{
  max-width:none !important;
  font-size:clamp(36px,4.6vw,66px) !important;
  line-height:1.02 !important;
  letter-spacing:-.045em !important;
  text-wrap:balance;
}
.hero p{
  max-width:52ch !important;
  font-size:17px !important;
  line-height:1.68 !important;
}
.heroVideoPanel{
  min-width:0;
}
.heroVideoFrame{
  min-height:600px !important;
  height:600px !important;
  width:100%;
}
.heroConsentPreview,
.heroConsentMedia,
.heroMediaStage,
.heroMediaPreview,
.heroMediaLive,
.heroImageMedia,
.heroVideoMedia,
.heroYoutubeFrame,
.heroConsentPoster{
  border-radius:24px !important;
}
.heroConsentPoster,
.heroImageMedia,
.heroVideoMedia,
.heroYoutubeFrame{
  object-fit:cover;
}
@media (max-width: 1180px){
  .heroGrid{
    grid-template-columns:minmax(0,.95fr) minmax(0,1.2fr) !important;
    gap:24px !important;
  }
  .heroVideoFrame{
    min-height:520px !important;
    height:520px !important;
  }
}
@media (max-width: 980px){
  .heroGrid{
    grid-template-columns:1fr !important;
    align-items:start !important;
  }
  .hero h1,
  .hero p{
    max-width:none !important;
  }
  .heroVideoFrame{
    min-height:420px !important;
    height:420px !important;
  }
}
@media (max-width: 640px){
  .heroVideoFrame{
    min-height:300px !important;
    height:300px !important;
  }
}

.entryList{
  display:grid;
  gap:20px;
}
.entryRich{
  display:grid;
  grid-template-columns:minmax(220px,320px) minmax(0,1fr);
  gap:22px;
  align-items:start;
}
.entryType-media,
.entryType-press{
  border-radius:24px;
}
.entryCoverWrap{
  position:relative;
}
.entryCover{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:20px;
  border:1px solid var(--card-border);
  display:block;
}
.entryBody{
  min-width:0;
}
.entryBody > p{
  margin-bottom:16px;
}
.entryActions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}
.galleryMosaic{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);
  gap:12px;
  margin-top:16px;
}
.galleryMosaic.is-single{
  grid-template-columns:1fr;
}
.galleryMosaicHero,
.galleryThumb{
  position:relative;
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
}
.galleryMosaicHero img,
.galleryThumb img{
  width:100%;
  display:block;
  border-radius:18px;
  border:1px solid var(--card-border);
  object-fit:cover;
}
.galleryMosaicHero img{
  aspect-ratio:16/10;
}
.galleryMosaicGrid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
}
.galleryThumb img{
  aspect-ratio:1/1;
}
.galleryCount{
  position:absolute;
  left:14px;
  bottom:14px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(19,24,29,.78);
  color:#fff;
  font-size:13px;
  font-weight:700;
}
.videoEmbedGrid{
  display:grid;
  gap:14px;
  margin-top:16px;
}
.videoCard{
  border:1px solid var(--card-border);
  background:#fff;
  border-radius:18px;
  overflow:hidden;
}
.videoCardLink{
  display:grid;
  grid-template-columns:64px 1fr;
  align-items:center;
  text-decoration:none;
}
.videoLinkIcon{
  display:grid;
  place-items:center;
  height:100%;
  min-height:88px;
  font-size:24px;
  font-weight:800;
  border-right:1px solid var(--card-border);
}
.videoFrameWrap{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  background:#111;
}
.videoEmbed{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}
.videoCardBody{
  padding:14px 16px;
}
.videoCardBody strong{
  display:block;
  font-size:16px;
  margin-bottom:4px;
}
.videoCardBody p{
  margin:0;
  color:var(--muted);
}
.galleryLightbox{
  position:fixed;
  inset:0;
  background:rgba(10,14,18,.86);
  display:grid;
  place-items:center;
  padding:24px;
  z-index:3000;
}
.galleryLightbox[hidden]{display:none !important}
.galleryLightboxImage{
  max-width:min(1200px,92vw);
  max-height:88vh;
  border-radius:18px;
  box-shadow:0 20px 60px rgba(0,0,0,.35);
}
.galleryLightboxClose{
  position:absolute;
  top:18px;
  right:18px;
  width:46px;
  height:46px;
  border-radius:999px;
  border:0;
  font-size:30px;
  line-height:1;
  cursor:pointer;
}
@media (max-width: 980px){
  .entryRich{
    grid-template-columns:1fr;
  }
  .galleryMosaic{
    grid-template-columns:1fr;
  }
}
@media (max-width: 640px){
  .galleryMosaicGrid{
    grid-template-columns:repeat(2,1fr);
  }
  .entryActions{
    flex-direction:column;
  }
}


.todayDashboard{
  display:grid;
  gap:18px;
  margin-top:18px;
}
.todayDashboard.has-waste{
  grid-template-columns:minmax(0,1.45fr) minmax(280px,.75fr);
  align-items:start;
}

.todayDashboard.has-aside{
  grid-template-columns:minmax(0,1.45fr) minmax(280px,.75fr);
  align-items:start;
}
.weatherPanel{
  padding:18px;
  background:linear-gradient(180deg,#fff 0%,rgba(255,255,255,.92) 100%);
  border:1px solid var(--card-border);
  border-radius:20px;
  box-shadow:var(--shadow-soft);
}
.weatherCardTop{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:14px;
  align-items:center;
  margin-bottom:14px;
}
.weatherNowIcon{
  width:58px;
  height:58px;
  border-radius:18px;
  display:grid;
  place-items:center;
  font-size:30px;
  background:rgba(31,137,217,.10);
}
.weatherNowMeta{
  display:grid;
  gap:4px;
}
.weatherNowMeta strong{
  font-size:30px;
  line-height:1;
}
.weatherNowMeta span,
.weatherNowMeta small,
.weatherNote{
  color:var(--muted);
}
.weatherStats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.weatherStats div{
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px;
  background:rgba(255,255,255,.75);
  display:grid;
  gap:4px;
}
.weatherStats span{
  color:var(--muted);
  font-size:13px;
}
.weatherStats strong{
  font-size:16px;
}
.weatherBadge{
  background:rgba(31,137,217,.12);
  color:#155c8f;
  width:max-content;
}
.weatherNote{
  margin-top:12px;
  font-size:13px;
}
.todayDashboardMain{min-width:0}
.todayDashboardBelow{
  margin-top:18px;
}
.todayDashboardBelow .weatherPanel{
  width:100%;
}
.wastePanel{
  padding:18px;
  background:linear-gradient(180deg,#fff 0%,rgba(255,255,255,.92) 100%);
  border:1px solid var(--card-border);
  border-radius:20px;
  box-shadow:var(--shadow-soft);
}
.wasteList{
  display:grid;
  gap:12px;
}
.todayCardTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.eventBadge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(26,169,90,.12);
  color:#1d6d44;
  font-size:12px;
  font-weight:800;
  letter-spacing:.03em;
  white-space:nowrap;
}
.eventBadge.is-waste{
  background:rgba(239,80,48,.12);
  color:#a23a22;
}
.galleryLightbox{
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:18px;
}
.galleryLightboxFigure{
  margin:0;
  display:grid;
  gap:12px;
  justify-items:center;
}
.galleryLightboxCaption{
  color:rgba(255,255,255,.86);
  font-size:14px;
  text-align:center;
}
.galleryLightboxNav,
.galleryLightboxClose{
  background:rgba(255,255,255,.96);
  color:#111;
  box-shadow:0 10px 26px rgba(0,0,0,.22);
}
.galleryLightboxNav{
  width:54px;
  height:54px;
  border-radius:999px;
  border:0;
  font-size:34px;
  line-height:1;
  cursor:pointer;
}
body.lightboxOpen{overflow:hidden}

@media (max-width: 980px){
  .todayDashboard.has-waste{grid-template-columns:1fr}
  .todayDashboard.has-aside{grid-template-columns:1fr}
}
@media (max-width: 720px){
  .weatherStats{grid-template-columns:1fr}
  .galleryLightbox{
    grid-template-columns:1fr;
    place-items:center;
  }
  .galleryLightboxNav{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
  }
  .galleryLightboxNav.is-prev{left:12px}
  .galleryLightboxNav.is-next{right:12px}
}


.collapsiblePanel{
  border:0;
  margin:0;
  padding:0;
}
.collapsiblePanel > summary{
  list-style:none;
}
.collapsiblePanel > summary::-webkit-details-marker{
  display:none;
}
.collapsibleSummary{
  cursor:pointer;
}
.collapsibleSummary .sectionHead{
  margin-bottom:0;
  padding-right:38px;
  position:relative;
}
.collapsibleSummary .sectionHead::after{
  content:'▾';
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  font-size:18px;
  line-height:1;
  color:var(--muted);
  transition:transform .2s ease;
}
.collapsiblePanel[open] .collapsibleSummary .sectionHead::after{
  transform:translateY(-50%) rotate(180deg);
}
.collapsibleMeta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(47,49,56,.06);
  color:var(--muted);
  font-size:12px;
  font-weight:800;
  letter-spacing:.02em;
  white-space:nowrap;
}
.collapsibleBody{
  padding-top:14px;
}


/* --- Smart dashboard / mobile polish --- */
.todayFeatureWrap{margin:0 0 18px}
.featuredEventCard{
  padding:20px;
  border:1px solid var(--card-border);
  border-radius:22px;
  background:linear-gradient(180deg,#fff 0%,rgba(255,255,255,.94) 100%);
  box-shadow:var(--shadow-soft);
}
.featuredEventHead{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content:space-between;
  margin-bottom:10px;
}
.featuredEventMeta{
  color:var(--muted);
  font-size:14px;
  font-weight:700;
}
.featuredEventCard h3{
  margin:0 0 10px;
  font-size:28px;
  line-height:1.05;
}
.featuredEventCard p{
  margin:0;
  color:var(--muted);
}
.featuredEventActions{margin-top:14px;display:flex;gap:12px;flex-wrap:wrap}
.todayCard,
.agendaItem,
.entry,
.card,
.docCard,
.mapLocationCard,
.galleryCard,
.weatherPanel,
.wastePanel{
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.todayCard:hover,
.agendaItem:hover,
.entry:hover,
.card:hover,
.docCard:hover,
.mapLocationCard:hover,
.galleryCard:hover,
.weatherPanel:hover,
.wastePanel:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(47,49,56,.10);
}
@media (max-width: 860px){
  .hero{padding:22px 0 8px}
  .heroGrid,
  .pageHeroGrid,
  .grid2,
  .todayDashboard.has-waste,
  .todayDashboard.has-aside,
  .calendarToolsPanel{
    grid-template-columns:1fr !important;
    display:grid;
  }
  .heroCopy p,
  .pageHero p{font-size:16px;max-width:none}
  .todayPanel,
  .calendarToolsPanel,
  .agendaPanel,
  .mapPanel,
  .featuredEventCard{padding:18px}
  .featuredEventCard h3{font-size:24px}
}
@media (max-width: 640px){
  .hero{padding:16px 0 4px}
  .pageHero,
  .pageHeroSoft{padding:24px 0 10px}
  .pageQuote{padding:24px}
  .pageQuote p{font-size:24px}
  .featuredImagePanel{padding:12px}
  .pageHero h1,
  .heroCopy h1{font-size:34px;line-height:1.02}
  .todayActions,
  .calendarTools,
  .mapActions,
  .featuredEventActions{flex-direction:column;align-items:stretch}
  .todayGrid{grid-template-columns:1fr;gap:14px}
  .weatherStats{grid-template-columns:1fr}
  .calendarToolsPanel{gap:14px}
  .todayEmpty,
  .todayFallback,
  .todayLoading{padding:15px}
}


/* Large dedicated map page */
body[data-page="map"] .mapPageWrap{
  width:min(1700px, calc(100vw - 32px));
  max-width:min(1700px, calc(100vw - 32px));
}

body[data-page="map"] .mapPanelLarge{
  padding:18px 18px 22px;
}

body[data-page="map"] .mapModuleLayout{
  grid-template-columns:minmax(0, 1.6fr) minmax(320px, .7fr);
  gap:20px;
}

body[data-page="map"] .villageMapShell{
  padding:12px;
}

body[data-page="map"] .villageMapFrame{
  min-height:78vh;
  border-radius:24px;
}

body[data-page="map"] .mapLocations{
  max-height:78vh;
}

@media (max-width: 1200px){
  body[data-page="map"] .mapPageWrap{
    width:min(100%, calc(100vw - 24px));
    max-width:min(100%, calc(100vw - 24px));
  }

  body[data-page="map"] .mapModuleLayout{
    grid-template-columns:minmax(0, 1.28fr) minmax(280px, .72fr);
  }
}

@media (max-width: 980px){
  body[data-page="map"] .villageMapFrame{
    min-height:62vh;
  }

  body[data-page="map"] .mapLocations{
    max-height:none;
  }
}


/* v7 hero frame details */
.heroVideoPanelShell{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.heroPanelHeading{
  font-size:13px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--muted);
  margin:0 4px;
}
.heroPanelText,
.heroPanelCaption{
  margin:0 4px;
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
  max-width:64ch;
}
.heroVideoPanel .heroVideoFrame{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(47,49,56,.12) !important;
  box-shadow:0 18px 42px rgba(20,24,28,.14), inset 0 0 0 1px rgba(255,255,255,.32) !important;
}
.heroVideoPanel .heroVideoFrame::after{
  content:'';
  position:absolute;
  inset:10px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:16px;
  pointer-events:none;
}
@media (max-width: 640px){
  .heroPanelHeading{
    margin:0 2px;
    font-size:12px;
    letter-spacing:.12em;
  }
  .heroPanelText,
  .heroPanelCaption{
    margin:0 2px;
    font-size:13px;
  }
}


/* v8 admin + map fixes */
body[data-page="map"] .mapPageWrap{
  width:min(1700px, calc(100vw - 32px));
  max-width:min(1700px, calc(100vw - 32px));
}

body[data-page="map"] .mapPanelLarge{
  padding:18px 18px 22px;
}

body[data-page="map"] .mapModuleLayout{
  grid-template-columns:minmax(0, 1.6fr) minmax(320px, .7fr);
  gap:20px;
  align-items:start;
}

body[data-page="map"] .villageMapShell{
  padding:12px;
}

body[data-page="map"] .villageMapFrame{
  min-height:78svh;
  min-height:78vh;
  border-radius:24px;
}

body[data-page="map"] .mapLocations{
  max-height:78svh;
  max-height:78vh;
}

@media (max-width: 1200px){
  body[data-page="map"] .mapPageWrap{
    width:min(100%, calc(100vw - 24px));
    max-width:min(100%, calc(100vw - 24px));
  }

  body[data-page="map"] .mapModuleLayout{
    grid-template-columns:minmax(0, 1.28fr) minmax(280px, .72fr);
  }
}

@media (max-width: 980px){
  body[data-page="map"] .pageHeroGrid{
    grid-template-columns:1fr;
  }

  body[data-page="map"] .mapModuleLayout{
    grid-template-columns:1fr;
  }

  body[data-page="map"] .villageMapFrame{
    min-height:68svh;
    min-height:68vh;
  }

  body[data-page="map"] .mapLocations{
    max-height:none;
  }
}

@media (max-width: 720px){
  body[data-page="map"] .section.mapPageSection{
    padding-top:14px;
  }

  body[data-page="map"] .mapPageWrap{
    width:calc(100vw - 16px);
    max-width:calc(100vw - 16px);
  }

  body[data-page="map"] .mapPanelLarge{
    padding:10px;
    border-radius:22px;
  }

  body[data-page="map"] .villageMapShell{
    padding:8px;
    border-radius:18px;
  }

  body[data-page="map"] .villageMapFrame{
    min-height:72svh;
    min-height:72vh;
    border-radius:16px;
  }
}


/* final home fix: compact dashboard + clean hero */
body[data-page="home"] .heroGrid{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  align-items:stretch !important;
  gap:24px !important;
}
body[data-page="home"] .heroCopy,
body[data-page="home"] .heroVideoPanel{
  min-height:560px !important;
  height:100% !important;
}
body[data-page="home"] .heroCopy{
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  padding:32px !important;
}
body[data-page="home"] .heroVideoPanel{
  background:var(--surface) !important;
  border:1px solid var(--line) !important;
  border-radius:28px !important;
  box-shadow:var(--shadow-soft) !important;
  padding:16px !important;
}
body[data-page="home"] .heroVideoPanel::before,
body[data-page="home"] .heroVideoPanel::after,
body[data-page="home"] .heroVideoTitle,
body[data-page="home"] .heroPanelHeading,
body[data-page="home"] .heroPanelText,
body[data-page="home"] .heroVideoCaption,
body[data-page="home"] .heroConsentButton,
body[data-page="home"] .heroConsentMeta,
body[data-page="home"] .heroConsentFooter,
body[data-page="home"] .heroConsentShade,
body[data-page="home"] .heroVideoOverlay,
body[data-page="home"] .heroImageOverlay,
body[data-page="home"] .heroVideoPlay{display:none !important;}
body[data-page="home"] .heroVideoPanelShell,
body[data-page="home"] .heroVideoFrame{
  height:100% !important;
  min-height:0 !important;
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  padding:0 !important;
}
body[data-page="home"] .heroYoutubeFrame,
body[data-page="home"] .heroVideoMedia,
body[data-page="home"] .heroImageMedia{
  width:100% !important;
  height:100% !important;
  min-height:528px !important;
  border-radius:20px !important;
  display:block !important;
  object-fit:cover !important;
  border:1px solid var(--line) !important;
}
body[data-page="home"] .todayPanel{padding:28px !important;}
body[data-page="home"] .todayCompactRow{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin:8px 0 18px;
}
body[data-page="home"] .todayMiniCard{
  display:flex;
  align-items:center;
  gap:14px;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--surface);
  padding:14px 16px;
}
body[data-page="home"] .todayMiniIcon{
  width:44px;
  height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  font-size:22px;
  background:var(--surface-soft);
  flex:0 0 44px;
}
body[data-page="home"] .todayMiniLabel{
  font-size:12px;
  line-height:1;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:6px;
  font-weight:800;
}
body[data-page="home"] .todayMiniBody strong{
  display:block;
  font-size:19px;
  line-height:1.2;
}
body[data-page="home"] .todayMiniBody span{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:14px;
}
body[data-page="home"] .todayDashboardSimple{margin-top:4px;}
body[data-page="home"] .todayDashboardBelow,
body[data-page="home"] .weatherPanel,
body[data-page="home"] .wastePanel,
body[data-page="home"] .todayFeatureWrap{display:none !important;}
body[data-page="home"] .mapPanel{padding:24px !important;}
body[data-page="home"] .villageMapFrame{min-height:480px !important;}
@media (max-width: 980px){
  body[data-page="home"] .heroGrid{grid-template-columns:1fr !important;}
  body[data-page="home"] .heroCopy,
  body[data-page="home"] .heroVideoPanel{min-height:auto !important;}
  body[data-page="home"] .heroYoutubeFrame,
  body[data-page="home"] .heroVideoMedia,
  body[data-page="home"] .heroImageMedia{min-height:360px !important;}
  body[data-page="home"] .todayCompactRow{grid-template-columns:1fr;}
}
@media (max-width: 640px){
  body[data-page="home"] .heroYoutubeFrame,
  body[data-page="home"] .heroVideoMedia,
  body[data-page="home"] .heroImageMedia{min-height:280px !important;}
  body[data-page="home"] .villageMapFrame{min-height:340px !important;}
}
