/* V24 — featured news thumbnails attached to the homepage slider. */
.hero-stage{position:relative;isolation:isolate;background:#102f27}
.hero-stage .hero-slider{z-index:1}
.hero-stage.has-featured-news .slide-content{max-width:min(760px,54vw)}
.hero-news{position:absolute;z-index:7;right:clamp(26px,4.2vw,78px);top:50%;width:min(430px,35vw);max-height:calc(100% - 104px);padding:22px;border:1px solid rgba(255,255,255,.26);border-radius:26px;background:rgba(250,252,249,.92);box-shadow:0 24px 70px rgba(5,31,24,.28);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);transform:translateY(-50%);color:#183b31}
.hero-news header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:14px;padding:0 2px 14px;border-bottom:1px solid rgba(24,59,49,.12)}
.hero-news header span{display:block;margin-bottom:2px;color:#a27d2e;font-size:10px;font-weight:900;letter-spacing:.16em}
.hero-news h2{margin:0;font:700 clamp(23px,2vw,29px)/1.1 "Noto Serif Thai",serif;color:#183b31}
.hero-news header>a{display:flex;align-items:center;gap:7px;white-space:nowrap;color:#326853;font-size:13px;font-weight:800;text-decoration:none}
.hero-news header>a i{font-style:normal;transition:transform .2s ease}
.hero-news header>a:hover i{transform:translateX(4px)}
.hero-news-list{display:grid;gap:8px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;max-height:calc(100% - 66px)}
.hero-news-item{display:grid;grid-template-columns:74px minmax(0,1fr) 28px;align-items:center;gap:12px;min-height:76px;padding:7px;border:1px solid transparent;border-radius:17px;color:#183b31;text-decoration:none;transition:background .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease}
.hero-news-item:hover,.hero-news-item:focus-visible{background:#fff;border-color:rgba(24,59,49,.12);box-shadow:0 10px 26px rgba(20,58,47,.09);transform:translateY(-1px);outline:none}
.hero-news-item img,.hero-news-placeholder{display:block;width:74px;height:62px;border-radius:12px;object-fit:cover;background:linear-gradient(145deg,#dfeae4,#eef3ef)}
.hero-news-placeholder{display:grid;place-items:center;color:#477463}
.hero-news-placeholder svg{width:26px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.hero-news-copy{min-width:0}
.hero-news-copy small{display:block;margin-bottom:3px;color:#9b7b37;font-size:10px;font-weight:800;letter-spacing:.04em}
.hero-news-copy strong{display:-webkit-box;overflow:hidden;color:#193b31;font-size:14px;line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.hero-news-arrow{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#edf2ed;color:#356650;font-style:normal;transition:background .2s ease,color .2s ease,transform .2s ease}
.hero-news-item:hover .hero-news-arrow{background:var(--primary);color:#fff;transform:translateX(2px)}

@media(max-width:1180px){
  .hero-stage.has-featured-news .slide-content{max-width:min(650px,52vw)}
  .hero-news{right:24px;width:min(390px,38vw);padding:18px}
  .hero-news-item{grid-template-columns:64px minmax(0,1fr) 26px;gap:10px}
  .hero-news-item img,.hero-news-placeholder{width:64px;height:58px}
}
@media(max-width:900px){
  .hero-stage{background:#f4f2ea}
  .hero-stage.has-featured-news .slide-content{max-width:calc(100% - 48px)}
  .hero-news{position:relative;right:auto;top:auto;width:100%;max-height:none;padding:20px clamp(20px,5vw,44px) 24px;border:0;border-radius:0;background:#f6f4ec;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;transform:none}
  .hero-news header{align-items:center;max-width:100%;margin:0 0 14px;padding:0 0 12px}
  .hero-news-list{display:flex;gap:12px;max-height:none;margin:0 -2px;padding:2px 2px 8px;overflow-x:auto;scroll-snap-type:x proximity}
  .hero-news-item{flex:0 0 min(310px,82vw);grid-template-columns:84px minmax(0,1fr) 28px;min-height:86px;padding:8px;background:#fff;border-color:rgba(24,59,49,.09);box-shadow:0 10px 24px rgba(20,58,47,.06);scroll-snap-align:start}
  .hero-news-item img,.hero-news-placeholder{width:84px;height:70px}
}
@media(max-width:600px){
  .hero-news{padding:18px 16px 22px}
  .hero-news h2{font-size:24px}
  .hero-news header>a{font-size:12px}
  .hero-news-item{flex-basis:min(292px,86vw);grid-template-columns:76px minmax(0,1fr) 26px}
  .hero-news-item img,.hero-news-placeholder{width:76px;height:66px}
}
@media(prefers-reduced-motion:reduce){.hero-news-item,.hero-news-arrow,.hero-news header>a i{transition:none}}
