:root {
    --earth-900: #2f2116;
    --earth-700: #6f4a2d;
    --earth-500: #a16f42;
    --soil-light: #d7b98a;
    --grass-700: #2d6f3a;
    --grass-500: #68a447;
    --sky-700: #2e6f95;
    --sky-300: #b9deec;
    --cloud: #f5fbf8;
    --cream: #f8f4e8;
    --ink: #203027;
    --muted: #637268;
    --line: rgba(47, 33, 22, 0.14);
    --shadow: 0 18px 50px rgba(47, 33, 22, 0.16);
    --surface: rgba(255, 255, 255, 0.82);
    --surface-strong: #ffffff;
    --page-width: 1300px;
    --page-gutter: 32px;
    --section-space: 28px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 8%, rgba(185, 222, 236, 0.72), transparent 28%),
        radial-gradient(circle at 88% 16%, rgba(104, 164, 71, 0.18), transparent 30%),
        linear-gradient(180deg, #f7fbf6 0%, #fff8ec 54%, #f4fbfd 100%);
    line-height: 1.6;
}

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

.site-header {
    position: sticky;
    top: 14px;
    z-index: 10;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    width: min(var(--page-width), calc(100% - var(--page-gutter)));
    margin: 14px auto 0;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(47, 33, 22, 0.12);
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(47, 33, 22, 0.12);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: auto;
    min-height: 0;
    font-weight: 800;
    color: var(--earth-900);
    text-align: left;
    flex: 0 1 360px;
}

.brand span {
    line-height: 1.15;
    overflow-wrap: anywhere;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(1rem, 2vw, 1.32rem);
}

.brand-logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(104, 164, 71, 0.42);
    box-shadow: 0 8px 18px rgba(47, 33, 22, 0.16);
    order: 0;
    flex: 0 0 auto;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
    width: auto;
    padding: 0;
    background: transparent;
}

.nav a,
.nav-group > a {
    padding: 10px 13px;
    border-radius: 999px;
    color: var(--earth-900);
    font-size: 0.9rem;
    font-weight: 800;
    border: 1px solid transparent;
}

.nav a:hover,
.nav a:focus-visible,
.nav-group:hover > a,
.nav-group:focus-within > a {
    color: var(--grass-700);
    background: rgba(104, 164, 71, 0.12);
    border-color: rgba(104, 164, 71, 0.28);
    outline: none;
}

.main-nav {
    align-items: center;
}

.nav-group {
    position: relative;
}

.nav-group::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
    display: none;
}

.nav-group > a {
    display: inline-flex;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 20;
    display: none;
    width: 260px;
    padding: 10px;
    border: 1px solid rgba(45, 111, 58, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 36px rgba(47, 33, 22, 0.12);
    backdrop-filter: blur(14px);
}

.dropdown a {
    display: block;
    padding: 10px 12px;
    color: var(--earth-900);
    border-radius: 12px;
}

.nav-group:hover .dropdown,
.nav-group:focus-within .dropdown,
.nav-group:hover::after,
.nav-group:focus-within::after {
    display: block;
}

.slider {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    background: white;
    border: 1px solid rgba(47, 33, 22, 0.08);
    border-radius: 8px;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: sliderFade 18s infinite;
}

.slide-two {
    animation-delay: 6s;
}

.slide-three {
    animation-delay: 12s;
}

.slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(25, 20, 14, 0.78), rgba(25, 20, 14, 0.42) 48%, rgba(25, 20, 14, 0.14)),
        linear-gradient(0deg, rgba(47, 33, 22, 0.36), rgba(47, 33, 22, 0));
}

.slide-copy {
    position: relative;
    z-index: 1;
    width: min(640px, calc(100% - 36px));
    margin-left: clamp(18px, 5vw, 52px);
    padding-top: 62px;
    color: white;
}

.slide-copy h1 {
    color: white;
}

.slide-copy p:not(.eyebrow) {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.02rem;
}

@keyframes sliderFade {
    0%,
    28% {
        opacity: 1;
    }

    34%,
    100% {
        opacity: 0;
    }
}

.hero {
    position: relative;
    min-height: min(720px, 88vh);
    display: grid;
    align-items: center;
    overflow: hidden;
    background: var(--earth-900);
}

.hero-image,
.hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    object-fit: cover;
}

.hero-shade {
    background:
        linear-gradient(90deg, rgba(25, 20, 14, 0.78), rgba(25, 20, 14, 0.44) 44%, rgba(25, 20, 14, 0.12)),
        linear-gradient(0deg, rgba(47, 33, 22, 0.36), rgba(47, 33, 22, 0));
}

