:root {
  --bg: #f7f4ef;
  --ink: #1c1714;
  --on-accent: #faf6f2;
  --muted: #6e645d;
  --line: rgba(48, 32, 24, 0.12);
  --line-soft: rgba(48, 32, 24, 0.08);
  --accent: #c43b3b;
  --accent-dark: #9d2f2f;
  --card: #efe8e0;
  --card-hover: #e7dfd6;
  --range: rgba(196, 59, 59, 0.14);
  --shadow: 0 10px 40px rgba(48, 32, 24, 0.08);
  --header: 80px;
  --serif: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  overflow-anchor: none;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

html[data-theme="dark"] {
  --bg: #181513;
  --ink: #f6f1eb;
  --muted: #c3b6ac;
  --line: rgba(246, 241, 235, 0.14);
  --line-soft: rgba(246, 241, 235, 0.08);
  --card: #241f1b;
  --card-hover: #2e2823;
  --range: rgba(196, 59, 59, 0.28);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

.logo img.logo-mark-dark { display: none; }

html[data-theme="dark"] .logo img.logo-mark-light { display: none; }

html[data-theme="dark"] .logo img.logo-mark-dark { display: block; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3, p { margin: 0; }

a { color: inherit; }

button, input { font: inherit; color: inherit; }

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--bg);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 999px;
  z-index: 80;
}

.skip:focus { top: 12px; }

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 168px;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.5s ease, box-shadow 0.5s ease;
}

.header-spacer { height: 0; }

