/* The foyer (footer.php) and the review in it (template-parts/quote.php): the
   applause, over a production photo that fades into the ink above and below,
   so review, newsletter and footer stay one space. */

.foyer {
    padding-bottom: var(--section-tight);
}

.foyer-part {
    padding-top: var(--section);
}

.review {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 32rem;
    padding-block: var(--space-4xl);
    overflow: hidden;
}

.review-photo {
    position: absolute;
    inset: 0;
}

.review-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, var(--ink) 0%, rgb(0 0 0 / 0.55) 30%, rgb(0 0 0 / 0.55) 70%, var(--ink) 100%),
        linear-gradient(to right, rgb(0 0 0 / 0.6), transparent 70%);
}

.review-content {
    position: relative;
}

/* After the review the photo has faded out; the newsletter gets room of its own. */
.review + .foyer-part {
    padding-top: var(--section-tight);
}

.review-text {
    max-width: 24em;
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    font-style: italic;
    line-height: 1.3;
}

.review-text p {
    margin: 0;
    /* Hang the opening quote mark outside the left edge. */
    text-indent: -0.35em;
}

.review-source {
    display: block;
    margin-top: var(--space-md);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--gold);
}

@media (min-width: 1024px) {
    .review {
        min-height: 40rem;
    }

    .review-text {
        font-size: var(--text-3xl);
    }
}
