/* ==========================================================================
   ХАРХОРУМ ХОТЫН ЗӨВЛӨЛ — албан ёсны цахим хуудас
   Дизайн систем v2.0 — kharkhorum.gov.mn-ийн албан ёсны хэв маягт нийцүүлсэн
   Roboto · төрийн хөх #083479 · сүлдний хөх #002060 · цайвар талбар #EDF2FC
   ========================================================================== */

:root{
  /* ── Өнгө ── */
  --ink:        #08234F;   /* гүн хөх — hero, pagehead, тоон самбар */
  --ink-2:      #0E3067;
  --state:      #083479;   /* төрийн хөх — үндсэн цэс, товч */
  --state-2:    #316AD2;   /* холбоос, идэвхтэй */
  --state-3:    #EDF2FC;   /* цайвар хөх талбар */
  --emblem:     #002060;   /* сүлдний албан ёсны хөх */
  --seal:       #B3282D;   /* онцгой тэмдэглэгээ (тогтоол) */
  --bronze:     #B08A3E;   /* маш ховор өргөлт */
  --bronze-2:   #7A5C21;
  --gold:       #D8B96F;   /* алтлаг өргөлт — чуулганы брэндээс */
  --gold-soft:  rgba(216,185,111,.32);
  --sand:       #F6F8FC;   /* хуудасны дэвсгэр */
  --sand-2:     #EDF2FC;
  --sand-3:     #E1E8F5;
  --line:       #E3E9F2;
  --line-2:     #D3DCEA;
  --text:       #343F52;   /* үндсэн текст */
  --text-2:     #60697B;   /* туслах текст */
  --text-3:     #666F81;
  --white:      #FFFFFF;
  --ok:         #2F7A57;

  /* ── Хэмжээс ── */
  --wrap: 1140px;
  --sec-y: 64px;
  --r-s: 2px;
  --r-m: 3px;
  --r-l: 4px;
  --sh-1: 0 0 0 .8px rgba(8,60,130,.06), 0 0 20px rgba(30,34,40,.04);
  --sh-2: 0 0 0 .8px rgba(8,60,130,.08), 0 8px 28px rgba(30,34,40,.09);
  --sh-3: 0 18px 50px rgba(8,35,79,.18);

  /* ── Үсэг ── */
  --f-head: "Roboto", -apple-system, "Segoe UI", Arial, sans-serif;
  --f-body: "Roboto", -apple-system, "Segoe UI", Arial, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:84px; -webkit-text-size-adjust:100%; }
body{
  margin:0; background:var(--white); color:var(--text-2);
  font-family:var(--f-body); font-size:15.5px; line-height:1.75; font-weight:400;
  -webkit-font-smoothing:antialiased; overflow-wrap:break-word;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:var(--state-2); text-decoration:none; transition:color .15s; }
a:hover{ color:var(--state); text-decoration:none; }
h1,h2,h3,h4,h5{ font-family:var(--f-head); color:var(--text); margin:0 0 .55em; line-height:1.25; }
h1{ font-size:clamp(28px,3.2vw,38px); font-weight:900; letter-spacing:.008em; }
h2{ font-size:clamp(23px,2.6vw,32px); font-weight:900; letter-spacing:.01em; }
h3{ font-size:clamp(18px,1.8vw,22px); font-weight:700; letter-spacing:0; }
h4{ font-size:13px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--state); }
p{ margin:0 0 1.05em; }
ul,ol{ margin:0 0 1.05em; padding-left:1.2em; }
li{ margin-bottom:.4em; }
strong,b{ font-weight:700; color:var(--text); }
hr{ border:0; border-top:1px solid var(--line); margin:2.2rem 0; }
:focus-visible{ outline:2px solid var(--state-2); outline-offset:3px; border-radius:2px; }
::selection{ background:var(--state-2); color:#fff; }

.wrap{ max-width:var(--wrap); margin:0 auto; padding:0 24px; }
.narrow{ max-width:860px; }
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }

/* Skip-link — гарын хэрэглэгч Tab дарахад харагдана */
.sr-only:focus{
  position:fixed; top:10px; left:10px; width:auto; height:auto; margin:0; overflow:visible;
  clip:auto; clip-path:none; white-space:normal; z-index:999;
  padding:12px 20px; background:var(--state); color:#fff; font-weight:700; border-radius:2px;
  box-shadow:0 6px 24px rgba(8,35,79,.35);
}

/* ── Дээд нимгэн зурвас — алтлаг хүрээ ── */
.ornament{ height:3px; background:linear-gradient(90deg, var(--bronze), var(--gold) 35%, var(--gold) 65%, var(--bronze)); }

