/* ThaiLife Wellness Digital Twin V1. Scoped homepage design, leaves core Master CSS untouched. */
.tl-home{--tl-ink:#163b3b;--tl-green:#254d47;--tl-sand:#efece2;--tl-gold:#d8bd83;--tl-paper:#f8f7f2;color:var(--tl-ink);background:var(--tl-paper)}
.tl-home a{text-decoration:none}.tl-container{max-width:1260px;width:calc(100% - 64px);margin-inline:auto}.tl-home h1,.tl-home h2,.tl-home h3{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.035em;font-weight:400}.tl-home em{font-style:italic;color:var(--tl-gold)}.tl-smallcap{text-transform:uppercase;letter-spacing:.18em;font-size:.72rem;font-weight:700;color:#e6d6b6}.tl-darkcap{color:#6b827b}.tl-hero{min-height:min(780px,88vh);position:relative;display:flex;align-items:center;overflow:hidden;background:#1e4a46}.tl-hero-image,.tl-hero-shade{position:absolute;inset:0;width:100%;height:100%}.tl-hero-image{object-fit:cover;object-position:center}.tl-hero-shade{background:linear-gradient(90deg,rgba(6,35,35,.92) 0%,rgba(11,51,49,.65) 48%,rgba(5,40,43,.09) 100%)}.tl-hero-content{position:relative;z-index:1;margin-left:max(5vw,34px);width:min(620px,72%);padding:90px 0;color:#fff}.tl-hero h1{font-size:clamp(3.6rem,7.6vw,7.6rem);line-height:.99;margin:22px 0 24px;color:#fff}.tl-hero p{font-size:clamp(1rem,1.45vw,1.18rem);line-height:1.8;color:#f1f4ef;max-width:540px}.tl-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.tl-button{display:inline-flex;align-items:center;justify-content:space-between;gap:26px;border-radius:3px;padding:15px 20px;font-size:.87rem;font-weight:700;transition:transform .2s,filter .2s}.tl-button:hover{transform:translateY(-2px);filter:brightness(1.06)}.tl-button-light{color:#183a36!important;background:#f2eee5;border:1px solid #f2eee5}.tl-button-outline{color:#fff!important;border:1px solid rgba(255,255,255,.65)}.tl-hero .tl-art-note{font-size:.71rem;margin-top:25px;opacity:.8}.tl-scroll-hint{position:absolute;z-index:1;bottom:24px;right:4vw;color:#fff!important;font-size:.8rem}.tl-intro{padding:105px 0;display:grid;grid-template-columns:1fr 2fr;gap:8vw}.tl-intro-label{color:#638378;text-transform:uppercase;letter-spacing:.2em;font-size:.74rem;font-weight:800;padding-top:16px}.tl-intro h2,.tl-section-head h2{font-size:clamp(2.3rem,4.6vw,4.25rem);line-height:1.15;margin:0 0 18px}.tl-intro h2 em{color:#977948}.tl-intro p,.tl-section-head p{font-size:1.04rem;line-height:1.8;color:#586963;margin:0;max-width:730px}.tl-feature-wrap{padding-bottom:110px}.tl-section-head{display:flex;justify-content:space-between;align-items:end;gap:35px;margin-bottom:32px}.tl-section-head p{max-width:470px}.tl-textlink{font-size:.9rem;white-space:nowrap;color:#236354!important;font-weight:750;border-bottom:1px solid #7da496;padding-bottom:8px}.tl-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.tl-feature{position:relative;display:block;aspect-ratio:1.08;overflow:hidden;background:#2e5147}.tl-feature img,.tl-feature-fade{position:absolute;inset:0;width:100%;height:100%}.tl-feature img{object-fit:cover;transition:transform .5s}.tl-feature:hover img{transform:scale(1.06)}.tl-feature-fade{background:linear-gradient(0deg,rgba(7,35,33,.9),transparent 65%)}.tl-feature-text{position:absolute;bottom:0;left:0;right:0;color:#fff;padding:22px;display:grid;gap:8px}.tl-feature-text span{font-size:.67rem;color:#ead4b0;text-transform:uppercase;letter-spacing:.12em}.tl-feature-text strong{font:normal clamp(1.4rem,2.2vw,2.2rem) Georgia,serif;line-height:1.12}.tl-feature-text b{font-size:1.2rem;position:absolute;right:22px;bottom:22px}.tl-retreat-band{background:#20433e;color:#fff;padding:105px 0 120px}.tl-retreat-band .tl-section-head h2,.tl-manee-band h2{color:#fff}.tl-retreat-band .tl-section-head p{color:#d8e2db}.tl-retreat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.tl-retreat-card{display:block;background:#fbfaf5;color:#223c39!important}.tl-retreat-pic{aspect-ratio:1.55;overflow:hidden}.tl-retreat-pic img{height:100%;width:100%;object-fit:cover;transition:transform .4s}.tl-retreat-card:hover img{transform:scale(1.04)}.tl-retreat-body{padding:24px}.tl-retreat-body>span{font-size:.75rem;text-transform:uppercase;letter-spacing:.13em;color:#977b52;font-weight:800}.tl-retreat-body h3{font-size:1.75rem;line-height:1.2;margin:12px 0}.tl-retreat-body p{font-size:.9rem;line-height:1.7;color:#65706b;min-height:6em}.tl-retreat-body strong{font-size:.84rem;color:#237059}.tl-all-topics{padding-top:110px;padding-bottom:110px}.tl-topics-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #dadfd7;border-left:1px solid #dadfd7}.tl-topic{display:flex;align-items:center;gap:15px;min-height:86px;padding:18px;border-right:1px solid #dadfd7;border-bottom:1px solid #dadfd7;color:#163b3b!important}.tl-topic:hover{background:#e9f0e8}.tl-topic>span{font-size:.74rem;color:#8c9a8f;font-weight:700}.tl-topic>strong{flex:1;font-size:.93rem;line-height:1.35}.tl-topic>b{color:#698a79}.tl-manee-band{background:#133933;color:#fff}.tl-manee-content{display:grid;grid-template-columns:1fr 1fr;gap:7vw;align-items:center;padding-top:70px;padding-bottom:70px}.tl-manee-band h2{font-size:clamp(3rem,6vw,5.5rem);margin:14px 0}.tl-manee-band p{max-width:550px;color:#e0e8e1;line-height:1.8}.tl-manee-content>img{width:100%;max-height:420px;aspect-ratio:1.2;object-fit:cover}.tl-qas{padding-top:85px;padding-bottom:80px}.tl-qas-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.tl-qas-grid>a{display:grid;gap:12px;background:#fff;padding:24px;min-height:170px;color:#214a42!important}.tl-qas-grid small{color:#6d827a}.tl-qas-grid strong{font-size:1.12rem}.tl-qas-grid span{font-size:.82rem;color:#4f8c75}.tl-disclaimer{border-top:1px solid #ddd;display:flex;gap:24px;padding-top:22px;padding-bottom:30px;font-size:.75rem;color:#697b74;line-height:1.5}.tl-disclaimer strong{white-space:nowrap;color:#41665a}@media(max-width:980px){.tl-feature-grid,.tl-retreat-grid,.tl-topics-grid,.tl-qas-grid{grid-template-columns:repeat(2,1fr)}.tl-section-head{align-items:start;flex-direction:column;gap:12px}.tl-retreat-body p{min-height:0}.tl-manee-content{gap:25px}}@media(max-width:680px){.tl-container{width:calc(100% - 34px)}.tl-hero{min-height:700px}.tl-hero-content{margin:0 22px;width:calc(100% - 44px);padding:55px 0}.tl-hero-shade{background:linear-gradient(90deg,rgba(6,35,35,.85),rgba(6,35,35,.43))}.tl-hero h1{font-size:3.65rem}.tl-intro{grid-template-columns:1fr;gap:18px;padding:70px 0}.tl-feature-grid,.tl-retreat-grid,.tl-topics-grid,.tl-qas-grid,.tl-manee-content{grid-template-columns:1fr}.tl-feature-wrap,.tl-all-topics{padding-bottom:70px}.tl-retreat-band{padding:70px 0}.tl-feature{aspect-ratio:1.25}.tl-all-topics{padding-top:70px}.tl-manee-content{padding:50px 0}.tl-disclaimer{flex-direction:column;gap:5px}}

/* ThaiLife V4 — local design touches; global theme presets remain editable. */
.site-footer.enhanced-footer{background:linear-gradient(130deg,#263d3a 0%,#344b42 48%,#554936 100%)!important;border-top:3px solid #bd9e65;color:#f9f3e8}
.site-footer.enhanced-footer a{color:#f4dfb6}
.site-footer.enhanced-footer a:hover{color:#fff6e4}
.site-footer .footer-logo{max-height:64px;width:auto;object-fit:contain;background:rgba(28,70,62,.9);padding:6px;border-radius:8px}
.site-header .brand-logo-wrap{background:#285148;border-radius:9px;padding:5px}
.tl-property-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.tl-property-band{padding-top:38px;padding-bottom:52px}
.tl-property-card{display:block;overflow:hidden;border-radius:16px;background:#fffaf0;border:1px solid rgba(151,126,79,.25);color:#26352f;text-decoration:none;box-shadow:0 9px 36px rgba(34,45,34,.08)}
.tl-property-card img{display:block;width:100%;height:230px;object-fit:cover}
.tl-property-card>div{padding:20px 25px 26px}
.tl-property-card small{color:#946e31;letter-spacing:.11em;text-transform:uppercase}
.tl-property-card h3{font-size:clamp(20px,2vw,29px);margin:8px 0 10px;color:#23372f}
.tl-property-card p{color:#485e53;line-height:1.6}
.tl-property-card strong{color:#806025}
.tl-manee-preview{padding-top:52px;padding-bottom:60px}
.tl-manee-frame{overflow:hidden;border:1px solid rgba(152,123,72,.35);border-radius:19px;background:#fff;box-shadow:0 14px 40px rgba(16,46,37,.14);margin-bottom:15px}
.tl-manee-frame iframe{display:block;width:100%;height:650px;border:0}
.tl-property-direct-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
@media(max-width:740px){.tl-property-grid{grid-template-columns:1fr}.tl-property-card img{height:205px}.tl-manee-frame iframe{height:710px}}


/* OTC_THAILIFE_V13_SPLIT_HERO */
/* Balanced first-screen introduction: original beach photograph and live Manee. */
.tl-home .tlv13-hero-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:stretch;margin-top:18px;margin-bottom:34px;}
.tl-home .tlv13-image-panel,.tl-home .tlv13-manee-panel{min-width:0;height:620px;min-height:0;}
.tl-home .tlv13-image-panel{overflow:hidden;border-radius:16px;background:#173e38;}
.tl-home .tlv13-image-panel .tl-hero{min-height:0;height:100%;width:100%;}
.tl-home .tlv13-image-panel .tl-hero-image{object-fit:cover;object-position:center center;}
.tl-home .tlv13-image-panel .tl-hero-shade{background:linear-gradient(90deg,rgba(6,35,35,.84) 0%,rgba(11,51,49,.45) 74%,rgba(5,40,43,.13) 100%);}
.tl-home .tlv13-image-panel .tl-hero-content{margin:0;padding:22px 32px 30px;width:100%;max-width:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;height:100%;box-sizing:border-box;}
.tl-home .tlv13-image-panel .tl-hero h1{font-size:clamp(2.5rem,3.35vw,4.6rem);line-height:1.04;margin:18px 0 20px;max-width:100%;overflow-wrap:normal;}
.tl-home .tlv13-image-panel .tl-hero p{font-size:clamp(.88rem,1vw,1rem);line-height:1.6;max-width:520px;margin:0;}
.tl-home .tlv13-image-panel .tl-hero .tl-art-note{font-size:.73rem;margin-top:16px;opacity:.85;}
.tl-home .tlv13-image-panel .tl-hero-actions{margin-top:14px;}
.tl-home .tlv13-image-panel .tl-scroll-hint{bottom:13px;right:18px;}
.tl-home .tlv13-manee-panel{display:flex;flex-direction:column;background:#f6f4ee;border:1px solid #d9dacd;border-radius:16px;overflow:hidden;box-shadow:0 8px 28px rgba(22,51,43,.09);}
.tl-home .tlv13-manee-head{flex:0 0 auto;padding:18px 22px 12px;color:#24443c;}
.tl-home .tlv13-eyebrow{display:block;text-transform:uppercase;letter-spacing:.14em;font-size:.68rem;font-weight:800;color:#7f744d;}
.tl-home .tlv13-manee-head h2{font-family:Georgia,'Times New Roman',serif;line-height:1.08;font-size:clamp(1.75rem,2.25vw,2.45rem);margin:6px 0 5px;color:#1f4038;}
.tl-home .tlv13-manee-head h2 em{color:#ad8a52;}
.tl-home .tlv13-manee-head p{font-size:.82rem;line-height:1.45;color:#586c62;margin:0;}
.tl-home .tlv13-manee-frame{flex:1 1 auto;min-height:0;overflow:hidden;background:#fff;border-top:1px solid #e4e4dd;border-bottom:1px solid #e4e4dd;}
.tl-home .tlv13-manee-frame iframe{display:block;width:100%;height:100%;border:0;}
.tl-home .tlv13-manee-foot{flex:0 0 auto;display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;padding:11px 20px 12px;font-size:.79rem;font-weight:700;}
.tl-home .tlv13-manee-foot a{color:#1c6956!important;text-decoration:underline;text-underline-offset:3px;}
/* The separate /ask page keeps the original full-size assistant. */
@media(max-width:1050px){
  .tl-home .tlv13-hero-split{grid-template-columns:minmax(0,1fr);gap:15px;}
  .tl-home .tlv13-image-panel{height:390px;}
  .tl-home .tlv13-manee-panel{height:660px;}
  .tl-home .tlv13-image-panel .tl-hero-content{padding:30px 30px 32px;}
  .tl-home .tlv13-image-panel .tl-hero h1{font-size:clamp(2.5rem,5vw,4.25rem);}
}
@media(max-width:680px){
  .tl-home .tlv13-hero-split{width:calc(100% - 24px);margin-top:12px;margin-bottom:24px;gap:12px;}
  .tl-home .tlv13-image-panel{height:360px;border-radius:12px;}
  .tl-home .tlv13-image-panel .tl-hero{min-height:0;}
  .tl-home .tlv13-image-panel .tl-hero-content{margin:0;width:100%;padding:21px 20px 24px;}
  .tl-home .tlv13-image-panel .tl-hero h1{font-size:clamp(2.1rem,9vw,3.25rem);margin:10px 0;}
  .tl-home .tlv13-image-panel .tl-hero p{font-size:.79rem;line-height:1.42;}
  .tl-home .tlv13-image-panel .tl-hero-actions{margin-top:12px;gap:9px;}
  .tl-home .tlv13-image-panel .tl-button{padding:10px 13px;font-size:.75rem;gap:9px;}
  .tl-home .tlv13-image-panel .tl-art-note,.tl-home .tlv13-image-panel .tl-scroll-hint{display:none;}
  .tl-home .tlv13-manee-panel{height:660px;border-radius:12px;}
  .tl-home .tlv13-manee-head{padding:14px 15px 9px;}
  .tl-home .tlv13-manee-head h2{font-size:1.85rem;}
  .tl-home .tlv13-manee-head p{font-size:.77rem;}
  .tl-home .tlv13-manee-foot{padding:10px 13px;font-size:.73rem;}
}

/* OTC_THAILIFE_V15_SITE_ONLY */
/* Keep the proven Manee source URL. Do not require ?embed=1 or change the assistant. */
.tl-home .tlv13-image-panel,.tl-home .tlv13-manee-panel{height:760px;}
.tl-home .tlv13-manee-head{padding:12px 18px 8px;}
.tl-home .tlv13-manee-head h2{font-size:clamp(1.65rem,2vw,2.1rem);margin:2px 0 2px;}
.tl-home .tlv13-manee-head p{font-size:.78rem;line-height:1.3;}
.tl-home .tlv13-manee-foot{padding:8px 16px 9px;}
.tl-home .tlv13-manee-frame{flex:1 1 auto;min-height:0;overflow:hidden;}
.tl-home .tlv13-manee-frame iframe{display:block;width:100%;height:100%;border:0;overflow:hidden;}
/* Welcome copy left and original image right. */
.tl-home .tlv15-intro-flip{grid-template-columns:minmax(0,1.25fr) minmax(0,.9fr);gap:5vw;align-items:center;padding-top:72px;}
.tl-home .tlv15-intro-flip .tl-intro-copy,.tl-home .tlv15-intro-flip .tl-intro-visual{min-width:0;}
.tl-home .tlv15-intro-flip .tl-intro-visual img{width:100%;height:auto;display:block;object-fit:cover;border-radius:10px;}
@media(max-width:1050px){
 .tl-home .tlv13-image-panel{height:390px;}
 .tl-home .tlv13-manee-panel{height:760px;}
 .tl-home .tlv15-intro-flip{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:28px;padding-top:64px;}
}
@media(max-width:680px){
 .tl-home .tlv13-image-panel{height:360px;}
 .tl-home .tlv13-manee-panel{height:740px;}
 .tl-home .tlv15-intro-flip{grid-template-columns:1fr;gap:20px;padding-top:56px;}
 .tl-home .tlv15-intro-flip .tl-intro-copy{order:1;}
 .tl-home .tlv15-intro-flip .tl-intro-visual{order:2;}
}
