/*
 * The newsletter page (artifacts/migration/apply-newsletter-simple-1105.php; Eoghan 11932396): one
 * photograph, one headline, a short explanation and the sign-up form, nothing else. The headline and
 * the form are in the first screen on a phone: a short photograph band above, the form card straight
 * after the explanation.
 */

.bh-newsletter-simple {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 0.75rem;
    background: var(--bh-navy);
    color: var(--bh-white);
}

.bh-newsletter-simple__bg,
.bh-newsletter-simple__bg::after {
    position: absolute;
    inset: 0;
}

.bh-newsletter-simple__bg {
    z-index: -1;
}

.bh-newsletter-simple__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bh-newsletter-simple__bg::after {
    content: "";
    background: linear-gradient(90deg, rgba(33, 39, 47, 0.88) 0%, rgba(33, 39, 47, 0.62) 55%, rgba(33, 39, 47, 0.35) 100%);
}

.bh-newsletter-simple__inner {
    display: grid;
    gap: 1.5rem;
    padding: 2rem 1.25rem;
}

@media (min-width: 992px) {
    .bh-newsletter-simple__inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 28rem);
        align-items: center;
        gap: 3rem;
        padding: 4rem 3rem;
        min-height: 32rem;
    }
}

.bh-newsletter-simple__copy h1 {
    margin: 0 0 1rem;
    color: var(--bh-white);
    font-size: clamp(2rem, 6vw, var(--bh-text-3xl));
    font-weight: var(--bh-weight-black);
    line-height: var(--bh-leading-tight);
}

.bh-newsletter-simple__copy p {
    max-width: 34rem;
    margin: 0;
    color: var(--bh-white);
    font-size: var(--bh-text-md);
}

.bh-newsletter-simple__form {
    padding: 1.25rem;
    border-radius: 0.75rem;
    background: var(--bh-white);
    color: var(--bh-navy);
}

/* The form is compact: the interests fold away until asked for. */
.bh-newsletter-simple .bh-signup__more {
    margin: 0;
}

.bh-newsletter-simple .bh-signup__more > summary {
    cursor: pointer;
    font-weight: var(--bh-weight-semibold);
}

.bh-newsletter-simple .bh-signup__more[open] > summary {
    margin-bottom: 0.75rem;
}
