/* Schriften lokal (SIL Open Font License), keine Google-Server */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url("../Fonts/fraunces-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("../Fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 400; font-display: swap; src: url("../Fonts/source-sans-3-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("../Fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("../Fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }

:root {
  --c-accent: #951a1d;
  --c-accent-dark: #650f11;
  --c-accent-soft: #f6eceb;
  --c-gold: #b88a3e;
  --c-text: #2a2523;
  --c-muted: #6f6660;
  --c-bg: #fbf9f6;
  --c-card: #ffffff;
  --c-line: #ebe4dc;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(42, 37, 35, .04), 0 6px 20px rgba(42, 37, 35, .06);
  --font: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font: 18px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-accent-dark); }
p { margin: 0 0 .9em; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--c-text);
  margin: 1.6em 0 .55em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: .3em; }
hr { border: 0; border-top: 1px solid var(--c-line); margin: 2em 0; }
b, strong { font-weight: 700; }
table { border-collapse: collapse; max-width: 100%; }
td, th { padding: 6px 10px; border-bottom: 1px solid var(--c-line); vertical-align: top; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 50; }

/* ---------- Kopf ---------- */
.site-header {
  background: var(--c-accent);
  border-bottom: 3px solid var(--c-accent-dark);
  position: sticky; top: 0; z-index: 30;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; }
.brand { display: flex; align-items: center; min-width: 0; padding: 10px 0; }
.brand-logo { height: 56px; width: auto; max-width: 100%; }

.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; gap: 2px; }
.main-nav li { position: relative; margin: 0; }
.main-nav a {
  display: block; padding: 10px 14px; border-radius: 8px;
  color: #fff; text-decoration: none; font-weight: 600; font-size: 1rem;
}
.main-nav > ul > li > a { position: relative; color: rgba(255,255,255,.9); }
.main-nav > ul > li.active > a { color: #fff; }
.main-nav > ul > li.active > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: #fff; border-radius: 2px;
}
.main-nav > ul > li > a:hover { background: rgba(255,255,255,.12); color: #fff; }
.main-nav li ul {
  position: absolute; left: 0; top: calc(100% + 6px); min-width: 250px;
  background: var(--c-card); border: 1px solid var(--c-line); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(42,37,35,.18); padding: 6px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease;
}
.main-nav li ul a { color: var(--c-text); font-weight: 400; }
.main-nav li ul a:hover { background: var(--c-accent-soft); color: var(--c-accent); }
.main-nav li ul li.active > a { color: var(--c-accent); font-weight: 600; }
.main-nav li:hover > ul, .main-nav li:focus-within > ul { opacity: 1; visibility: visible; transform: none; }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-label { display: none; cursor: pointer; padding: 10px; border-radius: 8px; }
.nav-toggle-label span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .2s; }

