/* Блок статей */
#section2 .articles-preview-section {
    padding: 40px 0;
    background: transparent;
}

/* Контейнер - 3 карточки в один ряд */
#section2 .articles-container-horizontal {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
    flex-wrap: nowrap;
    overflow: hidden;
}

/* Большая карточка */
#section2 .article-card-horizontal {
    background: transparent;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 350px;
    height: 550px;
    flex-shrink: 0;
}

#section2 .article-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

#section2 .article-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

#section2 .article-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

#section2 .article-card-horizontal:hover .article-image img {
    transform: scale(1.05);
}

#section2 .article-image-placeholder {
    height: 100%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.9em;
}

#section2 .featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: gold;
    color: #333;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
}

#section2 .article-content {
    padding: 15px;
    height: 300px;
    display: flex;
    flex-direction: column;
}

#section2 .article-title {
    font-size: 0.7em;
    margin: 0 0 8px 0;
    color: #2c3e50;
    line-height: 1.3;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#section2 .article-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

#section2 .stars {
    color: gold;
}

#section2 .star {
    font-size: 1.1em;
}

#section2 .rating-value {
    font-size: 0.9em;
    color: #6c757d;
}

#section2 .article-excerpt {
    color: #555;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    /* -webkit-line-clamp: 3; */
    -webkit-box-orient: vertical;
    overflow: hidden;
    hyphens: auto;
    text-align: left;
    flex-grow: 1;
    font-size: 0.5em;
}

#section2 .article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.5em;
    color: #6c757d;
    margin-top: auto;
}

/* Кнопка "Все статьи" */
#section2 .articles-actions {
    text-align: center;
    margin-top: 40px;
}

#section2 .view-all-btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #202E56 0%, #202E56 20%, #00747D 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease;
    font-size: 1em;
}

#section2 .view-all-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* Адаптивность */
@media (max-width: 1900px) {
    #section2 .articles-container-horizontal {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    #section2 .articles-container-horizontal {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    #section2 .article-card-horizontal {
        width: 100%;
        max-width: 460px;
        height: auto;
    }

    #section2 .article-image {
        height: auto;
    }

    #section2 .article-content {
        height: auto;
        padding: 15px;
    }

    #section2 .article-title {
        font-size: 0.9em;
        -webkit-line-clamp: unset;
        display: block;
        white-space: normal;
        margin-bottom: 10px;
        text-align: center;
    }

    #section2 .article-excerpt {
        font-size: 0.7em;
        -webkit-line-clamp: unset;
        display: block;
        margin-bottom: 10px;
    }

    #section2 .article-meta {
        font-size: 0.6em;
        margin-top: 10px;
    }
}