/* scholarships.html — ILM navy / gold / white, modern layout */

.scholarships-main {
    overflow-x: clip;
}

/* Hero */
.scholarships-hero .about-hero__media img {
    filter: saturate(1.05);
}

.scholarships-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.5) 0%,
        rgba(15, 23, 42, 0.78) 55%,
        rgba(15, 23, 42, 0.88) 100%
    );
}

.scholarships-hero__eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fcd34d;
    margin: 0 0 0.5rem;
}

.scholarships-hero__lede {
    margin: 1rem auto 0;
    max-width: 36rem;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.93);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.scholarships-hero__stats {
    margin: 1.35rem auto 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    max-width: 44rem;
}

.scholarships-hero__stat {
    text-align: left;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(140deg, rgba(15, 23, 42, 0.42) 0%, rgba(30, 58, 95, 0.26) 100%);
    backdrop-filter: blur(4px);
}

.scholarships-hero__stat-label {
    display: block;
    font-size: 0.64rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #fcd34d;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.scholarships-hero__stat-value {
    display: block;
    font-size: 0.9rem;
    line-height: 1.35;
    color: #fff;
}

/* Breadcrumb */
.sch-crumb {
    background: linear-gradient(180deg, #f1f5f9 0%, #e8eef5 100%);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding: 0.85rem 0;
}

.sch-crumb__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.65rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--clr-text-muted);
}

.sch-crumb__home {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.5rem;
}

.sch-crumb__tagline {
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(100, 116, 139, 0.95);
}

.sch-crumb a {
    color: var(--clr-navy);
    text-decoration: none;
    transition: color 0.2s ease;
}

.sch-crumb a:hover {
    color: var(--clr-gold-hover);
}

.sch-crumb [aria-current="page"] {
    color: var(--clr-text-muted);
    font-weight: 600;
}

.sch-crumb__sep {
    font-size: 0.65rem;
    color: rgba(15, 23, 42, 0.35);
    user-select: none;
}

/* Snapshot strip (new visual language) */
.sch-snapshot {
    margin-top: 0;
    padding: 1.2rem 0 1rem;
    background: linear-gradient(180deg, #eef4fb 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.sch-snapshot__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.sch-snapshot__item {
    padding: 0.9rem 0.95rem;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 25px -18px rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(3px);
}

.sch-snapshot__label {
    display: block;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--clr-gold-hover);
    margin-bottom: 0.3rem;
}

.sch-snapshot__value {
    display: block;
    font-size: 0.93rem;
    line-height: 1.35;
    color: var(--clr-navy);
}

/* Sections */
.sch-section {
    padding-top: var(--space-section-y);
    padding-bottom: var(--space-section-y);
    position: relative;
}

.sch-section--intro {
    padding-top: var(--space-section-y);
    padding-bottom: var(--space-section-y);
    background: var(--clr-white);
}

.sch-section--muted {
    padding-top: var(--space-section-y);
    padding-bottom: var(--space-section-y);
    background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
}

.sch-section--navy {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 50%, #172554 100%);
    color: rgba(255, 255, 255, 0.92);
}

.sch-narrow {
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}

.sch-block-head {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 2rem;
}

.sch-block-head .sch-h2 {
    text-wrap: balance;
}

.sch-block-head--light {
    margin-bottom: 0;
}

.sch-kicker {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--clr-gold-hover);
    margin-bottom: 0.5rem;
}

.sch-kicker--light {
    color: #fcd34d;
}

.sch-h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.2vw, 2.25rem);
    color: var(--clr-navy);
    margin: 0 0 0.65rem;
    line-height: 1.2;
}

.sch-h2--light {
    color: #fff;
}

.sch-lede {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--clr-text-muted);
}

.sch-lede--light {
    color: rgba(226, 232, 240, 0.88);
}

