﻿/*
Theme Name: Hello Elementor Child (Enterprise)
Template: hello-elementor
Version: 6.0.2
Description: Enterprise structure for ACME LMS.
Author: ACME Dev
Text Domain: hello-elementor-child
*/

/* Prevent horizontal overflow globally */
html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    max-width: 100vw;
}

/* NOTE: All styles are loaded from /assets/css/main.css */

/* Import Components */

:root {
    /* Fluid Scale & Spacing */
    --acme-gap-global: clamp(20px, 4vw, 40px);
    --acme-container-padding: clamp(16px, 3vw, 24px);

    /* Safe Area Insets */
    --safe-area-top: env(safe-area-inset-top, 0px);
    --safe-area-bottom: env(safe-area-inset-bottom, 0px);
    --safe-area-left: env(safe-area-inset-left, 0px);
    --safe-area-right: env(safe-area-inset-right, 0px);

    /* New Color Palette */
    --acme-blue-primary: #117DBC;
    /* Ocean Blue - Primary Action */
    --acme-blue-light: #3F91C6;
    /* Sky Blue - Hover/Secondary */
    --acme-blue-dark: #093E70;
    /* Deep Blue - Secondary Headers */
    --acme-navy-deep: #000C29;
    /* Midnight Navy - Backgrounds/Text */
    --acme-accent-rust: #6D2411;
    /* Copper Rust - Alerts/Contrast */
    --acme-accent-gold: #DCAF73;
    /* Sand Gold - Accents/Ratings */

    /* Functional Mappings */
    --acme-text-main: var(--acme-navy-deep);
    --acme-text-light: #ffffff;
    --acme-bg-dark: var(--acme-navy-deep);
    --acme-link-color: var(--acme-blue-primary);
    --acme-link-hover: var(--acme-blue-light);
    --acme-border-color: #d1d7dc;
    /* Keep structural gray for now or map to gold? keeping gray for structure */
}

/* ===========================
   GLOBAL COLOR OVERRIDES
   =========================== */
/* 1. Typography Forces */
body,
h1,
h2,
h3,
h4,
h5,
h6,
.elementor-heading-title,
.acme-course-card__title,
.acme-course-card__price,
.acme-text-gray {
    color: var(--acme-navy-deep) !important;
}

a {
    color: var(--acme-blue-primary);
}

a:hover {
    color: var(--acme-blue-light);
}

/* 2. Button Forces (Elementor + Theme) */
button,
input[type="button"],
input[type="submit"],
.elementor-button,
.acme-btn--primary,
.btn-primary,
body .acme-btn-demo {
    background-color: var(--acme-blue-primary) !important;
    background-image: none !important;
    /* Remove gradients */
    color: #ffffff !important;
    border-color: var(--acme-blue-primary) !important;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.elementor-button:hover,
.acme-btn--primary:hover,
.btn-primary:hover,
body .acme-btn-demo:hover {
    background-color: var(--acme-blue-light) !important;
    background-image: none !important;
    border-color: var(--acme-blue-light) !important;
}

/* 3. Global Backgrounds & Resets */
*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    /* overflow-x: hidden; REMOVED to fix sticky */
    width: 100%;
}

body {
    color: var(--acme-navy-deep);
    /* overflow-x: hidden; REMOVED to fix sticky */
    /* Crucial for Android Horizontal Scroll Fix */
    width: 100%;
    position: relative;
    padding-left: var(--safe-area-left);
    padding-right: var(--safe-area-right);
}

/* Visibility Utilities */
.acme-hide-desktop {
    display: none;
}

.acme-hide-mobile {
    display: block;
}



/* =========================================
   STICKY COURSE BARS & HEADER LOGIC
   ========================================= */

/* 1. Main Header Transition */
#site-header {
    transition: transform 0.3s ease-in-out;
    top: 0;
    width: 100%;
    z-index: 1000;
}

#site-header.site-header-hidden {
    transform: translateY(-100%);
}

/* 2. Desktop Sticky Header */
.acme-sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #000c29;
    /* Deep Blue Theme */
    color: #fff;
    z-index: 9999 !important;
    /* Force On Top */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    display: none;
    /* Hidden on mobile by default */
    padding-top: var(--safe-area-top);
    /* Notch Support */
    padding-left: var(--safe-area-left);
    padding-right: var(--safe-area-right);
}

/* Ensure sticky header doesn't overlap modal */
body.modal-open .acme-sticky-header {
    z-index: 100 !important;
    /* Lower than modal */
}

@media screen and (min-width: 992px) {
    .acme-sticky-header {
        display: block;
        /* Enabled in DOM, controlled by visibility class */
    }

    .acme-sticky-header.is-visible {
        transform: translateY(0);
    }
}

.acme-sticky-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto !important;
    /* Allow content to dictate height */
    padding: 8px 20px !important;
    /* Standard container padding */
    min-height: 72px;
    /* Ensure substantial presence */
    max-width: 1292px !important;
    /* User Constraint */
    width: 100% !important;
    /* Force full width up to max */
    margin: 0 auto !important;
    /* Center the container */
}


.acme-sticky-header__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* Strict Left Alignment */
    text-align: left;
    /* Strict Text Left */
    flex: 1;
    /* Take available space */
}

.acme-sticky-header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    /* Tighter lockup */
}

/* Sticky Header Specific Styles */
.acme-sticky-title {
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 400px;
    /* Prevent collision */
    font-size: 16px;
    letter-spacing: -0.01em;
}

.acme-sticky-header__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d1d7dc;
    margin-top: 4px;
}

.acme-sticky-header .acme-text-warning {
    color: var(--acme-accent-gold) !important;
}

.acme-sticky-link {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
    border-bottom: none !important;
}

.acme-sticky-link:hover {
    color: #fff !important;
    border-bottom: none !important;
}

