/* E: original Rutabi composition, typography, dimensions and assets; colors only. */
html[data-rutabi-home][data-rutabi-premium=original-horizon]{--red:#ee775f;--ink:#073d47;--muted:#566b6d;--line:#d7e0dc;--rg-primary:#b3422f;--rg-dark:#073d47;--rg-vivid:#ee775f;--rg-mark:#f2d0bf;background-color:#fff}
html[data-rutabi-home][data-rutabi-premium=original-horizon] body{background-color:#fff!important;color:#143d45!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .home-main{background-color:#f7f3eb!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-hero{background-color:#f7f3eb!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-hero :is(.rg-photo,figcaption){background-color:#f7f3eb!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-header{background-color:#073d47!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-header .rn-masthead{border-color:#ffffff24!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-header .rn-brand{color:#fff!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-header :is(.rn-dot,.rn-brand>svg){color:#ee775f!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-header .rn-country{color:#f2d0bf!important;border-color:#ffffff55!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-country>span{color:#d0e0df!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .re-site-name{justify-self:start;color:#d0e0df;font-size:13px;font-weight:600;white-space:nowrap}
@media(max-width:760px){html[data-rutabi-home][data-rutabi-premium=original-horizon] .re-site-name{grid-row:1;grid-column:2;font-size:11px}}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-country select,html[data-rutabi-home][data-rutabi-premium=original-horizon] .rh-language summary{background-color:#073d47!important;color:#fff!important;border-color:#ffffff45!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-header .rn-navigation-row{background-color:#fff!important;border-color:#d7e0dc!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-header .rn-group>summary{color:#073d47!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-header .rn-group:first-child>summary,html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-header .rn-group[open]>summary{background-color:#ee775f!important;color:#073d47!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-header .rn-group:first-child .rg-route-stop{background-color:#073d47!important;border-color:#073d47!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-header .rn-map-link{color:#b3422f!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-header .rn-dropdown{border-color:#d7e0dc!important;border-top-color:#ee775f!important;background-color:#fff!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-header .rn-dropdown a{color:#143d45!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-hero h1{color:#073d47!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-hero h1 span{color:#073d47!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-hero .rg-intro{color:#425f63!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-hero-copy>.rg-eyebrow{color:#b3422f!important;border-color:#ee775f!important;background-color:#f7f3eb!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-hero .rg-cta,html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-hero .rg-photo-place{background-color:#ee775f!important;color:#073d47!important;border-color:#ee775f!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-hero .rg-cta>span{color:#fff!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-hero .rg-photo-place{background-color:#073d47!important;color:#fff!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-route{color:#566b6d!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-route b{background-color:#ee775f!important;border-color:#ee775f!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-route i{background-color:#bdcbc6!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] :is(.rh-section-head h2,.rh-travel-links h2,.rh-city-copy h3 a,.rh-feature h3,.rh-interest h3,.rh-prepare-card h3){color:#073d47!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] :is(.rh-section-intro,.rh-city-description,.rh-feature-copy>p:not(.rh-feature-kind),.rh-interest p,.rh-prepare-card p,.rh-travel-links p){color:#566b6d!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] :is(.rh-kicker,.rh-section-more,.rh-feature-kind,.rh-feature-copy>a,.rh-city-copy>p:first-child,.rh-city-copy h3 a>span,.rh-interest-icon,.rh-interest-arrow,.rh-prepare-card svg,.rh-prepare-card>span,.rh-travel-links>div>span){color:#b3422f!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rh-kicker>span{border-color:#e4b7a7!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] :is(.rh-city-card,.rh-feature,.rh-prepare-card){background-color:#fff!important;border-color:#d7e0dc!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rh-city-card:hover{border-color:#ee775f!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] :is(.rh-interest,.rh-prepare-wrap){background-color:#f7f3eb!important;border-color:#d7e0dc!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rh-interests-wrap{background-color:#f7f3eb!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rh-interest{background-color:#fffaf3!important;border-color:#e3dfd4!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rh-interest:hover{background-color:#f9e8df!important;border-color:#ee775f!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] :is(.rh-cities,.rh-recommendations,.rh-interests-wrap .rh-section){border-color:#d7e0dc!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rh-travel-links>a{background-color:#ee775f!important;color:#073d47!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .tln-footer{background-color:#073d47!important;border-color:#ee775f!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rh-footer-dot{color:#ee775f!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .tln-footer :is(p,small){color:#c8dcdb!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .tln-footer a{color:#e1ece9!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] :is(a,button,select,summary):focus-visible{outline-color:#ee775f!important}
/* The original detail template keeps every dimension and all calendar semantics. */
html[data-rutabi-home][data-rutabi-premium=original-horizon] main.thai-detail :is(h1,h2,h3,strong){color:#073d47!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] main.thai-detail :is(.intro,p,dd){color:#425f63!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] main.thai-detail :is(a,.sources a){color:#b3422f!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] main.thai-detail h2{border-color:#ee775f!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] main.thai-detail h2:before{background-color:#ee775f!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] main.thai-detail :is(.location,.tln-editorial-byline,.beach-title-english,figcaption,.month-calendar-note){color:#566b6d!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] main.thai-detail :is(section>article,dl:not(.month-rating-guide),.sources,.sources>details,#related){border-color:#d7e0dc!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] main.thai-detail dl:not(.month-rating-guide) dt{background-color:#f7f3eb!important;color:#073d47!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] main.thai-detail :is(#faq article,.taxi-card article,.sources>details){background-color:#f7f3eb!important}
html[data-rutabi-home][data-rutabi-premium=original-horizon] main.thai-detail .taxi-card article{border-left-color:#ee775f!important}

/* E-only map entry: discover places on the home, open the existing interactive map. */
html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-header .re-map-nav{display:inline-flex!important;align-items:center;gap:7px;padding:9px 16px;min-height:42px;border:1px solid #ded8cc;border-radius:5px;background:#f7f3eb;color:#073d47!important;font-size:13px;text-decoration:none}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .re-map-nav svg{width:17px;height:17px}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .re-map-entry{display:flex;align-items:center;gap:26px;max-width:1180px;width:calc(100% - 64px);margin:0 auto 38px;padding:32px 36px;background:#fffaf3;border:1px solid #e3dfd4;border-left:4px solid #ee775f;border-radius:8px}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .re-map-symbol{display:grid;place-items:center;flex:0 0 68px;height:68px;border-radius:50%;background:#f9e8df;color:#b3422f}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .re-map-symbol svg{width:34px;height:34px}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .re-map-copy{flex:1;min-width:0}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .re-map-copy .re-map-eyebrow{font-size:12px;font-weight:700;color:#b3422f;margin:0 0 8px}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .re-map-copy h2{font-size:clamp(22px,2.2vw,28px)!important;line-height:1.4!important;color:#073d47!important;margin:0 0 12px}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .re-map-copy>p:last-child{font-size:14px;line-height:1.85;color:#566b6d;margin:0}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .re-map-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;flex-shrink:0;padding:15px 21px;border-radius:5px;background:#ee775f;color:#073d47!important;text-decoration:none;font-size:13px;font-weight:700}
html[data-rutabi-home][data-rutabi-premium=original-horizon] .re-map-cta span{color:#fff}
html[data-rutabi-home][data-rutabi-premium=original-horizon] :is(.re-map-cta,.re-map-nav):hover{background:#f2a08d}
@media(max-width:760px){
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-header .rn-group-nav{width:auto;flex:1;min-width:0}
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .rg-header .re-map-nav{font-size:12px;gap:5px;padding:8px 9px;margin-left:7px;min-height:40px}
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .re-map-nav svg{width:14px;height:14px}
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .re-map-entry{width:88%;display:grid;grid-template-columns:1fr;gap:18px;padding:25px 22px;margin-bottom:28px}
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .re-map-symbol{width:48px;height:48px}
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .re-map-symbol svg{width:26px;height:26px}
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .re-map-cta{justify-self:start;min-height:46px}
}

/* Optional live-map version for comparing the same E homepage with/without a map. */
html[data-rutabi-home-map] .re-map-live{max-width:1180px;width:calc(100% - 64px);margin:0 auto 40px}
html[data-rutabi-home-map] .re-map-live-heading{padding:4px 0 24px}
html[data-rutabi-home-map] .re-map-live-heading>p:first-child{color:#b3422f;font-size:12px;font-weight:700;margin:0 0 10px}
html[data-rutabi-home-map] .re-map-live-heading h2{font-size:28px!important;line-height:1.4!important;color:#073d47!important;margin:0 0 12px}
html[data-rutabi-home-map] .re-map-live-heading>p:last-child{color:#566b6d;font-size:14px;line-height:1.85;margin:0}
html[data-rutabi-home-map] .re-map-live .thailand-explorer{width:100%;margin:0;border:1px solid #ded8cc;border-top:3px solid #ee775f;box-shadow:none}
html[data-rutabi-home-map] .re-map-live .panel-heading{background:#fffaf3!important}
html[data-rutabi-home-map] .re-map-live #map-title{font-size:24px!important;line-height:1.4!important;color:#073d47;margin:12px 0}
html[data-rutabi-home-map] .re-map-live :is(.camera-map-results,.panel-camera-count,.home-map-summary,.browse-panel,.selected-place,.saved-map-link,#toggle-cameras,.camera-note,#no-results){display:none!important}
html[data-rutabi-home-map] .re-map-live .category-bar button{color:#073d47!important;background:#fffaf3;border-color:#ded8cc}
html[data-rutabi-home-map] .re-map-live .category-bar button.active{color:#073d47!important;background:#ee775f!important;border-color:#ee775f!important}
html[data-rutabi-home-map] .re-map-live .panel-foot{display:none}
html[data-rutabi-home-map] .re-map-live .map-credit-line{font-size:12px;color:#566b6d}
@media(max-width:799px){
 html[data-rutabi-home-map] .re-map-live{width:88%;margin-bottom:28px}
 html[data-rutabi-home-map] .re-map-live-heading h2{font-size:24px!important}
 html[data-rutabi-home-map] .re-map-live .map-explorer>.map-stage{height:420px;min-height:420px}
 html[data-rutabi-home-map] .re-map-live .panel-scroll{max-height:420px;overflow:auto;flex:0 1 auto}
 html[data-rutabi-home-map] .re-map-live .category-bar{overflow-x:auto;max-width:100%;flex-wrap:nowrap}
}

/* Shared desktop spacing for E homepages, with or without the live map. */
@media(min-width:1024px){
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .home-main :is(.rg-hero,.rh-section,.re-map-live,.re-map-entry,.rh-travel-links){width:90%;max-width:1400px;margin-inline:auto}
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .home-main .rg-hero{padding:36px 0}
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .home-main .rh-section{padding-block:28px}
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .home-main .rh-interests-wrap>.rh-section{padding-block:26px}
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .home-main .rh-section-head{margin-bottom:22px}
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .home-main .rh-travel-links{padding:28px 0}
}

/* Each section starts as a complete screen, including its one shared header.
   Minimum heights preserve every card and credit when content needs more room. */
 html[data-rutabi-home][data-rutabi-premium=original-horizon][data-re-section-docking]{scroll-snap-type:y mandatory;scroll-padding-top:0}
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .re-header-region{display:flex;flex-direction:column;min-height:100svh;scroll-snap-align:start;scroll-snap-stop:always;scroll-margin:0}
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .re-header-dock{flex:0 0 var(--re-section-header-height,142px)}
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .re-header-region>section{flex:1 0 auto;min-height:calc(100svh - var(--re-section-header-height,142px));box-sizing:border-box}
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .re-header-region>:is(.rh-section,.rh-interests-wrap,.rh-prepare-wrap,.re-journey-section){display:flex;flex-direction:column;justify-content:center}
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .rh-interests-wrap{border-top:1px solid #d7e0dc}
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .home-main .rh-interests-wrap>.rh-section{border-top:0}
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .re-journey-section .rh-travel-links{flex-direction:column;justify-content:center;text-align:center;gap:28px}
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .re-journey-section .rh-travel-links h2{font-size:clamp(26px,2.5vw,40px)!important;max-width:900px;margin:16px 0;word-break:keep-all;text-wrap:balance}
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .re-journey-section .rh-travel-links p{max-width:none;word-break:keep-all;text-wrap:balance}
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .re-journey-section .rh-travel-links>a{min-height:50px;padding:15px 24px}
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .re-header-region>.tln-footer{flex:1 0 auto;min-height:calc(100svh - var(--re-section-header-height,142px));margin-block:0;box-sizing:border-box;scroll-snap-align:none}
@media(max-width:640px){
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .rh-prepare-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .rh-prepare-card{padding:16px 14px 36px;min-height:0}
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .rh-prepare-card svg{width:22px;height:22px;margin-bottom:12px}
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .rh-prepare-card h3{font-size:15px!important;line-height:1.5}
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .rh-prepare-card p{font-size:12px;line-height:1.75}
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .re-journey-section .rh-travel-links{display:flex;gap:24px;padding-block:36px}
 html[data-rutabi-home][data-rutabi-premium=original-horizon] .re-journey-section .rh-travel-links>a{margin-top:0}
}
