/* Online training detail — extends masterclass-session visual language */

.otc-page .mcs-hero-bg {
    background:
        radial-gradient(ellipse 70% 80% at 90% 10%, rgba(56, 189, 248, 0.2), transparent 52%),
        radial-gradient(ellipse 55% 60% at 6% 88%, rgba(45, 212, 191, 0.18), transparent 50%),
        radial-gradient(ellipse 42% 42% at 48% 42%, rgba(14, 165, 233, 0.1), transparent 60%),
        linear-gradient(145deg, #061018 0%, #0c2740 48%, #061018 100%);
}

.otc-page .mcs-cta-primary {
    background: linear-gradient(135deg, #0284c7, #0d9488);
    box-shadow: 0 14px 32px rgba(2, 132, 199, 0.38);
}

.otc-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.55rem 0.85rem;
    margin-bottom: 0.35rem;
}

.otc-price-now {
    font-family: Outfit, system-ui, sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f766e;
}

.otc-price-now.is-free {
    color: #059669;
}

.otc-price-was {
    font-size: 1.05rem;
    color: #94a3b8;
}

.otc-module-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.otc-module {
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 1rem;
    background: var(--bg-card, #fff);
    overflow: hidden;
}

.otc-module summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1.05rem;
    font-family: Outfit, system-ui, sans-serif;
    font-weight: 700;
    color: var(--text-primary, #0f172a);
}

.otc-module summary::-webkit-details-marker {
    display: none;
}

.otc-module summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: auto;
    font-size: 0.75rem;
    color: #94a3b8;
    transition: transform 0.2s ease;
}

.otc-module[open] summary::after {
    transform: rotate(180deg);
}

.otc-module-num {
    flex-shrink: 0;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #0284c7, #0d9488);
}

.otc-module-hours {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

.otc-module-body {
    padding: 0 1.05rem 1.05rem 1.05rem;
    color: var(--text-secondary, #475569);
    font-size: 0.92rem;
}

.otc-module-body ul {
    margin: 0.5rem 0 0;
    padding-left: 1.1rem;
}

.otc-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.otc-related-card {
    display: block;
    text-decoration: none;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color, #e2e8f0);
    background: var(--bg-card, #fff);
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.otc-related-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, #0d9488 40%, var(--border-color, #e2e8f0));
}

.otc-related-card strong {
    display: block;
    font-family: Outfit, system-ui, sans-serif;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
    color: var(--text-primary, #0f172a);
}

.otc-related-card span {
    font-size: 0.8rem;
    color: #64748b;
}

@media (max-width: 991.98px) {
    .otc-related-grid {
        grid-template-columns: 1fr;
    }
}
