/* SkyStayTravel — Travel Support page layout (load with commercial stack + home-bundle or commercial-nav) */
:root {
  --sst-ts-sky: #0770e3;
  --sst-ts-sky-dark: #0557b0;
  --sst-ts-gold: #ffd166;
  --sst-ts-ink: #0f172a;
  --sst-ts-text: #243244;
  --sst-ts-muted: #4b5563;
  --sst-ts-line: #dbe6f2;
  --sst-ts-bg: #f6f9fc;
}

/* home-bundle paints html footer-blue for overscroll — reads as a blue frame here */
html:has(body.sst-page-travel-services) {
  background-color: var(--sst-ts-bg) !important;
}

body.sst-page-travel-services {
  margin: 0;
  min-height: 100%;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: linear-gradient(180deg, #f7fbff 0%, #f6f9fc 45%, #eef5fb 100%);
  color: var(--sst-ts-text);
  line-height: 1.72;
}

/* Do not set colour on all links — that washes out header pills (inherit = dark on blue) */
body.sst-page-travel-services a {
  text-decoration: none;
}

body.sst-page-travel-services nav.sst-ts-nav .nav-links a,
body.sst-page-travel-services nav .nav-links a {
  color: #fff;
  text-decoration: none;
}

body.sst-page-travel-services nav.sst-ts-nav .nav-links a:hover,
body.sst-page-travel-services nav .nav-links a:hover {
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.14);
}

body.sst-page-travel-services nav .nav-links a.act {
  color: #0770e3;
}

/* Match commercial nav: viewport-centred header pills on desktop */
@media (min-width: 761px) {
  body.sst-page-travel-services nav.sst-ts-nav .nav-links {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    grid-column: 1 / -1 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    width: max-content;
    max-width: min(880px, calc(100vw - 280px));
    z-index: 301;
  }
}

body.sst-page-travel-services .hero {
  position: relative;
  isolation: isolate;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  text-align: left;
  color: #fff;
  padding: calc(var(--sst-nav-h, 58px) + 48px) 20px 52px;
  background-image:
    linear-gradient(105deg, rgba(3, 36, 79, 0.88) 0%, rgba(7, 112, 227, 0.55) 48%, rgba(6, 20, 50, 0.35) 100%),
    url("/assets/images/articles/travel-planning-map-passport-desk.webp?v=20261014-2339");
  background-size: cover;
  background-position: center 42%;
}

body.sst-page-travel-services .hero-inner {
  max-width: 640px;
  width: min(1120px, calc(100% - 44px));
  margin-left: max(22px, calc((100% - 1120px) / 2 + 22px));
}

body.sst-page-travel-services .hero-kicker {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 14px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.sst-page-travel-services .hero h1 {
  font-size: clamp(2.15rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  font-weight: 950;
  margin-bottom: 14px;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}

body.sst-page-travel-services .hero h1 em {
  font-style: normal;
  color: var(--sst-ts-gold);
}

body.sst-page-travel-services .hero p {
  max-width: 52ch;
  margin: 0 0 22px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.93);
}

body.sst-page-travel-services .hero-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

body.sst-page-travel-services .hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 11px 19px;
  font-weight: 900;
}

body.sst-page-travel-services .hero-actions a.primary {
  background: #fff;
  color: var(--sst-ts-sky) !important;
}

body.sst-page-travel-services .hero-actions a.soft {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: #fff !important;
}

body.sst-page-travel-services .wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px;
}

body.sst-page-travel-services .page-wrap {
  padding: 8px 0 64px;
}

body.sst-page-travel-services .intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 34px;
  align-items: start;
  margin: 54px 0 34px;
}

body.sst-page-travel-services .intro-copy h2 {
  color: var(--sst-ts-ink);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
  margin-bottom: 12px;
}

body.sst-page-travel-services .intro-copy p {
  font-size: 1rem;
  color: #3f4d5f;
  max-width: 760px;
}

