.block-hero-page {
    padding: 8rem 0 4rem;
    background: url(../../../assets/images/gradient-4.png);
    background-size: 100px 60%;
    background-repeat: repeat-x;
    margin-bottom: 0 !important;
}

.block-hero-page__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
}

.block-hero-page__content {
    padding-right: 8%;
}

.block-hero-page__title {
    margin: 0 0 1.5rem;
}

.block-hero-page__excerpt {
    font-size: var(--wp--preset--font-size--normal);
    line-height: 1.6;
    margin: 0;
    opacity: 0.75;
}

.block-hero-page__scroll-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--wp--preset--color--contrast, #202333);
    cursor: pointer;
    color: var(--wp--preset--color--base, #fff);
    margin-top: 2rem;
    align-self: flex-start;
    animation: hero-page-bounce 2s ease-in-out infinite;
}

.block-hero-page__scroll-hint:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

@keyframes hero-page-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

.block-hero-page__anchor {
    position: relative;
    height: 0;
    overflow: hidden;
}

.block-hero-page__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    aspect-ratio: 4 / 3;
}

@media (max-width: 768px) {
    .block-hero-page__inner {
        display: flex;
        flex-direction: column-reverse;
        gap: 2rem;
    }

    .block-hero-page__image {
        width: 100%;
    }

    .block-hero-page__content {
        padding-right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .block-hero-page *,
    .block-hero-page__scroll-arrow {
        animation: none !important;
        transition: none !important;
    }
}
