:root {
    --primary-color: #D5B86C; 
    --glass-bg: rgba(255, 255, 255, 0.78);
    --glass-border: rgba(255, 255, 255, 0.3);
    --text-dark: #2c3e50;
    --max-content-width: 1440px;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

* {
    box-sizing: border-box;
}

li::marker {
    content: "";
    display: none;
}

/* Чистим контейнер: убираем дублирование */
.container {
    width: min(var(--max-content-width), 100%);
    margin-inline: auto; 
}

.site-wrapper {
    position: relative; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-attachment: scroll; /* По умолчанию для мобилок */
    background-size: cover;
}

.site-wrapper::before {
    content: '';
    position: fixed;          /* фиксация относительно окна */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;

    background: 
        linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), 
        url('../media/field-bg.jpg') no-repeat center center;
    background-size: cover;

    /* на мобильных устройствах вообще отключают фиксированный фон */
    @media (max-width: 991px) {
        position: absolute;   /* или скрываем, если не нужен */
    }
}

.lang-top-bar {
    position: absolute;
    top: 15px;
    left: 20px;
    z-index: 1010;
}

.banner-container {
    position: relative;
    overflow: hidden; /* На всякий случай */
}

.banner-overlay {
    /* background:
        linear-gradient(
            to top,
            rgba(0,0,0,0.78) 0%,
            rgba(0,0,0,0.45) 45%,
            rgba(0,0,0,0.15) 100%
        ); */

    background: linear-gradient(rgb(255 255 255 / 84%) 25%, rgb(0 0 0 / 15%) 100%);

    min-height: 320px;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    padding:
        clamp(2rem, 4vw, 4rem)
        0;

    color: white;
}

.header-top-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-branding {
    width: 100%;
    text-align: center;
}

.header-search-block {
    width: 100%;
    display: flex;
    justify-content: center;
    max-width: 1400px;
}

.journal-title {
    font-size: clamp(2rem, 5vw, 3.5rem); /* Адаптивность заголовка */
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    text-transform: uppercase;
    margin: 0;
}

.journal-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.journal-logo {
    width: min(100%, 520px);
    height: auto;
    display: block;
}

.journal-subtitle {
    margin-top: 12px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.92);

    text-shadow:
        0 2px 8px rgba(0,0,0,0.45);
}

/* ==========================================================================
   ISSN БЛОК (ПАСПОРТ ЖУРНАЛА)
   ========================================================================== */

/* Контейнер-ориентир для абсолютного позиционирования элементов внутри баннера */
.header-rel-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Позиционирование держателя модуля ISSN в верхний правый угол */
.header-issn-holder {
    position: absolute;
    top: 0;
    right: 20px; /* Отступ от правого края контейнера */
    z-index: 1020;
}

/* Контейнер виджета - "Паспорт журнала" */
.journal-issn-passport {
    position: relative;
    background: var(--glass-bg); 
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 14px 18px;
    min-width: 290px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Тонкая комплексная тень для интеграции в интерфейс хедера */
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 4px 15px rgba(0, 0, 0, 0.04);
        
    /* Плавный переход */
    transition: border-color 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
}

/* Верхняя статусная строчка виджета */
.passport-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    /* Пунктир в тон основного текста, но с прозрачностью */
    border-bottom: 1px dashed rgba(44, 62, 80, 0.15); 
}

.passport-title {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(44, 62, 80, 0.55);
    font-weight: 600;
}

/* Тег верификации (зеленая точка) */
.passport-status-tag {
    font-size: 0.68rem;
    color: #27ae60;
    background: rgba(39, 174, 96, 0.08);
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: #2ecc71;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(46, 204, 113, 0.7);
}

/* Строки с данными */
.issn-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

.issn-meta {
    display: flex;
    flex-direction: column;
}

.issn-type {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.3px;
}

.issn-format {
    font-size: 0.65rem;
    color: rgba(44, 62, 80, 0.5); /* Корректная прозрачность относительно основного текста */
}

/* Номера ISSN */
.issn-value {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color); 
    letter-spacing: 0.5px;
    background: rgba(213, 184, 108, 0.06);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(213, 184, 108, 0.2);
    transition: all 0.3s ease;
}

.issn-row-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(44, 62, 80, 0.08) 0%, rgba(44, 62, 80, 0.01) 100%);
    margin: 6px 0;
}

/* --- ВЗАИМОДЕЙСТВИЕ ПРИ НАВЕДЕНИИ (HOVER) --- */
.journal-issn-passport:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--primary-color);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 10px 25px rgba(0, 0, 0, 0.08);
}

.journal-issn-passport:hover .issn-value {
    color: #ffffff;
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 3px 10px rgba(213, 184, 108, 0.4);
}

/* Адаптивность под мобильные интерфейсы */
@media (max-width: 991px) {
    .header-rel-container {
        flex-direction: column-reverse;
        align-items: center;
        gap: 20px;
    }
    
    .header-issn-holder {
        position: static;
        margin-top: 15px;
        width: 100%;
        max-width: 320px;
    }
}

/*.content-glass, .sidebar-glass {
    background: var(--glass-bg);

    border: 1px solid var(--glass-border);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: clamp(1rem, 3vw, 2.5rem);
    height: 100%;
    transition: transform 0.3s ease;
}*/