.acme-btn--sticky-cta {
    background-color: #ffffff !important;
    color: var(--acme-blue-primary) !important;
    border: none !important;
    font-weight: 700;
    padding: 10px 24px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Subtle depth */
    transform: translateY(0);
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.acme-btn--sticky-cta:hover {
    background-color: #f8f9fa !important;
    color: var(--acme-blue-dark) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    /* Lift effect */
    transform: translateY(-2px);
    /* Interactive feel */
}

/* Sticky Header Specific Styles */
.acme-sticky-link {
    color: #d1d7dc !important;
    text-decoration: underline;
}

.acme-sticky-link:hover {
    color: #fff !important;
}

.acme-sticky-price-group {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.acme-sticky-price-group .acme-price {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.acme-sticky-price-group .acme-price-original {
    font-size: 12px;
    color: #d1d7dc;
    text-decoration: line-through;
}

.acme-btn--sticky-cta {
    background-color: #ffffff !important;
    color: var(--acme-blue-primary) !important;
    border-color: #ffffff !important;
    font-weight: 700;
}

.acme-btn--sticky-cta:hover {
    background-color: #f0f4f8 !important;
    color: var(--acme-blue-dark) !important;
}

/* 3. Mobile Sticky Footer */
.acme-sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #000c29;
    border-top: 1px solid #000c29;
    z-index: 1002;
    /* High z-index */
    padding: 0;
    padding-bottom: var(--safe-area-bottom);
    /* Home Indicator Support */
    padding-left: var(--safe-area-left);
    padding-right: var(--safe-area-right);
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    display: none;
    /* Hidden on desktop by default */
}

@media screen and (max-width: 1024px) {

    /* Smart Sticky Logic - Hides when intersecting with footer */
    /* Increased specificity to override .is-visible */
    body .acme-sticky-footer.acme-footer-intersecting {
        transform: translateY(100%) !important;
        opacity: 0 !important;
        pointer-events: none !important;
        visibility: hidden !important;
    }

    /* Ensure smooth transitions are forced */
    .acme-sticky-footer {
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    }
}

@media screen and (max-width: 991px) {
    .acme-sticky-footer {
        display: block;
        /* Enabled in DOM */
    }

    .acme-sticky-footer.is-visible {
        transform: translateY(0);
    }

    /* Add padding to body so content isn't covered - STATIC to prevent CLS */
    body.single-acme_course {
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    }

    /* Ensure footer legal links aren't covered by sticky bar */
    body.has-sticky-footer .site-footer {
        padding-bottom: 96px;
    }

    .acme-legal-inner {
        text-align: center;
        justify-content: center;
    }

    .acme-legal-links {
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    .acme-copyright {
        text-align: center;
        width: 100%;
    }
}

.acme-sticky-footer__inner {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    padding: 0 !important;
    align-items: center !important;
}

.acme-sticky-footer .acme-btn {
    margin: 0 !important;
}

/* Mobile Sidebar Section Spacing */
.acme-mobile-section {
    margin-top: 32px !important;
    margin-bottom: 32px !important;
}

.acme-mobile-price-card {
    border: 1px solid #d1d7dc !important;
}

.acme-sticky-footer-btn {
    width: 100%;
    margin: 0;
}

.acme-sticky-footer-text {
    font-size: 14px;
    color: #fff;
    text-align: center;
    font-weight: 500;
}

.acme-sticky-footer__price-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.acme-sticky-footer__prices {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.acme-sticky-footer__price-label {
    font-size: 10px;
    color: #d1d7dc;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.acme-sticky-footer .acme-price {
    color: #fff !important;
}

.acme-sticky-footer .acme-price-original {
    color: #a0a0a0 !important;
}

.acme-sticky-footer__price-group .acme-price {
    font-size: 16px !important;
    font-weight: 800;
    color: var(--acme-navy-deep);
    line-height: 1.1;
}

/* =========================================
   LAYOUT FIXES
   ========================================= */
/* Desktop Layout */
@media screen and (min-width: 1025px) {
    .acme-grid-layout {
        display: flex;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 40px;
        /* Explicit Gap */
        align-items: stretch !important;
        justify-content: space-between;
        width: 100%;
        max-width: 100%;
    }

    .acme-main-column {
        flex: 1;
        /* Take all remaining space */
        min-width: 0;
        /* Prevent flex blowout */
        width: auto !important;
        max-width: none !important;
        /* Let flex handle it */
    }

    .acme-sidebar-wrapper {
        flex: 0 0 360px !important;
        /* Rigid 360px */
        width: 360px !important;
        max-width: 360px !important;
        display: block !important;
        height: auto !important;
        position: relative;
        /* Context for sticky children */
    }
}

/* Fix sticky behavior blocked by overflow on parents */
/* Fix sticky behavior blocked by overflow on parents - BUT be careful with modal overlays */
.acme-lms-wrapper,
.acme-course-single {
    overflow: visible !important;
}

/* =========================================
   MODAL REFINEMENTS (User Request)
   ========================================= */

/* High Z-Index & Backdrop Blur */
#acme-reviews-modal {
    z-index: 100000 !important;
    /* Highest priority */
    background: rgba(0, 12, 41, 0.6) !important;
    /* Slightly more transparent for blur */
    backdrop-filter: blur(4px);
    /* Blur effect */
    -webkit-backdrop-filter: blur(4px);
}

.acme-modal-content {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    border: none;
}

/* Modal Body Layout - Flex Desktop, Stack Mobile */
.acme-modal-body {
    display: flex;
    flex-direction: column;
    /* Mobile First: Stack */
    width: 100%;
    height: 100%;
    overflow-y: auto;
    /* Scrollable body */
}

.acme-modal-sidebar {
    width: 100%;
    /* Mobile: Full Width */
    padding: 16px 24px;
    border-bottom: 1px solid #d1d7dc;
    /* Separator on mobile */
    border-right: none;
}

.acme-modal-list {
    width: 100%;
    /* Mobile: Full Width */
    padding: 16px 24px;
    flex: 1;
}

/* Desktop Modal Layout (min-width: 768px - Tablet Landscape/Desktop) */
@media screen and (min-width: 768px) {
    .acme-modal-body {
        flex-direction: row;
        /* Side by side */
        gap: 40px;
    }

    .acme-modal-sidebar {
        width: 30% !important;
        /* Fixed width */
        padding: 24px;
        padding-right: 0;
        border-bottom: none;
    }

    .acme-modal-list {
        flex: 1;
        padding: 24px;
    }
}

/* Modal Header Polish */
.acme-modal-header {
    padding: 16px 24px !important;
}

.acme-modal-header .acme-text-warning svg {
    width: 20px;
    height: 20px;
    color: var(--acme-accent-gold);
}

/* Search Box Polish - Exact Match */
.acme-search-box input {
    border: 1px solid var(--acme-blue-dark) !important;
    /* Lighter border per screenshot */
    border-radius: 4px !important;
    /* Rounded corners */
    height: 40px;
    /* Reduced height to match compact look */
    font-size: 14px;
    color: var(--acme-navy-deep);
    padding-left: 12px;
}

.acme-search-box input::placeholder {
    color: var(--acme-blue-dark);
}

.acme-search-box input:focus {
    border-color: var(--acme-navy-deep) !important;
    /* Darker on focus */
}

.acme-search-box button {
    background-color: transparent !important;
    width: 40px !important;
    height: 40px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.acme-search-box button svg {
    width: 16px;
    /* Smaller icon */
    height: 16px;
    stroke: var(--acme-navy-deep) !important;
    stroke-width: 2px;
}

.acme-search-box button:hover {
    background-color: #e5e5e5 !important;
    /* Subtle hover circle if desired, or transparent */
    border-radius: 50%;
}

/* Review Card Polish */
.acme-review-card-full .acme-review-avatar {
    background-color: var(--acme-navy-deep) !important;
    font-size: 16px !important;
}

.acme-review-author {
    font-size: 16px !important;
    color: var(--acme-navy-deep);
}

.acme-review-time {
    font-size: 14px !important;
    color: var(--acme-blue-dark) !important;
}

/* Defensive CSS: Hide "Three Dots" & "Helpful" if they somehow appear via plugins */
.three-dots-menu,
.review-actions-menu,
.review-helpful-voting,
.helpful-section,
.acme-review-card-full .dropdown-toggle,
.acme-review-card-full .fa-ellipsis-v,
button[aria-label="More options"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* Hide Mobile Title Section by default on Desktop */
.acme-mobile-title-section {
    display: none;
}

/* =========================================
   LAYOUT FIXES (MOBILE & TABLET)
   ========================================= */

/* Tablets & Mobile (max-width: 1024px) */
@media screen and (max-width: 1024px) {

    /* =========================================
       1. HERO REFACTOR (Breadcrumbs Only)
       ========================================= */
    body.single-acme_course .acme-course-hero {
        background: #000c29 !important;
        /* Dark background for contrast */
        padding-top: 80px !important;
        /* Push content down below fixed header */
        padding-bottom: 20px !important;
        min-height: auto !important;
    }

    /* Hide everything in hero EXCEPT breadcrumbs */
    .acme-course-hero__content>*:not(.acme-breadcrumbs) {
        display: none !important;
    }

    /* Style Breadcrumbs for Dark Background */
    body.single-acme_course .acme-breadcrumbs {
        color: rgba(255, 255, 255, 0.7) !important;
        font-size: 13px !important;
        margin-bottom: 0 !important;
        display: flex !important;
        /* Force flex */
        align-items: center !important;
        /* Center vertically */
        justify-content: flex-start !important;
        /* Align left */
        flex-wrap: wrap !important;
        gap: 0 !important;
        /* Gap handled by child margins */
        opacity: 1 !important;
        visibility: visible !important;
        filter: none !important;
        background: transparent !important;
        padding: 0 !important;
        text-align: left !important;
        position: relative !important;
        z-index: 5 !important;
    }

    /* Target BOTH links and the current page span */
    body.single-acme_course .acme-breadcrumbs a,
    body.single-acme_course .acme-breadcrumbs .acme-current {
        color: #ffffff !important;
        text-decoration: none !important;
        font-weight: 500 !important;
        opacity: 1 !important;
        visibility: visible !important;
        -webkit-text-fill-color: #ffffff !important;
        filter: none !important;
        line-height: normal !important;
        /* Let content dictate height */
        display: flex !important;
        align-items: center !important;
        height: auto !important;
        vertical-align: middle !important;
    }

    body.single-acme_course .acme-breadcrumbs a:hover {
        color: var(--acme-blue-light) !important;
        -webkit-text-fill-color: var(--acme-blue-light) !important;
        text-decoration: underline !important;
    }

    body.single-acme_course .acme-breadcrumbs .acme-breadcrumb-separator {
        color: rgba(255, 255, 255, 0.5) !important;
        margin: 1px 4px 0 !important;
        /* Visual nudge: 1px top margin */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        opacity: 1 !important;
        visibility: visible !important;
        filter: none !important;
        height: 14px !important;
        /* Match SVG height */
        line-height: 0 !important;
        vertical-align: middle !important;
    }

    .acme-breadcrumbs .acme-breadcrumb-separator svg,
    .acme-breadcrumbs .acme-icon-chevron {
        width: 14px !important;
        height: 14px !important;
        fill: #3f91c6 !important;
        /* Matches breadcrumb link color for visibility on white bg */
        stroke: none !important;
        /* Remove stroke */
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* =========================================
       2. GRID LAYOUT & REORDERING
       ========================================= */
    body .acme-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
    }

    body .acme-grid-layout {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
    }

    /* Utility Visibility */
    .acme-hide-desktop {
        display: block !important;
    }

    .acme-hide-mobile {
        display: none !important;
    }

    /* Video Preview (Sidebar) - Order -1 (Top, below breadcrumbs) */
    body .acme-sidebar-wrapper {
        display: block !important;
        order: -1 !important;
        width: calc(100% + 32px) !important;
        /* Full Bleed */
        margin-left: -16px !important;
        margin-right: -16px !important;
        margin-bottom: 16px !important;
        height: auto !important;
    }

    .acme-sidebar-media {
        width: 100% !important;
        margin-bottom: 0 !important;
    }

    .acme-sidebar-media img {
        width: 100% !important;
        border-radius: 0 !important;
        display: block;
    }

    /* Hide Price in sidebar (used in footer/mobile title) */
    .acme-sidebar-sticky-content {
        display: none !important;
    }

    /* Main Content - Order 2 */
    body .acme-main-column {
        order: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    /* =========================================
       3. MOBILE TITLE SECTION (New)
       ========================================= */
    .acme-mobile-title-section {
        display: block !important;
        /* Visible on mobile */
        margin-bottom: 24px;
        color: var(--acme-navy-deep);
    }

    .acme-mobile-title-section h1 {
        font-size: 24px !important;
        line-height: 1.25 !important;
        margin-bottom: 8px !important;
        color: var(--acme-navy-deep) !important;
    }

    .acme-mobile-title-section p {
        font-size: 16px !important;
        line-height: 1.4 !important;
        color: var(--acme-navy-deep) !important;
    }

    .acme-text-purple {
        color: var(--acme-blue-primary) !important;
        text-decoration: underline;
    }

    .acme-text-gray {
        color: var(--acme-navy-deep) !important;
    }

    /* Metadata Rows */
    .acme-mobile-title-section .acme-meta-row {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
        margin-top: 8px;
        font-size: 13px;
    }

    .acme-mobile-title-section .acme-price {
        font-size: 24px !important;
        color: var(--acme-navy-deep) !important;
    }

    /* Hide standard meta that might bleed */
    .acme-course-hero__meta {
        margin-top: 8px;
    }

    /* Stack metadata items vertically in mobile title section */
    .acme-mobile-title-section .acme-course-hero__meta {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        align-items: flex-start !important;
    }

    /* Ensure direct children like spans behave correctly in flex container */
    .acme-mobile-title-section .acme-course-hero__meta>span,
    .acme-mobile-title-section .acme-course-hero__meta>div {
        margin: 0 !important;
        /* Reset margins */
        display: flex;
        align-items: center;
        color: var(--acme-blue-primary) !important;
        /* Force Purple for all items */
        font-weight: 700 !important;
        /* consistently bold */
        opacity: 1 !important;
    }

    /* Remove background from rating badge in mobile view specifically */
    .acme-mobile-title-section .acme-badge--rating {
        background: transparent !important;
        padding: 0 !important;
        color: var(--acme-blue-primary) !important;
    }

    /* Force specific children colors to match screenshot style */
    .acme-mobile-title-section .acme-text-purple {
        color: var(--acme-blue-primary) !important;
        opacity: 1 !important;
    }

    /* Generic metadata text (Students, Instructor label, Language) - set to Dark/Black */
    .acme-mobile-title-section .acme-meta-item,
    .acme-mobile-title-section .acme-meta-item svg {
        color: var(--acme-navy-deep) !important;
        fill: none !important;
        /* SVG should not be filled */
        stroke: var(--acme-navy-deep) !important;
        /* SVG should be stroked */
        opacity: 1 !important;
    }

    /* Rating Number: Dark Gold/Brown */
    .acme-mobile-title-section .acme-badge--rating .acme-font-bold.acme-text-warning {
        color: #b4690e !important;
        font-weight: 800 !important;
    }

    /* Review Count: Purple + Underline */
    .acme-mobile-title-section .acme-badge--rating .acme-text-light {
        color: var(--acme-blue-primary) !important;
        text-decoration: underline !important;
        opacity: 1 !important;
        font-weight: 400 !important;
        /* Regular weight for count */
    }

    /* Keep the star yellow */
    .acme-mobile-title-section .acme-text-warning svg,
    .acme-mobile-title-section .acme-badge--rating svg {
        color: var(--acme-accent-gold) !important;
        fill: var(--acme-accent-gold) !important;
    }

    /* MODERN METADATA REFACTOR (Pills & Grid) */
    .acme-mobile-attributes-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 8px;
        width: 100%;
    }

    .acme-mobile-attribute-pill {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background-color: #f3f0ff;
        /* Brand Soft Purple */
        border: 1px solid transparent;
        /* No border, just color */
        padding: 8px 12px;
        border-radius: 8px;
        /* Soft square/modern app style */
        font-size: 13px;
        color: var(--acme-blue-primary);
        /* Brand Purple */
        font-weight: 700;
        white-space: nowrap;
        transition: background-color 0.2s;
    }

    .acme-mobile-attribute-pill:active {
        background-color: #e5d9fa;
    }

    .acme-mobile-attribute-pill .acme-pill-icon {
        display: flex;
        align-items: center;
        color: var(--acme-blue-primary);
        /* Match text */
    }

    .acme-mobile-attribute-pill .acme-pill-icon svg {
        width: 16px;
        height: 16px;
        stroke-width: 2px;
        stroke: currentColor;
        fill: none;
    }

    /* Instructor Row */
    .acme-mobile-instructor-row {
        margin-top: 16px;
        margin-bottom: 16px;
        padding: 8px 0;
        border-top: 1px solid #f0f0f0;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
        display: flex;
        align-items: center;
        gap: 12px;
    }

}

/* End Mobile Overrides (1024px) */

/* =========================================
       What You'll Learn Section
       ========================================= */
.acme-what-you-learn {
    border: 1px solid #d1d7dc;
    padding: 24px;
    margin-bottom: 32px;
    background-color: #fff !important;
}

.acme-what-you-learn__title {
    font-size: 24px !important;
    font-weight: 700 !important;
    margin-bottom: 24px;
    color: var(--acme-navy-deep);
}

.acme-learn-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.acme-learn-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--acme-navy-deep);
    font-size: 14px;
    line-height: 1.4;
}

.acme-icon-tick {
    min-width: 16px;
}

.acme-icon-tick svg {
    width: 14px;
    height: 14px;
    fill: var(--acme-navy-deep);
}

/* Mobile & Tablet Responsive for Course Content */
@media (max-width: 1024px) {
    .acme-course-content-controls {
        justify-content: space-between;
        /* Count left, Button right */
        margin-top: -8px;
        margin-bottom: 12px;
    }

    #acme-expand-all.acme-expand-all-btn {
        margin: 0 !important;
        text-align: right;
        /* Right align text */
    }
}

/* =========================================
   Course Content (Accordion) Styling
   ========================================= */

/* Remove outer border from the main section wrapper */
.acme-section--curriculum {
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Remove border below the "Course Content" title */
.acme-section--curriculum .acme-section__title {
    border-bottom: 0 !important;
    margin-bottom: 12px !important;
    padding-bottom: 0 !important;
}

/* =========================================
   Unified Section Styling (Requirements, Description, Tools)
   Match "What you'll learn" - Boxed Style
   ========================================= */
/* Remove border from titles in these sections */
.acme-section--requirements .acme-section__title,
.acme-section--description .acme-section__title,
.acme-section--target-audience .acme-section__title,
.acme-section--tools .acme-section__title,
.acme-section--career-outcomes .acme-section__title,
.acme-section--related-courses .acme-section__title,
.acme-section--instructor .acme-section__title,
.acme-section--reviews .acme-section__title,
.acme-section--faq .acme-section__title {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 24px !important;
}

/* =========================================
   Unified Section Styling (Requirements, Description, Tools, Target Audience)
   Match "What you'll learn" - Boxed Style
   ========================================= */
.acme-section--requirements,
.acme-section--description,
.acme-section--tools,
.acme-section--target-audience,
.acme-section--instructor,
.acme-section--reviews,
.acme-mobile-section,
.acme-mobile-price-card {
    border: 1px solid #d1d7dc;
    padding: 24px;
    margin-bottom: 32px;
    background-color: #fff !important;
    border-radius: 0 !important;
}

/* Description Show More - Udemy Style */
.acme-description-content {
    max-height: 220px;
    overflow: hidden;
    position: relative;
    /* Create transition for smooth expand if desired, though Udemy is usually instant or quick */
    transition: max-height 0.3s ease;
}

/* Gradient Overlay */
.acme-description-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    /* Fade height */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Expanded State */
.acme-description-content.is-expanded {
    max-height: none;
    /* Allow full height */
    overflow: visible;
}

.acme-description-content.is-expanded::after {
    opacity: 0;
    pointer-events: none;
}

/* Button Wrapper */
.acme-show-more-wrapper {
    margin-top: 16px;
}

/* Description Toggle - Customized per User Request */
/* Description Toggle & Instructor Toggle - Customized per User Request */
#acme-description-toggle.acme-expand-all-btn,
.acme-instructor-show-more-btn,
#acme-show-reviews-modal-btn,
#acme-show-faq-modal-btn {
    font-size: 14px !important;
    font-weight: 700 !important;
    /* Force bold per typical buttons */
    padding: 6px 12px !important;
    margin-left: 0;
    justify-content: flex-start;
    display: inline-flex;
    align-items: center;
    background-color: #f0ebf8 !important;
    color: var(--acme-blue-primary) !important;
    height: auto !important;
    min-height: 32px;
    border-radius: 4px !important;
    transition: background-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
    border: none !important;
    cursor: pointer;
}

#acme-description-toggle .acme-icon-chevron-down,
.acme-instructor-show-more-btn .acme-icon-chevron-down {
    margin-left: 8px;
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

/* Rotate chevron when expanded */
#acme-description-toggle.is-expanded .acme-icon-chevron-down {
    transform: rotate(180deg);
}

/* Button hover state override */
/* Button hover state override */
#acme-description-toggle.acme-expand-all-btn:hover,
.acme-instructor-show-more-btn:hover,
#acme-show-reviews-modal-btn:hover,
#acme-show-faq-modal-btn:hover {
    color: var(--acme-blue-primary) !important;
    background-color: #e3dcf2 !important;
    text-decoration: none;
}

#acme-description-toggle.acme-expand-all-btn:active,
.acme-instructor-show-more-btn:active,
#acme-show-reviews-modal-btn:active,
#acme-show-faq-modal-btn:active {
    background-color: #d1c1eb !important;
}

