:root {
    --dark-green: #062b3b;
    --primary-green: #087fc2;
    --purple: #0f5fbf;
    --pink: #00bfc7;
    --light-green-bg: #eaf8fc;
    --card-bg: #ffffff;
    --text-muted: #667085;
    --bg-gradient-start: #f4fbff;
    --bg-gradient-end: #e8fbfc;
    --brand-red-dark: #075f9e;
    --clinical-blue: #00aeb8;
    --masterclass-blue: #087fc2;
    --masterclass-light-blue: #00c4cc;
    --soft-blue-bg: #e8f9fb;
    --border-soft: #c9eaf3;
    --theme-cyan: #dff9fb;
    --theme-pink: #fde9fa;
    --theme-lilac: #f7efff;
    --theme-surface: rgba(255, 255, 255, 0.82);
    --theme-surface-strong: rgba(255, 255, 255, 0.94);
    --theme-border: rgba(143, 183, 201, 0.22);
    --theme-accent-gradient: linear-gradient(110deg, #d9f7fa 0%, #ffffff 50%, #f9e1f6 100%);
    --theme-accent-gradient-strong: linear-gradient(110deg, #c8f2f6 0%, #fffefe 48%, #f5d4f0 100%);
    --theme-gradient:
        radial-gradient(circle at 4% 92%, rgba(196, 246, 249, 0.82) 0, rgba(220, 249, 250, 0.48) 24%, transparent 50%),
        radial-gradient(circle at 98% 82%, rgba(251, 218, 247, 0.78) 0, rgba(253, 234, 250, 0.5) 25%, transparent 52%),
        radial-gradient(circle at 84% 8%, rgba(249, 239, 252, 0.58) 0, transparent 38%),
        linear-gradient(120deg, #faffff 0%, #ffffff 47%, #fff9fe 100%);
}

html {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #183846;
    background-color: #ffffff;
    background-image: var(--theme-gradient);
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 100%;
    overflow-x: hidden;
}

/* Keep media and Bootstrap layout children from widening the document. */
img,
svg,
video,
iframe,
canvas {
    max-width: 100%;
}

.row > *,
.dashboard-shell,
.dashboard-shell > *,
.main-content {
    min-width: 0;
}

.text-dark-green { color: var(--dark-green); }

.text-purple { color: var(--purple); }

.text-primary-green { color: var(--primary-green) !important; }

.mb-0.fw-bold.text-dark-green {
    font-weight: 700 !important;
}

.bg-transparent-custom {
    background-color: rgba(255, 255, 255, 0.92) !important;
    position: relative;
    border-bottom: 1px solid rgba(8, 127, 194, 0.12);
}

.bg-transparent-custom::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: -1;
}

.logo-box {
    width: 150px;
    height: 42px;
    min-width: 150px;
    min-height: 42px;
    background-color: transparent;
    color: var(--primary-green);
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.powered-logo-box {
    width: 190px;
    height: 54px;
    min-width: 190px;
    min-height: 54px;
}

.powered-by-label {
    color: var(--dark-green);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.powered-by-label-light {
    color: #ffffff;
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
}

.brand-text {
    color: var(--primary-green);
    font-size: 0;
    letter-spacing: 0;
}

.brand-text-purple {
    color: var(--purple);
}

.navbar-nav .nav-link {
    color: #4a5568;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-green);
}

.website-navbar .navbar-brand,
.website-navbar .navbar-collapse,
.website-navbar .navbar-nav,
.website-navbar .nav-item {
    min-width: 0;
}

/* Compensate for transparent space inside logo.png so its visible mark aligns
   with the container content at desktop and tablet widths. */
.website-navbar .navbar-brand {
    margin-left: -2rem;
}

.website-navbar .navbar-collapse {
    display: flex !important;
}

.website-navbar .navbar-nav {
    white-space: nowrap;
}

.nav-link-active {
    color: var(--primary-green) !important;
}

.btn-outline-nav {
    background-color: #ffffff;
    border: 1.5px solid rgba(0, 166, 166, 0.42);
    color: #007f7f;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0, 166, 166, 0.08);
    transition: all 0.3s ease;
}

.btn-outline-nav:hover {
    background-color: #eafaf8;
    border-color: var(--clinical-blue);
    color: #007f7f;
}

.navbar .btn-primary-custom {
    background: #eafaf8;
    border-color: rgba(0, 166, 166, 0.24);
    box-shadow: 0 6px 18px rgba(0, 166, 166, 0.1);
    color: #007f7f;
}

.navbar .btn-primary-custom:hover {
    background: #d9f6f2;
    border-color: rgba(0, 166, 166, 0.34);
    color: #006f6f;
    transform: translateY(-1px);
}

.badge-custom {
    background-color: var(--light-green-bg);
    color: var(--primary-green);
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.hero-title {
    color: var(--dark-green);
    font-size: 3.8rem;
    line-height: 1.2;
    letter-spacing: 0;
}

.hero-title-highlight {
    background: none;
    border-left: 0;
    border-radius: 0;
    color: #087fc2;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    /* Scale against the viewport conservatively because this sits in a half-width column. */
    font-size: clamp(2rem, 3vw, 3rem);
    font-style: normal;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin-bottom: 0.35rem;
    padding: 0;
    position: relative;
    -webkit-text-fill-color: currentColor;
    white-space: nowrap;
}

.hero-brand-ent {
    color: #006997;
    -webkit-text-fill-color: #006997;
}

.hero-brand-eract,
.hero-brand-masterclass {
    color: #35aab2;
    -webkit-text-fill-color: #35aab2;
}

.hero-title-secondary {
    color: var(--masterclass-light-blue);
    display: block;
    font-size: 1.55rem;
    line-height: 1.18;
    margin-top: 0.15rem;
    white-space: nowrap;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 90%;
}

.hero-academic-partner {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: inline-flex;
    gap: 1.15rem;
    padding: 0;
}

.hero-academic-partner span {
    color: var(--dark-green);
    font-size: 0.82rem;
    font-style: italic;
    font-weight: 800;
    white-space: nowrap;
}

.hero-academic-partner img {
    display: block;
    max-height: 52px;
    max-width: 170px;
    object-fit: contain;
}

.hero-points {
    display: grid;
    gap: 0.85rem;
}

.hero-point {
    align-items: center;
    color: var(--dark-green);
    display: flex;
    font-size: 1rem;
    font-weight: 700;
    gap: 0.85rem;
}

.hero-point i {
    color: var(--clinical-blue);
    flex: 0 0 28px;
    font-size: 1.55rem;
    line-height: 1;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #12c2bd 0%, #008f8f 100%);
    color: #ffffff;
    border-radius: 12px;
    border: 2px solid rgba(0, 166, 166, 0.12);
    box-shadow: 0 10px 22px rgba(0, 166, 166, 0.18);
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #00a6a6 0%, #007f7f 100%);
    border-color: rgba(0, 127, 127, 0.18);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 166, 166, 0.24);
}

.btn-outline-purple {
    border: 1.5px solid rgba(0, 166, 166, 0.45);
    color: var(--clinical-blue);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(0, 166, 166, 0.08);
    transition: all 0.3s ease;
}

.btn-outline-purple:hover {
    background-color: #eafaf8;
    color: #007f7f;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 166, 166, 0.2);
}

.hero-img {
    border-radius: 20px;
    object-fit: cover;
    height: 400px;
    width: 100%;
}

.hero-slider {
    background: linear-gradient(110deg, #f2ffff 0%, #ffffff 52%, #fff3fc 100%);
    overflow: hidden;
    padding: 2.25rem 0;
    width: 100%;
}

.hero-slider-card {
    background: #ffffff;
    border: 1px solid rgba(0, 166, 166, 0.14);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(7, 83, 104, 0.14);
    overflow: hidden;
    padding: 16px 16px 0;
}

.hero-slide-stage {
    align-items: center;
    background: #d9e4e5;
    border-radius: 18px;
    display: flex;
    height: clamp(320px, 33vw, 500px);
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.hero-slide-stage::before {
    background-image: linear-gradient(rgba(4, 25, 32, 0.3), rgba(4, 25, 32, 0.3)), var(--hero-slide-image);
    background-position: center;
    background-size: cover;
    content: '';
    filter: blur(14px);
    inset: -30px;
    opacity: 0.88;
    position: absolute;
    transform: scale(1.05);
}

.hero-slider-image {
    display: block;
    height: 100%;
    object-fit: contain;
    position: relative;
    width: auto;
    z-index: 1;
}

.hero-banner-indicators {
    bottom: 0.4rem;
    margin-bottom: 0;
}

.hero-banner-indicators [data-bs-target] {
    border-radius: 999px;
    height: 5px;
    width: 26px;
}

.hero-event-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 1.35rem 1rem;
}

.hero-event-detail {
    align-items: center;
    display: flex;
    gap: 0.9rem;
    justify-content: center;
    min-width: 0;
    padding: 0.25rem 1.5rem;
}

.hero-event-detail + .hero-event-detail {
    border-left: 1px solid rgba(0, 166, 166, 0.24);
}

.hero-event-detail i {
    color: var(--clinical-blue);
    flex: 0 0 auto;
    font-size: 1.55rem;
}

.hero-event-detail strong,
.hero-event-detail span {
    display: block;
}

.hero-event-detail strong {
    color: var(--dark-green);
    font-size: 0.9rem;
    line-height: 1.35;
}

.hero-event-detail span {
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-top: 0.2rem;
    text-transform: uppercase;
}

@media (max-width: 575.98px) {
    .hero-slider {
        padding: 1rem 0;
    }

    .hero-slider-card {
        border-radius: 16px;
        padding: 8px 8px 0;
    }

    .hero-slide-stage {
        border-radius: 12px;
        height: clamp(190px, 56vw, 270px);
    }

    .hero-event-details {
        grid-template-columns: 1fr;
        padding: 0.65rem 0.5rem;
    }

    .hero-event-detail {
        justify-content: flex-start;
        padding: 0.65rem 0.75rem;
    }

    .hero-event-detail + .hero-event-detail {
        border-left: 0;
        border-top: 1px solid rgba(0, 166, 166, 0.18);
    }
}

.hero-doctors-img {
    object-fit: fill;
    object-position: center;
}

.education-initiative-section {
    background: linear-gradient(180deg, #ffffff 0%, #f4fffd 100%);
    border-bottom: 1px solid rgba(0, 166, 166, 0.12);
    border-top: 1px solid rgba(229, 50, 45, 0.08);
}

.initiative-label {
    color: var(--dark-green);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.initiative-logo-grid {
    align-items: center;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.initiative-logo-grid-enteract {
    grid-template-columns: minmax(240px, 520px);
    justify-content: center;
}

.initiative-logo-grid-enteract .initiative-logo-item {
    min-height: 150px;
}

.initiative-logo-grid-enteract .initiative-logo-item img {
    max-height: 138px;
    width: 100%;
    object-fit: cover;
    object-position: center 48%;
    border-radius: 14px;
}

.initiative-logo-item {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(0, 166, 166, 0.14);
    box-shadow: 0 10px 24px rgba(38, 50, 56, 0.05);
    border-radius: 8px;
    display: flex;
    height: 96px;
    justify-content: center;
    padding: 1.1rem 1.25rem;
}

.initiative-logo-item img {
    display: block;
    height: 150px;
    max-width: 210px;
    object-fit: contain;
    width: 100%;
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: -40px;
    border-radius: 12px;
    min-width: 220px;
    z-index: 2;
}

.floating-icon {
    width: 36px;
    height: 36px;
    background-color: var(--primary-green);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.floating-icon i {
    font-size: 1rem;
    line-height: 1;
}

.feature-card {
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    padding: 2.25rem 1.5rem !important;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(38, 50, 56, 0.08) !important;
}

.feature-icon-box {
    width: 64px;
    height: 64px;
    background-color: var(--light-green-bg);
    border-radius: 8px !important;
    margin-right: 1.25rem;
    color: var(--primary-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-box i {
    font-size: 1.6rem;
    line-height: 1;
}

.feature-card h5 {
    font-size: 1.4rem !important;
}

.feature-card span.text-muted {
    font-size: 0.9rem !important;
}

.offcanvas {
    background-color: #ffffff !important;
}

.bg-light-purple {
    background-color: var(--soft-blue-bg) !important;
}

.bg-light-green {
    background-color: var(--light-green-bg) !important;
}

.text-dark-purple {
    color: #4f3ea3 !important;
}

@media (min-width: 992px) {
    .benefit-col {
        flex: 0 0 auto;
        width: 20%;
    }
}

.benefit-card {
    border-radius: 8px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06) !important;
}

.benefit-card p {
    line-height: 1.6;
}

.custom-footer {
    background: #ffffff;
    border-top: 1px solid rgba(15, 95, 191, 0.12);
    box-shadow: 0 -10px 24px rgba(15, 95, 191, 0.04);
}

.custom-footer .powered-by-label-light {
    color: var(--dark-green);
}

.public-footer-row {
    gap: 1.5rem;
    justify-content: space-between;
    min-height: 54px;
}

.public-footer-logo,
.public-footer-content {
    align-self: center;
    min-width: 0;
}

.public-footer-content .footer-text {
    display: block;
    line-height: 1.4;
}

.footer-logo-box {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(15, 95, 191, 0.1);
    padding: 0.35rem 0.7rem;
}

.footer-logo-box .brand-logo {
    height: auto;
    max-height: 100px;
    width: 100%;
}

.footer-brand-text {
    color: var(--dark-green);
    font-weight: 700;
    font-size: 0;
    letter-spacing: 0;
}

.footer-link {
    color: var(--dark-green);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--masterclass-blue);
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
}

.benefit-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon-box i {
    font-size: 1.55rem;
    line-height: 1;
}

.custom-sidebar {
    width: 280px;
    z-index: 1050;
}

.sidebar-link {
    color: #6b7280;
    font-size: 0.95rem;
    padding: 14px 28px;
    font-weight: 500;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.sidebar-link:hover {
    color: var(--primary-green);
    background-color: #fff7f5;
}

.sidebar-link.active {
    color: var(--dark-green) !important;
    background-color: var(--light-green-bg);
    border-left-color: var(--primary-green);
    font-weight: 600;
}

.main-content {
    background-color: #fff7f5;
    min-width: 0;
    width: 100%;
    overflow-x: hidden;
}

/* Authenticated pages keep the footer visible without covering page content. */
.dashboard-shell > .main-content {
    padding-bottom: 0;
}

.dashboard-footer {
    position: static;
    z-index: 1025;
}

.dashboard-event-banner {
    margin-top: 0;
}

.dashboard-event-banner img {
    border: 1px solid rgba(8, 127, 194, 0.14);
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(15, 95, 191, 0.1);
    display: block;
    height: auto;
    margin-inline: auto;
    max-width: 1400px;
    width: 50%;
}

.course-invite-banner {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(8, 127, 194, 0.13);
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(15, 95, 191, 0.08);
    overflow: hidden;
    padding: 1rem;
}

.course-invite-banner img {
    border-radius: 13px;
    box-shadow: none;
    max-width: none;
    width: 100%;
}

.course-invite-body.has-countdown {
    align-items: stretch;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 3fr) minmax(250px, 1fr);
}

.course-invite-body.has-countdown img {
    height: 100%;
    object-fit: cover;
}

.course-invite-slider {
    border: 1px solid rgba(8, 127, 194, 0.14);
    border-radius: 13px;
    min-height: 0;
    overflow: hidden;
}

.course-invite-slider .carousel-item,
.course-invite-slider img {
    height: 100%;
}

.course-invite-slider img {
    border: 0;
    object-fit: contain;
}

.course-invite-slider .carousel-control-prev,
.course-invite-slider .carousel-control-next {
    width: 9%;
}

.course-countdown {
    align-items: center;
    background: linear-gradient(145deg, #062f40, #087fc2);
    border-radius: 13px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem 1rem;
    text-align: center;
}

.course-countdown-kicker {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    opacity: 0.75;
    margin: 0.65rem 0 1.25rem;
}

.course-countdown h5 {
    font-size: 1rem;
    font-weight: 700;

}

.course-countdown-grid {
    display: grid;
    gap: 0.45rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
}

.course-countdown-grid > div {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    padding: 0.65rem 0.25rem;
}

.course-countdown-grid strong,
.course-countdown-grid span {
    display: block;
}

.course-countdown-grid strong {
    font-size: 1.35rem;
    line-height: 1;
}

.course-countdown-grid span {
    font-size: 0.62rem;
    margin-top: 0.35rem;
    opacity: 0.72;
    text-transform: uppercase;
}

.course-countdown p {
    font-size: 0.72rem;
    margin-top: 1rem;
    opacity: 0.78;
}

@media (max-width: 991.98px) {
    .course-invite-body.has-countdown {
        grid-template-columns: 1fr;
    }

    .course-countdown-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .course-countdown-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.course-invite-heading {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.25rem 0.25rem 1rem;
}

.course-invite-kicker {
    color: var(--masterclass-blue);
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
}

.course-invite-heading h4 {
    color: var(--dark-green);
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
}

.course-invite-link {
    align-items: center;
    color: var(--masterclass-blue);
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: 700;
    gap: 0.4rem;
    text-decoration: none;
}

.course-invite-link i {
    transition: transform 0.2s ease;
}

.course-invite-link:hover i {
    transform: translateX(4px);
}

.form-card {
    border-radius: 8px;
    border: none;
    overflow: hidden;
}

.form-card-header {
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.12)),
        url("../image/auth-header-bg.png") center / cover no-repeat;
    padding: 2.5rem 2rem;
}

.form-card-header .text-white {
    color: #07577a !important;
}

.form-card-header .text-white-50 {
    color: rgba(7, 63, 86, 0.72) !important;
    font-size: 0.78rem;
}

.form-section-title {
    color: var(--primary-green);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}

.custom-form-label {
    font-size: 0.85rem;
    color: #4a5568;
    font-weight: 500;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.custom-form-control {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: #333;
    transition: all 0.3s ease;
}

.custom-form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(229, 50, 45, 0.15);
}

.doctor-name-group .input-group-text {
    background-color: var(--theme-surface-strong, #fff);
    border-color: rgba(143, 183, 201, 0.3);
    border-radius: 8px 0 0 8px;
    color: #4a5568;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
}

.doctor-name-group .custom-form-control {
    border-radius: 0 8px 8px 0;
}

.doctor-name-group:focus-within .input-group-text {
    background-color: #fff;
    border-color: rgba(8, 127, 194, 0.44);
}

.badge-light-green {
    background-color: var(--light-green-bg);
    color: var(--dark-green);
    font-size: 0.7rem;
    padding: 8px 16px;
    font-weight: 700;
}

.badge-live {
    background-color: #dc3545;
    color: #fff;
    font-size: 0.7rem;
    padding: 8px 16px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.badge-light-purple {
    background-color: var(--soft-blue-bg) !important;
    color: var(--clinical-blue) !important;
    font-size: 0.7rem;
    padding: 8px 16px;
    font-weight: 700;
}

label.error {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 5px;
    font-weight: 500;
    display: block;
}

.custom-form-control.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.select2-container--default .select2-selection--single {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    min-height: 48px;
    padding: 0.55rem 0.75rem;
    transition: all 0.3s ease;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #333;
    line-height: 30px;
    padding-left: 0;
    padding-right: 28px;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #6b7280;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px;
    right: 8px;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(229, 50, 45, 0.15);
}

.select2-container--default .select2-selection--single.select2-selection-error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.select2-dropdown {
    border-color: #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    outline: none;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: var(--primary-green);
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--primary-green);
}

.offcanvas-backdrop {
    background-color: transparent !important;
}

.logo-box-sm {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
}

.form-header-logo {
    background-color: #ffffff;
    border: none;
    border-radius: 10px;
    height: 78px;
    min-height: 78px;
    min-width: 280px;
    padding: 8px 16px;
    width: 280px;
}

@media (max-width: 575.98px) {
    .form-header-logo {
        height: 68px;
        min-height: 68px;
        min-width: 240px;
        width: 240px;
    }
}

.input-helper-text {
    font-size: 0.75rem;
    font-style: italic;
}

.privacy-footer-text {
    font-size: 0.8rem;
}

.breadcrumb-custom {
    color: #a0aec0;
    font-size: 0.85rem;
    font-weight: 500;
}

.overall-progress-card {
    width: 100%;
    max-width: 380px;
}

.custom-progress-bar {
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 10px;
}

.custom-progress-width-33 { width: 33%; }

.custom-progress-width-100 { width: 100%; }

.custom-progress-width-0 { width: 0%; }

.module-text-xs { font-size: 0.75rem; }

.module-text-sm { font-size: 0.85rem; }

.module-card {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 2.25rem 1.5rem !important;
}

.module-card h4 {
    margin-top: 0.5rem;
    margin-bottom: 2rem !important;
}

.module-card .btn-watch-action, .module-card .btn-locked {
    margin-bottom: 2rem !important;
}

.module-card .btn-watch-live {
    animation: watch-live-pulse 1s ease-in-out infinite;
}

@keyframes watch-live-pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.55);
    }
    50% {
        opacity: 0.65;
        box-shadow: 0 0 0 9px rgba(220, 53, 69, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .module-card .btn-watch-live {
        animation: none;
    }
}

.card-completed::before, .card-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--primary-green);
    border-radius: 0 10px 10px 0;
}

.badge-primary-green {
    background-color: var(--primary-green);
    color: white;
    font-size: 0.7rem;
    padding: 6px 12px;
}

.badge-locked {
    background-color: #f1f5f9;
    font-size: 0.7rem;
    padding: 6px 12px;
}

.badge-locked-status {
    background-color: #f8f9fa;
    font-size: 0.7rem;
    padding: 6px 12px;
}

.speaker-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.card-locked {
    background-color: #fcfcfc !important;
    border-style: dashed;
}

.btn-locked {
    background-color: #f1f5f9 !important;
    color: #a0aec0 !important;
    border-radius: 8px;
    border: none;
    padding: 10px 0;
    opacity: 1 !important;
    font-weight: 600;
}

.bg-dark-green {
    background-color: var(--dark-green);
}

.support-banner-desc {
    max-width: 550px;
    line-height: 1.6;
}

.btn-white-custom {
    background-color: #ffffff;
    color: var(--dark-green);
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
}

.btn-white-custom:hover {
    background-color: #fff1ef;
    color: var(--dark-green);
    transform: translateY(-2px);
}

.btn-outline-white-custom {
    background-color: transparent;
    color: #ffffff;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.btn-outline-white-custom:hover {
    background-color: rgba(255,255,255,0.1);
    color: #ffffff;
    border-color: #ffffff;
}

.breadcrumb-link {
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--primary-green) !important;
}

.bg-primary-green {
    background-color: var(--primary-green) !important;
}

.custom-text-width {
    max-width: 700px;
}

.video-breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.video-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.video-breadcrumb a:hover {
    color: var(--primary-green);
}

.video-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: #000;
}

.video-thumbnail {
    height: 450px;
    object-fit: cover;
    opacity: 0.85;
}

.video-play-btn {
    width: 64px;
    height: 64px;
    background-color: var(--primary-green);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    background-color: var(--brand-red-dark);
    transform: translate(-50%, -50%) scale(1.08);
}

.video-time {
    position: absolute;
    bottom: 20px;
    left: 24px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.custom-video-tabs {
    border-bottom: 1px solid #e2e8f0;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.custom-video-tabs::-webkit-scrollbar {
    display: none;
}

.custom-video-tabs .nav-link {
    color: var(--text-muted);
    border: none;
    border-bottom: 2px solid transparent;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.custom-video-tabs::-webkit-scrollbar {
    display: none;
}

.custom-video-tabs {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.custom-video-tabs .nav-link.active {
    color: var(--dark-green);
    border-bottom: 2px solid var(--primary-green);
}

.custom-video-tabs .nav-link:hover:not(.active) {
    color: var(--primary-green);
}

.video-desc-text {
    line-height: 1.7;
    font-size: 0.95rem;
}

.info-pill-box {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-green);
}

.module-comments-panel {
    border: 1px solid rgba(229, 50, 45, 0.16);
    border-radius: 16px;
    box-shadow: 0 14px 36px rgba(38, 50, 56, 0.08);
    margin-top: 2rem;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.module-comments-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--clinical-blue));
}

.module-comments-kicker {
    background-color: #fff7f5;
    color: var(--primary-green);
    font-size: 0.72rem;
    letter-spacing: 0.5px;
}

.module-comments-kicker i {
    font-size: 0.9rem;
}

.module-comments-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.module-comments-count {
    min-width: 96px;
    background: linear-gradient(180deg, #ffffff 0%, #fff7f5 100%);
    border: 1px solid rgba(229, 50, 45, 0.18);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    text-align: center;
}

.module-comments-count strong,
.module-comments-count span {
    display: block;
}

.module-comments-count strong {
    color: var(--dark-green);
    font-size: 1.4rem;
    line-height: 1;
}

.module-comments-count span {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.module-comment-form {
    background-color: #fffafa;
    border: 1px solid rgba(229, 50, 45, 0.12);
    border-radius: 14px;
    margin-bottom: 1.25rem;
    padding: 1rem;
}

.module-comment-composer,
.module-comment-item {
    display: flex;
    gap: 0.9rem;
}

.module-comment-avatar {
    align-items: center;
    background: linear-gradient(135deg, var(--light-green-bg), var(--soft-blue-bg));
    border: 1px solid rgba(229, 50, 45, 0.16);
    border-radius: 50%;
    color: var(--dark-green);
    display: inline-flex;
    flex: 0 0 42px;
    font-size: 0.95rem;
    font-weight: 800;
    height: 42px;
    justify-content: center;
    text-transform: uppercase;
    width: 42px;
}

.module-comment-input-wrap {
    flex: 1;
    min-width: 0;
}

.module-comment-input-wrap textarea {
    min-height: 96px;
    resize: vertical;
}

.module-comment-replying {
    align-items: center;
    background-color: #fff7f5;
    border: 1px solid rgba(229, 50, 45, 0.16);
    border-radius: 10px;
    color: var(--text-muted);
    display: flex;
    font-size: 0.8rem;
    justify-content: space-between;
    margin-bottom: 0.65rem;
    padding: 0.55rem 0.75rem;
}

.module-comment-replying strong {
    color: var(--dark-green);
}

.module-comment-replying button {
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1;
}

.module-comments-stream {
    max-height: 430px;
    overflow-y: auto;
    padding-right: 0.45rem;
    position: relative;
    scrollbar-color: rgba(229, 50, 45, 0.35) transparent;
    scrollbar-width: thin;
}

.module-comments-stream::-webkit-scrollbar {
    width: 8px;
}

.module-comments-stream::-webkit-scrollbar-track {
    background: transparent;
}

.module-comments-stream::-webkit-scrollbar-thumb {
    background-color: rgba(229, 50, 45, 0.28);
    border-radius: 999px;
}

.module-comments-list {
    display: grid;
    gap: 0.85rem;
}

.module-comment-item {
    background-color: #ffffff;
    border: 1px solid #e7edf0;
    border-radius: 14px;
    padding: 1rem;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.module-comment-item:hover {
    border-color: rgba(229, 50, 45, 0.25);
    box-shadow: 0 8px 24px rgba(38, 50, 56, 0.06);
    transform: translateY(-1px);
}

.module-comment-item.is-new {
    background-color: #fff7f5;
    border-color: rgba(229, 50, 45, 0.45);
}

.module-comment-body {
    flex: 1;
    min-width: 0;
}

.module-comment-topline {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    margin-bottom: 0.35rem;
}

.module-comment-topline strong {
    color: var(--dark-green);
    font-size: 0.9rem;
}

.module-comment-topline span {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
}

.module-comment-body p {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
    overflow-wrap: anywhere;
}

.module-comment-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.6rem;
}

.module-comment-upvote-btn,
.module-comment-reply-btn {
    align-items: center;
    border: 0;
    color: var(--primary-green);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 700;
    gap: 0.3rem;
    padding: 0;
}

.module-comment-upvote-btn:hover,
.module-comment-reply-btn:hover {
    color: var(--dark-green);
}

.module-comment-upvote-btn.is-upvoted {
    color: var(--purple);
}

.module-comment-upvote-btn:disabled {
    opacity: 0.65;
}

.module-comment-replies {
    border-left: 2px solid rgba(229, 50, 45, 0.18);
    display: grid;
    gap: 0.65rem;
    margin-top: 0.85rem;
    padding-left: 0.85rem;
}

.module-comment-reply {
    display: flex;
    gap: 0.75rem;
}

.module-comment-reply .module-comment-avatar {
    flex-basis: 34px;
    font-size: 0.78rem;
    height: 34px;
    width: 34px;
}

.module-comment-reply.is-new {
    background-color: #fff7f5;
    border-radius: 10px;
    margin-left: -0.35rem;
    padding: 0.35rem;
}

.module-comments-empty {
    align-items: center;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    color: var(--text-muted);
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
}

.module-comments-empty i {
    color: var(--primary-green);
    font-size: 1.25rem;
}

.module-comments-footer {
    display: flex;
    justify-content: center;
    padding-top: 1rem;
}

.module-comments-load-more {
    align-items: center;
    background-color: #ffffff;
    border: 1px solid rgba(229, 50, 45, 0.22);
    border-radius: 999px;
    color: var(--dark-green);
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 700;
    gap: 0.45rem;
    padding: 0.65rem 1.1rem;
    transition: all 0.25s ease;
}

.module-comments-load-more:hover {
    background-color: var(--light-green-bg);
    border-color: rgba(229, 50, 45, 0.42);
    color: var(--dark-green);
}

.module-comments-load-more.is-loading i {
    animation: module-comment-spin 0.8s linear infinite;
}

@keyframes module-comment-spin {
    to {
        transform: rotate(360deg);
    }
}

.speaker-widget, .quiz-widget, .tracker-widget, .certificate-download-widget {
    border-radius: 8px;
    border: 1px solid rgba(229, 50, 45, 0.12);
    box-shadow: 0 12px 28px rgba(38, 50, 56, 0.06);
}

.certificate-download-widget,
.tracker-widget {
    border-top: 3px solid rgba(229, 50, 45, 0.75);
}

.speaker-avatar-lg {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.course-overview-section {
    background: linear-gradient(180deg, rgba(255,255,255,0.72) 0%, rgba(255,240,241,0.5) 100%);
}

.course-overview-subtitle {
    color: var(--purple);
    font-weight: 700;
    font-size: 1.05rem;
}

.course-about-panel,
.course-agenda-card {
    border: 1px solid rgba(229, 50, 45, 0.12);
    border-radius: 16px;
    padding: 2rem;
    overflow: hidden;
    position: relative;
}

.course-about-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--theme-accent-gradient-strong);
}

.course-about-copy {
    max-width: 100%;
}

.course-overview-stats {
    display: grid;
    gap: 12px;
}

.course-overview-stat {
    background-color: #fff7f5;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
}

.course-overview-stat span {
    display: block;
    color: var(--dark-green);
    font-size: 1.55rem;
    line-height: 1;
    font-weight: 800;
}

.course-overview-stat small {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.course-section-heading {
    position: relative;
}

.course-section-line {
    display: block;
    width: min(520px, 100%);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(229, 50, 45, 0.5), transparent);
    margin: 0 auto 14px;
}

.course-person-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.75rem 1rem 1.5rem;
    box-shadow: 0 4px 18px rgba(38, 50, 56, 0.04);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.course-person-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 72px;
    background: linear-gradient(135deg, rgba(229, 50, 45, 0.12), rgba(201, 138, 85, 0.1));
}

.course-person-card:hover {
    transform: translateY(-5px);
    border-color: rgba(229, 50, 45, 0.28);
    box-shadow: 0 14px 28px rgba(38, 50, 56, 0.08);
}

.course-person-photo-wrap {
    width: 112px;
    height: 112px;
    border-radius: 24px;
    background-color: #ffffff;
    padding: 6px;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 18px rgba(38, 50, 56, 0.1);
}

.course-person-photo {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    object-fit: cover;
    background-color: #ffffff;
}

.course-person-meta {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.course-agenda-count {
    color: var(--dark-green);
    background-color: var(--light-green-bg);
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font-size: 0.78rem;
    font-weight: 800;
}

.course-agenda-table-wrap {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
}

.course-agenda-table thead th {
    background-color: var(--dark-green);
    color: #ffffff;
    border-bottom: none;
    font-size: 0.76rem;
    letter-spacing: 0.4px;
    padding: 1rem;
}

.course-agenda-table tbody td {
    padding: 1rem;
    border-color: #edf2f7;
    color: #475569;
    font-size: 0.9rem;
}

.course-agenda-table tbody tr:nth-child(even) td {
    background-color: #fff7f5;
}

.viewed-episode-link {
    color: inherit;
    display: block;
    text-decoration: none;
}

.viewed-episode-link:hover,
.viewed-episode-link:focus-visible {
    color: var(--clinical-blue);
}

.viewed-episode-progress {
    min-width: 130px;
}

.viewed-episode-progress-bar {
    background: #e7f1f4;
    border-radius: 999px;
    height: 7px;
    margin-bottom: 0.4rem;
    overflow: hidden;
}

.viewed-episode-progress-bar .progress-bar {
    background: linear-gradient(90deg, var(--clinical-blue), var(--primary-green));
    border-radius: inherit;
}

.viewed-episode-progress > span {
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

.course-agenda-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background-color: var(--light-green-bg);
    color: var(--primary-green);
    font-weight: 800;
}

.live-session-card.course-next-card {
    background: linear-gradient(145deg, #d9fbfc 0%, #ffffff 48%, #f8dff5 100%);
    border: 1px solid rgba(0, 174, 184, 0.2);
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(15, 95, 191, 0.09);
    overflow: hidden;
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.course-next-card:hover {
    border-color: rgba(0, 174, 184, 0.4);
    box-shadow: 0 22px 44px rgba(15, 95, 191, 0.14);
    transform: translateY(-4px);
}

.course-next-content {
    position: relative;
    z-index: 1;
}

.course-next-orb {
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
    position: absolute;
}

.course-next-orb-one {
    background: rgba(0, 196, 204, 0.16);
    height: 150px;
    right: -55px;
    top: -55px;
    width: 150px;
}

.course-next-orb-two {
    background: rgba(240, 128, 220, 0.13);
    bottom: -65px;
    height: 180px;
    left: -65px;
    width: 180px;
}

.course-next-count {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(0, 174, 184, 0.2);
    border-radius: 50%;
    box-shadow: 0 7px 16px rgba(15, 95, 191, 0.1);
    color: var(--masterclass-blue);
    display: inline-flex;
    font-size: 1.1rem;
    font-weight: 800;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.course-next-copy {
    color: #526875;
    font-size: 0.9rem;
    line-height: 1.65;
}

.course-next-session {
    align-items: center;
    background-color: rgba(255,255,255,0.72);
    border: 1px solid rgba(0,174,184,0.14);
    border-radius: 12px;
    display: flex;
    gap: 0.85rem;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.course-next-session-link {
    color: inherit;
    text-decoration: none;
}

.course-next-session-link:hover,
.course-next-session-link:focus-visible {
    color: inherit;
}

.course-next-card:hover .course-next-session {
    background-color: rgba(255,255,255,0.95);
    transform: translateX(3px);
}

.course-next-session-icon {
    align-items: center;
    background: linear-gradient(135deg, var(--masterclass-blue), var(--masterclass-light-blue));
    border-radius: 11px;
    color: #ffffff;
    display: flex;
    flex: 0 0 42px;
    height: 42px;
    justify-content: center;
}

.course-next-button {
    align-items: center;
    display: inline-flex;
    gap: 0.7rem;
    justify-content: center;
}

.course-next-button i {
    transition: transform 0.2s ease;
}

.course-next-button:hover i {
    transform: translateX(4px);
}

.module-speaker-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.module-speaker-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(38, 50, 56, 0.06);
}

.module-speaker-photo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
    border: 4px solid var(--light-green-bg);
    flex-shrink: 0;
}

.episode-speakers-panel {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(8, 127, 194, 0.14);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 95, 191, 0.07);
    margin: 1.5rem 0;
    padding: 1.5rem;
}

.episode-speakers-heading > span {
    color: var(--masterclass-blue);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.episode-speakers-heading h3 {
    color: var(--dark-green);
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0.25rem 0;
}

.episode-speakers-heading p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin: 0 0 1.25rem;
}

.episode-speakers-layout {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(190px, 0.85fr) minmax(0, 1.65fr);
}

.episode-speaker-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.episode-speaker-option {
    align-items: center;
    background: #fff;
    border: 1px solid #dcecf2;
    border-radius: 12px;
    color: var(--dark-green);
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    text-align: left;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    width: 100%;
}

.episode-speaker-option:hover,
.episode-speaker-option.active {
    border-color: var(--masterclass-light-blue);
    box-shadow: 0 8px 20px rgba(0, 174, 184, 0.1);
    transform: translateY(-1px);
}

.episode-speaker-option img {
    border-radius: 10px;
    flex: 0 0 52px;
    height: 52px;
    object-fit: cover;
    width: 52px;
}

.episode-speaker-option span,
.episode-speaker-option strong,
.episode-speaker-option small {
    display: block;
    min-width: 0;
}

.episode-speaker-option strong {
    font-size: 0.88rem;
    line-height: 1.3;
}

.episode-speaker-option small {
    color: var(--text-muted);
    font-size: 0.72rem;
    margin-top: 0.2rem;
}

.hero-event-detail .hero-register-button {
    animation: hero-register-pulse 1.5s ease-in-out infinite;
    align-items: center;
    background: var(--clinical-blue);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.85rem;
    font-weight: 700;
    gap: 0.5rem;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    text-decoration: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hero-event-actions {
    align-items: flex-end;
    border-left: 0 !important;
    border-top: 1px solid rgba(0, 166, 166, 0.18);
    gap: 1.25rem;
    grid-column: 1 / -1;
    padding: 1.15rem 0.8rem 0.25rem;
}

.hero-event-actions .hero-register-button {
    min-width: 190px;
    white-space: nowrap;
}

.hero-login-prompt {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-width: 420px;
    min-width: 300px;
    width: 100%;
}

.hero-event-detail .hero-login-prompt > span {
    color: var(--text-muted);
    font-size: 0.66rem;
    letter-spacing: 0;
    margin: 0;
    text-transform: none;
}

.hero-login-form {
    align-items: stretch;
    display: flex;
    width: 100%;
}

.hero-login-input {
    background: #fff;
    border: 1px solid rgba(8, 127, 194, 0.28);
    border-radius: 8px 0 0 8px;
    color: var(--dark-green);
    font-size: 0.72rem;
    min-width: 0;
    outline: none;
    padding: 0.58rem 0.65rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.hero-login-input::placeholder {
    color: #84939a;
}

.hero-login-input:focus {
    border-color: var(--clinical-blue);
    box-shadow: 0 0 0 3px rgba(8, 127, 194, 0.12);
    position: relative;
    z-index: 1;
}

.hero-login-input.is-invalid {
    border-color: #dc3545;
}

.hero-login-submit {
    align-items: center;
    background: var(--clinical-blue);
    border: 1px solid var(--clinical-blue);
    border-radius: 0 8px 8px 0;
    display: inline-flex;
    color: #fff;
    flex: 0 0 auto;
    font-size: 0.74rem;
    font-weight: 800;
    gap: 0.3rem;
    justify-content: center;
    line-height: 1.2;
    padding: 0.55rem 0.65rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hero-event-detail .hero-login-submit i {
    color: inherit;
    font-size: 0.78rem;
    transition: transform 0.2s ease;
}

.hero-login-submit:hover,
.hero-login-submit:focus-visible {
    background: var(--dark-green);
    border-color: var(--dark-green);
}

.hero-login-submit:hover i,
.hero-login-submit:focus-visible i {
    transform: translateX(3px);
}

.hero-login-error {
    color: #b42318;
    font-size: 0.62rem;
    line-height: 1.25;
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .hero-event-actions {
        padding-top: 1rem;
    }

    .hero-login-prompt {
        max-width: 310px;
        width: 100%;
    }
}

@keyframes hero-register-pulse {
    0%, 100% {
        background: var(--clinical-blue);
        box-shadow: 0 0 0 0 rgba(8, 127, 194, 0.45);
    }
    50% {
        background: #e94b35;
        box-shadow: 0 0 0 12px rgba(233, 75, 53, 0.18);
    }
}

.hero-event-detail .hero-register-button i {
    color: inherit;
    font-size: 1rem;
}

.hero-event-detail .hero-register-button:hover,
.hero-event-detail .hero-register-button:focus-visible {
    animation-play-state: paused;
    box-shadow: 0 8px 20px rgba(8, 127, 194, 0.25);
    color: #fff;
    transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
    .hero-event-detail .hero-register-button {
        animation: none;
    }
}

@media (max-width: 575.98px) {
    .hero-event-actions {
        align-items: stretch;
        display: grid;
        gap: 0.85rem;
        grid-template-columns: 1fr;
        justify-content: stretch;
    }

    .hero-event-actions .hero-register-button {
        padding-left: 1rem;
        padding-right: 1rem;
        white-space: nowrap;
        width: 100%;
    }

    .hero-login-prompt {
        min-width: 0;
        width: 100%;
    }

    .hero-event-detail .hero-login-prompt > span {
        text-align: left;
    }
}

.episode-speaker-details {
    min-width: 0;
}

.episode-speaker-detail {
    align-items: center;
    background: linear-gradient(120deg, #effcfd 0%, #fff 48%, #fff3fc 100%);
    border: 1px solid rgba(0, 174, 184, 0.12);
    border-radius: 14px;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 130px minmax(0, 1fr);
    min-height: 100%;
    padding: 1.25rem;
}

.episode-speaker-detail[hidden] {
    display: none;
}

.episode-speaker-detail > img {
    border: 4px solid #fff;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15, 95, 191, 0.12);
    height: 150px;
    object-fit: cover;
    width: 130px;
}

.episode-speaker-detail h4 {
    color: var(--dark-green);
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.episode-speaker-qualification {
    color: var(--masterclass-blue);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.episode-speaker-detail p {
    color: #526875;
    font-size: 0.86rem;
    line-height: 1.65;
    margin: 0;
    white-space: pre-line;
}

@media (max-width: 991.98px) {
    .episode-speakers-layout {
        grid-template-columns: 1fr;
    }

    .episode-speaker-list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 0.35rem;
    }

    .episode-speaker-option {
        flex: 0 0 min(260px, 82vw);
    }

    .episode-speaker-detail {
        align-items: start;
        grid-template-columns: 88px minmax(0, 1fr);
        padding: 1rem;
    }

    .episode-speaker-detail > img {
        height: 104px;
        width: 88px;
    }
}

.agenda-time {
    color: var(--primary-green);
    font-size: 0.82rem;
    font-weight: 800;
}

.episode-agenda-public {
    border: 1px solid rgba(229, 50, 45, 0.18);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(38, 50, 56, 0.06);
}

.episode-agenda-public-title {
    background: var(--theme-accent-gradient-strong);
    color: var(--dark-green);
    font-size: 1.12rem;
    font-weight: 800;
    padding: 1rem 1.25rem;
    text-align: center;
}

.episode-agenda-public table th {
    width: 24%;
    background: #fff7f7;
    color: var(--dark-green);
    font-weight: 800;
    text-align: center;
    border-color: rgba(229, 50, 45, 0.14);
}

.episode-agenda-public table td {
    color: #2f3437;
    font-weight: 600;
    text-align: center;
    border-color: rgba(229, 50, 45, 0.14);
}

.episode-agenda-public-section td {
    background: linear-gradient(90deg, #fff1ef, #eafaf8);
    color: var(--dark-green) !important;
    font-weight: 800;
}

.topic-video-list {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
}

.topic-video-item {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
    text-align: left;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.topic-video-item + .topic-video-item {
    margin-top: 0.75rem;
}

.topic-video-item.active,
.topic-video-item:hover {
    background: #fff7f5;
    border-color: var(--primary-green);
}

.topic-video-count {
    color: var(--primary-green);
    font-weight: 800;
    min-width: 2rem;
}

.topic-video-copy {
    display: grid;
    gap: 0.2rem;
}

.topic-video-title {
    color: var(--dark-green);
    font-weight: 800;
}

.topic-video-time {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 600;
}

.mobile-number-group {
    display: grid;
    grid-template-columns: 118px minmax(150px, 1fr);
    gap: 0.5rem;
    align-items: stretch;
}

.mobile-number-group #mobileCountryPicker {
    font-weight: 700;
    padding-left: 0.75rem;
}

.mobile-number-error {
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .mobile-number-group {
        grid-template-columns: 108px minmax(0, 1fr);
    }
}

.module-brand-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem;
    background-color: #fff7f5;
}

.module-brand-logo {
    width: 150px;
    max-width: 100%;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 6px;
}

.module-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.module-brand-slider-card {
    border-radius: 16px;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    overflow: hidden;
    position: relative;
}

.module-brand-horizontal {
    background: #fff;
    border: 1px solid rgba(8, 127, 194, 0.14);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 95, 191, 0.07);
    min-height: 120px;
    overflow: hidden;
    padding: 0.75rem;
    position: relative;
}

.module-brand-horizontal::before {
    background: linear-gradient(180deg, var(--primary-green), var(--clinical-blue));
    content: "";
    inset: 0 auto 0 0;
    position: absolute;
    width: 4px;
}

.module-brand-horizontal-slide {
    align-items: center;
    display: flex;
    height: 104px;
    justify-content: center;
}

.module-brand-horizontal-slide img {
    height: 82px;
    max-width: min(70%, 320px);
    object-fit: contain;
    width: auto;
}

.module-brand-horizontal-control {
    background: var(--clinical-blue);
    border-radius: 50%;
    height: 34px;
    opacity: 0.85;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
}

.module-brand-horizontal-control.carousel-control-prev {
    left: 0.75rem;
}

.module-brand-horizontal-control.carousel-control-next {
    right: 0.75rem;
}

.module-brand-horizontal-control .carousel-control-prev-icon,
.module-brand-horizontal-control .carousel-control-next-icon {
    height: 1rem;
    width: 1rem;
}

.episode-rating-form {
    margin-top: 1rem;
}

.episode-rating-label {
    color: #64748b;
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
    text-align: center;
}

.episode-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    margin-bottom: 0.85rem;
}

.episode-rating input {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.episode-rating label {
    color: #cbd5e1;
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    padding: 0 0.18rem;
    transition: color 0.18s ease, transform 0.18s ease;
}

.episode-rating input:checked ~ label,
.episode-rating label:hover,
.episode-rating label:hover ~ label {
    color: #f5b301;
}

.episode-rating input:focus-visible + label {
    outline: 2px solid var(--clinical-blue);
    outline-offset: 3px;
}

.episode-rating label:hover {
    transform: translateY(-2px) scale(1.06);
}

.episode-rating-locked {
    color: #cbd5e1;
    flex-direction: row;
    font-size: 1.85rem;
    gap: 0.35rem;
    opacity: 0.65;
}

.module-brand-slider-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--clinical-blue));
}

.module-brand-slide {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0 2rem;
}

.module-brand-slide-logo {
    width: 260px;
    max-width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fff7f5 100%);
    border: 1px solid #e2e8f0;
    padding: 10px;
    box-shadow: 0 10px 24px rgba(38, 50, 56, 0.06);
}

.module-brand-slide-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.module-brand-nav {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-green);
    background-color: var(--light-green-bg);
    padding: 0;
}

.module-brand-nav:hover {
    color: #ffffff;
    background-color: var(--primary-green);
}

.module-brand-indicators {
    position: static;
    margin: 0;
    gap: 6px;
}

.module-brand-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
    border: 0;
    opacity: 1;
}

.module-brand-indicators .active {
    width: 22px;
    border-radius: 999px;
    background-color: var(--primary-green);
}

.speaker-designation {
    color: var(--primary-green);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.quiz-widget {
    background: linear-gradient(180deg, #ffffff 0%, #fff7f7 100%);
    border: 1px solid rgba(229, 50, 45, 0.18);
    border-top: 4px solid var(--primary-green);
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(38, 50, 56, 0.08);
    color: var(--dark-green);
}

.quiz-widget-text {
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.9;
}

.quiz-unlock-text {
    font-size: 0.75rem;
    color: var(--text-muted);

}

.module-feedback-btn {
    background-color: var(--primary-green);
    border: 1px solid var(--primary-green);
    border-radius: 8px;
    color: #ffffff;
    font-weight: 700;
    transition: all 0.25s ease;
}

.module-feedback-btn:hover {
    background-color: var(--brand-red-dark);
    border-color: var(--brand-red-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-pink-custom {
    background-color: var(--pink);
    color: white;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-pink-custom:hover {
    background-color: #c0486c;
    color: white;
    transform: translateY(-2px);
}

.text-sm { font-size: 0.85rem; }

.text-xs { font-size: 0.7rem; }

.tracker-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.tracker-item:last-child {
    margin-bottom: 0;
}

.tracker-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 16px;
    position: relative;
}

.tracker-circle.done {
    background-color: var(--primary-green);
}

.tracker-circle.done::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 5px;
    width: 7px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.tracker-circle.pending {
    border: 2px solid #e2e8f0;
    background-color: transparent;
}

.next-series-title {
    color: #a0aec0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.next-series-wrapper {
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    background-color: #f8fafc;
}

.next-series-img-placeholder {
    width: 100px;
    height: 70px;
    background-color: #e2e8f0;
    border-radius: 8px;
    flex-shrink: 0;
}

.quiz-assessment-label {
    font-size: 0.7rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.quiz-timer-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid var(--primary-green);
    font-size: 0.9rem;
    background-color: transparent;
}

.quiz-question-text {
    line-height: 1.6;
    font-size: 1.15rem;
}

.quiz-option-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quiz-option-card:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
}

.quiz-option-card .option-text {
    color: #64748b;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.quiz-option-card.selected {
    background-color: #eef2ff;
    border-color: var(--purple);
}

.quiz-option-card.selected .option-text {
    color: #475569;
    font-weight: 500;
}

.custom-radio-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background-color: transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.quiz-option-card.selected .custom-radio-circle {
    border: 6px solid var(--purple);
    background-color: #ffffff;
    box-shadow: none;
}

.quiz-option-card.answer-locked {
    cursor: default;
}

.quiz-option-card.correct-answer {
    background-color: #e8f7f1;
    border-color: var(--primary-green);
}

.quiz-option-card.correct-answer .option-text {
    color: var(--dark-green);
    font-weight: 700;
}

.quiz-option-card.correct-answer .custom-radio-circle {
    border-color: var(--primary-green);
    background-color: var(--primary-green);
}

.quiz-option-card.correct-answer .custom-radio-circle::after {
    content: "";
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: translateY(-1px) rotate(45deg);
}

.quiz-option-card.wrong-answer {
    background-color: #fff1f2;
    border-color: #e11d48;
}

.quiz-option-card.wrong-answer .option-text {
    color: #9f1239;
    font-weight: 700;
}

.quiz-answer-feedback {
    border-radius: 10px;
    padding: 1rem 1.15rem;
    border: 1px solid transparent;
    line-height: 1.55;
}

.quiz-answer-feedback.is-correct {
    color: var(--dark-green);
    background-color: #e8f7f1;
    border-color: rgba(28, 166, 121, 0.28);
}

.quiz-answer-feedback.is-wrong {
    color: #7f1d1d;
    background-color: #fff6f7;
    border-color: rgba(225, 29, 72, 0.2);
}

.quiz-feedback-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 0.65rem;
}

.quiz-feedback-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
    font-size: 0.8rem;
    line-height: 1;
}

.quiz-answer-feedback.is-correct .quiz-feedback-icon {
    background-color: var(--primary-green);
}

.quiz-answer-feedback.is-wrong .quiz-feedback-icon {
    background-color: #e11d48;
}

.quiz-feedback-answer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    color: #334155;
    font-weight: 600;
}

.quiz-feedback-answer span {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.quiz-feedback-answer strong {
    color: var(--dark-green);
}

.quiz-feedback-description {
    margin: 0.65rem 0 0;
    color: #475569;
    font-weight: 500;
}

.course-dashboard-brand-header {
    width: fit-content;
    max-width: 100%;
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    padding: 0.75rem;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(38, 50, 56, 0.05);
}

.course-dashboard-brand-header img {
    width: min(260px, 100%);
    height: auto;
    display: block;
}

.course-dashboard-partners {
    border-radius: 8px;
    padding: 2rem;
}

.course-dashboard-partner-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    margin: 0 auto;
    max-width: 920px;
}

.course-dashboard-partner {
    display: grid;
    gap: 1rem;
    grid-template-rows: auto 150px;
    min-width: 0;
}

.course-dashboard-logo-card {
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 166, 166, 0.14);
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(38, 50, 56, 0.06);
    display: flex;
    height: 150px;
    justify-content: center;
    overflow: hidden;
    padding: 1.25rem 1.5rem;
}

.course-dashboard-enteract-logo img {
    display: block;
    height: 138px;
    object-fit: cover;
    object-position: center 48%;
    width: min(100%, 380px);
}

.course-dashboard-academic-logo img {
    display: block;
    height: auto;
    max-height: 112px;
    max-width: min(100%, 280px);
    object-fit: contain;
    width: auto;
}

@media (max-width: 991.98px) {
    .course-dashboard-partners {
        padding: 1.25rem;
    }

    .course-dashboard-partner-grid {
        gap: 1.25rem;
    }
}

/* Archive video library */
.archive-page { min-height: 70vh; }
.archive-eyebrow { color: #087fc2; font-size: .75rem; font-weight: 800; letter-spacing: .15em; }
.archive-card, .archive-detail, .archive-empty { background: var(--theme-surface, #fff); border: 1px solid var(--theme-border, #e8ecef); border-radius: 1.25rem; overflow: hidden; box-shadow: 0 8px 26px rgba(23, 48, 57, .09); }
.archive-thumb-wrap { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #151515; }
.archive-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.archive-card:hover .archive-thumb { transform: scale(1.03); }
.archive-play { position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; display: grid; place-items: center; width: 50px; height: 50px; color: #fff; background: rgba(0,0,0,.62); border-radius: 50%; font-size: 1.8rem; }
.archive-duration { position: absolute; right: 12px; bottom: 12px; padding: 5px 9px; background: rgba(0,0,0,.72); color: #fff; border-radius: 7px; font-weight: 600; }
.archive-card-body { padding: 1.4rem; }
.archive-card h3 { color: #202528; font-size: 1.15rem; line-height: 1.45; font-weight: 750; min-height: 3.3rem; }
.archive-meta { display: flex; flex-wrap: wrap; gap: 1rem; color: #7a8286; font-size: .9rem; }
.archive-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.archive-speakers { display: flex; align-items: center; gap: .65rem; border-top: 1px solid #edf0f1; margin-top: 1.1rem; padding-top: 1rem; font-size: .88rem; }
.archive-avatars { display: flex; }
.archive-avatars span { width: 38px; height: 38px; margin-right: -9px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; overflow: hidden; background: #e3f1f8; color: #087fc2; }
.archive-avatars img, .archive-detail-speakers img { width: 100%; height: 100%; object-fit: cover; }
.archive-more { margin-left: auto; border: 0; background: #e6f0fa; color: #087fc2; border-radius: 50%; width: 42px; height: 42px; font-weight: 700; }
.archive-detail-speakers { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }
.archive-detail-speakers > div { display: flex; align-items: center; gap: .65rem; }
.archive-detail-speakers img, .archive-detail-speakers span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #e3f1f8; color: #087fc2; overflow: hidden; }

@media (max-width: 767.98px) {
    .course-dashboard-partner-grid {
        grid-template-columns: 1fr;
    }
}

.profile-edit-shell {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(38, 50, 56, 0.06);
    overflow: hidden;
}

.profile-edit-header {
    padding: 1.5rem;
    background: linear-gradient(180deg, #fff7f5 0%, #ffffff 100%);
    border-bottom: 1px solid #e2e8f0;
}

.profile-edit-avatar {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 22px rgba(38, 50, 56, 0.12);
    flex-shrink: 0;
}

.profile-edit-form {
    padding: 1.5rem;
}

.sidebar-avatar {
    width: 48px;
    height: 48px;
}

.sidebar-role-text {
    font-size: 0.75rem;
    letter-spacing: 0.3px;
}

.sidebar-logout-link {
    transition: color 0.3s ease;
}

.sidebar-logout-link:hover {
    color: var(--pink) !important;
}

.tracker-label {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.course-timeline-dots {
    height: 12px;
    width: 250px;
}

.course-timeline-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.course-timeline-dots .dot.done {
    background-color: var(--primary-green);
}

.course-timeline-dots .dot.pending {
    border: 2px solid #cbd5e1;
    background-color: white;
}

.course-timeline-dots .line {
    height: 2px;
    flex-grow: 1;
    margin: 0 4px;
}

.course-timeline-dots .line.done {
    background-color: var(--primary-green);
}

.course-timeline-dots .line.pending {
    background-color: #e2e8f0;
}

.stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.stat-icon-placeholder {
    width: 40px;
    height: 40px;
}

.stat-badge {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.activity-feed .activity-dot {
    width: 12px;
    height: 12px;
}

.activity-feed .activity-line {
    width: 2px;
    background-color: #e2e8f0;
    min-height: 25px;
}

.live-session-card {
    background: var(--theme-accent-gradient-strong);
    border: 1px solid var(--theme-border);
    color: #000000 !important;
}

.live-session-card *,
.live-session-card .text-white {
    color: #000000 !important;
}

.live-badge {
    background-color: rgba(255, 255, 255, 0.72);
    color: var(--dark-green);
    font-size: 0.65rem;
    letter-spacing: 1px;
    padding: 6px 12px;
}

.live-card-graphic {
    min-height: 140px;
}

.live-card-bg-shape {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    top: -50px;
    right: -100px;
    z-index: 0;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.green-dot { background-color: var(--primary-green); }

.purple-dot { background-color: var(--purple); }

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

.quiz-stat-badge {
    min-width: 180px;
    border: 1px solid rgba(0,0,0,0.03);
}

.circle-icon {
    width: 48px;
    height: 48px;
}

.stat-title {
    font-size: 0.65rem;
    letter-spacing: 1px;
    opacity: 0.8;
}

.chart-container-line {
    position: relative;
    min-height: 250px;
    width: 100%;
}

.text-xs { font-size: 0.7rem; }

.custom-progress-bar-light {
    height: 6px;
    background-color: #f1f5f9;
    border-radius: 10px;
}

.w-92 { width: 92%; }

.w-78 { width: 78%; }

.w-65 { width: 65%; }

.recommendation-box {
    background-color: #f0fdf4;
}

.rec-icon {
    font-size: 1rem;
}

.certificate-wrapper {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.certificate-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
}

.certificate-img {
    max-height: 65vh;
    object-fit: contain;
    width: 100%;
    display: block;
    margin: 0 auto;
    background-color: #fafafa;
}

.sidebar-scrollable-menu {
    flex-grow: 1;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.sidebar-scrollable-menu::-webkit-scrollbar {
    display: none;
}

.main-content {
    background-color: #f4f7f6;
    min-width: 0;
    width: 100%;
    overflow-x: hidden;
}

.sidebar-avatar {
    width: 48px;
    height: 48px;
}

.sidebar-role-text {
    font-size: 0.75rem;
    letter-spacing: 0.3px;
}

.sidebar-logout-link {
    transition: all 0.3s ease;
}

.sidebar-logout-link:hover {
    color: #b02a37 !important;
    transform: translateX(4px);
}

.tracker-label {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.course-timeline-dots {
    height: 12px;
    width: 250px;
}

.course-timeline-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.course-timeline-dots .dot.done {
    background-color: var(--primary-green);
}

.course-timeline-dots .dot.pending {
    border: 2px solid #cbd5e1;
    background-color: white;
}

.course-timeline-dots .line {
    height: 2px;
    flex-grow: 1;
    margin: 0 4px;
}

.course-timeline-dots .line.done {
    background-color: var(--primary-green);
}

.course-timeline-dots .line.pending {
    background-color: #e2e8f0;
}

.stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.stat-icon-box {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.stat-icon-box i {
    font-size: 1.45rem;
    line-height: 1;
}

.stat-badge {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.activity-feed .activity-dot {
    width: 12px;
    height: 12px;
}

.activity-feed .activity-line {
    width: 2px;
    background-color: #e2e8f0;
    min-height: 25px;
}

.live-session-card {
    background: var(--theme-accent-gradient-strong);
    border: 1px solid var(--theme-border);
    color: #000000 !important;
}

.live-badge {
    background-color: rgba(255,255,255,0.2);
    font-size: 0.65rem;
    letter-spacing: 1px;
    padding: 6px 12px;
}

.live-card-graphic {
    min-height: 140px;
}

.live-card-bg-shape {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    top: -50px;
    right: -100px;
    z-index: 0;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.green-dot { background-color: var(--primary-green); }

.purple-dot { background-color: var(--purple); }

.chart-container {
    position: relative;
    min-height: 300px;
}

.custom-search-input {
    transition: all 0.3s ease;
}

.custom-search-input:focus {
    box-shadow: 0 0 0 3px rgba(229, 50, 45, 0.15) !important;
    background-color: #ffffff !important;
    border: 1px solid var(--primary-green) !important;
}

.cursor-pointer { cursor: pointer; }

.profile-dropdown {
    position: absolute;
    top: 150%;
    right: 0;
    width: 220px;
    background: #ffffff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1050;
    border: 1px solid #e2e8f0;
}

.profile-dropdown::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 25px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #ffffff;
}

.profile-info::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 20px;
}

.profile-info:hover .profile-dropdown,
.profile-info.active .profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    top: calc(100% + 15px);
}

.profile-info:hover .profile-chevron,
.profile-info.active .profile-chevron {
    transform: rotate(180deg);
}

.profile-chevron { transition: transform 0.3s ease; }

.profile-dropdown .dropdown-item {
    font-size: 0.85rem;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.profile-dropdown .dropdown-item:hover {
    background-color: var(--light-green-bg);
    color: var(--dark-green) !important;
}

.top-header {
    z-index: 1040;
}

.sidebar-brand-wrapper {
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    padding-left: 28px;
}

.search-box {
    max-width: 350px;
}

.header-profile-avatar {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

@media (max-width: 420px) {
    .custom-video-tabs {
        flex-wrap: wrap !important;
        overflow-x: visible !important;
    }

    .custom-video-tabs .nav-item {
        flex: 1 1 auto;
        text-align: center;
    }

    .custom-video-tabs .nav-link {
        width: 100%;
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 576px) {
    .hero-img {
        height: auto;
        max-height: 520px;
    }

    .initiative-logo-grid {
        grid-template-columns: 1fr;
    }

    .initiative-logo-item {
        height: 78px;
    }

    .initiative-logo-item img {
        height: 150px;
        max-width: 220px;
    }

    .hero-title-highlight {
        display: block;
        font-size: clamp(1.85rem, 8.5vw, 2.5rem);
        letter-spacing: -0.04em;
        line-height: 1.05;
        white-space: normal;
    }

    .hero-title-secondary {
        font-size: 1rem;
        white-space: normal;
    }

    .hero-academic-partner {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.55rem;
    }

    .hero-academic-partner img {
        max-height: 42px;
        max-width: 130px;
    }

    .module-comments-panel {
        padding: 1rem;
    }

    .module-comments-header {
        align-items: stretch;
        flex-direction: column;
    }

    .module-comments-count {
        width: 100%;
    }

    .module-comments-stream {
        max-height: 360px;
        padding-right: 0.2rem;
    }

    .module-comment-composer,
    .module-comment-item {
        gap: 0.75rem;
    }

    .module-comment-avatar {
        flex-basis: 36px;
        height: 36px;
        width: 36px;
    }

    .module-comment-input-wrap .d-flex {
        align-items: stretch !important;
        flex-direction: column;
    }

    .module-comment-input-wrap .btn {
        width: 100%;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .search-box {
        max-width: 250px !important;
    }
}

/* Keep the single ENTeract initiative mark full-width at every breakpoint. */
.course-dashboard-partners .initiative-logo-grid-enteract {
    grid-template-columns: minmax(240px, 520px);
    justify-content: center;
}

@media (max-width: 991px) {
    .course-timeline-dots {
        width: 100%;
        max-width: 300px;
    }

    .floating-card {
        left: 20px;
        bottom: 20px;
    }

    .hero-img {
        height: auto;
        max-height: 680px;
    }

    .initiative-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-title-highlight {
        font-size: clamp(2.1rem, 5.5vw, 3rem);
    }

    .hero-title-secondary {
        font-size: 1rem;
        white-space: normal;
    }

    .hero-academic-partner {
        width: 100%;
        justify-content: space-between;
    }

    .offcanvas-end {
        width: 70vw !important;
        min-width: 260px !important;
        max-width: 320px !important;
        box-shadow: -5px 0 15px rgba(0,0,0,0.08);
    }

    .offcanvas-body .nav-item {
        border-bottom: 1px solid rgba(38, 50, 56, 0.1);
        padding: 8px 0;
    }

    .offcanvas-body .nav-item:last-child {
        border-bottom: none;
    }

    .video-thumbnail {
        height: 250px;
    }

    .course-timeline-dots {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .initiative-logo-grid {
        grid-template-columns: 1fr;
    }

    .hero-title-highlight {
        display: block;
        font-size: clamp(1.85rem, 8.5vw, 2.5rem);
        letter-spacing: -0.04em;
        line-height: 1.05;
        white-space: normal;
    }

    .hero-title-secondary {
        font-size: 1rem;
        white-space: normal;
    }

    .hero-academic-partner {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.55rem;
        width: auto;
    }

    .hero-academic-partner img {
        max-height: 42px;
        max-width: 130px;
    }
}

/* Phone layout: shared safeguards for public, authentication and dashboard pages. */
@media (max-width: 575.98px) {
    .container,
    .container-fluid {
        --bs-gutter-x: 1.5rem;
    }

    .navbar {
        padding-bottom: 0.65rem !important;
        padding-top: 0.65rem !important;
    }

    .navbar-brand {
        margin-right: 0.5rem;
        min-width: 0;
    }

    .powered-logo-box {
        height: 38px;
        min-height: 38px;
        min-width: 112px;
        width: 112px;
    }

    .website-navbar {
        padding-bottom: 0.55rem !important;
        padding-top: 0.55rem !important;
    }

    .website-navbar .container {
        --bs-gutter-x: 0.9rem;
    }

    .website-navbar .navbar-brand {
        /* The compact logo has less internal transparent space. */
        margin-left: -0.875rem;
        margin-right: 0.25rem;
    }

    .website-navbar .brand-logo {
        transform: none;
    }

    .education-initiative-section {
        padding-bottom: 1.25rem !important;
        padding-top: 1.25rem !important;
    }

    .education-initiative-section .text-center.mb-4 {
        margin-bottom: 1rem !important;
    }

    .education-initiative-section .initiative-logo-grid {
        gap: 0.6rem;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .education-initiative-section .initiative-logo-item {
        height: 72px;
        min-width: 0;
        padding: 0.4rem;
    }

    .education-initiative-section .initiative-logo-item img {
        height: 54px;
        max-width: 100%;
        width: 100%;
    }

    .course-invite-banner {
        border-radius: 14px;
        padding: 0.65rem;
    }

    .course-invite-heading {
        align-items: flex-start;
        padding: 0.15rem 0.15rem 0.75rem;
    }

    .course-invite-heading h4 {
        font-size: 0.92rem;
    }

    .course-invite-link {
        font-size: 0.72rem;
    }

    .course-next-card:hover {
        transform: none;
    }

    .website-navbar .navbar-nav {
        gap: 0.2rem !important;
    }

    .website-navbar .nav-link {
        font-size: 0.7rem;
        padding-left: 0.3rem;
        padding-right: 0.3rem;
    }

    .website-navbar .nav-item.d-flex {
        gap: 0.25rem !important;
    }

    .website-navbar .btn {
        font-size: 0.68rem;
        padding: 0.42rem 0.6rem !important;
        width: auto !important;
    }

    .public-footer-row {
        gap: 0.75rem;
        min-height: 38px;
    }

    .public-footer-content .footer-text {
        font-size: 0.66rem;
    }

    .hero-section {
        padding-bottom: 2rem !important;
        padding-top: 2rem !important;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 2.5rem);
        max-width: 100%;
    }

    .hero-section .d-flex.flex-wrap.gap-3 {
        display: grid !important;
        gap: 0.75rem !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-section .btn {
        padding-left: 0.65rem !important;
        padding-right: 0.65rem !important;
        white-space: nowrap;
        width: 100%;
    }

    .hero-img {
        border-radius: 14px;
        width: 100%;
    }

    .main-content > .container-fluid {
        padding: 1rem !important;
    }

    .top-header {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    .top-header > .flex-grow-1 {
        margin-right: 0 !important;
        padding-left: 0 !important;
    }

    .profile-dropdown {
        max-width: calc(100vw - 1.5rem);
        right: 0;
    }

    .profile-edit-header,
    .profile-edit-form {
        padding: 1rem;
    }

    .profile-edit-header {
        align-items: flex-start !important;
        flex-direction: column;
    }

    .profile-edit-form .d-flex.justify-content-end {
        flex-direction: column;
    }

    .profile-edit-form .d-flex.justify-content-end .btn {
        width: 100%;
    }

    .course-dashboard-partners,
    .module-comments-panel,
    .topic-video-list {
        padding: 1rem;
    }

    .course-dashboard-logo-card {
        height: auto;
        min-height: 112px;
        padding: 1rem;
    }

    .course-dashboard-partner {
        grid-template-rows: auto minmax(112px, auto);
    }

    .dashboard-footer {
        position: static;
    }

    .dashboard-shell > .main-content {
        padding-bottom: 0;
    }

    .table-responsive {
        -webkit-overflow-scrolling: touch;
    }

    .toast-container,
    #toast-container {
        left: 0.75rem !important;
        right: 0.75rem !important;
        width: auto !important;
    }

    #toast-container > div {
        width: 100% !important;
    }
}

@media (min-width: 992px) {
    .dashboard-body {
        display: flex;
        flex-direction: column;
        height: 100vh;
        overflow: hidden;
    }

    .dashboard-body .top-header {
        flex: 0 0 auto;
    }

    .dashboard-body .dashboard-shell {
        flex: 1 1 auto;
        height: auto;
        min-height: 0 !important;
        overflow: hidden;
    }

    .dashboard-shell > .main-content {
        display: flex;
        flex-direction: column;
        height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
        padding-bottom: 0;
    }

    .dashboard-footer {
        bottom: auto;
        left: auto;
        position: static;
        right: auto;
    }

    .custom-sidebar {
        height: 100%;
        max-height: none;
        overflow: hidden;
        position: static;
        top: auto;
    }
}

@media (min-width: 1400px) {
    .certificate-img {
        max-height: 70vh;
    }
}

/* Soft cyan-to-pink ambient theme */
body::before {
    background-image: var(--theme-gradient);
    background-size: cover;
    content: "";
    inset: 0;
    pointer-events: none;
    position: fixed;
    z-index: -1;
}

body > main,
.main-content,
.dashboard-shell,
.course-overview-section,
.course-dashboard-shell,
.modules-page,
.module-detail-page,
.profile-page {
    background: transparent !important;
}

.bg-transparent-custom,
.top-header,
body > .navbar,
.custom-sidebar {
    background: rgba(255, 255, 255, 0.78) !important;
    border-color: var(--theme-border) !important;
    -webkit-backdrop-filter: blur(18px) saturate(125%);
    backdrop-filter: blur(18px) saturate(125%);
}

body .bg-white,
.form-card,
.profile-edit-shell,
.course-about-panel,
.course-agenda-card,
.module-card,
.overall-progress-card,
.module-comments-panel,
.live-poll-card,
.module-brand-slider-card,
.certificate-download-widget,
.tracker-widget,
.course-person-card {
    background-color: var(--theme-surface) !important;
    border-color: var(--theme-border) !important;
    -webkit-backdrop-filter: blur(12px) saturate(115%);
    backdrop-filter: blur(12px) saturate(115%);
}

.custom-form-control,
.form-control,
.form-select,
.custom-search-input {
    background-color: var(--theme-surface-strong);
    border-color: rgba(143, 183, 201, 0.3);
}

.custom-form-control:focus,
.form-control:focus,
.form-select:focus {
    background-color: #ffffff;
    border-color: rgba(8, 127, 194, 0.44);
    box-shadow: 0 0 0 0.2rem rgba(170, 225, 236, 0.26);
}

.stat-card,
.bg-light-green,
.bg-light-purple,
.badge-custom {
    background: var(--theme-accent-gradient) !important;
    border: 1px solid var(--theme-border);
}

.custom-footer {
    background: var(--theme-accent-gradient);
    border-top: 1px solid var(--theme-border);
}

@media (max-width: 991.98px) {
    /* A backdrop filter on the navbar makes its fixed offcanvas child use the
       short navbar as its containing block, clipping all menu links. */
    body > .navbar.bg-transparent-custom {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    .offcanvas {
        background: rgba(255, 255, 255, 0.94);
        -webkit-backdrop-filter: blur(18px) saturate(125%);
        backdrop-filter: blur(18px) saturate(125%);
    }
}

/* Compact public navigation and module-detail layout on phones. */
@media (max-width: 767.98px) {
    .website-navbar .container {
        position: relative;
    }

    .website-navbar .navbar-toggler {
        align-items: center;
        display: inline-flex;
        flex: 0 0 40px;
        height: 40px;
        justify-content: center;
        padding: 0.35rem;
    }

    .website-navbar .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--theme-border);
        border-radius: 14px;
        box-shadow: 0 16px 34px rgba(15, 55, 70, 0.14);
        left: 0.75rem;
        padding: 0.65rem;
        position: absolute;
        right: 0.75rem;
        top: calc(100% + 0.45rem);
    }

    .website-navbar .navbar-collapse:not(.show) {
        display: none !important;
    }

    .website-navbar .navbar-collapse.show,
    .website-navbar .navbar-collapse.collapsing {
        display: block !important;
    }

    .website-navbar .navbar-nav {
        align-items: stretch !important;
        flex-direction: column !important;
        gap: 0.15rem !important;
        width: 100%;
    }

    .website-navbar .nav-link {
        border-radius: 9px;
        font-size: 0.88rem;
        padding: 0.7rem 0.8rem;
    }

    .website-navbar .nav-link:hover,
    .website-navbar .nav-link-active {
        background: #eefafa;
    }

    .website-navbar .nav-item.d-flex {
        border-top: 1px solid #e4eeee;
        display: block !important;
        margin-top: 0.35rem;
        padding-top: 0.65rem;
    }

    .website-navbar .nav-item.d-flex .btn {
        display: block;
        font-size: 0.82rem;
        padding: 0.65rem 1rem !important;
        width: 100% !important;
    }

    .module-detail-page {
        overflow: hidden;
        padding-bottom: 2rem !important;
        padding-top: 1.25rem !important;
    }

    .module-detail-page > .container {
        --bs-gutter-x: 1.25rem;
    }

    .module-detail-page .row.mb-4 {
        margin-bottom: 1rem !important;
    }

    .module-detail-page h2 {
        font-size: clamp(1.45rem, 7vw, 1.9rem);
        line-height: 1.15;
        overflow-wrap: anywhere;
    }

    .module-detail-page .video-breadcrumb {
        display: flex;
        font-size: 0.78rem;
        line-height: 1.4;
        min-width: 0;
    }

    .module-detail-page .video-breadcrumb span:last-child {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .module-detail-page .video-wrapper,
    .module-detail-page .module-brand-horizontal {
        border-radius: 12px;
        margin-bottom: 1.25rem !important;
    }

    .module-brand-horizontal {
        min-height: 92px;
        padding: 0.5rem;
    }

    .module-brand-horizontal-slide {
        height: 78px;
    }

    .module-brand-horizontal-slide img {
        height: 62px;
        max-width: 68%;
    }

    .episode-speakers-heading h3 {
        font-size: 1.25rem;
    }

    .episode-speakers-heading p {
        margin-bottom: 1rem;
    }

    .episode-speaker-list {
        display: grid;
        gap: 0.6rem;
        grid-template-columns: 1fr;
        overflow: visible;
        padding: 0;
    }

    .episode-speaker-option {
        flex-basis: auto;
        padding: 0.65rem;
    }

    .episode-speaker-detail {
        gap: 0.85rem;
        grid-template-columns: 72px minmax(0, 1fr);
        padding: 0.85rem;
    }

    .episode-speaker-detail > img {
        border-radius: 12px;
        height: 88px;
        width: 72px;
    }

    .episode-speaker-detail h4 {
        font-size: 1rem;
        overflow-wrap: anywhere;
    }

    .episode-speaker-detail p {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .module-detail-page .col-lg-4 {
        margin-top: 0.25rem;
    }

    .module-detail-page .card.p-4,
    .module-detail-page .certificate-download-widget.p-4,
    .module-detail-page .tracker-widget.p-4 {
        padding: 1rem !important;
    }
}

@media (max-width: 380px) {
    .episode-speaker-detail {
        grid-template-columns: 1fr;
    }

    .episode-speaker-detail > img {
        height: 120px;
        width: 104px;
    }
}
