.image-text-block {
    max-width: 1240px !important;
margin-top: 40px !important;
margin-bottom: 40px !important;
}

.image-text-block-flex {
    display: flex;
    align-items: center;
}

.image-text-block-flex .image-wrapper img {
    border-radius: 10px;
    display: block;
    max-height: 600px;
    object-fit: cover;
    max-width: 840px;
    left: -20px;
    position: relative;
    width: 100%;
    transition: all .5s ease-in-out;
}

.top-topic {
    font-size: 20px;
    margin-bottom: 20px;
}

.image-text-block-flex .text-wrapper {
    background-color: #fff;
    padding: 100px 150px 50px 50px;
    border-radius: 10px;
    box-shadow: 0 3px 6px #00000029;
    max-width: 580px;
    margin-left: -250px;
    position: relative;
    z-index: 1;
    transition: all .5s ease-in-out;
}

.image-text-block-flex:hover .text-wrapper {
    margin-left: -270px;
}

.image-text-block-flex:hover .image-wrapper img {
    left: 0;
}

.text-topic {
    height: 150px;
    right: 0;
    top: 0;
    width: 150px;
    border-radius: 0 10px 0 0;
    position: absolute;
    box-shadow: 0px 3px 6px #00000029;
}

.text-topic p {
    font-size: 16px;
    color: white;
    bottom: 15px;
    left: 15px;
    position: absolute;
    margin: 0 !important;
}

.text-wrapper h2 {
    max-width: 390px;
    font-size: 32px;
}

.text-wrapper p {
    max-width: 350px;
    font-size: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
    line-height: 1.5;
}

.text-wrapper .wp-block-buttons {
    width: 450px;
}

@media only screen and (max-width: 1024px) {
    .image-text-block-flex {
        flex-wrap: wrap;
    }

    .image-text-block-flex .image-wrapper img {
        min-height: auto;
        left: 0 !important;
        z-index: 9;
    }

    .image-text-block-flex .text-wrapper {
        margin-left: 0;
        width: 100%;
        margin-top: -20px;
        margin-left: 0 !important;
        max-width: -webkit-fill-available;
        padding: 40px 20px 20px 20px;
    }

    .text-topic {
        height: 130px;
        width: 130px;
        display: none;
    }

    .text-topic p {
        max-width: 110px;
        font-size: 16px;
    }

    .text-wrapper h2 {
        max-width: 100%;
    }

    .text-wrapper p {
        max-width: 100%;
    }

    .text-wrapper .wp-block-buttons {
        width: 100%;
    }
}

/* Regular Slider Styles */
.custom-slider-block {
    position: relative;
    max-width: 100% !important;
    background-color: #fff;
    margin-left: 0 !important;
    padding: 100px 5vw 50px;
    margin-top: 40px !important;
    margin-bottom: 40px !important;
    margin-right: 0 !important;
    overflow: hidden;
}

.custom-slides {
    display: flex;
    align-items: center;
    max-width: 1240px;
    position: relative;
    width: 100%;
}

.custom-slide {
    min-width: 100%;
    transition: none;
    gap: 5rem;
    min-height: 506px;
    display: flex;
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    z-index: -1;
}

.custom-box {
    width: 50%;
}

.custom-box a {
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    font-size: 18px;
}

.custom-box span {
    font-size: 16px;
    line-height: 1.5;
}

.custom-box p {
    padding-top: 25px;
    padding-bottom: 23px;
    font-size: 18px;
}

.custom-box h2 {
    font-size: 32px;
    padding-top: 16px;
}

.custom-box a::after {
    content: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8"%3F><svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 494.92 494.92"><defs><style> .cls-1 { fill: none; stroke: %23000; stroke-linecap: round; stroke-linejoin: round; stroke-width: 45px; } </style></defs><line class="cls-1" x1="64.09" y1="255.65" x2="382.34" y2="255.65"/><polyline class="cls-1" points="229.97 84.51 401.91 256.45 231.57 426.79"/></svg>');
    position: relative !important;
    margin-left: 10px;
    transition: all .3s ease-in-out;
    display: inline-block;
    width: 20px;
    bottom: -3px;
}

.custom-box a:hover::after {
    content: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8"%3F><svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 494.92 494.92"><defs><style> .cls-1 { fill: none; stroke: %23009FE3; stroke-linecap: round; stroke-linejoin: round; stroke-width: 45px; } </style></defs><line class="cls-1" x1="64.09" y1="255.65" x2="382.34" y2="255.65"/><polyline class="cls-1" points="229.97 84.51 401.91 256.45 231.57 426.79"/></svg>');
    margin-left: 15px;
}

