/*
Theme Name:     Neotrie VR Modern Theme
Theme URI:      https://www2.ual.es/neotrie/
Description:    Child Theme for Divi, featuring a stunning premium daylight and ocean-blue glassmorphic look inspired by Neotrie VR modern design. Includes custom navigation icons, modern typography, gradient accents, and micro-animations.
Author:         Antigravity Pair Program
Author URI:     https://deepmind.google/
Template:       Divi
Version:        1.7.0
License:        GNU General Public License v2 or later
License URI:    http://www.gnu.org/licenses/gpl-2.0.html
Tags:           modern, glassmorphism, vr, premium, daylight, ocean-blue, custom-icons, animations
*/

/* ==========================================================================
   1. DESIGN SYSTEM VARIABLES
   ========================================================================== */
:root {
    --neotrie-bg-light: #f8fafc;
    --neotrie-bg-white: #ffffff;
    --neotrie-bg-navy: #102c57;
    --neotrie-bg-navy-dark: rgba(16, 44, 87, 0.85);
    
    --neotrie-accent-blue: #2b5cff;
    --neotrie-accent-cyan: #00f2fe;
    --neotrie-accent-purple: #8b5cf6;
    
    --neotrie-text-dark: #1e293b;
    --neotrie-text-navy: #102c57;
    --neotrie-text-gray: #475569;
    --neotrie-text-white: #ffffff;

    --neotrie-font-headings: 'Outfit', 'Montserrat', sans-serif;
    --neotrie-font-body: 'Inter', sans-serif;
}

/* ==========================================================================
   2. TYPOGRAPHY & GENERAL RESET (HIGH SPECIFICITY OVERRIDES)
   ========================================================================== */
body.et_divi_theme, 
body.et_divi_theme #page-container, 
body.et_divi_theme #main-content {
    background: linear-gradient(180deg, #0f2447 0%, #081226 35%, #02060f 100%) !important;
    color: var(--neotrie-text-dark) !important;
    font-family: var(--neotrie-font-body) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.et_divi_theme h1, 
body.et_divi_theme h2, 
body.et_divi_theme h3, 
body.et_divi_theme h4, 
body.et_divi_theme h5, 
body.et_divi_theme h6 {
    font-family: var(--neotrie-font-headings) !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    color: var(--neotrie-text-navy) !important;
}

body.et_divi_theme p {
    font-family: var(--neotrie-font-body) !important;
    color: var(--neotrie-text-gray) !important;
}

/* Premium Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--neotrie-bg-light);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neotrie-accent-blue), var(--neotrie-accent-purple));
    border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neotrie-accent-blue);
}

/* ==========================================================================
   3. STUNNING HEADER (OCEAN BLUE GLASSMORPHISM, CENTERING & SPACING)
   ========================================================================== */
body.et_divi_theme #main-header {
    background: linear-gradient(135deg, rgba(16, 44, 87, 0.9) 0%, rgba(10, 25, 47, 0.82) 100%) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 30px rgba(16, 44, 87, 0.25) !important;
    transition: all 0.4s ease !important;
    height: 74px !important; /* Force tight, sleek navigation bar height */
    position: fixed !important;
}

/* Base header container styles */
body.et_divi_theme #main-header .container {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    padding-left: 40px !important;  
    padding-right: 40px !important; 
    box-sizing: border-box !important;
    position: relative !important;
}

/* Circular Logo styling and badge wrapper */
body.et_divi_theme .logo_container {
    display: flex !important;
    align-items: center !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 9999 !important;
}

body.et_divi_theme #logo {
    max-height: 52px !important;
    max-width: 52px !important;
    min-height: 52px !important;
    min-width: 52px !important;
    width: 52px !important;
    height: 52px !important;
    aspect-ratio: 1 / 1 !important; /* Force perfect 1:1 circular aspect ratio at all times */
    border-radius: 50% !important; /* Perfect circular crop */
    object-fit: contain !important; /* Scale square graphic fully inside to prevent text crop */
    padding: 6px !important; /* Breathing padding inside the white circle badge */
    background-color: var(--neotrie-bg-white) !important;
    border: 2px solid rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.35) !important; /* Glowing blue avatar border */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-sizing: border-box !important;
}

body.et_divi_theme #logo:hover {
    transform: scale(1.08) rotate(5deg) !important; /* Playful hover scale & rotation */
    border-color: var(--neotrie-accent-cyan) !important;
    box-shadow: 0 0 18px rgba(0, 242, 254, 0.6) !important;
}

/* General Top Menu layout styles */
body.et_divi_theme #et-top-navigation {
    z-index: 999 !important;
}

/* Hide Divi default search icon for ultra-clean header design */
body.et_divi_theme #et_search_icon,
body.et_divi_theme #et_top_search {
    display: none !important;
}

/* Horizontal Margins to Give Menu Items Room to Breathe */
body.et_divi_theme #top-menu > li {
    margin-left: 10px !important;
    margin-right: 10px !important;
    padding-right: 0 !important;
}

/* Top menu links style */
body.et_divi_theme #top-menu li a {
    font-family: var(--neotrie-font-headings) !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    font-size: 13px !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 8px 16px !important;
    border-radius: 50px !important;
}

body.et_divi_theme #top-menu li a:hover {
    color: var(--neotrie-text-white) !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

/* Style for current active page (INICIO pill background) */
body.et_divi_theme #top-menu li.current-menu-item a,
body.et_divi_theme #top-menu li#menu-item-10555 a {
    background: rgba(255, 255, 255, 0.15) !important;
    color: var(--neotrie-text-white) !important;
    padding: 8px 20px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

body.et_divi_theme #top-menu li.current-menu-item a:hover,
body.et_divi_theme #top-menu li#menu-item-10555 a:hover {
    background: rgba(255, 255, 255, 0.25) !important;
}

