#wc-footer-participants, 
button[aria-label="Participants"], 
.footer-button__participants-container {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
}


/* KEY Group Header - ACTION BUTTON (Purple) */
.top-bar-button a {
    background-color: #9002e8 !important; /* KEY Purple */
    color: #ffffff !important;
    padding: 6px 15px !important; /* Slightly tighter for longer text */
    border-radius: 5px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    font-size: 11px !important; /* Reduced from 13px for better fit */
    transition: 0.3s ease-in-out;
    border: 2px solid #9002e8 !important;
    display: inline-block;
    white-space: nowrap; /* Prevents text from breaking into 2 lines */
}

.top-bar-button a:hover {
    background-color: transparent !important;
    color: #9002e8 !important;
    text-decoration: none !important;
}


/* UNIVERSAL SOVEREIGN BUTTON STYLE */
/* Targets nearly all WP buttons including Tutor LMS */
.button, .btn, .wp-block-button__link, .tutor-btn, .tutor-btn-primary {
    background-color: #9002e8 !important; /* KEY Purple */
    color: #ffffff !important;
    border: 2px solid #9002e8 !important;
    border-radius: 5px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    transition: 0.4s ease-in-out !important;
}

/* UNIVERSAL HOVER EFFECT - THE OUTLINE SHIFT */
.button:hover, .btn:hover, .wp-block-button__link:hover, .tutor-btn:hover, .tutor-btn-primary:hover {
    background-color: transparent !important;
    color: #9002e8 !important;
    text-decoration: none !important;
    box-shadow: 0px 4px 15px rgba(144, 2, 232, 0.3); /* Subtle glow for gravity */
}

/* THE SECONDARY GOLD BUTTON (Optional use for different tiers) */
/* Apply the class 'gold-btn' to any button you want in Gold */
.gold-btn {
    background-color: #bb984c !important;
    border-color: #bb984c !important;
}

.gold-btn:hover {
    color: #bb984c !important;
    background-color: transparent !important;
}

/* TablePress Sovereign Styling */
.tablepress-id-1 {
    border: none !important;
    font-family: 'Montserrat', sans-serif !important;
}

.tablepress-id-1 thead th {
    background-color: #1a1a1a !important; /* Deep Navy/Black */
    color: #D4AF37 !important; /* Gold */
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px !important;
}

.tablepress-id-1 tbody td {
    padding: 12px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.dataTables_filter input {
    border: 2px solid #D4AF37 !important;
    padding: 10px !important;
    width: 300px !important;
    border-radius: 5px;
}


/* --- GLOBAL SOVEREIGN REGISTRY (GSR) RESTORATION --- */

/* 1. Hide the Table Body and Clutter on Load */
.tablepress-id-2, 
.dataTables_info, 
.dataTables_paginate, 
.dataTables_length {
    display: none !important;
}

/* 2. Style the Search Bar (The Sovereign Gate) */
.dataTables_filter {
    width: 100% !important;
    text-align: center !important;
    float: none !important;
    margin: 40px 0 !important;
}

.dataTables_filter input {
    width: 400px !important;
    height: 55px !important;
    border: 2px solid #D4AF37 !important; /* GEA Gold */
    border-radius: 30px !important;
    padding: 0 25px !important;
    font-size: 18px !important;
    font-family: 'Montserrat', sans-serif !important;
    text-align: center !important;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.1) !important;
}

/* 3. Hide the 'Search:' Text Label for a cleaner look */
.dataTables_filter label {
    font-size: 0 !important;
}

/* 4. Gold & Black Institutional Header */
.tablepress-id-2 thead th {
    background-color: #1a1a1a !important;
    color: #D4AF37 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none !important;
}
/* --- END GSR RESTORATION --- */

/* --- ACCREDITATION SEAL RESTORATION --- */

.accredited-status-text a {
    color: #bb9843 !important; /* KEY Brand Gold */
    font-size: 8.5px !important; /* Elegant Small Print */
    text-transform: uppercase !important; /* Authority Standard */
    letter-spacing: 2.5px !important; /* Wide Kerning for High-Status Look */
    font-weight: 700 !important;
    font-family: 'Montserrat', sans-serif !important;
    transition: 0.4s ease;
    opacity: 0.9;
}

.accredited-status-text a:hover {
    color: #9002e8 !important; /* Gentle hover transition to purple */
    opacity: 1;
    letter-spacing: 3px !important; /* Dynamic subtle expansion */
}

/* Optional: Removing the standard menu hover line if it looks cluttered */
.accredited-status-text a::after {
    display: none !important;
}

/* --- END RESTORATION --- */

/* --- GLOBAL SOVEREIGN NAVIGATION: UN BOXED STANDARD V2 --- */

/* 1. JURISDICTIONAL TOGGLE: Make the entire label trigger the sub-menu */
/* This removes the need to click the arrow specifically */
.hp-menu--mobile .menu-item-has-children > a,
.hp-menu--canvas .menu-item-has-children > a {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff !important;
    color: #1a1a1a !important; /* Neutral baseline */
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 20px !important;
    margin-bottom: 2px !important;
    border-left: 6px solid #bb9843 !important; /* Gold Jurisdictional Bar */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    pointer-events: auto !important; /* Re-enabling for toggle logic */
}

/* 2. ARROW ALIGNMENT: Move arrow to the right and style it gold */
.hp-menu__item--has-children > .hp-menu__item-toggle {
    right: 15px !important;
    left: auto !important;
    color: #bb9843 !important; /* Standardized to Gold */
    font-size: 18px !important;
    pointer-events: none; /* Let the parent link handle the click */
}

