/* Publisher compatibility layer for the managed BookInChina pages. */
.hero-bg > img,.hero-bg > video,.hero-bg > .video-shell,.hero-bg > .video-shell video{width:100%;height:100%;object-fit:cover}
.hero-bg .media-frame{width:100%;height:100%;aspect-ratio:auto;border-radius:0;box-shadow:none}
.home-section-title{font-size:clamp(28px,3.2vw,42px);margin-bottom:18px}
.search-box input{min-width:0}
.listing-search{max-width:720px;margin:0 0 24px;box-shadow:none}
.listing-search input[type="search"]::-webkit-search-cancel-button{cursor:pointer}
.tour-empty{margin:28px 0 0;border:1px solid var(--line);border-radius:18px;padding:28px;text-align:center;background:var(--bg-soft)}
.tour-empty p{margin:0 0 16px;color:var(--muted)}
.home-feature-media{aspect-ratio:16/10}
.home-feature-media > img,.home-feature-media > video,.home-feature-media .video-shell,.home-feature-media .video-shell video{width:100%;height:100%;object-fit:cover}
.home-featured,.home-difference{background:var(--bg-soft)}
.center-action{text-align:center;margin-top:46px}
.home-promo-media{position:relative;min-height:380px;overflow:hidden}
.home-promo-media > img,.home-promo-media > video,.home-promo-media .video-shell,.home-promo-media .video-shell video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.itinerary-heading{margin-top:46px}
.tour-price{display:flex;flex-direction:column;gap:3px;margin:0 0 18px;padding:0 0 18px;border-bottom:1px solid var(--line)}.tour-price span{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.tour-price strong{font-size:clamp(19px,2.2vw,23px);line-height:1.2;color:var(--green-ink);white-space:nowrap}
.group-price{margin:10px 0 0;color:var(--green-ink);font-size:14px}.traveler-count{display:grid;gap:6px;margin:16px 0 10px;font-weight:700}.traveler-count input{min-height:44px;border:1px solid var(--line);border-radius:8px;padding:8px 10px;font:inherit}.traveler-count input:focus-visible{outline:2px solid var(--green);outline-offset:2px}.group-total{display:flex;justify-content:space-between;gap:12px;align-items:baseline;padding:12px 0;border-top:1px solid var(--line);font-size:16px}.group-payment-actions{display:grid;gap:10px;margin-top:10px}.checkout-status{min-height:21px;margin:10px 0 0;color:var(--muted);font-size:13px}.checkout-status.is-error{color:#b42318}
.checkout-address{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}.checkout-address>p{margin:0 0 12px}.checkout-address-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.checkout-address label{display:grid;gap:4px;color:var(--muted);font-size:12px;font-weight:700}.checkout-address label.wide{grid-column:1/-1}.checkout-address input{width:100%;min-width:0;min-height:40px;border:1px solid var(--line);border-radius:8px;padding:7px 9px;font:inherit}.checkout-address .btn{width:100%;margin-top:12px}.group-payment-actions button:disabled,.checkout-address button:disabled{cursor:wait;opacity:.62}
.rich-text p{margin:0 0 1.05em}.rich-text p:last-child{margin-bottom:0}
.day-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px}
.day-gallery figure{margin:0}.day-gallery img,.day-gallery video{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px}.day-gallery figcaption{font-size:13px;color:var(--muted);margin-top:6px}
.reviews-section{background:var(--bg-soft)}
.related-section{border-top:1px solid var(--line)}
.rv-photo .media-frame,.rv-photo .video-shell{width:100%;height:100%;border-radius:0;box-shadow:none;aspect-ratio:auto}
.review-media-gallery :is(img, video, .media-frame){height: clamp(150px, 14vw, 190px);object-fit:cover}
.auth-footer-link{appearance:none;border:0;padding:0;background:none;color:rgba(255,255,255,.68);font:inherit;cursor:pointer}.auth-footer-link:hover{color:var(--green)}
.video-shell{position:relative;width:100%;height:100%}.video-toggle{position:absolute;right:14px;bottom:14px;border:0;border-radius:999px;padding:8px 13px;background:rgba(11,35,29,.78);color:#fff;cursor:pointer}
@media(max-width:680px){.day-gallery,.review-list,.incexc,.checkout-address-grid{grid-template-columns:1fr}.checkout-address label.wide{grid-column:auto}.facts{grid-template-columns:1fr}.home-promo-media{min-height:260px}.site-footer .bottom{align-items:flex-start;flex-direction:column}.listing-search{margin-bottom:20px}}
.guide-toolbar{display:grid;grid-template-columns:minmax(180px,1fr) 2fr minmax(180px,1fr);gap:20px;align-items:start;padding:22px;border:1px solid #dfe8e3;border-radius:16px;background:#fff;margin-bottom:22px}.guide-toolbar label,.guide-toolbar legend{font-weight:600}.guide-toolbar select{display:block;width:100%;margin-top:7px;padding:11px;border:1px solid #cbd8d1;border-radius:8px;background:#fff}.guide-toolbar fieldset{border:0;margin:0;padding:0}.guide-filter-tags,.guide-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.guide-filter-tags label,.guide-tags span{padding:6px 10px;border-radius:999px;background:#edf6f1;font-size:.84rem;color:#276448}.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.guide-card{overflow:hidden;border:1px solid #e0e8e4;border-radius:16px;background:#fff;box-shadow:0 8px 28px rgba(26,68,48,.08)}.guide-card-photo{display:block;aspect-ratio:4/3;overflow:hidden}.guide-card-photo img{width:100%;height:100%;object-fit:cover;object-position:center 22%}.guide-card-body{padding:20px}.guide-card-body h2{margin:.2rem 0}.guide-card-body>p:not(.guide-location){display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.guide-location{color:#39795b;font-weight:700;text-transform:uppercase;letter-spacing:.06em;font-size:.78rem}.guide-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0 8px}.guide-favorite{border:1px solid #b9cdc2;border-radius:8px;padding:10px 13px;background:#fff;color:#285e45;font-weight:700;cursor:pointer}.guide-favorite[aria-pressed=true]{background:#e9f6ef;color:#a32942}.guide-profile{padding-top:120px}.guide-profile-head{display:grid;grid-template-columns:minmax(260px,38%) 1fr;gap:42px;align-items:center;margin:20px 0 56px}.guide-profile-head>img{width:100%;height:clamp(320px,38vw,520px);object-fit:cover;object-position:center 22%;border-radius:20px}.guide-intro{font-size:1.08rem;line-height:1.8}.guide-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.guide-gallery figure{margin:0}.guide-gallery img,.timeline-media img{width:100%;height:220px;object-fit:cover;border-radius:12px}.guide-gallery figcaption{font-size:.85rem;color:#5d6d65;margin-top:5px}.guide-timeline{max-width:900px;margin:60px auto 0}.guide-timeline>article{padding:0 0 36px 28px;border-left:2px solid #bdd8ca}.timeline-meta{display:flex;gap:16px;color:#39795b;font-weight:700}.timeline-media{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.stock-disclosure{margin-top:36px;color:#66756d;font-size:.82rem}.guide-empty{padding:28px;text-align:center;background:#f6f9f7;border-radius:12px}@media(max-width:900px){.guide-toolbar,.guide-profile-head{grid-template-columns:1fr}.guide-profile-head>img{height:min(110vw,520px)}.guide-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.guide-grid,.guide-gallery,.timeline-media{grid-template-columns:1fr}.guide-profile{padding-top:90px}}

/* Compact consumer-facing guide directory. */
.guide-hero{min-height:0;background:linear-gradient(118deg,#0b231d 0%,#164735 100%)}
.guide-hero::after{background:linear-gradient(90deg,rgba(5,25,19,.14),rgba(5,25,19,.02))}
.guide-hero .container{padding-top:106px;padding-bottom:28px}
.guide-hero .breadcrumb{margin-bottom:8px}
.guide-hero h1{font-size:clamp(32px,4vw,48px)}
.guide-hero p{margin-top:8px;margin-bottom:0;font-size:clamp(15px,1.5vw,17px)}
.guide-directory-section{padding-top:34px}
.guide-toolbar{display:flex;flex-wrap:wrap;gap:14px 18px;align-items:flex-start;margin-bottom:16px;padding:0 0 18px;border:0;border-radius:0;border-bottom:1px solid var(--line);background:transparent}
.guide-toolbar label,.guide-toolbar legend{font-size:13px;font-weight:700;line-height:1.3;color:var(--head)}
.guide-select-control{flex:0 1 170px;min-width:150px}
.guide-select-control:last-child{flex-basis:190px}
.guide-toolbar select{width:100%;min-height:38px;margin-top:5px;padding:7px 32px 7px 10px;border:1px solid #cbd8d1;border-radius:8px;background:#fff;color:var(--ink);font:inherit;font-size:14px;cursor:pointer}
.guide-toolbar select:hover{border-color:#8fab9c}
.guide-toolbar select:focus-visible{outline:2px solid var(--green-ink);outline-offset:2px}
.guide-toolbar fieldset{display:flex;flex:1 1 440px;min-width:280px;flex-direction:column;border:0;margin:0;padding:0}
.guide-filter-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:5px}
.guide-filter-tags button{appearance:none;min-height:32px;padding:5px 11px;border:1px solid #cfe0d7;border-radius:999px;background:#f3f8f5;color:#276448;font:inherit;font-size:13px;font-weight:600;line-height:1.2;white-space:nowrap;cursor:pointer;transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}
.guide-filter-tags button:hover{border-color:#6e9b84;background:#e7f3ec}
.guide-filter-tags button:active{transform:scale(.97)}
.guide-filter-tags button[aria-pressed=true]{border-color:var(--green-ink);background:var(--green-ink);color:#fff}
.guide-filter-tags button:focus-visible{outline:2px solid var(--green-ink);outline-offset:2px}
.guide-directory-section .count-line{margin-top:0}
@media(prefers-reduced-motion:reduce){.guide-filter-tags button{transition:none}}
@media(max-width:680px){.guide-hero .container{padding-top:94px;padding-bottom:22px}.guide-hero .breadcrumb{margin-bottom:6px}.guide-directory-section{padding-top:26px}.guide-toolbar{gap:12px;margin-bottom:14px;padding-bottom:16px}.guide-select-control{flex:1 1 calc(50% - 6px);min-width:130px}.guide-select-control:last-child{flex-basis:calc(50% - 6px)}.guide-toolbar fieldset{order:3;flex-basis:100%;min-width:0}.guide-filter-tags{gap:6px}.guide-filter-tags button{min-height:30px;padding:4px 10px;font-size:12.5px}}
@media(max-width:380px){.guide-select-control,.guide-select-control:last-child{flex-basis:100%}}

/* Keep the mobile navigation control comfortably tappable and expose its state. */
@media(max-width:680px){.nav-toggle{width:44px;height:44px;margin-right:-7px;padding:7px;border-radius:8px}.nav-toggle:focus-visible{outline:2px solid var(--green-ink);outline-offset:2px}.nav-toggle span{left:7px;width:30px;transition:top .2s var(--ease),transform .2s var(--ease),opacity .2s var(--ease)}.nav-toggle span:nth-child(1){top:10px}.nav-toggle span:nth-child(2){top:20px}.nav-toggle span:nth-child(3){top:30px}.nav-toggle[aria-expanded=true] span:nth-child(1){top:20px;transform:rotate(45deg)}.nav-toggle[aria-expanded=true] span:nth-child(2){opacity:0}.nav-toggle[aria-expanded=true] span:nth-child(3){top:20px;transform:rotate(-45deg)}}
@media(prefers-reduced-motion:reduce){.nav-toggle span{transition:none}}
