/**
 * SkyStayTravel — Discover (monthly place guides)
 * Cinematic hero (title on the photo), article-style left rail, Mediterranean colour.
 * Place gold for town/city/country on light surfaces; brand gold on the dark hero.
 */

@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@500;600;700;800&family=Literata:opsz,wght@7..72,400;7..72,500;7..72,600;7..72,700&display=swap");

html:has(body.sst-page-discover),
html.sst-page-discover {
  background-color: #f4ecdf !important;
}

.sst-page-discover {
  margin: 0;
  min-height: 100%;
  color: #1c2a3a;
  font-family: "Figtree", "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(900px 480px at 100% 8%, rgba(14, 165, 192, 0.16), transparent 58%),
    radial-gradient(800px 420px at -10% 40%, rgba(230, 168, 0, 0.12), transparent 50%),
    linear-gradient(180deg, #efe4d2 0%, #f7f0e6 38%, #f3f7f4 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.sst-discover-page,
.sst-discover-rail,
.sst-discover-toolkit,
.sst-discover-hero,
.sst-discover-hero__inner,
.sst-discover-body {
  text-align: left;
}

.sst-discover-page {
  width: 100%;
  max-width: 100%;
  padding: 0 0 56px;
}

.sst-discover-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(78vh, 720px);
  margin: 0;
  overflow: hidden;
  color: #fff;
  background: #06315f;
}

.sst-discover-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  z-index: 0;
  filter: saturate(1.12) contrast(1.04);
}

.sst-discover-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(8, 40, 82, 0.12) 0%,
      rgba(8, 40, 82, 0.04) 38%,
      rgba(6, 28, 58, 0.38) 68%,
      rgba(4, 18, 42, 0.78) 100%
    ),
    linear-gradient(105deg, rgba(4, 22, 48, 0.42) 0%, rgba(4, 22, 48, 0.08) 42%, transparent 62%);
}

.sst-discover-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: calc(var(--sst-nav-h, 58px) + 48px) 16px 56px;
  box-sizing: border-box;
  text-align: left;
}

.sst-discover-hero .sst-discover-toolkit {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
}

.sst-discover-hero .sst-discover-toolkit a {
  color: #ffd166;
  font-weight: 700;
  text-decoration: none;
}

.sst-discover-hero .sst-discover-toolkit a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sst-discover-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.96);
  color: #063b76 !important;
  font-family: "Figtree", "Segoe UI", sans-serif;
  font-size: 0.7rem !important;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2 !important;
  text-transform: uppercase;
  max-width: none;
  box-shadow: 0 8px 22px rgba(4, 18, 40, 0.22);
}

.sst-discover-hero h1 {
  max-width: 18ch;
  margin: 0 0 16px;
  font-family: "Figtree", "Segoe UI", sans-serif;
  font-size: clamp(2.35rem, 6.2vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: #fff;
  font-weight: 800;
  text-shadow: 0 10px 28px rgba(4, 18, 40, 0.35);
}

.sst-discover-hero h1 em {
  font-style: normal;
  color: #ffd166;
}

.sst-discover-hero p,
.sst-discover-intro {
  max-width: 38rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.94) !important;
  font-family: "Literata", Georgia, serif;
  font-size: 1.12rem !important;
  line-height: 1.68 !important;
  font-weight: 500;
  text-shadow: 0 6px 18px rgba(4, 18, 40, 0.35);
}

