/*
Theme Name: Yuwuyou Travel
Theme URI: https://yuwuyoutravel.com
Description: Custom travel theme for Yuwuyoutravel — private tours across Gansu, Qinghai, Hainan and the Silk Road.
Author: Yuwuyoutravel
Template: astra
Version: 1.3.1
Text Domain: yuwuyou
*/

:root {
  --ink: #14201e;
  --ink-soft: #2b3a37;
  --muted: #6b7a76;
  --line: rgba(20, 32, 30, 0.12);
  --sand: #f6f1e7;
  --sand-deep: #efe7d8;
  --bone: #fbf9f4;
  --clay: #b4562f;
  --clay-dark: #8f4021;
  --gold: #c89b5a;
  --sage: #5b7263;
  --white: #ffffff;
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --body: "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 18px 50px -28px rgba(20, 32, 30, 0.45);
  --wrap: 1200px;
}

body,
body.ast-separate-container,
.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single {
  background: var(--bone);
}

body {
  font-family: var(--body);
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

a { color: var(--clay); }
a:hover { color: var(--clay-dark); }

/* ---------- Header ---------- */
.site-header, .ast-primary-header-bar {
  background: rgba(251, 249, 244, 0.94) !important;
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.ast-primary-header-bar { min-height: 76px; }
.ast-site-identity { padding: 14px 0; }
.site-title a, .site-title a:visited {
  font-family: var(--display);
  font-size: 26px !important;
  font-weight: 600;
  color: var(--ink) !important;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.site-description {
  font-family: var(--body);
  font-size: 10.5px !important;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted) !important;
  margin-top: 5px;
}
.main-header-menu .menu-link, .ast-builder-menu .menu-link {
  font-family: var(--body);
  font-size: 13.5px !important;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink) !important;
  padding: 0 14px !important;
}
.main-header-menu .menu-link:hover { color: var(--clay) !important; }
.main-header-menu > .menu-item > .menu-link::after {
  content: ""; display: block; height: 1px; width: 0; background: var(--clay);
  transition: width .25s ease; margin-top: 4px;
}
.main-header-menu > .menu-item:hover > .menu-link::after { width: 100%; }
.main-header-menu .sub-menu {
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 8px;
  background: #fff;
  overflow: hidden;
}
.main-header-menu .sub-menu .menu-link { padding: 9px 14px !important; border-radius: 6px; font-size: 13px !important; }
.main-header-menu .sub-menu .menu-link:hover { background: var(--sand); }

/* header CTA */
.ywt-header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff !important;
  padding: 11px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 500; letter-spacing: .02em;
  text-decoration: none !important; transition: transform .2s, background .2s;
}
.ywt-header-cta:hover { background: var(--clay); transform: translateY(-1px); color:#fff !important; }
.ywt-header-cta svg { width: 15px; height: 15px; fill: currentColor; }

/* ---------- Layout helpers ---------- */
.ywt-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.ywt-section { padding: 92px 0; }
.ywt-section--tight { padding: 64px 0; }
.ywt-section--sand { background: var(--sand); }
.ywt-section--ink { background: var(--ink); color: rgba(255,255,255,.78); }
.ywt-section--ink h1, .ywt-section--ink h2, .ywt-section--ink h3 { color: #fff; }
.ywt-eyebrow {
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--clay); font-weight: 500; margin: 0 0 14px;
}
.ywt-section--ink .ywt-eyebrow { color: var(--gold); }
.ywt-h2 { font-size: clamp(30px, 3.6vw, 46px); margin: 0 0 18px; }
.ywt-lede { font-size: 17px; color: var(--muted); max-width: 640px; line-height: 1.75; }
.ywt-section--ink .ywt-lede { color: rgba(255,255,255,.7); }
.ywt-center { text-align: center; }
.ywt-center .ywt-lede { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.ywt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; text-decoration: none !important;
  font-size: 13.5px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
  transition: all .22s ease; border: 1px solid transparent; cursor: pointer;
}
.ywt-btn--primary { background: var(--clay); color: #fff !important; }
.ywt-btn--primary:hover { background: var(--clay-dark); transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(180,86,47,.8); }
.ywt-btn--ghost { border-color: rgba(255,255,255,.45); color: #fff !important; }
.ywt-btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.ywt-btn--outline { border-color: var(--ink); color: var(--ink) !important; }
.ywt-btn--outline:hover { background: var(--ink); color: #fff !important; }
.ywt-btn--sm { padding: 11px 22px; font-size: 12px; }

/* ---------- Hero ---------- */
.ywt-hero {
  position: relative; min-height: 74vh; display: flex; align-items: center;
  background: var(--ink); overflow: hidden;
}
.ywt-hero__media {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.02);
}
.ywt-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(11,20,19,.86) 0%, rgba(11,20,19,.55) 46%, rgba(11,20,19,.22) 100%);
}
.ywt-hero__inner { position: relative; z-index: 2; padding: 110px 0 96px; width: 100%; }
.ywt-hero h1 {
  color: #fff; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.06;
  max-width: 780px; margin: 0 0 22px; font-weight: 500;
}
.ywt-hero p {
  color: rgba(255,255,255,.8); font-size: 17.5px; max-width: 560px; margin: 0 0 34px; line-height: 1.75;
}
.ywt-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.ywt-hero__meta {
  position: relative; z-index: 2; display: flex; gap: 40px; flex-wrap: wrap;
  padding: 26px 0 0; margin-top: 44px; border-top: 1px solid rgba(255,255,255,.16);
}
.ywt-hero__meta div { color: rgba(255,255,255,.65); font-size: 12.5px; letter-spacing: .04em; }
.ywt-hero__meta strong {
  display: block; font-family: var(--display); font-size: 26px; color: #fff;
  font-weight: 500; letter-spacing: 0; margin-bottom: 2px;
}

/* ---------- Region cards ---------- */
.ywt-grid { display: grid; gap: 26px; }
.ywt-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ywt-grid--2 { grid-template-columns: repeat(2, 1fr); }

.ywt-card {
  position: relative; display: block; text-decoration: none !important;
  border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease;
}
.ywt-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ywt-card__media {
  aspect-ratio: 4 / 3; background: var(--sand-deep) center/cover no-repeat;
  position: relative;
}
.ywt-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,20,19,.55), rgba(11,20,19,0) 55%);
}
.ywt-card__body { padding: 22px 24px 26px; }
.ywt-card__kicker {
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--clay); margin-bottom: 8px;
}
.ywt-card h3 { font-size: 25px; margin: 0 0 8px; }
.ywt-card p { font-size: 14px; color: var(--muted); margin: 0 0 16px; line-height: 1.65; }
.ywt-card__link {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); font-weight: 500; display: inline-flex; align-items: center; gap: 8px;
}
.ywt-card:hover .ywt-card__link { color: var(--clay); }
.ywt-card__link::after { content: "→"; transition: transform .22s; }
.ywt-card:hover .ywt-card__link::after { transform: translateX(4px); }

