/* =========================================================================
   Storytrails Cities — frontend styles
   ---------------------------------------------------------------------- */

.stc-city {
  --stc-yellow: #ffc50c;
  --stc-yellow-soft: #f5b800;
  --stc-dark: #1a1a1a;
  --stc-ink: #222;
  --stc-muted: #6b6b6b;
  --stc-grey: #eeeeee;
  --stc-bg-soft: #f5f5f5;
  --stc-border: #e2e2e2;
  --stc-serif: "Sabon LT STD", Georgia, serif;
  --stc-sans: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-family: var(--stc-sans);
  color: var(--stc-dark);
  line-height: 1.5;
}

.stc-city * { box-sizing: border-box; }

.stc-section-title {
  font-family: var(--stc-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 28px;
  color: var(--stc-dark);
  text-align: center;
  margin: 0 0 12px;
  line-height: 1.15;
}
.stc-section-sub {
  font-family: var(--stc-sans);
  text-align: center;
  color: var(--stc-muted);
  font-size: 14px;
  margin: 0 0 40px;
}

/* =====================================================
   HERO
   ===================================================== */

.stc-hero {
  background: var(--stc-yellow);
  padding: 40px 0;
}
.stc-hero-inner {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.35fr;
  gap: 0;
  align-items: stretch;
  min-height: 420px;
}
.stc-hero-text {
  padding: 40px 44px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stc-kicker {
  display: block;
  font-family: var(--stc-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--stc-muted);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.stc-hero-title {
  font-family: var(--stc-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.15;
  color: var(--stc-dark);
  margin: 0 0 22px;
}
.stc-hero-over {
  font-size: 14px;
  color: var(--stc-ink);
  line-height: 1.65;
}
.stc-hero-over p { margin: 0 0 12px; }
.stc-hero-over p:last-child { margin-bottom: 0; }
.stc-hero-image {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.stc-hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.stc-hero-image-mobile { display: none; }

/* =====================================================
   KEY INFORMATION — yellow band
   ===================================================== */

.stc-key {
  background: var(--stc-yellow);
  padding: 30px 0 60px;
}
.stc-key-inner {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 24px;
}
.stc-key .stc-section-title { margin-bottom: 40px; }
.stc-key-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}
.stc-key-video, .stc-key-map {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.stc-key-video > *,
.stc-key-map > * { flex: 1; }
.stc-key-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--stc-muted);
  font-size: 13px;
  align-self: center;
}
.stc-video-16by9 {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
}
.stc-video-16by9 iframe,
.stc-video-16by9 video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.stc-video-fallback {
  align-self: center;
  color: var(--stc-dark);
  text-decoration: underline;
  padding: 30px;
  text-align: center;
}
.stc-key-map iframe { display: block; }

/* ---------- Route map (Leaflet, fixed pins) ---------- */
.stc-leaflet-map {
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: #e5e5e5;
}
.stc-pin .stc-pin-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--stc-yellow);
  color: var(--stc-dark);
  font-weight: 700;
  font-size: 12px;
  font-family: var(--stc-sans);
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
/* Route line connecting stop 1 → 2 → 3 → ... in order. Color/weight/dash
   are set inline via Leaflet options in cities.js; this class is a hook
   for any future restyling. */
.stc-route-line { pointer-events: none; }
.leaflet-popup.stc-leaflet-popup .leaflet-popup-content-wrapper {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
}
.leaflet-popup.stc-leaflet-popup .leaflet-popup-content {
  margin: 10px 14px;
}
.stc-map-pop {
  font-family: var(--stc-serif);
  font-size: 14px;
  color: var(--stc-dark);
  white-space: nowrap;
}
.leaflet-popup.stc-leaflet-popup .leaflet-popup-tip {
  background: #fff;
}

.stc-key-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.stc-key-icon-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.stc-key-icon-imgs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.stc-key-icon-img {
  width: 44px;
  height: 44px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}
.stc-icon-label {
  font-family: var(--stc-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  color: var(--stc-dark);
}

/* =====================================================
   GALLERY — white section with horizontal scroll
   ===================================================== */

.stc-gallery {
  background: #fff;
  padding: 70px 0;
}
.stc-gallery-inner {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 24px;
}
.stc-hscroll-wrap {
  position: relative;
}
.stc-hscroll {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 0 16px;
  scrollbar-width: none;
}
.stc-hscroll::-webkit-scrollbar { display: none; }
.stc-hscroll-card {
  flex: 0 0 auto;
  width: 480px;
  scroll-snap-align: start;
}
.stc-hscroll-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}
.stc-hscroll-card h5 {
  font-family: var(--stc-serif);
  font-style: italic;
  font-size: 17px;
  font-weight: 600;
  color: var(--stc-dark);
  margin: 12px 0 4px;
}
.stc-hscroll-card p {
  font-size: 12px;
  color: var(--stc-muted);
  margin: 0;
}
.stc-hscroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--stc-border);
  background: #fff;
  font-size: 22px;
  color: var(--stc-dark);
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.stc-hscroll-arrow:hover { background: var(--stc-bg-soft); }
.stc-hscroll-arrow.prev { left: -20px; }
.stc-hscroll-arrow.next { right: -20px; }

/* =====================================================
   HIGHLIGHTS — grey band, bulleted list
   ===================================================== */

 .stc-highlights {
  background: var(--stc-bg-soft);
  padding: 70px 0;
}
.stc-highlights-inner {
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
  padding: 0 24px;
}
.stc-highlights-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--stc-ink);
}
.stc-highlights-body p          { margin: 0 0 14px; }
.stc-highlights-body p:last-child { margin-bottom: 0; }
.stc-highlights-body strong     { color: var(--stc-dark); }
.stc-highlights-body ul,
.stc-highlights-body ol {
  padding-left: 22px;
  margin: 8px 0;
}
.stc-highlights-body ul li,
.stc-highlights-body ol li { margin: 0 0 4px; }
.stc-highlights-body a {
  color: var(--stc-dark);
  text-decoration: underline;
}

