/* ============================================================
   ເວັບໄຊຫ້ອງວ່າການແຂວງອຸດົມໄຊ — ໂຕນສີດຳ-ແດງ (Maroon-Navy)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Lao:wght@300;400;500;600;700;800&display=swap');

:root{
  --blue-900:#0e3d1f;
  --blue-800:#155228;
  --blue-700:#1e6e35;
  --blue-600:#2a8c46;
  --blue-500:#5cb377;
  --blue-100:#e3f5e9;
  --blue-50:#f3fbf6;
  --red:#c0202c;
  --gold:#c8962a;
  --ink:#1c2533;
  --muted:#6b7688;
  --line:#dcefe2;
  --bg:#f5faf6;
  --white:#fff;
  --radius:10px;
  --radius-sm:6px;
  --shadow:0 2px 12px rgba(14,61,31,.10);
  --shadow-lg:0 8px 32px rgba(14,61,31,.16);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Noto Sans Lao',system-ui,sans-serif;
  background:var(--bg);
  color:var(--ink);
  line-height:1.6;
  font-size:15px;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{max-width:1240px;margin:0 auto;padding:0 16px}

/* ================================================================
   HEADER — ຄ້າຍ Bizplus Government 3
   ROW 1 (hdr-top):  topbar ສີຂາວ
   ROW 2 (hdr-nav):  logo(ດຳ) | ເມນູ(ສີ) | search(ສີ)
   ================================================================ */
/* ລ້ຽງ class ເກົ່າ */
.topbar,.site-header,.main-header,.mh-brand,.mh-nav,.mh-menu,
.mh-search,.site-topbar,.tb-inner,.nav,.nav-menu{display:revert}

