/* ============================================================================
   LANDING-PAGE COMPONENTS (hero banners, stat rows, checklists, callouts,
   can/can't fund columns, numbered step guides)
   ============================================================================
   These use a CONSTANT brand colour (--brand-primary), not swapped per
   theme like --accent — hero banners and step numbers represent the whole
   Students' Union brand, not an individual section's colour. CTA buttons
   inside a hero still use --accent, so the section's own colour still
   shows through against the constant purple background. */

:root {
    --brand-primary: #59a92a;
    --brand-primary-text: #ffffff;
    --accent-text: #ffffff;
}

/* ---- Hero banner ---- */
.hero-banner {
    position: relative;
    overflow: hidden;
    background: var(--brand-primary);
    color: var(--brand-primary-text);
    border-radius: 18px;
    padding: 2.5rem;
    margin: 0;
}

.hero-banner::after {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 40px solid rgba(255,255,255,.06);
    pointer-events: none;
}

.hero-banner h1 {
    position: relative;
    margin: 0 0 .75rem;
    font-size: 2rem;
    color: var(--brand-primary-text);
}

.hero-banner p {
    position: relative;
    max-width: 60ch;
    margin: 0 0 1.5rem;
    opacity: .92;
}

.hero-banner .btn {
    position: relative;
    display: inline-block;
    background: var(--accent) !important;
    color: var(--accent-text) !important;
    font-weight: 700;
    padding: .8rem 1.5rem;
    border-radius: 10px;
    text-decoration: none !important;
}

.hero-banner__meta {
    position: relative;
    display: block;
    margin-top: .75rem;
    font-size: .85rem;
    opacity: .8;
}

/* ---- Stat row (small at-a-glance figures) ---- */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.stat-card {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.stat-card .stat-label {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #666;
    margin-bottom: .35rem;
}

.stat-card .stat-value {
    font-weight: 700;
    font-size: 1.15rem;
    color: #000;
}

/* ---- Checklist (eligibility-style ticked list) ---- */
.checklist {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .6rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.checklist li:last-child {
    border-bottom: 0;
}

.checklist li::before {
    content: "\2713";
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 700;
}

/* ---- Callout (highlighted note) ---- */
.callout {
    background: color-mix(in srgb, var(--brand-primary) 8%, #fff);
    border-left: 4px solid var(--brand-primary);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
}

.callout strong {
    color: var(--brand-primary);
}

/* ---- Can / can't fund columns ---- */
.fund-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

@media (min-width: 700px) {
    .fund-columns {
        grid-template-columns: 1fr 1fr;
    }
}

.fund-list {
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    list-style: none;
    margin: 0;
}

.fund-list-title {
    font-weight: 700;
    margin: 0 0 .75rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size : 18px;
}

.fund-list li {
    padding: .3rem 0 .3rem 1.4rem;
    position: relative;
}

.fund-list--can {
    background: #e9f7ef;
}

.fund-list--can .fund-list-title {
    color: #1e7e42;
}

.fund-list--can li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #1e7e42;
    font-weight: 700;
}

.fund-list--cannot {
    background: #fdecea;
}

.fund-list--cannot .fund-list-title {
    color: #b3261e;
}

.fund-list--cannot li::before {
    content: "\2715";
    position: absolute;
    left: 0;
    color: #b3261e;
    font-weight: 700;
}

/* ---- Numbered step guide ---- */
.step-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    padding: 1.1rem 1.25rem;
}

.step-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: var(--brand-primary-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step-item h3 {
    margin: 0 0 .25rem;
    font-size: 1.05rem;
}

.step-item p {
    margin: 0;
    color: #333;
}

.content-card {
    height: auto;
}
