/* blog-section.css - стили для подраздела "Наш Блог" */



/* Заголовок секции */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.blog-header h2 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.text-accent {
    color: #4a6cf7;
}

.section-subtitle {
    color: #666;
    font-size: 1.2rem;
    max-width: 500px;
    margin: 0 auto 25px;
    line-height: 1.6;
}

/* Декорация заголовка */
.header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.decor-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4a6cf7, transparent);
}

.decor-icon {
    width: 40px;
    height: 40px;
    background: #4a6cf7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

/* Горизонтальная галерея статей */
.blog-articles-horizontal {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 10px 40px;
    scrollbar-width: thin;
    scrollbar-color: #4a6cf7 #f0f0f0;
    scroll-behavior: smooth;
}

.blog-articles-horizontal::-webkit-scrollbar {
    height: 8px;
}

.blog-articles-horizontal::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.blog-articles-horizontal::-webkit-scrollbar-thumb {
    background: #4a6cf7;
    border-radius: 4px;
}

/* Карточка статьи */
.blog-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px dashed #8708c2;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Изображение карточки */
.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .card-image img {
    transform: scale(1.05);
}

/* Бейдж категории */
.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #4a6cf7;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Контент карточки */
.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Мета-информация */
.card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #888;
}

.card-meta i {
    margin-right: 5px;
    color: #4a6cf7;
}

/* Заголовок статьи */
.card-title {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 600;
    flex-grow: 1;
}

/* Краткое содержание */
.card-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Ссылка на статью */
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4a6cf7;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 12px;
}

.card-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.card-link:hover i {
    transform: translateX(5px);
}

/* Футер блога */
.blog-footer {
    text-align: center;
    margin-top: 50px;
}
.supp{
   
    gap: 5px;
}


.btn-outline {
    background: transparent;
    border: 2px solid #4a6cf7;
    color: #4a6cf7;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #4a6cf7;
    color: white;
    transform: translateY(-3px);
}
 /* Здесь та самая кнопка читать все */
 .btn-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4a6cf7 0%, #3a5ce5 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    padding: 12px 25px;
    font-weight: 500;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(74, 108, 247, 0.3);
    margin-block: 20vh;
}

.btn-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 108, 247, 0.4);
    background: linear-gradient(135deg, #3a5ce5 0%, #2a4cd5 100%);
}

.btn-all .card-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-all .card-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.btn-all:hover .card-link i {
    transform: translateX(3px);
}
/* кнопка читать все статьи */


/* Адаптивность */
@media (max-width: 768px) {
    .blog-section {
        padding: 60px 0;
    }
    
    .blog-header h2 {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .blog-articles-horizontal {
        gap: 20px;
        padding: 20px 5px 30px;
    }
    
    .blog-card {
        flex: 0 0 280px;
    }
    
    .card-content {
        padding: 20px;
    }
}