/* =====================================================
   PREVIEW AUDIOS — white section, 2-col grid, play buttons
   ===================================================== */

.stc-preview {
  background: #fff;
  padding: 70px 0;
}
.stc-preview-inner {
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
  padding: 0 24px;
}
.stc-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 60px;
}
.stc-preview-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--stc-border);
  border-radius: 6px;
  padding: 16px 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.stc-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--stc-yellow);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s, background 0.15s;
  padding: 0;
}
.stc-play-btn:hover { background: var(--stc-yellow-soft); transform: scale(1.05); }
.stc-play-ico {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.stc-play-ico svg { width: 100%; height: 100%; display: block; }
.stc-play-ico-play  { margin-left: 2px; } /* optical centering for arrow */
.stc-play-ico-pause { display: none; }
.stc-preview-item.is-playing .stc-play-ico-play  { display: none; }
.stc-preview-item.is-playing .stc-play-ico-pause { display: inline-flex; margin-left: 0; }
.stc-preview-title {
  font-family: var(--stc-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--stc-dark);
}

/* =====================================================
   PLAN / ACCORDION — grey band
   ===================================================== */

.stc-plan {
  background: var(--stc-bg-soft);
  padding: 70px 0;
}
.stc-plan-inner {
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
  padding: 0 24px;
}
.stc-accordion {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 30px;
  margin-top: 20px;
  align-items: start;
}
.stc-acc-item {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  align-self: start;
}
.stc-acc-item.open {
  background: #ffc50c;
  grid-column: 1 / -1;
}
.stc-acc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  color: var(--stc-dark);
  text-decoration: none;
  font-family: var(--stc-serif);
  font-size: 15px;
  font-style: italic;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.stc-acc-head:hover { color: #000; }
.stc-acc-title { font-weight: 600; }
.stc-acc-ico {
  font-size: 18px;
  transition: transform 0.2s;
  color: var(--stc-muted);
}
.stc-acc-item.open .stc-acc-ico { transform: rotate(180deg); }
.stc-acc-body {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  color: var(--stc-ink);
  font-size: 13px;
  line-height: 1.6;
  transition: max-height 0.28s ease, padding 0.28s ease;
}
.stc-acc-body p:first-child { margin-top: 0; }
.stc-acc-body p:last-child  { margin-bottom: 0; }
.stc-acc-body ul, .stc-acc-body ol { margin: 8px 0; padding-left: 22px; }
.stc-acc-item.open .stc-acc-body {
  max-height: 800px;
  padding: 14px 22px 22px;
  background: transparent;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 900px) {
  .stc-section-title { font-size: 22px; }
  .stc-hero-inner { grid-template-columns: 1fr; padding: 0 16px; }
  .stc-hero-text { padding: 30px 24px; }
  .stc-hero-title { font-size: 26px; }
  .stc-hero-image { display: none; }
  .stc-hero-image-mobile {
    display: block;
    margin: 12px -24px 20px;
  }
  .stc-hero-image-mobile img {
    width: 100%;
    height: auto;
    display: block;
  }
  .stc-key-grid { grid-template-columns: 1fr; gap: 20px; }
  .stc-key-video, .stc-key-map { min-height: 240px; }
  .stc-key-icons { grid-template-columns: 1fr; gap: 20px; }
  .stc-key-icon-item { justify-content: flex-start; }
  .stc-icon-label { font-size: 16px; }

  .stc-hscroll-card { width: 320px; }
  .stc-hscroll-card img { height: 220px; }
  .stc-hscroll-arrow { display: none; }

  .stc-preview-grid { grid-template-columns: 1fr; gap: 16px; }
  .stc-preview-title { font-size: 17px; }

  .stc-accordion { grid-template-columns: 1fr; }
  .stc-highlights, .stc-preview, .stc-plan, .stc-gallery { padding: 40px 0; }
}

/* =========================================================================
   ELEMENTOR / THEME OVERRIDES
   Elementor Pro's Global Kit sets aggressive defaults on button, grid, and
   typography that leak into every page. These re-declarations force the
   Storytrails design to win for the audio preview and accordion sections.
   Scoped under .stc-city so we don't affect anything outside a city page.
   ---------------------------------------------------------------------- */

/* ----- Audio previews ----- */
.stc-city .stc-preview {
  background: #fff !important;
  padding-top: 70px !important;
  padding-bottom: 70px !important;
}
.stc-city .stc-preview-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 24px 60px !important;
}
.stc-city .stc-preview-item {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}
.stc-city .stc-play-btn {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  border-radius: 50% !important;
  border: 0 !important;
  background-color: var(--stc-yellow) !important;
  background-image: none !important;
  color: #fff !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  font-family: var(--stc-sans) !important;
  outline: none !important;
}
.stc-city .stc-play-btn:hover {
  background-color: var(--stc-yellow-soft) !important;
  color: #fff !important;
}
.stc-city .stc-play-ico {
  color: #fff !important;
  width: 18px !important;
  height: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
}
.stc-city .stc-play-ico svg {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  fill: currentColor !important;
}
.stc-city .stc-play-ico-play  { margin-left: 2px !important; }
.stc-city .stc-play-ico-pause { display: none !important; }
.stc-city .stc-preview-item.is-playing .stc-play-ico-play  { display: none !important; }
.stc-city .stc-preview-item.is-playing .stc-play-ico-pause { display: inline-flex !important; margin-left: 0 !important; }
.stc-city .stc-preview-title {
  font-family: var(--stc-serif) !important;
  font-style: italic !important;
  font-weight: 500 !important;
  font-size: 20px !important;
  color: var(--stc-dark) !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}
.stc-city .stc-audio-player {
  display: none !important;
}

/* ----- Accordion (Tips & Suggestions) ----- */
.stc-city .stc-plan {
  background: var(--stc-bg-soft) !important;
  padding-top: 70px !important;
  padding-bottom: 70px !important;
}
.stc-city .stc-plan-inner {
  max-width: 1100px !important;
  width: 90% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}
.stc-city .stc-accordion {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 18px 30px !important;
  margin-top: 20px !important;
}
.stc-city .stc-acc-item {
  background: #fff !important;
  border-radius: 4px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}
.stc-city .stc-acc-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 18px 22px !important;
  color: var(--stc-dark) !important;
  text-decoration: none !important;
  font-family: var(--stc-serif) !important;
  font-size: 15px !important;
  font-style: italic !important;
  font-weight: 600 !important;
  background: transparent !important;
  border: 0 !important;
  cursor: pointer !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}
