
:root{--forest:#0f4d2f;--forest2:#17613d;--leaf:#6a9b35;--sun:#f6c21c;--cream:#fff8e8;--soft:#f4f7f1;--text:#203229;--muted:#69756f;--line:#e5ebe6;--shadow:0 18px 45px rgba(15,77,47,.13);--radius:22px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,"Noto Sans Khmer",sans-serif;color:var(--text);line-height:1.65;background:#fff}a{text-decoration:none;color:inherit}.container{width:min(1180px,92%);margin:auto}
header{position:sticky;top:0;z-index:99;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.nav{display:flex;align-items:center;justify-content:space-between;padding:10px 0}.brand{display:flex;align-items:center;gap:12px;font-weight:900;color:var(--forest)}.logo{width:62px;height:62px;border-radius:50%;object-fit:cover;border:2px solid var(--forest);box-shadow:0 6px 16px rgba(0,0,0,.12)}.brand small{display:block;font-size:10px;color:var(--muted);letter-spacing:.12em}.menu{display:flex;gap:20px;align-items:center;font-size:14px}.menu a:hover{color:var(--leaf)}.lang{padding:8px 12px;border:1px solid var(--line);background:#fff;border-radius:999px;cursor:pointer}
.hero{min-height:62vh;display:flex;align-items:flex-end;color:#fff;position:relative;background:url("assets/cover.png") center/cover no-repeat}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,47,29,.70),rgba(7,47,29,.34),rgba(7,47,29,.06))}.hero-content{position:relative;z-index:2;max-width:760px;padding:95px 0 70px}.eyebrow{display:inline-block;border:1px solid rgba(255,255,255,.45);padding:7px 13px;border-radius:999px;font-size:13px;background:rgba(15,77,47,.22)}h1{font-size:clamp(52px,7vw,88px);line-height:1.04;margin:14px 0 18px}.hero p{font-size:20px}.buttons{display:flex;gap:12px;flex-wrap:wrap;margin-top:27px}.btn{display:inline-flex;padding:13px 19px;border-radius:12px;font-weight:800}.btn-primary{background:var(--sun);color:#173124}.btn-outline{border:1px solid rgba(255,255,255,.6);color:#fff}
section{padding:80px 0}.section-head{max-width:800px;margin-bottom:32px}.kicker{font-size:12px;text-transform:uppercase;letter-spacing:.14em;color:var(--leaf);font-weight:900}.section-head h2{font-size:40px;line-height:1.2;color:var(--forest);margin:7px 0 8px}.section-head p{color:var(--muted);margin:0}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;box-shadow:0 8px 24px rgba(20,45,37,.06);transition:.2s}.card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.thumb{height:190px;background-size:cover;background-position:center}.card-body{padding:18px}.card h3{font-size:20px;color:var(--forest);margin:5px 0 7px}.card p{font-size:14px;color:var(--muted);margin:0}.read{display:inline-block;margin-top:12px;color:var(--forest);font-weight:800;font-size:14px}
.view-all{text-align:center;margin-top:34px}.view-all .btn{background:var(--forest);color:#fff}
.youtube{background:#123a29;color:#fff}.youtube h2{color:#fff}.youtube p{color:#d5e3dc}.about{background:var(--cream)}.two{display:grid;grid-template-columns:1fr 1fr;gap:30px}.panel{background:#fff;padding:28px;border-radius:var(--radius);box-shadow:var(--shadow)}.panel h3{color:var(--forest)}
.toolbar{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:25px}.search{flex:1;min-width:240px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;font-size:15px}.filters{display:flex;gap:8px;flex-wrap:wrap}.filter{border:1px solid var(--line);background:#fff;padding:9px 12px;border-radius:999px;cursor:pointer}.filter.active{background:var(--forest);color:#fff}.loadmore{text-align:center;margin-top:32px}.loadmore button{border:0;background:var(--forest);color:#fff;padding:13px 22px;border-radius:12px;font-weight:800;cursor:pointer}
.story-wrap{width:min(900px,92%);margin:55px auto}.story-hero{height:430px;border-radius:24px;background-size:cover;background-position:center}.story-wrap h1{color:var(--forest);font-size:48px}.story-wrap p{font-size:18px;color:#4f5f57}.back{display:inline-block;margin-bottom:18px;color:var(--forest);font-weight:800}
footer{background:#0b3322;color:#dce9e2;padding:34px 0}.footer{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;align-items:center}.footer-brand{display:flex;align-items:center;gap:12px}.footer small{color:#a9c0b5}
[data-en]{display:none}body.en [data-km]{display:none}body.en [data-en]{display:initial}
@media(max-width:950px){.menu a{display:none}.grid{grid-template-columns:repeat(2,1fr)}.two{grid-template-columns:1fr}}@media(max-width:600px){.grid{grid-template-columns:1fr}.hero{min-height:56vh}.story-hero{height:260px}.story-wrap h1{font-size:34px}}


/* V13 visual polish */
.section-head{position:relative}
.section-head:before{content:"";display:block;width:42px;height:4px;border-radius:4px;background:linear-gradient(90deg,var(--sun),var(--leaf));margin-bottom:12px}
.icon-badge{width:42px;height:42px;border-radius:13px;background:linear-gradient(145deg,#f7faef,#eef5e8);border:1px solid #e1e9dc;display:grid;place-items:center;font-size:21px;box-shadow:0 5px 12px rgba(15,77,47,.07)}
.card-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.card .kicker{font-size:10px}
.card .thumb{position:relative}
.card .thumb:after{content:"";position:absolute;inset:auto 0 0;height:42%;background:linear-gradient(transparent,rgba(6,41,25,.28))}
.card-icon{position:absolute;left:14px;bottom:14px;z-index:2;width:44px;height:44px;border-radius:13px;background:rgba(255,255,255,.94);backdrop-filter:blur(6px);display:grid;place-items:center;font-size:22px;box-shadow:0 6px 18px rgba(0,0,0,.15)}
.read{display:inline-flex;align-items:center;gap:7px;padding:9px 0}
.read .arrow{transition:.2s}.read:hover .arrow{transform:translateX(4px)}
.btn{align-items:center;gap:8px;box-shadow:0 7px 18px rgba(15,77,47,.09);transition:.2s}
.btn:hover{transform:translateY(-2px)}
.btn-icon{font-size:17px}
.info-card{display:flex;gap:14px;align-items:flex-start}
.info-card .icon-badge{flex:0 0 42px}
.info-card h3{margin:0 0 6px}
.social-list{display:grid;gap:12px;margin-top:16px}
.social-item{display:flex;align-items:center;gap:12px;padding:13px 14px;border:1px solid var(--line);border-radius:14px;background:#fafcf9}
.social-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#edf4ec;font-size:19px}
.youtube-visual{min-height:240px;border-radius:22px;background:radial-gradient(circle at 70% 30%,rgba(246,194,28,.24),transparent 30%),linear-gradient(145deg,#1c5b3b,#0f2f22);display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.12);box-shadow:var(--shadow)}
.youtube-play{width:86px;height:86px;border-radius:50%;display:grid;place-items:center;background:var(--sun);color:#173124;font-size:34px;box-shadow:0 10px 30px rgba(0,0,0,.2)}
.search-wrap{position:relative;flex:1;min-width:240px}.search-wrap .search{width:100%;padding-left:42px}.search-symbol{position:absolute;left:14px;top:50%;transform:translateY(-50%);font-size:17px;color:var(--muted)}
.filter{display:inline-flex;align-items:center;gap:6px}
.page-intro{background:linear-gradient(180deg,#fbfdf9,#fff);border-bottom:1px solid #eef2ee}
.story-meta{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 22px}
.meta-chip{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;background:#f4f8f2;color:var(--forest);font-size:13px;font-weight:700}
.contact-panel{background:linear-gradient(145deg,#fff,#f7faf5)}
@media(max-width:600px){.icon-badge{width:38px;height:38px}.card-icon{width:40px;height:40px}.youtube-play{width:72px;height:72px}}


/* V14 refinement */
.hero-content{padding-top:82px}
.hero h1{max-width:680px;text-shadow:0 3px 18px rgba(0,0,0,.22)}
.hero p{max-width:720px;text-shadow:0 2px 12px rgba(0,0,0,.18)}





.card{position:relative}
.card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(var(--sun),var(--leaf));opacity:0;transition:.2s}
.card:hover:before{opacity:1}
.story-tools-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 18px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:#fbfdfb}
.result-count{color:var(--forest)}
.story-hint{font-size:13px;color:var(--muted)}
.share-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:34px;padding-top:22px;border-top:1px solid var(--line)}
.share-label{font-weight:800;color:var(--forest);margin-right:6px}
.share-btn{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:#fff;color:var(--forest);padding:9px 12px;border-radius:10px;font-weight:700;cursor:pointer}
.share-btn:hover{background:#f5f9f4}
footer{border-top:4px solid var(--sun)}
@media(max-width:700px){
  .story-tools-row{align-items:flex-start;flex-direction:column}
  
}




/* V18 YouTube cover refinement */
.youtube-cover-card{
  position:relative;
  overflow:hidden;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:var(--shadow);
  background:#0f2f22;
  aspect-ratio: 2.95 / 1;
  min-height:0;
}
.youtube-cover-card img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  image-rendering:auto;
  filter:contrast(1.04) saturate(1.03);
}
.youtube-action-zone{
  position:absolute;
  left:58%;
  top:50%;
  transform:translate(-50%,-50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:9px;
  z-index:2;
}
.youtube-cover-play{
  width:58px;
  height:58px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#ffffff;
  color:#e62117;
  border:3px solid rgba(255,255,255,.92);
  font-size:23px;
  font-weight:900;
  box-shadow:0 10px 26px rgba(0,0,0,.34);
  transition:.2s;
}
.youtube-cover-play:hover{transform:scale(1.06)}
.youtube-subscribe-btn{
  padding:10px 16px;
  font-size:13px;
  background:#e62117 !important;
  color:#ffffff !important;
  border:2px solid rgba(255,255,255,.92);
  box-shadow:0 10px 24px rgba(0,0,0,.32);
  white-space:nowrap;
}
@media(max-width:800px){
  .youtube-action-zone{left:58%;top:50%;gap:6px}
  .youtube-cover-play{width:50px;height:50px;font-size:20px}
  .youtube-subscribe-btn{padding:8px 12px;font-size:11px}
}
@media(max-width:520px){
  .youtube-action-zone{left:58%;top:50%}
  .youtube-cover-play{width:42px;height:42px;font-size:17px}
  .youtube-subscribe-btn{padding:7px 10px;font-size:10px}
}

.youtube-subscribe-btn:hover{background:#c9140b !important;transform:translateY(-2px)}
.youtube-cover-play:hover{background:#fff;transform:scale(1.08)}


/* V22 Vision & Mission update */
.vision-panel p{margin:0;color:var(--muted);line-height:1.85}
.mission-list{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.mission-item{display:flex;gap:12px;align-items:flex-start;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fbfdf9}
.mission-symbol{width:40px;height:40px;flex:0 0 40px;border-radius:12px;background:#eef5e8;display:grid;place-items:center;font-size:20px}
.mission-item strong{display:block;color:var(--forest);margin-bottom:3px;font-size:14px}
.mission-item span{display:block;color:var(--muted);font-size:13px;line-height:1.55}
@media(max-width:700px){.mission-list{grid-template-columns:1fr}}

/* V23 contact icons */
.social-item{
  text-decoration:none;
  color:inherit;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.social-item:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(15,77,47,.08);
  border-color:#d6e5d8;
}
.social-icon{
  width:44px;
  height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  flex:0 0 44px;
  background:#edf4ec;
}
.social-icon svg{
  width:22px;
  height:22px;
  fill:var(--forest);
}
.social-facebook svg{width:20px;height:20px}
.social-youtube svg{width:24px;height:24px}
.social-telegram svg{width:22px;height:22px}
.social-phone svg{width:22px;height:22px}
.social-item b{font-size:15px;color:var(--forest)}
.social-item br + *{color:var(--muted)}
