.col-md-10.offset-md-1.py-5:has(.sakura-hero-carousel) {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.home .wp-block-acf-sakura-hero-carousel,
.home .entry-content > .sakura-hero,
.home .entry-content > .wp-block-acf-sakura-hero-carousel {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
    padding-top: 0 !important;
}

.home main.site-main,
.home .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.sakura-hero__media,
.sakura-hero__picture,
.sakura-hero__image {
    touch-action: pan-y;
}

.sakura-hero {
    position: relative !important;
    left: auto !important;
    width: 100%;
    max-width: none;
    margin-top: 0 !important;
    margin-bottom: 0;
    overflow: hidden;
    color: #161616;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    background-color: #ffffff;
    transform: none !important;
}

.sakura-hero.alignfull {
    left: auto !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-right: calc(50% - 50vw) !important;
    margin-left: calc(50% - 50vw) !important;
    transform: none !important;
}

.sakura-hero,
.sakura-hero *,
.sakura-hero *::before,
.sakura-hero *::after {
    box-sizing: border-box;
}

.sakura-hero__carousel-inner,
.sakura-hero__slide,
.sakura-hero__grid {
    min-height: calc(100vh - 62px);
}

.sakura-hero__carousel-inner,
.sakura-hero__slide {
    width: 100%;
    background-color: #ffffff;
}

.sakura-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: 100%;
}

.sakura-hero__content,
.sakura-hero__media {
    min-width: 0;
}

.sakura-hero__content {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 62px);
    background-color: #ffffff;
}

.sakura-hero__content-inner {
    width: 100%;
    max-width: 850px;
    padding: clamp(60px, 5.2vw, 106px);
}

.sakura-hero__heading {
    margin: 0 0 58px;
    color: #111111 !important;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(38px, 2.3vw, 47px);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.sakura-hero__description {
    display: block !important;
    max-width: 790px;
    visibility: visible !important;
    color: #252525 !important;
    font-size: clamp(18px, 1.15vw, 23px);
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: -0.01em;
    opacity: 1 !important;
}

.sakura-hero__description p {
    margin: 0 0 34px;
    color: inherit !important;
}

.sakura-hero__description p:last-child {
    margin-bottom: 0;
}

.sakura-hero__description strong,
.sakura-hero__description b,
.sakura-hero__description em,
.sakura-hero__description i,
.sakura-hero__description span {
    color: inherit !important;
}

.sakura-hero__description a {
    color: #008f20 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sakura-hero__button {
    --sakura-hero-button-color: #008f20;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 158px;
    min-height: 45px;
    margin-top: 72px;
    padding: 12px 24px;
    visibility: visible !important;
    color: #ffffff !important;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    background: var(--sakura-hero-button-color) !important;
    border: 1px solid var(--sakura-hero-button-color) !important;
    border-radius: 18px;
    opacity: 1 !important;
    transition:
        filter 0.2s ease,
        transform 0.2s ease;
}

.sakura-hero__button:link,
.sakura-hero__button:visited {
    color: #ffffff !important;
    background: var(--sakura-hero-button-color) !important;
}

.sakura-hero__button:hover,
.sakura-hero__button:focus {
    color: #ffffff !important;
    text-decoration: none !important;
    background: var(--sakura-hero-button-color) !important;
    filter: brightness(0.82);
    transform: translateY(-1px);
}

.sakura-hero__button:focus-visible {
    outline: 2px solid #111111;
    outline-offset: 3px;
}

.sakura-hero__media {
    position: relative;
    min-height: calc(100vh - 62px);
    overflow: hidden;
    background-color: #eeeeee;
}

.sakura-hero__picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.sakura-hero__image {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center center;
}

.sakura-hero__image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: #555555;
    font-size: 16px;
    text-align: center;
    background-color: #eeeeee;
}

.sakura-hero.carousel-fade .carousel-item {
    opacity: 0;
    transform: none !important;
    transition: opacity 0.7s ease-in-out;
}

