.parallax-grid-container-8c182225 {
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0; /* Add padding to account for hover scale to prevent cut-off */
}

.parallax-grid-container-8c182225.is-loaded-8c182225 {
    opacity: 1;
}

.parallax-grid-track-8c182225 {
    display: flex;
    flex-wrap: nowrap;
    will-change: transform;
    user-select: none;
    width: max-content;
}

.parallax-grid-item-8c182225 {
    position: relative;
    /* Remove overflow hidden here to allow the inner scale to pop out */
}

.parallax-grid-item-inner-8c182225 {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border-radius: 0; 
    transition: transform 0.3s ease;
    transform-origin: center center;
}

/* Aspect Ratio Modifiers on inner */
.parallax-grid-ratio-square .parallax-grid-item-inner-8c182225 {
    aspect-ratio: 1 / 1;
    height: auto;
}

.parallax-grid-ratio-video .parallax-grid-item-inner-8c182225 {
    aspect-ratio: 16 / 9;
    height: auto;
}

.parallax-grid-ratio-portrait .parallax-grid-item-inner-8c182225 {
    aspect-ratio: 3 / 4;
    height: auto;
}

.parallax-img-8c182225 {
    width: 100%;
    height: 100%;
    display: block;
}

.parallax-grid-overlay-8c182225 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: rgba(0,0,0,0.4); 
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Alignment is controlled by Elementor dynamic CSS */
}

.parallax-grid-title-8c182225 {
    margin: 0 0 5px 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.parallax-grid-desc-8c182225 {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.parallax-grid-desc-8c182225 p {
    margin: 0 0 10px 0;
}
.parallax-grid-desc-8c182225 p:last-child {
    margin-bottom: 0;
}

.parallax-nav-8c182225 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background-color: rgba(255,255,255,0.8);
    color: #333333;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 0;
}

.parallax-nav-8c182225 svg {
    width: 24px;
    height: 24px;
}

.parallax-nav-8c182225:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-50%) scale(1.05);
}

.parallax-nav-8c182225.prev {
    left: 20px;
}

.parallax-nav-8c182225.next {
    right: 20px;
}