:root {
    --ib-academy-18-navy: #031636;
    --ib-academy-18-navy-soft: #0b284f;
    --ib-academy-18-orange: #f58220;
    --ib-academy-18-ink: #10233f;
    --ib-academy-18-muted: #66758a;
    --ib-academy-18-line: #e4eaf1;
    --ib-academy-18-soft: #f4f7fa;
    --ib-academy-18-shadow: 0 18px 46px rgba(3, 22, 54, .08);
}

.ib-academy-internal-main-phase18,
.ib-academy-internal-page-phase18 {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.ib-academy-internal-main-phase18 {
    overflow: hidden;
}

.ib-academy-internal-phase18,
.ib-academy-internal-phase18 * {
    box-sizing: border-box;
}

.ib-academy-internal-phase18 {
    width: 100%;
    color: var(--ib-academy-18-ink);
    background: var(--ib-academy-18-soft);
}

.ib-academy-internal-hero-phase18 {
    position: relative;
    isolation: isolate;
    min-height: 450px;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(3, 22, 54, .98) 0%, rgba(3, 22, 54, .92) 44%, rgba(3, 22, 54, .58) 72%, rgba(3, 22, 54, .38) 100%),
        url("../images/unified-hubs/academy-hero.webp") center 44% / cover no-repeat;
}

.ib-academy-internal-hero-phase18::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 22%, rgba(245, 130, 32, .2), transparent 32%),
        linear-gradient(180deg, transparent 58%, rgba(3, 22, 54, .3));
}

.ib-academy-internal-hero-phase18__inner {
    width: min(1480px, calc(100% - 64px));
    min-height: 450px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .55fr);
    gap: clamp(36px, 7vw, 110px);
    align-items: center;
    margin: 0 auto;
    padding: 54px 0 50px;
}

.ib-academy-internal-hero-phase18__content {
    max-width: 820px;
}

.ib-academy-internal-back-phase18 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, .74);
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

.ib-academy-internal-back-phase18:hover {
    color: #fff;
}

.ib-academy-internal-kicker-phase18 {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    color: #ffad61;
    font-size: 13px;
    font-weight: 900;
}

.ib-academy-internal-kicker-phase18 i {
    width: 28px;
    height: 3px;
    border-radius: 999px;
    background: var(--ib-academy-18-orange);
}

.ib-academy-internal-hero-phase18 h1 {
    max-width: 820px;
    margin: 18px 0 16px;
    color: #fff;
    font-size: clamp(34px, 4.1vw, 62px);
    line-height: 1.38;
    letter-spacing: -.035em;
}

.ib-academy-internal-hero-phase18__content > p {
    max-width: 730px;
    margin: 0;
    color: rgba(255, 255, 255, .8);
    font-size: 16px;
    line-height: 2.05;
}

