/* Переменные цветов */
:root {
    --primary-blue: #061478;
    --primary-gold: #b4925a;
    --secondary-blue: #283593;
    --text-dark: #333;
    --text-light: #fff;
    --bg-light: #fff;
    --bg-gray: #f5f5f5;
    --bg-dark: #f0f0f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

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

/* Базовые стили для всех секций */
.content-section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 40px;
    position: relative;
    font-weight: 700;
}

.section-title.center {
    text-align: center;
}

/* Контентная секция 1: Классический текстовый блок */
.type-classic {
    background: var(--bg-light);
}

.type-classic .content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.type-classic .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--primary-gold);
}

.content-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.lead-text {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

/* Контентная секция 2: Двухколоночный макет */
.type-two-column {
    background: var(--bg-gray);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-list {
    list-style: none;
    margin-top: 30px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 8px;
    transition: all 0.3s;
}

.feature-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(6,20,120,0.1);
}

.feature-list i {
    color: var(--primary-gold);
    font-size: 24px;
    flex-shrink: 0;
}

.image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(6,20,120,0.9) 0%, transparent 100%);
    color: var(--text-light);
    padding: 20px;
    font-weight: 500;
}

/* Контентная секция 3: Карточки */
.type-cards {
    background: var(--bg-light);
}

.type-cards .section-title {
    margin-bottom: 60px;
}

.type-cards .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary-gold);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(6,20,120,0.15);
    border-color: var(--primary-gold);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon i {
    font-size: 36px;
    color: var(--text-light);
}