/* Count Style */
.acme-section-count {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--acme-navy-deep) !important;
}

.acme-course-content-controls {
    display: flex;
    justify-content: space-between;
    /* Left: Count, Right: Button */
    align-items: center;
    margin-bottom: 8px;
    width: 100%;
}

/* Use ID + Class for maximum specificity to override theme buttons */
#acme-expand-all.acme-expand-all-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    outline: none !important;
    color: var(--acme-blue-primary) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    font-family: inherit;
    cursor: pointer;
    padding: 0 8px !important;
    margin: 0 -8px !important;
    height: auto;
    min-height: 34px;
    line-height: normal;
    transition: all 0.2s;
    border-radius: 4px;
    width: auto !important;
    /* Prevent button from expanding */
}

#acme-expand-all.acme-expand-all-btn:hover {
    color: #3e1a96 !important;
    background-color: #eef2f4 !important;
}

#acme-expand-all.acme-expand-all-btn:focus {
    outline: none !important;
}



.acme-expand-all-btn:hover {
    color: #3e1a96 !important;
}

.acme-expand-all-btn:focus {
    outline: none;
}

/* FAQ Specific Header & Search */
.acme-faq-archive .acme-archive-content {
    padding: 24px 0;
    background-color: transparent;
}

/* Specific FAQ Section Overrides - Remove container card style */
.acme-section--faq {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Ensure Vertical Stacking */
.acme-faq-archive .acme-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.acme-faq-search-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

/* Accordion Item - Prefixed for FAQ to prevent global conflict */
/* Conflicting legacy rules removed */


/* FAQ Accordion Layout - Specific Layout Overrides Only */
.acme-faq-accordion {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.acme-faq-accordion .acme-accordion__trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: rgba(17, 125, 188, 0.05);
    /* Light Theme Purple for ALL items */
    border: none;
    cursor: pointer;
    text-align: left;
    color: #1e293b;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
}

.acme-faq-accordion .acme-accordion__trigger:hover {
    background-color: #ede9fe;
    /* Slightly darker on hover */
}

.acme-faq-accordion .acme-accordion__trigger:focus-visible {
    outline: 2px solid var(--acme-blue-primary);
    outline-offset: -2px;
    background-color: #f9fafb;
}

/* Header Active State - Keep consistent or darken? */
.acme-faq-accordion .acme-accordion__trigger[aria-expanded="true"] {
    background-color: rgba(17, 125, 188, 0.05);
    /* Keep same as closed, or #ede9fe */
    color: var(--acme-blue-primary);
    border: none !important;
    /* Ensure no border appears */
    border-radius: 8px;
    /* Rounded all around since no content border */
}

.acme-faq-accordion .acme-accordion__title-text {
    font-size: 17px;
    font-weight: 600;
    color: #111827;
    flex: 1;
    padding-right: 24px;
    line-height: normal;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.acme-faq-accordion .acme-accordion__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f3f4f6;
    color: #6b7280;
    transition: all 0.3s ease;
}

.acme-faq-accordion .acme-accordion__icon svg {
    width: 12px;
    height: 12px;
}

.acme-faq-accordion .acme-accordion__item:hover .acme-accordion__icon {
    background-color: #e5e7eb;
    color: #374151;
}

.acme-faq-accordion .acme-accordion__item.is-open .acme-accordion__icon {
    background-color: var(--acme-blue-primary);
    color: #fff;
    transform: rotate(0deg);
    /* Plus becomes X, or 180 depending on icon */
}

/* Smooth Accordion Animation */
.acme-faq-accordion .acme-accordion__body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    padding: 0 !important;
    /* Fixed: Remove padding causing white gap when closed */
}

.acme-faq-accordion .acme-accordion__item.is-open .acme-accordion__body {
    grid-template-rows: 1fr;
    border-top: 1px solid #f3f4f6 !important;
}

.acme-faq-accordion .acme-accordion__content {
    overflow: hidden;
}

.acme-faq-accordion .acme-accordion__content>* {
    padding: 24px;
    /* Uniform padding for content */
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
    font-size: 15px;
}

/* Pagination Centering */
.acme-faq-pagination {
    width: 100%;
    max-width: 720px;
    margin: 8px auto 0;
    display: flex;
    justify-content: center;
}

.acme-faq-pagination .pagination,
.acme-faq-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.acme-faq-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #4b5563;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #e5e7eb;
}

.acme-faq-pagination .page-numbers.current,
.acme-faq-pagination .page-numbers:hover {
    background-color: var(--acme-blue-primary);
    color: #fff;
    border-color: var(--acme-blue-primary);
}

/* Sticky Footer Polish */
body.has-sticky-footer {
    padding-bottom: 100px !important;
}

.acme-sticky-footer__inner {
    padding: 12px 16px !important;
}

/* Enquire/Buy Button - Compact Mobile Size */
.header-cta .btn,
.acme-sticky-footer .btn {
    padding: 10px 16px !important;
    font-weight: 700 !important;
}

/* Outline Button Styles */
.acme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 700;
    line-height: normal;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
    text-decoration: none !important;
}

.acme-btn--outline {
    background-color: transparent !important;
    border: 1px solid var(--acme-blue-primary) !important;
    color: var(--acme-blue-primary) !important;
}

.acme-btn--outline:hover {
    background-color: #f0ebf8 !important;
}

.acme-btn--block {
    display: flex !important;
    width: 100% !important;
}

.acme-text-sm {
    font-size: 14px !important;
}

/* =========================================
   MODERN & ELEGANT FORMS (Redesign 2026)
   ========================================= */

/* Glassmorphism Overlay */
.acme-modal-elegant-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100001;
    background: rgba(15, 17, 20, 0.7) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 10px;
    /* Prevent edge touching */
}

/* Base Modal Styles (Enhanced with Fluid Design) */
.acme-modal-elegant-content {
    background: #ffffff !important;
    width: min(92%, 520px) !important;
    /* Fluid width */
    max-height: 95vh;
    /* Never exceed viewport height */
    padding: clamp(20px, 4vh, 40px) !important;
    /* Fluid padding */
    margin: auto;
    border-radius: 20px !important;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    /* Scroll only if absolutely necessary within the card */
    scrollbar-width: thin;
    /* Modern scrollbar */
}

/* Close Button Modern */
.acme-modal-elegant-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f3f4f6 !important;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #4b5563;
    transition: all 0.2s ease;
}

.acme-modal-elegant-close:hover {
    background: #e5e7eb !important;
    color: #111827;
    transform: rotate(90deg);
}

/* Elegant Typography with Fluid Scaling */
.acme-form-elegant-title {
    font-size: clamp(20px, 4vw, 26px) !important;
    font-weight: 800 !important;
    color: #111827;
    margin-bottom: clamp(4px, 1vh, 8px) !important;
    letter-spacing: -0.025em;
}

.acme-form-elegant-subtitle {
    font-size: clamp(13px, 3vw, 15px) !important;
    color: #6b7280;
    margin-bottom: clamp(16px, 3vh, 32px) !important;
    line-height: 1.4;
}

