:root {
  --green: #183e32;
  --ink: #263d33;
  --muted: #81867b;
  --orange: #c56b3e;
  --paper: #f8f8f2;
  --line: #e4e6db;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: var(--green);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #d69355;
  outline-offset: 3px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 244px;
  background: var(--green);
  color: #e5eadb;
  padding: 39px 24px;
  display: flex;
  flex-direction: column;
  z-index: 10;
  overflow-y: auto;
  overscroll-behavior-y: contain;
}
.sidebar > * {
  flex-shrink: 0;
}
.brand {
  text-decoration: none;
  color: #f7f4e8;
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 26px;
  letter-spacing: -1.5px;
  white-space: nowrap;
}
.brand-icon {
  font-size: 32px;
  color: #d3b775;
  vertical-align: middle;
  margin-right: 5px;
}
.brand-dot {
  color: #d99766;
}
.brand-caption {
  font-size: 11px;
  letter-spacing: 2.1px;
  margin: 10px 0 44px 39px;
  color: #a9bdac;
}
.nav-item {
  border: 0;
  background: none;
  width: 100%;
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  color: #bbcec0;
  padding: 15px 13px;
  border-radius: 7px;
  font-size: 12px;
  margin-bottom: 7px;
}
.nav-item span {
  font-size: 21px;
}
.nav-item.active {
  background: #315345;
  color: white;
}
.nav-item small {
  margin-left: auto;
  background: #567461;
  border-radius: 4px;
  padding: 2px 5px;
}
.sidebar-note {
  margin-top: auto;
  padding: 45px 13px 34px;
}
.note-sun {
  font-size: 35px;
  color: #c9ac6f;
}
.sidebar-note h3 {
  font:
    25px/1.3 Georgia,
    serif;
  font-weight: normal;
  color: #f3eddb;
  margin: 19px 0 13px;
}
.sidebar-note p {
  font-size: 11px;
  line-height: 1.8;
  color: #a5baa9;
}
.departure {
  border-top: 1px solid #375749;
  padding-top: 24px;
  display: flex;
  gap: 10px;
}
.departure > span {
  font-size: 25px;
  color: #c3b783;
}
.departure small {
  display: block;
  color: #a2b8a7;
  font-size: 11px;
  letter-spacing: 1.3px;
  margin: 4px 0 8px;
}
.departure strong {
  font-size: 11px;
  font-weight: 500;
}
.local-note {
  font-size: 11px;
  color: #8ba68e;
  margin: 26px 0 0 4px;
}
main {
  margin-left: 244px;
  padding: 0 clamp(24px, 3vw, 65px);
  min-width: 0;
}
.topbar {
  height: 83px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 1.4px;
  color: #7f897b;
}
.topbar > div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #83a47c;
}
.icon-button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 18px;
  width: 29px;
  height: 29px;
  color: var(--green);
  margin-left: 8px;
}
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 320px;
  margin: 27px 0 32px;
  border-radius: 11px;
  background: #edeee1;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 34px 0 31px 34px;
  width: 59%;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: #7a876b;
}
.eyebrow span {
  display: inline-block;
  background: #ad764c;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin: 0 7px 2px 0;
}
h1 {
  font:
    48px/1.07 Georgia,
    serif;
  letter-spacing: -1.7px;
  font-weight: normal;
  margin: 20px 0 17px;
}
h1 em {
  color: #a7643c;
  font-weight: normal;
}
.hero p {
  font-size: 12px;
  color: #79806e;
  line-height: 1.8;
  max-width: 365px;
}
.hero-foot {
  font-size: 11px;
  color: #6e795f;
  margin-top: 25px;
}
.hero-foot span {
  color: #b17d4b;
  font-size: 16px;
  vertical-align: middle;
  margin-right: 5px;
}
.hero-art {
  position: absolute;
  right: -5px;
  bottom: 0;
  width: 48%;
  height: 100%;
  object-fit: cover;
}
.collection-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 23px;
}
.collection-heading h2 {
  font:
    29px Georgia,
    serif;
  letter-spacing: -0.7px;
  margin: 9px 0 0;
}
.collection-heading h2 span {
  color: var(--orange);
}
.collection-heading > p {
  font-size: 11px;
  color: #8a8b7e;
  text-align: right;
  max-width: 235px;
  line-height: 1.7;
}
.filter-panel {
  padding: 17px;
  border: 1px solid var(--line);
  background: #fffefa;
  border-radius: 9px;
}
.search {
  display: flex;
  align-items: center;
  gap: 12px;
}
.search > span {
  font-size: 29px;
  line-height: 1;
  color: #7c8974;
}
.search input {
  border: 0;
  background: none;
  outline: none;
  flex: 1;
  min-width: 0;
  font-size: 12px;
  padding: 6px;
}
.search kbd {
  border: 1px solid var(--line);
  padding: 1px 6px;
  color: #92978b;
}
.filters {
  border-top: 1px solid #eef0e6;
  margin-top: 12px;
  padding-top: 14px;
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
}
.filters label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #8c9084;
  flex: 1;
  min-width: 160px;
}
.filters select {
  margin-top: 7px;
  width: 100%;
  border: 0;
  background: #f6f7ef;
  color: #4b594b;
  padding: 10px 6px;
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}
.reset {
  border: 0;
  background: none;
  color: #9b7251;
  font-size: 11px;
  padding: 10px 3px;
}
.tag-filters {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 16px;
}
.tag-heading,
.tag-options,
.event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.tag-heading {
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 13px;
}
.tag-heading small {
  font-size: 11px;
  color: var(--muted);
}
.tag-chip {
  border: 1px solid #dce2d3;
  border-radius: 20px;
  padding: 8px 13px;
  background: #f6f7ef;
  color: #50634c;
  font-size: 13px;
  line-height: 1.4;
}
.tag-chip:hover {
  border-color: #6f8a67;
}
.tag-chip.selected {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.event-tags {
  margin: 4px 0 14px;
}
.event-tag {
  background: #eef1e6;
  color: #5a7051;
  border-radius: 12px;
  padding: 4px 9px;
  font-size: 11px;
}
.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 25px 0 19px;
  font-size: 11px;
  color: #92968a;
}
.results-bar strong {
  color: #344d38;
  font-size: 14px;
}
.result-note {
  font-size: 11px;
  margin-left: 9px;
}
.view-switch {
  display: flex;
  background: #eceedf;
  border-radius: 6px;
  padding: 3px;
}
.view-switch button {
  border: 0;
  color: #7f8878;
  background: none;
  font-size: 13px;
  padding: 8px 11px;
  border-radius: 4px;
}
.view-switch button span {
  font-size: 11px;
  margin-left: 4px;
}
.view-switch button.selected {
  background: #fffefa;
  color: #254a36;
  box-shadow: 0 1px 4px #263d3312;
}
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}
.card {
  display: flex;
  flex-direction: column;
  background: #fffefa;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 25px #183e320b;
}
.card.archived {
  border-color: #d5bd67;
  box-shadow: 0 0 0 1px #e9dca740;
}
.card.archived .date-line .status {
  background: #faf3d8;
  color: #886d24;
}
.card-art {
  flex-shrink: 0;
  height: 139px;
  position: relative;
  overflow: hidden;
  background: var(--art-bg, #e5ead8);
}
.card-art svg {
  width: 100%;
  height: 100%;
}
.edition-label {
  position: absolute;
  left: 14px;
  bottom: 10px;
  max-width: calc(100% - 28px);
  padding: 6px 10px;
  border-radius: 5px;
  background: #fff8e5;
  color: #705b2b;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}
.card.upcoming .edition-label {
  background: #174c37;
  color: #fff;
}
.sun-rays {
  transform-box: fill-box;
  transform-origin: center;
  animation: sunshine 24s linear infinite;
}
@keyframes sunshine {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sun-rays {
    animation: none;
  }
}
.category-label {
  position: absolute;
  left: 14px;
  top: 13px;
  font-size: 11px;
  letter-spacing: 0.7px;
  font-weight: bold;
  text-transform: uppercase;
  color: #485a3f;
  background: #fffdf3d9;
  padding: 6px 8px;
  border-radius: 3px;
}
.save-button {
  position: absolute;
  right: 12px;
  top: 11px;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  border: 0;
  background: #fffdf3e6;
  color: #55614a;
  font-size: 19px;
  line-height: 1;
}
.save-button.saved {
  color: #b56b41;
}
.card-body {
  padding: 17px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.place {
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #8b907d;
}
.card h3 {
  font:
    23px/1.15 Georgia,
    serif;
  font-weight: normal;
  margin: 10px 0;
  color: #284132;
}
.card h3 button {
  border: 0;
  padding: 0;
  text-align: left;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.festival-source {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 8px;
  font-size: 12px;
  color: #53634b;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.detail-header .festival-source {
  margin-right: 12px;
}
.card-description {
  font-size: 11px;
  line-height: 1.8;
  color: #828676;
  min-height: 36px;
}
.date-line {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 500;
  color: #53634b;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 16px;
}
.status {
  font-size: 11px;
  border-radius: 4px;
  background: #f0eee3;
  color: #96815c;
  padding: 5px 7px;
  display: inline-block;
}
.status.confirmed {
  color: #4b7345;
  background: #eaf1e3;
}
.status.conflict,
.status.cancelled {
  color: #a8653d;
  background: #f7e9de;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eeefe7;
  margin-top: 14px;
  padding-top: 12px;
  font-size: 11px;
  color: #8a8d80;
  flex-wrap: wrap;
  gap: 8px;
}
.card-bottom button {
  border: 0;
  background: none;
  color: #a26d45;
  font-size: 11px;
}
.empty {
  padding: 70px 24px;
  background: #f0f1e8;
  border: 1px dashed #cdd4bf;
  border-radius: 9px;
  text-align: center;
}
.empty h3 {
  font:
    27px Georgia,
    serif;
}
.empty p {
  color: #7e8878;
  line-height: 1.8;
}
.empty button,
.primary {
  border: 0;
  border-radius: 5px;
  background: var(--green);
  color: #fff;
  padding: 11px 17px;
  font-size: 12px;
}
footer {
  display: flex;
  justify-content: space-between;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  margin-top: 35px;
  color: #8a907d;
  font-size: 11px;
}
footer span {
  color: #a0a293;
}
#map {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 9px;
  border: 1px solid var(--line);
}
.map-note {
  font-size: 11px;
  color: #808674;
  line-height: 1.8;
}
.map-popup button {
  border: 0;
  background: var(--green);
  color: #fff;
  padding: 7px 10px;
  border-radius: 4px;
  margin-top: 8px;
}
.calendar-toolbar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 25px 0;
}
.calendar-toolbar h3 {
  font:
    25px Georgia,
    serif;
  margin: 0;
  min-width: 190px;
  text-align: center;
}
.calendar-toolbar button {
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 7px 13px;
  color: var(--green);
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.weekday {
  background: #eef0e4;
  text-align: center;
  font-size: 11px;
  padding: 11px;
}
.day {
  background: #fffefa;
  min-height: 108px;
  padding: 9px;
  font-size: 11px;
  color: #6b7860;
}
.day.outside {
  background: #f2f3ea;
  color: #b7bbac;
}
.day.today > span {
  background: var(--green);
  color: white;
  padding: 3px 6px;
  border-radius: 4px;
}
.calendar-event {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-left: 2px solid #be8156;
  background: #f0eee1;
  padding: 5px;
  margin-top: 7px;
  font-size: 11px;
  line-height: 1.5;
  color: #495f41;
  border-radius: 2px;
}
.calendar-note {
  font-size: 11px;
  line-height: 1.8;
  color: #7e8876;
}
.undated {
  margin-top: 25px;
}
.undated h3 {
  font:
    23px Georgia,
    serif;
}
.undated-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.undated-list button {
  border: 1px solid var(--line);
  background: #fffefa;
  color: #5c6b50;
  border-radius: 5px;
  padding: 8px;
  font-size: 11px;
}
dialog {
  border: 0;
  border-radius: 12px;
  padding: 0;
  width: min(760px, 94vw);
  max-height: 90vh;
  color: var(--ink);
  box-shadow: 0 20px 100px #102d3455;
  background: var(--paper);
}
dialog::backdrop {
  background: #132b29a6;
  backdrop-filter: blur(3px);
}
.dialog-close {
  position: absolute;
  right: 17px;
  top: 15px;
  z-index: 3;
  border: 0;
  border-radius: 50%;
  background: #fffefa;
  width: 32px;
  height: 32px;
  font-size: 23px;
  color: var(--green);
}
.detail-header {
  padding: 36px 35px 27px;
  background: #e8ecdd;
}
.detail-header h2 {
  font:
    36px/1.13 Georgia,
    serif;
  margin: 16px 0;
}
.detail-header p {
  line-height: 1.8;
  color: #75816b;
}
.detail-body {
  padding: 27px 35px;
}
.detail-body h3 {
  font:
    23px Georgia,
    serif;
  margin: 26px 0 12px;
}
.detail-body p,
.detail-body li {
  font-size: 12px;
  line-height: 1.8;
  color: #6f7b65;
}
.detail-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 23px;
}
.detail-facts small {
  display: block;
  color: #8e957e;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 6px;
}
.detail-facts strong {
  font-size: 12px;
  font-weight: 500;
}
.detail-actions {
  display: flex;
  gap: 10px;
  margin: 20px 0;
  flex-wrap: wrap;
}
.detail-actions a {
  background: var(--green);
  color: white;
  border-radius: 5px;
  padding: 11px 14px;
  text-decoration: none;
  font-size: 11px;
}
.secondary {
  border: 1px solid #cbd3bf;
  border-radius: 5px;
  background: transparent;
  color: var(--green);
  padding: 10px 14px;
  font-size: 11px;
}
.source {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px;
  margin-top: 9px;
}
.source a {
  font-weight: 600;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.source p {
  margin: 6px 0;
  font-size: 11px;
}
.warning {
  padding: 12px 14px;
  background: #f2eadc;
  border-left: 3px solid #c98c53;
  border-radius: 3px;
  font-size: 11px;
  line-height: 1.8;
  color: #8e724d;
}
.edition {
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font-size: 11px;
}
.research-hero {
  padding: 38px 0 25px;
}
.research-hero h1 {
  font-size: 39px;
}
.research-hero p {
  color: #7a8572;
  max-width: 650px;
  line-height: 1.8;
}
.research-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.metric,
.research-box {
  border: 1px solid var(--line);
  background: #fffefa;
  border-radius: 8px;
  padding: 22px;
}
.metric small {
  font-size: 11px;
  color: #828b76;
}
.metric strong {
  display: block;
  font:
    34px Georgia,
    serif;
  margin-top: 13px;
}
.research-box {
  margin-top: 21px;
}
.research-box h2 {
  font:
    26px Georgia,
    serif;
  margin: 0 0 17px;
}
.county-coverage {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.county-coverage summary {
  cursor: pointer;
  font-weight: 600;
}
.county-coverage summary small {
  display: inline-block;
  margin-left: 12px;
  font-weight: normal;
  color: var(--muted);
}
.county-source-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
}
.county-source-columns h3 {
  font-size: 14px;
}
.county-source {
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}
.county-source small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}
.research-box p {
  font-size: 12px;
  color: #7d8774;
  line-height: 1.8;
}
.research-box form {
  display: flex;
  gap: 16px;
  align-items: end;
  flex-wrap: wrap;
}
.research-box label {
  font-size: 11px;
  color: #6f7d63;
}
.research-box input {
  display: block;
  width: 120px;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fafbf5;
  color: var(--green);
}
.run {
  border-top: 1px solid var(--line);
  padding: 14px 0;
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.run small {
  color: #88917e;
}
.run code {
  font-size: 11px;
  overflow-wrap: anywhere;
}
.failure {
  color: #a56b44;
  font-size: 11px;
}
.export {
  display: inline-block;
  font-size: 12px;
  margin-left: 15px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + 100px);
  transform: translateX(-50%) translateY(80px);
  background: #213f32;
  color: #fff;
  padding: 13px 22px;
  border-radius: 7px;
  box-shadow: 0 5px 30px #0003;
  transition: transform 0.2s;
  z-index: 100;
  font-size: 12px;
  max-width: 90vw;
}
#toast.show {
  transform: translateX(-50%) translateY(0);
}
[hidden] {
  display: none !important;
}
@media (min-width: 1550px) {
  .hero {
    min-height: 350px;
  }
  .hero-copy {
    padding: 40px;
  }
  .hero h1 {
    font-size: 58px;
  }
  .card-art {
    height: 175px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 215px;
    padding: 35px 17px;
  }
  .brand {
    font-size: 23px;
  }
  .brand-icon {
    font-size: 28px;
  }
  main {
    margin-left: 215px;
    padding: 0 27px;
  }
  .event-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  }
  .result-note {
    display: none;
  }
  .hero-copy {
    width: 65%;
    padding-left: 26px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero-art {
    width: 43%;
  }
  .collection-heading > p {
    display: none;
  }
  .filters label {
    min-width: 160px;
  }
  .sidebar-note {
    padding-left: 8px;
  }
}
@media (min-width: 761px) and (max-height: 850px) {
  .sidebar-note {
    display: none;
  }
  .departure {
    margin-top: auto;
  }
}
@media (max-width: 760px) {
  .sidebar {
    position: static;
    width: 100%;
    padding: 18px 20px;
    display: block;
  }
  .brand {
    font-size: 28px;
  }
  .brand-caption,
  .sidebar-note,
  .departure,
  .local-note {
    display: none;
  }
  .sidebar nav {
    display: flex;
    gap: 7px;
    margin-top: 15px;
  }
  .nav-item {
    font-size: 11px;
    margin: 0;
    padding: 9px;
    justify-content: center;
    gap: 6px;
  }
  .nav-item span {
    font-size: 17px;
  }
  .nav-item small {
    display: none;
  }
  main {
    margin: 0;
    padding: 0 19px;
  }
  .topbar {
    height: 58px;
    font-size: 11px;
  }
  .topbar > div {
    font-size: 11px;
    max-width: 180px;
  }
  .hero {
    margin-top: 20px;
    min-height: 300px;
  }
  .hero-copy {
    width: 83%;
    padding: 25px 22px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero-art {
    width: 60%;
    opacity: 0.32;
    right: -70px;
  }
  .hero p {
    font-size: 11px;
    max-width: 280px;
  }
  .hero-foot {
    max-width: 240px;
    line-height: 1.6;
  }
  .collection-heading h2 {
    font-size: 25px;
  }
  .eyebrow {
    font-size: 11px;
  }
  .filters {
    gap: 10px;
  }
  .filters label {
    min-width: calc(50% - 10px);
  }
  .filters select {
    font-size: 11px;
  }
  .results-bar {
    font-size: 11px;
    gap: 9px;
  }
  .view-switch button {
    padding: 8px;
  }
  .view-switch button span {
    display: none;
  }
  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .card-body {
    padding: 12px;
  }
  .card h3 {
    font-size: 21px;
  }
  .card-art {
    height: 120px;
  }
  .category-label {
    font-size: 11px;
    left: 8px;
  }
  .save-button {
    right: 8px;
    width: 26px;
    height: 26px;
  }
  .card-description {
    font-size: 11px;
  }
  .place {
    font-size: 11px;
  }
  .card-bottom {
    font-size: 11px;
  }
  .date-line {
    font-size: 11px;
    flex-wrap: wrap;
  }
  .status {
    font-size: 11px;
  }
  footer {
    display: block;
    line-height: 1.8;
  }
  footer span {
    display: block;
  }
  .day {
    min-height: 85px;
    padding: 5px;
  }
  .calendar-event {
    font-size: 11px;
    padding: 3px;
    word-break: break-word;
  }
  .calendar-toolbar {
    justify-content: center;
    gap: 10px;
  }
  .calendar-toolbar h3 {
    font-size: 21px;
    min-width: 155px;
  }
  .weekday {
    font-size: 11px;
  }
  .research-cards {
    gap: 8px;
  }
  .metric {
    padding: 13px;
  }
  .metric small {
    font-size: 11px;
  }
  .metric strong {
    font-size: 28px;
  }
  .detail-header,
  .detail-body {
    padding: 28px 22px;
  }
  .detail-header h2 {
    font-size: 31px;
  }
  #toast {
    left: 50%;
  }
}
@media (max-width: 400px) {
  .event-grid {
    grid-template-columns: 1fr;
  }
  .card-art {
    height: 160px;
  }
  .sidebar nav {
    gap: 2px;
  }
  .nav-item {
    font-size: 11px;
  }
  .nav-item span {
    display: none;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero-copy {
    width: 95%;
  }
}
.calendar-toolbar {
  flex-wrap: wrap;
}
.calendar-year-label {
  font-size: 11px;
  color: #7c866e;
  display: flex;
  align-items: center;
  gap: 5px;
}
.calendar-year-label select {
  border: 1px solid var(--line);
  background: #fffefa;
  padding: 7px;
  border-radius: 5px;
  color: var(--green);
}
.candidate-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 22px 0;
}
.candidate-fields label {
  font-size: 11px;
  color: #6f7d63;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.candidate-fields input,
.candidate-fields select,
.candidate-fields textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #d6dccb;
  border-radius: 4px;
  background: #fffefa;
  color: var(--green);
  font: inherit;
  font-size: 12px;
}
.candidate-fields .full-width {
  grid-column: 1/-1;
}
.candidate-fields textarea {
  resize: vertical;
}
@media (max-width: 500px) {
  .candidate-fields {
    grid-template-columns: 1fr;
  }
  .calendar-toolbar {
    gap: 8px;
  }
}

/* Readable content sizes across desktop and touch screens. */
.card-description,
.detail-body p,
.detail-body li,
.research-box p,
.research-hero p,
.source p,
.sidebar-note p,
.hero p {
  font-size: 14px;
}
.nav-item,
.filters select,
.search input,
.view-switch button span,
.card-bottom button,
.secondary,
.primary,
.detail-actions a,
.reset,
.empty button {
  font-size: 13px;
}
.filters label,
.candidate-fields label,
.research-box label,
.eyebrow,
.place,
.category-label,
.date-line,
.status,
.card-bottom,
.topbar,
.hero-foot,
footer,
.departure small,
.departure strong,
.brand-caption,
.local-note {
  font-size: 11px;
}
.card-description {
  min-height: 50px;
}
.calendar-scroll {
  overflow-x: auto;
  border-radius: 8px;
}
.calendar-grid {
  min-width: 700px;
}
.calendar-event {
  font-size: 12px;
}
.weekday {
  font-size: 11px;
}
@media (max-width: 760px) {
  .card-description,
  .detail-body p,
  .detail-body li,
  .research-box p,
  .research-hero p,
  .source p,
  .hero p {
    font-size: 14px;
  }
  .filters select,
  .search input,
  .candidate-fields input,
  .candidate-fields select,
  .candidate-fields textarea,
  .research-box input,
  .calendar-year-label select {
    font-size: 16px;
  }
  .card-description {
    min-height: 50px;
  }
  .topbar {
    height: auto;
    min-height: 64px;
    gap: 12px;
  }
  .hero-copy {
    width: 95%;
  }
  .hero p {
    max-width: 300px;
  }
  .hero-foot {
    font-size: 11px;
  }
  .nav-item {
    font-size: 12px;
  }
  .calendar-event {
    font-size: 12px;
    word-break: normal;
  }
  .weekday {
    font-size: 11px;
  }
  .results-bar {
    flex-wrap: wrap;
  }
}
@media (max-width: 550px) {
  .event-grid {
    grid-template-columns: 1fr;
  }
  .card-art {
    height: 155px;
  }
  .sidebar nav {
    flex-wrap: wrap;
  }
  .nav-item {
    width: auto;
    flex: 1;
  }
  .sidebar {
    padding: 18px 14px;
  }
  .card h3 {
    font-size: 25px;
  }
  .card-body {
    padding: 17px;
  }
}

.departure {
  width: 100%;
  background: none;
  color: inherit;
  border: 0;
  border-top: 1px solid #375749;
  text-align: left;
  cursor: pointer;
}
.departure > div {
  min-width: 0;
}
.departure strong {
  display: block;
  overflow-wrap: anywhere;
}
.departure .departure-edit {
  font-size: 10px;
  letter-spacing: 0;
  color: #ddc58d;
  line-height: 1.5;
}
#departure-dialog {
  width: min(540px, calc(100% - 28px));
  max-height: 90dvh;
  padding: 0;
  border: 1px solid #dddccd;
  border-radius: 20px;
  color: #284132;
  background: #faf9f3;
}
#departure-dialog::backdrop {
  background: #123d3299;
  backdrop-filter: blur(4px);
}
.departure-dialog-body {
  padding: 30px;
}
#departure-close {
  float: right;
}
#departure-dialog h2 {
  font:
    normal 32px Georgia,
    serif;
  margin: 20px 0 14px;
}
#departure-dialog p {
  font-size: 14px;
  line-height: 1.7;
}
#departure-form label {
  display: block;
  margin: 24px 0 8px;
  font-size: 13px;
}
.departure-search {
  display: flex;
  gap: 8px;
}
.departure-search input {
  width: 100%;
  min-width: 0;
  border: 1px solid #d7dbcf;
  border-radius: 8px;
  padding: 12px;
  font: inherit;
  background: white;
}
.departure-choice {
  display: block;
  width: 100%;
  padding: 14px;
  margin: 8px 0;
  border: 1px solid #d7dbcf;
  border-radius: 8px;
  text-align: left;
  background: #eef1e5;
  color: #284132;
  font: inherit;
  cursor: pointer;
}
.departure-choice:hover {
  background: #dce7d4;
}
.departure-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}
.departure-attribution {
  display: block;
  font-size: 11px;
  line-height: 1.7;
  color: #68715f;
}
.departure-attribution a {
  color: inherit;
}
@media (max-width: 760px) {
  .departure {
    display: flex;
    margin-top: 14px;
    padding-top: 12px;
    gap: 10px;
  }
  .departure > span {
    font-size: 21px;
  }
  .departure small {
    margin: 0 0 4px;
    font-size: 9px;
  }
  .departure .departure-edit {
    margin: 3px 0 0;
  }
  .departure-dialog-body {
    padding: 22px;
  }
}

