/* Reset and base styles */
/* Updated: 2025-01-02 19:15 - Fixed external padding for ALL .page-hero sections */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Плавная прокрутка к якорям */
html {
    scroll-behavior: smooth;
}

/* Hover-эффекты для партнерских карточек на главной */
.partner-link:hover .partner-card-minimal {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Отступ для якорных ссылок (компенсация фиксированного хедера) */
.partner-row-v2[id] {
    scroll-margin-top: 120px;
}

/* Charter page specific styles */
.charter-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--primary-color);
}

.charter-header h1 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 0;
    font-weight: 700;
}

.charter-section {
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 1px solid #e9ecef;
}

.charter-section:last-child {
    border-bottom: none;
}

.charter-section h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
}

.charter-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
    text-align: justify;
}

.charter-section ul {
    margin: 1rem 0 1.5rem 2rem;
}

.charter-section li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    text-align: justify;
}

.charter-section p strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Event details list styles */
.event-details-list {
    background: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.event-details-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.event-details-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 1rem;
    line-height: 1.5;
}

.event-details-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.event-details-list li strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Event Registration Form - Unique styles copying join form design */
.event-registration-section {
    background: #f8f9fa;
    padding: 5rem 0;
    margin-top: 3rem;
}

.event-reg-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-weight: 700;
    position: relative;
}

.event-reg-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.event-reg-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
}

.event-reg-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}

.event-reg-form-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.event-reg-group {
    margin-bottom: 1.5rem;
}

.event-reg-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.event-reg-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    box-sizing: border-box;
}

.event-reg-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.event-reg-btn {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.event-reg-btn:hover {
    background: #3a7bc8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.event-reg-btn i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .event-reg-title {
        font-size: 1.6rem;
    }
    
    .event-reg-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .event-reg-form {
        padding: 2rem;
        margin: 0; /* УБРАЛ боковые отступы - теперь форма по ширине серого блока */
        max-width: 100%; /* РАСШИРЯЮ форму на всю ширину */
        width: 100%; /* ПРИНУДИТЕЛЬНО на всю ширину */
    }
}

/* Publication date styling for news and events */
.event-single-meta .event-meta-item {
    font-size: 0.9rem;
    font-style: italic;
    color: #6c757d;
}

.event-single-meta .event-meta-item strong {
    font-weight: 500;
    font-style: normal;
}

/* Registration Closed Message */
.event-registration-closed {
    background: #f8f9fa;
    padding: 3rem 0;
    margin-top: 3rem;
}

.registration-closed-message {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.registration-closed-message i {
    font-size: 3rem;
    color: #dc3545;
    margin-bottom: 1rem;
}

.registration-closed-message h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.registration-closed-message p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Mobile responsiveness for charter */
@media (max-width: 768px) {
    .charter-header h1 {
        font-size: 1.8rem;
    }
    
    .charter-section h3 {
        font-size: 1.4rem;
    }
    
    .charter-section ul {
        margin-left: 1.5rem;
    }
    
    /* Ethics и Charter pages - белый блок на всю ширину в мобайле */
    .standard-page .mission-block {
        max-width: 100% !important;
        padding: 1.5rem !important;
        margin: 0 !important;
        width: 100% !important;
    }
    
    .standard-page .mission-content .container {
        padding: 0 15px !important; /* Как в шапке */
        max-width: 100% !important;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    padding-top: 80px; /* Отступ сверху равный высоте шапки */
    /* 🔥 КВАНТОВЫЙ БОГ: ПРИНУДИТЕЛЬНАЯ ПРОКРУТКА */
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
    min-height: 100vh !important;
}

html {
    /* 🔥 КВАНТОВЫЙ БОГ: ПРИНУДИТЕЛЬНАЯ ПРОКРУТКА НА HTML */
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
}

/* Corporate Color Variables - Updated for Hero Harmony */
:root {
    --primary-color: #1a4e8a;      /* From Hero Gradient - Deep Blue */
    --primary-hover: #0d3b66;      /* Darker Hero Tone for Hover */
    --secondary-color: #374151;    /* Professional Dark Gray */
    --light-gray: #F9FAFB;         /* Clean Light Gray */
    --medium-gray: #6B7280;        /* Medium Gray */
    --white: #FFFFFF;              /* Pure White */
    --accent-color: #0d3b66;       /* Darker Hero Blue for Accents */
    --text-dark: #1F2937;          /* Dark Text */
    --text-light: #6B7280;         /* Light Text */
    --border-color: #E5E7EB;       /* Subtle Border */
    --success-color: #059669;      /* Professional Green */
    --warning-color: #D97706;      /* Professional Orange */
    --hero-corporate-blue: #1a4e8a;     /* Updated Hero Blue */
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
    line-height: 1.4;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color); /* Добавляем синюю границу */
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--primary-color); /* Синий фон при наведении */
    color: var(--white); /* Белый текст при наведении */
    border: 2px solid var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color); /* Синий текст */
    border: none; /* Убираем границу */
    font-weight: 500;
}

.btn-secondary:hover {
    background-color: rgba(74, 144, 226, 0.1); /* Легкий синий фон при наведении */
    color: var(--primary-color); /* Синий текст при наведении */
    border: none;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}

.btn-full {
    width: 100%;
}

/* Section titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0; /* Золотая середина - больше чем 0.5rem, меньше чем 0.75rem */
    min-height: 68px; /* Золотая середина - больше чем 52px, меньше чем 80px */
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 68px; /* Синхронизировано с header-content */
}

.logo-img {
    width: 202px; /* ВОССТАНОВЛЕН прежний размер - текст должен читаться! */
    height: auto;
    max-height: 75px; /* ВОССТАНОВЛЕНА прежняя высота для читаемости */
    object-fit: contain;
    display: block; /* Убираем возможные отступы inline элементов */
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    max-width: 280px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

/* Navigation */
.nav {
    position: relative;
    height: 68px; /* Синхронизировано с header-content */
    display: flex;
    align-items: center;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
    display: block;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 5px 11px; /* Золотая середина между 4px и 6px */
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.92rem; /* Золотая середина между 0.9rem и 0.95rem */
    height: 34px; /* Золотая середина между 32px и 36px */
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: var(--light-gray);
}

.nav-link.active {
    color: var(--primary-color) !important;
    background-color: var(--light-gray) !important;
    font-weight: 600 !important;
}

/* Специальная кнопка "Вступление" - всегда синяя */
.nav-link.cta-button {
    color: var(--white) !important;
    background-color: var(--primary-color) !important;
    font-weight: 600 !important;
}

.nav-link.cta-button:hover {
    color: var(--white) !important;
    background-color: var(--primary-hover) !important;
}

/* Стили для активных выпадающих меню */
.nav-dropdown.active > .nav-link {
    color: var(--primary-color) !important;
    background-color: var(--light-gray) !important;
    font-weight: 600 !important;
}

.dropdown-link.active {
    color: var(--primary-color) !important;
    background-color: var(--light-gray) !important;
    font-weight: 600 !important;
}

/* Dropdown Menus */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 40px;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.15);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 0.75rem 0;
    margin: 0;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-link:hover {
    background-color: rgba(30, 58, 138, 0.05);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

/* Main content */
.main {
    margin-top: 0; /* Remove gap between header and hero */
}

/* Hero section - Modern Corporate Panel */
.hero {
    background: linear-gradient(135deg, #0d3b66 0%, #1a4e8a 100%);
    color: var(--white);
    padding: 4rem 0; /* КАК В БЕКАПЕ37 - только для главной страницы */
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.03) 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: center;
    min-height: 300px;
}

.hero-content {
    z-index: 2;
    position: relative;
}

/* Hero title на главной странице - большой */
.hero .hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.2;
    color: var(--white);
}

/* УДАЛЕНО - теперь все через hero_section.php инклуд */

/* УДАЛЕНО - теперь все через hero_section.php инклуд */

/* УДАЛЕНО - теперь все через hero_section.php инклуд */

/* Специальные стили больше не нужны - убрано */

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem; /* Отступ сверху */
}

/* Кнопки на главной странице - по левому краю */
.hero .hero-actions {
    justify-content: flex-start;
}

/* Кнопки на других страницах - по центру */
.page-hero .hero-actions {
    justify-content: center;
}

.hero-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-actions .btn i {
    font-size: 1rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    z-index: 2;
    position: relative;
    padding: 0 0.75rem;
    margin-top: 0.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    min-height: 70px;
    /* Убираю flexbox - возвращаю к изначальному состоянию */
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.25rem;
    line-height: 1;
}

