/* ==========================================================
   AFDES SIMPLE LANDING PAGES
   Used by: national-politics.php, global-affairs.php,
   analysis.php, programs.php, human-rights.php, etc.
========================================================== */

.institution-page {
    background: #f8fafc;
}

/* ==========================================================
   HERO
========================================================== */

.institution-hero,
.simple-hero {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: clamp(42px, 7vw, 76px) 0;
}

.institution-hero-grid {
    display: block;
}

.inst-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--primary);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.inst-eyebrow.dark {
    color: var(--primary);
}

.institution-hero h1,
.simple-hero h1 {
    margin: 0;
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 1;
}

.institution-hero p,
.simple-hero p {
    max-width: 820px;
    margin: 18px 0 0;
    color: #475569;
    font-size: 1.15rem;
    line-height: 1.75;
}

/* ==========================================================
   REMOVE OLD DECORATIVE ELEMENTS
========================================================== */

.institution-hero-card,
.inst-actions,
.institution-intro,
.inst-dark-band,
.inst-resource-box,
.inst-cta {
    display: none;
}

/* ==========================================================
   SECTION
========================================================== */

.inst-section,
.simple-section {
    padding: 46px 0 70px;
}

.inst-section-heading,
.clean-heading {
    max-width: 820px;
    margin-bottom: 22px;
}

.inst-section-heading h2,
.clean-heading h2 {
    margin: 8px 0 0;
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.1;
}

.inst-section-heading p {
    margin-top: 10px;
    color: #475569;
    line-height: 1.7;
}

/* ==========================================================
   INTRO TEXT BLOCK
========================================================== */

.inst-program-intro {
    max-width: 860px;
    background: #ffffff;
    border-left: 4px solid var(--primary);
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 24px 28px;
    margin: 0 0 36px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.inst-program-intro p {
    margin: 0;
    color: #475569;
    font-size: 1rem;
    line-height: 1.75;
}

.inst-program-intro p + p {
    margin-top: 12px;
}

/* ==========================================================
   FEATURE GRID
========================================================== */

.inst-grid,
.clean-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.inst-feature-card {
    display: block;
    min-height: 160px;
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 28px;
    text-decoration: none;
    transition: .2s ease;
}

.inst-feature-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.inst-feature-card h3 {
    margin: 0 0 10px;
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    line-height: 1.2;
}

.inst-feature-card p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
}

/* ==========================================================
   TWO-COLUMN UTILITY
========================================================== */

.inst-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 980px) {
    .inst-grid,
    .clean-grid,
    .inst-two-col {
        grid-template-columns: 1fr;
    }

    .inst-feature-card {
        min-height: auto;
    }
}

@media (max-width: 620px) {
    .institution-hero,
    .simple-hero {
        padding: 40px 0;
    }

    .institution-hero h1,
    .simple-hero h1 {
        font-size: clamp(2.2rem, 12vw, 3.2rem);
    }

    .institution-hero p,
    .simple-hero p {
        font-size: 1.05rem;
    }

    .inst-section,
    .simple-section {
        padding: 36px 0 54px;
    }

    .inst-program-intro {
        padding: 22px;
        margin-bottom: 30px;
    }

    .inst-feature-card {
        padding: 24px;
    }
}
/* ==========================================================
   PROGRAM STATUS + PROGRAMS LANDING
========================================================== */

.programs-page .programs-overview {
    padding-bottom: 42px;
}

.programs-section {
    padding: 18px 0 58px;
}

.programs-special-section {
    border-top: 1px solid var(--border);
    padding-top: 46px;
}

.programs-developing-band {
    background: #eef2f6;
    border-top: 1px solid var(--border);
}

.programs-developing-section {
    padding-top: 54px;
    padding-bottom: 66px;
}

.programs-grid-single {
    max-width: 760px;
}

.program-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 220px;
    flex-direction: column;
    overflow: hidden;
}