.custom-image-box:hover img{
    scale: 1.1;
} 

.custom-image-box{
    width: 50%;
    border-radius: 10px;
    overflow: hidden;
}

.custom-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.7s ease-in-out;
    border-radius: 10px;
}

.custom-slide.active{
    opacity: 1;
    position: relative;
    transition: all 0.5s ease-in-out;
    z-index: 1;
}

.wp-block-custom-slider-slider .custom-indicators {
    padding-bottom: 100px;
}

.custom-indicators {
    display: grid;
    justify-content: left;
    gap: 10px;
    grid-template-columns: auto auto auto;
    row-gap: 7rem;
}

.custom-indicator {
    max-width: 150px;
    box-sizing: content-box;
    height: .2rem;
    padding: 0;
    display: block;
    cursor: pointer;
    background-color: #000;
    background-clip: padding-box;
    opacity: 1;
    font-size: 18px;
    transition: all .3s ease-in-out;
    margin-right: 15px;
    width: 150px;
    line-height: normal;
}

.custom-indicator.active {
    background-color: #009FE3;
    color: #009FE3;
    max-width: 160px;
    font-weight: 600;
    transition: all .3s ease-in-out;
    width: 160px;
}

.indicator-spacing {
    height: 10px;
}

/* Quotes Slider Styles - Updated class names */
.wp-block-custom-slider-quotes-slider-quotes {
    display: flex;
    align-items: center;
    max-width: 1240px !important;
    background-color: transparent;
    padding: 0;
    padding-bottom: 0;
    margin-left: 5vw !important;
    margin-right: 5vw !important;
    overflow: visible;
}

.wp-block-custom-slider-quotes-slider-quotes .custom-quote-slide img {
    width: 100%;
    max-width: 840px !important;
    display: block;
    max-height: 600px;
    min-height: 600px;
    position: relative;
    left: -20px;
    object-fit: cover;
    object-position: top center;
    transition: all 0.7s ease-in-out;
    border-radius: 10px;
}

.wp-block-custom-slider-quotes-slider-quotes .custom-quote-slide-box {
    background-color: #fff;
    padding: 50px 160px 50px 50px;
    border-radius: 10px;
    box-shadow: 0 3px 6px #00000029;
    max-width: 580px;
    margin-left: -250px;
    position: relative;
    transition: all .5s ease-in-out;
    z-index: 1;
    left: 0;
}

.wp-block-custom-slider-quotes-slider-quotes:hover .custom-quote-slide-box{
   left: -20px;
}

.wp-block-custom-slider-quotes-slider-quotes:hover .custom-quote-slide img {
    left: 0;
}

.custom-quote-slide-box .custom-quote-box {
    width: 100%;
}

.custom-quote-slide {
    min-width: 100%;
    transition: none;
    gap: 5rem;
    min-height: 506px;
    display: flex;
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    z-index: -1;
}

.custom-quote-slide.active{
    opacity: 1;
    position: relative;
    transition: all 0.5s ease-in-out;
    z-index: 1;
}

.custom-quote-slides {
    display: flex;
    align-items: center;
    max-width: 1240px;
    position: relative;
    width: 100%;
}

.custom-quote-box {
    height: 0;
    opacity: 0;
visibility: hidden;
    z-index: -1;
}

.custom-quote-box.active{
    opacity: 1;
    visibility: visible;
    transition: all 0.5s ease-in-out;
    z-index: 1;
    height: 100%;
}

.custom-quote-box a {
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    font-size: 18px;
}

.custom-quote-box span {
    font-size: 16px;
    line-height: 1.5;
}

.custom-quote-box p {
    padding-top: 25px;
    padding-bottom: 23px;
    font-size: 18px;
}

.custom-quote-box h2 {
    font-size: 32px;
    padding-top: 16px;
}

.custom-quote-box a::after {
    content: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8"%3F><svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 494.92 494.92"><defs><style> .cls-1 { fill: none; stroke: %23000; stroke-linecap: round; stroke-linejoin: round; stroke-width: 45px; } </style></defs><line class="cls-1" x1="64.09" y1="255.65" x2="382.34" y2="255.65"/><polyline class="cls-1" points="229.97 84.51 401.91 256.45 231.57 426.79"/></svg>');
    position: relative !important;
    margin-left: 10px;
    transition: all .3s ease-in-out;
    display: inline-block;
    width: 20px;
    bottom: -3px;
}

