@import url("bseri-fonts.css");
@import url("bseri-colors.css");

/* CMSP course page — migrated from certified-management-systems-practitioner-cmsp.php (hero rules preserved) */
/* Social Sharing Buttons */
.btn-linkedin {
    background-color: #0077b5;
    border-color: #0077b5;
    color: var(--color-text-inverse);
}
.btn-linkedin:hover {
    background-color: #005885;
    border-color: #005885;
    color: var(--color-text-inverse);
}

.btn-twitter {
    background-color: #1da1f2;
    border-color: #1da1f2;
    color: var(--color-text-inverse);
}
.btn-twitter:hover {
    background-color: #0d8bd9;
    border-color: #0d8bd9;
    color: var(--color-text-inverse);
}

.btn-whatsapp {
    background-color: #25d366;
    border-color: #25d366;
    color: var(--color-text-inverse);
}
.btn-whatsapp:hover {
    background-color: #1ebe57;
    border-color: #1ebe57;
    color: var(--color-text-inverse);
}

/* Quiz Styles */
.quiz-question {
    display: none;
}
.quiz-question.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.question-number {
    background: var(--bs-primary);
    color: var(--color-text-inverse);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.form-check-label {
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
}

.form-check-label:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}

.timeline-item {
    padding-left: 1.5rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.75rem;
    height: 0.75rem;
    background-color: var(--bs-primary);
    border-radius: 50%;
}

