.animated.pulse {
  animation-iteration-count: infinite !important;
}  
header, #masthead, .site-header, .elementor-location-header {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  width: 100%;
  z-index: 99999 !important;
}

body {
  margin-top: 120px !important;
}



/* WHATSAPP */
a[href*="whatsapp"] i,
a[href*="wa.me"] i,
a[href*="whatsapp"] svg,
a[href*="wa.me"] svg {
  font-size: 34px !important;
  width: 34px !important;
  height: 34px !important;
}

/* FACEBOOK */
a[href*="facebook"] i,
a[href*="fb.com"] i,
a[href*="facebook"] svg,
a[href*="fb.com"] svg {
  font-size: 34px !important;
  width: 34px !important;
  height: 34px !important;
}

/* TIKTOK */
a[href*="tiktok"] i,
a[href*="tiktok.com"] i,
a[href*="tiktok"] svg,
a[href*="tiktok.com"] svg {
  font-size: 34px !important;
  width: 34px !important;
  height: 34px !important;
}



/* ALTURA GRANDE (Estado inicial) */
.elementor-location-header .elementor-container {
  min-height: 110px; /* Un poco menos que 110 para que no sea tan tosco */
  transition: all 0.4s ease;
  align-items: center;
}

/* ALTURA PEQUEÑA (Al hacer scroll) */
.shrink .elementor-container {
  min-height: 20px !important; /* No lo bajes de 70px para que los textos respiren */
}

/* Logo grande */
header img {
  max-height: 55px;
  width: auto; /* Mantiene la proporción */
  transition: all 0.4s ease;
}

/* Logo pequeño (Reducción moderada) */
.shrink img {
  max-height: 45px !important; 
  max-width: 100px !important; /* IMPORTANTE: Deja espacio a lo ancho para que el texto "Academia Hertz" no se encoja */
}

/* Ajuste de los textos del menú */
header a {
  font-size: 18px;
  transition: 0.3s;
}

.shrink a {
  font-size: 16px;
}
html {
  scroll-behavior: smooth;
}

