section.block-hero{
padding: 0;
}

.block-hero__wrapper {
    border-radius: 0;
    background: var(--wp--preset--color--primary-80);
    margin: 0;
    position: relative;
    overflow: hidden;
    display:grid;
}

.block-hero__container {
    max-width: var(--wp--custom--layout--desktop-width);
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.block-hero__inner {
    position: relative;
    z-index: 1;
    padding-top: 164px;
    padding-bottom: 135px; /* Increased to make space for overlapping cards */
}

.block-hero__info {
    position: relative;
    z-index: 1;
    display: flex;
    max-width: var(--wp--custom--layout--narrow-width) !important;
    padding: 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    border-radius: 24px;
    border: none;
    background: #FFFFFF;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}
section.block-hero h1.wp-block-heading {
    font-size: 38px !important;
    line-height: 1.25 !important;
    margin-bottom: 0 !important;
    font-weight: 800;
}
section.block-hero h1 span{
    color: var(--wp--preset--color--primary-100);
}
.block-hero__info p.wp-block-paragraph {
    margin-bottom: 0 !important;
}
.block-hero__info p.wp-block-paragraph:first-child {
    font-size: 13px !important;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--wp--preset--color--primary-150) !important;
}
section.block-hero .wp-block-list{
    margin: 0;
}
section.block-hero .wp-block-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
section.block-hero .wp-block-list li {
    position: relative;
    padding-left: 23px;
    margin-bottom: 0 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
}
section.block-hero .wp-block-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 15px;
    background-image: url("./../../assets/images/arrow-right-blue.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
/*Slider*/

.block-hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
.block-hero {
    background: none;
    position: relative;
    overflow: hidden;
}

.block-hero__slider img {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    z-index: 0;
    border-radius: 0;
}

.swiper-slide {
    width: 100%;
    height: auto;
    line-height: 0;
    transition: opacity 0.5s ease-in-out;
}

.block-hero__slider-mobile {
    display: none;
}
@media (max-width: 920px) {

    .block-hero__wrapper {
    border-radius: 0;
    margin: 0;
    max-width: 100%;
    background: transparent !important;
}

.block-hero__inner {
    padding-top: 92px;
    padding-bottom: 70px; /* Increased to prevent overlap on mobile CTA */
}
.block-hero__slider{
    display: none;
}

.block-hero__slider-mobile {
    display: block;
    overflow: hidden;
}

.block-hero__slider-mobile img {
    width: 100%;
    height: auto;
    max-height: 50vh;
    object-fit: cover;
    object-position: center;
}


}

.hero-cta-subtext {
    font-size: 13px;
    color: var(--wp--preset--color--neutral-600);
    margin-top: -12px;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    align-self: flex-start;
}

@media (max-width: 920px) {
    .hero-cta-subtext {
        align-self: center;
        text-align: center;
        margin-top: -12px;
    }
}