/* Add custom icons before menu items using Divi's ETmodules font */
body.et_divi_theme #top-menu li a::before {
    font-family: 'ETmodules' !important;
    margin-right: 8px !important;
    font-size: 15px !important;
    font-weight: normal !important;
    display: inline-block !important;
    vertical-align: middle !important;
    transition: transform 0.3s ease !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

body.et_divi_theme #top-menu li a:hover::before {
    transform: translateY(-2px) !important;
    color: var(--neotrie-text-white) !important;
}

/* Specific Menu Item Icons (Using Neotrie's active IDs) */
body.et_divi_theme #top-menu li#menu-item-10555 a::before { content: "\e009" !important; } /* Inicio - Home */
body.et_divi_theme #top-menu li#menu-item-587 a::before   { content: "\e012" !important; } /* Comunidad - Globe/Network */
body.et_divi_theme #top-menu li#menu-item-10630 a::before { content: "\e027" !important; } /* Proyecto Neotrie - Compass/Explorer */
body.et_divi_theme #top-menu li#menu-item-1692 a::before  { content: "\e089" !important; } /* Investigación - Flask/Study */
body.et_divi_theme #top-menu li#menu-item-227 a::before   { content: "\e023" !important; } /* Eventos - Calendar */
body.et_divi_theme #top-menu li#menu-item-7220 a::before  { content: "\e0e2" !important; } /* Guía de usuario - Book/Guide */
body.et_divi_theme #top-menu li#menu-item-11229 a::before { content: "\e05b" !important; } /* Licencias - Key/Doc */

/* ==========================================================================
   3B. DESKTOP-SPECIFIC POSITIONING (PIXEL-PERFECT ALIGNMENT)
   ========================================================================== */
@media (min-width: 981px) {
    /* Set container as relative anchor */
    body.et_divi_theme #main-header .container {
        display: block !important;
        position: relative !important;
    }

    /* Pinned strictly to the LEFT page corner */
    body.et_divi_theme .logo_container {
        position: absolute !important;
        left: 40px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        display: flex !important;
        align-items: center !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        z-index: 9999 !important;
        pointer-events: auto !important;
    }

    /* PERFECTLY CENTERED Navigation Menu */
    body.et_divi_theme #et-top-navigation {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        display: flex !important;
        align-items: center !important;
        height: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        float: none !important;
        z-index: 99999 !important; /* Extremely high z-index to guarantee layer overlay */
        pointer-events: auto !important;
    }

    body.et_divi_theme #top-menu-nav {
        display: flex !important;
        align-items: center !important;
        height: 100% !important;
        position: relative !important;
        z-index: 99999 !important;
        pointer-events: auto !important;
    }

    body.et_divi_theme #top-menu {
        display: flex !important;
        align-items: center !important;
        padding: 0 !important;
        height: 100% !important;
        position: relative !important;
        z-index: 99999 !important;
        pointer-events: auto !important;
    }

    body.et_divi_theme #top-menu > li {
        position: relative !important;
        z-index: 99999 !important;
        pointer-events: auto !important;
        margin-left: 5px !important;
        margin-right: 5px !important;
    }

    body.et_divi_theme #top-menu li a {
        position: relative !important;
        z-index: 100000 !important; /* Highest layer inside navigation context */
        pointer-events: auto !important;
        padding: 6px 12px !important;
        font-size: 12px !important; /* Slightly smaller for premium compact feel */
        letter-spacing: 0.5px !important;
    }
    
    body.et_divi_theme #top-menu li.current-menu-item a,
    body.et_divi_theme #top-menu li#menu-item-10555 a {
        padding: 6px 14px !important;
    }

    body.et_divi_theme #top-menu li#menu-item-1834 a,
    body.et_divi_theme #top-menu li#menu-item-11636 a {
        padding: 8px 18px !important;
        margin-left: 8px !important;
    }
}

/* ==========================================================================
   3C. GLASSMORPHIC DROPDOWN SUB-MENU (USER PROFILE & LOGOUT LINKS)
   ========================================================================== */
body.et_divi_theme #top-menu li ul.sub-menu,
body.et_divi_theme #top-menu-nav ul.nav li ul {
    background: linear-gradient(135deg, rgba(16, 44, 87, 0.96) 0%, rgba(10, 25, 47, 0.96) 100%) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    padding: 8px !important;
    width: 220px !important;
    box-sizing: border-box !important;
}

body.et_divi_theme #top-menu li ul.sub-menu li,
body.et_divi_theme #top-menu-nav ul.nav li ul li {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.et_divi_theme #top-menu li ul.sub-menu li a,
body.et_divi_theme #top-menu-nav ul.nav li ul li a {
    color: rgba(255, 255, 255, 0.85) !important;
    background: transparent !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
    height: auto !important;
    margin: 0 !important;
}

/* Hide standard top menu custom icons and pill borders inside sub-menus */
body.et_divi_theme #top-menu li ul.sub-menu li a::before,
body.et_divi_theme #top-menu-nav ul.nav li ul li a::before {
    display: none !important;
}

body.et_divi_theme #top-menu li ul.sub-menu li a:hover,
body.et_divi_theme #top-menu-nav ul.nav li ul li a:hover {
    color: var(--neotrie-accent-cyan) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    padding-left: 20px !important; /* Elegant slide effect on hover */
}

/* ==========================================================================
   4. PREMIUM GRADIENT "ENTRAR" BUTTON
   ========================================================================== */
body.et_divi_theme #top-menu li#menu-item-1834 a,
body.et_divi_theme #top-menu li#menu-item-11636 a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, var(--neotrie-accent-blue) 0%, var(--neotrie-accent-purple) 100%) !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    color: var(--neotrie-text-white) !important;
    font-weight: 750 !important;
    box-shadow: 0 4px 15px rgba(43, 92, 255, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    margin-top: 0 !important; 
    margin-left: 15px !important;
    border: none !important;
    line-height: 1 !important;
    height: auto !important;
    text-transform: uppercase !important;
}

