/* =========================================================
   COURSE PROGRAM PAGE
   Template dùng chung cho toàn bộ trang cấp 2 của Khóa học.
   Ngôn ngữ thiết kế lấy trang Giới thiệu làm chuẩn.
========================================================= */

.course-program-page {
    --program-blue: #1e73be;
    --program-blue-dark: #17639f;
    --program-navy: #174f7a;
    --program-text: #60778b;
    --program-muted: #7b8fa1;
    --program-soft: #eef8fc;
    --program-soft-2: #f6fafc;
    --program-border: #d8e7ef;
    --program-page-soft: #f5f8fa;
    --program-accent: #168bf9;

    width: 100%;
    overflow: hidden;
    background: #fff;
}

.program-shell {
    width: min(calc(100% - 48px), 1380px);
    margin-inline: auto;
}

.program-eyebrow {
    display: inline-block;
    color: var(--program-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.program-eyebrow--light {
    color: #bce6ff;
}

.program-heading-line {
    width: 54px;
    height: 3px;
    display: block;
    margin: 13px 0 18px;
    border-radius: 999px;
    background: var(--program-blue);
}

.program-heading-line--light {
    background: rgba(255, 255, 255, .72);
}

.program-section-heading h2 {
    margin: 0;
    color: var(--program-navy);
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1.16;
    letter-spacing: -.035em;
}

.program-section-heading h2>span {
    color: var(--program-blue);
}

.program-section-heading>p,
.program-section-heading--split>p {
    max-width: 720px;
    margin: 17px 0 0;
    color: var(--program-text);
    font-size: 16px;
    line-height: 1.75;
}

.program-section-heading--center {
    max-width: 850px;
    margin: 0 auto 38px;
    text-align: center;
}

.program-section-heading--center .program-heading-line {
    margin-inline: auto;
}

.program-section-heading--center>p {
    margin-inline: auto;
}

.program-section-heading--split {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(380px, .75fr);
    align-items: end;
    gap: 42px;
    margin-bottom: 34px;
}

.program-section-heading--split>p {
    margin: 0;
}

.program-section-heading--light h2,
.program-section-heading--light h2>span {
    color: #fff;
}

.program-section-heading--light>p {
    color: rgba(255, 255, 255, .74);
}

/* HERO */
.program-hero {
    padding: 44px 0 68px;
    background: var(--program-page-soft);
}

.program-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: stretch;
    gap: clamp(34px, 4vw, 64px);
}

.program-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 24px;
    color: #708496;
    font-size: 13px;
    font-weight: 600;
}

.program-breadcrumb a {
    color: #526b7e;
    text-decoration: none;
}

.program-breadcrumb i {
    font-size: 8px;
    color: #9aabb8;
}

.program-hero__content {
    min-width: 0;
    align-self: center;
}

.program-hero__content h1 {
    max-width: 760px;
    margin: 0;
    color: var(--program-navy);
    font-size: clamp(42px, 4.4vw, 68px);
    line-height: 1.06;
    letter-spacing: -.05em;
}

.program-hero__content h1>span {
    display: block;
    color: var(--program-blue);
}

.program-hero__lead {
    max-width: 690px;
    margin: 22px 0 0;
    color: #536f84;
    font-size: 18px;
    line-height: 1.72;
}

.program-hero__body {
    max-width: 700px;
    margin-top: 18px;
}

.program-hero__body p {
    margin: 0 0 8px;
    color: var(--program-text);
    line-height: 1.75;
}

.program-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.program-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-weight: 750;
    text-decoration: none;
}

.program-button--primary {
    background: var(--program-blue);
    border-color: var(--program-blue);
    color: #fff;
}

.program-button--primary:hover {
    background: var(--program-blue-dark);
    color: #fff;
}

.program-button--outline {
    background: #fff;
    border-color: #bdd5e4;
    color: var(--program-navy);
}

