:root {
    --container: 1440px;
    --brand-blue: #1659B7;
    --brand-yellow: #F6C200;
    --text: #2b3340;
    --menu: #657088;
    --muted: #9aa3b2;
    --border: #E6EBF2;
    --radius: 10px;
    --shadow: 0 10px 30px rgba(0, 0, 0, .08);
    --text-muted: #667083;
    /* --brand-blue: #1659B7;
            --brand-yellow: #F6C200; */
}

*,
*::before,
*::after {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text);
    background: #fff;

}

a {
    text-decoration: none;
    color: inherit
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 16px
}

/* ===== TOPBAR ===== */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #f2f8ff;
}

.topbar-row {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px
}

.topbar .citem {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #2b3340;
}

.topbar .citem svg {
    width: 16px;
    height: 16px;
    fill: var(--brand-yellow);
    transition: .2s
}

.topbar .citem:hover svg {
    fill: var(--brand-blue)
}

.topbar .socials {
    display: flex;
    align-items: center;
    gap: 10px
}

.topbar .soc svg {
    width: 18px;
    height: 18px;
    fill: var(--brand-yellow);
    transition: fill .2s, transform .2s
}

.topbar .soc:hover svg {
    fill: var(--brand-blue);
    transform: scale(1.15)
}

/* ===== NAVBAR ===== */
.nav {
    position: sticky;
    top: 44px;
    z-index: 999;
    background: #fff;
}

.nav-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
}

.brand img {
    height: 48px;
    width: auto;
    display: block
}

/* MENU */
.menu {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 22px;
    flex: 1
}

.menu>li {
    position: relative
}

.menu>li>a {
    color: var(--menu);
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: var(--radius);
    transition: color .2s
}

.menu>li:hover>a {
    color: var(--brand-blue)
}

.menu>li.has-sub>a::after {
    content: "";
    width: 10px;
    height: 10px;
    margin-left: 4px;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5H7z"/></svg>') no-repeat center/contain;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5H7z"/></svg>') no-repeat center/contain;
    background-color: var(--menu);
    transition: .2s;
}

.menu>li:hover>a::after {
    background-color: var(--brand-blue);
    transform: translateY(1px)
}

/* SUBMENU */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 6px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    list-style: none;
    padding: 6px 0;
    min-width: 230px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .25s, transform .25s;
    pointer-events: none;
    z-index: 50;
}

.has-sub:hover>.submenu {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto
}

.submenu a {
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #445269;
    white-space: nowrap
}

.submenu a:hover {
    background: #f7f9fc;
    color: var(--brand-blue)
}

/* ====== FIX: submenu hover delay, flicker арилгах ====== */

.submenu,
.flyout {
    transition: opacity .25s, transform .25s;
    transition-delay: 0.15s;
}

.has-sub:hover>.submenu,
.submenu:hover,
.has-flyout:hover>.flyout,
.flyout:hover {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition-delay: 0s;
}

.has-sub>.submenu::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 0;
    width: 100%;
    height: 6px;
}

.has-flyout>.flyout::before {
    content: "";
    position: absolute;
    top: 0;
    left: -6px;
    width: 6px;
    height: 100%;
}


/* FLYOUT */
.has-flyout {
    position: relative
}

.submenu>.has-flyout>a {
    padding-right: 24px;
    position: relative
}

.submenu>.has-flyout>a::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 6l6 6-6 6V6z"/></svg>') no-repeat center/contain;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 6l6 6-6 6V6z"/></svg>') no-repeat center/contain;
    background-color: var(--menu);
    transition: .2s;
}

.submenu>.has-flyout:hover>a::after {
    background-color: var(--brand-blue)
}

.flyout {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 6px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    list-style: none;
    padding: 6px 0;
    min-width: 230px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-4px);
    transition: opacity .25s, transform .25s;
    pointer-events: none;
    z-index: 60;
}

.has-flyout:hover>.flyout {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto
}

.flyout a {
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #445269;
    white-space: nowrap
}

.flyout a:hover {
    background: #f7f9fc;
    color: var(--brand-blue)
}

/* RIGHT ACTIONS */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ===== SEARCH ICON BOX ===== */
.nav-search {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f6f7fb;
    cursor: pointer;
    transition: all 0.25s ease;
}

.nav-search:hover {
    background: var(--brand-yellow);
    transform: scale(1.1);
}

.icon-search {
    width: 20px;
    height: 20px;
    filter: invert(40%) sepia(8%) saturate(500%) hue-rotate(180deg);
    transition: filter 0.25s ease;
}

.nav-search:hover .icon-search {
    filter: invert(22%) sepia(87%) saturate(3386%) hue-rotate(207deg) brightness(94%) contrast(101%);
}

/* ===== EN LANGUAGE ===== */
.nav-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--brand-blue);
    transition: color 0.2s ease;
}