/* ---------- Feature strip ---------- */
.ywt-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.ywt-feature__num {
  font-family: var(--display); font-size: 34px; color: var(--gold); margin-bottom: 6px;
}
.ywt-feature h3 { font-size: 18px; margin: 0 0 6px; }
.ywt-feature p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.65; }

/* ---------- Board page ---------- */
.ywt-board-hero {
  position: relative; min-height: 58vh; display: flex; align-items: flex-end;
  background: var(--ink) center/cover no-repeat; overflow: hidden;
}
.ywt-board-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,20,19,.92) 6%, rgba(11,20,19,.45) 55%, rgba(11,20,19,.28) 100%);
}
.ywt-board-hero__inner { position: relative; z-index: 2; padding: 90px 0 54px; width: 100%; }
.ywt-breadcrumb { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.ywt-breadcrumb a { color: rgba(255,255,255,.8); text-decoration: none; }
.ywt-board-hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 58px); margin: 0 0 16px; }
.ywt-board-hero p { color: rgba(255,255,255,.82); font-size: 16.5px; max-width: 660px; margin: 0; }

.ywt-prose { max-width: 760px; }
.ywt-prose h2 { font-size: 32px; margin: 48px 0 14px; }
.ywt-prose h3 { font-size: 22px; margin: 32px 0 10px; }
.ywt-prose p { margin: 0 0 18px; color: #3c4a47; }
.ywt-prose ul { padding-left: 20px; margin: 0 0 20px; }
.ywt-prose li { margin-bottom: 8px; color: #3c4a47; }
.ywt-prose blockquote {
  margin: 34px 0; padding: 22px 28px; border-left: 2px solid var(--gold);
  background: var(--sand); border-radius: 0 10px 10px 0;
  font-family: var(--display); font-size: 22px; color: var(--ink); font-style: italic;
}

/* ---------- Product cards ---------- */
.woocommerce ul.products {
  display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin: 0 !important; padding: 0 !important;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product {
  width: 100% !important; margin: 0 !important; padding: 0 !important; float: none !important;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; transition: transform .28s, box-shadow .28s; display: flex; flex-direction: column;
}
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.woocommerce ul.products li.product a img {
  aspect-ratio: 4/3; object-fit: cover; width: 100%; margin: 0 !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--display); font-size: 22px !important; padding: 20px 22px 0 !important;
  color: var(--ink); line-height: 1.25;
}
.woocommerce ul.products li.product .price {
  color: var(--clay) !important; font-size: 15px !important; padding: 8px 22px 0 !important;
  font-weight: 500; font-family: var(--body);
}
.woocommerce ul.products li.product .price small { font-size: 11px; color: var(--muted); }
.woocommerce ul.products li.product .button {
  margin: 16px 22px 22px !important; background: var(--ink) !important; color: #fff !important;
  border-radius: 999px !important; font-size: 11.5px !important; letter-spacing: .12em !important;
  text-transform: uppercase !important; padding: 12px 20px !important; text-align: center;
  font-weight: 500 !important;
}
.woocommerce ul.products li.product .button:hover { background: var(--clay) !important; }
.ywt-tour-meta {
  display: flex; gap: 14px; flex-wrap: wrap; padding: 12px 22px 0;
  font-size: 11.5px; color: var(--muted); letter-spacing: .03em;
}
.ywt-tour-meta span { display: inline-flex; align-items: center; gap: 5px; }
.ywt-tour-meta span::before { content: "—"; color: var(--gold); }

/* ---------- Product single ---------- */
.ywt-tour-head { background: var(--sand); padding: 46px 0 0; }
.ywt-tour-head h1 { font-size: clamp(30px, 4vw, 46px); margin: 0 0 12px; }
.ywt-tour-facts {
  display: flex; gap: 34px; flex-wrap: wrap; margin: 22px 0 0; padding: 20px 0;
  border-top: 1px solid var(--line);
}
.ywt-tour-facts div { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ywt-tour-facts strong { display: block; font-family: var(--display); font-size: 22px; color: var(--ink); text-transform: none; letter-spacing: 0; margin-top: 2px; }

/* ---------- Custom tour form ---------- */
.ywt-form-shell { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 38px; }
.ywt-steps { display: flex; gap: 10px; margin-bottom: 30px; }
.ywt-step-dot {
  flex: 1; height: 3px; background: var(--line); border-radius: 3px; transition: background .3s;
}
.ywt-step-dot.is-active { background: var(--clay); }
.ywt-field { margin-bottom: 22px; }
.ywt-field label {
  display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px; font-weight: 500;
}
.ywt-field input[type=text], .ywt-field input[type=email], .ywt-field input[type=number],
.ywt-field input[type=date], .ywt-field select, .ywt-field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--body); font-size: 14.5px; background: var(--bone); color: var(--ink);
  transition: border-color .2s, background .2s;
}
.ywt-field input:focus, .ywt-field select:focus, .ywt-field textarea:focus {
  outline: none; border-color: var(--clay); background: #fff;
}
.ywt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ywt-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ywt-chip {
  padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; cursor: pointer; user-select: none; background: var(--bone);
  transition: all .18s;
}
.ywt-chip:hover { border-color: var(--ink); }
.ywt-chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.ywt-result { display: none; }
.ywt-result.is-on { display: block; }
.ywt-itinerary-day {
  border-left: 2px solid var(--gold); padding: 4px 0 4px 22px; margin-bottom: 26px; position: relative;
}
.ywt-itinerary-day::before {
  content: ""; position: absolute; left: -6px; top: 8px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--clay); border: 2px solid #fff;
}
.ywt-itinerary-day h4 { margin: 0 0 6px; font-size: 20px; }
.ywt-itinerary-day p { margin: 0; font-size: 14.5px; color: #46544f; }
.ywt-loading { display: none; text-align: center; padding: 40px 0; }
.ywt-loading.is-on { display: block; }
.ywt-spinner {
  width: 34px; height: 34px; border: 2px solid var(--line); border-top-color: var(--clay);
  border-radius: 50%; margin: 0 auto 16px; animation: ywtspin 1s linear infinite;
}
@keyframes ywtspin { to { transform: rotate(360deg); } }

/* ---------- CTA band ---------- */
.ywt-cta-band {
  background: var(--ink); color: #fff; border-radius: 20px; padding: 56px;
  display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap;
}
.ywt-cta-band h2 { color: #fff; font-size: 34px; margin: 0 0 10px; }
.ywt-cta-band p { color: rgba(255,255,255,.72); margin: 0; max-width: 520px; }

/* ---------- Footer ---------- */
.site-footer, .ast-footer-copyright { background: var(--ink) !important; color: rgba(255,255,255,.62); }
.site-footer { padding: 0; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: var(--gold); }
.ywt-footer { padding: 64px 0 28px; }
.ywt-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.ywt-footer h4 {
  color: #fff; font-family: var(--body); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; margin: 0 0 16px; font-weight: 500;
}
.ywt-footer ul { list-style: none; margin: 0; padding: 0; }
.ywt-footer li { margin-bottom: 10px; font-size: 13.5px; }
.ywt-footer__brand { font-family: var(--display); font-size: 26px; color: #fff; margin-bottom: 10px; }
.ywt-footer__note { font-size: 13.5px; line-height: 1.7; max-width: 300px; color: rgba(255,255,255,.55); }
.ywt-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 46px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: rgba(255,255,255,.45);
}

/* ---------- WhatsApp + AI ---------- */
.ywt-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 9999;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
}
.ywt-fab {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px -8px rgba(20,32,30,.5); cursor: pointer; border: none;
  transition: transform .2s;
}
.ywt-fab:hover { transform: scale(1.06); }
.ywt-fab svg { width: 26px; height: 26px; }
.ywt-fab--wa { background: #25d366; }
.ywt-fab--wa svg { fill: #fff; }
.ywt-fab--ai { background: var(--ink); }
.ywt-fab--ai svg { fill: #fff; }

.ywt-chat {
  position: fixed; right: 22px; bottom: 92px; width: 356px; max-height: 540px;
  background: #fff; border-radius: 18px; box-shadow: 0 24px 70px -20px rgba(20,32,30,.45);
  display: none; flex-direction: column; overflow: hidden; z-index: 9998;
  border: 1px solid var(--line);
}
.ywt-chat.is-open { display: flex; }
.ywt-chat__head {
  background: var(--ink); color: #fff; padding: 18px 20px; display: flex; align-items: center; gap: 12px;
}
.ywt-chat__head strong { font-size: 14px; font-weight: 500; display: block; }
.ywt-chat__head span { font-size: 11.5px; color: rgba(255,255,255,.6); }
.ywt-chat__head .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }
.ywt-chat__close { margin-left: auto; background: none; border: none; color: rgba(255,255,255,.7); font-size: 20px; cursor: pointer; line-height: 1; }
.ywt-chat__body { flex: 1; overflow-y: auto; padding: 18px; background: var(--bone); display: flex; flex-direction: column; gap: 12px; }
.ywt-msg { max-width: 84%; font-size: 13.5px; line-height: 1.6; padding: 11px 14px; border-radius: 14px; }
.ywt-msg--bot { background: #fff; border: 1px solid var(--line); color: var(--ink-soft); border-bottom-left-radius: 4px; }
.ywt-msg--me { background: var(--clay); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.ywt-chat__foot { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.ywt-chat__foot input {
  flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px;
  font-size: 13.5px; font-family: var(--body); background: var(--bone);
}
.ywt-chat__foot input:focus { outline: none; border-color: var(--clay); }
.ywt-chat__foot button {
  width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--clay); color: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.ywt-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ywt-quick button {
  font-size: 11.5px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; color: var(--ink-soft);
}
.ywt-quick button:hover { border-color: var(--clay); color: var(--clay); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .ywt-grid--3, .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
  .ywt-features { grid-template-columns: repeat(2, 1fr); }
  .ywt-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .ywt-section { padding: 60px 0; }
  .ywt-grid--3, .ywt-grid--2, .woocommerce ul.products { grid-template-columns: 1fr !important; }
  .ywt-features { grid-template-columns: 1fr; }
  .ywt-row { grid-template-columns: 1fr; }
  .ywt-form-shell { padding: 24px; }
  .ywt-hero__meta { gap: 24px; }
  .ywt-cta-band { padding: 32px; }
  .ywt-chat { width: calc(100vw - 32px); right: 16px; bottom: 84px; max-height: 70vh; }
  .ywt-footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Homepage film / video ---------- */
.ywt-film {
  background: var(--sand-deep);
  border-top: 1px solid var(--line);
  padding: 84px 0 96px;
}
.ywt-film__head { max-width: 660px; margin: 0 auto 42px; text-align: center; }
.ywt-film__head .ywt-lede { margin-bottom: 0; }

.ywt-film__frame {
  position: relative;
  display: block;
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #0d1513;
  box-shadow: 0 34px 90px -46px rgba(20, 32, 30, 0.65);
}
.ywt-film__poster {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 900ms cubic-bezier(.2, .6, .2, 1);
}
.ywt-film__frame:hover .ywt-film__poster { transform: scale(1.07); }
.ywt-film__grain {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 18, 16, .18) 0%, rgba(10, 18, 16, .04) 42%, rgba(10, 18, 16, .68) 100%);
}
.ywt-film__play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  border: 0;
  background: transparent;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}
.ywt-film__ring {
  position: relative;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform .35s ease, background .35s ease, border-color .35s ease;
}
.ywt-film__ring::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .45);
  animation: ywt-pulse 2.8s ease-out infinite;
}
.ywt-film__ring svg { width: 26px; height: 26px; fill: #fff; margin-left: 4px; }
.ywt-film__play:hover .ywt-film__ring,
.ywt-film__play:focus-visible .ywt-film__ring { background: var(--clay); border-color: var(--clay); transform: scale(1.07); }
.ywt-film__play:hover .ywt-film__ring::after { border-color: rgba(180, 86, 47, .55); }
.ywt-film__label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.ywt-film__len { font-size: 12px; letter-spacing: .05em; color: rgba(255, 255, 255, .74); }
.ywt-film__cap {
  position: absolute;
  left: 24px;
  bottom: 20px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
}
.ywt-film__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 155, 90, .22);
}
@keyframes ywt-pulse {
  0%   { transform: scale(1);    opacity: .75; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* lightbox */
.ywt-vlight {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 4vw;
  background: rgba(8, 14, 13, .95);
}
.ywt-vlight[hidden] { display: none; }
.ywt-vlight__box { position: relative; width: 100%; max-width: 1140px; }
.ywt-vlight__slot {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 50px 130px -50px #000;
}
.ywt-vlight__slot iframe,
.ywt-vlight__slot video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.ywt-vlight__close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.ywt-vlight__close:hover { background: var(--clay); border-color: var(--clay); }
body.ywt-vlight-open { overflow: hidden; }

@media (max-width: 720px) {
  .ywt-film { padding: 56px 0 64px; }
  .ywt-film__frame { aspect-ratio: 4 / 3; border-radius: 14px; }
  .ywt-film__ring { width: 68px; height: 68px; }
  .ywt-film__ring svg { width: 21px; height: 21px; }
  .ywt-film__label { font-size: 11px; letter-spacing: .16em; }
  .ywt-film__cap { left: 16px; bottom: 14px; font-size: 10px; }
  .ywt-vlight { padding: 0; }
  .ywt-vlight__box { max-width: 100%; }
  .ywt-vlight__slot { border-radius: 0; }
  .ywt-vlight__close { top: 10px; right: 10px; z-index: 2; background: rgba(0, 0, 0, .55); }
}

/* ---------- Hero background video ---------- */
.ywt-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
  pointer-events: none;
}
.ywt-hero__video.is-ready { opacity: 1; }
.ywt-hero__vtoggle {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .34);
  background: rgba(12, 20, 18, .42);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  transition: background .3s ease, border-color .3s ease;
}
.ywt-hero__vtoggle:hover { background: rgba(180, 86, 47, .85); border-color: rgba(180, 86, 47, .95); }
.ywt-hero__vtoggle svg { width: 13px; height: 13px; fill: currentColor; }
.ywt-hero__vtoggle .icon-play { display: none; }
.ywt-hero__vtoggle[data-state="paused"] .icon-play { display: block; }
.ywt-hero__vtoggle[data-state="paused"] .icon-pause { display: none; }

/* ---------- Region film on board pages ---------- */
.ywt-film__head--left { max-width: 700px; margin: 0 0 34px; text-align: left; }
.ywt-film__frame--wide { aspect-ratio: 21 / 9; }
@media (max-width: 720px) {
  .ywt-hero__vtoggle { right: 14px; bottom: 14px; width: 34px; height: 34px; }
  .ywt-film__frame--wide { aspect-ratio: 16 / 9; }
}
