.articles {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
}

.articles-bg-1,
.articles-bg-2 {
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    width: 290px;
    height: 570px;
    z-index: -1;
}

.articles-bg-1 {
    background-image: url(../../images/light-left-bg.png);
    top: 10%;
    left: -3%;
}

.articles-bg-2 {
    background-image: url(../../images/light-right-bg.png);
    top: 30%;
    right: 0;
}

.articles h1 {
    font-family: Buyan;
    font-weight: 700;
    font-size: 92px;
    line-height: 105%;
    text-transform: uppercase;
    background-image: radial-gradient(159.48% 598.74% at 19.84% 55.71%, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    text-align: center;
    margin-bottom: 60px;
}

@media screen and (max-width: 900px) {
    .articles h1 {
        font-size: 60px;
        margin-bottom: 55px;
    }
}


@media screen and (max-width: 600px) {
    .articles h1 {
        font-size: 50px;
        margin-bottom: 40px;
    }
}


.articles-categories {
    display: flex;
    gap: 21px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

@media screen and (max-width: 900px) {
    .articles-categories {
        gap: 15px;
    }
}


@media screen and (max-width: 600px) {
    .articles-categories {
        gap: 11px;
        margin-bottom: 30px;
    }
}

.articles-category {
    padding: 5px 26px;
    height: 60px;
    background: transparent;
    border: 2px solid #B5B4B4;
    border-radius: 24px;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 105%;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}

.articles-category:hover,
.articles-category.active {
    background: #FFFFFF;
    border: 2px solid #FFFFFF;
    transform: translateY(-2px);
    color: #0D0D0D;
}

@media screen and (max-width: 900px) {
    .articles-category {
        height: 47px;
        font-size: 10px;
    }
}


@media screen and (max-width: 600px) {
    .articles-category {
        padding: 5px 15px;
        height: 34px;
        border: 1px solid #B5B4B4;
        font-size: 8px;
    }
}

.articles-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
}

.articles-search {
    margin: 30px 0;
}

#articles-search-input {
    width: 100%; 
    border: 1px solid rgba(255, 255, 255, 0.3); 
    border-radius: 10px; 
    background: rgba(255, 255, 255, 0.1); 
    color: #fff; 
    font-size: 16px;
}

@media screen and (max-width: 900px) {
    #articles-search-input {
        font-size: 12px;
    }
}


@media screen and (max-width: 600px) {
    #articles-search-input {
        font-size: 10px;
    }
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 34px;
}

@media screen and (max-width: 900px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 19.5px;
    }
}


@media screen and (max-width: 600px) {
    .articles-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 25px;
        margin-bottom: 19px;
    }
}