/* ---------- Banner Startseite ---------- */
.hero {
  position: relative; color: #fff;
  background-size: cover; background-position: center 35%;
  min-height: clamp(280px, 42vw, 460px);
  display: flex; align-items: flex-end;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,10,10,.05) 20%, rgba(40,12,12,.78) 100%);
}
.hero-inner { position: relative; width: 100%; padding-top: 48px; padding-bottom: 40px; }
.hero-title { color: #fff; margin: 0 0 .25em; font-size: clamp(2rem, 5vw, 3.4rem); text-shadow: 0 2px 16px rgba(0,0,0,.3); }
.hero-text { margin: 0; font-size: clamp(1rem, 2vw, 1.25rem); opacity: .95; }

/* ---------- Inhalt ---------- */
.site-main { padding-top: 40px; padding-bottom: 64px; }
.columns { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.columns:has(> .col-side:empty) { grid-template-columns: minmax(0, 820px); }
.col-side:empty { display: none; }
.col-main > .frame:first-child > header:first-child > :first-child,
.col-main > .frame:first-child > :first-child { margin-top: 0; }
.frame { margin-bottom: 2.2em; }
.frame > header h1, .frame > header h2, .frame > header h3 { margin-top: 0; }
.frame-type-text, .frame-type-textpic { max-width: 72ch; }
.frame-type-textpic, .frame-type-image { max-width: none; }

.col-side > .frame {
  background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 20px 22px; margin-bottom: 20px; font-size: .95rem; box-shadow: var(--shadow);
}
.col-side > .frame > header h1, .col-side > .frame > header h2, .col-side > .frame > header h3 {
  font-size: 1.15rem; margin: 0 0 .6em;
}
.col-side > .frame > :last-child, .col-side .ce-bodytext > :last-child { margin-bottom: 0; }
.col-side .frame-type-textpic .ce-textpic { display: flex; align-items: center; gap: 14px; }
.col-side .frame-type-textpic .ce-gallery { flex: none; width: 48px; margin: 0 !important; float: none; }
.col-side .frame-type-textpic .ce-gallery img { width: 48px; height: auto; border-radius: 10px; }
.col-side .frame-type-textpic .ce-gallery .ce-outer,
.col-side .frame-type-textpic .ce-gallery .ce-inner,
.col-side .frame-type-textpic .ce-gallery .ce-row,
.col-side .frame-type-textpic .ce-gallery .ce-column,
.col-side .frame-type-textpic .ce-gallery figure { float: none !important; width: auto !important; margin: 0 !important; right: auto !important; }
.col-side .frame-type-textpic .ce-bodytext { margin: 0 !important; font-weight: 600; }
.col-side .frame-type-textpic .ce-bodytext a { text-decoration: none; }
.col-side .frame-type-textpic .ce-bodytext a:hover { text-decoration: underline; }
.col-side .frame-type-textpic .ce-bodytext p { margin: 0; }

/* Zwischenüberschriften im Fließtext (alte Inhalte nutzen h3/h4 oft als Hervorhebung) */
.ce-bodytext h3, .ce-bodytext h4, .ce-bodytext h5,
.news-text-wrap h3, .news-text-wrap h4, .news-text-wrap h5 {
  font-family: var(--font); font-weight: 700; font-size: 1.08rem; letter-spacing: 0; line-height: 1.45; margin: 1.1em 0 .4em;
}
.ce-bodytext h3:first-child, .news-text-wrap h3:first-child { margin-top: 0; }
.col-side .ce-bodytext h3, .col-side .ce-bodytext h4 { font-size: 1rem; margin: .8em 0 .2em; }
.col-side .ce-bodytext h3:first-child { margin-top: 0; }

/* Bilder & Galerien */
.ce-gallery img { border-radius: 10px; }
.ce-gallery figure { margin: 0; }
.ce-gallery figcaption, .image-caption { font-size: .88rem; color: var(--c-muted); margin-top: 6px; }
.ce-gallery .ce-row { margin-bottom: 12px; }
.ce-intext.ce-left .ce-gallery { margin-right: 24px; }
.ce-intext.ce-right .ce-gallery { margin-left: 24px; }
.ce-above .ce-gallery { margin-bottom: 18px; }

/* Datei-Listen */
.ce-uploads { list-style: none; padding: 0; }
.ce-uploads li { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--c-line); }

/* ---------- News: Liste ---------- */
.news-list-view { display: grid; gap: 18px; }
.news-card {
  display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 20px;
  background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s;
}
.news-card.has-media { grid-template-columns: 76px minmax(0, 1fr) 200px; }
.news-card:hover { box-shadow: 0 2px 4px rgba(42,37,35,.05), 0 14px 32px rgba(42,37,35,.10); transform: translateY(-1px); }
.date-badge {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 76px; height: 86px; border-radius: 12px;
  background: var(--c-accent-soft); color: var(--c-accent); line-height: 1;
}
.date-day { font-family: var(--font-head); font-size: 2rem; font-weight: 600; }
.date-month { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin-top: 4px; }
.date-year { font-size: .75rem; color: var(--c-muted); margin-top: 4px; }
.news-card-title { font-size: 1.25rem; margin: 0 0 .4em; }
.news-card-title a { color: var(--c-text); text-decoration: none; }
.news-card-title a:hover { color: var(--c-accent); }
.news-card-teaser { font-weight: 600; margin-bottom: .4em; }
.news-card-text { color: var(--c-muted); font-size: .98rem; margin-bottom: .6em; }
.news-card .more { font-weight: 700; text-decoration: none; font-size: .95rem; }
.news-card .more::after { content: " →"; }
.news-card-media img { width: 200px; height: 150px; object-fit: cover; border-radius: 10px; }

/* News: kompakt in der Seitenleiste */
.col-side .news-list-view { gap: 14px; }
.news-mini-zoom { position: relative; display: block; margin-bottom: 8px; }
.news-mini-zoom .news-mini-img { margin: 0; transition: transform .25s, box-shadow .25s; }
.news-mini-zoom:hover .news-mini-img { transform: scale(1.02); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.zoom-hint {
  position: absolute; right: 8px; bottom: 8px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(149,26,29,.9); color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.news-mini-link { display: block; text-decoration: none; color: var(--c-text); }
.news-mini-img { width: 100%; border-radius: 10px; margin-bottom: 8px; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.news-mini-title { display: block; font-weight: 700; line-height: 1.3; }
.news-mini-link:hover .news-mini-title { color: var(--c-accent); }
.news-mini-date { display: block; font-size: .85rem; color: var(--c-muted); }
.col-side .news-mini + .news-mini, .col-side article + article { border-top: 1px solid var(--c-line); padding-top: 14px; }

/* News: Seitenblättern */
.f3-widget-paginator {
  list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center;
}
.f3-widget-paginator li { margin: 0; }
.f3-widget-paginator li > a, .f3-widget-paginator li.current {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px;
  border: 1px solid var(--c-line); border-radius: 10px; background: var(--c-card);
  text-decoration: none; font-weight: 600; color: var(--c-text);
}
.f3-widget-paginator li > a:hover { border-color: var(--c-accent); color: var(--c-accent); }
.f3-widget-paginator li.current { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.f3-widget-paginator li.previous > a, .f3-widget-paginator li.next > a { color: var(--c-accent); }
.f3-widget-paginator li.previous > a::before { content: "← "; white-space: pre; }
.f3-widget-paginator li.next > a::after { content: " →"; white-space: pre; }

/* News: Detail */
.news-detail { max-width: 820px; }
.nd-head { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 22px; align-items: start; margin-bottom: 1.2em; }
.nd-head .date-badge { width: 84px; height: 96px; }
.nd-cats { margin: 0 0 .4em; display: flex; flex-wrap: wrap; gap: 6px; }
.nd-cats span {
  font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--c-accent); background: var(--c-accent-soft); padding: 3px 10px; border-radius: 999px;
}
.nd-title { margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.nd-lead {
  font-size: 1.3rem; font-weight: 600; color: var(--c-accent); line-height: 1.45;
  border-left: 4px solid var(--c-gold); padding: 4px 0 4px 18px; margin: 0 0 1.4em;
}
.nd-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 1.8em; }
.nd-figure { margin: 0; }
.nd-figure a { display: block; overflow: hidden; border-radius: 12px; background: var(--c-line); }
.nd-figure img { width: 100%; height: 130px; object-fit: cover; transition: transform .3s; }
.nd-figure a:hover img { transform: scale(1.04); }
.nd-figure.is-first { grid-column: 1 / -1; }
.nd-figure.is-first a { background: none; display: inline-block; }
.nd-figure.is-first img { width: auto; height: auto; max-width: 100%; max-height: 560px; }
.nd-figure figcaption { font-size: .85rem; color: var(--c-muted); margin-top: 6px; }
.nd-text { font-size: 1.08rem; }
.nd-box {
  margin-top: 2em; padding: 20px 24px; background: var(--c-card);
  border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.nd-box h2 { font-size: 1.2rem; margin: 0 0 .6em; }
.nd-files, .nd-related { list-style: none; padding: 0; margin: 0; }
.nd-files li, .nd-related li { padding: 8px 0; border-top: 1px solid var(--c-line); display: flex; gap: 12px; flex-wrap: wrap; }
.nd-files li:first-child, .nd-related li:first-child { border-top: 0; }
.nd-files span, .nd-related span { color: var(--c-muted); font-size: .9rem; }
.nd-back { margin-top: 2.4em; }
.btn-back {
  display: inline-block; padding: 11px 22px; border-radius: 999px; border: 1px solid var(--c-line);
  background: var(--c-card); text-decoration: none; font-weight: 700; box-shadow: var(--shadow);
}
.btn-back:hover { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }

/* ---------- Lightbox ---------- */
a.lightbox { cursor: zoom-in; }
.lb {
  position: fixed; inset: 0; z-index: 1000; display: none;
  background: rgba(20, 12, 12, .93); align-items: center; justify-content: center; padding: 56px 72px;
}
.lb.is-open { display: flex; animation: lb-in .18s ease; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb-lock, .lb-lock body { overflow: hidden; }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb-img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-caption { color: #eee; margin-top: 12px; text-align: center; font-size: .95rem; max-width: 70ch; }
.lb-caption:empty { display: none; }
.lb button {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; display: grid; place-items: center;
}
.lb button:hover { background: rgba(255,255,255,.25); }
.lb button[hidden] { display: none; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-counter { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #bbb; font-size: .85rem; }

/* Startseite: Plakate in der Seitenleiste als kompaktes Raster */
.col-side .news-list-view:has(.news-mini) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.col-side .news-mini + .news-mini, .col-side article + article { border-top: 0; padding-top: 0; }
.col-side .news-mini-zoom { margin-bottom: 6px; }
.col-side .news-mini-img { aspect-ratio: 1 / 1.414; object-fit: cover; object-position: top; border-radius: 6px; }
.col-side .zoom-hint { width: 24px; height: 24px; right: 4px; bottom: 4px; }
.col-side .zoom-hint svg { width: 13px; height: 13px; }
.col-side .news-mini-title {
  font-size: .78rem; line-height: 1.25; font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.col-side .news-mini-date { display: none; }

/* kompakte Link-Kästen (nur Überschrift mit Link) */
.col-side > .frame:has(> header):not(:has(.ce-bodytext, .ce-gallery, .news, form, ul)) { padding: 14px 20px; }
.col-side > .frame:has(> header):not(:has(.ce-bodytext, .ce-gallery, .news, form, ul)) header h2,
.col-side > .frame:has(> header):not(:has(.ce-bodytext, .ce-gallery, .news, form, ul)) header h3 { margin: 0; font-size: 1.05rem; }
.col-side > .frame header a { text-decoration: none; }
.col-side > .frame header a::after { content: " →"; }
.col-side .ce-bodytext a { overflow-wrap: anywhere; }
.col-side .ce-bodytext p { margin-bottom: .45em; }

/* ---------- Impressum & Datenschutz ---------- */
.is-legal .col-main > .frame:first-child {
  background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px 32px; max-width: none;
}
.is-legal .col-main > .frame:first-child .ce-bodytext p { margin-bottom: .35em; }
.is-legal .col-main > .frame:first-child .ce-bodytext p:has(> b:first-child) { margin-top: 1em; }
.is-legal .col-main > .frame + .frame { margin-top: 2.5em; }
.is-legal .col-main > .frame:not(:first-child) .ce-bodytext { font-size: .97rem; color: #3d3632; }
.is-legal .ce-bodytext h4 { font-size: 1rem; margin: 1.4em 0 .3em; }
.legal-toggle { margin: 1.2em 0 .8em; }
.legal-toggle button {
  background: none; border: 1px solid var(--c-line); border-radius: 999px; padding: 7px 16px;
  font: inherit; font-size: .9rem; font-weight: 600; color: var(--c-accent); cursor: pointer;
}
.legal-toggle button:hover { background: var(--c-accent-soft); }
details.legal-section {
  background: var(--c-card); border: 1px solid var(--c-line); border-radius: 12px; margin-bottom: 8px;
}
details.legal-section > summary {
  cursor: pointer; list-style: none; padding: 14px 44px 14px 18px; font-weight: 700; position: relative;
}
details.legal-section > summary::-webkit-details-marker { display: none; }
details.legal-section > summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--c-accent);
}
details.legal-section[open] > summary::after { content: "–"; }
details.legal-section[open] > summary { border-bottom: 1px solid var(--c-line); }
details.legal-section > :not(summary) { margin-left: 18px; margin-right: 18px; }
details.legal-section > :last-child { margin-bottom: 16px; }

/* ---------- Formular ---------- */
.frame-type-form_formframework {
  background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); max-width: 720px;
}
.frame-type-form_formframework h2 { margin-top: 0; }
.frame-type-form_formframework .form-group { margin-bottom: 16px; }
.frame-type-form_formframework label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.frame-type-form_formframework .required { color: var(--c-accent); }
.frame-type-form_formframework input[type=text],
.frame-type-form_formframework input[type=email],
.frame-type-form_formframework input[type=tel],
.frame-type-form_formframework input[type=number],
.frame-type-form_formframework select,
.frame-type-form_formframework textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #d8cfc5; border-radius: 10px;
  font: inherit; font-size: 1rem; background: #fff; color: var(--c-text); transition: border-color .15s, box-shadow .15s;
}
.frame-type-form_formframework input:focus, .frame-type-form_formframework select:focus, .frame-type-form_formframework textarea:focus {
  outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(138,28,28,.15);
}
.frame-type-form_formframework .form-check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.frame-type-form_formframework .form-check input { margin-top: 6px; accent-color: var(--c-accent); }
.frame-type-form_formframework .actions { margin-top: 8px; }
.frame-type-form_formframework button, .btn-primary {
  background: var(--c-accent); color: #fff; border: 0; border-radius: 999px; padding: 12px 28px;
  font: inherit; font-weight: 700; cursor: pointer; transition: background .15s;
}
.frame-type-form_formframework button:hover { background: var(--c-accent-dark); }
.frame-type-form_formframework .error .form-control { border-color: #b00020; }
.frame-type-form_formframework .help-block, .frame-type-form_formframework .error { color: #b00020; font-size: .9rem; }

/* ---------- Fuß ---------- */
.site-footer { background: #2b1d1b; color: #d9cfc9; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 32px; padding-bottom: 32px; }
.footer-inner strong { color: #fff; }

/* ---------- Mobil ---------- */
@media (max-width: 960px) {
  .columns { grid-template-columns: 1fr; gap: 16px; }
  .col-side { position: static; }
  .header-inner { min-height: 64px; flex-wrap: wrap; row-gap: 0; }
  .brand { flex: 1 1 0; }
  .brand-logo { height: 40px; }
  .nav-toggle-label { display: block; }
  .main-nav { display: none; width: 100%; padding-bottom: 12px; }
  .nav-toggle:checked ~ .main-nav { display: block; }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav > ul { flex-direction: column; }
  .main-nav > ul > li.active > a::after { display: none; }
  .main-nav li ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; min-width: 0; background: transparent; }
  .main-nav li ul a { color: rgba(255,255,255,.85); }
  .main-nav li ul a:hover, .main-nav li ul li.active > a { background: rgba(255,255,255,.12); color: #fff; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .site-main { padding-top: 24px; }
  .news-card, .news-card.has-media { grid-template-columns: 60px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .date-badge { width: 60px; height: 70px; }
  .date-day { font-size: 1.55rem; }
  .news-card-media { grid-column: 1 / -1; }
  .news-card-media img { width: 100%; height: 190px; }
  .ce-intext.ce-left .ce-gallery, .ce-intext.ce-right .ce-gallery { float: none; margin: 0 0 16px; }
  .news-single .news-img-wrap { float: none; width: 100%; margin: 0 0 1em; }
  .is-legal .col-main > .frame:first-child { padding: 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .nd-head { grid-template-columns: 60px minmax(0, 1fr); gap: 14px; }
  .nd-head .date-badge { width: 60px; height: 70px; }
  .nd-gallery { grid-template-columns: repeat(3, 1fr); }
  .nd-figure img { height: 90px; }
  .lb { padding: 56px 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; }
}
