/*
Theme Name: Stadtspaziergänge Theme V4
Version: 4.0.0
Text Domain: stadtspaziergaenge-theme
*/
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
:root {
  --forest: #1B4332;
  --forest-light: #2D6A4F;
  --cream: #FFFDF7;
  --warm-gray: #6B6560;
  --border: rgba(255,255,255,0.30);
  --hover-bg: rgba(0,0,0,0.05);
  --bg-glass: rgba(255,253,247,0.65);
  --bg-card: rgba(255,253,247,.72);
  --text-main: #1B4332;
  --text-soft: #6B6560;
  --icon-accent: #e08b5a;
}
html.dark {
  --forest: #86efac;
  --forest-light: #6ee7a0;
  --cream: #0e1f16;
  --warm-gray: #a09a95;
  --border: rgba(255,255,255,0.08);
  --hover-bg: rgba(255,255,255,0.10);
  --bg-glass: rgba(14,31,22,0.70);
  --bg-card: rgba(14,31,22,.72);
  --text-main: #d7f7e3;
  --text-soft: #b8c4bd;
  --icon-accent: #86efac;
}
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  transition: background .3s, color .3s;
}
h1, h2, h3, h4 { font-family: 'DM Serif Display', serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.site-main { min-height: 40vh; padding-top: 4rem; }

/* Header */
.ssg-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: var(--bg-glass);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background .3s, border-color .3s;
}
.ssg-nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  height: 4rem; display: flex; align-items: center; justify-content: space-between;
}
.ssg-brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.ssg-brand-icon {
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: #1B4332; display: flex; align-items: center; justify-content: center;
  transition: transform .2s;
}
html.dark .ssg-brand-icon { background: #2D6A4F; }
.ssg-brand:hover .ssg-brand-icon { transform: scale(1.07); }
.ssg-brand-icon svg { width: 1rem; height: 1rem; color: #fff; }
.ssg-brand-name {
  font-family: 'DM Serif Display', serif; font-size: 1.2rem; color: var(--forest); transition: color .3s;
}
.ssg-controls { display: flex; align-items: center; gap: .5rem; }
.ssg-links { display: none; align-items: center; gap: 2rem; margin-right: 1.5rem; }
@media (min-width: 768px) { .ssg-links { display: flex; } }
.ssg-links a {
  font-size: .875rem; font-weight: 500; color: var(--warm-gray);
  text-decoration: none; transition: color .15s;
}
.ssg-links a:hover { color: var(--forest); }
.ssg-lang {
  display: flex; align-items: center; gap: .15rem;
  background: rgba(0,0,0,.04); border-radius: .6rem; padding: .2rem;
}
html.dark .ssg-lang { background: rgba(255,255,255,.07); }
.ssg-lang button {
  padding: .3rem .55rem; border: none; cursor: pointer; border-radius: .45rem;
  font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  background: transparent; color: var(--warm-gray); transition: background .15s, color .15s;
}
.ssg-lang button:hover { color: var(--forest); }
.ssg-lang button.active { background: #1B4332; color: #fff; }
html.dark .ssg-lang button.active { background: #2D6A4F; color: #fff; }
.ssg-theme-btn, .ssg-menu-btn {
  width: 2.1rem; height: 2.1rem; border: none; cursor: pointer;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: transparent; color: var(--forest); transition: background .15s, color .3s;
}
.ssg-menu-btn { border-radius: .5rem; }
.ssg-theme-btn:hover, .ssg-menu-btn:hover { background: var(--hover-bg); }
.ssg-theme-btn svg { width: 1rem; height: 1rem; pointer-events: none; }
.ssg-menu-btn svg { width: 1.25rem; height: 1.25rem; pointer-events: none; }
@media (min-width: 768px) { .ssg-menu-btn { display: none; } }
.ssg-drawer {
  display: none; overflow: hidden; border-top: 1px solid var(--border);
  background: var(--bg-glass); backdrop-filter: blur(16px);
}
.ssg-drawer.open { display: block; }
.ssg-drawer-inner { padding: 1rem 2rem 1.25rem; display: flex; flex-direction: column; gap: .85rem; }
.ssg-drawer a { font-size: .9rem; font-weight: 500; color: var(--warm-gray); text-decoration: none; transition: color .15s; }
.ssg-drawer a:hover { color: var(--forest); }

/* General content */
.hero { position:relative; min-height:100vh; display:flex; align-items:flex-end; overflow:hidden; }
.hero--small { min-height:420px; }
.hero > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.hero-overlay { position:absolute; inset:0; background: linear-gradient(to bottom, rgba(0,0,0,.08), rgba(0,0,0,.2), rgba(0,0,0,.82)); }
.back-link { position:absolute; top:1rem; left:0; right:0; z-index:10; }
.back-link-inner { max-width:1280px; margin:0 auto; padding:0 2rem; }
.back-link a { display:inline-flex; align-items:center; gap:.5rem; color:rgba(255,255,255,.8); font-size:.875rem; }
.hero-content { position:relative; z-index:10; width:100%; max-width:1280px; margin:0 auto; padding:0 2rem 4rem; }
.hero-content--small { padding-bottom:1.5rem; max-width:56rem; }
.hero-title { font-size: clamp(2.5rem, 7vw, 4.5rem); color:#fff; line-height:1.1; margin-bottom:1rem; }
.hero-title--small { font-size: 1.75rem; color: var(--text-main); line-height:1.2; margin:0 0 1rem; }
.hero-sub { font-size:1.1rem; color:rgba(255,255,255,.85); max-width:42rem; line-height:1.7; margin-bottom:1.5rem; }
.tag-row { display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:0.1rem; }
.tag { padding:.25rem .75rem; border-radius:999px; font-size:.7rem; font-weight:500; background:rgba(255,255,255,.2); color:#fff; border:1px solid rgba(255,255,255,.2); }
.diff-badge, .difficulty-badge { padding:.25rem .75rem; border-radius:999px; font-size:.7rem; font-weight:500; }
.diff-leicht { background: rgba(209,250,229,.85); color:#065f46; }
.diff-mittel { background: rgba(254,243,199,.85); color:#92400e; }
.diff-schwierig { background: rgba(254,226,226,.85); color:#991b1b; }
.hero-stats, .walk-card-meta { display:flex; flex-wrap:wrap; gap:0.5rem; }
.hero-stat { display:flex; align-items:center; gap:.15rem; color:rgb(255,255,255,.9); font-size:.875rem; font-weight:500; }
.walk-card-meta span { display:flex; align-items:center; gap:.15rem; color:#92400e; font-size:.875rem; font-weight:500; }
.hero-stat svg, .icon-svg { width:1rem; height:1rem; color: var(--icon-accent); flex-shrink:0; display:block; }

.content { max-width:1280px; margin:0 auto; padding:3.5rem 2rem; }
.content--narrow { max-width:56rem; padding:3rem 1.5rem; display:flex; flex-direction:column; gap:2rem; }
.section { margin-bottom:4rem; }
.glass-card {
  background: var(--bg-card); backdrop-filter: blur(20px);
  border:1px solid var(--border); box-shadow: 0 4px 24px rgba(27,67,50,.07);
  border-radius:1rem;
}
.desc-card, .description-card { padding:2rem 2.5rem; }
.section-title, .related-title, .desc-card h2, .description-card h2 { font-size:1.75rem; color: var(--text-main); margin-bottom:1rem; }
.entry-content, .description-card p, .desc-card p { color: var(--text-soft); line-height:1.85; }
.entry-content p { margin-bottom:1rem; }

.two-col { display:grid; grid-template-columns:2fr 1fr; gap:1.5rem; }
.map-card { overflow:hidden; min-height:300px; }
#map { height:300px; border-radius:1rem; overflow:hidden; }
.elevation-wrap { padding:1.25rem 1.5rem; }
.elevation-title { font-size:.75rem; font-weight:600; text-transform:uppercase; letter-spacing:.1em; color: var(--text-soft); margin-bottom:.75rem; }
#elevation-chart { height:144px; }
.elevation-svg { width:100%; height:144px; display:block; }
.elevation-tooltip {
  position:absolute; pointer-events:none; background:rgba(255,253,247,.97);
  border:1px solid rgba(255,255,255,.6); border-radius:8px; padding:6px 10px;
  font-size:12px; box-shadow:0 8px 20px rgba(0,0,0,.08);
}
html.dark .elevation-tooltip { background: rgba(14,31,22,.95); border-color: rgba(255,255,255,.12); color: var(--text-main); }
.elevation-chart-wrap { position:relative; }

.poi-list { display:flex; flex-direction:column; gap:.75rem; }
.poi-item {
  display:flex; align-items:center; gap:1rem; padding:1rem 1.25rem; border-radius:.75rem;
  background: var(--bg-card); backdrop-filter: blur(20px); border:1px solid var(--border);
  box-shadow:0 4px 24px rgba(27,67,50,.06); cursor:pointer; transition: box-shadow .2s, transform .2s;
}
.poi-item:hover { box-shadow:0 8px 32px rgba(27,67,50,.13); transform: translateY(-1px); }
.poi-number { width:2.5rem; height:2.5rem; border-radius:50%; background:#1B4332; color:#fff; display:flex; align-items:center; justify-content:center; font-size:.875rem; font-weight:600; flex-shrink:0; }
.poi-thumb, .related-thumb { width:4rem; height:4rem; border-radius:.5rem; object-fit:cover; flex-shrink:0; background:#e3ddd0; }
.poi-thumb-placeholder, .thumb-placeholder, .highlight-placeholder { background: linear-gradient(135deg, #1B4332, #2D6A4F); }
.poi-thumb-placeholder { width:4rem; height:4rem; border-radius:.5rem; flex-shrink:0; }
.poi-info { flex:1; min-width:0; }
.poi-category, .highlight-cat { font-size:.7rem; font-weight:500; text-transform:uppercase; letter-spacing:.1em; color:#C2703E; margin-bottom:.2rem; display:flex; align-items:center; gap:.35rem; }
html.dark .poi-category, html.dark .highlight-cat, html.dark .spaziergang-modal-cat { color:#86efac; }
.poi-name, .related-name, .highlight-name { font-weight:600; color: var(--text-main); }
.poi-desc, .related-meta, .highlight-desc { color: var(--text-soft); }
.poi-desc { font-size:.8rem; margin-top:.15rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.poi-arrow { color: rgba(27,67,50,.35); font-size:1.2rem; flex-shrink:0; }
html.dark .poi-arrow { color: rgba(255,255,255,.35); }

.hightlights-grid-section { max-width:1280px; margin:0 auto; padding:3.5rem 2rem; }
.highlights-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap:2rem; }
.highlight-card {
  border-radius:1rem; overflow:hidden; background: var(--bg-card); backdrop-filter: blur(20px);
  border:1px solid var(--border); box-shadow:0 4px 24px rgba(27,67,50,.06); display:block;
  cursor:pointer; transition: box-shadow .2s, transform .2s;
}
.highlight-card:hover { box-shadow:0 8px 32px rgba(27,67,50,.13); transform: translateY(-2px); }
.highlight-img { position:relative; height:240px; overflow:hidden; background:#e6dfd4; }
.highlight-img img { width:100%; height:100%; object-fit:cover; }
.highlight-img-overlay { position:absolute; inset:0; background: linear-gradient(to top, rgba(0,0,0,0.5), transparent); }
.highlight-body { padding:1.25rem 1.5rem 1.5rem; }
.highlight-name { font-size:1.4rem; color: var(--text-main); margin-bottom:.5rem; }
.highlight-desc { font-size:.875rem; color: var(--text-soft); line-height:1.6; margin-bottom:1rem; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.highlight-more { display:inline-block; margin-top:.5rem; font-size:.72rem; color: var(--text-main); font-weight:500; opacity:.65; }

.category-badge { display:inline-block; padding:.25rem .75rem; border-radius:999px; font-size:.7rem; font-weight:500; background:#C2703E; color:#fff; margin-bottom:.75rem; }
.related-card {
  display:flex; align-items:center; gap:1rem; padding:1rem 1.25rem; border-radius:.75rem;
  background: var(--bg-card); backdrop-filter: blur(20px); border:1px solid var(--border);
  box-shadow:0 4px 24px rgba(27,67,50,.06); margin-bottom:1rem;
}
.related-info { flex:1; }

.filter-bar { position:sticky; top:4rem; z-index:40; padding:1rem 0; background: var(--bg-glass); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.filter-inner { max-width:1280px; margin:0 auto; padding:0 2rem; display:flex; flex-wrap:wrap; gap:.75rem; }
.search-wrap { position:relative; flex:1; min-width:200px; }
.search-wrap .search-icon { position:absolute; left:.75rem; top:50%; transform:translateY(-50%); width:1rem; height:1rem; color: var(--text-soft); pointer-events:none; }
.search-input { width:100%; padding:.6rem 1rem .6rem 2.25rem; border-radius:.75rem; background: rgba(255,255,255,0.8); border:1px solid rgba(255,255,255,0.6); font-size:.875rem; color: var(--text-main); outline:none; }
html.dark .search-input { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.10); }
.filter-buttons { display:flex; gap:.5rem; flex-wrap:wrap; }
.filter-btn { padding:.5rem 1rem; border-radius:.75rem; font-size:.875rem; font-weight:500; cursor:pointer; border:1px solid var(--border); background: var(--bg-card); color: var(--text-soft); }
.filter-btn.active { background:#1B4332; color:#fff; border-color:#1B4332; }

.walks-grid-section { max-width:1280px; margin:0 auto; padding:3.5rem 2rem; }
.walks-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap:2rem; }
.walk-card {
  border-radius:1rem; overflow:hidden; background: var(--bg-card); backdrop-filter: blur(20px);
  border:1px solid var(--border); box-shadow:0 4px 24px rgba(27,67,50,0.06); display:block;
}
.walk-card-img { position:relative; height:240px; overflow:hidden; background:#e6dfd4; }
.walk-card-img img { width:100%; height:100%; object-fit:cover; }
.walk-card-img-overlay { position:absolute; inset:0; background: linear-gradient(to top, rgba(0,0,0,0.5), transparent); }
.walk-card-tags { position:absolute; top:1rem; left:1rem; display:flex; flex-wrap:wrap; gap:.4rem; }
.walk-card-body { padding:1.25rem 1.5rem 1.5rem; }
.walk-card-title { font-size:1.4rem; color: var(--text-main); margin-bottom:.5rem; }
.walk-card-desc { font-size:.875rem; color: var(--text-soft); line-height:1.6; margin-bottom:1rem; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

.modal-backdrop { display:none; position:fixed; inset:0; z-index:900; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); align-items:center; justify-content:center; padding:1rem; }
.modal-backdrop.open { display:flex; }
.modal {
  position:relative; width:100%; max-width:36rem; max-height:90vh; overflow-y:auto;
  background: var(--bg-card); backdrop-filter: blur(24px); border:1px solid var(--border);
  border-radius:1.25rem; box-shadow:0 20px 60px rgba(0,0,0,.25);
}
.spaziergang-modal-card { position:relative; }
.spaziergang-modal-image img, .modal-img { width:100%; height:220px; object-fit:cover; display:block; border-radius:1.25rem 1.25rem 0 0; }
.spaziergang-modal-inner, .modal-body { padding:1.25rem 1.5rem 1.5rem; }
.spaziergang-modal-close, .modal-close {
  position:absolute; top:.85rem; right:.85rem; width:2rem; height:2rem; border-radius:50%;
  background: rgba(0,0,0,.25); border:none; cursor:pointer; display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:1rem; line-height:1;
}
.spaziergang-modal-cat { font-size:.7rem; font-weight:500; text-transform:uppercase; letter-spacing:.1em; color:#C2703E; margin-bottom:.5rem; }
.spaziergang-modal-title { font-family:'DM Serif Display', serif; font-size:1.75rem; color: var(--text-main); line-height:1.2; margin-bottom:1rem; }
.spaziergang-modal-content, .spaziergang-modal-content p { color: var(--text-soft); line-height:1.8; font-size:.95rem; }
.spaziergang-modal-content p + p { margin-top:1rem; }
.spaziergang-modal-link, .modal-link { display:inline-block; margin-top:1.25rem; padding:.55rem 1.25rem; border-radius:.75rem; background:#1B4332; color:#fff; font-size:.85rem; font-weight:500; }
.spaziergang-modal-related { margin-top:1.5rem; padding-top:1rem; border-top:1px solid rgba(27,67,50,.08); }
html.dark .spaziergang-modal-related { border-top-color: rgba(255,255,255,.08); }
.spaziergang-modal-related h3 { font-family:'DM Serif Display', serif; font-size:1.1rem; color: var(--text-main); margin-bottom:.6rem; }
.spaziergang-modal-routes { padding-left:1.2rem; color: var(--text-soft); }

footer { background:#1B4332; color:rgba(255,255,255,.7); padding:3rem 2rem; margin-top:5rem; }
.footer-inner { max-width:1280px; margin:0 auto; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:1rem; }
.footer-brand { display:flex; align-items:center; gap:.5rem; font-family:'DM Serif Display', serif; color:#fff; font-size:1.1rem; }
footer p { font-size:.8rem; }

@media (max-width: 768px) {
  .ssg-nav-inner, .hero-content, .content, .walks-grid-section, .filter-inner, .back-link-inner { padding-left:1rem; padding-right:1rem; }
  .two-col { grid-template-columns:1fr; }
  .hero { min-height:82vh; }
  .walks-grid { grid-template-columns:1fr; }
  .content--narrow { padding-left:1rem; padding-right:1rem; }
}


/* Modal adjustments v4.1 */
.spaziergang-modal-related,
.spaziergang-modal-routes {
  display: none !important;
}
.spaziergang-modal-content {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.spaziergang-modal-content > *:not(p):not(br) {
  display: none !important;
}
.spaziergang-modal-content p {
  margin: 0;
}
.spaziergang-modal-content p + p {
  margin-top: .75rem;
}


/* Modal spacing fix v4.2 */
#place-modal-content .spaziergang-modal-card {
  position: relative;
}

#place-modal-content .spaziergang-modal-image {
  margin: 0;
}

#place-modal-content .spaziergang-modal-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 1.25rem 1.25rem 0 0;
}

#place-modal-content .spaziergang-modal-cat,
#place-modal-content .spaziergang-modal-title,
#place-modal-content .spaziergang-modal-content,
#place-modal-content .spaziergang-modal-link {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

#place-modal-content .spaziergang-modal-cat {
  margin-top: 1.25rem;
  margin-bottom: .5rem;
}

#place-modal-content .spaziergang-modal-title {
  margin-bottom: 1rem;
}

#place-modal-content .spaziergang-modal-content {
  margin-bottom: 0;
}

#place-modal-content .spaziergang-modal-content p {
  margin: 0;
}

#place-modal-content .spaziergang-modal-content p + p {
  margin-top: .75rem;
}

#place-modal-content .spaziergang-modal-link {
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
}

#place-modal-content .spaziergang-modal-close {
  top: .85rem;
  right: .85rem;
}

@media (max-width: 768px) {
  #place-modal-content .spaziergang-modal-cat,
  #place-modal-content .spaziergang-modal-title,
  #place-modal-content .spaziergang-modal-content,
  #place-modal-content .spaziergang-modal-link {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  #place-modal-content .spaziergang-modal-link {
    margin-bottom: 1.25rem;
  }
}


/* Place detail v4.3 */
.place-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.place-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: rgba(255,255,255,.9);
  font-size: .875rem;
  font-weight: 500;
}
.place-layout {
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 1.5rem;
  align-items: start;
}
.place-facts-card {
  padding: 1.25rem 1.5rem;
}
.place-facts-list {
  display: grid;
  gap: .9rem;
}
.place-fact-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #C2703E;
  margin-bottom: .2rem;
}
html.dark .place-fact-label { color: #86efac; }
.place-fact-value,
.place-fact-value a {
  color: var(--text-main);
  line-height: 1.6;
  word-break: break-word;
}
.place-fact-value a:hover {
  text-decoration: underline;
}
.place-map-card {
  overflow: hidden;
  min-height: 340px;
}
#place-map {
  height: 340px;
  border-radius: 1rem;
  overflow: hidden;
}
.walks-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.place-section-note {
  color: var(--text-soft);
  margin-top: -.35rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .place-layout {
    grid-template-columns: 1fr;
  }
}


/* v4.3.2 adjustments */
.hero-content--small {
  margin: 0 auto 0 0;
}
.place-fact-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.place-fact-label .icon-svg {
  width: .95rem;
  height: .95rem;
}
.walk-card {
  transition: box-shadow .2s, transform .2s;
}
.walk-card:hover {
  box-shadow: 0 8px 32px rgba(27,67,50,.13);
  transform: translateY(-2px);
}
html.dark .walk-card:hover,
html.dark .highlight-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.28);
}



/* Marketing sections */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }

.stats-section { padding: 5rem 0; background: #1B4332; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item { text-align: center; }
.stat-value { font-family: 'DM Serif Display', serif; font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; color: #fff; margin-bottom: 0.5rem; line-height: 1.1; }
.stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.1em; }

.features-section { padding: 5rem 0; background: var(--cream); }
.section-eyebrow { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: #C2703E; margin-bottom: 0.5rem; }
.marketing-title { font-family: 'DM Serif Display', serif; font-size: clamp(1.75rem, 4vw, 2.5rem); color: var(--text-main); margin-bottom: 3.5rem; }
.features-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-card { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.feature-icon-wrap { width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; background: rgba(27,67,50,0.10); display: flex; align-items: center; justify-content: center; }
.feature-icon-wrap svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: #1B4332; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html.dark .feature-icon-wrap { background: rgba(255,255,255,0.08); }
html.dark .feature-icon-wrap svg { stroke: var(--forest); }
.feature-title { font-family: 'DM Serif Display', serif; font-size: 1rem; color: var(--text-main); margin-bottom: 0.25rem; }
.feature-desc { font-size: 0.875rem; color: var(--text-soft); line-height: 1.65; }

.testimonials-section { padding: 5rem 0; background: #F5F0E8; }
html.dark .testimonials-section { background: #13261b; }
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card { padding: 1.75rem; display: flex; flex-direction: column; }
.stars { display: flex; gap: 0.125rem; margin-bottom: 1rem; }
.stars svg { width: 1rem; height: 1rem; fill: #C2703E; }
.testimonial-text { font-size: 0.875rem; color: var(--text-soft); line-height: 1.7; font-style: italic; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(0,0,0,0.06); }
html.dark .testimonial-author { border-top-color: rgba(255,255,255,0.08); }
.testimonial-avatar { width: 2.5rem; height: 2.5rem; border-radius: 50%; object-fit: cover; }
.testimonial-name { font-size: 0.875rem; font-weight: 600; color: var(--text-main); }
.testimonial-role { font-size: 0.75rem; color: var(--text-soft); }




/* ========================================================================== 
   Theme tokens and dark mode refactor
   ========================================================================== */

:root {
  color-scheme: light;
  --bg-main: #FFFDF7;
  --bg-surface: #FDF6EE;
  --bg-card: rgba(255, 253, 247, 0.72);
  --bg-card-warm: rgba(255, 246, 238, 0.92);
  --bg-glass: rgba(255, 253, 247, 0.65);

  --text-main: #1B4332;
  --text-soft: #6B6560;
  --text-warm: #5a4030;
  --text-warm-soft: #8a6050;

  --border-soft: rgba(255,255,255,0.30);
  --border-card: rgba(255,255,255,0.55);
  --border-warm: rgba(194,112,62,0.15);
  --border-warm-strong: rgba(194,112,62,0.20);

  --accent: #C2703E;
  --accent-strong: #7c3a1a;
  --accent-soft: rgba(194,112,62,0.10);

  --hover-bg: rgba(0,0,0,0.05);
  --shadow-soft: 0 4px 24px rgba(27,67,50,.07);
  --shadow-soft-2: 0 1px 4px rgba(27,67,50,.04);
  --shadow-warm: 0 4px 24px rgba(194,112,62,0.07);
  --shadow-warm-hover: 0 4px 16px rgba(194,112,62,0.15);
}

html.dark {
  color-scheme: dark;
  --bg-main: #0F1F19;
  --bg-surface: #13261F;
  --bg-card: rgba(19, 38, 31, 0.88);
  --bg-card-warm: rgba(27, 42, 35, 0.94);
  --bg-glass: rgba(14,31,22,0.70);

  --text-main: #F3EDE6;
  --text-soft: #CBBFB4;
  --text-warm: #F3EDE6;
  --text-warm-soft: #CBBFB4;

  --border-soft: rgba(255,255,255,0.08);
  --border-card: rgba(255,255,255,0.08);
  --border-warm: rgba(224,138,87,0.16);
  --border-warm-strong: rgba(224,138,87,0.24);

  --accent: #E08A57;
  --accent-strong: #F0B089;
  --accent-soft: rgba(224,138,87,0.15);

  --hover-bg: rgba(255,255,255,0.10);
  --shadow-soft: 0 8px 28px rgba(0,0,0,.22);
  --shadow-soft-2: 0 2px 8px rgba(0,0,0,.16);
  --shadow-warm: 0 10px 30px rgba(0,0,0,.28);
  --shadow-warm-hover: 0 8px 24px rgba(0,0,0,.32);
}

/* Global token overrides */
body {
  background: var(--bg-main);
  color: var(--text-main);
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-soft);
}

.ssg-nav {
  background: var(--bg-glass);
  border-bottom-color: var(--border-soft);
}

.ssg-links a,
.topnav-link,
.topnav-links a,
.search-wrap .search-icon,
.filter-btn,
.poi-desc,
.related-meta,
.highlight-desc,
.entry-content,
.description-card p,
.desc-card p,
.walk-card-desc,
.testimonial-text,
.testimonial-role {
  color: var(--text-soft);
}

.brand-name,
.walk-card-title,
.poi-name,
.related-name,
.highlight-name,
.section-title,
.related-title,
.desc-card h2,
.description-card h2,
.feature-title,
.testimonial-name,
.spaziergang-modal-title {
  color: var(--text-main);
}

.search-input {
  color: var(--text-main);
}

.filter-btn {
  border-color: var(--border-soft);
  background: var(--bg-card);
}

.walk-card,
.poi-item,
.highlight-card,
.related-card {
  background: var(--bg-card);
  border-color: var(--border-card);
}

.feature-icon-wrap,
.highlight-info-icon {
  background: var(--accent-soft);
}

.feature-icon-wrap svg,
.highlight-info-icon .icon-svg,
.highlight-maps-link,
.place-fact-label,
.poi-category,
.highlight-cat,
.spaziergang-modal-cat,
.section-eyebrow,
.highlight-sibling-cat,
.highlight-info-label,
.highlight-related-arrow svg,
.stars svg {
  color: var(--accent);
  stroke: currentColor;
}

.category-badge {
  background: var(--accent);
}

.highlight-card:hover,
.walk-card:hover,
.poi-item:hover {
  box-shadow: var(--shadow-soft);
}

/* ========================================================================== 
   Highlight detail template (refactored, dark-mode ready)
   ========================================================================== */

.highlight-detail-page,
body.single-highlight,
body.single-highlight .site-main {
  background: var(--bg-surface);
  color: var(--text-warm);
}

.highlight-hero {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.highlight-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.highlight-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(124,58,26,0.80) 0%,
    rgba(124,58,26,0.18) 50%,
    transparent 100%
  );
}

html.dark .highlight-hero-overlay {
  background: linear-gradient(
    to top,
    rgba(10,18,15,0.84) 0%,
    rgba(16,25,21,0.32) 50%,
    transparent 100%
  );
}

.highlight-hero-back {
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  z-index: 2;
}

.highlight-hero-back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  transition: color .2s;
}

.highlight-hero-back a:hover {
  color: #fff;
}

.highlight-hero-back svg {
  width: 16px;
  height: 16px;
}

.highlight-hero-titles {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  z-index: 2;
}

.highlight-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.highlight-category-pill .icon-svg {
  width: 13px;
  height: 13px;
  color: currentColor;
}

.highlight-hero-titles h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 5vw, 48px);
  color: #fff;
  line-height: 1.15;
  margin: 0;
  text-align: left;
}

.highlight-detail-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 60px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.highlight-card {
  background: var(--bg-card-warm);
  border: 1px solid var(--border-warm);
  box-shadow: var(--shadow-warm);
  border-radius: 16px;
  padding: 24px 28px;
}

.highlight-card-title,
.highlight-section-title {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--accent-strong);
  margin-bottom: 12px;
}

.highlight-prose,
.highlight-prose p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-warm);
}

.highlight-prose p + p {
  margin-top: 1rem;
}

.highlight-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.highlight-info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.highlight-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-info-icon .icon-svg {
  width: 16px;
  height: 16px;
}

.highlight-info-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 3px;
}

.highlight-info-value {
  font-size: 13px;
  color: var(--text-warm);
  line-height: 1.5;
}

.highlight-info-value a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-all;
}

.highlight-map-wrap {
  border-radius: 16px;
  overflow: hidden;
  height: 240px;
  border: 1px solid var(--border-warm-strong);
  box-shadow: var(--shadow-warm);
  background: #e8ddd4;
}

html.dark .highlight-map-wrap {
  background: #1a2d24;
}

.highlight-map-wrap #place-map {
  height: 240px;
  border-radius: 0;
}

.highlight-maps-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
}

.highlight-maps-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.highlight-related-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.highlight-related-walk {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 14px;
  background: var(--bg-card-warm);
  border: 1px solid var(--border-warm-strong);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}

.highlight-related-walk:hover {
  box-shadow: var(--shadow-warm-hover);
  transform: translateY(-1px);
}

.highlight-related-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.highlight-related-content {
  min-width: 0;
}

.highlight-related-title {
  font-size: 15px;
  color: var(--accent-strong);
  font-weight: 600;
}

.highlight-related-meta {
  font-size: 12px;
  color: var(--text-warm-soft);
  margin-top: 4px;
}

.highlight-related-arrow {
  margin-left: auto;
  flex-shrink: 0;
}

.highlight-related-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.highlight-sibling-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.highlight-sibling-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-warm);
  text-decoration: none;
  transition: box-shadow .2s, transform .2s;
}

.highlight-sibling-card:hover {
  box-shadow: var(--shadow-warm-hover);
  transform: translateY(-1px);
}

.highlight-sibling-card img {
  width: 100%;
  height: 90px;
  object-fit: cover;
}

.highlight-sibling-body {
  padding: 10px 12px;
  background: color-mix(in srgb, var(--bg-card-warm) 96%, transparent);
}

.highlight-sibling-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .highlight-hero {
    height: 340px;
  }

  .highlight-detail-content {
    padding: 32px 18px 48px;
  }

  .highlight-card {
    padding: 20px;
  }
}