body.et_divi_theme #top-menu li#menu-item-1834 a::before,
body.et_divi_theme #top-menu li#menu-item-11636 a::before {
    content: "\e08a" !important; /* User profile icon */
    font-family: 'ETmodules' !important;
    margin-right: 8px !important;
    font-size: 15px !important;
    color: var(--neotrie-text-white) !important;
    text-shadow: none !important;
}

body.et_divi_theme #top-menu li#menu-item-1834 a:hover,
body.et_divi_theme #top-menu li#menu-item-11636 a:hover {
    transform: translateY(-2.5px) scale(1.03) !important;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5) !important;
    color: var(--neotrie-text-white) !important;
    background: linear-gradient(135deg, var(--neotrie-accent-purple) 0%, var(--neotrie-accent-blue) 100%) !important;
}

/* ==========================================================================
   4B. CUSTOM GLASSMORPHIC GTRANSLATE SELECTOR
   ========================================================================== */
/* Position GTranslate floating widget wrapper */
body.et_divi_theme .gt_switcher_wrapper {
    position: fixed !important;
    top: 19px !important; /* Centered vertically in 74px header */
    right: 40px !important; /* Pinned 40px from the right page corner */
    left: auto !important;
    bottom: auto !important;
    z-index: 999999 !important;
    display: inline-block !important;
    width: auto !important;
    pointer-events: none !important; /* Make wrapper click-through so it doesn't block underlying elements */
}

/* Standard HTML select element fallback styling */
body.et_divi_theme .gtranslate_wrapper,
body.et_divi_theme [id^="gt-wrapper-"] {
    position: fixed !important;
    top: 19px !important;
    right: 40px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 999999 !important;
    display: inline-block !important;
    height: auto !important;
    width: auto !important;
    pointer-events: none !important; /* Make wrapper click-through so it doesn't block underlying elements */
}

body.et_divi_theme .gtranslate_wrapper select,
body.et_divi_theme [id^="gt-wrapper-"] select {
    pointer-events: auto !important; /* Re-enable pointer events for the actual select */
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 50px !important;
    padding: 8px 32px 8px 16px !important;
    font-family: var(--neotrie-font-headings) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    outline: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(16, 44, 87, 0.15) !important;
    transition: all 0.3s ease !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 18px !important;
    height: auto !important;
    display: inline-block !important;
    width: auto !important;
    line-height: 1.2 !important;
}

body.et_divi_theme .gtranslate_wrapper select:hover,
body.et_divi_theme [id^="gt-wrapper-"] select:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: var(--neotrie-accent-cyan) !important;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3) !important;
}

body.et_divi_theme .gtranslate_wrapper select option,
body.et_divi_theme [id^="gt-wrapper-"] select option {
    background-color: var(--neotrie-bg-navy) !important;
    color: #ffffff !important;
    font-family: var(--neotrie-font-body) !important;
    padding: 12px !important;
    font-size: 14px !important;
}

/* Custom DWF dropdown container overrides */
body.et_divi_theme .gt_switcher {
    pointer-events: auto !important; /* Re-enable pointer events for the actual dropdown elements */
    font-family: var(--neotrie-font-headings) !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important; /* Prevent options dropdown from clipping */
    width: auto !important;
    height: auto !important;
}

/* Selected language pill styling */
body.et_divi_theme .gt_switcher .gt_selected {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 50px !important;
    padding: 0 !important;
    box-shadow: 0 4px 15px rgba(16, 44, 87, 0.25) !important;
    transition: all 0.3s ease !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 140px !important; /* Controlled size for premium layout flow */
}

body.et_divi_theme .gt_switcher .gt_selected:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: var(--neotrie-accent-cyan) !important;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.4) !important;
}

body.et_divi_theme .gt_switcher .gt_selected a {
    color: var(--neotrie-text-white) !important;
    font-family: var(--neotrie-font-headings) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    background: transparent !important;
    padding: 0 15px !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    text-shadow: none !important;
}

body.et_divi_theme .gt_switcher .gt_selected a img {
    margin-right: 8px !important;
    border-radius: 2px !important;
}

/* Custom indicator arrow */
body.et_divi_theme .gt_switcher .gt_selected a:after {
    border: none !important;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 18px !important;
    width: 18px !important;
    height: 18px !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

body.et_divi_theme .gt_switcher .gt_selected a.open:after {
    transform: translateY(-50%) rotate(-180deg) !important;
}

/* Style for GTranslate options dropdown list (class .gt_option) */
body.et_divi_theme .gt_switcher .gt_option {
    background: linear-gradient(135deg, rgba(16, 44, 87, 0.95) 0%, rgba(10, 25, 47, 0.95) 100%) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    padding: 8px !important;
    margin-top: 8px !important;
    width: 140px !important;
    max-height: 250px !important;
    z-index: 99999 !important;
    box-sizing: border-box !important;
    top: 100% !important; /* Force open downward */
    bottom: auto !important;
    overflow-x: hidden !important;
}

body.et_divi_theme .gt_switcher .gt_option a {
    color: rgba(255, 255, 255, 0.85) !important;
    font-family: var(--neotrie-font-headings) !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
    border: none !important;
    background: transparent !important;
}

body.et_divi_theme .gt_switcher .gt_option a:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--neotrie-accent-cyan) !important;
    padding-left: 15px !important; /* Elegant slide effect on hover */
}

body.et_divi_theme .gt_switcher .gt_option a img {
    margin-right: 8px !important;
    border-radius: 2px !important;
}

