/* Universal LMS Core course renderer — shared by every course. */
.uai-core-course { --core-deep: #0b3034; --core-teal: #1b6b5d; --core-lime: #c7f36b; background: #f7faf8; }
.uai-core-course__hero { color: #fff; background: linear-gradient(135deg, var(--core-deep), #123f4b 58%, var(--core-teal)); }
.uai-core-course__hero-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: clamp(32px, 7vw, 84px); align-items: center; padding: clamp(64px, 9vw, 112px) 0; }
.uai-core-course__hero h1 { max-width: 760px; margin: 12px 0 20px; color: #fff; font-size: clamp(2.2rem, 5vw, 4.6rem); line-height: 1.04; letter-spacing: -.04em; }
.uai-core-course__promise { max-width: 720px; margin: 0; color: rgba(255,255,255,.78); font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.7; }
.uai-core-course__meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.uai-core-course__meta span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: rgba(255,255,255,.84); font-size: .82rem; }
.uai-core-course__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.uai-core-course .uai-btn--primary { color: var(--core-deep); background: var(--core-lime); }
.uai-core-course .uai-btn--ghost-light { color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28); }
.uai-core-course__hero-card { padding: 30px; border: 1px solid rgba(255,255,255,.2); border-radius: 24px; background: rgba(255,255,255,.09); box-shadow: 0 24px 70px rgba(0,0,0,.15); }
.uai-core-course__hero-card-mark { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 30px; border-radius: 16px; color: var(--core-deep); background: var(--core-lime); font-size: 1.6rem; }
.uai-core-course__hero-card strong { display: block; font-size: 1.3rem; }
.uai-core-course__hero-card p { color: rgba(255,255,255,.82); line-height: 1.6; }
.uai-core-course__hero-card small { color: rgba(255,255,255,.56); line-height: 1.5; }
.uai-core-course__orientation { padding: clamp(56px, 8vw, 92px) 0 24px; background: #fff; }
.uai-core-course__section-head--center { max-width: 720px; margin-inline: auto; text-align: center; }
.uai-core-course__orientation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.uai-core-course__orientation-grid article { padding: 24px; border: 1px solid #dbe7de; border-radius: 18px; background: #f7faf8; }
.uai-core-course__orientation-grid span { color: var(--core-teal); font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.uai-core-course__orientation-grid h3 { margin: 18px 0 8px; color: #173b43; font-size: 1.1rem; }
.uai-core-course__orientation-grid p { margin: 0; color: #5f7180; line-height: 1.65; }
.uai-core-course__outcomes { padding: 28px 0 clamp(56px, 8vw, 92px); background: #fff; }
.uai-core-course__outcomes-head { display: flex; justify-content: space-between; gap: 32px; align-items: end; }
.uai-core-course__outcomes-note { max-width: 300px; margin: 0 0 30px; color: #71818a; line-height: 1.6; }
.uai-core-course__outcomes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.uai-core-course__outcomes-grid article { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 20px; border-radius: 15px; background: #f1f8eb; }
.uai-core-course__outcomes-grid strong { color: #0f766e; font-size: 1.2rem; }
.uai-core-course__outcomes-grid p { margin: 0; color: #315b48; line-height: 1.6; }
.uai-core-course__body { padding: clamp(56px, 8vw, 96px) 0; }
.uai-core-course__layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: clamp(32px, 7vw, 84px); align-items: start; }
.uai-core-course__section-head { max-width: 700px; margin-bottom: 30px; }
.uai-core-course__section-head h2 { margin: 8px 0 12px; color: #102f38; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.uai-core-course__section-head > p:last-child { color: #5f7180; line-height: 1.7; }
.uai-core-course__module { margin-bottom: 12px; border: 1px solid #dbe7de; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(15,23,42,.04); }
.uai-core-course__module summary { display: grid; grid-template-columns: 42px 1fr 24px; gap: 14px; align-items: center; padding: 20px 22px; cursor: pointer; list-style: none; }
.uai-core-course__module summary::-webkit-details-marker { display: none; }
.uai-core-course__module summary span { color: var(--core-teal); font-weight: 800; }
.uai-core-course__module summary strong { color: #173b43; }
.uai-core-course__module summary b { color: var(--core-teal); font-size: 1.35rem; text-align: center; }
.uai-core-course__module[open] summary b { transform: rotate(45deg); }
.uai-core-course__lessons { padding: 0 22px 20px 78px; }
.uai-core-course__lessons div { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid #edf2ef; color: #5f7180; line-height: 1.45; }
.uai-core-course__lessons div span:first-child { color: var(--core-teal); }
.uai-core-course__lesson-row > span:last-child { display: grid; gap: 5px; }
.uai-core-course__lesson-row strong { color: #315b48; font-weight: 700; }
.uai-core-course__lesson-row small, .uai-core-course__lesson-row em { color: #71818a; font-size: .82rem; line-height: 1.5; }
.uai-core-course__lesson-row em { color: #0f766e; font-style: normal; }
.uai-core-course__side-card { position: sticky; top: 28px; padding: 26px; border: 1px solid #dbe7de; border-radius: 20px; background: #fff; box-shadow: 0 16px 40px rgba(15,23,42,.08); }
.uai-core-course__side-card ul { margin: 18px 0 24px; padding-left: 20px; color: #425b64; line-height: 1.7; }
.uai-core-course__side-card small { display: block; margin-top: 16px; color: #71818a; line-height: 1.5; }
.uai-core-course__state { padding: 18px; border: 1px dashed #c9d8d0; border-radius: 12px; color: #61716b; background: #fff; }
.uai-core-course__next { padding: 0 0 clamp(64px, 9vw, 112px); background: #f7faf8; }
.uai-core-course__next-inner { display: flex; justify-content: space-between; gap: 32px; align-items: center; padding: 34px; border-radius: 24px; color: #fff; background: linear-gradient(135deg, #0b3034, #1b6b5d); }
.uai-core-course__next h2 { margin: 8px 0 10px; color: #fff; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.uai-core-course__next p { max-width: 700px; margin: 0; color: rgba(255,255,255,.78); line-height: 1.65; }
.uai-core-course__next .uai-btn { flex: 0 0 auto; }
.uai-core-course__prerequisite { margin-top: 14px !important; font-size: .88rem; }
.uai-core-course__video-library, .uai-core-course__related { padding: clamp(56px, 8vw, 92px) 0; background: #fff; }
.uai-core-course__video-grid, .uai-core-course__related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.uai-core-course__video-card { overflow: hidden; border: 1px solid #dbe7de; border-radius: 18px; background: #f7faf8; }
.uai-core-course__video-frame { aspect-ratio: 16/9; background: #0b3034; }
.uai-core-course__video-frame iframe { width: 100%; height: 100%; border: 0; }
.uai-core-course__video-card > div:last-child { padding: 18px; }
.uai-core-course__video-card strong { color: #173b43; }
.uai-core-course__video-card p, .uai-core-course__related p { margin: 8px 0 0; color: #71818a; line-height: 1.6; }
.uai-core-course__playlist-card { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-radius: 18px; color: #315b48; background: #f1f8eb; font-weight: 800; text-decoration: none; }
.uai-core-course__related { background: #f7faf8; }
.uai-core-course__related-grid article { display: flex; flex-direction: column; padding: 24px; border: 1px solid #dbe7de; border-radius: 18px; background: #fff; }
.uai-core-course__related-index { color: #0f766e; font-size: 1.4rem; }
.uai-core-course__related h3 { margin: 16px 0 0; font-size: 1.12rem; line-height: 1.35; }
.uai-core-course__related h3 a { color: #173b43; text-decoration: none; }
.uai-core-course__related-link { margin-top: auto; padding-top: 20px; color: #0f766e; font-weight: 800; text-decoration: none; }
.uai-core-trial { max-width: 1240px; margin: 0 auto; padding: 0 20px 60px; }
.uai-core-trial__hero { margin: 24px 0; }
.uai-core-artifacts { margin-top: 20px; padding: 22px; border: 1px solid var(--color-border, #dbe7de); border-radius: 16px; background: var(--color-bg-white, #fff); }
.uai-core-artifacts .wb-card__title { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.uai-core-artifacts .wb-card__title small { color: var(--color-text-muted, #71818a); font-weight: 500; }
.uai-core-artifacts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.uai-core-artifact { min-width: 0; padding: 15px; border: 1px solid var(--color-border, #dbe7de); border-radius: 12px; background: #fbfdfb; }
.uai-core-artifact strong { display: block; margin-bottom: 12px; color: var(--color-text, #173b43); }
.uai-core-artifact__media { aspect-ratio: 16/9; overflow: hidden; border-radius: 8px; background: #0b3034; }
.uai-core-artifact__media iframe { width: 100%; height: 100%; border: 0; }
.uai-core-trial__pending { margin: 16px 0 0; color: #7a5a20; font-size: .9rem; }
.uai-core-trial__completion { margin-top: 24px; padding: 28px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #0b3034, #1b6b5d); }
.uai-core-trial__completion h2 { color: #fff; }
.uai-core-trial__final { margin-top: 24px; padding: 28px; border-radius: 16px; background: #fff; border: 1px solid #dbe7de; }
.uai-core-trial__quiz { margin: 18px 0; }
.uai-core-quiz-question { margin: 14px 0; padding: 14px; border: 1px solid #e5eee8; border-radius: 10px; }
.uai-core-quiz-question label { display: block; padding: 7px 0; color: #425b64; }
.uai-core-artifact__primary-note { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; margin: 0 0 16px; padding: 12px 14px; border-left: 3px solid #82c957; border-radius: 8px; background: #f1f8eb; color: #315b48; font-size: .86rem; }
.uai-core-artifact__primary-note strong { margin: 0; color: #0f766e; }
.uai-core-artifact__heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 12px; }
.uai-core-artifact__heading strong { margin: 0; }
.uai-core-artifact__heading span { color: #789187; font-size: .74rem; }
.uai-core-artifact__media { margin: 0; }
.uai-core-artifact__document { min-height: 620px; overflow: hidden; border: 1px solid #dce9df; border-radius: 12px; background: #f7faf8; }
.uai-core-artifact__document iframe { width: 100%; height: 620px; border: 0; }
.uai-core-artifact__image { overflow: auto; max-height: 620px; border: 1px solid #dce9df; border-radius: 12px; background: #f7faf8; text-align: center; }
.uai-core-artifact__image img { display: block; width: 100%; height: auto; }
.uai-core-artifact__reader { max-height: 620px; overflow: auto; padding: 18px; border: 1px solid #dce9df; border-radius: 12px; background: #fff; }
.uai-core-artifact__reader > p { margin: 0; color: #60786e; }
.uai-activity-input-label { display: block; margin: 16px 0 7px; color: #315b48; font-weight: 700; font-size: .86rem; }
.uai-activity-input-label small { display: block; margin-top: 3px; color: #789187; font-size: .72rem; font-weight: 500; }
.uai-activity-box textarea { display: block; width: 100%; min-height: 105px; padding: 12px 14px; resize: vertical; border: 1px solid #bfd8b5; border-radius: 10px; background: #fff; color: #173d37; font: inherit; line-height: 1.55; }
.uai-activity-box textarea:focus { outline: 3px solid rgba(130,201,87,.35); border-color: #0f766e; }
.uai-core-artifact.is-opened { border-color: #82c957; }
.wb-tl-artifact.is-opened { color: #0f766e; font-weight: 700; }
.wb-tl-artifact.is-opened span::before { content: '✓ '; }
.uai-certificate-next { margin-left: 8px; color: #0f766e; font-weight: 700; }
.uai-core-next-step { margin-top: 20px; padding: 18px 20px; border: 1px solid #dce9df; border-radius: 15px; background: #f7faf8; color: #315b48; }
.uai-core-next-step strong { color: #0f766e; }
.uai-core-next-step p { margin: 6px 0 0; }
.uai-certificate-verify__card { max-width: 720px; margin: 0 auto; }
.uai-certificate-verify__card input { display: block; width: 100%; box-sizing: border-box; margin: 0 0 8px; padding: 13px 14px; border: 1px solid #bfd8b5; border-radius: 10px; color: #173d37; background: #fff; font: inherit; letter-spacing: .04em; }
.uai-certificate-verify__card input:focus { outline: 3px solid rgba(130,201,87,.35); border-color: #0f766e; }
.uai-certificate-verify__hint { margin: 0 0 18px; color: #789187; font-size: .84rem; }
.uai-certificate-verify__result { min-height: 24px; margin-top: 20px; padding: 16px; border-radius: 12px; color: #60786e; background: #f7faf8; }
.uai-certificate-verify__result p { margin: 7px 0 0; }
.uai-certificate-verify__result.is-valid { border: 1px solid #b7df9e; color: #24543c; background: #f1f8eb; }
.uai-certificate-verify__result.is-valid strong { color: #0f766e; }
.uai-certificate-verify__result.is-error { border: 1px solid #efc4bd; color: #9b3328; background: #fff5f3; }
.wb-art-tabs { scrollbar-width: thin; }
.wb-art-tab { min-height: 42px; }
@media (max-width: 760px) { .uai-core-artifact__heading { align-items: flex-start; flex-direction: column; gap: 4px; } .uai-core-artifact__document, .uai-core-artifact__document iframe { min-height: 420px; height: 420px; } .uai-core-artifact__reader { max-height: none; } }
@media (max-width: 760px) { .uai-core-course__hero-inner, .uai-core-course__layout { grid-template-columns: 1fr; } .uai-core-course__side-card { position: static; } .uai-core-course__lessons { padding-left: 54px; } }
@media (max-width: 760px) { .uai-core-course__orientation-grid, .uai-core-course__outcomes-grid { grid-template-columns: 1fr; } .uai-core-course__outcomes-head, .uai-core-course__next-inner { display: block; } .uai-core-course__outcomes-note { margin-bottom: 20px; } .uai-core-course__next .uai-btn { display: inline-flex; margin-top: 24px; } }
@media (max-width: 760px) { .uai-core-course__video-grid, .uai-core-course__related-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .uai-core-trial { padding-inline: 12px; } .uai-core-trial__hero { margin-top: 12px; } .uai-core-artifacts { padding: 16px; } .uai-core-artifacts .wb-card__title { display: block; } }

/* Sidebar type scale: one deliberate hierarchy, no inherited size drift. */
.uai-core-trial .wb-sidebar,
.uai-core-trial .wb-sidebar button,
.uai-core-trial .wb-sidebar a { font-family: var(--font-body, 'Inter', sans-serif); }
.uai-core-trial .wb-sidebar__title { font-size: .75rem; line-height: 1.25; }
.uai-core-trial .wb-tl-code { font-size: .62rem; line-height: 1.2; letter-spacing: .08em; }
.uai-core-trial .wb-tl-module-heading strong { font-size: .8rem; line-height: 1.3; }
.uai-core-trial .wb-tl-lesson { font-size: .74rem; line-height: 1.35; }
.uai-core-trial .wb-tl-lesson strong { font-size: inherit; line-height: inherit; }
.uai-core-trial .wb-tl-lesson small { font-size: .63rem; line-height: 1.25; }
.uai-core-trial .wb-timeline-artifacts > small { font-size: .6rem; line-height: 1.2; }
.uai-core-trial .wb-sidebar__footer a { font-size: .72rem; line-height: 1.3; }

/* Premium sidebar palette: restrained accents by module, clear current state. */
.uai-core-trial .wb-sidebar {
    border-color: #d4e5dc;
    background: linear-gradient(180deg, #fbfffd 0%, #f4faf7 100%);
    box-shadow: 0 16px 34px rgba(20, 73, 58, .10);
}
.uai-core-trial .wb-timeline-module {
    border-bottom-color: #e2eee7;
}
.uai-core-trial .wb-tl-module-heading {
    border-radius: 10px;
    transition: background .18s ease;
}
.uai-core-trial .wb-tl-module-heading:hover {
    background: rgba(255,255,255,.72);
}
.uai-core-trial .wb-tl-module-heading strong { color: #173d37; }
.uai-core-trial .wb-tl-code { color: #0f766e; }
.uai-core-trial .wb-tl-lesson { color: #49685d; }
.uai-core-trial .wb-tl-lesson small { color: #789187; }
.uai-core-trial .wb-tl-lesson:hover {
    color: #075e58;
    background: #e8f8ef;
}
.uai-core-trial .wb-tl-lesson.is-current {
    color: #075e58;
    border: 1px solid #8ac9a5;
    background: linear-gradient(100deg, #dff7e8, #eef8ff);
    box-shadow: inset 4px 0 0 #0f766e, 0 5px 14px rgba(15,118,110,.10);
}
.uai-core-trial .wb-tl-lesson.is-current small { color: #39766a; }
.uai-core-trial .wb-tl-lesson.is-current .wb-tl-lesson-state { color: #0f766e; }
.uai-core-trial .wb-timeline-module:nth-child(2) .wb-tl-code,
.uai-core-trial .wb-timeline-module:nth-child(2) .wb-tl-lesson.is-current .wb-tl-lesson-state { color: #2c7da0; }
.uai-core-trial .wb-timeline-module:nth-child(3) .wb-tl-code,
.uai-core-trial .wb-timeline-module:nth-child(3) .wb-tl-lesson.is-current .wb-tl-lesson-state { color: #705bb5; }
.uai-core-trial .wb-timeline-module:nth-child(4) .wb-tl-code,
.uai-core-trial .wb-timeline-module:nth-child(4) .wb-tl-lesson.is-current .wb-tl-lesson-state { color: #b06b16; }
.uai-core-trial .wb-timeline-module:nth-child(5) .wb-tl-code,
.uai-core-trial .wb-timeline-module:nth-child(5) .wb-tl-lesson.is-current .wb-tl-lesson-state { color: #ad4058; }
.uai-core-trial .wb-tl-lesson[data-core-locked-lesson] { color: #8a8170; }

/* Premium hero: deep editorial canvas with emerald/violet light and glass data. */
.uai-core-trial .wb-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(156, 246, 218, .18);
    background:
        radial-gradient(circle at 84% 8%, rgba(126, 112, 255, .34), transparent 28%),
        radial-gradient(circle at 12% 0%, rgba(54, 224, 177, .24), transparent 32%),
        linear-gradient(118deg, #071f2b 0%, #0c3440 46%, #182d58 100%);
    box-shadow: 0 24px 58px rgba(7, 31, 43, .28);
}
.uai-core-trial .wb-hero::before {
    background:
        linear-gradient(90deg, transparent 0 49%, rgba(255,255,255,.045) 50%, transparent 51%),
        radial-gradient(circle at 70% 85%, rgba(126,112,255,.22), transparent 30%);
    background-size: 34px 34px, auto;
    opacity: .75;
}
.uai-core-trial .wb-hero::after {
    content: '';
    position: absolute;
    top: -160px;
    right: 10%;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(157,245,220,.24);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(157,245,220,.045), 0 0 0 58px rgba(126,112,255,.035);
    pointer-events: none;
}
.uai-core-trial .wb-hero__eyebrow { color: #9df5dc; text-shadow: 0 0 18px rgba(157,245,220,.22); }
.uai-core-trial .wb-hero__h1 { color: #fff; text-shadow: 0 3px 24px rgba(0,0,0,.24); }
.uai-core-trial .wb-hero__sub { color: rgba(236,253,250,.76); }
.uai-core-trial .wb-hero__trial-card {
    border-color: rgba(157,245,220,.3);
    background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.07));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 18px 34px rgba(0,0,0,.16);
    backdrop-filter: blur(14px);
}
.uai-core-trial .wb-hero__trial-card strong { color: #f5fffb; }
.uai-core-trial .wb-hero__trial-card small { color: rgba(236,253,250,.68); }
.uai-core-trial .wb-hero__trial-badge { color: #9df5dc; }
.uai-core-trial .wb-hero__trial-card a { color: #d7ff72; }
.uai-core-trial .wb-hero__metrics { position: relative; z-index: 1; }
.uai-core-trial .wb-hero__metric {
    border-color: rgba(157,245,220,.2);
    background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.055));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.uai-core-trial .wb-hero__metric:nth-child(2) { border-color: rgba(183,166,255,.28); }
.uai-core-trial .wb-hero__metric:nth-child(3) { border-color: rgba(215,255,114,.28); }
.uai-core-trial .wb-hero__metric-val { color: #fff; }
.uai-core-trial .wb-hero__metric-label { color: rgba(236,253,250,.62); }
@media (max-width: 760px) {
    .uai-core-trial .wb-hero {
        border-radius: 0 0 20px 20px;
        background:
            radial-gradient(circle at 88% 8%, rgba(126,112,255,.25), transparent 34%),
            linear-gradient(145deg, #0a2b37, #123e4b 62%, #283764);
    }
    .uai-core-trial .wb-hero__trial-card { background: rgba(255,255,255,.1); }
}
@media (min-width: 761px) {
    .uai-core-trial .wb-hero {
        min-height: 268px;
        padding: 42px 48px 38px;
        align-content: center;
    }
    .uai-core-trial .wb-hero__eyebrow { margin-bottom: 12px; }
    .uai-core-trial .wb-hero__h1 { max-width: 720px; font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.14; }
    .uai-core-trial .wb-hero__sub { max-width: 680px; margin-bottom: 22px; font-size: .98rem; line-height: 1.55; }
    .uai-core-trial .wb-hero__trial-card { top: 38px; right: 48px; min-width: 250px; max-width: 300px; padding: 17px 18px; }
    .uai-core-trial .wb-hero__metrics { gap: 10px; }
    .uai-core-trial .wb-hero__metric { min-width: 102px; padding: 12px 14px; }
}
@media (max-width: 760px) {
    .uai-core-trial .wb-hero { min-height: 0; padding: 30px 20px 24px; }
    .uai-core-trial .wb-hero__h1 { font-size: 1.55rem; line-height: 1.2; }
    .uai-core-trial .wb-hero__sub { font-size: .94rem; line-height: 1.55; }
}

/* Keep the desktop trial hero below CiCC's fixed main navigation. */
@media (min-width: 761px) {
    .uai-core-trial .wb-hero { padding-top: 132px; }
}

/* Hero v2: deliberate two-column premium composition. */
@media (min-width: 761px) {
    .uai-core-trial .wb-hero {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
        grid-template-rows: auto auto auto auto;
        column-gap: 44px;
        align-items: center;
        min-height: 318px;
        padding: 42px 52px 38px;
        border-radius: 0 0 28px 28px;
    }
    .uai-core-trial .wb-hero__eyebrow { grid-column: 1 / -1; grid-row: 1; margin: 0 0 14px; }
    .uai-core-trial .wb-hero__h1 { grid-column: 1; grid-row: 2; max-width: 760px; margin: 0 0 10px; font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.12; }
    .uai-core-trial .wb-hero__sub { grid-column: 1; grid-row: 3; max-width: 680px; margin: 0 0 22px; font-size: .96rem; line-height: 1.55; }
    .uai-core-trial .wb-hero__metrics { grid-column: 1; grid-row: 4; display: flex; gap: 10px; margin: 0; }
    .uai-core-trial .wb-hero__metric { min-width: 104px; padding: 12px 14px; }
    .uai-core-trial .wb-hero__trial-card { position: relative; top: auto; right: auto; grid-column: 2; grid-row: 2 / span 3; align-self: center; min-width: 0; max-width: none; margin: 0; padding: 22px 20px; border-radius: 18px; }
    .uai-core-trial .wb-hero__trial-card strong { font-size: .98rem; line-height: 1.35; }
    .uai-core-trial .wb-hero__trial-card small { font-size: .72rem; line-height: 1.5; }
    .uai-core-trial .wb-hero__trial-card a { margin-top: 8px; font-size: .76rem; }
}
@media (max-width: 760px) {
    .uai-core-trial .wb-hero {
        display: block;
        min-height: 0;
        padding: 30px 20px 26px;
        border-radius: 0 0 22px 22px;
    }
    .uai-core-trial .wb-hero__eyebrow { margin-bottom: 12px; }
    .uai-core-trial .wb-hero__h1 { margin-bottom: 10px; font-size: 1.55rem; }
    .uai-core-trial .wb-hero__trial-card { margin: 16px 0; padding: 16px; border-radius: 15px; }
    .uai-core-trial .wb-hero__sub { margin-bottom: 18px; }
    .uai-core-trial .wb-hero__metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
    .uai-core-trial .wb-hero__metric { min-width: 0; padding: 11px 7px; }
}

/* Hero metrics keep their premium tint on hover; never flash white. */
.uai-core-trial .wb-hero__metric:hover {
    background: linear-gradient(145deg, rgba(54,224,177,.24), rgba(54,224,177,.10));
    border-color: rgba(157,245,220,.48);
    box-shadow: 0 10px 22px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.16);
}
.uai-core-trial .wb-hero__metric:nth-child(2):hover {
    background: linear-gradient(145deg, rgba(126,112,255,.28), rgba(126,112,255,.11));
    border-color: rgba(183,166,255,.52);
}
.uai-core-trial .wb-hero__metric:nth-child(3):hover {
    background: linear-gradient(145deg, rgba(215,255,114,.22), rgba(215,255,114,.08));
    border-color: rgba(215,255,114,.5);
}

/* Cool premium metric typography: fresh accents, soft labels. */
.uai-core-trial .wb-hero__metric-val {
    color: #e8fff7;
    text-shadow: 0 2px 14px rgba(54,224,177,.18);
}
.uai-core-trial .wb-hero__metric:nth-child(2) .wb-hero__metric-val {
    color: #eeeaff;
    text-shadow: 0 2px 14px rgba(126,112,255,.24);
}
.uai-core-trial .wb-hero__metric:nth-child(3) .wb-hero__metric-val {
    color: #eaffba;
    text-shadow: 0 2px 14px rgba(215,255,114,.2);
}
.uai-core-trial .wb-hero__metric-label {
    color: rgba(226, 249, 241, .7);
    letter-spacing: .015em;
}

/* Unified cool-premium typography across the entire hero. */
.uai-core-trial .wb-hero__eyebrow { color: #a6ffe0; }
.uai-core-trial .wb-hero__h1 { color: #f4fffb; text-shadow: 0 3px 24px rgba(0,0,0,.24); }
.uai-core-trial .wb-hero__sub { color: rgba(220, 247, 239, .78); }
.uai-core-trial .wb-hero__trial-badge { color: #a6ffe0; }
.uai-core-trial .wb-hero__trial-card strong { color: #f2fffb; }
.uai-core-trial .wb-hero__trial-card small { color: rgba(211, 239, 231, .7); }
.uai-core-trial .wb-hero__trial-card a { color: #dfff86; }
.uai-core-trial .wb-hero__metric-label { color: rgba(220, 247, 239, .68); }

/* ── UngDungAI cool-premium page palette ── */
.uai-core-trial {
    --premium-ink: #163b43;
    --premium-ink-soft: #496b6d;
    --premium-muted: #789394;
    --premium-line: #d7e9e4;
    --premium-surface: #ffffff;
    --premium-surface-soft: #f3faf8;
    --premium-teal: #087d77;
    --premium-emerald: #199b72;
    --premium-mint: #a6ffe0;
    --premium-violet: #7569d8;
    --premium-lime: #dfff86;
    color: var(--premium-ink);
    background:
        radial-gradient(circle at 8% 24%, rgba(166,255,224,.14), transparent 24rem),
        linear-gradient(180deg, #f4fbf9 0%, #ffffff 42%, #f7fbff 100%);
}
.uai-core-trial .wb-sticky-bar {
    border-bottom-color: var(--premium-line);
    background: rgba(250,255,253,.92);
    box-shadow: 0 8px 24px rgba(21,74,74,.08);
}
.uai-core-trial .wb-timer-badge { color: var(--premium-teal); background: #e6f8f1; }
.uai-core-trial .wb-progress-track { background: #dceee9; }
.uai-core-trial .wb-progress-bar { background: linear-gradient(90deg, var(--premium-emerald), var(--premium-violet)); }
.uai-core-trial .wb-progress-text { color: var(--premium-ink-soft); }
.uai-core-trial .wb-content::before {
    border-color: rgba(101,184,164,.16);
    background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(247,252,255,.72));
}
.uai-core-trial .wb-sidebar,
.uai-core-trial .wb-context-panel {
    border-color: var(--premium-line);
    background: linear-gradient(180deg, #fbfffe, #f2faf7);
    box-shadow: 0 16px 34px rgba(20,73,58,.09);
}
.uai-core-trial .wb-sidebar__title,
.uai-core-trial .wb-context-panel summary { color: var(--premium-ink); border-color: var(--premium-line); }
.uai-core-trial .wb-tl-module-heading strong,
.uai-core-trial .wb-stage-header__title,
.uai-core-trial .wb-card__title,
.uai-core-trial .wb-resource-hub__header > div:first-child > span { color: var(--premium-ink); }
.uai-core-trial .wb-tl-lesson,
.uai-core-trial .wb-context-panel__body,
.uai-core-trial .wb-stage-header__desc { color: var(--premium-ink-soft); }
.uai-core-trial .wb-tl-lesson small,
.uai-core-trial .wb-context-panel__eyebrow,
.uai-core-trial .wb-resource-hub__header small { color: var(--premium-muted); }
.uai-core-trial .wb-tl-lesson.is-current {
    color: #075e58;
    border-color: #8ed5b4;
    background: linear-gradient(100deg, #dcf8ea, #eef6ff);
    box-shadow: inset 4px 0 0 var(--premium-teal), 0 6px 16px rgba(15,118,110,.1);
}
.uai-core-trial .wb-art-tabs--resources .wb-resource-group__toggle {
    border-color: var(--premium-line);
    color: var(--premium-ink-soft);
}
.uai-core-trial .wb-art-tabs--resources .wb-resource-group.is-active .wb-resource-group__toggle {
    border-color: var(--premium-teal);
    background: var(--premium-teal);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(8,125,119,.14), 0 8px 18px rgba(8,125,119,.16);
}
.uai-core-trial .wb-resource-group__items,
.uai-core-trial .wb-art-tabs--resources .wb-resource-item {
    border-color: var(--premium-line);
    background: var(--premium-surface);
}
.uai-core-trial .wb-art-tabs--resources .wb-resource-item:hover,
.uai-core-trial .wb-art-tabs--resources .wb-resource-item.active {
    border-color: #83cdb0;
    background: linear-gradient(100deg, #e6f9ef, #f1f4ff);
    color: var(--premium-teal);
}
.uai-core-trial .uai-core-artifacts,
.uai-core-trial .uai-artifact-card,
.uai-core-trial .wb-activity-box,
.uai-core-trial .uai-quiz-box,
.uai-core-trial .uai-core-next-step {
    border-color: var(--premium-line);
    background: var(--premium-surface);
    box-shadow: 0 10px 28px rgba(22,82,72,.06);
}
.uai-core-trial .uai-core-artifact__heading strong,
.uai-core-trial .wb-activity-box h2,
.uai-core-trial .uai-quiz-box h2 { color: var(--premium-ink); }
.uai-core-trial .uai-core-artifact__heading span,
.uai-core-trial .wb-activity-box__desc,
.uai-core-trial .uai-quiz-status { color: var(--premium-muted); }
.uai-core-trial .wb-activity-box textarea,
.uai-core-trial .uai-quiz-question,
.uai-core-trial .wb-check-stage {
    border-color: #b9ddd0;
    background: #fbfffd;
    color: var(--premium-ink);
}
.uai-core-trial .wb-trial-conversion {
    border-color: #c8d9f2;
    background: linear-gradient(120deg, #eafaf5 0%, #f3f1ff 100%);
}
.uai-core-trial .wb-roadmap-shell,
.uai-core-trial .wb-platforms-shell { background: transparent; }
.uai-core-trial .wb-roadmap__intro h2,
.uai-core-trial .wb-platforms__intro h2 { color: var(--premium-ink); }
.uai-core-trial .wb-roadmap__intro p,
.uai-core-trial .wb-platforms__intro p { color: var(--premium-ink-soft); }
.uai-core-trial .wb-roadmap__node,
.uai-core-trial .wb-platforms__grid a {
    border-color: var(--premium-line);
    background: linear-gradient(145deg, #fbfffe, #f3f8ff);
    box-shadow: 0 10px 24px rgba(22,82,72,.06);
}
.uai-core-trial .wb-roadmap__node strong,
.uai-core-trial .wb-platforms__grid strong { color: var(--premium-ink); }
.uai-core-trial .wb-roadmap__node small,
.uai-core-trial .wb-platforms__grid small { color: var(--premium-muted); }
.uai-core-trial .wb-stage-footer { border-color: var(--premium-line); }


/* Premium intelligence layer: restrained glow, editorial rhythm, and real course signals. */
.uai-core-course {
    --core-deep: #071f2b;
    --core-ink: #102f3b;
    --core-teal: #087d77;
    --core-mint: #b9f3c5;
    --core-lime: #d7ff72;
    --core-line: #dbe9e4;
    color: var(--core-ink);
    background: #f5f8f7;
}
.uai-core-course__hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: radial-gradient(circle at 78% 18%, rgba(73, 220, 188, .18), transparent 24rem), linear-gradient(125deg, #061b28 0%, #0b3444 52%, #075d5c 100%);
}
.uai-core-course__hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: '';
    opacity: .22;
    background-image: linear-gradient(rgba(181, 244, 208, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(181, 244, 208, .14) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.9) 58%, transparent 100%);
}
.uai-core-course__hero::after {
    position: absolute;
    z-index: -1;
    right: -12rem;
    bottom: -18rem;
    width: 38rem;
    height: 38rem;
    content: '';
    border: 1px solid rgba(215,255,114,.24);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(215,255,114,.035), 0 0 0 84px rgba(215,255,114,.025);
}
.uai-core-course__hero-inner { position: relative; min-height: 650px; padding-block: clamp(76px, 10vw, 132px); }
.uai-core-course__hero-copy { max-width: 820px; }
.uai-core-course__hero .uai-lms-kicker { color: var(--core-mint); letter-spacing: .18em; }
.uai-core-course__hero h1 { max-width: 820px; text-wrap: balance; text-shadow: 0 10px 32px rgba(0,0,0,.18); }
.uai-core-course__promise { max-width: 680px; color: rgba(239,255,249,.8); }
.uai-core-course__meta span { border-color: rgba(185,243,197,.28); background: rgba(7,31,43,.2); backdrop-filter: blur(8px); }
.uai-core-course__actions .uai-btn { min-height: 50px; padding-inline: 20px; border-radius: 12px; }
.uai-core-course .uai-btn--primary { box-shadow: 0 0 0 1px rgba(215,255,114,.22), 0 12px 28px rgba(215,255,114,.16); }
.uai-core-course__actions { align-items: stretch; gap: 12px; margin-top: 30px; }
.uai-core-course__hero-action { display: grid !important; grid-template-columns: 34px minmax(0, 1fr) 18px; align-items: center; gap: 12px; min-width: 238px; min-height: 68px !important; padding: 10px 14px !important; border-radius: 16px !important; text-align: left; text-decoration: none; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease; }
.uai-core-course__hero-action:hover { transform: translateY(-3px); }
.uai-core-course__hero-action > span:nth-child(2) { display: grid; gap: 4px; min-width: 0; }
.uai-core-course__hero-action strong { display: block; color: inherit; font-size: .88rem; line-height: 1.2; white-space: nowrap; }
.uai-core-course__hero-action small { display: block; color: rgba(7,31,43,.68); font-size: .66rem; font-weight: 500; line-height: 1.25; white-space: nowrap; }
.uai-core-course__hero-action > b { justify-self: end; font-size: 1.1rem; font-weight: 500; }
.uai-core-course__hero-action-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: var(--core-deep); background: rgba(7,31,43,.1); font-size: .75rem; }
.uai-core-course__hero-action-icon svg, .uai-core-course__playlist-icon svg { width: 16px; height: 16px; display: block; }
.uai-core-course__hero-action--secondary { border-color: rgba(185,243,197,.34) !important; background: rgba(255,255,255,.07) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.1); }
.uai-core-course__hero-action--secondary:hover { border-color: rgba(215,255,114,.62) !important; background: rgba(255,255,255,.12) !important; }
.uai-core-course__hero-action--secondary small { color: rgba(239,255,249,.62); }
.uai-core-course__hero-action--secondary .uai-core-course__hero-action-icon { color: var(--core-mint); background: rgba(185,243,197,.12); }
.uai-core-course__hero-action--secondary > b { color: var(--core-lime); }
.uai-core-course__wayfinding { position: relative; z-index: 2; border-bottom: 1px solid #dcebe4; background: rgba(255,255,255,.94); box-shadow: 0 8px 24px rgba(16,47,59,.045); }
.uai-core-course__wayfinding-inner { display: flex; align-items: center; gap: 8px; min-height: 66px; }
.uai-core-course__wayfinding-label { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; color: #6c8980; font: 800 .64rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .14em; white-space: nowrap; }
.uai-core-course__wayfinding-label i { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--core-teal); box-shadow: 0 0 0 4px rgba(8,125,119,.12); }
.uai-core-course__wayfinding a { display: inline-flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 10px; color: #48665f; font-size: .78rem; font-weight: 700; text-decoration: none; white-space: nowrap; transition: color .2s ease, background .2s ease; }
.uai-core-course__wayfinding a:hover, .uai-core-course__wayfinding a:focus-visible { color: #075d5c; background: #edf8ef; }
.uai-core-course__wayfinding a b { color: #82a59a; font: 800 .62rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.uai-core-course__wayfinding::after { position: absolute; inset: 0; z-index: -1; content: ''; opacity: .3; pointer-events: none; background-image: radial-gradient(rgba(8,125,119,.18) .7px, transparent .7px); background-size: 10px 10px; mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.uai-core-course [id] { scroll-margin-top: 84px; }
.uai-core-course__hero-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border-color: rgba(185,243,197,.26);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255,255,255,.15), rgba(255,255,255,.045));
    box-shadow: 0 30px 90px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.13);
    backdrop-filter: blur(18px);
}
.uai-core-course__hero-card::before { position: absolute; top: -70px; right: -50px; width: 170px; height: 170px; content: ''; border: 1px solid rgba(215,255,114,.26); border-radius: 50%; box-shadow: 0 0 0 22px rgba(215,255,114,.04); }
.uai-core-course__hero-card-mark { position: relative; width: 58px; height: 58px; margin-bottom: 22px; border-radius: 18px; box-shadow: 0 0 28px rgba(215,255,114,.28); }
.uai-core-course__signal { display: flex; align-items: center; gap: 8px; margin: 0 0 24px; color: rgba(185,243,197,.65); font: 700 .62rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; }
.uai-core-course__signal i { color: var(--core-lime); font-style: normal; }
.uai-core-course__hero-card strong { position: relative; font-size: 1.45rem; letter-spacing: -.02em; }
.uai-core-course__hero-card p { position: relative; margin-top: 12px; }
.uai-core-course__hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 26px 0 22px; padding-top: 18px; border-top: 1px solid rgba(185,243,197,.18); }
.uai-core-course__hero-stats span { color: rgba(239,255,249,.58); font-size: .7rem; line-height: 1.35; }
.uai-core-course__hero-stats b { display: block; margin-bottom: 3px; color: var(--core-lime); font-size: 1.45rem; line-height: 1; }
.uai-core-course__orientation, .uai-core-course__outcomes, .uai-core-course__video-library { background: #fff; }
.uai-core-course__orientation { padding-top: clamp(72px, 9vw, 112px); }
.uai-core-course__section-head--center h2, .uai-core-course__section-head h2 { text-wrap: balance; letter-spacing: -.035em; }
.uai-core-course__section-head > p:last-child { max-width: 650px; }
.uai-core-course__orientation-grid { gap: 18px; margin-top: 42px; }
.uai-core-course__orientation-grid article { position: relative; overflow: hidden; min-height: 190px; padding: 28px; border-color: var(--core-line); border-radius: 20px; background: linear-gradient(145deg, #fbfefc, #f1f8f4); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.uai-core-course__orientation-grid article::after { position: absolute; right: -22px; bottom: -32px; width: 100px; height: 100px; content: ''; border: 1px solid rgba(8,125,119,.18); border-radius: 50%; }
.uai-core-course__orientation-grid article:hover { transform: translateY(-4px); border-color: #a9d8c4; box-shadow: 0 18px 36px rgba(16,47,59,.08); }
.uai-core-course__orientation-grid span { color: var(--core-teal); font: 800 .72rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .16em; }
.uai-core-course__orientation-grid h3 { letter-spacing: -.02em; }
.uai-core-course__outcomes { padding-top: 34px; }
.uai-core-course__outcomes-grid { gap: 14px; }
.uai-core-course__outcomes-grid article { position: relative; min-height: 94px; padding: 22px; border: 1px solid #dcece2; border-radius: 16px; background: linear-gradient(105deg, #f0faeb, #f8fcf7); }
.uai-core-course__outcomes-grid strong { font: 800 1.05rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.uai-core-course__body { background: #f5f8f7; }
.uai-core-course__module { overflow: hidden; border-color: var(--core-line); border-radius: 18px; box-shadow: 0 8px 24px rgba(16,47,59,.035); transition: border-color .2s ease, box-shadow .2s ease; }
.uai-core-course__module:hover, .uai-core-course__module[open] { border-color: #a7d4c4; box-shadow: 0 16px 34px rgba(16,47,59,.08); }
.uai-core-course__module summary { min-height: 70px; }
.uai-core-course__module summary span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #075d5c; background: #e6f4e9; font: 800 .75rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.uai-core-course__side-card { border-color: #cfe3d8; border-radius: 22px; box-shadow: 0 20px 48px rgba(16,47,59,.1); }
.uai-core-course__side-card .uai-lms-kicker { color: var(--core-teal); }
.uai-core-course__video-library { border-top: 1px solid #e5efea; }
.uai-core-course__video-card, .uai-core-course__related-grid article { border-color: #d5e6dc; border-radius: 20px; box-shadow: 0 10px 28px rgba(16,47,59,.045); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.uai-core-course__video-card:hover, .uai-core-course__related-grid article:hover { transform: translateY(-5px); border-color: #9ed0bd; box-shadow: 0 20px 42px rgba(16,47,59,.1); }
.uai-core-course__video-frame { position: relative; background: #061b28; }
.uai-core-course__video-frame::after { position: absolute; inset: 0; content: ''; pointer-events: none; border: 1px solid rgba(185,243,197,.2); }
.uai-core-course__playlist-card { min-height: 100%; border: 1px solid #cce5d4; background: linear-gradient(135deg, #eaf8e9, #f6fcf5); transition: transform .25s ease, box-shadow .25s ease; }
.uai-core-course__playlist-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(16,47,59,.08); }
.uai-core-course__related { background: #f5f8f7; }
.uai-core-course__related-grid article { min-height: 255px; background: #fff; }
.uai-core-course__related-index { color: var(--core-teal); font-size: 1.1rem; }
.uai-core-course__related-link { display: inline-flex; align-items: center; gap: 6px; transition: gap .2s ease; }
.uai-core-course__related-link:hover { gap: 11px; }
.uai-core-course__next { background: #f5f8f7; }
.uai-core-course__next-inner { position: relative; overflow: hidden; min-height: 190px; padding: 42px; border: 1px solid rgba(185,243,197,.18); border-radius: 28px; background: radial-gradient(circle at 88% 30%, rgba(73,220,188,.18), transparent 16rem), linear-gradient(125deg, #061b28, #075d5c); box-shadow: 0 22px 54px rgba(16,47,59,.16); }
.uai-core-course__next-inner::after { position: absolute; right: 5%; bottom: -90px; width: 220px; height: 220px; content: ''; border: 1px solid rgba(215,255,114,.25); border-radius: 50%; }
.uai-core-course__next-inner > * { position: relative; z-index: 1; }
/* Let the landing breathe on large screens while preserving the Core shell elsewhere. */
@media (min-width: 761px) {
    body.single-ungdung_ai_khoa_hoc .top-bar-inner,
    body.single-ungdung_ai_bai_hoc .top-bar-inner,
    body.single-ungdung_ai_khoa_hoc .site-header .header-inner,
    body.single-ungdung_ai_bai_hoc .site-header .header-inner,
    body.single-ungdung_ai_khoa_hoc .site-footer > .container,
    body.single-ungdung_ai_bai_hoc .site-footer > .container {
        width: 100%;
        max-width: none;
        padding-inline: clamp(18px, 2.5vw, 40px);
        box-sizing: border-box;
    }
    .uai-core-course > .uai-core-course__hero > .uai-lms-container,
    .uai-core-course > section > .uai-lms-container {
        width: 100%;
        max-width: none;
        padding-inline: clamp(18px, 2.5vw, 40px);
        box-sizing: border-box;
    }
    .uai-core-course__hero-inner { grid-template-columns: minmax(0, 1.28fr) minmax(360px, .72fr); gap: clamp(48px, 7vw, 112px); }
    .uai-core-course__layout { grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr); gap: clamp(44px, 7vw, 112px); }
}
@media (min-width: 1100px) {
    body.single-ungdung_ai_khoa_hoc .site-header .main-navigation,
    body.single-ungdung_ai_bai_hoc .site-header .main-navigation { justify-content: stretch; }
    body.single-ungdung_ai_khoa_hoc .site-header .main-navigation .menu,
    body.single-ungdung_ai_bai_hoc .site-header .main-navigation .menu {
        width: auto;
        justify-content: center;
        gap: clamp(10px, 1.2vw, 20px);
    }
}
.uai-core-course__video-grid, .uai-core-course__related-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.uai-core-course__video-grid { align-items: stretch; }
.uai-core-course__video-card, .uai-core-course__playlist-card { width: 100%; }
@media (min-width: 761px) {
    .uai-core-course__video-grid { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 22px; }
    .uai-core-course__video-card { grid-column: 1; display: flex; flex-direction: column; }
    .uai-core-course__playlist-card { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 28px; min-height: 100%; padding: 30px; }
}
.uai-core-course__video-frame { overflow: hidden; }
.uai-core-course__video-label { position: absolute; z-index: 1; top: 16px; left: 16px; padding: 7px 9px; border: 1px solid rgba(215,255,114,.35); border-radius: 999px; color: var(--core-lime); background: rgba(6,27,40,.72); font: 700 .62rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .12em; }
.uai-core-course__video-copy { display: grid; gap: 8px; padding: 22px 24px 24px; }
.uai-core-course__video-kicker, .uai-core-course__playlist-copy small { color: var(--core-teal); font: 800 .66rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .14em; }
.uai-core-course__video-copy strong { color: #173b43; font-size: 1.12rem; }
.uai-core-course__video-copy p { margin: 0; }
.uai-core-course__playlist-card { position: relative; overflow: hidden; border: 1px solid #cce5d4; color: #315b48; background: radial-gradient(circle at 100% 0%, rgba(8,125,119,.12), transparent 12rem), linear-gradient(145deg, #effbea, #f8fcf7); text-decoration: none; }
.uai-core-course__playlist-card::after { position: absolute; right: -54px; bottom: -70px; width: 190px; height: 190px; content: ''; border: 1px solid rgba(8,125,119,.18); border-radius: 50%; box-shadow: 0 0 0 22px rgba(8,125,119,.035); }
.uai-core-course__playlist-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; color: #fff; background: var(--core-teal); box-shadow: 0 10px 22px rgba(8,125,119,.2); }
.uai-core-course__playlist-copy { position: relative; z-index: 1; display: grid; gap: 10px; }
.uai-core-course__playlist-copy strong { color: #173b43; font-size: 1.35rem; line-height: 1.2; letter-spacing: -.025em; }
.uai-core-course__playlist-copy em { color: #60786e; font-size: .9rem; font-style: normal; line-height: 1.65; }
.uai-core-course__playlist-arrow { position: relative; z-index: 1; align-self: flex-end; color: var(--core-teal); font-size: 1.4rem; }
@media (max-width: 760px) {
    .uai-core-course > section > .uai-lms-container { width: calc(100% - 28px); }
    .uai-core-course__hero-inner { min-height: 0; padding-block: 68px 78px; }
    .uai-core-course__hero-card { margin-top: 12px; }
    .uai-core-course__next-inner { padding: 30px 24px; }
    .uai-core-course__playlist-card { min-height: 230px; padding: 24px; }
    .uai-core-course__hero-action { flex: 1 1 100%; min-width: 0; }
    .uai-core-course__wayfinding-inner { width: 100% !important; min-height: 58px; padding: 0 14px; overflow-x: auto; scrollbar-width: none; }
    .uai-core-course__wayfinding-inner::-webkit-scrollbar { display: none; }
    .uai-core-course__wayfinding-label { margin-right: 4px; }
}
@media (prefers-reduced-motion: reduce) {
    .uai-core-course__orientation-grid article, .uai-core-course__video-card, .uai-core-course__related-grid article, .uai-core-course__playlist-card, .uai-core-course__related-link { transition: none; }
}

/* Cross-section visual rhythm: every card gets a quiet, intentional signal color. */
.uai-core-course__orientation-grid article,
.uai-core-course__outcomes-grid article,
.uai-core-course__module,
.uai-core-course__video-card,
.uai-core-course__related-grid article { --card-accent: #0b8980; }
.uai-core-course__orientation-grid article:nth-child(2),
.uai-core-course__outcomes-grid article:nth-child(4n + 2),
.uai-core-course__module:nth-child(3n + 2),
.uai-core-course__related-grid article:nth-child(3n + 2) { --card-accent: #6d72c8; }
.uai-core-course__orientation-grid article:nth-child(3),
.uai-core-course__outcomes-grid article:nth-child(4n + 3),
.uai-core-course__module:nth-child(3n + 3),
.uai-core-course__related-grid article:nth-child(3n + 3) { --card-accent: #c58b3c; }
.uai-core-course__outcomes-grid article:nth-child(4n + 4) { --card-accent: #3289b0; }
.uai-core-course__orientation-grid article::before,
.uai-core-course__outcomes-grid article::before,
.uai-core-course__related-grid article::before { position: absolute; top: 0; right: 24px; left: 24px; height: 2px; content: ''; border-radius: 0 0 8px 8px; background: linear-gradient(90deg, var(--card-accent), transparent); opacity: .65; }
.uai-core-course__orientation-grid article span,
.uai-core-course__outcomes-grid article strong,
.uai-core-course__related-index { color: var(--card-accent); }
.uai-core-course__orientation-grid article:nth-child(2) { background: linear-gradient(145deg, #fbfbff, #f4f4fc); }
.uai-core-course__orientation-grid article:nth-child(3) { background: linear-gradient(145deg, #fffdf8, #fbf6eb); }
.uai-core-course__outcomes-grid article { position: relative; background: linear-gradient(105deg, color-mix(in srgb, var(--card-accent) 7%, #fff), #fbfdfb); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.uai-core-course__outcomes-grid article:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--card-accent) 42%, #dcece2); box-shadow: 0 12px 24px rgba(16,47,59,.07); }
.uai-core-course__module { position: relative; border-left: 3px solid color-mix(in srgb, var(--card-accent) 45%, #dbe9e4); }
.uai-core-course__module summary span { color: var(--card-accent); background: color-mix(in srgb, var(--card-accent) 11%, #fff); }
.uai-core-course__module summary b { color: var(--card-accent); }
.uai-core-course__module::after { position: absolute; top: 0; right: 0; bottom: 0; width: 1px; content: ''; opacity: .5; background: linear-gradient(180deg, transparent, var(--card-accent), transparent); }
.uai-core-course__module[open] { border-left-color: var(--card-accent); }
.uai-core-course__lessons div span:first-child { color: var(--card-accent); }
.uai-core-course__lesson-row em { color: var(--card-accent); }
.uai-core-course__video-card { --card-accent: #087d77; }
.uai-core-course__video-card .uai-core-course__video-kicker { color: var(--card-accent); }
.uai-core-course__video-copy { background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--card-accent) 4%, #fff)); }
.uai-core-course__related-grid article { position: relative; overflow: hidden; }
.uai-core-course__related-grid article::after { position: absolute; right: -36px; bottom: -54px; width: 130px; height: 130px; content: ''; border: 1px solid color-mix(in srgb, var(--card-accent) 25%, transparent); border-radius: 50%; box-shadow: 0 0 0 14px color-mix(in srgb, var(--card-accent) 4%, transparent); }
.uai-core-course__related-grid article:nth-child(2) { --card-accent: #6d72c8; }
.uai-core-course__related-grid article:nth-child(3) { --card-accent: #c58b3c; }
.uai-core-course__related h3 a:hover { color: var(--card-accent); }
.uai-core-course a:focus-visible, .uai-core-course summary:focus-visible { outline: 3px solid rgba(215,255,114,.82); outline-offset: 3px; }
.uai-core-course__side-card { background: linear-gradient(155deg, #fff, #f4fbf6); }
.uai-core-course__side-card::before { display: block; width: 52px; height: 3px; margin-bottom: 18px; content: ''; border-radius: 99px; background: linear-gradient(90deg, var(--core-teal), var(--core-lime)); }
.uai-core-course__orientation + .uai-core-course__outcomes { background: linear-gradient(180deg, #fff 0%, #fbfefc 100%); }
.uai-core-course__body { background: radial-gradient(circle at 8% 20%, rgba(8,125,119,.05), transparent 24rem), #f5f8f7; }
.uai-core-course__video-library { background: radial-gradient(circle at 92% 30%, rgba(109,114,200,.06), transparent 25rem), #fff; }
.uai-core-course__related { background: radial-gradient(circle at 6% 40%, rgba(197,139,60,.055), transparent 24rem), #f5f8f7; }
@supports not (color: color-mix(in srgb, white, black)) {
    .uai-core-course__outcomes-grid article { background: #f7fbf8; }
    .uai-core-course__module { border-left-color: #b8d8c7; }
}
@media (prefers-reduced-motion: reduce) {
    .uai-core-course__hero-action, .uai-core-course__outcomes-grid article, .uai-core-course__related-grid article { transition: none; }
}

/* AI Automation White Belt signature layer. Scoped by course ID so the
   shared Core Player remains unchanged for every other course. */
.uai-core-course[data-course-id="AI-AUTOMATION-WHITE-BELT-DOANH-NGHIEP-001"] {
    --automation-cyan: #8bf5d0;
    --automation-lime: #d7ff72;
    --automation-violet: #aeb8ff;
}
.uai-core-course[data-course-id="AI-AUTOMATION-WHITE-BELT-DOANH-NGHIEP-001"] .uai-core-course__hero {
    background:
        radial-gradient(520px 340px at 86% 18%, rgba(139,245,208,.19), transparent 68%),
        radial-gradient(420px 320px at 8% 90%, rgba(174,184,255,.16), transparent 70%),
        linear-gradient(132deg, #04151d 0%, #073640 53%, #075c58 100%);
}
.uai-core-course[data-course-id="AI-AUTOMATION-WHITE-BELT-DOANH-NGHIEP-001"] .uai-core-course__hero::after,
.uai-core-course[data-course-id="AI-AUTOMATION-WHITE-BELT-DOANH-NGHIEP-001"] .uai-core-course__body::before,
.uai-core-course[data-course-id="AI-AUTOMATION-WHITE-BELT-DOANH-NGHIEP-001"] .uai-core-course__orientation::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .5;
    background-image: linear-gradient(rgba(139,245,208,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(139,245,208,.045) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(135deg, #000, transparent 80%);
}
.uai-core-course[data-course-id="AI-AUTOMATION-WHITE-BELT-DOANH-NGHIEP-001"] .uai-core-course__hero-inner { position: relative; }
.uai-core-course[data-course-id="AI-AUTOMATION-WHITE-BELT-DOANH-NGHIEP-001"] .uai-core-course__hero-copy h1 { max-width: 780px; letter-spacing: -.065em; text-shadow: 0 12px 42px rgba(0,0,0,.24); }
.uai-core-course[data-course-id="AI-AUTOMATION-WHITE-BELT-DOANH-NGHIEP-001"] .uai-core-course__hero-card { border-color: rgba(139,245,208,.32); box-shadow: 0 34px 90px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.14); }
.uai-core-course[data-course-id="AI-AUTOMATION-WHITE-BELT-DOANH-NGHIEP-001"] .uai-core-course__signal span { color: rgba(220,255,241,.8); }
.uai-core-course[data-course-id="AI-AUTOMATION-WHITE-BELT-DOANH-NGHIEP-001"] .uai-core-course__signal i { color: var(--automation-lime); text-shadow: 0 0 12px rgba(215,255,114,.7); }
.uai-core-course[data-course-id="AI-AUTOMATION-WHITE-BELT-DOANH-NGHIEP-001"] .uai-core-course__wayfinding { position: sticky; top: 0; backdrop-filter: blur(16px); }
.uai-core-course[data-course-id="AI-AUTOMATION-WHITE-BELT-DOANH-NGHIEP-001"] .uai-core-course__wayfinding-label { color: #087d77; }
.uai-core-course[data-course-id="AI-AUTOMATION-WHITE-BELT-DOANH-NGHIEP-001"] .uai-core-course__orientation,
.uai-core-course[data-course-id="AI-AUTOMATION-WHITE-BELT-DOANH-NGHIEP-001"] .uai-core-course__outcomes,
.uai-core-course[data-course-id="AI-AUTOMATION-WHITE-BELT-DOANH-NGHIEP-001"] .uai-core-course__body,
.uai-core-course[data-course-id="AI-AUTOMATION-WHITE-BELT-DOANH-NGHIEP-001"] .uai-core-course__video-library,
.uai-core-course[data-course-id="AI-AUTOMATION-WHITE-BELT-DOANH-NGHIEP-001"] .uai-core-course__related { position: relative; isolation: isolate; }
.uai-core-course[data-course-id="AI-AUTOMATION-WHITE-BELT-DOANH-NGHIEP-001"] .uai-core-course__orientation::before { opacity: .26; mask-image: radial-gradient(ellipse at 82% 10%, #000, transparent 68%); }
.uai-core-course[data-course-id="AI-AUTOMATION-WHITE-BELT-DOANH-NGHIEP-001"] .uai-core-course__body::before { opacity: .22; mask-image: radial-gradient(ellipse at 12% 50%, #000, transparent 68%); }
.uai-core-course[data-course-id="AI-AUTOMATION-WHITE-BELT-DOANH-NGHIEP-001"] .uai-core-course__outcomes-grid article,
.uai-core-course[data-course-id="AI-AUTOMATION-WHITE-BELT-DOANH-NGHIEP-001"] .uai-core-course__module { backdrop-filter: blur(10px); }
@media (max-width: 760px) {
    .uai-core-course[data-course-id="AI-AUTOMATION-WHITE-BELT-DOANH-NGHIEP-001"] .uai-core-course__wayfinding { top: 0; }
}

/* Shared reading scale: the shell stays spacious while course copy remains
   comfortably readable across desktop and mobile. */
.uai-core-course { font-size: 16px; }
.uai-core-course__section-head > p:last-child,
.uai-core-course__orientation-grid p,
.uai-core-course__outcomes-grid p,
.uai-core-course__video-copy p,
.uai-core-course__related p,
.uai-core-course__next p { font-size: 1rem; }
.uai-core-course__module summary strong,
.uai-core-course__lesson-row strong { font-size: 1rem; line-height: 1.45; }
.uai-core-course__lesson-row small,
.uai-core-course__lesson-row em,
.uai-core-course__side-card small { font-size: .875rem; }
.uai-core-course__playlist-copy em { font-size: .95rem; }
@media (min-width: 761px) {
    body.single-ungdung_ai_khoa_hoc .site-header .main-navigation .menu > li > a,
    body.single-ungdung_ai_bai_hoc .site-header .main-navigation .menu > li > a { font-size: .875rem; }
    body.single-ungdung_ai_khoa_hoc .site-footer .footer-column li,
    body.single-ungdung_ai_bai_hoc .site-footer .footer-column li { font-size: .875rem; }
}

/* Final CiCC override: the fixed desktop header occupies the first 104px. */
@media (min-width: 761px) {
    .uai-core-trial .wb-hero { padding-top: 132px; }
}
