.bento-slider-wrapper-424c2ba6 {
    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-424c2ba6 {
    height: calc(100vh - var(--wp-admin--admin-bar--height, 32px) - 110px);
}

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

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

.bento-slide-424c2ba6 {
    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;
}

.bento-slide-424c2ba6.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

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

/* TABLET RULE: Show ONLY the central image, hide the rest */
@media (min-width: 768px) and (max-width: 1024px) {
    .bento-lt-424c2ba6,
    .bento-lb-424c2ba6,
    .bento-rt-424c2ba6,
    .bento-rb-424c2ba6 {
        display: none !important;
    }
    .bento-grid-424c2ba6 {
        grid-template-columns: 1fr !important;
        grid-template-rows: 1fr !important;
        gap: 0;
    }
    .bento-center-424c2ba6 {
        grid-column: 1 / -1 !important;
        grid-row: 1 / -1 !important;
        height: 100%;
    }
    .bento-center-overlay-424c2ba6 {
        padding: 30px !important;
    }
}

/* MOBILE RULE: Show ONLY the center slide, scale typography and button */
@media (max-width: 767px) {
    .bento-slider-wrapper-424c2ba6 {
        height: calc(100vh - var(--wp-admin--admin-bar--height, 0px) - 90px);
    }
    .bento-lt-424c2ba6,
    .bento-lb-424c2ba6,
    .bento-rt-424c2ba6,
    .bento-rb-424c2ba6 {
        display: none !important;
    }
    .bento-grid-424c2ba6 {
        grid-template-columns: 1fr !important;
        grid-template-rows: 1fr !important;
        gap: 0;
    }
    .bento-center-424c2ba6 {
        grid-column: 1 / -1 !important;
        grid-row: 1 / -1 !important;
        height: 100%;
    }
    .bento-center-heading-424c2ba6 {
        font-size: 1.8rem !important;
        margin-bottom: 6px !important;
    }
    .bento-center-subtext-424c2ba6 {
        font-size: 0.95rem !important;
        margin-bottom: 20px !important; /* Positioned closely above buttons */
        line-height: 1.4 !important;
    }
    .bento-btn-424c2ba6 {
        height: 48px !important;
        padding: 0 24px !important;
        border-radius: 24px !important;
        font-size: 0.85rem !important;
    }
    .bento-center-overlay-424c2ba6 {
        padding: 24px !important;
    }
    .bento-prev-424c2ba6,
    .bento-next-424c2ba6 {
        width: 44px !important;
        height: 44px !important;
    }
    .bento-prev-424c2ba6 svg,
    .bento-next-424c2ba6 svg {
        width: 24px !important;
        height: 24px !important;
    }
    .bento-nav-arrows-424c2ba6 {
        right: 24px !important;
        bottom: 24px !important;
    }
}

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

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

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

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

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

.bento-block-424c2ba6 img[src*=".png"] {
    object-fit: contain;
    padding: 24px;
}

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

.bento-block-content-424c2ba6 h3 {
    font-size: 1.5rem;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.bento-block-content-424c2ba6 p {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
    opacity: 0.9;
}

/* Color classes with fallback forces */
.bento-text-light,
.bento-text-light h3,
.bento-text-light p {
    color: #FFFFFF !important;
}

.bento-text-dark,
.bento-text-dark h3,
.bento-text-dark p {
    color: #1A1A1A !important;
}

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

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

.bento-center-overlay-424c2ba6 {
    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-424c2ba6 {
    color: #fff;
    font-size: 2.5rem;
    margin: 0 0 10px 0;
    font-weight: 800;
    width: 100%;
}

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

.bento-btn-424c2ba6 {
    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-424c2ba6:hover {
    transform: translateY(-2px);
}

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

.bento-prev-424c2ba6,
.bento-next-424c2ba6 {
    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-424c2ba6 svg,
.bento-next-424c2ba6 svg {
    width: 36px;
    height: 36px;
}

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