:root{--red:#f30707;--red-dark:#c80000;--ink:#171a20;--muted:#7f8791;--line:#e8e8e8;--soft:#fff4f4}
*{box-sizing:border-box}
body{margin:0;background:white;color:var(--ink);font-family:Sarabun,Arial,sans-serif;font-size:14px}
a{color:inherit;text-decoration:none}
.top-line{height:4px;background:var(--red)}
.container{width:min(1160px,calc(100% - 36px));margin:auto}
.site-header{border-bottom:1px solid var(--line);background:white}
.nav{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0}
.brand{display:flex;align-items:center;gap:12px;font-size:17px;font-weight:800;letter-spacing:.4px}
.brand img{width:76px;height:55px;object-fit:contain}
.brand small{display:block;font-size:10px;font-weight:400;color:var(--muted)}
nav{display:flex;gap:22px;align-items:center;flex-wrap:wrap}
nav a{font-size:12px;color:#666}
nav a:hover,nav .current{color:var(--red)}
.masthead{background:linear-gradient(110deg,#fff 30%,#fff0f0);padding:62px 0;border-bottom:1px solid #f3e4e4}
.eyebrow{font-size:11px;color:var(--red);font-weight:700;letter-spacing:1.8px}
.masthead h1{font-size:clamp(31px,5vw,56px);margin:10px 0;font-weight:800;line-height:1.18}
.masthead em{color:var(--red);font-style:normal}
.masthead p{font-size:15px;color:#63666f;max-width:750px}
.youtube-mark{color:var(--red-dark);font-weight:700;margin-top:20px;font-size:12px}
.section{padding-top:44px;padding-bottom:80px}
.section-title{display:flex;justify-content:space-between;align-items:end;gap:20px}
.section-title h2{font-size:27px;margin:7px 0 0}
.section-title h2 span{color:var(--red)}
.total,.date,.article-meta{color:var(--muted);font-size:12px}
.search{margin:26px 0 28px}
.search label{font-size:11px;color:#666;display:block;margin-bottom:7px}
.search-row{display:flex;gap:8px}
.search input{min-width:0;max-width:450px;flex:1;border:1px solid #ddd;border-radius:9px;padding:13px;font-family:inherit}
.search button,.youtube-button{background:var(--red);color:white;padding:12px 22px;border:0;border-radius:9px;font-family:inherit;font-weight:700;cursor:pointer}
.search button:hover,.youtube-button:hover{background:var(--red-dark)}
.clear{padding:11px;color:#777}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.card{border:1px solid #ededed;border-radius:13px;overflow:hidden;background:white;box-shadow:0 9px 24px rgba(0,0,0,.035);transition:transform .2s,box-shadow .2s}
.card:hover{transform:translateY(-3px);box-shadow:0 16px 30px rgba(0,0,0,.09)}
.thumbnail{aspect-ratio:16/9;position:relative;background:#292d33;overflow:hidden}
.thumbnail img{width:100%;height:100%;object-fit:cover}
.thumb-fallback{display:grid;place-items:center;height:100%;color:white;font-weight:800}
.play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;background:rgba(243,7,7,.93);width:56px;height:56px;display:grid;place-items:center;color:white;font-size:20px;padding-left:3px}
.tag{position:absolute;left:12px;bottom:12px;background:white;color:#bc0000;padding:5px 8px;font-size:9px;border-radius:5px;font-weight:700}
.card-body{padding:19px}
.card-body h3{font-size:15px;line-height:1.7;min-height:76px;margin:10px 0 15px}
.watch{font-size:12px;color:var(--red-dark);font-weight:700}
.pagination{display:flex;justify-content:center;align-items:center;gap:20px;margin-top:35px}
.pagination a{border:1px solid #ddd;border-radius:7px;padding:9px 15px}
.message{padding:22px;background:var(--soft);border-radius:10px;color:#8b2020}
.article-layout{max-width:980px;padding-top:28px;padding-bottom:80px}
.breadcrumb{color:var(--muted);font-size:12px;margin-bottom:40px}
.breadcrumb a:hover{color:var(--red)}
.article-title{font-size:clamp(25px,4vw,41px);line-height:1.45;margin:12px 0 16px}
.article-meta{margin-bottom:25px}
.player{aspect-ratio:16/9;background:black;border-radius:13px;overflow:hidden}
.player iframe{border:0;width:100%;height:100%}
.video-hint{color:var(--muted);font-size:12px}
.youtube-button{display:inline-block;margin:8px 0 22px}
.description{border-top:1px solid var(--line);margin-top:26px;padding-top:20px}
.description h2{font-size:21px}
.description p{white-space:pre-wrap;line-height:1.9;color:#555}
.back{margin-top:36px;color:var(--red-dark);font-weight:600}
footer{border-top:1px solid var(--line);padding:25px 0;font-size:11px;color:#888}
footer .container{display:flex;justify-content:space-between;gap:20px}
footer a{color:var(--red)}
@media(max-width:800px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.nav{flex-direction:column;align-items:flex-start}
.masthead{padding:42px 0}
}
@media(max-width:550px){.cards{grid-template-columns:1fr}
.search-row{flex-wrap:wrap}
.section-title h2{font-size:23px}
.card-body h3{min-height:0}
}

