/* Styles for pages rendered with layouts/landing.ejs. Loaded on top of main.css
   (via the extraCss local in the head partial), so the hero, typography and
   button styles come from main.css — this file only covers the hero cover
   image and the landing content sections. */

/* Vertical cover photo: on desktop crop it (cover) anchored to the bottom edge. */
body main section#landing_hero {
    background-image: url('/img/poster/support_2.webp');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Darken the photo so the white hero text stays readable. */
body main section#landing_hero .hero-cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(35, 20, 23, 0.2);
}

/* On mobile show the whole photo instead of cropping it. */
@media (max-width: 1024px) {
    body main section#landing_hero {
        background-size: cover;
        background-position: center;
    }
}

body main section.landing-section {
    border-top: 3px solid white;
    padding-top: 3rem;
    padding-bottom: 3rem;
    gap: 1.5rem;
    background-color: #222222;
    color: white;
    scroll-margin-top: 5rem;
}

body main section.landing-section .bank-account {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    letter-spacing: 0.12em;
    color: #EFBF87;
    word-wrap: break-word;
}

body main section.landing-section ul.landing-list {
    list-style-type: disc;
    margin-left: 1.4rem;
    padding-left: 1.4rem;
    line-height: 1.9rem;
    max-width: 46rem;
}

body main section.landing-section .documents {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
}

body main section.landing-section .document-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    flex: 1 1 22rem;
    max-width: 34rem;
}

body main section.landing-section .document-card p {
    flex-grow: 1;
    line-height: 1.5rem;
}

body main section.landing-section .document-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 1024px) {
    body main section.landing-section {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    body main section.landing-section .document-card {
        padding: 1.5rem;
        max-width: none;
    }
}