.hero-content {
    position: relative;
    width: min(760px, calc(100% - 36px));
    margin-left: clamp(18px, 6vw, 76px);
    padding: 64px 0;
    color: white;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--grass-500);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #bfe986;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.08;
}

h2 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    line-height: 1.08;
    color: var(--earth-900);
}

h3 {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.25;
}

.hero-copy {
    max-width: 600px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.16rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 18px;
    border-radius: 8px;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.36);
}

.button.primary {
    color: var(--earth-900);
    background: #c9ea7a;
    border-color: transparent;
}

.button.secondary {
    color: white;
    background: rgba(255, 255, 255, 0.13);
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
    outline: 2px solid rgba(185, 222, 236, 0.7);
    outline-offset: 3px;
}

.page-hero {
    width: min(var(--page-width), calc(100% - var(--page-gutter)));
    margin: var(--section-space) auto 0;
    padding: 48px clamp(18px, 5vw, 72px);
    background:
        linear-gradient(90deg, rgba(47, 33, 22, 0.88), rgba(47, 33, 22, 0.58)),
        url("soil-hero.png") center / cover;
    color: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 46px rgba(47, 33, 22, 0.1);
}

.forum-hero {
    position: relative;
    aspect-ratio: 1774 / 887;
    min-height: 0;
    padding: 0;
    display: block;
    background: #0d2e21 url("yubiley-qurultayi-80.jpg") center / contain no-repeat;
}

.forum-hero > .eyebrow,
.forum-hero > h1,
.forum-hero > p {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.forum-countdown {
    position: absolute;
    top: clamp(14px, 2.6vw, 34px);
    right: clamp(14px, 2.6vw, 34px);
    display: grid;
    grid-template-columns: repeat(4, minmax(58px, 1fr));
    gap: clamp(8px, 1vw, 14px);
    padding: clamp(8px, 1.2vw, 14px);
    border: 1px solid rgba(238, 214, 145, 0.62);
    border-radius: 999px;
    background: rgba(18, 41, 30, 0.82);
    box-shadow: 0 14px 32px rgba(15, 35, 24, 0.24);
    backdrop-filter: blur(8px);
}

.countdown-item {
    display: grid;
    place-items: center;
    width: clamp(58px, 6.2vw, 78px);
    aspect-ratio: 1;
    border: 2px solid rgba(238, 214, 145, 0.86);
    border-radius: 50%;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 68%),
        rgba(47, 33, 22, 0.62);
    color: #fff7df;
}

.countdown-item strong {
    display: block;
    color: #eed691;
    font-size: clamp(1.12rem, 2vw, 1.62rem);
    line-height: 1;
}

.countdown-item span {
    display: block;
    color: rgba(255, 247, 223, 0.9);
    font-size: clamp(0.58rem, 0.8vw, 0.72rem);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.page-hero h1,
.page-hero p {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.page-hero .eyebrow {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    color: #c9ea7a;
}

.page-hero h1 {
    color: white;
    font-size: clamp(2.05rem, 5vw, 3.2rem);
}

.page-hero p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.14rem;
}

.visual-only-hero > .eyebrow,
.visual-only-hero > h1,
.visual-only-hero > p {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.intro-band,
.news-band,
.timeline-band,
.split-section,
.soil-profile,
.contact-band,
.section-grid-band,
.content-band {
    width: min(var(--page-width), calc(100% - var(--page-gutter)));
    margin: var(--section-space) auto;
    padding: clamp(36px, 6vw, 64px) clamp(18px, 5vw, 72px);
    border-radius: 24px;
    overflow: hidden;
}

.home-layout {
    width: min(var(--page-width), calc(100% - var(--page-gutter)));
    margin: 30px auto 64px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

.side-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(47, 33, 22, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.64);
    box-shadow: 0 14px 34px rgba(47, 33, 22, 0.08);
}

.side-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 15px;
    border: 1px solid rgba(46, 111, 149, 0.2);
    border-radius: 999px;
    color: var(--sky-700);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: none;
    font-size: 0.95rem;
    font-weight: 800;
}

.side-menu a:hover,
.side-menu a:focus-visible {
    color: white;
    background: var(--sky-700);
    outline: none;
}

.home-content {
    display: grid;
    gap: 22px;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

.feature-panel,
.journal-panel,
.media-panel {
    border: 1px solid rgba(47, 33, 22, 0.1);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: 0 20px 46px rgba(47, 33, 22, 0.1);
    overflow: hidden;
}

.feature-panel {
    min-height: 320px;
    padding: clamp(28px, 4vw, 52px);
    background:
        linear-gradient(110deg, rgba(47, 33, 22, 0.88), rgba(47, 33, 22, 0.54)),
        url("soil-hero.png") center / cover;
    color: white;
}

.news-slider {
    position: relative;
    min-height: 400px;
    padding: 0;
    isolation: isolate;
}

.news-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(100deg, rgba(24, 19, 13, 0.92), rgba(24, 19, 13, 0.58) 46%, rgba(24, 19, 13, 0.16)),
        url("soil-hero.png") center / cover;
}

.news-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 760px;
    padding: clamp(28px, 5vw, 58px);
    opacity: 0;
    transform: translateX(28px);
    pointer-events: none;
    transition: opacity 700ms ease, transform 700ms ease;
}