/* 3. HOVER STATE: Reclaiming visibility (The Purple Shift) */
/* This fixes the 'white-on-white' invisibility issue */
.menu-item a:hover, 
.current-menu-item a,
.sub-menu .menu-item a:hover {
    background-color: #f9f4ff !important; /* Very subtle purple tint background */
    color: #9002e8 !important; /* Sovereign Purple Text */
    border-left: 6px solid #9002e8 !important; /* Bar turns Purple on active/hover */
    padding-left: 10px !important; /* Subtle slide-right for elite feedback */
}

/* 4. THE JURISDICTIONAL ROOMS: Sub-item boxes */
.sub-menu .menu-item a {
    display: block !important;
    background-color: #fcfcfc !important;
    color: #444444 !important;
    padding: 14px 25px !important;
    margin-bottom: 1px !important;
    border-left: 2px solid #bb9843 !important; /* Gold indicator */
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 5. ADMIN BAR BUFFER FOR CEO */
.admin-bar #sovereign-global-bar {
    top: 32px !important;
}

/* --- END JURISDICTIONAL MENU --- */

/* --- VIRTUAL CAMPUS: DEEP CHAMBER LOCK (Level 4) --- */

/* Target the Great-Grandchildren of the main menu */
.sub-menu .sub-menu .sub-menu .menu-item a {
    padding-left: 30px !important; /* Deepest Inset for Mandates */
    font-size: 12.5px !important;
    font-weight: 500 !important;
    border-left: 3px solid #bb9843 !important; /* KEY Gold 'Seal' */
    color: #555555 !important;
    background-color: #ffffff !important;
    text-transform: none !important;
    font-style: normal !important;
    margin-bottom: 1px !important;
}

/* The Lock Icon: Signaling Restricted Sovereignty */
.sub-menu .sub-menu .sub-menu .menu-item a::before {
    content: "🔒 ";
    font-size: 11px;
    margin-right: 10px;
    opacity: 0.7;
}

/* Hover: Activating the Portal */
.sub-menu .sub-menu .sub-menu .menu-item a:hover {
    background-color: #f9f4ff !important; /* Faint Purple Glow */
    color: #9002e8 !important; /* Sovereign Purple */
    padding-left: 30px !important; /* Subtle slide-right effect */
    border-left-color: #9002e8 !important; /* Border turns Purple on entry */
}

/* Fix for Mobile: Ensure they don't disappear off-screen */
@media (max-width: 768px) {
    .sub-menu .sub-menu .sub-menu .menu-item a {
        padding-left: 20px !important;
        font-size: 11px !important;
    }
}


/* --- CHECKOUT FRICTION REDUCTION --- */

/* Highlight the Terms and Conditions area */
.woocommerce-checkout-review-order-table + div, 
.woocommerce-terms-and-conditions-wrapper {
    background-color: #f9f4ff !important; /* Faint Purple Tint */
    padding: 20px !important;
    border: 2px dashed #bb9843 !important; /* Gold dashed border for attention */
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Make the 'I have read and agree' text bold and larger */
.woocommerce-form__label-for-checkbox span {
    font-weight: 700 !important;
    color: #1a1a1a !important;
    font-size: 14px !important;
}

/* Style the checkbox itself to be more prominent */
input#terms {
    transform: scale(1.5); /* Makes the 'tiny button' 50% larger */
    margin-right: 15px !important;
    cursor: pointer;
}

/* --- END CHECKOUT FIX --- */

/* Home and GEA image heroes: explicit colours survive missing/deferred Elementor kit CSS. */
.elementor-11133 .elementor-element-6513d27 .elementor-heading-title,
.elementor-11133 .elementor-element-6513d27 .elementor-widget-text-editor,
.elementor-11133 .elementor-element-6513d27 .elementor-widget-text-editor p,
.elementor-5060 .elementor-element-2a3b0bd .elementor-heading-title,
.elementor-5060 .elementor-element-2a3b0bd .elementor-widget-text-editor,
.elementor-5060 .elementor-element-2a3b0bd .elementor-widget-text-editor p {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0,0,0,.45);
}
.elementor-5060 .elementor-element-2a3b0bd .elementor-button,
.elementor-5060 .elementor-element-2a3b0bd .elementor-button .elementor-button-text {
  color: #ffffff !important;
}
.elementor-5060 .elementor-element-2a3b0bd .elementor-button {
  background-color: #9002e8;
}


/* Footer social icons: KEY purple, gold hover and keyboard focus. */
.site-footer .jetpack_widget_social_icons a { color: #9002e8 !important; transition: color .2s ease; }
.site-footer .jetpack_widget_social_icons a:hover,
.site-footer .jetpack_widget_social_icons a:focus-visible { color: #bb9843 !important; }
.site-footer .jetpack_widget_social_icons a svg { fill: currentColor !important; }

/* Footer links: gold feedback only; keep copyright row free of menus. */
.site-footer .footer-widgets .menu-item > a { background: transparent !important; border-left: 0 !important; padding-left: 0 !important; box-shadow: none !important; transform: none !important; }
.site-footer .footer-widgets .menu-item > a:hover,
.site-footer .footer-widgets .menu-item > a:focus-visible { color: #bb9843 !important; text-decoration: none !important; }
.site-footer .footer-navbar__end { display: none !important; }
.site-footer .footer-navbar__start { flex: 1 1 100%; }

/* Soft gray footer surface. */
.site-footer { background-color: #f7f7f8 !important; }