/* Bugfix v2: preserve teaser image layouts */
.highlight-img {
  height: 8rem;
  overflow: hidden;
  background: linear-gradient(135deg, #1B4332, #2D6A4F);
}
.highlight-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.highlight-related-thumb {
  width: 64px !important;
  height: 64px !important;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.highlight-sibling-card img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  display: block;
}

.highlight-related-walk {
  text-decoration: none;
}

.highlight-related-content {
  flex: 1 1 auto;
  min-width: 0;
}


/* Fix v4: highlight teaser images full-bleed like homepage */
.highlights-grid .highlight-card {
  display: block;
  overflow: hidden;
  padding: 0;
}

.highlights-grid .highlight-img {
  width: 100%;
  height: 8rem;
  overflow: hidden;
  margin: 0;
  border-radius: 0;
}

.highlights-grid .highlight-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.highlights-grid .highlight-body {
  padding: .75rem 1rem 1rem;
}


/* District landing pages */
.district-page {
  background: var(--cream);
}
.district-intro-card {
  max-width: 70rem;
}
.district-section-note {
  color: var(--text-soft);
  line-height: 1.7;
  margin-top: -.5rem;
  margin-bottom: 1.2rem;
}
.district-poi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.district-poi-card {
  display: block;
  overflow: hidden;
  border-radius: .9rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: 0 4px 24px rgba(27,67,50,.06);
  transition: box-shadow .2s, transform .2s;
}
.district-poi-card:hover {
  box-shadow: 0 8px 32px rgba(27,67,50,.13);
  transform: translateY(-2px);
}
.district-poi-card img,
.district-poi-placeholder {
  width: 100%;
  height: 10rem;
  object-fit: cover;
  display: block;
}
.district-poi-placeholder {
  background: linear-gradient(135deg, #1B4332, #2D6A4F);
}
.district-poi-body {
  padding: .9rem 1rem 1rem;
}
.district-poi-cat {
  font-size: .7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #C2703E;
  margin-bottom: .25rem;
  display: flex;
  align-items: center;
  gap: .35rem;
}
html.dark .district-poi-cat {
  color: #86efac;
}
.district-poi-name {
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: .25rem;
}
.district-poi-desc {
  font-size: .82rem;
  color: var(--text-soft);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}



/* District landing page v2 */
.district-hero--landing {
  min-height: 78vh;
}
.district-hero-shell {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 6.5rem 2rem 4rem;
}
.district-hero-breadcrumb {
  display: flex;
  gap: .55rem;
  align-items: center;
  color: rgba(255,255,255,.78);
  font-size: .82rem;
  margin-bottom: 1rem;
}
.district-hero-breadcrumb a:hover {
  color: #fff;
}
.district-hero-copy {
  max-width: 48rem;
}
.tag--soft {
  background: rgba(255,255,255,.12);
}
.district-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}
.district-kpi {
  min-width: 8rem;
  padding: .9rem 1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
}
.district-kpi-value {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  color: #fff;
  line-height: 1;
  margin-bottom: .3rem;
}
.district-kpi-label {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
}
.district-content {
  padding-top: 4rem;
}
.district-story-section .district-intro-card {
  max-width: 72rem;
}
.district-section-block {
  margin-bottom: 4.2rem;
}
.district-section-heading {
  margin-bottom: 1.2rem;
}
.district-section-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: .45rem;
}
.district-section-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #C2703E;
  margin-bottom: .55rem;
}
html.dark .district-section-eyebrow {
  color: #86efac;
}
.district-section-note {
  max-width: 46rem;
}
.district-closing-card {
  padding: 2rem 2.25rem;
}
.district-closing-actions {
  margin-top: 1.2rem;
}
.district-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0 1.2rem;
  border-radius: .85rem;
  background: #1B4332;
  color: #fff;
  font-weight: 600;
  transition: transform .2s, box-shadow .2s;
}
.district-cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(27,67,50,.16);
}
html.dark .district-cta-button {
  background: #2D6A4F;
}
@media (max-width: 768px) {
  .district-hero-shell {
    padding: 5.5rem 1rem 3rem;
  }
  .district-kpi {
    min-width: calc(50% - .5rem);
  }
  .district-closing-card {
    padding: 1.4rem 1.2rem;
  }
}



