/* =========================================================
   single-tour.css — нэг аяллын дэлгэрэнгүй хуудас (бүх аялалд нэг загвар)
   Бүтэц: WeRoad. Үнэ, хөтөлбөр, Book now: Discover Mongolia.
   ========================================================= */

/* ===== Дээд хэсэг: гарчиг + 4 зурагтай gallery ===== */
.st-head { padding: 28px 0 32px; }
.st-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: #6b716d;
}
.st-breadcrumb a { display: inline-flex; color: #4d5450; text-decoration: none; }
.st-breadcrumb a:hover { color: var(--altai-forest); text-decoration: underline; }
.st-breadcrumb svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.st-breadcrumb span[aria-hidden] { color: #a3a8a4; }
.st-head h1 {
  max-width: 900px;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  color: var(--charcoal);
}
.st-head-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 12px 24px;
  margin: 16px 0 22px;
}
.st-head-meta {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  list-style: none;
  font-size: 0.97rem; color: #3a403d;
}
.st-head-meta li { display: flex; align-items: center; gap: 8px; }
.st-head-meta svg { width: 20px; height: 20px; fill: none; stroke: var(--altai-forest); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.st-tag {
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(217, 169, 108, 0.22);
  color: #7a4f17;
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
}

/* Gallery: зүүн талд том, дунд өндөр, баруун талд 2 жижиг */
.st-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  height: clamp(320px, 36vw, 420px);
  border-radius: 16px;
  overflow: hidden;
}
.st-gallery-item { position: relative; margin: 0; overflow: hidden; background: #e6e8df; }
.st-gallery-item--main,
.st-gallery-item--tall { grid-row: span 2; }
.st-media {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.st-gallery-item:hover .st-media { transform: scale(1.04); }
.st-gallery-dots { display: none; }

/* ===== Хэсгийн цэс (header-ийн доор наалдана) ===== */
.st-tabs {
  position: sticky; top: var(--header-h); z-index: 20;
  background: #fff;
  border-bottom: 1px solid #e6e8df;
}
.st-tabs-inner {
  display: flex; gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}
.st-tabs-inner::-webkit-scrollbar { display: none; }
.st-tabs a {
  flex: none;
  padding: 18px 0 15px;
  border-bottom: 3px solid transparent;
  color: #5d6460;
  font-size: 0.92rem; font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.st-tabs a:hover { color: var(--altai-forest); }
.st-tabs a.is-active { color: var(--altai-forest); border-bottom-color: var(--altai-forest); }

/* ===== 2 баганат бүтэц: зүүн талд агуулга, баруун талд үнийн карт ===== */
.st-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: start;
  padding-bottom: 72px;
}
.st-section {
  padding: 56px 0 8px;
  scroll-margin-top: calc(var(--header-h) + 60px);
}
.st-section + .st-section { border-top: 1px solid #ecede6; margin-top: 48px; }
.st-section h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.st-lead { font-size: 1.12rem; color: #3a403d; }
.st-sub { margin: -4px 0 28px; color: #5d6460; }
.st-h3 { margin: 28px 0 14px; font-size: 1.15rem; color: var(--charcoal); }
.st-note { margin-top: 12px; font-size: 0.9rem; color: #5d6460; }
.st-note a { color: var(--altai-forest); font-weight: 700; }

/* Товч мэдээлэл: 6 дүрстэй нүд */
.st-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  list-style: none;
}
.st-facts li {
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 14px;
  background: var(--ivory);
}
.st-facts svg {
  grid-row: span 2;
  width: 40px; height: 40px; padding: 9px;
  border-radius: 50%;
  background: #fff;
  fill: none; stroke: var(--altai-forest); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.st-facts span { font-size: 0.78rem; color: #6b716d; }
.st-facts strong { font-size: 0.95rem; line-height: 1.3; }

/* "Is this trip for me?" — 5 цэгтэй оноо */
.st-fit { margin-top: 32px; padding: 24px; border: 1px solid #e6e8df; border-radius: 16px; }
.st-fit h3 { margin-bottom: 14px; font-size: 1.1rem; }
.st-fit-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px; }
.st-fit-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 0.95rem; }
.st-dots { display: inline-flex; gap: 5px; }
.st-dots i { width: 22px; height: 8px; border-radius: 4px; background: #e3e6dc; }
.st-dots[data-score="1"] i:nth-child(-n+1),
.st-dots[data-score="2"] i:nth-child(-n+2),
.st-dots[data-score="3"] i:nth-child(-n+3),
.st-dots[data-score="4"] i:nth-child(-n+4),
.st-dots[data-score="5"] i:nth-child(-n+5) { background: var(--steppe-green); }

/* ===== What to expect: 2 баганат зурагтай карт =====
   Доод талд бүдгэрсэн (blur) зурвас дээр гарчиг. Курсор очиход зурвас
   дээш томорч, цайвар дэвсгэр дээр тайлбар гарч ирнэ. */
.st-expect {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.st-expect-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: #e6e8df;
  cursor: default;
  outline: none;
}
.st-expect-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.st-expect-band {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 28%;
  padding: 14px 22px;
  text-align: center;
  color: #fff;
  background: linear-gradient(to bottom, rgba(31, 35, 35, 0.12), rgba(31, 35, 35, 0.38));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: min-height 0.35s ease, background 0.35s ease, color 0.35s ease;
}
.st-expect-band h3 {
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
  transition: text-shadow 0.35s;
}
/* Тайлбар: эхэндээ нуугдсан, 0fr → 1fr болж зөөлөн нээгдэнэ */
.st-expect-more {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.35s ease, opacity 0.25s ease;
}
.st-expect-more p {
  overflow: hidden;
  margin: 0;
  font-size: 0.93rem; line-height: 1.55;
  color: #3a403d;
}
.st-expect-card:hover .st-expect-band,
.st-expect-card:focus-within .st-expect-band,
.st-expect-card:focus .st-expect-band {
  min-height: 64%;
  background: rgba(247, 247, 242, 0.88);
  color: var(--charcoal);
}
.st-expect-card:hover h3,
.st-expect-card:focus h3 { text-shadow: none; }
.st-expect-card:hover .st-expect-more,
.st-expect-card:focus .st-expect-more { grid-template-rows: 1fr; opacity: 1; }
.st-expect-card:hover .st-expect-more p,
.st-expect-card:focus .st-expect-more p { padding-top: 8px; }
.st-expect-card:hover img,
.st-expect-card:focus img { transform: scale(1.04); }
.st-expect-card:focus-visible { box-shadow: 0 0 0 3px var(--sand-gold); }

/* ===== Itinerary: нээгддэг өдрүүд, зүүн талд хугацааны шугам ===== */
.st-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.st-expand-all {
  flex: none;
  background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 0.9rem; font-weight: 700;
  color: var(--altai-forest);
  text-decoration: underline; text-underline-offset: 3px;
}
.st-days { list-style: none; position: relative; margin-top: 12px; }
.st-days::before {
  content: "";
  position: absolute; left: 7px; top: 26px; bottom: 26px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--steppe-green) 0 6px, transparent 6px 12px);
}
.st-days > li { position: relative; padding-left: 34px; }
.st-days > li::before {
  content: "";
  position: absolute; left: 0; top: 22px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--altai-forest);
}
.st-day { border-bottom: 1px solid #ecede6; }
.st-day summary {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
}
.st-day summary::-webkit-details-marker { display: none; }
.st-day-num {
  flex: none;
  min-width: 64px;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--sand-gold);
}
.st-day-title { flex: 1; font-weight: 700; font-size: 1.05rem; }
.st-day summary:hover .st-day-title { color: var(--altai-forest); }
.st-day-chev {
  flex: none;
  width: 10px; height: 10px;
  border-right: 2px solid var(--charcoal);
  border-bottom: 2px solid var(--charcoal);
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.st-day[open] .st-day-chev { transform: rotate(-135deg); }
.st-day-body {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
  padding: 0 0 22px;
}
.st-day-body img {
  display: block;
  width: 100%; height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 12px;
}
.st-day-text p { font-size: 0.97rem; color: #3a403d; }
.st-day-stay { margin-top: 10px; font-size: 0.88rem !important; color: #5d6460 !important; }

/* Хоол: B / L / D — багтсан нь ногоон, багтаагүй нь бүдэг зураастай */
.st-meals { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; list-style: none; }
.st-meals li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px 4px 8px;
  border-radius: 999px;
  background: #f1f2ed;
  color: #9a9f9b;
  font-size: 0.8rem; font-weight: 700;
  text-decoration: line-through;
}
.st-meals li::before { content: "✕"; font-size: 0.7rem; }
.st-meals li.is-in { background: rgba(140, 191, 122, 0.22); color: var(--altai-forest); text-decoration: none; }
.st-meals li.is-in::before { content: "✓"; }

/* ===== Included / Not included ===== */
.st-incl { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.st-incl-col { padding: 24px; border-radius: 16px; background: var(--ivory); }
.st-incl-col h3 { margin-bottom: 14px; font-size: 1.05rem; }
.st-incl-list { list-style: none; display: grid; gap: 10px; }
.st-incl-list li { position: relative; padding-left: 30px; font-size: 0.95rem; line-height: 1.45; }
.st-incl-list li::before {
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  font-size: 0.7rem; font-weight: 700;
}
.st-incl-list.is-yes li::before { content: "✓"; background: var(--altai-forest); color: #fff; }
.st-incl-list.is-no li::before { content: "✕"; background: #e3e1da; color: #6b716d; }

/* ===== Хүний тоогоор үнэ ===== */
.st-pax { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.st-pax-item {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: 18px 10px;
  border: 1px solid #e6e8df;
  border-radius: 14px;
  text-align: center;
}
.st-pax-item span { font-size: 0.85rem; font-weight: 700; color: #5d6460; }
.st-pax-item strong { margin-top: 4px; font-size: 1.45rem; color: var(--altai-forest); }
.st-pax-item small { font-size: 0.78rem; color: #8a908c; }
.st-pax-item.is-best { border: 2px solid var(--altai-forest); background: rgba(140, 191, 122, 0.12); }
.st-pax-item.is-best::after {
  content: "Best price";
  position: absolute; top: -10px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--sand-gold);
  font-size: 0.7rem; font-weight: 700;
}

/* ===== Огнооны жагсаалт ===== */
.st-dates { list-style: none; display: grid; gap: 10px; }
.st-dates li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 14px 14px 14px 20px;
  border: 1px solid #e6e8df;
  border-radius: 14px;
  transition: border-color 0.2s;
}
.st-dates li:hover { border-color: var(--steppe-green); }
.st-date { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.st-status {
  padding: 2px 10px;
  border-radius: 999px;
  background: #eef0ea;
  color: #5d6460;
  font-size: 0.75rem; font-weight: 700;
}
.st-status.is-guaranteed { background: rgba(140, 191, 122, 0.25); color: var(--altai-forest); }
.st-status.is-few { background: rgba(217, 169, 108, 0.25); color: #8a5a1c; }
.st-date-price { font-size: 0.92rem; color: #5d6460; }
.st-date-book { padding: 10px 20px; font-size: 0.9rem; }

/* ===== Book now маягт ===== */
.st-book {
  margin-top: 36px;
  padding: 28px;
  border-radius: 20px;
  background: var(--ivory);
  border: 1px solid #e6e8df;
  scroll-margin-top: calc(var(--header-h) + 64px);
}
.st-book-head h3 { font-size: 1.4rem; color: var(--altai-forest); }
.st-book-head p { margin-top: 4px; font-size: 0.95rem; color: #5d6460; }
.st-book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}
.st-field { display: flex; flex-direction: column; gap: 6px; }
.st-field--wide { grid-column: 1 / -1; }
.st-field > span { font-size: 0.82rem; font-weight: 700; color: #4d5450; }
.st-field input,
.st-field select,
.st-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d6d9cf;
  border-radius: var(--radius);
  background: #fff;
  font: inherit; font-size: 0.97rem;
  color: var(--charcoal);
}
.st-field textarea { resize: vertical; }
.st-field input:focus,
.st-field select:focus,
.st-field textarea:focus { outline: 2px solid var(--steppe-green); outline-offset: 1px; border-color: var(--altai-forest); }
.st-stepper {
  display: grid; grid-template-columns: 46px 1fr 46px;
  border: 1px solid #d6d9cf; border-radius: var(--radius);
  background: #fff; overflow: hidden;
}
.st-stepper button {
  border: 0; background: none; cursor: pointer;
  font-size: 1.3rem; color: var(--altai-forest);
}
.st-stepper button:hover { background: #f1f4ee; }
.st-stepper input {
  border: 0 !important; border-radius: 0;
  text-align: center; font-weight: 700;
  -moz-appearance: textfield; appearance: textfield;
}
.st-stepper input::-webkit-inner-spin-button,
.st-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.st-book-total {
  display: grid; grid-template-columns: 1fr 1fr;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--altai-forest);
  color: var(--ivory);
}
.st-book-total div { display: flex; flex-direction: column; justify-content: center; }
.st-book-total span { font-size: 0.75rem; opacity: 0.8; }
.st-book-total strong { font-size: 1.25rem; }
.st-book-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.st-book-done {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(140, 191, 122, 0.22);
  color: var(--altai-forest);
  font-weight: 700;
}

/* ===== Good to know ===== */
.st-faq details { border-bottom: 1px solid #ecede6; }
.st-faq summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
  cursor: pointer; list-style: none;
  font-weight: 700;
}
.st-faq summary::-webkit-details-marker { display: none; }
.st-faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--altai-forest); }
.st-faq details[open] summary::after { content: "−"; }
.st-faq p { padding: 0 0 18px; color: #3a403d; font-size: 0.97rem; }

/* ===== Баруун талын үнийн карт ===== */
.st-aside { position: sticky; top: calc(var(--header-h) + 76px); margin-top: 56px; margin-bottom: 40px; }
.st-card {
  padding: 26px;
  border: 1px solid #e6e8df;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(31, 35, 35, 0.08);
}
.st-card-label { font-size: 0.85rem; color: #6b716d; }
.st-card-price { font-size: 0.95rem; color: #5d6460; }
.st-card-price strong { font-size: 2.1rem; color: var(--altai-forest); }
.st-card-meta { margin: 6px 0 18px; font-size: 0.86rem; color: #5d6460; }
.st-card-btn { width: 100%; justify-content: center; margin-top: 10px; }
.st-card-perks { list-style: none; margin-top: 20px; padding-top: 18px; border-top: 1px solid #ecede6; display: grid; gap: 8px; }
.st-card-perks li { position: relative; padding-left: 26px; font-size: 0.88rem; }
.st-card-perks li::before { content: "✓"; position: absolute; left: 0; color: var(--steppe-green); font-weight: 700; }

/* Гар утасны доод самбар (компьютер дээр нуугдана) */
.st-mobile-bar { display: none; }

/* ===== Таблет ===== */
@media (max-width: 1024px) {
  .st-layout { grid-template-columns: 1fr; gap: 0; }
  .st-aside { display: none; }
  .st-mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #e6e8df;
    box-shadow: 0 -8px 24px rgba(31, 35, 35, 0.08);
  }
  .st-mobile-bar span { display: block; font-size: 0.75rem; color: #6b716d; }
  .st-mobile-bar strong { font-size: 1.3rem; color: var(--altai-forest); }
  .st-mobile-bar .btn { padding: 12px 28px; }
  body { padding-bottom: 72px; }
  .back-to-top { bottom: 92px; }
}

/* ===== Гар утас ===== */
@media (max-width: 700px) {
  .st-head { padding: 20px 0 24px; }
  .st-head-row { margin: 12px 0 18px; }
  /* Утсан дээр: 4 зураг хажуу тийш гүйлгэнэ */
  .st-gallery {
    display: flex;
    height: auto;
    gap: 8px;
    margin: 0 -16px;
    padding: 0 16px;
    border-radius: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 16px;
    scrollbar-width: none;
  }
  .st-gallery::-webkit-scrollbar { display: none; }
  .st-gallery-item {
    flex: 0 0 86%;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    scroll-snap-align: start;
  }
  .st-gallery-item:hover .st-media { transform: none; }
  .st-gallery-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
  .st-gallery-dots i { width: 6px; height: 6px; border-radius: 3px; background: #d3d7cc; transition: width 0.2s, background 0.2s; }
  .st-gallery-dots i.is-active { width: 18px; background: var(--altai-forest); }
  .st-tabs-inner { gap: 22px; }
  .st-section { padding-top: 40px; }
  .st-section + .st-section { margin-top: 32px; }
  .st-facts { grid-template-columns: 1fr 1fr; }
  .st-fit-list { grid-template-columns: 1fr; }
  .st-expect { grid-template-columns: 1fr; gap: 16px; }
  .st-expect-card { aspect-ratio: 4 / 3; }
  .st-days > li { padding-left: 28px; }
  .st-day-body { grid-template-columns: 1fr; gap: 14px; }
  .st-incl { grid-template-columns: 1fr; }
  .st-pax { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .st-dates li { grid-template-columns: 1fr auto; padding: 14px; }
  .st-date-price { display: none; }
  .st-book { padding: 20px; }
  .st-book-grid { grid-template-columns: 1fr; }
  .st-book-actions .btn { flex: 1; justify-content: center; }
}

/* ===== Ерөнхий аяллын хуудас (pages/tour.html, tour-page.js) ===== */
.st-loading { padding: 64px 0; color: #6b716d; }
.st-cover {
  margin: 0;
  aspect-ratio: 16 / 7;
  border-radius: 16px;
  overflow: hidden;
  background: #e6e8df;
}
.st-text { margin-top: 24px; }
.st-text p { margin: 0 0 1em; line-height: 1.7; }
.st-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}
.st-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
#prices .st-book-actions { margin-top: 24px; }
@media (max-width: 760px) {
  .st-cover { aspect-ratio: 4 / 3; border-radius: 14px; }
}

/* Самбараас оруулсан аялал: зургийн тоо 2-3 байх үед gallery-ийн бүтэц */
.st-gallery--n2 { grid-template-columns: 2fr 1fr; }
.st-gallery--n3 { grid-template-columns: 2fr 1fr 1fr; }
.st-gallery--n3 .st-gallery-item:nth-child(3) { grid-row: span 2; }
.st-pax { grid-template-columns: repeat(var(--pax-cols, 4), minmax(0, 1fr)); }
.st-day-body--text { grid-template-columns: 1fr; }
.st-status.is-full { background: #f1e3e1; color: #9b3a32; }
.st-date-book[aria-disabled="true"] { opacity: 0.6; pointer-events: none; }
.st-book-error {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #f7e1df;
  color: #8f2a22;
  font-weight: 700;
}
.st-book-error a { color: inherit; }
@media (max-width: 700px) {
  .st-pax { grid-template-columns: 1fr 1fr; }
}

/* Gallery video tile: plays on loop, cannot be clicked through */
.st-video-bg {
  position: relative;
  overflow: hidden;
  background: #111 center / cover no-repeat;
  container-type: size;
}
.st-video-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, 177.78cqh);
  height: max(100%, 56.25cqw);
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}
video.st-media { pointer-events: none; }
.st-field-hint { display: block; margin-top: 4px; font-size: 0.8rem; color: #6b7280; }
