.event-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
}
.homepage-browse {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 20px 0;
  font-size: 14px;
}
.homepage-browse a {
  color: #215c43;
  text-underline-offset: 4px;
  padding: 6px 0;
}
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 18px;
}
.explore-card {
  border: 1px solid #e0e5d8;
  border-radius: 12px;
  padding: 20px;
  background: #f8f8f0;
  min-width: 0;
}
.explore-card h3 {
  margin: 6px 0 12px;
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.25;
}
.explore-card p {
  margin: 10px 0;
}
.explore-card .status {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  white-space: normal;
}
.collection-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #596d56;
  margin-bottom: 24px;
}
.collection-event-link {
  display: inline-block;
  padding: 8px 0;
}
.explore-page section[id] {
  scroll-margin-top: 24px;
}
.trip-regions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
}
.trip-region {
  padding: 12px 16px;
  border: 1px solid #e0e5d8;
  border-radius: 10px;
  background: #f8f8f0;
}
.trip-region-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.trip-region-heading a {
  flex: none;
}
.trip-region-heading img,
.trip-county-links img {
  display: block;
  object-fit: contain;
  flex: none;
}
.trip-region h3 {
  margin: 0;
  font: 400 20px/1.25 Georgia, serif;
}
.trip-region p {
  margin: 2px 0 0;
  color: #596d56;
  font-size: 12px;
}
.trip-county-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.trip-county-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid #dce3d5;
  border-radius: 8px;
  background: #fffef8;
  font-size: 14px;
  text-decoration: none;
  max-width: 100%;
}
.trip-county-links a:hover {
  background: #ecf0e5;
  text-decoration: underline;
}
.trip-county-name {
  overflow-wrap: anywhere;
}
.trip-county-count {
  color: #596d56;
  font-size: 12px;
}
@media (max-width: 620px) {
  .trip-regions {
    gap: 8px;
  }
  .trip-region {
    padding: 8px;
  }
  .trip-region-heading {
    gap: 6px;
  }
  .trip-region-heading img {
    width: 26px;
    height: 36px;
  }
  .trip-region h3 {
    font-size: 15px;
    overflow-wrap: anywhere;
  }
  .trip-county-links a {
    gap: 4px;
    padding: 5px;
    font-size: 12px;
  }
  .trip-county-links img {
    width: 15px;
    height: 18px;
  }
}
.county-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}
.county-links a {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  border: 1px solid #dce3d5;
  border-radius: 8px;
  text-decoration: none;
}
.county-links span {
  color: #596d56;
}
.guide-anchor {
  border-left: 4px solid #8b9a6d;
  padding: 12px 20px;
  background: #f0f3e8;
  border-radius: 0 10px 10px 0;
}
.guide-anchor p {
  margin: 4px 0;
}
.duration-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}
.duration-tabs a {
  border: 1px solid #b9c9b1;
  border-radius: 30px;
  padding: 10px 18px;
  text-decoration: none;
}
.duration-tabs a[aria-current="true"] {
  background: #173e33;
  color: #fff;
}
.itinerary-days {
  margin: 0;
  padding-left: 25px;
}
.itinerary-days li {
  padding: 8px 0 22px 12px;
  border-bottom: 1px solid #e5e9df;
}
.itinerary-days li:last-child {
  border: 0;
}
.itinerary-days h3 {
  margin-bottom: 8px;
}
.guide-route {
  display: inline-block;
  padding: 8px 0;
}
.explore-page [hidden] {
  display: none !important;
}
.guide-intro .verification {
  font-size: 13px;
}
.explore-grid .guide-overview-card {
  padding: 0;
  overflow: hidden;
  background: #fffef8;
}
.guide-card-art {
  height: 172px;
  overflow: hidden;
  border-bottom: 3px solid #e1c59c;
}
.guide-card-art svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.guide-card-copy {
  padding: 20px;
}
.guide-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -8px 0 28px;
}
.guide-quick-nav a {
  padding: 9px 15px;
  border: 1px solid #cdd9c2;
  border-radius: 24px;
  color: #204e39;
  background: #edf3e6;
  text-decoration: none;
  font-size: 14px;
}
.guide-quick-nav a:hover {
  background: #dfead4;
}
.explore-page .guide-intro {
  padding: 0;
  overflow: hidden;
}
.guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  background: #faf9ed;
}
.guide-hero-copy {
  padding: 32px;
  align-self: center;
}
.guide-hero-copy .status {
  display: inline-block;
  white-space: normal;
  line-height: 1.6;
}
.guide-hero-art {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  min-width: 0;
  background: #e7eddf;
}
.guide-hero-art > svg {
  width: 100%;
  height: auto;
  display: block;
  flex: 1;
  min-height: 280px;
}
.guide-hero-art > p {
  margin: 0;
  padding: 10px 16px;
  font-size: 11px;
  color: #4b654d;
}
.guide-crest {
  position: absolute;
  right: 14px;
  bottom: 48px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  background: #fffefbf2;
  border: 1px solid #e2e6d8;
  border-radius: 9px;
  text-decoration: none;
  color: #173e33;
  font-size: 12px;
}
.guide-crest img {
  width: 32px;
  height: 40px;
  object-fit: contain;
}
.guide-intro-details {
  padding: 12px 32px 30px;
  border-top: 1px solid #e2e7da;
}
.guide-context-photo {
  margin: 0 0 28px;
  border: 1px solid #e0e5d8;
  border-radius: 14px;
  overflow: hidden;
  background: #fffefb;
}
.guide-context-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  background: #e8eddf;
}
.guide-context-photo figcaption {
  padding: 14px 20px;
  font-size: 12px;
  line-height: 1.7;
  color: #50624d;
  overflow-wrap: anywhere;
}
.explore-page .itinerary-days {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}
.explore-page .itinerary-days li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid #dde5d5;
  border-radius: 12px;
  background: linear-gradient(120deg, #f1f5e9, #fffdf6);
  min-height: 128px;
}
.day-number {
  position: relative;
  display: grid;
  place-items: center;
  align-self: start;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #254f3d;
  color: #fff4d8;
  font:
    22px Georgia,
    serif;
}
.day-number::after {
  content: "";
  position: absolute;
  top: 54px;
  left: 9px;
  width: 28px;
  height: 28px;
  background: var(--rural-pattern) center / contain no-repeat;
  opacity: 0.6;
  pointer-events: none;
}
.day-content h3 {
  margin-top: 0;
}
.day-content p {
  margin-bottom: 8px;
}
.guide-media-card {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  background: #eaf0e2;
  border: 1px solid #d7e0ce;
  border-radius: 12px;
}
.archive-play {
  display: grid;
  place-items: center;
  align-self: start;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff0ca;
  background: #315a43;
  font-size: 22px;
}
.guide-media-card h3 {
  margin-top: 0;
}
.stay-period {
  font-size: 14px;
  color: #46653e;
}
@media (max-width: 850px) {
  .guide-hero {
    grid-template-columns: 1fr;
  }
  .guide-hero-art {
    order: -1;
  }
  .guide-hero-art > svg {
    min-height: 0;
    max-height: 300px;
  }
}
@media (max-width: 600px) {
  .event-nav nav {
    gap: 14px;
  }
  .duration-tabs a {
    flex: 1 1 180px;
    text-align: center;
  }
  .explore-card {
    padding: 16px;
  }
  .guide-hero-copy,
  .guide-intro-details {
    padding: 22px 20px;
  }
  .explore-page .itinerary-days li {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 16px;
    gap: 12px;
    min-height: 106px;
  }
  .day-number {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
  .day-number::after {
    top: 42px;
    left: 3px;
  }
  .guide-media-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }
}

