/* Targeted traffic-readiness additions; established global styling is untouched. */
.curated-collection { max-width: 1100px; }
.curated-collection h1 { max-width: 850px; }
.curated-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0; }
.curated-actions .button { white-space: normal; text-align: center; }
.curated-safety { border-left: 2px solid var(--gold); padding-left: 18px; max-width: 800px; }
.curated-entries { list-style: none; padding: 0; margin: 40px 0; }
.curated-entry { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 28px; padding: 32px 0; border-top: 1px solid var(--border, #302b2e); }
.curated-photo { display: block; align-self: start; overflow: hidden; background: #151217; }
.curated-photo img { display: block; width: 100%; height: auto; }
.curated-photo .archive-placeholder { min-height: 210px; }
.curated-story { min-width: 0; }
.curated-story h2 { font-size: clamp(25px, 3vw, 36px); margin: 10px 0 16px; }
.curated-story h2 a { color: inherit; }
.curated-story p { overflow-wrap: anywhere; }
.curated-access { font-size: 13px; line-height: 1.7; }
.curated-sources, .curated-credit { font-size: 11px; line-height: 1.6; }
.curated-collection .newsletter-form { margin-top: 40px; }
.collection-map-notice { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 14px 0; padding: 14px; border: 1px solid #534333; color: var(--gold); }
.notfound-nav { display: flex; flex-wrap: wrap; gap: 15px; margin: 25px 0; }
@media (max-width: 700px) {
  .curated-entry { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 26px 0; }
  .curated-photo img { max-height: 350px; object-fit: contain; }
  .curated-actions .button { width: 100%; }
}

/* Preserve the slideshow and controls; use normal flow on phones to avoid overlap. */
@media (max-width: 600px) {
  .hero:has(.hero-slideshow) { min-height: 900px; }
  .hero:has(.hero-slideshow) .hero-inner { padding-bottom: 28px; }
  .hero-caption.slideshow-caption { position: relative; inset: auto; margin: 0 22px 58px; }
  .map-stage.has-open-popup .map-tools,
  .map-stage.has-open-popup .map-legend,
  .map-stage.has-open-popup .leaflet-control-zoom { visibility: hidden; }
  .dark-popup .leaflet-popup-content { max-height: 245px; overflow-y: auto; overflow-wrap: anywhere; }
  .dark-popup .leaflet-popup-close-button { width: 44px !important; height: 44px !important; line-height: 40px !important; }
  .dark-popup .archive-popup { padding-right: 12px; }
}
.toast { bottom: calc(var(--analytics-banner-height, 0px) + 24px); }
@media (min-width: 1101px) { .featured-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 601px) and (max-width: 1100px) { .featured-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
