@import "../components/header.css";
@import "../components/footer.css";
@import "../components/animationns.css";


.page-blog {
    padding-top: 80px;
}

.blog__top {
    padding-block: 40px 44px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.blog__title {
    color: var(--text-white);
    text-align: center;
    font-size: 56px;
    font-weight: 600;
    line-height: 130%;
    text-transform: capitalize;
    margin-bottom: 20px;
}

.blog__title span {
    background: -webkit-gradient(linear, left top, right top, from(#FEB02B), color-stop(50%, #DD272C), to(#9D3B8C));
    background: -o-linear-gradient(left, #FEB02B 0%, #DD272C 50%, #9D3B8C 100%);
    background: linear-gradient(90deg, #FEB02B 0%, #DD272C 50%, #9D3B8C 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog__article-content {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.blog__text {
    max-width: 740px;
    color: var(--text-gray-2);
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;

}

.blog__articles {
    overflow: hidden;
    display: -ms-grid;
    display: grid;
    gap: 20px;
    -ms-grid-columns: 1fr 20px 1fr 20px 1fr;
    grid-template-columns: repeat(3, 1fr);
    padding-block: 20px;
    margin-bottom: 100px;
}

.blog__article {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative;
    -webkit-transition: 0.25s ease-in-out;
    -o-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
}

.blog__article-content::before,
.blog__article-content::after {
    opacity: 0;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: -o-linear-gradient(
            45deg,
            #FEB02B,
            #DD272C,
            #9D3B8C,
            #0096D3,
            #06B457,
            #FEB02B
    );
    background: linear-gradient(
            45deg,
            #FEB02B,
            #DD272C,
            #9D3B8C,
            #0096D3,
            #06B457,
            #FEB02B
    );
    background-size: 400%;
    z-index: -1;
    -webkit-animation: glow 20s linear infinite;
    animation: glow 20s linear infinite;
    width: 100%;
    border-radius: 20px;
    -webkit-transition: opacity 0.25s ease-in-out;
    -o-transition: opacity 0.25s ease-in-out;
    transition: opacity 0.25s ease-in-out;
}

.blog__article-content::after {
    -webkit-filter: blur(10px);
    filter: blur(10px);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

@media (hover: hover) {
    .blog__article-content:hover::before,
    .blog__article-content:hover::after {
        opacity: 1;
    }

    .blog__article-content:hover {
        -webkit-transform: scale(1.01);
        -ms-transform: scale(1.01);
        transform: scale(1.01);
    }
}


.blog__article img {
    max-width: 100%;
    width: 100%;
    border-radius: 16px 16px 0px 0px;
}

.blog__article-text {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding: 24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;

    border-radius: 0px 0px 16px 16px;
    border-right: 1px solid var(--Gradient-linear-stroke-widget, #1E2632);
    border-bottom: 1px solid var(--Gradient-linear-stroke-widget, #1E2632);
    border-left: 1px solid var(--Gradient-linear-stroke-widget, #1E2632);
    background: var(--Neutral-Black-light, #050D19);
}

.blog__article-date {
    color: var(--text-gray-2);
    font-size: 14px;
    font-weight: 300;
    line-height: 150%;
    margin-bottom: 12px;
}

.blog__article-text h4 {
    color: var(--text-white);
    font-size: 20px;
    font-weight: 500;
    line-height: 130%;
    text-transform: capitalize;
    margin-bottom: 8px;
}

.blog__article-text p {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    color: var(--text-gray-2);
    font-size: 16px;
    line-height: 150%;
    margin-bottom: 16px;
}

.blog__article-link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 4px;
    color: var(--text-gray-2);
    text-align: center;
    font-size: 16px;
    font-weight: 300;
    line-height: normal;
}

.blog__article-link img {
    width: 16px;
    height: 16px;
}

.table-cell__mb8 {

}

@media screen and (max-width: 1024px) {
    .blog__articles {
        -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .page-blog {
        padding-top: 64px;
    }

    .blog__top {
        padding-block: 24px 20px;
    }

    .blog__title {
        font-size: 36px;
        margin-bottom: 8px;
    }

    .blog__text {
        font-size: 16px;
    }

    .blog__articles {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
        margin-bottom: 60px;
    }

    .blog__article-date {
        font-size: 12px;
    }

    .blog__article-text h4 {
        font-size: 18px;
    }

    .blog__article-text {
        padding: 20px;
    }

    .blog__article-text p {
        font-size: 14px;
    }

    .blog__article-link {
        font-size: 14px;
    }

    .blog__article-link img {
        width: 14px;
        height: 14px;
    }
}