/* District page Gutenberg-first v2.2 */
.district-editor-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.district-editor-content > .wp-block-group,
.district-editor-content > .wp-block-cover,
.district-editor-content > .wp-block-columns,
.district-editor-content > .wp-block-spacer,
.district-editor-content > .wp-block-image,
.district-editor-content > .wp-block-heading,
.district-editor-content > .wp-block-paragraph,
.district-editor-content > .wp-block-list,
.district-editor-content > .wp-block-quote,
.district-editor-content > .wp-block-media-text,
.district-editor-content > .wp-block-separator,
.district-editor-content > .wp-block-buttons,
.district-editor-content > .wp-block-button,
.district-editor-content > .wp-block-column,
.district-editor-content > .wp-block-shortcode,
.district-editor-content > .wp-block-html {
  margin: 0;
}
.district-editor-content .wp-block-heading {
  color: var(--text-main);
}
.district-editor-content p,
.district-editor-content li {
  color: var(--text-soft);
  line-height: 1.8;
}
.district-editor-content .wp-block-group.is-layout-constrained,
.district-editor-content .wp-block-group.alignwide,
.district-editor-content .wp-block-cover.alignwide,
.district-editor-content .wp-block-columns.alignwide {
  max-width: 100%;
}
.district-empty-state {
  max-width: 56rem;
}