/* Custom Scrollbar for Options dropdown */
body.et_divi_theme .gt_switcher .gt_option::-webkit-scrollbar {
    width: 6px !important;
}
body.et_divi_theme .gt_switcher .gt_option::-webkit-scrollbar-track {
    background: transparent !important;
}
body.et_divi_theme .gt_switcher .gt_option::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25) !important;
    border-radius: 10px !important;
}
body.et_divi_theme .gt_switcher .gt_option::-webkit-scrollbar-thumb:hover {
    background: var(--neotrie-accent-cyan) !important;
}
}

/* ==========================================================================
   5. HERO SECTION & HIGH-CONTRAST TEXT (PRESERVE LANDSCAPE BACKGROUND)
   ========================================================================== */
body.et_divi_theme .et_pb_section_0,
body.et_divi_theme .et_pb_section_0.et_pb_section {
    background-size: cover !important;
    background-position: right 0px top !important;
    background-repeat: no-repeat !important;
    padding-top: 180px !important;
    padding-bottom: 120px !important;
    position: relative !important;
}

/* Elegant fade transition from daylight landscape into dark page background */
body.et_divi_theme .et_pb_section_0::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 140px !important;
    background: linear-gradient(to bottom, transparent, #0f2447) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}


body.et_divi_theme .et_pb_text_0 h3,
body.et_divi_theme .et_pb_text_0 h3 span {
    font-family: var(--neotrie-font-headings) !important;
    font-weight: 800 !important;
    color: var(--neotrie-text-navy) !important;
    font-size: 28px !important;
    line-height: 1.3em !important;
    margin-bottom: 20px !important;
    text-shadow: none !important;
    text-align: center !important;
}

body.et_divi_theme .et_pb_text_0 p,
body.et_divi_theme .et_pb_text_0 p span {
    color: var(--neotrie-text-gray) !important;
    font-size: 15px !important;
    font-weight: normal !important;
    line-height: 1.7 !important;
    text-shadow: none !important;
}

/* ==========================================================================
   6. VIBRANT DAYLIGHT CARD SYSTEM (FEATURES ROWS)
   ========================================================================== */
body.et_divi_theme .et_pb_section_1,
body.et_divi_theme .et_pb_section_1.et_pb_section {
    background: radial-gradient(circle at 10% 20%, rgba(43, 92, 255, 0.04) 0%, transparent 50%) !important;
    padding: 100px 0 !important;
    border-top: 1px solid rgba(16, 44, 87, 0.05) !important;
}

/* Transform grid items into elegant daylight cards */
body.et_divi_theme .et_pb_row_1 .et_pb_column,
body.et_divi_theme .et_pb_row_2 .et_pb_column {
    background: var(--neotrie-bg-white) !important;
    border: 1px solid rgba(16, 44, 87, 0.08) !important;
    border-radius: 24px !important;
    padding: 35px 28px !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 10px 30px rgba(16, 44, 87, 0.03) !important;
    position: relative;
    overflow: hidden;
}

body.et_divi_theme .et_pb_row_1 .et_pb_column:hover,
body.et_divi_theme .et_pb_row_2 .et_pb_column:hover {
    transform: translateY(-8px) !important;
    border-color: var(--neotrie-accent-blue) !important;
    box-shadow: 0 20px 45px rgba(43, 92, 255, 0.12) !important;
}

/* Zoom effect on card images */
body.et_divi_theme .et_pb_row_1 .et_pb_column .et_pb_image img,
body.et_divi_theme .et_pb_row_2 .et_pb_column .et_pb_image img {
    border-radius: 14px !important;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

body.et_divi_theme .et_pb_row_1 .et_pb_column:hover .et_pb_image img,
body.et_divi_theme .et_pb_row_2 .et_pb_column:hover .et_pb_image img {
    transform: scale(1.04) !important;
}

/* Feature content styles */
body.et_divi_theme .et_pb_row_1 .et_pb_column h3,
body.et_divi_theme .et_pb_row_2 .et_pb_column h3 {
    font-family: var(--neotrie-font-headings) !important;
    font-weight: 800 !important;
    color: var(--neotrie-text-navy) !important;
    font-size: 22px !important;
    margin-top: 20px !important;
}

body.et_divi_theme .et_pb_row_1 .et_pb_column h4,
body.et_divi_theme .et_pb_row_2 .et_pb_column h4 {
    font-family: var(--neotrie-font-headings) !important;
    color: var(--neotrie-accent-blue) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    margin: 8px 0 15px 0 !important;
}

body.et_divi_theme .et_pb_row_1 .et_pb_column p,
body.et_divi_theme .et_pb_row_2 .et_pb_column p {
    color: var(--neotrie-text-gray) !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

/* ==========================================================================
   7. TECHNICAL SPECIFICATIONS (VIBRANT LIGHT SPEC MICRO-CARDS)
   ========================================================================== */
body.et_divi_theme .et_pb_section_2,
body.et_divi_theme .et_pb_section_2.et_pb_section {
    background: radial-gradient(circle at 90% 10%, rgba(139, 92, 246, 0.03) 0%, transparent 50%) !important;
    padding: 80px 0 !important;
    border-top: 1px solid rgba(16, 44, 87, 0.05) !important;
}

/* Section titles */
body.et_divi_theme .et_pb_text_9 h2,
body.et_divi_theme .et_pb_text_10 h2,
body.et_divi_theme .et_pb_text_11 h2,
body.et_divi_theme .et_pb_text_15 h2 {
    font-family: var(--neotrie-font-headings) !important;
    font-size: 38px !important;
    font-weight: 800 !important;
    text-align: center !important;
    margin-bottom: 40px !important;
    color: var(--neotrie-text-white) !important;
    text-shadow: 0 2px 10px rgba(0, 242, 254, 0.25) !important;
}

/* Specifications micro-cards */
body.et_divi_theme .et_pb_blurb {
    background: var(--neotrie-bg-white) !important;
    border: 1px solid rgba(16, 44, 87, 0.08) !important;
    border-radius: 16px !important;
    padding: 22px !important;
    margin-bottom: 20px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 5px 15px rgba(16, 44, 87, 0.02) !important;
}

body.et_divi_theme .et_pb_blurb:hover {
    border-color: var(--neotrie-accent-blue) !important;
    transform: translateY(-2.5px) !important;
    box-shadow: 0 10px 25px rgba(43, 92, 255, 0.08) !important;
}

body.et_divi_theme .et_pb_blurb .et_pb_module_header,
body.et_divi_theme .et_pb_blurb .et_pb_module_header span {
    font-family: var(--neotrie-font-headings) !important;
    color: var(--neotrie-text-navy) !important;
    font-weight: 750 !important;
    font-size: 17px !important;
    margin-bottom: 6px !important;
}

body.et_divi_theme .et_pb_blurb .et_pb_blurb_description p,
body.et_divi_theme .et_pb_blurb .et_pb_blurb_description span,
body.et_divi_theme .et_pb_blurb .et_pb_blurb_description a {
    color: var(--neotrie-text-gray) !important;
    font-family: var(--neotrie-font-body) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

body.et_divi_theme .et_pb_blurb .et_pb_blurb_description a {
    color: var(--neotrie-accent-blue) !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

body.et_divi_theme .et_pb_blurb .et_pb_blurb_description a:hover {
    color: var(--neotrie-accent-purple) !important;
}

body.et_divi_theme .et_pb_blurb .et_pb_main_blurb_image img {
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(16, 44, 87, 0.1) !important;
}

/* ==========================================================================
   8. ALIGNED STORE BRAND BADGES GRID
   ========================================================================== */
body.et_divi_theme .et_pb_row_7 .et_pb_column,
body.et_divi_theme .et_pb_row_8 .et_pb_column {
    background: var(--neotrie-bg-white) !important;
    border: 1px solid rgba(16, 44, 87, 0.08) !important;
    border-radius: 16px !important;
    padding: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    min-height: 90px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 4px 10px rgba(16, 44, 87, 0.02) !important;
}

body.et_divi_theme .et_pb_row_7 .et_pb_column:hover,
body.et_divi_theme .et_pb_row_8 .et_pb_column:hover {
    border-color: var(--neotrie-accent-blue) !important;
    transform: scale(1.03) !important;
    box-shadow: 0 8px 20px rgba(43, 92, 255, 0.1) !important;
}

body.et_divi_theme .et_pb_row_7 .et_pb_image,
body.et_divi_theme .et_pb_row_8 .et_pb_image {
    margin: 0 !important;
    text-align: center !important;
    width: 100% !important;
}

body.et_divi_theme .et_pb_row_7 .et_pb_image img,
body.et_divi_theme .et_pb_row_8 .et_pb_image img {
    max-height: 44px !important;
    width: auto !important;
    object-fit: contain !important;
}

/* ==========================================================================
   9. TESTIMONIALS (CLEAN FROSTED-GLASS LIGHT QUOTES)
   ========================================================================== */
body.et_divi_theme .et_pb_section_3,
body.et_divi_theme .et_pb_section_3.et_pb_section {
    background: radial-gradient(circle at 10% 80%, rgba(43, 92, 255, 0.03) 0%, transparent 50%) !important;
    padding: 80px 0 !important;
    border-top: 1px solid rgba(16, 44, 87, 0.05) !important;
}

/* Testimonial Quote Cards */
body.et_divi_theme .et_pb_text_12,
body.et_divi_theme .et_pb_text_13,
body.et_divi_theme .et_pb_text_14 {
    background: var(--neotrie-bg-white) !important;
    border: 1px solid rgba(16, 44, 87, 0.08) !important;
    border-left: 5px solid var(--neotrie-accent-blue) !important;
    border-radius: 16px !important;
    padding: 30px !important;
    box-shadow: 0 10px 25px rgba(16, 44, 87, 0.03) !important;
    margin-bottom: 25px !important;
}

body.et_divi_theme .et_pb_text_12 p,
body.et_divi_theme .et_pb_text_13 p,
body.et_divi_theme .et_pb_text_14 p,
body.et_divi_theme .et_pb_text_12 span,
body.et_divi_theme .et_pb_text_13 span,
body.et_divi_theme .et_pb_text_14 span {
    color: var(--neotrie-text-gray) !important; /* Force dark slate grey to prevent white-on-white text from Divi builder settings */
    font-style: italic !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
    font-family: var(--neotrie-font-body) !important;
}

body.et_divi_theme .et_pb_image_15,
body.et_divi_theme .et_pb_image_16,
body.et_divi_theme .et_pb_image_17 {
    margin-bottom: -10px !important;
    filter: drop-shadow(0 0 5px rgba(43, 92, 255, 0.2));
    opacity: 0.8;
}

/* Testimonial Author Blurbs Circular Photos */
body.et_divi_theme .et_pb_blurb_8,
body.et_divi_theme .et_pb_blurb_9,
body.et_divi_theme .et_pb_blurb_10 {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 5px 0 !important;
    margin-top: 5px !important;
}

body.et_divi_theme .et_pb_blurb_8 .et_pb_main_blurb_image img,
body.et_divi_theme .et_pb_blurb_9 .et_pb_main_blurb_image img,
body.et_divi_theme .et_pb_blurb_10 .et_pb_main_blurb_image img {
    border-radius: 50% !important; /* Circular avatar */
    width: 64px !important;
    height: 64px !important;
    object-fit: cover !important;
    border: 2px solid var(--neotrie-accent-blue) !important;
    box-shadow: 0 0 10px rgba(43, 92, 255, 0.2) !important;
    transition: all 0.3s ease !important;
}

body.et_divi_theme .et_pb_blurb_8:hover .et_pb_main_blurb_image img,
body.et_divi_theme .et_pb_blurb_9:hover .et_pb_main_blurb_image img,
body.et_divi_theme .et_pb_blurb_10:hover .et_pb_main_blurb_image img {
    transform: rotate(5deg) scale(1.05) !important;
    border-color: var(--neotrie-accent-purple) !important;
}

body.et_divi_theme .et_pb_blurb_8 .et_pb_module_header,
body.et_divi_theme .et_pb_blurb_9 .et_pb_module_header,
body.et_divi_theme .et_pb_blurb_10 .et_pb_module_header {
    font-size: 16px !important;
    margin-top: 10px !important;
    color: var(--neotrie-text-white) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

body.et_divi_theme .et_pb_blurb_8 .et_pb_blurb_description,
body.et_divi_theme .et_pb_blurb_9 .et_pb_blurb_description,
body.et_divi_theme .et_pb_blurb_10 .et_pb_blurb_description,
body.et_divi_theme .et_pb_blurb_8 .et_pb_blurb_description span,
body.et_divi_theme .et_pb_blurb_9 .et_pb_blurb_description span,
body.et_divi_theme .et_pb_blurb_10 .et_pb_blurb_description span {
    color: rgba(255, 255, 255, 0.65) !important;
}

/* ==========================================================================
   10. PREMIUM GLOWING VIDEO PLAYERS
   ========================================================================== */
body.et_divi_theme .et_pb_video_box {
    border: 2px solid rgba(16, 44, 87, 0.08) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(16, 44, 87, 0.1) !important;
    transition: all 0.4s ease !important;
}

body.et_divi_theme .et_pb_video_box:hover {
    border-color: var(--neotrie-accent-blue) !important;
    box-shadow: 0 15px 40px rgba(43, 92, 255, 0.15) !important;
}

/* ==========================================================================
   11. PROYECTOS Y COLABORACIONES GRID
   ========================================================================== */
html body.et_divi_theme #page-container #main-content .et_pb_section_4,
html body.et_divi_theme #page-container #main-content .et_pb_section_4.et_pb_section {
    background: radial-gradient(circle at 50% 50%, rgba(43, 92, 255, 0.05) 0%, transparent 70%) !important;
    padding: 80px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Align and frame collaborations */
body.et_divi_theme .et_pb_row_13 .et_pb_column,
body.et_divi_theme .et_pb_row_14 .et_pb_column:not(.et-last-child) {
    background: var(--neotrie-bg-white) !important;
    border: 1px solid rgba(16, 44, 87, 0.08) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 110px !important;
    margin-bottom: 20px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 10px rgba(16, 44, 87, 0.02) !important;
}

body.et_divi_theme .et_pb_row_13 .et_pb_column:hover,
body.et_divi_theme .et_pb_row_14 .et_pb_column:not(.et-last-child):hover {
    border-color: var(--neotrie-accent-blue) !important;
    box-shadow: 0 10px 25px rgba(43, 92, 255, 0.1) !important;
}

body.et_divi_theme .et_pb_row_13 .et_pb_image img,
body.et_divi_theme .et_pb_row_14 .et_pb_column:not(.et-last-child) .et_pb_image img {
    filter: grayscale(100%) brightness(0.95) !important;
    opacity: 0.55 !important;
    transition: all 0.4s ease !important;
    max-height: 55px !important;
    width: auto !important;
    object-fit: contain !important;
}

body.et_divi_theme .et_pb_row_13 .et_pb_column:hover .et_pb_image img,
body.et_divi_theme .et_pb_row_14 .et_pb_column:not(.et-last-child):hover .et_pb_image img {
    filter: grayscale(0%) brightness(1) !important;
    opacity: 1 !important;
}

/* Center and align the button in the 5th column of row 14 */
body.et_divi_theme .et_pb_row_14 .et_pb_column.et-last-child {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 110px !important;
    margin-bottom: 20px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* ==========================================================================
   12. ANIMATED GRADIENT BUTTONS
   ========================================================================== */
body.et_divi_theme .et_pb_button {
    background: linear-gradient(135deg, var(--neotrie-accent-blue) 0%, var(--neotrie-accent-purple) 100%) !important;
    border: none !important;
    border-radius: 50px !important;
    color: var(--neotrie-text-white) !important;
    font-family: var(--neotrie-font-headings) !important;
    font-weight: 750 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    padding: 14px 34px !important;
    box-shadow: 0 5px 20px rgba(43, 92, 255, 0.35) !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    font-size: 14px !important;
    position: relative !important;
    overflow: hidden !important;
}

body.et_divi_theme .et_pb_button:hover {
    transform: translateY(-3.5px) scale(1.02) !important;
    box-shadow: 0 10px 28px rgba(139, 92, 246, 0.45) !important;
    color: var(--neotrie-text-white) !important;
    background: linear-gradient(135deg, var(--neotrie-accent-purple) 0%, var(--neotrie-accent-blue) 100%) !important;
}

/* ==========================================================================
   13. FOOTER STYLING (WIDGET LISTS HIDDEN, COPYRIGHT RETAINED)
   ========================================================================== */
body.et_divi_theme #footer-widgets {
    display: none !important;
}

body.et_divi_theme #main-footer {
    background-color: #03050a !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.et_divi_theme #footer-bottom {
    background-color: #03050a !important;
    padding: 20px 0 !important;
}

body.et_divi_theme #footer-info {
    color: #64748b !important;
    font-family: var(--neotrie-font-body) !important;
    font-size: 13px !important;
    text-align: center !important;
}

body.et_divi_theme #footer-info a {
    color: var(--neotrie-accent-cyan) !important;
    font-weight: 600 !important;
    transition: color 0.3s ease !important;
}

body.et_divi_theme #footer-info a:hover {
    color: var(--neotrie-text-white) !important;
    text-shadow: 0 0 6px var(--neotrie-accent-cyan) !important;
}

/* ==========================================================================
   14. MOBILE OPTIMIZATIONS (HIGH SPECIFICITY OVERRIDES)
   ========================================================================== */
@media (max-width: 980px) {
    body.et_divi_theme #main-header {
        padding: 10px 0 !important;
    }
    
    body.et_divi_theme .mobile_nav {
        background: transparent !important;
    }
    
    body.et_divi_theme .mobile_menu_bar::before {
        color: var(--neotrie-text-white) !important;
    }
    
    body.et_divi_theme .et_mobile_menu {
        background-color: #102c57 !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 16px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
        padding: 15px !important;
    }
    
    body.et_divi_theme .et_mobile_menu li a {
        color: var(--neotrie-text-white) !important;
        font-family: var(--neotrie-font-headings) !important;
        font-weight: 600 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        padding: 12px 10px !important;
    }
    
    body.et_divi_theme .et_mobile_menu li a:hover {
        background-color: rgba(255, 255, 255, 0.1) !important;
        color: var(--neotrie-text-white) !important;
    }
    
    /* Login button adjustment in mobile dropdown menu */
    body.et_divi_theme #top-menu li#menu-item-1834 a,
    body.et_divi_theme #top-menu li#menu-item-11636 a {
        margin-top: 10px !important;
        margin-bottom: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    body.et_divi_theme .et_pb_text_0 h1,
    body.et_divi_theme .et_pb_text_0 h3 {
        font-size: 34px !important;
    }

    /* Pinned next to mobile hamburger menu on mobile screen sizes */
    body.et_divi_theme .gt_switcher_wrapper {
        position: fixed !important;
        top: 14px !important;
        right: 70px !important;
        left: auto !important;
        bottom: auto !important;
    }
    
    body.et_divi_theme .gtranslate_wrapper,
    body.et_divi_theme [id^="gt-wrapper-"] {
        position: fixed !important;
        top: 14px !important;
        right: 70px !important;
        left: auto !important;
        bottom: auto !important;
    }
}

/* ==========================================================================
   15. PREMIUM SINGLE BLOG POST STYLING (DAYLIGHT GLASSMORPHIC CARDS)
   ========================================================================== */
/* Adjust container spacing for single blog posts to give navigation breathing room */
body.single:not(.et-tb) #main-content .container,
body.single:not(.et-tb-has-header) #main-content .container {
    padding-top: 35px !important;
    padding-bottom: 45px !important;
}

