/* TinyWeb variety v1 (demo v30) — the shared review / FAQ / contact blocks get several layouts so designs stop
   ending the same way. Each theme picks one of each via classes on <body>:
   reviews  vr-feature | vr-bubbles | vr-lines | vr-postcards | vr-rail      (none = 3 cards)
   faq      fq-center | fq-numbered | fq-cards                               (none = heading left, list right)
   contact  ct-swap | ct-stack | ct-panel                                    (none = details left, form right)
   plus one-off first-screen changes for designs whose hero matched another design. */

/* ---------- reviews ---------- */
/* feature: one large quote as the hero of the section, two short ones beside it */
body.vr-feature .sx-reviews{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:stretch}
body.vr-feature .sx-review:first-child{grid-row:span 2;background:none;border:0;padding:0 clamp(0px,3vw,48px) 0 0;justify-content:center;gap:26px}
body.vr-feature .sx-review:first-child blockquote{font-size:clamp(25px,2.5vw,36px);line-height:1.38;flex:none}
body.vr-feature .sx-review:first-child blockquote:before{content:'“';display:block;font:400 110px/.55 Georgia,serif;color:var(--cta);opacity:.55;margin-bottom:6px}
body.vr-feature .sx-review:not(:first-child){padding:22px 24px;gap:14px}
body.vr-feature .sx-review:not(:first-child) blockquote{font-size:16px}
/* bubbles: chat-style quotes, alternating sides */
body.vr-bubbles .sx-reviews{grid-template-columns:1fr;max-width:820px;margin-inline:auto;gap:22px}
body.vr-bubbles .sx-review{background:none!important;border:0!important;padding:0!important;gap:10px;align-items:flex-start}
body.vr-bubbles .sx-review blockquote{background:var(--surface);border:1px solid var(--line);border-radius:24px 24px 24px 6px;padding:18px 24px;font-size:18px;max-width:640px}
body.vr-bubbles .sx-review:nth-child(even){align-items:flex-end}
body.vr-bubbles .sx-review:nth-child(even) blockquote{border-radius:24px 24px 6px 24px;background:color-mix(in srgb,var(--cta) 14%,var(--bg));border-color:transparent}
body.vr-bubbles .sx-review:nth-child(even) .sx-who{flex-direction:row-reverse;text-align:right}
body.vr-bubbles .sx-review .sx-stars{order:3;opacity:.8;transform:scale(.8);transform-origin:left}
body.vr-bubbles .sx-review:nth-child(even) .sx-stars{transform-origin:right}
/* lines: guest-book list, no boxes */
body.vr-lines .sx-reviews{grid-template-columns:1fr;gap:0}
body.vr-lines .sx-review{display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,.32fr);gap:10px clamp(24px,4vw,60px);align-items:start;background:none!important;border:0!important;border-top:1px solid var(--line)!important;border-radius:0;padding:clamp(24px,3vw,38px) 0}
body.vr-lines .sx-review:last-child{border-bottom:1px solid var(--line)!important}
body.vr-lines .sx-review blockquote{grid-column:1;grid-row:1/span 2;font-size:clamp(20px,2vw,27px);line-height:1.45}
body.vr-lines .sx-review .sx-stars{grid-column:2;grid-row:1}
body.vr-lines .sx-review .sx-who{grid-column:2;grid-row:2}
/* postcards: paper cards, slightly turned, with a stamp */
body.vr-postcards .sx-reviews{gap:clamp(18px,2.6vw,34px);padding:10px 4px}
body.vr-postcards .sx-review{position:relative;background:var(--bg)!important;border:0!important;border-radius:6px;box-shadow:0 22px 44px -20px #0005,0 2px 6px #0001;transform:rotate(-1.6deg);transition:transform .35s}
body.vr-postcards .sx-review:nth-child(2){transform:rotate(1.3deg) translateY(14px)}
body.vr-postcards .sx-review:nth-child(3){transform:rotate(-.6deg)}
body.vr-postcards .sx-review:hover{transform:none}
body.vr-postcards .sx-review:after{content:'';position:absolute;left:50%;top:-11px;width:92px;height:24px;margin-left:-46px;transform:rotate(-3deg);background:color-mix(in srgb,var(--cta) 22%,#fff8);box-shadow:0 1px 2px #0001}
body.vr-postcards .sx-review blockquote{font-size:17px}
/* rail: one dark band, quotes divided by thin lines */
body.vr-rail .sx-reviews{gap:0;background:var(--ink);color:var(--bg);border-radius:var(--sx-r,24px);padding:clamp(10px,2vw,22px)}
body.vr-rail .sx-review{background:none!important;border:0!important;border-radius:0;color:inherit!important;padding:clamp(22px,2.4vw,34px)}
body.vr-rail .sx-review+.sx-review{border-left:1px solid color-mix(in srgb,var(--bg) 22%,transparent)!important}
body.vr-rail .sx-review blockquote{font-size:17px}
body.vr-rail .sx-review .sx-who small{opacity:.7}
@media(max-width:860px){
 body.vr-feature .sx-reviews{grid-template-columns:1fr}body.vr-feature .sx-review:first-child{grid-row:auto;padding:0 0 10px}
 body.vr-lines .sx-review{grid-template-columns:1fr}body.vr-lines .sx-review blockquote,body.vr-lines .sx-review .sx-stars,body.vr-lines .sx-review .sx-who{grid-column:1;grid-row:auto}
 body.vr-postcards .sx-review,body.vr-postcards .sx-review:nth-child(n){transform:rotate(-.8deg)}body.vr-postcards .sx-review:nth-child(even){transform:rotate(.8deg)}
 body.vr-rail .sx-review+.sx-review{border-left:0!important;border-top:1px solid color-mix(in srgb,var(--bg) 22%,transparent)!important}
}

/* ---------- FAQ ---------- */
body.fq-center .sx-split:has(>.sx-faq){grid-template-columns:minmax(0,1fr)!important;max-width:860px;margin-inline:auto;gap:28px}
body.fq-center .sx-split:has(>.sx-faq) .sx-head{text-align:center;margin-inline:auto}
body.fq-center .sx-split:has(>.sx-faq) .sx-kicker{justify-content:center}
body.fq-numbered .sx-faq{counter-reset:fq}
body.fq-numbered .sx-faq summary{counter-increment:fq;justify-content:flex-start}
body.fq-numbered .sx-faq summary:before{content:counter(fq,decimal-leading-zero);flex:none;width:2.4em;font:400 clamp(22px,2.2vw,30px)/1 var(--sx-display);color:var(--cta)}
body.fq-numbered .sx-faq summary:after{margin-left:auto}
body.fq-numbered .sx-faq details p{padding-left:calc(2.4em + 2px)}
body.fq-cards .sx-split:has(>.sx-faq){grid-template-columns:minmax(0,1fr)!important;gap:28px}
body.fq-cards .sx-faq{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
body.fq-cards .sx-faq details{border:1px solid var(--line)!important;border-radius:18px;padding:0 22px;background:var(--surface)}
body.fq-cards .sx-faq summary{padding:20px 0;font-size:16.5px}
body.fq-cards .sx-faq details p{margin:-4px 0 20px}
@media(max-width:760px){body.fq-cards .sx-faq{grid-template-columns:1fr}}

/* ---------- contact ---------- */
@media(min-width:861px){body.ct-swap .sx-contact>:first-child{order:2}}
body.ct-stack .sx-contact{grid-template-columns:minmax(0,1fr)!important;max-width:900px;margin-inline:auto;gap:34px}
body.ct-stack .sx-contact .sx-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px}
body.ct-stack .sx-contact .sx-map{height:260px!important;min-height:0!important;position:static!important}
body.ct-panel .sx-contact{background:var(--cta);color:var(--cta-ink);border-radius:var(--sx-r,28px);padding:clamp(26px,4.5vw,64px)}
body.ct-panel .sx-contact .sx-kicker,body.ct-panel .sx-contact .sx-info .ic,body.ct-panel .sx-contact a{color:inherit}
body.ct-panel .sx-contact .sx-info li{border-color:color-mix(in srgb,var(--cta-ink) 22%,transparent)!important}
body.ct-panel .sx-contact .sx-map{border:0;box-shadow:0 18px 40px -20px #0006}
body.ct-panel .sx-contact .sx-form{box-shadow:0 30px 60px -28px #0007}
@media(max-width:760px){body.ct-stack .sx-contact .sx-info{grid-template-columns:1fr}body.ct-panel .sx-contact{padding:22px 16px;border-radius:20px}}

/* ---------- first screens that matched another design ---------- */
/* care (Baan Aunjai): photo across the page with the message on a card, instead of title-left / photo-right like LUMA Clinic */
body.hx-overlay .care-hero{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"x";padding-top:28px}
body.hx-overlay .care-hero>div:first-child,body.hx-overlay .care-hero>.hc-media{grid-area:x}
body.hx-overlay .care-hero>.hc-media .sx-media{height:min(78vh,680px)}
body.hx-overlay .care-hero>div:first-child{position:relative;z-index:3;align-self:end;justify-self:start;max-width:560px;margin:0 0 clamp(24px,4vw,48px) clamp(18px,4vw,56px);background:var(--bg);border-radius:24px;padding:clamp(24px,3vw,40px);box-shadow:0 30px 60px -30px #0006}
body.hx-overlay .care-hero h1{font-size:clamp(40px,4.6vw,66px)}
body.hx-overlay .care-hero .sx-float{left:auto!important;right:24px!important;bottom:auto!important}body.hx-overlay .care-hero .sx-float[style*="right"]{top:40px!important}body.hx-overlay .care-hero .sx-float[style*="left"]{top:120px!important}
@media(max-width:860px){body.hx-overlay .care-hero{grid-template-areas:"m" "t"}body.hx-overlay .care-hero>.hc-media{grid-area:m}body.hx-overlay .care-hero>div:first-child{grid-area:t;margin:-70px 12px 0;align-self:start}body.hx-overlay .care-hero>.hc-media .sx-media{height:380px}}
/* food (Green Table): headline centred on top, a wide bowl-shaped photo underneath, instead of title-left / round photo-right */
body.hx-stack .food-hero{grid-template-columns:minmax(0,1fr)!important;justify-items:center;text-align:center;gap:26px;padding-top:28px}
body.hx-stack .food-hero h1{font-size:clamp(54px,6.4vw,96px);margin-bottom:14px}body.hx-stack .food-hero p{margin:0 auto 18px}
body.hx-stack .food-hero>div:first-child{max-width:820px}
body.hx-stack .food-hero .sx-actions{justify-content:center}
body.hx-stack .food-hero .fd-media{width:100%!important;max-width:1180px;justify-self:stretch}
body.hx-stack .food-hero .fd-media .sx-media{aspect-ratio:auto!important;height:clamp(280px,36vw,480px);border-radius:28px 28px 50% 50% / 28px 28px 22% 22%!important}
body.hx-stack .food-hero .sx-float[style*="left"]{left:6%!important;top:auto!important;bottom:18%!important}
body.hx-stack .food-hero .sx-float[style*="right"]{right:6%!important;bottom:auto!important;top:12%!important}
/* fixes after first look */
body.vr-feature .sx-reviews{row-gap:16px}
body.vr-rail .sx-reviews{align-items:stretch}
body.vr-rail .sx-review{justify-content:flex-start}
body.vr-rail .sx-review blockquote{flex:1}
body.fq-center .sx-split:has(>.sx-faq)>:first-child{text-align:center;justify-self:center;max-width:none}
body.fq-center .sx-split:has(>.sx-faq) .sx-head>*{margin-inline:auto}
/* the column drift from parallax-plus suits a row of cards, not a band, a list or a chat */
body:is(.vr-rail,.vr-lines,.vr-bubbles,.vr-feature) .sx-reviews>*{translate:none!important}
/* centred FAQ on pages where the list is not inside a split */
body.fq-center section:has(>.sx-faq)>.sx-head{text-align:center;margin-inline:auto}
body.fq-center section:has(>.sx-faq)>.sx-head .sx-kicker{justify-content:center}
body.fq-center section>.sx-faq{max-width:860px;margin-inline:auto}
body.fq-center section:has(>.sx-faq)>.sx-head>*{margin-inline:auto}
body:is(.vr-bubbles,.vr-lines,.vr-rail) .sx-reviews>.sx-review,body.vr-feature .sx-reviews>.sx-review:first-child{box-shadow:none!important;background:none!important;backdrop-filter:none!important}
@media(max-width:860px){body.hx-stack .food-hero .fd-media,body.hx-stack .food-hero .fd-media .sx-media,body.hx-overlay .care-hero>.hc-media,body.hx-overlay .care-hero .hc-media .sx-media{width:100%!important;max-width:none!important;justify-self:stretch!important}body.hx-stack .food-hero .fd-media .sx-media{height:300px}body.hx-stack .food-hero{padding-inline:16px}}
@media(max-width:860px){body.hx-overlay .care-hero .hc-media .sx-media,body.hx-stack .food-hero .fd-media .sx-media{margin:0!important}}
/* panel contact: every text row takes the panel's ink (the hours row used the brand colour and vanished) */
body.ct-panel .sx-contact>:not(.sx-form):not(:has(form)) :is(p,li,div,span,b,strong,small,dt,dd,em,h2,h3,td,th){color:inherit!important}
body.ct-panel .sx-contact>:not(.sx-form):not(:has(form)) :is(dl>div,tr,.sx-hours>*){border-color:color-mix(in srgb,var(--cta-ink) 22%,transparent)!important}

/* ---------- first screens for the shared photo hero (.hero) ---------- */
/* hx-arch (wedding): the photo sits in an arch like an invitation, on the page colour */
body.hx-arch .hero{background:var(--bg);color:#fff}
body.hx-arch .hero .hero-bg,body.hx-arch .hero:after{inset:96px max(5vw,18px) 5vh!important;border-radius:min(40vw,520px) min(40vw,520px) 28px 28px;overflow:hidden}
body.hx-arch .hero:after{background:linear-gradient(0deg,#2c1b1abb,#2c1b1a33 60%,transparent)}
body.hx-arch .hero .foreground,body.hx-arch .hero .scroll-cue{display:none}
body.hx-arch .hero-inner{padding-bottom:12vh}
/* hx-split (renovation): text on a solid panel, photo on the right like a site report */
body.hx-split .hero{background:var(--ink);min-height:auto}
body.hx-split .hero .hero-bg{inset:0 0 0 46%!important}
body.hx-split .hero:after{background:linear-gradient(90deg,var(--ink) 46%,transparent 62%)}
body.hx-split .hero .foreground,body.hx-split .hero .scroll-cue{display:none}
body.hx-split .hero-inner{min-height:min(88svh,820px);max-width:min(54%,760px)!important;justify-content:center;padding-top:120px;padding-bottom:80px}
body.hx-split .hero h1{font-size:clamp(56px,6.4vw,104px)}
/* hx-top (homestay): title over the sky at the top centre, mist and hills below */
body.hx-top .hero:after{background:linear-gradient(180deg,#0a2725a0,transparent 55%)}
body.hx-top .hero-inner{justify-content:flex-start;align-items:center;text-align:center;padding-top:clamp(120px,17vh,190px)}
body.hx-top .hero-inner p{margin-inline:auto}
body.hx-top .hero .sx-actions{justify-content:center}
@media(max-width:860px){
 body.hx-arch .hero .hero-bg,body.hx-arch .hero:after{inset:78px 12px 12px!important;border-radius:200px 200px 22px 22px}
 body.hx-split .hero .hero-bg{inset:0 0 auto 0!important;height:46vh}
 body.hx-split .hero:after{background:linear-gradient(180deg,transparent 30vh,var(--ink) 46vh)}
 body.hx-split .hero-inner{max-width:none!important;min-height:auto;padding-top:40vh;padding-bottom:56px}
}
body.ct-panel .sx-hours .today dt{font-weight:700}body.ct-panel .sx-hours .today dt:before{content:"● ";font-size:.8em}
body.hx-arch .hero .hero-bg{transform:none!important;background-position:50% 40%}