/* Comments */
.ssg-comments-section {
  max-width: 760px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.ssg-comments-title {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: #1B4332;
  font-weight: 400;
}
.ssg-comments-title span {
  font-size: 16px;
  font-weight: 400;
  opacity: .55;
}
.ssg-comments-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ssg-comment-item {
  margin: 0;
}
.ssg-comment-card {
  border-radius: 14px;
  padding: 16px;
  background: rgba(255,253,247,0.85);
  border: 1px solid rgba(27,67,50,0.08);
  box-shadow: 0 2px 10px rgba(27,67,50,0.04);
}
.ssg-comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.ssg-comment-author-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ssg-comment-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(27,67,50,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #1B4332;
}
.ssg-comment-author {
  font-size: 14px;
  font-weight: 600;
  color: #1B4332;
}
.ssg-comment-date {
  font-size: 12px;
  color: #6B6560;
}
.ssg-comment-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
}
.ssg-comment-rating.is-up { color: #059669; }
.ssg-comment-rating.is-down { color: #ef4444; }
.ssg-comment-text,
.ssg-comment-text p {
  font-size: 14px;
  color: #5a4030;
  line-height: 1.65;
}
.ssg-comment-actions {
  margin-top: 10px;
}
.ssg-comment-reply-link a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: #6B6560;
}
.ssg-comment-reply-link a:hover {
  color: #1B4332;
}
.ssg-comments-list .children,
.ssg-comments-list .depth-2,
.ssg-comments-list .depth-3 {
  margin-left: 24px;
  border-left: 2px solid rgba(27,67,50,0.10);
  padding-left: 16px;
  margin-top: 8px;
}
.ssg-comment-form {
  border-radius: 16px;
  padding: 22px 24px;
  background: rgba(255,253,247,0.6);
  border: 1px solid rgba(27,67,50,0.10);
}
.ssg-comment-form .comment-reply-title {
  font-size: 15px;
  font-weight: 600;
  color: #1B4332;
  margin-bottom: 16px;
  display: block;
}
.ssg-comment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.ssg-comment-form input[type="text"],
.ssg-comment-form input[type="email"],
.ssg-comment-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(27,67,50,0.15);
  background: rgba(255,255,255,0.7);
  padding: 9px 12px;
  font-size: 14px;
  color: #1B4332;
  outline: none;
}
.ssg-comment-form textarea {
  resize: vertical;
  margin-bottom: 10px;
}
.ssg-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.ssg-rating-label {
  font-size: 12px;
  color: #6B6560;
}
.ssg-rating-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ssg-rating-option span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255,255,255,0.6);
  color: #6B6560;
  border: 1px solid rgba(27,67,50,0.12);
}
.ssg-rating-option input[value="up"]:checked + span {
  background: #d1fae5;
  color: #065f46;
  border-color: transparent;
}
.ssg-rating-option input[value="down"]:checked + span {
  background: #fee2e2;
  color: #991b1b;
  border-color: transparent;
}
.ssg-privacy-field {
  margin-bottom: 14px;
}
.ssg-privacy-field label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}
.ssg-privacy-field input {
  margin-top: 2px;
  accent-color: #1B4332;
}
.ssg-privacy-field span {
  font-size: 12px;
  color: #6B6560;
  line-height: 1.6;
}
.ssg-comment-submit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 12px;
  background: #1B4332;
  color: white;
  font-size: 13px;
  font-weight: 500;
  border: none;
}
.ssg-comment-submit:hover {
  background: #2D6A4F;
}
@media (max-width: 768px) {
  .ssg-comment-grid {
    grid-template-columns: 1fr;
  }
  .ssg-comments-section {
    padding: 0 1rem;
  }
}


