
/*** home-categories ***/
.page-categories {
    background: linear-gradient(180deg, #37057C 0%, #280161 100%);
}
.home-categories {
    padding: 57px 0 67px;
    background: transparent;
    position: relative;
}
.home-categories h1 {
    font-family:  var(--font-heading);
    font-weight: 600;
    font-size: 48px;
    line-height: 54px;
    letter-spacing: 0px;
    text-align: center;
    margin: 0;
}
.home-categories__title h1 {
    line-height: 1.5;
    display: table;
    margin: 0 auto;
    padding: 0 24px;
    background: #350479;
    z-index: 1;
    position: relative;
}
.home-categories__title {
    position: relative;
}
.home-categories__title:before {
    content: "";
    position: absolute;
    left: 0;
    width: calc(50% - 300px);
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-image: url(/media/bg-loader.png);
    background-repeat: repeat-x;
    background-position: right center;
    z-index: 1;
}
.home-categories__title:after {
    content: "";
    position: absolute;
    right: 0;
    width: calc(50% - 300px);
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-image: url(/media/bg-loader.png);
    background-repeat: repeat-x;
    background-position: left center;
    z-index: 1;
}
.home-categories__container {
    max-width: 980px;
    margin: 0 auto;
}
.home-categories .row-categories {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.category-card .detail h2 {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    color: var(--color-secondary);
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.category-card:hover .detail h3 {
    color: var(--color-secondary-2);
}
.category-card {
    text-decoration: none !important;
    padding: 1.5rem;
}
.category-card .picture img {
    max-width: 172px;
    max-height: 172px;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
    object-fit: cover;
}
.item_category .category-card .picture {
    position: relative;
}
.item_category .category-card .picture:after {
    content: "";
    position: absolute;
    width: 72px;
    height: 72px;
    right: -12px;
    bottom: -12px;
    background-image: url(/media/icons/button-category.svg);
    background-size: 72px;
    background-position: right bottom;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity .25s ease, transform .25s ease;
}
.item_category .category-card:hover .picture:after {
    opacity: 1;
    transform: translateX(0);
}
.category-card:hover .detail h2 {
    color: var(--color-secondary-2) !important;
}
.home-categories__cta {
    background: rgb(255 255 255 / 10%);
    padding: var(--section-py-sm);
    border-radius: 80px;
}
.page-categories .home-categories__cta h2 {
    font-weight: 500;
    font-size: 24px;
    line-height: 48px;
    align-items: center;
    display: inline-flex;
    margin: 0;
}
span.highlight {
    color: var(--color-secondary-2) !important;
}
.page-categories .home-categories__cta h2 span {
    font-weight: 600;
    font-size: 48px;
    line-height: 48px;
    letter-spacing: 0px;
    margin-right: 24px;
}
.button-style-3.btn-with-icon:hover:after, .button-style-3.btn-with-icon:focus:after {
    background-image: url(/media/icons/arrow-green.svg);
}
.page-categories h2 , .page-categories .h2 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 64px;
    line-height: 100%;
    text-align: center;
    margin: 0;
    position: relative;
    display: inline-block;
}
.page-categories h2.h2-sm {
    font-size: 48px;
}
.page-categories p {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 20px;
    line-height: 32px;
    text-align: center;
    margin: 0;
}
.btn-with-icon {
    padding-right: 72px;
    position: relative;
}
.btn-with-icon:after {
    content: "";
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url(/media/icons/arrow-dark.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.btn-with-icon:hover:after, .btn-with-icon:focus:after {
    background-image: url(/media/icons/arrow-white.svg);
}
/*** End page-categories ***/

section.home-recommendations {
    background: var(--color-bg-main);
    background: linear-gradient(0deg, #350080, #350080), linear-gradient(180deg, rgba(23, 0, 61, 0) 0%, rgba(23, 0, 61, 0.2) 100%);
    background: linear-gradient(0deg, #350080, #350080),linear-gradient(180deg, rgba(23, 0, 61, 0) 0%, rgba(23, 0, 61, 0.2) 100%);

}
.home-recommendations__content {
    position: relative;
}
@media (min-width: 1200px) {
    section.home-recommendations.section-py-lg {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}
@media ( max-width: 1200px ) {
.home-categories {
    padding: 48px 0 57px;
}
.home-categories__title h2 {
    line-height: 1.2;
}
.page-categories h2.h2-sm {
    font-size: 40px;
} 
.home-categories h1 {
    font-size: 40px;
}
.home-categories__title:before , .home-categories__title::after {
    width: calc(50% - 250px); 
        height: 40px;
        background-size: cover;
}
}
@media ( max-width: 1080px ) {
.page-categories .home-categories__cta h2 span {
    font-weight: 600;
    font-size: 40px;
    line-height: 40px;
    letter-spacing: 0px;
    margin-right: 16px;
}
.page-categories .home-categories__cta h2 {
    font-size: 20px;
    line-height: 40px;
}
.home-categories__cta .btn__wrap .btn-with-icon {
    font-size: 14px;
    line-height: 21px;
    font-weight: 600;
    padding: .75rem 1.5rem;
    padding-right: 3rem;
}
.btn-with-icon:after {
    right: 16px;
    width: 22px;
    height: 22px;
}
    .home-categories__cta {
        padding: 1.25rem;
    }
}
@media ( max-width: 992px ) {
    .home-categories__title.mb-4, .home-faq__title.mb-4 {
        margin-bottom: 2rem !important;
    }
    .home-categories .row-categories {
        grid-template-columns: repeat(4, 1fr);
    }
    .home-categories__cta {
        border-radius: 40px;
    }
    .page-categories h2.h2-sm {
        font-size: 36px;
    }
        .home-categories h1 {
        font-size: 36px;
    }
    .category-card {
        padding: 1rem;
    }
        .home-categories__title:before, .home-categories__title::after {
        width: calc(50% - 225px);
        height: 34px;
        background-size: cover;
    }
}
@media ( max-width: 768px ) {
    .home-categories .row-categories {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    .home-categories__cta {
        border-radius: 32px;
    }
    .page-categories .home-categories__cta h2 {
        flex-direction: column;
        align-items: center;
    }
    .page-categories .home-categories__cta h2 {
        font-size: 18px;
        line-height: 1.2;
    }
    .page-categories h2.h2-sm {
        font-size: 30px;
        line-height: 1;
    }
        .home-categories h1 {
        font-size: 32px;
    }
        .home-categories__title:before, .home-categories__title::after {
        width: calc(50% - 205px);
        height: 28px; 
        }
            .home-categories {
        padding: 40px 0;
    }
    .page-categories .home-categories__cta h2 span {
        margin: 0 0 4px;
    }
    .home-categories__cta .btn__wrap .btn-with-icon {
        font-size: 12px;
        line-height: 21px;
        font-weight: 600;
        padding: .75rem 1rem;
        padding-right: 2.5rem;
    }
    .btn-with-icon:after {
    right: 12px;
    width: 20px;
    height: 20px;
    }        
    .category-card {
        gap: 1rem !important;
    }
}
@media ( max-width: 576px ) {
    .home-categories .row-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
        .category-card {
        gap: .75rem !important;
    }
    .page-categories .home-categories__cta h2 span {
        font-size: 36px;
        line-height: 40px; 
        margin: 0 0 4px;
    }
    .page-categories .home-categories__cta h2 {
        font-size: 16px;
        line-height: 1;
    }
    .home-categories__cta {
        padding: 1rem;
    }
    .page-categories h2.h2-sm {
        font-size: 28px;
        line-height: 34px;
    }
    .page-categories h2.h2-sm {
        font-size: 28px;
    }
    
.home-categories h1 {
        font-size: 30px;
        line-height: 1.2;
        max-width: 250px;
        padding: 0 1rem;
        margin: 0 auto;
    }
        .home-categories__title:before, .home-categories__title::after {
        width: calc(50% - 125px);
        height: 28px;
        background-size: cover;
    }
        .home-categories {
        padding: 2rem 0;
    }
    .home-categories__title.mb-4, .home-faq__title.mb-4 {
        margin-bottom: 1.5rem !important;
    }
}
@media (max-width: 480px) {
    .page-categories .home-categories__cta .btn {
        width: 100%;
        max-width: 100%;
        display: block;
    }
    .page-categories .home-categories__cta .btn__wrap {
        width: 100%;
    }
    .page-categories h2.h2-sm {
        font-size: 24px;
    }
        .home-categories h1 {
        font-size: 26px;
        max-width: 210px;
    }
        .home-categories__title:before, .home-categories__title::after {
        width: calc(50% - 95px);
        height: 25px;
        background-size: cover;
    }
    .category-card .detail h2 {
    font-size: 14px; 
    }.category-card {
        padding: .5rem;
    }
    .item_category .category-card .picture:after {
    width: 56px;
    height: 56px;
    right: -8px;
    bottom: -8px;
    background-size: 56px;
}
        .home-categories {
        padding: 1.5rem 0;
    }
    .home-categories__title.mb-4, .home-faq__title.mb-4 {
        margin-bottom: 1.5rem !important;
    }
}
