/**
 * Tour Categories Widget Stylesheet
 */

.ku-tour-categories {
    width: 100%;
}

.ku-tour-categories__grid {
    display: grid;
    /* Columns are handled dynamically by Elementor CSS variable injection, fallback below */
    grid-template-columns: repeat(1, minmax(0, 1fr));
}


.ku-tour-categories__card {
    position: relative;
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a1a1a;
    text-decoration: none !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    height: 160px;
    z-index: 1;
}

.ku-tour-categories__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

.ku-tour-categories__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 10;
    transition: background-color 0.4s ease;
}

.ku-tour-categories__card:hover .ku-tour-categories__overlay {
    background-color: rgba(0, 0, 0, 0.75);
}

.ku-tour-categories__content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
    z-index: 20;
}

.ku-tour-categories__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
}

.ku-tour-categories__icon-wrap i {
    color: #ffffff;
    font-size: 2.25rem;
    line-height: 1;
}

.ku-tour-categories__icon-wrap svg {
    width: 2.5rem;
    height: 2.5rem;
    fill: #ffffff;
}

.ku-tour-categories__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-w: 0;
}

.ku-tour-categories__title {
    color: #ffffff !important;
    font-size: 1.125rem;
    /* ~18px */
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    padding: 0;
    font-family: 'Sriracha', cursive !important;
}

.ku-tour-categories__desc {
    color: #e5e7eb !important;
    font-size: 0.75rem;
    /* ~12px */
    margin: 0.25rem 0 0 0;
    padding: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ku-tours-carousel__title {
    font-family: var(--font-sriracha) !important;
}

@media (min-width: 768px) {
    .ku-tour-categories__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .ku-tour-categories__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
