.sub-page-hero {
    padding-top: var(--spacing-small) !important;
    padding-bottom: var(--spacing-small) !important;
}

.sub-page-hero-container {
    justify-content: flex-end;
    aspect-ratio: 5 / 1;
    background-color: var(--color-1);
    border-radius: var(--border-radius-default);
    overflow: hidden;
    position: relative;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: var(--spacing-small);

    @media (max-width: 960px) {
        aspect-ratio: 5 / 2;
    }

    @media (max-width: 640px) {
        aspect-ratio: 5 / 3;
    }
}

.sub-page-hero .img {
    filter: brightness(60%);
}

.sub-page-hero .content {
    z-index: 1;
    margin: var(--spacing-medium);
    max-width: 70ch;
}

.sub-page-hero .content .heading {
    font-size: var(--font-size-h2) !important;
}

.sub-page-hero .text-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: var(--spacing-small);
}

.sub-page-hero .text-wrapper p {
    text-align: center;
    max-width: 80ch;
}