.tol-events {
  --tol-bg: #f4f1ea;
  --tol-paper: #fffdf8;
  --tol-ink: #1f2a24;
  --tol-muted: #5d6a63;
  --tol-line: #d7ddd6;
  --tol-green: #2f6d4a;
  --tol-green-dark: #214a34;
  --tol-rust: #b35f35;
  --tol-soft: #eef4ef;
  color: var(--tol-ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  background: var(--tol-bg);
  margin: 0 auto 4rem;
  max-width: 1240px;
}

.tol-events * { box-sizing: border-box; }

.tol-hero {
  position: relative;
  min-height: 420px;
  border-radius: 0 0 28px 28px;
  background-color: #214a34;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.tol-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 32, 24, .18) 0%, rgba(18, 32, 24, .78) 100%);
}

.tol-hero-inner {
  position: relative;
  z-index: 1;
  padding: 36px 28px 32px;
  width: 100%;
}

.tol-kicker {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 700;
  font-family: "Segoe UI", system-ui, sans-serif;
  margin: 0 0 8px;
}

.tol-hero h1,
.tol-events h1,
.tol-events h2 {
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0 0 10px;
}

.tol-hero h1 {
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.05;
  max-width: 16ch;
  color: #fff;
}

.tol-events .tol-hero,
.tol-events .tol-hero h1,
.tol-events .tol-hero .tol-kicker,
.tol-events .tol-hero .tol-lede,
.tol-events .tol-hero .tol-intro,
.tol-events .tol-hero .tol-stats,
.tol-events .tol-hero .tol-stats strong,
.tol-events .tol-hero .tol-stats span {
  color: #fff !important;
}

.tol-intro {
  margin: 0 0 18px;
  max-width: 46rem;
  font-size: 17px;
  line-height: 1.45;
  color: #e8efe9;
}

.tol-lede {
  font-size: 20px;
  max-width: 42ch;
  margin: 0 0 22px;
  opacity: .95;
}

.tol-search {
  display: flex;
  gap: 8px;
  max-width: 640px;
  margin-bottom: 22px;
}

.tol-search input {
  flex: 1;
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  font-size: 16px;
  font-family: "Segoe UI", system-ui, sans-serif;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
}

.tol-search button,
.tol-btn,
.tol-submit button,
.tol-view button {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}

.tol-search button,
.tol-btn,
.tol-submit button {
  background: var(--tol-rust);
  color: #fff;
  border-radius: 999px;
  padding: 14px 20px;
}

.tol-btn-ghost {
  background: transparent;
  color: var(--tol-green-dark);
  box-shadow: inset 0 0 0 2px var(--tol-green);
}

.tol-stats {
  display: flex;
  gap: 28px;
  font-family: "Segoe UI", system-ui, sans-serif;
}

.tol-stats strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.tol-stats span { font-size: 13px; opacity: .85; }

.tol-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-end;
  padding: 18px 8px 8px;
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(244, 241, 234, .96);
  background: color-mix(in srgb, var(--tol-bg) 92%, white);
  backdrop-filter: blur(8px);
}

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

.tol-filters label {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--tol-muted);
  display: grid;
  gap: 4px;
}

.tol-filters select {
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--tol-line);
  background: var(--tol-paper);
  min-width: 150px;
}

.tol-view { display: flex; gap: 6px; }

.tol-view button {
  background: var(--tol-paper);
  color: var(--tol-ink);
  border-radius: 999px;
  padding: 8px 14px;
  box-shadow: inset 0 0 0 1px var(--tol-line);
}

.tol-view button.is-active {
  background: var(--tol-green);
  color: #fff;
  box-shadow: none;
}

.tol-view .tol-clear {
  background: transparent;
  color: var(--tol-green-dark);
  box-shadow: inset 0 0 0 1px var(--tol-green);
}

.tol-view .tol-clear[hidden] { display: none; }

.tol-count {
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--tol-muted);
  padding: 0 8px;
}