.nav-lang:hover {
    color: var(--brand-yellow);
}

.flag-icon {
    width: 22px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--brand-blue);
    transition: color .2s;
}

.nav-lang:hover {
    color: var(--brand-yellow);
}

.nav-lang img {
    width: 22px;
    height: 16px;
    object-fit: contain;
}

.nav-lang {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 15px;
    color: var(--brand-blue);
    transition: .2s
}

.nav-lang svg {
    width: 16px;
    height: 16px;
    fill: var(--brand-yellow);
    transition: .2s
}

.nav-lang:hover {
    color: var(--brand-yellow)
}

.nav-lang:hover svg {
    fill: var(--brand-blue)
}

/* ===== PAGE BANNER ===== */
.page-banner {
    position: relative;
    width: 100%;
    height: 380px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
}

.page-banner .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner {
    position: relative;
    width: 100%;
    height: 380px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
}

.banner-content {
    position: relative;
    max-width: var(--container);
    z-index: 2;
    margin: 0;
    padding-left: 120px;
    max-width: 720px;
}

.breadcrumb {
    font-size: 14px;
    color: #eaeaea;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb .home-icon {
    width: 16px;
    height: 16px;
    fill: var(--brand-yellow);
}

.banner-content h1 {
    font-size: 37px;
    font-weight: 730;
    margin: 0 0 8px;
    color: #fff;
}

.subtitle {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 500;
}

.subtitle .bar {
    width: 3px;
    height: 26px;
    background: var(--brand-yellow);
    display: inline-block;
}

/* ===== MAIN BODY ===== */
.left-col,
.left,
.left-content {
    overflow: initial;
}

.two-column {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.left-col h2 {
    color: var(--brand-blue);
    font-size: 22px;
    margin-bottom: 10px;
}

/* ====== TEXT SPACING & READABILITY FIX ====== */
.left-col p {
    line-height: 1.65;
    margin-bottom: 10px;
    color: #333;
}

.left-col p strong {
    display: inline-block;
    margin-bottom: 2px;
    color: var(--black);
}

.left-col p strong+br,
.left-col p strong+span,
.left-col p strong+text {
    line-height: 1.4;
    margin-top: -4px;
}

.profile-text p {
    margin: 0 0 14px 0;
    line-height: 1.7;
}

.profile-text p strong {
    color: #2b3340;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 3px;
}

.profile-text p strong+br {
    display: none;
}

.profile-text p {
    text-indent: 0;
}

.profile-text p span,
.profile-text p em,
.profile-text p small {
    display: block;
    margin-top: 3px;
}

.left-col {
    font-size: 15px;
    line-height: 1.7;
}


.manager-box {
    background: #f8f8f8;
    border-left: 5px solid var(--brand-yellow);
    padding: 10px 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

/* ===== Удирдлага текстийн сайжруулалт ===== */
.profile {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-top: 16px;
}

.profile img {
    width: 170px;
    border-radius: 6px;
    object-fit: cover;
}

.profile-text {
    flex: 1;
    font-size: 15px;
    color: #555;
    line-height: 1.75;
}

.profile-text strong {
    display: inline-block;
    font-weight: 700;
    color: #2b3340;
    margin-bottom: 3px;
}

.profile-text a:hover {
    color: var(--brand-yellow);
}

.right-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
}


.widget h3 {
    color: var(--brand-blue);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* Хайлт */
.search-form {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .06);
}

.search-form input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 20px;
    font-size: 14px;
}

.search-form button {
    background: var(--brand-yellow);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
}

.search-form button:hover {
    background: var(--brand-blue);
}

.search-form svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.news-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.news-item img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.news-item a {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--brand-blue);
    line-height: 1.5;
}

.news-item a:hover {
    color: var(--brand-yellow);
}

.news-item .date {
    display: block;
    font-size: 13px;
    color: #999;
    margin-top: 4px;
}

/* Тусламж */
.help-widget {
    background: #f4f8ff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
    text-align: center;
    padding: 32px 20px;
}

.help-widget .headset {
    width: 48px;
    height: 48px;
    fill: var(--brand-blue);
    margin-bottom: 10px;
}

.help-widget h4 {
    color: var(--brand-blue);
    font-weight: 700;
    margin-bottom: 8px;
}

.help-widget p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.btn-call {
    display: inline-block;
    background: var(--brand-yellow);
    color: #fff;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(246, 194, 0, .4);
    transition: all .2s;
}

.btn-call:hover {
    background: var(--brand-blue);
    box-shadow: 0 8px 25px rgba(22, 89, 183, .4);
}

/* ===== CTA SECTION ===== */
.cta-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 70px 0;
    color: #fff;
    overflow: hidden;

    margin-top: 0;
    padding-top: 50px;
    padding-bottom: 60px;
}

