/* BLOCK: Hero Banner Project */

.block-hero-banner-project {
    width: 100%;
}

.block-hero-banner-project .project-image {
    aspect-ratio: 1440 / 580;
    object-fit: cover;
    max-width: unset;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 6.25rem;
}

.block-hero-banner-project .project-title {
    margin-bottom: 3.75rem;
    max-width: 64rem;
}

.block-hero-banner-project .project-tagline {
    max-width: 64rem;
}

.block-hero-banner-project .project-other {
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
    margin-top: 6.25rem;
    padding-top: 7.5rem;
    border-top: 1px solid rgb(from var(--theme-ui) r g b / .5);
}

.block-hero-banner-project:is(.theme--light, .theme--lightest) .project-other {
    border-color: var(--c-bg-lighter);
}

.block-hero-banner-project .project-description {
    flex-basis: 30.75rem;
    max-width: 30.75rem;
}

.block-hero-banner-project .project-description a {
    color: currentColor;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
}

.block-hero-banner-project .project__meta {
    flex-basis: 30.125rem;
    max-width: 30.125rem;
    margin-left: auto;
}

.block-hero-banner-project .project__info {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.25rem;
    padding-inline: 0.625rem;
}

.block-hero-banner-project .project__info:not(:last-child) {
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgb(from var(--theme-ui) r g b / .5);
}

.block-hero-banner-project:is(.theme--dark,.theme--darker,.theme--darkest) .project__info {
    border-color: rgb(from var(--c-bg-light) r g b / .5);
}

.block-hero-banner-project:is(.theme--light,.theme--lighter,.theme--lightest) .project__info {
    border-color: var(--c-bg-lighter);
}

.block-hero-banner-project .project__info:not(:first-child) {
    margin-top: 2.5rem;
}

.block-hero-banner-project .project__info__label {
    flex-shrink: 0;
    font-weight: 600;
    font-size: var(--font-15-12);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.block-hero-banner-project .project__info__value {
    text-align: right;
    color: var(--theme-text-heading);
}

@media screen and (width <= 620px) {
    .block-hero-banner-project .project-image {
        aspect-ratio: 390 / 420;
        margin-bottom: 3.75rem;
    }

    .block-hero-banner-project .project-title {
        margin-bottom: 2.1875rem;
    }

    .block-hero-banner-project .project-other {
        margin-top: 3.75rem;
        padding-top: 3.75rem;
        flex-direction: column;
        gap: 3.125rem;
    }

    .block-hero-banner-project .project-description,
    .block-hero-banner-project .project__meta {
        flex-basis: unset;
        max-width: unset;
    }

    .block-hero-banner-project .project__meta {
        margin-left: 0;
    }

    .block-hero-banner-project .project__info {
        padding-inline: 0.3125rem;
    }

    .block-hero-banner-project .project__info:not(:last-child) {
        padding-bottom: 1.625rem;
    }

}