.elementor-28221 .elementor-element.elementor-element-ee980d3{--display:flex;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}/* Start custom CSS for html, class: .elementor-element-59d444a *//* =========================================
   0. OCULTAR HEADER Y FOOTER ORIGINAL (FIX)
   ========================================= */
.edublink-header-area, .edu-header-area, .header-area, .site-header,
.edublink-footer-area, .edu-footer-area, .footer-area, .site-footer,
footer#colophon, footer.footer-area {
    display: none !important;
}

/* =========================================
   1. ESTILOS DEL HEADER (DESKTOP)
   ========================================= */
.masterclass-header {
    position: fixed !important; 
    top: 0 !important; 
    left: 0 !important;
    width: 100% !important;
    
    /* [CAMBIO] Más espacio vertical en desktop */
    padding: 25px 0 !important; 
    
    z-index: 10000 !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: none !important;
    background: rgba(15, 15, 15, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between; 
    padding: 0 20px;
}

.masterclass-header * {
    color: #f0f0f0; 
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    box-sizing: border-box;
}

/* GRUPOS */
.header-group { display: flex; align-items: center; }

/* LOGO */
.logo-link { font-size: 0; display: flex; align-items: center; margin-right: 15px; }
.logo-img { height: 40px !important; width: auto !important; vertical-align: middle; }

/* BOTÓN CATEGORÍAS */
.browse-button {
    background: linear-gradient(180deg, #2b2b2b 0%, #1e1e1e 100%);
    padding: 12px 20px;
    border-radius: 8px; 
    font-weight: 600; 
    display: flex;
    align-items: center;
    transition: background 0.3s ease; 
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3); 
    border: 1px solid rgba(255, 255, 255, 0.08); 
    line-height: 1.2; 
    font-size: 15px; 
    cursor: pointer;
}
.browse-button:hover { background: linear-gradient(180deg, #3a3a3a 0%, #2b2b2b 100%); }
.arrow-down::after { content: '▾'; margin-left: 8px; font-size: 12px; }

/* DROPDOWN CATEGORIAS */
.categories-dropdown { position: relative !important; }
.categories-dropdown.open .arrow-down::after { transform: rotate(180deg); }

.categories-dropdown .dropdown-content {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 0 !important;
    min-width: 260px !important;
    display: none !important; 
    background-color: #1a1a1a !important; 
    border-radius: 12px;
    padding: 15px 0;
    z-index: 10001 !important; 
    border: 1px solid rgba(255, 255, 255, 0.15); 
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8) !important; 
}
.categories-dropdown.open .dropdown-content { display: block !important; animation: fadeInDropdown 0.3s ease; }

@keyframes fadeInDropdown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.categories-dropdown .category-list { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.categories-dropdown .category-list li { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.categories-dropdown .category-list li a {
    color: #cccccc !important; padding: 12px 20px !important;
    text-decoration: none !important; display: block !important;
    font-size: 15px !important; transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.categories-dropdown .category-list li a:hover { background-color: rgba(255, 255, 255, 0.1) !important; color: #ffffff !important; }
.categories-dropdown .view-all-categories-button {
    display: block; text-align: center; margin: 15px 15px 0; padding: 10px 15px;
    background: #2b2b2b !important; color: #ffffff !important;
    text-decoration: none; border-radius: 8px; font-weight: 500; font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.categories-dropdown .view-all-categories-button:hover { background: #3a3a3a !important; }

/* BUSCADOR DESKTOP */
.search-group { flex-grow: 1; position: relative; max-width: 800px; margin: 0 25px; }
.search-bar {
    display: flex; align-items: center;
    background: linear-gradient(180deg, #2b2b2b 0%, #1e1e1e 100%);
    border-radius: 8px; padding: 12px 18px; width: 100%;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.08); 
}
.search-icon { font-size: 18px; margin-right: 8px; color: #909090; }
.search-bar input { background: none; border: none; outline: none; width: 100%; color: #f0f0f0; font-size: 16px; padding: 0; line-height: 1.2; }
.search-suggestions {
    background-color: #1a1a1a; border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4); 
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; 
    border-radius: 12px; padding: 15px 0; z-index: 10; 
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s ease;
}
.search-bar:focus-within + .search-suggestions { opacity: 1; visibility: visible; transform: translateY(0); }
.suggestions-title { font-size: 14px; font-weight: 600; color: #e0e0e0; padding: 0 20px 10px; margin-bottom: 5px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.suggestion-list { list-style: none; padding: 0; margin: 0; }
.suggestion-list li a { display: flex; align-items: center; padding: 10px 20px; color: #cccccc; font-size: 15px; }
.suggestion-list li a:hover { background-color: rgba(255, 255, 255, 0.05); color: #fff; }

/* DERECHA (LINKS + LOGIN + BTN) */
.nav-links a { margin-left: 25px; color: #cccccc; transition: color 0.2s ease; font-weight: 500; }
.nav-links a:hover { color: #ffffff; }

.start-button {
    background-color: #00bf71; color: #0d0d0d !important; padding: 12px 20px;
    border-radius: 8px; font-weight: 700; font-size: 15px; margin-left: 25px;
    transition: background 0.3s ease; display: inline-block; text-align: center;
}
.start-button:hover { background-color: #00a863; }

/* BOTÓN LOGIN DESKTOP - MANTENER ICONO ORIGINAL */
.login-icon-link {
    margin-left: 15px; display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%; transition: background 0.2s ease;
}
.login-icon-link:hover { background-color: rgba(255, 255, 255, 0.1); }
.login-icon-link svg { width: 22px; height: 22px; color: #e0e0e0; }


/* =========================================
   3. MÓVIL (MEDIA QUERY)
   ========================================= */
.mobile-controls, .mobile-nav-menu, .mobile-search-text-button, .mobile-search-input-container { display: none; }

@media (max-width: 900px) { 
    
    .masterclass-header { background: rgba(10, 10, 10, 0.98) !important; padding: 15px 0 !important; }
    
    .header-group.left-group { margin-left: 0 !important; }
    .logo-img { height: 35px !important; }

    /* Ocultar Desktop */
    .categories-dropdown, .search-group, .nav-links, .start-button, .login-icon-link { display: none !important; }
    
    /* Controles Móvil */
    .mobile-controls { display: flex; align-items: center; gap: 15px; flex-grow: 1; justify-content: flex-end; }
    
    .mobile-search-text-button {
        display: flex !important; align-items: center; flex-grow: 1; max-width: unset; 
        background: rgba(255, 255, 255, 0.1); border: none; color: #f0f0f0; 
        font-size: 14px; font-weight: 500; cursor: pointer; padding: 8px 12px; border-radius: 8px;
    }
    .mobile-menu-button { background: none; border: none; color: #f0f0f0; font-size: 26px; cursor: pointer; padding: 0; }

    /* -------------------------------------
       [FIX] MENÚ HAMBURGUESA ARREGLADO
       ------------------------------------- */
    .mobile-nav-menu {
        display: flex !important; 
        flex-direction: column !important;
        justify-content: center; 
        align-items: center; 
        
        position: fixed; 
        top: 0; 
        left: 0; 
        width: 100%; 
        height: 100vh;
        
        background-color: #000000 !important;
        z-index: 99999; 
        
        opacity: 0; 
        visibility: hidden; 
        transform: translateY(-20px); 
        transition: all 0.3s ease;
    }
    
    .mobile-nav-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }

    /* [FIX] X GIGANTE Y SIN BORDE */
    .close-menu-button { 
        position: absolute; top: 25px; right: 25px; 
        background: transparent !important; 
        border: none !important; 
        box-shadow: none !important;
        outline: none !important;
        color: #fff; 
        font-size: 50px !important; 
        cursor: pointer; 
        padding: 0;
        line-height: 1;
    }
    
    /* [FIX] CONTENEDOR DE ITEMS EN COLUMNA */
    .mobile-menu-items { 
        display: flex !important; 
        flex-direction: column !important;
        gap: 40px;
        width: 80%; 
        text-align: center; 
    }
    
    /* [FIX] Links normales */
    .mobile-menu-items > .mobile-link { 
        font-size: 26px !important; 
        color: #fff !important; 
        font-weight: 600 !important; 
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.2 !important;
    }
    
    /* ========================================
       FIX PARA EL BOTÓN DE LOGIN EN MÓVIL
       ======================================== */
    
    /* El contenedor del botón - Mismo estilo que otros enlaces móviles */
    .mobile-menu-items > .mobile-login-link,
    #dynamicLoginLink { 
        font-size: 26px !important; 
        color: #fff !important; 
        font-weight: 600 !important; 
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important; /* Espacio entre ícono y texto */
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.2 !important;
    }
    
    /* El ÍCONO (emoji 👤) - Debe verse del mismo tamaño que el texto */
    .mobile-menu-items > .mobile-login-link .mobile-login-icon,
    #dynamicLoginLink .mobile-login-icon,
    span.mobile-login-icon { 
        font-size: 26px !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
        color: #fff !important;
        display: inline-block !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* El TEXTO ("Iniciar Sesión" o "Mi Cuenta") */
    .mobile-menu-items > .mobile-login-link #loginLinkText,
    #dynamicLoginLink #loginLinkText,
    span#loginLinkText {
        font-size: 26px !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
        color: #fff !important;
        display: inline-block !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    /* ======================================== */

    .mobile-start-button {
        background-color: #00bf71; color: #0d0d0d !important; padding: 20px 30px;
        border-radius: 12px; font-weight: 700; font-size: 22px; width: 100%; display: block;
        margin: 0 !important;
    }

    /* -------------------------------------
       [FIX] BUSCADOR MÓVIL
       ------------------------------------- */
    .mobile-search-input-container {
        display: block !important;
        position: fixed; top: 0; left: 0; width: 100%; height: auto; min-height: 300px;
        
        background-color: rgba(20, 20, 20, 0.98); backdrop-filter: blur(20px);
        
        padding: 80px 20px 40px;
        z-index: 99998;
        
        box-shadow: 0 10px 50px rgba(0,0,0,0.8); 
        
        opacity: 0; 
        visibility: hidden; 
        transform: translateY(-20px); 
        transition: all 0.3s ease;
    }
    
    .mobile-search-input-container.open { 
        opacity: 1 !important; 
        visibility: visible !important; 
        transform: translateY(0) !important; 
        display: block !important;
    }
    
    .close-search-button { 
        position: absolute; top: 20px; right: 20px; 
        background: none; border: none; color: #ccc; 
        font-size: 45px; cursor: pointer; 
    }
    
    .mobile-search-wrapper { border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 10px; }
    .mobile-search-input-container input { width: 100%; padding: 15px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.05); color: #fff; font-size: 18px; outline: none; }
    
    .mobile-suggestions-content { margin-top: 20px; }
    .mobile-suggestions-content .suggestion-list li a { padding: 15px 0; color: #ccc; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,0.05); }
}/* End custom CSS */