.program-hero__visual {
    min-height: 520px;
    position: relative;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.program-hero__watermark {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    color: rgba(30, 115, 190, .10);
    font-size: clamp(260px, 26vw, 440px);
    font-family: serif;
    line-height: 1;
    transform: translate(-50%, -52%);
    user-select: none;
}

.program-hero__image,
.program-hero__symbol-card {
    width: min(86%, 590px);
    height: min(82%, 500px);
    margin: 0;
    overflow: hidden;
    border: 10px solid #fff;
    border-radius: 26px;
    background: #edf6fa;
    box-shadow: 0 28px 60px rgba(18, 61, 107, .14);
}

.program-hero__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.program-hero__symbol-card {
    display: grid;
    place-items: center;
    position: relative;
}

.program-hero__symbol-card>span {
    color: var(--program-blue);
    font-family: serif;
    font-size: clamp(150px, 14vw, 250px);
    line-height: 1;
}

.program-hero__symbol-card>i {
    position: absolute;
    right: 28px;
    bottom: 25px;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--program-blue);
    color: #fff;
}

.program-hero__badge {
    position: absolute;
    right: 2%;
    bottom: 7%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 17px;
    border: 1px solid rgba(30, 115, 190, .15);
    border-radius: 13px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 40px rgba(18, 61, 107, .12);
}

.program-hero__badge>i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--program-soft);
    color: var(--program-blue);
}

.program-hero__badge span {
    display: grid;
    gap: 3px;
}

.program-hero__badge small {
    color: var(--program-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .09em;
}

.program-hero__badge strong {
    color: var(--program-navy);
    font-size: 13px;
}

/* AUDIENCE */
.program-audience {
    padding: 86px 0;
}

.program-audience__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.program-info-card {
    position: relative;
    min-height: 245px;
    padding: 27px;
    border: 1px solid var(--program-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(18, 61, 107, .055);
}

.program-info-card__number {
    position: absolute;
    top: 22px;
    right: 24px;
    color: #dce9f1;
    font-size: 34px;
    font-weight: 900;
}

.program-info-card__icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 13px;
    background: var(--program-soft);
    color: var(--program-blue);
}

.program-info-card h3 {
    margin: 0;
    color: var(--program-navy);
    font-size: 20px;
}

.program-info-card p {
    margin: 12px 0 0;
    color: var(--program-text);
    line-height: 1.7;
}

/* FEATURES */
.program-features {
    padding: 0 0 88px;
}

.program-features__panel {
    padding: clamp(34px, 4vw, 58px);
    border-radius: 24px;
    background: var(--program-blue);
}

.program-features__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 35px;
}

.program-feature-card {
    min-width: 0;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 14px;
    background: rgba(255, 255, 255, .07);
}

.program-feature-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
}

.program-feature-card__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(255, 255, 255, .13);
    color: #bce6ff;
}

.program-feature-card__badge {
    color: #bce6ff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
}

.program-feature-card h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
}

.program-feature-card p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .70);
    line-height: 1.65;
}

/* COURSES */
.program-courses {
    padding: 86px 0;
    background: var(--program-page-soft);
}

.program-course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.program-course-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 23px;
    border: 1px solid var(--program-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(18, 61, 107, .05);
}

.program-course-card__head {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    padding-bottom: 17px;
    border-bottom: 1px solid #e5eef3;
}

.program-course-card__symbol {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--program-blue);
    color: #fff;
    font-family: serif;
    font-size: 24px;
}

.program-course-card__head>span:last-child {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.program-course-card__head small {
    color: var(--program-blue);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.program-course-card__head strong {
    color: var(--program-navy);
    font-size: 18px;
    line-height: 1.35;
}

.program-course-card__audience {
    margin: 18px 0 0;
    color: var(--program-text);
    line-height: 1.65;
}

.program-course-card__meta {
    display: grid;
    gap: 0;
    margin: 18px 0 0;
}

.program-course-card__meta>div {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
    padding: 9px 0;
    border-top: 1px solid #edf2f5;
}

.program-course-card__meta dt {
    color: #8194a3;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.program-course-card__meta dd {
    margin: 0;
    color: #526d80;
    font-size: 12px;
    line-height: 1.5;
}

.program-course-card__footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 15px;
    margin-top: auto;
    padding-top: 18px;
}

.program-course-card__footer>div {
    display: grid;
    gap: 3px;
}

.program-course-card__footer small {
    color: #899ba9;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
}

.program-course-card__footer strong {
    color: var(--program-navy);
    font-size: 13px;
}

.program-course-card__footer>a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--program-blue);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.program-empty {
    max-width: 720px;
    margin: 0 auto;
    padding: 38px;
    border: 1px dashed #b7cfde;
    border-radius: 18px;
    background: #fff;
    text-align: center;
}

