/*
 * Destination Experience Foundation.
 *
 * All selectors are scoped to .spot-single so the layout cannot leak into
 * the archive, Map page or Homepage Discovery Engine.
 */

.spot-single {
  --rta-ink: #17251c;
  --rta-ink-soft: #4d5c52;
  --rta-forest: #1f4b35;
  --rta-forest-dark: #123324;
  --rta-moss: #607d55;
  --rta-sand: #f3ead8;
  --rta-paper: #fbf8f1;
  --rta-white: #fff;
  --rta-line: #dfd8ca;
  --rta-rust: #a84f28;
  width: 100%;
  min-width: 0;
  color: var(--rta-ink);
  background: var(--rta-paper);
}

.spot-single a {
  text-underline-offset: 0.18em;
}

/* Hero
--------------------------------------------- */
.spot-single__hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(218, 195, 147, 0.16), transparent 28%),
    linear-gradient(135deg, var(--rta-forest-dark), var(--rta-forest));
  color: var(--rta-white);
}

.spot-single__hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
  width: min(1180px, calc(100% - 2rem));
  min-height: 530px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6.75rem) 0 clamp(4rem, 8vw, 7.5rem);
}

.spot-single__hero-copy,
.spot-single__hero-visual {
  min-width: 0;
}

.spot-single__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
}

.spot-single__breadcrumbs a {
  color: #fff;
  font-weight: 700;
}

.spot-single__eyebrow,
.spot-single__section-kicker {
  margin: 0 0 0.65rem;
  color: #b8d0b1;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.spot-single__title {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 6vw, 5.3rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.spot-single__summary {
  max-width: 700px;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.79);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.65;
}

.spot-single__badges,
.spot-single__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.spot-single__badges {
  margin-top: 1.6rem;
}

.spot-single__badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.76rem;
  font-weight: 800;
}

.spot-single__badge--yes::before,
.spot-single__badge--verification::before,
.spot-single__badge--no::before,
.spot-single__badge--unknown::before {
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  content: "";
}

.spot-single__badge--yes::before,
.spot-single__badge--verification-verified::before {
  background: #a7cf91;
}

.spot-single__badge--no::before {
  background: #ef9d79;
}

.spot-single__badge--unknown::before {
  background: #e4c680;
}

.spot-single__badge--verification-needs_review::before {
  background: #e4c680;
}

.spot-single__badge--verification-outdated::before {
  background: #ef9d79;
}

.spot-single__badge--verification-unverified::before {
  background: #aab5ad;
}

.spot-single__actions {
  margin-top: 2rem;
}

.spot-single__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.45rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.spot-single__button:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.spot-single__button--primary {
  border-color: var(--rta-sand);
  color: var(--rta-forest-dark);
  background: var(--rta-sand);
}

.spot-single__button--primary:hover {
  color: var(--rta-forest-dark);
  background: #fff7e8;
}

.spot-single__button--secondary {
  background: rgba(255, 255, 255, 0.08);
}

.spot-single__hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.spot-single__hero-visual--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spot-single__hero-fallback {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  padding: clamp(1.5rem, 5vw, 2.6rem);
  background:
    radial-gradient(circle at 76% 22%, transparent 0 50px, rgba(255, 255, 255, 0.12) 51px 52px, transparent 53px 76px, rgba(255, 255, 255, 0.09) 77px 78px, transparent 79px),
    radial-gradient(circle at 30% 70%, transparent 0 70px, rgba(255, 255, 255, 0.1) 71px 72px, transparent 73px 103px, rgba(255, 255, 255, 0.08) 104px 105px, transparent 106px),
    linear-gradient(155deg, #597558, #294d3a 58%, #173425);
}

.spot-single__hero-fallback::before {
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: 0.8rem;
  height: 0.8rem;
  border: 3px solid #f1d38c;
  border-radius: 50% 50% 50% 0;
  content: "";
  transform: rotate(-45deg);
}

.spot-single__hero-fallback span,
.spot-single__hero-fallback small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spot-single__hero-fallback strong {
  margin: 0.35rem 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 500;
}

.spot-single__quick-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 0;
  border-radius: 0.75rem 0.75rem 0 0;
  background: rgba(9, 34, 22, 0.5);
}

.spot-single__quick-fact {
  min-width: 0;
  padding: 1rem 1.2rem;
}

