
/* #############################################################################
/* ####### AU Elements [Category]
/* #############################################################################

/*
--------------------------------------------------------------------------------
1 - Travel / Food / Pilgrimage, aUElm-category-grid.php
--------------------------------------------------------------------------------
*/
/* Block: cat-grid */
.cat-grid__wrapper {
    padding-left: 20px !important;
    padding-right: 0 !important;
}

.cat-grid__card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}

/* Modifiers / States */
.cat-grid__card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: #00bcd4;
    transform: translateY(-5px);
}

.cat-grid__link {
    display: block;
    text-decoration: none;
}

.cat-grid__image-box {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.cat-grid__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cat-grid__card:hover .cat-grid__img {
    transform: scale(1.08);
}

.cat-grid__overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(27, 58, 75, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cat-grid__card:hover .cat-grid__overlay {
    opacity: 1;
}

.cat-grid__info {
    padding: 20px;
}

.cat-grid__title {
    font-size: 1.2rem;
    color: #1b3a4b;
    margin-bottom: 8px;
}

.cat-grid__desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    /* Line Clamping */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .cat-grid__wrapper { 
        padding-left: 10px !important; 
    }
    .cat-grid__image-box { 
        height: 180px; 
    }
}