/* Comments v2 fixes */
.ssg-comments-list {
  list-style: none;
  padding-left: 0;
}
.ssg-comments-list .children {
  list-style: none;
  margin: 8px 0 0 24px;
  padding-left: 16px;
  border-left: 2px solid rgba(27,67,50,0.10);
}
.ssg-comments-list .children .children {
  margin-left: 24px;
}
.ssg-comment-item {
  margin: 0;
}
.ssg-comment-item > .ssg-comment-card {
  margin-top: 8px;
}
.ssg-comment-avatar-image,
.ssg-comment-avatar-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: block;
}
.ssg-comment-form .comment-reply-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ssg-comment-form .comment-reply-title small {
  margin-left: 0;
}
.ssg-comment-form .comment-reply-title small a {
  font-size: 13px;
  color: #6B6560;
}
.ssg-cookies-field {
  margin-bottom: 14px;
}
.ssg-cookies-field label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}
.ssg-cookies-field input {
  margin-top: 2px;
  accent-color: #1B4332;
}
.ssg-cookies-field span {
  font-size: 12px;
  color: #6B6560;
  line-height: 1.6;
}


/* Comments v2.1 mobile ordered-list fix */
.ssg-comments-list,
.ssg-comments-list ol,
.ssg-comments-list ul,
.ssg-comments-list li,
.ssg-comments-list .children {
  list-style: none !important;
}
.ssg-comments-list {
  margin: 0;
  padding-left: 0;
}
.ssg-comments-list > .ssg-comment-item,
.ssg-comments-list > li,
.ssg-comments-list .children > li {
  margin-left: 0;
  padding-left: 0;
}


/* Comments v2.2 nested line fix */
.ssg-comments-list .children .children {
  border-left: none !important;
}


/* Comments v2.3 nested layout rebuild */
.ssg-comments-list,
.ssg-comments-list ol,
.ssg-comments-list ul {
  list-style: none !important;
  margin: 0;
  padding-left: 0;
}

.ssg-comments-list .children {
  list-style: none !important;
  margin: 8px 0 0 24px;
  padding-left: 16px;
  border-left: 2px solid rgba(27,67,50,0.10);
}

.ssg-comments-list .children .children {
  margin-left: 24px;
  padding-left: 16px;
  border-left: 2px solid rgba(27,67,50,0.10) !important;
}

.ssg-comments-list .children > li,
.ssg-comments-list .children .children > li {
  margin: 0;
  padding: 0;
}

.ssg-comments-list .children > li > .ssg-comment-card,
.ssg-comments-list .children .children > li > .ssg-comment-card {
  margin-top: 8px;
}

@media (max-width: 768px) {
  .ssg-comments-list .children {
    margin-left: 18px;
    padding-left: 12px;
  }

  .ssg-comments-list .children .children {
    margin-left: 18px;
    padding-left: 12px;
  }
}

/* v2.4 remove all thread lines */
.ssg-comments-list .children{border-left:none!important;}

.ssg-comments-list .children .children{border-left:none!important;}

/* v2.5 force remove all comment thread lines */
.ssg-comments-list .children,
.ssg-comments-list .depth-2,
.ssg-comments-list .depth-3 {
  border-left: none !important;
}


/* Comments v2.7 dark mode form section */
html.dark .ssg-comment-card {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

html.dark .ssg-comment-avatar {
  background: rgba(45, 106, 79, 0.3) !important;
  color: #86efac !important;
}

html.dark .ssg-comments-title,
html.dark .ssg-comment-author,
html.dark .ssg-comment-form .comment-reply-title {
  color: #86efac !important;
}

html.dark .ssg-comment-date,
html.dark .ssg-rating-label,
html.dark .ssg-privacy-field span,
html.dark .ssg-cookies-field span,
html.dark .ssg-comment-reply-link a,
html.dark .ssg-comment-form .comment-reply-title small a {
  color: #a09a95 !important;
}

html.dark .ssg-comment-text,
html.dark .ssg-comment-text p {
  color: #c9a882 !important;
}

html.dark .ssg-comment-form {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

html.dark .ssg-comment-form input[type="text"],
html.dark .ssg-comment-form input[type="email"],
html.dark .ssg-comment-form textarea {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #d1fae5 !important;
}

html.dark .ssg-comment-form input[type="text"]::placeholder,
html.dark .ssg-comment-form input[type="email"]::placeholder,
html.dark .ssg-comment-form textarea::placeholder {
  color: #a09a95 !important;
}

html.dark .ssg-rating-option span {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #a09a95 !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
}

html.dark .ssg-rating-option input[value="up"]:checked + span {
  background: rgba(6, 95, 70, 0.4) !important;
  color: #6ee7b7 !important;
  border-color: transparent !important;
}

html.dark .ssg-rating-option input[value="down"]:checked + span {
  background: rgba(127, 29, 29, 0.35) !important;
  color: #fca5a5 !important;
  border-color: transparent !important;
}

html.dark .ssg-comment-submit {
  background: #2D6A4F !important;
}

html.dark .ssg-privacy-field a,
html.dark .ssg-cookies-field a {
  color: #86efac !important;
}


/* Comments v2.7 light mode reinforcement */
html:not(.dark) .ssg-comment-card {
  background: rgba(255,253,247,0.85);
  border: 1px solid rgba(27,67,50,0.08);
  box-shadow: 0 2px 10px rgba(27,67,50,0.04);
}

html:not(.dark) .ssg-comment-form {
  background: rgba(255,253,247,0.6);
  border: 1px solid rgba(27,67,50,0.10);
}

html:not(.dark) .ssg-comment-author,
html:not(.dark) .ssg-comments-title,
html:not(.dark) .ssg-comment-form .comment-reply-title {
  color: #1B4332;
}

html:not(.dark) .ssg-comment-date,
html:not(.dark) .ssg-rating-label,
html:not(.dark) .ssg-privacy-field span,
html:not(.dark) .ssg-cookies-field span,
html:not(.dark) .ssg-comment-reply-link a {
  color: #6B6560;
}

html:not(.dark) .ssg-comment-text,
html:not(.dark) .ssg-comment-text p {
  color: #5a4030;
}



/* Footer navigation */
.ssg-footer {
  background: #1B4332;
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
  margin-top: 0;
}
.ssg-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.ssg-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.ssg-footer-col {
  min-width: 0;
}
.ssg-footer-title {
  font-family: 'DM Serif Display', serif;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 16px;
}
.ssg-footer-menu,
.ssg-footer-legal-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ssg-footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ssg-footer-menu a,
.ssg-footer-menu span {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color .2s;
}
.ssg-footer-menu a:hover {
  color: #fff;
}
.ssg-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ssg-footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ssg-footer-brand-name {
  font-family: 'DM Serif Display', serif;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}
.ssg-footer-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.ssg-footer-legal-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.ssg-footer-legal-menu a,
.ssg-footer-legal-menu span {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  transition: color .2s;
}
.ssg-footer-legal-menu a:hover {
  color: #fff;
}
.ssg-footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

html.dark .ssg-footer {
  background: #0f1f19;
}

@media (max-width: 900px) {
  .ssg-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .ssg-footer {
    padding: 48px 0 28px;
  }
  .ssg-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 40px;
  }
  .ssg-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .ssg-footer-meta,
  .ssg-footer-legal-menu {
    gap: 14px;
  }
}


/* Header navigation v2 */
.ssg-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 600;
  background: rgba(255, 253, 247, 0.72);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(27, 67, 50, 0.10);
  height: 64px;
}
.ssg-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1B4332;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-text {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: #1B4332;
  font-weight: 400;
}
.desktop-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}
.desktop-menu > .menu-item {
  position: relative;
}
.desktop-menu > .menu-item > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #6B6560;
  text-decoration: none;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.desktop-menu > .menu-item > a svg { transition: transform .25s; }
