/* Hanuman Theme — วิดเจ็ต/บล็อกลากวาง (หน้าเว็บ + ตัวแก้ไข · แยกไฟล์ 1.11.0 ให้ตัวแก้ไขโหลดได้แม้ปลั๊กอินอื่นตัดสไตล์ตัวแก้ไขของธีม) */
/* ---------- วิดเจ็ตลากวาง 1.4.0 ---------- */
.hnth-w { margin-block: 0 1.5rem; }
.hnth-w-title { font-size: 1.05rem; margin: 0 0 .6rem; }
.hnth-w-cap { font-size: .875rem; color: var(--wp--preset--color--muted); margin: .4rem 0 0; }
.hnth-w-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: 999px; background: var(--wp--preset--color--primary); color: #fff !important; text-decoration: none !important; font-weight: 600; font-size: .9rem; }
.hnth-vid { position: relative; aspect-ratio: var(--r, 16/9); width: 100%; background: #0b1220; border-radius: 12px; overflow: hidden; }
.hnth-vid[style*="9/16"] { max-width: min(340px, 100%, calc(80vh * 9 / 16)); margin-inline: auto; }
.hnth-vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hnth-vid-play { all: unset; box-sizing: border-box; position: absolute; inset: 0; cursor: pointer; display: grid; place-items: center; color: #fff; }
.hnth-vid--tiktok .hnth-vid-play { background: radial-gradient(circle at 30% 20%, #25f4ee33, transparent 50%), radial-gradient(circle at 70% 80%, #fe2c5533, transparent 50%), #111; }
.hnth-vid--facebook .hnth-vid-play { background: linear-gradient(135deg, #1877f2, #0b3d91); }
.hnth-vid-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hnth-vid-btn { position: relative; display: grid; place-items: center; width: 68px; height: 48px; border-radius: 14px; background: rgba(0,0,0,.72); transition: background .15s; }
.hnth-vid--youtube .hnth-vid-btn { background: #e00; }
.hnth-vid-play:hover .hnth-vid-btn, .hnth-vid-play:focus-visible .hnth-vid-btn { background: var(--wp--preset--color--primary); }
.hnth-vid-play:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.hnth-vid-src { position: absolute; top: 10px; left: 12px; font-size: .75rem; font-weight: 700; letter-spacing: .02em; background: rgba(0,0,0,.55); padding: 2px 8px; border-radius: 999px; }
.hnth-vid-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px; font-size: .875rem; line-height: 1.35; background: linear-gradient(transparent, rgba(0,0,0,.7)); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wp-block-embed .hnth-vid { margin: 0; }
.hnth-map { position: relative; height: var(--h, 360px); border-radius: 12px; overflow: hidden; background: var(--wp--preset--color--surface); }
.hnth-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.hnth-map-open { margin: .6rem 0 0; }
.hnth-map.is-facade { display: grid; place-items: center; background: var(--wp--preset--color--surface) repeating-linear-gradient(45deg, transparent 0 22px, rgba(0,0,0,.035) 22px 23px), linear-gradient(135deg, #e6efe9, #dfe8f1); }
.hnth-map.is-facade.is-sat { background: #2c3a2f repeating-linear-gradient(-30deg, rgba(255,255,255,.04) 0 30px, transparent 30px 60px); color: #fff; }
.hnth-map-load { display: grid; justify-items: center; gap: .25rem; padding: 1rem 1.4rem; border: 0; border-radius: 14px; background: rgba(255,255,255,.92); color: var(--wp--preset--color--contrast); box-shadow: 0 6px 24px rgba(0,0,0,.12); cursor: pointer; font: inherit; max-width: 90%; }
.hnth-map-load:hover, .hnth-map-load:focus-visible { outline: 3px solid var(--wp--preset--color--primary); outline-offset: 2px; }
.hnth-map-load small { color: #5b6b7c; overflow-wrap: anywhere; }
.hnth-map-pin { width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--wp--preset--color--brand-red, #c62828); box-shadow: inset 0 0 0 7px var(--wp--preset--color--brand-red, #c62828), inset 0 0 0 13px #fff; }
.hnth-map-card { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; justify-content: space-between; margin-top: .6rem; padding: .85rem 1rem; border: 1px solid rgba(0,0,0,.08); border-radius: 12px; background: var(--wp--preset--color--base, #fff); }
.hnth-map-info { display: grid; gap: .15rem; min-width: 0; }
.hnth-map-info span { color: #5b6b7c; font-size: .92em; }
.hnth-map-btns { display: flex; flex-wrap: wrap; gap: .5rem; }
.hnth-map-btns .hnth-w-btn { min-height: 44px; display: inline-flex; align-items: center; }
.hnth-w-btn.is-ghost { background: transparent; color: var(--wp--preset--color--primary) !important; box-shadow: inset 0 0 0 1.5px currentColor; }
.hnth-map-tabs { display: flex; gap: .4rem; overflow-x: auto; margin-bottom: .6rem; scrollbar-width: thin; }
.hnth-map-tab { flex: 0 0 auto; min-height: 44px; padding: .4rem 1rem; border: 1.5px solid rgba(0,0,0,.12); border-radius: 999px; background: transparent; font: inherit; cursor: pointer; }
.hnth-map-tab[aria-selected="true"] { background: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--primary); color: #fff; }
@media (max-width: 599px) { .hnth-map-card { flex-direction: column; align-items: stretch; } .hnth-map-btns .hnth-w-btn { flex: 1 1 auto; justify-content: center; } }
@media (max-width: 599px) { .hnth-map { height: min(var(--h, 360px), 70vh); } }
.hnth-ci { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.hnth-ci li { display: flex; gap: .6rem; align-items: flex-start; }
.hnth-ci-i { flex: 0 0 20px; margin-top: .15rem; color: var(--wp--preset--color--primary); }
.hnth-ci-line .hnth-ci-i { color: #06c755; }
.hnth-ci a { text-decoration: none; }
.hnth-ci li > div { min-width: 0; overflow-wrap: anywhere; }
.hnth-w-nav { display: inline-block; margin-top: .25rem; font-size: .85rem; font-weight: 600; }
.hnth-hours { width: 100%; border-collapse: collapse; font-size: .925rem; }
.hnth-hours th, .hnth-hours td { padding: .4rem .25rem; border-bottom: 1px solid var(--wp--preset--color--line); text-align: left; font-weight: 400; }
.hnth-hours td { text-align: right; white-space: nowrap; }
.hnth-hours tr.is-today { font-weight: 700; color: var(--wp--preset--color--primary); }
.hnth-hours tr.is-today th { font-weight: 700; }
.hnth-hours-st { display: inline-block; margin: 0 0 .5rem; padding: .2rem .7rem; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.hnth-hours-st.is-open { background: #e6f6ec; color: #11683a; }
.hnth-hours-st.is-closed { background: #fdecec; color: #9b1c1c; }
.hnth-rp { list-style: none; margin: 0; padding: 0; }
.hnth-rp--list li { display: flex; gap: .7rem; align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--wp--preset--color--line); }
.hnth-rp--list li:last-child { border-bottom: 0; }
.hnth-rp--list .hnth-rp-img { flex: 0 0 64px; }
.hnth-rp--list .hnth-rp-img img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; display: block; }
.hnth-rp--cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.hnth-rp--cards li { border: 1px solid var(--wp--preset--color--line); border-radius: 12px; overflow: hidden; background: var(--wp--preset--color--base); }
.hnth-rp--cards .hnth-rp-img img { width: 100%; aspect-ratio: 16/10; height: auto; object-fit: cover; display: block; }
.hnth-rp--cards .hnth-rp-b { padding: .7rem .8rem .9rem; }
.hnth-rp-b { display: grid; gap: .15rem; min-width: 0; }
.hnth-rp-t { font-weight: 600; line-height: 1.4; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hnth-rp time { font-size: .8rem; color: var(--wp--preset--color--muted); }
.hnth-soc { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.hnth-soc a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; text-decoration: none; }
.hnth-soc--s a { width: 36px; height: 36px; } .hnth-soc--l a { width: 52px; height: 52px; }
.hnth-soc svg { width: 55%; height: 55%; }
.hnth-soc-facebook a { background: #1877f2; } .hnth-soc-line a { background: #06c755; } .hnth-soc-youtube a { background: #f00; } .hnth-soc-tiktok a { background: #111; } .hnth-soc-instagram a { background: radial-gradient(circle at 30% 107%, #fdf497 0, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.hnth-soc--logos a { background: none !important; color: currentColor; width: 36px; height: 36px; }
.hnth-soc a:focus-visible { outline: 3px solid var(--wp--preset--color--accent); outline-offset: 2px; }
.wp-site-blocks > footer .hnth-w-title { color: inherit; }

/* ---------- วิดเจ็ต 1.6.0 ---------- */
.hnth-w-btn--ghost { background: transparent; color: inherit !important; box-shadow: inset 0 0 0 2px currentColor; }
.hnth-cta { border-radius: 16px; padding: clamp(1.25rem, 4vw, 2rem); text-align: center; }
.hnth-cta--brand { background: var(--wp--preset--color--primary); color: #fff; }
.hnth-cta--accent { background: var(--wp--preset--color--accent); color: #fff; }
.hnth-cta--light { background: var(--wp--preset--color--surface); color: var(--wp--preset--color--contrast); border: 1px solid var(--wp--preset--color--line); }
.hnth-cta--brand .hnth-w-btn, .hnth-cta--accent .hnth-w-btn:not(.hnth-w-btn--ghost) { background: #fff; color: var(--wp--preset--color--primary) !important; }
.hnth-cta-h { font-size: clamp(1.15rem, 3vw, 1.5rem); font-weight: 700; line-height: 1.3; margin: 0 0 .4rem; }
.hnth-cta-t { margin: 0 0 1rem; opacity: .92; }
.hnth-cta-b { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.hnth-about { text-align: center; }
.hnth-about-img img { width: 100%; max-width: 280px; height: auto; border-radius: 12px; display: block; margin: 0 auto .7rem; }
.hnth-about.is-round .hnth-about-img img { width: 140px; height: 140px; object-fit: cover; border-radius: 50%; }
.hnth-about-n { font-weight: 700; margin: 0 0 .3rem; }
.hnth-about-t { margin: 0 0 .8rem; color: var(--wp--preset--color--muted); font-size: .925rem; }
.hnth-banner { position: relative; display: block; border-radius: 12px; overflow: hidden; }
.hnth-banner img { width: 100%; height: auto; display: block; transition: transform .3s; }
a.hnth-banner:hover img { transform: scale(1.02); }
a.hnth-banner:focus-visible { outline: 3px solid var(--wp--preset--color--accent); outline-offset: 2px; }
.hnth-banner-c { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1rem .9rem; color: #fff; font-weight: 700; font-size: 1.05rem; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.hnth-fbpage { position: relative; width: 100%; max-width: 500px; aspect-ratio: auto; border-radius: 12px; overflow: hidden; background: #f0f2f5; }
.hnth-fbpage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- แผนที่: ความกว้าง/จัดตำแหน่ง 1.11.0 ---------- */
.hnth-map-box { width: 100%; }
.hnth-map-box.has-mw { max-width: var(--mw); }
.hnth-map-box.is-al-center { margin-inline: auto; }
.hnth-map-box.is-al-left { margin-right: auto; margin-left: 0; }
.hnth-map-box.is-al-right { margin-left: auto; margin-right: 0; }
@media (max-width: 599px) { .hnth-map-box.has-mw { max-width: 100%; } }

/* ---------- ตัวเลขผลงาน 1.13.0 ---------- */
.hnth-stats { --st-c: var(--wp--preset--color--primary); display: grid; grid-template-columns: repeat(var(--st-n, 4), minmax(0, 1fr)); gap: 1.25rem; text-align: center; }
.hnth-st { container-type: inline-size; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; padding: .5rem .25rem; }
.hnth-st p { margin: 0; }
.hnth-st-top { font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--wp--preset--color--muted); margin-bottom: .25rem !important; }
.hnth-st-v { font-size: min(var(--st-fs, 44px), calc(100cqi / (var(--st-len, 4) * .62))); line-height: 1.1; font-weight: 700; color: var(--st-c); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hnth-st-v.is-text { white-space: normal; }
.hnth-st-n { display: inline-block; text-align: right; }
.hnth-st-fx { font-size: .85em; }
.hnth-st-l { margin-top: .35rem !important; font-size: .95rem; color: var(--wp--preset--color--muted); }
.hnth-stats.has-div .hnth-st + .hnth-st { border-left: 1px solid rgba(0,0,0,.12); }
.hnth-stats.is-card .hnth-st { background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 14px; box-shadow: 0 6px 18px rgba(16,24,40,.06); padding: 1.25rem .75rem; }
.hnth-stats.is-card.has-div .hnth-st + .hnth-st { border-left: 1px solid rgba(0,0,0,.08); }
.hnth-stats.is-band { background: var(--st-c); border-radius: 14px; padding: 1.5rem 1rem; gap: 0; }
.hnth-stats.is-band .hnth-st-v, .hnth-stats.is-band .hnth-st-l, .hnth-stats.is-band .hnth-st-top { color: #fff; }
.hnth-stats.is-band .hnth-st-l, .hnth-stats.is-band .hnth-st-top { opacity: .85; }
.hnth-stats.is-band.has-div .hnth-st + .hnth-st { border-left-color: rgba(255,255,255,.35); }
@media (max-width: 781px) {
	.hnth-stats:not(.is-n1) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hnth-stats.is-n3 .hnth-st:last-child, .hnth-stats.is-n5 .hnth-st:last-child { grid-column: 1 / -1; }
	.hnth-st-v { font-size: min(calc(var(--st-fs, 44px) * .78), calc(100cqi / (var(--st-len, 4) * .62))); }
	.hnth-stats.has-div .hnth-st + .hnth-st { border-left: 0; }
	.hnth-stats.is-band { gap: 1rem 0; }
}

/* ---------- ปุ่มช่องทางติดต่อ 1.13.0 ---------- */
.hnth-lk { --lk-c: var(--wp--preset--color--primary); --lk-h: 40px; --lk-fs: .95rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.hnth-lk.is-s { --lk-h: 34px; --lk-fs: .85rem; } .hnth-lk.is-l { --lk-h: 48px; --lk-fs: 1.05rem; }
.hnth-lk.is-al-center { justify-content: center; } .hnth-lk.is-al-right { justify-content: flex-end; }
.hnth-lk-b { box-sizing: border-box; display: inline-flex; align-items: center; gap: .5em; min-height: var(--lk-h); padding: 0 1em 0 .8em; border-radius: 999px; font-size: var(--lk-fs); font-weight: 600; line-height: 1.2; text-decoration: none !important; border: 2px solid transparent; transition: transform .15s, box-shadow .15s, filter .15s; max-width: 100%; }
.hnth-lk.is-round .hnth-lk-b { border-radius: 10px; }
.hnth-lk-b:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.15); filter: brightness(1.05); }
.hnth-lk-b:focus-visible { outline: 3px solid var(--wp--preset--color--accent, #e8710a); outline-offset: 2px; }
.hnth-lk-i { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.hnth-lk-i.is-img { object-fit: contain; border-radius: 4px; }
.hnth-lk-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hnth-lk.is-brand .hnth-lk-b { background: var(--b, var(--lk-c)); color: var(--f, #fff) !important; }
.hnth-lk.is-brand .hnth-lk--instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.hnth-lk.is-mono .hnth-lk-b { background: var(--lk-c); color: #fff !important; }
.hnth-lk.is-outline .hnth-lk-b { background: transparent; color: var(--lk-c) !important; border-color: currentColor; }
.hnth-lk.is-outline .hnth-lk-b:hover { background: var(--lk-c); color: #fff !important; }
.hnth-lk.is-icon .hnth-lk-b { width: var(--lk-h); padding: 0; justify-content: center; background: var(--b, var(--lk-c)); color: var(--f, #fff) !important; }
.hnth-lk.is-icon .hnth-lk--instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.hnth-lk.is-icon.is-pill .hnth-lk-b { border-radius: 50%; }
.hnth-lk.is-icon .hnth-lk-i { width: 52%; height: 52%; }
@media (max-width: 599px) {
	.hnth-lk.is-mfull { flex-direction: column; align-items: stretch; }
	.hnth-lk.is-mfull .hnth-lk-b { justify-content: center; }
}
.hnth-lk-b.is-ghost { background: transparent !important; color: #5b6b7c !important; border: 2px dashed #9aa5b1; font-weight: 400; }

/* ---------- แถวจัดวาง (Row Layout) 1.14.0 ---------- */
.hnth-row { position: relative; box-sizing: border-box; }
.hnth-row.has-layers { isolation: isolate; overflow: hidden; }
.hnth-row-img, .hnth-row-ov { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hnth-row-img { background-repeat: no-repeat; }
.hnth-row-img.is-fixed { background-attachment: fixed; }
.hnth-row-in { position: relative; display: grid; grid-template-columns: var(--r-d); column-gap: var(--r-cg, 24px); row-gap: var(--r-rg, 24px); align-items: var(--r-va, stretch); max-width: var(--r-max, 1200px); margin-inline: auto; width: 100%; }
.hnth-row-in > .hnth-col:first-child { grid-column: var(--f-d, auto); }
.hnth-row-in > .hnth-col:last-child { grid-column: var(--l-d, auto); }
.hnth-col { min-width: 0; display: flex; flex-direction: column; box-sizing: border-box; }
.hnth-col > * { margin-block: 0 1rem; } .hnth-col > :last-child { margin-bottom: 0; }
.hnth-col.is-va-center { justify-content: center; } .hnth-col.is-va-end { justify-content: flex-end; }
.hnth-col.has-shadow { box-shadow: 0 8px 24px rgba(16,24,40,.08); }
.hnth-col.has-border { border: 1px solid rgba(0,0,0,.1); }
@media (max-width: 1024px) {
	.hnth-row-in { grid-template-columns: var(--r-t, var(--r-d)); }
	.hnth-row-in > .hnth-col:first-child { grid-column: var(--f-t, var(--f-d, auto)); }
	.hnth-row-in > .hnth-col:last-child { grid-column: var(--l-t, var(--l-d, auto)); }
}
@media (max-width: 767px) {
	.hnth-row-in { grid-template-columns: var(--r-m, var(--r-t, var(--r-d))); }
	.hnth-row-in > .hnth-col:first-child { grid-column: var(--f-m, var(--f-t, var(--f-d, auto))); }
	.hnth-row-in > .hnth-col:last-child { grid-column: var(--l-m, var(--l-t, var(--l-d, auto))); }
	.hnth-row.is-m-rev > .hnth-row-in { display: flex; flex-direction: column-reverse; }
	.hnth-row.is-m-rev > .hnth-row-in > .hnth-col { grid-column: auto; }
	.hnth-row.hnth-hide-m { display: none !important; }
}
@media (min-width: 768px) and (max-width: 1024px) { .hnth-row.hnth-hide-t { display: none !important; } }
@media (min-width: 1025px) { .hnth-row.hnth-hide-d { display: none !important; } }
@media (hover: none) { .hnth-row-img.is-fixed { background-attachment: scroll; } }
/* ตัวแก้ไข: ซ่อนตามอุปกรณ์ = จางลงแทน · ช่องว่างของคอลัมน์ */
.editor-styles-wrapper .hnth-row[class*="hnth-hide-"] { display: block !important; opacity: .45; }
.editor-styles-wrapper .hnth-row.hnth-hide-d, .editor-styles-wrapper .hnth-row.hnth-hide-t, .editor-styles-wrapper .hnth-row.hnth-hide-m { display: block !important; }
.editor-styles-wrapper .hnth-col { min-height: 60px; outline: 1px dashed rgba(0,0,0,.15); outline-offset: -1px; }
.editor-styles-wrapper .hnth-col > * { margin-block: 0 1rem; }
/* ตัวเลือกแบบแถว (แสดงในพื้นที่แก้ไขเท่านั้น) */
.hnth-rl-th{display:grid;gap:3px;width:100%;height:28px}
.hnth-rl-th i{display:block;background:#cfd6dd;border-radius:2px;min-height:12px}
.hnth-rl-opt.components-button{height:auto;min-height:40px;padding:6px;border:1px solid #dcdcde;border-radius:4px;justify-content:center;background:#fff}
.hnth-rl-opt.components-button:hover{border-color:#3858e9}
.hnth-rl-opt.is-on{border-color:#3858e9;box-shadow:inset 0 0 0 1px #3858e9;background:#eef1ff}
.hnth-rl-opt.is-on .hnth-rl-th i{background:#3858e9}
.hnth-rl-txt{font-size:11px;color:#1e1e1e}
.hnth-rl-pick{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:14px}
.hnth-rl-lb{margin:12px 0 6px!important;font-size:11px;font-weight:600;text-transform:uppercase;color:#1e1e1e}
.hnth-rl-seg{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:12px}
.hnth-rl-cnt{display:flex;align-items:center;justify-content:space-between;border:1px solid #dcdcde;border-radius:4px;padding:2px;margin-bottom:6px}
.hnth-rl-ph{padding:24px 16px;border:1px dashed #9aa5b1;border-radius:8px;background:#fff;color:#1e1e1e;text-align:center}
.hnth-rl-ph-t{margin:0 0 14px!important;font-size:14px;font-weight:600;letter-spacing:.04em}
.hnth-rl-ph-g{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px;max-width:900px;margin:0 auto}
.hnth-rl-ph-g .hnth-rl-opt.components-button{min-height:48px}


/* ---------- กล่องไอคอน 1.15.0 ---------- */
.hnth-fb { --fb-ic: var(--wp--preset--color--primary); --fb-ib: color-mix(in srgb, var(--fb-ic) 10%, #fff); display: grid; grid-template-columns: repeat(var(--fb-d, 4), minmax(0, 1fr)); gap: var(--fb-gap, 24px); }
.hnth-fb-i { box-sizing: border-box; display: flex; flex-direction: column; gap: .75rem; min-width: 0; color: inherit; text-decoration: none !important; border-radius: var(--fb-r, 12px); }
.hnth-fb.is-card .hnth-fb-i { background: var(--fb-bg, #fff); padding: 1.5rem 1.25rem; box-shadow: 0 6px 18px rgba(16,24,40,.06); }
.hnth-fb.is-outline .hnth-fb-i { background: var(--fb-bg, transparent); padding: 1.5rem 1.25rem; border: 2px solid color-mix(in srgb, var(--fb-ic) 35%, transparent); }
.hnth-fb.is-plain .hnth-fb-i { background: var(--fb-bg, transparent); }
a.hnth-fb-i { transition: transform .15s, box-shadow .15s; }
a.hnth-fb-i:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(16,24,40,.12); }
a.hnth-fb-i:focus-visible, .hnth-fb-more:focus-visible { outline: 3px solid var(--wp--preset--color--accent, #e8710a); outline-offset: 2px; }
.hnth-fb.is-center .hnth-fb-i { align-items: center; text-align: center; }
.hnth-fb.is-ic-left .hnth-fb-i { flex-direction: row; align-items: flex-start; text-align: left; }
.hnth-fb-ic { flex: none; display: grid; place-items: center; width: var(--fb-is, 56px); height: var(--fb-is, 56px); color: var(--fb-ic); }
.hnth-fb.is-sh-square .hnth-fb-ic { background: var(--fb-ib); border-radius: calc(var(--fb-is, 56px) * .22); }
.hnth-fb.is-sh-circle .hnth-fb-ic { background: var(--fb-ib); border-radius: 50%; }
.hnth-fb-ic svg { width: 58%; height: 58%; }
.hnth-fb.is-sh-none .hnth-fb-ic svg { width: 100%; height: 100%; }
.hnth-fb-ic img { width: 70%; height: 70%; object-fit: contain; }
.hnth-fb.is-sh-none .hnth-fb-ic img { width: 100%; height: 100%; }
.hnth-fb-emo { font-size: calc(var(--fb-is, 56px) * .55); line-height: 1; }
.hnth-fb-b { display: flex; flex-direction: column; gap: .4rem; min-width: 0; flex: 1; }
.hnth-fb.is-center .hnth-fb-b { align-items: center; }
.hnth-fb .hnth-fb-t { margin: 0; font-size: var(--fb-ts, 1.2rem); font-weight: var(--fb-tw, 700); line-height: 1.35; color: var(--fb-tc, var(--wp--preset--color--primary)); overflow-wrap: anywhere; }
.hnth-fb-x { font-size: var(--fb-xs, .95rem); line-height: 1.6; color: var(--fb-xc, var(--wp--preset--color--muted)); overflow-wrap: anywhere; }
.hnth-fb-more { margin-top: auto; padding-top: .35rem; font-weight: 600; font-size: .95rem; color: var(--fb-ic) !important; text-decoration: none !important; }
.hnth-fb-more:hover { text-decoration: underline !important; }
@media (max-width: 1024px) { .hnth-fb { grid-template-columns: repeat(var(--fb-t, 2), minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.hnth-fb { grid-template-columns: repeat(var(--fb-m, 1), minmax(0, 1fr)); }
	.hnth-fb .hnth-fb-t { font-size: min(var(--fb-ts, 1.2rem), 1.25rem); }
}
/* กล่องไอคอน 1.16.0: แบบจัดวางสำเร็จรูป + แถวสุดท้ายจัดกลาง */
.hnth-fb.is-right .hnth-fb-i { align-items: flex-end; text-align: right; }
.hnth-fb.is-right .hnth-fb-b { align-items: flex-end; }
.hnth-fb.is-ic-right .hnth-fb-i { flex-direction: row-reverse; align-items: flex-start; }
.hnth-fb.is-ic-left .hnth-fb-b, .hnth-fb.is-ic-right .hnth-fb-b { align-items: stretch; }
.hnth-fb.is-ic-mid .hnth-fb-i { align-items: center; }
.hnth-fb.is-ic-inline .hnth-fb-t { display: inline; }
.hnth-fb-ic.is-inl { display: inline-grid; width: 1.15em; height: 1.15em; margin-right: .35em; vertical-align: -.18em; background: none !important; border-radius: 0 !important; }
.hnth-fb-ic.is-inl svg, .hnth-fb-ic.is-inl img { width: 100%; height: 100%; }
.hnth-fb-ic.is-inl .hnth-fb-emo { font-size: 1em; }
.hnth-fb.is-cl { display: flex; flex-wrap: wrap; justify-content: center; }
.hnth-fb.is-cl > .hnth-fb-i { flex: 0 0 calc((100% - (var(--fb-d, 4) - 1) * var(--fb-gap, 24px)) / var(--fb-d, 4)); }
@media (max-width: 1024px) { .hnth-fb.is-cl > .hnth-fb-i { flex-basis: calc((100% - (var(--fb-t, 2) - 1) * var(--fb-gap, 24px)) / var(--fb-t, 2)); } }
@media (max-width: 767px) { .hnth-fb.is-cl > .hnth-fb-i { flex-basis: calc((100% - (var(--fb-m, 1) - 1) * var(--fb-gap, 24px)) / var(--fb-m, 1)); } }
/* กล่องไอคอน 1.17.0: จัดกลุ่มกล่อง (ซ้าย/กลาง/ขวา) + ความกว้างกลุ่ม */
.hnth-fb { max-width: var(--fb-max, none); }
.hnth-fb.is-ga-center { margin-inline: auto; }
.hnth-fb.is-ga-right { margin-left: auto; margin-right: 0; }
.hnth-fb.is-ga-center, .hnth-fb.is-ga-right { display: flex; flex-wrap: wrap; }
.hnth-fb.is-ga-center { justify-content: center; } .hnth-fb.is-ga-right { justify-content: flex-end; }
.hnth-fb.is-ga-center > .hnth-fb-i, .hnth-fb.is-ga-right > .hnth-fb-i { flex: 0 0 calc((100% - (var(--fb-d, 4) - 1) * var(--fb-gap, 24px)) / var(--fb-d, 4)); }
@media (max-width: 1024px) { .hnth-fb.is-ga-center > .hnth-fb-i, .hnth-fb.is-ga-right > .hnth-fb-i { flex-basis: calc((100% - (var(--fb-t, 2) - 1) * var(--fb-gap, 24px)) / var(--fb-t, 2)); } }
@media (max-width: 767px) { .hnth-fb.is-ga-center > .hnth-fb-i, .hnth-fb.is-ga-right > .hnth-fb-i { flex-basis: calc((100% - (var(--fb-m, 1) - 1) * var(--fb-gap, 24px)) / var(--fb-m, 1)); } }

/* 1.21.1 ตัวเล่นเบาในบล็อกฝังของแกน: ไม่ใช้ช่องว่างสัดส่วนของแกน (กันช่องว่างสูงเหนือวิดีโอ) */
.wp-block-embed__wrapper:has(> .hnth-vid)::before{content:none;display:none;padding:0}

/* 1.22.0 การเรียงเนื้อหาในคอลัมน์ (รูป/วิดเจ็ตชิดกัน) */
.hnth-col.has-gap { gap: var(--col-gap); } .hnth-col.has-gap > * { margin-block: 0; }
.hnth-col.is-flow-row { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: var(--col-gap, 16px); }
.hnth-col.is-flow-row > * { margin: 0; flex: 0 1 auto; min-width: 0; max-width: 100%; }
.hnth-col.is-flow-row > .wp-block-image img { height: auto; }
.hnth-col.is-flow-row.is-va-center { align-items: center; } .hnth-col.is-flow-row.is-va-end { align-items: flex-end; }
.hnth-col.is-flow-grid { display: grid; grid-template-columns: repeat(var(--col-n, 2), minmax(0, 1fr)); gap: var(--col-gap, 16px); align-items: start; }
.hnth-col.is-flow-grid > * { margin: 0; min-width: 0; }
.hnth-col.is-flow-grid > .wp-block-image, .hnth-col.is-flow-grid > .wp-block-image img { width: 100%; }
.hnth-col.is-flow-grid.is-va-center { align-items: center; } .hnth-col.is-flow-grid.is-va-end { align-items: end; }
.hnth-col.is-flow-row.is-ha-center { justify-content: center; } .hnth-col.is-flow-row.is-ha-end { justify-content: flex-end; } .hnth-col.is-flow-row.is-ha-between { justify-content: space-between; }
.hnth-col:not(.is-flow-row):not(.is-flow-grid).is-ha-center { align-items: center; } .hnth-col:not(.is-flow-row):not(.is-flow-grid).is-ha-end { align-items: flex-end; }
@media (max-width: 767px) {
	.hnth-col.is-m-stack.is-flow-row { flex-direction: column; align-items: stretch; }
	.hnth-col.is-m-stack.is-flow-grid { grid-template-columns: minmax(0, 1fr); }
	.hnth-col.is-m-grid2.is-flow-row, .hnth-col.is-m-grid2.is-flow-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* ตัวแก้ไข: กล่องบล็อกในคอลัมน์ที่เรียงแนวนอน */
.editor-styles-wrapper .hnth-col.is-flow-row > .wp-block, .editor-styles-wrapper .hnth-col.is-flow-grid > .wp-block { margin: 0; }

/* 1.23.0 การวางตำแหน่ง — ความกว้าง + จัดตัวเอง (ทุกบล็อก) · หน้าเว็บ: ชิ้นที่ติดกันถูกห่อ .hnth-inl (flex) · ตัวแก้ไข: inline-block */
.hnth-inl.hnth-inl{align-items:flex-start}
.hnth-w-full{display:block;width:100%!important;max-width:100%!important;box-sizing:border-box}
.hnth-w-auto,.hnth-w-cu{vertical-align:top}
.hnth-w-auto.hnth-w-auto,.hnth-w-cu.hnth-w-cu{display:inline-block;max-width:100%;box-sizing:border-box;margin-left:0!important;margin-right:12px!important;margin-block-start:var(--wp--style--block-gap,1.2rem)}
.hnth-w-auto{width:auto!important}
.hnth-w-cu{width:var(--hnth-w)!important}
.hnth-w-auto:is(.wp-block-buttons,.wp-block-social-links,.is-layout-flex),.hnth-w-cu:is(.wp-block-buttons,.wp-block-social-links,.is-layout-flex){display:inline-flex}
.hnth-w-auto:first-child,.hnth-w-auto:first-child+.hnth-w-auto,.hnth-w-auto:first-child+.hnth-w-auto+.hnth-w-auto,.hnth-w-auto:first-child+.hnth-w-auto+.hnth-w-auto+.hnth-w-auto,.hnth-w-auto:first-child+.hnth-w-auto+.hnth-w-auto+.hnth-w-auto+.hnth-w-auto,.hnth-w-auto:first-child+.hnth-w-auto+.hnth-w-auto+.hnth-w-auto+.hnth-w-auto+.hnth-w-auto,.hnth-w-auto:first-child+.hnth-w-auto+.hnth-w-auto+.hnth-w-auto+.hnth-w-auto+.hnth-w-auto+.hnth-w-auto,.hnth-w-auto:first-child+.hnth-w-auto+.hnth-w-auto+.hnth-w-auto+.hnth-w-auto+.hnth-w-auto+.hnth-w-auto+.hnth-w-auto,.hnth-w-cu:first-child,.hnth-w-cu:first-child+.hnth-w-cu,.hnth-w-cu:first-child+.hnth-w-cu+.hnth-w-cu,.hnth-w-cu:first-child+.hnth-w-cu+.hnth-w-cu+.hnth-w-cu,.hnth-w-cu:first-child+.hnth-w-cu+.hnth-w-cu+.hnth-w-cu+.hnth-w-cu,.hnth-w-cu:first-child+.hnth-w-cu+.hnth-w-cu+.hnth-w-cu+.hnth-w-cu+.hnth-w-cu,.hnth-w-cu:first-child+.hnth-w-cu+.hnth-w-cu+.hnth-w-cu+.hnth-w-cu+.hnth-w-cu+.hnth-w-cu,.hnth-w-cu:first-child+.hnth-w-cu+.hnth-w-cu+.hnth-w-cu+.hnth-w-cu+.hnth-w-cu+.hnth-w-cu+.hnth-w-cu{margin-block-start:0}
.hnth-w-auto>img,.hnth-w-cu img{max-width:100%;height:auto}
.hnth-w-cu.wp-block-image img{width:100%}
.hnth-as-start{vertical-align:top;align-self:flex-start}
.hnth-as-center{vertical-align:middle;align-self:center}
.hnth-as-end{vertical-align:bottom;align-self:flex-end}
.hnth-as-stretch{align-self:stretch}
:is(.is-layout-flex,.is-layout-grid,.is-flow-row,.is-flow-grid,.wp-block-buttons,.wp-block-social-links)>.hnth-w-auto{flex:0 0 auto;margin-right:0!important;margin-block-start:0}
:is(.is-layout-flex,.is-layout-grid,.is-flow-row,.is-flow-grid,.wp-block-buttons,.wp-block-social-links)>.hnth-w-cu{flex:0 0 var(--hnth-w);margin-right:0!important;margin-block-start:0}
:is(.is-layout-flex,.is-layout-grid,.is-flow-row,.is-flow-grid,.wp-block-buttons,.wp-block-social-links)>.hnth-w-full{flex:0 0 100%}
.is-flow-grid>.hnth-w-full,.is-layout-grid>.hnth-w-full{grid-column:1/-1}
@media (max-width:767px){
.hnth-mw-full.hnth-mw-full{display:block;width:100%!important;max-width:100%!important;margin-right:0!important;flex:0 0 100%!important}
.hnth-mw-full:is(.wp-block-buttons,.wp-block-social-links,.is-layout-flex){display:flex}
.hnth-mw-auto{display:inline-block;width:auto!important;flex:0 0 auto!important}
.hnth-mw-auto:is(.wp-block-buttons,.wp-block-social-links,.is-layout-flex){display:inline-flex}
.hnth-mw-cu{display:inline-block;width:var(--hnth-mw)!important;max-width:100%;flex:0 0 var(--hnth-mw)!important}
.hnth-mw-cu:is(.wp-block-buttons,.wp-block-social-links,.is-layout-flex){display:inline-flex}
}

/* 1.24.0 วิดีโอหลายคลิป / สไลด์วิดีโอ */
.hnth-vl ul{list-style:none;margin:0;padding:0}
.hnth-vl-play{all:unset;box-sizing:border-box;position:absolute;inset:0;cursor:pointer;display:grid;place-items:center;color:#fff}
.hnth-vl-play img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hnth-vl-play:hover .hnth-vid-btn,.hnth-vl-play:focus-visible .hnth-vid-btn{background:var(--wp--preset--color--primary)}
.hnth-vl-play:focus-visible{outline:3px solid #fff;outline-offset:-6px}
.hnth-vid--tiktok .hnth-vl-play,.hnth-vl-ph.hnth-vid--tiktok{background:radial-gradient(circle at 30% 20%,#25f4ee33,transparent 50%),radial-gradient(circle at 70% 80%,#fe2c5533,transparent 50%),#111}
.hnth-vid--facebook .hnth-vl-play,.hnth-vl-ph.hnth-vid--facebook{background:linear-gradient(135deg,#1877f2,#0b3d91)}
.hnth-vl .hnth-vid[style*="9/16"]{max-width:none}
.hnth-vl-t{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:6px;font-size:.875rem;line-height:1.4}
/* เพลย์ลิสต์ */
.hnth-vl.is-player{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:14px;align-items:start}
.hnth-vl.is-player>.hnth-w-title{grid-column:1/-1}
.hnth-vl-list{display:flex;flex-direction:column;gap:6px;max-height:min(70vh,460px);overflow:auto}
.hnth-vl-it{all:unset;box-sizing:border-box;display:grid;grid-template-columns:120px 1fr;gap:10px;align-items:center;width:100%;padding:5px;border-radius:8px;cursor:pointer}
.hnth-vl-it img,.hnth-vl-ph{display:block;width:120px;aspect-ratio:16/9;object-fit:cover;border-radius:6px;background:#0b1220}
.hnth-vl-it .hnth-vl-t{margin:0}
.hnth-vl-it:hover{background:color-mix(in srgb,var(--wp--preset--color--primary,#2563EB) 8%,transparent)}
.hnth-vl-it[aria-current="true"]{background:color-mix(in srgb,var(--wp--preset--color--primary,#2563EB) 14%,transparent);box-shadow:inset 0 0 0 2px var(--wp--preset--color--primary,#2563EB)}
.hnth-vl-it:focus-visible{outline:3px solid var(--wp--preset--color--primary,#2563EB);outline-offset:1px}
/* สไลด์ */
.hnth-vl-viewport{position:relative}
.hnth-vl-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - (var(--vl-per) - 1)*14px)/var(--vl-per));column-gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.hnth-vl-track::-webkit-scrollbar{display:none}
.hnth-vl-track:focus-visible{outline:3px solid var(--wp--preset--color--primary,#2563EB);outline-offset:3px}
.hnth-vl-slide{scroll-snap-align:start;min-width:0}
.hnth-vl-nav{all:unset;box-sizing:border-box;position:absolute;top:calc(50% - 22px);width:44px;height:44px;border-radius:50%;background:#fff;color:#1E3A8A;box-shadow:0 2px 10px rgba(0,0,0,.25);display:grid;place-items:center;font-size:28px;line-height:1;cursor:pointer;z-index:2}
.hnth-vl-nav.is-prev{left:-12px}.hnth-vl-nav.is-next{right:-12px}
.hnth-vl-nav:focus-visible{outline:3px solid var(--wp--preset--color--primary,#2563EB);outline-offset:2px}
.hnth-vl.at-start:not(.at-end) .is-prev,.hnth-vl.at-start.at-end .hnth-vl-nav{opacity:.35}
.hnth-vl-bar{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:12px;flex-wrap:wrap}
.hnth-vl-dots{display:flex;gap:4px;flex-wrap:wrap;justify-content:center}
.hnth-vl-dot{all:unset;box-sizing:border-box;width:24px;height:24px;display:grid;place-items:center;cursor:pointer}
.hnth-vl-dot::before{content:"";width:8px;height:8px;border-radius:4px;background:#94A3B8;transition:width .2s}
.hnth-vl-dot[aria-current="true"]::before{width:20px;background:var(--wp--preset--color--primary,#2563EB)}
.hnth-vl-dot:focus-visible{outline:2px solid var(--wp--preset--color--primary,#2563EB)}
.hnth-vl-pause,.hnth-vl-morebtn{all:unset;box-sizing:border-box;min-height:36px;padding:6px 16px;border:1px solid var(--wp--preset--color--primary,#2563EB);border-radius:999px;color:var(--wp--preset--color--primary,#2563EB);font-size:.875rem;cursor:pointer}
.hnth-vl-pause:focus-visible,.hnth-vl-morebtn:focus-visible{outline:3px solid var(--wp--preset--color--primary,#2563EB);outline-offset:2px}
/* ตาราง */
.hnth-vl-grid{display:grid;grid-template-columns:repeat(var(--vl-cols),minmax(0,1fr));gap:14px}
.hnth-vl-more{text-align:center;margin:14px 0 0}
.hnth-vl-dlg{width:min(960px,94vw);max-width:none;padding:0;border:0;background:transparent;overflow:visible}
.hnth-vl-dlg::backdrop{background:rgba(0,0,0,.8)}
.hnth-vl-dlgin{border-radius:10px}
.hnth-vl-dlgin[style*="9/16"]{width:min(380px,94vw,calc(85vh*9/16));margin-inline:auto}
.hnth-vl-x{all:unset;position:absolute;top:-46px;right:0;width:40px;height:40px;border-radius:50%;background:#fff;color:#111;font-size:28px;line-height:40px;text-align:center;cursor:pointer}
.hnth-vl-x:focus-visible{outline:3px solid #fff;outline-offset:2px}
@media (max-width:1024px){.hnth-vl-grid{grid-template-columns:repeat(min(var(--vl-cols),3),minmax(0,1fr))}}
@media (max-width:767px){
.hnth-vl.is-player{grid-template-columns:1fr}
.hnth-vl-list{flex-direction:row;overflow-x:auto;max-height:none;scroll-snap-type:x mandatory}
.hnth-vl-list li{flex:0 0 44%;scroll-snap-align:start}
.hnth-vl-it{grid-template-columns:1fr;gap:4px}
.hnth-vl-it img,.hnth-vl-ph{width:100%}
.hnth-vl-track{grid-auto-columns:calc((100% - (var(--vl-mper) - 1)*10px)/var(--vl-mper));column-gap:10px}
.hnth-vl-nav.is-prev{left:4px}.hnth-vl-nav.is-next{right:4px}
.hnth-vl-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
}

/* 1.25.0 เรื่องแนะนำ: เรื่องที่เกี่ยวข้อง + เพิ่งอ่านมา */
.hnth-rel{margin-block:var(--wp--preset--spacing--50,2.5rem) 0}
.hnth-rel[hidden]{display:none}
.hnth-rel-h{display:flex;align-items:center;gap:12px;font-size:1.25rem;margin:0 0 14px}
.hnth-rel-h::after{content:"";flex:1;height:2px;background:color-mix(in srgb,currentColor 12%,transparent)}
.hnth-rel-vp{position:relative}
.hnth-rel-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(var(--rel-cols,3),minmax(0,1fr));gap:18px}
.hnth-rel-item{min-width:0}
.hnth-rel-card{display:flex;flex-direction:column;gap:6px;height:100%}
.hnth-rel-link{display:block;border-radius:10px;overflow:hidden;text-decoration:none}
.hnth-rel-img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px;transition:transform .25s}
.hnth-rel-link:hover .hnth-rel-img{transform:scale(1.04)}
.hnth-rel-ph{display:grid;place-items:center;color:#fff;font-size:2rem;font-weight:700;background:linear-gradient(135deg,var(--wp--preset--color--primary,#1E3A8A),var(--wp--preset--color--secondary,#C2410C))}
.hnth-rel-cat{align-self:flex-start;font-size:.75rem;font-weight:700;color:#fff;background:var(--wp--preset--color--primary,#1E3A8A);border-radius:999px;padding:1px 9px}
.hnth-rel-t{font-size:1rem;line-height:1.4;margin:0}
.hnth-rel-t a{color:inherit;text-decoration:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hnth-rel-t a:hover,.hnth-rel-t a:focus-visible{text-decoration:underline}
.hnth-rel-meta,.hnth-rv-ago{font-size:.8125rem;color:#526071}
.hnth-rel.is-slider .hnth-rel-list,.hnth-rv.is-slider .hnth-rel-list{grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:calc((100% - (var(--rel-cols,3) - 1)*18px)/var(--rel-cols,3));overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.hnth-rel-list::-webkit-scrollbar{display:none}
.hnth-rel.is-slider .hnth-rel-item,.hnth-rv.is-slider .hnth-rel-item{scroll-snap-align:start}
.hnth-rel-nav{display:none;position:absolute;top:calc(50% - 40px);width:40px;height:40px;border:0;border-radius:50%;background:#fff;color:var(--wp--preset--color--primary,#1E3A8A);box-shadow:0 2px 10px rgba(0,0,0,.22);font-size:26px;line-height:1;cursor:pointer;z-index:2}
.hnth-rel.has-over .hnth-rel-nav{display:grid;place-items:center}
.hnth-rel-nav.is-prev{left:-12px}.hnth-rel-nav.is-next{right:-12px}
.hnth-rel-nav:disabled{opacity:0;pointer-events:none}
.hnth-rel-nav:focus-visible{outline:3px solid var(--wp--preset--color--primary,#2563EB);outline-offset:2px}
/* เพิ่งอ่านมา: การ์ดเล็ก */
.hnth-rv .hnth-rel-list{gap:12px;grid-template-columns:repeat(var(--rel-cols,4),minmax(0,1fr))}
.hnth-rv.is-slider .hnth-rel-list{grid-auto-columns:calc((100% - (var(--rel-cols,4) - 1)*12px)/var(--rel-cols,4))}
.hnth-rv-card{display:grid;grid-template-columns:84px minmax(0,1fr);gap:10px;align-items:center;padding:7px;border-radius:10px;background:color-mix(in srgb,currentColor 4%,transparent)}
.hnth-rv-card .hnth-rel-img{border-radius:7px}
.hnth-rv-card .hnth-rel-ph{font-size:1.25rem}
.hnth-rv-card .hnth-rel-t{font-size:.875rem;font-weight:600}
.hnth-rv-ago{color:var(--wp--preset--color--primary,#1E3A8A);font-weight:600;font-size:.75rem}
.hnth-rv.is-list .hnth-rel-list{grid-template-columns:1fr}
.hnth-rv .hnth-rel-nav{top:calc(50% - 20px)}
.hnth-rv-foot{margin:8px 0 0;text-align:right}
.hnth-rv-clear{all:unset;cursor:pointer;font-size:.8125rem;color:#526071;text-decoration:underline;padding:4px 2px}
.hnth-rv-clear:focus-visible{outline:2px solid var(--wp--preset--color--primary,#2563EB)}
/* แถบข้าง: เรียงลง */
.hnth-layout-side .hnth-rel-list,aside .hnth-rel-list{grid-template-columns:1fr!important;grid-auto-flow:row!important;overflow:visible}
.hnth-layout-side .hnth-rel-nav,aside .hnth-rel-nav{display:none!important}
@media (max-width:1024px){.hnth-rel.is-grid .hnth-rel-list{grid-template-columns:repeat(min(var(--rel-cols,3),2),minmax(0,1fr))}.hnth-rv:not(.is-list) .hnth-rel-list{--rel-cols:2}}
@media (max-width:767px){
.hnth-rel.is-m-slider .hnth-rel-list{grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:80%;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px}
.hnth-rel.is-m-slider .hnth-rel-item{scroll-snap-align:start}
.hnth-rel.is-m-stack .hnth-rel-list{grid-template-columns:1fr;grid-auto-flow:row}
.hnth-rel-nav{display:none!important}
.hnth-rv .hnth-rel-list{grid-template-columns:1fr!important;grid-auto-flow:row!important;overflow:visible}
.hnth-rv .hnth-rel-item:nth-child(n+4){display:none}
}

/* 1.25.1 ภาพเด่นเรื่องที่เกี่ยวข้อง: สัดส่วน/การวาง/ตำแหน่ง (กันธีม/ปลั๊กอินอื่นทับ height:auto) */
.hnth-rel:not(.hnth-rv) .hnth-rel-img{width:100%!important;height:auto!important;max-height:none}
.hnth-rel:not(.hnth-rv):not(.is-ar-auto) .hnth-rel-img{aspect-ratio:var(--rel-ar,16/9)!important;object-fit:cover!important}
.hnth-rel.hnth-rel.is-fit-contain:not(.hnth-rv) .hnth-rel-img{object-fit:contain!important;background:color-mix(in srgb,currentColor 6%,transparent)}
.hnth-rel.is-img-left .hnth-rel-card{display:grid;grid-template-columns:minmax(90px,38%) minmax(0,1fr);grid-template-rows:auto auto 1fr;column-gap:12px;row-gap:4px;align-items:start}
.hnth-rel.is-img-left .hnth-rel-link{grid-row:1/4}
.hnth-rel.is-img-left .hnth-rel-t{font-size:.9375rem}
.hnth-rel.is-img-left .hnth-rel-cat{justify-self:start}
.hnth-rv .hnth-rel-img{aspect-ratio:16/9!important;height:auto!important;object-fit:cover!important}

/* ===== 1.28.0 ภาษาดีไซน์เดียวกับหน้าแรกใหม่ (การ์ด 16px · ภาพ 16:9 · ป้ายหมวดแคปซูล · ชื่อ 2 บรรทัด · หัวบทความบนแถบไล่สี) ===== */
:root{--hnth-card-r:16px;--hnth-hero-grad:linear-gradient(135deg,color-mix(in srgb,var(--wp--preset--color--brand-red-dark,#462510) 62%,#000) 0%,var(--wp--preset--color--brand-red,#6C3818) 60%,color-mix(in srgb,var(--wp--preset--color--brand-red,#6C3818) 82%,#fff) 100%)}
.hnth-pill,.hnth-pill-terms a{display:inline-block;align-self:flex-start;font-size:.75rem;font-weight:700;line-height:1.5;letter-spacing:.2px;padding:2px 11px;border-radius:999px;background:color-mix(in srgb,var(--wp--preset--color--secondary,#A3672A) 14%,var(--wp--preset--color--base,#fff));color:color-mix(in srgb,var(--wp--preset--color--secondary,#A3672A) 70%,#000);text-decoration:none}
.hnth-pill-terms{display:flex;flex-wrap:wrap;gap:6px;margin:0;font-size:inherit}
.hnth-pill-terms .wp-block-post-terms__separator{display:none}
.hnth-pill-terms a:not(:first-of-type){display:none}
/* การ์ด: บทความล่าสุด (แบบการ์ด) · หน้ารวมบทความ · เรื่องที่เกี่ยวข้อง */
.hnth-rp--cards{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:24px;list-style:none;padding:0}
.hnth-rp--cards li,.hnth-card,.hnth-rel:not(.hnth-rv):not(.is-img-left) .hnth-rel-card{background:var(--wp--preset--color--base,#fff);border:1px solid var(--wp--preset--color--line,#E3E9EF);border-radius:var(--hnth-card-r);overflow:hidden;transition:transform .2s,box-shadow .2s}
.hnth-rp--cards li:hover,.hnth-card:hover,.hnth-rel:not(.hnth-rv):not(.is-img-left) .hnth-rel-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(0,0,0,.08)}
.hnth-rp--cards .hnth-rp-img img,.hnth-card .wp-block-post-featured-image img,.hnth-card .wp-block-post-featured-image a{aspect-ratio:16/9!important;height:auto!important;border-radius:0}
.hnth-rp--cards .hnth-rp-b{padding:18px 20px 20px;gap:8px}
.hnth-rp--cards .hnth-rp-t{font-size:1.0625rem;font-weight:700;color:var(--wp--preset--color--contrast,inherit)}
.hnth-rp--cards time,.hnth-card .wp-block-post-date{font-size:.8125rem;color:var(--wp--preset--color--muted,#5B6B7C)}
.hnth-card{display:flex;flex-direction:column;padding:0!important}
.hnth-card-b{display:flex;flex-direction:column;gap:8px;padding:18px 20px 20px;flex:1}
.hnth-card-b>*{margin:0!important}
.hnth-card .wp-block-post-title{font-size:1.0625rem!important;line-height:1.45;font-weight:700}
.hnth-card .wp-block-post-title a{color:var(--wp--preset--color--contrast,inherit);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hnth-card .wp-block-post-excerpt{font-size:.9375rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.hnth-rel:not(.hnth-rv):not(.is-img-left) .hnth-rel-card{gap:8px;padding-bottom:18px}
.hnth-rel:not(.hnth-rv):not(.is-img-left) .hnth-rel-link,.hnth-rel:not(.hnth-rv):not(.is-img-left) .hnth-rel-img{border-radius:0}
.hnth-rel:not(.hnth-rv):not(.is-img-left) .hnth-rel-card>:not(.hnth-rel-link){margin-left:18px;margin-right:18px}
.hnth-rel:not(.hnth-rv):not(.is-img-left) .hnth-rel-cat{margin-top:8px}
.hnth-rel-cat.hnth-pill{color:color-mix(in srgb,var(--wp--preset--color--secondary,#A3672A) 70%,#000);background:color-mix(in srgb,var(--wp--preset--color--secondary,#A3672A) 14%,var(--wp--preset--color--base,#fff));padding:2px 11px}
.hnth-rel-t{font-weight:700}
@media (prefers-reduced-motion:reduce){.hnth-rp--cards li,.hnth-card,.hnth-rel-card{transition:none}.hnth-rp--cards li:hover,.hnth-card:hover,.hnth-rel-card:hover{transform:none}}
/* หัวบทความบนแถบไล่สีเต็มจอ */
.hnth-main:has(>.hnth-post-band:first-child){padding-top:0!important}
.hnth-post-band{background:var(--hnth-hero-grad);color:#fff;margin-top:0!important;margin-bottom:var(--wp--preset--spacing--40,2rem)}
.hnth-post-band-in{max-width:var(--wp--style--global--content-size,760px);margin:0 auto;padding:clamp(40px,6vw,72px) var(--wp--style--root--padding-right,1.25rem) clamp(32px,5vw,56px);display:flex;flex-direction:column;gap:14px}
.hnth-post-band-in>*{margin:0!important}
.hnth-post-band .wp-block-post-title{color:#fff;line-height:1.3}
.hnth-post-band .hnth-meta,.hnth-post-band .hnth-meta a,.hnth-post-band .hnth-crumbs,.hnth-post-band .hnth-crumbs a,.hnth-post-band nav a{color:rgba(255,255,255,.88)!important}
.hnth-post-band .hnth-meta .wp-block-post-terms a{display:inline-block;padding:1px 10px;border-radius:999px;background:rgba(255,255,255,.16);text-decoration:none;color:#fff!important}
.hnth-post-band .hnth-meta .wp-block-post-terms__separator{opacity:0;margin:0 1px}
/* เนื้อหาบทความ: กล่องสรุป · ตาราง · FAQ */
.single-post .hw-answer{background:var(--wp--preset--color--base,#fff);border:1px solid var(--wp--preset--color--line,#E3E9EF);border-left:5px solid var(--wp--preset--color--brand-red,#6C3818);border-radius:var(--hnth-card-r);padding:22px 26px;box-shadow:0 6px 18px rgba(0,0,0,.05)}
.single-post .hw-answer>:first-child{margin-top:0}.single-post .hw-answer>:last-child{margin-bottom:0}
.single-post .wp-block-post-content .wp-block-table table,.single-post .wp-block-post-content>table{border-collapse:separate;border-spacing:0;width:100%;border:1px solid var(--wp--preset--color--line,#E3E9EF);border-radius:12px;overflow:hidden}
.single-post .wp-block-post-content table th,.single-post .wp-block-post-content table td{border:0;border-bottom:1px solid var(--wp--preset--color--line,#E3E9EF);padding:10px 14px;text-align:left}
.single-post .wp-block-post-content table tr:last-child td{border-bottom:0}
.single-post .wp-block-post-content table thead th,.single-post .wp-block-post-content table tr:first-child th{background:var(--wp--preset--color--surface,#F4F7FA);font-weight:700}
.single-post .wp-block-post-content .wp-block-table{overflow-x:auto}
.single-post .wp-block-post-content details{border:1px solid var(--wp--preset--color--line,#E3E9EF);border-radius:12px;padding:14px 18px;margin-block:10px;background:var(--wp--preset--color--base,#fff)}
.single-post .wp-block-post-content details summary{font-weight:700;cursor:pointer}
.single-post .wp-block-post-content details[open] summary{margin-bottom:8px}
.hnth-rp--cards .hnth-pill{justify-self:start}
.hnth-post-band .hnth-crumbs,.hnth-post-band .hnth-crumbs *{color:rgba(255,255,255,.88)!important}
.hnth-main:has(>.hnth-post-band:first-child){margin-top:0!important;margin-block-start:0!important}
/* 1.29.0 สไลด์บทความ */
.hnth-ps .hnth-rel-list{overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.hnth-ps-dots{display:flex;justify-content:center;flex-wrap:wrap;gap:4px;margin-top:12px}
.hnth-ps-dots[hidden]{display:none}
.hnth-ps-dot{all:unset;box-sizing:border-box;width:24px;height:24px;display:grid;place-items:center;cursor:pointer}
.hnth-ps-dot::before{content:"";width:8px;height:8px;border-radius:999px;background:color-mix(in srgb,var(--wp--preset--color--primary,#1E3A8A) 30%,transparent);transition:width .2s,background .2s}
.hnth-ps-dot[aria-current="true"]::before{width:22px;background:var(--wp--preset--color--primary,#1E3A8A)}
.hnth-ps-dot:focus-visible{outline:2px solid var(--wp--preset--color--primary,#2563EB);outline-offset:1px;border-radius:6px}
@media (prefers-reduced-motion:reduce){.hnth-ps-dot::before{transition:none}}