.custom-quote-box a:hover::after {
    content: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8"%3F><svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 494.92 494.92"><defs><style> .cls-1 { fill: none; stroke: %23009FE3; stroke-linecap: round; stroke-linejoin: round; stroke-width: 45px; } </style></defs><line class="cls-1" x1="64.09" y1="255.65" x2="382.34" y2="255.65"/><polyline class="cls-1" points="229.97 84.51 401.91 256.45 231.57 426.79"/></svg>');
    margin-left: 15px;
}

.wp-block-custom-slider-quotes-slider-quotes .custom-quote-indicators {
    padding-bottom: 100px;
}

.custom-quote-indicators {
    display: grid;
    justify-content: left;
    gap: 10px;
    grid-template-columns: auto auto auto;
    row-gap: 7rem;
}

.custom-quote-indicator {
    max-width: 150px;
    box-sizing: content-box;
    height: .2rem;
    padding: 0;
    display: block;
    cursor: pointer;
    background-color: #000;
    background-clip: padding-box;
    opacity: 1;
    font-size: 18px;
    transition: all .3s ease-in-out;
    margin-right: 15px;
    width: 150px;
    line-height: normal;
}

.custom-quote-indicator.active {
    background-color: #009FE3;
    color: #009FE3;
    max-width: 160px;
    font-weight: 600;
    transition: all .3s ease-in-out;
    width: 160px;
}

.custom-label {
    padding: 0 !important;
}

/* Image Overlay Styles */
.custom-block-image-overlay {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: -10px !important;
}

.custom-block-image-overlay img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: 80% 0;
    aspect-ratio: 16 / 12;
    transition: all .5s ease-in-out;
}

.custom-block-image-overlay .always-visible-title {
    position: absolute;
    color: #fff;
    width: 100%;
    padding: 20px 45px;
    z-index: 9;
    display: block;
    bottom: 0;
    background: rgba(0, 159, 227, .9);
    border-radius: 0 0 10px 10px;
    transition: all .3s ease-in-out;
}

.custom-block-image-overlay .always-visible-title.hide {
    color: transparent;
    background: transparent;
}

.custom-block-image-overlay .overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: transparent;
    color: #fff;
    display: grid;
    align-items: center;
    transition: all 0.5s ease-in-out;
    pointer-events: none;
    border-radius: 10px;
    align-content: center;
    z-index: 1;
    padding: 20px 45px;
    gap: 2rem;
}

.custom-block-image-overlay:hover img{
    scale: 1.1;
}

.custom-block-image-overlay .overlay-content.visible {
    opacity: 1;
    pointer-events: auto;
    height: 100%;
    z-index: 10;
    background: rgba(0, 159, 227, .9);
}

.custom-block-image-overlay .overlay-content.visible p {
    visibility: visible;
    height: 100%;
    transition-delay: .3s;
}

.custom-block-image-overlay .overlay-content.visible h2 {
    visibility: visible;
    transition-delay: .3s;
}

.custom-block-image-overlay .overlay-content.visible p a {
    color: #fff;
    text-decoration: none;
}

.custom-block-image-overlay .overlay-content.visible p a::after {
    content: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8"%3F><svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 494.92 494.92"><defs><style> .cls-1 { fill: none; stroke: %23fff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 45px; } </style></defs><line class="cls-1" x1="64.09" y1="255.65" x2="382.34" y2="255.65"/><polyline class="cls-1" points="229.97 84.51 401.91 256.45 231.57 426.79"/></svg>');
    width: 20px;
    height: 20px;
    display: inline-block;
    transition: all 0.3s ease-in-out;
    margin-left: 10px;
    position: relative;
    bottom: -3px;
}

.custom-block-image-overlay .overlay-content.visible p a:hover {
    font-weight: 600;
}

.custom-block-image-overlay .overlay-content.visible p a:hover::after {
    content: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8"%3F><svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 494.92 494.92"><defs><style> .cls-1 { fill: none; stroke: %23fff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 45px; } </style></defs><line class="cls-1" x1="64.09" y1="255.65" x2="382.34" y2="255.65"/><polyline class="cls-1" points="229.97 84.51 401.91 256.45 231.57 426.79"/></svg>');
    margin-left: 15px;
}

