/* Раздел блога */
.blog-section {
    padding: 80px 60px;
    width: 100%;
    box-sizing: border-box;
}

.blog-container {
    margin: 0 auto;
}

.blog-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--color-black);
    text-align: left;
}

.blog-grid {
    display: flex;
    gap: 120px;
    margin-bottom: 40px;
}

.featured-article {
    flex: 0 0 55%;
    max-width: 50%;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.featured-article:hover {
}

.featured-article-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.featured-article-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.featured-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.featured-article-link:hover .featured-article-image img {
}

.featured-article-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 40px;
    color: var(--color-white);
}

.featured-article-category {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
}

.featured-article-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    color: var(--color-white);
}

.featured-article-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.5;
    color: var(--color-white);
}

.featured-article-date {
    font-size: 14px;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-white);
}

.articles-column {
    flex: 0 1 45%;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.blog-article {
    background-color: var(--color-white);
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    height: 180px;
}

.blog-article:hover {
    cursor: pointer;
}

.blog-article-link {
    display: flex;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.blog-article-image {
    flex: 0 0 20%;
    max-width: 20%;
    overflow: hidden;
}

.blog-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-article-link:hover .blog-article-image img {
    
}

.blog-article-content {
    flex: 0 0 60%;
    max-width: 60%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-article-title {
    font-size: 27px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-black);
    line-height: 1.4;
}

.blog-article-excerpt {
    font-size: 14px;
    color: #666; /* Оставляем, так как в переменных нет */
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: none;
}

.blog-article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #888; /* Оставляем, так как в переменных нет */
}

.blog-article-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 21px;
    color: var(--color-black);
}

.blog-article-read-time {
    display: flex;
    align-items: center;
    gap: 5px;
    display: none;
}

.blog-button {
    text-align: left;
    margin-top: 20px;
}

.blog-button .btn {
    padding: 21px 14px;
    font-size: 16px;
    background-color: var(--color-black);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
    width: 320px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
}

.blog-button .btn:hover {
    background-color: #333; /* Оставляем, так как в переменных нет */
}


/* Адаптивность блога */



@media (max-width: 1400px) {

    .blog-article-title {
        font-size: 21px;
    }
}
@media (max-width: 1200px) {
    .blog-section {
        padding: 60px 60px;
    }
    
    .blog-container {
    }
    
    .blog-grid {
        gap: 40px;
    }
    
    .featured-article {
    
    }
    
    .featured-article-title {
        font-size: 28px;
    }
    .blog-article-title {
        font-size: 21px;
    }
    .blog-article-date {
    font-size: 18px;

}
}

@media (max-width: 1024px) {
    .blog-section {
        padding: 60px 60px;
    }
    
    .blog-grid {
        flex-direction: column;
        gap: 40px;
    }
    
    .featured-article, 
    .articles-column {
        flex: 0 1 100%;
        max-width: 100%;
    }
    
    .featured-article {
        height: 500px;
    }
    
    .blog-article {
        height: 160px;
    }
}

@media (max-width: 768px) {
    .blog-section {
        padding: 50px 20px;
    }
    
    .blog-title {
        font-size: 30px;
    }
    
    .featured-article {
        height: 400px;
    }
    
    .featured-article-overlay {
        padding: 25px;
    }
    
    .featured-article-title {
        font-size: 24px;
    }
    
    .featured-article-subtitle {
        font-size: 16px;
    }
    
    .blog-article {
        flex-direction: column;
        height: auto;
    }
    
    .blog-article-image, 
    .blog-article-content {
       
    }
    
    .blog-article-image {
        height: 200px;
    }
    
        .blog-article-content {
        padding: 20px;
        flex-wrap: wrap;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .blog-article-title{
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .blog-section {
        padding: 40px 20px;
    }
    
    .blog-title {
        font-size: 26px;
        margin-bottom: 32px;
    }
    
    .featured-article {
        height: 350px;
    }
    
    .featured-article-overlay {
        padding: 20px;
    }
    
    .featured-article-title {
        font-size: 20px;
    }
    
    .featured-article-subtitle {
        font-size: 14px;
    }
    
    .blog-article-image {
        height: 142px;
    }
    .blog-article-date{
        font-size: 14px;
    }
    .blog-button {
    text-align: center;
}
}