.news-slide.is-active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.news-slide h1 {
    color: white;
    font-size: clamp(2.1rem, 5vw, 4rem);
}

.news-slide .text-link {
    width: max-content;
    color: var(--sky-300);
    border-bottom-color: rgba(185, 222, 236, 0.6);
}

.slider-dots {
    position: absolute;
    left: clamp(28px, 5vw, 58px);
    bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: calc(100% - 56px);
}

.slider-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.34);
    cursor: pointer;
}

.slider-dots button.is-active,
.slider-dots button:hover,
.slider-dots button:focus-visible {
    background: var(--sky-300);
    border-color: var(--sky-300);
    outline: none;
}

.feature-panel h2,
.journal-panel h2,
.media-panel h2 {
    font-size: 1.55rem;
}

.feature-panel p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.88);
}

.journal-panel {
    padding: 24px;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(185, 222, 236, 0.36), rgba(255, 255, 255, 0.9)),
        var(--surface-strong);
}

.journal-panel img {
    width: min(138px, 100%);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-top: 18px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.86);
    box-shadow: 0 16px 28px rgba(47, 33, 22, 0.16);
}

.media-panel {
    display: grid;
    grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
    gap: 24px;
    padding: 18px;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 248, 236, 0.92), rgba(245, 251, 248, 0.94));
}

.media-panel img {
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 16px 32px rgba(47, 33, 22, 0.12);
}

.media-countdown-frame {
    position: relative;
}

.media-countdown-frame img {
    display: block;
}

.media-countdown {
    top: clamp(6px, 1.1vw, 10px);
    right: clamp(6px, 1.1vw, 10px);
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(18, 41, 30, 0.76);
}

.media-countdown .countdown-item {
    width: clamp(34px, 4vw, 46px);
    border-width: 1px;
}

.media-countdown .countdown-item strong {
    font-size: clamp(0.78rem, 1.35vw, 1rem);
}

.media-countdown .countdown-item span {
    font-size: clamp(0.42rem, 0.7vw, 0.52rem);
}

.intro-band {
    background: var(--cream);
}

.news-band {
    background: linear-gradient(180deg, #eef7ee, var(--cloud));
}

.section-grid-band {
    background: var(--cloud);
}

.content-band {
    background: linear-gradient(180deg, var(--cream), var(--cloud));
}

.text-link {
    display: inline-flex;
    margin-top: 16px;
    color: var(--sky-700);
    font-weight: 800;
    border-bottom: 2px solid rgba(46, 111, 149, 0.28);
}

.content-list {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.content-list.single-column {
    grid-template-columns: 1fr;
}

.content-card {
    min-height: 210px;
    padding: 26px;
    border: 1px solid rgba(47, 33, 22, 0.1);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62)),
        var(--cloud);
    box-shadow: 0 18px 40px rgba(47, 33, 22, 0.08);
}

.document-card {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.content-card p {
    color: var(--muted);
}

.official-links-band {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0;
}

.official-link-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(8px, 0.95vw, 14px);
}

.official-link-card {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 68px;
    padding: 7px 9px;
    border: 1px solid rgba(47, 33, 22, 0.08);
    border-radius: 2px;
    color: var(--ink);
    text-decoration: none;
    background: #fff;
    box-shadow: 0 6px 16px rgba(47, 33, 22, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.official-link-card:hover,
.official-link-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(46, 111, 149, 0.32);
    box-shadow: 0 16px 30px rgba(47, 33, 22, 0.1);
}

.official-link-card img {
    width: 54px;
    height: 50px;
    object-fit: contain;
    object-position: center top;
}

.official-link-card span {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(0.82rem, 0.82vw, 1rem);
    line-height: 1.15;
    font-weight: 600;
    color: var(--soil-900);
}

.member-section-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.member-card {
    display: grid;
    gap: 14px;
    padding: 14px;
    border: 1px solid rgba(47, 33, 22, 0.1);
    border-radius: 18px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.82);
    text-align: center;
    text-decoration: none;
    box-shadow: 0 18px 40px rgba(47, 33, 22, 0.08);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.member-card:hover,
.member-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 22px 48px rgba(47, 33, 22, 0.14);
    outline: 2px solid rgba(185, 222, 236, 0.75);
    outline-offset: 3px;
}