.ib-academy-internal-actions-phase18 {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.ib-academy-internal-button-phase18 {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.ib-academy-internal-button-phase18:hover {
    transform: translateY(-2px);
}

.ib-academy-internal-button-phase18--primary {
    color: #fff;
    background: var(--ib-academy-18-orange);
    box-shadow: 0 13px 30px rgba(245, 130, 32, .25);
}

.ib-academy-internal-button-phase18--glass {
    color: #fff;
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
}

.ib-academy-internal-stats-phase18 {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 26px;
    background: rgba(3, 22, 54, .48);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
    backdrop-filter: blur(18px);
}

.ib-academy-internal-stats-phase18 > div {
    min-height: 88px;
    display: grid;
    grid-template-columns: minmax(72px, auto) minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 14px 17px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 17px;
    background: rgba(255, 255, 255, .06);
}

.ib-academy-internal-stats-phase18 strong {
    color: #fff;
    font-size: clamp(23px, 2.2vw, 34px);
    line-height: 1.25;
}

.ib-academy-internal-stats-phase18 span {
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
    font-weight: 800;
}

.ib-academy-internal-workspace-phase18 {
    width: min(1480px, calc(100% - 64px));
    margin: 0 auto;
    padding: 40px 0 64px;
}

.ib-academy-internal-section-head-phase18 {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.ib-academy-internal-section-head-phase18 > div > span,
.ib-academy-path-related-phase18 header span {
    display: block;
    color: var(--ib-academy-18-orange);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ib-academy-internal-section-head-phase18 h2,
.ib-academy-path-related-phase18 h2 {
    margin: 8px 0 0;
    color: var(--ib-academy-18-navy);
    font-size: clamp(23px, 2.4vw, 32px);
    line-height: 1.55;
}

.ib-academy-internal-section-head-phase18 p {
    margin: 6px 0 0;
    color: var(--ib-academy-18-muted);
    font-size: 13px;
    line-height: 1.9;
}

.ib-academy-internal-section-head-phase18 > a,
.ib-academy-path-related-phase18 header > a {
    flex: 0 0 auto;
    color: var(--ib-academy-18-orange);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.ib-academy-school-grid-phase18 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ib-academy-school-card-phase18 {
    min-height: 365px;
    display: flex;
    flex-direction: column;
    padding: 25px;
    border: 1px solid var(--ib-academy-18-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--ib-academy-18-shadow);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.ib-academy-school-card-phase18:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 130, 32, .34);
    box-shadow: 0 22px 48px rgba(3, 22, 54, .11);
}

.ib-academy-school-card-phase18__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ib-academy-school-card-phase18__top > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--ib-academy-18-orange);
    background: #fff0e3;
    font-size: 12px;
    font-weight: 950;
}

.ib-academy-school-card-phase18__top small {
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--ib-academy-18-muted);
    background: #eef2f6;
    font-size: 10px;
    font-weight: 850;
}

.ib-academy-school-card-phase18 h3 {
    margin: 23px 0 10px;
    color: var(--ib-academy-18-navy);
    font-size: 20px;
    line-height: 1.65;
}

.ib-academy-school-card-phase18 > p {
    min-height: 74px;
    margin: 0;
    color: var(--ib-academy-18-muted);
    font-size: 12px;
    line-height: 1.95;
}

.ib-academy-school-card-phase18 dl {
    margin: 19px 0;
    padding: 14px 0;
    border-block: 1px solid var(--ib-academy-18-line);
}

.ib-academy-school-card-phase18 dl > div {
    display: grid;
    grid-template-columns: 65px minmax(0, 1fr);
    gap: 10px;
    padding: 5px 0;
}

.ib-academy-school-card-phase18 dt {
    color: var(--ib-academy-18-navy);
    font-size: 11px;
    font-weight: 900;
}

.ib-academy-school-card-phase18 dd {
    margin: 0;
    color: var(--ib-academy-18-muted);
    font-size: 11px;
    line-height: 1.8;
}

.ib-academy-school-card-phase18 > a,
.ib-academy-school-card-phase18__pending {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    color: var(--ib-academy-18-navy);
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
}

.ib-academy-school-card-phase18 > a span {
    color: var(--ib-academy-18-orange);
    font-size: 16px;
}

.ib-academy-school-card-phase18__pending {
    color: #8793a3;
}

.ib-academy-internal-pagination-phase18 {
    margin-top: 24px;
}

.ib-academy-internal-empty-phase18 {
    padding: 34px;
    border: 1px dashed #cbd5df;
    border-radius: 22px;
    text-align: center;
    background: #fff;
}

.ib-academy-internal-empty-phase18 strong {
    display: block;
    color: var(--ib-academy-18-navy);
    font-size: 18px;
}

.ib-academy-internal-empty-phase18 p {
    margin: 8px 0 0;
    color: var(--ib-academy-18-muted);
    font-size: 12px;
}

.ib-academy-path-timeline-phase18 {
    position: relative;
    display: grid;
    gap: 14px;
}

.ib-academy-path-timeline-phase18::before {
    content: "";
    position: absolute;
    inset-block: 36px;
    inset-inline-start: 31px;
    width: 2px;
    background: linear-gradient(var(--ib-academy-18-orange), #dce4ec);
}

.ib-academy-path-step-phase18 {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 20px;
}

.ib-academy-path-step-phase18__number {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border: 7px solid var(--ib-academy-18-soft);
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, var(--ib-academy-18-navy), var(--ib-academy-18-orange));
    box-shadow: 0 9px 24px rgba(3, 22, 54, .14);
    font-size: 16px;
    font-weight: 950;
}

.ib-academy-path-step-phase18__body {
    min-height: 150px;
    padding: 23px 25px;
    border: 1px solid var(--ib-academy-18-line);
    border-radius: 23px;
    background: #fff;
    box-shadow: var(--ib-academy-18-shadow);
}

.ib-academy-path-step-phase18__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.ib-academy-path-step-phase18__meta span {
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--ib-academy-18-muted);
    background: #eef2f6;
    font-size: 10px;
    font-weight: 850;
}

