 @font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
 
 :root {
            --navy: #11185f;
            --royal: #172879;
            --blue: #294a9b;
            --cyan: #00b7ee;
            --cyan-soft: #75ddf7;
            --gold: #c69a45;
            --gold-light: #e4c77d;
            --paper: #f6f7fb;
            --white: #ffffff;
            --ink: #18203a;
            --muted: #68708b;
            --line: rgba(23, 40, 121, .11);
            --shadow: 0 18px 55px rgba(14, 25, 91, .12);
            --radius: 26px;
            --container: 1240px;
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }

        html { scroll-behavior: smooth; }

        body {
            font-family: "Vazirmatn", Tahoma, sans-serif;
            color: var(--ink);
            background:
                radial-gradient(circle at 10% 20%, rgba(0,183,238,.06), transparent 24%),
                radial-gradient(circle at 90% 55%, rgba(198,154,69,.07), transparent 26%),
                var(--paper);
            line-height: 1.9;
            overflow-x: hidden;
        }

        a { color: inherit; text-decoration: none; }
        button, input { font: inherit; }
        button { cursor: pointer; border: 0; }
        img { max-width: 100%; display: block; }

        .container {
            width: min(var(--container), calc(100% - 40px));
            margin-inline: auto;
        }

        /* ---------- top header ---------- */
        .topbar {
            position: fixed;
            inset: 0 0 auto 0;
            z-index: 1000;
            padding: 18px 0;
            transition: .35s ease;
        }

        .topbar.scrolled {
            padding: 9px 0;
            background: rgba(13, 21, 86, .86);
            backdrop-filter: blur(18px);
            box-shadow: 0 10px 35px rgba(0,0,0,.12);
        }

        .nav {
            display: flex;
            align-items: center;
            gap: 30px;
        }

        .brand {
            width: 145px;
            flex: 0 0 auto;
        }

        .brand img {
            width: 100%;
            filter: drop-shadow(0 7px 15px rgba(0,0,0,.18));
        }

        .navlinks {
            display: flex;
            align-items: center;
            gap: 7px;
            margin-inline: auto;
        }

        .navlinks a {
            color: rgba(255,255,255,.9);
            font-size: 14px;
            padding: 9px 13px;
            border-radius: 12px;
            transition: .25s;
        }

        .navlinks a:hover {
            color: white;
            background: rgba(255,255,255,.1);
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .icon-btn {
            width: 42px;
            height: 42px;
            border-radius: 13px;
            color: white;
            background: rgba(255,255,255,.09);
            display: grid;
            place-items: center;
            transition: .25s;
        }

        .icon-btn:hover {
            background: rgba(0,183,238,.2);
            transform: translateY(-2px);
        }

        .hamburger { display: none; }

        /* ---------- hero ---------- */
        .hero {
            min-height: 720px;
            position: relative;
            isolation: isolate;
            overflow: hidden;
            color: white;
            background:
                linear-gradient(110deg, rgba(12,22,92,.97) 0%, rgba(23,40,121,.92) 48%, rgba(30,61,145,.86) 100%),
                url("../images/jeld.jpg") center 22% / cover;
        }

        .hero::before {
            content: "";
            position: absolute;
            inset: 0;
            z-index: -1;
            opacity: .24;
            background-image:
                linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
            background-size: 52px 52px;
            mask-image: linear-gradient(to bottom, black, transparent 92%);
        }

        .hero::after {
            content: "";
            position: absolute;
            width: 580px;
            height: 580px;
            border: 1px solid rgba(117,221,247,.2);
            border-radius: 50%;
            left: -220px;
            bottom: -340px;
            box-shadow:
                0 0 0 70px rgba(117,221,247,.025),
                0 0 0 140px rgba(117,221,247,.018);
            z-index: -1;
        }

        .hero-content {
            min-height: 720px;
            display: grid;
            grid-template-columns: 1.05fr .95fr;
            align-items: center;
            gap: 70px;
            padding-top: 90px;
            padding-bottom: 70px;
        }

        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: var(--gold-light);
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 18px;
        }

        .eyebrow::before {
            content: "";
            width: 30px;
            height: 1px;
            background: var(--gold);
        }

        .hero h1 {
            font-size: clamp(36px, 5vw, 66px);
            line-height: 1.25;
            letter-spacing: -1.8px;
            font-weight: 800;
            max-width: 700px;
        }

        .hero h1 span {
            color: var(--cyan-soft);
            display: block;
            font-weight: 500;
        }

        .hero-copy {
            color: rgba(255,255,255,.75);
            max-width: 650px;
            margin: 20px 0 28px;
            font-size: 16px;
        }

        .searchbox {
            width: min(650px, 100%);
            height: 66px;
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 7px 8px 7px 14px;
            background: rgba(255,255,255,.97);
            border: 1px solid rgba(255,255,255,.4);
            border-radius: 19px;
            box-shadow: 0 20px 55px rgba(0,0,0,.22);
        }

        .searchbox svg { flex: 0 0 auto; color: #64709a; }

        .searchbox input {
            min-width: 0;
            flex: 1;
            border: 0;
            outline: 0;
            background: transparent;
            color: var(--ink);
            font-size: 14px;
        }

        .searchbox input::placeholder { color: #8991aa; }

        .search-submit {
            height: 50px;
            padding: 0 22px;
            border-radius: 14px;
            color: white;
            background: linear-gradient(135deg, var(--cyan), #2387cf);
            font-weight: 600;
            box-shadow: 0 9px 22px rgba(0,183,238,.25);
        }

        .quick-links {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 17px;
        }

        .quick-links a {
            color: rgba(255,255,255,.74);
            font-size: 12px;
            padding: 6px 11px;
            border: 1px solid rgba(255,255,255,.13);
            border-radius: 99px;
            transition: .25s;
        }

        .quick-links a:hover {
            color: white;
            border-color: rgba(117,221,247,.45);
            background: rgba(117,221,247,.08);
        }

        .hero-mark {
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
        }

        .hero-mark::before {
            content: "";
            position: absolute;
            width: 470px;
            height: 470px;
            border-radius: 50%;
            border: 1px solid rgba(255,255,255,.09);
            box-shadow:
                0 0 0 45px rgba(255,255,255,.025),
                0 0 0 90px rgba(255,255,255,.018);
        }

        .hero-logo {
            width: min(510px, 92%);
            position: relative;
            filter: drop-shadow(0 25px 30px rgba(0,0,0,.23));
            animation: float 6s ease-in-out infinite;
        }

        @keyframes float {
            0%,100% { transform: translateY(0); }
            50% { transform: translateY(-9px); }
        }

        .hero-bottom {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 80px;
            background: linear-gradient(to top, var(--paper), transparent);
        }

        /* ---------- generic sections ---------- */
        section { padding: 88px 0; }

        .section-head {
            display: flex;
            justify-content: space-between;
            align-items: end;
            gap: 25px;
            margin-bottom: 32px;
        }

        .section-kicker {
            color: var(--gold);
            font-size: 12px;
            font-weight: 700;
            letter-spacing: .4px;
            margin-bottom: 4px;
        }

        .section-title {
            font-size: clamp(25px, 3vw, 38px);
            line-height: 1.35;
            color: var(--navy);
            letter-spacing: -.7px;
        }

        .section-desc {
            color: var(--muted);
            font-size: 13px;
            max-width: 570px;
            margin-top: 6px;
        }

        .view-all {
            color: var(--royal);
            font-size: 13px;
            font-weight: 600;
            white-space: nowrap;
            display: inline-flex;
            align-items: center;
            gap: 7px;
        }

        .view-all:hover { color: var(--cyan); }

        /* ---------- stats ---------- */
        .stats {
            margin-top: -35px;
            position: relative;
            z-index: 10;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4,1fr);
            background: rgba(255,255,255,.93);
            border: 1px solid rgba(255,255,255,.8);
            box-shadow: var(--shadow);
            border-radius: 24px;
            overflow: hidden;
            backdrop-filter: blur(15px);
        }

        .stat {
            padding: 25px 26px;
            display: flex;
            align-items: center;
            gap: 15px;
            position: relative;
        }

        .stat:not(:last-child)::after {
            content: "";
            position: absolute;
            top: 25%;
            bottom: 25%;
            left: 0;
            width: 1px;
            background: var(--line);
        }

        .stat-icon {
            width: 49px;
            height: 49px;
            flex: 0 0 auto;
            display: grid;
            place-items: center;
            border-radius: 15px;
            background: #edf7fb;
            color: var(--blue);
        }

        .stat strong {
            display: block;
            color: var(--navy);
            font-size: 24px;
            line-height: 1.2;
        }

        .stat span {
            color: var(--muted);
            font-size: 11px;
        }

        /* ---------- topics ---------- */
        .topics-wrap { position: relative; }

        .topic-track {
            display: flex;
            gap: 16px;
            overflow-x: auto;
            padding: 5px 3px 20px;
            scrollbar-width: none;
            scroll-snap-type: x mandatory;
        }

        .topic-track::-webkit-scrollbar { display: none; }

        .topic-card {
            min-width: 185px;
            height: 215px;
            flex: 0 0 185px;
            scroll-snap-align: start;
            padding: 20px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            border: 1px solid var(--line);
            background: white;
            border-radius: 23px;
            transition: .3s ease;
            position: relative;
            overflow: hidden;
        }

        .topic-card::after {
            content: "";
            position: absolute;
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background: rgba(0,183,238,.07);
            left: -45px;
            bottom: -55px;
            transition: .35s;
        }

        .topic-card:hover {
            transform: translateY(-7px);
            border-color: rgba(0,183,238,.32);
            box-shadow: 0 20px 45px rgba(18,48,118,.12);
        }

        .topic-card:hover::after { transform: scale(1.5); }

        .topic-icon {
            width: 76px;
            height: 76px;
            display: grid;
            place-items: center;
            border-radius: 21px;
            color: var(--royal);
            background: linear-gradient(145deg, #f0f4ff, #e8faff);
        }

        .topic-icon svg { width: 48px; height: 48px; }

        .topic-title {
            font-weight: 700;
            color: var(--navy);
            font-size: 15px;
        }

        .topic-sub {
            font-size: 10px;
            color: var(--muted);
            margin-top: 2px;
        }

        .slider-controls {
            display: flex;
            gap: 8px;
        }

        .slide-btn {
            width: 40px;
            height: 40px;
            border-radius: 12px;
            background: white;
            border: 1px solid var(--line);
            color: var(--royal);
        }

        .slide-btn:hover {
            background: var(--royal);
            color: white;
        }

        /* ---------- featured entries ---------- */
        .entries {
            background:
                linear-gradient(180deg, rgba(23,40,121,.035), transparent),
                #fff;
        }

        .entry-grid {
            display: grid;
            grid-template-columns: 1.2fr .8fr .8fr;
            gap: 18px;
        }

        .entry-card {
            min-height: 310px;
            position: relative;
            padding: 26px;
            overflow: hidden;
            border-radius: var(--radius);
            background: linear-gradient(145deg, #18256f, #28469a);
            color: white;
            box-shadow: 0 16px 40px rgba(17,31,105,.13);
        }

        .entry-card::before {
            content: "";
            position: absolute;
            width: 260px;
            height: 260px;
            border-radius: 50%;
            border: 1px solid rgba(255,255,255,.09);
            left: -90px;
            bottom: -110px;
        }

        .entry-card:nth-child(2),
        .entry-card:nth-child(3) {
            background: white;
            color: var(--ink);
            border: 1px solid var(--line);
            box-shadow: none;
        }

        .entry-type {
            display: inline-block;
            padding: 5px 9px;
            border-radius: 8px;
            background: rgba(0,183,238,.12);
            color: var(--cyan);
            font-size: 10px;
            margin-bottom: 16px;
        }

        .entry-card:first-child .entry-type {
            background: rgba(255,255,255,.1);
            color: var(--gold-light);
        }

        .entry-card h3 {
            font-size: 21px;
            line-height: 1.6;
            margin-bottom: 10px;
        }

        .entry-card p {
            font-size: 12px;
            color: inherit;
            opacity: .68;
            max-width: 560px;
        }

        .entry-meta {
            position: absolute;
            right: 26px;
            left: 26px;
            bottom: 23px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            font-size: 10px;
            opacity: .75;
        }

        .entry-arrow {
            width: 35px;
            height: 35px;
            display: grid;
            place-items: center;
            border-radius: 11px;
            background: rgba(255,255,255,.1);
        }

        .entry-card:nth-child(2) .entry-arrow,
        .entry-card:nth-child(3) .entry-arrow {
            background: #eff4ff;
            color: var(--royal);
        }

        /* ---------- authors ---------- */
        .authors-grid {
            display: grid;
            grid-template-columns: repeat(4,1fr);
            gap: 16px;
        }

        .author-card {
            padding: 18px;
            background: white;
            border: 1px solid var(--line);
            border-radius: 22px;
            transition: .3s;
        }

        .author-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 17px 40px rgba(20,42,111,.09);
        }

        .author-photo {
            height: 185px;
            border-radius: 17px;
            overflow: hidden;
            background:
                radial-gradient(circle at 50% 20%, #d9e8f5 0 18%, transparent 19%),
                linear-gradient(135deg, #eaf1fb, #dbe6f7);
            position: relative;
        }

        .author-photo::after {
            content: "";
            position: absolute;
            width: 125px;
            height: 125px;
            border-radius: 50%;
            border: 1px solid rgba(23,40,121,.1);
            left: 50%;
            bottom: -65px;
            transform: translateX(-50%);
        }

        .author-info { padding: 15px 3px 2px; }

        .author-name {
            font-size: 14px;
            font-weight: 700;
            color: var(--navy);
        }

        .author-role {
            color: var(--muted);
            font-size: 10px;
            margin-top: 2px;
        }

        .author-count {
            margin-top: 12px;
            padding-top: 10px;
            border-top: 1px solid var(--line);
            font-size: 10px;
            color: var(--gold);
        }

        /* ---------- gallery ---------- */
        .gallery {
            background: var(--navy);
            color: white;
            position: relative;
            overflow: hidden;
        }

        .gallery::before {
            content: "";
            position: absolute;
            inset: 0;
            opacity: .11;
            background-image: url("../images/jeld");
            background-size: cover;
            background-position: center;
            mix-blend-mode: screen;
        }

        .gallery .section-title { color: white; }
        .gallery .section-desc { color: rgba(255,255,255,.6); }
        .gallery .section-kicker { color: var(--gold-light); }
        .gallery .view-all { color: var(--cyan-soft); }

        .gallery-grid {
            position: relative;
            display: grid;
            grid-template-columns: 1.25fr .75fr .75fr;
            grid-template-rows: 190px 190px;
            gap: 12px;
        }

        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 19px;
            background: linear-gradient(135deg, #294a9b, #152063);
            border: 1px solid rgba(255,255,255,.08);
        }

        .gallery-item:first-child { grid-row: 1 / 3; }

        .gallery-item::before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                linear-gradient(135deg, rgba(0,183,238,.32), transparent 50%),
                url("../images/jeld") center / cover;
            opacity: .65;
            transition: .5s;
        }

        .gallery-item:hover::before { transform: scale(1.07); opacity: .9; }

        .gallery-label {
            position: absolute;
            right: 16px;
            bottom: 14px;
            left: 16px;
            z-index: 2;
            font-size: 12px;
            font-weight: 600;
            text-shadow: 0 2px 12px rgba(0,0,0,.45);
        }

        /* ---------- news ---------- */
        .news-grid {
            display: grid;
            grid-template-columns: 1.05fr .95fr;
            gap: 25px;
        }

        .news-feature {
            min-height: 390px;
            border-radius: 25px;
            padding: 30px;
            display: flex;
            flex-direction: column;
            justify-content: end;
            overflow: hidden;
            position: relative;
            color: white;
            background:
                linear-gradient(to top, rgba(10,19,76,.95), rgba(10,19,76,.05)),
                url("../images/jeld.jpg") center / cover;
        }

        .news-feature .entry-type { color: var(--gold-light); background: rgba(255,255,255,.1); }

        .news-feature h3 {
            font-size: 23px;
            max-width: 650px;
            line-height: 1.6;
        }

        .news-list {
            display: grid;
            gap: 11px;
        }

        .news-item {
            background: white;
            border: 1px solid var(--line);
            border-radius: 19px;
            padding: 16px 18px;
            display: grid;
            grid-template-columns: 82px 1fr;
            gap: 15px;
            align-items: center;
            transition: .25s;
        }

        .news-item:hover {
            transform: translateX(-5px);
            border-color: rgba(0,183,238,.3);
        }

        .news-date {
            height: 62px;
            display: grid;
            place-items: center;
            border-radius: 14px;
            background: #f1f5ff;
            color: var(--royal);
            font-size: 10px;
            text-align: center;
        }

        .news-date strong {
            display: block;
            font-size: 20px;
            line-height: 1.1;
        }

        .news-item h4 {
            font-size: 12px;
            line-height: 1.8;
            color: var(--navy);
        }

        .news-item p {
            color: var(--muted);
            font-size: 9px;
            margin-top: 3px;
        }

        /* ---------- indexes ---------- */
        .indexes {
            padding-top: 30px;
        }

        .index-grid {
            display: grid;
            grid-template-columns: repeat(4,1fr);
            gap: 13px;
        }

        .index-box {
            background: white;
            border: 1px solid var(--line);
            border-radius: 19px;
            padding: 21px;
            display: flex;
            align-items: center;
            gap: 13px;
            transition: .25s;
        }

        .index-box:hover {
            border-color: rgba(0,183,238,.35);
            transform: translateY(-3px);
        }

        .index-box svg {
            color: var(--cyan);
            flex: 0 0 auto;
        }

        .index-box strong {
            display: block;
            color: var(--navy);
            font-size: 13px;
        }

        .index-box span {
            color: var(--muted);
            font-size: 9px;
        }

        /* ---------- CTA ---------- */
        .cta {
            padding: 30px 0 90px;
        }

        .cta-box {
            min-height: 220px;
            border-radius: 30px;
            padding: 42px 48px;
            color: white;
            background:
                radial-gradient(circle at 85% 30%, rgba(0,183,238,.24), transparent 28%),
                linear-gradient(135deg, #121d69, #274a9a);
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 30px;
        }

        .cta-box::after {
            content: "✦";
            position: absolute;
            left: 45px;
            bottom: -30px;
            font-size: 160px;
            color: rgba(255,255,255,.04);
        }

        .cta-box h2 {
            font-size: clamp(24px,3vw,35px);
            line-height: 1.45;
        }

        .cta-box p {
            color: rgba(255,255,255,.65);
            font-size: 12px;
            margin-top: 5px;
        }

        .cta-btn {
            flex: 0 0 auto;
            background: var(--gold);
            color: white;
            padding: 13px 22px;
            border-radius: 14px;
            font-size: 12px;
            font-weight: 700;
            box-shadow: 0 10px 25px rgba(198,154,69,.22);
        }

        .cta-btn:hover { background: #d4ab58; }

        /* ---------- footer ---------- */
        footer {
            background: #0d134c;
            color: white;
            padding: 55px 0 25px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.25fr .75fr .75fr .9fr;
            gap: 45px;
            padding-bottom: 35px;
            border-bottom: 1px solid rgba(255,255,255,.08);
        }

        .footer-logo { width: 190px; margin-bottom: 16px; }

        .footer-about {
            color: rgba(255,255,255,.55);
            font-size: 11px;
            max-width: 400px;
        }

        .footer-title {
            color: var(--gold-light);
            font-size: 12px;
            margin-bottom: 13px;
        }

        .footer-links {
            list-style: none;
            display: grid;
            gap: 7px;
        }

        .footer-links a {
            color: rgba(255,255,255,.58);
            font-size: 11px;
        }

        .footer-links a:hover { color: var(--cyan-soft); }

        .footer-bottom {
            padding-top: 20px;
            color: rgba(255,255,255,.35);
            font-size: 9px;
            display: flex;
            justify-content: space-between;
            gap: 20px;
        }

        /* ---------- reveal animation ---------- */
        .reveal {
            opacity: 0;
            transform: translateY(24px);
            transition: .75s ease;
        }

        .reveal.visible {
            opacity: 1;
            transform: none;
        }

        /* ---------- modal search ---------- */
        .search-modal {
            position: fixed;
            inset: 0;
            z-index: 2000;
            background: rgba(8,13,57,.74);
            backdrop-filter: blur(14px);
            display: none;
            place-items: center;
            padding: 20px;
        }

        .search-modal.open { display: grid; }

        .modal-box {
            width: min(720px, 100%);
            background: white;
            border-radius: 25px;
            padding: 26px;
            box-shadow: 0 30px 90px rgba(0,0,0,.28);
        }

        .modal-head {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 18px;
        }

        .modal-head h3 { color: var(--navy); font-size: 20px; }

        .close-modal {
            width: 38px;
            height: 38px;
            border-radius: 11px;
            background: #f2f4fa;
            color: var(--navy);
        }

        .modal-search {
            display: flex;
            gap: 9px;
            background: #f4f6fb;
            padding: 7px;
            border-radius: 15px;
        }

        .modal-search input {
            flex: 1;
            border: 0;
            outline: 0;
            background: transparent;
            padding: 0 10px;
        }

        .modal-search button {
            background: var(--royal);
            color: white;
            border-radius: 11px;
            padding: 0 20px;
        }

        .mobile-menu {
            position: fixed;
            inset: 0;
            z-index: 1500;
            background: rgba(10,17,74,.98);
            display: none;
            padding: 100px 30px 30px;
        }

        .mobile-menu.open { display: block; }

        .mobile-menu a {
            display: block;
            color: white;
            font-size: 19px;
            padding: 13px 0;
            border-bottom: 1px solid rgba(255,255,255,.08);
        }

        /* ---------- responsive ---------- */
        @media (max-width: 1050px) {
            .hero-content { grid-template-columns: 1fr; text-align: center; }
            .hero-copy, .searchbox { margin-inline: auto; }
            .hero-mark { order: -1; margin-top: 30px; }
            .hero-mark .hero-logo { width: 350px; }
            .hero-mark::before { width: 330px; height: 330px; }
            .entry-grid { grid-template-columns: 1fr 1fr; }
            .entry-card:first-child { grid-column: 1 / -1; }
            .authors-grid { grid-template-columns: repeat(2,1fr); }
            .news-grid { grid-template-columns: 1fr; }
            .index-grid { grid-template-columns: repeat(2,1fr); }
            .footer-grid { grid-template-columns: 1fr 1fr; }
        }

        @media (max-width: 760px) {
            .container { width: min(var(--container), calc(100% - 26px)); }
            .topbar { padding: 11px 0; }
            .navlinks { display: none; }
            .hamburger { display: grid; }
            .brand { width: 125px; }
            .hero, .hero-content { min-height: 700px; }
            .hero-content { gap: 35px; padding-top: 80px; }
            .hero h1 { font-size: 36px; }
            .hero-copy { font-size: 13px; }
            .searchbox { height: 58px; }
            .search-submit { height: 44px; padding: 0 14px; font-size: 11px; }
            .stats-grid { grid-template-columns: 1fr 1fr; }
            .stat { padding: 18px 15px; }
            .stat:nth-child(2)::after { display: none; }
            .stat strong { font-size: 19px; }
            .stat-icon { width: 40px; height: 40px; }
            section { padding: 65px 0; }
            .section-head { align-items: start; }
            .slider-controls { display: none; }
            .entry-grid { grid-template-columns: 1fr; }
            .entry-card:first-child { grid-column: auto; }
            .authors-grid { grid-template-columns: 1fr 1fr; }
            .author-photo { height: 150px; }
            .gallery-grid {
                grid-template-columns: 1fr 1fr;
                grid-template-rows: 180px 140px 140px;
            }
            .gallery-item:first-child { grid-column: 1 / -1; grid-row: auto; }
            .cta-box { padding: 32px 25px; flex-direction: column; align-items: start; }
            .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
            .footer-bottom { flex-direction: column; }
        }

        @media (max-width: 470px) {
            .header-actions .search-trigger { display: none; }
            .stats-grid { grid-template-columns: 1fr 1fr; }
            .stat { gap: 8px; }
            .stat span { font-size: 9px; }
            .authors-grid { grid-template-columns: 1fr; }
            .author-photo { height: 220px; }
            .index-grid { grid-template-columns: 1fr; }
            .news-item { grid-template-columns: 65px 1fr; }
            .news-date { height: 55px; }
            .hero-mark .hero-logo { width: 280px; }
        }