/**
 * SkyStayTravel — destination stays guides (sky22-*.html)
 * Load after page <style> so dest hotel cards match region-card chrome.
 * Do not restyle Stay22 maps or dest footer nav.
 */

@import url("/assets/sst-photo-hero.css?v=20261014-2339");

body.sst-dest-page .hero .tag,
body.sst-stays-terminal .hero .tag {
  background: rgba(255, 209, 102, 0.94);
  border: 0;
  color: #063b76;
  font-weight: 950;
  letter-spacing: 0.08em;
}

body.sst-dest-page .hero h1,
body.sst-stays-terminal .hero h1 {
  font-weight: 900;
}

/* Recommended stay cards — same photo + cream footer language as region cards */
body.sst-dest-page .sst-dest-stay-card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

body.sst-dest-page .sst-dest-stay-card img {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: cover;
  display: block;
}

/* Single featured hotel: do not let one card fill the whole desktop viewport */
body.sst-dest-page .sst-dest-stay-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 420px));
  gap: 18px;
  justify-content: center;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 640px) {
  body.sst-dest-page .sst-dest-stay-card img {
    max-height: 200px;
  }
  body.sst-dest-page .sst-dest-stay-cards {
    grid-template-columns: 1fr;
  }
}

body.sst-dest-page .sst-dest-stay-card__body {
  padding: 16px 18px 18px;
  background: #fff;
}

body.sst-dest-page .sst-dest-stay-card__area {
  color: var(--sst-place-gold, #e6a800) !important;
  -webkit-text-fill-color: var(--sst-place-gold, #e6a800);
}

body.sst-dest-page .sst-dest-stay-card__title {
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

/* Neighbourhood names — place gold; keep cards centred, text left inside */
body.sst-dest-page .area-card:not(:has(img)) {
  background: #fff;
  border-color: #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

body.sst-dest-page .area-card:not(:has(img)):hover {
  background: #fff;
  border-color: rgba(230, 168, 0, 0.35);
}

body.sst-dest-page .area-card strong,
body.sst-dest-page .sst-area-cards-sec .eyebrow {
  color: var(--sst-place-gold, #e6a800) !important;
  -webkit-text-fill-color: var(--sst-place-gold, #e6a800);
}

/* Multi-city neighbourhood labels (Florence, Nice, Lyon…) — heading, not kicker */
body.sst-dest-page .sst-area-cards-sec--city .section-head > .eyebrow {
  font-size: clamp(1.35rem, 3.6vw, 1.7rem) !important;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2 !important;
  margin: 0 0 8px;
  max-width: none;
  text-transform: none;
}

body.sst-dest-page .sst-area-cards-sec,
body.sst-dest-page .sst-dest-stay-cards,
body.sst-dest-page .sst-dest-btn-center {
  text-align: center;
}

body.sst-dest-page .area-card-body,
body.sst-dest-page .sst-dest-stay-card__body {
  text-align: left;
}

@media (max-width: 760px) {
  body.sst-dest-page,
  body.sst-stays-terminal.sst-dest-page {
    background:
      radial-gradient(ellipse 120% 50% at 50% -10%, rgba(7, 112, 227, 0.08), transparent 55%),
      #f5f7fa;
  }

  body.sst-stays-terminal .hero-content,
  body.sst-dest-page .hero-content {
    text-align: left;
    padding-left: 18px;
    padding-right: 18px;
  }

  body.sst-stays-terminal .hero h1,
  body.sst-dest-page .hero h1 {
    font-size: clamp(1.7rem, 7vw, 2.1rem) !important;
    max-width: 16ch;
    margin-left: 0;
    margin-right: 0;
    line-height: 1.08;
  }

  body.sst-stays-terminal .hero p,
  body.sst-dest-page .hero p {
    font-size: 0.92rem;
    line-height: 1.5;
    max-width: 36ch;
    margin-left: 0;
    color: rgba(255, 255, 255, 0.96);
  }

  body.sst-stays-terminal .cta-row,
  body.sst-dest-page .cta-row {
    max-width: 100%;
  }

  body.sst-stays-terminal .cta-row .btn,
  body.sst-dest-page .cta-row .btn {
    width: 100%;
    min-height: 48px;
  }

  body.sst-dest-page .sst-dest-btn-primary {
    width: 100%;
    min-height: 50px;
    box-sizing: border-box;
  }
}

/* Light-surface readability — white cards and area copy, not photo heroes or place gold */
body.sst-dest-page,
body.sst-stays-terminal.sst-dest-page {
  --muted: #334155;
  --t2: #334155;
  --sst-subtext: #334155;
}

body.sst-dest-page .sst-stays-booking-head p,
body.sst-stays-terminal.sst-dest-page .sst-stays-booking-head p,
body.sst-dest-page .sst-stays-picks .section-head p,
body.sst-dest-page .sst-area-cards-sec .section-head p:not(.eyebrow),
body.sst-dest-page .area-card:not(:has(img)) span:not(.area-card-cta),
body.sst-dest-page .sst-dest-stay-card__desc,
body.sst-dest-page .sst-related-block p,
body.sst-dest-page .sst-click-disclosure,
body.sst-dest-page .sst-partner-note {
  color: #334155 !important;
}

body.sst-dest-page .sst-stays-editorial-prelude p,
body.sst-dest-page .article-flow p,
body.sst-dest-page .faq details p {
  color: #1e293b;
}

/* Area tip + decision table — stay inside mobile viewport
   (grid min-content + nowrap area labels were blowing past .wrap) */
body.sst-dest-page .article-flow,
body.sst-dest-page .article-flow > *,
body.sst-dest-page .article-flow section {
  min-width: 0;
  max-width: 100%;
}

body.sst-dest-page .sst-krabi-tip {
  max-width: 100%;
  overflow-wrap: break-word;
}

body.sst-dest-page .sst-krabi-table-wrap {
  max-width: 100%;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  /* Keep the scroll chrome inside the card, not as a page-edge orphan bar */
  border-radius: 12px;
  background: #fff;
}

body.sst-dest-page .sst-krabi-areas-table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
}

@media (max-width: 640px) {
  /* Prefer wrapping over a detached page-level scrollbar */
  body.sst-dest-page .sst-krabi-areas-table {
    font-size: 0.78rem;
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  body.sst-dest-page .sst-krabi-areas-table th,
  body.sst-dest-page .sst-krabi-areas-table td {
    padding: 8px 8px;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}