/* ── Хэсгийн товч гарчиг (eyebrow) ── */
.rule-orn{ margin:0 0 14px; }
/* Утга нь гарчиг боловч харагдах байдал нь ижил (шатлалыг зөв байлгах) */
h2.rule-orn{ font-size:inherit; font-weight:400; letter-spacing:normal; line-height:inherit; color:inherit; }
.rule-orn::before,.rule-orn::after{ content:none; }
.rule-orn span{
  display:inline-block; font-size:12px; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:var(--state-2);
}
.section-ink .rule-orn span{ color:#8FB4EC; }

/* ══════════════ ДЭЭД ТУСЛАХ МӨР — гүн хөх албан зурвас ══════════════ */
.utility{ background:var(--emblem); color:rgba(255,255,255,.78); font-size:12.5px; }
.utility .wrap{ display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:40px; flex-wrap:nowrap; }
.utility a{ color:rgba(255,255,255,.78); }
.utility a:hover{ color:#fff; }
.utility .u-left{ display:flex; align-items:center; gap:9px; min-width:0; }
.utility .u-left span{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.utility .u-right{ display:flex; align-items:center; gap:18px; flex:none; }
.u-flag{ width:22px; height:14px; border-radius:1px; flex:none; box-shadow:0 0 0 1px rgba(255,255,255,.25); }
.lang-switch{ display:flex; border:1px solid var(--line-2); border-radius:var(--r-s); overflow:hidden; background:#fff; }
.lang-switch button{
  background:transparent; border:0; color:var(--text-2); font:inherit; font-size:11.5px; font-weight:700;
  padding:3px 8px; cursor:pointer; letter-spacing:.04em;
}
.lang-switch button[aria-pressed="true"]{ background:var(--state); color:#fff; }
.lang-switch button[disabled]{ opacity:.45; cursor:not-allowed; }
.lang-switch .lang-a{
  display:inline-flex; align-items:center; color:var(--text-2);
  font-size:11.5px; font-weight:700; padding:3px 8px; letter-spacing:.04em;
}
.lang-switch .lang-a:hover{ color:var(--state); }

/* ══════════════ БРЭНД — цагаан толгойн банд дотор ══════════════ */
.brand{ display:flex; align-items:center; gap:11px; flex:none; padding:9px 0; }
.brand .emblem{ width:40px; height:40px; flex:none; object-fit:contain; }
.brand-txt strong{
  display:block; font-family:var(--f-head); font-weight:700; font-size:14.5px; color:var(--emblem);
  line-height:1.2; letter-spacing:.035em; text-transform:uppercase;
}
.brand-txt small{
  display:block; font-size:9px; color:var(--text-3); letter-spacing:.15em; text-transform:uppercase;
  margin-top:2px; font-weight:500;
}

/* ══════════════ ХАЙЛТ — дээд туслах мөрөнд ══════════════ */
.searchbox{ display:flex; align-items:center; border:1px solid rgba(255,255,255,.28); border-radius:var(--r-s); background:rgba(255,255,255,.10); transition:border-color .15s; }
.searchbox:focus-within{ border-color:rgba(255,255,255,.6); }
.searchbox input{ border:0; background:transparent; font:inherit; font-size:12.5px; padding:4px 10px; width:140px; color:#fff; transition:width .25s ease; }
.searchbox input::placeholder{ color:rgba(255,255,255,.55); }
.searchbox input:focus{ outline:none; width:190px; }
.searchbox input:focus-visible{ outline:2px solid #fff; outline-offset:2px; }
.searchbox button{ border:0; background:transparent; cursor:pointer; padding:4px 9px; color:rgba(255,255,255,.65); }
.searchbox button:hover{ color:#fff; }
.footer .searchbox{ max-width:250px; }
.footer .searchbox input{ flex:1; width:120px; min-width:0; }
.footer .searchbox input:focus{ width:auto; }
.burger{ display:none; border:1px solid var(--line-2); background:var(--white); border-radius:var(--r-s); padding:9px 11px; cursor:pointer; }
.burger span{ display:block; width:19px; height:2px; background:var(--state); margin:4px 0; border-radius:2px; }

/* ══════════════ ҮНДСЭН ЦЭС — брэндтэй нэг цагаан банд ══════════════ */
.mainnav{ background:var(--white); position:sticky; top:0; z-index:60; border-bottom:1px solid var(--line); box-shadow:0 2px 12px rgba(8,35,79,.05); }
.mainnav .wrap{ display:flex; align-items:center; gap:8px; max-width:1400px; }
.mainnav ul{ list-style:none; margin:0 0 0 auto; padding:0; display:flex; flex-wrap:nowrap; align-self:stretch; }
.mainnav li{ margin:0; position:relative; display:flex; }
.mainnav .lang-switch{ flex:none; margin-left:6px; }
.mainnav > .wrap > ul > li > a{
  display:flex; align-items:center; gap:6px; color:var(--text); padding:20px 11px;
  font-size:13px; font-weight:500; letter-spacing:.005em; white-space:nowrap;
  border-bottom:3px solid transparent; transition:background .15s, color .15s;
}
.mainnav > .wrap > ul > li > a:hover{ background:var(--state-3); color:var(--state); }
.mainnav > .wrap > ul > li > a[aria-current="page"]{ color:var(--state); font-weight:700; border-bottom-color:var(--gold); background:rgba(8,52,121,.05); }
.mainnav .has-sub > a::after{ content:""; width:5px; height:5px; border-right:1.6px solid currentColor; border-bottom:1.6px solid currentColor; transform:rotate(45deg) translateY(-2px); opacity:.75; }
.subnav{
  position:absolute; left:0; top:100%; min-width:280px; background:var(--white);
  border-top:2px solid var(--gold); box-shadow:var(--sh-2);
  display:none; flex-direction:column; padding:6px 0; z-index:70;
}
.mainnav li:hover > .subnav, .mainnav li:focus-within > .subnav{ display:flex; }
.subnav a{ display:block; padding:10px 18px; color:var(--text-2); font-size:14px; }
.subnav a:hover{ background:var(--state-3); color:var(--state); }

/* ══════════════ ЧУУЛГАНЫ ЗАРЛАЛЫН ТУУЗ — албан ёсны онцлох зурвас ══════════════ */
.congress-ribbon{
  background:linear-gradient(90deg, var(--ink) 0%, var(--ink-2) 100%);
  border-bottom:1px solid var(--gold-soft);
}
.congress-ribbon a{
  display:flex; align-items:center; gap:14px; padding:11px 0; color:#fff;
}
.congress-ribbon .cr-mark{ flex:none; color:var(--gold); }
.congress-ribbon strong{
  color:#fff; font-family:var(--f-head); font-weight:700; font-size:13.5px;
  letter-spacing:.01em; line-height:1.4;
}
.congress-ribbon .cr-date{
  flex:none; font-size:11.5px; font-weight:700; letter-spacing:.06em;
  color:var(--gold); border:1px solid var(--gold-soft); border-radius:var(--r-s); padding:3px 9px;
}
.congress-ribbon .cr-go{
  margin-left:auto; flex:none; font-size:12.5px; font-weight:700; letter-spacing:.02em;
  color:rgba(255,255,255,.82); transition:color .15s;
}
.congress-ribbon a:hover .cr-go{ color:var(--gold); }
.congress-ribbon a:hover strong{ text-decoration:underline; text-underline-offset:4px; text-decoration-color:var(--gold-soft); }

/* ══════════════ HERO ══════════════ */
.hero{ position:relative; background:var(--ink); color:#fff; overflow:hidden; }
.hero-media{ position:absolute; inset:0; }
.hero-media img{ width:100%; height:100%; object-fit:cover; }
.hero-media::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(100deg, rgba(8,35,79,.94) 0%, rgba(8,35,79,.82) 45%, rgba(8,35,79,.42) 100%);
}
.hero-fallback{ position:absolute; inset:0; background:linear-gradient(120deg,#08234F,#0E3067 60%,#123A73); }

/* PSD брэндийн давхарга: сүлдний ус тэмдэг + нимгэн хайрцган хүрээ + зоосон хээ */
.hero-orn{ position:absolute; inset:0; pointer-events:none; }
.hero-orn::before{
  content:""; position:absolute; inset:0; opacity:.06;
  background:url(../img/logo-white.png) no-repeat right -70px top 30px / 430px auto;
}
.hero-orn::after{
  content:""; position:absolute; inset:22px; border:1px solid rgba(255,255,255,.20);
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='120' fill='none' stroke='rgba(255,255,255,0.16)' stroke-width='1.3'%3E%3Cg%3E%3Ccircle cx='24' cy='96' r='13'/%3E%3Ccircle cx='24' cy='96' r='5.5'/%3E%3Ccircle cx='58' cy='88' r='13'/%3E%3Ccircle cx='58' cy='88' r='5.5'/%3E%3Ccircle cx='92' cy='96' r='13'/%3E%3Ccircle cx='92' cy='96' r='5.5'/%3E%3Ccircle cx='126' cy='88' r='13'/%3E%3Ccircle cx='126' cy='88' r='5.5'/%3E%3Ccircle cx='74' cy='56' r='13'/%3E%3Ccircle cx='74' cy='56' r='5.5'/%3E%3Ccircle cx='108' cy='48' r='13'/%3E%3Ccircle cx='108' cy='48' r='5.5'/%3E%3Ccircle cx='142' cy='56' r='13'/%3E%3Ccircle cx='142' cy='56' r='5.5'/%3E%3Ccircle cx='124' cy='20' r='13'/%3E%3Ccircle cx='124' cy='20' r='5.5'/%3E%3Ccircle cx='158' cy='24' r='13'/%3E%3Ccircle cx='158' cy='24' r='5.5'/%3E%3C/g%3E%3C/svg%3E") no-repeat right 28px bottom 24px;
}
.hero-inner{ position:relative; padding:84px 0 90px; max-width:900px; }
.hero .kicker{
  display:inline-flex; align-items:center; gap:12px; font-size:12px; font-weight:700; letter-spacing:.2em; text-transform:uppercase;
  color:var(--gold); margin-bottom:18px; padding-left:0;
}
.hero .kicker::before{ content:""; width:36px; height:1px; background:var(--gold); flex:none; }
.hero h1{ color:#fff; font-size:clamp(28px,3.6vw,40px); font-weight:900; line-height:1.16; margin-bottom:.4em; }
.hero p.lead{ font-size:clamp(15.5px,1.4vw,18px); color:rgba(255,255,255,.86); max-width:640px; margin-bottom:28px; font-weight:400; }
.hero-cta{ display:flex; gap:12px; flex-wrap:wrap; }

/* ══════════════ ТОВЧ ══════════════ */
.btn{
  display:inline-flex; align-items:center; gap:8px; font-family:var(--f-head); font-size:14px; font-weight:700;
  letter-spacing:.02em; padding:12px 22px; border-radius:var(--r-s); border:1px solid transparent; cursor:pointer;
  transition:background .16s, color .16s, border-color .16s;
}
.btn-primary{ background:var(--state-2); color:#fff; border-color:var(--state-2); }
.btn-primary:hover{ background:var(--state); border-color:var(--state); color:#fff; }
.btn-gold{
  background:var(--gold); color:#2A1F12; border-color:var(--gold); font-weight:700;
  box-shadow:0 4px 20px rgba(216,185,111,.4);
}
.btn-gold:hover{ background:#E8D296; border-color:#E8D296; color:#2A1F12; box-shadow:0 4px 26px rgba(216,185,111,.55); }
.btn-ghost{ background:transparent; color:#fff; border-color:rgba(255,255,255,.5); }
.btn-ghost:hover{ background:rgba(255,255,255,.14); color:#fff; border-color:#fff; }
.btn-state{ background:var(--state); color:#fff; border-color:var(--state); }
.btn-state:hover{ background:var(--ink); border-color:var(--ink); color:#fff; }
.btn-outline{ background:var(--white); color:var(--state); border-color:var(--line-2); }
.btn-outline:hover{ border-color:var(--state-2); color:var(--state-2); background:var(--white); }
.btn-sm{ padding:8px 15px; font-size:13px; }

/* ══════════════ ХЭСЭГ ══════════════ */
.section{ padding:var(--sec-y) 0; background:var(--white); }
.section-sand{ background:var(--sand); }
.section-white{ background:var(--white); }
/* Дараалсан хэсгүүд автоматаар ээлжилж, урт цагаан хавтан үүсэхээс сэргийлнэ */
.section + .section:not(.section-sand):not(.section-ink):not(.section-white){ background:var(--sand); }
.section-sand + .section:not(.section-sand):not(.section-ink){ background:var(--white); }
.section-ink{ background:var(--ink); color:rgba(255,255,255,.78); }
.section-ink h2,.section-ink h3{ color:#fff; }
.section-ink strong{ color:#fff; }
.section-head{ margin-bottom:36px; max-width:820px; }
.section-head p{ color:var(--text-2); margin-bottom:0; }
.section-ink .section-head p{ color:rgba(255,255,255,.72); }

/* ══════════════ ТҮРГЭН ХОЛБООС ══════════════ */
.quickgrid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr)); gap:0; }
.quickgrid a{
  background:var(--white); padding:30px 26px; display:flex; flex-direction:column; gap:9px; color:var(--text-2);
  border-right:1px solid var(--line); border-bottom:3px solid transparent; transition:border-color .18s, background .18s;
}
.quickgrid a:last-child{ border-right:0; }
.quickgrid a:hover{ background:var(--state-3); border-bottom-color:var(--state-2); color:var(--text-2); }
.quickgrid .qi{ width:28px; height:28px; color:var(--state-2); margin-bottom:4px; }
.quickgrid strong{ font-family:var(--f-head); font-weight:700; font-size:16px; color:var(--text); }
.quickgrid small{ color:var(--text-2); font-size:13.5px; line-height:1.6; }

/* ══════════════ КАРТ ══════════════ */
.cards{ display:grid; gap:26px; }
.cards-2{ grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr)); }
.cards-3{ grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr)); }
.cards-4{ grid-template-columns:repeat(auto-fit,minmax(min(215px,100%),1fr)); }
.card{
  background:var(--white); border:0; border-radius:var(--r-m); padding:28px 26px;
  box-shadow:var(--sh-1); position:relative; overflow:hidden;
}
.card.accent{ padding-left:26px; }
.card.accent::before{ content:""; position:absolute; left:0; top:0; width:100%; height:3px; background:var(--state-2); }
.card h3{ margin-bottom:.5em; }
.cards-4 .card h3{ font-size:17px; }
.quickgrid strong{ font-size:16px; }
.card p:last-child{ margin-bottom:0; }
.card .card-no{
  font-family:var(--f-head); font-size:12px; font-weight:700; color:var(--state-2);
  letter-spacing:.16em; margin-bottom:12px; display:block; text-transform:uppercase;
}
.card-link{ display:block; color:inherit; }
.card-link:hover .card{ box-shadow:var(--sh-2); }
.section-ink .card{ background:rgba(255,255,255,.06); box-shadow:none; color:rgba(255,255,255,.78); }
.section-ink .card .card-no{ color:#8FB4EC; }

/* ══════════════ ТЭРГҮҮЛЭХ ЧИГЛЭЛИЙН ЖАГСААЛТ ══════════════ */
.dirlist{ background:var(--white); border-radius:var(--r-m); box-shadow:var(--sh-1); overflow:hidden; }
.dir-row{
  display:flex; align-items:center; gap:18px; padding:15px 22px;
  border-bottom:1px solid var(--line); color:var(--text-2); transition:background .15s;
}
.dir-row:hover{ background:var(--state-3); color:var(--text-2); }
.dir-no{ flex:none; width:36px; font-weight:700; font-size:13px; color:var(--state-2); letter-spacing:.08em; }
.dir-txt{ flex:1; min-width:0; }
.dir-txt strong{ display:block; font-family:var(--f-head); font-weight:700; font-size:15.5px; color:var(--text); margin-bottom:2px; }
.dir-txt small{ display:block; font-size:13.5px; color:var(--text-2); line-height:1.55; }
.dir-thumb{ flex:none; width:92px; height:58px; border-radius:var(--r-s); overflow:hidden; background:var(--state-3); }
.dir-thumb img{ width:100%; height:100%; object-fit:cover; }
.dir-thumb-icon{ display:grid; place-items:center; background:var(--ink); color:#8FB4EC; }
.dir-thumb-ph{
  display:grid; place-items:center; position:relative;
  background:linear-gradient(125deg, var(--ink), var(--ink-2) 60%, #123A73);
}
.dir-thumb-ph::after{ content:""; position:absolute; inset:4px; border:1px solid rgba(255,255,255,.18); border-radius:1px; }
.dir-thumb-ph img{ width:24px; height:24px; object-fit:contain; opacity:.8; }
.dir-arrow{ flex:none; color:var(--state-2); display:grid; place-items:center; transition:transform .15s, color .15s; }
.dir-row:hover .dir-arrow{ transform:translateX(3px); color:var(--state); }
.dir-more{
  display:block; padding:14px 22px; background:var(--state-3); color:var(--state);
  font-weight:700; font-size:14px; transition:background .15s;
}
.dir-more:hover{ background:var(--sand-3); color:var(--state); }
@media (max-width:560px){
  .dir-row{ gap:12px; padding:13px 16px; }
  .dir-thumb{ width:70px; height:46px; }
  .dir-no{ width:26px; }
}

/* ══════════════ ТООН ҮЗҮҮЛЭЛТ ══════════════ */
.stats{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr)); gap:0; }
.stat{ background:transparent; padding:44px 24px; border-right:1px solid rgba(255,255,255,.12); }
.stat:last-child{ border-right:0; }
.stat b{ display:block; font-family:var(--f-head); font-size:clamp(28px,2.8vw,40px); font-weight:900; color:#fff; line-height:1.08; letter-spacing:0; }
.stat span{ display:block; font-size:13.5px; color:rgba(255,255,255,.72); margin-top:10px; line-height:1.6; }
.stat em{ font-style:normal; color:#8FB4EC; }

/* ══════════════ МЭДЭЭ ══════════════ */
.newsgrid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr)); gap:26px; }
/* Гурван карт ижил өндөртэй байх */
.newsgrid .card-link{ display:flex; }
.newsgrid .news-item{ width:100%; }
.news-item{ background:var(--white); border-radius:var(--r-m); overflow:hidden; display:flex; flex-direction:column; box-shadow:var(--sh-1); transition:box-shadow .2s; }
.card-link:hover .news-item{ box-shadow:var(--sh-2); }
.news-item .thumb{ aspect-ratio:16/9; background:var(--sand-3); overflow:hidden; }
.news-item .thumb-ph{
  display:grid; place-items:center;
  background:linear-gradient(125deg, var(--ink), var(--ink-2) 60%, #123A73);
}
.news-item .thumb-ph .ph-emblem{ width:46px; height:46px; object-fit:contain; opacity:.75; }
.news-item .thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.card-link:hover .thumb img{ transform:scale(1.05); }
.news-body{ padding:22px 24px 26px; flex:1; display:flex; flex-direction:column; }
.news-meta{ font-size:12.5px; color:var(--text-3); margin-bottom:10px; display:flex; gap:10px; align-items:center; }
.tag{
  display:inline-block; font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  padding:4px 9px; border-radius:var(--r-s); background:var(--state-3); color:var(--state);
}
/* Шошгууд бүгд нэг ижил цэнхэр загвартай */
.tag-seal{ background:var(--state-3); color:var(--state); }
.status{
  display:inline-flex; gap:8px; align-items:center; justify-content:center; font-size:12.5px; font-weight:500;
  letter-spacing:.01em; min-width:224px; height:34px; padding:0 12px; border-radius:var(--r-s);
  background:var(--white); border:1px solid var(--line-2); color:var(--text-3); white-space:nowrap;
}


/* Ажилладаг (линктэй) нүдний товч — өнгөтэй */
.cell-btn{
  display:inline-flex; align-items:center; justify-content:center; min-width:224px; height:34px;
  padding:0 12px; border-radius:var(--r-s); background:var(--state-2); color:#fff !important;
  font-size:13px; font-weight:700; letter-spacing:.02em; white-space:nowrap;
  transition:background .15s;
}
.cell-btn:hover{ background:var(--state); color:#fff; }

/* Нээлттэй сонгон шалгаруулалт — зөөлөн дулаан pill */
.hiring{
  display:inline-flex; align-items:center; justify-content:center; font-size:12.5px; font-weight:500;
  min-width:224px; height:34px; padding:0 12px; border-radius:var(--r-s); white-space:nowrap;
  background:#FBF7EC; border:1px solid #EADFC3; color:var(--bronze-2);
}
/* Сонгон шалгаруулалт дууссан — тайван ногоон pill */
.hiring.filled{ background:#EEF6F0; border-color:#CFE3D4; color:#2F6B45; }
/* Ажлын байрны тавигдах шаардлага */
.req-link{ display:inline-block; margin-left:8px; font-size:12.5px; font-weight:600; white-space:nowrap; }
.acc .acc-body.req h4{ font-family:var(--f-head); font-size:14px; font-weight:700; color:var(--state); margin:16px 0 6px; }
.acc .acc-body.req h4:first-child{ margin-top:0; }
.acc .acc-body.req ul{ margin:0 0 4px; padding-left:20px; }
.acc .acc-body.req li{ margin-bottom:4px; }
.acc .acc-body.req dl{ display:grid; grid-template-columns:130px 1fr; gap:6px 14px; margin:0; }
.acc .acc-body.req dt{ font-weight:600; color:var(--text); }
.acc .acc-body.req dd{ margin:0; }
@media (max-width:600px){ .acc .acc-body.req dl{ grid-template-columns:1fr; gap:2px; } .acc .acc-body.req dd{ margin-bottom:8px; } .acc .acc-body{ padding-left:22px; } }
.tag-bronze{ background:var(--state-3); color:var(--state); }
.news-body h3{ font-size:17.5px; margin-bottom:.55em; color:var(--text); }
.news-body p{ color:var(--text-2); font-size:14.5px; margin-bottom:0; padding-bottom:18px; }
/* «Дэлгэрэнгүй» — товч хэлбэртэй */
.news-body .more{
  margin-top:auto; align-self:flex-start; display:inline-block;
  padding:9px 20px; border:1px solid var(--line-2); border-radius:var(--r-s);
  font-size:13px; font-weight:700; color:var(--state); background:var(--white);
  transition:background .15s, border-color .15s, color .15s;
}
.card-link:hover .more{ background:var(--state); border-color:var(--state); color:#fff; }

/* ══════════════ ХҮСНЭГТ ══════════════ */
.table-wrap{ overflow-x:auto; border-radius:var(--r-m); background:var(--white); box-shadow:var(--sh-1); }
table.data{ width:100%; border-collapse:collapse; font-size:14.5px; min-width:560px; }
table.data th,table.data td{ padding:14px 16px; text-align:left; vertical-align:top; border-bottom:1px solid var(--line); }
table.data thead th{
  background:var(--sand-2); color:var(--state); font-family:var(--f-head); font-size:12.5px; font-weight:700;
  letter-spacing:.08em; text-transform:uppercase; border-bottom:1px solid var(--line-2);
}
table.data tbody tr:last-child td{ border-bottom:0; }
table.data tbody tr:hover{ background:var(--sand); }
table.data td small{ color:var(--text-3); }
.section-ink .table-wrap{ background:rgba(255,255,255,.05); box-shadow:none; }
.section-ink table.data th,.section-ink table.data td{ border-color:rgba(255,255,255,.12); color:rgba(255,255,255,.8); }
.section-ink table.data thead th{ background:rgba(255,255,255,.08); color:#fff; }
.section-ink table.data tbody tr:hover{ background:rgba(255,255,255,.05); }

/* ХҮСНЭГТ — ГАР УТАС: багана бүрийг мөр болгож задална */
@media (max-width:640px){
  .table-wrap{ overflow-x:visible; }
  table.data{ min-width:0; display:block; }
  table.data thead{ display:none; }
  table.data tbody, table.data tr, table.data td{ display:block; width:100%; }
  table.data tr{ border-bottom:1px solid var(--line-2); padding:10px 0; }
  table.data tr:last-child{ border-bottom:0; }
  table.data td{ border-bottom:0; padding:6px 16px; }
  table.data td[data-label]::before{
    content:attr(data-label); display:block; font-size:11px; font-weight:700;
    letter-spacing:.08em; text-transform:uppercase; color:var(--state); margin-bottom:2px;
  }
  table.data td:empty{ display:none; }
}

/* ══════════════ БАРИМТ БИЧГИЙН ЖАГСААЛТ ══════════════ */
.lawlist{ list-style:none; padding:0; margin:0; border-radius:var(--r-m); overflow:hidden; background:var(--white); box-shadow:var(--sh-1); }
.lawlist li{ margin:0; border-bottom:1px solid var(--line); }
.lawlist li:last-child{ border-bottom:0; }
.lawlist a{ display:flex; gap:20px; padding:18px 22px; color:var(--text-2); align-items:flex-start; border-left:3px solid transparent; transition:background .15s, border-color .15s; }
.lawlist a:hover{ background:var(--state-3); border-left-color:var(--state-2); color:var(--text-2); }
.lawlist .nolink{ display:flex; gap:20px; padding:18px 22px; color:var(--text-2); align-items:flex-start; border-left:3px solid transparent; }
.lawlist .doc-type{
  flex:none; width:112px; font-size:12.5px; letter-spacing:.01em; text-transform:none; font-weight:700;
  color:var(--state-2); padding-top:3px;
}
.lawlist .doc-main strong{ display:block; font-family:var(--f-head); font-weight:700; font-size:15.5px; color:var(--text); margin-bottom:4px; }
.lawlist .doc-main small{ color:var(--text-2); font-size:13.5px; line-height:1.6; }

/* ══════════════ ХҮН ══════════════ */
.people{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr)); gap:24px; }
.person{ background:var(--white); border-radius:var(--r-m); padding:24px; display:flex; gap:16px; box-shadow:var(--sh-1); }
.person .avatar{
  width:52px; height:52px; flex:none; border-radius:50%; background:var(--state-3); color:var(--state);
  display:grid; place-items:center; font-family:var(--f-head); font-weight:900; font-size:16px;
}
.person.lead .avatar{ background:var(--state); color:#fff; }
.avatar-img{ object-fit:cover; object-position:center top; border:2px solid var(--state-3); padding:0; }
.person.lead .avatar-img{ border-color:var(--state); }
.person strong{ display:block; font-family:var(--f-head); font-weight:700; font-size:16px; color:var(--text); }
.person small{ display:block; color:var(--text-2); font-size:13.5px; line-height:1.6; margin-top:5px; }

/* ══════════════ TIMELINE ══════════════ */
.timeline{ position:relative; padding-left:28px; margin:0; list-style:none; }
.timeline::before{ content:""; position:absolute; left:5px; top:8px; bottom:8px; width:2px; background:var(--sand-3); }
.timeline li{ position:relative; margin-bottom:28px; }
.timeline li::before{
  content:""; position:absolute; left:-27px; top:8px; width:12px; height:12px; border-radius:50%;
  background:var(--white); border:3px solid var(--state-2);
}
.timeline .t-date{ font-family:var(--f-head); font-size:12.5px; font-weight:700; letter-spacing:.01em; color:var(--state-2); text-transform:none; }
.timeline strong{ display:block; font-family:var(--f-head); font-weight:700; font-size:16.5px; color:var(--text); margin:4px 0 5px; }
.timeline p{ color:var(--text-2); font-size:14.5px; margin:0; }

/* ══════════════ ЧУУЛГАНЫ БАННЕР ══════════════ */
.cta-congress{
  background:var(--ink); color:rgba(255,255,255,.8); border-radius:var(--r-m); padding:48px 48px;
  position:relative; overflow:hidden; display:grid; grid-template-columns:1.5fr .85fr; gap:44px; align-items:center;
}
.cta-congress::before{
  content:""; position:absolute; left:0; top:0; bottom:0; width:4px; background:var(--bronze);
}
/* Нимгэн алтлаг дотор хүрээ + зоосон хээ (PSD брэндээс) */
.cta-congress::after{
  content:""; position:absolute; inset:13px; border:1px solid rgba(216,185,111,.25); border-radius:2px; pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='100' fill='none' stroke='rgba(255,255,255,0.13)' stroke-width='1.3'%3E%3Cg%3E%3Ccircle cx='20' cy='80' r='12'/%3E%3Ccircle cx='20' cy='80' r='5'/%3E%3Ccircle cx='52' cy='73' r='12'/%3E%3Ccircle cx='52' cy='73' r='5'/%3E%3Ccircle cx='84' cy='80' r='12'/%3E%3Ccircle cx='84' cy='80' r='5'/%3E%3Ccircle cx='68' cy='44' r='12'/%3E%3Ccircle cx='68' cy='44' r='5'/%3E%3Ccircle cx='100' cy='38' r='12'/%3E%3Ccircle cx='100' cy='38' r='5'/%3E%3Ccircle cx='116' cy='74' r='12'/%3E%3Ccircle cx='116' cy='74' r='5'/%3E%3C/g%3E%3C/svg%3E") no-repeat right 22px bottom 18px;
}
.cta-congress > *{ position:relative; z-index:2; }
.cta-congress h2{ color:#fff; margin-bottom:.4em; }
.cta-congress p{ color:rgba(255,255,255,.78); }
.cta-congress .cc-dates{ font-size:12.5px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:#D8B96F; margin-bottom:14px; }
.cta-congress .cc-side{ position:relative; z-index:2; }
.cc-badge{ border-left:1px solid rgba(255,255,255,.16); padding-left:28px; }
.cc-badge strong{ display:block; font-family:var(--f-head); font-weight:900; font-size:30px; color:#fff; line-height:1.1; }
.cc-badge small{ display:block; color:rgba(255,255,255,.62); font-size:12.5px; margin-top:2px; }
.cc-badge hr{ border-color:rgba(255,255,255,.14) !important; }

/* ДОТООД ХЭСГИЙН ЗААГ — урт хуудсанд h2 бүрийг тод тусгаарлана
   (inline margin-top:44px-ийг орлоно) */
.layout-side > div > h2{
  margin-top:52px; padding-top:40px; border-top:1px solid var(--line);
}
.layout-side > div > h2:first-child{ margin-top:0; padding-top:0; border-top:0; }

/* Мэдээний нийтлэл — гарчиг нь хуудасны h1-ээс жижиг байна */
.news-article{ margin-bottom:26px; }
.news-article h2{ font-size:clamp(20px,2.1vw,26px); margin-bottom:.5em; }

/* ══════════════ ХАЖУУГИЙН САМБАР ══════════════ */
.layout-side{ display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:52px; align-items:start; }
.sidebar{ position:sticky; top:110px; }
.sidebar .side-box{ background:var(--sand); border-radius:var(--r-m); padding:24px; margin-bottom:22px; }
.sidebar h3{ font-size:14px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--state);
  border-bottom:0; padding-bottom:0; margin-bottom:14px; }
.sidebar ul{ list-style:none; padding:0; margin:0; }
.sidebar li{ border-bottom:1px solid var(--line); }
.sidebar li:last-child{ border-bottom:0; }
.sidebar li a{ display:block; padding:10px 0; font-size:14px; color:var(--text-2); }
.sidebar li a:hover{ color:var(--state-2); }

/* ══════════════ ТҮҮХЭН ОН ЦАГИЙН ЭГНЭЭ ══════════════ */
.era{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.era-i{
  background:var(--white); border-radius:var(--r-m); box-shadow:var(--sh-1);
  position:relative; display:flex; flex-direction:column; overflow:hidden;
}
.era-img{ display:block; aspect-ratio:3/4; overflow:hidden; background:var(--sand-3); }
.era-img img{ width:100%; height:100%; object-fit:cover; object-position:center top; }
.era-txt{ padding:16px 20px 22px; }
.era-yr{ display:block; font-family:var(--f-head); font-size:30px; font-weight:900; color:var(--ink); line-height:1.1; margin:2px 0 10px; }
.era-yr-s{ font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--state-2); margin:6px 0 8px; }
.era-i h3{ font-size:16px; margin-bottom:.45em; }
.era-i p{ font-size:13.5px; color:var(--text-2); margin:0; line-height:1.6; }
@media (max-width:1080px){ .era{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .era{ grid-template-columns:1fr; gap:20px; } }

/* ══════════════ ХЭВТЭЭ МӨРӨН КАРТУУД (гарчиг зүүн · агуулга баруун) ══════════════ */
.hrow-list{ background:var(--white); border-radius:var(--r-m); box-shadow:var(--sh-1); overflow:hidden; }
.hrow{ display:grid; grid-template-columns:230px minmax(0,1fr); gap:30px; padding:24px 28px; border-bottom:1px solid var(--line); }
.hrow:last-child{ border-bottom:0; }
.hrow > h3{ font-size:16.5px; color:var(--state); margin:0; padding-top:2px; }
.hrow-body ul{ margin:0; padding-left:1.15em; columns:2; column-gap:38px; }
.hrow-body li{ break-inside:avoid; margin-bottom:.55em; font-size:14.3px; }
.hrow-body p{ font-size:14.5px; margin-bottom:.85em; }
.hrow-body p:last-child{ margin-bottom:0; }
@media (max-width:860px){
  .hrow{ grid-template-columns:1fr; gap:10px; padding:20px 22px; }
  .hrow-body ul{ columns:1; }
}

/* ══════════════ ХОТЫН ӨДРИЙН ХӨНДЛӨН БАННЕР ══════════════ */
.day-banner{
  background:linear-gradient(100deg, var(--ink), var(--ink-2)); border-radius:var(--r-m);
  color:rgba(255,255,255,.78); display:flex; align-items:center; gap:22px; padding:26px 32px;
  position:relative; overflow:hidden;
}
.day-banner::before{ content:""; position:absolute; left:0; top:0; bottom:0; width:4px; background:var(--gold); }
.day-banner::after{
  content:""; position:absolute; inset:10px; border:1px solid rgba(216,185,111,.22); border-radius:2px; pointer-events:none;
}
.day-banner h3{ color:#fff; margin-bottom:4px; font-size:18px; }
.day-banner p{ margin:0; font-size:14.5px; color:rgba(255,255,255,.75); }
.day-banner p strong{ color:var(--gold); }
.day-banner p em{ color:rgba(255,255,255,.55); }
.db-ic{
  flex:none; width:52px; height:52px; border-radius:50%;
  background:rgba(216,185,111,.14); border:1px solid var(--gold-soft); color:var(--gold);
  display:grid; place-items:center; position:relative; z-index:2;
}
.db-txt{ position:relative; z-index:2; }
.db-date{ margin-left:auto; flex:none; text-align:center; border-left:1px solid rgba(255,255,255,.15); padding-left:28px; position:relative; z-index:2; }
.db-date b{ display:block; font-family:var(--f-head); font-size:36px; font-weight:900; color:var(--gold); line-height:1; }
.db-date span{ display:block; font-size:10.5px; letter-spacing:.16em; text-transform:uppercase; color:rgba(255,255,255,.55); margin-top:5px; }
@media (max-width:640px){
  .day-banner{ flex-direction:column; align-items:flex-start; gap:14px; padding:22px 22px; }
  .db-date{ margin-left:0; border-left:0; padding-left:0; text-align:left; }
}

/* Хуулийн заалт бүхий картын дугуй дүрс */
.law-ic{
  width:42px; height:42px; border-radius:50%; background:var(--state-3); color:var(--state);
  display:grid; place-items:center; margin-bottom:14px;
}

/* ══════════════ ТООН ҮЗҮҮЛЭЛТИЙН САМБАР — хажуугийн онцлох ══════════════ */
.side-box.statbox{
  background:var(--ink); color:rgba(255,255,255,.72); position:relative; overflow:hidden;
}
.side-box.statbox::after{
  content:""; position:absolute; right:-30px; bottom:-30px; width:150px; height:150px;
  border:1px solid rgba(216,185,111,.25); border-radius:50%; pointer-events:none;
}
.side-box.statbox::before{
  content:""; position:absolute; right:2px; bottom:2px; width:86px; height:86px;
  border:1px solid rgba(216,185,111,.18); border-radius:50%; pointer-events:none;
}
.statbox h3{ color:var(--gold); }
.statbox .sb-i{ padding:11px 0; border-bottom:1px solid rgba(255,255,255,.12); position:relative; z-index:2; }
.statbox .sb-i:last-child{ border-bottom:0; padding-bottom:2px; }
.statbox .sb-i b{
  display:block; font-family:var(--f-head); font-weight:900; font-size:24px; color:#fff;
  line-height:1.15; letter-spacing:.01em;
}
.statbox .sb-i b em{ font-style:normal; color:var(--gold); font-size:17px; }
.statbox .sb-i.sb-txt b{ font-size:14.5px; font-weight:700; line-height:1.5; }
.statbox .sb-i span{ display:block; font-size:12px; color:rgba(255,255,255,.58); margin-top:3px; letter-spacing:.02em; }

/* ══════════════ ХУУДСЫН ТОЛГОЙ ══════════════ */
.pagehead{ background:var(--ink); color:#fff; padding:56px 0 52px; position:relative; overflow:hidden; }
.pagehead::after{ content:""; position:absolute; inset:0; background:linear-gradient(115deg, transparent 40%, rgba(63,120,224,.22) 100%); }
.pagehead::before{
  content:""; position:absolute; inset:0; opacity:.055; z-index:1;
  background:url(../img/logo-white.png) no-repeat right -50px center / 300px auto;
}
.pagehead .wrap{ position:relative; z-index:2; }
.pagehead h1{ color:#fff; margin-bottom:.35em; }
.pagehead p{ color:rgba(255,255,255,.78); max-width:720px; margin:0; }
.crumbs{ font-size:12.5px; color:rgba(255,255,255,.6); margin-bottom:16px; letter-spacing:.02em; }
.crumbs a{ color:rgba(255,255,255,.6); }
.crumbs a:hover{ color:#fff; }
.crumbs span{ margin:0 8px; opacity:.5; }

/* ══════════════ ACCORDION ══════════════ */
.acc{ border-radius:var(--r-m); background:var(--white); overflow:hidden; box-shadow:var(--sh-1); }
.acc details{ border-bottom:1px solid var(--line); }
.acc details:last-child{ border-bottom:0; }
.acc summary{
  cursor:pointer; padding:18px 22px; font-family:var(--f-head); font-weight:700; font-size:16px; color:var(--text);
  list-style:none; display:flex; align-items:center; gap:14px;
}
.acc summary::-webkit-details-marker{ display:none; }
.acc summary .t-date{ flex:none; min-width:88px; font-size:12.5px; font-weight:700; color:var(--state-2); letter-spacing:.01em; }
.acc summary::before{
  content:""; width:9px; height:9px; flex:none; border-right:2px solid var(--state-2); border-bottom:2px solid var(--state-2);
  transform:rotate(45deg) translateY(-2px); transition:transform .2s;
}
.acc details[open] summary::before{ transform:rotate(-135deg) translateY(-2px); }
.acc details[open] summary{ color:var(--state); }
.acc .acc-body{ padding:0 22px 22px 50px; font-size:14.8px; color:var(--text-2); }
.acc .acc-body p:last-child{ margin-bottom:0; }

/* ══════════════ ХӨЛ ══════════════ */
.footer{ background:var(--emblem); color:rgba(255,255,255,.66); padding:60px 0 0; font-size:14px; }
.footer h4, .footer .f-h{ color:#fff; font-family:var(--f-head); font-size:13px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; margin-bottom:18px; }
.footer a{ color:rgba(255,255,255,.66); }
.footer a.btn{ color:#fff; }   /* товчны текст бүдгэрэхээс сэргийлнэ */
.footer a:hover{ color:#fff; }
.footer-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:44px; }
.footer ul{ list-style:none; padding:0; margin:0; }
.footer li{ margin-bottom:10px; line-height:1.6; }
.footer .f-brand{ display:flex; gap:14px; align-items:flex-start; margin-bottom:16px; }
.footer .f-brand .emblem{ width:42px; height:42px; flex:none; object-fit:contain; }
.footer .f-brand strong{ color:#fff; font-family:var(--f-head); font-weight:700; font-size:15.5px; display:block; line-height:1.35; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.12); padding:20px 0; font-size:12.5px; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.social{ display:flex; gap:8px; margin-top:16px; }
.social a{ width:34px; height:34px; border:1px solid rgba(255,255,255,.2); border-radius:var(--r-s); display:grid; place-items:center; transition:background .15s, border-color .15s; }
.social a:hover{ background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.4); }

/* ══════════════ NOTICE ══════════════ */
.notice{
  background:var(--sand); border-left:3px solid var(--bronze); border-radius:0 var(--r-s) var(--r-s) 0;
  padding:20px 24px; font-size:14.5px; color:var(--text-2);
}
.notice strong{ color:var(--text); }
.notice.blue{ background:var(--state-3); border-left-color:var(--state-2); color:#2A4266; }
.notice.blue strong{ color:var(--state); }

/* ══════════════ ДЭЭШЭЭ ТОВЧ ══════════════ */
.totop{
  position:fixed; right:22px; bottom:22px; width:44px; height:44px; border-radius:50%; border:0;
  background:var(--state); color:#fff; cursor:pointer; display:grid; place-items:center; z-index:80;
  box-shadow:0 6px 20px rgba(8,52,121,.32); opacity:0; visibility:hidden; transform:translateY(10px);
  transition:opacity .25s, transform .25s, visibility .25s, background .15s;
}
.totop.show{ opacity:1; visibility:visible; transform:none; }
.totop:hover{ background:var(--state-2); }

/* ══════════════ ХӨДӨЛГӨӨН ══════════════ */
.js .reveal{ opacity:0; transform:translateY(16px); transition:opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); }
.js .reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){
  .js .reveal{ opacity:1; transform:none; transition:none; }
  html{ scroll-behavior:auto; }
  .card-link:hover .thumb img{ transform:none; }
}

/* ══════════════ RESPONSIVE ══════════════ */
@media (min-width:861px) and (max-width:1260px){
  .mainnav .wrap{ gap:8px; }
  .mainnav > .wrap > ul > li > a{ padding:20px 6px; font-size:12.2px; }
  .brand .emblem{ width:34px; height:34px; }
  .brand-txt strong{ font-size:12.5px; }
  .brand-txt small{ font-size:8px; }
}
@media (max-width:1080px){
  .layout-side{ grid-template-columns:minmax(0,1fr); }
  .sidebar{ position:static; }
  .cta-congress{ grid-template-columns:1fr; padding:34px 28px; }
  .cc-badge{ border-left:0; border-top:1px solid rgba(255,255,255,.16); padding-left:0; padding-top:24px; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:860px){
  .burger{ display:block; }
  .mainnav{ position:static; }
  .mainnav .wrap{ flex-wrap:wrap; gap:12px; padding-top:7px; padding-bottom:7px; }
  .mainnav .lang-switch{ margin-left:auto; }
  .mainnav li{ display:block; }
  .mainnav > .wrap > ul{ display:none; flex-direction:column; align-self:auto; margin:0 -24px; width:calc(100% + 48px); order:10; }
  .mainnav.open > .wrap > ul{ display:flex; }
  .mainnav > .wrap > ul > li{ border-bottom:1px solid var(--line); }
  .mainnav > .wrap > ul > li:first-child{ border-top:1px solid var(--line); }
  .mainnav > .wrap > ul > li > a{ padding:14px 24px; border-bottom:0; }
  .mainnav > .wrap > ul > li > a[aria-current="page"]{ border-bottom:0; border-left:3px solid var(--gold); padding-left:21px; background:var(--state-3); }
  .congress-ribbon a{ gap:12px; padding:12px 0; }
  .congress-ribbon strong{ flex:1; min-width:0; }
  .congress-ribbon .cr-go{ display:none; }
  .subnav{ position:static; display:none; box-shadow:none; background:var(--sand); padding:0 0 8px; border-top:0; min-width:0; }
  .mainnav li.open > .subnav{ display:flex; }
  .subnav a{ color:var(--text-2); padding:10px 38px; }
  .subnav a:hover{ background:var(--state-3); color:var(--state); }
  .mainnav li:hover > .subnav{ display:none; }
  .mainnav li.open:hover > .subnav{ display:flex; }
  .hero-inner{ padding:58px 0 62px; }
  .section{ padding:52px 0; }
  .quickgrid a{ border-right:0; border-bottom:1px solid var(--line); padding:24px; }
  .stat{ border-right:0; border-bottom:1px solid rgba(255,255,255,.12); padding:32px 20px; }
}
@media (max-width:560px){
  .footer-grid{ grid-template-columns:1fr; }
  .utility{ font-size:11.5px; }
  .utility .hide-s{ display:none; }
  /* Толгой нэг мөрөнд: сүлд + бүтэн нэр (2 мөр) + МОН/ENG + цэс */
  .mainnav .wrap{ gap:6px; }
  .brand{ gap:6px; padding:7px 0; min-width:0; flex:1; }
  .brand .emblem{ width:28px; height:28px; }
  .brand-txt{ min-width:0; }
  .brand-txt strong{ font-size:10.8px; letter-spacing:.01em; white-space:nowrap; }
  .brand-txt small{ display:block; font-size:7.5px; letter-spacing:.09em; margin-top:1px; white-space:nowrap; }
  .lang-switch button{ padding:3px 6px; font-size:10px; }
  .burger{ padding:6px 8px; }
  .burger span{ width:15px; }
  /* Hero-гийн хоёр товч ижил өргөнтэй */
  .hero-cta{ flex-direction:column; }
  .hero-cta .btn{ width:100%; justify-content:center; }
  .card{ padding:24px 20px; }
  .congress-ribbon .cr-date{ display:none; }
  .hero-orn::before{ background-size:300px auto; background-position:right -70px top 20px; }
  .hero-orn::after{ background:none; inset:14px; }
}

/* ══════════════ ХЭВЛЭХ ══════════════ */
@media print{
  .utility,.mainnav,.burger,.hero-cta,.footer .social,.cta-congress,.totop,.ornament,.congress-ribbon,.hero-orn{ display:none !important; }
  body{ background:#fff; font-size:11.5pt; color:#000; }
  .hero,.pagehead{ background:#fff; color:#000; padding:12pt 0; }
  .hero-media,.hero-fallback,.pagehead::after{ display:none; }
  .hero h1,.hero p.lead,.pagehead h1,.pagehead p{ color:#000; }
  .card,.table-wrap,.lawlist{ box-shadow:none; border:1px solid #ccc; break-inside:avoid; }
  .table-wrap{ overflow:visible !important; }
  table.data{ min-width:0 !important; }
  .sidebar{ position:static !important; }
  /* Хэвлэхэд: анимацийн улмаас нуугдсан блокуудыг сэргээх */
  .reveal, .js .reveal{ opacity:1 !important; transform:none !important; transition:none !important; }
  /* Бараан дэвсгэртэй хэсгүүд — цаасан дээр хар үсгээр */
  .section-ink, .section-ink *, .footer, .footer *{ background:#fff !important; color:#000 !important; }
  .stat{ border-color:#ccc !important; }

}
