/*
Theme Name: SUAI138 TXT 1 Theme
Description: ธีมหลักจาก SUAI138 TXT 1 พร้อมหน้าแรกจากต้นฉบับ และช่องตั้งค่าเดิม ใช้งานได้โดยไม่ต้องมีธีมแม่หรือปลั๊กอินต้นฉบับ
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Author: Custom Site Tools
Text Domain: suai138-txt-1-theme
*/
/* Used on ordinary WordPress pages only. The original landing keeps its bundled CSS unchanged. */
:root { color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; background: #fbf8ef; color: #302515; font: 17px/1.75 system-ui, sans-serif; }
a { color: #805800; text-underline-offset: .2em; }
a:hover { color: #422e00; }
.site-header, .site-footer, .site-main { width: min(1060px, calc(100% - 36px)); margin-inline: auto; }
.site-header { padding: 28px 0; border-bottom: 1px solid #dacaa8; }
.site-brand { font-weight: 800; font-size: 1.55rem; text-decoration: none; }
.site-description { margin: .25em 0 0; }
.site-nav ul { display: flex; gap: 18px; flex-wrap: wrap; padding: 0; list-style: none; }
.site-nav ul ul { display: block; margin: 8px 0 8px 16px; }
.site-main { padding: 36px 0; min-height: 55vh; }
.entry { background: #fff; padding: clamp(20px, 4vw, 40px); margin-bottom: 26px; border: 1px solid #e7ddc7; border-radius: 12px; overflow-wrap: anywhere; }
.entry-title { font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.35; margin-top: 0; }
.entry-title a { text-decoration: none; }
.entry img, .entry video { max-width: 100%; height: auto; }
.entry iframe { max-width: 100%; }
.entry table { border-collapse: collapse; display: block; overflow-x: auto; }
.entry th, .entry td { padding: 8px 12px; border: 1px solid #d8caaa; }
.entry pre { overflow-x: auto; padding: 16px; background: #f4f0e6; }
.entry-meta { color: #675945; font-size: .9rem; }
.site-footer { padding: 24px 0; border-top: 1px solid #dacaa8; font-size: .9rem; }
input, textarea, button, select { font: inherit; max-width: 100%; }
input[type="search"], input[type="password"] { padding: 7px 10px; border: 1px solid #bdab86; border-radius: 5px; }
button, input[type="submit"] { padding: 8px 14px; background: #805800; color: #fff; border: 0; border-radius: 5px; cursor: pointer; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); width: 1px; height: 1px; position: absolute; overflow: hidden; white-space: nowrap; }
.screen-reader-text:focus { clip: auto; clip-path: none; width: auto; height: auto; top: 8px; left: 8px; z-index: 999999; padding: 12px; background: white; }
.alignleft { float: left; margin: 0 18px 18px 0; }
.alignright { float: right; margin: 0 0 18px 18px; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .85rem; color: #675945; }
.page-links, .navigation { margin-block: 20px; }