/* Специальное выравнивание для 350+ */
.stat-number-special {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Создаем невидимый элемент слева для компенсации плюса справа */
.stat-number-special::before {
    content: "+";
    font-size: 0.9em;
    opacity: 0; /* Невидимый */
    margin-right: 3px;
}

.stat-main {
    /* Основная цифра 350 теперь точно по центру */
    display: inline-block;
}

.stat-plus {
    /* Плюс справа */
    display: inline-block;
    font-size: 0.9em;
    margin-left: 3px;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.stat-icon {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}


/* About V1: Structured Content */
.about-v1 {
    padding: 5rem 0;
    background-color: var(--white);
}

/* Уменьшенные отступы для всех секций на странице about */
.about-page .about-v1 {
    padding: 3rem 0; /* Уменьшили с 5rem до 3rem */
}

/* ========================================
   УНИВЕРСАЛЬНАЯ ХИРО-СЕКЦИЯ (hero_section.php)
   ======================================== */

/* Базовые стили для всех хиро-секций через инклуд */
.page-hero {
    background: linear-gradient(135deg, #0d3b66 0%, #1a4e8a 100%);
    color: var(--white);
    padding: 4rem 0; /* Для страниц С подзаголовком */
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Уменьшенные отступы для страниц БЕЗ подзаголовка */
.page-hero.hero-no-subtitle {
    padding: 2.5rem 0; /* МЕНЬШЕ отступы когда только H1 */
}

/* Заголовок в хиро-секции */
.page-hero .hero-title {
    font-size: 1.8rem; /* Единый размер для всех страниц */
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.2;
    color: var(--white);
}

/* Подзаголовок в хиро-секции */
.page-hero .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Контейнер для кнопок */
.page-hero .hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

/* Мобильные стили для хиро-секции */
@media (max-width: 768px) {
    .page-hero {
        padding: 3rem 0; /* Меньше отступы в мобиле */
    }
    
    /* Еще меньше для страниц без подзаголовка в мобиле */
    .page-hero.hero-no-subtitle {
        padding: 2rem 0; /* МИНИМУМ для только H1 */
    }
    
    .page-hero .hero-title {
        font-size: 1.5rem; /* Меньше в мобиле */
    }
    
    .page-hero .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-hero .hero-title {
        font-size: 1.2rem; /* Еще меньше на телефонах */
    }
}

/* ======================================== */

/* ТЕСТОВАЯ ХИРО-СЕКЦИЯ С УМЕНЬШЕННЫМИ ОТСТУПАМИ */
.page-hero-test {
    padding: 2rem 0; /* ВНЕШНИЕ отступы для всей тестовой секции */
}

/* УНИВЕРСАЛЬНЫЕ ВНЕШНИЕ ОТСТУПЫ ДЛЯ НОВОЙ АРХИТЕКТУРЫ hero_section1.php */
.page-hero {
    padding: 2rem 0 !important; /* ВНЕШНИЕ отступы для ВСЕХ хиро-секций */
}

.page-hero-test.hero-no-subtitle {
    padding: 0; /* БЕЗ отступов - отступы внутри секций */
}

/* 3 СЕКЦИИ ВНУТРИ ХИРО-СЕКЦИИ */
.page-hero-test .hero-section {
    text-align: center;
    margin: 0; /* НЕТ отступов между секциями */
    padding: 0; /* НЕТ отступов между секциями */
}

/* Секция 1: Заголовок */
.page-hero-test .hero-section-title {
    padding: 0.6rem 0; /* УМЕНЬШИЛ в 2.5 раза: с 1.5rem до 0.6rem */
}

/* Секция 2: Подзаголовок */
.page-hero-test .hero-section-subtitle {
    padding: 0.6rem 0; /* ОДИНАКОВО со всеми секциями */
}

/* Секция 3: Кнопки */
.page-hero-test .hero-section-actions {
    padding: 0.6rem 0; /* УМЕНЬШИЛ в 2.5 раза: с 1.5rem до 0.6rem */
}

/* Убираю старые margin у элементов - теперь отступы через секции */
.page-hero.page-hero-test .hero-title {
    margin: 0 !important; /* ПОЛНОЕ ОБНУЛЕНИЕ всех отступов - ПОВЫШЕННАЯ СПЕЦИФИЧНОСТЬ */
    text-align: center !important; /* ПРИНУДИТЕЛЬНОЕ ВЫРАВНИВАНИЕ ПО ЦЕНТРУ */
}

.page-hero.page-hero-test .hero-subtitle {
    margin: 0 !important; /* ПОЛНОЕ ОБНУЛЕНИЕ всех отступов - ПОВЫШЕННАЯ СПЕЦИФИЧНОСТЬ */
    text-align: center !important; /* ПРИНУДИТЕЛЬНОЕ ВЫРАВНИВАНИЕ ПО ЦЕНТРУ */
    max-width: 800px !important; /* ОГРАНИЧИВАЮ ШИРИНУ КАК В СТАРОЙ СЕКЦИИ */
    margin-left: auto !important; /* ЦЕНТРИРУЮ ЧЕРЕЗ AUTO MARGIN */
    margin-right: auto !important; /* ЦЕНТРИРУЮ ЧЕРЕЗ AUTO MARGIN */
}

.page-hero.page-hero-test .hero-actions {
    margin: 0 !important; /* ПОЛНОЕ ОБНУЛЕНИЕ всех отступов - ПОВЫШЕННАЯ СПЕЦИФИЧНОСТЬ */
    text-align: center !important; /* ПРИНУДИТЕЛЬНОЕ ВЫРАВНИВАНИЕ ПО ЦЕНТРУ */
}

/* Мобильные стили для тестовой секции */
@media (max-width: 768px) {
    /* Внешние отступы всей тестовой секции в мобиле */
    .page-hero-test {
        padding: 1.5rem 0; /* Меньше внешние отступы в мобиле */
    }
    
    /* Внешние отступы для всех новых хиро-секций в мобиле */
    .page-hero {
        padding: 1.5rem 0 !important; /* Меньше внешние отступы в мобиле для ВСЕХ */
    }
    
    /* Отступы между секциями в мобиле для ОБЫЧНЫХ хиро-секций */
    .page-hero:not(.page-hero-test) .hero-section-title {
        padding: 0.4rem 0;
        margin-bottom: 0.5rem; /* ОТСТУП МЕЖДУ СЕКЦИЯМИ В МОБИЛЕ */
    }
    
    /* Убираю margin-bottom если секция заголовка последняя (нет подзаголовка и кнопок) */
    .page-hero:not(.page-hero-test).hero-no-subtitle .hero-section-title {
        margin-bottom: 0 !important; /* НЕТ отступа если это единственная секция */
    }
    
    .page-hero:not(.page-hero-test) .hero-section-subtitle {
        padding: 0.4rem 0;
        margin-bottom: 0.5rem; /* ОТСТУП МЕЖДУ СЕКЦИЯМИ В МОБИЛЕ */
    }
    
    .page-hero:not(.page-hero-test) .hero-section-actions {
        padding: 0.4rem 0;
        /* НЕТ margin-bottom для последней секции */
    }
    
    .page-hero-test .hero-section-title {
        padding: 0.4rem 0; /* УМЕНЬШИЛ в 2.5 раза: с 1rem до 0.4rem */
        margin-bottom: 0.5rem; /* ОТСТУП МЕЖДУ СЕКЦИЯМИ В МОБИЛЕ */
    }
    
    /* Убираю margin-bottom если секция заголовка последняя (нет подзаголовка и кнопок) */
    .page-hero-test.hero-no-subtitle .hero-section-title {
        margin-bottom: 0 !important; /* НЕТ отступа если это единственная секция */
    }
    
    .page-hero-test .hero-section-subtitle {
        padding: 0.4rem 0; /* ОДИНАКОВО со всеми секциями в мобиле */
        margin-bottom: 0.5rem; /* ОТСТУП МЕЖДУ СЕКЦИЯМИ В МОБИЛЕ */
    }
    
    .page-hero-test .hero-section-actions {
        padding: 0.4rem 0; /* УМЕНЬШИЛ в 2.5 раза: с 1rem до 0.4rem */
        /* НЕТ margin-bottom для последней секции */
    }
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.03) 70%);
    pointer-events: none;
    z-index: 1;
}

/* Уменьшенные отступы для секции президента */
.about-page .partners-list-v2 {
    padding: 3rem 0; /* Такие же как у других секций */
}

/* Большой отступ под заголовком "Президент ассоциации" */
.about-page .partners-list-v2 .section-title {
    margin-bottom: 4.5rem !important; /* УВЕЛИЧЕННЫЙ отступ под заголовком и линией */
}

/* Большой отступ под заголовком "Цели" - используем селектор по содержимому */
.about-page .about-v1:not(.history-section) .section-title {
    margin-bottom: 4.5rem !important; /* УВЕЛИЧЕННЫЙ отступ под заголовком и линией */
}



.about-v1-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Равные части 50/50 для главной */
    gap: 4rem;
    align-items: flex-start;
    margin-bottom: 3rem;
}

/* Специальная сетка ТОЛЬКО для страницы about */
.about-page .about-v1-grid {
    grid-template-columns: 3fr 1fr; /* Больше места для текста, меньше для показателей */
    margin-bottom: 0; /* Убираем лишние отступы - используем только padding секций */
    align-items: center; /* Выравниваем блоки по центру по вертикали */
}

/* Исключение: для целей принудительно 50/50 */
.about-page .about-v1-grid.goals-grid-50-50 {
    grid-template-columns: 1fr 1fr !important; /* Принудительно 50/50 для целей */
    align-items: stretch; /* Растягиваем колонки по высоте */
}

/* Выравниваем высоту блоков в разделе целей */
.about-page .goals-grid-50-50 .about-v1-facts {
    display: flex;
    flex-direction: column;
    height: 100%; /* Занимаем всю высоту колонки */
}

/* Убираем отступ - теперь используем center выравнивание */

.about-page .goals-grid-50-50 .fact-card {
    flex: 1; /* Все карточки занимают равную высоту */
    display: flex; /* Принудительно flex для горизонтального расположения */
    align-items: stretch !important; /* Растягиваем содержимое по высоте */
    min-height: 140px !important; /* Увеличиваем минимальную высоту */
    padding: 1.5rem 1.5rem 2rem 1.5rem !important; /* Увеличенный нижний отступ */
    box-sizing: border-box !important; /* Учитываем padding в размерах */
}

/* Контент карточки должен занимать всю доступную ширину */
.about-page .goals-grid-50-50 .fact-content {
    flex: 1; /* Занимает всю оставшуюся ширину */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Заголовки должны иметь фиксированную высоту */
.about-page .goals-grid-50-50 .fact-title {
    min-height: 2.8rem; /* Фиксированная высота для 1-2 строк */
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

/* Описание начинается на одном уровне */
.about-page .goals-grid-50-50 .fact-desc {
    flex: 1;
    margin: 0 !important;
    padding-bottom: 0.5rem !important; /* Принудительный нижний отступ */
    line-height: 1.6 !important;
}

.about-v1-content {
    padding-right: 2rem;
}

.about-v1-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-v1-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Блок История создания - специальные стили ТОЛЬКО для этого блока */
.history-section .section-title {
    text-align: left; /* H2 выровнен по левому краю */
}

/* Линия под заголовком История создания - по левому краю ТОЛЬКО для этого блока */
.history-section .section-title::after {
    left: 0; /* Линия по левому краю */
    transform: none; /* Убираем центрирование */
}

/* Статистические карточки в блоке истории - ПРИНУДИТЕЛЬНО переопределяем */
.about-v1-facts.stats-container {
    display: block !important;
    flex-direction: unset !important;
}

.about-v1-facts.stats-container .hero-stats-grid {
    display: grid !important;
    grid-template-columns: 1fr !important; /* 4 блока в столбец как в hero */
    gap: 0.75rem !important; /* Как в hero-секции */
    flex-direction: unset !important;
}

/* Стили как в hero-секции, но с белым фоном и синим шрифтом */
.about-v1-facts.stats-container .stat-card {
    background: rgba(255, 255, 255, 0.95); /* Белый фон вместо прозрачного */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 1rem 1.25rem; /* Как в hero-секции */
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-v1-facts.stats-container .stat-card:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

.about-v1-facts.stats-container .stat-number {
    font-size: 1.8rem; /* Как в hero-секции */
    font-weight: 800;
    color: var(--primary-color); /* Синий цвет вместо белого */
    margin-bottom: 0.25rem;
    line-height: 1;
}

.about-v1-facts.stats-container .stat-label {
    font-size: 0.85rem; /* Как в hero-секции */
    color: var(--primary-color); /* Синий цвет вместо белого */
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.about-v1-facts.stats-container .stat-icon {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 28px;
    height: 28px;
    background: var(--primary-color); /* Синий кружочек как в hero-секции */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-v1-facts.stats-container .stat-icon i {
    font-size: 0.8rem;
    color: white; /* Белые иконки в серых кружочках */
}

/* ПРИНУДИТЕЛЬНО показываем сетку статистики */
.stats-container {
    display: block !important;
    flex-direction: unset !important;
}

.stats-container .hero-stats-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important; /* 2 карточки в ряд */
    flex-direction: unset !important;
}

/* Обычные fact-card для других блоков */
.about-v1-facts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Серый фон для блока Миссия */
.bg-gray {
    background: var(--light-gray) !important;
}


.fact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.1);
}

.fact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fact-icon i {
    font-size: 1.2rem;
    color: var(--white);
}

.fact-content {
    flex: 1;
}

.fact-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.fact-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ПРИНУДИТЕЛЬНЫЙ ОТСТУП для fact-desc в разделе целей */
.about-page .goals-grid-50-50 .about-v1-facts .fact-card .fact-desc {
    margin-bottom: 0.75rem !important;
    padding-bottom: 0.5rem !important;
}

.about-v1-countries {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.countries-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
}

.countries-track {
    display: flex;
    align-items: center;
    gap: 2rem;
    animation: marquee 25s linear infinite;
    white-space: nowrap;
    width: fit-content;
}

.countries-track:hover {
    animation-play-state: paused;
}

.flag-item {
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
    width: 48px;
    height: 32px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.flag-item:hover {
    transform: scale(1.1);
}

/* CSS флаги для каждой страны - ИСПОЛЬЗУЕМ SVG ФАЙЛЫ */
.flag-item[data-country="AM"] {
    background-image: url("/flags/armenia.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.flag-item[data-country="BY"] {
    background-image: url("/flags/belarus.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.flag-item[data-country="KZ"] {
    background-image: url("/flags/kazakhstan.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.flag-item[data-country="KG"] {
    background-image: url("/flags/kyrgyzstan.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.flag-item[data-country="MD"] {
    background-image: url("/flags/moldova.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.flag-item[data-country="TJ"] {
    background-image: url("/flags/tajikistan.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.flag-item[data-country="TM"] {
    background-image: url("/flags/turkmenistan.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.flag-item[data-country="UZ"] {
    background-image: url("/flags/uzbekistan.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.flag-item[data-country="UA"] {
    background-image: url("/flags/ukraine.png");
    background-size: cover;
    background-repeat: no-repeat;
}

/* Стили для чекбокса формы заявки */
.checkbox-label {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-weight: normal !important;
}

.checkbox-label input[type="checkbox"] {
    flex-shrink: 0 !important;
    margin: 0 !important;
}

.checkbox-label span {
    font-weight: normal !important;
}

.checkbox-label a {
    font-weight: normal !important;
}

/* Стили для страницы кодекса этики */
.ethics-approval {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.ethics-toc {
    background: var(--bg-light);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    margin-top: 0.5rem;
}

.ethics-toc li {
    padding: 0.1rem 0;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.ethics-toc a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.ethics-toc a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.ethics-content h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 2.5rem 0 0.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.principle-title {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 0.8rem !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.definitions p {
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: var(--bg-light);
    border-radius: 6px;
}

.goals-tasks ul {
    margin: 1rem 0;
}

.goals-tasks li {
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
}

.principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.principle-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.principle-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.principle-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%);
    }
}



/* Кликабельные карточки - hover эффекты */
.event-card:hover,
.press-card-c:hover,
.news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Partners section */
.partners {
    padding: 5rem 0;
    background-color: var(--white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.partner-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(30, 58, 138, 0.15);
}

.partner-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--light-gray);
}

.partner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.partner-title {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.partner-experience {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========== ДЕМО ВАРИАНТЫ - УДАЛИТЬ ПОСЛЕ ВЫБОРА ========== */

/* ВАРИАНТ A: Компактные визитки */
.partners-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.partner-card-compact {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    gap: 1.25rem;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
    max-height: 120px;
}

.partner-card-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.12);
}

.partner-photo-compact {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--light-gray);
    flex-shrink: 0;
}

.partner-photo-compact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-info-compact {
    flex: 1;
}

.partner-name-compact {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.partner-title-compact {
    font-size: 0.95rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-weight: 600;
    line-height: 1.3;
}

.partner-experience-compact {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ВАРИАНТ B: Элегантные профили */
.partners-grid-elegant {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.partner-card-elegant {
    background: linear-gradient(135deg, var(--white) 0%, #f8faff 100%);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(30, 58, 138, 0.1);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.partner-card-elegant::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.partner-card-elegant:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.15);
}

.partner-photo-elegant {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid transparent;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 3px;
}

.partner-photo-elegant img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.partner-name-elegant {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    position: relative;
}

.partner-title-elegant {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.4;
}

.partner-experience-elegant {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 1rem;
    background-color: rgba(30, 58, 138, 0.08);
    border-radius: 20px;
    display: inline-block;
}

/* ВАРИАНТ C: Минималистичный */
.partners-grid-minimal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.partner-card-minimal {
    background-color: var(--white);
    border-radius: 0;
    border: 1px solid var(--border-color);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.partner-card-with-badge {
    padding-top: 3rem;
}

.director-top-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.top-partner-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #6b7280, #374151);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partner-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #9ca3af, #6b7280);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partner-card-minimal:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.1);
}

.partner-card-minimal::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60px;
    background-color: var(--primary-color);
    transition: height 0.3s ease;
}

.partner-card-minimal:hover::after {
    height: 80px;
}

.partner-name-minimal {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
    text-align: left;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.partner-content-minimal {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.partner-photo-minimal {
    width: 90px;
    height: 90px;
    border-radius: 0;
    overflow: hidden;
    flex-shrink: 0;
}

.partner-photo-minimal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.partner-card-minimal:hover .partner-photo-minimal img {
    filter: grayscale(0%);
}

.partner-info-minimal {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.partner-title-minimal {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.partner-experience-minimal {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Events section */
.events {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.event-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.event-date {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    align-self: flex-start;
    height: 100px;
}

.event-day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.event-year {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.event-content {
    flex: 1;
}

.event-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.event-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.event-location,
.event-time {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-location i,
.event-time i {
    color: var(--primary-color);
    width: 16px;
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .event-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .event-date {
        align-self: center;
        width: 100px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-background {
        min-height: 250px;
    }
    
    .news-overlay {
        padding: 1.25rem;
    }
    
    .news-date {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .news-title {
        font-size: 0.95rem;
        padding: 0.4rem 0.6rem;
        max-height: 8rem;
        -webkit-line-clamp: 6;
        margin-bottom: 0.75rem;
    }
    
    .news-link {
        font-size: 0.8rem;
    }
}

/* Press section */
.press {
    padding: 5rem 0;
    background-color: var(--white);
}

.press-list {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.press-item {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    gap: 1.5rem;
    padding: 1.5rem;
}

.press-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.1);
}

.press-image {
    flex: 0 0 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 0px;
    flex-shrink: 0;
}

.press-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.press-item:hover .press-image img {
    transform: scale(1.05);
}

.press-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.press-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.press-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.press-excerpt {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.press-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.press-link:hover {
    color: #357ABD;
    text-decoration: underline;
}

/* News section */
.news {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.news-card {
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(30, 58, 138, 0.2);
}

.news-background {
    width: 100%;
    height: 100%;
    min-height: 280px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: transform 0.3s ease;
}

.news-card:hover .news-background {
    transform: scale(1.02);
}

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
    padding: 1.5rem;
}

.news-content-overlay {
    color: white;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.news-title {
    font-size: 1.0rem;
    font-weight: 600;
    color: white;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.4);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    display: -webkit-box;
    width: fit-content;
    max-width: 100%;
    max-height: 10rem;
    overflow: hidden;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

/* Event details in news cards */
.event-details {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.event-date-info,
.event-type-info {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.3px;
    margin-bottom: 0.4rem;
    background: rgba(74, 144, 226, 0.8);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    backdrop-filter: blur(3px);
    display: inline-block;
    width: fit-content;
}

.event-type-info {
    background: rgba(16, 185, 129, 0.8);
}

.news-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
    display: inline-block;
    align-self: flex-start;
}

.news-link:hover {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.8);
}

/* Press V2 section - New Horizontal Design */
.press {
    padding: 5rem 0;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
}

.version-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 1rem;
    vertical-align: top;
}

/* Пресс-релизы - новый дизайн с датой слева */
.press-feed {
    width: 100%;
    max-width: 1200px; /* Расширили до стандартной ширины */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.press-card-horizontal {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border-radius: 0;
    overflow: visible;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-height: 80px;
    padding: 0;
}

.press-card-horizontal:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Красивая дата слева */
.press-date-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: var(--white);
    padding: 1.5rem 0;
    text-align: center;
    position: relative;
    border-radius: 0;
    z-index: 2;
    align-self: stretch;
}

/* УБИРАЕМ СТРЕЛОЧКУ ДЛЯ КВАДРАТНОГО ДИЗАЙНА */
.press-date-section::after {
    display: none;
}

.press-day {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.press-month-year {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* ФОТО УМЕНЬШЕННОЕ НА 40% С ОТСТУПОМ */
.press-thumb {
    width: 96px;
    flex-shrink: 0;
    height: 60%;
    overflow: hidden;
    background: var(--light-gray);
    border-radius: 0;
    align-self: center;
    margin: 0 0 0 1rem;
    padding: 0;
    display: flex;
}

/* ПРОСТОЕ ФОТО БЕЗ СКРУГЛЕНИЙ */
.press-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 0;
    display: block;
}

/* Убираем масштабирование фото, чтобы сохранить квадратные углы */
.press-card-horizontal:hover .press-thumb img {
    /* transform: scale(1.05); - УБРАНО для сохранения квадратных углов */
}

/* ПРАВАЯ ЧАСТЬ С ТЕКСТОМ */
.press-content-section {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem 1.25rem 2rem;
    border-radius: 0;
    align-self: stretch;
    background: var(--white);
}

.press-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.5rem 0;
}

.press-title-compact {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0 0 0.75rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.press-link-simple {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    width: fit-content;
}

.press-link-simple:hover {
    color: var(--primary-hover);
    transform: translateX(4px);
}

.press-link-simple::after {
    content: '→';
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.press-link-simple:hover::after {
    transform: translateX(2px);
}



/* Мобильные стили для пресс-релизов */
@media (max-width: 768px) {
    .press-card-horizontal {
        flex-direction: column;
        min-height: auto;
    }
    
    .press-date-section {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.25rem;
    }
    
    .press-date-section::after {
        display: none;
    }
    
    .press-day {
        font-size: 1.5rem;
    }
    
    .press-thumb {
        width: 100%;
        height: 140px;
    }
    
    .press-content-section {
        padding: 1rem 1.25rem;
    }
    
    .press-title-compact {
        font-size: 1rem;
        margin-bottom: 0.6rem;
        -webkit-line-clamp: 3;
    }
    
    .press-link-simple {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    
    .version-badge {
        display: block;
        margin: 0.5rem 0 0 0;
        width: fit-content;
    }
}

/* Join section */
.join {
    padding: 5rem 0;
    background-color: var(--white);
}

.join-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Professional benefits section */
.join-info {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafe 100%);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid #e1e5e9;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    height: fit-content;
}

.join-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    text-align: left;
}



.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.5;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
}

.benefits-list li:last-child {
    margin-bottom: 0;
}

.benefits-list li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
    background: rgba(74, 144, 226, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Professional Form styles */
.join-form {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}



.form-group {
    margin-bottom: 1.8rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.7rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    letter-spacing: 0.025em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    background-color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.08), 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
    background-color: #ffffff;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
    padding-right: 50px;
    appearance: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.checkbox-label a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Enhanced submit button */
.join-form .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    border: none;
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    letter-spacing: 0.025em;
    position: relative;
    overflow: hidden;
}

.join-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.join-form .btn-primary:hover::before {
    left: 100%;
}

.join-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
    background: linear-gradient(135deg, #1e40af 0%, var(--primary-color) 100%);
}

.join-form .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.join-form .btn-primary i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.join-form .btn-primary:hover i {
    transform: translateX(2px);
}

/* Mobile responsiveness for form */
@media (max-width: 768px) {
    .join-form {
        padding: 2rem 1.5rem;
        border-radius: 12px;
        margin: 0;
    }
    
    .form-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .join-form .btn-primary {
        padding: 16px 24px;
        font-size: 1rem;
    }
    
    .checkbox-label {
        font-size: 0.9rem;
        gap: 0.75rem;
    }
    
    .checkbox-label input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }
    
    /* Mobile styles for benefits section */
    .join-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .join-info {
        padding: 2rem 1.5rem;
        margin: 0;
        order: 2; /* Show form first on mobile */
    }
    
    .join-info h3 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .benefits-list li {
        margin-bottom: 0.8rem;
        font-size: 0.9rem;
        line-height: 1.4;
        padding: 6px 0;
    }
    
    .benefits-list li i {
        width: 22px;
        height: 22px;
        font-size: 0.8rem;
    }
    
    .join-form {
        order: 1; /* Show form first on mobile */
    }
}

/* Contacts section */
.contacts {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
    width: 24px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #357ABD;
    text-decoration: underline;
}

.map-placeholder {
    background-color: var(--border-color);
    border-radius: 12px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--medium-gray);
}

/* Google Maps iframe styles */
.contact-map iframe {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    border: 0;
}

/* Section footer */
.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

/* Footer Press Section */
.footer-press-section {
    background: #1a365d;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-press-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-press-header {
    text-align: left;
    margin-bottom: 1.5rem;
}

.footer-press-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    position: relative;
    display: inline-block;
}

.footer-press-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
}

.footer-press-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Press Releases Column */
.footer-press-releases {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-press-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-press-item:last-child {
    border-bottom: none;
}

.footer-press-date {
    font-size: 0.85rem;
    color: #a0aec0;
    white-space: nowrap;
    min-width: 80px;
    font-weight: 500;
}

.footer-press-link {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.footer-press-link:hover {
    color: var(--white);
}

.footer-press-more {
    margin-top: 1.5rem;
    text-align: left;
}

.footer-press-more-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-press-more-link:hover {
    color: var(--white);
}

/* Media Logos Column */
.footer-media-logos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin-top: -1.5rem;
}

.footer-logos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 400px;
}

.footer-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 60px;
}

.footer-logo-item:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.footer-media-logo {
    max-width: 100px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Main Footer Content */
.footer .container:last-child {
    padding: 3rem 0 1rem;
}

/* Responsive Styles for Footer Press Section */
@media (max-width: 768px) {
    .footer-press-section {
        padding: 1.5rem 0;
    }
    
    .footer-press-content {
        padding: 0 !important;
    }
    
    .footer-press-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-press-title {
        font-size: 1.5rem;
    }
    
    .footer-press-item {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .footer-press-date {
        min-width: auto;
    }
    
    .footer-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        max-width: 100%;
        width: 100%;
    }
    
    .footer-logo-item {
        padding: 1.2rem 0.8rem;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .footer-media-logo {
        max-width: 100px;
        max-height: 50px;
        width: auto;
        height: auto;
        object-fit: contain;
        object-position: center;
    }
    
    .footer-press-more {
        margin-bottom: 2rem;
    }
    
    .footer-media-logos {
        margin-bottom: 2.5rem;
    }
}

/* Принудительно белый цвет для ВСЕХ ссылок в футере */
.footer a {
    color: var(--white) !important;
    text-decoration: none !important;
}

.footer a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 202px; /* Синхронизировано с логотипом в header */
    height: auto;
    max-height: 75px; /* Синхронизировано с логотипом в header */
    object-fit: contain;
    display: block; /* Убираем возможные отступы inline элементов */
}

.footer-logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    max-width: 200px;
    line-height: 1.2;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-title {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact a {
    color: var(--white) !important; /* Белый цвет для всех ссылок в контактах */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.footer-contact i {
    width: 16px;
    color: var(--white); /* Изменено с синего на белый */
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
    /* Body padding для мобиле */
    body {
        padding-top: 90px; /* Увеличенный отступ для мобиле */
    }
    
    /* Header */
    .header-content {
        padding: 0.75rem 0;
    }
    
    .logo {
        flex: 1;
    }
    
    .logo-img {
        width: 180px;
        max-height: 75px;
    }
    
    .nav-toggle {
        display: flex;
        order: 2;
    }
    
    .nav-list {
        display: none !important;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 8px 25px rgba(30, 58, 138, 0.15);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        border-radius: 0 0 12px 12px;
        border-top: 1px solid var(--border-color);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-list.active {
        display: flex !important;
    }
    
    .nav-link {
        padding: 1rem 2rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(30, 58, 138, 0.05);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Mobile dropdown styles */
    .nav-dropdown {
        position: static;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background-color: rgba(30, 58, 138, 0.03);
        margin: 0;
        padding: 0;
        display: none;
    }
    
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-link {
        padding: 0.75rem 3rem;
        border-left: none;
        border-bottom: 1px solid rgba(30, 58, 138, 0.05);
        font-size: 0.9rem;
    }
    
    .dropdown-link:hover {
        background-color: rgba(30, 58, 138, 0.08);
        border-left: none;
    }
    
    .dropdown-toggle i {
        margin-left: auto;
    }
    
    /* Hero */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        min-height: 250px;
    }
    
    .hero .hero-title {
        font-size: 2.2rem;
    }
    
    /* УДАЛЕНО - теперь все через hero_section.php инклуд */
    
    /* УДАЛЕНО - теперь все через hero_section.php инклуд */
    
    .hero-subtitle {
        max-width: none;
    }
    
    /* Кнопки на других страницах - по центру в планшете */
    .page-hero .hero-actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        margin-top: 1.75rem; /* Средний отступ для планшетов */
    }
    
    /* Кнопки на главной - по центру в планшете */
    .hero .hero-actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        margin-top: 1.75rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-stats {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
        padding: 0;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Section titles */
    .section-title {
        font-size: 2rem;
    }
    
    /* About V1 Mobile */
    .about-v1-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* Специально для блока "Об ассоциации" - сначала текст, потом цифры */
    .about-page .about-v1-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    /* Цели - 1 блок в ряд в мобильной версии */
    .about-page .goals-grid-50-50 {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .about-v1-content {
        padding-right: 0;
    }
    
    /* Адаптивность для статистических карточек в блоке История - ТОЧНО КАК В HERO-СЕКЦИИ */
    .about-v1-facts.stats-container .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* 2 в ряд для мобильных */
        gap: 1rem !important;
    }
    
    .about-v1-facts.stats-container .stat-card {
        padding: 0.8rem 0.5rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 0 !important; /* УБИРАЕМ GAP ПОЛНОСТЬЮ */
        justify-content: flex-start !important;
    }
    
    .about-v1-facts.stats-container .stat-icon {
        order: 1 !important;
        position: static !important; /* Убираем absolute позиционирование */
        top: auto !important;
        right: auto !important;
        left: auto !important;
        bottom: auto !important;
        width: auto !important;
        height: auto !important;
        margin: 0 0 0.9rem 0 !important; /* ОТСТУП СНИЗУ ОТ ИКОНКИ */
        padding: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        background: none !important; /* Убираем синий кружок */
        border-radius: 0 !important;
    }
    
    .about-v1-facts.stats-container .stat-icon i {
        font-size: 1.4rem !important; /* Как в hero-секции */
        color: var(--primary-color) !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }
    
    /* Создаем виртуальный stat-content контейнер для цифр и текста */
    .about-v1-facts.stats-container .stat-number {
        order: 2 !important; /* Цифры идут вторыми после иконки */
        font-size: 1.3rem !important; /* ТОЧНО как в hero-секции */
        margin-bottom: 0.2rem !important; /* ТОЧНО КАК В HERO-СЕКЦИИ */
        margin-top: 0 !important; 
        color: var(--primary-color) !important;
        font-weight: 800 !important;
        line-height: 1 !important; /* ТОЧНО как в hero-секции */
        text-align: center !important;
        width: 100% !important;
    }
    
    .about-v1-facts.stats-container .stat-label {
        order: 3 !important; /* Текст идет третьим */
        font-size: 0.75rem !important; /* ТОЧНО как в hero-секции */
        margin-bottom: 0 !important; 
        margin-top: 0 !important; 
        color: #666 !important;
        line-height: 1.2 !important; /* ТОЧНО как в hero-секции */
        text-align: center !important;
        width: 100% !important;
    }
    
    /* Адаптивность для блока Миссия ТОЛЬКО на странице about - НА ВСЮ ШИРИНУ */
    .about-page .mission-goals {
        max-width: 100% !important;
        padding: 1.5rem !important;
        margin: 0 !important;
        width: 100% !important;
    }
    
    .about-page .mission-goals .container {
        padding: 0 15px !important; /* Как в шапке */
        max-width: 100% !important;
    }
    
    /* Цели - ПРИНУДИТЕЛЬНО по 1 блоку в ряд на всю ширину */
    .about-page .goals-grid-50-50 {
        display: flex !important; /* Меняем на flex */
        flex-direction: column !important; /* Вертикальное расположение */
        gap: 1.5rem !important;
        max-width: 100% !important;
        width: 100% !important;
        grid-template-columns: none !important;
    }
    
    /* Каждая колонка (.about-v1-facts) становится обычным блоком */
    .about-page .goals-grid-50-50 .about-v1-facts {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Каждая карточка (.fact-card) на всю ширину */
    .about-page .goals-grid-50-50 .fact-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    /* Президент - убираем синюю линию слева от фото */
    .about-page .partner-description-inline h4 {
        border-left: none !important;
        padding-left: 0 !important;
    }
    
    .countries-marquee {
        height: 50px;
    }
    
    .flag-item {
        font-size: 2rem;
    }
    
    .countries-track {
        gap: 1.5rem;
    }
    

    
    /* Partners */
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    /* Events */
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .event-card {
        flex-direction: column;
        text-align: center;
    }
    
    .event-date {
        align-self: center;
    }
    
    /* News */
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    /* Press */
    .press-item {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .press-image {
        flex: none;
        height: 200px;
        width: 100%;
    }
    
    .press-content {
        padding: 0;
        justify-content: flex-start;
    }
    
    /* Join */
    .join-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Contacts */
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Footer */
    .footer {
        padding: 1.2rem 0 1rem;
    }
    
    .footer .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .footer-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-section {
        text-align: left;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    /* Быстрые ссылки - 2 колонки */
    .footer-links-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .footer-links li {
        margin-bottom: 0.4rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    /* Логотип и описание */
    .footer-logo {
        justify-content: flex-start;
        margin-bottom: 1.25rem;
    }
    
    .footer-logo-img {
        width: 180px;
        max-height: 75px;
    }
    
    .footer-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Контакты */
    .footer-contact p {
        margin-bottom: 0.4rem;
        font-size: 0.9rem;
    }
    
    .social-links {
        justify-content: flex-start;
        margin-top: 0.75rem;
        gap: 0.75rem;
    }
    
    .social-links a {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    /* Hero Mobile */
    .hero {
        padding: 3rem 0; /* КАК В БЕКАПЕ37 - только для главной */
        background: linear-gradient(135deg, #0d3b66 0%, #1a4e8a 100%) !important;
    }
    
    /* УДАЛЕНО - теперь все через hero_section.php инклуд */
    
    .hero::before {
        background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.02) 80%) !important;
    }
    
    /* About V1 Small Mobile */
    .about-v1-countries {
        padding: 1rem;
    }
    
    .countries-marquee {
        height: 40px;
    }
    
    .flag-item {
        font-size: 1.8rem;
    }
    
    .countries-track {
        gap: 1rem;
    }
    
    .fact-card {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .fact-icon {
        width: 40px;
        height: 40px;
    }
    
    .fact-icon i {
        font-size: 1rem;
    }
    

    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        min-height: 300px;
        text-align: center;
    }
    
    .hero .hero-title {
        font-size: 1.6rem;
    }
    
    /* УДАЛЕНО - теперь все через hero_section.php инклуд */
    
    /* УДАЛЕНО - теперь все через hero_section.php инклуд */
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Кнопки на других страницах - по центру в мобиле */
    .page-hero .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-top: 1.5rem; /* Чуть меньший отступ для мобильных */
    }
    
    /* Кнопки на главной - по центру в мобиле */
    .hero .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        padding: 0;
    }
    
    .stat-card {
        padding: 0.8rem 0.5rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
        margin-bottom: 0.2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-icon {
        width: 28px;
        height: 28px;
        top: 0.75rem;
        right: 0.75rem;
    }
    
    .stat-icon i {
        font-size: 0.8rem;
    }

    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .logo-text {
        display: none;
    }
    
    .partners-grid,
    .events-grid,
    .news-grid {
        gap: 1.5rem;
    }
    
    .partner-card,
    .event-card,
    .news-card {
        padding: 1.5rem;
    }
}

/* ========================================
   ВОССТАНОВЛЕННЫЕ СТИЛИ
======================================== */

/* Partners Hero Section */
/* New Font Size System for About Page */
.about-page h1 {
    font-size: 2.2rem !important; /* Как на single страницах */
    font-weight: 700;
}

.about-page .hero-subtitle,
.standard-page .hero-subtitle {
    font-size: 0.9rem; /* Как на странице members */
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
}

/* Специальные стили для membership hero-subtitle */
.membership-page .hero-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
}

/* New Font Size System for Membership Page */
.membership-page h1 {
    font-size: 2.2rem !important; /* Как на single страницах */
    font-weight: 700;
}

.membership-page h2 {
    font-size: 1.8rem !important; /* Чуть меньше H1 */
    font-weight: 600;
}

.membership-page h3 {
    font-size: 1.5rem !important; /* Чуть меньше H2 */
    font-weight: 600;
}

.membership-page h4 {
    font-size: 1.2rem !important; /* Чуть меньше H3 */
    font-weight: 500;
}

/* New Font Size System for Members Page */
.standard-page h1 {
    font-size: 2.2rem !important; /* Как на single страницах */
    font-weight: 700;
}

.standard-page h2 {
    font-size: 1.8rem !important; /* Чуть меньше H1 */
    font-weight: 600;
}

.standard-page h3 {
    font-size: 1.5rem !important; /* Чуть меньше H2 */
    font-weight: 600;
}

.standard-page h4 {
    font-size: 1.2rem !important; /* Чуть меньше H3 */
    font-weight: 500;
}

/* Убираем синий цвет с заголовка "Компании членов ассоциации" на странице members */
.standard-page .companies-logos .section-title {
    color: var(--text-dark) !important; /* Обычный темный цвет вместо синего */
}

.standard-page .companies-logos .section-title::after {
    background: var(--text-dark) !important; /* Линия тоже темная вместо синей */
}

/* Исключение для карточек пресс-релизов - возвращаем оригинальные размеры */
.standard-page .press-title-c {
    font-size: 1.2rem !important; /* Оригинальный размер */
    font-weight: 400 !important; /* Оригинальный вес */
    line-height: 1.5 !important; /* Оригинальная высота строки */
}

.about-page h2 {
    font-size: 1.8rem !important; /* Чуть меньше H1 */
    font-weight: 600;
}

.about-page h3 {
    font-size: 1.5rem !important; /* Чуть меньше H2 */
    font-weight: 600;
}

.about-page h4 {
    font-size: 1.2rem !important; /* Чуть меньше H3 */
    font-weight: 500;
}

/* Mobile adjustments for about page */
@media (max-width: 768px) {
    .about-page h1 {
        font-size: 1.8rem !important;
    }
    
    /* УДАЛЕН - используем единый стиль .hero для всех страниц */
    
    .about-page .hero-subtitle,
    .standard-page .hero-subtitle {
        font-size: 0.85rem; /* Как на странице members для мобильных */
    }
    
    .about-page h2 {
        font-size: 1.5rem !important;
    }
    
    .about-page h3 {
        font-size: 1.3rem !important;
    }
    
    .about-page h4 {
        font-size: 1.1rem !important;
    }
    
    /* Mobile adjustments for membership page */
    .membership-page h1 {
        font-size: 1.8rem !important;
    }
    
    .membership-page h2 {
        font-size: 1.5rem !important;
    }
    
    .membership-page h3 {
        font-size: 1.3rem !important;
    }
    
    .membership-page h4 {
        font-size: 1.1rem !important;
    }
    
    /* Mobile adjustments for standard pages (members, etc.) */
    .standard-page h1 {
        font-size: 1.8rem !important;
    }
    
    .standard-page h2 {
        font-size: 1.5rem !important;
    }
    
    .standard-page h3 {
        font-size: 1.3rem !important;
    }
    
    .standard-page h4 {
        font-size: 1.1rem !important;
    }
}

.partners-hero {
    background: linear-gradient(135deg, #0d3b66 0%, #1a4e8a 100%);
    color: white;
    padding: 8rem 0 1rem 0; /* УМЕНЬШИЛИ нижний отступ с 2rem до 1rem */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.partners-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.02) 80%);
    pointer-events: none;
}

.partners-hero-title {
    font-size: 2.8rem; /* Унифицировали с главной страницей */
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.partners-hero-subtitle {
    font-size: 0.9rem; /* Еще больше уменьшили до 0.9rem */
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 2rem auto; /* Добавили нижний отступ для кнопки */
    line-height: 1.6;
}

.partners-hero-actions {
    text-align: center;
    margin-top: 2rem;
}

/* Partners List V2 Section */
.partners-list-v2 {
    padding: 5rem 0;
    background: #f8f9fa;
}

/* Partner Rows V2 */
.partner-row-v2 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e5e7eb;
}

.partner-row-v2:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Description Section */
.partner-description-inline {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.partner-description-inline h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
}

.partner-description-inline p {
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.partner-achievements {
    background: #f8f9fa;
    padding: 1.25rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
}

.partner-achievements strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* === COMPANIES LOGOS STYLES === */
.companies-logos {
    padding: 5rem 0;
    background: #f8f9fa;
}

.companies-logos .section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
}

.companies-logos .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 логотипа в ряд */
    gap: 2rem;
    align-items: center;
    justify-items: center;
    max-width: 1200px; /* Увеличили для 4 колонок */
    margin: 0 auto;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 160px; /* Уменьшили для 4 колонок */
    width: 100%;
    max-width: 280px; /* Уменьшили для 4 колонок */
    box-sizing: border-box;
}

/* Темно-серый фон для белых логотипов */
.logo-item.logo-light-gray {
    background: #dee2e6; /* Темнее для идеального контраста */
    border: 1px solid #dee2e6; /* Граница того же цвета, что и фон */
}

.logo-item.logo-light-gray:hover {
    background: #ced4da; /* Еще темнее при hover */
    border: 1px solid #ced4da; /* Граница того же цвета, что и фон при hover */
}

.logo-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.company-logo {
    max-width: 100%;
    max-height: 120px; /* Увеличили максимальную высоту */
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(10%);
    transition: filter 0.3s ease;
}

.logo-item:hover .company-logo {
    filter: grayscale(0%);
}

/* Адаптивность для логотипов */
@media (max-width: 1200px) {
    .logos-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 логотипа в ряд на средних экранах */
        gap: 2rem;
        max-width: 1000px;
    }
}

@media (max-width: 768px) {
    .companies-logos {
        padding: 3rem 0;
    }
    
    .logos-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 логотипа в ряд на планшетах */
        gap: 1.5rem;
        max-width: 600px;
    }
    
    .logo-item {
        padding: 1.2rem;
        height: 120px;
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .company-logo {
        max-height: 70px;
        max-width: 90%;
        object-fit: contain;
        object-position: center;
    }
}

@media (max-width: 480px) {
    .logos-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 логотипа в ряд на мобильных */
        gap: 1rem;
        max-width: 400px;
    }
    
    .logo-item {
        height: 100px;
        padding: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .company-logo {
        max-height: 60px;
        max-width: 90%;
        object-fit: contain;
        object-position: center;
    }
}

/* === MEMBERSHIP STYLES === */

/* Приведение размеров заголовков к размерам с главной страницы */
/* Унифицированные стили для всех страниц (кроме главной и single) */
.membership-page h1,
/* Удален дублирующий стиль для .standard-page h1 */

.membership-page h2 {
    font-size: 2.2rem; /* Как на главной */
    font-weight: 700;
}

.membership-page h3 {
    font-size: 1.5rem; /* Как на главной */
    font-weight: 600;
}

.membership-card {
    text-align: left;
    padding: 3rem 2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    height: auto;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.membership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Новый серый дизайн для экспертной карточки */
.expert-card-gray {
    background: #e9ecef; /* Темнее чем обычная карточка */
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.expert-card-gray:hover {
    background: #dee2e6;
}

/* Новый дизайн header с маленькими иконками */
.membership-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    white-space: nowrap; /* Запрещаем перенос строки */
}

.membership-icon-small {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: var(--primary-color);
    color: white;
    flex-shrink: 0;
}

.expert-icon-small {
    background: #6c757d; /* Серая иконка для серой карточки */
    color: #ffd700;
}

.membership-title {
    font-size: 1.5rem; /* h3 размер */
    font-weight: 600;
    margin: 0;
    color: var(--primary-color);
}

.membership-content {
    flex: 1; /* Занимает всё доступное место */
}

.membership-btn {
    margin-top: 1.5rem;
    align-self: flex-start;
}

.membership-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-style: italic;
}

.expert-card .membership-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.membership-section {
    margin-bottom: 5rem; /* Увеличили отступы между блоками */
}

.membership-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.membership-section-title i {
    font-size: 1.5rem;
}

.expert-title {
    color: #1e3a8a;
}

.subtitle-note {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
    font-style: italic;
}

/* Новая таблица требований */
.requirements-table {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 3rem;
}

.requirement-row {
    display: grid;
    grid-template-columns: 450px 1fr; /* Еще больше увеличили для длинных фраз */
    border-bottom: 1px solid #f1f3f4;
    transition: all 0.3s ease;
}

.requirement-row:last-child {
    border-bottom: none;
}

.requirement-row:hover {
    background: #f8f9fa;
}

.requirement-cell-icon {
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8f9fa;
    border-right: 1px solid #e9ecef;
}

.requirement-cell-desc {
    padding: 2rem;
    display: flex;
    align-items: center;
}

.requirement-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.requirement-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0;
    white-space: nowrap; /* Запрещаем перенос строк */
}

.requirement-cell-desc p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.contribution-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1rem;
}

.contribution-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
}

.contribution-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.contribution-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.contribution-item span {
    color: var(--text-light);
    line-height: 1.6;
}

.rights-obligations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.rights-card, .obligations-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Цветные фоны для карточек обычных членов */
.rights-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
}

.obligations-card {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
}

/* Стили для заголовков в цветных карточках обычных членов */
.rights-card .card-title,
.obligations-card .card-title {
    color: white;
}

.expert-rights-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
}

.expert-obligations-card {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem; /* Увеличили отступ до стандартного */
}

.card-title i {
    font-size: 1.5rem; /* Стандартный размер иконок */
}

.expert-rights-card .card-title,
.expert-obligations-card .card-title {
    color: white;
}

.rights-list, .obligations-list {
    list-style: none;
    padding: 0;
}

.rights-list li, .obligations-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Белые границы для цветных фонов */
    color: rgba(255, 255, 255, 0.9); /* Белый текст для цветных фонов */
    line-height: 1.6;
    position: relative;
    padding-left: 2rem;
}

/* Удалено: теперь все карточки имеют одинаковые стили */

.rights-list li:before, .obligations-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ffd700; /* Золотые галочки для цветных фонов */
    font-weight: bold;
}

/* Удалено: теперь все галочки золотые */

.rights-list li:last-child, .obligations-list li:last-child {
    border-bottom: none;
}

.expert-criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.expert-criterion {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
}

.expert-criterion:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.expert-criterion i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.expert-criterion p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.additional-requirements {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.additional-req-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.additional-req-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.additional-req-item i {
    color: #1e3a8a;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.additional-req-item span {
    color: var(--text-light);
    line-height: 1.6;
}

.membership-cta {
    text-align: center;
    padding: 4rem 2rem;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center; /* Дополнительное выравнивание по центру */
}

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .membership-page h1,
    .standard-page h1 {
        font-size: 2.2rem; /* Как hero-title на мобильных */
    }
    
    .membership-page h2 {
        font-size: 1.8rem;
    }
    
    .membership-page h3 {
        font-size: 1.3rem;
    }
    
    .requirements-table {
        margin-bottom: 2rem;
    }
    
    .requirement-row {
        grid-template-columns: 1fr;
    }
    
    .requirement-cell-icon {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
        padding-bottom: 1rem;
    }
    
    .requirement-cell-desc {
        padding-top: 1rem;
    }
    
    .membership-header {
        white-space: normal; /* Разрешаем перенос на мобильных */
        flex-direction: row;
        text-align: left;
    }
    
    .contribution-list {
        grid-template-columns: 1fr;
    }
    
    .rights-obligations-grid {
        grid-template-columns: 1fr;
    }
    
    .expert-criteria-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        text-align: center; /* Дополнительное центрирование */
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 350px; /* Немного увеличили ширину */
        justify-content: center;
        text-align: center;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .membership-section-title {
        font-size: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .membership-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* === BREADCRUMBS STYLES === */
.breadcrumbs {
    padding: 1.5rem 0 1rem 0; /* Увеличенный верхний отступ для визуального баланса */
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
    /* УБРАЛ margin-top: 80px - теперь не нужен, так как у body есть padding-top */
}

.breadcrumbs-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.breadcrumbs-item {
    display: flex;
    align-items: center;
}

.breadcrumbs-link {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs-link:hover {
    color: var(--primary-color);
}

.breadcrumbs-current {
    color: var(--primary-color);
    font-weight: 500;
}

.breadcrumbs-separator {
    color: #6c757d;
    margin: 0 0.5rem;
    font-size: 0.8rem;
}

.breadcrumbs-separator i {
    font-size: 0.7rem;
}

/* === МОБИЛЬНЫЕ СТИЛИ ДЛЯ ХЛЕБНЫХ КРОШЕК === */
@media (max-width: 768px) {
    .breadcrumbs-list {
        flex-wrap: wrap; /* РАЗРЕШАЮ ПЕРЕНОС НА НОВУЮ СТРОКУ */
        line-height: 1.4; /* УМЕНЬШАЮ МЕЖСТРОЧНЫЙ ИНТЕРВАЛ */
        gap: 0.3rem; /* УМЕНЬШАЮ ОТСТУПЫ МЕЖДУ ЭЛЕМЕНТАМИ */
        align-items: flex-start; /* ВЫРАВНИВАЮ ПО ВЕРХУ */
    }
    
    .breadcrumbs-item {
        /* УБИРАЮ flex-shrink: 0 - разрешаю элементам быть гибкими */
    }
    
    .breadcrumbs-separator {
        margin: 0 0.3rem; /* УМЕНЬШАЮ ОТСТУПЫ У РАЗДЕЛИТЕЛЕЙ */
        flex-shrink: 0; /* НЕ СЖИМАЮ РАЗДЕЛИТЕЛИ */
    }
    
    .breadcrumbs-current {
        /* НАЗВАНИЕ СТАТЬИ - МОЖЕТ ЗАНИМАТЬ НЕСКОЛЬКО СТРОК */
        word-break: break-word;
        hyphens: auto;
        line-height: 1.4;
        /* НЕ ОГРАНИЧИВАЮ ШИРИНУ - пусть занимает всю доступную ширину */
    }
    
    .breadcrumbs-link {
        flex-shrink: 0; /* НЕ СЖИМАЮ ССЫЛКИ */
    }
}

/* Mission Content Section */
.mission-content {
    padding: 5rem 0;
    background: #f8f9fa;
}

.mission-block {
    background: white;
    border-radius: 16px;
    padding: 4rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 0 auto;
}

/* Press releases section */
.press-releases {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

/* Пресс-релизы - минималистичный дизайн */
.press-feed-c {
    max-width: 1200px;
    margin: 2rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.press-card-c {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    min-height: 100px;
    padding: 1.5rem;
    gap: 2rem;
}

.press-card-c:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.press-thumb-c {
    width: 120px;
    height: 90px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--light-gray);
}

.press-thumb-c img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.press-content-c {
    flex: 1;
}

.press-date-c {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.press-title-c {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.5;
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.press-link-c {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    transition: all 0.2s ease;
    display: inline-block;
}

.press-link-c:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .partners-hero {
        padding: 5rem 0 1rem 0 !important; /* УМЕНЬШИЛИ нижний отступ с 2rem до 1rem */
        background: linear-gradient(135deg, #0d3b66 0%, #1a4e8a 100%) !important;
    }
    
    .partners-hero::before {
        background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.02) 80%) !important;
    }
    
    .partners-hero-title {
        font-size: 2.2rem; /* Унифицировали с hero-title */
    }
    
    .partners-hero-subtitle {
        font-size: 0.85rem; /* Еще меньше для мобильных */
    }
    
    .partner-row-v2 {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2.5rem;
        padding-bottom: 2.5rem;
    }
    
    .partner-description-inline {
        padding: 2rem;
    }
    
    .partner-description-inline h4 {
        font-size: 1.1rem;
        border-left: none !important;
        padding-left: 0 !important;
    }
    
    .press-card-c {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .press-thumb-c {
        width: 100%;
        height: 180px;
        align-self: center;
    }
    
    .press-content-c {
        width: 100%;
    }
    
    .press-title-c {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .press-link-c {
        padding: 0.75rem 1.5rem;
    }
}

/* ========================================
   СТИЛИ ДЛЯ SINGLE-СТРАНИЦ
======================================== */

/* === EVENT SINGLE PAGE STYLES === */
.event-single-content {
    padding: 4rem 0;
}

.event-single-block {
    background: var(--white);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    max-width: 900px;
    margin: 0 auto;
}

.event-single-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-meta-item i {
    color: var(--primary-color);
    width: 16px;
}

.event-single-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.event-single-description p {
    margin-bottom: 1.2rem;
}

.event-single-details {
    margin-bottom: 2rem;
}

/* Single Page Title */
.event-single-title {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.3;
    text-align: left;
}

/* Single Page Images */
.event-single-image {
    margin: 2rem 0;
    text-align: center;
}

.event-single-image img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.image-caption {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
    line-height: 1.4;
}

/* Красивые отступы для заголовков на single-страницах */
.event-single-details h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.event-single-details h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.event-single-details h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.event-single-details h5 {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

/* Первый заголовок без отступа сверху */
.event-single-details h2:first-child,
.event-single-details h3:first-child,
.event-single-details h4:first-child,
.event-single-details h5:first-child {
    margin-top: 0;
}

/* Красивые отступы для абзацев и списков */
.event-single-details p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.event-single-details ul,
.event-single-details ol {
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
    padding-left: 1.2rem;
}

.event-single-details li {
    margin-bottom: 0.6rem;
    line-height: 1.6;
}

.event-single-details li:last-child {
    margin-bottom: 0;
}

/* Отступы для выделенного текста */
.event-single-details strong {
    font-weight: 600;
}

.event-single-details em {
    font-style: italic;
    color: var(--text-light);
}

.event-agenda {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.agenda-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.agenda-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.agenda-time {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 80px;
}

.agenda-content h5 {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
}

.agenda-content p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.event-single-registration {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    border-radius: 8px;
    color: var(--white);
}

.event-single-registration h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.event-single-registration .btn {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 600;
}

.event-single-registration .btn:hover {
    background: #f8f9fa;
}

/* Hero CTA Buttons */
.hero-cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

/* Специальные стили для кнопок в hero секции */
.hero-btn-primary {
    background-color: var(--white) !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--white) !important;
    font-weight: 600 !important;
}

.hero-btn-primary:hover {
    background-color: transparent !important;
    color: var(--white) !important;
    border: 2px solid var(--white) !important;
    transform: translateY(-2px);
}

.hero-btn-secondary {
    background-color: transparent !important;
    color: var(--white) !important;
    border: 2px solid var(--white) !important;
    font-weight: 500 !important;
}

.hero-btn-secondary:hover {
    background-color: var(--white) !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--white) !important;
    transform: translateY(-2px);
}

/* Стили для кнопки в секции "Об ассоциации" */
.about-v1-action {
    margin-top: 2rem;
    text-align: left;
}

.about-btn-secondary {
    background-color: transparent !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
    font-weight: 500 !important;
}

.about-btn-secondary:hover {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    border: 2px solid var(--primary-color) !important;
    transform: translateY(-2px);
}

/* Unified paragraph styling for numbered items */
.mission-block .number-paragraph {
    font-family: inherit !important;
    font-size: 1.1rem !important;
    color: var(--text-dark) !important;
    line-height: 1.8 !important;
    margin-bottom: 1.2rem !important;
    font-weight: normal !important;
}

.mission-block .number-paragraph strong {
    font-weight: 700 !important;
    color: var(--primary-color) !important;
}

.mission-block .number-paragraph span {
    font-weight: normal !important;
    color: var(--text-dark) !important;
}

/* Unified styling for lists in mission-block */
.mission-block ul {
    margin: 1.2rem 0 !important;
    padding-left: 1.5rem !important;
}

.mission-block li {
    font-family: inherit !important;
    font-size: 1.1rem !important;
    color: var(--text-dark) !important;
    font-weight: normal !important;
    line-height: 1.8 !important;
    margin-bottom: 0.5rem !important;
}

/* Proper spacing for H2 title */
.mission-block h2 {
    margin-bottom: 3rem !important;
}

.mission-block p {
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    font-weight: normal;
}

.mission-goals {
    margin: 3rem 0;
}

/* Специальные стили для блока миссии ТОЛЬКО на странице about */
.about-page .mission-goals {
    background: white; /* Белый фон вместо серого */
    padding: 2rem;
    border-radius: 12px;
    margin: 3rem auto; /* Выравнивание блока по центру */
    max-width: 75%; /* Ограничиваем ширину */
    border-left: 4px solid var(--primary-color); /* Синяя левая граница */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    /* Убрали text-align: center - текст будет по левому краю как везде */
}

/* Текст в миссии должен быть как в блоке История */
.about-page .mission-goals p {
    font-size: 1.1rem !important; /* Как в .about-v1-text */
    color: var(--text-light) !important; /* Серый цвет как в Истории */
    line-height: 1.8 !important; /* Как в .about-v1-text */
    margin-bottom: 1.5rem !important;
}

.goal-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.goal-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left-color: var(--primary-color);
}

.goal-item h5 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.goal-item p {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.7;
}

.mission-achievements {
    background: #f0f7ff;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-top: 3rem;
}

.mission-achievements strong {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .hero-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .event-single-block {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .event-single-meta {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .agenda-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .agenda-time {
        min-width: auto;
    }
    
    .mission-block {
        padding: 2.5rem 2rem;
        margin: 0 1rem;
    }
    
    .mission-block h4 {
        font-size: 1.5rem;
        padding-left: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .mission-block p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
        color: var(--text-dark);
        font-weight: normal;
    }
    
    .goal-item {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .goal-item h5 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .mission-achievements {
        padding: 1.5rem;
        margin-top: 2rem;
    }
}

/* Top Welcome News Section */
.top-welcome-news {
    padding: 1.3rem 0 1rem 0;
    background: #e9ecef;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    /* УБРАЛ margin-top: 80px - теперь не нужен, так как у body есть padding-top */
}

.top-welcome-news .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Новый дизайн - восклицательный знак без фона */
.welcome-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 48px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    background: transparent;
}

.welcome-icon i {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 900;
}

/* Новый вариант - скрыт */
/*
.welcome-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 48px;
}

.welcome-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 900;
}
*/

.top-welcome-text {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.4;
    color: #495057;
    margin: 0;
    text-align: left;
    letter-spacing: 0.2px;
}

/* Welcome News Section */
.welcome-news {
    padding: 2rem 0;
    background: #f8f9fa;
}

.welcome-news-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.welcome-news-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-bg);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.welcome-news-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
}

/* Responsive Styles for Welcome News */
@media (max-width: 768px) {
    .top-welcome-news {
        padding: 0.75rem 0 0.75rem 0; /* УМЕНЬШИЛ верхний отступ с 1.5rem до 0.75rem */
    }
    
    .top-welcome-news .container {
        padding: 0 15px;
    }
    
    .top-welcome-text {
        font-size: 0.8rem;
        letter-spacing: 0.1px;
        line-height: 1.35;
    }
    
    /* Hero Mobile Fixes */
    .hero {
        background: linear-gradient(135deg, #0d3b66 0%, #1a4e8a 100%) !important;
    }
    
    .hero::before {
        background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.02) 80%) !important;
    }
    
    .hero-title {
        font-size: 1.6rem !important;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        padding: 0;
    }
    
    /* 🔥 КВАНТОВЫЙ БОГ: ПРИНУДИТЕЛЬНЫЕ СТИЛИ ДЛЯ МОБИЛЬНЫХ СТАТИСТИК */
    .hero .hero-stats .stat-card {
        padding: 0.8rem 0.5rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 0.9rem !important;
        justify-content: flex-start !important;
    }
    
    .hero .hero-stats .stat-icon {
        order: 1 !important;
        position: static !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        bottom: auto !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        background: none !important;
        border-radius: 0 !important;
    }
    
    .hero .hero-stats .stat-icon i {
        font-size: 1.4rem !important;
        color: white !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }
    
    .hero .hero-stats .stat-content {
        order: 2 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .hero .hero-stats .stat-number {
        font-size: 1.3rem !important;
        margin-bottom: 0.2rem !important;
        color: white !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }
    
    .hero .hero-stats .stat-label {
        font-size: 0.75rem !important;
        margin-bottom: 0 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        line-height: 1.2 !important;
    }
    
    .welcome-news {
        padding: 1.5rem 0;
    }
    
    .welcome-news-content {
        padding: 1.5rem;
    }
    
    .welcome-news-title {
        font-size: 1.3rem;
    }
    
    .welcome-news-text {
        font-size: 0.95rem;
    }
}

/* Events Banner Slider - Main Page */
.events-banner-main {
    padding: 2rem 0;
    background: transparent;
}

.events-slider-main {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.event-slide-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.event-slide-main.active {
    display: flex;
}

.event-banner-content-main {
    max-width: 700px;
    color: white;
    text-align: center;
    padding: 2rem;
}

.event-badge {
    background: rgba(74, 144, 226, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 1rem;
}

.event-banner-title-main {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.event-banner-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.event-details-banner-main {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
    justify-content: center;
    max-width: 100%;
}

.event-detail-item-main {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 18px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 500;
    min-width: fit-content;
    flex-shrink: 0;
    color: #333333;
}

.event-detail-item-main i {
    color: #555555;
    font-size: 1rem;
}


.event-banner-btn-main {
    background: var(--primary-color) !important;
    color: white !important;
    border: 2px solid var(--primary-color) !important;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    min-width: 200px;
    position: relative;
    z-index: 10;
    box-sizing: border-box;
}

.event-banner-btn-main:hover {
    background: transparent !important;
    color: white !important;
    border-color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Slider Navigation */
.slider-navigation-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.slider-btn-main {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.slider-btn-main:hover {
    background: white;
    color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.slider-dots-main {
    display: flex;
    gap: 0.75rem;
}

.slider-dot-main {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(74, 144, 226, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot-main.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.slider-dot-main:hover {
    border-color: var(--primary-color);
    transform: scale(1.2);
}

/* Events Section Footer */
.events-section-footer {
    text-align: center;
    margin-top: 2rem;
}

.no-events-message {
    text-align: center;
    padding: 4rem 0;
}

.no-events-message h2 {
    margin-bottom: 1rem;
}

.no-events-message p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

/* Responsive Design for Events Banner */
@media (max-width: 768px) {
    .events-slider-main {
        min-height: 400px;
        height: auto;
        padding-bottom: 0;
    }
    
    .event-banner-title-main {
        font-size: 1.7rem;
        line-height: 1.25;
        margin-bottom: 0.6rem;
    }
    
    .event-banner-description {
        font-size: 1rem;
        line-height: 1.35;
        margin-bottom: 0.8rem;
    }
    
    .event-banner-content-main {
        padding: 1rem 1rem 1rem 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        gap: 0.6rem;
    }
    
    .event-details-banner-main {
        gap: 0.6rem;
        justify-content: center;
    }
    
    .event-detail-item-main {
        font-size: 0.75rem;
        padding: 0.4rem 0.7rem;
    }
    
    .event-details-banner-main {
        gap: 0.5rem;
        margin-bottom: 0.8rem;
    }
    
    .slider-navigation-main {
        gap: 1rem;
    }
    
    .slider-btn-main {
        width: 40px;
        height: 40px;
    }
    
    .event-banner-btn-main {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .events-slider-main {
        min-height: 420px;
        height: auto;
        padding-bottom: 0;
    }
    
    .event-banner-title-main {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 0.6rem;
    }
    
    .event-banner-description {
        font-size: 0.95rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    
    .event-banner-content-main {
        max-width: 100%;
        padding: 1rem 1rem 1rem 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        gap: 0.6rem;
    }
}