.manager-section {
    margin-bottom: 0;
    padding-bottom: 85px;
}


.cta-section .overlay {
    position: absolute;
    inset: 0;
    background: rgba(22, 89, 183, 0.55);
}

.cta-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.3fr 1.5fr 0.8fr;
    /* 3 баганат бүтэц */
    align-items: center;
    gap: 40px;
}

.cta-col h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: #fff;
}

.cta-col p {
    font-size: 16px;
    font-weight: 400;
    color: #f2f2f2;
    margin: 0;
    line-height: 1.7;
}

.text-right {
    text-align: right;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 2px solid #fff;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    border-radius: 50px;
    padding: 10px 28px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.cta-btn span {
    font-size: 20px;
    line-height: 1;
}

.cta-btn:hover {
    background: var(--brand-yellow, #f6c200);
    border-color: var(--brand-yellow, #f6c200);
    color: var(--brand-blue, #1659B7);
    box-shadow: 0 5px 20px rgba(246, 194, 0, 0.5);
}

/* ===== FOOTER BASE ===== */
.footer {
    background: #fff;
    padding-top: 60px;
    color: #2b3340;
    font-family: system-ui, sans-serif;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 14px;
}

.footer h4 {
    color: #1659B7;
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 700;
}

.footer p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin: 0 0 10px;
}

.footer-col ul li a {
    color: #2b3340;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 8px;
    transition: all 0.25s ease;
}

/* SOCIAL ICONS */
.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 14px;
}

.footer-social .soc {
    width: 36px;
    height: 36px;
    background: #f2f4f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .25s;
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: #657088;
    transition: .25s;
}

.footer-social .soc:hover {
    background: #F6C200;
    transform: translateY(-3px);
}

.footer-social .soc:hover svg {
    fill: #1659B7;
}

/* ============================
  (COLUMN 2)
   ============================ */

.footer-col.links h4 {
    color: var(--brand-blue);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col.links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col.links ul li {
    margin-bottom: 8px;
}

.footer-col.links ul li a {
    display: inline-block;
    color: #2b3340;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-col.links ul li a:hover {
    color: var(--brand-blue);
    transform: translateX(6px);
}

/* CONTACT ICONS */
.contact-ico {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    fill: #1659B7;
    transition: .25s;
}

.contact p:hover .contact-ico {
    fill: #F6C200;
}

.worktime {
    display: flex;
    align-items: center;
    gap: 8px;
}

.time {
    font-weight: 600;
    color: #1659B7;
}

/* BOTTOM */
.footer-bottom {
    padding: 14px 0;
    background: #1659B7;
    color: #fff;
    text-align: center;
}

.bottom-links a {
    color: #fff;
    font-weight: 500;
    margin: 0 6px;
    transition: .2s;
}

.bottom-links a:hover {
    opacity: 0.75;
}

.footer-bottom .copyright {
    margin-top: 5px;
    font-size: 13px;
    color: #fff;
}


/* -----------------strategy------------------------ */
.strategy-section {
    padding: 30px 0;
    line-height: 1.75;
    color: #2b3340;
}

.strategy-date {
    color: #999;
    margin-bottom: 10px;
}

.strategy-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #115aa8;
}

.strategy-block {
    margin-bottom: 30px;
}

.strategy-block h3 {
    color: #0f4f93;
    margin-bottom: 10px;
}

.goals-list ol,
.goals-list ul {
    padding-left: 20px;
}

/* ---------------st */

.strategy-section {
    padding: 30px 0;
    line-height: 1.75;
    color: #2b3340;
}

.strategy-date {
    color: #999;
    margin-bottom: 10px;
}

.strategy-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #115aa8;
}

.strategy-block {
    margin-bottom: 30px;
}

.strategy-block h3 {
    color: #0f4f93;
    margin-bottom: 10px;
}

.goals-list ol,
.goals-list ul {
    padding-left: 20px;
}

/* ------------------ STAFF ----------------------------- */

.staff-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.staff-table th,
.staff-table td {
    border: 1px solid #ddd;
    padding: 10px 8px;
}

.staff-table th {
    background: #f5f5f5;
    font-weight: 600;
    text-align: center;
}

.dep-header td {
    background: #fafafa;
    font-weight: bold;
    text-align: center;
    padding: 12px;
    font-size: 16px;
}


/* --------------------- News/Details.html---------------------*/

.news-cover-img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.news-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.news-gallery img {
    width: 100%;
    border-radius: 8px;
}


/* -------------------------- NEWS LIST ------------------------------ */
.news-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 70px;
    padding: 20px 0;
}

.news-card {
    display: flex;
    gap: 40px;
}

.news-thumb img {
    width: 380px;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
}

.news-info {
    padding-top: 10px;
}

.news-info .date {
    color: #F6C200;
    font-size: 14px;
    margin-bottom: 8px;
}