.site-main {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.content-glass {
    background: var(--glass-bg);

    border: 1px solid var(--glass-border);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: clamp(1rem, 3vw, 2.5rem);
    height: 100%;
    transition: transform 0.3s ease;
}

.footer-main {
    background: rgba(0, 0, 0, 0.85);
    color: #ddd;
    width: 100%;
    flex-shrink: 0;
    margin-top: auto; /* Еще одна страховка для sticky footer */
}

.dev-link {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}

.dev-link a {
    display: inline-block;
    padding: 5px 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.dev-link a:hover {
    color: #fff;
    transform: translateY(-2px);
    text-shadow: 0 0 15px var(--primary-color);
}


/* --- Адаптивность блоков --- */
@media (max-width: 991px) {
    /* На планшетах и мобильных сайдбар уходит вниз, 
       делаем отступ между ними */
    .content-glass {
        margin-bottom: 1.5rem;
    }
}




@media (max-width: 768px) {

    .journal-logo-wrapper {
        justify-content: center;
    }

    .journal-logo {
        width: 92%;
        max-width: 420px;
    }

    .journal-subtitle {
        text-align: center;
        font-size: 0.8rem;
        line-height: 1.5;
        letter-spacing: 0.06em;
    }

    .banner-overlay {
        min-height: 240px;
    }
}





/* ==========================================================================
   Контейнер навигации и общие настройки
   ========================================================================== */
.main-nav-wrapper {
    background: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-bottom: 2px solid rgba(0,0,0,0.05);
    position: -webkit-sticky; /* Для Safari */
    position: sticky;
    top: 0;
    z-index: 1050; 
    transition: all 0.4s ease-in-out;
    /* backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); */
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.main-nav-wrapper.is-sticky {
    background: rgba(243, 156, 18, 0.95); 
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.mod-menu.nav {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: center;
}

/* Пункты меню первого уровня */
.nav-item {
    position: relative;
}



.nav-item > a {
    display: block;
    padding: 20px 15px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

/* Индикатор активного пункта */
.nav-item.active > a,
.nav-item:hover > a {
    background: rgba(0, 0, 0, 0.1);
    color: #fff;
}

/* Линия под пунктом при наведении */
.nav-item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-item:hover > a::after {
    width: 100%;
}

/* Иконка стрелочки для родительских пунктов */
.nav-item.parent > a::before {
    content: '▾';
    display: inline-block;
    margin-right: 5px;
    font-size: 12px;
    opacity: 0.7;
}


/* ==========================================================================
   ВЫПАДАЮЩЕЕ МЕНЮ (Базовые стили для обычных пунктов)
   ========================================================================== */
.mod-menu__sub {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: var(--glass-bg);
    /* backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px); */
    border: 1px solid var(--glass-border);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    padding: 10px 0;
    
    /* Анимация появления */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 100;
}

/* Показ при наведении */
.nav-item:hover > .mod-menu__sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Стили ссылок внутри выпадающего меню */
.mod-menu__sub .nav-item a {
    color: var(--text-dark);
    padding: 10px 20px;
    font-size: 0.85rem;
    text-transform: none;
    font-weight: 500;
    display: block;
    transition: all 0.2s ease;
}

.mod-menu__sub .nav-item a:hover {
    background: var(--primary-color);
    color: var(--text-dark); /* Темный текст на золотом фоне читается лучше */
    padding-left: 25px; 
}


/* ==========================================================================
   ОПТИМИЗАЦИЯ ДЛИННОГО СПИСКА АРХИВА (Умное выпадающее меню)
   ========================================================================== */
/* Таргетируемся именно на подменю Архива по его уникальному ID, сгенерированному Joomla */
#-submenu3 {
    min-width: 380px; 
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 2px 10px;
    padding: 15px;
    max-height: calc(100vh - 120px); 
    overflow-y: auto; 
}

/* Настройки скроллбара для меню архива (чтобы выглядел аккуратно и минималистично) */
#-submenu3::-webkit-scrollbar {
    width: 6px;
}
#-submenu3::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 0 0 10px 0;
}
#-submenu3::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

#-submenu3 .nav-item a {
    padding: 8px 12px;
    border-radius: 4px;
}

#-submenu3 .nav-item.current.active a {
    background: rgba(0, 0, 0, 0.06);
    border-left: 3px solid var(--primary-color);
    font-weight: 700;
}


/* ==========================================================================
   Адаптивность под мобильные устройства
   ========================================================================== */
@media (max-width: 991px) {
    /* Если на планшетах/смартфонах меню перестраивается в бургер, 
       сбрасываем гриды и ограничения высоты, чтобы не ломать вертикальный поток */
    #-submenu3 {
        min-width: 100%;
        grid-template-columns: 1fr; 
        max-height: none;
        overflow-y: visible;
        padding: 0;
    }
}







/* Общие настройки страницы */
.journal-page-wrapper {
    padding: 20px 0;
    color: var(--text-dark);
}

.section-title {
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.center { text-align: center; }

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin-bottom: 25px;
}

/* Стили приветствия */
.editor-welcome {
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.main-quote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 25px 0;
    font-style: italic;
    font-size: 1.1rem;
    background: rgba(243, 156, 18, 0.05);
}

.editor-signature {
    margin-top: 40px;
    display: flex;
    justify-content: flex-end;
    text-align: right;
}

.signature-info .position {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
}

.signature-info .name {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-top: 5px;
}

/* --- Стили ТАЙМЛАЙНА --- */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 40px auto;
    padding-left: 30px;
}

/* Вертикальная линия */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: -30px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
    z-index: 2;
}

.timeline-date {
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.timeline-content {
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(10px);
}

.award-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: 20px;
    text-align: center;
}