.sakura-hero.carousel-fade .carousel-item.active,
.sakura-hero.carousel-fade .carousel-item-next.carousel-item-start,
.sakura-hero.carousel-fade .carousel-item-prev.carousel-item-end {
    z-index: 1;
    opacity: 1;
}

.sakura-hero.carousel-fade .active.carousel-item-start,
.sakura-hero.carousel-fade .active.carousel-item-end {
    z-index: 0;
    opacity: 0;
}

.sakura-hero__indicators {
    right: 0;
    bottom: 24px;
    left: 50%;
    z-index: 5;
    justify-content: center;
    margin: 0;
    padding: 0 100px;
}

.sakura-hero__indicators [data-bs-target] {
    width: 9px;
    height: 9px;
    margin: 0 5px;
    padding: 0;
    background-color: transparent;
    border: 1px solid #ffffff;
    border-radius: 50%;
    opacity: 0.85;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.35);
}

.sakura-hero__indicators .active {
    background-color: #ffffff;
    opacity: 1;
}

.sakura-hero__control {
    top: auto;
    bottom: 18px;
    left: auto;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    opacity: 0;
    transition:
        background-color 0.2s ease,
        opacity 0.2s ease;
}

.sakura-hero:hover .sakura-hero__control,
.sakura-hero__control:focus-visible {
    opacity: 0.9;
}

.sakura-hero__control:hover,
.sakura-hero__control:focus {
    background-color: rgba(0, 0, 0, 0.65);
    opacity: 1;
}

.sakura-hero__control--prev {
    right: 74px;
}

.sakura-hero__control--next {
    right: 22px;
}

.sakura-hero__control .carousel-control-prev-icon,
.sakura-hero__control .carousel-control-next-icon {
    width: 18px;
    height: 18px;
}

.sakura-hero-editor-message {
    padding: 30px;
    color: #444444;
    font-size: 16px;
    text-align: center;
    background-color: #f1f1f1;
    border: 1px dashed #aaaaaa;
}

@media (max-width: 991.98px) {
    .sakura-hero__carousel-inner,
    .sakura-hero__slide,
    .sakura-hero__grid {
        min-height: 0;
    }

    .sakura-hero__grid {
        grid-template-columns: 1fr;
    }

    .sakura-hero__content {
        min-height: 0;
    }

    .sakura-hero__content-inner {
        max-width: none;
        padding: 70px 50px;
    }

    .sakura-hero__heading {
        margin-bottom: 38px;
        font-size: 40px;
    }

    .sakura-hero__description {
        max-width: 720px;
        font-size: 19px;
    }

    .sakura-hero__button {
        margin-top: 48px;
    }

    .sakura-hero__media {
        min-height: 520px;
    }

    .sakura-hero__indicators {
        right: 0;
        left: 0;
        padding: 0 120px;
    }

    .sakura-hero__control {
        opacity: 0.85;
    }
}

@media (max-width: 575.98px) {
    .sakura-hero__content-inner {
        padding: 52px 24px 58px;
    }

    .sakura-hero__heading {
        margin-bottom: 30px;
        font-size: 33px;
    }

    .sakura-hero__description {
        font-size: 17px;
    }

    .sakura-hero__description p {
        margin-bottom: 24px;
    }

    .sakura-hero__button {
        min-width: 150px;
        min-height: 44px;
        margin-top: 38px;
        padding: 11px 22px;
        font-size: 13px;
    }

    .sakura-hero__media {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .sakura-hero__indicators {
        bottom: 19px;
        justify-content: flex-start;
        padding-right: 105px;
        padding-left: 24px;
    }

    .sakura-hero__control {
        bottom: 12px;
        width: 38px;
        height: 38px;
    }

    .sakura-hero__control--prev {
        right: 59px;
    }

    .sakura-hero__control--next {
        right: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sakura-hero.carousel-fade .carousel-item,
    .sakura-hero__button,
    .sakura-hero__control {
        transition: none;
    }
}