.member-card img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top center;
    border-radius: 12px;
}

.member-card span {
    font-size: 1.08rem;
    font-weight: 800;
}

.member-card-scholar {
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(46, 111, 149, 0.18);
    border-radius: 12px;
    color: var(--soil-900);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(245, 251, 248, 0.72));
}

.member-card-scholar strong {
    color: var(--sky-700);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.member-card-scholar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.member-card-scholar-grid span {
    display: grid;
    gap: 3px;
    min-width: 0;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted);
}

.member-card-scholar-grid b {
    color: var(--soil-900);
    font-size: 1rem;
    line-height: 1;
}

.member-card-scholar-note {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
}

.member-profile-band {
    width: min(var(--page-width), calc(100% - var(--page-gutter)));
    margin: var(--section-space) auto;
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1fr);
    gap: 28px;
    align-items: start;
}

.member-profile-main,
.scholar-panel {
    border: 1px solid rgba(47, 33, 22, 0.1);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.66)),
        var(--cloud);
    box-shadow: 0 18px 40px rgba(47, 33, 22, 0.08);
    overflow: hidden;
}

.member-profile-main img {
    display: block;
    width: min(92%, 420px);
    max-height: 540px;
    margin: clamp(16px, 2vw, 24px) auto 0;
    object-fit: contain;
    background: rgba(255, 248, 236, 0.82);
}

.member-profile-photo {
    width: min(92%, 420px);
    border-radius: 14px;
}

.member-profile-photo-compact {
    width: min(78%, 260px);
}

.member-bio,
.scholar-panel {
    padding: clamp(22px, 3vw, 34px);
}

.member-bio p,
.scholar-crop p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.member-detail-simple {
    display: grid;
    justify-items: center;
    gap: 28px;
}

.member-detail-photo {
    display: block;
    width: min(520px, 100%);
    height: auto;
    border: 1px solid rgba(47, 33, 22, 0.14);
    border-radius: 12px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 42px rgba(47, 33, 22, 0.14);
}

.member-detail-bio {
    width: min(860px, 100%);
    text-align: center;
}

.member-detail-bio h1 {
    margin-bottom: 10px;
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.member-detail-bio h2 {
    margin-bottom: 14px;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.member-detail-bio p {
    margin: 0;
    color: var(--muted);
    font-size: clamp(1.02rem, 1.4vw, 1.18rem);
    line-height: 1.75;
}

.scholar-panel {
    position: sticky;
    top: 18px;
}

.scholar-crop {
    min-height: 210px;
    display: grid;
    align-items: center;
    margin: 18px 0;
    padding: 22px;
    border: 1px dashed rgba(46, 111, 149, 0.34);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 251, 248, 0.78));
}

.scholar-stats-card {
    width: min(100%, 340px);
    margin: 0 auto;
    padding: 18px 18px 14px;
    border: 1px solid rgba(47, 33, 22, 0.08);
    border-radius: 10px;
    color: var(--soil-900);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 30px rgba(47, 33, 22, 0.08);
}

.scholar-stats-head,
.scholar-stats-columns,
.scholar-stat-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 70px 78px;
    align-items: center;
    gap: 8px;
}

.scholar-stats-head {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(47, 33, 22, 0.12);
}

.scholar-stats-head strong {
    font-size: 1rem;
}

.scholar-stats-head a {
    grid-column: 2 / 4;
    justify-self: end;
    color: var(--sky-700);
    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: none;
}

.scholar-stats-columns {
    color: var(--soil-900);
    font-size: 0.78rem;
    text-align: right;
}

.scholar-stat-row {
    padding: 3px 0;
    color: var(--soil-900);
    font-size: 0.88rem;
}

.scholar-stat-row span {
    color: var(--muted);
    line-height: 1.25;
}

.scholar-stat-row strong {
    text-align: right;
    font-size: 0.9rem;
}

.scholar-chart {
    position: relative;
    min-height: 150px;
    margin-top: 22px;
    padding: 0 30px 22px 0;
    border-top: 1px solid rgba(47, 33, 22, 0.08);
    background:
        linear-gradient(to bottom, transparent 0 49%, rgba(47, 33, 22, 0.08) 50%, transparent 51%),
        linear-gradient(to bottom, transparent 0 98%, rgba(47, 33, 22, 0.12) 99%, transparent 100%);
}

.scholar-bars {
    position: absolute;
    inset: 12px 34px 20px 0;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    align-items: end;
    gap: 8px;
}

