.bento-slider-wrapper-a4ee973d {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: calc(100vh - var(--wp-admin--admin-bar--height, 0px) - 110px);
    min-height: 500px;
}

body.admin-bar .bento-slider-wrapper-a4ee973d {
    height: calc(100vh - var(--wp-admin--admin-bar--height, 32px) - 110px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .bento-slider-wrapper-a4ee973d {
        height: calc(100vh - 46px - 90px);
    }
}

.bento-slides-container-a4ee973d {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bento-slide-a4ee973d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

/* Active slide states — Pure fade transitions */
.bento-slide-a4ee973d.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Bento grid layouts */
.bento-grid-a4ee973d {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    height: 100%;
}

/* MOBILE RULE: Show ONLY the central section, make it fill the parent height */
@media (max-width: 767px) {
    .bento-slider-wrapper-a4ee973d {
        height: calc(100vh - var(--wp-admin--admin-bar--height, 0px) - 90px);
    }
    .bento-lt-a4ee973d,
    .bento-lb-a4ee973d,
    .bento-rt-a4ee973d,
    .bento-rb-a4ee973d {
        display: none !important;
    }
    .bento-grid-a4ee973d {
        grid-template-columns: 1fr !important;
        grid-template-rows: 1fr !important;
        gap: 0;
    }
    .bento-center-a4ee973d {
        grid-column: 1 / -1 !important;
        grid-row: 1 / -1 !important;
        height: 100%;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .bento-grid-a4ee973d {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-center-a4ee973d {
        grid-column: span 2;
    }
}

@media (min-width: 1025px) {
    .bento-grid-a4ee973d {
        grid-template-columns: 1fr 2fr 1fr;
        grid-template-rows: repeat(2, 1fr);
        gap: 20px;
    }

    .bento-lt-a4ee973d { grid-column: 1; grid-row: 1; }
    .bento-lb-a4ee973d { grid-column: 1; grid-row: 2; }
    
    .bento-center-a4ee973d { 
        grid-column: 2; 
        grid-row: 1 / span 2; 
    }
    
    .bento-rt-a4ee973d { grid-column: 3; grid-row: 1; }
    .bento-rb-a4ee973d { grid-column: 3; grid-row: 2; }
}

/* Individual blocks styling */
.bento-block-a4ee973d {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.bento-block-a4ee973d:hover {
    transform: translateY(-4px);
}

.bento-block-a4ee973d img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* For transparent images, allow contain fitting to let colors shine */
.bento-block-a4ee973d img[src*=".png"] {
    object-fit: contain;
    padding: 24px;
}

.bento-block-content-a4ee973d {
    padding: 30px;
    text-align: left;
    z-index: 2;
    width: 100%;
}

.bento-block-content-a4ee973d h3 {
    font-size: 1.5rem;
    margin: 0 0 10px 0;
    font-weight: 700;
    text-align: left;
}

.bento-block-content-a4ee973d p {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
    opacity: 0.9;
    text-align: left;
}

/* Central slide section styling */
.bento-center-a4ee973d {
    position: relative;
    background-color: #111;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.bento-center-bg-a4ee973d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.bento-center-overlay-a4ee973d {
    position: relative;
    z-index: 2;
    padding: 40px;
    width: 100%;
    height: 100%;
    background: transparent;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
}

.bento-center-heading-a4ee973d {
    color: #fff;
    font-size: 2.5rem;
    margin: 0 0 10px 0;
    font-weight: 800;
    width: 100%;
}

.bento-center-subtext-a4ee973d {
    color: #eee;
    font-size: 1.05rem;
    margin: 0 0 100px 0;
    max-width: 100%;
    width: 100%;
    line-height: 1.6;
}

.bento-btn-a4ee973d {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 66px;
    padding: 0 40px;
    border-radius: 33px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.bento-btn-a4ee973d:hover {
    transform: translateY(-2px);
}

/* Nav Arrows - 66px */
.bento-nav-arrows-a4ee973d {
    position: absolute;
    right: 40px;
    bottom: 40px;
    display: flex;
    gap: 12px;
    z-index: 10;
}

.bento-prev-a4ee973d,
.bento-next-a4ee973d {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s;
}

.bento-prev-a4ee973d svg,
.bento-next-a4ee973d svg {
    width: 36px;
    height: 36px;
}

.bento-prev-a4ee973d:hover,
.bento-next-a4ee973d:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}
