/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

body {
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-heading {
    font-family: var(--font-heading);
}

.font-mono {
    font-family: var(--font-mono);
}

/* Material Design 3 Card & Shadow Utilities */
.md-card {
    background-color: #ffffff;
    border-radius: 1rem;
    transition: all 0.2s ease-in-out;
}

.md-subcard {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
}

.shadow-card-hover {
    box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
}

/* Button Utilities */
.md-btn-filled {
    background-color: #2563eb;
    color: #ffffff;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.15s ease-in-out;
}
.md-btn-filled:hover {
    background-color: #1d4ed8;
}

.md-btn-tonal {
    background-color: #eff6ff;
    color: #1e40af;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.15s ease-in-out;
}
.md-btn-tonal:hover {
    background-color: #dbeafe;
}

.md-btn-outlined {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    border-radius: 0.75rem;
    font-weight: 500;
    transition: all 0.15s ease-in-out;
}
.md-btn-outlined:hover {
    background-color: #f8fafc;
    border-color: #94a3b8;
}

/* Search Bar Utility */
.md-search-bar {
    border-radius: 1rem;
}

/* Chip / Badge Utilities */
.md-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border-radius: 0.5rem;
    font-weight: 600;
}

.md-chip-cdl {
    background-color: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.md-chip-dmv {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.md-chip-fmcsa {
    background-color: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.md-chip-verified {
    background-color: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

/* Google CSE Harmonization */
.gsc-control-cse {
    padding: 0 !important;
    background-color: transparent !important;
    border: none !important;
    font-family: inherit !important;
}
.gsc-control-cse form.gsc-search-box {
    margin-bottom: 0 !important;
}
table.gsc-search-box {
    margin-bottom: 0 !important;
}
table.gsc-search-box td {
    border: none !important;
    padding: 0 !important;
    vertical-align: middle !important;
}
.gsc-input-box {
    border: 1px solid #cbd5e1 !important;
    border-radius: 0.75rem !important;
    background: #f8fafc !important;
    box-shadow: none !important;
    padding: 2px 8px !important;
    height: auto !important;
}
.gsc-input-box:focus-within {
    border-color: #2563eb !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15) !important;
}
.gsc-input-box input.gsc-input {
    font-size: 14px !important;
    color: #0f172a !important;
    background: transparent !important;
}
button.gsc-search-button-v2 {
    border-radius: 0.75rem !important;
    background-color: #0f172a !important;
    border: none !important;
    padding: 12px 20px !important;
    margin-left: 8px !important;
    cursor: pointer !important;
    transition: background-color 0.2s !important;
}
button.gsc-search-button-v2:hover {
    background-color: #2563eb !important;
}
button.gsc-search-button-v2 svg {
    fill: #ffffff !important;
}
.gsst_a .gscb_a {
    color: #94a3b8 !important;
}

/* CSE Skeleton Smooth Transition */
.gsc-control-cse:not(:empty) {
    background: #ffffff !important;
}
.gcse-search-wrapper:has(table.gsc-search-box) ~ #gcse-skeleton-ph,
.gcse-search-wrapper:has(.gsc-input-box) ~ #gcse-skeleton-ph,
.gsc-control-cse:has(input.gsc-input) ~ #gcse-skeleton-ph {
    display: none !important;
}


/* ==========================================================================
   UKLICENCE SLIDE DECK & 68-LANGUAGE DUAL TRANSLATION SYSTEM
   ========================================================================== */
/* ==========================================================================
   UKLICENCE.COM - Minimal Gray Dual Translation System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    

/* 1. Language Dropdown */
.lang-selector-wrapper {
    position: relative;
}

.lang-select-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 0.825rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.lang-select-btn:hover {
    border-color: var(--brand-secondary);
}

.flag-icon-img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    display: inline-block;
    vertical-align: middle;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 260px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    display: none;
    flex-direction: column;
    z-index: 1100;
    overflow: hidden;
    pointer-events: auto;
}

.lang-dropdown.active {
    display: flex;
}

.lang-search-box {
    padding: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-tertiary);
}

.lang-search-input {
    width: 100%;
    padding: 0.4rem 0.65rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.8rem;
    outline: none;
}

.lang-list {
    overflow-y: auto;
    max-height: 280px;
    padding: 0.25rem 0;
}

.lang-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.85rem;
    cursor: pointer;
    font-size: 0.825rem;
    color: var(--text-primary);
    transition: background var(--transition-fast);
}

.lang-option:hover {
    background: var(--bg-tertiary);
    color: var(--brand-secondary);
}

.lang-option.selected {
    font-weight: 700;
    background: rgba(0, 80, 204, 0.1);
    color: var(--brand-secondary);
}

/* 2. Theme Swipe Switch */
.theme-swipe-toggle {
    position: relative;
    width: 50px;
    height: 26px;
    background: #cbd5e1;
    border-radius: 26px;
    cursor: pointer;
    padding: 2px;
    transition: background-color var(--transition-normal);
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

[data-theme="dark"] .theme-swipe-toggle {
    background: #334155;
}

.theme-swipe-toggle .knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    transition: transform 0.25s ease;
    z-index: 2;
}

[data-theme="dark"] .theme-swipe-toggle .knob {
    transform: translateX(24px) !important;
    background: #1e293b;
}



/* The app strip is a mobile-only affordance. Keep it hidden by default so
   stale/missing utility CSS can never expose it on desktop. */
.mobile-sticky-app-cta { display: none !important; }
.footer-mobile-apps { display: none !important; }
.category-page-hero { width: 100%; max-width: 100%; margin-left: 0; left: auto; }

html, body {
    max-width: 100%;
    overflow-x: clip !important;
}