/* Увеличенное изображение награды */
.award-img {
    width: 100%;
    max-width: 320px;

    border-radius: 18px;

    box-shadow:
        0 12px 32px rgba(0,0,0,0.18);

    cursor: pointer;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

/* Hover */
.award-img:hover {
    transform: scale(1.04);

    box-shadow:
        0 18px 44px rgba(0,0,0,0.24);
}

.specialization-box {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed var(--glass-border);
}

.specialization-box h5 {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.specialization-box ul {
    list-style: none;
    padding: 0;
}

.specialization-box li {
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.specialization-box li span {
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 10px;
}

/* Адаптивность */
@media (max-width: 600px) {
    .award-flex { flex-direction: column; }
    .award-img { width: 100%; max-width: 200px; }
}










.header-search-block form {
    position: relative;

    padding: 8px;

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.18),
            rgba(255,255,255,0.06)
        );

    border:
        1px solid rgba(255,255,255,0.18);

    box-shadow:
        0 10px 30px rgba(0,0,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.15);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.header-search-block form:hover {
    transform: translateY(-2px);

    border-color:
        rgba(255,255,255,0.3);

    box-shadow:
        0 18px 45px rgba(0,0,0,0.25),
        0 0 0 1px rgba(255,255,255,0.08),
        inset 0 1px 0 rgba(255,255,255,0.15);
}

.header-search-block form:focus-within {

    border-color:
        rgba(255,255,255,0.42);

    box-shadow:
        0 25px 55px rgba(0,0,0,0.3),
        0 0 0 6px rgba(255,255,255,0.08),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.header-search-block form::before {

    content: '';

    position: absolute;

    left: 22px;
    top: 50%;

    width: 18px;
    height: 18px;

    transform: translateY(-50%);

    opacity: 0.7;

    pointer-events: none;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
}

.header-search-block input[type="text"],
.header-search-block input[type="search"] {

    width: 100%;
    height: 58px;

    padding:
        0 24px
        0 58px;

    border: none;
    outline: none;

    border-radius: 18px;

    background:
        rgba(255,255,255,0.08);

    color: white;

    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;

    transition:
        background 0.3s ease,
        color 0.3s ease;

    box-shadow:
        inset 0 1px 2px rgba(255,255,255,0.08);
}

.header-search-block input::placeholder {
    color: rgba(255,255,255,0.7);
}

.header-search-block input:focus {
    border-color: rgba(255,255,255,0.55);

    background:
        rgba(255,255,255,0.18);

    box-shadow:
        0 0 0 4px rgba(255,255,255,0.08);
}


.header-search-block .finder {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}


.awesomplete > ul {

    margin-top: 14px !important;

    border: none !important;

    border-radius: 18px !important;

    overflow: hidden;

    background:
        rgba(22, 28, 36, 0.92) !important;

    /* backdrop-filter: blur(20px); */

    box-shadow:
        0 20px 60px rgba(0,0,0,0.35) !important;

    color: white;
}

.awesomplete > ul > li {
    padding: 14px 18px !important;

    transition:
        background 0.2s ease,
        padding-left 0.2s ease;
}

.awesomplete > ul > li:hover {

    background:
        rgba(255,255,255,0.08);

    padding-left: 24px !important;
}


.header-search-block form {
    width: min(800px, 100%);
}

.header-search-block .awesomplete {
    width: 100% !important;
    display: block !important;
}

.header-search-block .awesomplete input {
    width: 100% !important;
}











/* ===== Центрируем только этот ConvertForms блок ===== */
#cf_1.convertforms {
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
    padding: 0;
    background: transparent;
    border: none;
}


/* ===== Контейнер формы (делаем светлым) ===== */
#cf_1 .cf-form-wrap {
    background: rgba(255, 255, 255, 0.92);
    /* backdrop-filter: blur(10px); */
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 28px;
}

/* ===== Разделение строк (мягкое, светлое) ===== */
#cf_1 .cf-control-group {
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

#cf_1 .cf-control-group:last-child {
    border-bottom: none;
}

/* ===== Label (тёмный текст) ===== */
#cf_1 .cf-label {
    color: #1f2d3d;
    font-weight: 600;
    margin-bottom: 6px;
}

/* ===== Input (светлый фон + тёмный текст) ===== */
#cf_1 .cf-input {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: #1f2d3d;
    border-radius: 12px;
    padding: 12px 14px;
}

/* focus — аккуратный синий */
#cf_1 .cf-input:focus {
    border-color: #5aa2ff;
    box-shadow: 0 0 0 3px rgba(90, 162, 255, 0.18);
    outline: none;
}

/* ===== Select ===== */
#cf_1 .cf-select select {
    background: #ffffff;
    color: #1f2d3d;
}

/* ===== Подсказки ===== */
#cf_1 .cf-control-input-desc {
    color: rgba(31, 45, 61, 0.65);
    font-size: 13px;
    margin-top: 6px;
}

/* ===== Checkbox блоки  ===== */
#cf_1 .cf-checkbox-group {
    background: rgba(0, 0, 0, 0.03);
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 6px;
}

/* текст чекбоксов */
#cf_1 .cf-checkbox-group .cf-label {
    color: #1f2d3d;
    font-weight: 400;
}

/* ===== File upload ===== */
#cf_1 .tf-file-upload-editor {
    background: rgba(0, 0, 0, 0.02);
    border: 1px dashed rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 14px;
}

/* ===== Кнопка ===== */
#cf_1 .cf-btn {
    background: linear-gradient(135deg, #3C7BCA, #5aa2ff);
    color: #fff;
    border-radius: 12px;
    padding: 12px 18px;
    border: none;
}

/* ===== Центр кнопки ===== */
#cf_1 .cf-text-center {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}