.program-card-topline {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.inst-status-badge {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: .69rem;
    font-weight: 900;
    letter-spacing: .09em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.inst-status-badge.status-active {
    color: #166534;
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.inst-status-badge.status-developing {
    color: #854d0e;
    background: #fffbeb;
    border-color: #fde68a;
}

.inst-status-badge.status-special {
    color: #1e3a8a;
    background: #eff6ff;
    border-color: #bfdbfe;
}

.program-card-kicker {
    min-width: 0;
    color: #64748b;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-align: right;
    text-transform: uppercase;
}

.program-card h3 {
    font-size: clamp(1.4rem, 2.4vw, 1.75rem);
}

.program-card p {
    flex: 1;
}

.program-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: var(--primary);
    font-size: .86rem;
    font-weight: 900;
    letter-spacing: .02em;
}

.program-card:hover .program-card-link {
    gap: 11px;
}

.program-card-developing {
    background: rgba(255, 255, 255, .92);
}

.programs-development-note {
    max-width: 880px;
    margin-top: 28px;
    padding: 22px 24px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-left: 4px solid #94a3b8;
}

.programs-development-note strong {
    display: block;
    margin-bottom: 6px;
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
}

.programs-development-note p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}

/* ==========================================================
   DEVELOPING PROGRAM PAGES
========================================================== */

.program-status-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.program-status-row .inst-eyebrow {
    margin-bottom: 0;
}

.program-scope-note {
    margin-top: 30px;
    padding: 20px 22px;
    background: #ffffff;
    border: 1px solid var(--border);
}

.program-scope-note strong {
    display: block;
    margin-bottom: 7px;
    color: var(--navy);
}

.program-scope-note p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}

/* ==========================================================
   RESEARCH & ANALYSIS
========================================================== */

.research-analysis-page .inst-feature-card {
    min-height: 210px;
}

.research-focus-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.research-focus-card .research-card-label {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 16px;
    color: #64748b;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.research-focus-card p {
    flex: 1;
}

.research-focus-card .program-card-link {
    margin-top: 20px;
}

@media (max-width: 980px) {
    .program-card {
        min-height: 0;
    }

    .programs-grid-single {
        max-width: none;
    }
}

@media (max-width: 620px) {
    .programs-section,
    .programs-developing-section {
        padding-top: 38px;
        padding-bottom: 48px;
    }

    .program-card-topline {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .program-card-kicker {
        text-align: left;
    }

    .inst-status-badge {
        white-space: normal;
    }

    .programs-development-note,
    .program-scope-note {
        padding: 20px;
    }
}

/* ==========================================================
   AFDES CIVIC ACADEMY — SIGNATURE PROGRAM
========================================================== */
.programs-signature-band {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(circle at 88% 18%, rgba(4,155,206,.15), transparent 28%),
        linear-gradient(135deg, #f8fbfd 0%, #eef5f8 100%);
}

.programs-signature-section {
    padding-top: 56px;
    padding-bottom: 62px;
}

.program-signature-card {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
    overflow: hidden;
    border: 1px solid var(--border);
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 18px 48px rgba(15,23,42,.06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.program-signature-card:hover {
    border-color: rgba(4,155,206,.4);
    box-shadow: 0 24px 62px rgba(15,23,42,.10);
    transform: translateY(-3px);
}

.program-signature-copy {
    padding: clamp(30px, 5vw, 52px);
}

.program-signature-copy h3 {
    max-width: 740px;
    margin: 18px 0 14px;
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -.035em;
    line-height: 1.04;
}

.program-signature-copy p {
    max-width: 760px;
    margin: 0;
    color: #526274;
    line-height: 1.72;
}

.program-signature-diagram {
    display: flex;
    min-height: 260px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 34px;
    background: linear-gradient(145deg, #0b2437, #123b59);
}

.program-signature-diagram span {
    display: grid;
    min-width: 86px;
    min-height: 74px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.17);
    background: rgba(255,255,255,.055);
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: .88rem;
    font-weight: 700;
    text-align: center;
}

.program-signature-diagram i {
    width: 28px;
    height: 1px;
    background: #4dc3e7;
}

@media (max-width: 900px) {
    .program-signature-card {
        grid-template-columns: 1fr;
    }

    .program-signature-diagram {
        min-height: 200px;
    }
}

@media (max-width: 560px) {
    .program-signature-diagram {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .program-signature-diagram span {
        width: 100%;
        min-height: 54px;
    }

    .program-signature-diagram i {
        width: 1px;
        height: 14px;
        margin: 0 auto;
    }
}
