@font-face{font-family:'Noto Sans Thai';font-style:normal;font-weight:400;font-display:swap;src:url(noto-sans-thai-400.ttf) format('truetype');unicode-range:U+0E00-0E7F}
@font-face{font-family:'Noto Sans Thai';font-style:normal;font-weight:700;font-display:swap;src:url(noto-sans-thai-700.ttf) format('truetype');unicode-range:U+0E00-0E7F}
body.bobbot-article-page{margin:0;background:white}
/* Thai uses self-hosted Noto; Latin retains the existing Figtree face. */
body.bobbot-article-page .bobbot-article .ba-layout,body.bobbot-article-page .bobbot-article .ba-layout *{font-family:'Noto Sans Thai',Figtree,Arial,sans-serif!important}
.bobbot-article{font-family:Figtree,Arial,sans-serif;color:#4c4c4c;background:linear-gradient(#f7f2e2,white 705px);position:relative;isolation:isolate}
.bobbot-article:before{content:'';position:absolute;width:445px;height:273px;left:0;top:527px;transform:rotate(-90deg);transform-origin:0 0;background:url(ring.svg) no-repeat;z-index:-1;pointer-events:none}
.bobbot-article *{box-sizing:border-box}
.bobbot-article .ba-layout{max-width:1200px;margin:auto;padding:208px 0 100px;display:grid;grid-template-columns:minmax(0,755px) minmax(0,370px);gap:75px}
.bobbot-article .ba-post{min-width:0}
.bobbot-article h1{font-size:40px;line-height:1.25;color:#102763;margin:0 0 44px;font-weight:700;overflow-wrap:anywhere}
.bobbot-article .ba-cover img{display:block;width:100%;height:auto;border-radius:8px}
.bobbot-article .ba-meta{display:flex;flex-wrap:wrap;gap:18px;font-size:13px;margin:17px 0 26px}
.bobbot-article .ba-content{font-size:16px;line-height:25px;overflow-wrap:anywhere}
.bobbot-article .ba-content h2,.bobbot-article .ba-content h3{font-size:22px;line-height:1.3;margin:28px 0 10px;color:#4c4c4c}
.bobbot-article .ba-content p{margin:0 0 20px}
.bobbot-article .ba-content img,.bobbot-article .ba-content video{max-width:100%;height:auto}
.bobbot-article .ba-content iframe{max-width:100%}
.bobbot-article .ba-content figure{max-width:100%;margin:24px 0}
.bobbot-article .ba-content table{display:block;max-width:100%;overflow-x:auto}
.bobbot-article .ba-content pre{white-space:pre-wrap;overflow-wrap:anywhere}
.bobbot-article .ba-content a{color:#102763;text-decoration:underline}
.bobbot-article .ba-panel{padding:30px;background:white;border-radius:16px;box-shadow:0 4px 4px #0000000d;margin-bottom:28px}
.bobbot-article .ba-panel h2{font-size:18px;line-height:26px;color:#102763;margin:0 0 17px;padding-bottom:10px;border-bottom:1px solid #ddd}
.bobbot-article .ba-item{display:grid;grid-template-columns:125px minmax(0,1fr);gap:12px;align-items:center;text-decoration:none;color:#102763;margin-bottom:18px}
.bobbot-article .ba-item:last-child{margin-bottom:0}
.bobbot-article .ba-recent img,.bobbot-article .ba-placeholder{width:125px;height:80px;object-fit:cover;border-radius:8px}
.bobbot-article .ba-placeholder{display:flex;align-items:center;justify-content:center;background:#f7f2e2;font-size:12px}
.bobbot-article .ba-item-title{display:block;font-size:14px;line-height:21px;overflow-wrap:anywhere}
.bobbot-article .ba-product .ba-item-title{color:#b28d1b;font-size:16px;font-weight:700;text-transform:uppercase}
.bobbot-article .ba-detail{display:flex;align-items:center;gap:8px;color:#4c4c4c;font-size:14px;margin-top:8px}
.bobbot-article .ba-detail i{width:12.5px;height:10px;background:url(arrow.svg) no-repeat;display:inline-block}
.bobbot-article .ba-product-picture{display:block;position:relative;height:80px;overflow:hidden;border-radius:12px}
.bobbot-article .ba-product-picture img{position:absolute;width:100%;height:228.45%;top:-103.75%;object-fit:cover}
.bobbot-article .ba-item:hover .ba-item-title{text-decoration:underline}
.bobbot-article .ba-share{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:42px}
.bobbot-article .ba-share strong{font-size:22px;margin-right:8px}
.bobbot-article .ba-share a{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#102763;color:white;font-weight:700;font-size:22px;text-decoration:none}
.bobbot-article .ba-share a:hover{background:#b28d1b}
.bobbot-article a:focus-visible{outline:3px solid #338cff;outline-offset:4px}
@media(max-width:1250px){.bobbot-article .ba-layout{margin:0 24px;gap:40px;grid-template-columns:minmax(0,2fr) minmax(300px,1fr)}.bobbot-article .ba-panel{padding:20px}.bobbot-article .ba-item{grid-template-columns:100px minmax(0,1fr)}.bobbot-article .ba-recent img,.bobbot-article .ba-placeholder{width:100px}}
@media(max-width:900px){.bobbot-article .ba-layout{grid-template-columns:1fr;padding-top:150px;gap:40px}.bobbot-article .ba-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:20px}.bobbot-article h1{font-size:34px;margin-bottom:28px}}
@media(max-width:600px){.bobbot-article .ba-layout{margin:0 20px;padding:140px 0 50px}.bobbot-article .ba-sidebar{grid-template-columns:1fr}.bobbot-article h1{font-size:30px}.bobbot-article .ba-item{grid-template-columns:110px minmax(0,1fr)}.bobbot-article .ba-recent img,.bobbot-article .ba-placeholder{width:110px}.bobbot-article .ba-share strong{font-size:18px}}
