/* Thailand in Heart – isolated true-photo gallery styles */
.tih-rg{--tih-c:#57443a;--tih-ac:#a9845e;--tih-beige:#f7f1ea;--tih-d:#765e4c;color:var(--tih-c);max-width:1320px;margin:0 auto 50px;font:400 16px/1.65 Arial,Helvetica,sans-serif}
.tih-rg *{box-sizing:border-box}
.tih-rg a{text-decoration:none}
.tih-rg .tih-rg-eyebrow{font:600 11px/1.6 Arial,sans-serif;letter-spacing:3px;text-transform:uppercase;color:#af8a61;margin:0 0 15px}
.tih-rg h2{font:400 clamp(31px,5vw,57px)/1.17 Georgia,'Times New Roman',serif;letter-spacing:-.02em;color:var(--tih-c);margin:0 0 16px}
.tih-rg-hero{position:relative;background-image:linear-gradient(90deg,rgba(37,32,26,.73),rgba(37,32,26,.25)),var(--tih-rg-hero);background-position:center 48%;background-size:cover;min-height:540px;display:flex;align-items:center;margin:0 auto 82px}
.tih-rg-hero-inner{position:relative;max-width:670px;padding:65px 6%;color:#fff}
.tih-rg-hero h2,.tih-rg-hero p{color:#fff}
.tih-rg-hero h2{font-size:clamp(37px,5vw,67px);margin-bottom:18px}
.tih-rg-hero-inner>p:not(.tih-rg-eyebrow){font-size:17px;line-height:1.85;max-width:560px}
.tih-rg .tih-rg-hero-link{display:inline-block;background:#b28b58;color:#fff;padding:13px 24px;border-radius:50px;font-size:13px;font-weight:700;margin-top:17px}
.tih-rg-intro{text-align:center;margin:0 auto 37px;padding:0 22px;max-width:760px}
.tih-rg-intro h2{font-size:clamp(35px,4vw,49px)}
.tih-rg-intro>p:not(.tih-rg-eyebrow){color:#766359;max-width:700px;margin:0 auto}
.tih-rg-nav{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin:0 18px 66px}
.tih-rg .tih-rg-nav a{padding:10px 18px;border:1px solid #ded1c3;color:#6e584b;border-radius:100px;font-size:13px;transition:background .2s}
.tih-rg .tih-rg-nav a:hover,.tih-rg .tih-rg-nav a:focus{background:#f4ece1}
.tih-rg-section{padding:0 20px;margin:0 auto 76px;scroll-margin-top:80px}
.tih-rg-section-header{max-width:730px;margin:0 0 31px}
.tih-rg-section-header h2{font-size:clamp(31px,3.4vw,44px);margin:0 0 12px}
.tih-rg-section-header>p:last-child{color:#7b685d;margin:0}
.tih-rg-grid{columns:3 235px;column-gap:17px}
.tih-rg-photo{position:relative;display:block;break-inside:avoid;overflow:hidden;margin-bottom:17px;background:#eee6dc;cursor:zoom-in;border-radius:2px}
.tih-rg-photo img{display:block;height:auto;width:100%;max-width:100%;transition:transform .3s ease,filter .3s ease}
.tih-rg-photo:hover img,.tih-rg-photo:focus img{transform:scale(1.035);filter:brightness(.97)}
.tih-rg-expand{position:absolute;right:12px;bottom:12px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.87);color:#5a463d;font-size:22px;line-height:1}
.tih-rg-cta{text-align:center;background:var(--tih-beige);padding:70px 25px;margin:40px 20px 0}
.tih-rg-cta h2{font-size:clamp(30px,3.6vw,44px)}
.tih-rg-cta>p:not(.tih-rg-eyebrow){color:#66564c}
.tih-rg-cta a{background:#876447;border-radius:4px;color:#fff;display:inline-block;font-weight:700;font-size:14px;padding:14px 25px;margin-top:20px}
.tih-rg-modal{position:fixed;inset:0;z-index:999999;background:rgba(12,10,10,.96);display:none;align-items:center;justify-content:center;padding:44px 62px}
.tih-rg-modal[aria-hidden="false"]{display:flex}
.tih-rg-modal figure{margin:0;max-width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}
.tih-rg-modal img{max-height:calc(100vh - 125px);max-width:100%;object-fit:contain;box-shadow:0 5px 30px rgba(0,0,0,.2)}
.tih-rg-modal figcaption{color:#eee5de;text-align:center;font-size:13px;margin-top:12px}
.tih-rg-modal button{border:0;background:rgba(255,255,255,.12);color:white;cursor:pointer;width:42px;height:42px;display:grid;place-items:center;border-radius:50%;font:300 37px/1 Arial,sans-serif;position:absolute}
.tih-rg-close{right:16px;top:15px}.tih-rg-prev{left:12px;top:50%}.tih-rg-next{right:12px;top:50%}
@media(max-width:760px){.tih-rg-hero{min-height:410px;margin-bottom:55px}.tih-rg-hero-inner{padding:55px 22px}.tih-rg-section{padding:0 13px;margin-bottom:54px}.tih-rg-grid{columns:2 145px;column-gap:10px}.tih-rg-photo{margin-bottom:10px}.tih-rg-cta{margin:0 12px;padding:52px 20px}.tih-rg-nav{margin-bottom:40px}.tih-rg-modal{padding:45px 38px}.tih-rg-modal button{width:32px;height:32px;font-size:28px}.tih-rg-prev{left:2px}.tih-rg-next{right:2px}}
@media(max-width:440px){.tih-rg-grid{columns:1}.tih-rg-photo{margin-bottom:13px}}
@media(prefers-reduced-motion:reduce){.tih-rg-photo img{transition:none}}
