/* =========================================
   HOME CATEGORIES
   Unique classes - no theme conflict
========================================= */

.home-cat-section {
    background: #f3f4fd;
    padding: 22px 0 30px;
}


/* =========================================
   TITLE
========================================= */

.home-cat-heading {
    text-align: center;
    margin-bottom: 25px;
}

.home-cat-heading h2 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 30px;
    line-height: 1.3;

    font-weight: 700;

    letter-spacing: .7px;

    text-transform: uppercase;

    color: #171c43;

    text-shadow: 1px 1px 2px rgba(0, 0, 0, .18);
}


/* =========================================
   DESKTOP GRID
   3 BIG CIRCLES - FULL CONTAINER WIDTH
========================================= */

.home-cat-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    width: 100%;

    column-gap: 18px;
    row-gap: 18px;

    align-items: center;
}


/* =========================================
   CATEGORY ITEM
========================================= */

.home-cat-item {
    display: block;

    width: 100%;

    text-align: center;

    text-decoration: none !important;
}


/* =========================================
   BIG CIRCLE
========================================= */

.home-cat-image-wrap {
    position: relative;

    width: 90%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    border-radius: 50%;

    background: #ddd;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, .20);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


/* =========================================
   IMAGE
========================================= */

.home-cat-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;
}


/* =========================================
   CATEGORY NAME
========================================= */

.home-cat-name {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    display: block;

    width: max-content;

    max-width: 70%;

    padding: 6px 14px;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

    border-radius: 25px;

    background: #fff;

    color: #11164b;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 13px;

    line-height: 1.2;

    font-weight: 700;

    letter-spacing: .3px;

    text-transform: uppercase;

    box-shadow:
        0 2px 6px rgba(0, 0, 0, .18);

    z-index: 2;
}


/* =========================================
   HOVER
========================================= */

.home-cat-item:hover .home-cat-image-wrap {
    transform: scale(1.02);

    box-shadow:
        0 7px 18px rgba(0, 0, 0, .25);
}


/* =========================================
   MOBILE HIDDEN
========================================= */

.home-cat-mobile {
    display: none;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .home-cat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));

        column-gap: 12px;
        row-gap: 15px;
    }

    .home-cat-name {
        font-size: 11px;

        padding: 5px 10px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .home-cat-section {
        padding: 18px 0 22px;
    }


    .home-cat-heading {
        margin-bottom: 18px;
    }


    .home-cat-heading h2 {
        font-size: 16px;
    }


    /* Hide Desktop */

    .home-cat-desktop {
        display: none;
    }


    /* Show Mobile */

    .home-cat-mobile {
        display: block;
    }


    .home-cat-slider {
        padding: 0 8px;
    }


    .home-cat-mobile .home-cat-item {
        width: 170px;

        margin: 0 auto;
    }


    .home-cat-mobile .home-cat-image-wrap {
        width: 170px;
        height: 170px;

        margin: 0 auto;
    }


    .home-cat-mobile .home-cat-name {
        font-size: 11px;

        padding: 5px 10px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .home-cat-mobile .home-cat-item {
        width: 145px;
    }


    .home-cat-mobile .home-cat-image-wrap {
        width: 145px;
        height: 145px;
    }


    .home-cat-mobile .home-cat-name {
        font-size: 10px;

        padding: 4px 8px;
    }

}