/* ================================================================
   MUHANDISLIK MAKTABI SAHIFASI
   Boshqa sahifalar (vasiylik, ilmiy-kengash, xotin-qizlar) bilan
   bir xil header stili
   ================================================================ */

:root {
    --primary:   #1566B7;
    --primary-d: #0d47a1;
    --gold:      #FFD54F;
    --text:      #2c3e50;
    --muted:     #5f738c;
    --light-bg:  #f8faff;
    --border:    #e5efff;
    --dark-bg:   #0e1a2b;
}

/* ══════════════════════════════════════════
   PAGE HEADER — boshqa sahifalar bilan bir xil
══════════════════════════════════════════ */
.mm-header {
    background: linear-gradient(135deg, var(--primary-d) 0%, var(--primary) 100%);
    padding: 64px 0 52px;
    position: relative;
    overflow: hidden;
}
.mm-header-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.mm-orb-1 { width: 320px; height: 320px; left: -80px; bottom: -80px; background: rgba(255,255,255,0.05); }
.mm-orb-2 { width: 440px; height: 440px; right: -120px; top: -120px; background: rgba(255,255,255,0.04); }
/* Diagonal dekor */
.mm-header::after {
    content: ''; position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 40%; clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
    background: rgba(255,255,255,0.03); pointer-events: none;
}
.mm-header-inner { position: relative; z-index: 2; }

/* Breadcrumb */
.mm-header .breadcrumb { background: none; padding: 0; margin-bottom: 20px; }
.mm-header .breadcrumb-item,
.mm-header .breadcrumb-item a {
    color: rgba(255,255,255,0.65); font-size: 13px;
    text-decoration: none; font-family: sans-serif;
}
.mm-header .breadcrumb-item a:hover { color: var(--gold); }
.mm-header .breadcrumb-item.active { color: #fff; }
.mm-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.35); }

/* Tag */
.mm-header-tag {
    display: inline-block; font-size: 10px; font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--gold); background: rgba(255,213,79,0.12);
    border: 1px solid rgba(255,213,79,0.25);
    padding: 5px 16px; border-radius: 20px;
    margin-bottom: 16px; font-family: sans-serif;
}

/* H1 */
.mm-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 52px); font-weight: 900;
    color: #fff; line-height: 1.15; margin-bottom: 12px;
}
.mm-header h1 em { font-style: italic; color: var(--gold); }

/* Sub */
.mm-header-sub {
    font-size: 15px; font-weight: 300;
    color: rgba(255,255,255,0.65);
    font-family: sans-serif; margin-bottom: 28px;
    max-width: 560px;
}

/* Badge (xqk-decree uslubida) */
.mm-header-badge {
    display: inline-flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 12px 20px;
}
.mm-header-badge i { font-size: 18px; color: var(--gold); flex-shrink: 0; }
.mm-badge-label {
    font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--gold);
    font-family: sans-serif; margin-bottom: 2px;
}
.mm-badge-text { font-size: 13px; color: rgba(255,255,255,0.85); font-family: sans-serif; }