.county-label {
  position: absolute;
  right: 12px;
  bottom: 10px;
  max-width: 42%;
  padding: 5px 8px;
  border: 1px solid #d1d9c6;
  border-radius: 5px;
  background: #fffdf2;
  color: #284132;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  text-align: right;
}

.card .category-label {
  top: 8px;
  left: 12px;
  font-size: 9px;
  padding: 4px 6px;
}
.county-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 7px;
  max-width: 42%;
  min-height: 28px;
}
.county-label a {
  display: flex;
  flex-shrink: 0;
}
.county-label img {
  display: block;
  width: 22px;
  height: 28px;
  object-fit: contain;
}
.county-label > span {
  overflow-wrap: anywhere;
}
.edition-label {
  max-width: calc(58% - 24px);
}
.suggestion-open {
  margin-top: 16px;
  padding: 12px 14px;
  width: 100%;
  text-align: left;
  border: 1px solid #617565;
  border-radius: 8px;
  background: #244a3c;
  color: #f5e9c9;
}
.suggestion-open:hover {
  background: #315b49;
}
.suggestion-link {
  border: 0;
  padding: 0;
  background: none;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-align: left;
}
#suggestion-dialog {
  width: min(580px, calc(100% - 28px));
  max-height: 90dvh;
  border: 1px solid #dddccd;
  border-radius: 20px;
}
.suggestion-dialog-body {
  padding: 30px;
}
#suggestion-close {
  float: right;
}
#suggestion-title {
  font:
    normal 32px Georgia,
    serif;
  margin: 20px 0 14px;
}
#suggestion-intro,
#suggestion-status {
  font-size: 14px;
  line-height: 1.7;
}
#suggestion-form label {
  display: block;
  margin: 16px 0 7px;
  font-size: 13px;
}
#suggestion-form input,
#suggestion-form select,
#suggestion-form textarea {
  width: 100%;
  min-width: 0;
  padding: 11px;
  border: 1px solid #c6cdbc;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
