/* --- BEGIN SH_HERO --- */



/* --- END SH_HERO --- */

/* --- BEGIN ITEM BLOCK RENDER --- */

/* The Container */
.untour-item-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
}

/* The Image */
.untour-item-img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease-in-out;
}

/* The Gradient Overlay (Now darker at the top) */
.untour-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient: Solid black at the top (0%) fading to transparent at the bottom (100%) */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    /* Hidden by default */
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    /*padding: 20px;
			color:#FFF;*/
}

/* The White Text */
.untour-item-text {
    position: absolute;
    top: 20px;
    /* Positions text near the dark top edge */
    left: 20px;
    right: 20px;
    
    /* White text */
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.6rem;
    font-style: italic;
    z-index: 10;
    /* Ensures text stays above the dark overlay */
    opacity: 0;
    /* Hidden by default */
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    transform: translateY(-10px);
    /* Starts slightly higher for a drop-down animation */
    pointer-events: none;
    color: rgba(255,255,255,1);
    isolation: isolate;


}

/* --- HOVER EFFECTS --- */

/* 1. Fade in the dark top gradient */
.untour-item-card:hover .untour-item-overlay {
    opacity: 0.8;
    
}

/* 2. Soft zoom on the image */
.untour-item-card:hover .untour-item-img {
    transform: scale(1.05);
}

/* 3. Fade in and slide down the white text */
.untour-item-card:hover .untour-item-text {
    opacity: 1;
    transform: translateY(0);
    color: rgba(255,255,255,1);
    /* Moves text to its final position */
}

/* --- END ITEM BLOCK RENDER --- */