.guide-export {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #dce2d5;
}
.guide-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}
.guide-export button {
  padding: 10px 16px;
  border: 1px solid #bacbb2;
  border-radius: 24px;
  background: #eff3e8;
  color: #173e32;
  font: inherit;
  cursor: pointer;
}
.guide-export button:hover {
  background: #dde8d4;
}
.guide-export label {
  display: block;
  margin-bottom: 8px;
}
.guide-export textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid #bacbb2;
  border-radius: 10px;
  background: #fffefa;
  color: #173e32;
  font: inherit;
  resize: vertical;
}
#trip-printout {
  display: none;
}
@media print {
  .day-number::after {
    display: none;
  }
  .explore-page .itinerary-days li {
    min-height: 0;
  }
  body:has(#trip-printout) > :not(#trip-printout) {
    display: none !important;
  }
  #trip-printout {
    display: block;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font: 11pt/1.5 sans-serif;
    color: #000;
  }
  body:has(#trip-printout) {
    background: white;
  }
}

.trip-driving {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 3px solid #91a57d;
  border-radius: 0 8px 8px 0;
  background: #edf2e5;
  font-size: 14px;
}
.trip-driving p {
  margin: 8px 0;
}
.trip-driving small,
.trip-driving-note {
  color: #53634d;
}
.trip-driving-missing {
  color: #775b26;
}
.trip-driving-link {
  display: inline-block;
  margin: 4px 0 12px;
}
.trip-driving-summary {
  font-size: 14px;
  color: #53634d;
  border-top: 1px solid #dce3d2;
  padding-top: 16px;
}
