/* V2 preview: readable cards, proportional photography, compact Bangkok hero. */
body.v2-home.layout-home{background:#edf5ff;color:#183553;font-family:system-ui,-apple-system,"Segoe UI","Microsoft YaHei","Noto Sans Thai",sans-serif;font-size:15px;line-height:1.65}
body.v2-home.layout-home *,body.v2-home.layout-home *:before,body.v2-home.layout-home *:after{box-sizing:border-box}
body.v2-home.layout-home [hidden]{display:none!important}
body.v2-home.layout-home .wrap{max-width:1420px;width:calc(100% - 64px);margin-inline:auto}
body.v2-home.layout-home a{text-decoration:none}body.v2-home.layout-home a:focus-visible,body.v2-home.layout-home button:focus-visible,body.v2-home.layout-home input:focus-visible{outline:3px solid #edbd61;outline-offset:3px}
body.v2-home.layout-home .v2-icon{width:40px;height:40px;flex:none;color:#1265a5}body.v2-home.layout-home .v2-icon.gold{color:#efbd55}body.v2-home.layout-home .v2-icon.green{color:#27a451}
body.v2-home.layout-home header .top{min-height:86px;padding-block:14px;display:flex;align-items:center;gap:26px;justify-content:space-between}
body.v2-home.layout-home .brand{position:relative;gap:12px;padding-bottom:19px;font-size:27px;line-height:1.2;flex:none;color:#173859}
body.v2-home.layout-home .brand img{width:59px;height:52px;object-fit:contain}
body.v2-home.layout-home .v2-brand-sub{position:absolute;left:71px;bottom:0;font-size:12px;white-space:nowrap;color:#63778e;font-weight:500}
body.v2-home.layout-home #v2Search{position:relative;display:flex;flex:1;max-width:465px;border:1px solid #d4deea;border-radius:6px;background:#f9fbfe}
body.v2-home.layout-home #v2Search input{width:100%;min-width:0;border:0;background:transparent;padding:11px 13px;font-size:14px;color:#263e59}
body.v2-home.layout-home #v2Search button{border:0;background:transparent;padding:7px 12px;cursor:pointer}
body.v2-home.layout-home #v2Search .v2-icon{width:22px;height:22px}
#v2SearchResults{position:absolute;top:calc(100% + 5px);left:0;right:0;background:#fff;border:1px solid #dae3ef;border-radius:6px;box-shadow:0 8px 20px #16365522;z-index:30;max-height:350px;overflow:auto}
#v2SearchResults a{display:block;padding:12px;border-bottom:1px solid #eef2f8;color:#183e68;font-size:14px}#v2SearchResults small{display:block;color:#63768b;font-size:12px}#v2SearchResults p{padding:12px;font-size:13px}
.v2-language-buttons{display:flex;gap:8px}.v2-language-buttons button{border:0;background:transparent;color:#63768b;font-size:13px;padding:3px;cursor:pointer}.v2-language-buttons button.selected{color:#114677;font-weight:700}.v2-language-source{display:none!important}
body.v2-home.layout-home .head-actions{display:flex;gap:14px;align-items:center;flex:none}body.v2-home.layout-home .head-actions .btn{padding:10px 15px;font-size:13px}body.v2-home.layout-home .head-actions .btn .v2-icon{width:21px;height:21px;color:inherit}
body.v2-home.layout-home .v1-module-nav{background:#082e64;color:#fff;border:0}body.v2-home.layout-home .v1-module-nav .wrap{display:flex;justify-content:space-between;align-items:center;padding:13px 0;gap:20px}body.v2-home.layout-home .v1-module-nav a{color:#fff;font-size:15px;font-weight:600;white-space:nowrap}body.v2-home.layout-home .v1-module-nav a.promoted{color:#edbb54}
body.v2-home.layout-home .hero-inner{display:grid;grid-template-columns:minmax(0,1fr) 320px 170px;min-height:270px;padding:25px 0;gap:25px;align-items:center}
body.v2-home.layout-home .hero h1{font-size:clamp(28px,2.35vw,36px);line-height:1.45;margin:0 0 14px;letter-spacing:0;white-space:pre-line;font-weight:760}
body.v2-home.layout-home .hero h1 em{color:#f3c365;font-style:normal;font-weight:800}body.v2-home.layout-home .hero p{font-size:15px;color:#dce9f7;line-height:1.8;margin:8px 0}
body.v2-home.layout-home .hero-notes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-top:25px}
body.v2-home.layout-home .hero-notes span{border:0;background:transparent;padding:0;min-width:0}
.v2-hero-feature{display:flex;align-items:center;gap:9px}.v2-hero-feature strong,.v2-hero-feature small{display:block}.v2-hero-feature strong{font-size:13px;color:#f2c36b;line-height:1.4}.v2-hero-feature small{font-size:11px;color:#d8e7f5;margin-top:5px;line-height:1.5}body.v2-home.layout-home .hero-notes .v2-icon{width:30px;height:30px}
body.v2-home.layout-home .v1-calculator{background:#fff;color:#0b2e5c;border:1px solid #d9e1ed;border-radius:10px;padding:17px;box-shadow:0 5px 24px #071c3933;align-self:center}
body.v2-home.layout-home .v1-calculator h2{font-size:19px;line-height:1.4;margin:0 0 13px}body.v2-home.layout-home .v1-calculator>.eyebrow,body.v2-home.layout-home .v1-calculator>p{display:none}
#v2CalcCompact{display:grid;gap:9px}body.v2-home.layout-home #v2CalcCompact label{display:grid;grid-template-columns:1.25fr 1fr;gap:8px;align-items:center;font-size:12px;color:#415b77}body.v2-home.layout-home #v2CalcCompact input,body.v2-home.layout-home #v2CalcCompact select{width:100%;padding:7px;border:1px solid #d6e0ec;color:#234262;background:#fff;border-radius:4px;font-size:13px}
.v2-calc-detail{margin-top:10px}.v2-calc-detail summary{cursor:pointer;font-size:12px;padding:6px 0;color:#60758c}.v2-calc-detail .calc-fields{display:grid;gap:8px;margin:10px 0}.v2-calc-detail .calc-fields label{font-size:12px}.v2-calc-detail input{padding:7px;font-size:13px}
.v2-calc-run{display:block;width:100%;background:#eeb957;color:#173857;border:0;border-radius:5px;padding:10px;margin-top:8px;font-size:14px;font-weight:700;cursor:pointer}
.v2-hero-actions{display:flex;flex-direction:column;gap:13px;margin:0}.v2-hero-actions .btn{background:#062d60d9;color:#fff;border:1px solid #e8ba65;padding:17px 12px;font-size:14px;justify-content:center;white-space:normal;text-align:center;border-radius:6px}
.v2-budget-dialog{width:min(550px,calc(100% - 30px));border:1px solid #dce5ef;border-radius:12px;padding:25px;color:#183c63}.v2-budget-dialog::backdrop,.v2-content-dialog::backdrop{background:#09254799}.v2-budget-dialog h2{font-size:21px}.v2-budget-dialog .calc-result{background:#f4f8fd;border-radius:7px;padding:16px;margin:15px 0}.v2-budget-dialog .calc-result strong{font-size:30px}.v2-budget-dialog .calc-flags{font-size:13px;line-height:1.8}.v2-budget-dialog .calc-actions{display:block}
body.v2-home.layout-home .quick-lane,body.v2-home.layout-home .resources-heading{display:none}
body.v2-home.layout-home #services{padding:24px 0 22px}body.v2-home.layout-home #services .section-head{margin:0 0 14px;text-align:left}body.v2-home.layout-home #services .section-head p{display:none}body.v2-home.layout-home #services h2{font-size:21px;margin:0}
body.v2-home.layout-home #serviceCards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px}
body.v2-home.layout-home #serviceCards .v2-service-card{display:flex;align-items:center;gap:11px;min-height:100px;background:#fff;border:1px solid #e1eaf4;border-radius:9px;padding:15px 12px;color:#15395f;box-shadow:0 3px 12px #12375904}
body.v2-home.layout-home #serviceCards .v2-service-card strong{display:block;font-size:16px;font-weight:750;line-height:1.5}body.v2-home.layout-home #serviceCards .v2-service-card small{display:block;color:#62768b;font-size:12px;line-height:1.6;margin-top:5px}body.v2-home.layout-home #serviceCards .v2-service-card img{width:40px;height:40px;object-fit:contain}
body.v2-home.layout-home .v2-content-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1.25fr) minmax(280px,.88fr);gap:20px;align-items:start}
.v2-column{min-width:0}.v2-content-grid section{padding:20px!important;margin:0 0 18px!important;background:#fff;border:1px solid #e2eaf4;border-radius:10px;box-shadow:0 4px 16px #193a6304}
body.v2-home.layout-home .v2-content-grid .wrap{padding:0;width:100%;max-width:none}.v2-content-grid h2{font-size:20px!important;position:relative;padding-left:13px;margin:0!important;line-height:1.5;color:#163e6c}.v2-content-grid h2:before{content:'';position:absolute;left:0;top:5px;width:4px;height:21px;border-radius:2px;background:#13518e}
.v2-content-grid .section-head,.v2-content-grid .insight-heading{margin:0 0 16px;gap:10px}.v2-content-grid .section-head p,.v2-content-grid .insight-heading p,.v2-content-grid .eyebrow,.v2-content-grid .featured-story{display:none!important}
.v2-content-grid .detail-link,.v2-content-grid .section-head>a,.v2-content-grid .insight-heading>a{font-size:12px;white-space:nowrap;color:#38658f}.v2-content-grid .insight-bottom{padding-top:12px}.v2-content-grid .insight-bottom a{font-size:13px}
.v2-article-tabs{display:flex;gap:7px;border-bottom:1px solid #e3eaf3;margin-bottom:9px}.v2-article-tabs button{border:0;background:transparent;color:#667c92;padding:9px 7px;font-size:13px;cursor:pointer}.v2-article-tabs button.selected{color:#164e88;border-bottom:2px solid #164e88;font-weight:700}
body.v2-home.layout-home #guideCards{display:flex;flex-direction:column;gap:0}.v2-content-grid .v2-article-row{display:grid;grid-template-columns:132px minmax(0,1fr);gap:15px;padding:13px 0;border-bottom:1px solid #ecf0f5;color:#193b60;align-items:center}.v2-article-row:last-child{border-bottom:0}.v2-article-image{position:relative;height:100px;overflow:hidden;border-radius:6px;background:#e7eef6}.v2-article-image img{width:100%;height:100%;object-fit:cover}.v2-article-image span{position:absolute;left:0;bottom:0;background:#144b86ed;color:#fff;padding:4px 7px;font-size:11px}.v2-content-grid .v2-article-row h3{font-size:16px;line-height:1.65;font-weight:700;margin:0 0 8px}.v2-article-row time{font-size:12px;color:#75879b}.v2-article-row time:empty{display:none}
body.v2-home.layout-home #propertyCards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.v2-content-grid .v2-property-card{overflow:hidden;border:1px solid #e2eaf4;border-radius:7px;color:#16385e}.v2-property-image{height:156px;position:relative;background:#e8eef5}.v2-property-image img{width:100%;height:100%;object-fit:cover}.v2-property-image span{position:absolute;top:8px;left:8px;background:#0b467be8;color:#fff;font-size:11px;padding:4px 7px;border-radius:3px}.v2-property-card>div:last-child{padding:12px 10px}.v2-content-grid .v2-property-card h3{font-size:14px;line-height:1.55;margin:0 0 7px}.v2-content-grid .v2-property-card p{font-size:12px;color:#64798f;line-height:1.65;margin:0}
.v2-middle-bottom{display:grid;grid-template-columns:1fr 1fr;gap:16px}.v2-middle-bottom>section{min-width:0;padding:16px!important}.v2-middle-bottom h2{font-size:18px!important}.v2-content-grid .directory-showcase{display:grid;grid-template-columns:1fr 1fr;gap:9px}.v2-content-grid .v2-company-tile{display:flex;flex-direction:column;align-items:center;border:1px solid #e4ebf3;border-radius:6px;padding:7px;text-align:center;color:#164575;overflow:hidden}.v2-company-tile img,.v2-company-tile.directory-preview img{height:95px;width:100%;object-fit:cover}.v2-company-tile strong{font-size:13px;margin-top:8px}.v2-company-tile small{font-size:11px;color:#65798f}.v2-company-tile.directory-preview>div{padding:8px 2px}.v2-company-tile.directory-preview h3{font-size:13px;line-height:1.5;margin:0 0 5px}.v2-company-tile.directory-preview p{font-size:11px;line-height:1.5;margin:0;color:#65798f}.v2-company-tile.directory-preview small,.v2-company-tile.directory-preview span,.directory-bottom p{display:none}.v2-content-grid .directory-bottom{margin-top:10px}.v2-content-grid .directory-bottom a{font-size:12px}
body.v2-home.layout-home .v2-content-grid .tools-layout{display:block}body.v2-home.layout-home .v2-content-grid .tool-tiles{display:flex;flex-direction:column;gap:10px}.v2-content-grid .tool-tiles .v2-tool-card{display:flex;align-items:center;gap:13px;min-height:85px;padding:13px;background:#f7faff;border:1px solid #e1ebf6;border-radius:7px}
/* Original V1 span is a 38px icon badge; V2 span is the text container. */
body.v2-home.layout-home .v2-content-grid .tool-tiles .v2-tool-card>span{display:block;grid-row:auto;width:auto;height:auto;min-width:0;flex:1;border-radius:0;background:none;color:inherit;font-size:inherit;font-weight:inherit;text-align:left}
.v2-tool-card strong,.v2-tool-card small{display:block}.v2-content-grid .v2-tool-card strong{font-size:15px;line-height:1.5}.v2-content-grid .v2-tool-card small{color:#63798f;font-size:12px;line-height:1.6;margin-top:5px}.v2-tool-card img{width:40px;height:40px;object-fit:contain}
#v2OfficialTools{font-size:12px;color:#46678a;margin-top:10px}#v2OfficialTools summary{cursor:pointer;padding:7px 0}#v2OfficialTools a{display:block;padding:7px 0}#v2OfficialTools a>span{margin-right:8px}
body.v2-home.layout-home .tool-side.v2-fx-card{min-height:0;padding:15px;margin-top:14px;border:1px solid #dfebf7;background:#f5f9ff;border-radius:7px}.v2-fx-card h3{font-size:15px;margin:0 0 5px}.v2-fx-card p{font-size:12px;margin:0 0 10px;color:#62778e}body.v2-home.layout-home .v2-fx-card #fxWidget{height:165px;min-height:165px}.v2-fx-card #loadFx{font-size:12px;padding:7px 10px}.v2-fx-card .source-link,.v2-fx-card>a{font-size:12px}
body.v2-home.layout-home .v2-life-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0 10px}.v2-life-tile{position:relative;overflow:hidden;border-radius:6px;background:#244c71}body.v2-home.layout-home .v2-life-tile img{width:100%;height:108px;object-fit:cover;display:block}.v2-life-tile strong{position:absolute;left:0;right:0;bottom:0;background:linear-gradient(transparent,#05274ee8);color:#fff;padding:22px 10px 9px;font-size:14px}.v2-content-grid [data-cms-collection]+a{font-size:12px;color:#37658e}
.v2-sourcing-grid{display:flex;flex-direction:column;gap:9px;margin:14px 0 10px}.v2-sourcing-tile{display:grid;grid-template-columns:31px minmax(0,1fr);column-gap:9px;align-items:center;padding:10px 8px;background:#f8fbff;border:1px solid #e5edf6;border-radius:5px;color:#174575}.v2-sourcing-tile .v2-icon{grid-row:1/3;width:29px!important;height:29px!important}.v2-sourcing-tile strong{font-size:13px;line-height:1.5}.v2-sourcing-tile small{font-size:11px;color:#677c92;margin-top:4px;line-height:1.5}
.v2-ecosystem{margin:2px auto 20px}.v2-ecosystem #v2WechatCards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.v2-ecocard{display:flex;gap:13px;justify-content:space-between;background:#fff;padding:19px;border:1px solid #e0e8f2;border-radius:9px;align-items:center;min-height:115px}.v2-ecocard h3{font-size:16px;line-height:1.5;color:#153b65;margin:0 0 6px}.v2-ecocard p{font-size:12px;color:#63798f;line-height:1.6;margin:0}.v2-wechat-mark{flex:none}.v2-wechat-copy{flex:1;min-width:0}.v2-wechat-copy small{font-size:11px;color:#65798f}.v2-qr,.v2-qr-empty{width:68px;min-width:68px;height:68px;padding:0}.v2-qr{border:1px solid #dce5ef;background:#fff;cursor:pointer}.v2-qr img{width:100%;height:100%;object-fit:contain}.v2-qr-empty{border:1px dashed #bccbdc;border-radius:4px;display:grid;place-content:center;font-size:11px;text-align:center;color:#62748b}.v2-group-cta{background:#32a853;border:0;border-radius:4px;color:#fff;font-size:12px;padding:8px;cursor:pointer}.v2-ecocard .v2-entry-link,.v2-ecocard button[data-copy]{font-size:12px}.v2-empty{font-size:13px;color:#65798f}
.v2-mini-footer{display:flex;justify-content:space-between;gap:20px;padding:17px 0;font-size:12px;color:#587088}.v2-mini-footer a{color:#476a90}body.v2-home.layout-home footer{padding:15px 0;background:#edf3f9;color:#425975}body.v2-home.layout-home footer img,body.v2-home.layout-home footer .foot{display:none}
.v2-content-dialog{max-width:800px;width:calc(100% - 35px);padding:20px;border:1px solid #d9e3ee;border-radius:12px;max-height:90vh;overflow:auto}.v2-dialog-close{display:block;margin-left:auto;border:0;background:#103966;color:#fff;border-radius:5px;padding:8px 16px;cursor:pointer}body.v2-home.layout-home .v2-content-dialog #contact{background:#fff;color:#183553;padding:16px}body.v2-home.layout-home .v2-content-dialog .wrap{width:100%}body.v2-home.layout-home .v2-content-dialog .split{display:block}body.v2-home.layout-home .v2-content-dialog .contact-box{padding:18px;margin-top:15px}body.v2-home.layout-home .v2-content-dialog .contact-email{color:#0e4f87}body.v2-home.layout-home .v2-content-dialog .contact-methods{margin-top:12px}
@media(max-width:1250px){body.v2-home.layout-home .wrap{width:calc(100% - 48px)}body.v2-home.layout-home .hero-inner{grid-template-columns:minmax(0,1fr) 300px;gap:22px}.v2-hero-actions{grid-column:1/-1;flex-direction:row}.v2-hero-actions .btn{padding:10px 18px}body.v2-home.layout-home .hero-notes{grid-template-columns:repeat(2,minmax(0,1fr))}body.v2-home.layout-home .v2-content-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:20px}.v2-right{grid-column:1/-1;display:block}body.v2-home.layout-home .v2-right .tools-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:20px}body.v2-home.layout-home .v2-right .v2-fx-card{margin-top:0}body.v2-home.layout-home #serviceCards{grid-template-columns:repeat(3,minmax(0,1fr))}.v2-middle-bottom{grid-template-columns:1fr}.v2-content-grid .directory-showcase{grid-template-columns:repeat(2,1fr)}.v2-ecosystem #v2WechatCards{gap:14px}.v2-ecocard{flex-wrap:wrap}.v2-content-grid .v2-article-row{grid-template-columns:120px minmax(0,1fr)}}
@media(max-width:1000px){body.v2-home.layout-home header .top{flex-wrap:wrap;gap:16px}body.v2-home.layout-home #v2Search{order:3;max-width:none;flex-basis:100%}body.v2-home.layout-home .v1-module-nav .wrap{overflow:auto;justify-content:flex-start;gap:25px}.v2-property-image{height:135px}.v2-content-grid section{padding:17px!important}.v2-ecosystem #v2WechatCards{grid-template-columns:1fr}.v2-ecocard{flex-wrap:nowrap}.v2-content-grid .v2-article-row{grid-template-columns:105px minmax(0,1fr);gap:11px}.v2-content-grid .v2-article-row h3{font-size:15px}}
@media(max-width:720px){body.v2-home.layout-home .wrap{width:calc(100% - 30px)}body.v2-home.layout-home .hero-inner{grid-template-columns:1fr;gap:20px;padding:24px 0}.v2-hero-actions{grid-column:auto}.v2-hero-actions .btn{flex:1;font-size:13px}body.v2-home.layout-home .hero h1{font-size:29px}body.v2-home.layout-home .hero-notes{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:20px}body.v2-home.layout-home .hero p{font-size:14px}body.v2-home.layout-home .v1-calculator{padding:18px}body.v2-home.layout-home .v2-content-grid{display:block}.v2-right{display:block}body.v2-home.layout-home .v2-right .tools-layout{display:block}body.v2-home.layout-home .v2-right .v2-fx-card{margin-top:15px}.v2-middle-bottom{display:grid;grid-template-columns:1fr 1fr;gap:12px}body.v2-home.layout-home #serviceCards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body.v2-home.layout-home #serviceCards .v2-service-card{padding:13px 9px;gap:9px;min-height:94px}body.v2-home.layout-home #serviceCards .v2-service-card strong{font-size:15px}body.v2-home.layout-home #serviceCards .v2-service-card small{font-size:12px}.v2-content-grid .v2-article-row{grid-template-columns:125px minmax(0,1fr);gap:14px}.v2-content-grid .v2-article-row h3{font-size:16px}.v2-property-image{height:142px}.v2-life-tile img{height:135px!important}.v2-mini-footer{flex-wrap:wrap;gap:10px}.v2-ecocard{padding:16px}}
@media(max-width:470px){body.v2-home.layout-home .brand{font-size:24px}body.v2-home.layout-home .brand img{width:48px;height:44px}body.v2-home.layout-home .v2-brand-sub{left:60px;font-size:11px}body.v2-home.layout-home .head-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;max-width:170px}body.v2-home.layout-home .head-actions .btn{padding:7px 10px;font-size:12px}.v2-language-buttons{gap:3px}.v2-language-buttons button{font-size:12px}.v2-middle-bottom{display:block}body.v2-home.layout-home #propertyCards{grid-template-columns:1fr}.v2-property-card{display:grid;grid-template-columns:43% minmax(0,1fr)}.v2-property-image{height:135px}.v2-property-card>div:last-child{align-self:center;padding:14px}.v2-content-grid .v2-property-card h3{font-size:16px}.v2-content-grid .v2-property-card p{font-size:13px}.v2-content-grid .v2-article-row{grid-template-columns:112px minmax(0,1fr);gap:12px}.v2-ecocard{gap:10px}.v2-ecocard h3{font-size:15px}.v2-ecocard .v2-icon{width:32px;height:32px}}

/* Give overseas-life photography a full readable row, without a tall empty side column. */
body.v2-home.layout-home .v2-life-section{background:#fff;border:1px solid #e2eaf4;border-radius:10px;padding:22px;margin-top:0;margin-bottom:22px;box-shadow:0 4px 16px #193a6304}
.v2-life-section h2{position:relative;font-size:21px;color:#163e6c;padding-left:13px;margin:0}.v2-life-section h2:before{content:'';position:absolute;left:0;top:6px;width:4px;height:21px;border-radius:2px;background:#13518e}
body.v2-home.layout-home .v2-life-section .v2-life-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:18px;gap:16px}body.v2-home.layout-home .v2-life-section .v2-life-tile img{height:170px;max-height:none}.v2-life-section .v2-life-tile strong{font-size:17px;padding:30px 14px 12px}.v2-life-section>a{font-size:13px;color:#37658e}
@media(max-width:720px){body.v2-home.layout-home .v2-life-section{padding:18px}body.v2-home.layout-home .v2-life-section .v2-life-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body.v2-home.layout-home .v2-life-section .v2-life-tile img{height:145px!important}.v2-life-section .v2-life-tile strong{font-size:15px}}
/* Color refinement: bright photography, white headings, gold accents. */
body.v2-home.layout-home .hero{background-image:linear-gradient(90deg,rgba(8,48,100,.58),rgba(11,74,139,.23) 55%,rgba(72,140,193,.02)),url('/assets/bangkok-hero-optimized.webp')}
body.v2-home.layout-home .hero-notes span:before,body.v2-home.layout-home .hero-notes span:after{display:none;content:none}
body.v2-home.layout-home .v2-hero-feature strong{color:#fff;font-size:15px;text-shadow:0 1px 3px #06244f}
body.v2-home.layout-home .v2-hero-feature small{color:#f1f5fb;font-size:12px;text-shadow:0 1px 3px #06244f}
body.v2-home.layout-home .v2-hero-feature img{width:34px;height:34px;object-fit:contain}
body.v2-home.layout-home .head-actions .btn.primary,body.v2-home.layout-home .v2-calc-run{background:linear-gradient(120deg,#ffbd38,#f0a812);color:#103461;border-color:#f6b32e}
body.v2-home.layout-home .head-actions .btn.primary{color:#fff}
body.v2-home.layout-home .v2-icon.blue{stroke:#0e4279;fill:none;filter:drop-shadow(0 2px 2px #1164a31a)}
body.v2-home.layout-home #serviceCards .v2-service-card,body.v2-home.layout-home .v2-tool-card{background:linear-gradient(125deg,#fff,#f9fcff);border-color:#edf3fa}
body.v2-home.layout-home #serviceCards .v2-service-card small,.v2-content-grid .v2-tool-card small,.v2-content-grid .v2-property-card p{color:#526d8c}
body.v2-home.layout-home .v2-content-grid .v2-article-row h3{color:#06295d;font-weight:750}
body.v2-home.layout-home .v2-article-image span{top:7px;right:6px;left:auto;bottom:auto;background:#edf7ffeF;color:#1475c8;border:1px solid #d9edff;border-radius:4px;padding:3px 6px}
body.v2-home.layout-home .v2-property-image span{background:#f3f8fff5;color:#0b3974;border:1px solid #e3edfb;font-weight:700}
body.v2-home.layout-home .v2-entry-link{color:#216da8}
body.v2-home.layout-home [data-cms-collection=navigation],body.v2-home.layout-home [data-cms-collection=footer]{display:flex;gap:18px;flex-wrap:wrap}body.v2-home.layout-home [data-cms-collection=navigation] article,body.v2-home.layout-home [data-cms-collection=footer] article{display:contents}

/* Blue atmosphere and larger editorial imagery. */
body.v2-home.layout-home{background:linear-gradient(180deg,#e9f3ff,#f2f8ff 75%,#eaf3ff)}
body.v2-home.layout-home #serviceCards .v2-icon{width:48px;height:48px;flex-shrink:0}
body.v2-home.layout-home #serviceCards .v2-service-card{background:linear-gradient(135deg,#ffffff,#edf6ff);border-color:#dbeaff}
body.v2-home.layout-home .v2-content-grid .v2-article-row{grid-template-columns:145px minmax(0,1fr)}
body.v2-home.layout-home .v2-article-image{height:110px}
body.v2-home.layout-home .v2-property-image{height:178px}
body.v2-home.layout-home .v2-property-image img{object-position:center}
body.v2-home.layout-home .v2-hero-feature .v2-icon{width:38px;height:42px;flex-shrink:0;filter:drop-shadow(0 2px 2px #06275330)}
@media(max-width:1000px){body.v2-home.layout-home .v2-content-grid .v2-article-row{grid-template-columns:115px minmax(0,1fr)}}
@media(max-width:720px){body.v2-home.layout-home .v2-content-grid .v2-article-row{grid-template-columns:125px minmax(0,1fr)}body.v2-home.layout-home .v2-property-image{height:160px}}
@media(max-width:470px){body.v2-home.layout-home .v2-content-grid .v2-article-row{grid-template-columns:112px minmax(0,1fr)}body.v2-home.layout-home .v2-property-image{height:145px}}

/* TideLeap homepage three-tab business resource navigation, 2026-11-05 */
body.v2-home .tl-tabs-host{display:block;min-width:0}
body.v2-home .tl-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;border-bottom:1px solid #dfe7f1;padding-bottom:8px;margin-bottom:12px}
body.v2-home .tl-tab{border:1px solid #dfe7f1;background:#f4f8fc;color:#0b2d5c;border-radius:7px;padding:10px 4px;font-size:14px;font-weight:750;min-width:0;line-height:1.4}
body.v2-home .tl-tab[aria-selected="true"]{background:#0b2d5c;color:#fff;border-color:#0b2d5c}
body.v2-home .tl-tab:focus-visible{outline:3px solid #d9a21b;outline-offset:2px}
body.v2-home .tl-tab-panel[hidden]{display:none!important}
body.v2-home .tl-tab-panel{min-width:0}
body.v2-home .tl-tab-panel>section{padding:12px!important;margin:0;min-width:0}
body.v2-home .tl-tab-panel .directory-showcase{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.v2-home .tl-tab-panel .directory-preview img{width:100%;aspect-ratio:4/3;object-fit:cover}
body.v2-home .tl-tab-panel .directory-preview h3{font-size:14px;line-height:1.45;overflow-wrap:anywhere}
body.v2-home .tl-tab-panel .directory-preview>div{padding:10px}
body.v2-home .tl-tab-panel .tl-supply-home{display:block;max-width:100%;box-sizing:border-box}
body.v2-home .tl-panel-link{display:inline-block;margin-top:10px;color:#1557a6;font-weight:700}
@media(max-width:720px){body.v2-home .tl-tab{font-size:12px;padding:9px 2px}body.v2-home .tl-tab-panel .directory-showcase{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:400px){body.v2-home .tl-tab-panel .directory-showcase{grid-template-columns:1fr}}

/* Confirmed homepage layout. Existing content cards remain CMS-driven. */
body.v2-home.layout-home .wrap{width:calc(100% - 28px);max-width:1420px}
body.v2-home.layout-home .v2-content-grid{grid-template-columns:minmax(0,1.2fr) minmax(320px,1fr);gap:12px;align-items:stretch}
body.v2-home.layout-home .v2-content-grid section[hidden],body.v2-home #v1Calculator[hidden],body.v2-home .tl-setup-fields [hidden]{display:none!important}
body.v2-home.layout-home .v2-content-grid section{margin:0!important;padding:14px!important}
body.v2-home .v2-left,body.v2-home .v2-right{display:grid;gap:10px}
body.v2-home .v2-right{grid-template-rows:auto 1fr}
body.v2-home #homeResources{display:flex;flex-direction:column;background:#f0f6fd;border-top:3px solid #d6a543}
.tl-home-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:9px;flex:1}
.tl-home-resource-grid article{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #dce7f3;border-radius:8px;background:white}
.tl-home-resource-grid img{display:block;width:100%;aspect-ratio:1.8;object-fit:cover}
.tl-home-resource-grid strong,.tl-home-resource-grid article>a:last-child{display:block;padding:6px 8px;overflow-wrap:anywhere}
.tl-home-resource-grid article>a:last-child{margin-top:auto;font-size:13px;padding-top:0}
body.v2-home.layout-home #serviceCards .v2-service-card strong{font-size:17px}
body.v2-home.layout-home .v2-content-grid .tool-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.v2-home.layout-home .v2-content-grid .tool-tiles .v2-tool-card{min-width:0;background:linear-gradient(90deg,#f2f8ff 42%,#f2f8ffd9 70%,#f2f8ff88),url('/assets/tl-home-tax.webp') right center/auto 100% no-repeat}
body.v2-home.layout-home .v2-content-grid .tool-tiles .v2-icon{stroke:#9b6908;flex-shrink:0}
body.v2-home .tl-home-setup{margin:14px auto;padding:14px;background:#fff;border:1px solid #dfe9f5;border-radius:10px}
body.v2-home .tl-home-setup h2{margin:0 0 6px}.tl-setup-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:10px}
.tl-setup-fields label{font-size:14px;min-width:0}.tl-setup-fields select,.tl-setup-fields input{display:block;width:100%;padding:7px;border:1px solid #c9daed;border-radius:6px;background:white;font:inherit}
.tl-setup-result ul{padding-inline-start:22px}
body.v2-home.layout-home .tl-home-property{margin:14px auto}
@media(max-width:800px){body.v2-home.layout-home .v2-content-grid{grid-template-columns:1fr}.tl-setup-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:470px){body.v2-home.layout-home .v2-content-grid section{padding:10px!important}.tl-home-resource-grid{gap:5px}.tl-home-resource-grid strong,.tl-home-resource-grid article>a:last-child{padding-inline:5px}}

/* Homepage cards use fixed media bounds outside the main two-column layout. */
body.v2-home.layout-home .tl-home-property{padding:14px;border:1px solid #dfe9f5;border-radius:10px;background:white}
body.v2-home.layout-home .tl-home-property #propertyCards{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.v2-home.layout-home .tl-home-property .v2-property-card{display:block;min-width:0;border:1px solid #dfe9f5;border-radius:8px;overflow:hidden;color:#16385e}
body.v2-home.layout-home .tl-home-property .v2-property-image{height:clamp(112px,12vw,175px);overflow:hidden;background:#e7f0fa}
body.v2-home.layout-home .tl-home-property .v2-property-image img{display:block;width:100%;height:100%;object-fit:cover}
body.v2-home.layout-home .tl-home-property .v2-property-card>div:last-child{padding:9px 11px}
body.v2-home.layout-home .tl-home-property h3{margin:0;font-size:16px}
body.v2-home.layout-home .tl-home-property p{margin:4px 0 0}
body.v2-home.layout-home #tools .tl-tax-tool{min-height:58px;padding:9px;gap:8px}
body.v2-home.layout-home #tools .tl-tax-tool .v2-icon{stroke:#a67411;width:26px;height:26px}
body.v2-home.layout-home #tools #v2OfficialTools{margin-top:8px}
body.v2-home.layout-home #tools .tl-original-tools{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
body.v2-home.layout-home .v2-life-section .tl-life-topic{background:white;border:1px solid #dfe9f5;color:#12395f}
body.v2-home.layout-home .v2-life-section .tl-life-topic img{display:block;width:100%;height:auto!important;aspect-ratio:2.25;object-fit:cover}
body.v2-home.layout-home .v2-life-section .tl-life-topic strong{position:static;display:block;padding:8px 10px;background:none;color:#12395f;text-shadow:none;font-size:15px}
@media(max-width:570px){body.v2-home.layout-home .tl-home-property #propertyCards{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Override the legacy homepage property cards while preserving listing styles. */
body.v2-home.layout-home .tl-home-property #propertyCards{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
body.v2-home.layout-home .tl-home-property #propertyCards .v2-property-image{height:clamp(112px,12vw,175px)!important;aspect-ratio:auto}
body.v2-home.layout-home .tl-home-property #propertyCards .v2-property-image img{object-fit:cover!important}
@media(max-width:570px){body.v2-home.layout-home .tl-home-property #propertyCards{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Fit the homepage resource cards to their contents and show a compact FX quote. */
body.v2-home.layout-home .v2-content-grid .v2-right{align-content:start;grid-template-rows:auto auto}
body.v2-home.layout-home .tl-home-resource-grid{flex:none;align-items:start}
body.v2-home.layout-home .tl-home-resource-grid img{aspect-ratio:1.55}
body.v2-home.layout-home .tl-home-resource-grid article>a:last-child{margin-top:0;padding-bottom:8px}
#tlFxSummary{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:10px;padding:9px 10px;border:1px solid #dbe7f4;border-radius:8px;background:#f2f7fd;color:#153d67}
#tlFxSummary .tl-fx-quote{display:block;font-size:12px;margin-top:2px}
#tlFxSummary button{padding:4px 8px;border:1px solid #cbdced;border-radius:6px;background:#fff;color:#15548b;cursor:pointer}

/* Keep a neutral footprint while the public lists load. */
body[data-tl-home-speed] #guideCards[aria-busy=true]{min-height:300px}
body[data-tl-home-speed] #propertyCards[aria-busy=true]{min-height:125px}