:root {

    --hub-bg:
        rgba(255,255,255,0.55);

    --hub-border:
        rgba(255,255,255,0.4);

    --hub-shadow:
        0 20px 60px rgba(15,23,42,0.08);

    --hub-radius:
        28px;

    --hub-text:
        #1e293b;

    --hub-muted:
        #64748b;

    --hub-primary:
        #d5b86c;

    --hub-primary-dark:
        #b79a4f;

    --hub-surface:
        rgba(255,255,255,0.72);
}

/* SECTION */

.editorial-hub {

    position: relative;

    max-width: 1400px;

    margin: 0 auto;

    overflow: hidden;
}

/* BACKGROUND */

.hub-bg {

    position: absolute;

    border-radius: 999px;

    filter: blur(80px);

    opacity: .35;

    pointer-events: none;
}

.hub-bg-1 {

    width: 320px;
    height: 320px;

    background: #d5b86c;

    top: -100px;
    left: -80px;
}

.hub-bg-2 {

    width: 280px;
    height: 280px;

    background: #d9e8ff;

    bottom: -120px;
    right: -80px;
}

/* HERO */

.hub-hero {

    position: relative;
    z-index: 2;

    text-align: center;

    max-width: 900px;

    margin: 0 auto 42px;
}

.hub-hero h1 {

    font-size: 36px;

    line-height: 1.05;

    letter-spacing: -0.03em;

    margin-bottom: 20px;

    color: var(--hub-text);
}

.hub-hero p {

    font-size: 18px;

    line-height: 1.8;

    color: var(--hub-muted);
}

/* SWITCHER */

.hub-switcher {

    position: relative;

    display: flex;

    width: fit-content;

    margin: 0 auto 42px;

    padding: 6px;

    border-radius: 999px;

    background: rgba(255,255,255,0.5);

    /* backdrop-filter: blur(18px); */

    border: 1px solid rgba(255,255,255,0.4);

    box-shadow: var(--hub-shadow);

    z-index: 5;
}

.hub-switcher-slider {

    position: absolute;

    top: 6px;
    left: 6px;

    width: calc(50% - 6px);
    height: calc(100% - 12px);

    border-radius: 999px;

    background: linear-gradient(
        135deg,
        var(--hub-primary),
        #e8cf8c
    );

    transition:
        transform .45s cubic-bezier(.2,.8,.2,1),
        width .3s ease;

    box-shadow:
        0 8px 24px rgba(213,184,108,.35),
        inset 0 1px 0 rgba(255,255,255,.6);
}

.hub-tab {

    position: relative;

    z-index: 2;

    border: none;
    background: transparent;

    padding: 16px 28px;

    border-radius: 999px;

    cursor: pointer;

    font-size: 15px;
    font-weight: 700;

    color: var(--hub-text);

    transition: color .3s ease;
}

.hub-tab.active {

    color: #fff;
}

/* CONTENT */

.hub-content {

    position: relative;
}

/* PANES */

.hub-pane {

    display: none;

    grid-template-columns:
        minmax(320px, 420px)
        1fr;

    gap: 32px;

    align-items: start;
}

.hub-pane.active {

    display: grid;

    animation: paneFade .5s ease;
}

@keyframes paneFade {

    from {

        opacity: 0;
        transform: translateY(10px);
    }

    to {

        opacity: 1;
        transform: translateY(0);
    }
}

/* CARDS */

.hub-info-card,
.hub-form-card {

    background: var(--hub-surface);

    border: 1px solid var(--hub-border);

    border-radius: var(--hub-radius);

    /* backdrop-filter: blur(18px); 
    -webkit-backdrop-filter: blur(18px); */

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.45),
        var(--hub-shadow);

    position: relative;

    overflow: hidden;
}

/* INFO CARD */

.hub-info-card {

    padding: 34px;
}

.hub-info-header {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 24px;
}

.hub-info-icon {

    width: 44px;
    height: 44px;

    border-radius: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            var(--hub-primary),
            #ecd59c
        );

    color: #fff;

    font-size: 18px;

    box-shadow:
        0 10px 24px rgba(213,184,108,.35);
}

.hub-info-header h2 {

    font-size: 28px;

    color: var(--hub-text);
}

.hub-info-card p {

    font-size: 16px;

    line-height: 1.8;

    color: var(--hub-muted);

    margin-bottom: 18px;
}

/* ADDRESS */

.hub-address {

    padding: 18px 20px;

    border-radius: 18px;

    background:
        rgba(255,255,255,.55);

    border:
        1px solid rgba(255,255,255,.5);

    font-weight: 700;

    line-height: 1.7;

    color: var(--hub-text);

    margin-bottom: 28px;
}

/* PROCESS */

.hub-process {

    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 14px;

    margin-bottom: 30px;
}

.hub-step {

    padding: 18px;

    border-radius: 18px;

    background:
        rgba(255,255,255,.45);

    border:
        1px solid rgba(255,255,255,.45);
}

.hub-step span {

    display: inline-flex;

    width: 34px;
    height: 34px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--hub-primary);

    color: #fff;

    font-weight: 700;

    margin-bottom: 12px;
}

.hub-step p {

    margin: 0;

    font-size: 14px;
}

/* DOWNLOAD BUTTON */

.hub-download-btn {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    padding: 16px 24px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            var(--hub-primary),
            #e2c57d
        );

    color: #fff;

    text-decoration: none;

    font-weight: 700;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.hub-download-btn:hover {

    transform: translateY(-3px);

    box-shadow:
        0 16px 34px rgba(213,184,108,.35);
}

/* FORM CARD */