.program-empty>span {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: var(--program-soft);
    color: var(--program-blue);
}

.program-empty h3 {
    margin: 0;
    color: var(--program-navy);
}

.program-empty p {
    max-width: 560px;
    margin: 12px auto 18px;
    color: var(--program-text);
    line-height: 1.7;
}

.program-empty a {
    color: var(--program-blue);
    font-weight: 800;
}

/* ROADMAP */
.program-roadmap {
    padding: 88px 0;
}

.program-roadmap__steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.program-roadmap__steps::before {
    position: absolute;
    top: 36px;
    right: 11%;
    left: 11%;
    height: 2px;
    content: "";
    background: #d9e7ef;
}

.program-roadmap-step {
    position: relative;
    text-align: center;
}

.program-roadmap-step__node {
    width: 72px;
    height: 72px;
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border: 6px solid #fff;
    border-radius: 50%;
    background: var(--program-blue);
    color: #fff;
    box-shadow: 0 0 0 1px var(--program-border);
}

.program-roadmap-step__node span {
    position: absolute;
    top: -12px;
    right: -9px;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--program-blue);
    font-size: 9px;
    font-weight: 800;
}

.program-roadmap-step__content small {
    color: var(--program-blue);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
}

.program-roadmap-step__content h3 {
    margin: 7px 0 0;
    color: var(--program-navy);
    font-size: 17px;
}

.program-roadmap-step__content p {
    margin: 9px 0 0;
    color: var(--program-text);
    font-size: 13px;
    line-height: 1.65;
}

/* OUTCOMES */
.program-outcomes {
    padding: 82px 0;
    background: var(--program-soft-2);
}

.program-outcomes__layout {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.05fr);
    align-items: start;
    gap: 58px;
}

.program-outcomes__cards {
    display: grid;
    gap: 12px;
}

.program-outcomes__cards article {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--program-border);
    border-radius: 13px;
    background: #fff;
}

.program-outcomes__cards article>span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--program-soft);
    color: var(--program-blue);
}

.program-outcomes__cards h3 {
    margin: 0;
    color: var(--program-navy);
    font-size: 17px;
}

.program-outcomes__cards p {
    margin: 7px 0 0;
    color: var(--program-text);
    line-height: 1.65;
}

/* FAQ */
.program-faq {
    padding: 88px 0;
}

.program-faq__layout {
    display: grid;
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 58px;
}

.program-faq__items {
    display: grid;
    gap: 10px;
}

.program-faq-item {
    overflow: hidden;
    border: 1px solid var(--program-border);
    border-radius: 12px;
    background: #fff;
}

.program-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 19px;
    color: var(--program-navy);
    cursor: pointer;
    font-weight: 750;
    list-style: none;
}

.program-faq-item summary::-webkit-details-marker {
    display: none;
}

.program-faq-item summary i {
    color: var(--program-blue);
    transition: transform .2s ease;
}

.program-faq-item[open] summary i {
    transform: rotate(45deg);
}

.program-faq-item p {
    margin: 0;
    padding: 0 19px 18px;
    color: var(--program-text);
    line-height: 1.7;
}

/* CTA */
.program-cta {
    padding: 0 0 90px;
}

.program-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding: clamp(30px, 4vw, 48px);
    border-radius: 22px;
    background: var(--program-blue);
}

.program-cta__inner>div:first-child {
    max-width: 780px;
}

.program-cta__inner>div:first-child>span {
    color: #bce6ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
}

.program-cta h2 {
    margin: 8px 0 0;
    color: #fff;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.18;
}

.program-cta p {
    margin: 13px 0 0;
    color: rgba(255, 255, 255, .72);
    line-height: 1.7;
}