.acme-form-elegant-label {
    display: block;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #374151;
    margin-bottom: 6px !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Premium Inputs */
.acme-form-elegant-input {
    width: 100% !important;
    padding: 12px 16px !important;
    background-color: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    color: #111827 !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    box-shadow: none !important;
}

.acme-form-elegant-input:focus {
    background-color: #ffffff !important;
    border-color: var(--acme-blue-primary) !important;
    box-shadow: 0 0 0 4px rgba(164, 53, 240, 0.1) !important;
}

.acme-form-elegant-input[readonly] {
    background-color: #f3f4f6 !important;
    cursor: not-allowed;
}

/* Elegant Submit Button */
.acme-btn-elegant-submit {
    width: 100% !important;
    background: var(--acme-blue-primary) !important;
    /* Brand Purple */
    color: white !important;
    padding: 14px 24px !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    box-shadow: 0 4px 6px -1px rgba(164, 53, 240, 0.2), 0 2px 4px -1px rgba(164, 53, 240, 0.1) !important;
}

.acme-btn-elegant-submit:hover {
    background: var(--acme-navy-deep) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(164, 53, 240, 0.3), 0 4px 6px -2px rgba(164, 53, 240, 0.1) !important;
}

.acme-btn-elegant-submit:active {
    transform: translateY(0);
}

.acme-btn-elegant-submit:disabled {
    background: #d1d5db !important;
    cursor: not-allowed;
    transform: none;
}

/* Micro-spacing Utilities */
.acme-form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Compact Mode for Short Screens (Landscape / Small Mobile) */
/* Landscape / Short Screens */
@media (max-height: 750px) {
    .acme-modal-elegant-content {
        padding: 12px 16px !important;
        max-height: 98vh;
    }

    .acme-form-elegant-subtitle {
        display: none !important;
    }

    .acme-form-elegant-label {
        font-size: 10px !important;
        margin-bottom: 1px !important;
        opacity: 0.8;
    }

    .acme-form-elegant-input {
        padding: 6px 8px !important;
        height: 38px !important;
        font-size: 16px !important;
        /* Keep 16px for iOS */
        margin-bottom: 0 !important;
    }

    /* Force compact margins on form groups */
    #acme-course-demo-form>div {
        margin-bottom: 6px !important;
    }

    /* Force 2-column grid even on mobile to save vertical space */
    .acme-form-grid-2 {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    .acme-btn-elegant-submit {
        margin-top: 4px !important;
        padding: 8px 16px !important;
    }
}

@media (max-width: 640px) {

    /* Inherit aggressive compaction for narrow screens too */
    .acme-form-grid-2 {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    .acme-modal-elegant-content {
        padding: 16px !important;
        width: 96% !important;
    }

    /* Ensure Course Name (Readonly) takes full width if needed? 
       No, let's keep it 50% to save that vertical row. 
       Text ellipsis will handle long names. */

    #acme-course-demo-form>div {
        margin-bottom: 8px !important;
    }

    /* Force compact inputs on mobile */
    .acme-form-elegant-input {
        padding: 6px 8px !important;
        height: 38px !important;
        font-size: 16px !important;
    }

    .acme-form-elegant-label {
        font-size: 10px !important;
        margin-bottom: 1px !important;
    }
}


/* Hide Mobile Title Section on Desktop */
@media screen and (min-width: 1025px) {
    .acme-mobile-title-section {
        display: none !important;
    }
}

/* =========================================
   SIDEBAR FIX - Sticky Behavior
   ========================================= */
.acme-sidebar-wrapper {
    /* Ensure the parent wrapper allows sticky behavior */
    display: block;
    height: 100%;
}

/* Apply sticky to the card itself */
.acme-course-card {
    /* Default static for mobile */
    position: relative;
    z-index: 900;
}

@media screen and (min-width: 1025px) {
    .acme-course-card {
        position: relative;
        z-index: 900;
    }

    /* Only the content part (Price/Buttons) should stick */
    .acme-sidebar-sticky-content {
        position: -webkit-sticky;
        position: sticky;
        top: 100px !important;
        /* Force Clear Sticky Header */
        align-self: start;
        z-index: 800;
        /* Below Sticky Header (9999) */
    }

    /* Move sidebar up to overlap hero and align with breadcrumbs */
    .acme-sidebar-wrapper {
        margin-top: -260px !important;
        position: relative;
        z-index: 20;
        /* Ensure on top of hero content */
    }
}

/* =========================================
   MENU CUSTOMIZATIONS
   ========================================= */

/* Main Menu Font Size - Udemy Style */
.acme-main-menu .menu>li>a {
    font-size: 14px;
    font-weight: 400;
    /* Regular weight */
}

/* =========================================
   HEADER REFINEMENTS (PIXEL PERFECT)
   ========================================= */

/* "Enquire Now" Button - Compact & Professional */
.header-cta .btn,
.acme-mobile-cta .btn {
    font-size: 14px !important;
    font-weight: 700 !important;
    /* Keep it bold for visibility but smaller */
    padding: 10px 16px !important;
    /* Tighter padding */
    line-height: 1.2 !important;
    height: auto !important;
    /* Prevent fixed heights causing misalignment */
}

/* Logo - Balanced Size & Alignment */
.acme-site-branding img,
.custom-logo-link img {
    max-height: 24px !important;
    /* Reduced to align better with 14px text */
    width: auto !important;
    display: block;
    /* Removes bottom spacing verify */
}

/* Header styles moved to assets/css/header.css */

/* =========================================
   LAYOUT OVERRIDE (UDEMY MATCH)
   ========================================= */
.acme-container {
    width: 100%;
    max-width: 1340px !important;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* Top Bar styles moved to assets/css/top-bar.css */

/* =========================================
   CAREER OUTCOMES SECTION
   ========================================= */
.acme-section--career-outcomes {
    border: 1px solid #d1d7dc;
    padding: 24px;
    margin-bottom: 32px;
    background-color: #fff !important;
    border-radius: 0 !important;
}

.acme-outcomes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

/* WhatsApp Button */
.acme-whatsapp-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25D366 !important;
    /* WhatsApp Brand Color */
    color: #ffffff !important;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
    width: 100%;
    margin-bottom: 0 !important;
}

.acme-whatsapp-btn:hover {
    background-color: #20BD5A !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
    color: #ffffff !important;
}

.acme-whatsapp-btn svg {
    fill: currentColor;
    width: 20px;
    height: 20px;
}

/* Social Icons in Sidebar */
.acme-mobile-socials {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center !important;
    gap: 16px !important;
    /* Slightly reduced gap */
    flex-wrap: wrap;
    width: 100%;
}

.acme-mobile-socials .acme-social-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px !important;
    /* Slightly larger touch target */
    height: 44px !important;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1) !important;
    /* Higher contrast bg */
    color: #ffffff !important;
    /* White icon default */
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.acme-mobile-socials .acme-social-link:hover {
    background-color: var(--acme-blue-primary) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.acme-mobile-socials .acme-social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.acme-outcome-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border: 1px solid #d1d7dc;
    border-radius: 4px;
    background-color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.acme-outcome-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--acme-blue-primary);
    /* Changed to brand purple */
    transform: translateY(-4px);
    /* Lift effect */
}

.acme-outcome-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: #ecebfa;
    /* Soft Purple Tint */
    border-radius: 50%;
    color: var(--acme-blue-primary);
    /* Brand Purple */
    flex-shrink: 0;
}

.acme-outcome-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    /* Increased from 2px for vertical rhythm */
}

.acme-outcome-role {
    color: var(--acme-navy-deep);
    margin: 0;
    font-size: 15px !important;
    /* Force smaller size */
    font-weight: 700;
    line-height: 1.3;
}

.acme-outcome-salary {
    color: var(--acme-navy-deep);
    /* Dark text for amount */
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
    /* Fix for mobile/tablet underline */
}

/* Ensure no child elements invoke underlines */
.acme-outcome-salary * {
    text-decoration: none !important;
}

.acme-salary-label {
    color: var(--acme-blue-dark);
    /* Muted gray for label */
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none !important;
}

