/* KTG Core — minimal component styles (theme owns layout/typography). */
.ktg-btn{display:inline-block;margin:.25rem .5rem .25rem 0;padding:.6rem 1rem;border-radius:6px;font-weight:600;text-decoration:none;color:#fff;background:#1a56db}
.ktg-btn:hover{opacity:.9;color:#fff}
.ktg-btn--agoda{background:#2067da}.ktg-btn--trip{background:#287dfa}
.ktg-btn--klook{background:#ff5b00}.ktg-btn--kkday{background:#26bec9}.ktg-btn--gyg{background:#ff5533}
.ktg-aff-box{margin:1.5rem 0;padding:1rem 1.25rem;border:1px solid #e5e7eb;border-radius:8px;background:#f9fafb}
.ktg-aff-box__title{margin:0 0 .5rem;font-weight:700}
.ktg-place-card{display:flex;gap:1rem;align-items:center;margin:1rem 0;padding:.75rem;border:1px solid #e5e7eb;border-radius:8px;text-decoration:none;color:inherit}
.ktg-place-card img{width:120px;height:80px;object-fit:cover;border-radius:6px;flex:none}
.ktg-place-card__body{display:flex;flex-direction:column}
.ktg-muted{color:#6b7280;font-size:.875rem}
.ktg-facts{display:grid;grid-template-columns:max-content 1fr;gap:.4rem 1rem;margin:1.5rem 0;padding:1rem;border-radius:8px;background:#f3f4f6}
.ktg-facts dt{font-weight:600}.ktg-facts dd{margin:0}
.ktg-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.5rem;margin:1rem 0}
.ktg-gallery img{width:100%;height:150px;object-fit:cover;border-radius:6px}
.ktg-credit,.ktg-disclosure{font-size:.8rem;color:#6b7280}
.ktg-disclosure{padding:.5rem .75rem;border-left:3px solid #d1d5db;background:#f9fafb}
.ktg-faq details{margin:.5rem 0;padding:.75rem 1rem;border:1px solid #e5e7eb;border-radius:6px}
.ktg-faq summary{font-weight:600;cursor:pointer}
.ktg-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1rem}
/* hotel card [ktg_hotel img=…] */
.ktg-hotel{display:flex;gap:1rem;margin:1.25rem 0;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden;background:#fff}
.ktg-hotel{align-items:stretch}
.ktg-hotel .ktg-hotel__img{display:block;width:280px!important;max-width:280px!important;height:auto!important;min-height:230px;object-fit:cover;flex:0 0 auto;margin:0!important;border-radius:0}
.ktg-hotel__body{padding:.9rem 1rem .9rem 0;flex:1;min-width:0}
.ktg-hotel__name{margin:0 0 .25rem;font-weight:700;font-size:1.1rem;line-height:1.3}
.ktg-hotel__meta{margin:0 0 .5rem;font-size:.85rem;color:#6b7280}
.ktg-hotel__meta strong{color:#111}
.ktg-hotel__why{margin:0 0 .5rem;font-size:.95rem}
.ktg-hotel__feats{display:flex;flex-wrap:wrap;gap:.35rem;margin:0 0 .6rem;padding:0;list-style:none}
.ktg-hotel__feats li{margin:0;padding:.15rem .5rem;font-size:.75rem;background:#f3f4f6;border-radius:999px}
.ktg-hotel__btns .ktg-btn{font-size:.85rem;padding:.5rem .8rem}
@media (max-width:640px){.ktg-hotel{flex-direction:column}.ktg-hotel .ktg-hotel__img{width:100%!important;max-width:none!important;height:200px!important;min-height:0}.ktg-hotel__body{padding:0 1rem 1rem}}
.ktg-hotel__imglink{display:block;flex:0 0 auto;line-height:0}
.ktg-hotel__imglink:hover .ktg-hotel__img{opacity:.92}
@media (max-width:640px){.ktg-hotel__imglink{width:100%}}
/* [ktg_prices] */
.ktg-prices{margin:1.5rem 0;padding:1rem 1.1rem;border:1px solid #e5e7eb;border-radius:10px;background:#fff}
.ktg-prices table{width:100%;border-collapse:collapse;margin:0 0 .5rem;font-size:.95rem}
.ktg-prices th,.ktg-prices td{padding:.55rem .5rem;border-bottom:1px solid #eef0f2;text-align:left;vertical-align:middle}
.ktg-prices thead th{font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;color:#6b7280;font-weight:600}
.ktg-prices tbody th{font-weight:600}
.ktg-prices td a{font-weight:700;color:#1a56db;text-decoration:underline;text-underline-offset:2px}
.ktg-prices td small{font-weight:400;color:#6b7280}
.ktg-prices__cap{margin:0;font-size:.78rem;color:#6b7280}
@media (max-width:640px){.ktg-prices table{font-size:.85rem}.ktg-prices th,.ktg-prices td{padding:.45rem .3rem}}
/* [ktg_bars] / [ktg_stat] — data from official sources */
.ktg-bars{margin:1.5rem 0;padding:1rem 1.1rem;border:1px solid #e5e7eb;border-radius:10px;background:#fff}
.ktg-bars__title{margin:0 0 .6rem;font-weight:700;font-size:1rem;color:#111}
.ktg-bars table{width:100%;border-collapse:collapse;margin:0}
.ktg-bars thead th{font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;color:#6b7280;font-weight:600;text-align:left;padding:0 0 .3rem}
.ktg-bars tbody th{width:4.2rem;padding:.22rem .5rem .22rem 0;font-weight:500;font-size:.85rem;text-align:left;white-space:nowrap;color:#374151}
.ktg-bars tbody td{padding:.22rem 0;position:relative}
.ktg-bars__bar{display:inline-block;height:1.15rem;vertical-align:middle;background:#c7d2de;border-radius:3px;min-width:2px}
.ktg-bars tr.is-hi .ktg-bars__bar{background:#e84024}
.ktg-bars__val{margin-left:.45rem;font-size:.8rem;color:#374151;font-variant-numeric:tabular-nums;vertical-align:middle}
.ktg-bars tr.is-hi th,.ktg-bars tr.is-hi .ktg-bars__val{font-weight:700;color:#111}
.ktg-bars__src{margin:.6rem 0 0;font-size:.75rem;color:#6b7280}
.ktg-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.75rem;margin:1.25rem 0}
.ktg-stat{padding:.8rem .9rem;border:1px solid #e5e7eb;border-radius:10px;background:#fafafa}
.ktg-stat__v{display:block;font-size:1.6rem;font-weight:800;line-height:1.1;color:#e84024;font-variant-numeric:tabular-nums}
.ktg-stat__l{display:block;margin-top:.25rem;font-size:.82rem;color:#4b5563;line-height:1.35}
body .ktg-bars figcaption.ktg-bars__title{margin:0 0 .6rem;padding:0;font-size:1rem;font-weight:700;color:#111;text-transform:none;letter-spacing:0;text-align:left;line-height:1.35}
.ktg-bars tbody td{white-space:nowrap}
.ktg-bars__bar{max-width:calc(100% - 4.5rem)}
/* bars are drawn inside a fixed-width track so lengths stay proportional (value label sits outside the track) */
.ktg-bars__track{display:inline-block;width:calc(100% - 4.8rem);vertical-align:middle;line-height:0}
.ktg-bars__track .ktg-bars__bar{display:block;max-width:none}