.news-title {
    font-size: 22px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.news-title a {
    color: #0f4f93;
    font-weight: 700;
    text-decoration: none;
}

.btn-view {
    background: #1659B7;
    color: #fff;
    padding: 12px 26px;
    border-radius: 30px;
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
}

.btn-view {
    background: #1659B7;
    color: #fff;
    padding: 12px 26px;
    border-radius: 30px;
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
}

.btn-view:hover {
    background: #0e4b8e;
}

/* ===============================
   TOPBAR COLOR
   =============================== */

.topbar a.u-value {
    color: var(--brand-yellow) !important;
    font-weight: 700;
    transition: color .2s ease;
}


.topbar a.u-value:hover {
    color: var(--brand-blue) !important;
}


.topbar .u-head {
    color: var(--brand-yellow) !important;
    font-size: 11px;
    font-weight: 700;
    opacity: 0.9;
    transition: color .2s ease;
}

.topbar .two-line:hover .u-head {
    color: var(--brand-blue) !important;
}



.topbar .u-line img {
    filter: brightness(0) saturate(100%) invert(79%) sepia(79%) saturate(748%) hue-rotate(358deg) brightness(102%) contrast(104%);
    transition: filter .2s ease;
}


.topbar .two-line:hover .u-line img {
    filter: brightness(0) saturate(100%) invert(32%) sepia(85%) saturate(1800%) hue-rotate(205deg) brightness(95%) contrast(95%);
}

/* STRUCTURE FIX */
.structure-img-wrap {
    max-width: 100%;
    overflow-x: auto;
}

.structure-img-wrap img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 980px) {
    .structure-img-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .structure-img-wrap img {
        min-width: 720px;
        /* бүтэцийн бодит өргөн */
    }
}

/* Mobile / Tablet */
@media (max-width: 980px) {
    .structure-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .structure-wrap img {
        min-width: 900px;
        /* бүтэц уншигдах хэмжээ */
    }
}

@media (max-width: 980px) {

    .staff-table {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* =====================================================
   STRUCTURE PAGE – MOBILE FIX (LOCAL ONLY)
   ===================================================== */

.structure-page {
    width: 100%;
    overflow-x: hidden;
}

/* ---------- STRUCTURE IMAGE ---------- */
.structure-image {
    width: 100%;
    overflow-x: auto;
}

.structure-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile / Tablet */
@media (max-width: 980px) {

    /* 👉 Header алга болохоос хамгаална */
    body {
        overflow-x: hidden;
    }

    /* 👉 Бүтцийн зураг хажуу тийш scroll */
    .structure-image {
        -webkit-overflow-scrolling: touch;
    }

    .structure-image img {
        min-width: 720px;
        /* уншигдахуйц */
    }

    /* ---------- STAFF TABLE ---------- */
    .staff-table-wrap {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .staff-table {
        min-width: 720px;
    }
}

@media (max-width: 1024px) {

    body {
        overflow-x: hidden;
    }

    .topbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 3000;
    }

    .nav {
        position: sticky;
        top: 44px;
        z-index: 2999;
        background: #fff;
    }

    .nav-inner {
        min-height: 64px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* LOGO */
    .brand {
        order: 1;
    }

    /* BURGER – БАРУУН */
    .burger {
        order: 2;
        display: flex;
        position: relative;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 6500;
    }

    /* BARUUN ACTIONS (🔍 EN) */
    .nav-actions {
        display: none;
        /* mobile дээр нуух */
    }
}

@media (max-width: 980px) {

    .burger {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 40px;
        height: 40px;
        background: none;
        border: none;
        cursor: pointer;

        position: relative;
        z-index: 5000;
    }

    /* 3 зураас */
    .burger span,
    .burger::before,
    .burger::after {
        content: "";
        position: absolute;
        width: 22px;
        height: 2px;
        background: #2b3340;
        transition: .25s;
    }

    .burger span {
        top: 50%;
        transform: translateY(-50%);
    }

    .burger::before {
        top: 12px;
    }

    .burger::after {
        bottom: 12px;
    }

    /* X төлөв */
    .burger.is-close span {
        opacity: 0;
    }

    .burger.is-close::before {
        transform: rotate(45deg);
        top: 50%;
    }

    .burger.is-close::after {
        transform: rotate(-45deg);
        bottom: auto;
        top: 50%;
    }
}

@media (max-width: 980px) {
    .nav-actions {
        display: flex !important;
        position: fixed;
        top: 12px;
        right: 56px;
        /* burger-ээс зайтай */
        z-index: 4500;
        gap: 12px;
    }
}

@media (max-width: 980px) {

    .nav-inner {
        min-height: 64px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .brand {
        display: flex;
        align-items: center;
        gap: 8px;
        z-index: 6000;
    }

    .brand img {
        height: 40px;
        width: auto;
        display: block;
    }

}