/* Hide the vertical separator line running down the middle of the dark background between the two cards */
body.single #main-content .container:before {
    display: none !important;
}

/* Width, positioning, and horizontal column gap separation for desktop */
@media (min-width: 981px) {
    body.single #main-content .container {
        max-width: 1320px !important; /* Expands single post container from 1080px default */
        width: 92% !important; /* Reduces empty side margins */
    }
    body.single #main-content #left-area {
        width: 65% !important; /* Perfect 2/3 visual balance */
        float: left !important;
    }
    body.single #main-content #sidebar {
        width: 30.5% !important; /* Perfect 1/3 visual balance */
        float: right !important;
    }
}

/* Wrap the main article in a premium white glassmorphic card for 100% readability */
body.single #main-content #left-area {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3) !important;
    padding: 40px !important;
    box-sizing: border-box !important;
    margin-bottom: 40px !important;
}

/* Make the sidebar a floating frosted daylight card */
body.single #sidebar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
    padding: 25px !important;
    box-sizing: border-box !important;
}

/* Blog post main title */
body.single #left-area h1.entry-title {
    font-family: var(--neotrie-font-headings) !important;
    font-weight: 800 !important;
    font-size: 36px !important;
    color: var(--neotrie-text-navy) !important;
    line-height: 1.25em !important;
    margin-bottom: 15px !important;
    letter-spacing: -0.02em !important;
}