/* Intro card */
.sch-intro-card {
    display: flex;
    gap: 1.35rem;
    align-items: flex-start;
    padding: 1.35rem;
    background: linear-gradient(140deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: var(--radius-lg);
    border-left: 0;
    box-shadow: 0 28px 45px -28px rgba(15, 23, 42, 0.45);
}

.sch-intro-card {
    position: relative;
    overflow: hidden;
}

.sch-intro-card::after {
    content: "";
    position: absolute;
    right: -42px;
    top: -48px;
    width: 160px;
    height: 160px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.14) 0%, rgba(245, 158, 11, 0) 70%);
    pointer-events: none;
}

.sch-intro-card__icon {
    flex-shrink: 0;
    width: 3.25rem;
    height: 3.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.2), rgba(15, 23, 42, 0.08));
    color: var(--clr-navy);
    font-size: 1.4rem;
}

.sch-intro-card__title {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    color: var(--clr-navy);
    margin: 0 0 0.5rem;
}

.sch-intro-card__text {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--clr-text-main);
}

/* Criteria grid */
.sch-criteria-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(1.25rem, 2.5vw, 1.75rem);
    
    margin: 0 auto;
}

.sch-panel {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-lg);
    padding: 1.35rem;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.sch-panel {
    position: relative;
    overflow: hidden;
}

.sch-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.95), rgba(15, 23, 42, 0.6));
}

.sch-criteria-grid .sch-panel:nth-child(2) {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    border-color: rgba(148, 163, 184, 0.22);
}

.sch-criteria-grid .sch-panel:nth-child(2) .sch-panel__title,
.sch-criteria-grid .sch-panel:nth-child(2) .sch-icon-list li {
    color: #f8fafc;
}

.sch-criteria-grid .sch-panel:nth-child(2) .sch-panel__intro {
    color: rgba(226, 232, 240, 0.85);
}

.sch-criteria-grid .sch-panel:nth-child(2) .sch-icon-list__i {
    background: rgba(251, 191, 36, 0.2);
    color: #fde68a;
}

.sch-panel:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.sch-panel__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.sch-panel__badge {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1rem;
    color: var(--clr-white);
}

.sch-panel__badge--a {
    background: linear-gradient(135deg, var(--clr-gold) 0%, var(--clr-gold-hover) 100%);
}

.sch-panel__badge--b {
    background: linear-gradient(135deg, var(--clr-navy) 0%, #334155 100%);
}

.sch-panel__title {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    color: var(--clr-navy);
    margin: 0;
    line-height: 1.25;
}

.sch-panel__intro {
    margin: 0 0 1rem;
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--clr-text-muted);
}

.sch-icon-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sch-icon-list li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--clr-text-main);
}

.sch-icon-list__i {
    flex-shrink: 0;
    width: 1.85rem;
    height: 1.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(245, 158, 11, 0.12);
    color: var(--clr-gold-hover);
    font-size: 0.85rem;
    margin-top: 0.1rem;
}

/* Expense card */
.sch-expense-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 1.5rem;
    background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 28px 42px -30px rgba(15, 23, 42, 0.5);
}

.sch-expense-card {
    position: relative;
    overflow: hidden;
}

.sch-expense-card::after {
    content: "";
    position: absolute;
    left: -65px;
    bottom: -75px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0) 72%);
    pointer-events: none;
}

.sch-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    justify-content: center;
}

.sch-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--clr-navy);
    background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 999px;
}

.sch-pill i {
    color: var(--clr-gold-hover);
    font-size: 0.8rem;
}

.sch-expense-card__text {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--clr-text-main);
    text-align: center;
}

/* Split + stat */
.sch-split {
    display: grid;
    grid-template-columns: 1fr minmax(230px, 300px);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.sch-split__text p {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--clr-text-main);
}

.sch-split__text p:last-child {
    margin-bottom: 0;
}