/* Social Sharing Grid */
.social-sharing-grid .btn {
    padding: 0.75rem 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.social-sharing-grid .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.fab-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fab-main {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.fab-main:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.fab-main.active {
    transform: rotate(45deg);
}

.fab-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fab-options.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-option {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--bs-primary);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.fab-option:hover {
    background: var(--bs-primary);
    color: var(--color-text-inverse);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .floating-actions {
        bottom: 1rem;
        right: 1rem;
    }
    
    .fab-main {
        width: 48px;
        height: 48px;
    }
    
    .fab-option {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Hide FAB on very small screens */
@media (max-width: 480px) {
    .floating-actions {
        display: none;
    }
}

/* Enhanced FAQ Styles */
.accordion-item {
    border-radius: 0.75rem !important;
    overflow: hidden;
    margin-bottom: 1rem;
}

.accordion-button {
    background-color: #f8f9fa;
    border: none;
    font-weight: 600;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: var(--bs-primary);
    color: var(--color-text-inverse);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.accordion-body {
    padding: 1.5rem;
    background-color: var(--color-text-inverse);
}

.feature-box {
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: #f8f9fa;
    margin-bottom: 1rem;
    transition: transform 0.2s ease;
}

.feature-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Compact share button hover effects */
.share-btn-compact:hover {
    transform: translateY(-2px) scale(1.05);
}

.share-btn-compact.share-linkedin:hover {
    background: #005885 !important;
    box-shadow: 0 4px 12px rgba(0,119,181,0.4) !important;
}

.share-btn-compact.share-twitter:hover {
    background: #1a91da !important;
    box-shadow: 0 4px 12px rgba(29,161,242,0.4) !important;
}

.share-btn-compact.share-whatsapp:hover {
    background: #1fbe58 !important;
    box-shadow: 0 4px 12px rgba(37,211,102,0.4) !important;
}

.share-btn-compact.share-email:hover {
    background: #b91c1c !important;
    box-shadow: 0 4px 12px rgba(220,38,38,0.4) !important;
}

.share-btn-compact.share-copy:hover {
    background: #4b5563 !important;
    box-shadow: 0 4px 12px rgba(107,114,128,0.4) !important;
}

/* Share section responsive improvements */
@media (max-width: 768px) {
    .share-buttons-grid {
        gap: 0.5rem !important;
    }
    .share-btn-compact {
        min-width: 90px !important;
        padding: 0.4rem 0.75rem !important;
        font-size: 0.8rem !important;
    }
    .share-section {
        height: auto !important;
        padding: 1.5rem 0 !important;
    }
}

@media (max-width: 480px) {
    .share-buttons-grid {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }
    .share-btn-compact {
        width: 100% !important;
        max-width: 200px !important;
        min-width: unset !important;
    }
}

/* ── Course explorer: PECB / ISACA-style reading column + sticky utility rail ── */
.course-explorer-section {
    background: var(--color-bg, #fff);
    padding-top: clamp(2rem, 4vw, 3rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.course-explorer {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Body: single main column; rail floats inside it (PECB-style) */
.course-explorer-body,
.course-explorer-body-main {
    min-width: 0;
}

@media (min-width: 992px) {
    .course-explorer-body-main {
        display: flow-root;
    }
}

.course-explorer-page-head {
    margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
    text-align: left;
}

.course-explorer-page-head .course-explorer-eyebrow {
    margin-bottom: 0.35rem;
}

.course-explorer-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.2;
    color: var(--about-navy, var(--color-about-navy));
}

.course-explorer-lead {
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    padding-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
    border-bottom: 1px solid var(--about-border, #e2e8f0);
}

.course-explorer-lead .cmsp-program-overview-copy {
    max-width: 65ch;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text, #334155);
}

.course-explorer-lead .cmsp-program-overview-copy p:last-child {
    margin-bottom: 0;
}

.course-tab-pane-heading {
    display: none;
    margin: 0 0 1rem;
    font-family: var(--font-family-serif, Georgia, serif);
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: var(--about-navy, var(--color-about-navy));
    line-height: 1.25;
}

@media (max-width: 991.98px) {
    .course-tab-pane-heading {
        display: block;
    }
}

.course-explorer-content {
    min-width: 0;
}

.course-explorer-body-main .course-tab-content {
    padding: 0;
    margin: 0;
    border: none;
}

.course-explorer-body-main .cmsp-tab-pane-readable {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

/* Floating rail — float right inside body; sticky while tab content scrolls */
.course-explorer-rail {
    min-width: 0;
    width: 100%;
    margin-bottom: 1.25rem;
}

.course-explorer-rail-inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 992px) {
    .course-explorer-rail {
        float: right;
        width: min(300px, 34%);
        max-width: 300px;
        margin: 0 0 1.5rem clamp(1.5rem, 3vw, 2.5rem);
        position: sticky;
        top: calc(5rem + env(safe-area-inset-top, 0px));
        z-index: 2;
    }

    .course-explorer-rail-inner {
        max-height: calc(100vh - 6rem - env(safe-area-inset-top, 0px));
        overflow-y: auto;
        padding: 1.15rem;
        background: var(--about-surface, #f8fafc);
        border: 1px solid var(--about-border, #e2e8f0);
        border-radius: 0.5rem;
        box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
        scrollbar-width: thin;
    }

    .course-explorer-content {
        overflow: hidden; /* establish BFC beside float */
    }
}

.course-explorer-rail-cta-links {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.course-explorer-rail-label,
.course-explorer-rail-block-title {
    margin: 0 0 0.65rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted, #64748b);
}

.course-explorer-rail-block-title {
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--about-navy, var(--color-about-navy));
}

.course-explorer-rail-cta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.course-explorer-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    line-height: 1.3;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.course-explorer-cta-btn--primary {
    background: var(--about-navy, #1a2952);
    border: 1px solid var(--about-navy, #1a2952);
    color: var(--color-text-inverse, #fff);
    box-shadow: 0 2px 8px rgba(26, 41, 82, 0.2);
}

.course-explorer-cta-btn--primary:hover {
    background: var(--color-about-accent, #2563eb);
    border-color: var(--color-about-accent, #2563eb);
    color: #fff;
}

.course-explorer-cta-btn--secondary {
    background: #fff;
    border: 1px solid var(--about-border, #cbd5e1);
    color: var(--about-navy, var(--color-about-navy));
}

.course-explorer-cta-btn--secondary:hover {
    border-color: var(--about-navy, #1a2952);
    background: #fff;
    color: var(--about-navy, var(--color-about-navy));
}

/* Section nav — text links with left accent (not pill boxes) */
.course-explorer-section-nav {
    padding-top: 0.25rem;
    border-top: 1px solid var(--about-border, #e2e8f0);
}

.course-section-nav {
    gap: 0.1rem;
}

.course-section-nav-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.5rem 0.65rem 0.5rem 0.75rem;
    margin: 0;
    border: none;
    border-left: 3px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--color-text, #475569);
    font-size: 0.875rem;
    font-weight: 500;
    text-align: left;
    line-height: 1.35;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.course-section-nav-link .bi {
    flex-shrink: 0;
    font-size: 1rem;
    opacity: 0.75;
}

.course-section-nav-link:hover,
.course-section-nav-link:focus-visible {
    color: var(--about-navy, var(--color-about-navy));
    background: rgba(26, 41, 82, 0.05);
    border-left-color: var(--about-gold, #c4a35a);
}

.course-section-nav-link.active {
    color: var(--about-navy, var(--color-about-navy));
    font-weight: 600;
    background: rgba(26, 41, 82, 0.07);
    border-left-color: var(--about-navy, #1a2952);
}

.course-explorer-rail-block {
    padding-top: 1rem;
    border-top: 1px solid var(--about-border, #e2e8f0);
}

.course-explorer-rail-block-text {
    margin: 0 0 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--color-text-muted, #64748b);
}

.course-explorer-rail-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.875rem;
    font-weight: 600;
    /* Navy link on light rail — not --color-about-accent (periwinkle is too pale here) */
    color: var(--about-navy, var(--color-primary, #1c4484));
    text-decoration: underline;
    text-decoration-color: rgba(28, 68, 132, 0.35);
    text-underline-offset: 0.15em;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.course-explorer-rail-link:hover,
.course-explorer-rail-link:focus-visible {
    color: var(--color-primary-hover, #163666);
    text-decoration-color: currentColor;
}

.course-explorer-rail-link .bi {
    opacity: 0.85;
}

.course-explorer-related-list li + li {
    margin-top: 0.25rem;
}

/* Mobile: intro → rail (CTAs + nav) → tab content */
@media (max-width: 991.98px) {
    .course-explorer-rail-inner {
        padding: 0;
        background: transparent;
        border: none;
        position: static;
        max-height: none;
        overflow: visible;
    }

    .course-explorer-section-nav {
        border-top: none;
        padding-top: 0;
    }

    .course-section-nav {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.35rem;
        padding-bottom: 0.25rem;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .course-section-nav .nav-item {
        flex: 0 0 auto;
    }

    .course-section-nav-link {
        white-space: nowrap;
        border-left: none;
        border-bottom: 2px solid transparent;
        border-radius: 0.25rem;
        padding: 0.45rem 0.75rem;
        background: var(--about-surface, #f1f5f9);
    }

    .course-section-nav-link.active {
        border-bottom-color: var(--about-navy, #1a2952);
        background: #fff;
    }
}

.course-tab-content {
    min-height: 0;
}

/*
 * Course explorer tabs: ONLY the active pane may participate in layout.
 * Never force #overview-content { display: block } — that overrides Bootstrap’s
 * hidden state (ID beats .tab-pane) and stacks every other tab’s content below
 * the full height of Overview (massive scroll / “content far from pills”).
 */
.course-explorer .course-tab-content > .tab-pane {
    display: none;
    margin: 0;
}

.course-explorer .course-tab-content > .tab-pane.active {
    display: block;
    animation: cmspTabFadeIn 0.28s ease-out;
}

/* Tab content: tuck panel directly under pill row */
.tab-content.cmsp-tab-rhythm {
    padding-top: clamp(0.75rem, 2vw, 1.25rem);
    margin-top: 0;
    border-top: 1px solid rgba(26, 41, 82, 0.08);
}

.course-explorer .overview-section {
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.course-explorer-content .section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--about-navy, var(--color-about-navy));
    margin-bottom: 1rem;
}

.course-explorer-content .about-callout {
    margin-bottom: 1.25rem;
}

.course-explorer .overview-section:last-child {
    margin-bottom: 0;
}

/* Ensure tab content starts close to navigation */
.tab-pane .details-header,
.tab-pane .curriculum-header,
.tab-pane .outcomes-header,
.tab-pane .support-header {
    margin-top: 0;
    padding-top: 0;
}

/* Reduce spacing for first elements in tabs */
.tab-pane > *:first-child {
    margin-top: 0;
}

/* Additional spacing reduction for tab content */
.tab-pane .overview-section:first-child,
.tab-pane .details-header:first-child,
.tab-pane .curriculum-header:first-child,
.tab-pane .outcomes-header:first-child,
.tab-pane .support-header:first-child {
    margin-top: 0;
    padding-top: 0;
}

/* Specific spacing control for Details tab */
#details-content .details-header {
    margin-top: 0;
    padding-top: 0;
}

/* Ensure all tab content starts close to navigation */
.tab-pane.active .details-header,
.tab-pane.active .curriculum-header,
.tab-pane.active .outcomes-header,
.tab-pane.active .support-header {
    margin-top: 0;
    padding-top: 0;
}

@keyframes cmspTabFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .course-explorer .course-tab-content > .tab-pane.active {
        animation: none;
    }
}

/* Content Cards */
.content-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--color-primary);
}

.content-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--color-text-inverse);
    font-size: 1.25rem;
}

/* Curriculum Modules */
.curriculum-module {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.curriculum-module:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.1);
}

.module-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.module-number {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-text-inverse);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-right: 0.75rem;
}

.module-topics {
    list-style: none;
    padding: 0;
    margin: 0;
}

.module-topics li {
    padding: 0.25rem 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.module-topics li::before {
    content: '•';
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* Outcome Items */
.outcome-item {
    display: flex;
    align-items: flex-start;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.outcome-item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.1);
}

.outcome-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-success) 0%, var(--color-success-dark) 100%);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-inverse);
    font-size: 1.1rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.outcome-content h6 {
    color: var(--color-text-heading);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Support Cards */
.support-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.support-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.1);
    transform: translateY(-2px);
}

.support-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-tertiary) 0%, var(--color-primary-light) 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-inverse);
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

/* Responsive: cards inside explorer */
@media (max-width: 768px) {
    .content-card {
        padding: 1rem;
    }

    .curriculum-module {
        padding: 1rem;
    }

    .outcome-item {
        padding: 1rem;
    }

    .support-card {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    /* Mobile enrollment table (full-bleed only inside course explorer) */
    .course-explorer .enrollment-table {
        margin: 0 -0.5rem;
        border-radius: 0.5rem;
    }

    .enrollment-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1rem;
    }

    .enrollment-row.header-row {
        display: none;
    }

    .col-audience {
        margin-bottom: 0.5rem;
    }

    .col-scenario {
        padding-left: 1rem;
        border-left: 3px solid var(--color-border);
    }
}

/* Enhanced Tab Content Styles */

/* Delivery Options */
.delivery-option {
    background: white;
    border: 2px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.delivery-option:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 78, 216, 0.15);
}

.option-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.option-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 1rem;
}

.option-badge.standard {
    background: linear-gradient(135deg, var(--color-success) 0%, var(--color-success-dark) 100%);
    color: var(--color-text-inverse);
}

.option-badge.accelerated {
    background: linear-gradient(135deg, var(--color-tertiary-dark) 0%, var(--color-primary) 100%);
    color: var(--color-text-inverse);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-bg-subtle);
}

.detail-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.detail-label {
    font-weight: 600;
    color: var(--gray-700);
    flex-shrink: 0;
    margin-right: 1rem;
}

.delivery-option .cmsp-detail-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--about-text, var(--color-about-text));
    text-align: right;
    line-height: 1.35;
}

/* Detail Cards */
.detail-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.detail-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.1);
    transform: translateY(-2px);
}

.detail-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-inverse);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Skill Level & Value Prop Cards */
.skill-level-card, .value-prop-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

.skill-level-card:hover, .value-prop-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.1);
    transform: translateY(-2px);
}

.skill-badge, .value-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.skill-badge {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: var(--color-text-inverse);
}

.value-badge {
    background: linear-gradient(135deg, var(--color-tertiary) 0%, var(--color-primary-light) 100%);
    color: var(--color-cta-text);
}

.skill-description, .value-description {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Quick Action Card */
.quick-action-card {
    background: linear-gradient(135deg, var(--color-bg-muted) 0%, var(--color-border) 100%);
    border: 1px solid var(--color-surface-3);
    border-radius: 0.75rem;
    padding: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Overview Tab Styles */
.overview-section {
    margin-bottom: 2rem;
}

.section-title {
    color: var(--color-text-heading);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Enrollment Table */
.enrollment-table {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.enrollment-row {
    display: grid;
    grid-template-columns: minmax(11rem, 1fr) 2fr;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--color-bg-subtle);
    align-items: center;
}

.enrollment-row:last-child {
    border-bottom: none;
}

.enrollment-row.header-row {
    background: linear-gradient(135deg, var(--color-bg-muted) 0%, var(--color-border) 100%);
    font-weight: 600;
    color: var(--color-text-heading);
}

.role-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-inverse);
}

.role-badge.quality {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
}

.role-badge.operations {
    background: linear-gradient(135deg, var(--color-success) 0%, var(--color-success-dark) 100%);
}

.role-badge.process {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.role-badge.management {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
}

.col-scenario {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

/* Plain Words Callout */
.plain-words-callout {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid var(--color-highlight);
    border-radius: 0.75rem;
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    margin-top: 1.5rem;
}

.callout-icon {
    width: 40px;
    height: 40px;
    background: var(--color-highlight);
    color: var(--color-text-inverse);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.callout-content {
    color: #92400e;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Enhanced Outcome Items */
.outcome-item.enhanced {
    position: relative;
    overflow: hidden;
}

.outcome-item.enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--color-success) 0%, var(--color-success-dark) 100%);
}

.outcome-item.enhanced.certification::before {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
}

.outcome-item.enhanced.deliverable::before {
    background: linear-gradient(135deg, var(--color-tertiary-dark) 0%, var(--color-primary) 100%);
}

/* Deliverable Highlight */
.deliverable-highlight {
    background: linear-gradient(135deg, var(--color-primary-100) 0%, #bfdbfe 100%);
    border: 1px solid var(--color-primary-light);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.highlight-content {
    display: flex;
    align-items: flex-start;
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    color: var(--color-text-inverse);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: 1.25rem;
    flex-shrink: 0;
}

.highlight-text h6 {
    color: var(--color-primary-hover);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.highlight-text p {
    color: var(--color-primary-hover);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive Design for Enhanced Content */
@media (max-width: 768px) {
    .enrollment-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        text-align: center;
    }
    
    .detail-row {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }
    
    .delivery-option .cmsp-detail-value {
        text-align: center;
    }
    
    .plain-words-callout {
        flex-direction: column;
        text-align: center;
    }
    
    .callout-icon {
        margin: 0 auto 1rem;
    }
    
    .highlight-content {
        flex-direction: column;
        text-align: center;
    }
    
    .highlight-icon {
        margin: 0 auto 1rem;
    }
}

@media (max-width: 576px) {
    .delivery-option, .detail-card, .skill-level-card, .value-prop-card {
        padding: 1rem;
    }
    
    .role-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
}

/* Hero Section Height Control */
.cmsp-course-page .hero:not(.about-hero) {
    height: 500px !important;
    min-height: 500px !important;
    max-height: 500px !important;
    overflow: hidden;
}

/* When we reuse About hero styles on course pages, allow card shadows */
.cmsp-course-page .about-hero {
    overflow: visible;
}

/* Course hero lead copy — wider than default about-hero .lead (640px) */
.cmsp-course-page .about-hero .hero-content .lead {
    max-width: 840px;
}

.cmsp-course-page .hero:not(.about-hero) .container {
    height: 100%;
}

.cmsp-course-page .hero:not(.about-hero) .row {
    height: 100%;
    align-items: center;
}

.cmsp-course-page .hero:not(.about-hero) .hero-content {
    max-height: 100%;
    overflow: hidden;
}

.cmsp-course-page .hero:not(.about-hero) .hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.cmsp-course-page .hero:not(.about-hero) .hero-content .lead {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.hero-badges {
    margin-bottom: 1.5rem;
}

.hero-badges .badge {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
}

@media (max-width: 768px) {
    .cmsp-course-page .hero:not(.about-hero) .hero-content h1 {
        font-size: 2rem;
    }
    
    .cmsp-course-page .hero:not(.about-hero) .hero-content .lead {
        font-size: 1rem;
    }
}

/* --- CMSP page: editorial / About-aligned additions (post-hero; hero block above unchanged) --- */
.bg-about-surface {
    background: var(--about-surface, #f4f6fb);
}

.cmsp-scroll-target {
    scroll-margin-top: 4.5rem;
}

/* Readable line length inside explorer tabs (reduces “stretched” detail rows on wide screens) */
.cmsp-tab-pane-readable {
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}

.cmsp-quiz-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.cmsp-quiz-header {
    background: linear-gradient(135deg, var(--about-navy, var(--color-about-navy)) 0%, var(--color-about-accent) 100%) !important;
    border: none;
    padding: 1.25rem 1rem;
}

.cmsp-quiz-title {
    font-family: var(--font-family-serif);
    font-size: 1.35rem;
}

.quiz-step {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--color-border);
    color: var(--color-text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.quiz-step.active {
    background: linear-gradient(135deg, var(--about-navy, var(--color-about-navy)) 0%, var(--color-about-accent) 100%);
    color: var(--color-text-inverse);
}

.quiz-step-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem 0.5rem;
    margin-bottom: 1.25rem;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
}

.quiz-step-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
}

.quiz-step-caption {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--about-muted, #6b6b8d);
    line-height: 1.2;
}

/* Quiz nav: one progress bar; desktop = prev | bar | next; mobile = bar full width then buttons */
.cmsp-quiz-nav {
    display: grid;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .cmsp-quiz-nav {
        grid-template-columns: auto minmax(120px, 1fr) auto;
    }

    .cmsp-q-progress {
        min-width: 0;
    }
}

@media (max-width: 767.98px) {
    .cmsp-quiz-nav {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .cmsp-q-progress {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .cmsp-q-prev {
        grid-column: 1;
        grid-row: 2;
        justify-self: start;
    }

    .cmsp-q-next {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
    }
}

.cmsp-quiz-progress {
    height: 0.45rem;
    border-radius: 999px;
    max-width: 100%;
}

.cmsp-plain-words-callout {
    margin-top: 2rem !important;
    border-color: rgba(201, 168, 76, 0.45) !important;
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.65) 0%, rgba(253, 230, 138, 0.5) 100%) !important;
}

.share-section.cmsp-share-section {
    min-height: unset !important;
    height: auto !important;
    padding: 2rem 0 !important;
    display: flex !important;
    align-items: center !important;
    background: linear-gradient(135deg, var(--color-bg-muted) 0%, var(--color-border) 100%);
    scroll-margin-top: 5rem;
}

.share-section.cmsp-share-section .share-btn-compact:focus-visible {
    outline: 3px solid rgba(29, 78, 216, 0.45);
    outline-offset: 2px;
}

.cmsp-faq-section {
    background: var(--about-surface, #f4f6fb);
    padding: 3rem 0;
}

.cmsp-faq-section .cmsp-faq-row {
    align-items: flex-start;
}

.cmsp-faq-row .accordion-button {
    font-size: 0.95rem;
}

/* ============================================================
   Compact FAQ grid (May 2026 redesign)
   Two-column responsive grid of independently-collapsible cards
   with category-driven accents. Schema: faq.items[].{category, icon}
   ============================================================ */

.cmsp-faq-section .faq-grid {
    --faq-cat-color: var(--color-text-muted, #64748b);
    --faq-cat-bg:    var(--color-surface, #eef1f8);
    --faq-cat-tint:  rgba(100, 116, 139, 0.04);
}

.faq-grid .faq-card {
    background: #fff;
    border: 1px solid var(--color-border, #c3cbe4);
    border-left: 3px solid var(--faq-cat-color);
    border-radius: 12px;
    overflow: hidden;
    transition:
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
    height: 100%;
}

.faq-grid .faq-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 24, 40, 0.07);
    border-color: var(--color-border-dark, #9aaad3);
    border-left-color: var(--faq-cat-color);
}

.faq-grid .faq-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    background: transparent;
    border: 0;
    text-align: left;
    font-family: var(--font-family-sans, var(--font-family-base, inherit));
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.35;
    color: var(--color-text, #0f172a);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.faq-grid .faq-card__head:hover {
    color: var(--color-primary, #1c4484);
}

.faq-grid .faq-card__head:focus-visible {
    outline: 2px solid var(--color-primary, #1c4484);
    outline-offset: 2px;
}

.faq-grid .faq-card__icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--faq-cat-bg);
    color: var(--faq-cat-color);
    font-size: 1rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.faq-grid .faq-card__question {
    flex: 1 1 auto;
    min-width: 0;
}

.faq-grid .faq-card__chevron {
    flex: 0 0 auto;
    color: var(--color-text-muted, #64748b);
    font-size: 0.85rem;
    transition: transform 0.25s ease, color 0.2s ease;
}

.faq-grid .faq-card__head[aria-expanded="true"] {
    background: var(--faq-cat-tint);
    color: var(--color-primary, #1c4484);
}

.faq-grid .faq-card__head[aria-expanded="true"] .faq-card__icon {
    background: var(--faq-cat-color);
    color: #fff;
}

.faq-grid .faq-card__head[aria-expanded="true"] .faq-card__chevron {
    transform: rotate(180deg);
    color: var(--faq-cat-color);
}

.faq-grid .faq-card__answer {
    padding: 0 16px 16px 60px;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--color-text-muted, #64748b);
}

.faq-grid .faq-card__answer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 575.98px) {
    .faq-grid .faq-card__answer {
        padding-left: 16px;
    }
}

/* Category palette — accent colour + soft tint background */
.faq-grid .faq-card[data-category="prerequisites"] {
    --faq-cat-color: #1c4484;
    --faq-cat-bg:    #eef2fa;
    --faq-cat-tint:  rgba(28, 68, 132, 0.045);
}
.faq-grid .faq-card[data-category="format"] {
    --faq-cat-color: #5363d6;
    --faq-cat-bg:    rgba(83, 99, 214, 0.10);
    --faq-cat-tint:  rgba(83, 99, 214, 0.05);
}
.faq-grid .faq-card[data-category="time"] {
    --faq-cat-color: #d97706;
    --faq-cat-bg:    rgba(245, 158, 11, 0.12);
    --faq-cat-tint:  rgba(245, 158, 11, 0.05);
}
.faq-grid .faq-card[data-category="assessment"] {
    --faq-cat-color: #0891b2;
    --faq-cat-bg:    rgba(8, 145, 178, 0.12);
    --faq-cat-tint:  rgba(8, 145, 178, 0.05);
}
.faq-grid .faq-card[data-category="support"] {
    --faq-cat-color: #059669;
    --faq-cat-bg:    rgba(16, 185, 129, 0.12);
    --faq-cat-tint:  rgba(16, 185, 129, 0.05);
}
.faq-grid .faq-card[data-category="industry"] {
    --faq-cat-color: #7c3aed;
    --faq-cat-bg:    rgba(124, 58, 237, 0.10);
    --faq-cat-tint:  rgba(124, 58, 237, 0.05);
}

/* Compact help card — horizontal layout, gradient surface */
.cmsp-faq-section .faq-help-card-compact {
    background: linear-gradient(135deg, var(--color-primary-50, #eef2fa) 0%, #ffffff 100%);
    border: 1px solid var(--color-border, #c3cbe4);
    border-radius: 14px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.cmsp-faq-section .faq-help-card-compact .faq-help-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--color-primary, #1c4484);
    color: #fff;
    font-size: 1.2rem;
}

.cmsp-faq-section .faq-help-card-compact .faq-help-text {
    flex: 1 1 220px;
    min-width: 0;
}

.cmsp-faq-section .faq-help-card-compact .faq-help-text h4 {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text, #0f172a);
}

.cmsp-faq-section .faq-help-card-compact .faq-help-text p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--color-text-muted, #64748b);
}

.cmsp-faq-section .faq-help-card-compact .faq-help-ctas {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.curriculum-accordion .accordion-button:not(.collapsed) {
    background: rgba(26, 41, 82, 0.06);
    color: var(--about-navy, var(--color-about-navy));
}

.cmsp-enroll-panel-title {
    font-family: var(--font-family-serif);
}

.cmsp-explorer-gold-rule {
    max-width: 100px;
    margin: 1rem auto;
}

/* Tab strip + hint: reads as UI chrome, not body copy */
.course-explorer-body-main .cmsp-explorer-tab-region {
    display: none;
}

.cmsp-explorer-tab-region:not(.course-explorer-nav) {
    margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
    padding-top: 1rem;
    border-top: 1px solid var(--about-border, var(--color-border));
}

.cmsp-explorer-hint {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
    max-width: 40rem;
    margin: 0 auto 0.75rem;
    padding: 0.5rem 0.75rem 0.5rem 0.65rem;
    font-size: 0.75rem;
    line-height: 1.45;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--gray-700);
    text-align: left;
    background: var(--color-bg-subtle);
    border: 1px solid var(--color-border);
    border-left: 3px solid #c4a35a;
    border-radius: 0.375rem;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.cmsp-explorer-hint-icon {
    flex-shrink: 0;
    margin-top: 0.08rem;
    font-size: 0.85rem;
    font-style: normal;
    color: var(--color-text-subtle);
}

.cmsp-explorer-hint-text {
    flex: 1;
    min-width: 0;
}

.cmsp-program-overview-copy {
    max-width: 42rem;
}

/* Program overview: warranty highlight (NO-COST upgrade) — featured band + icon column */
.cmsp-program-overview-warranty {
    margin-top: 1.5rem;
    padding: 1rem 1.1rem 1.05rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(196, 163, 90, 0.55);
    border-left-width: 5px;
    border-left-color: #c4a35a;
    background: linear-gradient(145deg, #fffbf0 0%, var(--color-bg-muted) 55%, var(--color-bg-subtle) 100%);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
}

.cmsp-program-overview-warranty--featured {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.1rem 1.25rem;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding: 1.15rem 1.15rem 1.2rem 1rem;
    border-left-width: 0;
    border: 1px solid rgba(26, 41, 82, 0.12);
    border-top: 3px solid var(--color-about-navy);
    background: linear-gradient(180deg, #f0f4ff 0%, #fffef8 40%, var(--color-bg-muted) 100%);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
    position: relative;
    overflow: hidden;
}

.cmsp-program-overview-warranty--featured::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at top right, rgba(196, 163, 90, 0.2), transparent 70%);
    pointer-events: none;
}

.cmsp-program-overview-warranty-icon-col {
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
}

.cmsp-program-overview-warranty-icon-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--color-about-navy) 0%, #2d4a7c 50%, #c4a35a 130%);
    color: var(--color-text-inverse);
    font-size: 1.5rem;
    line-height: 1;
    box-shadow: 0 4px 16px rgba(26, 41, 82, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.cmsp-program-overview-warranty-body {
    flex: 1 1 12rem;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.cmsp-program-overview-warranty-head {
    margin-bottom: 0.5rem;
}

.cmsp-program-overview-warranty-label {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-family-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-about-navy);
    background: rgba(196, 163, 90, 0.4);
    padding: 0.3rem 0.7rem;
    border-radius: 0.3rem;
    border: 1px solid rgba(196, 163, 90, 0.6);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.cmsp-program-overview-warranty-label .bi {
    color: #15603d;
    font-size: 0.95em;
}

.cmsp-program-overview-warranty-text {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--color-text);
    font-weight: 600;
}

.cmsp-program-overview-warranty-highlight {
    color: var(--color-text);
    font-weight: 800;
    letter-spacing: 0.02em;
    text-decoration: underline;
    text-decoration-color: rgba(196, 163, 90, 0.9);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.2em;
}

@media (min-width: 576px) {
    .cmsp-program-overview-warranty--featured {
        padding: 1.25rem 1.35rem 1.3rem 1.2rem;
        flex-wrap: nowrap;
        align-items: center;
    }

    .cmsp-program-overview-warranty-icon-ring {
        width: 4rem;
        height: 4rem;
        font-size: 1.75rem;
    }
}

@media (max-width: 575.98px) {
    .cmsp-program-overview-warranty--featured {
        text-align: center;
    }

    .cmsp-program-overview-warranty--featured .cmsp-program-overview-warranty-head {
        display: flex;
        justify-content: center;
    }

    .cmsp-program-overview-warranty-icon-col {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .cmsp-program-overview-warranty {
        transition: box-shadow 0.2s ease, border-color 0.2s ease;
    }

    .cmsp-program-overview-warranty--featured:hover {
        box-shadow: 0 10px 32px rgba(15, 23, 42, 0.12);
        border-color: rgba(26, 41, 82, 0.2);
    }
}

.cmsp-breadcrumb-active {
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 0.02em;
}

.cmsp-breadcrumb-long {
    font-weight: 500;
    color: var(--color-text-heading);
}

/* Breadcrumb inside navy hero (nav-over-hero) — do not use dark-on-white rules here */
.cmsp-course-page .about-hero .cmsp-hero-breadcrumb {
    margin: 0 0 1.25rem;
    padding: 0;
}

.cmsp-course-page .about-hero .cmsp-breadcrumb-long {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
}

.cmsp-course-page .about-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.45);
}

/* Hero CTAs: bseri-buttons.css (homepage match) + about-premium.css §18 layout */

.cmsp-course-page .cmsp-hero-eyebrow {
    color: var(--color-text-inverse) !important;
    background: rgba(15, 23, 42, 0.42) !important;
    border: 1px solid rgba(255, 255, 255, 0.38) !important;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.cmsp-course-page .hero-badges .badge {
    background: rgba(15, 23, 42, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: var(--color-text-inverse);
    font-weight: 600;
}

.cmsp-enroll-section {
    background: linear-gradient(135deg, var(--color-bg-muted) 0%, var(--color-border) 100%);
}

.cmsp-enroll-card-wrap {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 12px 32px -8px rgba(15, 23, 42, 0.18);
    border: 1px solid var(--color-border, #dde3f0);
}

.cmsp-enroll-panel {
    background: linear-gradient(160deg, var(--about-navy, var(--color-about-navy)) 0%, var(--about-navy-deep, var(--color-about-navy-deep)) 100%);
    position: relative;
    padding: 1.75rem 1.5rem;
}

.cmsp-enroll-icon {
    width: 2rem;
    height: 2rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cmsp-enroll-deco-1 {
    top: 10%;
    right: 10%;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.cmsp-enroll-deco-2 {
    bottom: 15%;
    left: 10%;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.cmsp-enroll-deco-3 {
    top: 60%;
    right: 5%;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.cmsp-enroll-form-col {
    background: var(--color-bg);
    padding: 1.75rem 1.5rem;
}

@media (min-width: 992px) {
    .cmsp-enroll-form-col,
    .cmsp-enroll-panel {
        padding: 2rem 1.75rem;
    }
}

.cmsp-enroll-form-title {
    color: var(--about-text, var(--color-about-text));
    font-family: var(--font-family-serif);
}

.cmsp-enroll-input {
    border: 1px solid var(--color-border);
    border-radius: 0;
    padding: 0.5rem 0.65rem;
    height: auto;
    font-size: 0.875rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cmsp-enroll-textarea {
    min-height: 100px;
    resize: vertical;
}

.cmsp-enroll-label {
    color: var(--color-text-muted);
    font-weight: 500;
}

.cmsp-enroll-submit {
    background: linear-gradient(135deg, var(--about-navy, var(--color-about-navy)) 0%, var(--color-about-accent) 100%);
    border: none;
    border-radius: 0;
    padding: 0.65rem 1.25rem;
    color: var(--color-text-inverse);
    font-weight: 600;
    font-size: 0.875rem;
    transition: opacity 0.15s ease;
}

.cmsp-enroll-submit:hover {
    color: var(--color-text-inverse);
    opacity: 0.95;
}

.cmsp-enroll-submit:focus-visible {
    outline: 3px solid rgba(201, 168, 76, 0.55);
    outline-offset: 2px;
}

.cmsp-details-snapshot-title {
    font-size: 1.25rem;
}

.cmsp-delivery-title {
    font-size: 1.05rem;
}

.cmsp-delivery-panel {
    border: 1px solid var(--about-border, #dde3f0) !important;
    border-radius: 1rem !important;
    background: var(--color-bg) !important;
    box-shadow: 0 4px 20px rgba(26, 41, 82, 0.07);
}

.cmsp-delivery-standard {
    border-left: 4px solid var(--about-gold, var(--color-about-gold)) !important;
}

.cmsp-delivery-accelerated {
    border-left: 4px solid var(--about-accent, var(--color-about-accent)) !important;
}

.delivery-option.cmsp-delivery-panel:hover {
    border-color: var(--about-border, #dde3f0) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(26, 41, 82, 0.1);
}

.footer-dark .footer-cta-lead {
    color: #d1d5db;
}

.fab-option-with-label {
    width: auto;
    min-width: 48px;
    padding: 0 0.65rem;
    border-radius: 999px;
    gap: 0.35rem;
    justify-content: center;
}

.fab-option-text {
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

@media (min-width: 577px) and (max-width: 991px) {
    .floating-actions {
        bottom: 5.5rem;
        right: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fab-main:hover,
    .fab-option:hover {
        transform: none !important;
    }
}

/* Social share strip — class-based layout (CMSP page) */
.cmsp-share-container {
    position: relative;
    z-index: 2;
}

.cmsp-share-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--about-border, #dde3f0);
    border-radius: 1rem;
    padding: clamp(1.35rem, 3vw, 2rem);
    box-shadow: 0 6px 28px rgba(26, 41, 82, 0.07);
}

.cmsp-share-title {
    color: #0f2b5b;
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cmsp-share-title-icon {
    color: #0077b6;
    font-size: 1rem;
}

.cmsp-share-lead {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.cmsp-share-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.share-section.cmsp-share-section .cmsp-share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--color-text-inverse) !important;
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    min-width: 100px;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.share-section.cmsp-share-section .cmsp-share-btn.share-linkedin {
    background: #0077b5;
    box-shadow: 0 2px 8px rgba(0, 119, 181, 0.2);
}

.share-section.cmsp-share-section .cmsp-share-btn.share-twitter {
    background: #1da1f2;
    box-shadow: 0 2px 8px rgba(29, 161, 242, 0.2);
}

.share-section.cmsp-share-section .cmsp-share-btn.share-whatsapp {
    background: #25d366;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.2);
}

.share-section.cmsp-share-section .cmsp-share-btn.share-email {
    background: #dc2626;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}

.share-section.cmsp-share-section .cmsp-share-btn.share-copy {
    background: #6b7280;
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.2);
}

.share-section.cmsp-share-section .cmsp-share-btn:focus-visible {
    outline: 3px solid rgba(29, 78, 216, 0.45);
    outline-offset: 2px;
}

.cmsp-share-status:empty {
    min-height: 0;
}

@media (prefers-reduced-motion: reduce) {
    .share-section.cmsp-share-section .cmsp-share-btn {
        transition: none;
    }
}

/* Support tab — editorial CTA */
.cmsp-support-cta-inner {
    max-width: 560px;
    background: linear-gradient(160deg, var(--about-navy, var(--color-about-navy)) 0%, var(--about-navy-deep, var(--color-about-navy-deep)) 100%);
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    border: 1px solid rgba(201, 168, 76, 0.35);
}

.cmsp-support-cta-inner .about-callout-label {
    color: var(--about-gold, var(--color-about-gold)) !important;
}

@media (max-width: 767px) {
    .course-explorer .enrollment-table .enrollment-row:not(.header-row) .col-scenario::before {
        content: 'Rationale';
        display: block;
        font-size: 0.65rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--about-muted, #6b6b8d);
        margin-bottom: 0.25rem;
    }
    .course-explorer .enrollment-table .enrollment-row:not(.header-row) {
        background: var(--color-bg);
        border-radius: 0.75rem;
        margin-bottom: 0.75rem;
        border: 1px solid var(--about-border, #dde3f0);
        padding: 1rem 1.25rem;
    }
}