.hub-form-card {

    padding: 30px;

    min-height: 100%;
}

/* CONTACT GRID */

.hub-contact-grid {

    display: grid;

    gap: 16px;

    margin-top: 28px;
    margin-bottom: 28px;
}

.hub-contact-item {

    padding: 18px;

    border-radius: 18px;

    background:
        rgba(255,255,255,.45);

    border:
        1px solid rgba(255,255,255,.45);
}

.hub-contact-item span {

    display: block;

    font-size: 13px;

    color: var(--hub-muted);

    margin-bottom: 6px;
}

.hub-contact-item strong {

    color: var(--hub-text);

    line-height: 1.6;
}

/* NOTE */

.hub-feedback-note {

    padding: 18px 20px;

    border-radius: 18px;

    background:
        rgba(213,184,108,.12);

    border:
        1px solid rgba(213,184,108,.22);

    color: var(--hub-text);

    line-height: 1.7;
}

/* CONVERTFORMS */

.form-scroll {

    width: 100%;
}

/* RESPONSIVE */

@media (max-width: 1080px) {

    .hub-pane {

        grid-template-columns: 1fr;
    }

    .hub-info-card {

        order: 1;
    }

    .hub-form-card {

        order: 2;
    }
}

@media (max-width: 768px) {

    .editorial-hub {

        padding:
            36px 16px 60px;
    }

    .hub-hero {

        margin-bottom: 32px;
    }

    .hub-hero p {

        font-size: 16px;
    }

    .hub-switcher {

        width: 100%;
    }

    .hub-tab {

        flex: 1;

        padding: 14px 18px;

        font-size: 14px;
    }

    .hub-info-card,
    .hub-form-card {

        padding: 22px;
    }

    .hub-info-header h2 {

        font-size: 24px;
    }

    .hub-process {

        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {

    .hub-hero h1 {

        line-height: 1.15;
    }

    .hub-tab {

        font-size: 13px;

        padding: 13px 14px;
    }

    .hub-info-header {

        align-items: flex-start;
    }
}














:root {

    --issue-bg:
        rgba(255,255,255,0.62);

    --issue-border:
        rgba(255,255,255,0.45);

    --issue-shadow:
        0 24px 60px rgba(15,23,42,0.08);

    --issue-radius:
        32px;

    --issue-text:
        #1e293b;

    --issue-muted:
        #64748b;

    --issue-primary:
        #d5b86c;

    --issue-primary-dark:
        #b89b4f;
}

/* SECTION */

.issue-showcase {

    position: relative;

    overflow: hidden;

    padding: 80px 24px;
}

.issue-container {

    position: relative;
    z-index: 2;

    max-width: 1350px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(320px, 420px)
        1fr;

    gap: 70px;

    align-items: center;
}

/* BACKGROUND */

.issue-bg {

    position: absolute;

    border-radius: 999px;

    filter: blur(90px);

    opacity: .35;

    pointer-events: none;
}

.issue-bg-1 {

    width: 360px;
    height: 360px;

    background: #d5b86c;

    top: -120px;
    left: -120px;
}

.issue-bg-2 {

    width: 320px;
    height: 320px;

    background: #d9e8ff;

    right: -120px;
    bottom: -120px;
}

/* COVER */

.issue-cover-wrapper {

    position: relative;

    display: flex;
    justify-content: center;
}

.issue-cover-glow {

    position: absolute;

    width: 85%;
    height: 85%;

    background:
        radial-gradient(
            circle,
            rgba(213,184,108,.35),
            transparent 70%
        );

    filter: blur(40px);

    z-index: 1;
}

.issue-cover-link {

    position: relative;

    display: block;

    border-radius: 28px;

    overflow: hidden;

    z-index: 2;

    transform-style: preserve-3d;

    transition:
        transform .5s ease,
        box-shadow .5s ease;

    box-shadow:
        0 30px 70px rgba(15,23,42,.18);
}

.issue-cover-link:hover {

    transform:
        translateY(-10px)
        rotateX(4deg)
        rotateY(-4deg);

    box-shadow:
        0 40px 90px rgba(15,23,42,.22);
}

.issue-cover {

    display: block;

    width: 100%;

    max-width: 380px;

    height: auto;
}

/* OVERLAY */

.issue-overlay {

    position: absolute;

    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            to top,
            rgba(15,23,42,.72),
            rgba(15,23,42,.18)
        );

    opacity: 0;

    transition: opacity .35s ease;
}

.issue-cover-link:hover .issue-overlay {

    opacity: 1;
}

.issue-overlay span {

    padding: 14px 22px;

    border-radius: 999px;

    background: rgba(255,255,255,.18);

    /* backdrop-filter: blur(12px); */

    border: 1px solid rgba(255,255,255,.25);

    color: #fff;

    font-weight: 700;

    letter-spacing: .02em;
}

/* CONTENT */

.issue-content {

    position: relative;

    padding: 42px;

    border-radius: var(--issue-radius);

    background: var(--issue-bg);

    border: 1px solid var(--issue-border);

    /* backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); */

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.45),
        var(--issue-shadow);
}

/* BADGE */

.issue-badge {

    display: inline-flex;

    align-items: center;

    padding: 10px 18px;

    border-radius: 999px;

    background:
        rgba(213,184,108,.14);

    border:
        1px solid rgba(213,184,108,.25);

    color: var(--issue-primary-dark);

    font-size: 14px;
    font-weight: 700;

    margin-bottom: 24px;
}

/* TITLE */

.issue-content h1 {

    font-size: 36px;
    line-height: .98;

    letter-spacing: -.04em;

    color: var(--issue-text);

    margin-bottom: 24px;
}