@media (max-width: 768px) {
    .acme-outcomes-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Related Courses Section (Horizontal Scroll)
   ========================================= */
.acme-section--related-courses {
    border: 1px solid #d1d7dc;
    padding: 24px;
    margin-bottom: 32px;
    background-color: #fff !important;
    border-radius: 0 !important;
}

.acme-related-courses-wrapper {
    position: relative;
    width: 100%;
}

.acme-related-courses-list {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 16px;
    padding-bottom: 16px;
    /* Space for scrollbar if visible, or touch area */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

/* Hide scrollbar for Chrome/Safari/Opera */
.acme-related-courses-list::-webkit-scrollbar {
    display: none;
}

.acme-related-course-card {
    flex: 0 0 auto;
    width: 260px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.acme-related-course-card:hover {
    opacity: 0.9;
}

.acme-related-card-media {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #f7f9fa;
    border: 1px solid #d1d7dc;
    margin-bottom: 8px;
    overflow: hidden;
}

.acme-related-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.acme-related-card-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e4e8eb;
    background-image: linear-gradient(45deg, #f0f6fc 25%, transparent 25%, transparent 75%, #f0f6fc 75%, #f0f6fc), linear-gradient(45deg, #f0f6fc 25%, transparent 25%, transparent 75%, #f0f6fc 75%, #f0f6fc);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

.acme-related-card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.acme-related-course-card .acme-related-card-title {
    font-size: 14px;
    line-height: 1.25;
    margin: 0 0 4px 0;
    color: var(--acme-navy-deep);
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.acme-related-card-desc {
    font-size: 13px;
    color: var(--acme-blue-dark);
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Enable 2 lines */
    white-space: normal;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.acme-related-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
}

.acme-rating-val {
    color: #b4690e;
    /* Dark Gold */
    font-weight: 800;
}

.acme-rating-stars {
    color: var(--acme-accent-gold);
    /* Gold */
    font-size: 12px;
    letter-spacing: -1px;
}

.acme-rating-count {
    color: var(--acme-blue-dark);
}

.acme-related-card-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.acme-current-price {
    font-size: 16px;
    color: var(--acme-navy-deep);
    font-weight: 700;
}

.acme-original-price {
    text-decoration: line-through;
    color: var(--acme-blue-dark);
    font-size: 13px;
    font-weight: 400;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .acme-section--related-courses {
        padding: 16px;
        margin-left: -16px;
        margin-right: -16px;
        width: calc(100% + 32px);
        border-left: 0;
        border-right: 0;
    }

    .acme-related-course-card {
        width: 85vw;
        /* Show peeking next card */
        max-width: 300px;
    }
}

/* Carousel Interaction */
.acme-related-courses-list {
    cursor: grab;
    cursor: -webkit-grab;
    user-select: none;
    -webkit-user-select: none;
}

.acme-related-courses-list:active,
.acme-related-courses-list.active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

/* Hide navigation on mobile (Legacy support if buttons re-added) */
@media (max-width: 768px) {
    .acme-carousel-nav {
        display: none !important;
    }

    /* Reviews Mobile Styles */
    .acme-feedback-grid {
        flex-direction: column !important;
        gap: 24px !important;
    }

    .acme-feedback-summary {
        text-align: center !important;
        /* Keep center for branding consistency or change to left */
    }

    .acme-review-card {
        padding: 16px 0 !important;
    }

    .acme-review-avatar {
        min-width: 40px !important;
        width: 40px !important;
        height: 40px !important;
    }
}

/* =========================================
   Reviews Mobile/Tablet Carousel Style
   Scoped to reviews section only
   ========================================= */
@media (max-width: 1024px) {
    .acme-section--reviews {
        border: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .acme-section--reviews .acme-section__title {
        padding: 0 16px !important;
        margin-bottom: 16px !important;
    }

    .acme-section--reviews .acme-reviews-grid-preview {
        display: grid !important;
        grid-template-columns: none !important;
        grid-auto-flow: column !important;
        grid-auto-columns: calc(100% - 32px) !important;
        gap: 16px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        scroll-snap-stop: always;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-left: -16px !important;
        margin-right: -16px !important;
        padding: 0 16px 16px !important;
        scroll-padding-left: 16px;
        width: calc(100% + 32px) !important;
        align-items: stretch !important;
    }

    .acme-section--reviews .acme-reviews-grid-preview::-webkit-scrollbar {
        display: none;
    }

    .acme-section--reviews .acme-review-card-preview {
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        background: #fff;
        padding: 16px;
        scroll-snap-align: start;
        box-shadow: none;
        height: auto;
    }

    .acme-section--reviews .acme-preview-header {
        align-items: center;
        margin-bottom: 10px;
    }

    .acme-section--reviews .acme-review-avatar {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        font-size: 13px !important;
    }

    .acme-section--reviews .acme-review-meta {
        gap: 6px;
    }

    .acme-section--reviews .acme-review-stars {
        gap: 1px;
    }

    .acme-section--reviews .acme-review-content-inner {
        line-height: 1.5;
    }

    .acme-section--reviews .acme-review-read-more-btn {
        margin-top: 6px;
        font-size: 14px;
        font-weight: 700;
        background: transparent !important;
        background-color: transparent !important;
        border: none;
        box-shadow: none;
        padding: 0;
        appearance: none;
    }
}

/* Tablet: show 2 cards per view in carousel */
@media (min-width: 769px) and (max-width: 1024px) {
    .acme-section--reviews .acme-reviews-grid-preview {
        grid-auto-columns: calc(50% - 12px) !important;
    }
}

/* =========================================
   Review Card Refinements
   ========================================= */

.acme-reviews-grid-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
    align-items: start;
}

.acme-review-content-inner {
    display: block;
    /* Fallback */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.acme-line-clamp-3 {
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

/* Button Styling */
.acme-review-read-more-btn:hover {
    color: var(--acme-blue-primary) !important;
    /* Purple on hover */
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none;
}

.acme-review-read-more-btn:focus {
    outline: none;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none;
}

.acme-review-card-preview {
    border-bottom: 1px solid #d1d7dc;
    padding-bottom: 24px;
}

/* Instructor Bio Line Clamp */
.acme-line-clamp-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* LEGACY FAQ STYLES COMMENTED OUT - NOW USING ACCORDION.CSS
.acme-faq-accordion {
    border: 1px solid #d1d7dc;
    border-radius: 0;
}

.acme-faq-item {
    border-bottom: 1px solid #d1d7dc;
    margin: 0;
    padding: 0;
}

.acme-faq-item:last-child {
    border-bottom: none;
}

.acme-faq-question {
    background-color: #f7f9fa;
    padding: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--acme-navy-deep);
    user-select: none;
}

.acme-faq-question:hover {
    background-color: #eef2f4;
    color: var(--acme-navy-deep);
}

.acme-faq-question h3 {
    font-size: 16px !important;
    line-height: 1.4;
    font-weight: 700;
    margin: 0;
    flex: 1;
    color: inherit;
}

.acme-faq-icon svg {
    display: block;
    color: var(--acme-navy-deep);
    transition: transform 0.3s ease;
}

.acme-faq-answer {
    display: none;
    padding: 16px;
    background-color: #fff;
    border-top: 1px solid #d1d7dc;
    font-size: 15px;
    line-height: 1.6;
    color: var(--acme-navy-deep);
}

.acme-faq-checkbox {
    display: none;
}

.acme-faq-hidden {
    display: none !important;
}

.acme-faq-modal-list-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.acme-faq-modal-item {
    border-bottom: 1px solid #f7f9fa;
    padding-bottom: 24px;
}

.acme-faq-modal-item:last-child {
    border-bottom: none;
}

#acme-faq-search-input:focus {
    border-color: var(--acme-navy-deep) !important;
}
*/

/* =========================================
   SIDEBAR MODERNIZATION (Redesign 2026)
   ========================================= */

/* 1. Main Card Container */
.acme-sidebar-sticky-content {
    background: #fff;
    border: 1px solid #d1d7dc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* Elevated Shadow */
    padding: 16px !important;
    /* Compact Padding */
    margin-bottom: 12px;
    border-radius: 0;
    /* 0px all around */
}

/* 2. Price Section */
.acme-sidebar-price-section {
    margin-bottom: 16px;
}

.acme-price-label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 800;
    /* Extra Bold */
    color: var(--acme-blue-dark);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.acme-price-group {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 0;
}

.acme-price {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: var(--acme-navy-deep);
    letter-spacing: -0.5px;
}

.acme-price-original {
    color: var(--acme-blue-dark);
    text-decoration: line-through;
    font-size: 16px;
}

.acme-badge--discount {
    background-color: transparent !important;
    color: #b32d0f !important;
    /* Discount Red */
    font-weight: 700;
}

.acme-installment-note {
    font-size: 13px;
    color: var(--acme-accent-rust);
    /* Rust Brown for Note */
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.acme-sidebar-price-section .acme-price-group {
    margin-bottom: 4px !important;
}

.acme-sidebar-price-section .acme-installment-note {
    margin-top: 2px !important;
}

/* 3. Actions & Buttons */
.acme-sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* Consistent Gap */
    margin-bottom: 16px;
}

.acme-btn-demo {
    background-color: var(--acme-blue-primary) !important;
    /* Udemy Purple */
    border-color: var(--acme-blue-primary) !important;
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    padding: 12px !important;
    transition: all 0.2s ease-in-out;
}

.acme-btn-demo:hover {
    background-color: var(--acme-blue-dark) !important;
    border-color: var(--acme-blue-dark) !important;
    transform: translateY(-1px);
    /* Subtle Lift */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#acme-request-callback-btn {
    font-weight: 700 !important;
    border: 1px solid var(--acme-blue-primary) !important;
    color: var(--acme-blue-primary) !important;
    padding: 12px !important;
}

#acme-request-callback-btn:hover {
    background-color: rgba(17, 125, 188, 0.08) !important;
    /* Light Blue Hover */
}

.acme-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: var(--acme-blue-dark);
    margin-top: 4px;
}

/* 4. Location Card (Visit our Centre) */
.acme-sidebar-location {
    margin-top: 16px;
    padding: 16px;
    background-color: #f7f9fa;
    /* Light Gray Background */
    border: 1px solid #d1d7dc;
    /* Subtle Border */
    border-radius: 4px;
}

.acme-location-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--acme-navy-deep);
    font-size: 15px;
}

.acme-location-text {
    font-size: 13px;
    color: var(--acme-navy-deep);
    line-height: 1.5;
    margin-bottom: 12px;
}

.acme-location-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--acme-blue-primary) !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* 5. Course Includes */
.acme-course-includes {
    margin-top: 24px;
}

.acme-includes-title {
    font-weight: 700;
    color: var(--acme-navy-deep);
    margin-bottom: 12px;
    font-size: 15px;
}

.acme-icon-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
    color: var(--acme-navy-deep);
    align-items: center;
}

.acme-icon-list li svg {
    min-width: 16px;
    color: var(--acme-navy-deep);
}

/* 6. Batches Highlight (Redesign Card) */
.acme-sidebar-batches {
    margin-top: 16px;
    padding: 16px;
    background-color: #f7f9fa;
    /* Light Gray base */
    border: 1px solid #d1d7dc;
    /* Subtle border */
    border-radius: 4px;
}

.acme-batches-title {
    font-weight: 700;
    color: var(--acme-navy-deep);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 15px;
}

.acme-batches-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.acme-batch-card {
    background-color: #fff;
    border: 1px solid #d1d7dc;
    border-radius: 4px;
    padding: 12px;
    transition: box-shadow 0.2s;
}

.acme-batch-card:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.acme-batch-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 8px;
}

.acme-batch-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--acme-navy-deep);
}

.acme-batch-badge {
    font-size: 10px;
    background-color: rgba(220, 175, 115, 0.2);
    /* Light Gold */
    color: var(--acme-accent-rust);
    /* Rust Brown Text */
    border: 1px solid var(--acme-accent-gold);
    padding: 2px 6px;
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1.2;
}

.acme-batch-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.acme-batch-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--acme-navy-deep);
}

.acme-batch-detail-item strong {
    font-weight: 600;
}

.acme-text-urgent {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    background-color: rgba(17, 125, 188, 0.1);
    color: var(--acme-navy-deep);
    border: 1px solid rgba(17, 125, 188, 0.3);
    padding: 2px 6px;
    border-radius: 999px;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1.2;
    animation: acme-pulse-badge 2s infinite;
}

.acme-batch-badge.urgent {
    background-color: rgba(17, 125, 188, 0.1);
    color: var(--acme-navy-deep);
    border-color: rgba(17, 125, 188, 0.3);
    animation: acme-pulse-badge 2s infinite;
}

@keyframes acme-pulse-badge {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(17, 125, 188, 0.45);
        /* Ocean Blue RGB */
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 4px rgba(17, 125, 188, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(17, 125, 188, 0);
    }
}

.acme-batch-icon.urgent-icon {
    color: var(--acme-blue-dark);
}

.acme-batch-details .acme-batch-detail-item:first-child .acme-batch-icon {
    color: var(--acme-blue-dark);
}

.acme-batch-icon {
    width: 14px;
    height: 14px;
    color: var(--acme-blue-dark);
    flex-shrink: 0;
}



.acme-sidebar-brochure {
    margin-bottom: 24px;
}

/* =========================================
   USER REQUEST: LEFT ALIGN HERO
   ========================================= */
.acme-course-hero,
.acme-archive-header {
    background: linear-gradient(to right, var(--acme-blue-dark), var(--acme-navy-deep)) !important;
    color: #ffffff;
    padding-top: 32px;
    padding-bottom: 32px;
}

.acme-archive-header .acme-archive-subtitle {
    color: #e0e0e0 !important;
}

.acme-archive-header h1,
.acme-archive-header .page-title,
.acme-archive-header .acme-archive-title {
    color: #ffffff !important;
}

.acme-course-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    text-align: left !important;
}

.acme-course-hero__meta {
    align-items: flex-start !important;
    text-align: left !important;
}

.acme-course-hero__headline {
    margin-bottom: 12px !important;
}

/* =========================================
   GLOBAL BREADCRUMB STYLING (DESKTOP)
   Applied to all breadcrumbs in dark hero sections
   ========================================= */
.acme-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 14px;
    margin-bottom: 16px;
}

.acme-breadcrumbs a {
    color: var(--acme-blue-light) !important;
    /* Sky Blue for links */
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.acme-breadcrumbs a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

.acme-breadcrumbs .acme-current {
    color: var(--acme-blue-light) !important;
    /* Sky Blue for current page */
    font-weight: 700;
}

.acme-breadcrumb-separator {
    display: flex;
    align-items: center;
    color: #ffffff;
    margin: 0 2px;
}

.acme-breadcrumb-separator svg,
.acme-icon-chevron {
    width: 16px;
    height: 16px;
    fill: #ffffff !important;
    /* White separators */
    stroke: none;
}

/* =========================================
   FOOTER: CUSTOM THREE-ZONE STRUCTURE
   ========================================= */
.site-footer {
    background-color: #1d2327 !important;
    color: #d1d7dc !important;
    font-family: inherit;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-bottom: 0 !important;
    /* Reset for desktop */
}

@media screen and (max-width: 768px) {
    .site-footer {
        padding-bottom: 60px !important;
        /* Space for mobile sticky bar */
    }
}

body,
body.has-sticky-footer {
    padding-bottom: 0 !important;
}

.acme-footer-trust-bar {
    background-color: var(--acme-navy-deep);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 0;
}


/* Trust Bar styles moved to assets/css/footer.css */

/* Zone B: Main Footer */
.acme-footer-main {
    padding: 40px 0;
}

.acme-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 24px;
}

