.blog-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 328px;
    margin: 0 auto;
}

.blog-section__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    text-align: center;
    color: #2b3d4f;
}

.blog-section__title {
    margin: 0;
    font-size: 28px;
    line-height: 100%;
    font-weight: 500;
}

.blog-section__text {
    margin: 0;
    font-size: 16px;
    line-height: 150%;
    font-weight: 400;
}

.blog-cards {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.blog-cards::-webkit-scrollbar {
    display: none;
}

.blog-card {
    display: flex;
    flex: 0 0 288px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    width: 288px;
    height: 420px;
    padding: 24px;
    scroll-snap-align: start;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.12);
}

.blog-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

.blog-card__header {
    position: relative;
    width: 100%;
    height: 160px;
    border-radius: 8px;
    background: linear-gradient(90deg, #28af60 0%, #1bb876 100%);
}

.blog-card__tag {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 12px;
    line-height: 14px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
}

.blog-card__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.blog-card__title {
    margin: 0;
    font-size: 18px;
    line-height: 140%;
    font-weight: 700;
    color: #2b3d4f;
}

.blog-card__text {
    margin: 0;
    font-size: 14px;
    line-height: 160%;
    font-weight: 400;
    color: #9da4ab;
}

.blog-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.blog-card__date {
    font-size: 14px;
    line-height: 17px;
    font-weight: 400;
    color: #6c7781;
    white-space: nowrap;
}

.blog-card__link {
    font-size: 14px;
    line-height: 17px;
    font-weight: 700;
    color: #28af60;
    text-decoration: none;
    white-space: nowrap;
}

.blog-card__link:hover {
    opacity: 0.85;
}

@media (min-width: 1024px) {
    .blog-section {
        max-width: 1200px;
        gap: 40px;
    }

    .blog-section__title {
        font-size: 34px;
        line-height: 38px;
    }

    .blog-section__text {
        font-size: 20px;
        line-height: 100%;
    }

    .blog-cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(1, 1fr);
        gap: 24px;
        scroll-snap-type: none;
    }

    .blog-card {
        width: 100%;
        height: 392px;
    }
}