/* Home page layout — poster hero, story block, single donation box.
   Built on the event page's own tokens (--event-*) so it stays in the same
   visual system as the confirmation and receipt pages. */

.home-page {
    padding-bottom: 60px;
}

/* --------------------------------------------------------------
   Hero: the wide banner sits above, then title, details, call to action.
   The banner itself uses .event-hero/.event-banner from event-page.css.
-------------------------------------------------------------- */

.home-hero {
    padding: 30px 0 8px;
    text-align: center;
}

.home-hero-title {
    margin: 0 0 18px;
    font-size: 46px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--event-text);
}

.home-hero-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    margin-bottom: 26px;
    font-size: 15px;
    color: var(--event-muted);
}

.home-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Date and time share a line; the venue gets its own below. */
.home-hero-meta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px 22px;
}

.home-hero-meta i {
    color: var(--event-text);
}

.home-hero-cta {
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid var(--event-dark);
    border-radius: 8px;
    background: transparent;
    color: var(--event-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: background 0.18s ease, color 0.18s ease;
}

.home-hero-cta:hover,
.home-hero-cta:focus {
    background: var(--event-dark);
    color: #ffffff;
}

@media (max-width: 767.98px) {
    .home-hero-title {
        font-size: 32px;
    }

    .home-hero-meta {
        font-size: 14px;
    }
}

/* --------------------------------------------------------------
   Story: the event in the organisers' own words
-------------------------------------------------------------- */

.home-story {
    padding: 10px 0 40px;
}

.home-story p {
    margin: 0 auto 14px;
    max-width: 74ch;
    text-align: center;
    font-size: 21px;
    line-height: 1.55;
    color: var(--event-text);
}

/* The appeal paragraphs are long-form: centring them at lead size turns the
   section into a wall, so they read as body copy inside the same column. */
.home-story .home-story-body {
    max-width: 68ch;
    text-align: left;
    font-size: 18px;
    line-height: 1.65;
}

.home-story-closing {
    margin-top: 26px !important;
    font-weight: 600;
}

.home-story-credit {
    margin-top: 26px !important;
    font-size: 18px !important;
    color: var(--event-muted) !important;
}

@media (max-width: 767.98px) {
    .home-story p {
        font-size: 17px;
    }

    .home-story .home-story-body {
        font-size: 16px;
    }

    .home-story-credit {
        font-size: 15px !important;
    }
}

/* --------------------------------------------------------------
   Donation box
-------------------------------------------------------------- */

.home-donate-wrap {
    scroll-margin-top: 100px;
}

.home-donate-card {
    padding: 28px;
    background: var(--event-surface);
    border: 1px solid var(--event-border);
    border-radius: var(--event-radius);
    box-shadow: var(--event-shadow);
    scroll-margin-top: 100px;
}

.home-donate-card .event-notice {
    margin-bottom: 22px;
}

.home-terms {
    margin-top: 22px;
}

@media (max-width: 575.98px) {
    .home-donate-card {
        padding: 20px 16px;
    }
}
