:root {
  --paper: #f8f4ed;
  --paper-rgb: 248, 244, 237;
  --paper-deep: #efe7da;
  --ink: #211f1b;
  --ink-rgb: 33, 31, 27;
  --muted: #6f685f;
  --line: #d8cbbb;
  --asphalt: #333532;
  --signal: #b7382f;
  --blue: #2f5f7d;
  --electric-blue: #00a7ff;
  --green: #51735a;
  --shadow: 0 24px 80px rgba(55, 46, 34, 0.12);
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --literata: "Literata", Georgia, serif;
  --card-bg: rgba(255, 252, 246, 0.62);
  --calendar-bg: rgba(255, 252, 246, 0.5);
  --entry-bg: linear-gradient(180deg, rgba(255, 252, 246, 0.55), rgba(255, 252, 246, 0));
  --header-bg: rgba(248, 244, 237, 0.96);
  --header-border: rgba(216, 203, 187, 0.7);
}

body.is-dark {
  --paper: #141615;
  --paper-rgb: 20, 22, 21;
  --paper-deep: #20231f;
  --ink: #f2ecdf;
  --ink-rgb: 242, 236, 223;
  --muted: #b5aa9a;
  --line: #3c4039;
  --asphalt: #f2ecdf;
  --signal: #ff7a66;
  --blue: #8ab4d2;
  --electric-blue: #30c8ff;
  --green: #9bbf9f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --card-bg: rgba(32, 35, 31, 0.74);
  --calendar-bg: rgba(32, 35, 31, 0.6);
  --entry-bg: linear-gradient(180deg, rgba(32, 35, 31, 0.55), rgba(32, 35, 31, 0));
  --header-bg: rgba(20, 22, 21, 0.94);
  --header-border: rgba(72, 76, 69, 0.85);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(47, 95, 125, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(183, 56, 47, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px, 72px 72px, auto;
  font-family: var(--sans);
  transition: background-color 180ms ease, color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  body,
  a,
  button,
  select {
    cursor:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg fill='none' stroke='%23211f1b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath fill='%23f8f4ed' d='M7 18h18l-2.6-5.2a3 3 0 0 0-2.7-1.7h-7.4a3 3 0 0 0-2.7 1.7L7 18Z'/%3E%3Cpath fill='%2300a7ff' d='M5.8 18.1h20.4v5.1H5.8z'/%3E%3Ccircle fill='%23211f1b' cx='10' cy='24' r='2.5'/%3E%3Ccircle fill='%23211f1b' cx='22' cy='24' r='2.5'/%3E%3Cpath d='M12.6 12.3h6.8l1.4 3.4h-9.6l1.4-3.4Z'/%3E%3C/g%3E%3C/svg%3E")
        7 7,
      auto;
  }
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 56px);
  color: var(--ink);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 10px 30px rgba(55, 46, 34, 0.08);
  backdrop-filter: blur(14px);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-over-hero {
  color: #f8f4ed;
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.brand {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 650;
  text-decoration: none;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-family: var(--serif);
  text-transform: uppercase;
}

.top-nav a,
.theme-toggle {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.top-nav a {
  padding: 8px 6px;
}

.theme-toggle {
  position: absolute;
  top: 50%;
  right: clamp(20px, 5vw, 56px);
  min-width: 208px;
  justify-content: space-between;
  padding: 6px 7px 6px 14px;
  border: 1px solid rgba(var(--ink-rgb), 0.18);
  border-radius: 999px;
  background: rgba(var(--paper-rgb), 0.64);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 10px 24px rgba(55, 46, 34, 0.08);
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  opacity: 1;
  transform: translateY(-50%);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.site-header.is-over-hero .theme-toggle {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateY(calc(-50% - 6px));
}

.site-header.has-theme-toggle .top-nav {
  padding-right: 226px;
}

.theme-toggle__label {
  white-space: nowrap;
}

.theme-toggle__switch {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
}

.theme-toggle__track {
  position: relative;
  width: 48px;
  height: 26px;
  border: 1px solid rgba(var(--ink-rgb), 0.18);
  border-radius: 999px;
  background:
    radial-gradient(circle at 74% 50%, rgba(255, 217, 105, 0.18), transparent 32%),
    linear-gradient(135deg, #2d3432, #151817);
  box-shadow: inset 0 2px 7px rgba(0, 0, 0, 0.28);
}

.theme-toggle__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f8f4ed;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.top-nav a:hover,
.top-nav a:focus-visible,
.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: var(--signal);
  outline: none;
}

body.is-dark .theme-toggle {
  color: #ffd969;
  border-color: rgba(255, 217, 105, 0.32);
  background: rgba(32, 35, 31, 0.78);
}

body.is-dark .theme-toggle__track {
  background:
    radial-gradient(circle at 30% 50%, rgba(255, 217, 105, 0.4), transparent 36%),
    linear-gradient(135deg, #433c24, #141615);
}

body.is-dark .theme-toggle__thumb {
  transform: translateX(22px);
  background: #ffd969;
  box-shadow: 0 0 14px rgba(255, 217, 105, 0.58), 0 2px 8px rgba(0, 0, 0, 0.35);
}

.road-progress {
  position: fixed;
  z-index: 30;
  top: 84px;
  right: 18px;
  bottom: 24px;
  width: 16px;
  pointer-events: none;
}

.road-progress__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 7px;
  width: 2px;
  background: linear-gradient(var(--line) 50%, transparent 50%);
  background-size: 2px 18px;
}

.road-progress__car {
  position: absolute;
  left: 0;
  top: var(--scroll, 0%);
  transform: translateY(-50%) rotate(90deg);
  color: var(--electric-blue);
  font-size: 18px;
}

.hero {
  position: relative;
  min-height: 96svh;
  display: grid;
  align-items: end;
  padding: 96px clamp(20px, 6vw, 88px) 8vh;
  color: #f8f4ed;
  background:
    linear-gradient(180deg, rgba(20, 22, 21, 0.08), rgba(20, 22, 21, 0.72)),
    radial-gradient(circle at 20% 18%, rgba(183, 56, 47, 0.28), transparent 26%),
    linear-gradient(135deg, #2d3432 0%, #111413 58%, #41372e 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 47%, rgba(248, 244, 237, 0.55) 47% 48%, transparent 48% 52%, rgba(248, 244, 237, 0.55) 52% 53%, transparent 53% 100%),
    linear-gradient(180deg, transparent, rgba(248, 244, 237, 0.05));
  opacity: 0.24;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1040px;
}

.kicker,
.section-label {
  margin: 0 0 14px;
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .kicker {
  color: #f5b8a9;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  font-size: clamp(3.4rem, 8.8vw, 7.4rem);
}

.hero__subtitle {
  max-width: 700px;
  margin: 26px 0 0;
  color: rgba(248, 244, 237, 0.86);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  margin-top: 34px;
  padding: 12px 18px;
  border: 1px solid rgba(248, 244, 237, 0.44);
  border-radius: 999px;
  color: #f8f4ed;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 800;
}

.section-shell,
.preamble-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.preamble-section .section-shell {
  width: min(1220px, calc(100% - 40px));
}

.preamble-section,
.calendar-section,
.journal-section {
  padding: clamp(72px, 10vw, 128px) 0;
}

.preamble-card {
  max-width: none;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card-bg);
  box-shadow: var(--shadow);
}

.preamble-card h2,
.section-heading h2,
.date-rail h2 {
  font-size: clamp(2.1rem, 5vw, 4.4rem);
}

.prose {
  margin-top: 28px;
  font-family: var(--literata);
  font-weight: 400;
  font-size: clamp(1.08rem, 1.6vw, 1.24rem);
  line-height: 1.78;
}

.prose--large {
  font-size: clamp(1.16rem, 1.8vw, 1.42rem);
}

.prose p {
  margin: 0 0 1.3em;
  text-align: justify;
  hyphens: auto;
}

.prose p:last-child {
  margin-bottom: 0;
}

.journal-quote {
  width: min(94%, 720px);
  margin: 1.7em 0 1.7em clamp(14px, 4vw, 44px);
  padding: 0.9em 0 0.9em 1.15em;
  border-left: 3px solid var(--signal);
  color: var(--muted);
  font-style: italic;
  text-align: left;
}

.journal-quote em {
  font-style: inherit;
}

.journal-list {
  display: grid;
  gap: 0.65em;
  margin: 0 0 1.3em;
  padding-left: 1.2em;
}

.journal-list li {
  padding-left: 0.15em;
}

.prose::after {
  content: "";
  display: table;
  clear: both;
}

.entry-media {
  clear: both;
  margin: 2.2em auto;
}

.entry-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-deep);
}

.entry-media figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
}

.entry-media--document {
  width: min(100%, 860px);
}

.entry-media--agenda {
  width: min(100%, 290px);
  float: left;
  clear: left;
  margin: 0.45em 28px 1.1em 0;
}

.entry-media--agenda.agenda-right {
  float: right;
  clear: right;
  margin: 0.45em 0 1.1em 28px;
}

.entry-media--dashboard {
  width: min(100%, 390px);
}

.entry-media--portrait {
  width: min(42%, 360px);
}

.entry-media--portrait.portrait-right {
  float: right;
  clear: right;
  margin: 0.6em 0 1.5em 30px;
}

.entry-media--portrait.portrait-left {
  float: left;
  clear: left;
  margin: 0.6em 30px 1.5em 0;
}

.entry-media--gallery {
  width: min(100%, 960px);
  margin-top: 2.8em;
  margin-bottom: 2.8em;
}

.entry-media--messages {
  width: min(100%, 980px);
}

.entry-media--messages img {
  object-fit: contain;
  background: #fff;
}

.entry-media__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.entry-media--exam img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.audio-player {
  clear: both;
  width: min(100%, 520px);
  margin: 2.4em auto;
  padding: 16px 18px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(var(--paper-rgb), 0.56);
  box-shadow: 0 12px 30px rgba(55, 46, 34, 0.07);
  text-align: center;
}

.audio-player__label {
  margin-bottom: 10px;
  color: var(--blue);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.audio-player audio {
  display: block;
  width: 100%;
}

.route-card {
  clear: both;
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(240px, 1fr);
  gap: clamp(20px, 4vw, 34px);
  align-items: stretch;
  width: min(100%, 900px);
  margin: 2.8em auto;
  padding: clamp(16px, 3vw, 22px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(var(--paper-rgb), 0.8), rgba(var(--paper-rgb), 0.42)),
    var(--paper);
  box-shadow: var(--shadow);
}

.route-card__map {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(var(--ink-rgb), 0.12);
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(47, 95, 125, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(183, 56, 47, 0.07) 1px, transparent 1px),
    rgba(var(--paper-rgb), 0.7);
  background-size: 38px 38px;
  color: inherit;
  text-decoration: none;
}

.route-card__map svg {
  width: min(100%, 380px);
  height: auto;
}

.route-card__map span {
  position: absolute;
  right: 14px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(var(--paper-rgb), 0.86);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(55, 46, 34, 0.1);
}

.route-card__grid,
.route-card__block,
.route-card__street,
.route-card__route {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-card__block {
  fill: rgba(var(--ink-rgb), 0.035);
  stroke: rgba(var(--ink-rgb), 0.045);
  stroke-width: 1;
}

.route-card__grid {
  fill: none;
  stroke: rgba(var(--ink-rgb), 0.13);
  stroke-width: 1.2;
}

.route-card__street {
  fill: none;
  stroke: rgba(var(--ink-rgb), 0.28);
  stroke-width: 11;
}

.route-card__street--wide {
  stroke-width: 16;
}

.route-card__route {
  fill: none;
  stroke: var(--electric-blue);
  stroke-width: 7;
  stroke-dasharray: 10 9;
  filter: drop-shadow(0 3px 6px rgba(0, 167, 255, 0.38));
}

.route-card__pin {
  fill: var(--signal);
  stroke: var(--paper);
  stroke-width: 3;
}

.route-card__pin--start {
  fill: var(--electric-blue);
}

.route-card text {
  fill: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
}

.route-card__label-vertical {
  transform: rotate(90deg);
  transform-box: fill-box;
  transform-origin: center;
}

.route-card__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.route-card__eyebrow {
  margin-bottom: 10px;
  color: var(--signal);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.route-card h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  line-height: 1.05;
}

.route-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.route-card__stops {
  display: grid;
  gap: 7px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: route-stop;
}

.route-card__stops li {
  counter-increment: route-stop;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 700;
}

.route-card__stops li::before {
  content: counter(route-stop);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--asphalt);
  color: var(--paper);
  font-size: 0.68rem;
  font-weight: 850;
}

.route-card__cta {
  align-self: flex-start;
  margin-top: 22px;
  padding: 10px 14px;
  border: 1px solid var(--asphalt);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
}

.route-card__map:hover,
.route-card__map:focus-visible,
.route-card__cta:hover,
.route-card__cta:focus-visible {
  outline: none;
}

.route-card__map:hover .route-card__route,
.route-card__map:focus-visible .route-card__route {
  stroke: var(--signal);
}

.route-card__cta:hover,
.route-card__cta:focus-visible {
  border-color: var(--signal);
  color: var(--signal);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 380px);
  align-items: end;
  gap: 28px;
  margin-bottom: 36px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.month {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--calendar-bg);
  padding: 18px;
}

.month h3 {
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.month__weekdays,
.month__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.month__weekdays {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
}

.day.has-entry {
  background: var(--asphalt);
  color: var(--paper);
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease;
}

.day.has-entry:hover,
.day.has-entry:focus-visible {
  outline: none;
  transform: translateY(-2px);
  background: var(--signal);
}

.journal-layout {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

.date-rail {
  position: sticky;
  top: 84px;
  max-height: calc(100svh - 108px);
  overflow: auto;
  padding-right: 8px;
}

.date-nav {
  display: grid;
  gap: 6px;
  margin-top: 22px;
}

.date-nav a {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-left: 3px solid transparent;
  border-radius: 0 8px 8px 0;
  color: var(--muted);
  text-decoration: none;
}

.date-nav a:hover,
.date-nav a.is-active {
  border-left-color: var(--signal);
  background: rgba(183, 56, 47, 0.07);
  color: var(--ink);
}

.date-nav__date {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.date-nav__title {
  font-family: var(--serif);
  font-size: 0.93rem;
  font-weight: 650;
}

.mobile-jump {
  display: none;
}

.entries {
  display: grid;
  gap: 54px;
}

.entry {
  scroll-margin-top: 92px;
  position: relative;
  padding: clamp(26px, 4vw, 42px);
  border-top: 1px solid var(--line);
  background: var(--entry-bg);
}

.entry__date {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.entry h3 {
  font-size: clamp(1.65rem, 3.2vw, 2.9rem);
}

.entry .prose {
  max-width: 820px;
}

.entry__empty {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 1rem;
}

.site-footer {
  padding: 54px 20px 72px;
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 960px) {
  .calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journal-layout {
    grid-template-columns: 1fr;
  }

  .date-rail {
    display: none;
  }

  .mobile-jump {
    position: sticky;
    z-index: 10;
    top: 0;
    display: grid;
    gap: 8px;
    padding: 12px 0;
    background: rgba(var(--paper-rgb), 0.92);
    backdrop-filter: blur(12px);
  }

  .mobile-jump label {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-jump select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    font: inherit;
    padding: 0 12px;
  }
}

@media (max-width: 700px) {
  .site-header {
    padding: 12px 18px;
  }

  .top-nav {
    display: flex;
    margin-left: auto;
  }

  .top-nav a {
    display: none;
  }

  .theme-toggle {
    min-width: 0;
    justify-content: center;
    padding: 8px 0;
  }

  .road-progress {
    display: none;
  }

  .hero {
    min-height: 92svh;
    padding: 76px 20px 44px;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 3.9rem);
  }

  .hero__subtitle {
    margin-top: 20px;
  }

  .preamble-section,
  .calendar-section,
  .journal-section {
    padding: 64px 0;
  }

  .preamble-card {
    padding: 24px 20px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

  .entry-media--portrait,
  .entry-media--agenda,
  .entry-media--portrait.portrait-left,
  .entry-media--portrait.portrait-right {
    float: none;
    width: min(100%, 390px);
    margin: 2em auto;
  }

  .entry-media__gallery {
    gap: 10px;
  }

  .audio-player {
    padding: 14px;
  }

  .route-card {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .route-card__map {
    min-height: 200px;
  }

  .route-card__map span {
    left: 12px;
    right: auto;
    max-width: calc(100% - 24px);
  }

  .entry {
    padding: 28px 0;
  }
}