.issue-content h1 span {

    display: block;

    margin-top: 14px;

    font-size: clamp(22px, 3vw, 34px);

    color: var(--issue-primary-dark);

    letter-spacing: -.02em;
}

/* DESCRIPTION */

.issue-description {

    max-width: 760px;

    font-size: 18px;

    line-height: 1.9;

    color: var(--issue-muted);

    margin-bottom: 36px;
}

/* META GRID */

.issue-meta-grid {

    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 18px;

    margin-bottom: 42px;
}

.issue-meta-card {

    padding: 22px;

    border-radius: 22px;

    background:
        rgba(255,255,255,.52);

    border:
        1px solid rgba(255,255,255,.45);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.issue-meta-card:hover {

    transform: translateY(-4px);

    box-shadow:
        0 16px 32px rgba(15,23,42,.08);
}

.issue-meta-card span {

    display: block;

    font-size: 13px;

    color: var(--issue-muted);

    margin-bottom: 8px;
}

.issue-meta-card strong {

    font-size: 18px;

    color: var(--issue-text);
}

/* BUTTONS */

.issue-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 18px;
}

.issue-primary-btn,
.issue-secondary-btn {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 58px;

    padding: 0 28px;

    border-radius: 18px;

    text-decoration: none;

    font-weight: 700;

    transition:
        transform .28s ease,
        box-shadow .28s ease,
        background .28s ease;
}

.issue-primary-btn {

    background:
        linear-gradient(
            135deg,
            var(--issue-primary),
            #e8cf8c
        );

    color: #fff;

    box-shadow:
        0 18px 36px rgba(213,184,108,.28);
}

.issue-primary-btn:hover {

    transform: translateY(-4px);

    box-shadow:
        0 24px 48px rgba(213,184,108,.36);
}

.issue-secondary-btn {

    background:
        rgba(255,255,255,.62);

    border:
        1px solid rgba(255,255,255,.45);

    color: var(--issue-text);
}

.issue-secondary-btn:hover {

    transform: translateY(-4px);

    box-shadow:
        0 16px 32px rgba(15,23,42,.08);
}

/* RESPONSIVE */

@media (max-width: 1080px) {

    .issue-container {

        grid-template-columns: 1fr;

        gap: 50px;
    }

    .issue-cover {

        max-width: 340px;
    }

    .issue-content {

        text-align: center;
    }

    .issue-description {

        margin-left: auto;
        margin-right: auto;
    }

    .issue-actions {

        justify-content: center;
    }
}

@media (max-width: 768px) {

    .issue-showcase {

        padding: 50px 16px;
    }

    .issue-content {

        padding: 28px;
    }

    .issue-description {

        font-size: 16px;

        line-height: 1.8;
    }

    .issue-meta-grid {

        grid-template-columns: 1fr;
    }

    .issue-primary-btn,
    .issue-secondary-btn {

        width: 100%;
    }
}

@media (max-width: 540px) {

    .issue-cover {

        max-width: 280px;
    }

    .issue-content h1 {

        line-height: 1.08;
    }

    .issue-content h1 span {

        margin-top: 10px;
    }
}






/* ===== Профиль редактора ===== */
.editor-profile {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
  }
  
  .editor-card {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
  
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  
    padding: 2.5rem;
  
    transition: box-shadow 0.3s ease;
  }
  
  .editor-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  }
  
  /* Колонка с фото */
  .editor-photo-col {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
  }
  
  .editor-photo-frame {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 3 / 4;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 8px 24px rgba(213, 184, 108, 0.35);
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .editor-photo-frame:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 16px 36px rgba(213, 184, 108, 0.45);
  }
  
  .editor-photo-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 20% 25%;
  }
  
  /* Колонка с информацией */
  .editor-info-col {
    flex: 1;
    min-width: 0;
  }
  
  .editor-name {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.1;
    margin: 0 0 0.3em;
    letter-spacing: -0.02em;
  }
  
  .editor-degree {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 1.5em;
  }
  
  .editor-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
  }
  
  .editor-text p {
    margin-bottom: 1.2em;
  }
  
  /* Контакты */
  .editor-contacts {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  
  .editor-contact-link {
    display: inline-flex;
    align-items: center;
    padding: 0.6em 1.4em;
    border-radius: 999px;
    background: rgba(213, 184, 108, 0.12);
    border: 1px solid rgba(213, 184, 108, 0.3);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.25s, color 0.25s, transform 0.25s;
  }
  
  .editor-contact-link:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
  }
  
  /* ===== Адаптив ===== */
  @media (max-width: 800px) {
    .editor-card {
      flex-direction: column;
      align-items: center;
      padding: 1.8rem;
    }
  
    .editor-photo-col {
      flex: 0 0 auto;
      width: 100%;
      max-width: 280px;
      margin-bottom: 1.5rem;
    }
  
    .editor-name {
      font-size: 1.8rem;
      text-align: center;
    }
  
    .editor-degree {
      text-align: center;
    }
  }
  
  @media (max-width: 500px) {
    .editor-profile {
      padding: 1rem 0.5rem;
    }
  
    .editor-card {
      padding: 1.2rem;
      border-radius: 18px;
    }
  
    .editor-name {
      font-size: 1.5rem;
    }
  }













/* =====================================================
   РЕДАКЦИОННАЯ КОЛЛЕГИЯ — КОНТЕЙНЕР И СЕКЦИИ
   ===================================================== */