.stc-city .stc-acc-title {
  font-weight: 600 !important;
  font-style: italic !important;
  font-family: var(--stc-serif) !important;
}
.stc-city .stc-acc-head:hover {
  color: #000 !important;
  background: transparent !important;
  text-decoration: none !important;
}
.stc-city .stc-acc-ico {
  font-size: 18px !important;
  color: var(--stc-muted) !important;
  background: transparent !important;
}
.stc-city .stc-acc-body {
  background: transparent !important;
  padding-left: 22px !important;
  padding-right: 22px !important;
  max-height: 0 !important;
  overflow: hidden !important;
  color: var(--stc-ink) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}
.stc-city .stc-acc-item.open .stc-acc-body {
  max-height: 800px !important;
  padding-bottom: 22px !important;
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
  .stc-city .stc-preview-grid   { grid-template-columns: 1fr !important; gap: 16px !important; }
  .stc-city .stc-preview-title  { font-size: 17px !important; }
  .stc-city .stc-accordion      { grid-template-columns: 1fr !important; }
}

/* ----- Video / Map embeds (Key Information) — Elementor overrides ----- */
.stc-city .stc-key-video,
.stc-city .stc-key-map {
  background: #fff !important;
  border: 0 !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  min-height: 320px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: stretch !important;
  justify-content: center !important;
}
.stc-city .stc-key-video > *,
.stc-city .stc-key-map > * { flex: 1 !important; }
.stc-city .stc-video-16by9 {
  position: relative !important;
  width: 100% !important;
  padding-bottom: 56.25% !important;
  height: 0 !important;
  background: #000 !important;
  margin: 0 !important;
  overflow: hidden !important;
  display: block !important;
}
.stc-city .stc-video-16by9 iframe,
.stc-city .stc-video-16by9 video {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  display: block !important;
  background: #000 !important;
}
.stc-city .stc-key-map iframe {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  min-height: 320px !important;
}