/* Clean post meta info */
body.single #left-area .post-meta {
    font-family: var(--neotrie-font-body) !important;
    font-size: 13px !important;
    color: var(--neotrie-text-gray) !important;
    margin-bottom: 25px !important;
    border-bottom: 1px solid rgba(16, 44, 87, 0.08) !important;
    padding-bottom: 12px !important;
}

body.single #left-area .post-meta a {
    color: var(--neotrie-accent-blue) !important;
    font-weight: 600 !important;
}

/* Premium featured image frame */
body.single #left-area .et_featured_image img,
body.single #left-area img.wp-post-image {
    border-radius: 16px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    margin-bottom: 30px !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
}

/* Body paragraphs comfortable typography */
body.single #left-area .entry-content p {
    font-family: var(--neotrie-font-body) !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: #334155 !important;
    margin-bottom: 20px !important;
}

/* Clean sub-headings inside single posts */
body.single #left-area .entry-content h2,
body.single #left-area .entry-content h2 span {
    font-family: var(--neotrie-font-headings) !important;
    font-weight: 800 !important;
    font-size: 26px !important;
    color: var(--neotrie-text-navy) !important;
    margin-top: 35px !important;
    margin-bottom: 15px !important;
}

body.single #left-area .entry-content h3,
body.single #left-area .entry-content h3 span {
    font-family: var(--neotrie-font-headings) !important;
    font-weight: 800 !important;
    font-size: 21px !important;
    color: var(--neotrie-text-navy) !important;
    margin-top: 30px !important;
    margin-bottom: 12px !important;
}