.acme-footer-brand .acme-footer-logo img {
    max-width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
}

.acme-footer-tagline {
    margin: 16px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #9ea5ab;
}

.acme-footer-socials {
    display: flex;
    gap: 10px;
}

.acme-footer-socials .acme-social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.acme-footer-socials .acme-social-link svg {
    width: 18px !important;
    height: 18px !important;
    fill: #d1d7dc;
    transition: fill 0.3s ease;
}

.acme-footer-socials .acme-social-link:hover {
    background: var(--acme-blue-primary);
    border-color: var(--acme-blue-primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(17, 125, 188, 0.4);
}

.acme-footer-socials .acme-social-link:hover svg {
    fill: #fff;
}

.acme-footer-title {
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 8px;
}

.acme-footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 3px;
    background: #117dbc;
    border-radius: 2px;
}

.acme-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.acme-footer-links li {
    margin-bottom: 6px;
}

.acme-footer-links li a {
    color: #9ea5ab !important;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.acme-footer-links li a:hover {
    color: #fff !important;
    transform: translateX(5px);
}

.acme-footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.acme-footer-contact-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #9ea5ab;
}

.acme-footer-contact-list li svg {
    width: 18px !important;
    height: 18px !important;
    stroke: #ffffff;
    fill: none;
    flex-shrink: 0;
}

.acme-footer-contact-list li a {
    color: #9ea5ab !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.acme-footer-contact-list li a:hover {
    color: #fff !important;
}

/* Zone C: Legal Bar */
.acme-footer-legal {
    padding: 20px 0 0;
    background: #151a1d;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 0;
}

.acme-footer-legal .acme-container {
    display: block !important;
    width: 100% !important;
}

.acme-legal-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
    font-size: 13px;
    color: var(--acme-blue-dark);
}

.acme-legal-links {
    display: flex;
    gap: 20px;
}

.acme-legal-links a {
    color: #117dbc !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.acme-legal-links a:hover {
    color: #fff !important;
}

.acme-payment-methods {
    display: flex;
    gap: 10px;
}

