@import url('/spots-base.css?v=20260905-my-spots-1');

/* Mine spots: tydelig hovedkolonne og roligt værktøjspanel. */
.my-spots-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .65fr);
  gap: 28px;
  align-items: start;
}

.my-spots-grid > div,
.my-spots-grid > aside {
  min-width: 0;
}

.my-spots-grid > aside {
  display: grid;
  gap: 16px;
}

.my-spots-grid .spot-title {
  margin-bottom: 24px;
}

.my-spots-grid .spot-title span,
.my-spots-grid .detail-card > span {
  color: #102733;
}

.my-spots-grid .spot-title h2 {
  margin-top: 10px;
}

.my-spots-grid .route-builder {
  padding: 34px;
}

.my-spots-grid .route-builder > span {
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.my-spots-grid .route-builder h2 {
  margin: 10px 0 18px;
  font: 700 3.25rem/.9 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
}

.my-spots-grid .route-builder > p {
  margin: 0 0 24px;
  color: rgba(255,255,255,.76);
  line-height: 1.65;
}

.my-spots-grid .route-builder button {
  width: 100%;
  margin-top: 12px;
}

.my-spots-grid .detail-card {
  padding: 30px 34px;
}

.my-spots-grid .detail-card h2 {
  margin: 10px 0 20px;
}

.my-spots-grid .detail-card p {
  margin: 0;
  padding: 13px 0;
  border-top: 1px solid #d5dcda;
}

.my-spots-grid .detail-card > a {
  display: inline-block;
  margin-top: 12px;
  font-weight: 800;
}

@media (max-width: 950px) {
  .my-spots-grid {
    grid-template-columns: 1fr;
  }

  .my-spots-grid > aside {
    grid-template-columns: 1fr 1fr;
  }

  .my-spots-grid .route-builder {
    grid-column: 1 / -1;
  }
}

@media (max-width: 650px) {
  .my-spots-grid > aside {
    grid-template-columns: 1fr;
  }

  .my-spots-grid .route-builder {
    grid-column: auto;
    padding: 28px 24px;
  }

  .my-spots-grid .detail-card {
    padding: 26px 24px;
  }

  .my-spots-grid .spot-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Temaguiden har en mere kompakt intro end Adventure Map-forsiden. */
body:has(.theme-list) .spots-hero.compact-hero {
  min-height: 390px;
  padding-top: 82px;
  padding-bottom: 54px;
}

body:has(.theme-list) .spots-hero h1 {
  max-width: 1050px;
  margin-top: 14px;
  margin-bottom: 20px;
  font-size: clamp(4.5rem, 8vw, 7.5rem);
  line-height: .82;
}

.theme-guide-head {
  min-height: 350px;
  display: flex;
  align-items: flex-end;
  padding: 46px;
  color: #fff;
  background-position: center;
  background-size: cover;
}

.theme-guide-head > div {
  max-width: 760px;
}

.theme-guide-head span {
  color: #b8d6c7;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.theme-guide-head h2 {
  margin: 12px 0 14px;
  font: 700 clamp(3.8rem, 7vw, 6.5rem)/.84 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
}

.theme-guide-head p {
  max-width: 650px;
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 1rem;
  line-height: 1.65;
}

.theme-guide-head + .theme-strip {
  margin-top: 14px;
}

.theme-coming {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  background: #fff;
}

@media (max-width: 650px) {
  .theme-guide-head {
    min-height: 300px;
    padding: 30px 24px;
  }

  .theme-guide-head h2 {
    font-size: 3.75rem;
  }
}


body:has(.theme-list) .spots-hero > div > p {
  margin-bottom: 0;
}

/* Mørk tekst på lyse temasektioner; lys accent bevares på billederne. */
.theme-list .spot-title span {
  color: #102733;
}

/* Ensartet mørk accent på alle lyse kort og sektioner i spot-universet. */
.spot-detail-shell .spot-title span,
.spot-detail-shell .detail-card > span {
  color: #102733;
}

/* Undtag mørke flader og billedkort. */
.spot-detail-shell .route-builder > span,
.spot-detail-shell .spot-image > span {
  color: var(--steel);
}

@media (max-width: 650px) {
  body:has(.theme-list) .spots-hero.compact-hero {
    min-height: auto;
    padding: 76px 20px 42px;
  }

  body:has(.theme-list) .spots-hero h1 {
    font-size: clamp(4rem, 19vw, 5.25rem);
  }
}

/* Spot Challenges: kompakt top og tydelig rytme i kortene. */
body:has(.challenge-grid) .spots-hero.compact-hero {
  min-height: 390px;
  padding-top: 82px;
  padding-bottom: 54px;
}

body:has(.challenge-grid) .spots-hero h1 {
  margin-top: 14px;
  margin-bottom: 20px;
  font-size: clamp(4.5rem, 8vw, 7.5rem);
  line-height: .82;
}

body:has(.challenge-grid) .spots-hero > div > p {
  margin-bottom: 0;
}

.challenge-grid {
  align-items: stretch;
  gap: 20px;
}

.challenge-grid .challenge-card {
  padding: 36px;
  gap: 0;
}

.challenge-grid .challenge-card > span {
  display: block;
  margin-bottom: 16px;
  color: #102733;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.challenge-grid .challenge-card h2 {
  margin: 0 0 20px;
  font-size: 2.9rem;
  line-height: .96;
}

.challenge-grid .challenge-card p {
  margin: 0 0 28px;
  color: #52636b;
  line-height: 1.7;
}

.challenge-grid .challenge-progress {
  margin-bottom: 14px;
}

.challenge-grid .challenge-card > strong {
  margin-bottom: 8px;
}

.challenge-grid .challenge-card > small {
  display: block;
  margin-bottom: 24px;
  color: #52636b;
  line-height: 1.5;
}

.challenge-grid .challenge-card form,
.challenge-grid .challenge-card > b {
  margin-top: auto;
}

.challenge-grid .challenge-card button {
  width: 100%;
}

.challenge-grid .challenge-card > b {
  display: block;
  padding-top: 18px;
  border-top: 1px solid #d5dcda;
}

@media (max-width: 650px) {
  body:has(.challenge-grid) .spots-hero.compact-hero {
    min-height: auto;
    padding: 76px 20px 42px;
  }

  body:has(.challenge-grid) .spots-hero h1 {
    font-size: clamp(4rem, 19vw, 5.25rem);
  }

  .challenge-grid .challenge-card {
    padding: 28px 24px;
  }
}