.scholar-bars span {
    position: relative;
    display: block;
    height: var(--bar);
    min-height: 8px;
    background: linear-gradient(180deg, rgba(37, 104, 72, 0.76), rgba(47, 33, 22, 0.58));
    border-radius: 2px 2px 0 0;
    cursor: pointer;
}

.scholar-bars span::before {
    content: attr(data-value);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    min-width: 26px;
    padding: 4px 7px;
    border: 1px solid rgba(47, 33, 22, 0.12);
    border-radius: 999px;
    color: var(--soil-900);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 18px rgba(47, 33, 22, 0.12);
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    transform: translateX(-50%) translateY(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 2;
}

.scholar-bars span:hover::before,
.scholar-bars span:focus-visible::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.scholar-bars span:hover,
.scholar-bars span:focus-visible {
    background: linear-gradient(180deg, rgba(46, 111, 149, 0.82), rgba(37, 104, 72, 0.72));
    outline: none;
}

.scholar-bars span::after {
    content: attr(data-year);
    position: absolute;
    left: 50%;
    top: calc(100% + 4px);
    transform: translateX(-50%);
    color: var(--muted);
    font-size: 0.68rem;
    white-space: nowrap;
}

.chart-axis {
    position: absolute;
    right: 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.chart-axis.top {
    top: 6px;
}

.chart-axis.middle {
    top: 50%;
    transform: translateY(-50%);
}

.chart-axis.bottom {
    bottom: 14px;
}

.announcement-card {
    min-height: 0;
}

.announcement-card summary {
    display: grid;
    gap: 18px;
    list-style: none;
    cursor: pointer;
}

.announcement-card summary::-webkit-details-marker {
    display: none;
}

.announcement-card summary::after {
    content: "Ətraflı";
    justify-self: start;
    padding: 9px 18px;
    border: 1px solid rgba(37, 104, 72, 0.22);
    border-radius: 999px;
    color: var(--leaf);
    background: rgba(201, 234, 122, 0.18);
    font-weight: 800;
}

.announcement-card[open] summary::after {
    content: "Bağla";
}

.announcement-title {
    display: block;
    color: var(--ink);
    font-size: clamp(1.12rem, 2vw, 1.45rem);
    font-weight: 800;
    line-height: 1.22;
}

.announcement-detail {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(47, 33, 22, 0.12);
}

.announcement-detail h3 {
    margin-top: 24px;
    margin-bottom: 10px;
    font-size: 1.14rem;
}

.announcement-detail p,
.announcement-detail li {
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.75;
}

.announcement-detail ul {
    margin: 0;
    padding-left: 22px;
}

.congress-heading {
    text-align: center;
}

.event-photo-band {
    padding: 0;
    overflow: hidden;
}

.event-photo-band img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.congress-materials {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    align-items: stretch;
}

.material-card {
    position: relative;
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 12px;
    padding: 18px 14px 20px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
    transition: transform 180ms ease;
}

.material-card:hover,
.material-card:focus-visible {
    transform: translateY(-4px);
    outline: none;
}

.material-number {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: white;
    background: var(--grass-700);
    font-weight: 800;
}

.material-card h2 {
    font-size: 1.1rem;
    line-height: 1.25;
}

.material-cover {
    width: min(260px, 100%);
    aspect-ratio: 3 / 4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(47, 33, 22, 0.16);
    border-radius: 6px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 244, 232, 0.92)),
        linear-gradient(135deg, rgba(185, 222, 236, 0.48), rgba(215, 185, 138, 0.36));
    color: var(--earth-900);
    box-shadow: 0 18px 32px rgba(47, 33, 22, 0.16);
}

.material-image {
    width: min(260px, 100%);
    aspect-ratio: 3 / 4;
    object-fit: contain;
    object-position: top center;
    border: 1px solid rgba(47, 33, 22, 0.16);
    border-radius: 6px;
    box-shadow: 0 18px 32px rgba(47, 33, 22, 0.16);
    background: white;
}

.material-cover span {
    padding: 7px 8px;
    color: white;
    background: var(--sky-700);
    font-size: 0.78rem;
    font-weight: 800;
}

.material-cover strong {
    font-size: 1.35rem;
    line-height: 1.18;
}

.material-cover small {
    align-self: center;
    min-width: 52px;
    padding: 6px 10px;
    border-radius: 999px;
    color: white;
    background: var(--grass-700);
    font-weight: 800;
}

.abstract-cover {
    background:
        radial-gradient(circle at 50% 34%, rgba(104, 164, 71, 0.24) 0 58px, transparent 60px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 244, 232, 0.94));
}

.proceedings-cover {
    background:
        radial-gradient(circle at 50% 34%, rgba(46, 111, 149, 0.22) 0 58px, transparent 60px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 251, 248, 0.94));
}

