:root { --details-ink:#2b202c; --details-panel:#2f2633; --details-rose:#d76f8b; --details-muted:#bbaebc; }
.course-details-page { min-height:100vh; color:#f9eef2; background:radial-gradient(circle at 12% 14%,rgba(184,109,141,.16),transparent 26rem),linear-gradient(145deg,#19141f,#29202e 66%,#211824); }
.course-details-page .site-header { position:relative; top:auto; left:auto; right:auto; transform:none; width:min(calc(100% - 40px),1480px); margin:26px auto 0; background:rgba(29,23,34,.72); border-bottom:1px solid rgba(255,255,255,.09); }
.course-details-shell { width:min(1120px,calc(100% - 40px)); min-height:66vh; margin:0 auto; padding:54px 0 80px; }
.course-details-back { display:inline-flex; min-height:42px; align-items:center; padding:0 15px; color:#f8e7ee; border:1px solid rgba(255,255,255,.2); border-radius:999px; font-size:13px; font-weight:800; transition:background-color .2s ease,border-color .2s ease; }.course-details-back:hover { background:rgba(255,255,255,.08); border-color:rgba(244,177,198,.64); }
.course-details-status { display:grid; min-height:260px; place-items:center; color:var(--details-muted); font-weight:700; text-align:center; }.course-details-status[hidden] { display:none; }.course-details-status.is-error { color:#ffd5df; }
.course-details-content { opacity:0; transform:translateY(10px); }.course-details-shell.is-ready .course-details-content { opacity:1; transform:translateY(0); transition:opacity .3s ease,transform .3s ease; }
.course-details-hero { max-width:790px; padding:70px 0 38px; }.course-details-hero .eyebrow { margin:0 0 14px; color:#e7a1b7; font-size:14px; font-weight:800; }.course-details-hero h1 { margin:0; color:#fff4f7; font-size:clamp(40px,7vw,76px); line-height:1.1; }.course-details-accent { margin:16px 0 0; color:#ef9db5; font-size:clamp(18px,2.4vw,25px); font-weight:800; }.course-details-description { max-width:710px; margin:20px 0 0; color:#ded0d9; font-size:16px; line-height:2; }.course-details-stats { display:flex; flex-wrap:wrap; gap:9px; margin-top:24px; }.course-details-stats span { padding:8px 13px; color:#f8e7ee; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.16); border-radius:999px; font-size:13px; font-weight:800; }
.course-details-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,340px); gap:23px; align-items:start; }.course-details-section,.course-details-action { padding:28px; background:rgba(60,48,65,.72); border:1px solid rgba(255,255,255,.13); border-radius:24px; box-shadow:0 18px 50px rgba(7,4,11,.18); }.course-details-section h2 { margin:0; color:#fff3f6; font-size:clamp(23px,3vw,34px); line-height:1.3; }.course-details-includes { display:grid; gap:11px; margin:20px 0 0; padding:0; list-style:none; }.course-details-includes li { position:relative; padding-right:24px; color:#e1d2db; line-height:1.7; }.course-details-includes li::before { content:'✦'; position:absolute; right:0; color:#f2a5bc; }
.course-details-action { position:sticky; top:24px; text-align:center; }.course-action-kicker { margin:0 0 9px; color:#e7a2b8; font-size:13px; font-weight:800; }.course-details-action strong { display:block; margin-bottom:12px; color:#fff4f7; font-family:'Cormorant Garamond','Tajawal',serif; font-size:42px; }.course-details-action > p:not(.course-action-kicker) { margin:0 0 20px; color:#d9cad3; font-size:13px; line-height:1.85; }.course-details-action .button { width:100%; justify-content:center; }
.course-details-content > .course-details-section { margin-top:23px; }.course-details-section .eyebrow { margin:0 0 8px; color:#e8a4b9; font-size:13px; font-weight:800; }
.course-details-page .courses-footer { color:#d7c5d0; background:rgba(17,13,21,.56); }.course-details-page .courses-footer a { color:#e9bac9; }.course-details-page .courses-footer .footer-info-links { padding:14px 12px 16px; }
html[data-theme='light'] .course-details-page { color:#583a49; background:radial-gradient(circle at 12% 14%,rgba(218,153,175,.24),transparent 26rem),#fff8f5; }html[data-theme='light'] .course-details-page .site-header { background:rgba(255,249,247,.88); }html[data-theme='light'] .course-details-hero h1,html[data-theme='light'] .course-details-section h2,html[data-theme='light'] .course-details-scenarios h3,html[data-theme='light'] .course-details-action strong { color:#563846; }html[data-theme='light'] .course-details-description,html[data-theme='light'] .course-details-section p,html[data-theme='light'] .course-details-includes li,html[data-theme='light'] .course-details-action > p:not(.course-action-kicker) { color:#7e6570; }html[data-theme='light'] .course-details-section,html[data-theme='light'] .course-details-action { background:rgba(255,255,255,.78); border-color:rgba(178,123,115,.2); box-shadow:0 18px 50px rgba(107,68,70,.08); }html[data-theme='light'] .course-details-scenarios article { background:rgba(251,237,232,.64); border-color:rgba(178,123,115,.14); }
@media (max-width:760px) { .course-details-shell { width:calc(100% - 32px); padding:32px 0 54px; }.course-details-hero { padding:45px 0 27px; text-align:center; }.course-details-description { font-size:14px; line-height:1.9; }.course-details-stats { justify-content:center; }.course-details-grid { grid-template-columns:1fr; }.course-details-section,.course-details-action { padding:22px 18px; border-radius:20px; }.course-details-action { position:static; }.course-details-scenarios { grid-template-columns:1fr; }.course-details-page .courses-footer { flex-wrap:wrap; text-align:center; } }
@media (prefers-reduced-motion:reduce) { .course-details-content,.course-details-shell.is-ready .course-details-content { opacity:1; transform:none; transition:none; } }
@media (max-width:760px) {
  .course-details-page .site-header { width:calc(100% - 24px); min-height:62px; margin:11px auto 0; padding:7px 10px; gap:8px; }
}
@media (max-width:420px) {
  .course-details-shell { width:calc(100% - 24px); }
  .course-details-page .site-header { width:calc(100% - 20px); min-height:58px; margin-top:11px; padding:6px 8px; gap:5px; }
  .course-details-page .brand { gap:4px; }
  .course-details-hero h1 { font-size:clamp(30px,10vw,40px); overflow-wrap:anywhere; }
  .course-details-accent { font-size:clamp(16px,5vw,20px); }
  .course-details-section,.course-details-action { padding:18px 14px; }
  .course-details-section h2 { font-size:clamp(21px,6vw,25px); }
  .course-details-stats span { padding:7px 10px; font-size:11px; }
}

/* A quiet brand watermark gives the course introduction a little more life. */
.course-details-hero { position:relative; isolation:isolate; }
.course-details-hero::before { content:""; position:absolute; z-index:0; top:4%; right:7%; width:clamp(170px,28vw,280px); aspect-ratio:1; background:url("../assets/brand-lotus.svg") center / contain no-repeat; opacity:.11; pointer-events:none; animation:course-logo-drift 8s ease-in-out infinite; }
.course-details-hero > * { position:relative; z-index:1; }
@keyframes course-logo-drift { 0%,100% { transform:translateY(0) rotate(-1deg); } 50% { transform:translateY(-7px) rotate(1deg); } }
html[data-theme='light'] .course-details-hero::before { opacity:.09; }
@media (max-width:760px) { .course-details-hero::before { top:2%; right:0; left:0; width:clamp(165px,52vw,220px); margin-inline:auto; } }
@media (prefers-reduced-motion:reduce) { .course-details-hero::before { animation:none; } }

/* Keep the support and social links as two easy-to-scan footer groups. */
.course-details-page .courses-footer { display:flex; flex-direction:column; align-items:center; gap:12px; margin-top:28px; padding:22px 12px 24px; }
.course-details-page .courses-footer .footer-info-links,.course-details-page .courses-footer .footer-social-links { flex:0 0 auto; width:100%; }
.course-details-page .courses-footer .footer-info-links { padding:0; }
.course-details-page .courses-footer .footer-social-links { display:flex; align-items:center; gap:10px; }
.course-details-page .courses-footer .footer-social-links a { display:grid; width:36px; aspect-ratio:1; place-items:center; border:1px solid rgba(233,186,201,.34); border-radius:50%; }
.course-details-page .courses-footer .footer-social-links svg { width:18px; fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.5; }
.course-details-page .courses-footer .footer-social-links a:last-child svg { fill:currentColor; stroke:none; }