.tol-loading {
  margin: -4px 8px 10px;
  color: var(--tol-muted);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 14px;
}

.tol-events h2 { font-size: 32px; padding: 8px 8px 0; }
.tol-section-note { padding: 0 8px 12px; color: var(--tol-muted); margin: 0; }

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

.tol-grid-picks { grid-template-columns: repeat(2, 1fr); }

.tol-card {
  background: var(--tol-paper);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(31, 42, 36, .08);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  padding: 0;
  width: 100%;
  font: inherit;
  text-align: left;
  transition: transform .18s ease, box-shadow .18s ease;
}

.tol-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(31, 42, 36, .14);
}

.tol-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.tol-card-link:focus-visible,
.tol-search input:focus-visible,
.tol-search button:focus-visible,
.tol-filters select:focus-visible,
.tol-view button:focus-visible,
.tol-btn:focus-visible,
.tol-btn-email:focus-visible,
.tol-modal-close:focus-visible {
  outline: 3px solid #f2b56b;
  outline-offset: 3px;
}

.tol-card-guide {
  margin: 0;
  padding: 0 16px 16px;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.tol-card-guide a {
  color: var(--tol-green);
  text-decoration: none;
}

.tol-guide-cta {
  margin: 16px 0;
}

.tol-article-event,
.tol-maps-details {
  max-width: 860px;
  margin: 0 auto 1.5rem;
  padding: 16px 18px;
  background: var(--tol-paper, #fffdf8);
  border: 1px solid var(--tol-line, #d7ddd6);
  border-radius: 14px;
}

.tol-maps-details {
  margin-top: 2rem;
}

.tol-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.tol-card-no-photo::before {
  content: "";
  display: block;
  height: 210px;
  background:
    linear-gradient(160deg, #2f6d4a 0%, #214a34 55%, #b35f35 140%);
}

.tol-card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

.tol-chip-row { display: flex; flex-wrap: wrap; gap: 6px; }

.tol-chip {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--tol-soft);
  color: var(--tol-green-dark);
  border-radius: 999px;
  padding: 4px 8px;
}

.tol-chip.pick { background: #f3d9c8; color: #7a3a1c; }
.tol-chip.source { background: #e7eef8; color: #31486d; }

.tol-card h3 { font-size: 22px; line-height: 1.2; margin: 0; }
.tol-meta, .tol-venue { margin: 0; color: var(--tol-muted); font-family: "Segoe UI", system-ui, sans-serif; font-size: 14px; }
.tol-excerpt { margin: 0; font-size: 16px; }

.tol-card .tol-more {
  margin-top: auto;
  color: var(--tol-green);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
}

.tol-events.is-list .tol-grid,
.tol-events.is-list .tol-grid-picks {
  grid-template-columns: 1fr;
}

.tol-events.is-list .tol-card {
  flex-direction: row;
  flex-wrap: wrap;
}

.tol-events.is-list .tol-card-link {
  flex-direction: row;
  flex: 1;
}

.tol-events.is-list .tol-card img {
  width: 240px;
  height: 180px;
  flex: 0 0 240px;
}

.tol-empty { padding: 24px 8px; color: var(--tol-muted); }

.tol-more-wrap { padding: 8px 8px 24px; text-align: center; }
.tol-hub-link { font-family: "Segoe UI", system-ui, sans-serif; margin: 0 0 12px; }
.tol-past { background: #f3d9c8; color: #7a3a1c; padding: 10px 12px; border-radius: 10px; }

.tol-tip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin: 16px 8px 0;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid #e4e4e4;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: 1.5;
}

.tol-tip p {
  margin: 0;
  flex: 1 1 280px;
  font: inherit;
  color: inherit;
}

.tol-tip a {
  color: #166611;
  font: inherit;
}

.tol-btn-email {
  display: inline-block;
  background: #166611;
  color: #fff !important;
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 4px;
}

.tol-btn-email:hover,
.tol-btn-email:focus {
  background: #114c0d;
  color: #fff !important;
}

.tol-single { max-width: 860px; margin: 0 auto 3rem; }
.tol-single-hero,
.single-tol_event .tol-single-hero {
  display: none !important;
}
.tol-single-hero img { width: 100%; border-radius: 18px; display: block; }
.tol-facts { list-style: none; padding: 0; display: grid; gap: 8px; }
.tol-facts strong { display: inline-block; min-width: 88px; font-family: "Segoe UI", system-ui, sans-serif; }
.tol-single-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .tol-grid, .tol-grid-picks { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .tol-grid, .tol-grid-picks { grid-template-columns: 1fr; }
  .tol-events.is-list .tol-card { flex-direction: column; }
  .tol-events.is-list .tol-card img { width: 100%; height: 200px; }
  .tol-hero { min-height: 360px; border-radius: 0; }
  .tol-toolbar { position: static; }
  .tol-search { flex-direction: column; }
  .tol-search button { width: 100%; }
  .tol-filters, .tol-filters label, .tol-filters select { width: 100%; }
  .tol-view { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .tol-card { transition: none; }
  .tol-card:hover { transform: none; }
}

html.tol-modal-open,
html.tol-modal-open body {
  overflow: hidden !important;
  height: 100% !important;
}

.tol-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 2147483646 !important;
  background: rgba(18, 32, 24, .62);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
}

.tol-modal-card {
  position: relative;
  background: #fffdf8;
  color: #1f2a24;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 18px;
  padding: 22px 22px 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

.tol-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #b35f35;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.tol-modal-photo {
  background: #1f2a24;
  border-radius: 12px;
  overflow: hidden;
  margin: 8px 28px 18px 0;
}

.tol-modal-photo img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  background: #111;
}

.tol-modal-photo img:nth-of-type(n+2),
.tol-modal-body img,
.tol-single-body img {
  display: none !important;
}

.tol-modal-card h2 {
  font-size: 28px;
  line-height: 1.2;
  margin: 0 36px 14px 0;
  color: #1f2a24;
}

.tol-modal-facts {
  margin: 0 0 14px;
  display: grid;
  gap: 6px;
}

.tol-modal-facts div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 15px;
}

.tol-modal-facts dt {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 11px;
  font-weight: 800;
  color: #5d6a63;
  padding-top: 3px;
}

.tol-modal-facts dd { margin: 0; }

.tol-modal-body {
  font-size: 16px;
  line-height: 1.55;
  padding: 8px 0 16px;
  border-bottom: 1px solid #d7ddd6;
}

.tol-modal-body p {
  margin: 0 0 12px;
}

.tol-modal-body p:last-child {
  margin-bottom: 0;
}

.tol-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding-top: 16px;
}

.tol-modal-actions .tol-btn {
  text-decoration: none;
  min-width: 132px;
  text-align: center;
}

.tol-btn-page { background: #b35f35; color: #fff; }
.tol-btn-gmaps { background: #2f6d4a; color: #fff; }
.tol-btn-amaps { background: #1f2a24; color: #fff; }
.tol-btn-admin { background: #166611; color: #fff; border: 0; cursor: pointer; font: inherit; }
.tol-btn-admin:disabled { opacity: 0.65; cursor: wait; }

.tol-past {
  background: #f3d9c8;
  color: #7a3a1c;
  padding: 12px 14px;
  border-radius: 8px;
  font-family: "Segoe UI", system-ui, sans-serif;
}

.tol-hub-link { font-family: "Segoe UI", system-ui, sans-serif; margin: 0 0 12px; }
.tol-hub-link a { color: var(--tol-green-dark); }

.tol-related { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--tol-line); }
.tol-related h2 { font-size: 22px; padding: 0; }
.tol-related ul { padding-left: 18px; }
.tol-related a { color: var(--tol-green-dark); }

.tol-more-wrap { padding: 16px 8px 24px; text-align: center; }

.tol-single { padding: 8px; }