.photos-cover {
    aspect-ratio: 4 / 3;
    aspect-ratio: 3 / 4;
    margin-top: 0;
    background:
        linear-gradient(180deg, rgba(46, 111, 149, 0.9), rgba(46, 111, 149, 0.38) 28%, rgba(255, 255, 255, 0.94) 29%),
        linear-gradient(135deg, rgba(215, 185, 138, 0.42), rgba(245, 251, 248, 0.98));
}

.leadership-gallery {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.leadership-card {
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 28px rgba(47, 33, 22, 0.08);
}

.leadership-card img {
    display: block;
    width: 100%;
    height: 476px;
    object-fit: cover;
    object-position: top center;
}

.news-list {
    width: 100%;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.news-item,
.contact-card,
.contact-form {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 28px rgba(47, 33, 22, 0.08);
}

.news-item {
    padding: 24px;
}

.news-item > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.news-item time {
    color: var(--muted);
    font-weight: 700;
}

.news-item h2 {
    font-size: 1.55rem;
}

.news-item p {
    margin: 10px 0 0;
    color: var(--muted);
}

.contact-band {
    background: linear-gradient(180deg, var(--cream), var(--cloud));
}

.contact-grid {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
    gap: 18px;
    align-items: start;
}

.subnav {
    width: 100%;
    margin: 0 auto 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.subnav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--earth-900);
    background: rgba(255, 255, 255, 0.76);
    font-weight: 800;
}

.subnav a.active,
.subnav a:hover,
.subnav a:focus-visible {
    color: white;
    background: var(--sky-700);
    outline: none;
}

.contact-card,
.contact-form {
    padding: 26px;
}

.contact-card p {
    color: var(--muted);
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: var(--earth-900);
    font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 13px;
    color: var(--ink);
    background: white;
    font: inherit;
}

.contact-form .checkbox-field {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.contact-form .checkbox-field input {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--grass-700);
}

.phone-field {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 8px;
}

.phone-field select {
    padding-left: 10px;
    padding-right: 8px;
    text-align: center;
}

.password-field {
    position: relative;
    display: block;
}

.password-field input {
    padding-right: 46px;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    color: var(--earth-700);
    background: transparent;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transform: translateY(-50%);
}

.password-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.password-toggle.is-visible {
    color: var(--leaf);
    background: rgba(201, 234, 122, 0.2);
}

.password-toggle:hover,
.password-toggle:focus-visible {
    color: var(--leaf);
    outline: 2px solid rgba(185, 222, 236, 0.72);
    outline-offset: 2px;
}

.contact-form select {
    min-height: 48px;
}

.form-error {
    display: none;
    color: #9b2d20;
    font-size: 0.9rem;
    font-weight: 800;
}

.show-error .form-error {
    display: inline;
}

.show-error select {
    border-color: #9b2d20;
}

.form-status {
    min-height: 24px;
    margin: 0;
    font-weight: 800;
}

.form-status.error {
    color: #9b2d20;
    background: #fff2ef;
    border: 1px solid #9b2d20;
    border-radius: 8px;
    padding: 10px 12px;
}

.form-status.success {
    color: var(--grass-700);
    background: #eef8ed;
    border: 1px solid var(--grass-700);
    border-radius: 8px;
    padding: 10px 12px;
}

.admin-actions {
    margin-bottom: 20px;
}

.admin-registration-list {
    display: grid;
    gap: 16px;
}

.admin-registration-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 22px;
    border: 1px solid rgba(47, 33, 22, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 40px rgba(47, 33, 22, 0.08);
}

.admin-registration-card h2 {
    margin-bottom: 10px;
    font-size: 1.35rem;
}

.admin-registration-card p,
.empty-state {
    margin: 6px 0;
    color: var(--muted);
}

.admin-card-actions {
    display: flex;
    justify-content: flex-end;
}

.partners-band {
    background: linear-gradient(180deg, rgba(255, 248, 236, 0.88), rgba(245, 251, 248, 0.94));
}

.partner-logo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.partner-logo-card {
    display: grid;
    place-items: center;
    min-height: 190px;
    padding: 26px;
    border: 1px solid rgba(47, 33, 22, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 40px rgba(47, 33, 22, 0.08);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.partner-logo-card:hover,
.partner-logo-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 22px 48px rgba(47, 33, 22, 0.14);
    outline: 2px solid rgba(185, 222, 236, 0.75);
    outline-offset: 3px;
}

.partner-logo-card img {
    display: block;
    max-width: 100%;
    max-height: 128px;
    object-fit: contain;
}

.partner-admin-link {
    margin: 24px 0 0;
}

.admin-partner-list {
    display: grid;
    gap: 12px;
}

.admin-partner-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(47, 33, 22, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.76);
}

.admin-partner-card img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.admin-partner-card h3 {
    margin: 0 0 6px;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.form-row.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-heading {
    width: 100%;
    margin: 0 auto 30px;
}

.section-heading.compact {
    margin: 0;
}

.document-content {
    width: 100%;
    margin: 0 auto;
}

.document-content pre {
    margin: 0;
    color: var(--muted);
    font: inherit;
    font-size: 1.04rem;
    line-height: 1.55;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.document-content pre,
.section-heading.about-content > p {
    cursor: default;
}

.pdf-section {
    width: 100%;
    margin: 0 auto;
}

.pdf-placeholder {
    min-height: 520px;
    display: grid;
    place-items: center;
    margin-top: 24px;
    padding: 28px;
    border: 1px dashed rgba(47, 33, 22, 0.28);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.pdf-placeholder p {
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
    font-weight: 800;
}

.journal-cover-page {
    display: grid;
    place-items: center;
    padding-top: clamp(28px, 4vw, 44px);
    padding-bottom: clamp(28px, 4vw, 44px);
}

.journal-cover-link {
    display: grid;
    justify-items: center;
    gap: 12px;
    color: var(--soil-900);
    text-align: center;
    text-decoration: none;
}

.journal-cover-link img {
    width: min(260px, 100%);
    aspect-ratio: 3 / 4;
    height: auto;
    object-fit: contain;
    object-position: top center;
    border: 1px solid rgba(47, 33, 22, 0.16);
    border-radius: 6px;
    background: white;
    box-shadow: 0 18px 32px rgba(47, 33, 22, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.journal-cover-link span {
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0;
}

.journal-cover-link:hover img,
.journal-cover-link:focus-visible img {
    transform: translateY(-2px);
    box-shadow: 0 24px 50px rgba(47, 33, 22, 0.18);
}

.section-heading > p:not(.eyebrow),
.profile-copy p {
    color: var(--muted);
    font-size: 1.03rem;
}

.section-heading.about-content > p {
    font-size: 1.04rem;
    line-height: 1.55;
}

@media (min-width: 861px) {
    .document-content pre {
        font-size: 1.18rem;
    }

    .section-heading.about-content > p {
        font-size: 1.18rem;
    }
}

.cards {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.info-card,
.timeline-item {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 10px 28px rgba(47, 33, 22, 0.08);
}

.info-card {
    min-height: 230px;
    padding: 24px;
}

.tag {
    display: inline-flex;
    margin-bottom: 20px;
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--earth-900);
    background: rgba(215, 185, 138, 0.42);
    font-size: 0.78rem;
    font-weight: 800;
}

.info-card p,
.timeline-item p {
    margin: 12px 0 0;
    color: var(--muted);
}

.split-section {
    display: grid;
    grid-template-columns: minmax(260px, 0.82fr) minmax(300px, 1.18fr);
    gap: clamp(26px, 5vw, 68px);
    align-items: start;
    background:
        linear-gradient(180deg, rgba(185, 222, 236, 0.68), rgba(245, 251, 248, 1));
}

.indicator-list {
    display: grid;
    gap: 12px;
}

.indicator {
    display: grid;
    grid-template-columns: minmax(130px, 0.42fr) minmax(180px, 1fr);
    gap: 18px;
    align-items: start;
    padding: 18px;
    border-left: 5px solid var(--grass-500);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 24px rgba(46, 111, 149, 0.09);
}

.indicator strong {
    color: var(--earth-700);
}

.indicator span {
    color: var(--muted);
}

.soil-profile {
    display: grid;
    grid-template-columns: minmax(260px, 0.82fr) minmax(300px, 1fr);
    gap: clamp(28px, 5vw, 76px);
    align-items: center;
    background: white;
}

.profile-copy {
    max-width: 560px;
}

.profile-visual {
    display: grid;
    min-height: 420px;
    border: 1px solid rgba(47, 33, 22, 0.18);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.layer {
    display: flex;
    align-items: center;
    padding: 0 24px;
    color: white;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.38);
}

.layer.grass {
    min-height: 72px;
    background:
        linear-gradient(180deg, #6ebd53, #2f7e3a);
}

.layer.humus {
    min-height: 110px;
    background:
        radial-gradient(circle at 15% 30%, rgba(215, 185, 138, 0.4) 0 4px, transparent 5px),
        radial-gradient(circle at 72% 70%, rgba(215, 185, 138, 0.28) 0 5px, transparent 6px),
        #5e3b24;
}

.layer.clay {
    min-height: 126px;
    background:
        radial-gradient(circle at 35% 48%, rgba(255, 255, 255, 0.14) 0 6px, transparent 7px),
        #9a673d;
}

.layer.parent {
    min-height: 112px;
    background:
        radial-gradient(circle at 18% 55%, #766555 0 12px, transparent 13px),
        radial-gradient(circle at 78% 42%, #836e5b 0 18px, transparent 19px),
        #b79667;
}

.timeline-band {
    background: linear-gradient(180deg, var(--cream), #eef7ee);
}

.timeline {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.timeline-item {
    min-height: 220px;
    padding: 22px;
}

.step {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    border-radius: 50%;
    color: white;
    background: var(--sky-700);
    font-weight: 800;
}

.footer {
    width: min(var(--page-width), calc(100% - var(--page-gutter)));
    margin: var(--section-space) auto 0;
    padding: 24px clamp(18px, 5vw, 72px);
    color: rgba(255, 255, 255, 0.8);
    background: var(--earth-900);
    border-radius: 24px 24px 0 0;
}

.footer-inner {
    width: 100%;
    margin: 0;
}

.footer p {
    width: 100%;
    margin: 0 0 8px;
}

.footer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 860px) {
    :root {
        --page-gutter: 24px;
        --section-space: 22px;
    }

    .site-header {
        position: static;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: min(var(--page-width), calc(100% - var(--page-gutter)));
        margin-top: 12px;
        border-radius: 20px;
    }

    .brand {
        min-width: 0;
        min-height: 0;
        width: 100%;
        gap: 12px;
        flex: none;
    }

    .brand-logo {
        width: 52px;
        height: 52px;
        flex: 0 0 auto;
    }

    .nav {
        justify-content: flex-start;
        padding: 0;
        gap: 8px;
    }

    .nav-group {
        position: static;
    }

    .dropdown {
        position: static;
        width: 100%;
        margin-top: 6px;
        border-radius: 14px;
    }

    .home-layout,
    .feature-grid,
    .media-panel {
        grid-template-columns: 1fr;
    }

    .home-layout {
        margin-top: 22px;
        gap: 24px;
    }

    .side-menu {
        display: flex;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 14px;
    }

    .side-menu a {
        flex: 0 0 auto;
    }

    .hero {
        min-height: 760px;
    }

    .hero-shade {
        background: linear-gradient(180deg, rgba(25, 20, 14, 0.55), rgba(25, 20, 14, 0.82));
    }

    .hero-content {
        align-self: end;
        margin: 0 auto;
        padding-bottom: 52px;
    }

    h1 {
        font-size: 3.6rem;
    }

    h2 {
        font-size: 2.35rem;
    }

    .page-hero h1 {
        font-size: 3rem;
    }

    .cards,
    .congress-materials,
    .content-list,
    .official-link-grid,
    .member-profile-band,
    .timeline,
    .split-section,
    .soil-profile,
    .contact-grid,
    .form-row,
    .form-row.two,
    .partner-logo-grid,
    .admin-registration-card {
        grid-template-columns: 1fr;
    }

    .official-link-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .member-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .scholar-panel {
        position: static;
    }

    .admin-card-actions {
        justify-content: flex-start;
    }

    .admin-partner-card {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .admin-partner-card .button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .indicator {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .leadership-gallery {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .leadership-card img {
        height: auto;
        object-fit: contain;
    }
}

@media (max-width: 520px) {
    :root {
        --page-gutter: 18px;
        --section-space: 18px;
    }

    .site-header {
        width: min(var(--page-width), calc(100% - var(--page-gutter)));
        padding: 10px;
    }

    .nav a {
        padding: 8px 10px;
        font-size: 0.86rem;
    }

    .brand {
        flex-direction: row;
        min-height: 0;
        padding: 0;
    }

    .brand span {
        font-size: 1rem;
    }

    .side-menu {
        border-radius: 18px;
    }

    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .page-hero h1 {
        font-size: 2.35rem;
    }

    .hero-copy {
        font-size: 1rem;
    }

    .hero-actions,
    .button {
        width: 100%;
    }

    .material-card {
        padding: 18px;
    }

    .photos-cover {
        margin-top: 0;
    }

    .info-card,
    .timeline-item {
        min-height: auto;
    }

    .profile-visual {
        min-height: 360px;
    }

    .leadership-gallery {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .leadership-card img {
        height: auto;
        object-fit: contain;
    }

    .member-grid {
        grid-template-columns: 1fr;
    }

    .official-link-grid {
        grid-template-columns: 1fr;
    }

    .official-link-card {
        grid-template-columns: 64px minmax(0, 1fr);
        min-height: 74px;
        padding: 8px 12px;
    }

    .official-link-card img {
        width: 64px;
        height: 54px;
    }
}
