/* Hero section starts */

#page-hero .hero-text {
    margin-bottom: 25px;
}

.hero-text p:first-child {
    width: 100%;
    color: #415264;
    font-size: 20px;
    line-height: 24px;
}

/* Hero section ends */

#articles-section {
    padding-top: 0;
}

.article-inner {
    position: relative;
    overflow: hidden;
    height: 360px;
    border-radius: 20px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 35px;
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    margin-bottom: 10px;
}

.article-inner::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(41, 53, 66);
    background: -moz-linear-gradient(45deg, rgba(41, 53, 66, 1) 0%, rgba(41, 53, 66, 0.9976584383753502) 6%, rgba(41, 53, 66, 0.9192270658263305) 17%, rgba(41, 53, 66, 0) 100%);
    background: -webkit-linear-gradient(45deg, rgba(41, 53, 66, 1) 0%, rgba(41, 53, 66, 0.9976584383753502) 6%, rgba(41, 53, 66, 0.9192270658263305) 17%, rgba(41, 53, 66, 0) 100%);
    background: linear-gradient(45deg, rgba(41, 53, 66, 1) 0%, rgba(41, 53, 66, 0.9976584383753502) 6%, rgba(41, 53, 66, 0.9192270658263305) 17%, rgba(41, 53, 66, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#293542", endColorstr="#293542", GradientType=1);
}

.article-content {
    margin-top: auto;
    position: relative;

    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.article-content h5,
.article-content p {
    width: 390px;
    flex-basis: 390px;
    max-width: 100%;
}

.article-title {
    position: relative;
}

.article-title::before {
    content: "";
    display: block;
    position: absolute;
    left: -35px;
    top: 0;
    width: 6px;
    height: 100%;
    background-color: var(--orange);
}

.article-buttons {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: center;
    flex-basis: 100%;
    max-width: 100%;
}

.my-button.article-button {
    padding: 12px 23px;
    color: var(--white);
    margin-right: 10px;
    margin-bottom: 10px;
}

.my-button.article-button:hover,
.my-button.article-button:focus-within {
    background-color: var(--orange);
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 35px;
}

.arrows-pagination {
    -webkit-mask-position: center;
    display: block;
    background-color: #e1916d;
    width: 22px;
    height: 16px;
}

.next-arrow {
    -webkit-mask: url('/wp-content/uploads/2023/12/right-arrow.svg');
    -webkit-mask-repeat: no-repeat;
}

.prev-arrow {
    -webkit-mask: url('/wp-content/uploads/2023/12/left-arrow.svg');
    -webkit-mask-repeat: no-repeat;
}

.next {
    margin-left: 20px;
}

.prev {
    margin-right: 20px;
}

.pagination-wrapper .page-numbers {
    width: 48px;
    height: 48px;
    border-radius: 24px;
    background-color: rgba(255,255,255,0);
    border: 2px solid rgba(255,255,255,0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2b3d50;
    font-size: 20px;
    font-weight: 500;
}

.pagination-wrapper .page-numbers:hover {
    background-color: rgba(152,152,152,0);
    border: 2px solid #e1916d;
}

.pagination-wrapper .page-numbers.current {
    width: 48px;
    height: 48px;
    border-radius: 24px;
    background-color: rgba(152,152,152,0);
    border: 2px solid #e1916d;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e1916d;
    margin: 0 10px;
}



footer {
    border-top: 1px solid var(--gold);
}

@media (max-width: 575.8px) {
    .article-inner {
        padding: 20px;
        height: auto;
        min-height: 360px;
    }

    .article-title::before {
        left: -20px;
    }
}