.spot-single__quick-fact + .spot-single__quick-fact {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.spot-single__quick-fact span,
.spot-single__quick-fact strong {
  display: block;
  overflow-wrap: anywhere;
}

.spot-single__quick-fact span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spot-single__quick-fact strong {
  margin-top: 0.25rem;
  color: #fff;
  font-size: 0.95rem;
}

/* Main destination content
--------------------------------------------- */
.spot-single__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.spot-single__main,
.spot-single__sidebar,
.spot-single__panel,
.spot-single__detail-card {
  min-width: 0;
}

.spot-single__panel {
  margin-bottom: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid var(--rta-line);
  border-radius: 0.9rem;
  background: var(--rta-white);
  box-shadow: 0 14px 35px rgba(27, 48, 34, 0.05);
}

.spot-single__section-kicker {
  color: var(--rta-moss);
}

.spot-single__section-title {
  margin: 0;
  color: var(--rta-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.spot-single__prose {
  margin-top: 1.4rem;
  color: var(--rta-ink-soft);
  font-size: 1.04rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.spot-single__prose > :first-child {
  margin-top: 0;
}

.spot-single__prose > :last-child {
  margin-bottom: 0;
}

.spot-single__detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.spot-single__detail-card {
  padding: 1.25rem;
  border: 1px solid var(--rta-line);
  border-radius: 0.7rem;
  background: var(--rta-paper);
}

.spot-single__detail-card h3,
.spot-single__facilities h3 {
  margin: 0 0 1rem;
  color: var(--rta-forest-dark);
  font-size: 1rem;
}

.spot-single__data-list,
.spot-single__confidence-list {
  display: grid;
  grid-template-columns: minmax(100px, 0.8fr) minmax(0, 1.2fr);
  gap: 0.6rem 0.9rem;
  margin: 0;
}

.spot-single__data-list dt,
.spot-single__confidence-list dt {
  color: #68756c;
  font-size: 0.82rem;
  font-weight: 700;
}

.spot-single__data-list dd,
.spot-single__confidence-list dd {
  min-width: 0;
  margin: 0;
  color: var(--rta-ink);
  font-size: 0.88rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.spot-single__facilities {
  margin-top: 1.5rem;
}

.spot-single__facility-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.spot-single__facility-list li {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--rta-line);
  border-radius: 0.55rem;
  background: #fff;
  font-size: 0.86rem;
}

.spot-single__facility-state {
  font-size: 0.72rem;
  white-space: nowrap;
}

.spot-single__facility-state--yes {
  color: #2f663b;
}

.spot-single__facility-state--no {
  color: #9b3d27;
}

.spot-single__facility-state--unknown {
  color: #78613b;
}

/* Map
--------------------------------------------- */
.spot-single__section-heading-row {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.spot-single__text-link {
  flex: 0 0 auto;
  color: var(--rta-forest);
  font-size: 0.82rem;
  font-weight: 800;
}

.spot-map {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--rta-line);
  border-radius: 0.7rem;
  background: #e8e4da;
}

/* Data confidence sidebar
--------------------------------------------- */
.spot-single__confidence-card {
  position: sticky;
  top: 1.25rem;
  padding: 1.5rem;
  border: 1px solid #cad7c8;
  border-radius: 0.9rem;
  background: #edf3e9;
  box-shadow: 0 14px 35px rgba(27, 48, 34, 0.06);
}

.spot-single__confidence-card h2 {
  margin: 0;
  color: var(--rta-forest-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.15;
}

.spot-single__confidence-card > p:not(.spot-single__section-kicker) {
  margin: 1rem 0;
  color: #4f6354;
  font-size: 0.9rem;
  line-height: 1.65;
}

.spot-single__confidence-list {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #cad7c8;
}

.spot-single__source-link {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding: 0.85rem 0.95rem;
  border-radius: 0.5rem;
  color: #fff;
  background: var(--rta-forest);
  font-size: 0.83rem;
  font-weight: 800;
  text-decoration: none;
}

.spot-single__source-link:hover {
  color: #fff;
  background: var(--rta-forest-dark);
  text-decoration: none;
}

.spot-single__confidence-note {
  padding-top: 1rem;
  border-top: 1px solid #cad7c8;
  font-size: 0.78rem !important;
}

.spot-single__technical-record {
  margin-top: 1rem;
  color: #5e7062;
  font-size: 0.76rem;
}

.spot-single__technical-record summary {
  cursor: pointer;
  font-weight: 800;
}

.spot-single__technical-record code {
  display: block;
  margin-top: 0.65rem;
  overflow-wrap: anywhere;
  white-space: normal;
}

/* Footer
--------------------------------------------- */
.spot-single__footer {
  border-top: 1px solid var(--rta-line);
  background: #efe8db;
}

.spot-single__footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0;
}

.spot-single__back {
  color: var(--rta-forest);
  font-size: 0.88rem;
  font-weight: 800;
}

@media (max-width: 900px) {
  .spot-single__hero-inner {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .spot-single__hero-visual {
    aspect-ratio: 16 / 8;
    max-height: 370px;
  }

  .spot-single__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .spot-single__confidence-card {
    position: static;
  }
}

@media (max-width: 680px) {
  .spot-single__hero-inner,
  .spot-single__quick-facts,
  .spot-single__body,
  .spot-single__footer-inner {
    width: min(100% - 1.25rem, 1180px);
  }

  .spot-single__hero-inner {
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 2.75rem;
  }

  .spot-single__breadcrumbs {
    margin-bottom: 1.75rem;
  }

  .spot-single__title {
    font-size: clamp(2.35rem, 13vw, 3.5rem);
  }

  .spot-single__hero-visual {
    aspect-ratio: 4 / 3;
    border-radius: 0.85rem;
  }

  .spot-single__quick-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spot-single__quick-fact:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .spot-single__quick-fact:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .spot-single__body {
    padding: 2.5rem 0;
  }

  .spot-single__detail-grid,
  .spot-single__facility-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .spot-single__section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .spot-map {
    min-height: 340px;
  }
}

@media (max-width: 420px) {
  .spot-single__actions,
  .spot-single__button {
    width: 100%;
  }

  .spot-single__data-list,
  .spot-single__confidence-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.18rem;
  }

  .spot-single__data-list dd:not(:last-child),
  .spot-single__confidence-list dd:not(:last-child) {
    margin-bottom: 0.6rem;
  }

  .spot-single__footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spot-single__button {
    transition: none;
  }
}