@media (min-width: 801px) {
  .site-header {
    position: fixed;
    left: 0;
    right: 0;
  }

  .header-spacer {
    height: 168px;
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .site-header.is-scrolled + .header-spacer { height: 80px; }
}

.site-header.is-scrolled {
  height: 80px;
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 28px rgba(48, 32, 24, 0.04);
}

.header-shell {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 28px;
}

.header-center {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
  max-width: calc(100vw - 32px);
  transition: top 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.is-scrolled .header-center { top: 16px; }

.mode-nav {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 82px;
  overflow: visible;
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s ease;
}

.site-header.is-scrolled .mode-nav {
  height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.mode {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 92px;
  padding: 10px 16px 14px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.mode svg {
  width: 28px;
  height: 28px;
  overflow: visible;
  transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.mode:hover { color: var(--ink); }

.mode:hover svg { transform: translateY(-2px) scale(1.05); }

.mode.is-active { color: var(--ink); }

.mode.is-active svg { transform: scale(1.08); }

.mode.is-active:hover svg { transform: translateY(-2px) scale(1.12); }

.mode::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.mode.is-active::after { transform: scaleX(1); }

.mode-icon .ico-sheet,
.mode-icon .ico-rings,
.mode-icon .ico-person,
.mode-icon .ico-pin,
.mode-icon .ico-mark {
  transform-box: fill-box;
  transform-origin: center;
}

.ico-mark { fill: currentColor; }

.mode.is-active .ico-mark { fill: var(--accent); }

.mode.is-active .ico-person-b { color: var(--accent); }

.mode-icon.is-alive .ico-sheet { animation: sheet-pop 0.58s cubic-bezier(0.2, 0.8, 0.2, 1); }

.mode-icon.is-alive .ico-rings { animation: rings-pop 0.5s cubic-bezier(0.2, 0.9, 0.2, 1); }

.mode-icon.is-alive .ico-mark { animation: mark-pop 0.45s ease 0.12s both; }

.mode-icon.is-alive .ico-person-a { animation: person-bob 0.62s cubic-bezier(0.2, 0.8, 0.2, 1); }

.mode-icon.is-alive .ico-person-b { animation: person-bob 0.62s cubic-bezier(0.2, 0.8, 0.2, 1) 0.08s; }

.mode-icon.is-alive .ico-pin { animation: pin-drop 0.62s cubic-bezier(0.18, 0.9, 0.32, 1.15); }

@keyframes sheet-pop {
  0% { transform: scale(0.8) rotate(-6deg); }
  55% { transform: scale(1.1) rotate(2deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@keyframes rings-pop {
  0% { transform: translateY(-6px); }
  55% { transform: translateY(1px); }
  100% { transform: translateY(0); }
}

@keyframes mark-pop {
  0% { transform: scale(0); }
  70% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

@keyframes person-bob {
  0% { transform: translateY(3px); }
  40% { transform: translateY(-5px); }
  70% { transform: translateY(1px); }
  100% { transform: translateY(0); }
}

@keyframes pin-drop {
  0% { transform: translateY(-12px) scale(0.9); }
  50% { transform: translateY(3px) scale(1.08); }
  72% { transform: translateY(-3px) scale(1); }
  100% { transform: translateY(0) scale(1); }
}

.header-end {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  transition: margin-top 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo { margin-top: 16px; transition: margin-top 0.5s cubic-bezier(0.4, 0, 0.2, 1); }

.site-header.is-scrolled .logo { margin-top: 14px; }

.site-header.is-scrolled .header-end { margin-top: 19px; }

.host-link {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
}

.host-link:hover,
.host-link[aria-current="page"] { background: var(--card-hover); }

.logo {
  display: block;
  flex: none;
  line-height: 0;
  text-decoration: none;
}

.logo img {
  display: block;
  height: 68px;
  width: calc(68px * 187 / 136);
  aspect-ratio: 187 / 136;
  object-fit: contain;
  max-width: none;
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1), width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.is-scrolled .logo img {
  height: 52px;
  width: calc(52px * 187 / 136);
}

.nav {
  display: flex;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 50;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  min-width: 220px;
  padding: 8px;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(48, 32, 24, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transform-origin: top right;
  transition:
    opacity 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0s linear 0.32s;
}

.site-header.is-open .nav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    opacity 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0s linear 0s;
}

.nav a {
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 12px;
}

.nav-lang {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0 0 6px;
  padding: 8px 14px 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.nav-lang:hover { background: var(--card-hover); }

.nav-lang-ico {
  width: 22px;
  height: 22px;
  flex: none;
}

.nav-lang-text {
  display: grid;
  gap: 1px;
}

.nav-lang-current {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current="page"] { background: var(--card-hover); }

.nav-count {
  display: inline-block;
  margin-left: 8px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.nav-count.is-added {
  animation: count-pop 0.46s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes count-pop {
  0% { transform: scale(0.6); }
  42% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.nav-count[hidden] { display: none; }

.lang-btn,
.theme-btn {
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  padding: 0;
  place-items: center;
  color: var(--ink);
  cursor: pointer;
}

.lang-btn:hover,
.theme-btn:hover { background: var(--card-hover); }

.lang-btn svg,
.theme-btn svg {
  width: 20px;
  height: 20px;
}

.nav-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  padding: 0;
  place-items: center;
  cursor: pointer;
}

.nav-toggle:hover { background: var(--card-hover); }

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 99px;
}

.nav-toggle-bars {
  position: relative;
  transition: background-color 0.28s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-toggle-bars::before { transform: translateY(-6px); }
.nav-toggle-bars::after { transform: translateY(6px); }

.site-header.is-open .nav-toggle-bars { background: transparent; }

.site-header.is-open .nav-toggle-bars::before { transform: rotate(45deg); }
.site-header.is-open .nav-toggle-bars::after { transform: rotate(-45deg); }

.hero {
  padding: 36px 0 32px;
}

.hero .wrap {
  display: block;
}

.hero .eyebrow,
.hero h1 {
  text-align: center;
}

.hero .lead {
  text-align: center;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(3.1rem, 6.4vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero h1 .keep { white-space: nowrap; }

.hero-photo {
  margin: 36px auto 0;
  max-width: 920px;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: min(52vh, 520px);
  object-fit: cover;
  border-radius: 28px;
  background: var(--card);
}

.hero-photo figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-style: normal;
  text-align: center;
}

.lead {
  position: relative;
  max-width: 40rem;
  margin: 22px auto 16px;
  color: var(--muted);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.55;
}

.lead strong {
  color: var(--accent);
  font-weight: 500;
}

.lead-ico {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  margin: 0 0.16em 0 0.04em;
  vertical-align: -0.28em;
  color: var(--accent);
  overflow: visible;
}

.more {
  display: flex;
  width: max-content;
  margin: 0 auto;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.more:hover { color: var(--accent); }

#search-root { position: relative; }

.search-form { position: relative; }

.search-bar {
  display: flex;
  align-items: center;
  height: 48px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(48, 32, 24, 0.06), 0 8px 24px rgba(48, 32, 24, 0.08);
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1), width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header:not(.is-scrolled) .search-bar {
  width: min(620px, calc(100vw - 360px));
  height: 66px;
}

@media (min-width: 801px) {
  .site-header.is-scrolled .search-bar {
    width: min(520px, calc(100vw - 300px));
  }

  .site-header.is-scrolled .search-fields { flex: 1; width: 100%; }

  .site-header.is-scrolled .search-seg { flex: 1 1 0; }

  .site-header.is-scrolled .seg-value { max-width: none; }
}

.search-fields {
  display: flex;
  align-items: center;
  min-width: 0;
}

.search-seg {
  position: relative;
  flex: 0 1 auto;
  min-width: 0;
  height: 48px;
  border: 0;
  background: transparent;
  text-align: left;
  border-radius: 999px;
  padding: 0 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header:not(.is-scrolled) .search-fields { width: 100%; }

.site-header:not(.is-scrolled) .search-seg {
  flex: 1 1 0;
  height: 66px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  padding: 0 24px;
}

.seg-kicker {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s ease;
}

.site-header:not(.is-scrolled) .seg-kicker {
  max-height: 18px;
  opacity: 1;
}

.search-seg:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: var(--line);
}

.search-seg:hover,
.search-seg.is-open { background: var(--card-hover); }

.search-seg:hover::before,
.search-seg.is-open::before,
.search-seg:hover + .search-seg::before,
.search-seg.is-open + .search-seg::before { opacity: 0; }

.seg-value {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 148px;
}

.seg-value.is-placeholder {
  color: var(--muted);
  font-weight: 400;
}

.search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0 7px 0 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  cursor: pointer;
  flex: 0 0 auto;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1), height 0.5s cubic-bezier(0.4, 0, 0.2, 1), margin 0.5s ease;
}

.site-header:not(.is-scrolled) .search-submit {
  width: 46px;
  height: 46px;
  margin: 0 10px 0 6px;
}

.site-header:not(.is-scrolled) .seg-value { max-width: none; }

.search-submit:hover { background: var(--accent-dark); }

.popover {
  position: absolute;
  top: calc(100% + 12px);
  z-index: 40;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(48, 32, 24, 0.12);
}

.popover[hidden] { display: none; }

.popover-date {
  left: 50%;
  transform: translateX(-50%);
  width: min(700px, calc(100vw - 32px));
  padding: 16px 18px 14px;
  overflow: auto;
}

.popover-cat {
  right: 0;
  width: min(360px, calc(100vw - 48px));
  padding: 10px;
}

.cal-months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.month-head {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  min-height: 32px;
  margin-bottom: 2px;
}

.month-name {
  text-align: center;
  font-weight: 600;
}

.cal-nav {
  width: 36px;
  height: 36px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  line-height: 1;
}

.cal-nav:hover { border-color: var(--ink); }

.weekdays,
.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.weekdays span {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 0 8px;
}

.day {
  height: 36px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
}

.day-pad { height: 36px; }

.day .num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 2px auto;
  border-radius: 99px;
}

.day.is-in { background: var(--range); }

.day.is-start { background: linear-gradient(90deg, transparent 50%, var(--range) 50%); }

.day.is-end { background: linear-gradient(90deg, var(--range) 50%, transparent 50%); }

.day.is-single { background: transparent; }

.day.is-edge .num {
  background: var(--accent);
  color: var(--on-accent);
}

.day.is-today:not(.is-edge) .num {
  box-shadow: inset 0 0 0 1px var(--accent);
}

.day:not(:disabled):not(.is-edge):hover .num { background: var(--card-hover); }

.day:disabled {
  color: #c3b8b0;
  cursor: default;
}

.cal-foot {
  display: flex;
  align-items: flex-end;
  gap: 22px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}

.cal-field span {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.cal-field strong {
  display: block;
  margin-top: 4px;
  font-weight: 500;
}

.cal-field strong.is-placeholder {
  color: var(--muted);
  font-weight: 400;
}

.cal-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-ghost,
.btn-solid {
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 999px;
  padding: 10px 16px;
}

.btn-ghost {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.btn-solid {
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
}

.btn-solid:hover { background: var(--accent); }

.cat-option {
  width: 100%;
  display: block;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 16px;
  padding: 12px 14px;
  cursor: pointer;
}

.cat-option strong { display: block; font-weight: 600; }

.cat-option small { color: var(--muted); }

.cat-option:hover,
.cat-option.is-selected { background: rgba(196, 59, 59, 0.1); }

.view { display: none; }

.view.is-current { display: block; }

.view.is-entering { animation: view-in 0.48s cubic-bezier(0.22, 0.61, 0.36, 1); }

@keyframes view-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.view-page { padding-top: 48px; padding-bottom: 104px; }

.detail-back { margin-bottom: 22px; }

.detail-hero {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 0 0 28px;
  border-radius: 28px;
  overflow: hidden;
  background: transparent;
}

.detail-hero:has(img.is-contain) { background: var(--card); }

.detail-hero:not(:has(img.is-contain)) {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

.detail-hero img {
  display: block;
  width: 100%;
  height: min(460px, 52vw);
  object-fit: cover;
}

.detail-hero img:not(.is-contain) {
  width: auto;
  height: auto;
  max-width: min(100%, 800px);
  max-height: min(520px, 62vw);
  border-radius: 28px;
}

.detail-title { max-width: 16em; }

.detail-when {
  margin: 0 0 8px;
  color: var(--accent);
  font-weight: 600;
}

.detail-lead {
  max-width: 38rem;
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.6;
}

.detail-facts {
  display: grid;
  gap: 18px 40px;
  margin: 28px 0 8px;
}

.detail-facts .fact {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
}

.fact-copy { display: grid; gap: 4px; }

.fact-ico {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--ink);
}

.detail-facts dt {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-facts dd { margin: 0; }

.detail-facts a { font-weight: 600; }

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 36px 56px;
  align-items: start;
  margin-top: 28px;
}

.detail-copy p {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.detail-box {
  padding: 6px 22px;
  border-radius: 24px;
  background: var(--card);
}

.detail-box .detail-facts { margin: 0; }

.detail-box .detail-facts .fact {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.detail-box .detail-facts .fact:first-child { border-top: 0; }

.cal-btn {
  display: flex;
  width: 100%;
  margin: 8px 0 16px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-weight: 600;
  padding: 14px 18px;
  cursor: pointer;
}

.cal-btn:hover { background: var(--accent-dark); }

.cal-btn .fact-ico {
  width: 18px;
  height: 18px;
  margin-top: 0;
  color: currentColor;
}

.detail-block { margin-top: 48px; }

.detail-block h2 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
  margin: 0 0 22px;
}

.view-page .results-head { padding-bottom: 28px; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
}

#choere,
#orte { padding-top: 96px; }

.section-head h2,
.results-head h1 {
  font-family: var(--serif);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.section-head h2,
.results-head h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  max-width: 16ch;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42em;
  width: max-content;
  justify-self: start;
  text-underline-offset: 0.28em;
  white-space: nowrap;
}

.text-link::after {
  content: "";
  flex: 0 0 auto;
  width: 1.05em;
  height: 1.05em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M13.1 4.8 20.9 12l-7.8 7.2-1.35-1.46 5.05-4.66H3.2v-2.16h13.6l-5.05-4.66z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M13.1 4.8 20.9 12l-7.8 7.2-1.35-1.46 5.05-4.66H3.2v-2.16h13.6l-5.05-4.66z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.text-link:hover,
.text-link:focus-visible { color: var(--accent); }

.text-link:hover::after,
.text-link:focus-visible::after { transform: translateX(6px); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.7fr);
  gap: 72px;
  align-items: start;
}

.about-grid .section-head h2 { max-width: 12em; }

.about-copy {
  display: grid;
  gap: 18px;
  max-width: 40rem;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.65;
}

.about-copy p:last-child { color: var(--muted); }

.facts {
  display: grid;
  gap: 28px;
  padding-top: 8px;
}

.fact strong {
  display: block;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.fact span { color: var(--muted); }

#termine { padding-bottom: 96px; }

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

.view[data-view="orte"] .wrap {
  width: min(1180px, calc(100% - 48px));
}

.places-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.view-switch {
  display: inline-flex;
  flex: none;
  gap: 4px;
  margin-bottom: 6px;
  padding: 4px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--card);
}

.view-switch button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
}

.view-switch button.is-on {
  background: var(--accent);
  color: var(--on-accent);
}

.places-stage.is-list .places-map { display: none; }

.places-stage.is-map .places-grid { display: none; }

.places-grid .choir-card { cursor: pointer; }

.places-grid .choir-card.is-picked {
  border-color: var(--accent);
}

.places-map,
.places-map.leaflet-container {
  width: 100%;
  height: min(720px, calc(100vh - 160px));
  min-height: 480px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--card);
}

.places-stage.is-list .places-map.leaflet-container { display: none; }

.map-pin {
  background: transparent;
  border: 0;
}

.map-pin span {
  display: block;
  width: 36px;
  height: 36px;
  margin: 7px 0 0 8px;
  border-radius: 50% 50% 50% 0;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 8px 18px rgba(48, 32, 24, 0.28);
  transform: rotate(-45deg);
}

.leaflet-container {
  width: 100%;
  height: 100%;
  font-family: var(--sans);
  background: var(--card);
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(48, 32, 24, 0.12);
}

.leaflet-popup-content-wrapper { border-radius: 16px; }

.leaflet-popup-content { margin: 12px 14px; font-weight: 600; }

.map-card-popup .leaflet-popup-content-wrapper {
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  box-shadow: 0 16px 40px rgba(48, 32, 24, 0.16);
}

.map-card-popup .leaflet-popup-content {
  margin: 0;
  width: 260px !important;
  font-weight: 400;
  line-height: 1.3;
}

.map-card-popup .leaflet-popup-tip {
  background: var(--card);
}

.leaflet-container .map-card-popup a.leaflet-popup-close-button {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(247, 243, 238, 0.94);
  color: var(--ink);
  font: 600 18px/1 var(--sans);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(48, 32, 24, 0.18);
  z-index: 2;
}

.leaflet-container .map-card-popup a.leaflet-popup-close-button:hover,
.leaflet-container .map-card-popup a.leaflet-popup-close-button:focus {
  color: var(--ink);
  background: var(--bg);
}

.map-card .card-photo { height: 148px; }

.map-card .card-body { padding: 16px 18px 18px; }

.map-card .card-kicker { margin-bottom: 8px; }

.map-card h3 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.leaflet-container a.map-card-btn,
.map-card-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
  padding: 12px 16px;
}

.leaflet-container a.map-card-btn:link,
.leaflet-container a.map-card-btn:visited,
.leaflet-container a.map-card-btn:hover,
.leaflet-container a.map-card-btn:focus,
.map-card-btn:hover { color: var(--on-accent); }

.leaflet-container a.map-card-btn:hover,
.leaflet-container a.map-card-btn:focus,
.map-card-btn:hover { background: var(--accent-dark); }

.leaflet-control-attribution {
  background: rgba(247, 243, 238, 0.88);
  color: var(--muted);
  font-size: 11px;
}

.event-card,
.choir-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  min-height: 0;
  overflow: hidden;
  padding: 0;
}

.card-hit {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  color: inherit;
  text-decoration: none;
}

a.card-hit:hover { background: var(--card-hover); }

.like-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(247, 243, 238, 0.94);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(48, 32, 24, 0.14);
  cursor: pointer;
}

.like-btn:hover { transform: scale(1.06); }

.like-heart {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
}

.like-btn.is-on {
  color: var(--accent);
}

.like-btn.is-on .like-heart {
  fill: currentColor;
}

.like-heart.is-pop {
  animation: heart-pop 0.46s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes heart-pop {
  0% { transform: scale(0.72); }
  42% { transform: scale(1.28); }
  100% { transform: scale(1); }
}

.card-photo {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: var(--card-hover);
}

.card-photo.is-contain,
.detail-hero img.is-contain {
  object-fit: contain;
  background: var(--card);
}

.event-card .card-photo.is-contain { height: 320px; }

.event-card {
  display: flex;
  flex-direction: column;
}

.event-main {
  display: flex;
  flex-direction: column;
  padding: 18px 22px 20px;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}

.event-main h3,
.choir-card h3 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.event-main p,
.card-text {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.event-main .event-when {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.choir-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  min-height: 0;
}

a.choir-card:hover,
.choir-card:hover {
  background: var(--card-hover);
}

.card-kicker {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-foot {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.card-foot strong { display: block; font-weight: 600; }

.card-foot span { color: var(--muted); }

.page-title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.about-page { padding-bottom: 24px; }

.about-page > .eyebrow,
.about-page > .page-title,
.about-page > .about-copy {
  text-align: center;
}

.about-page > .page-title { margin-inline: auto; }

.about-page .about-copy {
  margin-top: 8px;
  margin-inline: auto;
}

.about-photo {
  margin: 36px 0 0;
}

.about-photo img {
  display: block;
  width: 100%;
  height: min(460px, 52vw);
  object-fit: cover;
  object-position: center 42%;
  border-radius: 24px;
}

.about-photo figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.story {
  max-width: 40rem;
  margin-top: 56px;
}

.story h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.story p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.65;
}

.story p + p { margin-top: 16px; }

.story a { color: var(--ink); }

.story a:hover { color: var(--accent); }

.about-copy a { color: var(--ink); }

.about-copy a:hover { color: var(--accent); }

.facts-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 56px;
  padding-top: 0;
}

.facts-row .fact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 28px 24px 26px;
  border-radius: 24px;
  background: var(--accent);
  color: var(--on-accent);
}

.facts-row .fact-mark {
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
}

.facts-row .fact strong { font-size: 1.45rem; }

.facts-row .fact span {
  color: rgba(250, 246, 241, 0.88);
  font-size: 1rem;
  line-height: 1.45;
}

.about-next {
  max-width: 38rem;
  margin-top: 48px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.about-next a { color: var(--ink); }

.about-next a:hover { color: var(--accent); }

.about-cta {
  display: inline-flex;
  margin-top: 28px;
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  padding: 14px 22px;
}

body[data-page="kontakt"] .about-page { text-align: center; }

.about-cta:hover { background: var(--accent-dark); color: var(--on-accent); }

.join-hero {
  margin: 0;
  height: min(68vh, 640px);
  min-height: 320px;
  overflow: hidden;
}

.join-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  display: block;
}

.join-stage {
  width: min(640px, calc(100% - 48px));
  margin: 48px auto 104px;
}

.join-card {
  background: var(--card);
  border-radius: 28px;
  padding: 40px 40px 32px;
  box-shadow: var(--shadow);
}

.join-title { font-size: clamp(2.4rem, 5vw, 3.6rem); }

.join-lead {
  margin: 16px 0 28px;
  color: var(--muted);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.55;
}

.join-switch {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-bottom: 28px;
  padding: 6px;
  background: var(--bg);
  border-radius: 999px;
}

@media (min-width: 720px) {
  .join-switch { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.join-choice { position: relative; }

.join-choice input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.join-choice span {
  display: block;
  padding: 12px 8px;
  border-radius: 999px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.join-choice:has(input:checked) span {
  background: var(--ink);
  color: var(--bg);
}

.join-choice:has(input:focus-visible) span {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.field span {
  font-size: 0.82rem;
  font-weight: 600;
}

.field em {
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  color: inherit;
}

.field input[type="file"] {
  padding: 12px;
  font-size: 0.92rem;
}

.field textarea { min-height: 120px; resize: vertical; }

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select { border-color: var(--accent); }

.field-error {
  margin: 0;
  color: var(--accent);
  font-size: 0.85rem;
}

.join-submit {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
  border: 0;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  border-radius: 999px;
  padding: 16px 22px;
  text-decoration: none;
  cursor: pointer;
}

.join-submit:hover { background: var(--accent-dark); color: var(--on-accent); }

.form-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.form-error {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.92rem;
}

.join-reset {
  display: block;
  width: 100%;
  margin-top: 16px;
  border: 0;
  background: transparent;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.28em;
  cursor: pointer;
}

.results-body { padding: 36px 0 104px; }

.results-head { padding-bottom: 8px; }

.results-head h1 { max-width: none; }

.results-sub {
  margin-top: 12px;
  color: var(--muted);
}


section[id],
#mitmachen { scroll-margin-top: 96px; }

#search-root { scroll-margin-top: 96px; }

.empty {
  grid-column: 1 / -1;
  padding: 28px 0 8px;
  max-width: 36rem;
}

.empty p { color: var(--muted); margin-bottom: 16px; }

.fav-block { margin-top: 36px; }

.fav-block h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 36px 0 56px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.site-footer strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 6px;
}

.site-footer a:hover { color: var(--accent); }

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.footer-links a,
.footer-meta a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.legal h2 {
  margin: 40px 0 12px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.legal p,
.legal li {
  max-width: 40rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

.legal ul {
  margin: 12px 0 0;
  padding-left: 1.2rem;
}

.legal li + li { margin-top: 8px; }

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

  .places-head { flex-direction: column; align-items: flex-start; }

  .places-map,
  .places-map.leaflet-container {
    height: min(70vh, 640px);
    min-height: 420px;
  }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .join-card { padding: 32px 22px 24px; }
  .join-stage { width: min(640px, calc(100% - 32px)); }
}

@media (max-width: 800px) {
  .wrap,
  .view[data-view="orte"] .wrap { width: min(1120px, calc(100% - 32px)); }

  .hero { padding: 40px 0 16px; }

  .detail-hero img.is-contain { height: 220px; }
  .detail-layout { grid-template-columns: 1fr; gap: 28px; }

  .more { margin-top: 0; }

  .site-header,
  .site-header.is-scrolled { height: auto; }

  .header-shell {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo end"
      "center center";
    padding: 10px 16px 12px;
    gap: 8px 12px;
    align-items: center;
  }

  .logo,
  .site-header.is-scrolled .logo {
    grid-area: logo;
    justify-self: start;
    margin-top: 0;
  }

  .logo img,
  .site-header.is-scrolled .logo img {
    height: 52px;
    width: calc(52px * 187 / 136);
  }

  .header-end,
  .site-header.is-scrolled .header-end {
    grid-area: end;
    position: static;
    margin-top: 0;
  }

  .header-center,
  .site-header.is-scrolled .header-center {
    grid-area: center;
    position: static;
    transform: none;
    top: auto;
    align-items: stretch;
    width: 100%;
  }

  #search-root,
  .search-form { width: 100%; }

  .mode-nav {
    width: 100%;
    height: 68px;
    justify-content: space-around;
  }

  .mode { min-width: 0; padding: 4px 8px 10px; font-size: 0.75rem; }

  .site-header:not(.is-scrolled) .search-bar,
  .search-bar,
  .search-fields { width: 100%; }

  .site-header:not(.is-scrolled) .search-bar,
  .search-bar { margin-top: 8px; }

  .site-header:not(.is-scrolled) .search-bar,
  .site-header:not(.is-scrolled) .search-seg,
  .site-header:not(.is-scrolled) .search-submit {
    height: 48px;
  }

  .site-header:not(.is-scrolled) .search-seg {
    flex-direction: row;
    align-items: center;
    padding: 0 14px;
  }

  .site-header:not(.is-scrolled) .search-submit {
    width: 34px;
    height: 34px;
    margin: 0 7px 0 6px;
  }

  .seg-kicker,
  .site-header:not(.is-scrolled) .seg-kicker { display: none; }

  .search-seg { flex: 1 1 0; padding: 0 14px; }

  .seg-value { max-width: none; }

  .site-header.is-scrolled .mode-nav {
    width: auto;
    height: 44px;
    opacity: 1;
    overflow: visible;
    pointer-events: auto;
    align-items: center;
  }

  .site-header.is-scrolled .mode {
    gap: 0;
    padding: 4px 3px;
  }

  .site-header.is-scrolled .lang-btn,
  .site-header.is-scrolled .theme-btn,
  .site-header.is-scrolled .nav-toggle {
    width: 36px;
    height: 36px;
  }

  .site-header.is-scrolled .header-end { gap: 4px; }

  .site-header.is-scrolled .mode span {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .site-header.is-scrolled .mode::after {
    left: 10px;
    right: 10px;
    bottom: 0;
  }

  .site-header.is-scrolled .header-shell {
    grid-template-columns: auto 1fr auto auto 1fr auto;
    grid-template-areas: "logo . tools loupe . end";
    align-items: center;
    column-gap: 0;
  }

  .site-header.is-scrolled .header-center {
    display: contents;
  }

  .site-header.is-scrolled .mode-nav {
    grid-area: tools;
    justify-content: flex-end;
  }

  .site-header.is-scrolled #search-root {
    grid-area: loupe;
    justify-self: start;
  }

  .site-header.is-scrolled #search-root,
  .site-header.is-scrolled .search-form {
    width: auto;
  }

  .site-header.is-scrolled.is-filters .header-shell {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "logo tools end"
      "loupe loupe loupe";
  }

  .site-header.is-scrolled.is-filters .mode-nav {
    justify-content: center;
  }

  .site-header.is-scrolled.is-filters #search-root {
    justify-self: stretch;
  }

  .site-header.is-scrolled .search-bar {
    width: 44px;
    height: 44px;
    margin-top: 0;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    justify-content: center;
  }

  .site-header.is-scrolled .search-fields {
    flex: 0 0 0;
    width: 0;
    min-width: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .site-header.is-scrolled .search-submit {
    width: 40px;
    height: 40px;
    margin: 0;
  }

  .site-header.is-scrolled.is-filters #search-root,
  .site-header.is-scrolled.is-filters .search-form {
    flex: 1 0 100%;
    width: 100%;
  }

  .site-header.is-scrolled.is-filters .search-bar {
    width: 100%;
    height: 48px;
    margin-top: 6px;
    border-color: var(--line);
    background: var(--bg);
    box-shadow: 0 1px 2px rgba(48, 32, 24, 0.06), 0 8px 24px rgba(48, 32, 24, 0.08);
  }

  .site-header.is-scrolled.is-filters .search-fields {
    flex: 1 1 auto;
    width: auto;
    opacity: 1;
    overflow: visible;
    pointer-events: auto;
  }

  .site-header.is-scrolled.is-filters .search-submit {
    width: 34px;
    height: 34px;
    margin: 0 7px 0 6px;
  }

  .facts-row { gap: 8px; margin-top: 40px; }

  .facts-row .fact {
    padding: 16px 10px 14px;
    border-radius: 18px;
    gap: 6px;
  }

  .facts-row .fact-mark {
    width: 22px;
    height: 22px;
    margin-bottom: 4px;
  }

  .facts-row .fact strong { font-size: 1.02rem; }

  .facts-row .fact span {
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .host-link { display: none; }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: auto;
    min-width: min(260px, calc(100vw - 32px));
  }

  .cal-months { grid-template-columns: 1fr; }

  .cal-months .month + .month { display: none; }

  .popover-date,
  .popover-cat {
    left: 0;
    right: 0;
    width: auto;
    transform: none;
  }

  .cal-foot { flex-wrap: wrap; }

  .cal-actions { width: 100%; margin-left: 0; justify-content: space-between; }

  .card-grid,
  .section-head,
  .footer-inner { grid-template-columns: 1fr; display: grid; }

  .section-head { align-items: start; }

  .footer-inner { align-items: start; }

  .section { padding: 72px 0; }
}

@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
  .join-hero { height: 48vh; min-height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .site-header,
  .header-spacer,
  .header-center,
  .mode-nav,
  .logo,
  .header-end,
  .search-bar,
  .search-seg,
  .search-submit,
  .mode svg,
  .mode::after,
  .nav,
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after { transition: none; }

  .mode-icon.is-alive .ico-sheet,
  .mode-icon.is-alive .ico-rings,
  .mode-icon.is-alive .ico-mark,
  .mode-icon.is-alive .ico-person-a,
  .mode-icon.is-alive .ico-person-b,
  .mode-icon.is-alive .ico-pin,
  .view.is-entering,
  .like-heart.is-pop { animation: none; }

  .like-btn:hover { transform: none; }

  .text-link::after { transition: none; }

  .text-link:hover::after,
  .text-link:focus-visible::after { transform: none; }

  .lang-layer,
  .lang-dialog { transition: none; }
}

html.ckm-language-loading body { visibility: hidden; }

html.translated-ltr .lead-ico,
html.translated-rtl .lead-ico { display: none; }

.goog-te-banner-frame.skiptranslate,
iframe.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame,
body > .skiptranslate,
#google_translate_element,
.goog-te-gadget,
.goog-te-gadget-simple,
.goog-te-menu-frame,
.goog-te-spinner,
.goog-te-spinner-pos,
.goog-te-ftab,
iframe.goog-te-menu-frame {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  position: fixed !important;
  left: -9999px !important;
  top: -9999px !important;
}

body > div[class*="VIpgJd-"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body { top: 0 !important; }

font[style*="background-color"],
.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}

.lang-layer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.lang-layer[hidden] { display: none; }

.lang-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(48, 32, 24, 0.46);
}

.lang-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: min(680px, calc(100vh - 48px));
  overflow: auto;
  padding: 28px 22px 26px;
  border-radius: 28px;
  background: var(--bg);
  box-shadow: 0 24px 60px rgba(48, 32, 24, 0.18);
}

.lang-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 8px;
}

.lang-close {
  display: grid;
  flex: none;
  width: 36px;
  height: 36px;
  margin: 0 -6px 0 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  place-items: center;
  cursor: pointer;
}

.lang-close:hover { background: var(--card-hover); }

.lang-close span,
.lang-close span::before {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 99px;
  background: var(--ink);
}

.lang-close span { transform: rotate(45deg); }

.lang-close span::before {
  content: "";
  transform: rotate(90deg);
}

.lang-dialog h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.lang-lead {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
}

.lang-option {
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.lang-option:hover { background: var(--card-hover); }

.lang-option.is-active { border-color: var(--ink); }

@media (min-width: 720px) {
  .lang-dialog { padding: 32px 36px 34px; }
  .lang-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