/* ─── ROW 1: Topbar ─── */
.hdr-top{
  background:#fff;
  border-bottom:1px solid #e8e8e8;
  box-shadow:0 1px 4px rgba(0,0,0,.04);
}
.hdr-top-inner{
  display:flex;align-items:center;
  height:40px;gap:14px;
}
.hdr-ticker{
  display:flex;align-items:center;gap:8px;
  flex:1;min-width:0;overflow:hidden;
}
.ticker-icon{font-size:.9rem;color:#555;flex-shrink:0}
.ticker-wrap{flex:1;overflow:hidden}
.ticker-text{
  display:inline-block;white-space:nowrap;
  font-size:.8rem;color:#333;
  animation:none;
}
.hdr-top-right{display:flex;align-items:center;gap:10px;flex-shrink:0}
.hdr-flags{display:flex;gap:3px;align-items:center}
.hdr-flags a{font-size:20px;text-decoration:none;opacity:.9;transition:.15s}
.hdr-flags a:hover{opacity:1;transform:scale(1.08)}
.hdr-socials{display:flex;gap:5px}
.hs{
  width:32px;height:32px;border-radius:6px;
  display:flex;align-items:center;justify-content:center;
  font-size:14px;font-weight:700;color:#fff;
  text-decoration:none;transition:.15s;
}
.hs:hover{opacity:.82}
.hs.fb{background:#1877f2}
.hs.li{background:#06b00a}
.hs.yt{background:#c4131d}

/* ─── ROW 2: hdr-nav (full-width flex, sticky) ─── */
.hdr-nav{
  display:flex;align-items:stretch;
  position:sticky;top:0;z-index:100;
  box-shadow:0 3px 14px rgba(0,0,0,.3);
  min-height:82px;
}

/* Logo zone: ດຳ, ຈາກຂອບຊ້າຍ viewport */
.hdr-brand{
  background:var(--blue-900);
  display:flex;align-items:center;gap:16px;
  padding:10px 30px 10px 20px;
  text-decoration:none;flex-shrink:0;
  border-right:0;
  position:relative;
}
/* ເສັ້ນຕ່ຽງ gradient ຄັ່ນ logo ກັບ ເມນູ */
.hdr-brand::after{
  content:'';
  position:absolute;right:0;top:12px;bottom:12px;
  width:1px;
  background:linear-gradient(to bottom,transparent,rgba(255,255,255,.3) 40%,rgba(255,255,255,.3) 60%,transparent);
}
.hdr-logo-circle{
  width:68px;height:68px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  transition:box-shadow .2s;
}
.hdr-logo-circle img{width:60px;height:60px;object-fit:contain}
.hdr-logo-circle .logo-ph{font-size:34px}
.hdr-brand-text{line-height:1.25;min-width:0}
.hdr-brand-name{
  font-size:1.35rem;font-weight:900;color:#fff;
  white-space:nowrap;letter-spacing:.02em;
}
.hdr-brand-sub{
  font-size:.68rem;font-weight:600;color:var(--blue-500);
  text-transform:uppercase;letter-spacing:.7px;margin-top:5px;white-space:nowrap;
}

/* Menu zone: ສີ maroon, flex */
.hdr-menu-zone{
  background:var(--blue-700);
  display:flex;align-items:stretch;flex:1;min-width:0;
}
.hdr-toggle{display:none}

.hdr-menu{
  list-style:none;margin:0;padding:0;
  display:flex;align-items:stretch;flex:1;min-width:0;
}
.hm-item{position:relative;list-style:none}
.hm-item > a{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  height:100%;padding:0 28px 0 18px;
  color:#fff;font-weight:700;font-size:.9rem;
  text-align:center;white-space:nowrap;line-height:1.3;
  border-right:none;
  position:relative;
  transition:background .15s,box-shadow .15s;
  border-radius:0;
}
.hm-sub{
  display:block;font-size:.58rem;font-weight:400;
  color:rgba(255,255,255,.68);
  letter-spacing:1.2px;text-transform:uppercase;margin-top:4px;
}
.hm-caret{
  font-size:.6rem;opacity:.55;
  position:absolute;right:10px;top:50%;transform:translateY(-50%);
  margin-left:0;
}
.hm-item > a:hover{
  background:rgba(255,255,255,.13);
  box-shadow:inset 0 -3px 0 rgba(255,255,255,.5);
}
.hm-item > a.active{
  background:rgba(255,255,255,.18);
  box-shadow:inset 0 -4px 0 #fff;
}
.hm-drop{
  display:none;position:absolute;top:100%;left:0;
  list-style:none;margin:0;padding:0;
  background:#fff;min-width:200px;
  border-top:3px solid var(--blue-600);
  border-radius:0 0 8px 8px;
  box-shadow:0 8px 24px rgba(0,0,0,.18);z-index:200;
}
.hm-item:hover > .hm-drop{display:block}
.hm-drop li a{
  display:block;padding:10px 18px;
  color:var(--ink);font-size:.88rem;
  border-bottom:1px solid var(--line);transition:.1s;
}
.hm-drop li:last-child a{border-bottom:0}
.hm-drop li a:hover{background:var(--blue-50);color:var(--blue-700);padding-left:22px}

/* Search zone: ຂວາ */
.hdr-search{
  background:var(--blue-700);
  display:flex;flex-direction:column;justify-content:center;
  border-left:none;
  flex-shrink:0;min-width:265px;
  padding:8px 16px;gap:5px;
}
.hdr-search-box form{
  display:flex;background:#fff;border-radius:4px;overflow:hidden;width:100%;
}
.hdr-search-box input{
  border:0;padding:9px 12px;flex:1;min-width:0;
  outline:none;font-family:inherit;font-size:.86rem;color:var(--ink);
}
.hdr-search-box button{
  border:0;background:var(--blue-700);color:#fff;
  padding:0 14px;cursor:pointer;
  font-family:inherit;font-size:.82rem;font-weight:700;
  white-space:nowrap;transition:.15s;
}
.hdr-search-box button:hover{background:var(--blue-800)}
.hdr-search-hint{
  font-size:.62rem;color:rgba(255,255,255,.75);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  padding:0;
}

/* ========== HERO SLIDER ========== */
.hero{
  position:relative;
  height:480px;overflow:hidden;
  background:#111;
}
.hero-slides{
  display:flex;height:100%;
  transition:transform .65s cubic-bezier(.4,0,.2,1);
}
.hero-slide{
  min-width:100%;height:100%;
  position:relative;flex-shrink:0;
}
.hero-slide img.bg{
  width:100%;height:100%;object-fit:cover;
  filter:brightness(1);
}
/* gradient ໃຕ້ ຂໍ້ຄວາມ ເທົ່ານັ້ນ */
.hero-slide .overlay{
  position:absolute;inset:0;
  background:linear-gradient(to top,rgba(0,0,0,.65) 0%,rgba(0,0,0,.15) 45%,transparent 100%);
}
/* ຂໍ້ຄວາມ bottom-left ຄືກັບ demo */
.hero-content{
  position:absolute;inset:0;
  display:flex;align-items:flex-end;
  padding:0 56px 44px;
}
.hero-content h2{
  color:#fff;font-size:3rem;font-weight:900;
  max-width:800px;line-height:1.15;
  text-transform:uppercase;letter-spacing:.02em;
  -webkit-text-stroke:2px rgba(0,0,0,.55);
  text-stroke:2px rgba(0,0,0,.55);
  text-shadow:2px 2px 0 rgba(0,0,0,.35),-1px -1px 0 rgba(0,0,0,.2);
  opacity:0;transform:translateY(40px);
  transition:opacity .0s,transform .0s;
}
.hero-content .tags{
  color:rgba(255,255,255,.9);margin-top:10px;
  font-size:1.5rem;font-weight:600;letter-spacing:.5px;
  text-shadow:0 1px 6px rgba(0,0,0,.4);
  opacity:0;transform:translateY(30px);
  transition:opacity .0s,transform .0s;
}

/* ເມື່ອ slide active → animate ເຂົ້າ */
.hero-slide.active .hero-content h2{
  opacity:1;transform:translateY(0);
  transition:opacity .7s ease .15s, transform .7s cubic-bezier(.22,1,.36,1) .15s;
}
.hero-slide.active .hero-content .tags{
  opacity:1;transform:translateY(0);
  transition:opacity .7s ease .4s, transform .7s cubic-bezier(.22,1,.36,1) .4s;
}

@keyframes heroFadeUp{
  from{opacity:0;transform:translateY(40px)}
  to  {opacity:1;transform:translateY(0)}
}

/* ── ລູກສອນ ຄ້າຍ demo (ສີ່ຫຼ່ຽມ ສີຂາວ) ── */
.hero-btn{
  position:absolute;top:50%;transform:translateY(-50%);
  width:44px;height:44px;border-radius:4px;
  border:none;
  background:rgba(255,255,255,.92);
  color:#333;font-size:18px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;z-index:10;transition:.15s;
  box-shadow:0 2px 8px rgba(0,0,0,.25);
}
.hero-btn:hover{background:#fff;box-shadow:0 3px 12px rgba(0,0,0,.35)}
.hero-btn.prev{left:14px;border-radius:4px}
.hero-btn.next{right:14px;border-radius:4px}

/* pause button — ຢູ່ຂ້າງ next arrow */
.hero-pause{
  position:absolute;top:50%;transform:translateY(-50%);
  right:66px;
  width:36px;height:44px;border-radius:4px;
  border:none;
  background:rgba(255,255,255,.92);
  color:#333;font-size:11px;font-weight:900;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;z-index:10;transition:.15s;letter-spacing:1px;
  box-shadow:0 2px 8px rgba(0,0,0,.25);
}
.hero-pause:hover{background:#fff;box-shadow:0 3px 12px rgba(0,0,0,.35)}

.hero-dots{
  position:absolute;bottom:22px;left:50%;transform:translateX(-50%);
  display:flex;gap:6px;
}
.hero-dots span{
  width:8px;height:8px;border-radius:50%;
  background:rgba(255,255,255,.45);cursor:pointer;transition:.2s;
}
.hero-dots span.active{background:#fff;width:24px;border-radius:4px;}

/* ========== HERO BLOCK (3-column, ລຸ່ມ hero slider) ========== */
.hb-wrap{
  display:grid;
  grid-template-columns:1fr calc(320px + max(16px, calc((100vw - 1240px) / 2 + 16px)));
  background:#1a3a1a;
  background-size:cover;
  background-position:center;
  position:relative;
}
.hb-wrap::before{
  content:'';
  position:absolute;inset:0;
  background:rgba(30,110,30,.72);
  z-index:0;
}
.hb-wrap > *{position:relative;z-index:1}

/* ── Col 1: Brand (maroon bg, ໂລໂກ + ຊື່ + ປຸ່ມ) ── */
.hb-brand{
  background:var(--blue-700);
  display:flex;flex-direction:column;align-items:center;
  padding:30px 20px 26px;text-align:center;
}
.hb-seal{
  width:130px;height:130px;border-radius:50%;
  background:#fff;padding:6px;object-fit:contain;
  box-shadow:0 0 0 5px rgba(255,255,255,.25),0 0 0 10px rgba(255,255,255,.1);
  margin-bottom:14px;flex-shrink:0;
}
.hb-seal-ph{
  display:flex;align-items:center;justify-content:center;font-size:3.5rem;
}
.hb-name{
  color:#fff;font-weight:800;font-size:1rem;line-height:1.5;
  margin-bottom:3px;
}
.hb-sub{
  color:rgba(255,255,255,.65);font-size:.65rem;letter-spacing:.8px;
  text-transform:uppercase;margin-bottom:22px;
}
.hb-btns{display:flex;flex-direction:column;gap:11px;width:100%}
.hb-btn{
  display:block;padding:10px 14px;border-radius:30px;
  font-size:.84rem;font-weight:700;color:#fff;
  border:2px solid rgba(255,255,255,.65);text-align:center;
  transition:.15s;text-decoration:none;
}
.hb-btn:hover{background:rgba(255,255,255,.18);border-color:#fff}
.hb-btn-fill{
  background:var(--blue-600);border-color:var(--blue-600);
}
.hb-btn-fill:hover{background:var(--blue-800);border-color:var(--blue-800)}

/* ── Col 2: Center (ticker + ພື້ນຫຼັງ) ── */
.hb-center{
  display:flex;flex-direction:column;
  position:relative;
  min-height:200px;
  padding-bottom:130px;
}
.hb-center > *{position:relative;z-index:1}

/* ຂໍ້ຄວາມກາງ hb-center */
.hb-center-text{
  flex:1;
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  padding:24px 32px 20px;
  text-align:center;
}
.hb-slogan{
  color:#fff;
  font-size:1.65rem;font-weight:900;
  text-shadow:0 2px 8px rgba(0,0,0,.45);
  letter-spacing:.02em;line-height:1.3;
  margin-bottom:12px;
}
.hb-desc{
  color:rgba(255,255,255,.92);
  font-size:.9rem;font-weight:400;
  line-height:1.75;
  text-shadow:0 1px 4px rgba(0,0,0,.4);
  max-width:600px;
}

/* Ticker row */
.hb-ticker{
  display:flex;align-items:stretch;
  background:rgba(0,0,0,.35);
  min-height:46px;flex-shrink:0;
  border-bottom:1px solid rgba(255,255,255,.15);
}
.hbt-label{
  background:var(--blue-600);color:#fff;
  padding:0 20px;
  font-size:.82rem;font-weight:800;flex-shrink:0;
  display:flex;align-items:center;
  white-space:nowrap;
  /* ຍັບຊ້າຍໃຫ້ກົງກັບ container + panel padding (16+16=32px) */
  margin-left:max(32px, calc((100vw - 1240px) / 2 + 32px));
}
.hbt-text-wrap{
  flex:1;overflow:hidden;
  display:flex;align-items:center;
  background:transparent;
  padding:0 16px;
}
.hbt-text{
  color:#fff;font-size:.82rem;
  white-space:nowrap;display:inline-block;
  animation:tickerScroll 20s linear infinite;
}
.hbt-text-wrap:hover .hbt-text{animation-play-state:paused}
@keyframes tickerScroll{
  0%  {transform:translateX(100%)}
  100%{transform:translateX(-100%)}
}
/* Tab bar */
.ann-tab-bar{
  display:flex;
  border-bottom:2px solid var(--blue-600);
  background:#f0f2f5;
  flex-shrink:0;
}
.ann-tab{
  padding:11px 20px;font-size:.82rem;font-weight:700;
  background:transparent;color:#666;
  border:none;border-right:1px solid #ddd;cursor:pointer;
  transition:.15s;white-space:nowrap;
}
.ann-tab:last-child{border-right:0}
.ann-tab.active{
  background:var(--blue-600);color:#fff;
}
.ann-tab:hover:not(.active){background:#e2e6ea;color:#333}
/* Panes */
.ann-pane{display:none;flex:1}
.ann-pane.active{display:block}
.ann-row{
  display:flex;align-items:center;gap:10px;
  padding:10px 16px;border-bottom:1px solid #f0f0f0;
  background:#fff;transition:.1s;
}
.ann-row:hover{background:var(--blue-50)}
.ann-cal{font-size:.88rem;flex-shrink:0;color:var(--blue-600)}
.ann-title{
  flex:1;font-size:.84rem;color:#222;font-weight:600;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  text-decoration:none;
}
.ann-title:hover{color:var(--blue-700)}
.ann-date{
  flex-shrink:0;font-size:.72rem;font-weight:700;
  background:var(--red);color:#fff;
  padding:4px 10px;border-radius:3px;white-space:nowrap;
}
.ann-more{
  padding:10px 16px;text-align:right;
  background:#fff;border-top:1px solid #eee;
}
.ann-more a{font-size:.8rem;font-weight:600;color:var(--blue-700);text-decoration:none}
.ann-more a:hover{text-decoration:underline}

/* ── Col 3: Governor ── */
.hb-gov{
  display:flex;flex-direction:column;
  background:var(--blue-900);overflow:hidden;
  width:320px;
  margin-left:auto;
  margin-right:max(16px, calc((100vw - 1240px) / 2 + 16px));
  margin-top:10px;
  border-radius:10px;
  align-self:flex-start;
  flex-shrink:0;
}
.hb-gov-photo{
  width:100%;
  /* ລວງຕັ້ງ / portrait */
  flex:1;min-height:260px;
  object-fit:cover;object-position:center center;
  display:block;
}
.hb-gov-ph{
  flex:1;min-height:200px;background:var(--blue-800);
  display:flex;align-items:center;justify-content:center;font-size:5rem;
}
.hb-gov-info{
  flex-shrink:0;padding:14px 16px;box-sizing:border-box;width:100%;
  background:linear-gradient(160deg,var(--blue-800) 0%,var(--blue-900) 100%);
}
.hb-gov-name{color:#fff;font-weight:800;font-size:1.05rem;line-height:1.35;margin-bottom:4px}
.hb-gov-title{color:var(--blue-500);font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;margin-bottom:10px}
.hb-gov-bio{color:rgba(255,255,255,.78);font-size:.8rem;line-height:1.65;margin:0}

/* Responsive */
@media(max-width:1000px){
  .hb-wrap{grid-template-columns:1fr 276px}
  .hb-gov{width:260px}
}
@media(max-width:720px){
  .hb-wrap{grid-template-columns:1fr}
  .hb-gov-photo{max-height:200px}
  .ann-tab{padding:10px 12px;font-size:.78rem}
}

/* ========== INTRO PANEL ========== */
.intro-panel{background:var(--blue-700);padding:28px 0}
.intro-grid{display:grid;grid-template-columns:220px 1fr 260px;gap:0;align-items:stretch;min-height:260px}

/* Col 1 — Brand */
.intro-brand{
  background:var(--blue-900);
  display:flex;flex-direction:column;align-items:center;
  padding:22px 16px 20px;text-align:center;
  border-radius:8px 0 0 8px;
}
.intro-seal{
  width:90px;height:90px;border-radius:50%;
  background:#fff;padding:5px;object-fit:contain;
  box-shadow:0 0 0 3px var(--blue-600),0 0 0 6px rgba(255,255,255,.15);
  margin-bottom:12px;
}
.intro-seal-ph{display:flex;align-items:center;justify-content:center;font-size:2.5rem}
.intro-brand-name{color:#fff;font-weight:800;font-size:.92rem;line-height:1.4;margin-bottom:4px}
.intro-brand-sub{color:rgba(255,255,255,.65);font-size:.65rem;letter-spacing:.8px;text-transform:uppercase;margin-bottom:16px}
.intro-btns{display:flex;flex-direction:column;gap:8px;width:100%}
.intro-btn{
  display:block;padding:8px 10px;border-radius:6px;font-size:.78rem;font-weight:600;
  color:#fff;border:1.5px solid rgba(255,255,255,.5);text-align:center;
  transition:.15s;text-decoration:none;
}
.intro-btn:hover{background:rgba(255,255,255,.15);border-color:#fff}
.intro-btn-solid{background:var(--blue-600);border-color:var(--blue-600)}
.intro-btn-solid:hover{background:var(--blue-800)}

/* Col 2 — Tabs */
.intro-tabs-wrap{
  background:#fff;
  border-radius:0;
  display:flex;flex-direction:column;
}
.intro-tab-bar{display:flex;border-bottom:2px solid var(--blue-700)}
.intro-tab{
  flex:1;padding:11px 6px;font-size:.8rem;font-weight:700;
  background:var(--blue-100);color:var(--blue-900);
  border:none;cursor:pointer;transition:.15s;
  border-right:1px solid #e0e0e0;
}
.intro-tab:last-child{border-right:0}
.intro-tab.active{background:#fff;color:var(--blue-700);border-bottom:2px solid #fff;margin-bottom:-2px}
.intro-tab:hover:not(.active){background:var(--blue-50)}
.intro-pane{display:none;flex:1;flex-direction:column;padding:4px 0}
.intro-pane.active{display:flex}
.ip-row{
  display:flex;align-items:center;gap:8px;
  padding:9px 14px;border-bottom:1px solid #f0f0f0;
  transition:.1s;
}
.ip-row:last-child{border-bottom:0}
.ip-row:hover{background:var(--blue-50)}
.ip-icon{font-size:.85rem;flex-shrink:0;color:var(--blue-700)}
.ip-title{flex:1;font-size:.83rem;color:#222;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none}
.ip-title:hover{color:var(--blue-700)}
.ip-date{
  flex-shrink:0;font-size:.72rem;font-weight:700;
  background:var(--blue-600);color:#fff;
  padding:3px 8px;border-radius:4px;
  white-space:nowrap;
}
.ip-more{padding:10px 14px;text-align:right}
.ip-more a{font-size:.78rem;font-weight:600;color:var(--blue-700);text-decoration:none}
.ip-more a:hover{text-decoration:underline}

/* Col 3 — Governor */
.intro-gov{
  background:var(--blue-900);
  border-radius:0 8px 8px 0;
  display:flex;flex-direction:column;
  overflow:hidden;
}
.intro-gov-photo{
  width:100%;height:180px;object-fit:cover;object-position:top center;
  display:block;
}
.intro-gov-ph{
  width:100%;height:180px;background:var(--blue-800);
  display:flex;align-items:center;justify-content:center;font-size:4rem;
}
.intro-gov-body{padding:14px 16px}
.intro-gov-name{color:#fff;font-weight:800;font-size:1rem;margin-bottom:3px}
.intro-gov-title{color:var(--blue-500);font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}
.intro-gov-bio{color:rgba(255,255,255,.75);font-size:.78rem;line-height:1.6;margin:0}

@media(max-width:960px){
  .intro-grid{grid-template-columns:1fr 1fr;grid-template-rows:auto auto}
  .intro-brand{grid-column:1;border-radius:8px 0 0 0}
  .intro-gov{grid-column:2;grid-row:1;border-radius:0 8px 0 0}
  .intro-tabs-wrap{grid-column:1/-1;border-radius:0 0 8px 8px}
}
@media(max-width:600px){
  .intro-grid{grid-template-columns:1fr}
  .intro-brand,.intro-gov,.intro-tabs-wrap{grid-column:1;border-radius:0}
  .intro-brand{border-radius:8px 8px 0 0}
  .intro-gov{grid-row:2}
  .intro-tabs-wrap{grid-row:3;border-radius:0 0 8px 8px}
}

/* ========== QUICK SERVICES ========== */
.quick{margin-top:-50px;position:relative;z-index:10;padding:0 0 0 0}
.quick .container{}
.quick-grid{
  background:#fff;border-radius:12px;
  box-shadow:var(--shadow-lg);
  display:grid;grid-template-columns:repeat(7,1fr);
  overflow:hidden;
}
.quick-item{
  padding:20px 8px;text-align:center;
  border-right:1px solid var(--line);
  transition:.15s;cursor:pointer;
  display:flex;flex-direction:column;align-items:center;gap:8px;
}
.quick-item:last-child{border-right:0}
.quick-item:hover{background:var(--blue-50);transform:translateY(-2px)}
.quick-icon{
  width:52px;height:52px;border-radius:12px;
  background:var(--blue-100);color:var(--blue-700);
  display:flex;align-items:center;justify-content:center;
  font-size:22px;
}
.quick-label{
  font-size:.78rem;font-weight:600;
  color:var(--blue-900);line-height:1.3;
}

/* ========== MAIN CONTENT ========== */
.main-content{
  padding:0 0 36px;
  margin-top:-120px;
  position:relative;
  z-index:2;
}
.two-col{display:grid;grid-template-columns:1.72fr 1fr;gap:22px;align-items:start}

/* ---- News Panel ---- */
.panel{
  background:#fff;border-radius:var(--radius);
  box-shadow:0 4px 20px rgba(0,0,0,.15);overflow:hidden;
}
.panel-head{
  display:flex;justify-content:space-between;align-items:center;
  padding:13px 18px;border-bottom:2px solid var(--blue-700);
  background:#fff;
}
.panel-head .ph-title{
  display:flex;align-items:center;gap:8px;
  font-size:1rem;font-weight:700;color:var(--blue-900);
}
.panel-head .ph-title .ph-icon{
  width:28px;height:28px;border-radius:6px;
  background:var(--blue-700);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:14px;
}
.panel-head .ph-more{
  color:var(--blue-600);font-size:.82rem;font-weight:600;
  display:flex;align-items:center;gap:3px;
}
.panel-body{padding:16px 18px}

/* featured news */
.news-featured{
  position:relative;border-radius:8px;
  overflow:hidden;margin-bottom:14px;cursor:pointer;
}
.news-featured img{
  width:100%;height:280px;object-fit:cover;
  transition:.3s;
}
.news-featured:hover img{transform:scale(1.02)}
.news-featured .cap{
  position:absolute;left:0;right:0;bottom:0;
  padding:16px;color:#fff;
  background:linear-gradient(transparent,rgba(0,0,0,.82));
}
.news-featured .cap h4{font-size:1.05rem;font-weight:600;line-height:1.35}
.news-featured .cap .date{font-size:.78rem;opacity:.85;margin-top:5px}

/* mini news list */
.news-mini{
  display:flex;gap:12px;
  padding:11px 0;border-bottom:1px solid var(--line);
}
.news-mini:last-child{border-bottom:0}
.news-mini img{
  width:84px;height:60px;border-radius:6px;
  object-fit:cover;flex-shrink:0;
}
.news-mini-info{min-width:0}
.news-mini-info h5{
  font-size:.88rem;font-weight:600;
  line-height:1.4;color:var(--ink);
}
.news-mini-info .date{
  font-size:.76rem;color:var(--muted);margin-top:4px;
}

/* ເນື້ອໃນ 1 ແຖວ (ແທນວັນທີ) */
.exc{
  font-size:.8rem;color:var(--muted);margin-top:5px;line-height:1.45;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;
  line-clamp:1;overflow:hidden;
}
.news-featured .cap .exc{color:rgba(255,255,255,.9)}

/* ---- News hero: 1 big (left) + 4 small (right) ---- */
.news-hero{
  display:grid;grid-template-columns:1.45fr 1fr;gap:18px;align-items:start;
}
.news-hero .news-featured{margin-bottom:0}
.news-hero .news-featured img{height:320px}
.news-side{display:flex;flex-direction:column}
.news-side .news-mini:first-child{padding-top:0}
.news-side .news-mini{padding:8px 0}
.news-side .news-mini img{width:80px;height:56px}

/* ---- News bottom row: list + link right ---- */
.news-bottom-row{
  display:flex;align-items:flex-end;gap:12px;margin-top:14px;
  border-top:1px solid var(--line);padding-top:4px;
}
.news-bottom-list{flex:1;display:flex;flex-direction:column;}
.news-bottom-card{
  display:flex;align-items:center;gap:6px;text-decoration:none;color:var(--ink);
  padding:7px 0;border-bottom:1px solid var(--line);
}
.news-bottom-card:last-child{border-bottom:0}
.news-bottom-card:hover .news-bottom-title{color:var(--blue-700)}
.news-bottom-arrow{
  color:var(--blue-700);font-size:1.1rem;font-weight:700;flex-shrink:0;line-height:1;
}
.news-bottom-title{
  font-size:.87rem;font-weight:500;line-height:1.4;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;
}

/* ---- Right column ---- */
.right-col{display:flex;flex-direction:column;gap:18px}

/* announcement panel */
.ann-head{
  display:flex;justify-content:space-between;align-items:center;
  padding:13px 18px;border-bottom:2px solid var(--blue-700);
}
.ann-head .ph-title{
  display:flex;align-items:center;gap:8px;
  font-size:1rem;font-weight:700;color:var(--blue-900);
}
.ann-icon{
  width:28px;height:28px;border-radius:6px;
  background:var(--blue-600);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:14px;
}
.ann-body{padding:4px 18px 10px}
.ann-item{
  display:flex;justify-content:space-between;align-items:flex-start;
  gap:8px;padding:9px 0;
  border-bottom:1px dashed var(--line);
}
.ann-item:last-child{border-bottom:0}
.ann-item a{
  display:flex;align-items:flex-start;gap:6px;
  color:var(--ink);font-size:.85rem;line-height:1.4;
  flex:1;
}
.ann-item a:hover{color:var(--blue-700)}
.ann-bullet{color:var(--blue-600);font-size:.7rem;margin-top:3px;flex-shrink:0}
.ann-date{font-size:.76rem;color:var(--muted);white-space:nowrap;padding-top:3px}

/* quick links panel */
.qlinks-grid{
  display:grid;grid-template-columns:1fr 1fr;
  gap:8px;padding:12px 18px 14px;
}
.qlink-item{
  display:flex;align-items:center;gap:8px;
  background:var(--blue-50);border:1px solid var(--line);
  border-radius:8px;padding:10px 10px;
  font-size:.8rem;font-weight:600;color:var(--blue-800);
  transition:.15s;
}
.qlink-item:hover{background:var(--blue-100);border-color:var(--blue-700)}
.qlink-icon{
  width:28px;height:28px;border-radius:6px;
  background:var(--blue-100);
  display:flex;align-items:center;justify-content:center;
  font-size:14px;flex-shrink:0;
}

/* ========== FOOTER ========== */
.footer{background:var(--blue-900);color:#f0c8cc;margin-top:10px}
.footer-grid{
  display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;
  gap:28px;padding:36px 0 28px;
}
.footer-col h4{
  color:#fff;margin-bottom:14px;
  font-size:.95rem;font-weight:700;
  display:flex;align-items:center;gap:8px;
}
.footer-logo-wrap{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.footer-logo-wrap .f-logo{
  width:52px;height:52px;
  display:flex;align-items:center;justify-content:center;
  font-size:24px;flex-shrink:0;overflow:hidden;
}
.footer-logo-wrap .f-logo img{width:52px;height:52px;object-fit:contain}
.footer-logo-wrap .f-name{font-size:1rem;font-weight:700;color:#fff;line-height:1.25}
.footer-logo-wrap .f-slogan{font-size:.78rem;color:#bfe5cc;margin-top:2px}
.footer-col p{font-size:.83rem;margin-bottom:7px;display:flex;align-items:center;gap:7px}
.footer-col p svg{width:14px;height:14px;fill:currentColor;opacity:.7;flex-shrink:0}
.footer-col ul{list-style:none}
.footer-col ul li{margin-bottom:6px;font-size:.83rem}
.footer-col ul li a:hover{color:#fff}
.social-row{display:flex;gap:8px;margin-top:8px}
.social-btn{
  width:34px;height:34px;border-radius:50%;
  background:rgba(255,255,255,.1);
  display:flex;align-items:center;justify-content:center;
  font-size:15px;color:#fff;transition:.15s;
}
.social-btn:hover{background:var(--blue-600)}
/* Facebook footer card */
.fb-card-wrap{width:100%}
.fb-page{border-radius:10px;overflow:hidden;max-width:260px}
.fb-fallback-card{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.15);border-radius:12px;padding:16px;max-width:260px}
.fb-fallback-top{display:flex;align-items:center;gap:12px;margin-bottom:2px}
.sub-row{display:flex;background:#fff;border-radius:6px;overflow:hidden;margin-top:8px}
.sub-row input{
  border:0;padding:10px 14px;flex:1;
  outline:none;font-family:inherit;font-size:.83rem;
  color:var(--ink);
}
.sub-row button{
  border:0;background:var(--blue-600);
  color:#fff;padding:0 16px;cursor:pointer;
  font-family:inherit;font-size:.83rem;
  transition:.15s;
}
.sub-row button:hover{background:var(--blue-800)}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);
  padding:14px 0;
  display:flex;justify-content:space-between;
  align-items:center;flex-wrap:wrap;gap:8px;
}
.footer-bottom .copy{font-size:.78rem;opacity:.75}
.footer-bottom .footer-links{display:flex;gap:20px}
.footer-bottom .footer-links a{font-size:.78rem;opacity:.75;transition:.1s}
.footer-bottom .footer-links a:hover{opacity:1;color:#fff}

/* ========== ARTICLE ========== */
.article{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:32px;max-width:860px;margin:30px auto}
.article h1{color:var(--blue-900);font-size:1.7rem;margin-bottom:10px}
.article .meta{color:var(--muted);font-size:.85rem;margin-bottom:18px}
.article img.cover{border-radius:12px;margin:14px 0;width:100%}
.article .content{font-size:1rem;line-height:1.9;text-align:justify}
.article .ck-content{text-align:justify}

/* ── ກັ້ນ overflow ຈາກ div/table ທີ່ editor ໃສ່ width ໃຫຍ່ ── */
.article .content,
.article .ck-content { overflow-x:hidden }

/* ── ຮູບ + container ທຸກຊະນິດໃນ content ── */
.ck-content img,
.article .content img           { max-width:100% !important; height:auto !important; width:auto !important }
.ck-content div,
.ck-content table               { max-width:100% !important }
.ck-content table               { table-layout:fixed; width:100% !important }
.ck-content td, .ck-content th  { word-break:break-word }

/* ── CKEditor image align ── */
.ck-content .image-style-align-left  { float:left;  margin-right:1.2em; margin-bottom:.6em; max-width:50% }
.ck-content .image-style-align-right { float:right; margin-left:1.2em;  margin-bottom:.6em; max-width:50% }
.ck-content .image-style-align-center{ display:block; margin-left:auto; margin-right:auto }
.ck-content .image-style-inline      { display:inline-block }
.ck-content figure.image             { clear:both; max-width:100% !important }
.ck-content figure.image img         { max-width:100% !important; height:auto; display:block }
.ck-content figure.image figcaption  { font-size:.82rem; color:var(--muted); text-align:center; margin-top:4px }

/* ========== GENERIC ========== */
.btn{display:inline-block;background:var(--blue-700);color:#fff;border:0;border-radius:8px;padding:10px 18px;font-family:inherit;font-size:.92rem;cursor:pointer;transition:.15s}
.btn:hover{background:var(--blue-800)}
.btn-sm{padding:6px 12px;font-size:.82rem}
.btn-danger{background:var(--red)}
.btn-gray{background:#64748b}
.badge{display:inline-block;padding:3px 9px;border-radius:20px;font-size:.74rem;font-weight:600}
.badge-green{background:#dcfce7;color:#15803d}
.badge-gray{background:#e2e8f0;color:#475569}
.badge-amber{background:#fef3c7;color:#b45309}
.badge-blue{background:#d1fae5;color:#047857}
.badge-red{background:#fee2e2;color:#b91c1c}
.flash{background:#fff;padding:12px 16px;border-radius:8px;margin-bottom:14px;box-shadow:var(--shadow)}
.section{padding:36px 0}

/* ========== SHARED MEDIA PICKER ========== */
.mp-modal-backdrop{
  display:none;position:fixed;inset:0;z-index:9999;
  background:rgba(10,18,40,.72);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  align-items:center;justify-content:center;padding:16px;
}
.mp-modal-box{
  background:#fff;border-radius:20px;
  width:min(95vw,1100px);max-height:92vh;
  display:flex;flex-direction:column;overflow:hidden;
  box-shadow:0 32px 80px rgba(0,0,0,.4);
  animation:mpIn .28s cubic-bezier(.22,1,.36,1) both;
}
@keyframes mpIn{from{opacity:0;transform:translateY(28px) scale(.96)}to{opacity:1;transform:none}}
.mp-modal-header{
  display:flex;align-items:center;gap:12px;
  padding:16px 20px;flex-shrink:0;
  background:linear-gradient(135deg,#0e3d1f 0%,#1e6e35 100%);
  border-radius:20px 20px 0 0;
}
.mp-modal-header h3{margin:0;color:#fff;font-size:1.05rem;flex:1}
.mp-modal-search{
  padding:7px 13px;border:1px solid rgba(255,255,255,.25);border-radius:10px;
  font-size:.88rem;width:210px;
  background:rgba(255,255,255,.15);color:#fff;outline:none;
  font-family:inherit;transition:.2s;
}
.mp-modal-search::placeholder{color:rgba(255,255,255,.5)}
.mp-modal-search:focus{background:rgba(255,255,255,.28);border-color:rgba(255,255,255,.55)}
.mp-close-btn{
  background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.2);
  color:#fff;width:32px;height:32px;border-radius:50%;cursor:pointer;
  font-size:1rem;display:flex;align-items:center;justify-content:center;
  transition:.2s;flex-shrink:0;line-height:1;
}
.mp-close-btn:hover{background:rgba(255,255,255,.32)}
.mp-modal-grid{
  flex:1;overflow-y:auto;padding:16px;
  display:grid;grid-template-columns:repeat(6,1fr);grid-auto-rows:130px;gap:10px;
  background:#f1f5f9;align-items:stretch;
}
.mp-modal-grid::-webkit-scrollbar{width:5px}
.mp-modal-grid::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}
.mp-modal-footer{
  padding:12px 20px;border-top:1px solid #e5e7eb;
  display:flex;justify-content:space-between;align-items:center;
  background:#fff;border-radius:0 0 20px 20px;flex-shrink:0;
}
.mp-count{font-size:.82rem;color:var(--muted)}
/* card */
.mp-card{
  position:relative;border-radius:10px;overflow:hidden;cursor:pointer;
  border:2px solid transparent;background:#0f172a;
  transition:all .2s cubic-bezier(.34,1.56,.64,1);
  box-shadow:0 2px 6px rgba(0,0,0,.1);
}
.mp-card:hover{border-color:var(--blue-500);transform:translateY(-3px) scale(1.04);box-shadow:0 10px 26px rgba(30,100,220,.28);z-index:2}
.mp-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}
.mp-card:hover img{transform:scale(1.05)}
.mp-overlay{
  position:absolute;inset:0;
  background:linear-gradient(to top,rgba(0,0,0,.68) 0%,transparent 55%);
  opacity:0;transition:opacity .2s;
  display:flex;align-items:flex-end;padding:8px;pointer-events:none;
}
.mp-card:hover .mp-overlay{opacity:1}
.mp-overlay span{color:#fff;font-size:.7rem;font-weight:600;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 4px rgba(0,0,0,.7)}
.mp-pick-icon{
  position:absolute;top:6px;right:6px;width:26px;height:26px;border-radius:50%;
  background:var(--blue-600);color:#fff;display:flex;align-items:center;justify-content:center;
  font-size:.8rem;opacity:0;transform:scale(.4);
  transition:all .18s cubic-bezier(.34,1.56,.64,1);
  box-shadow:0 3px 10px rgba(0,0,0,.3);pointer-events:none;
}
.mp-card:hover .mp-pick-icon{opacity:1;transform:scale(1)}

/* ========== RESPONSIVE ========== */
img,video{max-width:100%;height:auto}

@media(max-width:1024px){
  .two-col{grid-template-columns:1fr}
  .quick-grid{grid-template-columns:repeat(4,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .hero-content{padding:0 44px}
}

/* ---------- TABLET / MOBILE (≤900px) ---------- */
@media(max-width:900px){
  .hdr-top{display:none}

  /* Nav stacks */
  .hdr-nav{flex-wrap:wrap;min-height:auto}

  .hdr-brand{
    flex:1;padding:8px 14px;
    border-right:0;border-bottom:1px solid rgba(255,255,255,.15);
  }

  /* Hamburger */
  .hdr-toggle{
    display:flex;align-items:center;justify-content:center;
    width:52px;background:var(--blue-700);border:0;cursor:pointer;flex-shrink:0;
  }
  .hdr-toggle span{
    display:block;width:22px;height:2px;background:#fff;
    border-radius:2px;transition:.25s;margin:3px auto;
  }
  .hdr-toggle.active span:nth-child(1){transform:translateY(8px) rotate(45deg)}
  .hdr-toggle.active span:nth-child(2){opacity:0}
  .hdr-toggle.active span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

  .hdr-menu-zone{flex-wrap:wrap;width:100%;flex:0 0 100%;align-items:flex-start}

  .hdr-menu{
    display:none;flex-direction:column;
    width:100%;border-top:1px solid rgba(255,255,255,.15);
  }
  .hdr-menu.open{display:flex}

  .hm-item{
    display:flex;flex-wrap:wrap;align-items:center;
    border-bottom:1px solid rgba(255,255,255,.1);list-style:none;
  }
  .hm-item > a{
    flex:1;padding:12px 16px;height:auto;
    flex-direction:row;gap:6px;text-align:left;
    justify-content:flex-start;border-right:0;font-size:.95rem;
  }
  .hm-sub{margin-top:0}
  .hm-caret{
    display:flex;align-items:center;justify-content:center;
    width:46px;height:46px;flex-shrink:0;cursor:pointer;
    position:static;transform:none;margin-left:auto;
  }
  .hm-item.open > .hm-caret{transform:rotate(180deg)}
  .hm-item:hover > .hm-drop{display:none}
  .hm-drop{
    position:static;display:none;
    width:100%;background:rgba(0,0,0,.2);
    border-radius:0;box-shadow:none;border-top:0;
  }
  .hm-item.open > .hm-drop{display:block}
  .hm-drop li a{color:#cdeed8;padding:11px 28px;font-size:.9rem}

  .hdr-search{display:none}

  .quick-grid{grid-template-columns:repeat(3,1fr)}
  .footer-grid{grid-template-columns:1fr}
}

/* ---------- PHONE (≤768px) ---------- */
@media(max-width:768px){
  body{font-size:14.5px}
  .container{padding:0 14px}

  .hdr-logo-circle{width:46px;height:46px}
  .hdr-logo-circle img{width:40px;height:40px}
  .hdr-brand-name{font-size:.95rem}
  .hdr-brand-sub{font-size:.6rem}

  .hero{height:300px}
  .hero-content{padding:0 22px}
  .hero-content h2{font-size:1.45rem}
  .hero-content .tags{font-size:.85rem}
  .hero-btn{width:38px;height:38px;font-size:16px}
  .hero-btn.prev{left:8px}
  .hero-btn.next{right:8px}

  .quick{margin-top:-30px}
  .quick-grid{grid-template-columns:repeat(3,1fr)}
  .quick-item{padding:16px 6px}

  .news-hero{grid-template-columns:1fr;gap:14px}
  .news-hero .news-featured img,
  .news-featured img{height:210px}

  .article{padding:20px 16px;margin:18px auto}
  .article h1{font-size:1.35rem}
  .footer-grid{grid-template-columns:1fr;gap:22px;padding:28px 0 22px}
  .footer-bottom{flex-direction:column;align-items:flex-start}
  .footer-bottom .footer-links{flex-wrap:wrap;gap:14px}

  /* iOS: 16px inputs prevent auto-zoom on focus */
  input,select,textarea{font-size:16px}
  .header-search input,.sub-row input{font-size:16px}
}

/* ---------- SMALL PHONE (≤480px) ---------- */
@media(max-width:480px){
  .topbar{font-size:.74rem}
  .topbar .tb-left{display:none}
  .topbar .container{justify-content:center;height:auto;padding:6px 14px}

  .quick-grid{grid-template-columns:repeat(2,1fr)}

  .hero{height:250px}
  .hero-content h2{font-size:1.22rem}

  .qlinks-grid{grid-template-columns:1fr}
  .brand-text h1{font-size:1.05rem}
}

/* ========== NEWS DETAIL LAYOUT (2-column: article + sidebar) ========== */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
  padding-top: 30px;
  padding-bottom: 40px;
}
.detail-main .article {
  max-width: 100%;
  margin: 0 0 24px 0;
}
.detail-sidebar {
  position: sticky;
  top: 16px;
}

/* Sidebar panel */
.sidebar-panel { border-radius: var(--radius); overflow: hidden; }
.sidebar-list { padding: 0 !important; }

/* Sidebar item */
.sidebar-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background .15s;
}
.sidebar-item:last-of-type { border-bottom: none; }
.sidebar-item:hover { background: #f1f5f9; }
.sidebar-item:hover .sidebar-title { color: var(--blue-700); }

.sidebar-item-img {
  flex-shrink: 0;
  width: 72px;
  height: 54px;
  border-radius: 6px;
  overflow: hidden;
}
.sidebar-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sidebar-item-info {
  flex: 1;
  min-width: 0;
}
.sidebar-cat {
  display: inline-block;
  font-size: .68rem;
  font-weight: 600;
  color: var(--blue-700);
  background: #d1fae5;
  padding: 1px 7px;
  border-radius: 20px;
  margin-bottom: 4px;
}
.sidebar-title {
  font-size: .82rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--blue-900);
  margin: 0 0 4px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar-date {
  font-size: .72rem;
  color: var(--muted);
}
.sidebar-panel .panel-body .btn {
  font-size: .8rem;
  margin: 0 auto;
  display: inline-block;
}

/* Responsive: stack on mobile */
@media (max-width: 900px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .detail-sidebar {
    position: static;
  }
}

/* ========== RELATED NEWS (title only) ========== */
.related-title-link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--border);
  text-decoration: none;
  color: var(--blue-900);
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.45;
  transition: color .15s;
}
.related-title-link:last-child { border-bottom: none; }
.related-title-link:hover { color: var(--blue-700); }
.related-bullet {
  color: var(--blue-600);
  font-size: .8rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ========== SERVICE SIDEBAR ========== */
.service-sidebar-panel { border-radius: var(--radius); overflow: hidden; }
.service-sidebar-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  color: #fff; font-size: .95rem; font-weight: 700;
}
.sh-icon {
  width: 26px; height: 26px; border-radius: 6px;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
/* Service list: 3-column grid */
.service-sidebar-list {
  list-style: none; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  padding: 10px; gap: 8px;
}
.service-sidebar-item { border-bottom: none; }
.service-sidebar-link {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px; text-align: center;
  padding: 14px 8px; height: 100%;
  border: 1.5px solid var(--line); border-radius: 10px;
  color: var(--ink); text-decoration: none; transition: .15s;
}
.service-sidebar-link:hover {
  background: var(--blue-50); border-color: var(--blue-500); color: var(--blue-700);
}
.service-sidebar-link:hover .ss-icon { background: var(--blue-700); color: #fff; }
.ss-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: var(--blue-100); color: var(--blue-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; transition: .15s;
}
.ss-label { font-size: .78rem; font-weight: 600; line-height: 1.35; }
.ss-arrow { display: none; }

/* Documents page 2-column layout */
.docs-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 22px;
  align-items: start;
}
.docs-sidebar {
  position: sticky;
  top: 16px;
}
@media (max-width: 900px) {
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; }
}

/* ================================================================
   DEMO-INSPIRED LAYOUT COMPONENTS (Bizplus Government 3 style)
   ================================================================ */

/* ── Section heading with left colored stripe ── */
.sec-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:0 0 10px 0;margin-bottom:14px;
  border-bottom:2px solid var(--line);
}
.sec-title{
  display:flex;align-items:center;gap:10px;
  font-size:1rem;font-weight:700;color:var(--blue-900);
}
.sec-title::before{
  content:'';display:block;
  width:5px;height:22px;
  background:var(--blue-700);border-radius:3px;flex-shrink:0;
}
.sec-more{
  font-size:.82rem;font-weight:600;color:var(--blue-600);
  display:flex;align-items:center;gap:3px;white-space:nowrap;
}
.sec-more:hover{color:var(--blue-800)}

/* ── Tab bar (news / announcements / documents) ── */
.tab-bar{
  display:flex;gap:0;
  border-bottom:2px solid var(--line);
  background:#fff;
}
.tab-btn{
  padding:10px 18px;
  font-size:.88rem;font-weight:600;
  color:var(--muted);
  cursor:pointer;border:none;background:none;
  border-bottom:3px solid transparent;margin-bottom:-2px;
  transition:.15s;font-family:inherit;
  display:flex;align-items:center;gap:6px;
}
.tab-btn.active{color:var(--blue-700);border-bottom-color:var(--blue-700)}
.tab-btn:hover:not(.active){color:var(--blue-900)}
.tab-pane{display:none;padding:14px 0 0}
.tab-pane.active{display:block}

/* ── Home 2-column: main + sidebar ── */
.home-layout{
  display:grid;
  grid-template-columns:1fr 320px;
  gap:22px;align-items:start;
}
.home-main{min-width:0}
.home-sidebar{
  display:flex;flex-direction:column;gap:16px;
  position:sticky;top:16px;
  margin-top:130px;
  align-items:stretch;
}

/* ── Info card (sidebar) ── */
.info-card{
  background:var(--blue-900);
  border-radius:var(--radius);
  overflow:hidden;color:#fff;
  width:100%;box-sizing:border-box;
}
.info-card-img{
  width:100%;height:160px;object-fit:cover;display:block;
  filter:brightness(.85);
}
.info-card-body{padding:14px 16px}
.info-card-title{font-size:.82rem;opacity:.8;margin-bottom:4px}
.info-card-name{font-size:1.05rem;font-weight:700;line-height:1.3;margin-bottom:8px}
.info-card-desc{font-size:.8rem;opacity:.85;line-height:1.65}
.info-links{list-style:none;margin:10px 0 0}
.info-links li{border-bottom:1px solid rgba(255,255,255,.1)}
.info-links li:last-child{border-bottom:0}
.info-links li a{
  display:flex;align-items:center;gap:8px;
  padding:8px 0;font-size:.82rem;color:rgba(255,255,255,.85);
  transition:.1s;
}
.info-links li a:hover{color:#fff;padding-left:4px}

/* ── Doc list row ── */
.doc-row{
  display:flex;align-items:flex-start;justify-content:space-between;
  gap:8px;padding:9px 0;
  border-bottom:1px dashed var(--line);
}
.doc-row:last-child{border-bottom:0}
.doc-row a{
  display:flex;align-items:flex-start;gap:8px;
  color:var(--ink);font-size:.85rem;line-height:1.45;flex:1;
}
.doc-row a:hover{color:var(--blue-700)}
.doc-bullet{
  width:22px;height:22px;border-radius:5px;
  background:var(--blue-100);color:var(--blue-700);
  display:flex;align-items:center;justify-content:center;
  font-size:.7rem;flex-shrink:0;margin-top:1px;
}
.doc-date{font-size:.74rem;color:var(--muted);white-space:nowrap;padding-top:3px}

/* ── Org/province strip (below main content) ── */
.org-strip{
  background:linear-gradient(135deg,var(--blue-900) 0%,#7d1218 100%);
  color:#fff;padding:32px 0;margin:20px 0 0;
}
.org-strip h2{font-size:1.4rem;font-weight:700;margin-bottom:6px}
.org-strip p{opacity:.85;font-size:.9rem;line-height:1.7}
.org-strip-grid{
  display:grid;grid-template-columns:1.5fr 1fr;
  gap:32px;align-items:center;
}
.org-strip-links{list-style:none;display:flex;flex-direction:column;gap:4px}
.org-strip-links li a{
  display:flex;align-items:center;gap:8px;
  color:rgba(255,255,255,.8);font-size:.85rem;padding:5px 0;transition:.1s;
}
.org-strip-links li a::before{content:'›';color:var(--blue-500);font-size:1.1rem}
.org-strip-links li a:hover{color:#fff;padding-left:4px}

/* ── Footer color stripe (top of footer) ── */
.footer-stripe{
  height:6px;
  background:linear-gradient(90deg,var(--gold) 0%,var(--blue-600) 50%,var(--blue-900) 100%);
}

/* ── Responsive adjustments ── */
@media(max-width:1024px){
  .home-layout{grid-template-columns:1fr 300px}
}
@media(max-width:900px){
  .home-layout{grid-template-columns:1fr}
  .home-sidebar{position:static}
  .org-strip-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
  .tab-btn{padding:9px 12px;font-size:.8rem}
}

/* ══════════════════════════════════════════════════════
   TOURIST SPOTS SECTION — demo style
══════════════════════════════════════════════════════ */
.ts-section{
  position:relative;
  padding:36px 0 40px;
  background-color:#c8e6d4;
  background-size:cover;
  background-position:center;
  background-attachment:fixed;
}
.ts-overlay{
  position:absolute;inset:0;
  background:rgba(255,255,255,.72);
  z-index:0;
}
.ts-header{
  margin-bottom:22px;
}
.ts-heading{
  font-size:2rem;font-weight:900;font-style:italic;
  color:#1a7a3a;line-height:1.2;margin:0 0 6px;
  text-shadow:0 1px 0 rgba(255,255,255,.8);
}
.ts-sub{
  color:#3a6648;font-size:.88rem;margin:0;
}
/* 5-column grid */
.ts-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:14px;
}
.ts-card{
  display:block;
  border-radius:10px;overflow:hidden;
  background:#fff;
  box-shadow:0 3px 12px rgba(0,0,0,.12);
  color:inherit;text-decoration:none;
  transition:transform .2s,box-shadow .2s;
}
.ts-card:hover{
  transform:translateY(-4px);
  box-shadow:0 8px 24px rgba(0,0,0,.18);
}
.ts-card-img{
  height:180px;overflow:hidden;
  background:#d1e8da;
  position:relative;
}
.ts-card-img img{
  width:100%;height:100%;
  object-fit:cover;
  transition:transform .35s;
}
.ts-card:hover .ts-card-img img{transform:scale(1.07)}
.ts-card-ph{
  width:100%;height:100%;
  display:flex;align-items:center;justify-content:center;
  font-size:3rem;background:#d1e8da;
}
.ts-card-body{
  padding:12px 14px 14px;
  text-align:center;
}
.ts-card-name{
  font-size:.88rem;font-weight:700;
  color:#1a7a3a;margin:0 0 5px;
  line-height:1.35;
}
.ts-card-desc{
  font-size:.78rem;color:#555;
  line-height:1.5;margin:0;
}
.ts-btn-more{
  display:inline-block;
  padding:9px 28px;
  background:#1a7a3a;color:#fff;
  border-radius:6px;font-size:.88rem;font-weight:600;
  text-decoration:none;transition:.15s;
}
.ts-btn-more:hover{background:#145e2c}

@media(max-width:1100px){.ts-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.ts-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:450px){.ts-grid{grid-template-columns:1fr}}
@media(max-width:768px){.ts-heading{font-size:1.5rem}.ts-section{background-attachment:scroll}}

/* ══════════════════════════════════════════════════════
   RESPONSIVE GRID UTILITIES (video / stats / docs)
══════════════════════════════════════════════════════ */
.news-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.video-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.all-video-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

/* ── Tablet (≤900px) ── */
@media(max-width:900px){
  /* hb-wrap: hide governor card, keep center text */
  .hb-gov{display:none !important}
  .hbt-label{margin-left:16px}

  /* home sidebar: remove desktop offset */
  .home-sidebar{margin-top:0 !important}

  /* reduce negative pull */
  .main-content{margin-top:-60px}

  /* grids → 2-col */
  .news-grid{grid-template-columns:repeat(2,1fr)}
  .video-grid{grid-template-columns:repeat(2,1fr)}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .all-video-grid{grid-template-columns:repeat(2,1fr)}
}

/* ── Phone (≤768px) ── */
@media(max-width:768px){
  /* cancel negative pull completely */
  .main-content{margin-top:0}

  /* video header wraps cleanly */
  .video-section-header{flex-wrap:wrap;gap:8px}

  /* grids stay 2-col with tighter gap */
  .news-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .video-grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .stats-grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .all-video-grid{grid-template-columns:repeat(2,1fr);gap:12px}

  /* stat cards: smaller padding */
  .stat-card{padding:16px 10px !important}

  /* detail-layout sidebar below article */
  .detail-layout{grid-template-columns:1fr}
  .detail-sidebar{position:static}

  /* office list: single column */
  .off-list .off-item{flex-wrap:wrap}

  /* quick-grid: 3 col on phone */
  .quick-grid{grid-template-columns:repeat(3,1fr) !important}

  /* hb-wrap center text: smaller */
  .hb-slogan{font-size:1.2rem}
  .hb-desc{font-size:.82rem}
  .hb-center-text{padding:18px 16px 14px}

  /* service sidebar: 2 col on phone */
  .service-sidebar-list{grid-template-columns:1fr 1fr}
}

/* ══════════════════════════════════════════════════════
   MOBILE NAV — VISUAL REDESIGN
══════════════════════════════════════════════════════ */

/* ── Elements hidden on desktop ── */
.hdr-search-toggle{ display:none }
.hm-footer{ display:none }

/* ── Mobile search bar (slides from below nav) ── */
.hdr-mobile-search{
  background:linear-gradient(135deg,var(--blue-900) 0%,#0a1f0e 100%);
  max-height:0;overflow:hidden;
  transition:max-height .35s cubic-bezier(.4,0,.2,1);
  position:sticky;top:0;z-index:98;
  box-shadow:0 4px 16px rgba(0,0,0,.45);
}
.hdr-mobile-search.open{ max-height:76px }
.hdr-mobile-search-inner{
  padding:10px 14px;display:flex;gap:8px;align-items:center;
}
.hdr-mobile-search-inner input{
  flex:1;border:2px solid rgba(255,255,255,.2);
  border-radius:50px;
  padding:9px 18px;font-family:inherit;font-size:16px;
  outline:none;color:var(--ink);background:#fff;
  transition:border-color .2s;
}
.hdr-mobile-search-inner input:focus{ border-color:var(--blue-500) }
.hdr-mobile-search-inner button{
  border:0;background:var(--gold);color:#fff;
  border-radius:50px;padding:9px 18px;cursor:pointer;
  font-family:inherit;font-size:.88rem;font-weight:700;
  white-space:nowrap;transition:background .15s;
  flex-shrink:0;
}
.hdr-mobile-search-inner button:hover{ background:#a87920 }

/* ── Backdrop overlay ── */
.nav-backdrop{
  display:none;position:fixed;inset:0;z-index:97;
  background:rgba(0,0,0,.6);
  -webkit-backdrop-filter:blur(4px);
  backdrop-filter:blur(4px);
  transition:opacity .25s;
}
.nav-backdrop.show{ display:block }

/* ── Scroll-lock ── */
body.nav-open{ overflow:hidden }

/* ════════════════════════════════════════════
   MOBILE NAV STYLES  (≤900px)
════════════════════════════════════════════ */
@media(max-width:900px){

  /* ── Nav bar row ── */
  .hdr-nav{ flex-wrap:wrap; min-height:auto; box-shadow:0 2px 16px rgba(0,0,0,.5) }

  /* Brand area: compact, dark */
  .hdr-brand{
    flex:1;
    padding:10px 14px;
    background:var(--blue-900);
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.1);
  }

  /* ── Button group (hamburger + search) ── */
  .hdr-menu-zone{
    flex-wrap:wrap;width:100%;flex:0 0 100%;align-items:flex-start;
    background:var(--blue-900);
  }

  /* Shared style for both toggle buttons */
  .hdr-toggle,
  .hdr-search-toggle{
    display:flex;align-items:center;justify-content:center;
    background:var(--blue-900);border:0;cursor:pointer;flex-shrink:0;
    color:#fff;transition:background .18s;
  }

  /* Hamburger button */
  .hdr-toggle{
    width:60px;min-height:54px;
    flex-direction:column;gap:1px;
    border-left:1px solid rgba(255,255,255,.1);
    order:2;
  }
  .hdr-toggle span{
    display:block;width:22px;height:2px;background:#fff;
    border-radius:2px;transition:.28s cubic-bezier(.4,0,.2,1);margin:3px auto;
  }
  .hdr-toggle em{
    font-style:normal;font-size:.6rem;font-weight:700;
    color:rgba(255,255,255,.75);letter-spacing:.5px;
    margin-top:2px;line-height:1;
  }
  .hdr-toggle.active span:nth-child(1){transform:translateY(8px) rotate(45deg)}
  .hdr-toggle.active span:nth-child(2){opacity:0;transform:scaleX(0)}
  .hdr-toggle.active span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
  .hdr-toggle.active em{ color:rgba(255,255,255,.5) }

  /* Search toggle button */
  .hdr-search-toggle{
    display:flex;
    width:54px;min-height:54px;
    border-left:1px solid rgba(255,255,255,.1);
    order:3;
    position:relative;z-index:101;
  }

  .hdr-toggle:hover,
  .hdr-search-toggle:hover{ background:rgba(255,255,255,.08) }
  .hdr-toggle.active,
  .hdr-search-toggle.active{ background:var(--blue-700) }

  /* ── Hide search zone on mobile ── */
  .hdr-search{ display:none }

  /* ══ Menu panel ══ */
  .hdr-menu{
    display:flex !important;
    flex-direction:column;
    width:100%;
    max-height:0;overflow:hidden;
    background:linear-gradient(180deg,#0f3d1c 0%,#082210 100%);
    transition:max-height .42s cubic-bezier(.4,0,.2,1);
  }
  .hdr-menu.open{ max-height:800px }

  /* ── Each menu item row ── */
  .hm-item{
    display:flex;flex-wrap:wrap;align-items:stretch;
    list-style:none;
    border-bottom:1px solid rgba(255,255,255,.07);
    position:relative;
    transition:background .15s;
  }
  .hm-item::before{
    content:'';
    position:absolute;left:0;top:0;bottom:0;
    width:3px;background:transparent;
    transition:background .18s;
  }
  .hm-item:hover::before,
  .hm-item:hover{ background:rgba(255,255,255,.05) }
  .hm-item:hover::before{ background:var(--gold) }

  /* ── Menu link ── */
  .hm-item > a{
    flex:1;
    display:flex;align-items:center;gap:10px;
    padding:15px 18px 15px 20px;
    height:auto;text-align:left;
    font-size:1rem;font-weight:700;
    color:#fff;letter-spacing:.01em;
    border-right:0;
    white-space:nowrap;
  }
  .hm-item > a:hover{ background:transparent }

  /* ── Sub-labels (HOME/NEWS) — hidden on mobile ── */
  .hm-sub{ display:none !important }

  /* ── Caret: bigger touch zone ── */
  .hm-caret{
    display:none; /* hide text caret; use button instead */
  }

  /* Dropdown toggle button (touch-friendly arrow) */
  .hm-item.has-drop > a::after{
    content:'›';
    font-size:1.3rem;font-weight:400;
    color:rgba(255,255,255,.5);
    margin-left:auto;
    transition:transform .28s,color .15s;
    flex-shrink:0;
    line-height:1;
  }
  .hm-item.has-drop.open > a::after{
    transform:rotate(90deg);
    color:var(--gold);
  }

  /* Caret click zone (invisible overlay on the right side) */
  .hm-item.has-drop > a{
    padding-right:52px; /* room for the arrow */
  }

  /* ══ Dropdown sub-menu ══ */
  .hm-drop{
    position:static;
    display:block !important;
    max-height:0;overflow:hidden;
    transition:max-height .3s ease;
    background:rgba(0,0,0,.28);
    border-radius:0;box-shadow:none;border-top:0;
    width:100%;
    border-left:3px solid var(--blue-600);
  }
  .hm-item:hover > .hm-drop{ max-height:0 }
  .hm-item.open > .hm-drop{ max-height:500px }

  .hm-drop li{
    border-bottom:1px solid rgba(255,255,255,.05);
  }
  .hm-drop li:last-child{ border-bottom:0 }
  .hm-drop li a{
    display:flex;align-items:center;gap:8px;
    padding:12px 20px 12px 28px;
    color:rgba(255,255,255,.82);
    font-size:.92rem;font-weight:500;
    transition:background .12s,color .12s,padding-left .12s;
    border-bottom:none;
  }
  .hm-drop li a::before{
    content:'›';color:var(--blue-500);font-size:1rem;flex-shrink:0;
  }
  .hm-drop li a:hover{
    background:rgba(255,255,255,.08);
    color:#fff;padding-left:34px;
  }

  /* ══ Menu footer ══ */
  .hm-footer{
    display:flex !important;
    align-items:center;gap:10px;
    padding:14px 18px 16px;
    background:rgba(0,0,0,.35);
    border-bottom:none;list-style:none;
    border-top:1px solid rgba(255,255,255,.08);
  }
  .hm-footer-label{
    font-size:.72rem;color:rgba(255,255,255,.5);
    flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
    font-style:italic;
  }
  .hm-footer-social{ display:flex;gap:8px;flex-shrink:0 }
  .hm-footer-social a{
    height:32px;padding:0 12px;
    border-radius:50px;
    display:flex;align-items:center;justify-content:center;
    font-size:.75rem;font-weight:800;
    color:#fff;text-decoration:none;
    letter-spacing:.5px;
    transition:filter .15s,transform .15s;
  }
  .hm-footer-social a:hover{ filter:brightness(1.15);transform:translateY(-1px) }
  .hm-footer-social a.fb{ background:#1877f2 }
  .hm-footer-social a.li{ background:#06b00a }
  .hm-footer-social a.yt{ background:#c4131d }

  /* Quick grid */
  .quick-grid{ grid-template-columns:repeat(3,1fr) }
  .footer-grid{ grid-template-columns:1fr }
}

/* ── Small phone (≤480px) ── */
@media(max-width:480px){
  /* grids → 2-col tight */
  .news-grid{grid-template-columns:1fr;gap:10px}
  .video-grid{grid-template-columns:1fr 1fr;gap:8px}
  .stats-grid{grid-template-columns:1fr 1fr;gap:8px}
  .all-video-grid{grid-template-columns:1fr 1fr;gap:8px}

  /* quick → 2 col */
  .quick-grid{grid-template-columns:repeat(2,1fr) !important}

  /* footer links wrap */
  .footer-bottom .footer-links{flex-wrap:wrap;gap:10px}

  /* nav brand: compact */
  .hdr-brand{padding:6px 10px}
  .hdr-logo-circle{width:40px;height:40px}
  .hdr-logo-circle img{width:36px;height:36px}
  .hdr-brand-name{font-size:.88rem}
  .hdr-brand-sub{display:none}

  /* hero shorter */
  .hero{height:220px}
  .hero-content h2{font-size:1.1rem}
  .hero-content .tags{font-size:.78rem}
  .hero-content{padding:0 40px 24px}

  /* service sidebar: 2 col still ok */
  .service-sidebar-list{grid-template-columns:1fr 1fr}
}