.desktop-menu > .menu-item:hover > a {
  color: #1B4332;
  background: rgba(27, 67, 50, 0.06);
}
.desktop-menu > .menu-item:hover > a svg { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 200px;
  background: rgba(255, 253, 247, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(27, 67, 50, 0.10);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(27, 67, 50, 0.12), 0 2px 8px rgba(27,67,50,0.06);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
}
.menu-item:hover .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown::before {
  content: '';
  position: absolute; top: -6px; left: 50%;
  width: 12px; height: 12px;
  background: rgba(255,253,247,0.96);
  border-left: 1px solid rgba(27,67,50,0.10);
  border-top: 1px solid rgba(27,67,50,0.10);
  transform: translateX(-50%) rotate(45deg);
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 400;
  color: #5a5047;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.dropdown a:hover {
  background: rgba(27, 67, 50, 0.07);
  color: #1B4332;
}
.dropdown a .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #C2703E; flex-shrink: 0; opacity: .7;
}
.header-cta,
.drawer-cta-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-cta li,
.drawer-cta-menu li { list-style: none; }
.header-cta a,
.nav-cta {
  padding: 8px 18px;
  border-radius: 12px;
  background: #1B4332;
  color: white !important;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s !important;
  margin-left: 8px;
  display: inline-block;
}
.header-cta a:hover,
.nav-cta:hover { background: #2D6A4F !important; color: white !important; }
.burger-btn {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 6px; border-radius: 8px; color: #1B4332;
  transition: background .2s;
}
.burger-btn:hover { background: rgba(27,67,50,0.08); }
.mobile-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 700;
}
.mobile-overlay.open { display: block; }
.mobile-backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 20, 14, 0.55);
  backdrop-filter: blur(4px);
}
.mobile-drawer {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(340px, 90vw);
  background: #1B4332;
  display: flex; flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.mobile-overlay.open .mobile-drawer { transform: translateX(0); }
.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.drawer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 20px; color: #fff; font-weight: 400;
}
.drawer-close {
  background: rgba(255,255,255,0.1); border: none; cursor: pointer;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; transition: background .2s;
}
.drawer-close:hover { background: rgba(255,255,255,0.2); }
.drawer-nav { padding: 16px 16px 32px; flex: 1; }
.drawer-section { margin-bottom: 6px; }
.drawer-section-btn,
.drawer-section-link {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 13px 14px; border-radius: 12px;
  background: none; border: none; cursor: pointer;
  font-family: 'DM Serif Display', serif;
  font-size: 18px; font-weight: 400; color: rgba(255,255,255,0.9);
  text-align: left; transition: background .2s; text-decoration: none;
}
.drawer-section-btn:hover,
.drawer-section-link:hover { background: rgba(255,255,255,0.08); }
.drawer-section-btn svg { transition: transform .25s; flex-shrink: 0; }
.drawer-section-btn.expanded svg { transform: rotate(180deg); }
.drawer-sub { display: none; padding: 4px 0 8px 12px; }
.drawer-sub.open { display: block; }
.drawer-sub a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px;
  font-size: 14px; color: rgba(255,255,255,0.65);
  text-decoration: none; transition: background .15s, color .15s;
}
.drawer-sub a:hover { background: rgba(255,255,255,0.08); color: white; }
.drawer-sub a .sub-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #C2703E; flex-shrink: 0;
}
.drawer-footer {
  padding: 16px 24px 32px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.drawer-cta-menu a {
  display: block; text-align: center;
  padding: 13px; border-radius: 12px;
  background: #C2703E; color: white !important;
  text-decoration: none; font-size: 14px; font-weight: 600;
  transition: background .2s;
}
.drawer-cta-menu a:hover { background: #a85c30; }
html.dark .ssg-header {
  background: rgba(14,31,22,0.78);
  border-bottom-color: rgba(255,255,255,0.08);
}
html.dark .logo-text,
html.dark .burger-btn { color: #86efac; }
@media (max-width: 768px) {
  .desktop-menu { display: none; }
  .burger-btn {
    display: flex; align-items: center; justify-content: center;
  }
}


/* Header v2.1 fixes */
.ssg-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5000 !important;
  background: rgba(255, 253, 247, 0.72);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(27, 67, 50, 0.10);
  height: 64px;
}
.site-main {
  padding-top: 64px !important;
}
.desktop-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}
.desktop-menu > .menu-item {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: -14px;
}
.desktop-menu > .menu-item > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #6B6560;
  text-decoration: none;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.desktop-menu > .menu-item > a svg {
  transition: transform .25s;
}
.desktop-menu > .menu-item:hover > a,
.desktop-menu > .menu-item:focus-within > a {
  color: #1B4332;
  background: rgba(27, 67, 50, 0.06);
}
.desktop-menu > .menu-item:hover > a svg,
.desktop-menu > .menu-item:focus-within > a svg {
  transform: rotate(180deg);
}
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 200px;
  background: rgba(255, 253, 247, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(27, 67, 50, 0.10);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(27, 67, 50, 0.12), 0 2px 8px rgba(27,67,50,0.06);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  z-index: 5100;
  transition: opacity .2s ease, transform .2s ease;
}
.desktop-menu > .menu-item:hover .dropdown,
.desktop-menu > .menu-item:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: rgba(255,253,247,0.96);
  border-left: 1px solid rgba(27,67,50,0.10);
  border-top: 1px solid rgba(27,67,50,0.10);
  transform: translateX(-50%) rotate(45deg);
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 400;
  color: #5a5047;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.dropdown a:hover,
.dropdown a:focus {
  background: rgba(27, 67, 50, 0.07);
  color: #1B4332;
}
.dropdown a .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C2703E;
  flex-shrink: 0;
  opacity: 0.7;
}
.header-cta a,
.nav-cta {
  padding: 8px 18px;
  border-radius: 12px;
  background: #1B4332;
  color: #fff !important;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s !important;
  margin-left: 8px;
  display: inline-block;
}
.header-cta a:hover,
.nav-cta:hover {
  background: #2D6A4F !important;
  color: #fff !important;
}
html.dark .ssg-header {
  background: rgba(14, 31, 22, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
html.dark .dropdown {
  background: rgba(14, 31, 22, 0.96);
  border-color: rgba(255,255,255,0.10);
  box-shadow: 0 12px 40px rgba(0,0,0,0.28), 0 2px 8px rgba(0,0,0,0.18);
}
html.dark .dropdown::before {
  background: rgba(14, 31, 22, 0.96);
  border-left-color: rgba(255,255,255,0.10);
  border-top-color: rgba(255,255,255,0.10);
}
html.dark .desktop-menu > .menu-item > a,
html.dark .logo-text,
html.dark .burger-btn {
  color: #86efac;
}
html.dark .desktop-menu > .menu-item:hover > a,
html.dark .desktop-menu > .menu-item:focus-within > a {
  background: rgba(255,255,255,0.08);
}
html.dark .dropdown a {
  color: rgba(255,255,255,0.72);
}
html.dark .dropdown a:hover,
html.dark .dropdown a:focus {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
@media (max-width: 768px) {
  .site-main {
    padding-top: 64px !important;
  }
}


/* Header v2.2 real class + hover bridge fix */
.ssg-header-nav {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5000 !important;
  background: rgba(255, 253, 247, 0.72);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(27, 67, 50, 0.10);
  height: 64px;
}
html.dark .ssg-header-nav {
  background: rgba(14, 31, 22, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-main {
  padding-top: 64px !important;
}
.desktop-menu > .menu-item {
  position: relative;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.desktop-menu > .menu-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}
.dropdown {
  top: calc(100% + 8px) !important;
}
.desktop-menu > .menu-item:hover .dropdown,
.desktop-menu > .menu-item:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.logo-text {
  color: #1B4332;
}
html.dark .logo-text,
html.dark .burger-btn {
  color: #86efac;
}


/* Header v2.3 blur alignment */
.ssg-header-nav,
.filter-bar {
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  background: rgba(255, 253, 247, 0.72);
}
html.dark .ssg-header-nav,
html.dark .filter-bar {
  background: rgba(14, 31, 22, 0.72);
}


/* Filter bar constrained to walks section */
.walks-grid-section {
  position: relative;
}
.walks-grid-section .filter-bar {
  position: sticky;
  top: 64px;
  z-index: 40;
  margin: 0 -2rem 0;
  padding: 1rem 2rem;
  background: rgba(255, 253, 247, 0.72);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(27, 67, 50, 0.10);
}
html.dark .walks-grid-section .filter-bar {
  background: rgba(14, 31, 22, 0.72);
  border-bottom-color: rgba(255,255,255,0.08);
}
@media (max-width: 768px) {
  .walks-grid-section .filter-bar {
    top: 64px;
    margin: 0 -1rem 0;
    padding: 1rem;
  }
}


/* Mobile: hide desktop menu when burger is visible */
@media (max-width: 768px) {
  .desktop-menu {
    display: none !important;
  }
}



/* Plain text page template */
.plain-page {
  padding: 3rem 1.5rem 4rem;
}

.plain-page-inner {
  max-width: 900px;
  margin: 0 auto;
}

.plain-page-article {
  background: transparent;
}

.plain-page-header {
  margin-bottom: 2rem;
}

.plain-page-title {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.08;
  color: var(--text-main);
}

.plain-page-content {
  color: var(--text-soft);
}

.plain-page-content > * + * {
  margin-top: 1rem;
}

.plain-page-content h1,
.plain-page-content h2,
.plain-page-content h3,
.plain-page-content h4,
.plain-page-content h5,
.plain-page-content h6 {
  color: var(--text-main);
  line-height: 1.15;
  margin-top: 2rem;
  margin-bottom: .75rem;
}

.plain-page-content h1 { font-size: clamp(2rem, 4vw, 3rem); }
.plain-page-content h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
.plain-page-content h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.plain-page-content h4 { font-size: 1.2rem; }
.plain-page-content h5 { font-size: 1.05rem; }
.plain-page-content h6 { font-size: .95rem; }

.plain-page-content p,
.plain-page-content li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-soft);
}

.plain-page-content strong {
  color: var(--text-main);
  font-weight: 600;
}

.plain-page-content a {
  color: var(--forest);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.plain-page-content a:hover {
  color: var(--forest-light);
}

.plain-page-content ul,
.plain-page-content ol {
  padding-left: 1.25rem;
  margin-top: .75rem;
}

.plain-page-content li + li {
  margin-top: .45rem;
}

.plain-page-content hr {
  border: 0;
  border-top: 1px solid rgba(27, 67, 50, 0.12);
  margin: 2rem 0;
}

.plain-page-content blockquote {
  margin: 1.5rem 0;
  padding-left: 1rem;
  border-left: 3px solid rgba(27, 67, 50, 0.18);
  color: var(--text-main);
}

html.dark .plain-page-content hr {
  border-top-color: rgba(255,255,255,0.10);
}

html.dark .plain-page-content blockquote {
  border-left-color: rgba(255,255,255,0.16);
}

@media (max-width: 768px) {
  .plain-page {
    padding: 2rem 1rem 3rem;
  }

  .plain-page-header {
    margin-bottom: 1.5rem;
  }

  .plain-page-content p,
  .plain-page-content li {
    line-height: 1.7;
  }
}
	/* Blog templates */
.blog-archive-page,
.blog-single-page {
  padding-bottom: 4rem;
}

.blog-archive-hero,
.blog-single-hero {
  padding: 2.5rem 1.5rem 2rem;
}

.blog-archive-hero-inner,
.blog-single-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.blog-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  font-size: .82rem;
  color: var(--text-soft);
  margin-bottom: .9rem;
}

.blog-breadcrumbs a:hover {
  color: var(--forest);
}

.blog-archive-title,
.blog-single-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  color: var(--text-main);
}

.blog-archive-sub {
  max-width: 48rem;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: .8rem;
}

.blog-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 2fr) 320px;
  gap: 2rem;
}