.ib-academy-path-step-phase18__meta span:first-child {
    color: #a84d09;
    background: #fff0e3;
}

.ib-academy-path-step-phase18 h3 {
    margin: 13px 0 7px;
    color: var(--ib-academy-18-navy);
    font-size: 18px;
    line-height: 1.7;
}

.ib-academy-path-step-phase18 p {
    margin: 0;
    color: var(--ib-academy-18-muted);
    font-size: 12px;
    line-height: 1.9;
}

.ib-academy-path-step-phase18__body > a,
.ib-academy-path-step-phase18__status {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 18px;
    margin-top: 14px;
    color: var(--ib-academy-18-navy);
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
}

.ib-academy-path-step-phase18__body > a span {
    color: var(--ib-academy-18-orange);
    font-size: 17px;
}

.ib-academy-path-step-phase18__status {
    color: #8793a3;
}

.ib-academy-path-related-phase18 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 32px;
}

.ib-academy-path-related-phase18 > article {
    padding: 26px;
    border: 1px solid var(--ib-academy-18-line);
    border-radius: 25px;
    background: #fff;
    box-shadow: var(--ib-academy-18-shadow);
}

.ib-academy-path-related-phase18 header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--ib-academy-18-line);
}

.ib-academy-path-related-phase18 h2 {
    font-size: 22px;
}

.ib-academy-path-related-phase18 > article > div > section {
    padding: 15px 0;
    border-bottom: 1px solid #edf1f5;
}

.ib-academy-path-related-phase18 > article > div > section:last-child {
    border-bottom: 0;
}

.ib-academy-path-related-phase18 section strong {
    display: block;
    color: var(--ib-academy-18-navy);
    font-size: 14px;
    line-height: 1.75;
}

.ib-academy-path-related-phase18 section p,
.ib-academy-path-related-phase18__empty {
    margin: 4px 0 0;
    color: var(--ib-academy-18-muted);
    font-size: 11px;
    line-height: 1.9;
}

.ib-academy-internal-workspace-phase18 > .ib-section-sponsor-card,
.ib-academy-internal-workspace-phase18 > [class*="sponsor"] {
    margin-top: 30px;
}

@media (max-width: 1100px) {
    .ib-academy-internal-hero-phase18__inner {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 34px;
    }

    .ib-academy-school-grid-phase18 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .ib-academy-internal-hero-phase18 {
        min-height: auto;
        background:
            linear-gradient(180deg, rgba(3, 22, 54, .88), rgba(3, 22, 54, .97)),
            url("../images/unified-hubs/academy-hero.webp") center / cover no-repeat;
    }

    .ib-academy-internal-hero-phase18__inner {
        width: min(100% - 36px, 680px);
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 42px 0;
    }

    .ib-academy-internal-stats-phase18 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ib-academy-internal-stats-phase18 > div {
        min-height: 94px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        text-align: center;
    }

    .ib-academy-internal-workspace-phase18 {
        width: min(100% - 36px, 680px);
    }

    .ib-academy-path-related-phase18 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .ib-academy-internal-hero-phase18 h1 {
        font-size: 34px;
    }

    .ib-academy-internal-hero-phase18__content > p {
        font-size: 14px;
    }

    .ib-academy-internal-stats-phase18 {
        grid-template-columns: 1fr;
    }

    .ib-academy-internal-stats-phase18 > div {
        min-height: 72px;
        display: grid;
        grid-template-columns: 80px minmax(0, 1fr);
        text-align: start;
    }

    .ib-academy-internal-section-head-phase18,
    .ib-academy-path-related-phase18 header {
        align-items: start;
        flex-direction: column;
        gap: 10px;
    }

    .ib-academy-school-grid-phase18 {
        grid-template-columns: 1fr;
    }

    .ib-academy-school-card-phase18 {
        min-height: 0;
    }

    .ib-academy-path-step-phase18 {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 12px;
    }

    .ib-academy-path-timeline-phase18::before {
        inset-inline-start: 22px;
    }

    .ib-academy-path-step-phase18__number {
        width: 46px;
        height: 46px;
        border-width: 5px;
    }

    .ib-academy-path-step-phase18__body {
        min-height: 0;
        padding: 19px;
    }
}