.editorial-board {
  max-width: 1300px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.board-section {
  margin-bottom: 3.5rem;
}

/* Заголовок секции */
.board-section__header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.board-section__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-dark, #2c3e50);
  white-space: nowrap;
  margin: 0;
}

/* Золотой орнамент – линия с точкой */
.board-section__ornament {
  flex: 1;
  height: 2px;
  background: linear-gradient(
    to right,
    var(--primary-color, #d5b86c) 0%,
    var(--primary-color, #d5b86c) 40px,
    transparent 40px
  );
  position: relative;
}

.board-section__ornament::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--primary-color, #d5b86c);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(213, 184, 108, 0.6);
}

/* =====================================================
   СЕТКА КАРТОЧЕК
   ===================================================== */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.8rem;
}

/* Сетка редакции (более разреженная) */
.board-editorial__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

/* =====================================================
   КАРТОЧКА ЧЛЕНА РЕДКОЛЛЕГИИ
   ===================================================== */
.board-card {
  background: var(--glass-bg, rgba(255, 255, 255, 0.78));
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.3));
  border-radius: 20px;
  padding: 2rem 1.8rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition:
    transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1),
    box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Тонкая золотая полоска сверху при наведении */
.board-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--primary-color, #d5b86c);
  border-radius: 0 0 3px 3px;
  transition: width 0.35s ease;
}

.board-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.board-card:hover::after {
  width: 70%;
}

/* Фотография */
.board-card__photo {
  width: 138px;
  height: 184px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 3px solid var(--primary-color, #d5b86c);
  box-shadow: 0 6px 18px rgba(213, 184, 108, 0.3);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.board-card:hover .board-card__photo {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(213, 184, 108, 0.45);
}

.board-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center; /* лицо обычно сверху */
}

/* Информация */
.board-card__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.board-card__name {
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-dark, #2c3e50);
  margin: 0 0 0.6em;
  line-height: 1.3;
}

.board-card__degree {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color, #d5b86c);
  margin: 0 0 0.5em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.board-card__place {
  font-size: 0.85rem;
  color: #4a5568;
  line-height: 1.6;
  margin: 0;
}

/* Роль (для редакции) */
.board-card__role {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-color, #d5b86c);
  margin: 0 0 0.3em;
}

/* =====================================================
   ВЫДЕЛЕННЫЕ КАРТОЧКИ (главред и зам)
   ===================================================== */
.board-card--featured {
  flex-direction: row;
  text-align: left;
  align-items: center;
  padding: 2.5rem;
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.board-card--featured .board-card__photo {
  width: 160px;
  height: 213px;
  margin-bottom: 0;
}

.board-card--featured .board-card__info {
  align-items: flex-start;
}

.board-card--featured .board-card__name {
  font-size: 1.3rem;
}

.board-card--featured .board-card__degree {
  font-size: 0.9rem;
}

/* =====================================================
   АДАПТИВНОСТЬ
   ===================================================== */
@media (max-width: 768px) {
  .editorial-board {
    padding: 1.5rem 1rem 3rem;
  }

  .board-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .board-editorial__grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .board-card {
    padding: 1.5rem;
  }

  .board-card--featured {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .board-card--featured .board-card__info {
    align-items: center;
  }

  .board-card--featured .board-card__photo {
    width: 138px;
    height: 184px;
    margin-bottom: 1.2rem;
  }

  .board-section__header {
    gap: 0.8rem;
  }

  .board-section__title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .board-card__photo {
    width: 120px;
    height: 160px;
  }

  .board-card--featured .board-card__photo {
    width: 138px;
    height: 184px;
  }

  .board-card__name {
    font-size: 0.95rem;
  }

  .board-card__degree,
  .board-card__place {
    font-size: 0.8rem;
  }
}




/* ИНДЕКСАЦИЯ */

/* Основной контейнер секции */
.indexing-section {
  padding: 60px 20px;
  /* background-color: #fcfcfc; */ /* Мягкий светлый фон, чтобы белые карточки выделялись */
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.indexing-container {
  max-width: 1200px;
  margin: 0 auto;
}

.indexing-header {
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.indexing-header h2 {
  font-size: 1.75rem;
  font-weight: 600;
  /* color: #2c3e50; */
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 12px 0;
}

.header-line {
  display: block;
  width: 60px;
  height: 3px;
  background: #f39c12;
  margin: 0 auto;
  border-radius: 2px;
}

/* Современная адаптивная сетка (Grid) */
.indexing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  align-items: stretch;
}

/* Стилизация объемных карточек */
.indexing-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 30px 20px;
  min-height: 110px;
  position: relative;
  overflow: hidden;
  
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.05), 
    0 2px 4px -1px rgba(0, 0, 0, 0.03),
    0 20px 25px -5px rgba(0, 0, 0, 0.02);
  
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Контейнер для логотипов внутри карты */
.card-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  z-index: 2;
}

/* Поведение логотипов */
.partner-logo {
  max-width: 85%;
  max-height: 55px;
  object-fit: contain;
  filter: grayscale(10%) contrast(95%);
  transition: filter 0.3s ease;
}

/* Специфика для карточки с DOI + Crossref */
.dual-logo {
  gap: 15px;
}
.partner-logo-mini { max-height: 40px; object-fit: contain; }
.partner-logo-main { max-height: 35px; object-fit: contain; }


.indexing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(243, 156, 18, 0.3);
  
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.07), 
    0 10px 10px -5px rgba(0, 0, 0, 0.04),
    0 0 0 1px rgba(243, 156, 18, 0.05);
}

.indexing-card:hover .partner-logo {
  filter: grayscale(0%) contrast(100%); 
}

.card-overlay {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    rgba(255,255,255,0) 0%, 
    rgba(255,255,255,0.6) 50%, 
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-25deg);
  z-index: 1;
}