#suggestion-form textarea {
  resize: vertical;
}
#suggestion-form textarea:focus-visible {
  outline: 3px solid #d69355;
  outline-offset: 3px;
}
#suggestion-festival {
  margin: 20px 0 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
#suggestion-festival legend,
#suggestion-message-hint {
  color: #5c695c;
  font-size: 12px;
  line-height: 1.6;
}
.suggestion-place {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
#suggestion-submit {
  display: block;
  margin-top: 20px;
}
.suggestion-trap {
  display: none;
}
.visitor-suggestion {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.suggestion-message {
  white-space: pre-wrap;
}
.suggestion-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 760px) {
  .suggestion-open {
    margin-top: 12px;
    text-align: center;
  }
  .suggestion-dialog-body {
    padding: 22px;
  }
  #suggestion-form input,
  #suggestion-form select,
  #suggestion-form textarea {
    font-size: 16px;
  }
}
@media (max-width: 400px) {
  .suggestion-place {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.advertising-slot {
  margin: 18px 0;
  padding: 12px;
  border: 1px solid #e1e4d7;
  border-radius: 10px;
  background: #f5f5ed;
  min-height: 110px;
}
.advertising-slot[hidden] {
  display: none;
}
.advertising-slot > small {
  display: block;
  font-size: 10px;
  color: #767e6b;
  margin-bottom: 8px;
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
}
.legal-links a {
  color: inherit;
}