.card-title {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.card-text {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.card-link {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.card-link:hover {
    gap: 12px;
    color: var(--primary-blue);
}

/* Контентная секция 4: Цитата и статистика */
.type-quote-stats {
    background: linear-gradient(135deg, var(--bg-gray) 0%, var(--bg-dark) 100%);
    position: relative;
}

.quote-block {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.quote-block blockquote {
    position: relative;
    padding: 40px;
    background: var(--bg-light);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.quote-block blockquote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 40px;
    font-size: 80px;
    color: var(--primary-gold);
    font-family: Georgia, serif;
}

.quote-block p {
    font-size: 22px;
    line-height: 1.6;
    color: var(--primary-blue);
    font-style: italic;
    margin-bottom: 20px;
}

.quote-block cite {
    display: block;
    font-style: normal;
}

.quote-block cite strong {
    display: block;
    color: var(--primary-blue);
    font-size: 18px;
    margin-bottom: 5px;
}

.quote-block cite span {
    color: #666;
    font-size: 16px;
}

.stats-block {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.stat-item:hover {
    transform: scale(1.05);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Контентная секция 5: Аккордеон */
.type-accordion {
    background: var(--bg-light);
}

.accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 15px;
    border: 1px solid rgba(180,146,90,0.2);
    border-radius: 10px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 25px 30px;
    background: var(--bg-light);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-blue);
    transition: all 0.3s;
}

.accordion-header:hover {
    background: var(--bg-gray);
}

.accordion-item.active .accordion-header {
    background: var(--primary-blue);
    color: var(--text-light);
}

.accordion-header i {
    transition: transform 0.3s;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--bg-gray);
}

.accordion-content p {
    padding: 25px 30px;
    line-height: 1.8;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
}

/* Контентная секция 6: Новости */
.type-news {
    background: var(--bg-gray);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-item {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(6,20,120,0.15);
}

.news-date {
    color: var(--primary-gold);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.news-title {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-title a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.news-title a:hover {
    color: var(--primary-gold);
}

.news-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-link {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.news-link:hover {
    gap: 10px;
}

.news-more {
    text-align: center;
    margin-top: 40px;
}

/* Fix for button primary hover state */
.events-more .button.primary:hover,
.news-more .button.primary:hover {
    background: var(--primary-blue);
    color: var(--text-light);
    border: 2px solid var(--primary-blue);
}

/* Секция вступления в Ассоциацию */
.join-form-block {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.join-form-block h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.join-form-block p {
    color: #666;
    margin-bottom: 30px;
}

.join-form .form-group {
    margin-bottom: 20px;
}

.join-form input,
.join-form select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.join-form input:focus,
.join-form select:focus {
    outline: none;
    border-color: var(--primary-gold);
}

.join-form .button {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    margin-top: 10px;
}

/* Секция мероприятий */
.type-events {
    background: var(--bg-light);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.event-card {
    background: var(--bg-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
    display: flex;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(6,20,120,0.15);
}

.event-date {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--text-light);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.event-date .day {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

.event-content {
    padding: 30px;
    flex: 1;
}

.event-content h3 {
    color: var(--primary-blue);
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.event-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.event-details {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #888;
}

.event-details span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-details i {
    color: var(--primary-gold);
}

.events-more {
    text-align: center;
}

/* Секция Экспертного совета */
.type-expert-council {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-gray) 100%);
    position: relative;
}

.expert-council-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.expert-council-text {
    padding-right: 40px;
}

.expert-council-description {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

.expert-council-features {
    margin-bottom: 40px;
}

.expert-council-features .feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.expert-council-features .feature-item:last-child {
    border-bottom: none;
}

.expert-council-features .feature-item i {
    color: var(--primary-gold);
    font-size: 24px;
    min-width: 30px;
}

.expert-council-features .feature-item span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
}

.expert-council-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.expert-council-icon {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(6,20,120,0.2);
    position: relative;
}

.expert-council-icon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
    opacity: 0.3;
}

.expert-council-icon i {
    color: var(--text-light);
    font-size: 80px;
}

.button.small {
    padding: 10px 20px;
    font-size: 14px;
}

/* Адаптивность */
@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-block {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-date {
        flex-direction: row;
        padding: 20px;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .content-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-block {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .quote-block blockquote {
        padding: 30px 20px;
    }
    
    .quote-block blockquote::before {
        font-size: 60px;
        top: -10px;
        left: 20px;
    }
    
    .quote-block p {
        font-size: 18px;
    }
}

/* Секция акцентированной статьи (Article Highlight) */
.article-highlight {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.article-highlight::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(180,146,90,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.article-highlight-wrapper {
    position: relative;
    z-index: 1;
}

.article-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, #d4a76a 100%);
    color: var(--text-light);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(180,146,90,0.3);
}

.article-badge i {
    font-size: 16px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.article-highlight-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
    background: var(--bg-light);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.1);
    border: 2px solid rgba(180,146,90,0.2);
    position: relative;
}

.article-highlight-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-blue) 0%, var(--primary-gold) 100%);
    border-radius: 20px 0 0 20px;
}

.article-highlight-title {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 700;
}

.article-highlight-excerpt {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}

.article-highlight-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.article-highlight-tags .tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(6,20,120,0.05);
    color: var(--primary-blue);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(6,20,120,0.1);
    transition: all 0.3s;
}

.article-highlight-tags .tag:hover {
    background: rgba(6,20,120,0.1);
    border-color: var(--primary-blue);
}

.article-highlight-tags .tag i {
    font-size: 12px;
    color: var(--primary-gold);
}

.article-highlight-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    text-align: center;
}

.article-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(6,20,120,0.3);
    position: relative;
}

.article-icon::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
    opacity: 0.4;
}

.article-icon i {
    font-size: 50px;
    color: var(--text-light);
}

.button.large {
    padding: 18px 40px;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.button.large:hover {
    gap: 15px;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6,20,120,0.3);
}

.article-meta {
    font-size: 14px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: -10px;
}

.article-meta i {
    color: var(--primary-gold);
    font-size: 16px;
}

/* Адаптивность для article-highlight */
@media (max-width: 992px) {
    .article-highlight-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 30px;
    }

    .article-highlight-title {
        font-size: 28px;
    }

    .article-highlight-excerpt {
        font-size: 16px;
    }

    .article-highlight-action {
        flex-direction: row;
        justify-content: center;
    }

    .article-icon {
        width: 100px;
        height: 100px;
    }

    .article-icon i {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .article-highlight-content {
        padding: 30px 20px;
    }

    .article-highlight-title {
        font-size: 24px;
    }

    .article-highlight-excerpt {
        font-size: 15px;
    }

    .article-highlight-action {
        flex-direction: column;
    }

    .button.large {
        width: 100%;
        justify-content: center;
    }
}