body.dark .mm-header { background: linear-gradient(135deg, #060c18 0%, #0a1628 100%); }

/* ══════════════════════════════════════════
   UMUMIY SECTION UTILITIES
══════════════════════════════════════════ */
.mm-section { padding: 88px 0; }
.mm-section-alt { background: var(--light-bg); }
body.dark .mm-section-alt { background: #0a1525; }

.mm-label-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: sans-serif; font-size: 10px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--primary); margin-bottom: 12px;
}
.mm-label-tag::before {
    content: ''; display: block; width: 18px; height: 2px;
    background: var(--primary); border-radius: 2px;
}

.mm-sec-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 3.5vw, 42px); font-weight: 900;
    letter-spacing: -0.01em; line-height: 1.15;
    color: var(--dark-bg); margin-bottom: 14px;
}
.mm-sec-title em { font-style: italic; color: var(--primary); }
body.dark .mm-sec-title { color: #e2e8f0; }

.mm-sec-desc {
    font-size: 15px; color: var(--muted); max-width: 520px; line-height: 1.75;
    font-family: sans-serif;
}

/* ══════════════════════════════════════════
   HAQIDA — ABOUT GRID
══════════════════════════════════════════ */
.mm-about-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 72px; align-items: center;
}
.mm-about-body p {
    font-family: 'Source Serif 4', serif;
    font-size: 15px; color: var(--muted);
    line-height: 1.85; margin-bottom: 18px; font-weight: 300;
}
.mm-about-body p:first-of-type { font-size: 17px; color: var(--text); font-weight: 400; }
body.dark .mm-about-body p { color: #94a3b8; }
body.dark .mm-about-body p:first-of-type { color: #cbd5e1; }

/* Director chip */
.mm-director-chip {
    display: inline-flex; align-items: center; gap: 14px;
    background: rgba(21,102,183,0.07);
    border: 1px solid rgba(21,102,183,0.18);
    border-radius: 60px; padding: 10px 20px 10px 10px;
    margin: 4px 0 28px;
}
body.dark .mm-director-chip { background: rgba(21,102,183,0.12); border-color: rgba(21,102,183,0.25); }
.mm-dc-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-d), var(--primary));
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-family: sans-serif; font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.mm-dc-name { font-family: sans-serif; font-size: 13px; font-weight: 600; color: var(--text); }
.mm-dc-role { font-size: 11px; color: var(--muted); font-family: sans-serif; }
body.dark .mm-dc-name { color: #e2e8f0; }

/* Feature cards */
.mm-feat-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.mm-feat-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: 16px; padding: 20px;
    transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}
.mm-feat-card:hover {
    border-color: var(--primary); box-shadow: 0 6px 24px rgba(21,102,183,0.1);
    transform: translateY(-2px);
}
body.dark .mm-feat-card { background: #1a2740; border-color: rgba(255,255,255,0.07); }
.mm-feat-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(21,102,183,0.08); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; margin-bottom: 10px;
}
.mm-feat-card h5 {
    font-family: sans-serif; font-size: 13px; font-weight: 700;
    color: var(--text); margin-bottom: 4px;
}
.mm-feat-card p { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 0; font-family: sans-serif; }
body.dark .mm-feat-card h5 { color: #e2e8f0; }

/* Visual dark card */
.mm-visual-card {
    background: var(--dark-bg); border-radius: 24px;
    padding: 36px 32px; position: relative; overflow: hidden;
    box-shadow: 0 20px 60px rgba(10,20,50,0.2);
}
body.dark .mm-visual-card { border: 1px solid rgba(255,255,255,0.08); }
.mm-avc-bg-circle {
    position: absolute; width: 260px; height: 260px; border-radius: 50%;
    background: radial-gradient(circle, rgba(21,102,183,0.3) 0%, transparent 70%);
    top: -80px; right: -80px; pointer-events: none;
}
.mm-avc-year {
    font-family: 'Playfair Display', serif;
    font-size: 72px; font-weight: 900;
    color: var(--primary); letter-spacing: -0.03em;
    line-height: 1; opacity: 0.9; margin-bottom: 4px;
}
.mm-avc-label {
    font-family: sans-serif; font-size: 10px; font-weight: 700;
    letter-spacing: 1.8px; text-transform: uppercase;
    color: rgba(255,255,255,0.35); margin-bottom: 3px;
}
.mm-avc-value {
    font-family: sans-serif; font-size: 14px; font-weight: 600;
    color: rgba(255,255,255,0.8); margin-bottom: 4px;
}
.mm-avc-divider { height: 1px; background: rgba(255,255,255,0.07); margin: 18px 0; }
.mm-avc-big {
    font-family: 'Playfair Display', serif;
    font-size: 52px; font-weight: 900; letter-spacing: -0.03em;
    color: #3B9EFF; line-height: 1; margin: 6px 0 14px;
}
.mm-avc-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(21,102,183,0.2); border: 1px solid rgba(21,102,183,0.35);
    border-radius: 30px; padding: 6px 14px;
    font-family: sans-serif; font-size: 11px; font-weight: 600;
    color: #7DC4FF; letter-spacing: 0.04em;
}
.mm-avc-badge i { font-size: 9px; }
.mm-avc-partner {
    font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 900;
    color: #3B9EFF; letter-spacing: -0.01em; margin-top: 4px;
}
.mm-avc-sub {
    font-size: 11px; color: rgba(255,255,255,0.3);
    font-family: sans-serif; margin-top: 2px;
}