.custom-block-image-overlay .overlay-content h2 {
    visibility: hidden;
}

.custom-block-image-overlay h2 {
    margin: 0;
    font-size: 26px;
}

.custom-block-image-overlay p {
    margin: 0;
    font-size: 20px;
    visibility: hidden;
    height: 0;
}

.arrow-direction {
    content: url("data:image/svg+xml,%3Csvg id='Layer_1' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 494.92 494.92'%3E%3Cdefs%3E%3Cstyle%3E .cls-1 %7B fill: none; stroke: %23fff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 35px; %7D %3C/style%3E%3C/defs%3E%3Cpolyline class='cls-1' points='62.49 311.67 234.43 139.73 404.77 310.07'/%3E%3C/svg%3E");
    width: 39px;
    position: absolute;
    bottom: 15px;
    right: 45px;
    z-index: 11;
    transition: all .3s ease-in-out;
}

.arrow-direction.open {
    content: url("data:image/svg+xml,%3Csvg id='Layer_1' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 494.92 494.92'%3E%3Cdefs%3E%3Cstyle%3E .cls-1 %7B fill: none; stroke: %23fff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 35px; %7D %3C/style%3E%3C/defs%3E%3Cpolyline class='cls-1' points='414.84 152.89 242.16 324.08 72.55 153.01'/%3E%3C/svg%3E");
}

@media only screen and (max-width: 1024px) {

    .wp-block-custom-slider-quotes-slider-quotes .custom-quote-slide img {
        min-width: auto;
    }

    .wp-block-custom-slider-quotes-slider-quotes {
        flex-wrap: wrap;
        margin-right: 5vw !important;
    }

    .custom-slide {
        min-height: auto;
    }

    .custom-quote-slide {
        min-height: auto;
    }

    .wp-block-custom-slider-quotes-slider-quotes .custom-quote-slide img {
        min-height: 300px;
        left: 0 !important;
        z-index: 9;
    }

    .wp-block-custom-slider-quotes-slider-quotes .custom-quote-slide-box {
        padding: 60px 20px 20px 20px;
        margin-left: 0 !important;
        max-width: -webkit-fill-available;
        margin-top: -50px;
        left: 0 !important;
        z-index: 0;
        width: 100%;
    }

    .text-topic p {
        font-size: 16px;
    }

    .custom-indicators {
        margin-top: 20px;
        grid-template-columns: auto auto;
        padding-bottom: 80px;
        padding-bottom: 8vh !important;
    }

    .custom-quote-indicators {
        margin-top: 20px;
        grid-template-columns: auto auto;
        padding-bottom: 80px;
        padding-bottom: 8vh !important;
    }

    .custom-image-box{
        width: 100%;
    }

    .custom-box h2 {
        font-size: 32px;
    }

    .custom-quote-box h2 {
        font-size: 32px;
    }

    .wp-block-custom-slider-slider {
        margin-right: auto !important;
        overflow: hidden !important;
    }

    .wp-block-custom-slider-slider .custom-slide img{
        scale: 1;
        transition: all .5s ease-in-out;
    }

    .wp-block-custom-slider-slider .custom-slide img:hover{
        scale: 1.1;
    }

    .custom-slide {
        flex-wrap: wrap;
        flex-direction: column-reverse;
        gap: 1rem;
    }

    .custom-quote-slide {
        flex-wrap: wrap;
        flex-direction: column-reverse;
        gap: 1rem;
    }

    .custom-box {
        width: 100%;
    }

    .custom-quote-box {
        width: 100%;
    }

    .custom-slide img {
        width: 100%;
        height: 250px;
        object-fit: top right;
    }

    .custom-quote-slide img {
        width: 100%;
        height: 250px;
        object-fit: top right;
    }

    .custom-block-image-overlay .always-visible-title {
        padding: 20px 25px;
    }

    .arrow-direction {
        right: 25px;
    }

    .custom-block-image-overlay img {
        object-position: 70% 10%;
        aspect-ratio: 16 / 16;
    }

    .center-img.custom-block-image-overlay img {
        object-position: 50% 50%;
    }

    .mobile-txt-img.custom-block-image-overlay img {
        object-fit: contain;
        scale: 1.1;
    }

    .custom-block-image-overlay .overlay-content {
        gap: 1rem;
        padding: 20px 25px;
    }

    .custom-block-image-overlay p {
        font-size: 18px;
    }
}