.indexing-card:hover .card-overlay {
  animation: shine 0.75s ease;
}

@keyframes shine {
  100% {
    left: 150%;
  }
}

/* Адаптив под мобильные устройства */
@media (max-width: 768px) {
  .indexing-section {
    padding: 40px 15px;
  }
  .indexing-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
  }
  .indexing-card {
    padding: 20px 15px;
  }
}










/* ==========================================================================
   РАЗДЕЛ ДОКУМЕНТОВ И АРХИВА (Modern Stylization)
   ========================================================================== */

.documents-archive-section {
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

.doc-group + .doc-group {
    margin-top: 60px;
}

/* Стилизация заголовков групп документов */
.doc-group-header {
    margin-bottom: 35px;
    text-align: center;
    position: relative;
}

.doc-group-header h3 {
    font-size: 26px;
    line-height: 1.15;                
    letter-spacing: -0.02em;          
    font-weight: 700;
    color: var(--hub-text);          
    margin: 0 0 12px 0;
    text-transform: none;
}

.header-divider {
    display: block;
    width: 40px;
    height: 3px;
    background: rgba(44, 62, 80, 0.1);
    margin: 0 auto;
    border-radius: 2px;
}

.divider-primary {
    background: var(--primary-color);
    box-shadow: 0 1px 6px rgba(213, 184, 108, 0.3);
}

/* Сетка документов (3 колонки по умолчанию) */
.doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Сетка для 2 документов (ISSN) */
.grid-2-col {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 800px; /* Центрируем и сужаем блок из 2 карт, чтобы они не растягивались во всю ширину */
    margin: 0 auto;
}

/* Стилизация карточки документа (Glassmorphism + Сложный Объем) */
.doc-card {
    text-decoration: none !important;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    
    background: var(--glass-bg); 
    border: 1px solid var(--glass-border);
    /* backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); */
    
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 8px 25px rgba(0, 0, 0, 0.05);
        
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                border-color 0.4s ease;
}

.card-primary {
    border-color: rgba(213, 184, 108, 0.25);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(213, 184, 108, 0.03) 100%);
}

.doc-card-inner {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.doc-preview {
    width: 100%;
    max-width: 240px; 
    aspect-ratio: 380 / 537;
    overflow: hidden;
    border-radius: 4px;
    background: #ffffff; 
    padding: 8px; 
    border: 1px solid rgba(0, 0, 0, 0.06);
    
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
}

.doc-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    display: block;
}

/* Блок информации под сканом */
.doc-info {
    width: 100%;
    margin-top: 18px;
    text-align: center;
    border-top: 1px dashed rgba(44, 62, 80, 0.1);
    padding-top: 15px;
}

.doc-type {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(44, 62, 80, 0.5);
    font-weight: 600;
    margin-bottom: 4px;
}

.doc-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 4px;
}

.doc-meta {
    display: block;
    font-size: 0.8rem;
    color: rgba(44, 62, 80, 0.6);
}

.card-primary .doc-type {
    color: var(--primary-color);
    filter: brightness(0.85);
}
.card-primary .doc-title {
    color: var(--text-dark);
}
.card-primary .doc-meta {
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-weight: 600;
    color: var(--primary-color);
    filter: brightness(0.8);
}

/* --- ВЗАИМОДЕЙСТВИЕ ПРИ НАВЕДЕНИИ (HOVER) --- */
.doc-card:hover {
    transform: translateY(-6px);
    border-color: rgba(44, 62, 80, 0.15);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 15px 35px rgba(0, 0, 0, 0.08);
}

.card-primary:hover {
    border-color: var(--primary-color);
}

/* Скан интерактивно реагирует на курсор */
.doc-card:hover .doc-preview {
    transform: scale(1.02) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Мобильная адаптация */
@media (max-width: 767px) {
    .doc-group + .doc-group {
        margin-top: 40px;
    }
    .doc-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}



.science-container {
  /* Локальные переменные компонента, расширяющие глобальный root */
  --sci-text-muted: #64748b;
  --sci-accent-color: #0d9488; 
  
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  max-width: var(--max-content-width); 
  margin: 0 auto;
  padding: 20px;
}

.science-section-title {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: var(--text-dark);
  border-left: 5px solid var(--primary-color); 
  padding-left: 15px;
  margin: 40px 0 25px 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.article-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  /* backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); */
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px -3px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-color);
}

.article-title-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  line-height: 1.4;
  display: block;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.article-card:hover .article-title-link {
  color: var(--primary-color);
}

.article-title-link:hover {
  text-decoration: underline;
}

.authors-list {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text-dark);
  opacity: 0.9;
}

.authors-list sup {
  color: var(--sci-accent-color);
  font-weight: bold;
}

.affiliations {
  font-size: 0.85rem;
  color: var(--sci-text-muted);
  margin-bottom: 15px;
  border-top: 1px dashed var(--glass-border);
  padding-top: 10px;
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--glass-border);
}

.email-link {
  font-size: 0.85rem;
  color: var(--sci-accent-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.email-link:hover {
  text-decoration: underline;
}

.read-btn {
  font-size: 0.85rem;
  background: var(--primary-color); 
  color: var(--text-dark) !important;
  padding: 6px 14px;
  border-radius: 4px;
  text-decoration: none !important;
  font-weight: 600;
  transition: opacity 0.2s, background-color 0.2s;
}

.read-btn:hover {
  filter: brightness(0.95);
}

@media (max-width: 480px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .article-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}