.animar {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.animar.mostrar {
  opacity: 1;
  transform: translateY(0);
}
/* Cuando se activa */
.fade-in-up.active {
  opacity: 1;
  transform: translateY(0);
}














/* Ocultar ganancias */
.tutor-dashboard-card:has(.tutor-icon-wallet) {
    display: none !important;
}

/* 🔴 Ocultar "Retiros" por cualquier variante */
.tutor-dashboard-left-menu a[href*="withdraw"],
.tutor-dashboard-left-menu a[href*="withdrawal"],
.tutor-dashboard-left-menu a[href*="payout"] {
    display: none !important;
}



/* 🔴 Ocultar también el contenedor completo */
.tutor-dashboard-left-menu li:has(a[href*="withdraw"]),
.tutor-dashboard-left-menu li:has(a[href*="payout"]) {
    display: none !important;
}



/* Ocultar "Historial de pedidos" (posición exacta en el menú) */
.tutor-dashboard-left-menu li:nth-child(6) {
    display: none !important;
}

/* 🔴 OCULTAR BLOQUE "Ganancias Totales" */
.tutor-dashboard-card:last-child {
    display: none !important;
}

/* 🔴 OPCIONAL: eliminar completamente el espacio vacío */
.tutor-dashboard-content-inner .tutor-row > div:last-child {
    display: none !important;
}







/* ===== BOTÓN CURSO → PERFIL ===== */
.btn-volver-perfil {
    display: none;
}

/* 👇 AHORA FUNCIONA PARA TODOS LOS CURSOS */
body.single-lp_course:not(.course-item-popup) .btn-volver-perfil {
    display: block;
    position: relative;
    bottom: 11px;
    left: 20px;
    color: #6c757d;
    font-size: 16px;
    text-decoration: none;
    font-weight: normal;
}

/* Hover */
body.single-lp_course:not(.course-item-popup) .btn-volver-perfil:hover {
    color: #343a40;
    text-decoration: underline;
}







.learn-press-breadcrumb,
.breadcrumb,
.breadcrumbs {
    display: none !important;
}








/* ============================= */
/* 🔥 OCULTAR HEADER Y FOOTER */
/* ============================= */

body.single-lp_course header,
body.single-lp_lesson header,
body.page-profile header,
body.single-lp_course footer,
body.single-lp_lesson footer,
body.page-profile footer {
    display: none !important;
}

/* Ocultar contenedores del tema */
body.single-lp_course .site-header,
body.single-lp_lesson .site-header,
body.page-profile .site-header,
body.single-lp_course #masthead,
body.single-lp_lesson #masthead,
body.page-profile #masthead,
body.single-lp_course .site-footer,
body.single-lp_lesson .site-footer,
body.page-profile .site-footer {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
}





/* ============================= */
/* SOLO LEARNPRESS */
/* ============================= */

/* Cursos, lecciones y perfil */
body.single-lp_course header,
body.single-lp_lesson header,
body.learnpress-page header,
body.single-lp_course footer,
body.single-lp_lesson footer,
body.learnpress-page footer {
    display: none !important;
}

/* Contenedores del tema */
body.single-lp_course .site-header,
body.single-lp_lesson .site-header,
body.learnpress-page .site-header,
body.single-lp_course #masthead,
body.single-lp_lesson #masthead,
body.learnpress-page #masthead,
body.single-lp_course .site-footer,
body.single-lp_lesson .site-footer,
body.learnpress-page .site-footer {
    display: none !important;
}

/* Quitar espacio SOLO en esas páginas */
body.single-lp_course,
body.single-lp_lesson,
body.learnpress-page {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Quitar espacio del admin bar SOLO ahí */
body.single-lp_course.admin-bar,
body.single-lp_lesson.admin-bar,
body.learnpress-page.admin-bar {
    margin-top: 0 !important;
}

/* Forzar subida SOLO ahí */
body.single-lp_course .content-area,
body.single-lp_lesson .content-area,
body.learnpress-page .content-area {
   margin-top: -80px !important; /* ajusta si hace falta */
}





/* Importar fuentes */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Poppins:wght@400;500&family=Crimson+Pro:wght@700&display=swap');

/* ============================= */
/* TÍTULOS (NUEVO ESTILO) */
/* ============================= */
body.single-lp_course h1,
body.single-lp_course h2,
body.single-lp_course h3,
body.single-lp_course h4,
body.single-lp_course h5,
body.single-lp_course h6 {
    font-family: 'Crimson Pro', serif !important;
    font-weight: 700 !important;
    font-size: 1.85rem;
}


body.single-lp_course p.wp-block-paragraph:first-child {
    display: none !important;
}







.related-course h3 {
    font-size: 0;
}

.related-course h3::after {
    content: "Cursos Relacionados Matriculados";
    font-size: 28px;
}






/* ESCRITORIO (más de 1024px) */
.contenido-escritorio{
    display: block;
}

.contenido-tablet{
    display: none;
}

.contenido-movil{
    display: none;
}


/* TABLET (entre 768px y 1024px) */
@media screen and (max-width: 1024px){
    .contenido-escritorio{
        display: none;
    }

    .contenido-tablet{
        display: block;
    }

    .contenido-movil{
        display: none;
    }
}


/* MÓVIL (menos de 768px) */
@media screen and (max-width: 768px){
    .contenido-escritorio{
        display: none;
    }

    .contenido-tablet{
        display: none;
    }

    .contenido-movil{
        display: block;
    }
}






/* Contenedor del carrusel */
.slick-slider,
.swiper {
    position: relative;
}

/* CENTRAR completamente los puntitos */
.slick-dots,
.swiper-pagination {
    position: absolute !important;
    top: 93% !important; /* prueba 80%, 75%, etc */
    bottom: auto !important;
    left: 50% !important;
    transform: translateX(-50%);
    display: flex !important;
    justify-content: center;
    width: auto !important;
}

/* Quitar alineación izquierda interna */
.slick-dots li {
    float: none !important;
}

/* Estilo blanco */
.slick-dots li button:before {
    color: white !important;
    opacity: 0.7;
}

.slick-dots li.slick-active button:before {
    opacity: 1;
}

/* Swiper */
.swiper-pagination-bullet {
    background: white !important;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}






.contenido-tablet {
    position: relative;
}

/* Slides ocupan todo */
.contenido-tablet .slick-slide,
.contenido-tablet .swiper-slide {
    height: 100% !important;
}

/* Track flexible */
.contenido-tablet .slick-track {
    display: flex !important;
}

/* Imagen ocupa todo */
.contenido-tablet img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

/*/////////*/

.contenido-movil {
    position: relative;
}

/* Slides ocupan todo */
.contenido-movil .slick-slide,
.contenido-movil .swiper-slide {
    height: 100% !important;
}

/* Track flexible */
.contenido-movil .slick-track {
    display: flex !important;
}

/* Imagen ocupa todo */
.contenido-movil img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

.contenido-escritorio {
    position: relative;
}

/* Slides ocupan todo */
.contenido-escritorio .slick-slide,
.contenido-escritorio .swiper-slide {
    height: 100% !important;
}

/* Track flexible */
.contenido-escritorio .slick-track {
    display: flex !important;
}

/* Imagen ocupa todo */
.contenido-escritorio img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}











/* ESCRITORIO (más de 1024px) */
.mi-escritorio{
    display: block;
}

.mi-tablet{
    display: none;
}

.mi-movil{
    display: none;
}


/* TABLET (entre 768px y 1024px) */
@media screen and (max-width: 1024px){
    .mi-escritorio{
        display: none;
    }

    .mi-tablet{
        display: block;
    }

    .mi-movil{
        display: none;
    }
}


/* MÓVIL (menos de 768px) */
@media screen and (max-width: 768px){
    .mi-escritorio{
        display: none;
    }

    .mi-tablet{
        display: none;
    }

    .mi-movil{
        display: block;
    }
}