/* ==========================================================
   Home Categories Module
   ========================================================== */

.hc-home-categories {
    padding: 70px 0;
}

.hc-home-categories .container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}

/*--------------------------------------------------
Section Title
--------------------------------------------------*/

.hc-section-title {
    text-align: center;
    margin-bottom: 40px;
    display: none;
}

.hc-section-title h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #18243a;
    line-height: 1.2;
}

/*--------------------------------------------------
Grid
--------------------------------------------------*/

.hc-category-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}
/*--------------------------------------------------
Card
--------------------------------------------------*/

.hc-category-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: .3s ease;
    box-shadow: 0 8px 18px rgba(0,0,0,.08);
}

.hc-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,.15);
}

.hc-category-link {
    display: block;
    color: inherit;
    text-decoration: none !important;
}

.hc-category-link:hover {
    text-decoration: none !important;
    color: inherit;
}

/*--------------------------------------------------
Image
--------------------------------------------------*/
.hc-category-grid a {
    text-decoration: none;
    outline: none;
}
.hc-category-grid a:hover h3 {
    color: #0b078e;
}
.hc-category-image {
    position: relative;
    background: #fff;
    width: auto;
    height: 200px;
    text-align: center;
    padding: 5px;
    border-radius: 10px;
    margin: 0 auto;
    overflow: hidden;
    /* box-shadow: 0px 0px 5px 0px #ccc; */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 8px;
}

.hc-category-image img {
    height: 100%;
    aspect-ratio: 1 / 1;
    margin: 0px auto;
}

.hc-category-card:hover .hc-category-image img {
    transform: scale(1.08);
}

.hc-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 250px;
    color: #999;
    font-size: 15px;
}

/*--------------------------------------------------
Content
--------------------------------------------------*/

.hc-category-content {
    text-align: center;
}
.hc-category-grid > div {
    max-width: 30%;
    width: 100%;
}
.hc-category-name {
    margin: 0;
    color: #18243a;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 500;
}

.hc-category-description {
    margin: 0 0 20px;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    min-height: 48px;
	display: none;
}
.hc-category-grid > div:first-child {
    max-width: 100%;
}
.hc-category-grid > div:first-child h3 {
    font-size: 14pt;
    font-weight: 600;
}
.hc-category-grid > div:first-child p {
    margin-top: 15px;
}



/*--------------------------------------------------
Button
--------------------------------------------------*/

.hc-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #000;
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: .3s;
	display: none;
}

.hc-category-card:hover .hc-btn {
    background: #e63946;
}

/*--------------------------------------------------
Responsive
--------------------------------------------------*/

@media (max-width: 1199px) {

    .hc-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width: 991px) {

    .hc-home-categories {
        padding: 60px 0;
    }

    .hc-section-title h2 {
        font-size: 30px;
    }

    .hc-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

}

@media (max-width: 767px) {
    .hc-home-categories {
        padding: 50px 0;
    }
    .hc-section-title {
        margin-bottom: 30px;
    }
    .hc-section-title h2 {
        font-size: 20px;
    }
    .hc-category-name {
        font-size: 16px;
    }
	.hc-category-image {
		width: 100px;
		height: 100px;
	}



}

@media (max-width: 480px) {

    .hc-btn {
        width: 100%;
        text-align: center;
    }

}