/* =========================================================================
   ARCHIVE PAGE (/cities/) — location tabs + banner + description +
   "Tours in {location}" title + card grid
   ---------------------------------------------------------------------- */

.stc-archive {
  --stc-yellow: #ffc50c;
  --stc-yellow-soft: #f5b800;
  --stc-dark: #1a1a1a;
  --stc-ink: #222;
  --stc-muted: #6b6b6b;
  --stc-bg-soft: #f5f5f5;
  --stc-border: #e2e2e2;
  --stc-serif: "Sabon LT STD", Georgia, serif;
  --stc-sans: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
  padding: 60px 24px 80px;
  font-family: var(--stc-sans);
  color: var(--stc-ink);
}
.stc-archive * { box-sizing: border-box; }

/* ----- Tabs (Chennai / Mamallapuram / Delhi / ...) ----- */
.stc-arch-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  padding: 0 0 36px;
  border-bottom: 1px solid var(--stc-border);
  margin: 0 0 40px;
}
.stc-arch-tab {
  font-family: var(--stc-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--stc-muted);
  text-decoration: none;
  padding: 4px 2px;
  line-height: 1.2;
  transition: color 0.15s;
  border: 0;
  background: transparent;
}
.stc-arch-tab:hover  { color: var(--stc-dark); }
.stc-arch-tab.is-active {
  color: var(--stc-dark);
  font-weight: 600;
}

/* ----- Banner: escape the 1100px archive container, full-width, natural aspect ----- */
.stc-arch-banner {
  margin: 0 0 40px;
  overflow: hidden;
  border-radius: 0;
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.stc-arch-banner img {
  width: 100%;
  aspect-ratio: 48 / 23; /* matches Figma spec: 1920x920 */
  height: auto;
  max-height: 920px;
  display: block;
  object-fit: cover;
}

/* ----- Description ----- */
.stc-arch-desc {
  max-width: 900px;
  margin: 0 auto 60px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--stc-ink);
  text-align: center;
}
.stc-arch-desc p { margin: 0 0 12px; }
.stc-arch-desc p:last-child { margin-bottom: 0; }

/* ----- Section title ----- */
.stc-arch-title {
  font-family: var(--stc-serif);
  font-style: italic;
  font-size: 28px;
  font-weight: 600;
  color: var(--stc-dark);
  text-align: center;
  margin: 0 0 50px;
  line-height: 1.2;
}

