/* Dedicated course pages */
.course-hero {
    padding-top: calc(7.5rem + var(--topbar-h) + 1.5rem); padding-bottom: 3.5rem; color: #fff;
    background: radial-gradient(circle at 85% 10%, rgba(14,165,233,.35), transparent 45%),
                linear-gradient(135deg, #14286a 0%, var(--primary-color) 55%, #0b6aa8 100%);
}
.course-crumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.6); --bs-breadcrumb-item-active-color: rgba(255,255,255,.85); margin-bottom: 1.25rem; }
.course-crumb a { color: #fff; text-decoration: none; }
.course-crumb a:hover { text-decoration: underline; }
.course-eyebrow { display: inline-block; margin-bottom: .9rem; padding: .35rem .9rem; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; }
.course-h1 { color: #fff; font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; margin-bottom: 1rem; }
.course-lead { max-width: 680px; font-size: 1.15rem; color: rgba(255,255,255,.9); }
.course-chip { display: inline-flex; align-items: center; padding: .45rem .9rem; font-size: .9rem; font-weight: 600; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; }
.course-hero .btn { font-weight: 600; }
.course-hero .btn-light { color: var(--primary-color); }
.course-hero .btn-outline-light:hover { color: var(--primary-color); }

.course-body { padding: 3rem 0 4.5rem; background: #f4f7fb; }
.course-card-x { border: 1px solid #e5e9f0; border-radius: 14px; box-shadow: var(--shadow-sm); }
.course-card-x .card-body { padding: 1.75rem; }
.course-card-x h2 { color: var(--primary-color); font-weight: 700; margin-bottom: 1rem; }
.course-list { list-style: none; padding: 0; margin: 0; }
.course-list li { position: relative; padding: .45rem 0 .45rem 1.8rem; }
.course-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; top: .55rem; color: var(--success-color); }
.course-fac { padding: .8rem 1rem; font-weight: 600; color: var(--primary-color); background: rgba(30,58,138,.06); border-radius: 10px; }
.course-side { position: sticky; top: calc(var(--topbar-h) + 120px); } /* wraps both sidebar cards so they scroll together */
.course-dl dt { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6b7280; margin-top: .75rem; }
.course-dl dd { margin: 0; font-weight: 600; }
.course-others { list-style: none; padding: 0; margin: 0; }
.course-others li { padding: .55rem 0; border-bottom: 1px solid #eef2f7; }
.course-others li:last-child { border-bottom: 0; }
.course-others a { font-weight: 600; text-decoration: none; }
@media (max-width: 991.98px) { .course-side { position: static; } }

/* About page */
.about-stat { height: 100%; padding: 1.25rem 1rem; background: #fff; border: 1px solid #e5e9f0; border-radius: 14px; box-shadow: var(--shadow-sm); }
.about-stat strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--primary-color); line-height: 1.2; }
.about-stat span { display: block; margin-top: .35rem; font-size: .85rem; color: #6b7280; }
.about-course { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; text-decoration: none; color: var(--primary-color); background: rgba(30,58,138,.05); border: 1px solid transparent; border-radius: 12px; transition: border-color .2s, background .2s; }
.about-course:hover, .about-course:focus-visible { background: #fff; border-color: var(--secondary-color); }
.about-course > i:first-child { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; color: #fff; background: var(--primary-color); border-radius: 10px; }
.about-course small { display: block; color: #6b7280; }
