/* ===============================================
   chig-uureg.css — Чиг үүрэг, байгуулалт хуудас
   =============================================== */

/* ===== ORG CHART SECTION ===== */
.org-section {
    background: #f0f4fa;
    padding: 56px 24px 72px;
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
}

.org-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.org-badge {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: #003a8f;
    color: #f5c542;
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 10px;
}

.org-title {
    font-family: 'Noto Serif', Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: #003a8f;
    margin: 0 0 40px;
}

/* ===== ORG CHART TREE ===== */
.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* --- Захирал --- */
.org-director {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.org-box {
    background: linear-gradient(135deg, #003a8f 0%, #1565c0 100%);
    color: #fff;
    border-radius: 14px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0,58,143,0.22);
    position: relative;
    min-width: 200px;
}

.org-box.gold {
    background: linear-gradient(135deg, #c49a10 0%, #f5c542 100%);
    color: #003a8f;
    box-shadow: 0 6px 24px rgba(196,154,16,0.22);
}

/* Connector lines */
.org-line-down {
    width: 2px;
    height: 32px;
    background: #b0c4e8;
}

.org-line-h-wrap {
    display: flex;
    align-items: flex-start;
    position: relative;
    width: 100%;
    justify-content: center;
}

.org-line-h {
    position: absolute;
    top: 0;
    height: 2px;
    background: #b0c4e8;
}

/* --- Хоёр алба --- */
.org-branches {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
    max-width: 900px;
    position: relative;
}

.org-branches::before {
    content: '';
    position: absolute;
    top: -32px;
    left: calc(50% - 1px);
    width: 2px;
    height: 32px;
    background: #b0c4e8;
}

.org-branches::after {
    content: '';
    position: absolute;
    top: -32px;
    left: 25%;
    right: 25%;
    height: 2px;
    background: #b0c4e8;
}

.org-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* Алба гарчиг */
.org-dept {
    background: #003a8f;
    color: #f5c542;
    border-radius: 12px;
    padding: 11px 20px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    width: 100%;
    letter-spacing: 0.03em;
}

/* Ажилтны карт */
.org-staff-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 0;
    padding-top: 0;
    position: relative;
}

.org-staff-list::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: #b0c4e8;
}

.org-staff {
    background: #fff;
    border: 1px solid #dde3f0;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: box-shadow 0.18s, transform 0.18s;
    position: relative;
}

.org-staff:hover {
    box-shadow: 0 6px 20px rgba(0,58,143,0.1);
    transform: translateY(-2px);
}

.org-staff-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.ic-blue   { background: #e8f0fe; }
.ic-gold   { background: #faeeda; }
.ic-green  { background: #eaf3de; }
.ic-pink   { background: #fbeaf0; }
.ic-purple { background: #f0eafa; }
.ic-teal   { background: #e0f4f1; }

.org-staff-info {}

.org-staff-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #003a8f;
    line-height: 1.3;
}

.org-staff-count {
    font-size: 11px;
    color: #aaa;
    margin-top: 1px;
}

/* ===== БАЙРШИЛ МЭДЭЭЛЭЛ ===== */
.org-contact {
    margin-top: 48px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #dde3f0;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.org-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.org-contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #e8f0fe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.org-contact-label {
    font-size: 11px;
    color: #aaa;
    margin-bottom: 2px;
}

.org-contact-value {
    font-size: 13.5px;
    font-weight: 600;
    color: #003a8f;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .org-branches {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 400px;
    }

    .org-branches::after {
        display: none;
    }

    .org-branches::before {
        left: calc(50% - 1px);
    }

    .org-contact {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .org-section { padding: 36px 16px 48px; }
    .org-box { padding: 12px 20px; font-size: 14px; }
    .org-dept { font-size: 12px; padding: 10px 14px; }
    .org-staff-title { font-size: 12px; }
}

/* ── СТРАТЕГИЙН ЗОРИЛТУУД ── */
.strat-wrap {
    margin: 0 0 56px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #dde3f0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,58,143,0.07);
}

.strat-header {
    background: linear-gradient(135deg, #003a8f, #1a56b0);
    padding: 16px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.strat-doc-num {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.04em;
}
.strat-unesco {
    font-size: 12px;
    font-weight: 700;
    color: #f5c542;
    letter-spacing: 0.04em;
}

.strat-title {
    font-family: 'Noto Serif', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: #003a8f;
    margin: 0;
    padding: 24px 28px 20px;
    border-bottom: 2px solid #e8f0fe;
}

.strat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.strat-card {
    display: flex;
    gap: 16px;
    padding: 22px 24px;
    border-bottom: 1px solid #f0f4ff;
    border-right: 1px solid #f0f4ff;
    transition: background 0.2s;
}
.strat-card:hover { background: #f8faff; }
.strat-card--wide {
    grid-column: 1 / -1;
    border-right: none;
    background: linear-gradient(135deg, #f4f7ff, #eef2fc);
}
.strat-card--wide:hover { background: linear-gradient(135deg, #edf1ff, #e8eef9); }

.strat-num {
    width: 36px;
    min-width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #003a8f;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.strat-num--gold {
    background: #f5c542;
    color: #003a8f;
}

.strat-body h3 {
    font-size: 14.5px;
    font-weight: 700;
    color: #003a8f;
    margin: 0 0 8px;
    line-height: 1.35;
}
.strat-body p {
    font-size: 13px;
    line-height: 1.72;
    color: #555;
    margin: 0;
}
.strat-body strong { color: #003a8f; }

/* SDG */
.sdg-wrap {
    background: #f4f7ff;
    border-top: 1px solid #e0e8f8;
    padding: 20px 28px 24px;
}
.sdg-title {
    font-size: 13px;
    font-weight: 700;
    color: #003a8f;
    margin-bottom: 14px;
    letter-spacing: 0.03em;
}
.sdg-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.sdg-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #dde3f0;
    border-radius: 100px;
    padding: 6px 14px 6px 6px;
    font-size: 12.5px;
    color: #444;
    transition: border-color 0.15s;
}
.sdg-item:hover { border-color: #003a8f; }
.sdg-num {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: #003a8f;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 700px) {
    .strat-grid { grid-template-columns: 1fr; }
    .strat-card { border-right: none; }
    .strat-card--wide { grid-column: 1; }
    .strat-header { flex-direction: column; gap: 4px; }
    .strat-title { font-size: 17px; padding: 18px 20px 14px; }
    .strat-card { padding: 16px 18px; }
    .sdg-wrap { padding: 16px 18px 20px; }
    .sdg-list { gap: 8px; }
}