/* ----- Cards grid ----- */
.stc-arch-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.stc-arch-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  background: var(--stc-bg-soft);
  overflow: hidden;
  border-radius: 2px;
}
.stc-arch-card-img { overflow: hidden; }
.stc-arch-card-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.stc-arch-card-body {
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stc-arch-card-title {
  font-family: var(--stc-serif);
  font-style: italic;
  font-size: 26px;
  color: var(--stc-dark);
  margin: 0 0 14px;
  font-weight: 500;
  line-height: 1.2;
}
.stc-arch-card-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--stc-ink);
  margin: 0 0 20px;
}
.stc-arch-card-cta {
  display: inline-block;
  padding: 9px 30px;
  border: 1px solid var(--stc-dark);
  border-radius: 30px;
  color: var(--stc-dark);
  background: transparent;
  text-decoration: none;
  font-family: var(--stc-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  align-self: flex-start;
  transition: background 0.15s, color 0.15s;
}
.stc-arch-card-cta:hover {
  background: var(--stc-dark);
  color: #fff;
}

.stc-arch-empty {
  text-align: center;
  color: var(--stc-muted);
  font-size: 14px;
  padding: 40px 0;
  margin: 0;
}
.stc-arch-setup-notice {
  background: #fff9e6;
  border: 1px solid #ffd54d;
  padding: 16px 20px;
  border-radius: 4px;
  margin: 0 0 40px;
  font-size: 13px;
  line-height: 1.6;
}
.stc-arch-setup-notice p { margin: 0 0 8px; }
.stc-arch-setup-notice p:last-child { margin-bottom: 0; }

/* ----- Archive Elementor overrides ----- */
.stc-archive .stc-arch-tab {
  font-family: var(--stc-serif) !important;
  font-style: italic !important;
  text-decoration: none !important;
  background: transparent !important;
  border: 0 !important;
  padding: 4px 2px !important;
  margin: 0 !important;
}
.stc-archive .stc-arch-card-cta {
  border-radius: 30px !important;
  padding: 9px 30px !important;
  border: 1px solid var(--stc-dark) !important;
  background: transparent !important;
  color: var(--stc-dark) !important;
  text-decoration: none !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-family: var(--stc-sans) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  align-self: flex-start !important;
  display: inline-block !important;
  line-height: 1.4 !important;
}
.stc-archive .stc-arch-card-cta:hover {
  background: var(--stc-dark) !important;
  color: #fff !important;
}
.stc-archive .stc-arch-card {
  background: var(--stc-bg-soft) !important;
  border: 0 !important;
  border-radius: 2px !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* ----- Archive responsive ----- */
@media (max-width: 900px) {
  .stc-archive           { padding: 32px 16px 60px; }
  .stc-arch-tabs         { gap: 24px; padding-bottom: 24px; }
  .stc-arch-tab          { font-size: 18px !important; }
  .stc-arch-title        { font-size: 22px; margin-bottom: 30px; }

  /* Simple block layout on mobile — avoids grid/flex empty-space quirks */
  .stc-arch-card,
  .stc-archive .stc-arch-card {
    display: block !important;
    grid-template-columns: none !important;
  }
  .stc-arch-card-img,
  .stc-archive .stc-arch-card-img {
    display: block !important;
    background: transparent !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .stc-arch-card-img img,
  .stc-archive .stc-arch-card-img img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    display: block !important;
    object-fit: contain !important;
  }
  .stc-arch-card-body { padding: 20px 22px; }

  .stc-arch-desc {
    margin-bottom: 40px;
    font-size: 14px;
    text-align: center !important;
    hyphens: none;
  }
  .stc-arch-card-desc {
    text-align: justify !important;
    hyphens: auto;
  }
}

/* =========================================================================
   AUDIO SEEKER (v1.1.2) — sleek horizontal progress + click/drag to seek.
   Shown when a preview item is active (playing OR paused with audio loaded).
   ---------------------------------------------------------------------- */

.stc-preview-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.stc-preview-seeker {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.stc-preview-item.is-active .stc-preview-seeker { display: flex; }
.stc-preview-track {
  flex: 1;
  height: 4px;
  background: rgba(0, 0, 0, 0.10);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  outline: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.stc-preview-track:focus-visible { box-shadow: 0 0 0 2px var(--stc-yellow); }
.stc-preview-fill {
  position: absolute;
  inset: 0 auto 0 0;
  height: 100%;
  width: 0%;
  background: var(--stc-yellow);
  border-radius: 2px;
  transition: width 0.1s linear;
  pointer-events: none;
}
.stc-preview-track::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(50%, -50%) scale(0);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--stc-yellow);
  transition: transform 0.15s ease;
  pointer-events: none;
  left: var(--stc-seek-pos, 0%);
  right: auto;
}
.stc-preview-item.is-active .stc-preview-track:hover::after,
.stc-preview-item.is-active .stc-preview-track:focus-visible::after {
  transform: translate(-50%, -50%) scale(1);
}
.stc-preview-time {
  font-family: var(--stc-sans);
  font-size: 11px;
  color: var(--stc-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  min-width: 78px;
  text-align: right;
}

/* Elementor overrides (scoped) */
.stc-city .stc-preview-body {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}
.stc-city .stc-preview-seeker {
  align-items: center !important;
  gap: 12px !important;
  margin-top: 8px !important;
  background: transparent !important;
  padding: 0 !important;
}
.stc-city .stc-preview-track {
  flex: 1 !important;
  height: 4px !important;
  background: rgba(0, 0, 0, 0.10) !important;
  border-radius: 2px !important;
  cursor: pointer !important;
  position: relative !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  min-height: 0 !important;
}
.stc-city .stc-preview-fill {
  background: var(--stc-yellow) !important;
  border-radius: 2px !important;
  height: 100% !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.stc-city .stc-preview-time {
  font-family: var(--stc-sans) !important;
  font-size: 11px !important;
  color: var(--stc-muted) !important;
  font-variant-numeric: tabular-nums !important;
  white-space: nowrap !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 78px !important;
  text-align: right !important;
  line-height: 1.4 !important;
  font-style: normal !important;
}

/* =========================================================================
   v1.1.5 — feedback batch
   ---------------------------------------------------------------------- */

/* ----- Map "Open in Google Maps" fallback link ----- */
.stc-key-map { position: relative; }
.stc-key-map-open {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #fff;
  color: var(--stc-dark);
  padding: 6px 12px;
  font-size: 11px;
  font-family: var(--stc-sans);
  border-radius: 3px;
  text-decoration: none;
  border: 1px solid var(--stc-border);
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
  letter-spacing: 0.02em;
}
.stc-key-map-open:hover { background: var(--stc-yellow); }

/* ----- Mobile video: drop the forced min-height so 16:9 shows naturally ----- */
@media (max-width: 900px) {
  .stc-city .stc-key-video {
    min-height: 0 !important;
    height: auto !important;
    align-items: flex-start !important;
  }
  .stc-city .stc-video-16by9 {
    padding-bottom: 56.25% !important;
    height: 0 !important;
  }
}

/* ----- Hero container keeps 90%; Highlights width capped at 1100px ----- */
.stc-city .stc-hero-inner {
  max-width: 90% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}
.stc-city .stc-highlights-inner {
  max-width: 1100px !important;
  width: 90% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}
.stc-city .stc-preview-inner {
  max-width: 1100px !important;
  width: 90% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

/* ----- Hero image: force white bg so image letterboxing on resize matches
       the left card's white background (rather than exposing the yellow
       hero band through the transparent gaps) ----- */
.stc-city .stc-hero-image {
  background: #fff !important;
}

/* ----- Cities archive: 1100px cap (matches inner tour page sections),
       justified text, no cropping ----- */
.stc-archive {
  max-width: 1100px !important;
  width: 90% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.stc-arch-desc {
  text-align: center !important;
}
.stc-arch-card-desc {
  text-align: justify !important;
  hyphens: auto;
}
.stc-arch-banner {
  position: relative !important;
  width: 100vw !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}
.stc-arch-banner img {
  width: 100% !important;
  aspect-ratio: 48 / 23 !important; /* matches Figma spec: 1920x920 */
  height: auto !important;
  max-height: 920px !important;
  display: block !important;
  object-fit: cover !important;
}
.stc-arch-card {
  grid-template-columns: 340px 1fr !important;
}
.stc-arch-card-img {
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stc-arch-card-img img {
  width: 100% !important;
  height: 260px !important;
  object-fit: contain !important;
  display: block !important;
}

/* ----- Elementor overrides for the new elements ----- */
.stc-city .stc-key-icon-imgs {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: transparent !important;
}
.stc-city .stc-key-icon-img {
  width: 44px !important;
  height: 44px !important;
  display: block !important;
  object-fit: contain !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}
.stc-city .stc-preview-item {
  background: #fff !important;
  border: 1px solid var(--stc-border) !important;
  border-radius: 6px !important;
  padding: 16px 20px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
}
.stc-city .stc-accordion {
  align-items: start !important;
}
.stc-city .stc-acc-item {
  align-self: start !important;
}
.stc-city .stc-acc-item.open {
  background: #ffc50c !important;
  grid-column: 1 / -1 !important;
}
.stc-city .stc-acc-item.open .stc-acc-head {
  background: transparent !important;
}
.stc-city .stc-acc-item.open .stc-acc-body {
  background: transparent !important;
  padding: 14px 22px 22px !important;
}

/* =========================================================================
   /city-tours/ — flat archive: banner + Mode filter + card grid
   ---------------------------------------------------------------------- */

.stc-tours-archive {
  --stc-yellow: #ffc50c;
  --stc-yellow-soft: #f5b800;
  --stc-dark: #1a1a1a;
  --stc-ink: #222;
  --stc-muted: #6b6b6b;
  --stc-bg-soft: #f5f5f5;
  --stc-border: #e2e2e2;
  --stc-serif: "Sabon LT STD", Georgia, serif;
  --stc-sans: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-family: var(--stc-sans);
  color: var(--stc-ink);
}
.stc-tours-archive * { box-sizing: border-box; }

/* ----- Banner ----- */
.stc-tours-banner {
  position: relative;
  width: 100%;
  height: 680px;
  overflow: hidden;
  background: var(--stc-bg-soft);
}
@media (max-width: 768px) {
  .stc-tours-banner { height: 300px; }
}
.stc-tours-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.stc-tours-banner img.is-active {
  opacity: 1;
}
.stc-tours-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.20);
  z-index: 2;
}
.stc-tours-banner-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  color: #fff;
  font-family: var(--stc-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 56px;
  line-height: 1;
  margin: 0;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

/* ----- Filter bar ----- */
.stc-tours-filter-wrap {
  max-width: 720px;
  margin: 0 auto 40px;
  padding: 40px 24px 0;
}
.stc-tours-filter {
  border-bottom: 1px solid #d0d0d0;
  padding: 4px 0 14px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.stc-tours-filter-label {
  font-family: var(--stc-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 16px;
  color: var(--stc-dark);
  cursor: pointer;
  white-space: nowrap;
}
.stc-tours-filter-select {
  font-family: var(--stc-sans);
  font-size: 14px;
  color: var(--stc-ink);
  border: 0;
  background: transparent;
  padding: 4px 24px 4px 8px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
}
.stc-tours-filter-caret {
  position: absolute;
  right: 4px;
  color: var(--stc-dark);
  pointer-events: none;
  font-size: 14px;
}

/* ----- Card grid ----- */
.stc-tours-list {
  width: 90%;
  max-width: none;
  margin: 0 auto;
  padding: 0 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 30px;
}

.stc-tours-card {
  display: flex;
  flex-direction: column;
  background: transparent;
}
.stc-tours-card.stc-hidden { display: none; }

.stc-tours-card-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 2px;
}
.stc-tours-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.stc-tours-card-body {
  padding: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.stc-tours-card-kicker {
  font-family: var(--stc-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--stc-muted);
  text-transform: uppercase;
}
.stc-tours-card-title {
  font-family: var(--stc-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.25;
  color: var(--stc-dark);
  margin: 0;
}
.stc-tours-card-title a {
  color: inherit;
  text-decoration: none;
}
.stc-tours-card-title a:hover { color: #444; }
.stc-tours-card-desc {
  font-family: var(--stc-sans);
  font-size: 13px;
  color: var(--stc-ink);
  line-height: 1.55;
  margin: 0 0 6px;
}
.stc-tours-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 8px;
}
.stc-tours-card-btn {
  display: inline-block;
  padding: 9px 26px;
  border: 1px solid var(--stc-dark);
  border-radius: 30px;
  color: var(--stc-dark);
  font-family: var(--stc-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  background: transparent;
  transition: background 0.15s, color 0.15s;
}
.stc-tours-card-btn:hover {
  background: var(--stc-dark);
  color: #fff;
}
.stc-tours-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.stc-tours-card-duration {
  font-family: var(--stc-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--stc-dark);
}
.stc-tours-card-icons {
  display: flex;
  gap: 4px;
  align-items: center;
}
.stc-tours-card-icons img {
  width: clamp(30px, 2.5vw, 44px);
  height: clamp(30px, 2.5vw, 44px);
  display: block;
  object-fit: contain;
  background: var(--stc-yellow);
  border-radius: 50%;
  padding: clamp(6px, 0.6vw, 10px);
  box-sizing: border-box;
}

.stc-tours-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--stc-muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .stc-tours-banner-title { font-size: 32px; }
  .stc-tours-filter-wrap  { padding-top: 28px; margin-bottom: 30px; }
  .stc-tours-list         { grid-template-columns: 1fr; gap: 30px; padding-bottom: 50px; }
  .stc-tours-card-title   { font-size: 22px; }
}

/* ----- Elementor overrides for the city-tours page ----- */
.stc-tours-archive .stc-tours-card-btn {
  border-radius: 30px !important;
  padding: 9px 26px !important;
  border: 1px solid var(--stc-dark) !important;
  background: transparent !important;
  color: var(--stc-dark) !important;
  text-decoration: none !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  font-family: var(--stc-sans) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  display: inline-block !important;
  line-height: 1.4 !important;
}
.stc-tours-archive .stc-tours-card-btn:hover {
  background: var(--stc-dark) !important;
  color: #fff !important;
}
.stc-tours-archive .stc-tours-card-title,
.stc-tours-archive .stc-tours-card-title a {
  font-family: var(--stc-serif) !important;
  font-style: italic !important;
  font-weight: 500 !important;
  color: var(--stc-dark) !important;
  text-decoration: none !important;
}
.stc-tours-archive .stc-tours-card-icons img {
  width: clamp(30px, 2.5vw, 44px) !important;
  height: clamp(30px, 2.5vw, 44px) !important;
  border: 0 !important;
  background: var(--stc-yellow) !important;
  padding: clamp(6px, 0.6vw, 10px) !important;
  margin: 0 !important;
  border-radius: 50% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  object-fit: contain !important;
}
.stc-tours-archive .stc-tours-banner-title {
  font-family: var(--stc-serif) !important;
  font-style: italic !important;
  color: #fff !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

/* =========================================================================
   v1.4.2 — cities archive updates (user CSS spec + layout)
   ---------------------------------------------------------------------- */

/* Archive banner: sits in normal flow below the tabs, no negative margin;
   width (full-bleed 100vw) and font sizes are unchanged. */
.stc-arch-banner {
  margin-top: 0;
  z-index: 10;
  position: relative;
}

/* Tours banner still tucks under the site header */
.stc-tours-banner {
  margin-top: -95px;
  z-index: 10;
  position: relative;
}

/* Tabs and section title at 30px */
.stc-arch-tab,
.stc-arch-title {
  font-size: 30px !important;
}

/* Card title heavier and smaller for a compact hierarchy */
.stc-arch-card-title,
.stc-archive .stc-arch-card-title {
  font-weight: 700 !important;
  font-size: 20px !important;
}

/* Grey background behind the image column */
.stc-arch-card-img,
.stc-archive .stc-arch-card-img {
  background: #f5f5f5 !important;
}

/* Generous padding on the body column */
.stc-arch-card-body,
.stc-archive .stc-arch-card-body {
  padding: 45px !important;
}

/* Layout: full image on the left, text on the right (50/50 split) */
.stc-arch-card,
.stc-archive .stc-arch-card {
  grid-template-columns: 1fr 1fr !important;
  align-items: stretch !important;
}
.stc-arch-card-img {
  overflow: hidden;
  display: block;
  min-height: 100%;
}
.stc-arch-card-img img,
.stc-archive .stc-arch-card-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  max-height: none !important;
}

/* Description honours the rich-text formatting from the editor */
.stc-arch-card-desc,
.stc-archive .stc-arch-card-desc {
  font-size: 14px !important;
  line-height: 1.65 !important;
  color: var(--stc-ink) !important;
  text-align: justify !important;
  hyphens: auto !important;
  margin: 0 0 24px !important;
}
.stc-arch-card-desc p,
.stc-archive .stc-arch-card-desc p {
  margin: 0 0 12px !important;
  text-align: justify !important;
}
.stc-arch-card-desc p:last-child,
.stc-archive .stc-arch-card-desc p:last-child {
  margin-bottom: 0 !important;
}
.stc-arch-card-desc ul,
.stc-arch-card-desc ol {
  padding-left: 20px !important;
  margin: 8px 0 12px !important;
}
.stc-arch-card-desc strong {
  color: var(--stc-dark) !important;
  font-weight: 700 !important;
}

/* Mobile — single column with image on top, no negative margin */
@media (max-width: 900px) {
  .stc-tours-banner { margin-top: 0; }
  .stc-arch-card,
  .stc-archive .stc-arch-card {
    grid-template-columns: 1fr !important;
    display: block !important;
  }
  .stc-arch-card-img,
  .stc-archive .stc-arch-card-img {
    display: block !important;
    min-height: 0 !important;
  }
  .stc-arch-card-img img,
  .stc-archive .stc-arch-card-img img {
    height: auto !important;
    object-fit: contain !important;
  }
  .stc-arch-card-body,
  .stc-archive .stc-arch-card-body { padding: 28px 22px !important; }
}