.blog-main,
.blog-post-main {
  min-width: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.blog-card {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid rgba(27,67,50,0.08);
  box-shadow: 0 4px 18px rgba(27,67,50,0.06);
  transition: transform .2s, box-shadow .2s;
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(27,67,50,0.11);
}

.blog-card-img,
.blog-card-img-placeholder {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #1B4332, #2D6A4F);
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 1rem 1rem 1.1rem;
}

.blog-card-cat {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #C2703E;
  margin-bottom: .35rem;
}

.blog-card-title {
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: .45rem;
}

.blog-card-desc {
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: .75rem;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  font-size: .84rem;
  color: var(--text-soft);
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-sidebar-card {
  padding: 1.2rem 1.2rem 1.3rem;
}

.blog-sidebar-card h3 {
  font-size: 1.35rem;
  color: var(--text-main);
  margin-bottom: .8rem;
}

.blog-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-sidebar-list li + li {
  margin-top: .6rem;
}

.blog-sidebar-list a {
  color: var(--text-soft);
}

.blog-sidebar-list a:hover {
  color: var(--forest);
}

.blog-pagination {
  margin-top: 1.6rem;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  margin-right: .35rem;
  margin-bottom: .35rem;
  min-width: 2.2rem;
  min-height: 2.2rem;
  align-items: center;
  justify-content: center;
  padding: 0 .8rem;
  border-radius: .75rem;
  background: rgba(27,67,50,0.06);
}

.blog-pagination .page-numbers.current {
  background: #1B4332;
  color: #fff;
}

.blog-post-cat {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: #C2703E;
  margin-bottom: .7rem;
}

.blog-single-meta,
.blog-author-line {
  color: var(--text-soft);
}

.blog-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  margin-top: .9rem;
}

.blog-author-line {
  margin-top: .45rem;
}

.blog-post-featured {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1.2rem;
}

.blog-post-content {
  padding: 1.5rem 1.5rem 1.75rem;
}

.blog-post-content > * + * {
  margin-top: 1rem;
}

.blog-post-content h1,
.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4,
.blog-post-content h5,
.blog-post-content h6 {
  color: var(--text-main);
  line-height: 1.14;
  margin-top: 2rem;
  margin-bottom: .75rem;
}

.blog-post-content p,
.blog-post-content li {
  color: var(--text-soft);
  line-height: 1.85;
}

.blog-post-content strong {
  color: var(--text-main);
}

.blog-post-content a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: .14em;
}

.blog-post-content ul,
.blog-post-content ol {
  padding-left: 1.25rem;
}

.blog-post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.blog-post-nav-card {
  display: grid;
  grid-template-columns: 96px minmax(0,1fr);
  gap: .9rem;
  overflow: hidden;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid rgba(27,67,50,0.08);
}

.blog-post-nav-thumb,
.blog-post-nav-thumb-placeholder {
  height: 100%;
  min-height: 96px;
  background: linear-gradient(135deg, #1B4332, #2D6A4F);
}

.blog-post-nav-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-post-nav-copy {
  padding: .8rem .9rem .8rem 0;
}

.blog-post-nav-label {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #C2703E;
  margin-bottom: .3rem;
}

.blog-post-nav-title {
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: .3rem;
}

.blog-post-nav-date {
  font-size: .84rem;
  color: var(--text-soft);
}

.blog-related {
  margin-top: 2rem;
}

.blog-grid--related {
  margin-top: 1rem;
}

.blog-single-page .ssg-comments-section {
  max-width: none;
  margin: 2rem 0 0;
  padding: 0;
}

@media (max-width: 1024px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    order: 2;
  }
}

@media (max-width: 768px) {
  .blog-layout {
    padding: 0 1rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-post-nav {
    grid-template-columns: 1fr;
  }

  .blog-archive-hero,
  .blog-single-hero {
    padding: 2rem 1rem 1.5rem;
  }
}


/* Blog spacing harmonization */
.blog-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.blog-archive-hero,
.blog-single-hero {
  padding: 2rem 0 1.5rem;
}

.blog-archive-hero-inner,
.blog-single-hero-inner {
  max-width: none;
  margin: 0;
}

.blog-layout {
  max-width: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 2fr) 320px;
  gap: 1.5rem;
  align-items: start;
}

.blog-main,
.blog-post-main,
.blog-sidebar {
  min-width: 0;
}

.blog-post-featured,
.blog-post-content,
.blog-post-nav,
.blog-related,
.blog-single-page .ssg-comments-section {
  margin-left: 0;
  margin-right: 0;
}

.blog-card-body {
  padding: 1rem 1.1rem 1.15rem;
}

.blog-sidebar-card {
  padding: 1.15rem 1.2rem 1.2rem;
}

.blog-single-title,
.blog-archive-title {
  max-width: 16ch;
}

.blog-post-content {
  padding: 1.5rem 1.6rem 1.75rem;
}

.blog-single-page .ssg-comments-section {
  margin-top: 1.5rem;
}

@media (max-width: 1024px) {
  .blog-shell {
    padding: 0 2rem;
  }

  .blog-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .blog-shell {
    padding: 0 1rem;
  }

  .blog-archive-hero,
  .blog-single-hero {
    padding: 1.5rem 0 1.25rem;
  }

  .blog-layout {
    gap: 1rem;
  }

  .blog-post-content {
    padding: 1.2rem 1.1rem 1.35rem;
  }
}



/* Fix round 2 */
.walks-grid-section .filter-bar {
  width: 100% !important;
  max-width: none !important;
  border-bottom: none !important;
  padding-bottom: 1.5rem !important;
}
.walks-grid-section .walks-grid {
  margin-top: .5rem;
}

/* Comment spacing across detail templates */
.route-page .ssg-comments-section,
.place-page .ssg-comments-section,
.district-page .ssg-comments-section,
.blog-single-page .ssg-comments-section {
  margin-top: 1rem !important;
  margin-bottom: 2rem !important;
}

/* Single place layout should match route width rhythm */
.place-page .content,
.route-page .content,
.district-page .content,
.blog-shell {
  max-width: 1280px;
  margin: 0 auto;
}