.acme-payment-icon {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 10px;
    color: var(--acme-blue-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.acme-container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Override parent theme's .site-main constraint for archive layouts */
.acme-courses-archive.site-main,
.acme-posts-archive.site-main {
    max-width: none !important;
    margin: 0 !important;
    width: 100% !important;
}

/* Reset parent containers to eliminate misalignment */
.acme-courses-archive,
.acme-archive-content {
    margin: 0 auto !important;
    /* padding: 0 !important; Removed to allow main.css padding */
    width: 100% !important;
}

.acme-posts-archive {
    margin: 0 !important;
    width: 100% !important;
    padding-top: 0 !important;
}

/* Unified container for archive pages - ensure all elements align */
.acme-archive-header .acme-container,
.acme-courses-archive .acme-archive-content .acme-container,
.acme-courses-archive .acme-container,
.acme-posts-archive .acme-archive-content .acme-container,
.acme-posts-archive .acme-container {
    max-width: 1340px !important;
    margin: 0 auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Responsive Footer */
@media screen and (max-width: 991px) {
    .acme-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .acme-footer-main {
        padding: 32px 0;
    }


    .acme-trust-bar-inner {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .acme-trust-item,
    .acme-trust-item:first-child,
    .acme-trust-item:nth-child(2),
    .acme-trust-action {
        justify-self: auto;
        align-items: center !important;
        text-align: center;
        width: 100%;
    }

    .acme-legal-inner {
        flex-direction: column !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .acme-copyright {
        text-align: center !important;
    }

    .acme-legal-links {
        justify-content: center !important;
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 600px) {
    .acme-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .acme-footer-legal {
        padding: 16px 0;
    }

    .acme-legal-inner {
        flex-direction: column !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .acme-copyright {
        text-align: center !important;
    }

    .acme-legal-links {
        justify-content: center !important;
        flex-wrap: wrap;
    }

    /* Padding already handled globally by .site-footer for all screens */
}

/* =========================================
   COURSES ARCHIVE & CARDS (Premium 2026)
   ========================================= */
.acme-archive-header {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    /* Subtle modern gradient */
    padding: 48px 0;
    border-bottom: none;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    /* Soft, premium shadow */
    margin-bottom: 0;
    width: 100%;
    position: relative;
    /* Ensure shadow sits on top */
    z-index: 10;
}

/* Search Form in Hero */
.acme-archive-header .acme-course-filter-form {
    margin-top: 32px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 600px;
}

/* Old Sticky Bar - Hidden */
.acme-filter-bar-sticky {
    display: none;
}

/* Ensure container stacks children vertically */
.acme-courses-archive .acme-archive-content .acme-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
}

/* Search and filter positioned above course grid */
.acme-course-filter-form {
    margin-bottom: 40px;
    margin-top: 0;
    display: flex;
    gap: 16px;
    align-items: center;
    width: 100%;
    flex-shrink: 0;
}

/* =========================================
   SEARCH & FILTER (Redesigned: Sleek & Modern)
   ========================================= */
/* .acme-search-wrapper {
    position: relative;
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    padding: 6px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.acme-search-wrapper:hover,
.acme-search-wrapper:focus-within {
    border-color: var(--acme-navy-deep);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
} */

/* Icon Positioning */
/* .acme-search-wrapper .dashicons {
    position: static;
    margin-right: 12px;
    font-size: 18px;
    color: var(--acme-blue-dark);
    pointer-events: none;
    transform: none;
    transition: color 0.3s ease;
    display: block !important;
} */

.acme-search-wrapper:focus-within .dashicons {
    color: var(--acme-navy-deep);
    /* Dark icon on focus */
}

/* .acme-search-field {
    width: 100%;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    height: auto !important;
    font-size: 14px;
    color: var(--acme-navy-deep);
    outline: none !important;
    box-shadow: none !important;
} */

.acme-search-field::placeholder {
    color: var(--acme-blue-dark);
    opacity: 1;
}

/* Filter Wrapper */
.acme-filter-wrapper {
    position: relative;
    flex: 0 0 auto;
    min-width: 200px;
    background: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    padding: 2px 16px;
    /* Reduced vertical padding */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.acme-filter-wrapper:hover {
    border-color: var(--acme-navy-deep);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.acme-filter-select {
    width: 100%;
    border: none !important;
    background-color: transparent !important;
    /* Force transparent */
    padding: 0 !important;
    height: 40px !important;
    font-size: 14px;
    color: var(--acme-navy-deep);
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer;
    font-weight: 500;
}

/* Responsive Filter Bar */
@media (max-width: 768px) {
    .acme-course-filter-form {
        margin-top: 24px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .acme-search-wrapper,
    .acme-filter-wrapper {
        flex: 1 1 100%;
        min-width: 100%;
        width: 100%;
        max-width: 100%;
    }
}

.acme-archive-header .acme-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 8px;
}

.acme-archive-title {
    font-size: 32px !important;
    /* Compact H1 */
    font-weight: 700 !important;
    color: var(--acme-navy-deep);
    margin: 0 !important;
    letter-spacing: -0.02em;
    line-height: 1.2 !important;
}

.acme-archive-subtitle {
    font-size: 16px;
    color: var(--acme-navy-deep);
    margin: 0;
    max-width: 800px;
    line-height: 1.5;
}

/* Breadcrumbs */
.acme-breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 8px;
    color: #cbd5e1;
    /* Lighter text for dark bg */
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
}

.acme-breadcrumbs a {
    color: #e0e0e0 !important;
    /* Light gray for contrast */
    text-decoration: none;
    transition: color 0.2s ease;
}

.acme-breadcrumbs a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

.acme-breadcrumb-separator {
    color: #ffffff !important;
    font-weight: 700;
    opacity: 1 !important;
}

.acme-current-page {
    color: #94a3b8;
    font-weight: 500;
}

/* --- GRID RESET (Courses & Posts) --- */
.acme-posts-grid,
.acme-courses-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-auto-rows: 1fr;
    gap: 32px 24px !important;
    margin: 40px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Tablet: 2 columns */
@media (max-width: 1024px) {

    .acme-posts-grid,
    .acme-courses-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px 16px !important;
    }
}

/* Mobile: 1 column */
@media (max-width: 768px) {

    .acme-posts-grid,
    .acme-courses-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}




/* NOTE: Course Card styles (.acme-course-card) are now managed in /assets/css/main.css */


/* Pagination */
.navigation.pagination {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.page-numbers {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d1d7dc;
    color: var(--acme-navy-deep);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s ease;
}

.page-numbers:hover {
    background-color: #f7f9fa;
    border-color: var(--acme-navy-deep);
}

.page-numbers.current {
    background-color: var(--acme-blue-primary);
    border-color: var(--acme-blue-primary);
    color: #fff;
}

/* Mobile: proper alignment */
@media (max-width: 767px) {
    .acme-archive-header {
        padding: 32px 0;
        margin-bottom: 24px;
    }

    .acme-archive-title {
        font-size: 28px !important;
    }

    /* Fix mobile card alignment */
    .acme-course-card {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }

    /* Ensure container has proper padding */
    .acme-courses-archive .acme-archive-content .acme-container {
        padding-left: 20px;
        padding-right: 20px;
    }
}


/* =========================================
   FAQ ARCHIVE (Redesigned)
   ========================================= */
.acme-faq-archive .acme-archive-content .acme-container {
    padding-bottom: 80px;
    max-width: 1200px !important;
    /* Increased width to utilize space per user request */
    width: 100%;
}

/* Force FAQ Layout Full Width on Desktop (Override grid/sidebar constraints) */
@media screen and (min-width: 1025px) {
    .acme-faq-archive .acme-main-column {
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}

/* FAQ Filter/Search Container */
.acme-faq-search-wrapper {
    max-width: 600px !important;
    /* Compact search bar forced */
    width: 100%;
    margin: 0 auto 40px auto !important;
    /* Centered */
}

/* Ensure inner wrapper doesn't conflict */
.acme-faq-search-wrapper .acme-search-wrapper {
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Accordion Item */
/* LEGACY ITEM RESETS COMMENTED OUT 
.acme-faq-accordion .acme-accordion__item {
    background: transparent;
    border: none !important;
    box-shadow: none !important;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.acme-faq-accordion .acme-accordion__item *,
.acme-faq-accordion .acme-accordion__item *::before,
.acme-faq-accordion .acme-accordion__item *::after {
    border: none !important;
    box-shadow: none !important;
}

.acme-faq-accordion .acme-accordion__item.is-open {
    border: none !important;
    box-shadow: none !important;
}


.acme-faq-accordion .acme-accordion__header {
    margin: 0;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}
*/

/* LEGACY STYLES COMMENTED OUT TO ALLOW ACCORDION.CSS TO WORK */
/* 
.acme-faq-accordion .acme-accordion__trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: #f4f1fd;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    cursor: pointer;
    text-align: left;
    color: #1e293b;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
}

.acme-faq-accordion .acme-accordion__trigger:hover {
    background-color: #ede9fe;
}


.acme-faq-accordion .acme-accordion__trigger[aria-expanded="true"] {
    background-color: #f4f1fd;
    color: var(--acme-blue-primary);
    border: none !important;
    border-radius: 8px;
}

.acme-faq-accordion .acme-accordion__title-text {
    margin-right: 16px;
    line-height: 1.5;
}


.acme-faq-accordion .acme-accordion__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    pointer-events: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

.acme-faq-accordion .acme-accordion__trigger[aria-expanded="true"] .acme-accordion__icon {
    color: var(--acme-blue-primary);
    transform: rotate(180deg);
}

.acme-faq-accordion .acme-icon-plus path:first-child {
    transform-origin: center;
    transition: transform 0.3s ease;
}

.acme-faq-accordion .acme-accordion__trigger[aria-expanded="true"] .acme-icon-plus path:first-child {
    transform: scaleY(0);
}

.acme-faq-accordion .acme-accordion__trigger[aria-expanded="true"] .acme-accordion__icon {
    transform: none;
}
*/

/* Accordion Content */
.acme-faq-accordion .acme-accordion__body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-out;
    background: #ffffff;
}

.acme-faq-accordion .acme-accordion__item.is-open .acme-accordion__body {
    grid-template-rows: 1fr;
}

.acme-faq-accordion .acme-accordion__content {
    overflow: hidden;
}

.acme-faq-accordion .acme-accordion__content>* {
    padding: 0 24px 24px 24px;
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

/* Pagination Styling */
.acme-faq-pagination {
    margin-top: 40px;
}

/* =========================================
   BLOG ARCHIVE STYLING
   ========================================= */

/* Archive Header (Reused from courses) */
.acme-archive-header {
    background: linear-gradient(135deg, #000C29 0%, #093E70 100%);
    color: #fff;
    padding: 60px 0;
    position: relative;
}

@media (max-width: 767px) {
    .acme-archive-header {
        padding: 40px 0;
    }
}

.acme-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.acme-breadcrumbs a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.acme-breadcrumbs a:hover {
    color: #fff;
}

.acme-breadcrumb-separator {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
}

.acme-icon-chevron {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.acme-current {
    color: rgba(255, 255, 255, 0.7);
}

.acme-archive-title {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .acme-archive-title {
        font-size: 32px;
    }
}

.acme-archive-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .acme-archive-subtitle {
        font-size: 16px;
    }
}

/* Archive Content */
.acme-archive-content {
    padding: 10px 0;
}

/* Search/Filter Form */
.acme-post-filter-form,
.acme-course-filter-form {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

@media (max-width: 767px) {

    .acme-post-filter-form,
    .acme-course-filter-form {
        flex-direction: column;
    }
}


/* =========================================
   SEARCH & FILTER STYLES
   ========================================= */
/* Search styles moved to main.css */
.acme-search-wrapper {
    position: relative;
    width: 100%;
}

.acme-search-field:focus {
    outline: none;
    border-color: var(--acme-navy-deep);
    box-shadow: 0 0 0 3px rgba(17, 125, 188, 0.1);
}

.acme-filter-wrapper {
    min-width: 200px;
}

.acme-filter-select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.3s;
}

.acme-filter-select:focus {
    outline: none;
    border-color: var(--acme-navy-deep);
}

/* Grid styles consolidated in the Course Grid Reset section */


/* Blog Card Styling */
/* --- REDUNDANT CARD STYLES REMOVED (Conflicted with main.css) --- */


/* No Posts/Courses Message */
.acme-no-posts,
.acme-no-courses {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
}

.acme-no-posts p,
.acme-no-courses p {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

/* Pagination Styling */
.navigation.pagination {
    margin-top: 48px;
    text-align: center;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #4b5563;
}

.page-numbers:hover {
    border-color: var(--acme-navy-deep);
    color: var(--acme-navy-deep);
    background: #f3f4f6;
}

.page-numbers.current {
    background: var(--acme-blue-primary);
    border-color: var(--acme-blue-primary);
    color: #fff;
}

.page-numbers.dots {
    border: none;
    background: transparent;
}

.page-numbers .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Fix for blog archive responsive layout */
/* Mobile only (below 768px) - Force block display to prevent grid issues */
@media (max-width: 767px) {

    .acme-posts-archive .acme-container,
    .acme-archive-content .acme-container {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 16px !important;
        margin: 0 auto !important;
        grid-template-columns: none !important;
        height: auto !important;
    }
}

/* Tablet (768px-1024px) - Allow grid but ensure proper width */
@media (min-width: 768px) and (max-width: 1024px) {

    .acme-posts-archive .acme-container,
    .acme-archive-content .acme-container {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 24px !important;
        margin: 0 auto !important;
        grid-template-columns: none !important;
        height: auto !important;
    }
}

/* Final Breadcrumb Override - Fixed (Desktop Only) */
@media screen and (min-width: 1025px) {

    .acme-breadcrumbs a,
    .acme-breadcrumbs .acme-current {
        color: #ffffff !important;
        text-decoration: none !important;
    }

    .acme-breadcrumbs a:hover {
        color: var(--acme-blue-light) !important;
        text-decoration: underline !important;
    }
}

/* =========================================
   FAQ ARCHIVE ALIGNMENT FIXES
   LOCKED CONTENT: DO NOT CHANGE DESIGN OR LOGIC WITHOUT USER CONCERN.
   WARNING: The user has explicitly instructed never to change this section.
   ========================================= */
.acme-faq-archive .acme-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.acme-faq-search-wrapper,
.acme-faq-accordion {
    width: 100% !important;
    max-width: 100% !important;
    /* Force standardized width */
    margin: 0 !important;
    /* Force 0 margin */
    padding: 0;
    box-sizing: border-box;
}

.acme-faq-search-wrapper {
    margin-bottom: 40px !important;
    /* Maintain spacing */
}

/* Ensure form fills container */
.acme-faq-search-wrapper .acme-faq-filter-form {
    width: 100% !important;
}

/* =========================================
   SINGLE POST SIDEBAR REPOLISH
   ========================================= */

/* 1. Main Layout: Content + Sidebar */
.acme-single-post-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    position: relative;
    align-items: flex-start;
    /* Ensure sidebar doesn't stretch */
}

/* Ensure main content takes available space but respects sidebar */
.acme-main-content {
    flex: 1;
    /* Take remaining space */
    min-width: 0;
    /* Prevent overflow issues */
    width: 100%;
    /* Fallback */
}

/* Sidebar Defaults (Mobile First) */
.acme-single-sidebar {
    width: 100%;
}

@media screen and (min-width: 1025px) {
    .acme-single-sidebar {
        flex: 0 0 350px;
        width: 350px;
        position: sticky;
        top: 100px;
        /* Offset for sticky header */
        height: fit-content;
        z-index: 10;
    }
}

/* 2. Sidebar Widgets - "Card" Style */
.acme-progress-widget,
.acme-related-posts {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* Soft modern shadow */
    border: 1px solid #eef1f5;
    /* Subtle border */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.acme-progress-widget:hover,
.acme-related-posts:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    /* Lift effect */
}

/* Widget Titles */
.acme-single-sidebar .widget-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--acme-navy-deep);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f2f5;
    letter-spacing: -0.01em;
}

/* 3. Progress Widget Specifics */
.acme-progress-container-start {
    background: #e9ecef;
    border-radius: 100px;
    height: 8px;
    width: 100%;
    margin-bottom: 8px;
    overflow: hidden;
}

.acme-progress-bar {
    height: 100%;
    background: var(--acme-blue-primary);
    width: 0%;
    border-radius: 100px;
    transition: width 0.1s linear;
}

.acme-progress-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--acme-blue-dark);
    text-align: right;
}

/* 4. Related Posts Widget Specifics */
.acme-related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.acme-related-list li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f5f7fa;
}

.acme-related-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.acme-related-list a {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--acme-navy-deep);
    line-height: 1.4;
    transition: color 0.2s ease;
    text-decoration: none;
}

.acme-related-list a:hover {
    color: var(--acme-blue-primary);
}

/* =========================================
   TOC REFINEMENTS
   ========================================= */
.acme-toc-wrapper {
    margin-bottom: 35px !important;
}

.acme-toc-list a {
    text-decoration: none !important;
}

.acme-toc-list a:hover {
    text-decoration: none !important;
}

/* =========================================
   ABOUT US PAGE STYLES
   ========================================= */

.acme-about-page-wrapper {
    background: #f8f9fa;
    /* Light gray background */
    padding-bottom: 0;
}

/* Mission & Vision Grid */
.acme-about-mission {
    margin-top: 0;
    z-index: 2;
    position: relative;
}

.acme-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.acme-info-card.hover-lift {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.acme-info-card.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.acme-info-card .acme-icon-box.large {
    width: 64px;
    height: 64px;
    background: var(--acme-bg-light, #f0f4f8);
    color: var(--acme-blue-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.acme-info-card .acme-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--acme-navy-deep);
}

/* Our Story Split */
.acme-about-story {
    background: #fff;
    padding: 80px 0;
}

.acme-text-image-split {
    display: flex;
    align-items: center;
    gap: 60px;
}

.acme-split-content {
    flex: 1;
}

.acme-split-image {
    flex: 1;
}

.acme-image-placeholder {
    width: 100%;
    height: 400px;
    background: #f0f4f8;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stats Counter */
.acme-section--stats {
    background: var(--acme-navy-deep);
    padding: 60px 0;
    color: #fff;
}

.acme-stats-grid {
    display: flex;
    justify-content: space-between;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.acme-stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--acme-accent-gold);
    margin-bottom: 8px;
}

.acme-stat-label {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Team Section */
.acme-about-team {
    padding: 80px 0;
}

.acme-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 cols desktop */
    gap: 32px;
}

.acme-team-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}







.acme-team-content {
    padding: 20px;
    text-align: center;
}

.acme-team-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--acme-navy-deep);
    margin-bottom: 4px;
}

.acme-team-role {
    font-size: 14px;
    color: var(--acme-blue-primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.acme-team-bio {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* CTA section now handled by Bento grid in about-us.css */


/* Responsive */
@media screen and (max-width: 1024px) {

    .acme-grid-3,
    .acme-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .acme-about-mission {
        margin-top: -30px;
        /* Reduced negative margin on tablet */
    }

    .acme-text-image-split {
        flex-direction: column-reverse;
    }

    .acme-image-placeholder {
        height: 300px;
    }
}

@media screen and (max-width: 768px) {

    .acme-grid-3,
    .acme-team-grid,
    .acme-stats-grid,
    .acme-cta-split {
        grid-template-columns: 1fr;
    }

    .acme-stats-grid {
        flex-direction: column;
        gap: 32px;
    }

    .acme-about-mission {
        margin-top: 30px;
    }

    .acme-cta-card {
        padding: 40px 24px;
    }
}

/* =========================================
   HERO SECTION FIXES (Hotfix)
   ========================================= */

/* Scope to Single Course Pages Only */
body.single-acme_course .acme-course-hero {
    /* Desktop: Reduce excessive padding/margin */
    padding-top: 0 !important;
    margin-top: 0 !important;

    /* Fix Alignment Shift: Force content to start from left */
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    /* This fixes the right-shift */
    text-align: left !important;
}

/* =========================================
   FINAL ROBUSTNESS FIXES
   ========================================= */

/* Ensure Sidebar Sticky Behavior is Foolproof */
@media screen and (min-width: 1025px) {
    .acme-sidebar-sticky-content {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: calc(85px + var(--safe-area-top));
        /* Clear fixed header + spacing */
        z-index: 90;
        width: 100% !important;
    }

    /* CRITICAL STICKY FIX: Release all overflow constraints on Desktop */
    body.single-acme_course,
    body.single-acme_course .acme-lms-wrapper,
    body.single-acme_course .acme-course-single,
    body.single-acme_course .acme-container,
    body.single-acme_course .acme-grid-layout,
    body.single-acme_course .acme-sidebar-wrapper,
    body.single-acme_course .elementor-section,
    body.single-acme_course .elementor-column,
    body.single-acme_course .elementor-widget-wrap,
    body.single-acme_course .site-main {
        overflow: visible !important;
        overflow-y: visible !important;
        /* overflow-x: clip !important; Safe for desktop if needed, but visible is safest for sticky */
    }

    /* Ensure flex parent stretches the sidebar wrapper to full height */
    .acme-grid-layout {
        align-items: stretch !important;
    }

    /* Ensure sidebar wrapper is tall enough for sticky child to scroll within */
    .acme-sidebar-wrapper {
        align-self: stretch !important;
        height: auto !important;
        min-height: 100% !important;
        background: transparent !important;
        /* Visual debug */
    }
}

/* Ensure inner containers don't force centering */
body.single-acme_course .acme-course-hero .elementor-container,
body.single-acme_course .acme-course-hero .elementor-row,
body.single-acme_course .acme-course-hero .acme-container {
    /* ADDED .acme-container */
    display: flex !important;
    /* Force flex */
    flex-direction: column !important;
    /* Stack content */
    align-items: flex-start !important;
    /* Force Left Align */
    justify-content: flex-start !important;

    /* Center the container, but align internal content left */
    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: 24px !important;
    /* Match logo gutter (24px) */
    padding-right: 24px !important;

    width: 100% !important;
    max-width: 1340px !important;
    /* MATCH HEADER WIDTH exactly */
}

/* 
   LOCKED STAGE: MOBILE & TABLET HERO STYLING
   CRITICAL: DO NOT MODIFY BACKGROUND, PADDING, OR VOID COLLAPSE.
   THIS SECTION IS PROTECTED BY USER REQUEST.
*/
@media screen and (max-width: 1024px) {

    /* 1. Collapse Hero Void and Remove Blue Gradient */
    body.single-acme_course .acme-course-hero {
        padding-top: 80px !important;
        /* 80px to clear fixed header */
        padding-bottom: 20px !important;
        margin-top: 0 !important;
        background: #000c29 !important;
        /* Dark background for contrast */
        position: relative;
        z-index: 10;
        align-items: flex-start !important;
        text-align: left !important;
    }

    /* 2. Container Background Fix */
    body.single-acme_course .acme-course-hero .acme-container {
        background-color: transparent !important;
        padding-bottom: 0 !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* 3. Breadcrumbs Handling */
    body.single-acme_course .acme-breadcrumbs {
        position: relative;
        z-index: 5;
        max-width: 100%;
        padding: 0 !important;
        margin-bottom: 12px !important;
        clear: both;
        display: block;
        text-align: left !important;
        justify-content: flex-start !important;
        background: transparent !important;
    }

    /* 4. Logo Scaling (Mobile) */
    body.single-acme_course .custom-logo-link img {
        max-height: 48px !important;
        width: auto !important;
        object-fit: contain;
    }

    /* 5. MOBILE & TABLET SIDEBAR RESET */

    /* Sidebar Reset for Mobile */
    .acme-sidebar-wrapper {
        margin-top: 0 !important;
    }
}

/* 
   LOCKED STAGE: DESKTOP HERO STYLING (min-width: 1025px) 
   CRITICAL: DO NOT MODIFY PADDING-TOP OR ALIGN-ITEMS.
   THIS SECTION IS PROTECTED BY USER REQUEST.
*/
@media screen and (min-width: 1025px) {
    body.single-acme_course .acme-course-hero {
        padding-top: 40px !important;
        align-items: flex-start !important;
        /* Enforce left alignment on desktop */
    }

    body.single-acme_course .acme-breadcrumbs {
        margin-bottom: 16px !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
        text-align: left !important;
        justify-content: flex-start !important;
        color: #ffffff !important;
    }

    body.single-acme_course .acme-breadcrumbs a,
    body.single-acme_course .acme-breadcrumbs .acme-current,
    body.single-acme_course .acme-breadcrumbs .acme-breadcrumb-separator {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }

    body.single-acme_course .acme-breadcrumbs a:hover {
        color: var(--acme-blue-light) !important;
        -webkit-text-fill-color: var(--acme-blue-light) !important;
        text-decoration: underline !important;
    }

    /* Meta Info White Text Override for User Request */
    /* Meta Info White Text Override & Alignment Fix */
    body.single-acme_course .acme-course-hero__meta ul {
        display: flex !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 16px !important;
        /* Add consistent spacing between items */
    }

    body.single-acme_course .acme-course-hero__meta li {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        /* Space between icon and text */
        color: #ffffff !important;
        background-color: transparent !important;
        background: transparent !important;
        height: auto !important;
        line-height: 1.2 !important;
        /* Consistent line height */
    }

    body.single-acme_course .acme-course-hero__meta,
    body.single-acme_course .acme-course-hero__meta span,
    body.single-acme_course .acme-course-hero__meta a {
        color: #ffffff !important;
        vertical-align: middle !important;
        /* Force middle alignment */
    }

    /* Ensure all text elements have consistent line-height */
    body.single-acme_course .acme-course-hero__meta span,
    body.single-acme_course .acme-course-hero__meta a,
    body.single-acme_course .acme-course-hero__meta li>* {
        line-height: 1.2 !important;
    }

    /* Fix for SVG Icons (Line-based) */
    body.single-acme_course .acme-course-hero__meta svg,
    body.single-acme_course .acme-course-hero__meta svg * {
        fill: none !important;
        stroke: #ffffff !important;
    }

    /* Restore Gold Color for Stars */
    body.single-acme_course .acme-course-hero__meta .acme-stars svg,
    body.single-acme_course .acme-course-hero__meta .acme-stars svg *,
    body.single-acme_course .acme-course-hero__meta .acme-badge--rating svg,
    body.single-acme_course .acme-course-hero__meta .acme-badge--rating svg * {
        stroke: var(--acme-accent-gold) !important;
        /* fill: none !important;  - Keep fill none from above for empty stars */
    }

    /* Fix Rating Size Inconsistency (User Request) */
    body.single-acme_course .acme-course-hero__meta .tutor-course-rating-avg,
    body.single-acme_course .acme-course-hero__meta .tutor-course-rating-count,
    body.single-acme_course .acme-course-hero__meta a {
        font-size: 16px !important;
        line-height: 1 !important;
        text-decoration: none !important;
        /* Tighten line height for alignment */
    }

    body.single-acme_course .acme-course-hero__meta .acme-stars svg,
    body.single-acme_course .acme-course-hero__meta .acme-badge--rating svg {
        width: 16px !important;
        height: 16px !important;
        /* Match text size */
    }

    body.single-acme_course .acme-course-hero__meta a:hover {
        color: var(--acme-accent-gold) !important;
        text-decoration: underline !important;
    }

    /* Remove the bad left margin on the menu */
    .elementor-nav-menu--main {
        margin-left: 0 !important;
        padding-left: 0 !important;
        justify-content: flex-end !important;
        /* Push menu to right naturally */
        flex-grow: 1;
        /* Allow it to take available space */
    }

    /* Ensure the container distributes space */
    .elementor-nav-menu__container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    /* Sidebar Overlap Fix (Desktop) */
    .acme-sidebar-wrapper {
        margin-top: -200px !important;
        z-index: 20;
        position: relative;
    }
}

/* Modal Close Button Styling (User Request - Global) */
#acme-close-callback-modal,
#acme-close-batches-modal,
#acme-toc-modal-close,
#acme-close-faq-modal-btn,
#acme-close-demo-modal,
#acme-close-modal-btn,
.acme-modal-elegant-close,
.acme-premium-modal-close,
.acme-toc-modal-close,
.acme-close-modal {
    color: #000000 !important;
    background: transparent !important;
    /* Reset background to avoid grey */
    background-color: transparent !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    opacity: 1 !important;
    width: 32px;
    /* Ensure clickability */
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none !important;
    box-shadow: none !important;
}

#acme-close-callback-modal:hover,
#acme-close-batches-modal:hover,
#acme-toc-modal-close:hover,
#acme-close-faq-modal-btn:hover,
#acme-close-demo-modal:hover,
#acme-close-modal-btn:hover,
.acme-modal-elegant-close:hover,
.acme-premium-modal-close:hover,
.acme-toc-modal-close:hover,
.acme-close-modal:hover {
    background-color: var(--acme-blue-primary) !important;
    color: #ffffff !important;
    border-color: var(--acme-blue-primary) !important;
}


/* =========================================
   MOBILE SIDEBAR ADDITIONS (WhatsApp & Socials)
   ========================================= */
.acme-mobile-extra-content {
    padding: 0 24px 24px;
    margin-top: auto;
    /* Push to bottom if flex container allows, otherwise standard margin */
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle separator */
    padding-top: 24px;
}

/* WhatsApp Button */
.acme-whatsapp-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25D366 !important;
    /* WhatsApp Brand Color */
    color: #ffffff !important;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
    width: 100%;
    margin-bottom: 0 !important;
    border: none !important;
}

.acme-whatsapp-btn:hover {
    background-color: #20BD5A !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
    color: #ffffff !important;
}

.acme-whatsapp-btn svg {
    fill: currentColor;
    width: 20px;
    height: 20px;
}

/* Social Icons in Sidebar */
.acme-mobile-socials {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center !important;
    gap: 16px !important;
    /* Slightly reduced gap */
    flex-wrap: wrap !important;
    width: 100% !important;
}

.acme-mobile-socials .acme-social-link {
    display: flex !important;
    align-items: center;
    justify-content: center !important;
    width: 44px !important;
    /* Slightly larger touch target */
    height: 44px !important;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1) !important;
    /* Higher contrast bg */
    color: #ffffff !important;
    /* White icon default */
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.acme-mobile-socials .acme-social-link:hover {
    background-color: var(--acme-blue-primary) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.acme-mobile-socials .acme-social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Ensure Drawer Flex for "Push to Bottom" Layout */
.acme-mobile-drawer {
    display: flex;
    flex-direction: column;
}

.acme-drawer-content {
    flex: 1;
    /* Allow content to grow */
    display: flex;
    flex-direction: column;
}

.acme-drawer-nav {
    flex: 1;
    /* Nav takes available space */
}

/* Hide on Desktop (Extra safety, though PHP logic handles this too mostly) */
@media screen and (min-width: 992px) {
    .acme-mobile-extra-content {
        display: none !important;
    }
}

/* =========================================
   CREATIVE WHATSAPP BUTTON (User Request)
   ========================================= */

.acme-creative-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    /* Align left */
    gap: 16px !important;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    padding: 16px 24px !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-bottom: 0 !important;
    position: relative;
    overflow: hidden;
}

/* Shine effect */
.acme-creative-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    transform: skewX(-20deg);
}

.acme-creative-btn:hover::before {
    left: 150%;
}

.acme-creative-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.35) !important;
    background: linear-gradient(135deg, #20bd5a 0%, #0e6f63 100%) !important;
}

/* Icon Container */
.acme-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.acme-creative-btn svg {
    width: 22px !important;
    height: 22px !important;
    fill: #fff !important;
}

/* Text Container */
.acme-btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.acme-btn-subtitle {
    font-size: 11px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.acme-btn-title {
    font-size: 16px !important;
    font-weight: 700;
    color: #fff;
}