/* ==========================
   Simple Content Page
   ========================== */
/* Shared hero + card-block pattern for pages that need real content but
   not a fully custom layout (Scholarship, Young Eagles, etc.) - mirrors
   about.css's visual language (color band + white card blocks) under
   generic names, so it isn't coupled to the About page's own markup. */

.page-hero {
    padding: 5rem 0 3rem;

    background: var(--color-secondary);

    color: #fff;
    text-align: center;
}

.page-hero h1 {
    margin-bottom: 0.75rem;
    font-size: clamp(2rem, 4vw, 2.75rem);
}

.page-lede {
    max-width: 40rem;
    margin: 0 auto;

    color: rgb(255 255 255 / 90%);
    font-size: 1.1rem;
    line-height: 1.6;
}

.page-body {
    padding: 3.5rem 0 4rem;
    background: #f8fafc;
}

.page-block {
    max-width: 42rem;
    margin: 0 auto 1.5rem;
    padding: 1.75rem 2rem;

    background: #fff;
    border: 1px solid rgb(17 52 86 / 10%);
    border-top: 3px solid var(--color-primary);
    border-radius: 12px;

    box-shadow: 0 4px 12px rgb(17 52 86 / 6%);
}

.page-block:last-child {
    margin-bottom: 0;
}

.page-block h2 {
    margin: 0 0 0.75rem;
    color: var(--color-secondary);
    font-size: 1.2rem;
}

.page-block p {
    margin: 0 0 1rem;
    color: #475569;
    line-height: 1.6;
}

.page-block p:last-child {
    margin-bottom: 0;
}

.page-list {
    margin: 0 0 1rem;
    padding-left: 1.2rem;

    color: #475569;
    line-height: 1.6;
}

.page-list li {
    margin-bottom: 0.4rem;
}

.page-list:last-child {
    margin-bottom: 0;
}

.page-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;

    padding: 0.75rem 1.5rem;
    margin-top: 0.25rem;

    background: var(--color-primary);
    border-radius: 6px;

    color: #fff;
    font-weight: 700;
    text-decoration: none;

    transition: background .2s ease;
}

.page-cta:hover {
    background: var(--color-secondary);
}

.page-link {
    display: inline-block;
    color: var(--color-secondary);
    font-weight: 700;
    text-decoration: none;
}

.page-link:hover {
    color: var(--color-primary);
}

/* Phones: less padding around and inside the blocks, so the text gets
   the width. */
@media (max-width: 600px) {
    .page-hero {
        padding: 3rem 0 2.25rem;
    }

    .page-body {
        padding: 2rem 0 3rem;
    }

    .page-block {
        padding: 1.35rem 1.25rem;
    }
}