.place-page .content {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

/* POI headline/container alignment */
.place-page .hero-content,
.place-page .place-hero-shell,
.place-page .place-hero-inner,
.place-page .content > .section,
.place-page .content > .place-layout,
.place-page .content > .glass-card,
.place-page .content > .place-facts-grid {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

/* Highlight/POI section rhythm */
.place-page .section {
  margin-bottom: 2rem;
}
.place-page .blog-layout {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* More breathing room before footer on place/route pages */
.route-page,
.place-page,
.district-page {
  padding-bottom: 0;
}
.route-page .content,
.place-page .content,
.district-page .content {
  padding-bottom: 2rem;
}

/* Ensure district taxonomy stays full-width landing, not blog grid */
.district-page .blog-layout,
.tax-stadtteil .blog-layout {
  display: block;
  max-width: none;
  padding: 0;
  margin: 0;
}



/* Fix round 3: targeted corrections */

/* Homepage filter bar */
.walks-grid-section .filter-bar {
  position: sticky;
  top: 64px;
  z-index: 40;
  margin: 0 0 1rem !important;
  padding: 1rem 0 1.25rem !important;
  width: auto !important;
  max-width: none !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
}
.walks-grid-section .filter-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}
.walks-grid-section .walks-grid {
  margin-top: .75rem;
}

/* Comments rhythm */
.ssg-comments-section {
  margin: 1.5rem auto 2rem !important;
}

/* POI hero/content alignment */
.single-poi .hero-content--small {
  max-width: 1280px !important;
  width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
}
.single-poi .content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3.5rem 2rem 2rem;
}

/* Highlight layout back to route-like grid */
.highlight-detail-content {
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 3.5rem 2rem 2rem !important;
  display: grid !important;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem !important;
  align-items: start;
}
.highlight-detail-content > *:nth-child(1) {
  grid-column: 1;
}
.highlight-detail-content > *:nth-child(2) {
  grid-column: 2;
}
.highlight-detail-content > *:nth-child(n+3) {
  grid-column: 1 / -1;
}
.highlight-detail-page .ssg-comments-section {
  max-width: 1280px;
  padding: 0 2rem;
}
.highlight-detail-page {
  padding-bottom: 0;
}
.highlight-card {
  cursor: default;
}
.highlight-related-list,
.highlight-sibling-grid {
  margin-top: 1rem;
}

@media (max-width: 1024px) {
  .highlight-detail-content {
    grid-template-columns: 1fr !important;
  }
  .highlight-detail-content > *:nth-child(1),
  .highlight-detail-content > *:nth-child(2),
  .highlight-detail-content > *:nth-child(n+3) {
    grid-column: 1;
  }
}

@media (max-width: 768px) {
  .single-poi .hero-content--small,
  .highlight-detail-page .ssg-comments-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .single-poi .content,
  .highlight-detail-content {
    padding: 2.5rem 1rem 1.5rem !important;
  }
  .walks-grid-section .filter-bar {
    padding-bottom: 1rem !important;
  }
}



/* Fix round 4 */
.walks-grid-section .filter-bar {
  background: var(--bg-glass) !important;
  backdrop-filter: blur(18px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
  border-radius: 16px;
}
html.dark .walks-grid-section .filter-bar {
  background: rgba(14, 31, 22, 0.72) !important;
}

.single-poi .hero-content {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem 1.5rem;
}

.highlight-detail-page .hero-content {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem 1.5rem;
}

.highlight-detail-page .category-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: .9rem;
}

@media (max-width: 768px) {
  .single-poi .hero-content,
  .highlight-detail-page .hero-content {
    padding: 0 1rem 1.25rem;
  }
}



/* Blogpost optimization v1 */
.blog-layout--single {
  align-items: start;
}

.blog-single-hero {
  padding: 2rem 0 1.25rem;
}

.blog-single-hero-inner {
  max-width: 860px;
}

.blog-single-title {
  
  margin-bottom: .75rem;
}

.blog-single-sub {
  max-width: 46rem;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-top: .35rem;
}

.blog-single-meta {
  margin-top: 1rem;
  font-size: .92rem;
}

.blog-author-line {
  margin-top: .6rem;
  font-size: .95rem;
}

.blog-post-main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.blog-post-featured {
  margin-bottom: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(27,67,50,0.08);
  box-shadow: 0 8px 24px rgba(27,67,50,0.08);
}

.blog-post-content {
  padding: 1.75rem 1.75rem 2rem;
}

.blog-post-content > :first-child {
  margin-top: 0;
}

.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4 {
  scroll-margin-top: 88px;
}

.blog-post-content p + h2,
.blog-post-content p + h3,
.blog-post-content ul + h2,
.blog-post-content ol + h2,
.blog-post-content blockquote + h2 {
  margin-top: 2.25rem;
}

.blog-post-content p,
.blog-post-content li {
  font-size: 1.02rem;
}

.blog-post-content blockquote {
  margin: 1.75rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid rgba(27,67,50,0.16);
  background: rgba(27,67,50,0.03);
  border-radius: 0 14px 14px 0;
}

.blog-post-content figure {
  margin: 1.75rem 0;
}

.blog-post-content figcaption {
  margin-top: .6rem;
  font-size: .88rem;
  color: var(--text-soft);
  text-align: center;
}

.blog-post-nav {
  margin-top: 0;
}

.blog-related {
  margin-top: .5rem;
}

.blog-related-head {
  margin-bottom: 1rem;
}

.blog-related .section-title {
  margin-top: .2rem;
}

.blog-single-page .ssg-comments-section {
  max-width: none;
  margin: .25rem 0 2rem !important;
  padding: 0;
}

.blog-single-page .ssg-comment-form {
  background: rgba(255,253,247,0.6);
  border: 1px solid rgba(27,67,50,0.10);
}

.blog-single-page .blog-sidebar {
  position: sticky;
  top: 96px;
}

html.dark .blog-post-featured {
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}

html.dark .blog-post-content blockquote {
  border-left-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.03);
}

@media (max-width: 1024px) {
  .blog-single-hero-inner {
    max-width: none;
  }

  .blog-single-page .blog-sidebar {
    position: static;
    top: auto;
  }
}

@media (max-width: 768px) {
  .blog-single-hero {
    padding: 1.5rem 0 1rem;
  }

  .blog-single-title {
    
  }

  .blog-single-sub {
    font-size: 1rem;
    line-height: 1.7;
  }

  .blog-post-content {
    padding: 1.2rem 1.1rem 1.4rem;
  }

  .blog-post-content p,
  .blog-post-content li {
    font-size: 1rem;
  }
}


/* Blogpost optimization v3 author box */
.blog-post-author-box {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 1.35rem;
}

.blog-post-author-avatar img,
.blog-post-author-avatar .avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: block;
}

.blog-post-author-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #C2703E;
  margin-bottom: .35rem;
}

.blog-post-author-name {
  font-size: 1.4rem;
  color: var(--text-main);
  margin-bottom: .45rem;
}

.blog-post-author-bio {
  color: var(--text-soft);
  line-height: 1.75;
}

.blog-post-author-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: .75rem;
}

.blog-post-author-meta a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: .14em;
}

@media (max-width: 768px) {
  .blog-post-author-box {
    grid-template-columns: 1fr;
  }

  .blog-post-author-avatar img,
  .blog-post-author-avatar .avatar {
    width: 72px;
    height: 72px;
  }
}


/* Blog Archive v1 */
.blog-category-chips {
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
  margin-bottom:1.5rem;
}

.chip {
  padding:.4rem .8rem;
  border-radius:999px;
  border:1px solid rgba(27,67,50,0.1);
  text-decoration:none;
  font-size:.85rem;
}

.chip.active {
  background:#1B4332;
  color:#fff;
}

.blog-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1.5rem;
}

@media(max-width:768px){
  .blog-grid{
    grid-template-columns:1fr;
  }
}

.blog-card {
  border:1px solid rgba(27,67,50,0.08);
  border-radius:16px;
  overflow:hidden;
  transition:all .2s ease;
  background:#fff;
}

.blog-card:hover {
  transform:translateY(-4px);
}

.blog-card-image img {
  width:100%;
  height:auto;
  display:block;
}

.blog-card-content {
  padding:1rem;
}

.blog-card-title {
  margin:.3rem 0;
}

.blog-card-meta {
  font-size:.8rem;
  color:#6B6560;
  margin-top:.5rem;
}


.frontpage .wp-block-latest-posts {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1.5rem;
  list-style:none;
  padding:0;
}
@media(max-width:768px){
  .frontpage .wp-block-latest-posts { grid-template-columns:1fr; }
}
.frontpage .wp-block-latest-posts li {
  border:1px solid rgba(27,67,50,0.08);
  border-radius:16px;
  padding:1rem;
  background:#fff;
}


/* Latest posts block */
.ssg-latest-posts-block {
  margin: 0 0 3rem;
}
.ssg-latest-posts-head {
  margin-bottom: 1.25rem;
}
.ssg-latest-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.ssg-latest-post-card {
  border-radius: 1rem;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(27,67,50,0.08);
  box-shadow: 0 4px 18px rgba(27,67,50,0.06);
  transition: transform .2s, box-shadow .2s;
}
.ssg-latest-post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(27,67,50,0.11);
}
.ssg-latest-post-link {
  display: block;
}
.ssg-latest-post-image,
.ssg-latest-post-image-placeholder {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: linear-gradient(135deg, #1B4332, #2D6A4F);
}
.ssg-latest-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ssg-latest-post-content {
  padding: 1rem 1rem 1.1rem;
}
.ssg-latest-post-category {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #C2703E;
  margin-bottom: .35rem;
}
.ssg-latest-post-title {
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: .45rem;
}
.ssg-latest-post-excerpt {
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: .75rem;
}
.ssg-latest-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  font-size: .84rem;
  color: var(--text-soft);
}
@media (max-width: 768px) {
  .ssg-latest-posts-grid {
    grid-template-columns: 1fr;
  }
  .ssg-latest-post-image,
  .ssg-latest-post-image-placeholder {
    height: 220px;
  }
}


/* Walk search bar v1 */
.walk-search-bar {
  position: sticky;
  top: 64px;
  z-index: 45;
  padding: 1rem 0;
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
}
.walk-search-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}
.walk-search-form {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1rem;
  border-radius: 18px;
  background: rgba(255,253,247,0.88);
  border: 1px solid rgba(27,67,50,0.10);
  box-shadow: 0 6px 20px rgba(27,67,50,0.08);
}
.walk-search-input {
  border: none;
  background: transparent;
  color: var(--text-main);
  font-size: 1rem;
  outline: none;
  min-width: 0;
}
.walk-search-input::placeholder {
  color: var(--text-soft);
}
.walk-search-submit,
.route-search-submit {
  appearance: none;
  border: none;
  border-radius: 12px;
  background: #1B4332;
  color: #fff;
  padding: .7rem 1rem;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
}
.walk-search-submit:hover,
.route-search-submit:hover {
  background: #2D6A4F;
}
html.dark .walk-search-bar {
  background: rgba(14,31,22,0.72);
}
html.dark .walk-search-form {
  background: rgba(14,31,22,0.88);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}
@media (max-width: 768px) {
  .walk-search-bar-inner {
    padding: 0 1rem;
  }
  .walk-search-form {
    grid-template-columns: 20px minmax(0, 1fr);
  }
  .walk-search-submit {
    grid-column: 1 / -1;
  }
}
/* Walk search bar v1 */
.walk-search-bar {
  position: sticky;
  top: 64px;
  z-index: 45;
  padding: 1rem 0;
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
}

.walk-search-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.walk-search-form {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1rem;
  border-radius: 18px;
  background: rgba(255,253,247,0.88);
  border: 1px solid rgba(27,67,50,0.10);
  box-shadow: 0 6px 20px rgba(27,67,50,0.08);
}

.walk-search-input {
  border: none;
  background: transparent;
  color: var(--text-main);
  font-size: 1rem;
  outline: none;
  min-width: 0;
}

.walk-search-input::placeholder {
  color: var(--text-soft);
}

.walk-search-submit,
.route-search-submit {
  appearance: none;
  border: none;
  border-radius: 12px;
  background: #1B4332;
  color: #fff;
  padding: .7rem 1rem;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
}

.walk-search-submit:hover,
.route-search-submit:hover {
  background: #2D6A4F;
}

html.dark .walk-search-bar {
  background: rgba(14,31,22,0.72);
}

html.dark .walk-search-form {
  background: rgba(14,31,22,0.88);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}

@media (max-width: 768px) {
  .walk-search-bar-inner {
    padding: 0 1rem;
  }

  .walk-search-form {
    grid-template-columns: 20px minmax(0, 1fr);
  }

  .walk-search-submit {
    grid-column: 1 / -1;
  }
}