/* cyrillic-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/storage/erc/assets/fonts/8b55db3131aa41d0.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/storage/erc/assets/fonts/c3f4223046fb9623.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/storage/erc/assets/fonts/f72bdc75595bf844.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/storage/erc/assets/fonts/cc61cbd632bb677c.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/storage/erc/assets/fonts/8b55db3131aa41d0.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/storage/erc/assets/fonts/c3f4223046fb9623.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/storage/erc/assets/fonts/f72bdc75595bf844.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/storage/erc/assets/fonts/cc61cbd632bb677c.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/storage/erc/assets/fonts/8b55db3131aa41d0.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/storage/erc/assets/fonts/c3f4223046fb9623.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/storage/erc/assets/fonts/f72bdc75595bf844.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/storage/erc/assets/fonts/cc61cbd632bb677c.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/storage/erc/assets/fonts/8b55db3131aa41d0.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/storage/erc/assets/fonts/c3f4223046fb9623.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/storage/erc/assets/fonts/f72bdc75595bf844.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/storage/erc/assets/fonts/cc61cbd632bb677c.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* fallback */
@font-face {
  font-family: 'Material Symbols Rounded';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("/storage/erc/assets/fonts/06f6ff501a271943.woff2") format('woff2');
}
@font-face{font-family:'Unbounded';src:url("/storage/erc/assets/fonts/1b5e955b80e39240.ttf") format('truetype');font-weight:200 900;font-style:normal;font-display:swap}

/* ЭХЗХ — «Home B» концепцын загвар (ERCGOV/offline прототипоос). Фонт серверээс (Google-гүй). */
:root {
  --erc-navy: #0B2463;
  --erc-blue: #1F48B0;
  --erc-yellow: #F5B000;
  --erc-ink: #14213D;
  --erc-muted: #55627A;
  --erc-line: #DCE2EE;
  --erc-soft: #F3F6FC;
  --erc-cream: #FFF5D9;
  --erc-radius: 18px;
  --erc-head: 'Unbounded', 'Onest', system-ui, sans-serif;
}
body { font-family: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--erc-ink); background: #fff; -webkit-font-smoothing: antialiased; }
a { color: var(--erc-blue); }
a:hover { color: var(--erc-navy); }
.material-symbols-rounded { font-family: 'Material Symbols Rounded'; font-weight: normal; font-style: normal; font-size: 22px; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; direction: ltr; -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga'; vertical-align: middle; }
.erc-container { max-width: 1360px; margin: 0 auto; padding: 0 16px; } /* g-wrap / erc-portal-тай ижил */
.erc-h2 { font-family: var(--erc-head); font-weight: 700; font-size: 30px; color: var(--erc-navy); letter-spacing: -.01em; margin: 0; }
.erc-more { font-weight: 600; font-size: 14px; color: var(--erc-blue); text-decoration: none; white-space: nowrap; }
.erc-more:hover { text-decoration: underline; }
.erc-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }

/* ---------- Header ---------- */
.erc-topbar { background: var(--erc-navy); color: #C9D3EA; font-size: 13px; }
.erc-topbar .erc-container { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 16px; }
.erc-topbar nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.erc-topbar a { white-space: nowrap; color: #C9D3EA; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.erc-topbar a:hover { color: #fff; }
.erc-topbar .material-symbols-rounded { font-size: 16px; color: var(--erc-yellow); }
.erc-lang { display: flex; gap: 2px; background: rgba(255,255,255,.08); border-radius: 8px; padding: 3px; }
.erc-lang a, .erc-lang span { padding: 2px 9px; border-radius: 6px; font-weight: 700; font-size: 11px; color: #C9D3EA; }
.erc-lang .is-active { background: var(--erc-yellow); color: var(--erc-navy); }
.erc-lang .is-off { opacity: .45; cursor: default; }
.erc-header { background: #fff; border-bottom: 1px solid var(--erc-line); position: sticky; top: 0; z-index: 30; }
.erc-header .erc-container { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.erc-logo img { height: 46px; width: auto; display: block; }
.erc-nav { flex: 1; display: flex; justify-content: flex-end; }
.erc-nav .nav { flex-wrap: nowrap; gap: 0 !important; }
.erc-nav .nav-link { white-space: nowrap; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0; color: var(--erc-navy) !important; background: none !important; padding: 8px 9px; border-radius: 8px; }
.erc-nav .nav-link:hover, .erc-nav .nav-link.active { background: var(--erc-soft) !important; color: var(--erc-blue) !important; }
.erc-search-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--erc-line); display: inline-flex; align-items: center; justify-content: center; color: var(--erc-navy); text-decoration: none; flex-shrink: 0; }
.erc-search-btn:hover { background: var(--erc-soft); }

/* ---------- Hero ---------- */
.erc-hero { background: radial-gradient(1200px 600px at 85% 10%, #1F48B0 0%, rgba(31,72,176,0) 60%), linear-gradient(160deg, #0B2463 0%, #10307F 100%); color: #fff; padding: 64px 0 40px; }
.erc-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.erc-hero h1 { font-family: var(--erc-head); font-weight: 800; font-size: 52px; line-height: 1.12; margin: 0 0 22px; letter-spacing: -.02em; color: #fff; }
.erc-hero h1 em { font-style: normal; color: var(--erc-yellow); white-space: nowrap; }
.erc-hero-lead { color: #C9D3EA; font-size: 16px; line-height: 1.6; max-width: 480px; margin: 0; }
.erc-kicker { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #A9B6D6; margin: 0 0 10px; }
.erc-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.erc-service { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #fff; text-decoration: none; min-height: 62px; }
.erc-service:hover { background: rgba(255,255,255,.14); color: #fff; }
.erc-service b { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.erc-service small { display: block; font-size: 10.5px; color: #A9B6D6; margin-top: 2px; }
.erc-ico { width: 34px; height: 34px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.erc-ico .material-symbols-rounded { font-size: 19px; color: #fff; }
.erc-ico.g { background: #1F9D6B; } .erc-ico.y { background: var(--erc-yellow); } .erc-ico.y .material-symbols-rounded { color: var(--erc-navy); }
.erc-ico.r { background: #E4573D; } .erc-ico.b { background: #3D6DE0; } .erc-ico.c { background: #23A3C9; }
.erc-search { display: flex; background: #fff; border-radius: 12px; padding: 6px; gap: 6px; }
.erc-search .material-symbols-rounded { color: var(--erc-muted); padding: 0 6px 0 8px; align-self: center; }
.erc-search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 15px; color: var(--erc-ink); min-width: 0; }
.erc-search button { border: 0; background: var(--erc-yellow); color: var(--erc-navy); font-weight: 700; border-radius: 9px; padding: 10px 22px; cursor: pointer; }
.erc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid rgba(255,255,255,.14); margin-top: 44px; padding-top: 26px; }
.erc-stat b { font-family: var(--erc-head); font-size: 34px; font-weight: 700; color: #fff; }
.erc-stat b span { font-family: 'Onest', sans-serif; font-size: 12px; font-weight: 600; color: var(--erc-yellow); margin-left: 4px; }
.erc-stat small { display: block; font-size: 12.5px; color: #A9B6D6; margin-top: 4px; }

/* ---------- Хурдан холбоос ---------- */
.erc-quick { background: var(--erc-yellow); }
.erc-quick .erc-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding-top: 16px; padding-bottom: 16px; }
.erc-quick a { display: inline-flex; align-items: center; gap: 10px; color: var(--erc-navy); font-weight: 700; font-size: 14.5px; text-decoration: none; }
.erc-quick a:hover { text-decoration: underline; }
.erc-quick .material-symbols-rounded { width: 34px; height: 34px; border-radius: 50%; background: var(--erc-navy); color: var(--erc-yellow); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }

/* ---------- Хэрэглэгчийн зам ---------- */
.erc-block { padding: 44px 0; }
.erc-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.erc-pill { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--erc-line); border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: 14px; color: var(--erc-navy); text-decoration: none; background: #fff; }
.erc-pill.is-active { background: var(--erc-navy); border-color: var(--erc-navy); color: #fff; }
.erc-pill .material-symbols-rounded { font-size: 18px; }
.erc-cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.erc-card { background: var(--erc-soft); border-radius: 14px; padding: 18px; text-decoration: none; color: var(--erc-ink); display: block; transition: transform .15s, box-shadow .15s; }
.erc-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11,36,99,.08); color: var(--erc-ink); }
.erc-card i { font-style: normal; font-weight: 700; color: var(--erc-blue); font-size: 13px; }
.erc-card b { display: block; font-size: 17px; color: var(--erc-navy); margin: 6px 0 4px; }
.erc-card small { color: var(--erc-muted); font-size: 13px; }

/* ---------- Тариф + санал авах ---------- */
.erc-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.erc-tariff { background: var(--erc-cream); border-radius: var(--erc-radius); padding: 26px 26px 22px; }
.erc-tariff-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.erc-tariff-head b { font-family: var(--erc-head); font-size: 13px; letter-spacing: .06em; color: var(--erc-navy); }
.erc-tariff-head small { color: #6B4700; font-size: 12px; }
.erc-trow { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #F1DFA6; font-size: 14px; }
.erc-trow .material-symbols-rounded { font-size: 18px; color: #6B4700; }
.erc-trow strong { margin-left: auto; font-family: var(--erc-head); font-size: 21px; color: var(--erc-navy); }
.erc-trow strong span { font-family: 'Onest', sans-serif; font-size: 11px; font-weight: 700; color: #6B4700; margin-left: 3px; }
.erc-note { font-size: 11px; color: #8A6A1F; margin: 8px 0 0; }
.erc-btns { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.erc-btn { display: inline-flex; align-items: center; padding: 11px 18px; border-radius: 10px; font-weight: 700; font-size: 14px; text-decoration: none; border: 1.5px solid var(--erc-navy); color: var(--erc-navy); }
.erc-btn.solid { background: var(--erc-navy); color: #fff; }
.erc-btn:hover { opacity: .9; }
.erc-consult { background: linear-gradient(150deg, #1F48B0, #1A3E9A); color: #fff; border-radius: var(--erc-radius); padding: 26px; display: flex; flex-direction: column; }
.erc-consult .erc-kicker { color: var(--erc-yellow); }
.erc-consult .zv-article-list { display: block; }
.erc-consult .zv-list-item { display: block; text-decoration: none; }
.erc-consult .zv-list-thumb, .erc-consult .badge { display: none !important; }
.erc-consult .zv-list-title { font-family: var(--erc-head); color: #fff; font-size: 20px; line-height: 1.4; font-weight: 600; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.erc-consult .zv-list-date { color: #C9D3EA; font-size: 13px; }
.erc-consult .zv-list-date::before { content: 'Нийтэлсэн: '; }
.erc-consult-foot { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.16); }
.erc-consult-foot a { color: #fff; font-weight: 700; text-decoration: none; font-size: 14px; }
.erc-consult-foot small { color: #C9D3EA; }

/* ---------- Мэдээ ---------- */
.erc-news-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.erc-news .row { --bs-gutter-x: 14px; --bs-gutter-y: 14px; }
@media (min-width: 992px) {
  .erc-news .row > .col-lg-8 { flex: 0 0 52%; max-width: 52%; }
  .erc-news .row > .col-lg-4 { flex: 0 0 48%; max-width: 48%; }
}
.erc-news .card { border-radius: var(--erc-radius) !important; min-height: 470px !important; }
.erc-news .card-img-overlay { padding: 22px; }
.erc-news .card-title { font-family: var(--erc-head); font-size: 21px; line-height: 1.3; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.erc-news .col-lg-4 > .d-flex > h6, .erc-news .col-lg-4 > .d-flex > hr { display: none; }
.erc-news .col-lg-4 > .d-flex { gap: 12px !important; }
.erc-news .col-lg-4 a > .d-flex { background: #fff; border: 1px solid var(--erc-line); border-radius: 14px; padding: 10px; gap: 14px !important; align-items: center !important; }
.erc-news .col-lg-4 a:hover > .d-flex { border-color: #B9C5DE; box-shadow: 0 8px 20px rgba(11,36,99,.06); }
.erc-news .thumb-md { width: 116px !important; height: 92px !important; flex-shrink: 0; border-radius: 10px !important; }
.erc-news .col-lg-4 h6 { font-weight: 700 !important; font-size: 14px !important; color: var(--erc-navy) !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px !important; }
.erc-badges .badge, .erc-news .badge { background: #EEF2FA !important; color: var(--erc-blue) !important; font-weight: 700; border-radius: 6px; font-size: 11px; padding: 4px 8px; }
.erc-news .card .badge { background: var(--erc-yellow) !important; color: var(--erc-navy) !important; }
.erc-side { background: var(--erc-soft); border-radius: var(--erc-radius); padding: 20px; }
.erc-side h3 { font-family: var(--erc-head); font-size: 19px; color: var(--erc-navy); margin: 0; }
.erc-fb { background: #fff; border: 1px solid var(--erc-line); border-radius: 14px; padding: 14px; display: flex; align-items: center; gap: 12px; margin: 14px 0; }
.erc-fb img { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--erc-line); padding: 6px; object-fit: contain; background: #fff; }
.erc-fb b { font-size: 14px; color: var(--erc-navy); line-height: 1.3; }
.erc-fb a.erc-follow { margin-left: auto; background: var(--erc-blue); color: #fff; font-weight: 700; font-size: 13px; padding: 8px 14px; border-radius: 9px; text-decoration: none; }
.erc-social { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.erc-social a { background: #fff; border: 1px solid var(--erc-line); border-radius: 10px; padding: 9px; text-align: center; font-weight: 600; font-size: 13px; color: var(--erc-navy); text-decoration: none; }
.erc-side-list { margin-top: 18px; }
.erc-side-list h4 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--erc-muted); margin: 0 0 8px; font-weight: 700; }

/* Жагсаалт (Ажлын байр, Хяналт шалгалт) — зураггүй мөрүүд */
.erc-plain .zv-article-list { display: flex; flex-direction: column; gap: 0; }
.erc-plain .zv-list-item { display: block; padding: 12px 0; border-bottom: 1px solid var(--erc-line); text-decoration: none; }
.erc-plain .zv-list-item:last-child { border-bottom: 0; }
.erc-plain .zv-list-thumb, .erc-plain .badge { display: none !important; }
.erc-plain .zv-list-title { font-size: 14.5px; font-weight: 600; color: var(--erc-navy); margin: 0 0 3px; line-height: 1.4; }
.erc-plain .zv-list-item:hover .zv-list-title { color: var(--erc-blue); }
.erc-plain .zv-list-date { font-size: 12px; color: var(--erc-muted); }
.erc-panel { border: 1px solid var(--erc-line); border-radius: var(--erc-radius); padding: 20px 22px; background: #fff; }
.erc-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.erc-panel-head h3 { font-family: var(--erc-head); font-size: 18px; color: var(--erc-navy); margin: 0; display: flex; align-items: center; gap: 8px; }
.erc-panel-head .material-symbols-rounded { color: var(--erc-blue); }

/* ---------- Бичиг баримт (тогтоол, журам, хууль) ---------- */
.erc-docs .legislation-links { display: flex; flex-direction: column; }
.erc-docs .legislation-link { padding: 11px 0 11px 26px; border-bottom: 1px solid var(--erc-line); position: relative; }
.erc-docs .legislation-link:last-child { border-bottom: 0; }
.erc-docs .legislation-link::before { content: 'description'; font-family: 'Material Symbols Rounded'; position: absolute; left: 0; top: 10px; font-size: 18px; color: var(--erc-blue); }
.erc-docs .legislation-link a { font-size: 14px; font-weight: 600; color: var(--erc-navy); text-decoration: none; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.erc-docs .legislation-link a:hover { color: var(--erc-blue); }
.erc-docs .legislation-link small { display: none !important; }
.erc-docs-page .erc-docs-intro { margin-bottom: 22px; }
.erc-docs-page .erc-docs-intro p { color: var(--erc-muted); max-width: 760px; margin: 8px 0 0; }
.erc-doc-section { margin-bottom: 18px; scroll-margin-top: 90px; }
.erc-docs-home { padding-bottom: 0; }
h1.document-title { font-family: var(--erc-head); font-size: 30px; line-height: 1.3; color: var(--erc-navy); max-width: 900px; }
@media (max-width: 600px) { h1.document-title { font-size: 22px; } }
.erc-doc-section .erc-panel-head { margin-bottom: 10px; scroll-margin-top: 90px; }
.erc-doc-section table { margin: 0; font-size: 14px; }
.erc-doc-section thead th { background: var(--erc-soft) !important; color: var(--erc-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; border: 0; }
.erc-doc-section th:nth-child(3), .erc-doc-section td:nth-child(3), .erc-doc-section th:nth-child(4), .erc-doc-section td:nth-child(4) { display: none; }
.erc-doc-section td { vertical-align: middle; border-color: var(--erc-line); padding-top: 12px; padding-bottom: 12px; }
.erc-doc-section td:first-child { white-space: nowrap; color: var(--erc-muted); font-weight: 600; width: 120px; }
.erc-doc-section td:first-child .badge { background: #EEF2FA !important; color: var(--erc-navy) !important; font-weight: 700; font-size: 12px; border-radius: 6px; }
.erc-doc-section td a[href^="/doc/"] { color: var(--erc-navy); font-weight: 600; text-decoration: none; }
.erc-doc-section td a[href^="/doc/"]:hover { color: var(--erc-blue); }
.erc-doc-section .btn-outline-secondary { border-color: var(--erc-line); color: var(--erc-blue); font-weight: 600; border-radius: 8px; }
.erc-doc-section .btn-outline-secondary:hover { background: var(--erc-soft); color: var(--erc-navy); }

/* ---------- FAQ + зургийн мэдээ ---------- */
.erc-soft-bg { background: #fff; border-top: 1px solid var(--erc-line); }
.erc-faq-box, .erc-gallery-box { background: var(--erc-soft); border-radius: var(--erc-radius); padding: 24px; }
.erc-faq details { background: #fff; border-radius: 12px; margin-top: 10px; padding: 14px 16px; }
.erc-faq summary { list-style: none; cursor: pointer; display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 14px; color: var(--erc-navy); }
.erc-faq summary::-webkit-details-marker { display: none; }
.erc-faq summary i { font-style: normal; width: 24px; height: 24px; border: 1.5px solid var(--erc-blue); color: var(--erc-blue); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
.erc-faq summary::after { content: 'expand_more'; font-family: 'Material Symbols Rounded'; margin-left: auto; color: var(--erc-muted); font-size: 20px; }
.erc-faq details[open] summary::after { content: 'expand_less'; }
.erc-faq details p { margin: 10px 0 0 36px; font-size: 13.5px; color: var(--erc-muted); }
.erc-gallery .row { --bs-gutter-x: 12px; --bs-gutter-y: 12px; }
.erc-gallery .cover-img { height: 150px !important; border-radius: 12px; background-size: cover; background-position: center; }
.erc-gallery .overlay-bottom { background: linear-gradient(transparent, rgba(11,36,99,.85)); border-radius: 0 0 12px 12px; padding: 10px !important; opacity: 0; transition: opacity .2s; }
.erc-gallery a:hover .overlay-bottom { opacity: 1; }
.erc-gallery .overlay-bottom h6 { font-size: 12.5px !important; }
.erc-gallery .overlay-bottom small { display: none; }

/* ---------- Footer ---------- */
.erc-footer { background: var(--erc-navy); color: #C9D3EA; margin-top: 56px; font-size: 13.5px; }
.erc-footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1fr; gap: 32px; padding: 44px 0 34px; }
.erc-footer img { height: 44px; filter: brightness(0) invert(1); margin-bottom: 14px; }
.erc-footer p { line-height: 1.65; margin: 0; }
.erc-footer h4 { font-size: 11.5px; letter-spacing: .12em; color: var(--erc-yellow); font-weight: 700; text-transform: uppercase; margin: 0 0 14px; }
.erc-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.erc-footer li { display: flex; gap: 8px; align-items: flex-start; }
.erc-footer li .material-symbols-rounded { font-size: 17px; color: #A9B6D6; }
.erc-footer a { color: #E4E9F5; text-decoration: none; }
.erc-footer a:hover { color: #fff; text-decoration: underline; }
.erc-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.erc-footer-bottom .erc-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 16px; padding-bottom: 18px; font-size: 12.5px; }
.erc-footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Дэд хуудас (нийтлэл, ангилал, статик) ---------- */
.erc-page main, main.container, .container.py-4 { font-size: 16px; }
article h1, .article-title, h1.display-6 { font-family: var(--erc-head); color: var(--erc-navy); letter-spacing: -.01em; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .erc-hero-grid, .erc-duo, .erc-news-grid { grid-template-columns: 1fr; }
  .erc-hero h1 { font-size: 38px; }
  .erc-cards4 { grid-template-columns: repeat(2, 1fr); }
  .erc-stats { grid-template-columns: repeat(2, 1fr); }
  .erc-footer-grid { grid-template-columns: 1fr 1fr; }
  .erc-header .erc-container { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .erc-nav { order: 3; flex-basis: 100%; justify-content: flex-start; overflow-x: auto; }
  .erc-nav .nav { flex-wrap: nowrap; }
  .erc-search-btn { margin-left: auto; }
}
@media (max-width: 600px) {
  .erc-container { padding: 0 16px; }
  .erc-hero { padding-top: 40px; }
  .erc-hero h1 { font-size: 31px; }
  .erc-services { grid-template-columns: repeat(2, 1fr); }
  .erc-cards4, .erc-footer-grid { grid-template-columns: 1fr; }
  .erc-stat b { font-size: 26px; }
  .erc-topbar nav a:nth-child(n+3) { display: none; }
  .erc-topbar nav { flex-wrap: nowrap; }
  .erc-quick .erc-container { justify-content: flex-start; }
  .erc-h2 { font-size: 24px; }
}

/* =====================================================================
   Төрийн порталын хуваалт (ulaanbaatar.mn маягийн) — build_home_gov.php
   Зүүн сошиал багана | үндсэн контент | баруун баннерын багана, 2 мөрт header
   ===================================================================== */
.g-wrap { max-width: 1360px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 16px; }
.g-header { background: #fff; border-bottom: 1px solid var(--erc-line); }
.g-header .g-wrap { min-height: 78px; }
.g-logo img { height: 54px; width: auto; display: block; }
.g-search { margin-left: auto; display: flex; width: 340px; border: 1px solid var(--erc-line); border-radius: 8px; overflow: hidden; background: #fff; }
.g-search input { flex: 1; border: 0; outline: 0; padding: 9px 12px; font: inherit; font-size: 14px; min-width: 0; }
.g-search button { border: 0; background: var(--erc-navy); color: #fff; width: 44px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.g-cta { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 8px; border: 1.5px solid var(--erc-navy); color: var(--erc-navy); font-weight: 700; font-size: 13.5px; text-decoration: none; white-space: nowrap; }
.g-cta:hover { background: var(--erc-soft); color: var(--erc-navy); }
.g-cta .material-symbols-rounded { font-size: 19px; }
.g-lang { background: var(--erc-soft); }
.g-lang a, .g-lang span { color: var(--erc-navy); }
.g-navbar { background: var(--erc-navy); position: sticky; top: 0; z-index: 30; box-shadow: 0 2px 10px rgba(11,36,99,.15); }
.g-navbar .g-wrap { min-height: 48px; }
.g-nav { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; } /* цэс багтахгүй бол хэвтээ гүйнэ, товч давхцахгүй */
.g-nav::-webkit-scrollbar { display: none; }
.g-nav .nav { flex-wrap: nowrap; gap: 0 !important; }
.g-nav .nav-link { color: #fff !important; background: none !important; font-size: 13px; font-weight: 700; text-transform: uppercase; padding: 13px 12px; border-radius: 0; white-space: nowrap; }
.g-nav .nav-link:hover, .g-nav .nav-link.active { background: rgba(255,255,255,.1) !important; }
.g-nav-cta { display: inline-flex; align-items: center; gap: 6px; background: var(--erc-yellow); color: var(--erc-navy); font-weight: 800; font-size: 13px; padding: 7px 14px; border-radius: 6px; text-decoration: none; white-space: nowrap; }
.g-nav-cta:hover { color: var(--erc-navy); filter: brightness(1.05); }
.g-nav-cta .material-symbols-rounded { font-size: 18px; }

.erc-portal { max-width: 1360px; margin: 22px auto 0; padding: 0 16px; display: grid; grid-template-columns: 44px minmax(0, 1fr) 168px; gap: 22px; align-items: start; }
.g-rail-left { position: sticky; top: 70px; display: flex; flex-direction: column; gap: 8px; }
.g-rail-left a { width: 44px; height: 44px; border-radius: 10px; background: var(--erc-soft); color: var(--erc-navy); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.g-rail-left a:hover { background: var(--erc-navy); color: #fff; }
.g-rail-right { position: sticky; top: 70px; display: flex; flex-direction: column; gap: 10px; }
.g-rail-right img { width: 100%; height: auto; border-radius: 12px; display: block; }
.g-rail-cards { display: flex; flex-direction: column; gap: 10px; }
.g-rail-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 18px 10px; min-height: 140px; border-radius: 12px; background: linear-gradient(160deg, var(--erc-navy), var(--erc-blue)); color: #fff; text-decoration: none; }
.g-rail-card:hover { color: #fff; filter: brightness(1.1); }
.g-rail-card .material-symbols-rounded { font-size: 30px; color: var(--erc-yellow); }
.g-rail-card b { font-size: 13px; line-height: 1.3; }
.g-rail-card small { font-size: 11px; color: #C9D3EA; }

.g-main { min-width: 0; }
.g-sec { margin-bottom: 30px; }
.g-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--erc-line); padding-bottom: 8px; margin-bottom: 14px; position: relative; }
.g-head::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 64px; height: 2px; background: var(--erc-blue); }
.g-head h2 { margin: 0; font-family: 'Onest', sans-serif; font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; color: var(--erc-navy); display: flex; align-items: center; gap: 8px; }
.g-head h2 .material-symbols-rounded { color: var(--erc-blue); font-size: 21px; }
.g-head a { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.g-head a .material-symbols-rounded { font-size: 18px; }

/* 1 том + 2×2 (dynamic-hero grid-ийг CSS grid-ээр дахин хуваана) */
.g-hero .row { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 205px 205px; gap: 10px; margin: 0; }
.g-hero .row > div { width: auto; max-width: none; padding: 0; margin: 0; }
.g-hero .row > div:first-child { grid-row: 1 / span 2; }
.g-hero .row a { display: block; height: 100%; }
.g-hero .card { min-height: 0 !important; height: 100%; border-radius: 10px !important; }
.g-hero .card-img-overlay { padding: 14px; }
.g-hero .card-title { font-size: 14px; line-height: 1.35; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px; }
.g-hero .row > div:first-child .card-title { font-family: var(--erc-head); font-size: 22px; font-weight: 600; }
.g-hero .badge { background: var(--erc-yellow) !important; color: var(--erc-navy) !important; font-weight: 700; }
.g-ticker { margin-top: 10px; }
.g-ticker .ticker-bar { background: var(--erc-soft) !important; border-radius: 8px; overflow: hidden; border: 1px solid var(--erc-line); }
.g-ticker .ticker-label { background: var(--erc-blue) !important; border-radius: 0; font-size: 12px; }
.g-ticker .ticker-item { color: var(--erc-navy) !important; font-size: 13.5px; font-weight: 600; }
.g-ticker .ticker-separator { color: var(--erc-blue) !important; }

/* Картууд */
.g-cards .card { border: 1px solid var(--erc-line) !important; border-radius: 10px; overflow: hidden; }
.g-cards .zetta-thumb, .g-cards .card-img-top { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.g-cards .card-body { padding: 10px 12px 12px; }
.g-cards .card-title { font-size: 14px; line-height: 1.4; font-weight: 700; margin-bottom: 4px; }
.g-cards .card-title a { color: var(--erc-navy) !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.g-cards .zv-card-badge { background: var(--erc-yellow) !important; color: var(--erc-navy) !important; font-weight: 700; }
.g-quad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.g-quad .row > [class*="col-"] { width: 100%; max-width: 100%; flex: 0 0 100%; }
.g-quad .g-head h2 { font-size: 14px; }

.g-buttons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.g-buttons a { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--erc-blue); color: #fff; padding: 14px 10px; border-radius: 8px; font-weight: 700; font-size: 14px; text-decoration: none; text-align: center; }
.g-buttons a:hover { background: var(--erc-navy); color: #fff; }

.g-two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.g-trend [data-limit] > .d-flex:first-child { display: none !important; }
.g-trend .trending-num { color: var(--erc-blue) !important; font-family: var(--erc-head); font-size: 18px !important; opacity: 1 !important; min-width: 30px; }

.g-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.g-tiles-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-tile { display: flex; align-items: center; gap: 10px; padding: 12px 14px; min-height: 58px; border: 1px solid var(--erc-line); border-radius: 10px; background: #fff; color: var(--erc-navy); text-decoration: none; font-weight: 600; font-size: 13.5px; line-height: 1.3; }
.g-tile:hover { border-color: var(--erc-blue); background: var(--erc-soft); color: var(--erc-navy); }
.g-tile .material-symbols-rounded { color: var(--erc-blue); font-size: 23px; flex-shrink: 0; }
.g-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--erc-line); margin: -4px 0 14px; }
.g-tab { border: 0; background: none; padding: 8px 14px; font: inherit; font-weight: 700; font-size: 14px; color: var(--erc-muted); border-bottom: 3px solid transparent; margin-bottom: -1px; cursor: pointer; }
.g-tab.active { color: var(--erc-blue); border-bottom-color: var(--erc-blue); }

.g-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.g-stat { background: var(--erc-soft); border-radius: 12px; padding: 18px; }
.g-stat .material-symbols-rounded { color: var(--erc-blue); font-size: 28px; }
.g-stat b { display: block; font-family: var(--erc-head); font-size: 26px; color: var(--erc-navy); margin: 6px 0 2px; }
.g-stat small { color: var(--erc-muted); font-size: 12.5px; line-height: 1.4; display: block; }
.g-note { font-size: 11.5px; color: var(--erc-muted); margin: 8px 0 0; }
.g-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }

.g-band { background: linear-gradient(120deg, var(--erc-navy), #163A8F); color: #fff; padding: 36px 0; margin-top: 10px; }
.g-band-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: 100%; }
.g-band-item { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-left: 3px solid var(--erc-yellow); background: rgba(255,255,255,.06); border-radius: 0 10px 10px 0; color: #fff; text-decoration: none; }
.g-band-item:hover { background: rgba(255,255,255,.12); color: #fff; }
.g-band-item > .material-symbols-rounded { color: var(--erc-yellow); font-size: 28px; }
.g-band-item small { color: #C9D3EA; font-size: 12.5px; }
.g-band-item b { font-family: var(--erc-head); font-size: 17px; line-height: 1.35; font-weight: 600; }
.g-band-item span { color: var(--erc-yellow); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; margin-top: auto; }
.g-band-item span .material-symbols-rounded { font-size: 16px; }
.g-systems { background: var(--erc-soft); padding: 40px 0; }
.g-systems-grid { display: grid !important; grid-template-columns: 1fr 1.7fr; gap: 32px; align-items: center !important; }
.g-systems h2 { font-family: var(--erc-head); font-size: 24px; color: var(--erc-navy); margin: 0 0 10px; }
.g-systems p { color: var(--erc-muted); margin: 0; }
.g-consult { padding: 34px 0 0; }
.g-consult .g-wrap { display: block; }
.g-consult .card, .g-consult article { border: 1px solid var(--erc-line) !important; border-radius: 12px; overflow: hidden; }

@media (max-width: 1199px) {
  .erc-portal { grid-template-columns: minmax(0, 1fr); }
  .g-rail-left { display: none; }
  .g-rail-right { position: static; }
  .g-rail-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .g-rail-card { min-height: 0; }
}
@media (max-width: 991px) {
  .g-quad, .g-tiles, .g-stats, .g-buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-two, .g-three, .g-band-grid, .g-systems-grid { grid-template-columns: 1fr; }
  .g-hero .row { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 160px 160px; }
  .g-hero .row > div:first-child { grid-column: 1 / span 2; grid-row: auto; }
  .g-search { width: 220px; }
  .g-rail-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .g-header .g-wrap { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .g-logo img { height: 42px; }
  .g-search { order: 3; width: 100%; margin-left: 0; }
  .g-cta { display: none; }
  .g-lang { margin-left: auto; }
  .g-quad, .g-tiles-2 { grid-template-columns: 1fr; }
  .g-hero .row { grid-template-columns: 1fr; grid-template-rows: 220px repeat(4, 150px); }
  .g-hero .row > div:first-child { grid-column: auto; }
  .g-rail-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-nav-cta { display: none; }
}

/* ===========================================================================
   Home C — «Нүүр (концепц C)» хэв маяг.  Claude Design: Home C.dc.html
   ---------------------------------------------------------------------------
   theme.css-ийн ДАРАА ачаалагдана (build_home_c.php нь global_css-ийг
   fonts.css + theme.css + theme-c.css гэж угсарна), тул theme.css-ийн
   --erc-* токен, фонт, нийтлэг хуудсууд хүчинтэй хэвээр.

   Загварын inline хэв маягийг (style-hover г.м. нь Claude Design-ийн өргөтгөл,
   бодит CSS биш) жинхэнэ CSS болгон буулгав; JS-ийн өргөний шалгалтыг
   (1000/1100/1180px) @media болгов.
   Класс угтвар: hc-*.  Bootstrap-ийн card/row нь dynamic блокуудаас ирдэг.
   =========================================================================== */

:root {
  --hc-line2: #EEF1F7;   /* жагсаалтын нимгэн зураас */
  --hc-tile: #E6EEFF;    /* дүрсний цайвар плита */
  --hc-dim: #8A94A8;     /* бүдэг дүрс */
  --hc-wrap: 1320px;     /* загварын контейнер */
  --hc-padl: 24px;       /* зүүн зай — сошиал рэйл гарахад 72px болно */
}

.hc-wrap { max-width: var(--hc-wrap); margin: 0 auto; padding: 0 24px; }

/* ---------------------------------------------------------------- Header -- */
.hc-top { background: var(--erc-navy); color: #fff; font-size: 13px; }
.hc-top .hc-wrap { height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hc-top nav { display: flex; gap: 4px; align-items: center; }
.hc-top nav a { color: #fff; text-decoration: none; padding: 6px 10px; border-radius: 6px; display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.hc-top nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.hc-top nav a .material-symbols-rounded { font-size: 16px; color: var(--erc-yellow); }
.hc-lang { display: flex; gap: 2px; align-items: center; background: rgba(255,255,255,.1); border-radius: 8px; padding: 2px; }
.hc-lang a, .hc-lang span { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 6px; color: #fff; text-decoration: none; }
.hc-lang .is-active { background: var(--erc-yellow); color: var(--erc-navy); }
.hc-lang .is-off { opacity: .55; cursor: default; }

.hc-head { background: #fff; border-bottom: 1px solid var(--erc-line); position: relative; z-index: 20; }
.hc-head .hc-wrap { height: 76px; display: flex; align-items: center; gap: 20px; }
.hc-logo { display: flex; align-items: center; flex-shrink: 0; }
.hc-logo img { height: 52px; width: auto; display: block; }
.hc-actions { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.hc-icon-btn { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; color: var(--erc-navy); text-decoration: none; border: 1px solid var(--erc-line); background: #fff; cursor: pointer; }
.hc-icon-btn:hover { background: #EEF2FA; color: var(--erc-navy); }
.hc-burger { display: none; color: #fff; background: var(--erc-blue); border: 0; }

/* Үндсэн цэс — dynamic-menu (location=main) нь ul.navbar-nav > li.nav-item(.dropdown) гаргадаг */
.hc-nav { margin-left: auto; height: 100%; }
.hc-nav .dynamic-menu-wrapper, .hc-nav ul { height: 100%; }
.hc-nav ul { display: flex; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.hc-nav li { position: relative; height: 100%; display: flex; align-items: center; }
.hc-nav li > a { text-decoration: none; color: var(--erc-ink); font-size: 13.5px; font-weight: 700; letter-spacing: .01em; text-transform: uppercase;
  padding: 10px; border-radius: 8px; display: flex; gap: 2px; align-items: center; white-space: nowrap; }
.hc-nav li > a:hover { background: #EEF2FA; color: var(--erc-blue); }
.hc-nav li.dropdown > a::after { content: 'expand_more'; font-family: 'Material Symbols Rounded'; font-size: 18px; color: var(--hc-dim); border: 0; margin: 0; }
.hc-nav li.active > a, .hc-nav li.current > a { color: var(--erc-blue); box-shadow: inset 0 -3px 0 var(--erc-yellow); }
/* Drop-down — hover ба :focus-within хоёулаа (хурууны мэдрэгчид) */
.hc-nav .dropdown-menu { display: none; position: absolute; top: calc(100% - 8px); left: 0; min-width: 300px;
  max-width: min(640px, calc(100vw - 48px)); width: max-content; background: #fff; border: 1px solid var(--erc-line);
  border-top: 3px solid var(--erc-yellow); border-radius: 0 0 14px 14px; box-shadow: 0 18px 40px rgba(11,36,99,.16);
  padding: 8px; margin: 0; list-style: none; z-index: 30; }
.hc-nav li:hover > .dropdown-menu, .hc-nav li:focus-within > .dropdown-menu { display: grid; grid-template-columns: minmax(260px, 1fr); gap: 2px 8px; }
.hc-nav li.hc-wide:hover > .dropdown-menu, .hc-nav li.hc-wide:focus-within > .dropdown-menu { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
.hc-nav li:nth-last-child(-n+2) > .dropdown-menu { left: auto; right: 0; }
.hc-nav .dropdown-item { color: var(--erc-ink); font-size: 14px; line-height: 1.35; padding: 10px 12px; border-radius: 8px;
  display: flex; gap: 10px; align-items: center; max-width: 380px; text-wrap: pretty; white-space: normal; }
.hc-nav .dropdown-item:hover { background: #EEF2FA; color: var(--erc-blue); }

/* Утасны цэс — JS-гүй: label → нуусан checkbox → .hc-cb:checked ~ .hc-mnav
   (dynamic блокийн гаралтад JS хавсаргах боломж хязгаарлагдмал тул CSS-ээр) */
.hc-cb { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.hc-mnav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff;
  border-bottom: 1px solid var(--erc-line); box-shadow: 0 16px 32px rgba(11,36,99,.12); padding: 8px 16px 16px; }
.hc-cb:checked ~ .hc-mnav { display: block; }
.hc-mnav ul { list-style: none; margin: 0; padding: 0; }
.hc-mnav > .dynamic-menu-wrapper > ul > li { border-bottom: 1px solid var(--hc-line2); }
.hc-mnav li > a { display: flex; justify-content: space-between; align-items: center; text-decoration: none;
  color: var(--erc-ink); font-size: 16px; font-weight: 600; padding: 14px 8px; }
.hc-mnav .dropdown-menu { display: block; border: 0; box-shadow: none; padding: 0 0 10px 12px;
  border-left: 2px solid var(--erc-yellow); margin: 0 8px 10px; }
.hc-mnav .dropdown-item { display: flex; align-items: center; min-height: 44px; padding: 10px 8px;
  color: #3E4A63; font-size: 15px; line-height: 1.35; text-decoration: none; }

/* ----------------------------------------------------- Зүүн сошиал рэйл -- */
.hc-rail { position: fixed; left: 12px; top: 50%; transform: translateY(-50%); z-index: 15; display: none; flex-direction: column; gap: 6px; }
.hc-rail a { width: 40px; height: 40px; border-radius: 10px; background: var(--erc-navy); color: #fff;
  display: grid; place-items: center; text-decoration: none; box-shadow: 0 4px 12px rgba(11,36,99,.2); }
.hc-rail a:hover { background: var(--erc-blue); color: #fff; }
.hc-rail .material-symbols-rounded { font-size: 20px; }

/* ------------------------------------------------- Нүүрний хоёр баганат -- */
.hc-shell { max-width: var(--hc-wrap); margin: 0 auto; padding: 24px 24px 0 var(--hc-padl);
  display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.hc-main { flex: 1 1 760px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.hc-aside { flex: 1 1 100%; min-width: 0; display: flex; flex-direction: column; gap: 12px; }

/* Хэсгийн гарчиг */
.hc-sec { display: flex; flex-direction: column; gap: 16px; }
.hc-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  border-bottom: 1px solid var(--erc-line); padding-bottom: 10px; }
.hc-h h2 { margin: 0; display: flex; gap: 8px; align-items: center; font-family: var(--erc-head);
  font-size: 18px; font-weight: 600; color: var(--erc-navy); }
.hc-h h2 .material-symbols-rounded { font-size: 22px; color: var(--erc-yellow); }
.hc-h a { font-size: 13.5px; font-weight: 600; text-decoration: none; }
.hc-h2 { margin: 0; font-family: var(--erc-head); font-size: 18px; font-weight: 600; color: var(--erc-navy); text-transform: uppercase; }
.hc-h3 { margin: 0 0 6px; font-family: var(--erc-head); font-size: 16px; font-weight: 600; color: var(--erc-navy);
  padding-bottom: 10px; border-bottom: 2px solid var(--erc-yellow); }
.hc-h4 { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: var(--erc-navy); text-transform: uppercase;
  padding-bottom: 10px; border-bottom: 2px solid var(--erc-yellow); }

/* ------------------------------------------- Онцлох мэдээ (dynamic-hero) -- */
.hc-hero .row { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 206px 206px; gap: 8px; margin: 0; }
.hc-hero .row > div { width: auto; max-width: none; padding: 0; margin: 0; }
.hc-hero .row > div:first-child { grid-row: 1 / span 2; }
.hc-hero .row a { display: block; height: 100%; }
.hc-hero .card { min-height: 0 !important; height: 100%; border: 0; border-radius: 12px !important; overflow: hidden; background: var(--erc-navy); }
.hc-hero .card img { height: 100%; width: 100%; object-fit: cover; }
.hc-hero .card-img-overlay { padding: 14px; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(0deg, rgba(11,36,99,.92) 0%, rgba(11,36,99,.15) 70%); }
.hc-hero .row > div:first-child .card-img-overlay { padding: 24px;
  background: linear-gradient(0deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,0) 60%); }
.hc-hero .card-title { font-size: 13.5px; line-height: 1.35; font-weight: 600; margin: 0 0 6px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hc-hero .row > div:first-child .card-title { font-family: var(--erc-head); font-size: 22px; font-weight: 600;
  line-height: 1.3; text-transform: uppercase; text-wrap: balance; -webkit-line-clamp: 4; }
.hc-hero .badge { align-self: flex-start; background: var(--erc-blue) !important; color: #fff !important;
  font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.hc-hero .row > div:first-child .badge { background: var(--erc-yellow) !important; color: var(--erc-navy) !important;
  font-size: 12px; padding: 4px 10px; border-radius: 999px; order: -1; margin-bottom: 8px; }

/* ------------------------------------------------ ШУУРХАЙ (dynamic-ticker) */
.hc-ticker { margin-top: -24px; border-top: 2px solid var(--erc-navy); border-bottom: 1px solid var(--erc-line); padding: 10px 0; overflow: hidden; }
.hc-ticker .ticker-bar { display: flex; gap: 12px; align-items: center; }
.hc-ticker .ticker-label { flex-shrink: 0; font-size: 12px; font-weight: 700; background: var(--erc-navy);
  color: #fff; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; }
.hc-ticker .ticker-item { font-size: 13.5px; color: var(--erc-ink); text-decoration: none; white-space: nowrap; }
.hc-ticker .ticker-item:hover { color: var(--erc-blue); }
.hc-ticker .ticker-separator { color: var(--erc-line); }

/* ------------------------------------- Мэдээний хөзрүүд (dynamic-articles) */
.hc-cards .row { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 16px; margin: 0; }
.hc-cards .row > div { width: auto; max-width: none; padding: 0; }
.hc-cards .card { border: 0; background: transparent; }
.hc-cards .card img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; background: #F1F3F5; }
.hc-cards .card-body { padding: 8px 0 0; }
.hc-cards .card-title { font-size: 14px; font-weight: 600; line-height: 1.4; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hc-cards .card-title a { color: var(--erc-ink); text-decoration: none; }
.hc-cards .card-title a:hover { color: var(--erc-blue); }
.hc-cards .text-muted, .hc-cards .card-text small, .hc-cards time {
  font-size: 12px; color: var(--erc-blue) !important; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------- Медиа 4 -- */
.hc-media { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.hc-media h3 { margin: 0 0 8px; display: flex; gap: 6px; align-items: center; font-size: 15px; font-weight: 700; color: var(--erc-navy); }
.hc-media h3 .material-symbols-rounded { font-size: 20px; color: var(--erc-blue); }
.hc-media .card { border: 0; background: transparent; }
.hc-media .card-img-top, .hc-media .card img { aspect-ratio: 16 / 10; height: auto !important; object-fit: cover; border-radius: 10px; }
.hc-media .card-body { padding: 8px 0 0; }
.hc-media .card-title { font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.hc-media .hc-play { position: relative; display: block; }
.hc-media .hc-play::after { content: 'play_arrow'; font-family: 'Material Symbols Rounded'; font-size: 26px;
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px;
  border-radius: 50%; background: rgba(11,36,99,.85); color: #fff; display: grid; place-items: center; }

/* --------------------------------------------------- Хөх товчны мөр (bar) */
.hc-bar { margin-top: -16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.hc-bar a { text-decoration: none; height: 48px; border-radius: 10px; background: var(--erc-blue); color: #fff;
  display: flex; gap: 8px; align-items: center; padding: 0 16px; font-size: 14px; font-weight: 600; }
.hc-bar a:hover { background: var(--erc-navy); color: #fff; }
.hc-bar .material-symbols-rounded { font-size: 20px; }

/* ------------------------------------------------ Хоёр жагсаалт (их уншсан) */
.hc-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 32px; }
.hc-rows { display: flex; flex-direction: column; }
.hc-rows a, .hc-rows li { text-decoration: none; color: var(--erc-ink); display: flex; gap: 12px; align-items: center;
  padding: 10px 4px; border-bottom: 1px solid var(--hc-line2); font-size: 14px; line-height: 1.35; list-style: none; }
.hc-rows a:hover { color: var(--erc-blue); }
.hc-rows .material-symbols-rounded { width: 32px; height: 32px; border-radius: 8px; background: var(--hc-tile);
  color: var(--erc-blue); display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.hc-rows-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.hc-rows-2 a { font-size: 13.5px; gap: 10px; }
.hc-rows-2 .material-symbols-rounded { width: auto; height: auto; background: transparent; font-size: 20px; }
/* widget-trending — дугаарласан жагсаалт */
.hc-two .trending-list, .hc-two ol { margin: 0; padding: 0; list-style: none; }
.hc-two .trending-item { display: flex; gap: 12px; align-items: center; padding: 10px 4px; border-bottom: 1px solid var(--hc-line2); font-size: 14px; }
.hc-two .trending-item a { color: var(--erc-ink); text-decoration: none; }
.hc-two .trending-item a:hover { color: var(--erc-blue); }
.hc-two .trending-rank, .hc-two .badge { width: 32px; height: 32px; border-radius: 8px; background: var(--hc-tile) !important;
  color: var(--erc-blue) !important; display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }

/* ------------------------------------------------------- Үйлчилгээнүүд -- */
.hc-svc-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--erc-line); }
.hc-tabs { display: flex; gap: 4px; }
.hc-tab { cursor: pointer; border: 0; background: transparent; font: inherit; font-size: 14px; font-weight: 600;
  padding: 10px 12px; color: var(--erc-muted); }
.hc-tab.is-on { color: var(--erc-navy); box-shadow: inset 0 -3px 0 var(--erc-yellow); }
.hc-pills { display: flex; gap: 4px; flex-wrap: wrap; }
.hc-pill { cursor: pointer; border: 0; font: inherit; font-size: 13px; font-weight: 600; padding: 6px 10px;
  border-radius: 999px; background: transparent; color: var(--erc-blue); }
.hc-pill.is-on { background: var(--erc-navy); color: #fff; }
.hc-svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.hc-svc-grid a { text-decoration: none; color: var(--erc-ink); display: flex; gap: 12px; align-items: center;
  min-height: 56px; padding: 10px 14px; border: 1px solid var(--erc-line); border-radius: 10px;
  font-size: 13px; font-weight: 600; line-height: 1.3; text-transform: uppercase; }
.hc-svc-grid a:hover { border-color: var(--erc-blue); color: var(--erc-blue); background: var(--erc-soft); }
.hc-svc-grid .material-symbols-rounded { font-size: 22px; color: var(--erc-blue); flex-shrink: 0; }
.hc-svc-pane { display: none; }
.hc-svc-pane.is-on { display: block; }

/* ------------------------------------------------------------ Статистик -- */
.hc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; align-items: center; }
.hc-stat-col { display: flex; flex-direction: column; gap: 22px; }
.hc-stat { display: flex; gap: 12px; align-items: center; }
.hc-stat .material-symbols-rounded { width: 48px; height: 48px; border-radius: 12px; background: var(--hc-tile);
  color: var(--erc-blue); display: grid; place-items: center; font-size: 26px; flex-shrink: 0; }
.hc-stat b { font-family: var(--erc-head); font-size: 20px; color: var(--erc-navy); display: block; }
.hc-stat small { font-size: 12.5px; color: var(--erc-muted); line-height: 1.35; display: block; }
.hc-stat-mid { aspect-ratio: 4 / 3; width: 100%; max-width: 420px; justify-self: center; order: 3;
  border-radius: 16px; overflow: hidden; background: var(--erc-soft); display: grid; place-items: center; }
.hc-stat-mid img, .hc-stat-mid canvas, .hc-stat-mid svg { max-width: 100%; height: auto; }

/* ----------------------------------------------------- Гурван жагсаалт -- */
.hc-three { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 28px; }
.hc-three .hc-items a, .hc-three .legislation-link { text-decoration: none; color: var(--erc-ink);
  display: flex; flex-direction: column; gap: 3px; padding: 9px 0; border-bottom: 1px solid var(--hc-line2); }
.hc-three .hc-items a:hover, .hc-three .legislation-link a:hover { color: var(--erc-blue); }
.hc-three .hc-items .hc-d, .hc-three .legislation-link small { font-size: 11.5px; color: var(--erc-blue);
  font-weight: 600; font-variant-numeric: tabular-nums; }
.hc-three .hc-items .hc-t, .hc-three .legislation-link a { font-size: 13.5px; line-height: 1.4;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--erc-ink); text-decoration: none; }
.hc-three .legislation-link::before { content: none; }
.hc-more { align-self: center; text-decoration: none; height: 40px; padding: 0 18px; border-radius: 8px;
  background: var(--erc-navy); color: #fff; font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; }
.hc-more:hover { background: var(--erc-blue); color: #fff; }

/* -------------------------------------------------- Цахим системүүд (aside) */
.hc-sys { display: flex; flex-direction: column; }
.hc-sys a { text-decoration: none; color: var(--erc-ink); display: flex; gap: 12px; align-items: center;
  padding: 10px 4px; border-bottom: 1px solid var(--hc-line2); }
.hc-sys a:hover { color: var(--erc-blue); background: var(--erc-soft); }
.hc-sys .material-symbols-rounded { width: 36px; height: 36px; border-radius: 10px; background: var(--hc-tile);
  color: var(--erc-blue); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.hc-sys b { font-size: 13.5px; font-weight: 600; line-height: 1.3; display: block; }
.hc-sys small { font-size: 11.5px; color: var(--erc-muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-sys span.hc-ext { font-family: 'Material Symbols Rounded'; font-size: 18px; color: var(--hc-dim); margin-left: auto; }
.hc-note { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--erc-muted); }

/* --------------------------------------------- Төлөвлөгөөний зурвас (band) */
.hc-plans { margin-top: 48px; position: relative; background: var(--erc-navy); color: #fff; overflow: hidden; }
.hc-plans > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.hc-plans-in { position: relative; max-width: var(--hc-wrap); margin: 0 auto; padding: 44px 24px 44px var(--hc-padl);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 28px; }
.hc-plans a { text-decoration: none; color: #fff; display: flex; flex-direction: column; gap: 10px;
  padding-left: 16px; border-left: 3px solid var(--erc-yellow); }
.hc-plans small { font-size: 13px; line-height: 1.5; color: #C9D3EA; }
.hc-plans b { font-family: var(--erc-head); font-size: 18px; font-weight: 600; line-height: 1.3; text-transform: uppercase; }
.hc-plans span { font-size: 13px; font-weight: 600; color: var(--erc-yellow); }

/* ------------------------------------------- Санал асуулга (dynamic-poll) */
.hc-poll-sec { max-width: var(--hc-wrap); margin: 0 auto; padding: 48px 24px 48px var(--hc-padl); display: flex; flex-direction: column; gap: 16px; }
.hc-poll-head { display: flex; gap: 12px; align-items: center; }
.hc-poll-head a { text-decoration: none; font-size: 12.5px; font-weight: 600; background: var(--erc-blue);
  color: #fff; padding: 5px 10px; border-radius: 6px; }
.hc-poll-head a:hover { background: var(--erc-navy); color: #fff; }
.hc-poll { display: flex; flex-wrap: wrap; gap: 28px; align-items: stretch; }
.hc-poll-card { flex: 0 1 420px; min-height: 220px; border-radius: 12px; background: var(--erc-navy); color: #fff;
  padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.hc-poll-card .material-symbols-rounded { font-size: 40px; color: var(--erc-yellow); }
.hc-poll-card b { font-family: var(--erc-head); font-size: 28px; font-weight: 600; text-transform: uppercase; }
.hc-poll-card small { font-size: 14px; color: #C9D3EA; }
.hc-poll-body { flex: 1 1 360px; min-width: 0; }
.hc-poll-body .poll-question, .hc-poll-body h3, .hc-poll-body h4 { font-size: 17px; line-height: 1.45;
  color: var(--erc-blue); font-weight: 700; text-wrap: pretty; margin: 0 0 12px; }
.hc-poll-body .form-check { padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 6px; }
.hc-poll-body .form-check-input { width: 18px; height: 18px; margin: 0 10px 0 0; accent-color: var(--erc-blue); float: none; }
.hc-poll-body .form-check-label { font-size: 14px; display: flex; gap: 10px; align-items: center; }
.hc-poll-body .progress { height: 6px; border-radius: 3px; background: var(--hc-line2); }
.hc-poll-body .progress-bar { background: var(--erc-blue); }
.hc-poll-body .btn, .hc-poll-body button[type="submit"] { background: var(--erc-yellow); border: 0; color: var(--erc-navy);
  font-weight: 700; font-size: 14px; height: 42px; padding: 0 18px; border-radius: 8px; }
.hc-poll-body .poll-total, .hc-poll-body .text-muted { font-size: 12.5px; color: #8A5A00 !important; font-weight: 600; }

/* ----------------------------------------------------------------- Footer */
.hc-foot { background: var(--erc-navy); color: #fff; }
.hc-foot-grid { max-width: 1280px; margin: 0 auto; padding: 56px 24px 32px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.hc-foot img { height: 52px; width: auto; align-self: flex-start; }
.hc-foot p { margin: 16px 0 0; font-size: 14px; line-height: 1.6; color: #C9D3EA; text-wrap: pretty; }
.hc-foot h4 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--erc-yellow);
  font-weight: 700; margin: 0 0 10px; }
.hc-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.hc-foot li { display: flex; gap: 10px; color: #E6EBF6; }
.hc-foot li .material-symbols-rounded { font-size: 18px; color: #8FA3D1; flex-shrink: 0; }
.hc-foot a { color: #E6EBF6; text-decoration: none; }
.hc-foot a:hover { color: var(--erc-yellow); }
.hc-foot-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.hc-foot-bottom > div { max-width: 1280px; margin: 0 auto; padding: 18px 24px; display: flex; flex-wrap: wrap;
  gap: 12px 24px; justify-content: space-between; font-size: 13px; color: #A9B6D6; }
.hc-foot-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.hc-foot-bottom a { color: #A9B6D6; }

/* ============================================================== @media == */
/* ≥1000px — хажуугийн багана sticky, статистик 3 багана */
@media (min-width: 1000px) {
  .hc-aside { flex: 0 0 240px; position: sticky; top: 16px; }
  .hc-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); }
  .hc-stat-mid { max-width: none; order: 0; }
  .hc-stat-col.hc-left { align-items: flex-end; text-align: right; }
  .hc-stat-col.hc-left .hc-stat { flex-direction: row-reverse; }
}
/* ≥1100px — зүүн сошиал рэйл гарч, контент 72px зайтай */
@media (min-width: 1100px) {
  :root { --hc-padl: 72px; }
  .hc-rail { display: flex; }
}
/* <1180px — үндсэн цэс нуугдаж burger гарна (загварын mobile = w < 1180) */
@media (max-width: 1179.98px) {
  .hc-nav { display: none; }
  .hc-burger { display: grid; }
  .hc-top nav { display: none; }
  .hc-top .hc-wrap::before { content: 'Эрчим хүчний зохицуулах хороо'; opacity: .85; }
}
@media (max-width: 860px) {
  .hc-hero .row { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 160px 160px; }
  .hc-hero .row > div:first-child { grid-column: 1 / span 2; grid-row: auto; }
  .hc-rows-2 { grid-template-columns: 1fr; }
  .hc-poll-card { flex-basis: 100%; }
}
@media (max-width: 600px) {
  .hc-head .hc-wrap { height: 64px; gap: 12px; }
  .hc-logo img { height: 42px; }
  .hc-hero .row { grid-template-columns: 1fr; grid-template-rows: 220px repeat(4, 150px); }
  .hc-hero .row > div:first-child { grid-column: auto; }
  .hc-hero .row > div:first-child .card-title { font-size: 18px; }
  .hc-shell { padding-top: 16px; }
  .hc-main { gap: 28px; }
  .hc-plans { margin-top: 32px; }
}

/* ===========================================================================
   Блокуудын бодит markup-д тааруулсан засварууд (хөтчөөр шалгасны дараа)
   =========================================================================== */

/* Медиа — CollectionRenderer нь Bootstrap .row > .col-* гаргадаг тул grid-ийг
   .row дээр тавина (эс тэгвэл бүх картууд нэг grid нүдэнд багтаж нарийсна) */
.hc-media { display: block; }
.hc-media .row { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: 16px; margin: 0; --bs-gutter-x: 0; --bs-gutter-y: 0; }
.hc-media .row > div { width: auto; max-width: none; padding: 0; margin: 0; }
.hc-media .card { box-shadow: none !important; }
.hc-media .card-body { padding: 0; }
.hc-media .card-title { font-size: 13.5px; font-weight: 600; line-height: 1.4; margin: 0 0 4px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* 1 дэх талбар = төрөл (Видео/Фото…), 2 дахь = огноо */
.hc-media .card-body p:first-of-type { order: -1; font-size: 15px !important; font-weight: 700;
  color: var(--erc-navy) !important; margin: 0 0 6px; }
.hc-media .card-body p + p { font-size: 12px !important; color: var(--erc-blue) !important; font-weight: 600; margin: 0; }
.hc-media .card-body { display: flex; flex-direction: column; }

/* Онцлох мэдээ — жижиг хөзрүүдэд огноо гарчгийн ДООР (загвартай ижил) */
.hc-hero .row > div:not(:first-child) .badge { order: 2; margin-top: 6px; }

/* Их уншсан (widget-trending) — модулийн өөрийн гарчгийг нуув (бидний hc-h3 бий) */
.hc-two [data-limit] > div:first-child { display: none; }
.hc-two [data-limit] > a { display: flex; gap: 12px; align-items: center; padding: 10px 4px !important;
  margin: 0 !important; border-bottom: 1px solid var(--hc-line2) !important; text-decoration: none; }
.hc-two .trending-num { width: 32px; height: 32px; border-radius: 8px; background: var(--hc-tile);
  color: var(--erc-blue) !important; display: grid; place-items: center; font-size: 13px; flex-shrink: 0; }
.hc-two [data-limit] .line-clamp-2 { font-size: 14px; line-height: 1.35; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hc-two [data-limit] small { font-size: 11.5px; color: var(--erc-blue) !important; font-weight: 600; }
.hc-two [data-limit] > a:hover .line-clamp-2 { color: var(--erc-blue) !important; }

/* Гурван жагсаалт — ArticlesRenderer-ийн list горим (.zv-article-list) нь зураг,
   ангиллын badge-тай ирдэг; загварт нэг мөрт огноо + гарчиг */
.hc-three .zv-article-list { display: flex; flex-direction: column; }
.hc-three .zv-list-item { display: block; padding: 9px 0; border-bottom: 1px solid var(--hc-line2); text-decoration: none; }
.hc-three .zv-list-thumb { display: none; }
.hc-three .zv-list-content { display: flex; flex-direction: column; gap: 3px; }
.hc-three .zv-list-content > *:not(.zv-list-title):not(.zv-list-date) { display: none; }
.hc-three .zv-list-title { font-size: 13.5px; line-height: 1.4; font-weight: 400; margin: 0; color: var(--erc-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-three .zv-list-date { order: -1; font-size: 11.5px; color: var(--erc-blue); font-weight: 600; font-variant-numeric: tabular-nums; }
.hc-three .zv-list-item:hover .zv-list-title { color: var(--erc-blue); }

/* Санал асуулга — PollRenderer-ийн .poll-block картыг хуудсанд уусгав */
.hc-poll-body .poll-block { background: transparent !important; border: 0 !important; padding: 0 !important; }
.hc-poll-body .poll-block > h6 { font-size: 17px; line-height: 1.45; color: var(--erc-blue); font-weight: 700;
  text-wrap: pretty; margin: 0 0 14px; }
.hc-poll-body .poll-form { display: flex; flex-direction: column; }
.hc-poll-body .form-check { display: flex; flex-direction: row; align-items: center; gap: 10px;
  padding: 0; margin: 0 0 12px; min-height: 0; }
.hc-poll-body .form-check-input { float: none; margin: 0; flex-shrink: 0; }
.hc-poll-body .form-check-label { font-size: 14px; line-height: 1.35; cursor: pointer; }
.hc-poll-body .btn, .hc-poll-body button[type="submit"] { align-self: flex-start; width: auto; }

/* Bootstrap-ийн утилит класс (.d-flex, .w-100) нь !important-той тул дарахад шаардлагатай */
.hc-two [data-limit] > div:first-child { display: none !important; }   /* модулийн давхар гарчиг */
.hc-poll-body .btn, .hc-poll-body button[type="submit"] { width: auto !important; }
.hc-stat-mid { aspect-ratio: auto; padding: 8px; min-height: 300px; }

/* ===========================================================================
   Контейнер ба тэгш хэмийн засвар (2026-10-23, хэмжилтээр)
   ---------------------------------------------------------------------------
   Асуудал: загварын `padding-left:72px` нь зүүн талын fixed сошиал рэйлийг
   тойрохын тулд байсан.  Гэвч рэйл нь ХАРАХ ЦОНХНЫ зүүн ирмэгт (left:12px)
   байрладаг тул өргөн дэлгэцэд 1320px контейнер голлоход (1882px дээр хоёр
   талд 281px) рэйл контейнераас хол зайд үлдэж, 72/24 зөрүү нь бүх хуудсыг
   баруун тийш хазайсан мэт харуулж байв.
   Шийдэл: рэйлд хүрэлцэх зай аяндаа үүсэх өргөнөөс (1320 + 2×64 = 1448px)
   эхлээд зүүн padding-ыг 24px болгож тэгш хэмтэй болгоно.
   Мөн header/footer-ийг контентын контейнертэй (1320px) нийцүүлж, бүх
   блокийн зүүн ирмэгийг нэг х координат дээр эгнүүлэв (загварт header/footer
   нь 1280px байсан — тусдаа хуудас байсан тул зөрүү нь мэдэгддэггүй байв).
   =========================================================================== */
@media (min-width: 1448px) {
  :root { --hc-padl: 24px; }
}

/* Footer-ийг мөн 1320px контейнерт (өмнө 1280px байсан → 20px зөрүүтэй) */
.hc-foot-grid, .hc-foot-bottom > div { max-width: var(--hc-wrap); }
.hc-foot-grid { padding-left: var(--hc-padl); }
.hc-foot-bottom > div { padding-left: var(--hc-padl); }

/* Header-ийн мөрүүд ч ижил зүүн ирмэгтэй */
.hc-top .hc-wrap, .hc-head .hc-wrap { padding-left: var(--hc-padl); }

/* --- Цэсний эвдрэл: MenuRenderer нь <ul class="nav nav-pills gap-2"> гаргадаг.
   Bootstrap-ийн .nav нь flex-wrap:wrap, .gap-2 нь !important 8px зайтай тул
   6 цэс 1320px доторх боломжит өргөнд багтахгүй 2 мөр болж, header 2 дахин
   өндөр болж контентыг дарж байв (1366px дээр илэрсэн). */
.hc-nav ul { flex-wrap: nowrap !important; gap: 0 !important; }
.hc-nav li > a { flex-shrink: 0; }

/* Дунд өргөнд (burger гарахаас өмнө) цэсийг багтаана */
@media (max-width: 1500px) {
  .hc-nav li > a { font-size: 12.5px; padding: 8px; }
  .hc-nav li.dropdown > a::after { font-size: 16px; }
}
@media (max-width: 1300px) {
  .hc-nav li > a { font-size: 12px; padding: 7px; letter-spacing: 0; }
  .hc-head .hc-wrap { gap: 12px; }
  .hc-logo img { height: 46px; }
}

/* Утасны цэс — мөн .nav-ийн улмаас хэвтээ болохоос сэргийлж багана болгов */
.hc-mnav ul { display: block; }
.hc-mnav .dropdown-menu { width: auto; min-width: 0; max-width: none; grid-template-columns: 1fr !important; }