body.sst-page-travel-services .intro-panel {
  background: #fff;
  border: 1px solid var(--sst-ts-line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  border-top: 5px solid var(--sst-ts-gold);
}

body.sst-page-travel-services .intro-panel strong {
  display: block;
  color: var(--sst-ts-ink);
  font-size: 1rem;
  margin-bottom: 10px;
}

body.sst-page-travel-services .intro-panel ul {
  margin: 0;
  padding-left: 1.1em;
  color: var(--sst-ts-muted);
  font-size: 0.92rem;
}

body.sst-page-travel-services .intro-panel li + li {
  margin-top: 8px;
}

body.sst-page-travel-services .editorial-band {
  background: #fff;
  border: 1px solid var(--sst-ts-line);
  border-radius: 28px;
  padding: 28px;
  margin: 28px 0;
}

body.sst-page-travel-services .editorial-band h2 {
  color: var(--sst-ts-ink);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

body.sst-page-travel-services .editorial-band > p {
  color: var(--sst-ts-muted);
  margin-bottom: 18px;
}

body.sst-page-travel-services .guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.sst-page-travel-services .guide-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(180deg, #fbfdff, #f5f9ff);
  border: 1px solid #dce8f6;
  border-radius: 17px;
  padding: 16px 18px;
  min-width: 0;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

body.sst-page-travel-services .guide-link:hover {
  transform: translateY(-2px);
  border-color: #8fc5ff;
  box-shadow: 0 12px 28px rgba(7, 112, 227, 0.12);
}

body.sst-page-travel-services .guide-link strong {
  display: block;
  color: var(--sst-ts-ink);
  font-size: 1rem;
  margin-bottom: 3px;
}

body.sst-page-travel-services .guide-link span span {
  display: block;
  color: var(--sst-ts-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

body.sst-page-travel-services .guide-link b {
  color: var(--sst-ts-sky);
  font-size: 1.1rem;
}

body.sst-page-travel-services .stage {
  margin: 42px 0;
}

body.sst-page-travel-services .stage-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 22px;
  align-items: end;
  margin-bottom: 18px;
}

body.sst-page-travel-services .stage-chip {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--sst-ts-sky);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.sst-page-travel-services .stage-head h2 {
  color: var(--sst-ts-ink);
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

body.sst-page-travel-services .stage-head > p {
  color: var(--sst-ts-muted);
  font-size: 0.95rem;
}

body.sst-page-travel-services .tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px !important; /* beat sst-hub-cards .tool-grid gap !important */
  align-items: stretch;
  margin-bottom: 6px;
}

body.sst-page-travel-services .tool-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 20px 18px;
  border-radius: 16px;
  /* Avoid min-height:100% — cyclic grid sizing overflows cards onto Trip.com links */
  min-height: 0;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Clear air between tool cards and Trip.com promo pills */
body.sst-page-travel-services .tool-grid + .sst-trip-promo-row {
  margin-top: 22px !important;
}

body.sst-page-travel-services .sst-trip-promo-row + .sst-trip-promo-row {
  margin-top: 10px !important;
}

body.sst-page-travel-services .tool-card .tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--sst-ts-sky);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.sst-page-travel-services .tool-card h3 {
  color: var(--sst-ts-ink);
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 8px;
  line-height: 1.3;
}

body.sst-page-travel-services .tool-card p {
  color: var(--sst-ts-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
}

body.sst-page-travel-services .tool-card .cta {
  margin-top: auto;
  font-size: 0.88rem;
}

body.sst-page-travel-services .article-section {
  margin: 36px 0 20px;
}

body.sst-page-travel-services .article-banner {
  display: block;
  text-decoration: none;
  background: linear-gradient(135deg, #0447a0, #0770e3);
  border-radius: 16px;
  padding: 22px 26px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(7, 112, 227, 0.25);
  color: #fff !important;
}

body.sst-page-travel-services .article-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #fff !important;
}

/* Force white copy on blue banner — global p/a colour rules were washing titles dark.
   Do NOT include .article-cta here (white pill + blue label). */
body.sst-page-travel-services .article-banner .article-eyebrow,
body.sst-page-travel-services .article-banner .article-title,
body.sst-page-travel-services .article-banner .article-sub,
body.sst-page-travel-services .article-banner > .article-banner-inner > div p {
  color: #fff !important;
}

body.sst-page-travel-services .article-banner .article-cta {
  color: #075fc0 !important;
}

body.sst-page-travel-services .article-eyebrow {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.92;
  margin-bottom: 6px;
}

body.sst-page-travel-services .article-title {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

body.sst-page-travel-services .article-sub {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 0.92rem;
}

body.sst-page-travel-services .article-cta {
  flex-shrink: 0;
  font-weight: 900;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: #075fc0 !important;
  box-shadow: 0 6px 16px rgba(3, 20, 50, 0.16);
}

body.sst-page-travel-services .article-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.sst-page-travel-services .article-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--sst-ts-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
}

body.sst-page-travel-services .article-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

body.sst-page-travel-services .article-card .article-body {
  padding: 14px 16px 16px;
}

body.sst-page-travel-services .article-card .article-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 900;
  color: var(--sst-ts-sky);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

body.sst-page-travel-services .article-card strong {
  display: block;
  color: var(--sst-ts-ink);
  font-size: 0.95rem;
  margin-bottom: 6px;
  line-height: 1.35;
}

body.sst-page-travel-services .article-card p {
  color: var(--sst-ts-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

body.sst-page-travel-services .disclosure {
  font-size: 0.82rem;
  color: var(--sst-ts-muted);
  text-align: center;
  margin: 28px 0 8px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  body.sst-page-travel-services .intro,
  body.sst-page-travel-services .stage-head {
    grid-template-columns: 1fr;
  }

  body.sst-page-travel-services .tool-grid,
  body.sst-page-travel-services .guide-grid,
  body.sst-page-travel-services .article-cards {
    grid-template-columns: 1fr;
  }

  /* Stacked cards need more air than desktop column gap */
  body.sst-page-travel-services .tool-grid {
    gap: 18px !important;
  }

  body.sst-page-travel-services .tool-grid + .sst-trip-promo-row {
    margin-top: 20px !important;
  }
}

@media (max-width: 680px) {
  body.sst-page-travel-services .hero {
    min-height: 320px;
    padding: calc(var(--sst-nav-h, 54px) + 28px) 16px 36px;
    align-items: flex-end;
  }

  body.sst-page-travel-services .hero p {
    font-size: 0.95rem;
  }

  body.sst-page-travel-services .wrap {
    padding: 0 16px;
  }

  body.sst-page-travel-services .intro {
    margin: 38px 0 24px;
  }

  body.sst-page-travel-services .editorial-band {
    border-radius: 22px;
    padding: 20px;
  }

  body.sst-page-travel-services .article-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* —— Journey chips under hero (never fixed/sticky — must beat body > nav fixed rules) —— */
body.sst-page-travel-services .sst-ts-chips,
body.sst-page-travel-services > nav.sst-ts-chips,
body.sst-page-travel-services > .sst-ts-chips {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 1 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  width: 100% !important;
  max-width: none !important;
  display: block !important;
  grid-template-columns: none !important;
  padding: 0 !important;
  padding-top: 0 !important;
  margin: 0 !important;
  background: #f6f9fc !important;
  background-image: none !important;
  border-bottom: 1px solid var(--sst-ts-line);
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible !important;
}

body.sst-page-travel-services .sst-ts-chips-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 22px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

body.sst-page-travel-services .sst-ts-chips-inner::-webkit-scrollbar {
  display: none;
}

body.sst-page-travel-services .sst-ts-chips a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--sst-ts-line);
  color: var(--sst-ts-ink) !important;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

body.sst-page-travel-services .sst-ts-chips a:hover {
  border-color: rgba(7, 112, 227, 0.35);
  background: #f0f7ff;
  color: var(--sst-ts-sky) !important;
}

body.sst-page-travel-services .page-wrap {
  padding-top: 4px;
}

body.sst-page-travel-services .intro {
  margin-top: 36px;
}

/* SkyStay tools: 3 native cards */
body.sst-page-travel-services #skystay-tools .tool-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Before-trip extras: eSIM, transfers, lounges, insurance — 2×2 */
body.sst-page-travel-services #before-trip .tool-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.sst-page-travel-services #during-trip .tool-grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: 420px;
}

body.sst-page-travel-services #if-plans-change .tool-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.sst-page-travel-services .stage-head p a {
  color: var(--sst-ts-sky);
  font-weight: 800;
}

body.sst-page-travel-services .sst-dest-cluster {
  margin: 36px 0 8px;
  padding: 0;
  max-width: none;
}

@media (min-width: 901px) {
  body.sst-page-travel-services #before-trip .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.sst-page-travel-services .sst-ts-rail-strip {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff9ec 0%, #ffffff 55%, #f0f7ff 100%);
  border: 1px solid rgba(255, 209, 102, 0.45);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

body.sst-page-travel-services .sst-ts-rail-strip__label {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a4e00;
}

body.sst-page-travel-services .sst-ts-rail-strip__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.sst-page-travel-services .sst-ts-rail-strip .sst-trip-promo-link {
  margin: 0 !important;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(7, 112, 227, 0.18);
  color: var(--sst-ts-sky) !important;
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

body.sst-page-travel-services .sst-ts-rail-strip .sst-trip-promo-link:hover {
  border-color: rgba(7, 112, 227, 0.4);
  background: #f0f7ff;
}

body.sst-page-travel-services .guide-grid--close {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.sst-page-travel-services .sst-ts-close {
  margin-top: 48px;
}

@media (max-width: 900px) {
  body.sst-page-travel-services #skystay-tools .tool-grid,
  body.sst-page-travel-services #before-trip .tool-grid,
  body.sst-page-travel-services #if-plans-change .tool-grid,
  body.sst-page-travel-services .guide-grid--close {
    grid-template-columns: 1fr;
  }

  body.sst-page-travel-services .hero-inner {
    margin-left: 16px;
    width: calc(100% - 32px);
  }
}

@media (max-width: 680px) {
  body.sst-page-travel-services .hero {
    min-height: 320px;
    padding: calc(var(--sst-nav-h, 54px) + 28px) 16px 36px;
    align-items: flex-end;
  }

  body.sst-page-travel-services .sst-ts-chips-inner {
    padding: 10px 16px;
  }

  body.sst-page-travel-services .sst-ts-rail-strip__links {
    flex-direction: column;
  }

  body.sst-page-travel-services .sst-ts-rail-strip .sst-trip-promo-link {
    width: 100%;
    justify-content: space-between;
  }
}

/* —— Phase 2: photo tool cards —— */
body.sst-page-travel-services .tool-card {
  padding: 0;
  border: 1px solid var(--sst-ts-line);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

body.sst-page-travel-services .tool-card:hover {
  transform: translateY(-2px);
  border-color: rgba(7, 112, 227, 0.28);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
}

body.sst-page-travel-services .tool-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #dbeafe;
}

body.sst-page-travel-services .tool-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

body.sst-page-travel-services .tool-card:hover .tool-card__media img {
  transform: scale(1.04);
}

body.sst-page-travel-services .tool-card .tag,
body.sst-page-travel-services .tool-card h3,
body.sst-page-travel-services .tool-card p,
body.sst-page-travel-services .tool-card .cta {
  margin-left: 18px;
  margin-right: 18px;
}

body.sst-page-travel-services .tool-card .tag {
  margin-top: 14px;
  margin-bottom: 8px;
}

body.sst-page-travel-services .tool-card h3 {
  margin-bottom: 6px;
}

body.sst-page-travel-services .tool-card p {
  margin-bottom: 12px;
}

body.sst-page-travel-services .tool-card .cta {
  margin-bottom: 16px;
  color: var(--sst-ts-sky);
  font-weight: 800;
}

body.sst-page-travel-services .tool-grid--photo {
  gap: 18px !important;
}

@media (max-width: 900px) {
  body.sst-page-travel-services #before-trip .tool-grid {
    grid-template-columns: 1fr;
  }
}