/* ══════════════════════════════════════════
   STATISTIKA — STATS WALL
══════════════════════════════════════════ */
.mm-stats-wall {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1px; background: var(--border);
    border: 1px solid var(--border); border-radius: 16px;
    overflow: hidden; margin-top: 40px;
}
body.dark .mm-stats-wall { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.08); }
.mm-sw-item {
    background: #fff; padding: 36px 28px;
    opacity: 0; transform: scale(0.96);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.mm-sw-item.visible { opacity: 1; transform: scale(1); }
body.dark .mm-sw-item { background: #111e33; }
.mm-sw-icon { font-size: 18px; color: var(--border); margin-bottom: 14px; display: block; }
.mm-sw-num {
    font-family: 'Playfair Display', serif;
    font-size: clamp(34px, 4vw, 52px); font-weight: 900;
    letter-spacing: -0.02em; color: var(--primary);
    line-height: 1; display: block; margin-bottom: 8px;
}
.mm-sw-label {
    font-family: sans-serif; font-size: 12px; font-weight: 500;
    color: var(--muted); line-height: 1.4;
}

/* ══════════════════════════════════════════
   TIMELINE — step cards
══════════════════════════════════════════ */
.mm-tl-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
    position: relative;
}
.mm-tl-grid::before {
    content: ''; position: absolute;
    left: 50%; top: 40px; bottom: 40px;
    width: 1px; background: linear-gradient(to bottom, transparent, var(--border) 10%, var(--border) 90%, transparent);
    transform: translateX(-50%); pointer-events: none;
}
body.dark .mm-tl-grid::before { background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.08) 10%, rgba(255,255,255,0.08) 90%, transparent); }