/* Modern blockquote styling */
body.single #left-area blockquote {
    background: rgba(43, 92, 255, 0.04) !important;
    border-left: 4px solid var(--neotrie-accent-blue) !important;
    border-radius: 0 12px 12px 0 !important;
    padding: 20px 25px !important;
    margin: 25px 0 !important;
}

body.single #left-area blockquote p {
    font-size: 17px !important;
    font-style: italic !important;
    line-height: 1.7 !important;
    color: var(--neotrie-text-navy) !important;
    font-family: var(--neotrie-font-body) !important;
}

/* Elegant lists inside post content */
body.single #left-area .entry-content ul {
    list-style-type: disc !important;
    padding-left: 20px !important;
    margin-bottom: 25px !important;
}

body.single #left-area .entry-content ol {
    list-style-type: decimal !important;
    padding-left: 20px !important;
    margin-bottom: 25px !important;
}

body.single #left-area .entry-content li {
    font-family: var(--neotrie-font-body) !important;
    font-size: 15.5px !important;
    line-height: 1.7 !important;
    color: #334155 !important;
    margin-bottom: 8px !important;
}

/* Modern sidebar widgets style */
body.single #sidebar h4.widgettitle {
    font-family: var(--neotrie-font-headings) !important;
    font-weight: 750 !important;
    font-size: 15px !important;
    color: var(--neotrie-text-navy) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    border-bottom: 2px solid var(--neotrie-accent-cyan) !important;
    padding-bottom: 8px !important;
    margin-bottom: 18px !important;
    display: inline-block !important;
}

