/*
 * Dhimson Learn brand-aligned buttons
 * Shared across public, learner, company, tutor and admin layouts.
 */
:root {
    --dl-brand-magenta: #c21868;
    --dl-brand-magenta-dark: #9e1555;
    --dl-brand-navy: #17364a;
    --dl-brand-navy-dark: #102637;
    --dl-brand-focus: #f3a5c8;
}

/* Public header account actions: match the magenta and charcoal brand buttons. */
body.frontend-page .lms-chrome-navbar .btn-nav-login,
body.frontend-page .lms-chrome-navbar .btn-nav-register {
    display: inline-flex !important;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 5px 14px 5px 6px !important;
    border: 1px solid rgba(23, 54, 74, .12) !important;
    border-radius: 999px !important;
    font-size: .88rem;
    font-style: italic;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

body.frontend-page .lms-chrome-navbar .btn-nav-login {
    color: var(--dl-brand-navy) !important;
    background: linear-gradient(145deg, #fff, #edf2f6) !important;
    box-shadow: 7px 7px 16px rgba(16, 38, 55, .14), -5px -5px 13px rgba(255,255,255,.96), inset 1px 1px 2px rgba(255,255,255,.9);
    animation: dl-neumo-breathe 4.8s ease-in-out infinite;
}

body.frontend-page nav.lms-chrome-navbar .btn-nav-register,
body.frontend-page .lms-chrome-navbar .btn-nav-register {
    color: #fff !important;
    background: linear-gradient(145deg, #34343b, #17171d) !important;
    border-color: rgba(255,255,255,.45) !important;
    box-shadow: 7px 7px 15px rgba(16, 22, 32, .24), -4px -4px 11px rgba(255,255,255,.72), inset 1px 1px 2px rgba(255,255,255,.2) !important;
    animation: dl-neumo-breathe-dark 4.8s 350ms ease-in-out infinite;
}

body.frontend-page .lms-chrome-navbar .btn-nav-icon {
    display: inline-grid;
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    place-items: center;
    border-radius: 12px;
    background: #fff;
    color: var(--dl-brand-magenta);
    box-shadow: 0 2px 8px rgba(16, 38, 55, .16);
    font-family: Arial, sans-serif;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 800;
}

body.frontend-page .lms-chrome-navbar .btn-nav-register .btn-nav-icon {
    background: var(--dl-brand-magenta);
    color: #fff;
    box-shadow: 0 2px 8px rgba(194, 24, 104, .3);
    font-size: 1.15rem;
}

body.frontend-page .lms-chrome-navbar .btn-nav-login:hover,
body.frontend-page .lms-chrome-navbar .btn-nav-register:hover {
    transform: translateY(-2px);
}

/* Soft raised surfaces and a slow breathing highlight for the homepage actions. */
body.frontend-page.page-home .hero-section[data-home-carousel] .hero-cta-btn {
    min-height: 48px;
    border: 1px solid rgba(255,255,255,.74) !important;
    border-radius: 16px !important;
    animation: dl-neumo-breathe 4.8s ease-in-out infinite;
}
body.frontend-page.page-home .hero-section[data-home-carousel] .hero-cta-btn.btn-gradient {
    color: #fff !important;
    background: linear-gradient(145deg,#343943,#1b2029) !important;
    border-color: rgba(255,255,255,.52) !important;
    box-shadow: 8px 8px 18px rgba(2,14,25,.34), -5px -5px 14px rgba(255,255,255,.22), inset 1px 1px 2px rgba(255,255,255,.25), inset -1px -1px 2px rgba(0,0,0,.25) !important;
}
body.frontend-page.page-home .hero-section[data-home-carousel] .hero-cta-btn.btn-gradient i {
    color: #f24896;
}
body.frontend-page.page-home .hero-section[data-home-carousel] .hero-cta-btn.btn-secondary {
    color: #17364a !important;
    background: linear-gradient(145deg,#fff,#e8eef3) !important;
    border-color: rgba(255,255,255,.9) !important;
    box-shadow: 8px 8px 18px rgba(2,14,25,.22), -5px -5px 14px rgba(255,255,255,.72), inset 1px 1px 2px rgba(255,255,255,.95), inset -1px -1px 2px rgba(20,53,75,.08) !important;
    animation-delay: 450ms;
}
body.frontend-page.page-home .hero-section[data-home-carousel] .hero-carousel-arrow,
body.frontend-page.page-home .hero-section[data-home-carousel] .hero-carousel-pause {
    border-color: rgba(255,255,255,.52) !important;
    box-shadow: 5px 5px 12px rgba(2,14,25,.28), -3px -3px 9px rgba(255,255,255,.18), inset 1px 1px 2px rgba(255,255,255,.2) !important;
    animation: dl-neumo-breathe-dark 5s ease-in-out infinite;
}
body.frontend-page.page-home .hero-section[data-home-carousel] :is(.hero-cta-btn,.hero-carousel-arrow,.hero-carousel-pause):active {
    transform: translateY(1px) scale(.985) !important;
    box-shadow: inset 4px 4px 9px rgba(1,12,21,.35), inset -2px -2px 6px rgba(255,255,255,.12) !important;
}
@keyframes dl-neumo-breathe {
    0%,100% { box-shadow: 7px 7px 16px rgba(16,38,55,.14), -5px -5px 13px rgba(255,255,255,.92), 0 0 0 0 rgba(194,24,104,0); }
    50% { box-shadow: 8px 9px 19px rgba(16,38,55,.18), -6px -6px 15px rgba(255,255,255,1), 0 0 0 4px rgba(194,24,104,.07); }
}
@keyframes dl-neumo-breathe-dark {
    0%,100% { filter: brightness(1) drop-shadow(0 0 0 rgba(194, 24, 104, 0)); }
    50% { filter: brightness(1.055) drop-shadow(0 0 7px rgba(194, 24, 104, .3)); }
}

body.frontend-page .lms-chrome-navbar .btn-nav-login:hover {
    box-shadow: 0 8px 18px rgba(16, 38, 55, .18), inset 0 1px 0 #fff;
}

body.frontend-page nav.lms-chrome-navbar .btn-nav-register:hover,
body.frontend-page .lms-chrome-navbar .btn-nav-register:hover {
    color: #fff !important;
    box-shadow: 0 9px 22px rgba(16, 22, 32, .3), 0 0 0 3px rgba(194, 24, 104, .15), inset 0 1px 0 rgba(255,255,255,.2) !important;
}

body.frontend-page .lms-chrome-navbar .btn-nav-login:focus-visible,
body.frontend-page .lms-chrome-navbar .btn-nav-register:focus-visible {
    outline: 3px solid var(--dl-brand-magenta) !important;
    outline-offset: 3px;
}

@media (max-width: 991.98px) {
    body.frontend-page .lms-chrome-navbar .btn-nav-login,
    body.frontend-page .lms-chrome-navbar .btn-nav-register {
        width: fit-content;
        margin: 6px 0;
    }
}

/* Keep semantic danger/success/warning buttons in their established colors. */
.btn,
.button {
    font-family: inherit;
    font-style: italic;
    font-weight: 700;
    letter-spacing: .01em;
    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.btn-primary,
.btn-gradient,
.button-primary {
    color: #fff !important;
    background: linear-gradient(120deg, var(--dl-brand-magenta), #d72d7c) !important;
    border-color: var(--dl-brand-magenta) !important;
    box-shadow: 0 5px 16px rgba(194, 24, 104, .18);
}

.btn-primary:hover:not(:disabled):not(.disabled),
.btn-gradient:hover:not(:disabled):not(.disabled),
.button-primary:hover:not(:disabled) {
    color: #fff !important;
    background: linear-gradient(120deg, var(--dl-brand-magenta-dark), #b91d67) !important;
    border-color: var(--dl-brand-magenta-dark) !important;
    box-shadow: 0 8px 20px rgba(194, 24, 104, .26);
    transform: translateY(-1px);
}

.btn-secondary,
.button-secondary {
    color: #fff !important;
    background: linear-gradient(120deg, var(--dl-brand-navy), var(--dl-brand-navy-dark)) !important;
    border-color: var(--dl-brand-navy) !important;
}

.btn-secondary:hover:not(:disabled):not(.disabled),
.button-secondary:hover:not(:disabled) {
    color: #fff !important;
    background: var(--dl-brand-navy-dark) !important;
    border-color: var(--dl-brand-navy-dark) !important;
    transform: translateY(-1px);
}

.btn-outline-primary,
.btn-outline-secondary,
.button-outline {
    color: var(--dl-brand-navy) !important;
    background: transparent !important;
    border-color: var(--dl-brand-navy) !important;
}

.btn-outline-primary:hover:not(:disabled):not(.disabled),
.btn-outline-secondary:hover:not(:disabled):not(.disabled),
.button-outline:hover:not(:disabled) {
    color: #fff !important;
    background: var(--dl-brand-navy) !important;
    border-color: var(--dl-brand-navy) !important;
}

.btn:focus-visible,
.button:focus-visible,
button.btn:focus-visible {
    outline: 3px solid var(--dl-brand-focus) !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 2px #fff, 0 0 0 5px rgba(194, 24, 104, .38) !important;
}

.btn:disabled,
.btn.disabled,
.button:disabled {
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .btn,
    .button,
    body.frontend-page .lms-chrome-navbar .btn-nav-login,
    body.frontend-page .lms-chrome-navbar .btn-nav-register {
        transition-duration: .01ms !important;
        animation: none !important;
    }
    body.frontend-page.page-home .hero-section[data-home-carousel] .hero-cta-btn,
    body.frontend-page.page-home .hero-section[data-home-carousel] .hero-carousel-arrow,
    body.frontend-page.page-home .hero-section[data-home-carousel] .hero-carousel-pause { animation:none !important; }
}

/* Consistent site-wide typography, while leaving icon glyphs and SVG artwork intact. */
html body,
html body :not(:is(svg, svg *, i, [class*="fa"], [class*="icon"], [data-lucide])) {
    font-family: Calibri, Arial, sans-serif !important;
    font-style: italic !important;
}

html body :is(svg, svg *, i, [class*="fa"], [class*="icon"], [data-lucide]) {
    font-style: normal !important;
}

/* Soft raised controls and a restrained breathing motion across every role area. */
.btn,
.button,
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
[role="button"],
body.frontend-page.page-home .home-nl-head__btn {
    border-radius: 14px !important;
    box-shadow: 4px 4px 9px rgba(16, 38, 55, .14),
        -3px -3px 8px rgba(255, 255, 255, .68),
        inset 0 1px 0 rgba(255, 255, 255, .24);
    animation: dl-site-button-breathe 5.2s ease-in-out infinite !important;
    transform-origin: center;
}

.btn:active,
.button:active,
button:active,
input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active,
[role="button"]:active,
body.frontend-page.page-home .home-nl-head__btn:active {
    animation-play-state: paused;
    transform: translateY(1px) scale(.985);
    box-shadow: inset 3px 3px 7px rgba(16, 38, 55, .2),
        inset -2px -2px 5px rgba(255, 255, 255, .4);
}

@keyframes dl-site-button-breathe {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 0 rgba(194, 24, 104, 0));
        box-shadow: 4px 4px 9px rgba(16, 38, 55, .14), -3px -3px 8px rgba(255, 255, 255, .68), inset 0 1px 0 rgba(255, 255, 255, .24);
    }
    50% {
        filter: brightness(1.045) drop-shadow(0 0 7px rgba(194, 24, 104, .22));
        box-shadow: 6px 7px 13px rgba(16, 38, 55, .22), -4px -4px 10px rgba(255, 255, 255, .82), inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 0 3px rgba(194, 24, 104, .07);
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn,
    .button,
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    [role="button"],
    body.frontend-page .lms-chrome-navbar .btn-nav-login,
    body.frontend-page .lms-chrome-navbar .btn-nav-register,
    body.frontend-page.page-home .home-nl-head__btn {
        animation: none !important;
        transition-duration: .01ms !important;
    }
}

/* Keep dropdown navigation as plain text links, not raised button controls. */
body.frontend-page .lms-chrome-navbar #liveLearningDropdown,
body.frontend-page .lms-chrome-navbar #tutorDropdown {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    animation: none !important;
    transform: none !important;
    filter: none !important;
}

/* A soft animated halo gives the rounded homepage banners a little depth. */
body.frontend-page.page-home #home-hero-carousel {
    animation: dl-banner-shadow-breathe 7.2s ease-in-out infinite;
}

@keyframes dl-banner-shadow-breathe {
    0%, 100% {
        box-shadow: 0 18px 42px rgba(10, 35, 48, .20), 0 0 0 rgba(194, 24, 104, 0);
    }
    50% {
        box-shadow: 0 24px 54px rgba(10, 35, 48, .28), 0 0 22px rgba(194, 24, 104, .12);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.frontend-page.page-home #home-hero-carousel { animation: none !important; }
}


/* Dhimson Learn brand identity: shared frontend palette from the logo. */
:root {
  --dl-brand-magenta: #c21868;
  --dl-brand-magenta-dark: #9e1555;
  --dl-brand-magenta-soft: #f9e8f0;
  --dl-brand-navy: #17364a;
  --dl-brand-navy-dark: #102637;
  --dl-brand-navy-soft: #e9f0f4;
  --dl-brand-focus: #f3a5c8;
  --bs-primary: #c21868;
  --bs-primary-rgb: 194, 24, 104;
  --bs-link-color: #c21868;
  --bs-link-hover-color: #9e1555;
}
body.frontend-page { color: #17364a; }
body.frontend-page h1, body.frontend-page h2, body.frontend-page h3,
body.frontend-page h4, body.frontend-page h5, body.frontend-page h6 { color: #17364a; }
body.frontend-page .hero-section h1, body.frontend-page .hero-section h2,
body.frontend-page .hero-section h3, body.frontend-page .bg-dark h1,
body.frontend-page .bg-dark h2, body.frontend-page .bg-dark h3,
body.frontend-page .text-white h1, body.frontend-page .text-white h2,
body.frontend-page .text-white h3 { color: #fff; }
body.frontend-page a:not(.btn):not(.nav-link):not(.dropdown-item) { color: #c21868; }
body.frontend-page a:not(.btn):not(.nav-link):not(.dropdown-item):hover,
body.frontend-page a:not(.btn):not(.nav-link):not(.dropdown-item):focus-visible { color: #9e1555; }
body.frontend-page .lms-chrome-navbar .nav-link { color: #17364a; }
body.frontend-page .card, body.frontend-page .dashboard-card,
body.frontend-page .stat-card, body.frontend-page .panel,
body.frontend-page .modal-content, body.frontend-page .list-group-item { border-color: rgba(23,54,74,.14); }
body.frontend-page .card:hover, body.frontend-page .dashboard-card:hover,
body.frontend-page .stat-card:hover, body.frontend-page .panel:hover { border-color: rgba(194,24,104,.34); box-shadow: 0 10px 26px rgba(23,54,74,.10), 0 0 0 1px rgba(194,24,104,.05); }
body.frontend-page .form-control:focus, body.frontend-page .form-select:focus { border-color: #c21868; box-shadow: 0 0 0 .22rem rgba(194,24,104,.16); }
body.frontend-page .nav-tabs .nav-link.active, body.frontend-page .nav-pills .nav-link.active,
body.frontend-page .page-item.active .page-link { color: #fff; background-color: #c21868; border-color: #c21868; }
body.frontend-page .page-link { color: #17364a; }
body.frontend-page table thead th { color: #17364a; background-color: #e9f0f4; border-color: rgba(23,54,74,.14); }
body.frontend-page.page-home #home-hero-carousel .hero-background { background: linear-gradient(125deg,#102637 0%,#17364a 56%,#741447 100%) !important; }
/* Semantic success, warning, danger and info colors remain untouched. */


/* Final logo-theme cascade: brand tones across shared public and portal views. */
body.frontend-page { color: #17364a !important; }
body.frontend-page h1, body.frontend-page h2, body.frontend-page h3, body.frontend-page h4, body.frontend-page h5, body.frontend-page h6 { color: #17364a !important; }
body.frontend-page .hero-title, body.frontend-page #home-hero-carousel h1, body.frontend-page #home-hero-carousel h2, body.frontend-page #home-hero-carousel h3, body.frontend-page .hero-section h1, body.frontend-page .hero-section h2, body.frontend-page .hero-section h3, body.frontend-page .bg-dark h1, body.frontend-page .bg-dark h2, body.frontend-page .bg-dark h3, body.frontend-page .text-white h1, body.frontend-page .text-white h2, body.frontend-page .text-white h3 { color: #fff !important; }
body.frontend-page .text-white, body.frontend-page .text-white a:not(.btn), body.frontend-page .bg-dark, body.frontend-page .bg-dark a:not(.btn) { color: #fff !important; }
body.frontend-page a:not(.btn):not(.nav-link):not(.dropdown-item) { color: #c21868 !important; }
body.frontend-page a:not(.btn):not(.nav-link):not(.dropdown-item):hover, body.frontend-page a:not(.btn):not(.nav-link):not(.dropdown-item):focus-visible { color: #9e1555 !important; }
body.frontend-page .text-primary { color: #c21868 !important; }
body.frontend-page .bg-primary, body.frontend-page .btn-primary, body.frontend-page .page-item.active .page-link { color: #fff !important; background-color: #c21868 !important; border-color: #c21868 !important; }
body.frontend-page .btn-primary:hover, body.frontend-page .btn-primary:focus-visible { background-color: #9e1555 !important; border-color: #9e1555 !important; }
body.frontend-page .form-control:focus, body.frontend-page .form-select:focus { border-color: #c21868 !important; box-shadow: 0 0 0 .22rem rgba(194,24,104,.16) !important; }
/* Keep semantic success, warning, danger, and info colors intact. */


/* Ensure heading fill effects use the Dhimson logo palette across shared pages. */
body.frontend-page.frontend-page main.main-content :is(h1,h2,h3,h4,h5,h6,.page-title,.section-title,.card-title,.course-title,.ct-hero-title,.bc-hero-title,.bc-page-title,.wb-hero-title,.wbx-title,.bl-hero-title,.bl-show-title,.ec-hero-title,.tl-hero-title,.hc-hero-title,.ab-hero-title,.ts-hero-title,.tp-hero-title,.tutor-title,.home-trust-title,.cta-title):not(.hero-ref-title):not(.learn-current-lesson-title) { color: #17364a !important; -webkit-text-fill-color: #17364a !important; }
body.frontend-page.frontend-page main.main-content :is(h1,h2,h3,h4,h5,h6,.page-title,.section-title,.card-title,.course-title,.ct-hero-title,.bc-hero-title,.bc-page-title,.wb-hero-title,.wbx-title,.bl-hero-title,.bl-show-title,.ec-hero-title,.tl-hero-title,.hc-hero-title,.ab-hero-title,.ts-hero-title,.tp-hero-title,.tutor-title,.home-trust-title,.cta-title):not(.hero-ref-title):not(.learn-current-lesson-title) :is(span,strong,em) { color: #17364a !important; -webkit-text-fill-color: #17364a !important; }
body.frontend-page.frontend-page main.main-content :is(.tl-hero-title,.tl-hero-title .tl-gradient,.bc-hero-title,.wb-hero-title,.hc-hero-title,.ab-hero-title,.ts-hero-title,.tp-hero-title) :is(span,strong,em), body.frontend-page.frontend-page main.main-content :is(.tl-hero-title,.tl-gradient) { color: #c21868 !important; -webkit-text-fill-color: #c21868 !important; }
body.frontend-page.frontend-page main.main-content :is(.hero-title,#home-hero-carousel h1,#home-hero-carousel h2,#home-hero-carousel h3,.hero-section h1,.hero-section h2,.hero-section h3,.bg-dark h1,.bg-dark h2,.bg-dark h3,.text-white h1,.text-white h2,.text-white h3) { color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; }

/* Extend the logo palette into signed-in learner, tutor, company and admin portals. */
body[class*="-portal"] { color: #17364a; }
body[class*="-portal"] main :is(h1,h2,h3,h4,h5,h6,.page-title,.section-title,.card-title,.course-title), body[class*="-portal"] .main-content :is(h1,h2,h3,h4,h5,h6,.page-title,.section-title,.card-title,.course-title), body.company-storefront main :is(h1,h2,h3,h4,h5,h6,.page-title,.section-title,.card-title,.course-title) { color: #17364a !important; -webkit-text-fill-color: #17364a !important; }
body[class*="-portal"] main a:not(.btn):not(.nav-link):not(.dropdown-item):not([role="button"]), body[class*="-portal"] .main-content a:not(.btn):not(.nav-link):not(.dropdown-item):not([role="button"]), body.company-storefront main a:not(.btn):not(.nav-link):not(.dropdown-item):not([role="button"]) { color: #c21868; }
body[class*="-portal"] main a:not(.btn):not(.nav-link):not(.dropdown-item):not([role="button"]):hover, body[class*="-portal"] .main-content a:not(.btn):not(.nav-link):not(.dropdown-item):not([role="button"]):hover { color: #9e1555; }
body[class*="-portal"] .text-primary, body.company-storefront .text-primary { color: #c21868 !important; }
body[class*="-portal"] .btn-primary, body[class*="-portal"] .page-item.active .page-link, body.company-storefront .btn-primary { color: #fff !important; background-color: #c21868 !important; border-color: #c21868 !important; }
body[class*="-portal"] .btn-primary:hover, body[class*="-portal"] .btn-primary:focus-visible, body.company-storefront .btn-primary:hover { background-color: #9e1555 !important; border-color: #9e1555 !important; }
body[class*="-portal"] .form-control:focus, body[class*="-portal"] .form-select:focus, body.company-storefront .form-control:focus, body.company-storefront .form-select:focus { border-color: #c21868 !important; box-shadow: 0 0 0 .22rem rgba(194,24,104,.16) !important; }
body[class*="-portal"] .card, body[class*="-portal"] .panel, body[class*="-portal"] .modal-content, body.company-storefront .card { border-color: rgba(23,54,74,.14); }

/* Site-wide breathing neumorphic action buttons (live update). */
@keyframes dl-button-breathe-live {
  0%, 100% { box-shadow: 7px 7px 16px rgba(16,38,55,.18), -6px -6px 15px rgba(255,255,255,.92); transform: translateY(0); }
  50% { box-shadow: 9px 9px 20px rgba(16,38,55,.22), -7px -7px 18px rgba(255,255,255,.96), 0 0 0 4px rgba(194,24,104,.045); transform: translateY(-1px); }
}
body.frontend-page :is(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, a[role="button"], [role="button"]),
body[class*="-portal"] :is(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, a[role="button"], [role="button"]),
body.company-storefront :is(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, a[role="button"], [role="button"]) {
  border: 0 !important;
  border-width: 0 !important;
  border-color: transparent !important;
  color: #000 !important;
  box-shadow: 7px 7px 16px rgba(16,38,55,.18), -6px -6px 15px rgba(255,255,255,.92) !important;
  animation: dl-button-breathe-live 4.2s ease-in-out infinite;
  transition: transform .22s ease, box-shadow .28s ease, color .2s ease, background-color .2s ease !important;
}
/* Filled/dark action buttons use white labels for contrast; all other buttons use black. */
body.frontend-page :is(.btn-primary, .btn-dark, .btn-secondary, .btn-success, .btn-danger, .btn-info, .btn-register, .btn-nav-register, .footer-newsletter-submit, .tl-search-btn, .dl-assistant-send, .dl-assistant-fab),
body[class*="-portal"] :is(.btn-primary, .btn-dark, .btn-secondary, .btn-success, .btn-danger, .btn-info, .btn-register, .btn-nav-register, .footer-newsletter-submit, .tl-search-btn, .dl-assistant-send, .dl-assistant-fab),
body.company-storefront :is(.btn-primary, .btn-dark, .btn-secondary, .btn-success, .btn-danger, .btn-info, .btn-register, .btn-nav-register, .footer-newsletter-submit, .tl-search-btn, .dl-assistant-send, .dl-assistant-fab) {
  color: #fff !important;
}
body.frontend-page .lms-chrome-navbar .btn-nav-login,
body[class*="-portal"] .lms-chrome-navbar .btn-nav-login,
body.frontend-page .lms-chrome-navbar .btn-nav-register,
body[class*="-portal"] .lms-chrome-navbar .btn-nav-register {
  border: 0 !important;
  border-width: 0 !important;
}
body.frontend-page :is(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, a[role="button"], [role="button"]):hover,
body[class*="-portal"] :is(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, a[role="button"], [role="button"]):hover,
body.company-storefront :is(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, a[role="button"], [role="button"]):hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 10px 10px 20px rgba(16,38,55,.2), -7px -7px 17px rgba(255,255,255,.96), 0 0 0 4px rgba(194,24,104,.055) !important;
}
body.frontend-page :is(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, a[role="button"], [role="button"]):active,
body[class*="-portal"] :is(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, a[role="button"], [role="button"]):active,
body.company-storefront :is(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, a[role="button"], [role="button"]):active {
  transform: translateY(1px) scale(.985);
  box-shadow: inset 4px 4px 8px rgba(16,38,55,.16), inset -4px -4px 8px rgba(255,255,255,.78) !important;
}
body.frontend-page :is(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, a[role="button"], [role="button"]):focus-visible,
body[class*="-portal"] :is(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, a[role="button"], [role="button"]):focus-visible,
body.company-storefront :is(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, a[role="button"], [role="button"]):focus-visible {
  outline: 2px solid #c21868 !important;
  outline-offset: 3px;
}
body.frontend-page :is(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, a[role="button"], [role="button"]):disabled,
body[class*="-portal"] :is(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, a[role="button"], [role="button"]):disabled,
body.company-storefront :is(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, a[role="button"], [role="button"]):disabled {
  animation: none;
  cursor: not-allowed;
}
@media (prefers-reduced-motion: reduce) {
  body.frontend-page :is(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, a[role="button"], [role="button"]),
  body[class*="-portal"] :is(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, a[role="button"], [role="button"]),
  body.company-storefront :is(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, a[role="button"], [role="button"]) { animation: none !important; transition: none !important; }
}


/* Explicitly include branded header links and controls with component-specific styles. */
body.frontend-page :is(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, a[role="button"], [role="button"], .btn-nav-login, .btn-nav-register, .footer-newsletter-submit, .tl-search-btn, .lms-link-btn),
body[class*="-portal"] :is(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, a[role="button"], [role="button"], .btn-nav-login, .btn-nav-register, .footer-newsletter-submit, .tl-search-btn, .lms-link-btn),
body.company-storefront :is(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, a[role="button"], [role="button"], .btn-nav-login, .btn-nav-register, .footer-newsletter-submit, .tl-search-btn, .lms-link-btn) {
  border: 0 !important;
  border-width: 0 !important;
  border-color: transparent !important;
  color: #000 !important;
  box-shadow: 7px 7px 16px rgba(16,38,55,.18), -6px -6px 15px rgba(255,255,255,.92) !important;
  animation: dl-button-breathe-live 4.2s ease-in-out infinite !important;
}
body.frontend-page :is(.btn-nav-register, .btn-primary, .btn-dark, .btn-secondary, .btn-success, .btn-danger, .btn-info, .btn-register, .footer-newsletter-submit, .tl-search-btn, .dl-assistant-send, .dl-assistant-fab),
body[class*="-portal"] :is(.btn-nav-register, .btn-primary, .btn-dark, .btn-secondary, .btn-success, .btn-danger, .btn-info, .btn-register, .footer-newsletter-submit, .tl-search-btn, .dl-assistant-send, .dl-assistant-fab),
body.company-storefront :is(.btn-nav-register, .btn-primary, .btn-dark, .btn-secondary, .btn-success, .btn-danger, .btn-info, .btn-register, .footer-newsletter-submit, .tl-search-btn, .dl-assistant-send, .dl-assistant-fab) {
  color: #fff !important;
}
body.frontend-page .lms-chrome-navbar :is(.btn-nav-login, .btn-nav-register),
body[class*="-portal"] .lms-chrome-navbar :is(.btn-nav-login, .btn-nav-register) {
  border: 0 !important;
  border-width: 0 !important;
  animation: dl-button-breathe-live 4.2s ease-in-out infinite !important;
}
body.frontend-page .lms-chrome-navbar .btn-nav-login,
body[class*="-portal"] .lms-chrome-navbar .btn-nav-login { color: #000 !important; }


/* Final contrast overrides for branded controls whose component CSS is more specific. */
body.frontend-page #navbarNav a.btn-nav-login,
body[class*="-portal"] #navbarNav a.btn-nav-login { color: #000 !important; border: 0 !important; animation: dl-button-breathe-live 4.2s ease-in-out infinite !important; }
body.frontend-page #navbarNav a.btn-nav-register,
body[class*="-portal"] #navbarNav a.btn-nav-register { color: #fff !important; border: 0 !important; animation: dl-button-breathe-live 4.2s ease-in-out infinite !important; }
body.frontend-page button.tl-search-btn.tl-search-btn,
body[class*="-portal"] button.tl-search-btn.tl-search-btn { color: #fff !important; border: 0 !important; animation: dl-button-breathe-live 4.2s ease-in-out infinite !important; box-shadow: 7px 7px 16px rgba(16,38,55,.18), -6px -6px 15px rgba(255,255,255,.92) !important; }
body.frontend-page #footer-newsletter-submit,
body[class*="-portal"] #footer-newsletter-submit { color: #fff !important; border: 0 !important; animation: dl-button-breathe-live 4.2s ease-in-out infinite !important; box-shadow: 7px 7px 16px rgba(16,38,55,.18), -6px -6px 15px rgba(255,255,255,.92) !important; }
body.frontend-page button.btn-primary.btn-primary,
body[class*="-portal"] button.btn-primary.btn-primary,
body.frontend-page button.btn-dark.btn-dark,
body[class*="-portal"] button.btn-dark.btn-dark { color: #fff !important; border: 0 !important; animation: dl-button-breathe-live 4.2s ease-in-out infinite !important; }
body.frontend-page footer.professional-footer.dynamic-footer button.lms-link-btn.lms-link-btn,
body[class*="-portal"] footer.professional-footer.dynamic-footer button.lms-link-btn.lms-link-btn { color: #fff !important; border: 0 !important; animation: dl-button-breathe-live 4.2s ease-in-out infinite !important; }
body.frontend-page button.btn-outline-dark.btn-outline-dark,
body[class*="-portal"] button.btn-outline-dark.btn-outline-dark,
body.frontend-page button.btn-light.btn-light,
body[class*="-portal"] button.btn-light.btn-light { color: #000 !important; border: 0 !important; animation: dl-button-breathe-live 4.2s ease-in-out infinite !important; }
@media (prefers-reduced-motion: reduce) {
  body.frontend-page :is(button, .btn, .btn-nav-login, .btn-nav-register, .lms-link-btn),
  body[class*="-portal"] :is(button, .btn, .btn-nav-login, .btn-nav-register, .lms-link-btn) { animation: none !important; }
}


/* Tutor-directory CTA and filter controls; keep navigation dropdowns plain. */
body.frontend-page a.tl-btn-primary.tl-btn-sm:not(.btn):not(.nav-link):not(.dropdown-item),
body[class*="-portal"] a.tl-btn-primary.tl-btn-sm:not(.btn):not(.nav-link):not(.dropdown-item) { color: #fff !important; border: 0 !important; animation: dl-button-breathe-live 4.2s ease-in-out infinite !important; box-shadow: 7px 7px 16px rgba(16,38,55,.18), -6px -6px 15px rgba(255,255,255,.92) !important; }
body.frontend-page a.tl-btn-outline.tl-btn-sm:not(.btn):not(.nav-link):not(.dropdown-item),
body[class*="-portal"] a.tl-btn-outline.tl-btn-sm:not(.btn):not(.nav-link):not(.dropdown-item),
body.frontend-page a.tl-sort-tab:not(.btn):not(.nav-link):not(.dropdown-item),
body[class*="-portal"] a.tl-sort-tab:not(.btn):not(.nav-link):not(.dropdown-item) { color: #000 !important; border: 0 !important; animation: dl-button-breathe-live 4.2s ease-in-out infinite !important; box-shadow: 7px 7px 16px rgba(16,38,55,.14), -5px -5px 13px rgba(255,255,255,.92) !important; }
body.frontend-page #navbarNav button.nav-link.dropdown-toggle,
body[class*="-portal"] #navbarNav button.nav-link.dropdown-toggle { color: #000 !important; border: 0 !important; box-shadow: none !important; animation: none !important; }

/* Keep the existing plain header dropdown navigation black, without button effects. */
body.frontend-page .navbar .nav-link.dropdown-toggle,
body[class*="-portal"] .navbar .nav-link.dropdown-toggle { color: #000 !important; border: 0 !important; box-shadow: none !important; animation: none !important; }

/* Header dropdown controls remain plain text links; enforce pure black only. */
body.frontend-page #liveLearningDropdown, body.frontend-page #tutorDropdown,
body[class*="-portal"] #liveLearningDropdown, body[class*="-portal"] #tutorDropdown { color: #000 !important; animation: none !important; box-shadow: none !important; border: 0 !important; }


/* Cover legacy and homepage-specific CTA anchors that do not use the Bootstrap .btn class. */
body.frontend-page a[class*="btn"]:not(.btn):not(.nav-link):not(.dropdown-item),
body[class*="-portal"] a[class*="btn"]:not(.btn):not(.nav-link):not(.dropdown-item),
body.company-storefront a[class*="btn"]:not(.btn):not(.nav-link):not(.dropdown-item) {
  color: #000 !important; border: 0 !important; border-width: 0 !important;
  box-shadow: 7px 7px 16px rgba(16,38,55,.16), -6px -6px 15px rgba(255,255,255,.92) !important;
  animation: dl-button-breathe-live 4.2s ease-in-out infinite !important;
}
body.frontend-page a.btn:not(.btn-nav-login):not(.btn-nav-register),
body[class*="-portal"] a.btn:not(.btn-nav-login):not(.btn-nav-register),
body.company-storefront a.btn:not(.btn-nav-login):not(.btn-nav-register) {
  color: #000 !important; border: 0 !important; border-width: 0 !important;
  box-shadow: 7px 7px 16px rgba(16,38,55,.16), -6px -6px 15px rgba(255,255,255,.92) !important;
  animation: dl-button-breathe-live 4.2s ease-in-out infinite !important;
}
body.frontend-page a.btn.btn-primary, body.frontend-page a.btn.btn-gradient,
body.frontend-page a.btn.tutor-cta-btn.btn-gradient, body.frontend-page a.btn.hero-cta-btn.btn-gradient,
body.frontend-page a.home-nl-head__btn--primary,
body[class*="-portal"] a.btn.btn-primary, body[class*="-portal"] a.btn.btn-gradient,
body[class*="-portal"] a.btn.tutor-cta-btn.btn-gradient, body[class*="-portal"] a.btn.hero-cta-btn.btn-gradient,
body[class*="-portal"] a.home-nl-head__btn--primary,
body.company-storefront a.btn.btn-primary, body.company-storefront a.btn.btn-gradient {
  color: #fff !important;
}
body.frontend-page a.btn.btn-secondary, body.frontend-page a.btn.btn-outline,
body.frontend-page a.btn.btn-outline-dark, body.frontend-page a.home-nl-head__btn--outline,
body[class*="-portal"] a.btn.btn-secondary, body[class*="-portal"] a.btn.btn-outline,
body[class*="-portal"] a.btn.btn-outline-dark, body[class*="-portal"] a.home-nl-head__btn--outline,
body.company-storefront a.btn.btn-secondary, body.company-storefront a.btn.btn-outline { color: #000 !important; }
body.frontend-page a.hero-cta-btn.btn-secondary,
body[class*="-portal"] a.hero-cta-btn.btn-secondary { color: #000 !important; border: 0 !important; animation: dl-button-breathe-live 4.2s ease-in-out infinite !important; }
body.frontend-page a.hiw-step-btn, body.frontend-page a.efs-card__btn,
body.frontend-page a.home-nl-head__btn, body[class*="-portal"] a.hiw-step-btn,
body[class*="-portal"] a.efs-card__btn, body[class*="-portal"] a.home-nl-head__btn {
  border: 0 !important; border-width: 0 !important; animation: dl-button-breathe-live 4.2s ease-in-out infinite !important;
  box-shadow: 7px 7px 16px rgba(16,38,55,.14), -5px -5px 13px rgba(255,255,255,.92) !important;
}
body.frontend-page a.hiw-step-btn, body.frontend-page a.efs-card__btn,
body.frontend-page a.home-nl-head__btn--outline,
body[class*="-portal"] a.hiw-step-btn, body[class*="-portal"] a.efs-card__btn,
body[class*="-portal"] a.home-nl-head__btn--outline { color: #000 !important; }
body.frontend-page a.home-nl-head__btn--primary,
body[class*="-portal"] a.home-nl-head__btn--primary { color: #fff !important; }


/* Home page rules with specificity above its carousel and newsletter component styles. */
body.frontend-page.page-home .hero-section[data-home-carousel] a.hero-cta-btn {
  border: 0 !important; border-width: 0 !important;
  animation: dl-button-breathe-live 4.2s ease-in-out infinite !important;
  box-shadow: 7px 7px 16px rgba(16,38,55,.18), -6px -6px 15px rgba(255,255,255,.92) !important;
}
body.frontend-page.page-home .hero-section[data-home-carousel] a.hero-cta-btn.btn-secondary { color: #000 !important; }
body.frontend-page.page-home .hero-section[data-home-carousel] a.hero-cta-btn.btn-gradient { color: #fff !important; }
body.frontend-page.page-home a.home-nl-head__btn.home-nl-head__btn--primary { color: #fff !important; border: 0 !important; animation: dl-button-breathe-live 4.2s ease-in-out infinite !important; }
body.frontend-page.page-home a.home-nl-head__btn.home-nl-head__btn--outline { color: #000 !important; border: 0 !important; animation: dl-button-breathe-live 4.2s ease-in-out infinite !important; }



/* Final live-site contrast and empty-state repair · 24 Oct 2026 */
/* Register treatment: charcoal surface, white label, magenta accent, visible breathing shadow. */
body.frontend-page a.dl-home-btn--register,
body.frontend-page button.dl-home-btn--register,
body[class*="-portal"] a.dl-home-btn--register,
body[class*="-portal"] button.dl-home-btn--register,
body.company-storefront a.dl-home-btn--register,
body.company-storefront button.dl-home-btn--register {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: linear-gradient(145deg, #30343d, #171920) !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: 7px 7px 16px rgba(16, 38, 55, .18), -5px -5px 13px rgba(255,255,255,.82) !important;
    animation: dl-button-breathe-live 4.2s ease-in-out infinite !important;
}
body.frontend-page a.dl-home-btn--register :is(span,strong,em,i,svg),
body.frontend-page button.dl-home-btn--register :is(span,strong,em,i,svg),
body[class*="-portal"] a.dl-home-btn--register :is(span,strong,em,i,svg),
body.company-storefront a.dl-home-btn--register :is(span,strong,em,i,svg) {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
/* Login treatment: light neumorphic surface and navy label. */
body.frontend-page a.dl-home-btn--login,
body.frontend-page button.dl-home-btn--login,
body[class*="-portal"] a.dl-home-btn--login,
body[class*="-portal"] button.dl-home-btn--login,
body.company-storefront a.dl-home-btn--login,
body.company-storefront button.dl-home-btn--login {
    color: #17364a !important;
    -webkit-text-fill-color: #17364a !important;
    background: linear-gradient(145deg, #fff, #edf2f6) !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: 7px 7px 16px rgba(16, 38, 55, .14), -5px -5px 13px rgba(255,255,255,.96) !important;
    animation: dl-button-breathe 4.8s ease-in-out infinite !important;
}
body.frontend-page a.dl-home-btn--login :is(span,strong,em,i,svg),
body.frontend-page button.dl-home-btn--login :is(span,strong,em,i,svg),
body[class*="-portal"] a.dl-home-btn--login :is(span,strong,em,i,svg),
body.company-storefront a.dl-home-btn--login :is(span,strong,em,i,svg) {
    color: #17364a !important;
    -webkit-text-fill-color: #17364a !important;
}
/* Fix the black-on-black action labels shown on course filters and empty states. */
body.frontend-page main.main-content :is(.ac-filter-btn,.wb-empty-btn--primary),
body.frontend-page main.main-content a:is(.ac-filter-btn,.wb-empty-btn--primary),
body.frontend-page main.main-content button:is(.ac-filter-btn,.wb-empty-btn--primary) {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: linear-gradient(145deg, #30343d, #171920) !important;
    border: 0 !important;
    border-radius: 999px !important;
    min-height: 44px;
    box-shadow: 6px 6px 14px rgba(16,38,55,.18), -4px -4px 11px rgba(255,255,255,.88) !important;
    animation: dl-button-breathe-live 4.2s ease-in-out infinite !important;
}
body.frontend-page main.main-content :is(.ac-clear-btn,.wb-empty-btn--outline) {
    color: #17364a !important;
    -webkit-text-fill-color: #17364a !important;
    background: linear-gradient(145deg, #fff, #edf2f6) !important;
    border: 0 !important;
    border-radius: 999px !important;
}
body.frontend-page main.main-content .wb-empty-btn--primary :is(span,i,svg),
body.frontend-page main.main-content .ac-filter-btn :is(span,i,svg) {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
/* Bring all catalogue selects into the same rounded, filled brand treatment. */
body.frontend-page main.main-content :is(select,.form-select,.filter-select) {
    color: #17364a !important;
    background-color: #f7f9fc !important;
    border: 1px solid rgba(23,54,74,.16) !important;
    border-radius: 999px !important;
    min-height: 48px;
    padding-inline: 1rem 2.7rem !important;
    box-shadow: inset 2px 2px 5px rgba(23,54,74,.045), 3px 3px 8px rgba(23,54,74,.06) !important;
}
body.frontend-page main.main-content :is(select,.form-select,.filter-select):focus {
    border-color: #c21868 !important;
    box-shadow: 0 0 0 3px rgba(194,24,104,.14) !important;
}
body.frontend-page main.main-content :is(select,.form-select,.filter-select) option {
    color: #17364a;
    background: #f7f9fc;
}
/* Shorten and elevate the no-results sections so the empty catalogue reads as an intentional state. */
body.frontend-page main.main-content .ac-empty,
body.frontend-page main.main-content .bc-empty {
    width: min(100% - 2rem, 900px) !important;
    min-height: 0 !important;
    margin: 1.25rem auto 2rem !important;
    padding: clamp(1.75rem, 4vw, 2.5rem) !important;
    border: 1px solid rgba(23,54,74,.12) !important;
    border-radius: 28px !important;
    background: linear-gradient(145deg, #fff, #f7f9fc) !important;
    box-shadow: 8px 10px 26px rgba(16,38,55,.08), -5px -5px 16px rgba(255,255,255,.95) !important;
    text-align: center;
}
body.frontend-page main.main-content .ac-empty-icon {
    color: #c21868 !important;
    background: #f9e8f0 !important;
    border-radius: 20px !important;
}
body.frontend-page main.main-content .bc-empty-text {
    color: #17364a !important;
    line-height: 1.55;
}
/* Consistent brand color for webinar empty-state actions and remove the unrelated violet. */
body.frontend-page main.main-content .wb-empty-btn--primary {
    background: linear-gradient(145deg, #30343d, #171920) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
body.frontend-page main.main-content .wb-empty-btn--outline {
    background: linear-gradient(145deg, #fff, #edf2f6) !important;
    color: #17364a !important;
    -webkit-text-fill-color: #17364a !important;
    border-color: rgba(23,54,74,.12) !important;
}
/* Newsletter submit and cookie controls must remain readable on their dark surfaces. */
body.frontend-page main.main-content :is(.footer-newsletter-submit,#footer-newsletter-submit,#webinars-newsletter-submit) {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: linear-gradient(145deg, #30343d, #171920) !important;
    border: 0 !important;
    border-radius: 999px !important;
    min-height: 48px;
}
body.frontend-page .lms-link-btn {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: linear-gradient(145deg, #30343d, #171920) !important;
    border: 0 !important;
    border-radius: 999px !important;
    padding: .65rem 1.1rem !important;
}
/* Assistant controls use Dhimson magenta/navy instead of the browser-blue theme. */
body.frontend-page :is(#dlAssistantFab,.dl-assistant-fab,.dl-assistant-send) {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: linear-gradient(145deg, #d72d7c, #9e1555) !important;
    border: 0 !important;
    box-shadow: 0 8px 22px rgba(158,21,85,.28), 4px 4px 10px rgba(23,54,74,.14) !important;
}
body.frontend-page :is(#dlAssistantFab,.dl-assistant-fab,.dl-assistant-send) :is(svg,path,circle,line,polyline,polygon,i) {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    stroke: #fff !important;
    fill: currentColor;
}
/* Remove unrelated green success buttons while retaining readable semantic text. */
body.frontend-page main.main-content :is(.btn-success,.btn-outline-success) {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: linear-gradient(145deg, #c21868, #9e1555) !important;
    border: 0 !important;
    border-radius: 999px !important;
}
@media (max-width: 767.98px) {
    body.frontend-page main.main-content .ac-empty,
    body.frontend-page main.main-content .bc-empty { width: calc(100% - 1rem) !important; padding: 1.5rem 1rem !important; border-radius: 22px !important; }
    body.frontend-page main.main-content .ac-filter-btn { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    body.frontend-page a.dl-home-btn--register,
    body.frontend-page button.dl-home-btn--register,
    body.frontend-page a.dl-home-btn--login,
    body.frontend-page button.dl-home-btn--login,
    body.frontend-page main.main-content :is(.ac-filter-btn,.wb-empty-btn--primary) { animation: none !important; transition: none !important; }
}


/* 2026-10-25 shared public control contrast and dropdown repair. */
@keyframes dl-public-control-breathe {
  0%, 100% { box-shadow: 7px 7px 16px rgba(16,38,55,.16), -5px -5px 13px rgba(255,255,255,.90), 0 0 0 rgba(194,24,104,0); }
  50% { box-shadow: 8px 8px 20px rgba(16,38,55,.20), -5px -5px 14px rgba(255,255,255,.96), 0 0 12px rgba(194,24,104,.24); }
}
body.frontend-page main.main-content :is(.btn-primary,.btn-dark,.btn-secondary,.btn-success,.btn-danger,.btn-info,.btn-gradient,.course-card-btn--enroll,.ac-filter-btn,.wb-empty-btn--primary,.footer-newsletter-submit,#footer-newsletter-submit,#webinars-newsletter-submit,.tl-btn-primary,.dl-home-btn--register),
body.frontend-page main.main-content a:is(.btn-primary,.btn-dark,.btn-secondary,.btn-success,.btn-danger,.btn-info,.btn-gradient,.course-card-btn--enroll,.ac-filter-btn,.wb-empty-btn--primary,.tl-btn-primary,.dl-home-btn--register),
body.frontend-page footer :is(.footer-newsletter-submit,#footer-newsletter-submit,#webinars-newsletter-submit,.dl-home-btn--register) {
  color:#fff !important; -webkit-text-fill-color:#fff !important;
  background:linear-gradient(145deg,#17364a,#102637) !important;
  border:0 !important; border-color:transparent !important; border-radius:999px !important;
  box-shadow:7px 7px 16px rgba(16,38,55,.17),-5px -5px 13px rgba(255,255,255,.88) !important;
  animation:dl-public-control-breathe 4.2s ease-in-out infinite !important;
  transition:transform .22s ease,box-shadow .22s ease,filter .22s ease !important;
}
body.frontend-page main.main-content :is(.btn-primary,.btn-dark,.btn-secondary,.btn-success,.btn-danger,.btn-info,.btn-gradient,.course-card-btn--enroll,.ac-filter-btn,.wb-empty-btn--primary,.footer-newsletter-submit,#footer-newsletter-submit,#webinars-newsletter-submit,.tl-btn-primary,.dl-home-btn--register) :is(span,strong,em,i,svg),
body.frontend-page main.main-content a:is(.btn-primary,.btn-dark,.btn-secondary,.btn-success,.btn-danger,.btn-info,.btn-gradient,.course-card-btn--enroll,.ac-filter-btn,.wb-empty-btn--primary,.tl-btn-primary,.dl-home-btn--register) :is(span,strong,em,i,svg),
body.frontend-page footer :is(.footer-newsletter-submit,#footer-newsletter-submit,#webinars-newsletter-submit,.dl-home-btn--register) :is(span,strong,em,i,svg) {
  color:#fff !important; -webkit-text-fill-color:#fff !important; fill:currentColor !important;
}
body.frontend-page main.main-content :is(.btn-outline,.btn-outline-dark,.btn-outline-secondary,.btn-light,.ac-clear-btn,.wb-empty-btn--outline,.tl-btn-outline,.tl-sort-tab,.hero-cta-btn.btn-secondary,.dl-home-btn--login),
body.frontend-page main.main-content a:is(.btn-outline,.btn-outline-dark,.btn-outline-secondary,.btn-light,.ac-clear-btn,.wb-empty-btn--outline,.tl-btn-outline,.tl-sort-tab,.hero-cta-btn.btn-secondary,.dl-home-btn--login),
body.frontend-page footer :is(.cookie-choices-button,.cookie-choice-link,.dl-home-btn--login) {
  color:#17364a !important; -webkit-text-fill-color:#17364a !important;
  background:linear-gradient(145deg,#fff,#edf2f6) !important;
  border:0 !important; border-color:transparent !important; border-radius:999px !important;
  box-shadow:7px 7px 16px rgba(16,38,55,.13),-5px -5px 13px rgba(255,255,255,.95) !important;
  animation:dl-public-control-breathe 4.8s ease-in-out infinite !important;
  transition:transform .22s ease,box-shadow .22s ease,filter .22s ease !important;
}
body.frontend-page main.main-content :is(.btn-outline,.btn-outline-dark,.btn-outline-secondary,.btn-light,.ac-clear-btn,.wb-empty-btn--outline,.tl-btn-outline,.tl-sort-tab,.hero-cta-btn.btn-secondary,.dl-home-btn--login) :is(span,strong,em,i,svg),
body.frontend-page main.main-content a:is(.btn-outline,.btn-outline-dark,.btn-outline-secondary,.btn-light,.ac-clear-btn,.wb-empty-btn--outline,.tl-btn-outline,.tl-sort-tab,.hero-cta-btn.btn-secondary,.dl-home-btn--login) :is(span,strong,em,i,svg),
body.frontend-page footer :is(.cookie-choices-button,.cookie-choice-link,.dl-home-btn--login) :is(span,strong,em,i,svg) {
  color:#17364a !important; -webkit-text-fill-color:#17364a !important; fill:currentColor !important;
}
body.frontend-page main.main-content :is(.btn-primary,.btn-dark,.btn-secondary,.btn-success,.btn-danger,.btn-info,.btn-gradient,.course-card-btn--enroll,.ac-filter-btn,.wb-empty-btn--primary,.footer-newsletter-submit,#footer-newsletter-submit,#webinars-newsletter-submit,.tl-btn-primary,.dl-home-btn--register,.btn-outline,.btn-outline-dark,.btn-outline-secondary,.btn-light,.ac-clear-btn,.wb-empty-btn--outline,.tl-btn-outline,.tl-sort-tab,.hero-cta-btn.btn-secondary,.dl-home-btn--login):hover,
body.frontend-page footer :is(.footer-newsletter-submit,#footer-newsletter-submit,#webinars-newsletter-submit,.cookie-choices-button,.cookie-choice-link):hover { transform:translateY(-2px) scale(1.015) !important; filter:brightness(1.035) !important; }
body.frontend-page main.main-content :is(select,.form-select,.filter-select,.tl-select,.form-control-select,[role=combobox]) {
  color:#17364a !important; -webkit-text-fill-color:#17364a !important;
  background-color:#f7f9fc !important;
  border:1px solid rgba(23,54,74,.15) !important; border-radius:18px !important;
  box-shadow:5px 5px 12px rgba(16,38,55,.10),-4px -4px 10px rgba(255,255,255,.90) !important;
  min-height:46px; padding-left:14px !important; padding-right:40px !important;
}
body.frontend-page main.main-content select:not([multiple]):not([size]),
body.frontend-page main.main-content .form-select,
body.frontend-page main.main-content .filter-select {
  appearance:none !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23c21868' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat !important; background-position:right 14px center !important; background-size:16px 16px !important;
}
body.frontend-page main.main-content select option { color:#17364a !important; background:#f7f9fc !important; }
body.frontend-page :is(.dropdown-menu,.select2-dropdown,.choices__list--dropdown,.dl-select-menu,.dl-select-options) {
  color:#17364a !important; background:linear-gradient(145deg,#fff,#f5f8fb) !important;
  border:1px solid rgba(23,54,74,.12) !important; border-radius:18px !important;
  box-shadow:0 16px 36px rgba(16,38,55,.18),inset 1px 1px 2px rgba(255,255,255,.9) !important;
  padding:8px !important; overflow:hidden;
}
body.frontend-page :is(.dropdown-menu,.select2-dropdown,.choices__list--dropdown,.dl-select-menu,.dl-select-options) :is(.dropdown-item,.select2-results__option,.choices__item,.dl-select-option) {
  color:#17364a !important; border-radius:12px !important; transition:background-color .18s ease,color .18s ease !important;
}
body.frontend-page :is(.dropdown-menu,.select2-dropdown,.choices__list--dropdown,.dl-select-menu,.dl-select-options) :is(.dropdown-item,.select2-results__option,.choices__item,.dl-select-option):hover,
body.frontend-page :is(.dropdown-menu,.select2-dropdown,.choices__list--dropdown,.dl-select-menu,.dl-select-options) :is(.dropdown-item,.select2-results__option,.choices__item,.dl-select-option).active {
  color:#17364a !important; background:rgba(194,24,104,.10) !important;
}
body.frontend-page :is(#dlAssistantFab,.dl-assistant-fab,#dlAssistantPanel .dl-assistant-send) {
  color:#fff !important; -webkit-text-fill-color:#fff !important; background:linear-gradient(145deg,#d72d7c,#9e1555) !important;
  border:0 !important; box-shadow:0 8px 22px rgba(158,21,85,.30),5px 5px 12px rgba(23,54,74,.16) !important;
}
@media (prefers-reduced-motion:reduce) {
 body.frontend-page main.main-content :is(.btn-primary,.btn-dark,.btn-secondary,.btn-success,.btn-danger,.btn-info,.btn-gradient,.course-card-btn--enroll,.ac-filter-btn,.wb-empty-btn--primary,.footer-newsletter-submit,#footer-newsletter-submit,#webinars-newsletter-submit,.tl-btn-primary,.dl-home-btn--register,.btn-outline,.btn-outline-dark,.btn-outline-secondary,.btn-light,.ac-clear-btn,.wb-empty-btn--outline,.tl-btn-outline,.tl-sort-tab,.hero-cta-btn.btn-secondary,.dl-home-btn--login) { animation:none !important; transition:none !important; }
}

/* 2026-10-25 final public controls: win against late global button rules. */
body.frontend-page main.main-content button:not(.btn-primary):not(.btn-dark):not(.btn-success):not(.btn-danger):not(.btn-info):not(.btn-gradient):not(.course-card-btn--enroll):not(.ac-filter-btn):not(.wb-empty-btn--primary):not(.tl-btn-primary):not(.dl-home-btn--register):not(.dl-assistant-fab):not(.dl-assistant-send):not(.btn-close),
body.frontend-page main.main-content a.btn:not(.btn-primary):not(.btn-dark):not(.btn-success):not(.btn-danger):not(.btn-info):not(.btn-gradient):not(.course-card-btn--enroll):not(.ac-filter-btn):not(.wb-empty-btn--primary):not(.tl-btn-primary):not(.dl-home-btn--register) {
 color:#17364a !important; -webkit-text-fill-color:#17364a !important;
 background:linear-gradient(145deg,#fff,#edf2f6) !important; border:0 !important; border-color:transparent !important;
 border-radius:999px !important; box-shadow:7px 7px 16px rgba(16,38,55,.14),-5px -5px 13px rgba(255,255,255,.95) !important;
 animation:dl-public-control-breathe 4.8s ease-in-out infinite !important; transition:transform .22s ease,box-shadow .22s ease,filter .22s ease !important;
}
body.frontend-page main.main-content button:not(.btn-primary):not(.btn-dark):not(.btn-success):not(.btn-danger):not(.btn-info):not(.btn-gradient):not(.course-card-btn--enroll):not(.ac-filter-btn):not(.wb-empty-btn--primary):not(.tl-btn-primary):not(.dl-home-btn--register):not(.dl-assistant-fab):not(.dl-assistant-send):not(.btn-close) :is(span,strong,em,i,svg),
body.frontend-page main.main-content a.btn:not(.btn-primary):not(.btn-dark):not(.btn-success):not(.btn-danger):not(.btn-info):not(.btn-gradient):not(.course-card-btn--enroll):not(.ac-filter-btn):not(.wb-empty-btn--primary):not(.tl-btn-primary):not(.dl-home-btn--register) :is(span,strong,em,i,svg) {color:#17364a !important;-webkit-text-fill-color:#17364a !important;fill:currentColor !important;}
body.frontend-page main.main-content :is(.dl-select-option,.choices__item--choice,.select2-results__option) {
 color:#17364a !important;-webkit-text-fill-color:#17364a !important;background:transparent !important;border:0 !important;border-radius:12px !important;
 box-shadow:none !important;animation:none !important;min-height:40px;padding:9px 12px !important;text-align:left !important;}
body.frontend-page main.main-content :is(.dl-select-option[aria-selected="true"],.dl-select-option[aria-selected="true"]:hover,.choices__item--choice.is-highlighted,.select2-results__option--highlighted) {
 color:#17364a !important;-webkit-text-fill-color:#17364a !important;background:rgba(194,24,104,.12) !important;border-radius:12px !important;}
body.frontend-page main.main-content :is(.dl-select-menu,.dl-select-options,.choices__list--dropdown,.select2-dropdown,.dropdown-menu) {
 background:linear-gradient(145deg,#fff,#f3f7fa) !important;color:#17364a !important;border:1px solid rgba(23,54,74,.10) !important;border-radius:18px !important;
 box-shadow:0 16px 36px rgba(16,38,55,.18),inset 1px 1px 2px rgba(255,255,255,.9) !important;padding:8px !important;overflow:hidden;}
body.frontend-page main.main-content :is(.dl-select-menu,.dl-select-options,.choices__list--dropdown,.select2-dropdown,.dropdown-menu) :is(button,a,.dropdown-item,.choices__item,.select2-results__option) {
 color:#17364a !important;-webkit-text-fill-color:#17364a !important;border-radius:12px !important;box-shadow:none !important;animation:none !important;}
body.frontend-page main.main-content :is(.dl-select-menu,.dl-select-options,.choices__list--dropdown,.select2-dropdown,.dropdown-menu) :is(button,a,.dropdown-item,.choices__item,.select2-results__option):hover {
 background:rgba(194,24,104,.10) !important;color:#17364a !important;-webkit-text-fill-color:#17364a !important;}
body.frontend-page main.main-content :is(.ac-filter-toggle,.ac-filter-drawer-close,.ac-clear-btn,.course-card-btn--enquiry,.tl-btn-outline,.wb-empty-btn--outline,.btn-outline,.btn-outline-dark,.btn-outline-secondary,.btn-light,.hero-cta-btn.btn-secondary,.dl-home-btn--login) {
 color:#17364a !important;-webkit-text-fill-color:#17364a !important;background:linear-gradient(145deg,#fff,#edf2f6) !important;border:0 !important;border-color:transparent !important;border-radius:999px !important;
 box-shadow:7px 7px 16px rgba(16,38,55,.14),-5px -5px 13px rgba(255,255,255,.95) !important;animation:dl-public-control-breathe 4.8s ease-in-out infinite !important;}
body.frontend-page main.main-content :is(.ac-filter-toggle,.ac-filter-drawer-close,.ac-clear-btn,.course-card-btn--enquiry,.tl-btn-outline,.wb-empty-btn--outline,.btn-outline,.btn-outline-dark,.btn-outline-secondary,.btn-light,.hero-cta-btn.btn-secondary,.dl-home-btn--login) :is(span,strong,em,i,svg) {color:#17364a !important;-webkit-text-fill-color:#17364a !important;fill:currentColor !important;}
body.frontend-page main.main-content :is(.btn-primary,.btn-dark,.btn-success,.btn-danger,.btn-info,.btn-gradient,.course-card-btn--enroll,.ac-filter-btn,.wb-empty-btn--primary,.tl-btn-primary,.dl-home-btn--register) {
 color:#fff !important;-webkit-text-fill-color:#fff !important;background:linear-gradient(145deg,#17364a,#102637) !important;border:0 !important;border-color:transparent !important;border-radius:999px !important;
 box-shadow:7px 7px 16px rgba(16,38,55,.17),-5px -5px 13px rgba(255,255,255,.88) !important;animation:dl-public-control-breathe 4.2s ease-in-out infinite !important;}
body.frontend-page main.main-content :is(.btn-primary,.btn-dark,.btn-success,.btn-danger,.btn-info,.btn-gradient,.course-card-btn--enroll,.ac-filter-btn,.wb-empty-btn--primary,.tl-btn-primary,.dl-home-btn--register) :is(span,strong,em,i,svg) {color:#fff !important;-webkit-text-fill-color:#fff !important;fill:currentColor !important;}
body.frontend-page :is(.lms-chrome-navbar,.navbar) .dropdown-menu {
 background:linear-gradient(145deg,#fff,#f4f7fa) !important;border:1px solid rgba(23,54,74,.10) !important;border-radius:18px !important;box-shadow:0 16px 36px rgba(16,38,55,.18) !important;padding:8px !important;}
body.frontend-page :is(.lms-chrome-navbar,.navbar) .dropdown-menu .dropdown-item {color:#17364a !important;border-radius:12px !important;}
body.frontend-page :is(.lms-chrome-navbar,.navbar) .dropdown-menu .dropdown-item:hover {background:rgba(194,24,104,.10) !important;color:#17364a !important;}
body.frontend-page #dlAssistantFab,body.frontend-page .dl-assistant-fab,body.frontend-page #dlAssistantPanel .dl-assistant-send,body.frontend-page .dl-assistant-send {
 color:#fff !important;-webkit-text-fill-color:#fff !important;background:linear-gradient(145deg,#d72d7c,#9e1555) !important;border:0 !important;border-radius:22px !important;box-shadow:0 8px 22px rgba(158,21,85,.30) !important;}
@media(prefers-reduced-motion:reduce){body.frontend-page main.main-content button,body.frontend-page main.main-content a.btn{animation:none !important;transition:none !important;}}

/* 2026-10-26: one continuous page canvas; component surfaces retain their contrast. */
:root { --dl-page-canvas:#f2f5f8; }
html:has(body:is(.frontend-page,.auth-page,.admin-portal,.tutor-portal)),
html:root body:is(.frontend-page,.auth-page,.admin-portal,.tutor-portal) { background:var(--dl-page-canvas) !important; background-image:none !important; }
body:is(.frontend-page,.auth-page,.admin-portal,.tutor-portal)::before,
body:is(.frontend-page,.auth-page,.admin-portal,.tutor-portal)::after { background:none !important; }
body.frontend-page #main-content.main-content:not(.main-content--immersive),
body.frontend-page #main-content.main-content:not(.main-content--immersive) > section,
body.frontend-page #main-content.main-content:not(.main-content--immersive) > .cd-page,
body.frontend-page #main-content.main-content:not(.main-content--immersive) > .cd-page > section,
body.frontend-page footer.professional-footer.dynamic-footer,
body.frontend-page footer.professional-footer.dynamic-footer :is(.footer-dark-panel,.footer-dark-panel-inner),
body.auth-page main.auth-main,
body.admin-portal :is(.admin-wrapper,.main-content,.main-wrapper),
body.tutor-portal > .main-content { background:var(--dl-page-canvas) !important; background-image:none !important; }
body.frontend-page #main-content.main-content:not(.main-content--immersive) > section::before,
body.frontend-page #main-content.main-content:not(.main-content--immersive) > section::after,
body.frontend-page #main-content.main-content:not(.main-content--immersive) > .cd-page > section::before,
body.frontend-page #main-content.main-content:not(.main-content--immersive) > .cd-page > section::after { background:none !important; }

body.frontend-page #main-content.main-content > #home-hero-carousel.hero-section {border-radius:32px !important;background:transparent !important;filter:none !important;box-shadow:none !important;animation:none !important;}

/* 2026-10-26 follow-up: page wrappers must share the outer canvas too. */
body.frontend-page #main-content.main-content:not(.main-content--immersive) :is(.tl-page,.ac-page,.bc-page,.wb-page,.about-page.ab-body) {background:var(--dl-page-canvas,#f2f5f8)!important;background-image:none!important;}

/* Compact breadcrumb, filter and reference-card system — 2026-10-26. */
html body .seo-breadcrumb-bar.seo-breadcrumb-bar {margin-bottom:8px!important;}
html body .seo-breadcrumb-bar.seo-breadcrumb-bar ol.breadcrumb {font-size:13px!important;gap:2px!important;line-height:1.4!important;}
html body .seo-breadcrumb-bar.seo-breadcrumb-bar .breadcrumb-item {gap:5px!important;}
html body .seo-breadcrumb-bar.seo-breadcrumb-bar .breadcrumb-item a {min-height:32px!important;padding:5px 7px!important;background:transparent!important;box-shadow:none!important;border-radius:8px!important;}
html body .seo-breadcrumb-bar.seo-breadcrumb-bar .dl-breadcrumb-current {padding:5px 8px!important;border-radius:8px!important;}
html body .seo-breadcrumb-bar.seo-breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before {width:5px!important;height:5px!important;flex-basis:5px!important;margin:0 3px!important;}
body.frontend-page #main-content :is(.ac-filter-card,.tl-filter-card) {padding:14px 16px!important;border-radius:20px!important;}
body.frontend-page #main-content :is(.ac-filter-grid,.tl-filter-grid) {gap:10px 14px!important;align-items:end!important;}
body.frontend-page #main-content :is(.ac-filter-label,.tl-filter-label) {font-size:11px!important;line-height:1.3!important;margin-bottom:5px!important;}
body.frontend-page #main-content :is(.ac-filter-grid,.tl-filter-grid) :is(.form-control,.dl-select-trigger) {min-height:40px!important;height:40px!important;padding:9px 12px!important;font-size:14px!important;line-height:1.3!important;}
body.frontend-page #main-content :is(.ac-filter-btn,.ac-clear-btn,.tl-filter-grid .btn,.tl-search-btn) {min-height:40px!important;padding:9px 15px!important;font-size:13px!important;}
body.frontend-page #main-content .tl-intro {margin-bottom:14px!important;padding-bottom:14px!important;}
body.frontend-page #main-content .tl-grid {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;align-items:stretch!important;}
body.frontend-page #main-content .tl-card {position:relative!important;border:1px solid #c9d5e3!important;border-radius:28px!important;background:#fff!important;padding:9px!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;box-shadow:0 7px 22px #17364a0c!important;}
body.frontend-page #main-content .tl-card .tl-card-accent {position:absolute!important;inset:9px 9px auto!important;height:150px!important;width:auto!important;border-radius:20px!important;display:block!important;background:radial-gradient(ellipse at 30% 48%,#ffffff50 0 14%,transparent 15%),radial-gradient(ellipse at 49% 56%,#ffffff50 0 21%,transparent 22%),linear-gradient(135deg,#9db3c3,#e3d5e4)!important;opacity:1!important;}
body.frontend-page #main-content .tl-card .tl-card-body {position:relative!important;flex:1!important;padding:0 12px!important;}
body.frontend-page #main-content .tl-card .tl-card-header-row {display:block!important;padding-top:194px!important;margin-bottom:12px!important;min-width:0;}
body.frontend-page #main-content .tl-card .tl-card-avatar-wrap {position:absolute!important;top:108px!important;left:18px!important;width:86px!important;height:86px!important;border:3px solid white!important;outline:1.5px solid #c44880!important;border-radius:50%!important;box-shadow:0 5px 14px #17364a19!important;}
body.frontend-page #main-content .tl-card :is(.tl-card-avatar,.tl-card-avatar-fallback) {width:100%!important;height:100%!important;border-radius:50%!important;object-fit:cover!important;background:linear-gradient(145deg,#294a61,#102638)!important;color:#fff!important;font-size:28px!important;}
body.frontend-page #main-content .tl-card .tl-card-featured-dot {display:none!important;}
body.frontend-page #main-content .tl-card .tl-card-featured-badge {position:absolute!important;top:13px!important;left:12px!important;background:#fff!important;color:#17364a!important;border-radius:9px!important;font-size:10px!important;padding:5px 8px!important;}
body.frontend-page #main-content .tl-card .tl-card-name,body.frontend-page #main-content .tl-card .tl-card-name a {font-size:20px!important;line-height:1.25!important;color:#123c5b!important;margin:0 0 7px!important;overflow-wrap:anywhere;}
body.frontend-page #main-content .tl-card .tl-card-spec-row {display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:8px!important;}
body.frontend-page #main-content .tl-card .tl-card-spec {font-size:13px!important;}
body.frontend-page #main-content .tl-card .tl-card-level {font-size:10px!important;padding:5px 8px!important;border-radius:9px!important;}
body.frontend-page #main-content .tl-card .tl-card-bio {font-size:13px!important;line-height:1.65!important;min-height:64px!important;margin:14px 0!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
body.frontend-page #main-content .tl-card .tl-card-meta {display:flex!important;justify-content:space-around!important;gap:6px!important;background:#f5f7fb!important;border:1px solid #d3ddeb!important;border-radius:18px!important;padding:12px 6px!important;margin:0 0 14px!important;}
body.frontend-page #main-content .tl-card .tl-card-meta-item {display:flex!important;flex-direction:column-reverse!important;align-items:center!important;flex:1;min-width:0;gap:5px!important;}
body.frontend-page #main-content .tl-card .tl-card-meta-label {font-size:10px!important;}
body.frontend-page #main-content .tl-card .tl-card-meta-value {font-size:15px!important;white-space:normal!important;text-align:center!important;}
body.frontend-page #main-content .tl-card .tl-card-tags {display:flex!important;flex-wrap:wrap!important;gap:5px!important;min-height:30px!important;}
body.frontend-page #main-content .tl-card .tl-card-tag {font-size:10px!important;padding:6px 7px!important;border-radius:9px!important;}
body.frontend-page #main-content .tl-card .tl-card-footer {padding:14px 12px 12px!important;border:0!important;background:transparent!important;}
body.frontend-page #main-content .tl-card .tl-view-btn {display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:40px!important;border-radius:14px!important;background:linear-gradient(145deg,#30313a,#202128)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:13px!important;}
body.frontend-page #main-content .tl-card .tl-view-btn i {color:#fff!important;}
body.frontend-page #main-content .ac-page.ac-page--main .course-card.course-card {padding:10px!important;border-radius:25px!important;background:#fff!important;border:1px solid #dbe3ef!important;}
body.frontend-page #main-content .ac-page.ac-page--main .course-card.course-card .course-image {position:relative!important;height:176px!important;border-radius:17px!important;background:radial-gradient(ellipse at 35% 40%,#673c64,#171c2b 65%)!important;overflow:hidden!important;}
body.frontend-page #main-content .course-card .course-image > img {opacity:.13!important;filter:grayscale(1)!important;}
body.frontend-page #main-content .dl-course-art {position:absolute;inset:35px 22% 26px;display:flex;flex-direction:column;justify-content:center;gap:10px;padding:16px;border:1px solid #bab5cf80;border-radius:10px;background:linear-gradient(140deg,#594158d9,#161b2df5);box-shadow:10px 16px 20px #0005;transform:rotate(-13deg);pointer-events:none;animation:dlCourseFloat 7s ease-in-out infinite;}
body.frontend-page #main-content .dl-course-art span {font-size:8px!important;letter-spacing:1px;color:#f7e7f2!important;}
body.frontend-page #main-content .dl-course-art strong {font-size:12px!important;line-height:1.3!important;color:#fff!important;-webkit-text-fill-color:#fff!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
body.frontend-page #main-content .dl-course-art small {font-size:7px!important;color:#c4cddd!important;}
body.frontend-page #main-content .ac-page.ac-page--main .course-card.course-card .course-content {padding:14px 9px 8px!important;}
body.frontend-page #main-content .ac-page.ac-page--main .course-card.course-card .course-title,body.frontend-page #main-content .ac-page.ac-page--main .course-card.course-card .course-title a {font-size:18px!important;min-height:2.6em;line-height:1.3!important;}
body.frontend-page #main-content .ac-page.ac-page--main .course-card.course-card .course-description {font-size:13px!important;min-height:3em;line-height:1.5!important;margin:8px 0!important;}
body.frontend-page #main-content .ac-page.ac-page--main .course-card.course-card .course-footer {min-height:52px!important;margin-bottom:8px!important;}
body.frontend-page #main-content .ac-page.ac-page--main .course-card.course-card .ac-course-caption {min-height:0!important;margin-bottom:8px!important;}
body.frontend-page #main-content .ac-page.ac-page--main .course-card.course-card a.course-card-btn {min-height:40px!important;padding:8px 10px!important;font-size:12px!important;}
body.frontend-page #main-content .ac-page.ac-page--main .course-card.course-card .instructor-name {font-size:11px!important;}
body.frontend-page #main-content .ac-page.ac-page--main .ac-courses-showcase .home-featured-grid {gap:20px!important;}
body.frontend-page #main-content .home-demo-courses__grid {gap:20px!important;}
body.frontend-page #main-content .home-demo-course {padding:10px!important;border-radius:25px!important;background:#fff!important;border:1px solid #dbe3ef!important;}
body.frontend-page #main-content .home-demo-course__art {height:176px!important;border-radius:17px!important;background:radial-gradient(ellipse at 35% 40%,#673c64,#171c2b 65%)!important;}
body.frontend-page #main-content .home-demo-course__art :is(.home-demo-course__orb,.home-demo-course__orbit,.home-demo-course__play) {display:none!important;}
body.frontend-page #main-content .home-demo-course__body {padding:14px 9px 8px!important;gap:0!important;}
body.frontend-page #main-content .home-demo-course__body h3 {font-size:18px!important;line-height:1.3!important;min-height:2.6em!important;margin:10px 0!important;}
body.frontend-page #main-content .home-demo-course__body p {font-size:13px!important;line-height:1.5!important;min-height:3em;margin:8px 0 14px!important;}
body.frontend-page #main-content .home-demo-course__link {min-height:40px!important;padding:8px 16px!important;font-size:12px!important;margin-top:auto!important;}
body.frontend-page #main-content .home-demo-course--upcoming {background:#f4f7f3!important;border:1px dashed #c7d1c4!important;justify-content:center!important;padding:24px!important;box-shadow:none!important;}
body.frontend-page #main-content .home-demo-course--upcoming .home-demo-course__art {height:55px!important;background:transparent!important;}
body.frontend-page #main-content .home-demo-course--upcoming .home-demo-course__art::before,body.frontend-page #main-content .home-demo-course--upcoming .home-demo-course__art::after {display:none!important;}
body.frontend-page #main-content .home-demo-course--upcoming .home-demo-course__art-label {position:static!important;color:#31544c!important;font-size:10px!important;}
@keyframes dlCourseFloat{0%,100%{transform:translateY(0) rotate(-13deg)}50%{transform:translateY(-4px) rotate(-10deg)}}
@media(max-width:1000px){body.frontend-page #main-content .tl-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:600px){body.frontend-page #main-content .tl-grid{grid-template-columns:minmax(0,1fr)!important;}body.frontend-page #main-content .tl-card .tl-card-accent{height:140px!important;}body.frontend-page #main-content .tl-card .tl-card-header-row{padding-top:184px!important;}body.frontend-page #main-content .tl-card .tl-card-avatar-wrap{top:98px!important;}}
@media(prefers-reduced-motion:reduce){body.frontend-page #main-content .dl-course-art{animation:none!important;}}

body.frontend-page #main-content .tl-filter-toolbar {padding-bottom:12px!important;margin-bottom:12px!important;gap:12px!important;}
body.frontend-page #main-content .tl-filter-toolbar :is(a,button) {min-height:40px!important;padding:9px 14px!important;font-size:13px!important;}

body.frontend-page #main-content .ac-page.ac-page--main .ac-courses-showcase .home-featured-grid,body.frontend-page #main-content .tl-grid,body.frontend-page #main-content .home-demo-courses__grid {max-width:1100px!important;margin-inline:auto!important;}
body.frontend-page #main-content .ac-page.ac-page--main .course-card.course-card .course-image {margin:0!important;width:100%!important;}
body.frontend-page #main-content .ac-page.ac-page--main .course-card.course-card .course-title {min-height:1.3em!important;}
body.frontend-page #main-content .ac-page.ac-page--main .course-card.course-card .ac-demo-label {font-size:10px!important;padding:3px 7px!important;}
body.frontend-page #main-content .ac-page.ac-page--main .course-card.course-card .course-footer {min-height:44px!important;}
body.frontend-page #main-content .ac-page.ac-page--main .course-card.course-card .course-instructor {display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important;}
body.frontend-page #main-content .ac-page.ac-page--main .course-card.course-card .instructor-avatar {width:28px!important;height:28px!important;min-width:28px!important;border-radius:50%!important;background:#5090f4!important;color:#fff!important;display:grid!important;place-items:center!important;}

/* Remove legacy flex gaps between compact tutor-card sections. */
body.frontend-page #main-content .tl-card .tl-card-body {gap:0!important;}

/* 2026-10-27: compact shared tutor and public course cards. */
body.frontend-page #main-content .tl-card .tl-card-accent{height:104px!important;}
body.frontend-page #main-content .tl-card .tl-card-header-row{padding-top:132px!important;margin-bottom:6px!important;}
body.frontend-page #main-content .tl-card .tl-card-avatar-wrap{top:72px!important;left:12px!important;width:62px!important;height:62px!important;}
body.frontend-page #main-content .tl-card :is(.tl-card-avatar,.tl-card-avatar-fallback){font-size:23px!important;}
body.frontend-page #main-content .tl-card .tl-card-body{padding:0 8px!important;gap:0!important;}
body.frontend-page #main-content .tl-card .tl-card-name,body.frontend-page #main-content .tl-card .tl-card-name a{font-size:18px!important;line-height:1.25!important;margin:0 0 5px!important;}
body.frontend-page #main-content .tl-card .tl-card-spec-row{flex-direction:row!important;align-items:center!important;flex-wrap:wrap!important;gap:5px 8px!important;}
body.frontend-page #main-content .tl-card .tl-card-spec{font-size:12px!important;}
body.frontend-page #main-content .tl-card .tl-card-level{padding:3px 6px!important;}
body.frontend-page #main-content .tl-card .tl-card-bio{font-size:13px!important;line-height:1.5!important;min-height:39px!important;max-height:39px!important;margin:8px 0!important;-webkit-line-clamp:2;}
body.frontend-page #main-content .tl-card .tl-card-meta{padding:8px 4px!important;gap:4px!important;margin:0 0 8px!important;border-radius:13px!important;}
body.frontend-page #main-content .tl-card .tl-card-meta-item{padding:0!important;gap:3px!important;background:transparent!important;box-shadow:none!important;}
body.frontend-page #main-content .tl-card .tl-card-meta-label{font-size:10px!important;line-height:1.25!important;margin:0!important;}
body.frontend-page #main-content .tl-card .tl-card-meta-value{font-size:14px!important;line-height:1.3!important;}
body.frontend-page #main-content .tl-card .tl-card-tags{min-height:24px!important;gap:4px!important;}
body.frontend-page #main-content .tl-card .tl-card-tag{padding:4px 6px!important;font-size:10px!important;}
body.frontend-page #main-content .tl-card .tl-card-footer{padding:10px 8px 5px!important;}
body.frontend-page #main-content .tl-card .tl-view-btn{min-height:40px!important;padding:8px 12px!important;}
body.frontend-page #main-content .course-card.course-card{padding:8px!important;display:flex!important;flex-direction:column!important;border-radius:22px!important;}
body.frontend-page #main-content .course-card.course-card .course-image{height:140px!important;min-height:140px!important;flex:0 0 140px!important;margin:0!important;width:100%!important;border-radius:15px!important;}
body.frontend-page #main-content .course-card.course-card .course-content{padding:10px 7px 5px!important;flex:1!important;}
body.frontend-page #main-content .course-card.course-card .course-title{font-size:17px!important;line-height:1.25!important;min-height:42.5px!important;margin:0 0 5px!important;}
body.frontend-page #main-content .course-card.course-card .course-title a{font-size:17px!important;line-height:1.25!important;min-height:0!important;margin:0!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
body.frontend-page #main-content .course-card.course-card .course-description{font-size:13px!important;line-height:1.5!important;min-height:39px!important;max-height:39px!important;margin:6px 0!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
body.frontend-page #main-content .course-card.course-card .course-footer{min-height:36px!important;margin:4px 0 6px!important;padding:6px 0!important;}
body.frontend-page #main-content .course-card.course-card a.course-card-btn{min-height:40px!important;padding:8px 10px!important;}
body.frontend-page #main-content .home-demo-course .home-demo-course__art{height:140px!important;}
body.frontend-page #main-content .dl-course-art{inset:24px 22% 19px!important;gap:6px!important;padding:10px!important;}
body.frontend-page #main-content .home-demo-course .home-demo-course__body{padding:10px 7px 5px!important;}
body.frontend-page #main-content .home-demo-course .home-demo-course__body h3{font-size:17px!important;line-height:1.25!important;min-height:42.5px!important;margin:6px 0!important;}
body.frontend-page #main-content .home-demo-course .home-demo-course__body p{margin:6px 0 10px!important;}
body.frontend-page #main-content .home-demo-course--upcoming .home-demo-course__art{height:40px!important;}

body.frontend-page #main-content .ac-page.ac-page--main .course-card.course-card{padding:8px!important;display:flex!important;flex-direction:column!important;border-radius:22px!important;}
body.frontend-page #main-content .ac-page.ac-page--main .course-card.course-card .course-image{height:140px!important;min-height:140px!important;flex:0 0 140px!important;margin:0!important;width:100%!important;border-radius:15px!important;}
body.frontend-page #main-content .ac-page.ac-page--main .course-card.course-card .course-content{padding:10px 7px 5px!important;flex:1!important;}
body.frontend-page #main-content .ac-page.ac-page--main .course-card.course-card .course-title{font-size:17px!important;line-height:1.25!important;min-height:42.5px!important;margin:0 0 5px!important;}
body.frontend-page #main-content .ac-page.ac-page--main .course-card.course-card .course-title a{font-size:17px!important;line-height:1.25!important;min-height:0!important;margin:0!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
body.frontend-page #main-content .ac-page.ac-page--main .course-card.course-card .course-description{font-size:13px!important;line-height:1.5!important;min-height:39px!important;max-height:39px!important;margin:6px 0!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
body.frontend-page #main-content .ac-page.ac-page--main .course-card.course-card .course-footer{min-height:36px!important;margin:4px 0 6px!important;padding:6px 0!important;}
body.frontend-page #main-content .ac-page.ac-page--main .course-card.course-card a.course-card-btn{min-height:40px!important;padding:8px 10px!important;}

/* Public audit repairs27 October2026: scoped contrast and legibility. */
body.frontend-page #main-content .newsletter-hero .newsletter-hero-title,body.frontend-page #main-content .newsletter-hero .newsletter-hero-title .gradient-text {color:#fff!important;-webkit-text-fill-color:#fff!important;background:none!important;font-size:clamp(26px,3.2vw,40px)!important;line-height:1.16!important;text-shadow:none!important;}
body.frontend-page #main-content .newsletter-hero .visual-newsletter-heading {color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:18px!important;font-weight:700!important;margin:0 0 5px!important;}
body.frontend-page #main-content .newsletter-hero .visual-newsletter-text p {color:#f4f7fb!important;}
.sidebar-subscription-form .sidebar-field-label {display:block;font-size:13px;font-weight:600;line-height:1.4;margin:0 0 5px;color:inherit;}
body.frontend-page #main-content .newsletter-subscription-card .sidebar-field-label {color:#fff!important;}
body.frontend-page.page-home #main-content > section:not(#home-hero-carousel):not(.home-demo-courses) p {font-size:14px!important;line-height:1.6!important;}
body.frontend-page #main-content .dl-course-art small {font-size:9px!important;}
body.frontend-page #main-content .nsp-article-body p {font-size:15px!important;line-height:1.75!important;margin-bottom:1em!important;}
body.frontend-page #main-content .nsp-featured-img {max-height:360px!important;width:100%!important;object-fit:cover!important;}

/* Keep the pale newsletter subscription surface and all its text coherent. */
body.frontend-page #main-content .newsletter-subscription-card {background:#fff!important;color:#17364a!important;}
body.frontend-page #main-content .newsletter-subscription-card :is(h3,p,.sidebar-field-label,.sidebar-privacy-text,.benefit-item span) {color:#17364a!important;-webkit-text-fill-color:#17364a!important;}

body.frontend-page #main-content .newsletter-subscription-card .sidebar-privacy-checkbox {border:1px solid #7894a8!important;background:#fff!important;box-shadow:none!important;}
body.frontend-page #main-content .newsletter-subscription-card .sidebar-privacy-agreement input:checked + .sidebar-privacy-checkbox {background:#be1765!important;border-color:#be1765!important;}
