/* ==========================================================================
   Shared Program Detail Styles
   Used by M-English, M-Cook and future program detail pages
   ========================================================================== */

.program-detail-page {
    overflow-x: clip;
    background-color: var(--color-bg, #ffffff);
}

/* --------------------------------------------------------------------------
   Shared Section Basics
   -------------------------------------------------------------------------- */
.program-card__line {
    display: block;
    width: 60px;
    height: 1.5px;
    background-color: #d1d5db;
    margin: 12px auto;
    border-radius: 2px;
}

.program-badge-tag {
    display: inline-block;
    font-size: clamp(13px, 1.1vw, 15px);
    font-weight: 850;
    color: var(--color-primary, #ec7028);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   1. Hero Section
   -------------------------------------------------------------------------- */
.program-hero {
    padding-top: 60px;
    padding-bottom: 45px;
    text-align: center;
    background: #ffffff;
}

.program-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.program-hero__brand {
    margin-bottom: 24px;
}

.program-hero__logo {
    max-width: 380px;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

.program-hero__text-logo {
    font-size: clamp(34px, 4.6vw, 64px);
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--color-primary, #ec7028);
    text-transform: uppercase;
    margin: 0 0 10px;
    padding-top: 10px;
    text-align: center;
    overflow: visible;
}

.program-hero__subtitle {
    font-size: clamp(16px, 1.8vw, 22px);
    font-weight: 500;
    line-height: 1.45;
    color: #383d44;
    max-width: 720px;
    margin: 0 auto 28px;
    text-align: center;
}

#main-content .program-hero__title,
.program-hero__title {
    font-size: clamp(26px, 3.2vw, 44px);
    font-weight: 500 !important;
    line-height: 1.35;
    padding-top: 10px;
    max-width: 960px;
    margin: 0 auto 28px;
    text-align: center;
    overflow: visible;
}

#main-content .program-hero__title span,
.program-hero__title span,
.program-hero__title-base,
.program-hero__highlight {
    font-weight: 500 !important;
}

.program-hero__title-base {
    color: #1f2329;
}

.program-hero__highlight {
    color: var(--color-primary, #ec7028);
}

.program-hero__actions {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    overflow: visible;
}

.program-pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 46px;
    min-height: 50px;
    border-radius: 999px;
    background: #ffffff;
    border: 2.5px solid var(--color-primary, #ec7028);
    color: #262a2e;
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

#main-content .program-pill-btn:hover,
#main-content .program-pill-btn:focus-visible {
    background: var(--color-primary, #ec7028);
    border-color: var(--color-primary, #ec7028);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(236, 112, 40, 0.28);
}

#main-content .program-pill-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(236, 112, 40, 0.18);
}

/* --------------------------------------------------------------------------
   Intro Box (Peach Container)
   -------------------------------------------------------------------------- */
.program-intro-box {
    display: grid;
    grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
    gap: clamp(28px, 3.2vw, 52px);
    align-items: stretch;
    background: #f7c69e;
    border-radius: 20px;
    padding: clamp(22px, 2.25vw, 32px);
    max-width: 1200px;
    margin: 0 auto;
}

.program-intro-box--reverse {
    grid-template-columns: minmax(0, 54fr) minmax(0, 46fr);
}

.program-intro-box--accent {
    background: #f8cfab;
}

.program-intro-box--yellow {
    background: #fdf2ca;
}

.program-intro-box--yellow .program-intro-box__title {
    color: var(--color-primary, #ec7028);
}

.program-intro-box__media {
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    min-height: 350px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.program-intro-box__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

.program-intro-box__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 8px 4px;
}

.program-intro-box__title {
    font-size: clamp(30px, 3.5vw, 48px);
    line-height: 1.25;
    color: #383d45;
    margin: 0 0 16px;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    font-weight: 750;
    padding-top: 10px;
    overflow: visible;
}

.program-intro-box__title--orange {
    color: #d9511d;
}

.program-intro-box__subtitle {
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 750;
    color: #383d45;
    letter-spacing: 0.01em;
    line-height: 1.35;
    padding-top: 4px;
    margin: 0 0 16px;
    text-transform: uppercase;
    overflow: visible;
}

.program-intro-box__badge {
    display: block;
    color: #475058;
    line-height: 1.4;
    margin-bottom: 12px;
}

.program-intro-box__lead {
    font-size: clamp(14px, 1.15vw, 16px);
    font-weight: 800;
    color: #2b3036;
    letter-spacing: 0.02em;
    margin: 0 0 10px;
}

.program-intro-box__desc {
    color: #383e44;
    font-size: clamp(15.5px, 1.18vw, 18px);
    line-height: 1.6;
    font-weight: 500;
    margin: 0;
}

.program-intro-box__desc strong {
    font-weight: 750;
    color: #262b30;
}

.program-intro-box__desc p {
    margin: 0 0 10px;
}

.program-intro-box__desc p:last-child {
    margin-bottom: 0;
}

.m-english-global__mascot {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
}

.m-english-global__mascot img {
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
}

/* --------------------------------------------------------------------------
   Section 1: 3 Pillars Grid
   -------------------------------------------------------------------------- */
.m-english-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 28px);
    max-width: 1200px;
    margin: 45px auto 0;
}

.m-english-pillar-card {
    background: #ffffff;
    border: 1.5px solid #f3e5d8;
    border-radius: 20px;
    min-height: 330px;
    height: 100%;
    padding: 28px 24px 24px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(226, 92, 38, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: grid;
    grid-template-rows: minmax(60px, auto) 112px 1fr;
    align-items: center;
}

.m-english-pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(236, 112, 40, 0.14);
    border-color: var(--color-primary, #ec7028);
}

.m-english-pillar-card__title {
    align-self: center;
    font-size: clamp(19px, 1.65vw, 24px);
    font-weight: 850;
    color: #2b3036;
    margin: 0;
    line-height: 1.25;
}

.m-english-pillar-card__icon {
    width: 112px;
    height: 106px;
    margin: 4px auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.m-english-pillar-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.m-english-pillar-card__desc {
    align-self: start;
    font-size: clamp(15px, 1.2vw, 18px);
    font-weight: 600;
    color: #555555;
    line-height: 1.5;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Section 2: 4 Steps Grid
   -------------------------------------------------------------------------- */
.m-english-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(12px, 1.5vw, 20px);
    max-width: 1200px;
    margin: 45px auto 0;
}

.m-english-step-card {
    background: #ffffff;
    border: 1.5px solid #f3e5d8;
    border-radius: 20px;
    min-height: 342px;
    height: 100%;
    padding: 26px 18px 22px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: grid;
    grid-template-rows: minmax(54px, auto) minmax(42px, auto) 98px 1fr;
    align-items: center;
}

.m-english-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(236, 112, 40, 0.14);
    border-color: var(--color-primary, #ec7028);
}

.m-english-step-card__label {
    align-self: center;
    font-size: clamp(15px, 1.3vw, 19px);
    font-weight: 850;
    color: var(--color-primary, #ec7028);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.m-english-step-card__title {
    align-self: center;
    font-size: clamp(14px, 1.05vw, 16px);
    font-weight: 850;
    color: #2b3036;
    margin: 4px 0 0;
}

.m-english-step-card__icon {
    width: 100px;
    height: 94px;
    margin: 2px auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.m-english-step-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.m-english-step-card__desc {
    align-self: start;
    font-size: clamp(14px, 1.05vw, 16px);
    font-weight: 600;
    color: #606060;
    line-height: 1.45;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Section 4: 5 Age Levels
   -------------------------------------------------------------------------- */
.m-english-levels {
    background: #fffdf9;
}

.m-english-levels__wrapper {
    display: grid;
    grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
    gap: clamp(36px, 5vw, 70px);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.m-english-levels__info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.m-english-levels__heading {
    align-items: flex-end;
    gap: 12px;
    display: flex;
    flex-direction: column;
    margin: 0 0 24px;
    line-height: 1.15;
    text-align: right;
}

.m-english-levels__heading-orange {
    font-size: clamp(44px, 4.6vw, 62px);
    font-weight: 700;
    line-height: 1.15;
    color: #e25822;
}

.m-english-levels__heading-dark {
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 800;
    color: #2b3036;
    letter-spacing: 0.04em;
}

.m-english-levels__desc {
    font-size: clamp(18px, 1.4vw, 21px);
    font-weight: 500;
    line-height: 1.65;
    color: #555555;
    margin: 0 0 28px;
    max-width: 440px;
    text-align: right;
    text-wrap: pretty;
}

.m-english-levels__mascot {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.m-english-levels__mascot img {
    max-width: 240px;
    height: auto;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.08));
}

.m-english-levels__bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.m-english-level-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px;
    align-items: center;
    gap: 18px;
    min-height: 72px;
    padding: 12px 30px;
    border-radius: 999px;
    box-shadow: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.m-english-level-row:hover {
    transform: translateX(6px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.m-english-level-row__name {
    color: #252525;
    font-size: clamp(17px, 1.45vw, 21px);
    font-weight: 850;
    letter-spacing: 0.06em;
}

.m-english-level-row__age {
    display: flex;
    flex-direction: column;
    color: #252525;
    font-size: clamp(13px, 1.05vw, 15px);
    font-weight: 750;
    line-height: 1.15;
    text-align: left;
}

.m-english-level-row__age small {
    margin-top: 2px;
    font-size: 0.78em;
    font-weight: 750;
}

.m-english-level-row--white {
    background: #f1f1f1;
    border: 0;
}

.m-english-level-row--pink {
    background: #fde5ec;
}

.m-english-level-row--green {
    background: #e6f8d9;
}

.m-english-level-row--blue {
    background: #dceefa;
}

.m-english-level-row--gold {
    background: #fff4bd;
}

/* --------------------------------------------------------------------------
   Section 5: 12 Monthly Stories
   -------------------------------------------------------------------------- */
.m-english-months-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.m-english-month-card {
    background: #ffffff;
    border: 1px solid #ebebeb;
    border-radius: 26px;
    padding: 32px 24px 28px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.m-english-month-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(236, 112, 40, 0.14);
    border-color: var(--color-primary, #ec7028);
}

.m-english-month-card__month {
    font-size: clamp(18px, 1.45vw, 22px);
    font-weight: 850;
    color: #1a1a1a;
    margin: 0 0 10px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.m-english-month-card__icon {
    width: 112px;
    height: 112px;
    margin: 8px auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.m-english-month-card__icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.m-english-month-card__desc {
    font-size: clamp(14.5px, 1.1vw, 16.5px);
    font-weight: 600;
    color: #222222;
    margin: 0;
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Section 6: M-Day (HÃ¬nh 3: 3 Videos Slider with Arrows & Dots, Mascot Há»• gÃ³c pháº£i)
   -------------------------------------------------------------------------- */
.m-english-mday {
    background: #fffcf7;
    text-align: center;
}

.m-english-mday__header {
    max-width: 860px;
    margin: 0 auto 36px;
}

.m-english-mday__title {
    font-size: clamp(32px, 3.8vw, 54px);
    font-weight: 900;
    color: var(--color-primary, #ec7028);
    margin: 0 0 10px;
    letter-spacing: 0.02em;
}

.m-english-mday__subtitle {
    font-size: clamp(20px, 2.2vw, 30px);
    font-weight: 850;
    color: #2b3036;
    margin: 0 0 14px;
}

.m-english-mday__lead {
    font-size: clamp(15px, 1.15vw, 18px);
    font-weight: 600;
    line-height: 1.55;
    color: #555555;
    margin: 0 auto;
}

.m-english-mday__video-container {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
}

.m-english-mday__video-wrapper {
    position: relative;
    width: 100%;
}

.program-video-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 22px;
    overflow: hidden;
    background: #000000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.program-video-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.m-english-mday__mascot {
    position: absolute;
    right: -42px;
    bottom: -20px;
    z-index: 3;
}

.m-english-mday__mascot img {
    max-width: 135px;
    height: auto;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.15));
}

.m-english-mday__tags {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.m-english-mday-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 36px;
    border-radius: 999px;
    background: #fffdf0;
    border: 1.5px solid #feeec4;
    color: #e05e1b;
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: 850;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(224, 94, 27, 0.06);
}

/* --------------------------------------------------------------------------
   Section 7: School Benefits (Dual Pill Header, 5 Cards, Mascot, Video Slider)
   -------------------------------------------------------------------------- */
.m-english-benefits {
    background-color: #fbf8e4;
}

.program-section-header {
    text-align: center;
    margin-bottom: 44px;
}

.program-pill-heading {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-primary, #ec7028);
    color: #ffffff;
    padding: 18px 56px;
    border-radius: 999px;
    box-shadow: 0 6px 22px rgba(236, 112, 40, 0.28);
    margin: 0 auto 20px;
    text-align: center;
}

.program-pill-heading:last-child {
    margin-bottom: 0;
}

.program-pill-heading--dual {
    padding: 22px 64px;
}

#main-content .program-pill-heading h2,
#main-content .section-heading .program-pill-heading h2,
.program-pill-heading h2 {
    font-size: clamp(24px, 2.5vw, 36px);
    font-weight: 750;
    line-height: 1.25;
    padding-top: 6px;
    margin: 0;
    color: #ffffff !important;
    letter-spacing: 0.02em;
    overflow: visible;
}

#main-content .program-pill-heading span,
#main-content .section-heading .program-pill-heading span,
.program-pill-heading span,
.program-pill-heading--dual span {
    font-size: clamp(14px, 1.2vw, 17px);
    font-weight: 700;
    color: #ffffff !important;
    margin-top: 6px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.program-section-lead {
    color: #505050;
    line-height: 1.5;
    max-width: 860px;
    margin: 0 auto;
}

.program-section-subtitle {
    color: var(--color-text, #454545);
    font-size: clamp(19px, 2.1vw, 28px);
    font-weight: 750;
    line-height: 1.35;
    padding-top: 6px;
    margin: 0 0 14px;
    text-transform: uppercase;
    overflow: visible;
}

.m-english-benefits__cards {
    max-width: 1200px;
    margin: 0 auto;
}

.m-english-benefits__grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.m-english-benefits__grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 780px;
    margin: 24px auto 0;
}

.program-benefit-card {
    background: #ffffff;
    border: 1.5px solid #ececec;
    border-radius: 20px;
    padding: 26px 22px 22px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.program-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(236, 112, 40, 0.14);
    border-color: var(--color-primary, #ec7028);
}

.program-benefit-card__title {
    color: var(--color-primary, #e25822);
    font-size: clamp(17px, 1.35vw, 20px);
    font-weight: 750;
    line-height: 1.3;
    padding-top: 4px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    overflow: visible;
}

.program-benefit-card__line {
    display: block;
    width: 60px;
    height: 1.5px;
    background-color: #d1d5db;
    margin: 12px auto;
    border-radius: 2px;
}

.program-benefit-card__line--long {
    width: 105px;
    height: 1.5px;
    background-color: #e5e7eb;
    margin: 10px auto 14px;
}

.program-card-sep {
    color: #9ca3af;
    margin: 0 4px;
    font-weight: 400;
}

.program-benefit-card__desc {
    font-size: clamp(13.5px, 1.05vw, 15.5px);
    font-weight: 600;
    color: #374151;
    line-height: 1.45;
    margin: 0;
}

/* Video Frame Wrapper (HÃ¬nh 2: Khung viá»n tráº¯ng bao quanh, Mascot chuá»™t á»Ÿ gÃ³c dÆ°á»›i bÃªn trÃ¡i) */
.m-english-benefits__video-frame-wrapper {
    position: relative;
    max-width: 920px;
    margin: 44px auto 0;
    background: #ffffff;
    padding: 14px;
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.m-english-benefits__video-frame-wrapper .program-video-frame {
    border-radius: 18px;
    margin: 0;
}

.m-english-benefits__video-mascot {
    position: absolute;
    left: -40px;
    bottom: -20px;
    z-index: 3;
}

.m-english-benefits__video-mascot img {
    max-width: 130px;
    height: auto;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.12));
}

.m-english-video-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 24px;
}

.m-english-video-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #eaeaea;
    color: #383d44;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
}

.m-english-video-arrow:hover {
    background: var(--color-primary, #ec7028);
    border-color: var(--color-primary, #ec7028);
    color: #ffffff;
    transform: scale(1.06);
}

.m-english-video-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.m-english-video-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}

.m-english-video-dot.is-active {
    width: 26px;
    border-radius: 999px;
    background: var(--color-primary, #ec7028);
}

.program-video-wrapper {
    max-width: 880px;
    margin: 48px auto 0;
}

/* --------------------------------------------------------------------------
   Section 8: Target Audience (3 Cards Grid)
   -------------------------------------------------------------------------- */
.m-english-audience {
    background-color: #fbf8e4;
    padding-top: 10px;
}

.m-english-audience__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.m-english-audience-card {
    background: #ffffff;
    border: 1.5px solid #eaeaea;
    border-radius: 18px;
    padding: 34px 28px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.m-english-audience-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(236, 112, 40, 0.14);
    border-color: var(--color-primary, #ec7028);
}

.m-english-audience-card__title {
    color: var(--color-primary-dark, #d9511d);
    font-size: clamp(17px, 1.35vw, 21px);
    font-weight: 850;
    margin: 0;
    text-transform: uppercase;
}

.m-english-audience-card__desc {
    font-size: clamp(14px, 1.05vw, 16px);
    font-weight: 600;
    color: #555555;
    line-height: 1.5;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Section 9: Bottom Banner & CTA
   -------------------------------------------------------------------------- */
.m-english-bottom-cta {
    background: #ffffff;
}

.program-bottom-banner {
    position: relative;
    width: 100%;
    min-height: clamp(340px, 36vw, 480px);
    overflow: hidden;
}

.program-bottom-banner__bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.program-bottom-banner__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
}

.program-bottom-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.1) 45%, rgba(0, 0, 0, 0.35) 100%);
    z-index: 1;
}

.program-bottom-banner__content {
    position: absolute;
    top: clamp(20px, 3.5vw, 45px);
    left: clamp(24px, 4vw, 55px);
    z-index: 2;
    max-width: 720px;
    margin: 0;
    text-align: left;
}

.program-bottom-banner__line {
    display: block;
    white-space: nowrap;
}

@media (max-width: 575px) {
    .program-bottom-banner__line {
        white-space: normal;
    }
}

.program-bottom-banner__title {
    color: #ffffff;
    font-size: clamp(26px, 3.4vw, 48px);
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.65);
    margin: 0;
    text-align: left;
    overflow: visible;
}

.program-bottom-banner-section {
    padding-top: 0;
    padding-bottom: 0;
}

/* The final program CTA inherits the page canvas instead of adding a color band. */
.program-detail-page .program-detail-cta,
.program-detail-page .program-detail-cta.home-cta-strip--final {
    background: transparent;
    padding-top: clamp(28px, 3.5vw, 44px);
    padding-bottom: clamp(36px, 4.5vw, 60px);
}

.program-detail-cta__content {
    width: 100%;
    text-align: center;
}

.program-detail-cta__intro {
    margin: clamp(30px, 3.5vw, 48px) auto clamp(36px, 4vw, 52px);
    color: #171717;
    font-size: clamp(20px, 1.85vw, 25px);
    font-weight: 500;
    line-height: 1.6;
    max-width: 880px;
}

.program-detail-cta__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(16px, 2vw, 28px);
    flex-wrap: wrap;
}

.program-detail-page .program-detail-cta__actions > a {
    min-width: 0;
    width: min(100%, 340px);
    margin-inline: auto;
    background: linear-gradient(135deg, #fedca0 0%, #f9be6e 100%) !important;
    border: 2.5px solid #e86b28 !important;
    color: #171717 !important;
    box-shadow: 0 6px 16px rgba(232, 107, 40, 0.16);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, filter 0.3s ease;
}

.program-detail-page .program-detail-cta__actions > a:hover,
.program-detail-page .program-detail-cta__actions > a:focus-visible {
    background: linear-gradient(135deg, #ffe2ab 0%, #fac67c 100%) !important;
    color: #171717 !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(232, 107, 40, 0.25);
}

@media (max-width: 767px) {
    .program-detail-cta__intro br {
        display: none;
    }

    .program-detail-cta__actions {
        flex-direction: column;
        gap: 12px;
    }
}

.m-english-bottom-cta__intro {
    padding-top: 45px;
    padding-bottom: 70px;
    text-align: center;
}

.m-english-bottom-cta__lead {
    font-size: clamp(16px, 1.25vw, 20px);
    font-weight: 700;
    color: #2b3036;
    line-height: 1.6;
    max-width: 860px;
    margin: 0 auto 36px;
}

.m-english-bottom-cta__actions {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.m-english-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 34px;
    border-radius: 999px;
    background: #ffffff;
    border: 2px solid #e25822;
    color: #262a2e;
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: 850;
    letter-spacing: 0.03em;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(226, 88, 34, 0.12);
    transition: all 0.25s ease;
}

.m-english-cta-btn:hover {
    background: #e25822;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(226, 88, 34, 0.26);
}

.m-english-cta-btn__mascot {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.m-english-cta-btn--secondary {
    border-color: #383d44;
}

.m-english-cta-btn--secondary:hover {
    background: #383d44;
    border-color: #383d44;
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(56, 61, 68, 0.26);
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .program-intro-box,
    .program-intro-box--reverse {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 24px;
    }

    .program-intro-box__media {
        min-height: 0;
        aspect-ratio: 776 / 515;
    }

    .program-intro-box--reverse .program-intro-box__media {
        order: -1;
    }

    .m-english-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .m-english-levels__wrapper {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .m-english-levels__info {
        align-items: center;
        text-align: center;
    }

    .m-english-levels__heading {
        align-items: center;
        text-align: center;
    }

    .m-english-levels__desc {
        max-width: 100%;
        margin-inline: auto;
        text-align: center;
    }

    .m-english-levels__mascot {
        display: flex;
        justify-content: center;
    }

    .program-cards-grid--6 {
        grid-template-columns: repeat(2, 1fr);
    }

    .m-english-benefits__mascot {
        display: none;
    }

    .m-english-mday__mascot {
        right: 10px;
        bottom: -20px;
    }
}

@media (max-width: 767px) {
    .program-hero {
        padding-block: 42px 34px;
    }

    .program-hero__brand {
        margin-bottom: 18px;
    }

    .program-hero__logo {
        max-width: 280px;
    }

    .program-hero__title {
        margin-bottom: 22px;
    }

    .program-intro-box,
    .program-intro-box--reverse {
        gap: 20px;
        padding: 16px;
        border-radius: 16px;
    }

    .program-intro-box__content {
        padding: 4px;
    }

    .m-english-pillars-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .m-english-steps-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .m-english-pillar-card,
    .m-english-step-card {
        min-height: 0;
    }

    .m-english-levels__bars {
        gap: 8px;
    }

    .m-english-level-row {
        grid-template-columns: minmax(0, 1fr) 96px;
        gap: 10px;
        min-height: 64px;
        padding: 10px 20px;
    }

    .m-english-months-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .program-cards-grid--6 {
        grid-template-columns: 1fr;
    }

    .m-english-audience__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .program-pill-heading,
    .program-pill-heading--dual {
        padding: 16px 28px;
        border-radius: 30px;
    }

    .program-bottom-banner {
        min-height: 260px;
    }

    .m-english-bottom-cta__actions {
        flex-direction: column;
        align-items: center;
    }

    .m-english-cta-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .m-english-mday__mascot {
        display: none;
    }
}


/* ========================================================================== 
   M-Cook-only layouts; shared elements above use program-* classes.
   ========================================================================== */
.m-cook-intro-box-section {
    padding-top: clamp(20px, 2.5vw, 36px);
    padding-bottom: clamp(50px, 6vw, 84px);
    background: #ffffff;
}

.m-cook-intro-box-section .program-intro-box {
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
}

.m-cook-intro-box-section .program-intro-box__title {
    font-size: clamp(20px, 2.1vw, 32px);
    line-height: 1.22;
    color: #383d45;
    margin: 0 0 16px;
    letter-spacing: 0.01em;
}

.m-cook-intro-box__title-nowrap {
    white-space: nowrap;
}

.m-cook-intro-box-section .program-intro-box__subtitle {
    font-size: clamp(13px, 1.25vw, 17px);
    font-weight: 750;
    color: #383d45;
    margin: 0 0 18px;
    letter-spacing: 0.02em;
    line-height: 1.35;
    white-space: nowrap;
}

@media (max-width: 540px) {
    .m-cook-intro-box__title-nowrap {
        white-space: normal;
    }

    .m-cook-intro-box-section .program-intro-box__subtitle {
        white-space: normal;
        font-size: 13.5px;
    }
}

.m-cook-intro-box-section .program-intro-box__desc p {
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.65;
    color: #383d45;
}

.m-cook-why .program-feature-card {
    padding: 30px 16px 26px;
    min-height: 285px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.m-cook-why .program-feature-card__title {
    font-size: clamp(14px, 1.1vw, 17px);
    font-weight: 850;
    margin: 0 0 6px;
    line-height: 1.25;
    white-space: nowrap;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    letter-spacing: 0.01em;
}

.m-cook-why .program-feature-card:nth-child(3) .program-feature-card__title {
    font-size: clamp(12.5px, 0.95vw, 15px);
    letter-spacing: 0;
}

.m-cook-why .program-feature-card__subtitle {
    font-size: clamp(12px, 0.9vw, 14px);
    font-weight: 850;
    line-height: 1.25;
    margin: 0 0 16px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.m-cook-why .program-feature-card__icon-wrap {
    height: 155px;
    margin-bottom: 0;
    margin-top: 6px;
}

.m-cook-why .program-feature-card__icon {
    max-height: 145px;
    max-width: 90%;
}

.m-cook-why,
.m-cook-benefits,
.m-cook-audience,
.m-cook-bottom-cta,
.program-bottom-banner-section--m-cook {
    background-color: #fbf8e4;
}

.program-detail-page--m-cook .program-bottom-banner {
    align-items: flex-start;
    justify-content: flex-start;
    min-height: clamp(380px, 34vw, 500px);
    padding: clamp(36px, 4.2vw, 60px) clamp(30px, 4.5vw, 64px);
}

.program-detail-page--m-cook .program-bottom-banner__bg {
    object-position: center 25%;
}

.program-detail-page--m-cook .program-bottom-banner__content {
    align-items: flex-start;
    max-width: 860px;
    text-align: left;
}

.program-detail-page--m-cook .program-bottom-banner__overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.32) 42%, rgba(0, 0, 0, 0.05) 75%, transparent);
}

/* --------------------------------------------------------------------------
   Section 1: 4 Feature Cards (Why Effective)
   -------------------------------------------------------------------------- */
.program-cards-grid {
    display: grid;
    gap: 24px;
    max-width: 1450px;
    margin-inline: auto;
}

.program-cards-grid--4 {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 48px;
}

.program-cards-grid--6 {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto 48px;
}

.program-cards-grid--5 {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 16px;
    max-width: 1280px;
    margin: 40px auto 0;
}

/* 5 Core Competencies Cards */
.program-core-card {
    background: #fde5c7;
    border: 1.5px solid #fad5ab;
    border-radius: 20px;
    padding: 24px 16px 20px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.program-core-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(236, 112, 40, 0.14);
}

.program-core-card__title {
    color: #262a2e;
    font-size: clamp(14.5px, 1.1vw, 17px);
    font-weight: 750;
    line-height: 1.35;
    padding-top: 4px;
    margin: 0 0 10px;
    text-transform: uppercase;
    overflow: visible;
}

.program-core-card__desc {
    color: #4b5563;
    font-size: clamp(12.5px, 0.92vw, 14px);
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

/* 7 Levels Roadmap Section */
.m-phonics-levels {
    padding: 50px 0 65px;
    position: relative;
    overflow: visible;
}

.m-phonics-levels__wrapper {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
    display: block;
}

.m-phonics-levels__chart {
    width: 100%;
    height: auto;
    aspect-ratio: 1798 / 955;
    display: block;
    border-radius: clamp(16px, 2.2vw, 30px);
    box-shadow: 0 12px 36px rgba(236, 112, 40, 0.16);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.m-phonics-levels__wrapper:hover .m-phonics-levels__chart {
    transform: translateY(-3px);
    box-shadow: 0 18px 46px rgba(236, 112, 40, 0.22);
}

.m-phonics-levels__mascot {
    position: absolute;
    right: -28px;
    bottom: -18px;
    width: clamp(120px, 15vw, 190px);
    z-index: 3;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.m-phonics-levels__wrapper:hover .m-phonics-levels__mascot {
    transform: translateY(-4px) rotate(2deg);
}

.m-phonics-levels__mascot img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.14));
}

@media (max-width: 900px) {
    .m-phonics-levels {
        padding: 35px 0 45px;
    }
    .m-phonics-levels__mascot {
        right: -14px;
        bottom: -14px;
        width: clamp(90px, 18vw, 135px);
    }
}

@media (max-width: 480px) {
    .m-phonics-levels {
        padding: 25px 0 35px;
    }
    .m-phonics-levels__mascot {
        right: -6px;
        bottom: -8px;
        width: 80px;
    }
}

/* Books Strip Banner ("Tá»« Ã¢m thanh - Äáº¿n Ä‘á»c hiá»ƒu") */
.program-books-strip {
    position: relative;
    width: 100%;
    margin: 50px 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.program-books-strip__img {
    width: 100%;
    height: auto;
    aspect-ratio: 1920 / 726;
    object-fit: contain;
    display: block;
}

.program-books-strip__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0.45) 100%);
    pointer-events: none;
}

.program-books-strip__text-top {
    position: absolute;
    top: clamp(20px, 3.5vw, 45px);
    left: clamp(24px, 4vw, 55px);
    color: #ffffff;
    font-size: clamp(26px, 3.4vw, 48px);
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.55);
    line-height: 1.25;
    padding-top: 6px;
    z-index: 2;
    overflow: visible;
}

.program-books-strip__text-bottom {
    position: absolute;
    bottom: clamp(20px, 3.5vw, 45px);
    right: clamp(24px, 4vw, 55px);
    color: #ffffff;
    font-size: clamp(26px, 3.4vw, 48px);
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.55);
    line-height: 1.25;
    padding-top: 6px;
    z-index: 2;
    overflow: visible;
}

.program-feature-card {
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: 18px;
    padding: 28px 20px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
    cursor: default;
}

.program-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 32px rgba(236, 112, 40, 0.16);
    border-color: var(--color-primary, #ec7028);
}

.program-feature-card__title {
    color: var(--color-primary, #ec7028);
    font-size: clamp(16px, 1.3vw, 20px);
    font-weight: 850;
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.program-feature-card__subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2b3036;
    font-size: clamp(12.5px, 0.98vw, 14.5px);
    font-weight: 850;
    line-height: 1.25;
    margin: 0 0 16px;
    text-transform: uppercase;
    min-height: 36px;
    text-align: center;
}

.program-feature-card__icon-wrap {
    height: 125px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.program-feature-card__icon {
    max-height: 110px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.program-feature-card:hover .program-feature-card__icon {
    transform: scale(1.08);
}

.program-feature-card__desc {
    font-size: clamp(12.5px, 0.92vw, 14px);
    font-weight: 600;
    color: #40454c;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}


/* --------------------------------------------------------------------------
   Section 3: Target Audience (Outer Box with Equal Padding & Mascot on Right)
   -------------------------------------------------------------------------- */
.program-audience__box,
.m-cook-audience__box {
    background: #ffffff;
    border: 1.5px solid #eb6a24;
    border-radius: 14px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: none;
}

.program-audience__row,
.m-cook-audience__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.program-audience__row:last-child,
.m-cook-audience__row:last-child {
    margin-bottom: 0;
}

.program-audience__row--reverse .program-audience__copy,
.m-cook-audience__row--reverse .m-cook-audience__copy {
    order: 2;
}

.program-audience__row--reverse .program-audience__media,
.m-cook-audience__row--reverse .m-cook-audience__media {
    order: 1;
}

.program-audience__copy,
.m-cook-audience__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.program-audience__header,
.m-cook-audience__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
    width: 100%;
}

.program-audience__title,
.m-cook-audience__title {
    color: var(--color-primary, #eb6a24);
    font-size: clamp(26px, 2.5vw, 36px);
    font-weight: 750;
    line-height: 1.25;
    padding-top: 8px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    overflow: visible;
}

.program-audience__mascot,
.m-cook-audience__mascot {
    width: 100px;
    height: 100px;
    max-width: 110px;
    max-height: 100px;
    object-fit: contain;
    flex-shrink: 0;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.program-audience__row:hover .program-audience__mascot,
.m-cook-audience__row:hover .m-cook-audience__mascot {
    transform: scale(1.08) rotate(3deg);
}

.program-audience__desc,
.m-cook-audience__desc {
    font-size: clamp(14.5px, 1.05vw, 16.5px);
    font-weight: 500;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
    max-width: 100%;
}

.program-audience__desc strong,
.m-cook-audience__desc strong {
    font-weight: 850;
    color: #111827;
}

.program-audience__media,
.m-cook-audience__media {
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 688 / 449;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.program-audience__media img,
.m-cook-audience__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}



@media (max-width: 991px) {
    .program-cards-grid--4,
    .program-cards-grid--5,
    .program-cards-grid--6 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .program-audience__box,
    .m-cook-audience__box {
        padding: 28px;
    }

    .program-audience__row,
    .program-audience__row--reverse,
    .m-cook-audience__row,
    .m-cook-audience__row--reverse {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 36px;
    }

    .program-audience__row--reverse .program-audience__copy,
    .m-cook-audience__row--reverse .m-cook-audience__copy { order: 1; }
    .program-audience__row--reverse .program-audience__media,
    .m-cook-audience__row--reverse .m-cook-audience__media { order: 2; }
}

@media (max-width: 767px) {
    .program-cards-grid--4,
    .program-cards-grid--5,
    .program-cards-grid--6 {
        grid-template-columns: 1fr !important;
    }


    .program-audience__box,
    .m-cook-audience__box { padding: 20px; }
    .program-audience__mascot,
    .m-cook-audience__mascot { width: 76px; height: 76px; }
    .program-audience__title,
    .m-cook-audience__title {
        font-size: clamp(19px, 5.2vw, 24px);
        text-wrap: balance;
    }

    .program-detail-page--m-cook .program-bottom-banner {
        min-height: 280px;
        padding: 28px 20px 40px;
    }

    .m-english-benefits__grid-3,
    .m-english-benefits__grid-2 {
        grid-template-columns: 1fr;
    }

    .m-english-benefits__video-frame-wrapper {
        padding: 8px;
        border-radius: 20px;
        margin-top: 32px;
    }

    .m-english-benefits__video-mascot {
        left: 0;
        bottom: -15px;
    }

    .m-english-mday__mascot {
        right: 0;
        bottom: -15px;
    }

    .m-english-benefits__video-mascot img,
    .m-english-mday__mascot img {
        max-width: 95px;
    }

    .m-english-mday-tag {
        padding: 10px 22px;
        font-size: 13.5px;
    }
}

/* --------------------------------------------------------------------------
   M-Phonics Lower Half: Pale Yellow (#fbf8e4)
   From "VÃ¬ sao M-Phonics hiá»‡u quáº£?" to the bottom of the page
   -------------------------------------------------------------------------- */
.program-detail-page--m-phonics .m-phonics-why,
.program-detail-page--m-phonics .m-phonics-benefits,
.program-detail-page--m-phonics .m-phonics-audience,
.program-detail-page--m-phonics .m-phonics-video,
.program-detail-page--m-phonics .m-phonics-bottom-cta,
.m-phonics-why,
.m-phonics-benefits,
.m-phonics-audience,
.m-phonics-video,
.m-phonics-bottom-cta {
    background-color: #fbf8e4;
}

.m-phonics-bottom-cta {
    padding-top: 0;
    padding-bottom: 0;
}

/* --------------------------------------------------------------------------
   M-Phonics: Video Showcase (Thực tế tại trường tương tự M-English)
   -------------------------------------------------------------------------- */
.m-phonics-video {
    padding-top: 0;
    padding-bottom: 55px;
    position: relative;
    overflow: visible;
}

.m-phonics-video-frame-wrapper {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    background: #ffffff;
    padding: 14px;
    border-radius: 28px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.m-phonics-video-frame-wrapper .program-video-frame {
    border-radius: 18px;
    margin: 0;
}

.m-phonics-video-mascot {
    position: absolute;
    left: -40px;
    bottom: -20px;
    z-index: 3;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.m-phonics-video-frame-wrapper:hover .m-phonics-video-mascot {
    transform: translateY(-4px) rotate(-2deg);
}

.m-phonics-video-mascot img {
    max-width: 130px;
    height: auto;
    display: block;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.14));
}

@media (max-width: 900px) {
    .m-phonics-video {
        padding-bottom: 40px;
    }
    .m-phonics-video-frame-wrapper {
        padding: 10px;
        border-radius: 20px;
    }
    .m-phonics-video-mascot {
        left: -18px;
        bottom: -15px;
    }
    .m-phonics-video-mascot img {
        max-width: 95px;
    }
}

@media (max-width: 480px) {
    .m-phonics-video {
        padding-bottom: 30px;
    }
    .m-phonics-video-mascot {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   M-Phonics: Vì sao M-Phonics hiệu quả
   -------------------------------------------------------------------------- */
.m-phonics-why .m-english-step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 380px;
    padding: 36px 22px 34px;
    border-radius: 22px;
    background: #ffffff;
    border: 1.5px solid #f3e5d8;
    box-shadow: 0 6px 22px rgba(236, 112, 40, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.m-phonics-why .m-english-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(236, 112, 40, 0.16);
    border-color: var(--color-primary, #ec7028);
}

.m-phonics-why .m-english-step-card__label {
    margin-bottom: 8px;
    font-size: clamp(15px, 1.25vw, 18px);
    font-weight: 850;
    color: var(--color-primary, #ec7028);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.m-phonics-why .m-english-step-card__title {
    margin: 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: clamp(17px, 1.2vw, 19.5px);
    font-weight: 800;
    color: #2b3036;
    line-height: 1.35;
}

.m-phonics-why .m-english-step-card__icon {
    width: 100%;
    height: clamp(140px, 11vw, 175px);
    margin: 26px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.m-phonics-why .m-english-step-card__icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.35s ease;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.06));
}

.m-phonics-why .m-english-step-card:hover .m-english-step-card__icon img {
    transform: scale(1.06);
}

@media (max-width: 1024px) {
    .m-phonics-why .m-english-step-card {
        min-height: 340px;
        padding: 30px 18px 28px;
    }
    .m-phonics-why .m-english-step-card__icon {
        height: 145px;
        margin-top: 20px;
    }
}

@media (max-width: 600px) {
    .m-phonics-why .m-english-step-card {
        min-height: auto;
        padding: 26px 18px 26px;
    }
    .m-phonics-why .m-english-step-card__icon {
        height: 135px;
        margin-top: 18px;
    }
}

/* --------------------------------------------------------------------------
   M-Phonics: Nhà trường nhận được gì (6 Items Grid in Card)
   -------------------------------------------------------------------------- */
.m-phonics-benefits .program-section-lead {
    font-size: clamp(18px, 1.45vw, 23px);
    font-weight: 650;
    line-height: 1.55;
    color: #2b3036;
    max-width: 980px;
    margin: 18px auto 0;
}

.m-phonics-benefits__card {
    width: 100%;
    margin: 44px auto 0;
    background: #ffffff;
    border-radius: clamp(24px, 2.8vw, 36px);
    padding: clamp(44px, 5vw, 68px) clamp(30px, 4.5vw, 64px);
    box-shadow: 0 14px 40px rgba(117, 98, 60, 0.07);
    border: 1px solid rgba(236, 112, 40, 0.09);
    box-sizing: border-box;
}

.m-phonics-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(40px, 4.5vw, 64px) clamp(24px, 3.5vw, 56px);
}

.m-phonics-benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.m-phonics-benefit-item:hover {
    transform: translateY(-4px);
}

.m-phonics-benefit-item__icon {
    width: clamp(120px, 9.5vw, 150px);
    height: clamp(120px, 9.5vw, 150px);
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease;
}

.m-phonics-benefit-item:hover .m-phonics-benefit-item__icon {
    transform: scale(1.08);
}

.m-phonics-benefit-item__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.06));
}

.m-phonics-benefit-item__title {
    margin: 0 0 10px;
    font-size: clamp(19px, 1.4vw, 23px);
    font-weight: 850;
    color: var(--color-primary, #ec7028);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.3;
}

.m-phonics-benefit-item__desc {
    margin: 0;
    font-size: clamp(15px, 1.1vw, 17px);
    font-weight: 550;
    color: #4b5563;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .m-phonics-benefits__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 28px;
    }
    .m-phonics-benefits__card {
        padding: 38px 24px;
        margin-top: 32px;
    }
    .m-phonics-benefit-item__icon {
        width: clamp(105px, 16vw, 135px);
        height: clamp(105px, 16vw, 135px);
    }
}

@media (max-width: 580px) {
    .m-phonics-benefits__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .m-phonics-benefits__card {
        padding: 30px 18px;
        border-radius: 20px;
    }
    .m-phonics-benefit-item__icon {
        width: 115px;
        height: 115px;
    }
}

/* --------------------------------------------------------------------------
   M-Phonics: Target Audience Box (Width matches container / section above)
   -------------------------------------------------------------------------- */
.m-phonics-audience .program-audience__box {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   M-Phonics: Science of Reading & 5 Năng Lực Đọc Cốt Lõi
   -------------------------------------------------------------------------- */
.m-phonics-intro .program-intro-box--yellow {
    background: #faf8e7;
    border: 1px solid rgba(236, 112, 40, 0.12);
}

.m-phonics-intro__subtitle {
    white-space: normal;
    font-size: clamp(15px, 1.6vw, 22px);
    letter-spacing: 0.01em;
    line-height: 1.35;
}

@media (max-width: 576px) {
    .m-phonics-intro__subtitle {
        font-size: clamp(13px, 3.4vw, 16px);
        white-space: normal;
    }
}

.m-phonics-intro .program-intro-box__desc p {
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.7;
    color: #2b3036;
}

.m-phonics-core {
    padding-bottom: 0 !important;
}

.m-phonics-core__title {
    color: var(--color-primary, #ec7028) !important;
    font-weight: 750 !important;
    font-size: clamp(34px, 4vw, 54px) !important;
    line-height: 1.25 !important;
    padding-top: 10px;
    margin: 0 0 10px;
}

.m-phonics-core__lead {
    font-size: clamp(18px, 1.55vw, 22px);
    font-weight: 600;
    color: #2b3036;
    line-height: 1.45;
    margin: 0 auto;
    max-width: 820px;
}

.m-phonics-core__band {
    background: #faf8e7;
    padding: clamp(38px, 4.5vw, 56px) 0;
    margin-top: clamp(28px, 3.5vw, 42px);
}

.m-phonics-core__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(12px, 1.6vw, 22px);
    max-width: 1200px;
    margin: 0 auto;
}

.m-phonics-card {
    background: #f8bc86;
    border-radius: 20px;
    min-height: clamp(170px, 15vw, 205px);
    padding: 24px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 14px rgba(232, 107, 40, 0.1);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.m-phonics-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(232, 107, 40, 0.22);
}

.m-phonics-card__title {
    color: #171717;
    font-size: clamp(15px, 1.15vw, 17.5px);
    font-weight: 800;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    display: block;
}

.m-phonics-card__en {
    display: block;
    color: #1f2327;
    font-size: clamp(12.5px, 0.92vw, 14px);
    font-weight: 700;
    line-height: 1.35;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

@media (max-width: 991px) {
    .m-phonics-core__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .m-phonics-core__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .m-phonics-card:last-child {
        grid-column: 1 / -1;
        max-width: 260px;
        margin-inline: auto;
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   M-Development Specific Styles
   -------------------------------------------------------------------------- */
/* Hero Subtitle sized like M-English */
#main-content .m-development-hero .program-hero__subtitle,
#main-content .m-development-hero__subtitle,
.m-development-hero .program-hero__subtitle,
.m-development-hero__subtitle {
    font-size: clamp(26px, 3.2vw, 44px) !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    color: #1f2329 !important;
    max-width: 960px;
    white-space: normal;
    text-wrap: balance;
    margin: 0 auto 28px;
    text-align: center;
}

@media (max-width: 767px) {
    #main-content .m-development-hero .program-hero__subtitle,
    #main-content .m-development-hero__subtitle,
    .m-development-hero .program-hero__subtitle,
    .m-development-hero__subtitle {
        font-size: clamp(20px, 4.8vw, 26px) !important;
        line-height: 1.35 !important;
        font-weight: 500 !important;
    }
}

/* Intro Section Typography */
#main-content .m-development-intro .program-intro-box__subtitle,
.m-development-intro .program-intro-box__subtitle {
    font-size: clamp(20px, 2.1vw, 28px) !important;
    font-weight: 500 !important;
    line-height: 1.35;
    margin-bottom: 0;
    text-wrap: balance;
}

.m-development-intro .program-intro-box__desc p {
    font-size: clamp(15.5px, 1.15vw, 17.5px);
    line-height: 1.65;
    color: #434952;
}

/* 3 Pillars (Section 2 - HÃ¬nh 1: Mascot lá»›n hÆ¡n & khoáº£ng cÃ¡ch thoÃ¡ng hÆ¡n) */
.m-development-pillars__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.m-development-pillar-card {
    background: #ffffff;
    border: 1px solid #ebebeb;
    border-radius: 28px;
    padding: 38px 28px 34px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.m-development-pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(236, 112, 40, 0.13);
    border-color: var(--color-primary, #ec7028);
}

.m-development-pillar-card__title {
    font-size: clamp(16px, 1.25vw, 19px);
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.35;
    padding-top: 4px;
    margin: 0 0 14px;
    text-transform: uppercase;
    overflow: visible;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.m-development-pillar-card__mascot {
    width: clamp(140px, 12vw, 175px);
    height: clamp(140px, 12vw, 175px);
    margin: 12px auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.m-development-pillar-card__mascot img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.05));
    transition: transform 0.3s ease;
}

.m-development-pillar-card:hover .m-development-pillar-card__mascot img {
    transform: scale(1.05);
}

.m-development-pillar-card__desc {
    font-size: clamp(15px, 1.1vw, 16.5px);
    font-weight: 500;
    color: #434952;
    line-height: 1.6;
    margin: 0;
}

/* Team Development (Section 3 - HÃ¬nh 2: Tháº» cam gradient cÃ³ chiá»u sÃ¢u & padding thoÃ¡ng rá»™ng) */
.m-development-team .program-core-card {
    background: linear-gradient(155deg, #fff7ee 0%, #fde4ca 50%, #fedbb4 100%);
    border: 1.5px solid #f9cc9c;
    border-radius: 24px;
    padding: 36px 26px 32px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(236, 112, 40, 0.08), 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 195px;
}

.m-development-team .program-core-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(236, 112, 40, 0.16);
    border-color: #f7b97a;
}

.m-development-team .program-core-card__title {
    color: #202428;
    font-size: clamp(16px, 1.22vw, 18.5px);
    font-weight: 800;
    line-height: 1.35;
    padding-top: 4px;
    margin: 0 0 14px;
    text-transform: uppercase;
    overflow: visible;
}

.m-development-team .program-core-card__desc {
    color: #434952;
    font-size: clamp(14.5px, 1.08vw, 16px);
    font-weight: 550;
    line-height: 1.6;
    margin: 0;
}

/* Education Capacity (Section 4) & Target Audience (Section 6) Typography */
.m-development-capacity__list,
.m-development-audience__list {
    max-width: 1120px;
    margin: 0 auto;
}

.m-development-capacity .program-audience__desc,
.m-development-audience .program-audience__desc {
    font-size: clamp(15.5px, 1.15vw, 17.5px);
    line-height: 1.65;
    color: #434952;
    text-wrap: pretty;
}

.m-development-capacity .program-audience__title,
.m-development-audience .program-audience__title {
    font-size: clamp(22px, 2.2vw, 32px);
    font-weight: 800;
    text-wrap: balance;
}

/* --------------------------------------------------------------------------
   M-Development Smooth Motion Engine & Transitions
   -------------------------------------------------------------------------- */
.motion-observer-ready .program-detail-page--m-development [data-motion] {
    --motion-duration: 750ms;
    --motion-distance: 22px;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.program-detail-page--m-development .m-development-step-card {
    transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.38s ease !important;
}

.program-detail-page--m-development .m-development-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.program-detail-page--m-development .m-development-section-banner {
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease;
}

.program-detail-page--m-development .m-development-section-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.09);
}

.program-detail-page--m-development .program-audience__media {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease;
}

.program-detail-page--m-development .program-audience__row:hover .program-audience__media {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09);
}

/* M-Development Sections (Team Development, Education Capacity, Bilingual Consulting) */
.m-development-pill-banner {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fedca0;
    border-radius: 9999px;
    padding: 16px 145px 16px 65px;
    min-height: 98px;
    box-shadow: 0 4px 16px rgba(232, 107, 40, 0.08);
    margin: 24px auto 0;
    max-width: 900px;
}

.m-development-pill-banner--simple {
    padding: 14px 48px;
    min-height: auto;
}

.m-development-pill-banner--mascot-left {
    padding: 16px 54px 16px 145px;
}

.m-development-pill-banner__mascot--left {
    left: 18px;
    right: auto;
    bottom: 0;
}

.m-development-step-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    max-width: 1040px;
    margin: 36px auto 0;
}

.m-development-section-banner {
    max-width: 1040px;
    margin: 30px auto 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.05);
}

.m-development-section-banner img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
}

.m-development-pill-banner__text h2 {
    color: #e25822;
    font-weight: 800;
    font-size: clamp(22px, 2.4vw, 34px);
    line-height: 1.25;
    text-align: center;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    text-wrap: balance;
}

.m-development-pill-banner__mascot {
    position: absolute;
    right: 20px;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    line-height: 0;
    pointer-events: none;
    z-index: 2;
}

.program-detail-page .m-development-pill-banner__mascot,
.program-detail-page .m-development-pill-banner__mascot.is-illustration-visible,
.program-detail-page .m-development-pill-banner__mascot img {
    animation: none !important;
    animation-name: none !important;
    animation-play-state: paused !important;
    transform: none !important;
    translate: 0 0 !important;
    rotate: 0deg !important;
    transition: none !important;
    will-change: auto !important;
}

.m-development-pill-banner__mascot img {
    display: block;
    width: clamp(115px, 11vw, 145px);
    height: auto;
    object-fit: contain;
    vertical-align: bottom;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.05));
}

.m-development-bilingual__subtitle {
    color: #2b3036;
    font-weight: 750;
    font-size: clamp(18px, 2.1vw, 28px);
    line-height: 1.35;
    margin: 28px auto 36px;
    text-transform: uppercase;
    text-align: center;
    max-width: 820px;
    text-wrap: balance;
}

.m-development-bilingual__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    max-width: 1040px;
    margin: 0 auto;
}

.m-development-step-card {
    background: #ffffff;
    border-radius: 18px;
    padding: clamp(24px, 2.4vw, 34px) clamp(24px, 2.4vw, 36px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 135px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.m-development-step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
}

.m-development-step-card__title {
    color: #6e852b;
    font-size: clamp(16.5px, 1.25vw, 19.5px);
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-wrap: balance;
}

.m-development-step-card__line {
    display: block;
    width: 75px;
    height: 1.5px;
    background-color: #d8ded0;
    margin: 10px auto 14px;
    border-radius: 2px;
}

.m-development-step-card__desc {
    color: #1f2327;
    font-size: clamp(13.5px, 1vw, 15px);
    font-weight: 500;
    line-height: 1.55;
    margin: 0;
    max-width: 410px;
    text-wrap: pretty;
}

@media (max-width: 768px) {
    .m-development-pill-banner {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: min(100%, 480px);
        min-height: auto;
        padding: 10px 16px;
        border-radius: 9999px;
        gap: 10px;
        margin: 18px auto 0;
        box-sizing: border-box;
    }

    .m-development-pill-banner--simple {
        padding: 12px 22px;
        max-width: min(100%, 420px);
    }

    .m-development-pill-banner--mascot-left {
        flex-direction: row;
        padding: 10px 16px;
    }

    .m-development-pill-banner__text {
        flex: 1;
        min-width: 0;
        text-align: center;
    }

    .m-development-pill-banner__text h2 {
        font-size: clamp(14px, 4.1vw, 18px);
        line-height: 1.25;
        margin: 0;
        text-align: center;
    }

    .m-development-pill-banner__mascot {
        position: static;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        line-height: 0;
    }

    .m-development-pill-banner__mascot--left {
        margin: 0;
    }

    .m-development-pill-banner__mascot img {
        width: clamp(52px, 14vw, 70px);
        height: auto;
        max-height: 66px;
        object-fit: contain;
    }

    .m-development-bilingual__subtitle {
        font-size: clamp(15px, 4vw, 19px);
        margin: 18px auto 24px;
        line-height: 1.35;
    }

    .m-development-step-grid,
    .m-development-bilingual__grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 24px;
    }

    .m-development-step-card {
        padding: 22px 18px;
        min-height: auto;
    }

    .m-development-section-banner {
        margin-top: 20px;
        border-radius: 14px;
    }

    .m-development-section-banner img {
        border-radius: 14px;
    }
}

.m-development-bottom-banner {
    padding-top: 0;
    padding-bottom: 0;
}

.m-development-bottom-banner .program-bottom-banner__content,
.program-bottom-banner-section--m-development .program-bottom-banner__content {
    max-width: min(94%, 980px);
}

.m-development-bottom-banner .program-bottom-banner__title,
.program-bottom-banner-section--m-development .program-bottom-banner__title {
    font-size: clamp(22px, 2.95vw, 44px);
    line-height: 1.25;
}

@media (max-width: 640px) {
    .m-development-bottom-banner .program-bottom-banner__title,
    .program-bottom-banner-section--m-development .program-bottom-banner__title {
        font-size: clamp(18px, 4.8vw, 24px);
    }
}

/* --------------------------------------------------------------------------
   M-Development Lower Half: Pale Yellow (#fbf8e4)
   From "TÆ° váº¥n & chuyá»ƒn Ä‘á»•i mÃ´ hÃ¬nh song ngá»¯" to the bottom of the page
   -------------------------------------------------------------------------- */
.program-detail-page--m-development .m-development-team,
.program-detail-page--m-development .m-development-capacity,
.program-detail-page--m-development .m-development-bilingual,
.m-development-team,
.m-development-capacity,
.m-development-bilingual {
    background-color: #fbf8e4;
}

.program-detail-page--m-development .m-development-audience,
.m-development-audience {
    background-color: #ffffff;
}

.program-detail-page--m-development .m-development-bottom-banner,
.m-development-bottom-banner {
    background-color: #fbf8e4;
}

@media (max-width: 991px) {
    .m-development-pillars__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .m-development-bilingual__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .m-development-pillars__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ==========================================================================
   INTESOL — Dedicated Components & Layouts
   ========================================================================== */

/* --- Hero: logo & title --- */
.intesol-hero {
    padding-bottom: 50px;
}

.intesol-hero__logo {
    max-width: 240px;
    height: auto;
    display: block;
    margin: 0 auto 12px;
}

.intesol-hero__main-title {
    font-size: clamp(46px, 5.5vw, 68px);
    font-weight: 850;
    color: var(--color-primary, #eb6a24);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin: 0 0 14px;
    line-height: 1.15;
    overflow: visible;
}

#main-content .intesol-hero__lead,
#main-content .intesol-hero .program-section-lead,
.intesol-hero__lead,
.intesol-hero .program-section-lead {
    font-size: clamp(26px, 3.2vw, 44px) !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    color: #1f2329 !important;
    max-width: 960px;
    margin: 0 auto 36px;
    text-align: center;
}

@media (max-width: 767px) {
    #main-content .intesol-hero__lead,
    #main-content .intesol-hero .program-section-lead,
    .intesol-hero__lead,
    .intesol-hero .program-section-lead {
        font-size: clamp(20px, 4.8vw, 26px) !important;
        line-height: 1.35 !important;
        font-weight: 500 !important;
    }
}

/* Card trên: "INTESOL Là Gì?" — nền vàng nhạt */
.intesol-intro-box {
    background: #fef8e4;
    border: 1.5px solid #faeacc;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.intesol-intro-box .program-intro-box__title {
    color: var(--color-primary, #eb6a24);
    font-weight: 850;
}

/* --- Section 3 Card Dưới: Nền dải cam nhạt thẳng, 3 card cam nhạt, mascot bên ngoài card 3 --- */
.intesol-badges-section {
    background-color: #fff3eb;
    padding: 58px 0 64px;
    position: relative;
    overflow: visible;
}

.intesol-badges-row {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

.intesol-badge-card-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
}

.intesol-badge-card {
    position: relative;
    background: linear-gradient(145deg, #ffa873 0%, #f6823e 100%);
    border-radius: 22px;
    padding: 34px 24px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 10px 24px rgba(246, 130, 62, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 240px;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.intesol-badge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(246, 130, 62, 0.24);
}

.intesol-badge-card__icon {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.intesol-badge-card__icon img {
    max-height: 54px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

.intesol-badge-card__title {
    color: #ffffff;
    font-size: clamp(19px, 1.45vw, 22px);
    font-weight: 850;
    text-transform: uppercase;
    line-height: 1.25;
    margin: 0;
    letter-spacing: 0.01em;
}

.intesol-badge-card__line {
    display: block;
    width: 55px;
    height: 1.5px;
    background-color: rgba(255, 255, 255, 0.45);
    margin: 12px auto 14px;
    border-radius: 2px;
}

.intesol-badge-card__desc {
    font-size: clamp(13.5px, 1.05vw, 15px);
    font-weight: 500;
    color: #ffffff;
    margin: 0;
    line-height: 1.45;
    opacity: 0.95;
}

/* Mascot bên ngoài Card 3: xịch sang phải, to hơn */
.intesol-badge-card__mascot-wrap {
    position: absolute;
    right: -46px;
    bottom: -24px;
    pointer-events: none;
    z-index: 3;
}

.intesol-badge-card__mascot {
    display: block;
    width: clamp(118px, 11.5vw, 142px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.12));
}

@media (max-width: 991px) {
    .intesol-badges-section {
        padding: 48px 0 54px;
    }

    .intesol-badges-row {
        grid-template-columns: 1fr;
        gap: 28px;
        max-width: 440px;
    }

    .intesol-badge-card__mascot-wrap {
        right: -16px;
        bottom: -18px;
    }

    .intesol-badge-card__mascot {
        width: 110px;
    }
}

/* --- Section "Chương trình đào tạo" — Hình 2 layout chuẩn --- */
.intesol-training-section {
    padding: 70px 0;
    background: #ffffff;
}

.intesol-training__heading {
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 850;
    color: var(--color-primary, #eb6a24);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 36px;
    overflow: visible;
}

.intesol-training-card {
    background: #fef0cb;
    border-radius: 24px;
    padding: 36px 40px;
    max-width: 960px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.intesol-training-grid {
    display: grid;
    grid-template-columns: 220px 1fr 1fr;
    gap: 24px;
}

.intesol-training-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.intesol-training-col--labels {
    border-right: 1.5px solid rgba(255, 255, 255, 0.95);
    padding-right: 24px;
}

.intesol-training-col--data:first-of-type {
    border-right: 1.5px solid rgba(255, 255, 255, 0.95);
    padding-right: 24px;
}

.intesol-training-cell {
    display: flex;
    align-items: stretch;
}

.intesol-training-cell--r1 {
    height: 58px;
}

.intesol-training-cell--r2 {
    height: 76px;
}

.intesol-training-cell--r3 {
    height: 76px;
}

.intesol-training-cell--r4 {
    height: 58px;
}

.intesol-training-pill {
    width: 100%;
    background: #ffffff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
}

.intesol-training-pill--label {
    color: #111827;
    font-weight: 750;
    font-size: 15.5px;
}

.intesol-training-pill--head {
    color: var(--color-primary, #eb6a24);
    font-weight: 850;
    font-size: 26px;
    letter-spacing: 0.02em;
}

.intesol-training-pill--body {
    color: #2d3748;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
}

/* --- Section "Học INTESOL như thế nào?" — hình 3 2x2 cards --- */
.intesol-method-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.intesol-method-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 30px;
    border: 1.5px solid #ece8e0;
    text-align: center;
}

.intesol-method-card__title {
    font-size: clamp(16px, 1.3vw, 19px);
    font-weight: 850;
    color: var(--color-primary, #eb6a24);
    text-transform: uppercase;
    line-height: 1.3;
    margin: 0 0 12px;
    overflow: visible;
}

.intesol-method-card__desc {
    font-size: 14.5px;
    color: #555;
    line-height: 1.55;
    margin: 0;
}

/* Yellow bg for curriculum + method sections */
.intesol-curriculum-section,
.intesol-method-section {
    background-color: #fbf8e4;
}
.intesol-method-section {
    padding-top: 0;
}

@media (max-width: 991px) {
    .intesol-badges-row {
        grid-template-columns: 1fr;
    }
    .intesol-training-card {
        padding: 24px 20px;
    }
    .intesol-training-grid {
        grid-template-columns: 180px 1fr 1fr;
        gap: 16px;
    }
    .intesol-training-col--labels,
    .intesol-training-col--data:first-of-type {
        padding-right: 16px;
        border-right: 1.5px solid rgba(255, 255, 255, 0.95);
    }
    .intesol-training-pill--head {
        font-size: 22px;
    }
    .intesol-training-pill--label,
    .intesol-training-pill--body {
        font-size: 14px;
        padding: 8px 12px;
    }
}

@media (max-width: 767px) {
    .intesol-badges-row {
        gap: 14px;
    }
    .intesol-badge-card--with-mascot {
        padding-right: 28px;
        padding-left: 28px;
        text-align: center;
        align-items: center;
    }
    .intesol-badge-card__mascot {
        position: static;
        width: 80px;
        height: 80px;
        display: block;
        margin: 12px auto 0;
    }
    .intesol-training-card {
        padding: 20px 14px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .intesol-training-grid {
        min-width: 600px;
        gap: 12px;
    }
    .intesol-training-col--labels,
    .intesol-training-col--data:first-of-type {
        padding-right: 12px;
        border-right: 1.5px solid rgba(255, 255, 255, 0.95);
    }
    .intesol-method-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Shared modifier variants added for INTESOL (and future programs)
   ========================================================================== */


/* program-intro-box white variant (INTESOL "LÃ  GÃ¬?" card) */
.program-intro-box--white {
    background: #fff;
    border: 1.5px solid #f0e6dc;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}

/* program-cards-grid extra column variants */
.program-cards-grid--3  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.program-cards-grid--2  { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; margin-inline: auto; }
.program-cards-grid--spaced { margin-top: 32px; }

/* program-benefit-card horizontal (icon on right, text left) */
.program-benefit-card--horizontal { flex-direction: row; align-items: center; gap: 16px; text-align: left; }
.program-benefit-card--horizontal .program-benefit-card__title { margin-bottom: 8px; }
.program-benefit-card__content { min-width: 0; flex: 1; }
.program-benefit-card__mascot { flex: 0 0 76px; }
.program-benefit-card__mascot img { width: 76px; height: 76px; object-fit: contain; display: block; }

/* program-benefit-card copy variant (text left, no icon) */
.program-benefit-card--copy { align-items: flex-start; text-align: left; }
.program-benefit-card--copy .program-benefit-card__title { margin-bottom: 8px; }
.program-benefit-card--copy .program-benefit-card__line--long { margin-left: 0; }



/* ==========================================================================
   Training Class Opening Schedule (Apple / Notion Minimalist Style)
   ========================================================================== */
.training-schedule-section {
    background: #faf8f5;
    padding: 80px 0 100px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.training-schedule__list {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Minimalist Card Container */
.training-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 22px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03), 0 6px 16px -2px rgba(0, 0, 0, 0.02);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.training-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.08);
    border-color: rgba(233, 89, 36, 0.4);
}

/* ZONE 1: Notion-style Date Box (Left) */
.training-card__date-col {
    flex-shrink: 0;
}

.training-card__date-box {
    width: 76px;
    padding: 10px 6px;
    background: #fff6f0;
    border: 1px solid #ffd8c4;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.training-card__day {
    display: block;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    color: var(--color-primary, #e95924);
    letter-spacing: -0.5px;
}

.training-card__month {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    margin-top: 3px;
    line-height: 1.1;
    text-transform: capitalize;
}

.training-card__year {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: #94a3b8;
    margin-top: 1px;
}

/* ZONE 2: Course Info & Meta Tags (Center) */
.training-card__main-col {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.training-card__header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.training-card__title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.2px;
}

.training-card__title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.training-card__title-link:hover,
.training-card__title-link:focus-visible {
    color: var(--color-primary, #e95924);
}

.training-card__badges {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.training-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.25;
}

.training-card__badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.training-card__badge--open {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.training-card__badge--open .training-card__badge-dot {
    background: #10b981;
}

.training-card__badge--upcoming {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}
.training-card__badge--upcoming .training-card__badge-dot {
    background: #3b82f6;
}

.training-card__badge--full {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.training-card__badge--full .training-card__badge-dot {
    background: #ef4444;
}

.training-card__seat-tag {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 6px;
}

/* Minimalist Meta Tags Row */
.training-card__meta-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.training-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 500;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 3px 9px;
    border-radius: 6px;
    line-height: 1.3;
}

.training-tag svg {
    color: #64748b;
    flex-shrink: 0;
}

/* ZONE 3: Dedicated Price Column (Strictly Aligned) */
.training-card__price-col {
    flex: 0 0 160px;
    width: 160px;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 18px;
    border-left: 1px solid #f1f5f9;
    white-space: nowrap;
}

.training-card__price-sub {
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.training-card__price-val {
    font-size: 16.5px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    white-space: nowrap;
}

/* ZONE 4: Dedicated Action Column (Strictly Aligned, Single Standard Button) */
.training-card__action-col {
    flex: 0 0 130px;
    width: 130px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Minimalist Action Buttons */
.training-card__btn-primary,
.training-card__btn-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 38px;
    padding: 8px 16px;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 8px;
    white-space: nowrap;
    text-align: center;
    box-sizing: border-box;
}

.training-card__btn-primary {
    background: var(--color-primary, #e95924);
    color: #ffffff !important;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(233, 89, 36, 0.2);
    transition: all 0.15s ease;
}

.training-card__btn-primary:hover,
.training-card__btn-primary:focus-visible {
    background: #d44816;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(233, 89, 36, 0.3);
    color: #ffffff !important;
}

.training-card__btn-disabled {
    background: #f1f5f9;
    color: #94a3b8 !important;
    border: 1px solid #e2e8f0;
    cursor: not-allowed;
    text-decoration: none;
    box-shadow: none;
}

/* Empty State & Next Cohort Box */
.training-schedule__empty-state {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.training-empty-box {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    padding: 40px 28px;
}

.training-empty-box__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #fff6f0;
    color: var(--color-primary, #e95924);
    border-radius: 50%;
    margin-bottom: 14px;
}

.training-empty-box__title {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.training-empty-box__desc {
    font-size: 14.5px;
    color: #64748b;
    max-width: 440px;
    margin: 0 auto 20px;
    line-height: 1.5;
}

.training-empty-box__cta {
    display: inline-block;
    padding: 10px 22px;
}

.training-schedule__next-box {
    text-align: center;
    background: #ffffff;
    border: 1px dashed #ffd8c4;
    border-radius: 14px;
    padding: 22px 24px;
    margin: 36px auto 0;
    max-width: 740px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.training-schedule__next-box .program-section-lead {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #334155;
}

.training-schedule__next-btn {
    padding: 9px 22px;
    font-size: 13px;
    border-radius: 8px;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
    .training-schedule-section {
        padding: 50px 0 70px;
    }
    .training-card {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 18px;
    }
    .training-card__date-col {
        width: 100%;
        flex: none;
    }
    .training-card__date-box {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        align-items: baseline;
        gap: 10px;
        padding: 8px 14px;
    }
    .training-card__day {
        font-size: 22px;
    }
    .training-card__month {
        margin-top: 0;
        font-size: 12px;
    }
    .training-card__year {
        margin-top: 0;
        font-size: 11px;
    }
    .training-card__price-col {
        width: 100%;
        flex: none;
        border-left: none;
        border-top: 1px solid #f1f5f9;
        padding-left: 0;
        padding-top: 12px;
        flex-direction: row;
        justify-content: space-between;
        align-items: baseline;
    }
    .training-card__action-col {
        width: 100%;
        flex: none;
        justify-content: stretch;
    }
    .training-card__btn-primary,
    .training-card__btn-disabled {
        width: 100%;
        text-align: center;
        padding: 10px;
    }
}