.sst-discover-place,
body.sst-page-discover .sst-discover-card__place,
body.sst-page-discover .sst-discover-notes__meta strong {
  color: var(--sst-place-gold, #e6a800) !important;
}

.sst-discover-rail {
  max-width: min(1120px, calc(100% - 32px));
  margin: -28px auto 0;
  padding: 0 16px;
  box-sizing: border-box;
  position: relative;
  z-index: 3;
}

.sst-discover-body {
  margin: 0;
  padding: 36px 0 8px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.sst-discover-body a:not(.sst-discover-card):not(.sst-discover-card__act):not(.sst-discover-related a) {
  color: #0b6e99;
  text-decoration: none;
  text-underline-offset: 3px;
}

.sst-discover-body a:not(.sst-discover-card):not(.sst-discover-card__act):hover {
  color: #085578;
  text-decoration: underline;
}

.sst-discover-body h2 {
  font-family: "Figtree", "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: clamp(1.42rem, 2.6vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #0b3c7a;
  margin: 2.4em 0 0.85em;
  padding: 0;
  border: 0;
  box-shadow: none;
  max-width: 46rem;
}

.sst-discover-body h2::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 4px;
  margin-top: 11px;
  border-radius: 99px;
  background: linear-gradient(90deg, #e6a800 0%, #ffd166 100%);
}

.sst-discover-body h2:first-of-type {
  margin-top: 1.2em;
}

.sst-discover-notes h2::after {
  background: linear-gradient(90deg, #e6a800 0%, #ffd166 100%);
}

.sst-discover-body h3 {
  font-family: "Figtree", "Segoe UI", sans-serif;
  font-weight: 750;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
  color: #c05621;
  margin: 1.5em 0 0.45em;
}

body.sst-page-discover .sst-discover-body > p,
body.sst-page-discover .sst-discover-body > h2 + p,
body.sst-page-discover .sst-discover-body li,
body.sst-page-discover .sst-discover-faq p {
  max-width: 46rem;
  margin: 0 0 1.08em;
  font-family: "Literata", Georgia, serif;
  font-size: 1.08rem !important;
  line-height: 1.84 !important;
  color: #1c2a3a;
}

.sst-discover-lede {
  position: relative;
  padding-left: 18px;
  border-left: 4px solid #e6a800;
  font-size: 1.14rem !important;
  color: #152033;
}

.sst-discover-note {
  max-width: 46rem;
  margin: 22px 0 32px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #fff6d8 0%, #ffe9b8 100%);
  border: 1px solid rgba(230, 168, 0, 0.45);
  border-radius: 16px;
  font-family: "Figtree", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #1e293b;
  box-shadow: 0 10px 24px rgba(180, 120, 0, 0.08);
}

.sst-discover-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0 28px;
}

.sst-discover-card {
  border-radius: 22px;
  overflow: hidden;
  background: #fffdf8;
  border: 1px solid rgba(230, 168, 0, 0.22);
  box-shadow: 0 12px 28px rgba(80, 50, 10, 0.08);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.sst-discover-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  display: block;
}

.sst-discover-card__body {
  padding: 16px 18px 18px;
  text-align: left;
  background: linear-gradient(180deg, #fffdf8 0%, #fff8ea 100%);
}

.sst-discover-card__place {
  display: block;
  margin-bottom: 4px;
  font-family: "Figtree", "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--sst-place-gold, #e6a800);
}

.sst-discover-card__title {
  margin: 0 0 6px;
  font-family: "Figtree", "Segoe UI", sans-serif !important;
  font-size: 1.08rem !important;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0b3c7a;
}

.sst-discover-card__copy {
  margin: 0;
  max-width: none;
  font-family: "Figtree", "Segoe UI", sans-serif !important;
  font-size: 0.94rem !important;
  line-height: 1.55 !important;
  color: #334155;
}

a.sst-discover-card {
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.sst-discover-card:hover,
a.sst-discover-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(230, 168, 0, 0.7);
  box-shadow: 0 18px 36px rgba(80, 50, 10, 0.14);
  outline: none;
  text-decoration: none;
}

.sst-discover-card__cta {
  display: inline-block;
  margin-top: 10px;
  font-family: "Figtree", "Segoe UI", sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  color: #0b6e99;
}

.sst-discover-stay-more {
  margin: -8px 0 28px;
  font-size: 1rem;
}

.sst-discover-notes {
  max-width: 46rem;
  margin: 36px 0 8px;
  padding: 24px 22px 20px;
  background: #fffdf8;
  border: 1px solid rgba(230, 168, 0, 0.28);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(80, 50, 10, 0.06);
}

.sst-discover-notes h2 {
  margin-top: 0;
}

.sst-discover-notes p,
.sst-discover-notes label {
  font-family: "Figtree", "Segoe UI", sans-serif;
}

.sst-discover-notes__live {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: #64748b;
}

.sst-discover-notes__form {
  display: grid;
  gap: 12px;
  margin: 16px 0 20px;
}

.sst-discover-notes__form label {
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #0f172a;
}

.sst-discover-notes__form input,
.sst-discover-notes__form textarea {
  width: 100%;
  border: 1px solid #e2c98a;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  color: #0f172a;
  background: #fff;
}

.sst-discover-notes__form textarea {
  min-height: 110px;
  resize: vertical;
}

.sst-discover-notes__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sst-discover-notes__form button {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 800;
  color: #0b3c7a;
  background: #ffd166;
  cursor: pointer;
}

.sst-discover-notes__form button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.sst-discover-notes__status {
  margin: 0;
  font-size: 0.88rem;
  color: #0f172a;
}

.sst-discover-notes__status.is-error {
  color: #b45309;
}

.sst-discover-notes__empty,
.sst-discover-notes__item p {
  margin: 0;
  max-width: none;
  font-size: 0.92rem;
}

.sst-discover-notes__item {
  border-top: 1px solid rgba(230, 168, 0, 0.22);
  padding: 14px 0;
}

.sst-discover-notes__meta {
  margin: 0 0 6px !important;
  font-size: 0.82rem;
  color: #64748b;
}

.sst-discover-notes__item img {
  margin-top: 10px;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
}

.sst-discover-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: start;
  margin: 12px 0 8px;
}

.sst-discover-featured p {
  max-width: none;
  font-family: "Literata", Georgia, serif;
  font-size: 1.08rem !important;
  line-height: 1.84 !important;
}

.sst-discover-featured .sst-discover-card {
  max-width: none;
}

.sst-discover-faq {
  max-width: 46rem;
}

.sst-discover-faq details {
  border-top: 1px solid rgba(230, 168, 0, 0.22);
  padding: 14px 0;
}

.sst-discover-faq details:last-child {
  border-bottom: 1px solid rgba(230, 168, 0, 0.22);
}

.sst-discover-faq summary {
  cursor: pointer;
  font-family: "Figtree", "Segoe UI", sans-serif;
  font-weight: 800;
  color: #0b3c7a;
}

.sst-discover-faq p {
  margin: 8px 0 0;
}

.sst-discover-related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 12px;
  margin-top: 16px;
}

.sst-discover-related a {
  background: #fffdf8;
  border: 1px solid rgba(230, 168, 0, 0.28);
  border-top: 3px solid #e6a800;
  border-radius: 16px;
  padding: 16px;
  text-decoration: none;
  color: #0b3c7a;
  font-family: "Figtree", "Segoe UI", sans-serif;
  font-weight: 800;
}

.sst-discover-related a:hover {
  color: #06315f;
  background: #fff6d8;
  text-decoration: none;
}

.sst-discover-related span {
  display: block;
  color: #64748b;
  font-weight: 600;
  font-size: 0.86rem;
  margin-top: 4px;
}

.sst-discover-credit {
  max-width: 46rem;
  margin-top: 36px;
  margin-bottom: 0;
  font-family: "Figtree", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #64748b;
}

.sst-discover-toolkit {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 0;
  letter-spacing: 0.01em;
}

@media (max-width: 800px) {
  .sst-discover-hero {
    min-height: min(70vh, 560px);
  }

  .sst-discover-hero__inner {
    max-width: 100%;
    padding: calc(var(--sst-nav-h, 54px) + 28px) 18px 36px;
  }

  .sst-discover-rail {
    max-width: 100%;
    margin-top: -18px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .sst-discover-body {
    padding-top: 22px;
  }

  .sst-discover-cards,
  .sst-discover-featured {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  html:has(body.sst-page-discover),
  body.sst-page-discover {
    overflow-x: hidden !important;
    overscroll-behavior-x: none;
  }
}


/* Dual CTA: stays primary + activities secondary (Bologna prototype) */
.sst-discover-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
a.sst-discover-card__main {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
a.sst-discover-card__main:hover,
a.sst-discover-card__main:focus-visible {
  text-decoration: none;
  outline: none;
}
a.sst-discover-card__main:hover .sst-discover-card__cta,
a.sst-discover-card__main:focus-visible .sst-discover-card__cta {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sst-discover-card:hover,
.sst-discover-card:focus-within,
.sst-discover-card:has(a.sst-discover-card__main:hover),
.sst-discover-card:has(a.sst-discover-card__main:focus-visible) {
  transform: translateY(-3px);
  border-color: rgba(230, 168, 0, 0.7);
  box-shadow: 0 18px 36px rgba(80, 50, 10, 0.14);
}
body.sst-page-discover a.sst-discover-card__act {
  display: block;
  margin: 0;
  padding: 11px 18px 14px;
  border-top: 1px solid rgba(230, 168, 0, 0.18);
  background: #fff8ea;
  font-family: "Figtree", "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  color: #186b6d !important;
  text-decoration: none;
  text-align: left;
}
body.sst-page-discover a.sst-discover-card__act:hover,
body.sst-page-discover a.sst-discover-card__act:focus-visible {
  background: #fff1d6;
  color: #14585a !important;
  text-decoration: underline;
  text-underline-offset: 2px;
  outline: none;
}

/* ── Bologna wow prototype (body.sst-discover-wow only) ── */
body.sst-discover-wow .sst-discover-hero {
  view-transition-name: sst-discover-hero;
}

html.sst-discover-wow-js body.sst-discover-wow .sst-discover-hero__inner > .sst-discover-kicker,
html.sst-discover-wow-js body.sst-discover-wow .sst-discover-hero__inner > h1,
html.sst-discover-wow-js body.sst-discover-wow .sst-discover-hero__inner > .sst-discover-intro {
  opacity: 0;
  transform: translateY(18px);
}

html.sst-discover-wow-js body.sst-discover-wow.sst-discover-wow--ready .sst-discover-hero__inner > .sst-discover-kicker,
html.sst-discover-wow-js body.sst-discover-wow.sst-discover-wow--ready .sst-discover-hero__inner > h1,
html.sst-discover-wow-js body.sst-discover-wow.sst-discover-wow--ready .sst-discover-hero__inner > .sst-discover-intro {
  opacity: 1;
  transform: none;
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

html.sst-discover-wow-js body.sst-discover-wow.sst-discover-wow--ready .sst-discover-hero__inner > .sst-discover-kicker {
  transition-delay: 0.08s;
}

html.sst-discover-wow-js body.sst-discover-wow.sst-discover-wow--ready .sst-discover-hero__inner > h1 {
  transition-delay: 0.18s;
}

html.sst-discover-wow-js body.sst-discover-wow.sst-discover-wow--ready .sst-discover-hero__inner > .sst-discover-intro {
  transition-delay: 0.3s;
}

@media (prefers-reduced-motion: no-preference) {
  html.sst-discover-wow-js body.sst-discover-wow .sst-discover-hero > img {
    will-change: transform;
    transform: scale(1.08);
    transform-origin: 48% 42%;
  }

  html.sst-discover-wow-js body.sst-discover-wow.sst-discover-wow--ready .sst-discover-hero > img {
    animation: sst-discover-kenburns 26s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  @keyframes sst-discover-kenburns {
    from {
      transform: scale(1.08);
    }
    to {
      transform: scale(1);
    }
  }

  html.sst-discover-wow-js body.sst-discover-wow.sst-discover-wow--ready [data-sst-reveal]:not(.is-in) {
    opacity: 0;
    transform: translateY(28px);
  }

  html.sst-discover-wow-js body.sst-discover-wow [data-sst-reveal] {
    transition:
      opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--sst-reveal-i, 0) * 55ms);
    will-change: opacity, transform;
  }

  html.sst-discover-wow-js body.sst-discover-wow [data-sst-reveal].is-in {
    opacity: 1;
    transform: none;
    will-change: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.sst-discover-wow .sst-discover-hero__inner > .sst-discover-kicker,
  body.sst-discover-wow .sst-discover-hero__inner > h1,
  body.sst-discover-wow .sst-discover-hero__inner > .sst-discover-intro,
  body.sst-discover-wow [data-sst-reveal],
  body.sst-discover-wow .sst-discover-hero > img {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* In-page jump menu (Discover guides) */
.sst-discover-jump {
  max-width: 46rem;
  margin: 0 0 1.35rem;
  font-family: "Figtree", "Segoe UI", sans-serif;
}
.sst-discover-jump__label {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}
.sst-discover-jump__links {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding: 2px 0 6px;
  overscroll-behavior-x: contain;
}
.sst-discover-jump__links a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 60, 122, 0.14);
  background: #f4f7fb;
  color: #0b3c7a !important;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.sst-discover-jump__links a:hover,
.sst-discover-jump__links a:focus-visible {
  background: #fff6d8;
  border-color: rgba(230, 168, 0, 0.55);
  color: #0b3c7a !important;
}
.sst-discover-body h2[id] {
  scroll-margin-top: calc(var(--sst-nav-stack-h, var(--sst-nav-h, 58px)) + 12px);
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.38s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}
