.blog {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    margin-top: 90px;
}

.margin {
    height: 0;
}

.blog_wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 970px;
    justify-content: center;
}

.blog_title {
    width: 100%;
    height: auto;
    display: flex;
    margin-bottom: 20px;
    align-items: center;
    flex-direction: column;
}

.blog_Works_title {
    color: #545C9E;
    font-size: 16px;
    letter-spacing: 2px;
    font-weight: 550;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-left: 40px;
}

.blog_line_gradient {
    margin-left: 40px;
    width: 32px;
    padding: 0.5px;
    height: 1px;
    background: linear-gradient(145deg, #80E5FF 0px, #545C9E 80%, #545C9E 100%);
}

.blog_title_h1 {
    margin-top: 32px;
    text-align: center;
    background: linear-gradient(145deg, #80E5FF 0px, #545C9E 50%, #545C9E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 56px;
    letter-spacing: 2px;
    font-weight: 550;
}

.blog_title_h2 {
    color: #545C9E;
    font-size: 20px;
    padding: 5px;
    letter-spacing: 1.2px;
    text-align: center;
}

.blog_title_h3 {
    color: #465478;
    font-size: 26px;
    padding: 5px;
}

.blog_title_h4 {
    color: #545C9E;
    font-size: 14px;
    padding: 20px;
}
.blog_cart {
    display: flex;
    align-items: center;
padding: 10px;
    border-radius: 10px;
    margin-bottom: 120px;
    opacity: 0;

    transition: opacity 1.6s ease, transform 1.6s ease;
    cursor: pointer;
}

.blog_cart:hover{
   background-color: rgba(255, 255, 255, 0.21);
    border: 1px solid rgba(156, 164, 237, 0.49);
}
.blog_cart.visible {
    opacity: 1;
    transform: translateY(0);
}

.blog_cart_time{
    border: 1px solid #465478;
    border-radius: 10px;
    color: #465478;
    padding: 4px 10px 4px 10px;
}
.blog_cart_content {
    display: flex;
    width: 100%;
    height: 221px;
}

.blog_cart_left {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 215px;
    justify-content: space-between;
}

.blog_cart_head {
    display: flex;
    flex-direction: column;
    width: 487px;
    height: 116px;
    justify-content: space-between;
}

.blog_cart_footer {
    display: flex;
    align-items: center;
    height: 32px;
}

.blog_cart_content_img1 {
    margin-top: -2px;
}

.blog_cart_content_img {
    height: 252px;
    width: 446px;
}

/* Кнопка Load More */
.button_purple_more {
    margin-top: 20px;
    cursor: pointer;
}

/* Анимация при наведении на кнопку */
.button_purple_more .span_transition {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}

.button_purple_more:hover .span_transition {
    transform: translateY(-2px);
}


/* Планшеты (до 1024px) */
@media (max-width: 1024px) {
    .blog_wrapper {
        width: 90%;
    }

    .blog_title {
        width: 100%;
        height: auto;
    }

    .blog_cart_content {
        flex-direction: column;
        height: auto;
    }

    .blog_cart_content_img {
        width: 100%;
        height: auto;
    }

    .blog_cart_head {
        width: 100%;
    }
}

/* Смартфоны (до 768px) */
@media (max-width: 768px) {
    .blog_title_h1 {
        font-size: 36px;
        letter-spacing: 1px;
    }

    .blog_title_h2 {
        font-size: 16px;
    }

    .blog_title_h3 {
        font-size: 20px;
    }

    .blog_cart {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 10px;
        background-color: rgba(255, 255, 255, 0.21);
        border: 1px solid rgba(156, 164, 237, 0.49);
    }

    .blog_cart_content {
        flex-direction: column;
    }

    .blog_cart_left {
        height: auto;
        width: 100%;
    }

    .blog_cart_head {
        width: 100%;
        height: auto;
    }

    .blog_cart_content_img {
        width: 100%;
        height: auto;
        margin-top: 15px;
    }
}

/* Маленькие телефоны (до 480px) */
@media (max-width: 480px) {
    .blog_title_h1 {
        font-size: 28px;
    }

    .blog_title_h2 {
        font-size: 14px;
    }

    .blog_title_h3 {
        font-size: 18px;
    }

    .blog_title_h4 {
        font-size: 12px;
    }

    .blog_cart {
        margin-bottom: 40px;
        padding: 8px;
    }

    .blog_cart_time {
        font-size: 8px;
        padding: 3px 8px;
    }
}