/* Mobile slide controls and zoom — final cascade layer. */
@media (max-width: 640px) {
    .footer-mobile-apps { display: block !important; }
    .practice-test-top-navigation {
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: .7rem !important;
    }
    .practice-test-top-navigation .back-circle-btn { flex: 0 0 auto; }
    .practice-test-breadcrumbs {
        min-width: 0;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }
    .practice-test-breadcrumbs::-webkit-scrollbar { display: none; }
    .practice-test-shell { padding-top: .75rem !important; }

    .state-top-ad {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: .65rem !important;
        min-width: 0 !important;
        padding: .85rem 1rem !important;
    }
    .state-top-ad > div:first-child { min-width: 0; }
    .state-top-ad > a {
        width: 100%;
        min-width: 0;
        justify-content: center;
        white-space: nowrap;
    }
    .module-top-ad {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: .65rem !important;
        min-width: 0 !important;
        padding: .85rem 1rem !important;
    }
    .module-top-ad > div:first-child { min-width: 0; }
    .module-top-ad > a {
        width: 100%;
        min-width: 0;
        justify-content: center;
        white-space: nowrap;
    }

    .lesson-top-navigation {
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: .7rem !important;
    }
    .lesson-page-shell {
        padding-top: .75rem !important;
    }
    .lesson-top-navigation .back-circle-btn { flex: 0 0 auto; }
    .lesson-breadcrumbs {
        min-width: 0;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }
    .lesson-breadcrumbs::-webkit-scrollbar { display: none; }

    .mobile-sticky-app-cta {
        display: block !important;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 80;
        padding: .35rem .6rem calc(.35rem + env(safe-area-inset-bottom));
        background: transparent;
        border: 0;
        box-shadow: none;
        pointer-events: none;
    }
    .mobile-sticky-app-cta > a {
        display: flex;
        align-items: center;
        gap: .65rem;
        min-height: 38px;
        padding: .45rem .8rem;
        border-radius: 999px;
        color: #fff;
        text-decoration: none;
        font-size: .9rem;
        font-weight: 800;
        pointer-events: auto;
        box-shadow: 0 8px 22px rgba(15,23,42,.2);
    }
    .mobile-sticky-app-cta[data-mobile-app-cta="cdl"] > a { background: #2563eb; }
    .mobile-sticky-app-cta[data-mobile-app-cta="dmv"] > a { background: #059669; }
    .mobile-sticky-app-cta > a > .ph-google-play-logo { font-size: 1.35rem; color: #fde68a; }
    .mobile-sticky-app-cta span { display: flex; flex: 1; flex-direction: column; line-height: 1.05; }
    .mobile-sticky-app-cta small { margin-top: .12rem; color: rgba(255,255,255,.78); font-size: .64rem; font-weight: 600; }
    .mobile-sticky-app-cta__arrow { font-size: 1rem; opacity: .85; }

  .slide-modal-toolbar {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 20;
    padding: .4rem .5rem;
    background: transparent !important;
    border: 0 !important;
    pointer-events: none;
  }
  .slide-modal-actions { pointer-events: auto; }
  .slide-modal-btn, .slide-modal-nav-btn, .slide-modal-close-btn,
  .slide-lang-select-wrapper, .slide-modal-actions .lang-select-btn {
    background: rgba(15, 23, 42, .38) !important;
    border-color: rgba(255,255,255,.25) !important;
    backdrop-filter: blur(5px);
  }
  .slide-modal-viewport { height: 100dvh; padding: 0; }
  .slide-modal-img-container { transform-origin: center; transition: transform .12s ease; }
  .slide-modal-img-container, .slide-modal-img { max-height: 100dvh; }
}

/* Dark-mode component colors for directories, ads, lessons, and navigation. */
html[data-theme="dark"] [aria-labelledby="state-directory-title"] a,
html.dark [aria-labelledby="state-directory-title"] a {
    background-color: #17243b !important;
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}
html[data-theme="dark"] [aria-labelledby="state-directory-title"] a:hover,
html.dark [aria-labelledby="state-directory-title"] a:hover {
    background-color: #243554 !important;
    border-color: #60a5fa !important;
}

html[data-theme="dark"] header hr,
html.dark header hr,
html[data-theme="dark"] .border-slate-200\/80,
html.dark .border-slate-200\/80,
html[data-theme="dark"] .border-slate-100,
html.dark .border-slate-100 {
    border-color: #334155 !important;
}
html[data-theme="dark"] header img,
html.dark header img {
    border-color: #475569 !important;
}

html[data-theme="dark"] [data-advertisement="true"].bg-slate-50\/70,
html.dark [data-advertisement="true"].bg-slate-50\/70,
html[data-theme="dark"] [data-advertisement="true"] .bg-slate-50\/70,
html.dark [data-advertisement="true"] .bg-slate-50\/70,
html[data-theme="dark"] [data-advertisement="true"] .bg-slate-50\/80,
html.dark [data-advertisement="true"] .bg-slate-50\/80 {
    background-color: #17243b !important;
    border-color: #475569 !important;
    color: #a8b5c8 !important;
}
html[data-theme="dark"] [data-advertisement="true"] .bg-white,
html.dark [data-advertisement="true"] .bg-white {
    background-color: #111c33 !important;
    border-color: #334155 !important;
}
html[data-theme="dark"] [data-advertisement="true"] .border-slate-300,
html.dark [data-advertisement="true"] .border-slate-300 {
    border-color: #475569 !important;
}

html[data-theme="dark"] .order-7,
html.dark .order-7,
html[data-theme="dark"] .order-7 .bg-slate-50\/50,
html.dark .order-7 .bg-slate-50\/50 {
    background-color: #111c33 !important;
    border-color: #334155 !important;
    color: #e5e7eb !important;
}
html[data-theme="dark"] .order-7 .text-slate-900,
html.dark .order-7 .text-slate-900,
html[data-theme="dark"] .order-7 .text-slate-500,
html.dark .order-7 .text-slate-500 { color: #e2e8f0 !important; }

html[data-theme="dark"] .accordion-card,
html.dark .accordion-card {
    background: #111c33 !important;
    border-color: #334155 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .24) !important;
}
html[data-theme="dark"] .accordion-card:hover,
html.dark .accordion-card:hover { border-color: #60a5fa !important; }
html[data-theme="dark"] .card-title-bold,
html.dark .card-title-bold { color: #f8fafc !important; }
html[data-theme="dark"] .card-subtext,
html.dark .card-subtext { color: #a8b5c8 !important; }
html[data-theme="dark"] .action-btn-pill,
html.dark .action-btn-pill { background: #243554 !important; color: #dbeafe !important; }
html[data-theme="dark"] .lesson-icon-box,
html.dark .lesson-icon-box { background: rgba(59, 130, 246, .18) !important; color: #93c5fd !important; }

html[data-theme="dark"] article.lesson-content,
html.dark article.lesson-content,
html[data-theme="dark"] .lesson-paragraph,
html.dark .lesson-paragraph { color: #dbe4f0 !important; }
html[data-theme="dark"] article .bg-blue-50\/60,
html.dark article .bg-blue-50\/60 { background-color: rgba(30, 64, 175, .28) !important; border-color: #3b82f6 !important; color: #dbeafe !important; }
html[data-theme="dark"] article .bg-amber-50\/80,
html.dark article .bg-amber-50\/80 { background-color: rgba(120, 53, 15, .28) !important; border-color: #b45309 !important; }
html[data-theme="dark"] article .bg-indigo-50\/60,
html.dark article .bg-indigo-50\/60 { background-color: rgba(67, 56, 202, .25) !important; border-color: #6366f1 !important; }

/* Final dark-theme cascade for pages that use Tailwind utility classes. */
html[data-theme="dark"],
html.dark { color-scheme: dark; }
html[data-theme="dark"] body,
html.dark body { background: #0b1329 !important; color: #e5e7eb !important; }
html[data-theme="dark"] main,
html.dark main,
html[data-theme="dark"] .bg-slate-50,
html.dark .bg-slate-50 { background-color: #0b1329 !important; }
html[data-theme="dark"] header,
html.dark header,
html[data-theme="dark"] footer,
html.dark footer { background-color: #0f172a !important; border-color: #263652 !important; }
html[data-theme="dark"] .bg-white,
html.dark .bg-white,
html[data-theme="dark"] article,
html.dark article,
html[data-theme="dark"] section,
html.dark section { background-color: #111c33 !important; color: #e5e7eb !important; border-color: #263652 !important; }
html[data-theme="dark"] [class*="bg-gradient"],
html.dark [class*="bg-gradient"] { background-image: linear-gradient(135deg, #111c33 0%, #0b1329 72%, #111c33 100%) !important; background-color: #0b1329 !important; }
html[data-theme="dark"] .text-slate-950,
html[data-theme="dark"] .text-slate-900,
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html.dark .text-slate-950,
html.dark .text-slate-900,
html.dark h1,
html.dark h2,
html.dark h3 { color: #f8fafc !important; }
html[data-theme="dark"] .text-slate-800,
html.dark .text-slate-800 { color: #f1f5f9 !important; }
html[data-theme="dark"] .text-slate-700,
html.dark .text-slate-700 { color: #e2e8f0 !important; }
html[data-theme="dark"] .text-slate-600,
html[data-theme="dark"] .text-slate-500,
html.dark .text-slate-600,
html.dark .text-slate-500 { color: #a8b5c8 !important; }
html[data-theme="dark"] [class*="border-slate-"],
html.dark [class*="border-slate-"] { border-color: #263652 !important; }

/* Uksite-inspired mobile application pages */
.mobile-app-page{--mobile-accent:#2563eb;--mobile-accent-soft:#dbeafe;background:#f8fafc;color:#0f172a}.mobile-app-page--dmv{--mobile-accent:#059669;--mobile-accent-soft:#d1fae5}.mobile-shell{width:min(1160px,calc(100% - 40px));margin:0 auto}.mobile-shell--narrow{max-width:860px}.mobile-hero{position:relative;overflow:hidden;background:linear-gradient(125deg,#07152f 0%,#0b1224 56%,#172554 100%);color:#fff}.mobile-app-page--dmv .mobile-hero{background:linear-gradient(125deg,#03251f 0%,#0b1720 56%,#064e3b 100%)}.mobile-hero:after{content:"";position:absolute;right:-180px;top:-230px;width:580px;height:580px;border-radius:50%;background:var(--mobile-accent);opacity:.2;filter:blur(10px)}.mobile-hero__inner{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:72px;align-items:center;padding:28px 0 72px}.mobile-breadcrumb{display:flex;gap:10px;align-items:center;margin-bottom:54px;color:#a8b6cf;font-size:13px}.mobile-breadcrumb a:hover{color:#fff}.mobile-breadcrumb strong{color:#fff}.mobile-hero__badge,.mobile-kicker{display:inline-flex;align-items:center;gap:8px;color:var(--mobile-accent);font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.mobile-hero__badge{padding:8px 13px;border:1px solid rgba(255,255,255,.2);border-radius:999px;color:#dbeafe;background:rgba(255,255,255,.08)}.mobile-hero__badge i{color:var(--mobile-accent)}.mobile-hero h1{max-width:680px;margin:20px 0 18px;font-size:clamp(42px,5.4vw,74px);line-height:1.02;letter-spacing:-.055em;font-weight:900}.mobile-hero p{max-width:630px;color:#c2ccdc;font-size:18px;line-height:1.65}.mobile-hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.mobile-play-button{display:inline-flex;align-items:center;gap:12px;padding:11px 18px;border-radius:12px;background:#fff;color:#0f172a;font-weight:900;box-shadow:0 12px 30px rgba(0,0,0,.22);transition:.2s}.mobile-play-button:hover{transform:translateY(-2px);background:#f8fafc}.mobile-play-button i{font-size:28px;color:var(--mobile-accent)}.mobile-play-button span{display:flex;flex-direction:column;font-size:16px;line-height:1.05}.mobile-play-button small{font-size:9px;letter-spacing:.12em;color:#64748b}.mobile-outline-button{display:inline-flex;align-items:center;gap:8px;padding:11px 16px;border:1px solid rgba(255,255,255,.25);border-radius:12px;color:#fff;font-size:13px;font-weight:800}.mobile-outline-button:hover{background:rgba(255,255,255,.1)}.mobile-hero__note{display:flex!important;align-items:center;gap:7px;margin-top:17px!important;color:#91a1bb!important;font-size:12px!important}.mobile-hero__device{position:relative;justify-self:center;padding-bottom:22px}.mobile-phone{position:relative;display:block;padding:11px;border:7px solid #111827;border-radius:38px;background:#111827;box-shadow:0 30px 70px rgba(0,0,0,.42)}.mobile-phone--hero{width:260px;transform:rotate(4deg)}.mobile-phone__speaker{position:absolute;z-index:2;left:50%;top:5px;width:72px;height:19px;transform:translateX(-50%);border-radius:0 0 13px 13px;background:#111827}.mobile-phone__screen{display:block;overflow:hidden;border-radius:24px;background:#111827}.mobile-phone__screen img{display:block;width:100%;height:auto}.mobile-app-icon{position:absolute;right:-32px;bottom:2px;width:86px;height:86px;padding:7px;border:6px solid #fff;border-radius:25px;background:#fff;box-shadow:0 14px 35px rgba(0,0,0,.28);transform:rotate(-7deg)}.mobile-app-icon img{width:100%;height:100%;border-radius:17px;object-fit:cover}.mobile-stats{background:#101827;color:#fff}.mobile-stats__grid{display:grid;grid-template-columns:repeat(4,1fr)}.mobile-stat{display:flex;flex-direction:column;gap:5px;padding:25px 28px;border-right:1px solid rgba(255,255,255,.13)}.mobile-stat:last-child{border-right:0}.mobile-stat strong{color:#fff;font-size:28px;letter-spacing:-.04em}.mobile-stat span{color:#9eacc1;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.mobile-section{padding:86px 0}.mobile-section-heading{max-width:700px}.mobile-section-heading--center{margin:0 auto;text-align:center}.mobile-section-heading h2{margin:12px 0 12px;color:#07152f;font-size:clamp(30px,4vw,48px);line-height:1.05;letter-spacing:-.045em;font-weight:900}.mobile-section-heading p{color:#64748b;font-size:16px;line-height:1.65}.mobile-feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:34px}.mobile-feature-card{min-height:190px;padding:23px;border:1px solid #e2e8f0;border-top:3px solid var(--mobile-accent);border-radius:18px;background:#fff;box-shadow:0 7px 20px rgba(15,23,42,.045)}.mobile-feature-card--2{border-top-color:#f59e0b}.mobile-feature-card--3{border-top-color:#8b5cf6}.mobile-feature-card--4{border-top-color:#ec4899}.mobile-feature-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:var(--mobile-accent-soft);color:var(--mobile-accent);font-size:22px}.mobile-feature-card h3{margin:18px 0 8px;font-size:16px;line-height:1.25}.mobile-feature-card p{margin:0;color:#64748b;font-size:13px;line-height:1.55}.mobile-gallery{overflow:hidden;background:#fff}.mobile-carousel-wrap{position:relative;margin:38px -20px 0}.mobile-carousel{display:flex;gap:22px;overflow-x:auto;padding:18px 60px 30px;scrollbar-width:none;scroll-behavior:smooth}.mobile-carousel::-webkit-scrollbar{display:none}.mobile-carousel__item{flex:0 0 295px;max-width:295px;padding:0;border:0;background:transparent;cursor:pointer;transition:.2s}.mobile-carousel__item:hover{transform:translateY(-7px)}.mobile-phone--gallery{padding:7px;border-width:5px;border-radius:26px;box-shadow:0 16px 35px rgba(15,23,42,.2);transform:none}.mobile-phone--gallery .mobile-phone__screen{border-radius:17px}.mobile-phone--gallery .mobile-phone__speaker{top:3px;width:49px;height:13px}.mobile-carousel-arrow{position:absolute;z-index:2;top:45%;display:grid;place-items:center;width:42px;height:42px;border:1px solid #dbe3ee;border-radius:50%;background:#fff;color:#0f172a;box-shadow:0 8px 20px rgba(15,23,42,.12);cursor:pointer}.mobile-carousel-arrow--prev{left:20px}.mobile-carousel-arrow--next{right:20px}.mobile-download{background:var(--mobile-accent);color:#fff}.mobile-download__inner{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:54px 0}.mobile-download h2{margin:8px 0 8px;font-size:clamp(28px,4vw,44px);line-height:1.05;letter-spacing:-.04em}.mobile-download p{margin:0;color:rgba(255,255,255,.82);font-size:15px}.mobile-download .mobile-kicker{color:rgba(255,255,255,.75)}.mobile-play-button--dark{flex:none;color:#fff;background:#111827}.mobile-play-button--dark i{color:#86efac}.mobile-faq{background:#f8fafc}.mobile-faq-list{margin-top:28px;border-top:1px solid #dbe3ee}.mobile-faq-list details{border-bottom:1px solid #dbe3ee}.mobile-faq-list summary{display:flex;justify-content:space-between;gap:20px;padding:20px 0;list-style:none;cursor:pointer;font-weight:800}.mobile-faq-list summary::-webkit-details-marker{display:none}.mobile-faq-list summary i{color:var(--mobile-accent);transition:.2s}.mobile-faq-list details[open] summary i{transform:rotate(45deg)}.mobile-faq-list p{max-width:760px;margin:-7px 0 20px;color:#64748b;font-size:14px;line-height:1.65}.mobile-lightbox{position:fixed;z-index:100;inset:0;display:flex;align-items:center;justify-content:center;padding:35px;background:rgba(2,8,23,.9)}.mobile-lightbox[hidden]{display:none}.mobile-lightbox>img{max-width:min(430px,80vw);max-height:90vh;border-radius:25px;box-shadow:0 25px 80px rgba(0,0,0,.5)}.mobile-lightbox__close,.mobile-lightbox__nav{position:absolute;display:grid;place-items:center;width:44px;height:44px;border:1px solid rgba(255,255,255,.25);border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:22px;cursor:pointer}.mobile-lightbox__close{right:28px;top:24px}.mobile-lightbox__nav--prev{left:28px}.mobile-lightbox__nav--next{right:28px}body.mobile-lightbox-open{overflow:hidden}
@media (max-width:900px){.mobile-hero__inner{grid-template-columns:1fr;gap:35px;padding-bottom:55px}.mobile-hero__device{order:-1;padding-top:35px}.mobile-phone--hero{width:220px}.mobile-breadcrumb{margin-bottom:28px}.mobile-feature-grid{grid-template-columns:repeat(2,1fr)}.mobile-download__inner{align-items:flex-start;flex-direction:column}}
@media (max-width:560px){.mobile-shell{width:min(100% - 28px,1160px)}.mobile-hero h1{font-size:42px}.mobile-hero p{font-size:16px}.mobile-hero__actions{flex-direction:column;align-items:stretch}.mobile-play-button,.mobile-outline-button{justify-content:center}.mobile-stats__grid{grid-template-columns:repeat(2,1fr)}.mobile-stat{padding:18px 14px;border-bottom:1px solid rgba(255,255,255,.13)}.mobile-stat:nth-child(2){border-right:0}.mobile-stat strong{font-size:23px}.mobile-feature-grid{grid-template-columns:1fr}.mobile-section{padding:60px 0}.mobile-carousel{padding-left:45px;padding-right:45px}.mobile-carousel__item{flex-basis:160px}.mobile-carousel-arrow{width:36px;height:36px}.mobile-carousel-arrow--prev{left:4px}.mobile-carousel-arrow--next{right:4px}.mobile-lightbox{padding:15px}.mobile-lightbox>img{max-width:82vw}.mobile-lightbox__nav--prev{left:8px}.mobile-lightbox__nav--next{right:8px}}
.mobile-app-preview-card{position:relative;display:flex;flex-direction:column;align-items:center;width:300px;padding:42px 30px 34px;border:1px solid rgba(255,255,255,.22);border-radius:34px;background:linear-gradient(145deg,rgba(255,255,255,.17),rgba(255,255,255,.05));box-shadow:0 30px 70px rgba(0,0,0,.35);text-align:center;overflow:hidden}.mobile-app-preview-card__glow{position:absolute;top:-80px;width:230px;height:230px;border-radius:50%;background:var(--mobile-accent);opacity:.32;filter:blur(25px)}.mobile-app-preview-card__icon{position:relative;width:158px;height:158px;padding:10px;border:8px solid rgba(255,255,255,.9);border-radius:42px;background:#fff;box-shadow:0 20px 45px rgba(0,0,0,.3);transform:rotate(-4deg)}.mobile-app-preview-card__icon img{width:100%;height:100%;border-radius:30px;object-fit:cover}.mobile-app-preview-card span{position:relative;margin-top:30px;color:#cbd5e1;font-size:12px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.mobile-app-preview-card strong{position:relative;margin-top:8px;color:#fff;font-size:24px;letter-spacing:-.03em}.mobile-app-preview-card small{position:relative;display:flex;align-items:center;gap:6px;margin-top:18px;color:#b8c5d8;font-size:12px}.mobile-app-preview-card small i{color:var(--mobile-accent)}
@media (max-width:900px){.mobile-app-preview-card{width:260px;padding:32px 24px 27px}.mobile-app-preview-card__icon{width:130px;height:130px}}

@media (max-width: 640px) {
  .slide-modal-toolbar {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 20;
    background: transparent !important;
    border: 0;
    pointer-events: none;
  }
  .slide-modal-actions { pointer-events: auto; }
  .slide-modal-btn, .slide-modal-nav-btn, .slide-modal-close-btn,
  .slide-lang-select-wrapper, .slide-modal-actions .lang-select-btn {
    background: rgba(15, 23, 42, .38) !important;
    border-color: rgba(255,255,255,.25) !important;
    backdrop-filter: blur(5px);
  }
  .slide-modal-viewport { height: 100dvh; padding: 0; }
  .slide-modal-img-container { transform-origin: center center; transition: transform .12s ease; }
  .slide-modal-img-container, .slide-modal-img { max-height: 100dvh; }
}



/* Hidden Translate Container */
#google_translate_element { display: none !important; }
.goog-te-banner-frame, .skiptranslate { display: none !important; }
body { top: 0 !important; }

/* ==========================================================================
   HOMEPAGE HERO SECTION
   ========================================================================== */
.main-content {
    flex: 1;
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}

.homepage-hero {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem 2.25rem;
    margin-bottom: 2.25rem;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.homepage-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: radial-gradient(circle at 100% 0%, rgba(0, 80, 204, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.85rem;
    background: rgba(0, 80, 204, 0.08);
    border: 1px solid rgba(0, 80, 204, 0.2);
    border-radius: var(--radius-full);
    color: var(--brand-secondary);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.homepage-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.65rem;
    line-height: 1.2;
}

.homepage-title span {
    color: var(--brand-secondary);
}

.homepage-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 780px;
    line-height: 1.55;
    margin-bottom: 0.85rem;
}



/* Compact Card Frame for Slide Deck */
.lesson-study-slides {
  margin: 0 0 1.25rem 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.lesson-hero-stats-below-slides {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin: 0 0 1.5rem;
}
.content-updated-date { margin:.55rem 0 0; font-size:.8rem; color:var(--text-muted); }

.lesson-slides-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.lesson-slides-heading-left {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.slide-deck-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--brand-secondary);
  text-transform: uppercase;
}

.slide-count-pill {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand-secondary);
  border-radius: var(--radius-full);
}

.lesson-slides-full-width, .lesson-slides-fullwidth { width: 100%; }
.lesson-study-slides { margin: 0 0 1.25rem; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.lesson-slide-deck { width: 100%; height: auto; min-height: 0; max-height: none; aspect-ratio: 16 / 9; border: 1px solid var(--border-color, #e2e8f0); border-radius: 0; background: #090d16; overflow: hidden; position: relative; }
.slide-thumbnail-wrapper { width: 100%; height: 100%; min-height: 0; max-height: none; border-radius: 0; position: relative; display: flex; align-items: center; justify-content: center; cursor: zoom-in; overflow: hidden; background: #090d16; }
.lesson-slide-image { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; border-radius: 0; transition: none !important; cursor: zoom-in; }
.slide-thumbnail-wrapper:hover .lesson-slide-image { transform: none; }
.slide-inline-actions { position: absolute; z-index: 26; top: 12px; right: 12px; display: flex; align-items: center; gap: .5rem; }
.slide-inline-action { min-height: 40px; padding: .55rem .8rem; border: 1px solid rgba(255,255,255,.24); border-radius: 8px; color: #fff; background: rgba(7,13,26,.82); backdrop-filter: blur(10px); font: 800 .8rem/1 Inter,system-ui,sans-serif; cursor: pointer; }
.slide-inline-action:hover { background: rgba(30,41,59,.94); }
.slide-viewer-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin: 0 0 .85rem; }
.slide-viewer-heading h2 { margin: .2rem 0 0; color: var(--text-primary, #0f172a); font-size: 1rem; line-height: 1.25; font-weight: 900; }
.slide-viewer-kicker { color: var(--brand-secondary, #2563eb); font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.slide-viewer-count { flex: 0 0 auto; padding: .35rem .7rem; border: 1px solid #dbeafe; border-radius: 999px; background: #eff6ff; color: #1d4ed8; font-size: .75rem; font-weight: 800; white-space: nowrap; }
@media (max-width: 640px) { .slide-viewer-heading { align-items: flex-start; flex-direction: column; gap: .55rem; } .slide-viewer-heading h2 { font-size: 1.05rem; } }
.lesson-slide-inline-controls { border-radius: 99px; flex-wrap: nowrap; justify-content: center; position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 25; display: flex; align-items: center; gap: 0.75rem; padding: 0.35rem 0.85rem; background: rgba(7, 13, 26, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.22); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45); pointer-events: auto; }
.slide-inline-nav-btn { border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.12); color: #ffffff; padding: 0.3rem 0.8rem; border-radius: 99px; font: 800 0.8rem/1 Inter, system-ui, sans-serif; cursor: pointer; transition: all 0.2s ease; user-select: none; }
.slide-inline-nav-btn:hover { background: rgba(255, 255, 255, 0.3); border-color: #ffffff; }
.slide-inline-counter { color: #f1f5f9; font-size: 0.82rem; font-weight: 800; white-space: nowrap; user-select: none; padding: 0 0.2rem; }
.slide-loading { display: grid; min-height: 380px; place-items: center; color: #cbd5e1; font-weight: 700; }

.slide-seo-content {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: normal !important;
  border: 0 !important;
}
.slide-seo-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin-top: .8rem; }
.lesson-slide-accessible-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Fullscreen Slide Modal Lightbox (Matching UKSite) */
.slide-fullscreen-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(7, 13, 26, 0.94);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.slide-fullscreen-modal.active {
  opacity: 1;
  visibility: visible;
}

.slide-modal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  gap: 1rem;
  flex-wrap: wrap;
}

.slide-modal-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.slide-modal-badge {
  font-size: 0.75rem;
  font-weight: 900;
  color: #60a5fa;
  letter-spacing: 0.05em;
  background: rgba(96, 165, 250, 0.12);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.slide-modal-counter {
  font-size: 0.875rem;
  font-weight: 800;
  color: #e2e8f0;
}

.slide-modal-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.slide-lang-select-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 0.25rem 0.55rem;
}

.slide-lang-icon {
  font-size: 0.9rem;
}

.slide-lang-select {
  background: transparent;
  color: #ffffff;
  border: none;
  font: 700 0.82rem Inter, sans-serif;
  outline: none;
  cursor: pointer;
  padding: 0.2rem 0;
}

.slide-lang-select option {
  background: #0f172a;
  color: #ffffff;
}

.slide-modal-btn {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.08);
  font: 700 0.82rem/1 Inter, sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slide-modal-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.slide-modal-btn.active {
  background: #2563eb;
  border-color: #3b82f6;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.slide-modal-nav-btn {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.45rem 0.8rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  font: 700 0.82rem/1 Inter, sans-serif;
  cursor: pointer;
}

.slide-modal-nav-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.slide-modal-close-btn {
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  background: #ef4444;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  margin-left: 0.5rem;
}

.slide-modal-close-btn:hover {
  transform: scale(1.1);
}

.slide-modal-viewport {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  overflow: auto;
  position: relative;
}

.slide-modal-img-container {
  position: relative;
  display: inline-block;
  max-width: 92vw;
  max-height: 82vh;
  transform-origin: center center;
  touch-action: none;
  will-change: transform;
  transition: transform .12s ease-out;
}

.slide-modal-img-container.is-dragging { cursor: grabbing; }
.slide-modal-img-container.is-zoomed { cursor: grab; }

.slide-modal-img {
  display: block;
  max-width: 92vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  background: #ffffff;
}

.slide-modal-text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.slide-modal-text-box {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1px 3px;
  box-sizing: border-box;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
  user-select: none;
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}
.slide-modal-text-box > span { display: block; width: 100%; min-width: 0; white-space: normal; overflow-wrap: break-word; word-break: normal; line-height: 1.05; }
.slide-thumbnail-wrapper .lesson-slide-image { transition: transform .18s ease-out !important; }
.slide-modal-text-overlay .slide-modal-text-box { pointer-events: auto; cursor: pointer; }
.slide-modal-text-overlay .slide-modal-text-box.box-hidden { opacity: 0 !important; visibility: visible; pointer-events: auto; }

.slide-modal-text-box:hover {
  background: rgba(37, 99, 235, 0.95);
  border-color: #ffffff;
  transform: scale(1.02);
  z-index: 10;
}

.slide-modal-text-box.box-hidden {
  opacity: 0.08;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.15);
  color: transparent;
}

.slide-modal-text-box.box-hidden:hover {
  opacity: 0.6;
  background: rgba(15, 23, 42, 0.4);
  color: #ffffff;
}

/* Hidden text boxes keep their original hit area so a second click restores them. */
.slide-modal-text-box[data-visible="0"] {
  opacity: 0 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

@media (max-width: 640px) {
  .slide-modal-toolbar {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 20;
    padding: .4rem .5rem;
    background: transparent !important;
    border: 0 !important;
    pointer-events: none;
  }
  .slide-modal-actions { pointer-events: auto; }
  .slide-modal-btn, .slide-modal-nav-btn, .slide-modal-close-btn,
  .slide-lang-select-wrapper, .slide-modal-actions .lang-select-btn {
    background: rgba(15, 23, 42, .38) !important;
    border-color: rgba(255,255,255,.25) !important;
    backdrop-filter: blur(5px);
  }
  .slide-modal-viewport { height: 100dvh; padding: 0; }
  .slide-modal-img-container { transform-origin: center; transition: transform .12s ease; }
  .slide-modal-img-container, .slide-modal-img { max-height: 100dvh; }
}



/* Main Column Video Player Section (Right under slides) */
.lesson-video-section {
  margin: 0 0 1.5rem 0;
  padding: 0.65rem;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: var(--bg-card);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.lesson-youtube-media {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.lesson-youtube-media .youtube-video-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0 !important;
}
.lesson-video-full-width .youtube-video-wrapper { position:relative; overflow:hidden; background:#0f172a; }
.lesson-video-full-width .youtube-video-wrapper iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }

.lesson-video-section .uk-custom-player-wrapper {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #090d16;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.lesson-video-section .player-screen-area {
  aspect-ratio: 16 / 9;
  width: 100%;
  position: relative;
  background: #030712;
  overflow: hidden;
}



/* ==========================================================================
   STRICT OVERFLOW & CONTAINMENT FIX FOR VIDEO PLAYER & SLIDE OVERLAYS
   ========================================================================== */
#customVideoPlayer,
.uk-custom-player-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg, 12px);
    background: #0f172a;
    cursor: pointer !important;
}

.player-screen-area {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg, 12px) var(--radius-lg, 12px) 0 0;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer !important;
}

.player-frame-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    cursor: pointer !important;
}

.player-screen-area svg,
.player-screen-area image,
.player-screen-area img {
    max-width: 100% !important;
    position: relative;
}

body > img,
main > img,
.main-content > img:not(.md-img) {
    display: none !important;
}

/* ==========================================================================
   SCROLLBAR & OVERLAY STYLING FOR RULE TEXT BOXES
   ========================================================================== */
.rule-text-overlay {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: thin;
    scrollbar-color: var(--brand-secondary) rgba(0,0,0,0.05);
}

.rule-text-overlay::-webkit-scrollbar {
    width: 4px;
}

.rule-text-overlay::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    border-radius: 4px;
}

.rule-text-overlay::-webkit-scrollbar-thumb {
    background: var(--brand-secondary);
    border-radius: 4px;
}



/* Mobile slide controls and zoom — final cascade layer. */
@media (max-width: 640px) {
  .slide-modal-toolbar {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 20;
    padding: .4rem .5rem;
    background: transparent !important;
    border: 0 !important;
    pointer-events: none;
  }
  .slide-modal-actions { pointer-events: auto; }
  .slide-modal-btn, .slide-modal-nav-btn, .slide-modal-close-btn,
  .slide-lang-select-wrapper, .slide-modal-actions .lang-select-btn {
    background: rgba(15, 23, 42, .38) !important;
    border-color: rgba(255,255,255,.25) !important;
    backdrop-filter: blur(5px);
  }
  .slide-modal-viewport { height: 100dvh; padding: 0; }
  .slide-modal-img-container { transform-origin: center; transition: transform .12s ease; }
  .slide-modal-img-container, .slide-modal-img { max-height: 100dvh; }
}

/* ==========================================================================
   UKSITE COMPATIBLE STYLES: CIRCULAR BACK BUTTON & HERO STATS & VIDEO PLAYER
   ========================================================================== */
.back-circle-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}
.back-circle-btn:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    transform: translateX(-3px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.back-circle-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.youtube-lesson-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    border-radius: 0 !important;
    overflow: hidden;
    box-shadow: none !important;
}
.youtube-lesson-player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.lesson-hero-stats {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    align-items: center;
}
.lesson-hero-stats-below-slides {
    margin: 1.25rem 0 0.75rem;
}
.hero-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.85rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    font-size: 0.825rem;
    font-weight: 600;
    color: #334155;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.hero-stat-pill strong {
    color: #0f172a;
    font-weight: 700;
}
.content-updated-date {
    margin: 0 0 1.5rem;
    font-size: 0.8rem;
    color: #64748b;
}

/* Subcategory Lesson & Test Cards (Matching uksite accordion inner styles) */
.accordion-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 1.35rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}
.accordion-card:hover {
    border-color: #93c5fd;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -4px rgba(37, 99, 235, 0.08);
}
.accordion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    transition: width 0.2s ease;
}
.accordion-card.lesson-card::before {
    background: linear-gradient(180deg, #3b82f6, #1d4ed8);
}
.accordion-card.test-card::before {
    background: linear-gradient(180deg, #10b981, #047857);
}
.accordion-card:hover::before {
    width: 6px;
}
.accordion-card .card-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.card-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lesson-icon-box {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}
.test-icon-box {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}
.card-title-bold {
    font-size: 0.975rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
}
.card-subtext {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.15rem;
}
.action-btn-pill {
    padding: 0.45rem 0.9rem;
    background: #f1f5f9;
    color: #334155;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
}
.accordion-card:hover .action-btn-pill {
    background: #2563eb;
    color: #ffffff;
}

/* DMV module pages use the DMV green accent throughout; CDL keeps its blue accent. */
.dmv-module-page nav a { color: #059669 !important; }
.dmv-module-page .accordion-card:hover { border-color: #6ee7b7; box-shadow: 0 8px 16px -4px rgba(5, 150, 105, .10); }
.dmv-module-page .accordion-card.lesson-card::before { background: linear-gradient(180deg, #34d399, #047857); }
.dmv-module-page .lesson-icon-box { background: rgba(16, 185, 129, .10); color: #059669; }
.dmv-module-page .card-title-bold.group-hover\:text-blue-600:hover { color: #059669 !important; }
.dmv-module-page .action-btn-pill { color: #047857; }
.dmv-module-page .accordion-card:hover .action-btn-pill { background: #059669; color: #ffffff; }
.dmv-module-page .bg-gradient-to-br.from-emerald-500 { background-image: linear-gradient(to bottom right, #10b981, #047857) !important; }
.dmv-module-page .hover\:bg-blue-600:hover { background-color: #059669 !important; }
/* Replace every remaining CDL-blue utility inside DMV module content. */
.dmv-module-page [class~="text-blue-500"],
.dmv-module-page [class~="text-blue-600"],
.dmv-module-page [class~="text-blue-700"],
.dmv-module-page [class~="text-blue-800"] { color: #059669 !important; }
.dmv-module-page [class~="bg-blue-50"],
.dmv-module-page [class~="bg-blue-100"] { background-color: #ecfdf5 !important; }
.dmv-module-page [class~="bg-blue-600"],
.dmv-module-page [class~="bg-blue-700"] { background-color: #059669 !important; }
.dmv-module-page [class~="border-blue-100"],
.dmv-module-page [class~="border-blue-200"] { border-color: #a7f3d0 !important; }
.dmv-module-page [class~="hover:text-blue-600"]:hover,
.dmv-module-page [class~="hover:text-blue-700"]:hover { color: #047857 !important; }
.dmv-module-page [class~="hover:bg-blue-50"]:hover { background-color: #ecfdf5 !important; }
.dmv-module-page [class~="hover:bg-blue-600"]:hover,
.dmv-module-page [class~="hover:bg-blue-700"]:hover { background-color: #047857 !important; }

/* ==========================================================================
   UKLicence Translation & Language Selector Styles
   ========================================================================== */
.lang-selector-wrapper {
    position: relative;
}

.lang-select-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 0.75rem;
    color: #0f172a;
    font-size: 0.825rem;
    font-weight: 700;
    transition: all 0.15s ease;
    cursor: pointer;
}

[data-theme="dark"] .lang-select-btn,
html.dark .lang-select-btn {
    background: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
}

.lang-select-btn:hover {
    border-color: #2563eb;
}

.flag-icon-img {
    width: 19px;
    height: 13px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    display: inline-block;
    vertical-align: middle;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 270px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    z-index: 1100;
    overflow: hidden;
}

[data-theme="dark"] .lang-dropdown,
html.dark .lang-dropdown {
    background: #0f172a;
    border-color: #334155;
}

.lang-dropdown.active {
    display: flex;
}

.lang-search-box {
    padding: 0.6rem;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

[data-theme="dark"] .lang-search-box,
html.dark .lang-search-box {
    background: #1e293b;
    border-color: #334155;
}

.lang-search-input {
    width: 100%;
    padding: 0.45rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.8rem;
    outline: none;
}

[data-theme="dark"] .lang-search-input,
html.dark .lang-search-input {
    background: #0f172a;
    border-color: #475569;
    color: #f1f5f9;
}

.lang-list {
    overflow-y: auto;
    max-height: 280px;
    padding: 0.25rem 0;
}

.lang-option-btn,
.lang-option {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    padding: 0.55rem 0.85rem;
    cursor: pointer;
    font-size: 0.825rem;
    color: #0f172a;
    border: none;
    background: transparent;
    text-align: left;
    transition: background 0.15s ease;
    gap: 0.65rem;
}

.lang-option-name {
    text-align: left !important;
}

.trans-box.translation-box {
    display: block;
    margin-top: 0.45rem;
    margin-bottom: 0.85rem;
    padding: 0.65rem 0.95rem;
    background: rgba(37, 99, 235, 0.08);
    border-left: 3px solid #2563eb;
    border-radius: 0.5rem;
    color: #1d4ed8;
    font-size: 0.875rem;
    line-height: 1.55;
    font-weight: 500;
}

[data-theme="dark"] .trans-box.translation-box,
html.dark .trans-box.translation-box {
    background: rgba(30, 58, 138, 0.3) !important;
    border-left-color: #60a5fa !important;
    color: #93c5fd !important;
}

[data-theme="dark"] .lang-option-btn,
[data-theme="dark"] .lang-option,
html.dark .lang-option-btn,
html.dark .lang-option {
    color: #e2e8f0;
}

.lang-option-btn:hover,
.lang-option:hover {
    background: #f1f5f9;
    color: #2563eb;
}

[data-theme="dark"] .lang-option-btn:hover,
[data-theme="dark"] .lang-option:hover,
html.dark .lang-option-btn:hover,
html.dark .lang-option:hover {
    background: #1e293b;
    color: #60a5fa;
}

.lang-option-btn.active,
.lang-option.selected {
    font-weight: 700;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

.lang-check {
    font-size: 0.85rem;
    color: #2563eb;
    font-weight: 800;
}

/* ==========================================================================
   Theme Swipe Toggle (Light / Dark Switch)
   ========================================================================== */
.theme-swipe-toggle {
    position: relative;
    width: 50px;
    height: 26px;
    background: #cbd5e1;
    border-radius: 26px;
    cursor: pointer;
    padding: 2px;
    transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

[data-theme="dark"] .theme-swipe-toggle,
html.dark .theme-swipe-toggle {
    background: #334155;
}

.theme-swipe-toggle .knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    transition: transform 0.25s ease;
    z-index: 2;
}

[data-theme="dark"] .theme-swipe-toggle .knob,
html.dark .theme-swipe-toggle .knob {
    transform: translateX(24px) !important;
    background: #1e293b;
}

/* ==========================================================================
   Dark Mode Global Page Overrides
   ========================================================================== */
html[data-theme="dark"],
html.dark {
    color-scheme: dark;
}

[data-theme="dark"] body,
html.dark body {
    background-color: #0b1329 !important;
    color: #f1f5f9 !important;
}

[data-theme="dark"] header,
html.dark header {
    background-color: rgba(15, 23, 42, 0.95) !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] article,
html.dark article,
[data-theme="dark"] .bg-white,
html.dark .bg-white {
    background-color: #0f172a !important;
    color: #f1f5f9 !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .bg-slate-50,
html.dark .bg-slate-50 {
    background-color: #0b1329 !important;
}

[data-theme="dark"] .bg-slate-100,
html.dark .bg-slate-100 {
    background-color: #1e293b !important;
}

[data-theme="dark"] .text-slate-900,
html.dark .text-slate-900 {
    color: #f8fafc !important;
}

[data-theme="dark"] .text-slate-800,
html.dark .text-slate-800 {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .text-slate-700,
html.dark .text-slate-700 {
    color: #e2e8f0 !important;
}

[data-theme="dark"] .text-slate-600,
html.dark .text-slate-600 {
    color: #94a3b8 !important;
}

[data-theme="dark"] .text-slate-500,
html.dark .text-slate-500 {
    color: #94a3b8 !important;
}

[data-theme="dark"] .border-slate-200,
[data-theme="dark"] .border-slate-100,
html.dark .border-slate-200,
html.dark .border-slate-100 {
    border-color: #1e293b !important;
}

/* Callout boxes in dark mode */
[data-theme="dark"] .bg-amber-50\/80,
[data-theme="dark"] .bg-amber-50,
html.dark .bg-amber-50 {
    background-color: rgba(120, 53, 15, 0.2) !important;
    border-color: #b45309 !important;
}
[data-theme="dark"] .text-amber-950,
html.dark .text-amber-950 {
    color: #fef3c7 !important;
}

[data-theme="dark"] .bg-emerald-50\/60,
[data-theme="dark"] .bg-emerald-50,
html.dark .bg-emerald-50 {
    background-color: rgba(6, 78, 59, 0.2) !important;
    border-color: #059669 !important;
}
[data-theme="dark"] .text-emerald-950,
html.dark .text-emerald-950 {
    color: #d1fae5 !important;
}

[data-theme="dark"] .bg-purple-50\/60,
[data-theme="dark"] .bg-purple-50,
html.dark .bg-purple-50 {
    background-color: rgba(88, 28, 135, 0.2) !important;
    border-color: #7c3aed !important;
}
[data-theme="dark"] .text-purple-950,
html.dark .text-purple-950 {
    color: #ede9fe !important;
}

[data-theme="dark"] .bg-indigo-50\/60,
[data-theme="dark"] .bg-indigo-50,
html.dark .bg-indigo-50 {
    background-color: rgba(49, 46, 129, 0.2) !important;
    border-color: #4f46e5 !important;
}
[data-theme="dark"] .text-indigo-950,
html.dark .text-indigo-950 {
    color: #e0e7ff !important;
}

[data-theme="dark"] .bg-blue-50\/60,
[data-theme="dark"] .bg-blue-50,
html.dark .bg-blue-50 {
    background-color: rgba(30, 58, 138, 0.2) !important;
    border-color: #2563eb !important;
}

[data-theme="dark"] .lesson-hero-stats .hero-stat-pill,
html.dark .lesson-hero-stats .hero-stat-pill {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}

/* ==========================================================================
   Slide Deck Inline Player & Hover Zoom Overlay (UKLicence Exact)
   ========================================================================== */
.slide-thumbnail-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
    overflow: hidden;
    background: #090d16;
}

.lesson-slide-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.slide-thumbnail-wrapper:hover .lesson-slide-image {
    transform: scale(1.02);
}

.slide-zoom-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    z-index: 10;
}

.slide-thumbnail-wrapper:hover .slide-zoom-hover-overlay {
    opacity: 1;
}

.slide-zoom-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.15rem;
    background: rgba(255, 255, 255, 0.96);
    color: #0f172a;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 800;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    transform: translateY(6px);
    transition: transform 0.25s ease;
}

.slide-thumbnail-wrapper:hover .slide-zoom-pill {
    transform: translateY(0);
}

.slide-inline-actions {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 25;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.slide-inline-action {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(7, 13, 26, 0.75);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 0.35rem 0.75rem;
    border-radius: 99px;
    font: 700 0.75rem/1 Inter, system-ui, sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.slide-inline-action:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    transform: scale(1.04);
}

.lesson-slide-inline-controls {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 25;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0.85rem;
    background: rgba(7, 13, 26, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 99px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
    pointer-events: auto;
}

.slide-inline-nav-btn {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 99px;
    font: 800 0.8rem/1 Inter, system-ui, sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.slide-inline-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #ffffff;
    transform: scale(1.04);
}

.slide-inline-counter {
    color: #f1f5f9;
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
    user-select: none;
    padding: 0 0.2rem;
}

/* Final slide treatment: flush image stage, no white image/card padding. */
.lesson-slide-deck {
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 0;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: .85rem;
    background: #090d16;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .14);
}

.slide-thumbnail-wrapper {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    background: #090d16;
}

.lesson-slide-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    padding: 0;
    object-fit: contain;
}

.lesson-slide-inline-controls {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
    width: max-content;
    max-width: calc(100% - 1.5rem);
    padding: .35rem .85rem;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(7, 13, 26, .82);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Fullscreen slide canvas matching the UKsite treatment. */
.slide-fullscreen-modal {
    background: rgba(7, 13, 26, .96);
    backdrop-filter: blur(12px);
}

.slide-fullscreen-modal.active {
    opacity: 1;
    visibility: visible;
}

.slide-modal-viewport {
    padding: 1rem;
    background: #090d16;
}

.slide-modal-img-container,
.slide-modal-img {
    max-width: 96vw;
    max-height: 86vh;
}

.slide-modal-img {
    border-radius: .7rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .55);
}

@media (max-width: 640px) {
    #header2 .lang-select-btn {
        min-width: 0 !important;
        width: 54px;
        justify-content: center;
        gap: 0.35rem;
        padding-left: 0.55rem;
        padding-right: 0.55rem;
    }
    #header2 .lang-name { display: none !important; }
    #header2 .lang-selector-wrapper,
    #header2 #langSelectBtn,
    #header2 #langDropdown { pointer-events: auto !important; }

    .lesson-slide-deck { border-radius: .65rem; }
    .lesson-slide-inline-controls { bottom: .65rem; padding: .3rem .55rem; }
    .lesson-slide-image { padding: 0; }
    .slide-modal-viewport { padding: 0; }
    .slide-modal-img { max-width: 100vw; max-height: 100dvh; border-radius: 0; }

    /* Mobile lesson video: remove the desktop card gutters and bleed to the viewport edges. */
    .lesson-video-section.lesson-video-top {
        width: 100vw;
        max-width: none;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        margin-top: 0;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #030712 !important;
    }
    .lesson-video-section.lesson-video-top > .youtube-lesson-player,
    .lesson-video-section.lesson-video-top > .relative,
    .lesson-video-section.lesson-video-top .youtube-video-wrapper,
    .lesson-video-section.lesson-video-top .uk-custom-player-wrapper {
        width: 100% !important;
        max-width: none !important;
        border-radius: 0 !important;
    }
    .lesson-video-section.lesson-video-top iframe,
    .lesson-video-section.lesson-video-top video {
        width: 100% !important;
        max-width: none !important;
        border-radius: 0 !important;
    }

    /* Fullscreen slide: the viewport fills the screen; the toolbar floats above it. */
    .slide-fullscreen-modal {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        min-height: 100dvh !important;
        overflow: hidden !important;
    }
    .slide-fullscreen-modal .slide-modal-viewport {
        position: absolute !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        min-height: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
    }
    .slide-fullscreen-modal .slide-modal-img-container {
        width: 100vw !important;
        height: 100dvh !important;
        max-width: none !important;
        max-height: none !important;
        display: block !important;
    }
    .slide-fullscreen-modal .slide-modal-img {
        display: block !important;
        width: 100vw !important;
        height: 100dvh !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: contain !important;
        border-radius: 0 !important;
    }
}
