/**
 * SkyStayTravel — region stays hubs (stays-europe.html etc.)
 * Load after page <style> on sst-page-stays-hub region pages.
 */

@import url("/assets/sst-photo-hero.css?v=20261014-2339");

/* Photo-first hero — keep each page's photo, charcoal scrim only */
body.sst-page-stays-hub .hero {
  isolation: isolate;
  background-color: #0b1220;
}

body.sst-page-stays-hub .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--sst-photo-hero-scrim);
  pointer-events: none;
}

body.sst-page-stays-hub .hero-inner {
  position: relative;
  z-index: 1;
}

body.sst-page-stays-hub .hero h1 {
  font-weight: 900;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.58), 0 8px 32px rgba(0, 0, 0, 0.4);
}

body.sst-page-stays-hub .hero p {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}

body.sst-page-stays-hub .kicker {
  background: rgba(255, 209, 102, 0.94);
  border: 0;
  color: #063b76;
  font-weight: 950;
  letter-spacing: 0.08em;
}

/* City names on photo cards — place gold */
body.sst-page-stays-hub .city-card strong {
  color: var(--sst-place-gold, #e6a800) !important;
  -webkit-text-fill-color: var(--sst-place-gold, #e6a800);
}

body.sst-page-stays-hub .city-card {
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

body.sst-page-stays-hub .city-card img {
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
}

@media (max-width: 760px) {
  body.sst-page-stays-hub {
    background:
      radial-gradient(ellipse 120% 50% at 50% -10%, rgba(7, 112, 227, 0.08), transparent 55%),
      #f5f7fa;
  }

  body.sst-page-stays-hub .hero {
    min-height: 390px;
    text-align: left;
    justify-content: flex-start;
    align-items: flex-end;
  }

  body.sst-page-stays-hub .hero-inner {
    text-align: left;
    padding: 72px 18px 72px;
    max-width: 100%;
  }

  body.sst-page-stays-hub .hero h1 {
    font-size: clamp(1.7rem, 7vw, 2.1rem) !important;
    max-width: 16ch;
    line-height: 1.08;
  }

  body.sst-page-stays-hub .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-page-stays-hub .wrap {
    padding-left: 14px;
    padding-right: 14px;
  }

  body.sst-page-stays-hub .intro,
  body.sst-page-stays-hub .section-head,
  body.sst-page-stays-hub .editorial-band h2 {
    text-align: left;
  }

  body.sst-page-stays-hub .editorial-band h2,
  body.sst-page-stays-hub .section-head h2 {
    font-size: 1.38rem;
    letter-spacing: -0.03em;
  }
}

/* Europe hub — path chooser, tags, country/city/resort split */
body.sst-page-stays-hub .sst-hub-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 1.05rem;
}

body.sst-page-stays-hub .sst-hub-path {
  display: grid;
  gap: 4px;
  align-content: start;
  padding: 16px 16px 14px;
  border-radius: 18px;
  border: 1px solid #dbeafe;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  text-decoration: none !important;
  color: inherit;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

body.sst-page-stays-hub .sst-hub-path--countries {
  border-color: #93c5fd;
  background: linear-gradient(180deg, #f0f7ff 0%, #e0effe 100%);
}

body.sst-page-stays-hub .sst-hub-path--cities {
  border-color: #f0d78c;
  background: linear-gradient(180deg, #fffbf0 0%, #fff3d6 100%);
}

body.sst-page-stays-hub .sst-hub-path--beach {
  border-color: #99d5c9;
  background: linear-gradient(180deg, #f0faf8 0%, #dcf5ef 100%);
}

body.sst-page-stays-hub .sst-hub-path:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(7, 112, 227, 0.12);
}

body.sst-page-stays-hub .sst-hub-path--countries:hover { border-color: #0770e3; }
body.sst-page-stays-hub .sst-hub-path--cities:hover { border-color: #d4a017; }
body.sst-page-stays-hub .sst-hub-path--beach:hover { border-color: #0f766e; }

body.sst-page-stays-hub .sst-hub-path__label {
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
}

body.sst-page-stays-hub .sst-hub-path--countries .sst-hub-path__label { color: #0557b0; }
body.sst-page-stays-hub .sst-hub-path--cities .sst-hub-path__label { color: #a16207; }
body.sst-page-stays-hub .sst-hub-path--beach .sst-hub-path__label { color: #0f766e; }

body.sst-page-stays-hub .sst-hub-path strong {
  font-size: 1.02rem;
  font-weight: 900;
  color: #152a45;
  letter-spacing: -0.02em;
}

body.sst-page-stays-hub .sst-hub-path--countries strong { color: #0b3c7a; }
body.sst-page-stays-hub .sst-hub-path--cities strong { color: #7a4e00; }
body.sst-page-stays-hub .sst-hub-path--beach strong { color: #115e59; }

body.sst-page-stays-hub .sst-hub-path__desc {
  font-size: 0.86rem;
  line-height: 1.45;
  color: #334155;
}

body.sst-page-stays-hub .sst-hub-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 1.05rem;
  justify-content: start;
}

body.sst-page-stays-hub .sst-hub-pick {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #93c5fd;
  background: linear-gradient(180deg, #fff 0%, #eef6ff 100%);
  color: #0557b0 !important;
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none !important;
}

body.sst-page-stays-hub .sst-hub-pick:hover {
  border-color: #0770e3;
  background: #dbeafe;
}

/* Trip type — short chips instead of long planning essays */
body.sst-page-stays-hub .sst-hub-trips {
  margin: 0 0 1.05rem;
}

body.sst-page-stays-hub .sst-hub-trips__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

body.sst-page-stays-hub .sst-hub-trip {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  border-left-width: 4px;
  background: #fff;
  text-decoration: none !important;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

body.sst-page-stays-hub .sst-hub-trip--city { border-left-color: #0770e3; background: linear-gradient(90deg, #eff6ff 0%, #fff 42%); }
body.sst-page-stays-hub .sst-hub-trip--beach { border-left-color: #0f766e; background: linear-gradient(90deg, #f0fdfa 0%, #fff 42%); }
body.sst-page-stays-hub .sst-hub-trip--rail { border-left-color: #d4a017; background: linear-gradient(90deg, #fffbeb 0%, #fff 42%); }
body.sst-page-stays-hub .sst-hub-trip--country { border-left-color: #2563eb; background: linear-gradient(90deg, #eff6ff 0%, #fff 42%); }

body.sst-page-stays-hub .sst-hub-trip:hover {
  box-shadow: 0 8px 20px rgba(7, 112, 227, 0.1);
}

body.sst-page-stays-hub .sst-hub-trip strong {
  font-size: 0.92rem;
  font-weight: 900;
  color: #0b3c7a;
}

body.sst-page-stays-hub .sst-hub-trip--beach strong { color: #115e59; }
body.sst-page-stays-hub .sst-hub-trip--rail strong { color: #92400e; }

body.sst-page-stays-hub .sst-hub-trip span {
  font-size: 0.8rem;
  line-height: 1.35;
  color: #64748b;
}

body.sst-page-stays-hub .sst-hub-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 1.05rem;
}

body.sst-page-stays-hub .sst-hub-facts article {
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  border: 1px solid #dbeafe;
  border-radius: 16px;
  padding: 14px 16px;
}

body.sst-page-stays-hub .sst-hub-facts strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 900;
  color: #0557b0;
  margin-bottom: 4px;
}

body.sst-page-stays-hub .sst-hub-facts span {
  display: block;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #334155;
}

body.sst-page-stays-hub .sst-hub-eyebrow {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0557b0;
}

body.sst-page-stays-hub .intro {
  margin-bottom: 1.15rem;
  line-height: 1.55;
}

body.sst-page-stays-hub .region-block {
  padding: 1.35rem 0;
}

body.sst-page-stays-hub .sst-trip-promo-row {
  margin: 0 0 1.35rem;
}

body.sst-page-stays-hub .city-card-tag {
  display: inline-block;
  margin: 0 0 6px;
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #075fc0;
}

body.sst-page-stays-hub .city-card--country {
  border-color: #c7d7ea;
  background: linear-gradient(180deg, #fff 0%, #f7fafc 100%);
}

body.sst-page-stays-hub .city-card--country .city-card-tag {
  color: #0557b0;
}

body.sst-page-stays-hub .city-card--resort .city-card-tag {
  color: #0f766e;
}

@media (max-width: 900px) {
  body.sst-page-stays-hub .sst-hub-facts {
    grid-template-columns: 1fr;
  }

  body.sst-page-stays-hub .sst-hub-trips__row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  /* Path chooser → compact 3 tinted chips (not stacked essays) */
  body.sst-page-stays-hub .sst-hub-paths {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 0.85rem;
  }

  body.sst-page-stays-hub .sst-hub-path {
    padding: 11px 8px;
    text-align: center;
    gap: 0;
    border-radius: 14px;
    box-shadow: none;
  }

  body.sst-page-stays-hub .sst-hub-path strong,
  body.sst-page-stays-hub .sst-hub-path__desc {
    display: none;
  }

  body.sst-page-stays-hub .sst-hub-path__label {
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    line-height: 1.2;
  }

  /* Popular cities right after chooser — wrap pills, not a tall grid */
  body.sst-page-stays-hub .sst-hub-picks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0.95rem;
  }

  body.sst-page-stays-hub .sst-hub-pick {
    font-size: 0.8rem;
    min-height: 34px;
    padding: 5px 12px;
  }

  /* Trip type → horizontal snap row */
  body.sst-page-stays-hub .sst-hub-trips__row {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 14px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    margin-inline: -14px;
    padding: 2px 14px 10px;
    scrollbar-width: thin;
  }

  body.sst-page-stays-hub .sst-hub-trip {
    flex: 0 0 min(72vw, 240px);
    width: min(72vw, 240px);
    scroll-snap-align: start;
    padding: 12px 14px;
  }

  /* Facts → one compact strip */
  body.sst-page-stays-hub .sst-hub-facts {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    overflow: hidden;
    background: #f8fbff;
    margin-bottom: 0.95rem;
  }

  body.sst-page-stays-hub .sst-hub-facts article {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid #dbeafe;
    background: transparent;
    padding: 10px 12px;
  }

  body.sst-page-stays-hub .sst-hub-facts article:last-child {
    border-bottom: 0;
  }

  body.sst-page-stays-hub .sst-hub-facts strong {
    margin: 0;
    font-size: 0.8rem;
  }

  body.sst-page-stays-hub .sst-hub-facts span {
    display: inline;
    font-size: 0.8rem;
    line-height: 1.35;
  }
}

/* Compact next-step strip — replaces long related essay + planning cards */
body.sst-page-stays-hub .sst-hub-next {
  margin: 1.35rem 0 2rem;
}

body.sst-page-stays-hub .sst-hub-next__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

body.sst-page-stays-hub .sst-hub-next__grid a {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #073f88, #0770e3);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 850;
}

body.sst-page-stays-hub .sst-hub-next__grid strong {
  font-size: 0.95rem;
}

body.sst-page-stays-hub .sst-hub-next__grid span {
  font-size: 0.78rem;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 900px) {
  body.sst-page-stays-hub .sst-hub-next__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  body.sst-page-stays-hub .sst-hub-next__grid {
    grid-template-columns: 1fr;
  }
}

body.sst-page-stays-hub .city-card span:not(.city-card-cta):not(.city-card-tag),
body.sst-page-stays-hub .planning p,
body.sst-page-stays-hub .region-copy p {
  color: #334155 !important;
}

/* Planning tip cards — tinted, not black-on-white */
body.sst-page-stays-hub .planning {
  gap: 14px;
}

body.sst-page-stays-hub .planning article {
  border: 1px solid #bfdbfe;
  border-left-width: 5px;
  border-radius: 18px;
  padding: 18px 18px 16px;
  background: linear-gradient(165deg, #f0f7ff 0%, #ffffff 55%);
  box-shadow: 0 8px 22px rgba(7, 112, 227, 0.07);
}

body.sst-page-stays-hub .planning article:nth-child(4n + 1) {
  border-left-color: #0770e3;
  background: linear-gradient(165deg, #eaf3ff 0%, #ffffff 58%);
}

body.sst-page-stays-hub .planning article:nth-child(4n + 2) {
  border-left-color: #0f766e;
  border-color: #99d5c9;
  background: linear-gradient(165deg, #ecfdf8 0%, #ffffff 58%);
}

body.sst-page-stays-hub .planning article:nth-child(4n + 3) {
  border-left-color: #d4a017;
  border-color: #f0d78c;
  background: linear-gradient(165deg, #fff8e8 0%, #ffffff 58%);
}

body.sst-page-stays-hub .planning article:nth-child(4n + 4) {
  border-left-color: #2563eb;
  border-color: #93c5fd;
  background: linear-gradient(165deg, #eff6ff 0%, #ffffff 58%);
}

body.sst-page-stays-hub .planning article h3 {
  color: #0b3c7a !important;
  margin-bottom: 8px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

body.sst-page-stays-hub .planning article:nth-child(4n + 2) h3 { color: #115e59 !important; }
body.sst-page-stays-hub .planning article:nth-child(4n + 3) h3 { color: #92400e !important; }

body.sst-page-stays-hub .planning article p {
  color: #475569 !important;
}

body.sst-page-stays-hub .planning article a {
  display: inline-flex;
  margin-top: 10px;
  color: #0557b0 !important;
  font-weight: 850;
  text-decoration: none !important;
}

body.sst-page-stays-hub .planning article:nth-child(4n + 2) a { color: #0f766e !important; }
body.sst-page-stays-hub .planning article:nth-child(4n + 3) a { color: #a16207 !important; }

body.sst-page-stays-hub .planning article a:hover {
  text-decoration: underline !important;
}

@media (max-width: 640px) {
  body.sst-page-stays-hub .planning {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 28px 0;
  }

  body.sst-page-stays-hub .planning article {
    padding: 14px 14px 12px;
    border-radius: 14px;
  }

  body.sst-page-stays-hub .planning article h3 {
    font-size: 0.98rem;
  }

  body.sst-page-stays-hub .planning article p {
    font-size: 0.88rem;
    line-height: 1.5;
  }
}

/* Mobile: cities swipe row; countries/resorts stay stacked */
@media (max-width: 720px) {
  body.sst-page-stays-hub .city-grid--snap {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 14px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    margin-inline: -14px;
    padding: 2px 14px 12px;
    scrollbar-width: thin;
  }

  body.sst-page-stays-hub .city-grid--snap .city-card {
    flex: 0 0 min(78vw, 280px);
    width: min(78vw, 280px);
    max-width: none;
    scroll-snap-align: start;
  }

  body.sst-page-stays-hub .city-grid--snap .city-card img {
    height: 148px;
  }
}

body.sst-page-stays-hub .intro,
body.sst-page-stays-hub .editorial-band p {
  color: #1e293b !important;
}