.sch-stat-card {
    text-align: center;
    padding: 1.75rem 1.25rem;
    background: linear-gradient(165deg, #fff8e1 0%, #ffffff 68%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(245, 158, 11, 0.45);
    box-shadow: 0 22px 35px -24px rgba(15, 23, 42, 0.6);
}

.sch-stat-card {
    position: relative;
    overflow: hidden;
}

.sch-stat-card::before {
    content: "";
    position: absolute;
    inset: auto -20% -55% auto;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.16) 0%, rgba(245, 158, 11, 0) 70%);
}

.sch-stat-card__num {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 4vw, 2.85rem);
    font-weight: 700;
    color: var(--clr-navy);
    line-height: 1.1;
}

.sch-stat-card__label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--clr-text-muted);
    line-height: 1.45;
}

/* Steps */
.sch-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.sch-step {
    position: relative;
    padding: 1.25rem 1.15rem 1.25rem 0.85rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-md);
    border: 1px solid rgba(148, 163, 184, 0.26);
    box-shadow: 0 20px 34px -28px rgba(15, 23, 42, 0.55);
    padding-left: 3.5rem;
}

.sch-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -0.62rem;
    width: 1.1rem;
    height: 2px;
    background: rgba(245, 158, 11, 0.5);
    transform: translateY(-50%);
}

.sch-step__n {
    position: absolute;
    left: 1rem;
    top: 1.25rem;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--clr-navy);
    color: #fcd34d;
    font-size: 0.8rem;
    font-weight: 800;
}

.sch-step p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--clr-text-main);
}

/* Trust grid */
.sch-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 720px;
    margin: 0 auto;
}

/* SCH-12: donor-portal statement above the trust items */
.sch-trust-donor {
    max-width: 760px;
    margin: 0 auto 2rem;
    text-align: center;
    line-height: 1.7;
}

.sch-trust-donor__title,
.sch-split__subhead {
    font-family: var(--font-heading);
    color: var(--clr-navy);
    margin: 0 0 0.6rem;
}

.sch-trust-item {
    padding: 1.5rem 1.25rem;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 38px -30px rgba(15, 23, 42, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sch-trust-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.sch-trust-item > i {
    font-size: 1.5rem;
    color: var(--clr-gold-hover);
    margin-bottom: 0.75rem;
}

.sch-trust-item__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--clr-navy);
    margin: 0 0 0.5rem;
}

.sch-trust-item p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--clr-text-muted);
}

/* Bottom CTA */
.sch-cta {
    /* padding-top: var(--space-section-y); */
    padding-bottom: var(--space-section-y);
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.sch-cta__card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.35rem 1.5rem;
    background: linear-gradient(125deg, var(--clr-navy) 0%, #1e3a5f 55%, var(--clr-navy-light) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(245, 158, 11, 0.25);
    box-shadow: 0 24px 48px -20px rgba(15, 23, 42, 0.45);
}

.sch-cta__copy {
    flex: 1 1 18rem;
    min-width: 0;
}

.sch-cta__title {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    color: #fff;
    margin: 0 0 0.4rem;
}

.sch-cta__text {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.55;
    color: rgba(226, 232, 240, 0.9);
}

.sch-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.sch-cta__btn--ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.45);
}

.sch-cta__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

@media (max-width: 900px) {
    .scholarships-hero__stats {
        grid-template-columns: 1fr;
        max-width: 28rem;
    }

    .sch-snapshot__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sch-criteria-grid {
        grid-template-columns: 1fr;
    }

    .sch-split {
        grid-template-columns: 1fr;
    }

    .sch-steps {
        grid-template-columns: 1fr;
    }

    .sch-step:not(:last-child)::after {
        display: none;
    }

    .sch-trust-grid {
        grid-template-columns: 1fr;
    }

    .sch-intro-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .sch-snapshot__grid {
        grid-template-columns: 1fr;
    }

    .scholarships-hero__stat {
        padding: 0.68rem 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sch-panel,
    .sch-trust-item {
        transition: none;
    }

    .sch-panel:hover,
    .sch-trust-item:hover {
        transform: none;
    }
}