body.single #sidebar ul {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.single #sidebar li {
    position: relative !important;
    padding-left: 20px !important;
    margin-bottom: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    border-bottom: 1px dashed rgba(16, 44, 87, 0.08) !important;
    list-style: none !important;
    list-style-type: none !important;
}

body.single #sidebar li:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

body.single #sidebar li::before {
    content: "•" !important;
    color: var(--neotrie-accent-blue) !important;
    position: absolute !important;
    left: 0 !important;
    top: 10px !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
}

body.single #sidebar a {
    color: var(--neotrie-text-gray) !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
}

body.single #sidebar a:hover {
    color: var(--neotrie-accent-blue) !important;
    transform: translateX(3px) !important;
}

/* Glassmorphic Search Form Widget in Sidebar */
body.single #sidebar .et_pb_widget_search form,
body.single #sidebar .searchform {
    display: flex !important;
    align-items: center !important;
    background: var(--neotrie-bg-light) !important;
    border: 1px solid rgba(16, 44, 87, 0.1) !important;
    border-radius: 50px !important;
    padding: 4px 6px 4px 15px !important;
    transition: all 0.3s ease !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02) !important;
    margin-top: 10px !important;
}

body.single #sidebar .et_pb_widget_search form:focus-within,
body.single #sidebar .searchform:focus-within {
    border-color: var(--neotrie-accent-blue) !important;
    background: var(--neotrie-bg-white) !important;
    box-shadow: 0 0 10px rgba(43, 92, 255, 0.1) !important;
}

body.single #sidebar .et_pb_widget_search input[type=text],
body.single #sidebar .searchform input[type=text],
body.single #sidebar .searchform input#s {
    border: none !important;
    background: transparent !important;
    width: 100% !important;
    padding: 6px 0 !important;
    font-size: 13px !important;
    color: var(--neotrie-text-dark) !important;
    outline: none !important;
    font-family: var(--neotrie-font-body) !important;
}

body.single #sidebar .et_pb_widget_search input[type=submit],
body.single #sidebar .searchform input[type=submit],
body.single #sidebar .searchform input#searchsubmit {
    background: linear-gradient(135deg, var(--neotrie-accent-blue) 0%, var(--neotrie-accent-purple) 100%) !important;
    border: none !important;
    border-radius: 50px !important;
    color: var(--neotrie-text-white) !important;
    font-family: var(--neotrie-font-headings) !important;
    font-weight: 750 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    padding: 8px 16px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 3px 10px rgba(43, 92, 255, 0.2) !important;
    margin-left: 10px !important;
}

body.single #sidebar .et_pb_widget_search input[type=submit]:hover,
body.single #sidebar .searchform input[type=submit]:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3) !important;
}

/* Modern comments section styling */
body.single #comment-wrap {
    margin-top: 40px !important;
    border-top: 1px solid rgba(16, 44, 87, 0.08) !important;
    padding-top: 30px !important;
}

body.single h1#comments,
body.single #respond h3#reply-title {
    font-family: var(--neotrie-font-headings) !important;
    font-weight: 750 !important;
    font-size: 22px !important;
    color: var(--neotrie-text-navy) !important;
    margin-bottom: 20px !important;
}

body.single .comment-body {
    background: rgba(16, 44, 87, 0.02) !important;
    border: 1px solid rgba(16, 44, 87, 0.06) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
}

body.single .comment-metadata a {
    color: var(--neotrie-text-gray) !important;
    font-size: 12px !important;
}

body.single .comment-content p {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    color: #334155 !important;
}

body.single #commentform input[type=text],
body.single #commentform input[type=email],
body.single #commentform textarea {
    background-color: var(--neotrie-bg-light) !important;
    border: 1px solid rgba(16, 44, 87, 0.1) !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    color: var(--neotrie-text-dark) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

body.single #commentform input[type=text]:focus,
body.single #commentform input[type=email]:focus,
body.single #commentform textarea:focus {
    border-color: var(--neotrie-accent-blue) !important;
    background-color: var(--neotrie-bg-white) !important;
}

/* Responsive spacing adjustments */
@media (max-width: 980px) {
    body.single #main-content #left-area {
        padding: 25px 20px !important;
        border-radius: 16px !important;
        margin-bottom: 30px !important;
    }
    body.single #sidebar {
        padding: 20px !important;
        border-radius: 16px !important;
    }
}