.program-cta__actions {
    min-width: max-content;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.program-cta__actions a {
    min-height: 47px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 17px;
    border-radius: 9px;
    font-weight: 750;
    text-decoration: none;
}

.program-cta__primary {
    background: #fff;
    color: var(--program-navy);
}

.program-cta__secondary {
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
}

@media (max-width: 1100px) {

    .program-hero__grid,
    .program-section-heading--split,
    .program-outcomes__layout,
    .program-faq__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .program-hero__visual {
        min-height: 430px;
    }

    .program-features__grid,
    .program-roadmap__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .program-roadmap__steps::before {
        display: none;
    }

    .program-course-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .program-section-heading--split>p {
        max-width: 760px;
    }

    .program-cta__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .program-cta__actions {
        min-width: 0;
    }
}

@media (max-width: 760px) {
    .program-shell {
        width: min(calc(100% - 32px), 1380px);
    }

    .program-hero {
        padding: 30px 0 48px;
    }

    .program-hero__content h1 {
        font-size: clamp(36px, 11vw, 52px);
    }

    .program-hero__visual {
        min-height: 350px;
    }

    .program-hero__image,
    .program-hero__symbol-card {
        width: 92%;
        height: 330px;
    }

    .program-hero__badge {
        right: 0;
        bottom: 0;
    }

    .program-audience,
    .program-courses,
    .program-roadmap,
    .program-outcomes,
    .program-faq {
        padding-block: 62px;
    }

    .program-audience__grid,
    .program-features__grid,
    .program-course-grid,
    .program-roadmap__steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .program-course-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .program-cta__actions {
        width: 100%;
        flex-direction: column;
    }

    .program-cta__actions a,
    .program-hero__actions .program-button {
        width: 100%;
    }
}
/* =========================================================
   2026 PROGRAM VISUAL POLISH
   - Hero ảnh phủ kín khung và bo góc theo khung
   - Khối màu đậm thu vào trong container
   - Không dùng #123d6b làm background section
========================================================= */

.course-program-page {
    --program-panel-blue: #1e73be;
    --program-panel-blue-dark: #17639f;
}

.program-hero__visual {
    min-height: 0;
    align-self: stretch;
    padding: 10px 0;
}

.program-hero__image,
.program-hero__symbol-card {
    width: min(100%, 650px);
    height: 100%;
    min-height: clamp(430px, 39vw, 560px);
    border: 8px solid #fff;
    background: #edf6fa;
}

.program-hero__image {
    position: relative;
    border: 0;
}

.program-hero__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    padding: 0;
    border-radius: inherit;
    object-fit: cover;
    object-position: center;
    background: transparent;
}

.program-hero__symbol-card {
    background: #edf6fa;
}

.program-hero__symbol-card > i {
    background: var(--program-blue);
}

.program-features {
    padding: 18px 0 92px;
    background: #fff;
}

.program-features > .program-shell {
    width: min(calc(100% - 72px), 1240px);
}

.program-features__panel {
    padding: clamp(38px, 4.5vw, 62px);
    border-radius: 28px;
    background: var(--program-panel-blue);
    box-shadow: 0 24px 58px rgba(30, 115, 190, .15);
}

.program-features__grid {
    gap: 16px;
}

.program-feature-card {
    min-height: 236px;
    border-color: rgba(255, 255, 255, .46);
    background: #fff;
    box-shadow: 0 14px 32px rgba(16, 70, 111, .10);
}

.program-feature-card__icon {
    border: 1px solid #d6eaf4;
    background: #eef8fc;
    color: var(--program-blue);
}

.program-feature-card__badge {
    color: #5b86a2;
}

.program-feature-card h3 {
    color: var(--program-navy);
}

.program-feature-card p {
    color: var(--program-text);
}

.program-cta {
    background: #fff;
}

.program-cta > .program-shell {
    width: min(calc(100% - 72px), 1240px);
}

.program-cta__inner {
    background: var(--program-panel-blue);
    box-shadow: 0 22px 50px rgba(30, 115, 190, .14);
}

.program-cta__primary {
    color: #155883;
}

@media (max-width: 820px) {
    .program-features > .program-shell,
    .program-cta > .program-shell {
        width: min(calc(100% - 32px), 720px);
    }

    .program-hero__image,
    .program-hero__symbol-card {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .program-hero__image img {
        max-height: none;
    }
}
