.categories {
    margin-bottom: 22px;
    padding: 0px 0 16px;
    border-bottom: 2px solid #5F4FCB;
    display: flex;
    flex-wrap: nowrap;
    overflow: auto;
}
.categories a {
    font-family: "GOTHAM Bold", Sans-serif !important;
    font-style: normal;
    font-size: 18px;
    color: #9F95E0;
    white-space: nowrap;
}
.categories a:not(:last-child) {
    margin-right: 16px;
}

.categories a:hover,
.categories .active {
    color: #5F4FCB;
}

.jh-article-posts {
    gap: 12px;
    display: grid;
    grid-template-columns: auto;
    margin-bottom: 32px;
    place-items: center;
    min-height: 300px;
}

.jh-article-posts .post {
    max-width: 380px;
}

.jh-article-posts .post .entry-content {
    border: none !important;
    margin-bottom: 0;
}

.jh-article-posts .post .entry-date span {
    font-family: "GOTHAM Bold", Sans-serif;
}

.jh-article-posts .post .read-more a.btn-inline,
.jh-article-posts .post .entry-title a {
    font-family: "GOTHAM Bold", Sans-serif !important;
}

.pagination {
    display: flex;
    justify-content: center;
    padding-bottom: 32px;
    gap: 1em;
    border-bottom: 2px solid #5F4FCB;
    margin-bottom: 32px;
}

.pagination .page-link {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: none;
    padding: 0;
    font-family: "GOTHAM Book", Sans-serif;
    font-size: 12px;
}

.pagination .page-link:not(.mobile) {
    display: none;
}

.pagination .next,
.pagination .prev {
    display: grid !important;
}

.pagination .next svg,
.pagination .prev svg {
    width: 8px;
    height: 16px;
}

.pagination .page-link:hover,
.pagination .active {
    background: #EFEDFA;
    border-radius: 8px;
    color: #B744E2;
    font-weight: 600;
}

.pagination .page-link:hover svg path,
.pagination .enabled svg path {
    stroke: #B744E2;
}

.elementor-widget-container {
    position: relative;
}

.elementor-widget-juanhand-articles .post-style-3 .read-more {
    margin-top: 14px;
}

@media (min-width: 768px) {
    .categories {
        padding: 22px 0;
    }
    .categories a {
        font-size: 24px;
    }
    .categories a:not(:last-child) {
        margin-right: 42px;
    }

    .jh-article-posts {
        grid-template-columns: auto auto;
        gap: 2%;
        margin-bottom: 42px;
    }
    .pagination {
        padding-bottom: 42px;
        margin-bottom: 48px;
    }
    .pagination .page-link:not(.mobile) {
        display: grid;
    }
    .pagination .page-link.mobile {
        display: none;
    }
    .pagination .page-link:focus {
        outline: none;
        box-shadow: none;
        background: #EFEDFA;
        border-radius: 8px;
        color: #B744E2;
        font-weight: bold;
    }
}

@media (min-width: 1200px) {
    .jh-article-posts {
        grid-template-columns: auto auto auto;
        min-height: 500px;
    }

    .pagination {
        gap: 22px;
    }
    
    .pagination .page-link {
        width: 40px;
        height: 40px;
        font-size: initial;
    }
    .pagination .next svg,
    .pagination .prev svg {
        width: auto;
        height: auto;
    }
    .elementor-widget-juanhand-articles .post-style-3 .read-more {
        margin-top: 1em;
    }
}