.mm-tl-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: 18px; padding: 26px;
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.25s, border-color 0.25s;
    position: relative; overflow: hidden;
}
.mm-tl-card.visible { opacity: 1; transform: translateY(0); }
.mm-tl-card:hover { box-shadow: 0 8px 28px rgba(21,102,183,0.1); border-color: rgba(21,102,183,0.3); }
.mm-tl-card::before {
    content: ''; position: absolute;
    top: 0; left: 20px; right: 20px; height: 2px;
    background: linear-gradient(90deg, var(--primary-d), var(--primary));
    border-radius: 0 0 2px 2px; opacity: 0; transition: opacity 0.25s;
}
.mm-tl-card:hover::before { opacity: 1; }
body.dark .mm-tl-card { background: #1a2740; border-color: rgba(255,255,255,0.07); }

.mm-tl-step {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-d), var(--primary));
    color: #fff; font-family: sans-serif; font-size: 13px; font-weight: 700;
    margin-bottom: 14px; border: 2px solid rgba(255,255,255,0.3);
}
.mm-tl-date {
    font-family: sans-serif; font-size: 10px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--primary); margin-bottom: 8px;
}
.mm-tl-title {
    font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700;
    color: var(--dark-bg); line-height: 1.3; margin-bottom: 10px;
}
body.dark .mm-tl-title { color: #e2e8f0; }
.mm-tl-text {
    font-family: sans-serif; font-size: 13px; color: var(--muted);
    line-height: 1.7; margin: 0;
}

/* ══════════════════════════════════════════
   HAMKORLAR
══════════════════════════════════════════ */
.mm-partners-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.mm-partner-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: 18px; padding: 28px 24px;
    display: flex; flex-direction: column; gap: 14px;
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.25s, border-color 0.25s;
}
.mm-partner-card.visible { opacity: 1; transform: translateY(0); }
.mm-partner-card:hover { box-shadow: 0 8px 28px rgba(21,102,183,0.1); border-color: rgba(21,102,183,0.3); }
.mm-partner-featured { border-color: var(--primary); background: rgba(21,102,183,0.04); }
body.dark .mm-partner-card { background: #1a2740; border-color: rgba(255,255,255,0.07); }
body.dark .mm-partner-featured { background: rgba(21,102,183,0.1); border-color: rgba(21,102,183,0.4); }

.mm-pc-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: rgba(21,102,183,0.08); color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.mm-partner-featured .mm-pc-icon { background: var(--primary); color: #fff; }
.mm-pc-name {
    font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700;
    color: var(--dark-bg); letter-spacing: -0.01em;
}
body.dark .mm-pc-name { color: #e2e8f0; }
.mm-pc-role {
    font-family: sans-serif; font-size: 10px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--primary); margin-top: -10px;
}
.mm-pc-desc { font-size: 13px; color: var(--muted); line-height: 1.6; font-family: sans-serif; }

/* ══════════════════════════════════════════
   GALEREYA — masonry
══════════════════════════════════════════ */
.mm-gallery-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(6, 160px);
    gap: 10px;
}

/* Masonry layout */
.gm-1  { grid-column: 1 / 3; grid-row: 1 / 3; }
.gm-2  { grid-column: 3;     grid-row: 1; }
.gm-3  { grid-column: 4;     grid-row: 1; }
.gm-4  { grid-column: 3;     grid-row: 2; }
.gm-5  { grid-column: 4;     grid-row: 2; }
.gm-6  { grid-column: 1;     grid-row: 3; }
.gm-7  { grid-column: 2;     grid-row: 3; }
.gm-8  { grid-column: 3 / 5; grid-row: 3; }
.gm-9  { grid-column: 1;     grid-row: 4; }
.gm-10 { grid-column: 2 / 4; grid-row: 4; }
.gm-11 { grid-column: 4;     grid-row: 4; }
.gm-12 { grid-column: 1 / 3; grid-row: 5; }
.gm-13 { grid-column: 3;     grid-row: 5; }
.gm-14 { grid-column: 4;     grid-row: 5; }
.gm-15 { grid-column: 1;     grid-row: 6; }
.gm-16 { grid-column: 2 / 5; grid-row: 6; }

.mm-g-item {
    border-radius: 14px; overflow: hidden;
    cursor: pointer; position: relative;
    background: linear-gradient(140deg, #0a3a7c, #1566B7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mm-g-item:hover { transform: scale(1.015); box-shadow: 0 12px 36px rgba(10,20,60,0.25); z-index: 2; }

/* Yuklanmaguncha shimmer */
.mm-g-item img.mm-lazy {
    opacity: 0;
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
/* Shimmer animatsiyasi */
.mm-g-item:not(.mm-img-loaded)::before {
    content: '';
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(
            90deg,
            rgba(255,255,255,0.04) 0%,
            rgba(255,255,255,0.10) 40%,
            rgba(255,255,255,0.04) 80%
    );
    background-size: 200% 100%;
    animation: mmShimmer 1.6s ease infinite;
    border-radius: 14px;
}
@keyframes mmShimmer {
    0%   { background-position: -100% 0; }
    100% { background-position:  200% 0; }
}

.mm-g-item img {
    width: 100%; height: 100%; object-fit: cover;
    display: block;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
/* Yuklanganda fade-in */
.mm-g-item.mm-img-loaded img {
    opacity: 1;
}
.mm-g-item:hover img { transform: scale(1.06); }
.mm-g-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(4,12,40,0.82) 0%, transparent 55%);
    opacity: 0; transition: opacity 0.3s;
    display: flex; align-items: flex-end; padding: 14px;
}
.mm-g-item:hover .mm-g-overlay { opacity: 1; }
.mm-g-overlay span {
    font-family: sans-serif; font-size: 11px; font-weight: 700;
    color: #fff; letter-spacing: 0.08em; text-transform: uppercase;
}

/* ══════════════════════════════════════════
   LIGHTBOX — katta, to'liq ekran
══════════════════════════════════════════ */
.mm-lightbox {
    display: none;
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(4, 12, 30, 0.96);
    backdrop-filter: blur(10px);
    align-items: center; justify-content: center;
}
.mm-lightbox.active { display: flex; animation: mmLbFadeIn 0.22s ease; }
@keyframes mmLbFadeIn { from { opacity: 0; } to { opacity: 1; } }

.mm-lb-inner {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    max-width: min(90vw, 1100px);
    width: 100%;
    animation: mmLbSlideUp 0.28s cubic-bezier(0.34,1.2,0.64,1);
}
@keyframes mmLbSlideUp { from { opacity:0; transform:scale(0.93) translateY(20px); } to { opacity:1; transform:scale(1) translateY(0); } }

.mm-lb-img-wrap {
    width: 100%;
    max-height: 78vh;
    display: flex; align-items: center; justify-content: center;
    border-radius: 16px; overflow: hidden;
    background: rgba(255,255,255,0.04);
}
.mm-lb-img-wrap img {
    max-width: 100%; max-height: 78vh;
    object-fit: contain; display: block;
    border-radius: 16px;
    transition: opacity 0.25s ease;
}

.mm-lb-footer {
    margin-top: 18px; text-align: center;
}
.mm-lb-caption {
    font-family: 'Playfair Display', serif;
    font-size: 16px; font-weight: 700;
    color: #fff; margin-bottom: 6px;
}
.mm-lb-count {
    font-family: sans-serif; font-size: 12px;
    color: rgba(255,255,255,0.4); letter-spacing: 0.08em;
}

/* Nav buttons */
.mm-lb-nav {
    position: fixed; top: 50%; transform: translateY(-50%);
    width: 52px; height: 52px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff; font-size: 18px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, transform 0.2s;
    z-index: 10001;
}
.mm-lb-nav:hover { background: rgba(21,102,183,0.6); transform: translateY(-50%) scale(1.08); }
.mm-lb-prev { left: clamp(12px, 3vw, 48px); }
.mm-lb-next { right: clamp(12px, 3vw, 48px); }

/* Close button */
.mm-lb-close {
    position: fixed; top: 20px; right: 20px;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff; font-size: 18px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, transform 0.2s;
    z-index: 10001;
}
.mm-lb-close:hover { background: rgba(220,38,38,0.6); transform: scale(1.1); }

/* ══════════════════════════════════════════
   VIDEOLAR
══════════════════════════════════════════ */
.mm-video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mm-v-wrap {
    background: #fff; border: 1px solid var(--border);
    border-radius: 18px; overflow: hidden;
    box-shadow: 0 2px 12px rgba(21,102,183,0.06);
    transition: box-shadow 0.25s, transform 0.25s;
}
.mm-v-wrap:hover { box-shadow: 0 10px 32px rgba(21,102,183,0.12); transform: translateY(-3px); }
body.dark .mm-v-wrap { background: #1a2740; border-color: rgba(255,255,255,0.07); }
.mm-v-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.mm-v-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.mm-v-meta { padding: 18px 22px; border-top: 1px solid var(--border); }
body.dark .mm-v-meta { border-color: rgba(255,255,255,0.07); }
.mm-v-tag {
    display: inline-block; background: rgba(21,102,183,0.08); color: var(--primary);
    font-family: sans-serif; font-size: 10px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    padding: 3px 12px; border-radius: 20px; margin-bottom: 8px;
}
.mm-v-meta h4 { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700; color: var(--dark-bg); margin-bottom: 4px; }
.mm-v-meta p { font-family: sans-serif; font-size: 12px; color: var(--muted); margin: 0; }
body.dark .mm-v-meta h4 { color: #e2e8f0; }

/* ══════════════════════════════════════════
   TO'LIQ MATN
══════════════════════════════════════════ */
.mm-fulltext-wrap { max-width: 720px; margin: 0 auto; }
.mm-ft-quote {
    border-left: 3px solid var(--primary);
    margin: 36px 0; padding: 18px 26px;
    background: rgba(21,102,183,0.05);
    border-radius: 0 12px 12px 0;
}
body.dark .mm-ft-quote { background: rgba(21,102,183,0.08); }
.mm-ft-quote p {
    font-family: 'Playfair Display', serif;
    font-size: 18px; font-style: italic;
    color: var(--dark-bg); margin: 0; line-height: 1.65;
}
body.dark .mm-ft-quote p { color: #e2e8f0; }
.mm-fulltext-wrap p {
    font-family: 'Source Serif 4', serif;
    font-size: 15px; color: var(--muted);
    line-height: 1.9; margin-bottom: 20px; font-weight: 300;
}
body.dark .mm-fulltext-wrap p { color: #94a3b8; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1100px) {
    .mm-gallery-masonry {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(8, 140px);
    }
    .gm-1  { grid-column: 1/3; grid-row: 1/3; }
    .gm-2  { grid-column: 3;   grid-row: 1; }
    .gm-3  { grid-column: 3;   grid-row: 2; }
    .gm-4  { grid-column: 1;   grid-row: 3; }
    .gm-5  { grid-column: 2;   grid-row: 3; }
    .gm-6  { grid-column: 3;   grid-row: 3; }
    .gm-7  { grid-column: 1/3; grid-row: 4; }
    .gm-8  { grid-column: 3;   grid-row: 4; }
    .gm-9  { grid-column: 1;   grid-row: 5; }
    .gm-10 { grid-column: 2;   grid-row: 5; }
    .gm-11 { grid-column: 3;   grid-row: 5; }
    .gm-12 { grid-column: 1;   grid-row: 6; }
    .gm-13 { grid-column: 2/4; grid-row: 6; }
    .gm-14 { grid-column: 1;   grid-row: 7; }
    .gm-15 { grid-column: 2;   grid-row: 7; }
    .gm-16 { grid-column: 3;   grid-row: 7; }
}
@media (max-width: 991px) {
    .mm-about-grid { grid-template-columns: 1fr; gap: 48px; }
    .mm-tl-grid { grid-template-columns: 1fr; }
    .mm-tl-grid::before { display: none; }
    .mm-stats-wall { grid-template-columns: 1fr 1fr; }
    .mm-partners-grid { grid-template-columns: 1fr; }
    .mm-video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .mm-section { padding: 60px 0; }
    .mm-gallery-masonry { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(10,120px); }
    .gm-1  { grid-column: 1/3; grid-row: 1/3; }
    .gm-2,.gm-3,.gm-4,.gm-5,.gm-6,.gm-7,.gm-8,.gm-9,.gm-10,
    .gm-11,.gm-12,.gm-13,.gm-14,.gm-15 { grid-column: auto; grid-row: auto; }
    .gm-16 { grid-column: 1/3; grid-row: auto; }
    .mm-stats-wall { grid-template-columns: 1fr 1fr; }
    .mm-lb-nav { width: 40px; height: 40px; font-size: 14px; }
    .mm-lb-prev { left: 8px; }
    .mm-lb-next { right: 8px; }
}
@media (max-width: 480px) {
    .mm-feat-row { grid-template-columns: 1fr; }
    .mm-stats-wall { grid-template-columns: 1fr; }
}