/**
 * SkyStayTravel — partner search widgets (homepage hero, flights Trip.com test, shared hosts)
 */

/* ── Homepage hero discovery panel (no partner widgets) ── */
body.sst-page-home .sst-home-discovery {
  min-width: 0;
  max-width: 100%;
}

body.sst-page-home .sst-home-discovery-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  padding: 22px 20px 20px;
  max-width: 100%;
}

body.sst-page-home .sst-home-discovery-kicker {
  display: inline-flex;
  margin: 0 0 8px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.22);
  border: 1px solid rgba(255, 209, 102, 0.45);
  color: #8a5b00;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.sst-page-home .sst-home-discovery-panel h2 {
  margin: 0 0 8px;
  font-size: 1.32rem;
  font-weight: 950;
  line-height: 1.18;
  letter-spacing: -0.035em;
  color: #0a1f3d;
}

body.sst-page-home .sst-home-discovery-lead {
  margin: 0 0 16px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #334155;
  font-weight: 600;
}

body.sst-page-home .sst-home-discovery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

body.sst-page-home .sst-home-discovery-tile {
  display: block;
  padding: 14px 14px 13px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body.sst-page-home .sst-home-discovery-tile:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

body.sst-page-home .sst-home-discovery-tile--primary {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #334155, #1e293b);
  border-color: transparent;
  color: #fff;
}

body.sst-page-home .sst-home-discovery-tile--primary span {
  color: rgba(255, 255, 255, 0.92);
}

body.sst-page-home .sst-home-discovery-tile strong {
  display: block;
  font-size: 0.96rem;
  font-weight: 950;
  margin-bottom: 4px;
  color: #0a1f3d;
  letter-spacing: -0.02em;
}

body.sst-page-home .sst-home-discovery-tile--primary strong {
  color: #fff;
}

body.sst-page-home .sst-home-discovery-tile span {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  line-height: 1.4;
}

body.sst-page-home .sst-home-package-mention {
  margin-top: 14px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.88);
}

body.sst-page-home .sst-home-package-mention a {
  color: #ffd166;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.sst-page-home .sst-home-package-mention--mobile {
  display: none;
}

@media (max-width: 760px) {
  body.sst-page-home .sst-home-package-mention--mobile {
    display: block;
  }

  body.sst-page-home .sst-home-package-mention--desktop {
    display: none;
  }
}

/* ── Stays hub — optional secondary pathway ── */
body.sst-page-sky22 .sst-stays-alt-row {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(7, 112, 227, 0.16);
  text-align: center;
}

body.sst-page-sky22 .sst-stays-alt-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(7, 112, 227, 0.28);
  background: #fff;
  color: #0557b0;
  font-size: 0.84rem;
  font-weight: 900;
  transition: background 0.2s ease, border-color 0.2s ease;
}

body.sst-page-sky22 .sst-stays-alt-cta:hover {
  background: #eff6ff;
  border-color: #0770e3;
}

/* ── Trip.com promo links (secondary pathway) ── */
.sst-trip-promo-row {
  margin: 14px 0 0;
  text-align: center;
}

.sst-trip-promo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #dbeafe;
  background: #f8fbff;
  color: #075fc0 !important;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.sst-trip-promo-link:hover {
  background: #eff6ff;
  border-color: #0770e3;
}

body.sst-page-travel-services .sst-trip-promo-row {
  margin-top: 16px;
  text-align: left;
}

.editorial-band .sst-trip-promo-row {
  margin-top: 16px;
  text-align: left;
}

@media (max-width: 680px) {
  body.sst-page-home .hero {
    min-height: auto;
  }

  body.sst-page-home .sst-home-discovery-panel {
    border-radius: 18px;
    padding: 16px 14px 14px;
  }

  body.sst-page-home .sst-home-discovery-grid {
    grid-template-columns: 1fr;
  }

  body.sst-page-home .sst-home-discovery-tile--primary {
    grid-column: auto;
  }

}

/* Trip.com pills — mobile: centred compact chips (match desktop), not stretched bars */
@media (max-width: 640px) {
  .sst-trip-promo-row,
  body.sst-page-sky22 .sst-stays-alt-row {
    text-align: center;
  }

  .sst-trip-promo-link,
  body.sst-page-sky22 .sst-stays-alt-cta {
    width: auto;
    max-width: min(100%, 22rem);
    padding: 10px 18px;
    font-size: 0.84rem;
    line-height: 1.4;
    text-align: center;
    white-space: normal;
  }

  body.sst-page-travel-services .sst-trip-promo-row,
  .editorial-band .sst-trip-promo-row {
    text-align: center;
  }
}

body.sst-page-flights .sst-fl-v1-field-hint {
  grid-column: 1 / -1;
  margin: 2px 0 4px;
  font-size: 0.74rem;
  line-height: 1.5;
  color: #6b7280;
}
