/* Thailand-only enhancement. No shared country components are restyled. */
.wb-country-thailand{--th-ink:#183329;--th-accent:#176142;--th-border:#ccd8ce;--th-soft:#f3f7f1;color:var(--th-ink);min-width:0;overflow-wrap:anywhere}
.wb-country-thailand *{box-sizing:border-box}
.wb-country-thailand [hidden]{display:none!important}
.wb-country-thailand section{min-width:0;margin-block:2.5rem}
.wb-country-thailand h1{font-size:clamp(1.65rem,4vw,2.5rem);line-height:1.4}
.wb-country-thailand h2{font-size:clamp(1.3rem,3vw,1.8rem);line-height:1.5}
.wb-country-thailand h3{font-size:1.08rem;line-height:1.6}
.wb-country-thailand p,.wb-country-thailand li{line-height:1.85}
.wb-country-thailand a{color:#145738;text-underline-offset:.2em}
.wb-country-thailand a:hover{text-decoration-thickness:2px}
.wb-country-thailand :is(a,button,input,select,summary,[tabindex]):focus-visible{outline:3px solid #a34a00;outline-offset:4px}
.wb-country-thailand :is(section,article,[id^="th-beer-"]){scroll-margin-top:1.5rem}
.wb-country-thailand .th-intro{padding:clamp(1rem,3vw,2rem);border:1px solid var(--th-border);border-radius:16px;background:var(--th-soft)}
.wb-country-thailand .th-intro p{max-width:72ch}
.wb-country-thailand .th-nav{display:flex;flex-wrap:wrap;gap:.65rem;margin-block:1.25rem}
.wb-country-thailand .th-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.65rem 1rem;border:1px solid var(--th-accent);border-radius:8px;background:#fff;font-weight:700;line-height:1.5;max-width:100%}
.wb-country-thailand .th-intro .th-nav a:first-child{background:var(--th-accent);color:#fff}
.wb-country-thailand .th-types{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:1rem}
.wb-country-thailand .th-types>*{min-width:0;padding:1rem;border:1px solid var(--th-border);border-radius:12px;background:#fff}
.wb-country-thailand .th-types a{display:inline-flex;align-items:center;min-height:44px;font-weight:700}
.wb-country-thailand .th-table-wrap{max-width:100%;overflow-x:auto;border:1px solid var(--th-border);border-radius:10px;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
.wb-country-thailand .th-table-wrap table{border-collapse:collapse;width:100%;min-width:620px;table-layout:auto;margin:0;text-align:left;font-size:.94rem}
.wb-country-thailand .th-table-wrap caption{text-align:left;padding:1rem;font-weight:700;background:var(--th-soft)}
.wb-country-thailand .th-table-wrap th,.wb-country-thailand .th-table-wrap td{width:auto;max-width:none;padding:.85rem;vertical-align:top;border-bottom:1px solid var(--th-border);line-height:1.75}
.wb-country-thailand .th-table-wrap thead th{background:#e7f0e5;color:#183329}
.wb-country-thailand .th-table-wrap tbody th{min-width:170px;font-weight:700}
.wb-country-thailand .th-table-wrap td{min-width:85px}
.wb-country-thailand .th-table-wrap tr:last-child :is(th,td){border-bottom:0}
.wb-country-thailand .th-table-wrap a{display:inline-block;padding-block:.3rem}
.wb-country-thailand .th-filters{display:grid;grid-template-columns:2fr 1fr 1fr auto;align-items:end;gap:1rem;padding:1rem;border:1px solid var(--th-border);border-radius:12px;background:var(--th-soft);margin-block:1.25rem}
.wb-country-thailand .th-filters label{display:block;min-width:0;font-weight:700;font-size:.95rem}
.wb-country-thailand .th-filters input,.wb-country-thailand .th-filters select{display:block;width:100%;max-width:100%;min-width:0;min-height:44px;margin-top:.4rem;padding:.6rem;border:1px solid #738b7d;border-radius:6px;background:#fff;color:var(--th-ink);font:inherit;font-size:1rem}
.wb-country-thailand .th-filters button{min-height:44px;border:1px solid var(--th-accent);border-radius:6px;padding:.6rem .85rem;background:#fff;color:var(--th-accent);font:inherit;font-weight:700;cursor:pointer}
.wb-country-thailand #th-status{font-weight:700;min-height:1.85em}
.wb-country-thailand #th-beer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:1.25rem}
.wb-country-thailand .th-beer-card{min-width:0;display:flex;flex-direction:column;padding:1rem;border:1px solid var(--th-border);border-radius:12px;background:#fff}
.wb-country-thailand .th-beer-card img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;max-width:300px;margin-inline:auto;background:#fff}
.wb-country-thailand .th-beer-card h3{margin-block:.75rem .4rem}
.wb-country-thailand .th-beer-card h3 a{display:inline-block;min-height:44px}
.wb-country-thailand .th-meta{font-size:.9rem;color:#405748;margin-block:.4rem}
.wb-country-thailand .th-card-body{display:flex;flex-direction:column;flex:1;margin-block:.5rem 0;font-size:.95rem}
.wb-country-thailand .th-card-body>a:last-child{margin-top:auto;display:inline-flex;align-items:center;min-height:44px;font-weight:700}
.wb-country-thailand #th-empty{padding:1rem;border:1px solid var(--th-border);border-radius:8px;background:var(--th-soft)}
.wb-country-thailand details{border:1px solid var(--th-border);border-radius:8px;margin-block:.75rem;padding:.8rem 1rem}
.wb-country-thailand summary{cursor:pointer;font-weight:700;min-height:44px;align-content:center;line-height:1.7}
.wb-country-thailand details p{margin-block:.7rem}
.wb-country-thailand .th-note{font-size:.9rem;color:#405748}
@media(max-width:800px){.wb-country-thailand .th-filters{grid-template-columns:1fr 1fr}.wb-country-thailand .th-filters label:first-child{grid-column:1/-1}}
@media(max-width:420px){.wb-country-thailand .th-filters{grid-template-columns:1fr}.wb-country-thailand .th-nav a{width:100%}.wb-country-thailand .th-intro{padding:1rem}.wb-country-thailand section{margin-block:2rem}}
@media(prefers-reduced-motion:reduce){.wb-country-thailand *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
