/*
Theme Name: excelent-salon-construction
Theme URI: https://excelentsalon.es
Author: Tu Nombre
Author URI: https://excelentsalon.es
Description: Tema básico para Excelent Salon Construction. Enfocado a academia con LearnDash.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: excelent-salon-construction
Tags: custom-menu, elementor, one-page, custom-logo

Este tema está diseñado para funcionar con Elementor Free.
La página de inicio usa un template personalizado y el resto de páginas se crean con Elementor.
*/

/* =====================
   Imports de fuentes
   ===================== */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400;1,600&display=swap");

/* =====================
   Reset y estilos base
   ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: #0f1214;
  color: #e7e1d8;
  line-height: 1.6;
  background-repeat: repeat;
  background-size: 600px 600px;
  background-attachment: fixed;
}

/* =====================
   Contenedor principal
   ===================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
}

/* =====================
   Tipografía
   ===================== */
p,
li {
  color: #cab296;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}

h1,
h2,
h3,
.entry-title {
  letter-spacing: 0.01em;
}

h1,
.entry-title {
  font-family: "Playfair Display", serif;
  font-style: normal;
  font-weight: 600;
  color: var(--esc-text);
  font-size: 2.2rem;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 600;
  color: var(--esc-text);
}

h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: var(--esc-text);
}

@media (max-width: 768px) {
  h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  h2 {
    font-size: 1.5rem;
  }
}

/* =====================
   Botones
   ===================== */
.btn {
  display: inline-block;
  background-color: #cab296;
  color: #1a1a1a;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 1px solid #cab296;
}

.btn:hover {
  background-color: transparent;
  color: #cab296;
}

.btn-thin {
  padding: 6px 16px;
  border-width: 1px;
  font-weight: 500;
}

.btn-chip {
  font-family: "Poppins", serif;
  font-style: normal;
  font-weight: 400;
  border-radius: 12px;
  background-color: #cab296;
  color: #2c2c2c;
  padding: 6px 18px;
  border: 1px solid #cab296;
}

.btn-ver-mas,
.btn-ver-todo {
  background: #cab296;
  color: #2c2c2c;
  border-color: #2c2c2c;
  padding: 4px 24px;
  border-radius: 20px;
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.btn-ver-mas:hover,
.btn-ver-todo:hover {
  background: #c19660;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

.btn-wide {
  display: block;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  letter-spacing: 0.04em;
}

.btn-cta-light {
  background: #e9d5c0;
  color: #1a1a1a;
  border: 1px solid #e9d5c0;
  padding: 12px 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-top: 16px;
  border-radius: 4px;
}

.btn-cta-light:hover {
  filter: brightness(0.95);
}

/* =====================
   Header y Navegación
   ===================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.6) 40%,
      rgba(0, 0, 0, 0) 100%);
  z-index: 1000;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-header nav {
  flex: 1;
  display: flex;
  align-items: center;
}

.logo span {
  font-size: 1.8rem;
  font-weight: bold;
  color: #c9a974;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

/* Navegación WordPress */
.main-header .main-nav {
  display: flex;
  width: 100%;
}

.main-header .main-nav .menu-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.main-header .main-nav .menu-center li {
  margin-left: 0;
}

.main-header .main-nav .menu-right {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.main-header .main-nav .menu-right li {
  margin-left: 16px;
}

/* Menú de WordPress */
.main-header nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.main-header nav ul li {
  margin-left: 20px;
}

.main-header nav a {
  color: #816d57;
  text-decoration: none;
  font-weight: 400;
  font-family: "Playfair Display", serif;
  font-style: normal;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.main-header nav a:hover {
  color: #cab296;
}

/* Icono de búsqueda */
.main-header .icon-search {
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

/* Botón hamburguesa */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #cab296;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* =====================
   Header Responsive
   ===================== */
@media (max-width: 768px) {
  .main-header {
    padding: 0.6rem 0;
    background: rgba(0, 0, 0, 0.85);
  }

  .main-header .container {
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .main-header .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    padding: 20px;
    flex-direction: column;
    gap: 15px;
  }

  .main-header .main-nav.active {
    display: flex;
  }

  .main-header .main-nav .menu-center,
  .main-header .main-nav .menu-right {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .main-header .main-nav .menu-right {
    margin-left: 0;
  }

  .main-header nav a {
    font-size: 1rem;
    color: #cab296;
  }

  .logo-img {
    height: 28px;
  }

  .menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

@media (max-width: 480px) {
  .main-header {
    padding: 0.4rem 0;
  }

  .logo-img {
    height: 24px;
  }
}

/* =====================
   Hero Section
   ===================== */
.hero {
  margin-top: -2px;
  padding: 0;
  position: relative;
  min-height: 60vh;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero img,
.hero-video {
  width: 100%;
  object-fit: cover;
  display: block;
}

/* =====================
   Secciones principales
   ===================== */
main section {
  padding-top: 40px;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: #816d57;
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.section-subtitle {
  max-width: 800px;
  margin: 0 auto;
}

/* =====================
   Sobre Mí Section
   ===================== */
.sobre-mi-section {
  background: linear-gradient(135deg, #f8f4f0 0%, #ede4d8 100%);
  position: relative;
  overflow: hidden;
}

.sobre-mi-content {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 0;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.sobre-mi-title {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 3.5rem;
  color: #2c2c2c;
  margin-bottom: 30px;
  line-height: 1.1;
}

.sobre-mi-title-logo {
  max-width: 370px;
  height: auto;
  display: block;
  margin-bottom: 15px;
}

.sobre-mi-description {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  color: #4a4a4a;
  line-height: 1.6;
  margin-bottom: 40px;
  font-style: italic;
}

.timeline-strip {
  margin: 10px 0 40px 0;
  display: flex;
  justify-content: flex-start;
}

.timeline-strip img {
  width: 100%;
  height: auto;
  display: block;
}

.sobre-mi-cta {
  margin-top: 30px;
}

.sobre-mi-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.sobre-mi-image img {
  height: auto;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .sobre-mi-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .sobre-mi-text {
    padding-right: 0;
    order: 2;
  }

  .sobre-mi-image {
    order: 1;
  }

  .sobre-mi-title {
    font-size: 2.8rem;
  }

  .timeline-strip {
    justify-content: center;
  }

  .timeline-strip img {
    max-width: 300px;
  }
}

@media (max-width: 600px) {
  .sobre-mi-section {
    padding: 40px 0;
  }

  .sobre-mi-title {
    font-size: 2rem;
  }

  .sobre-mi-description {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .sobre-mi-title-logo {
    max-width: 280px;
    margin: 0 auto 15px;
  }

  .sobre-mi-cta {
    margin-top: 20px;
  }
}

/* =====================
   Cómo hemos llegado
   ===================== */
.como-section {
  background-color: #f0e8e0;
  padding: 60px 0;
}

.como-title {
  text-align: center;
  margin-bottom: 40px;
}

.como-images {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
  margin-bottom: 40px;
}

.como-image-item {
  overflow: hidden;
}

.como-image-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.como-image-item.left {
  margin-right: 6px;
}

.como-image-item.right {
  margin-left: 6px;
}

.como-text {
  margin: 0 auto;
}

.como-text p {
  color: #6a6a6a;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.como-cta {
  margin-top: 30px;
}

@media (max-width: 900px) {
  .como-images {
    grid-template-columns: 1fr;
  }

  .como-image-item {
    width: 100%;
  }

  .como-image-item img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .como-section {
    padding: 40px 0;
  }

  .como-title {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }

  .como-images {
    margin-bottom: 25px;
    gap: 10px;
  }

  .como-image-item.left,
  .como-image-item.right {
    margin: 0;
  }

  .como-text p {
    font-size: 0.9rem;
  }

  .como-cta {
    margin-top: 20px;
  }
}

/* =====================
   Mi Metodología
   ===================== */
.methodology-section {
  padding-top: 40px;
  background: linear-gradient(135deg, #f8f4f0 0%, #ede4d8 100%);
}

.methodology-header {
  text-align: center;
  margin-bottom: 30px;
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.method-card {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.method-card .method-image {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.method-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.method-title {
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: #816d57;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.method-card .method-text {
  display: flex;
  flex-direction: column;
}

.method-text p {
  margin: 0;
  color: #cab296;
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .methods-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .methods-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .methodology-section {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .methodology-header {
    margin-bottom: 20px;
  }

  .methods-grid {
    gap: 25px;
    margin-top: 25px;
  }

  .method-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .method-text p {
    font-size: 0.9rem;
  }
}

/* =====================
   7 Módulos Section
   ===================== */
.modules-section-container {
  background-color: #f0e8e0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.modules-section {
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 1200px;
  width: 100%;
}

.modules-section>.section-title {
  text-align: left;
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.modules-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: start;
  flex: 1;
}

.modules-ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.modules-ol li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0px 12px;
  align-items: baseline;
}

.modules-ol .mod-num {
  font-weight: 800;
  color: #9b9b9b;
  font-size: 1.4rem;
}

.modules-ol .mod-title {
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: #816d57;
  font-size: 1.25rem;
}

.modules-ol p {
  grid-column: 2 / -1;
  margin-top: 2px;
}

.modules-cta {
  margin-top: 20px;
}

.modules-list {
  grid-column: 1;
  display: flex;
  flex-direction: column;
}

.modules-image {
  position: absolute;
  top: 0;
  right: 50px;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.modules-image img {
  width: auto;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 1240px) {
  .modules-image {
    padding-right: 40px;
  }
}

@media (max-width: 900px) {
  .modules-grid {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .modules-image {
    order: -1;
  }

  .modules-image img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .modules-section-container {
    display: block;
  }

  .modules-section {
    padding: 30px 20px;
  }

  .modules-section>.section-title {
    font-size: 1.5rem;
    text-align: center;
  }

  .modules-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .modules-image {
    position: relative;
    top: auto;
    right: auto;
    height: auto;
    padding-right: 0;
    margin-bottom: 20px;
  }

  .modules-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    object-position: top center;
  }

  .modules-ol .mod-num {
    font-size: 1.2rem;
  }

  .modules-ol .mod-title {
    font-size: 1.1rem;
  }
}

/* =====================
   Carrusel de imágenes
   ===================== */
.cta-preselection {
  background-color: #f3f0ed;
  padding-top: 2px;
}

.carousel-section {
  padding: 30px 0 0 !important;
}

.carousel {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.carousel-viewport {
  position: relative;
  height: 420px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.carousel-track {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.carousel-slide {
  width: 100%;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: #cab296;
  border: 1px solid rgba(242, 229, 214, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.65);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

@media (max-width: 768px) {
  .carousel-viewport {
    height: 280px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
  }
}

.intensive-block {
  margin-top: 28px;
  text-align: center;
}

.intensive-title {
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: #816d57;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.intensive-text {
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 30px;
}

/* =====================
   CTA Preselección
   ===================== */
.preselection-cta {
  text-align: center;
  padding: 28px 0 10px;
  position: relative;
}

.preselection-cta .cta-lead {
  max-width: 900px;
  margin: 0 auto 10px;
}

.preselection-cta .cta-strong {
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: #816d57;
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.preselection-cta .cta-action {
  margin-top: -60px;
}

@media (max-width: 768px) {
  .preselection-cta .cta-action {
    margin-top: -30px;
  }

  .preselection-cta .cta-strong {
    font-size: 1.1rem;
  }

  .btn-wide {
    max-width: 100%;
  }
}

/* =====================
   Videos - Testimonios
   ===================== */
.parent {
  background-color: #f0e8e0;
}

.videos-section {
  padding: 36px 0 10px;
  margin-top: 10px;
}

.videos-section.container {
  max-width: 1280px;
  padding-bottom: 50px;
}

.videos-section .section-title {
  text-align: center;
  margin-bottom: 30px;
}

.videos-carousel {
  position: relative;
}

.videos-viewport {
  overflow: hidden;
}

.videos-track {
  display: flex;
  gap: 12px;
  transition: transform 400ms ease;
  will-change: transform;
}

.video-card {
  border-radius: 10px;
  flex: 0 0 calc((100% - 12px * 4) / 5);
  overflow: hidden;
}

.video-frame {
  aspect-ratio: 4 / 5;
  background: #000;
}

.video-frame video,
.video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.video-meta {
  padding: 10px;
}

.video-name {
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: #816d57;
  margin-bottom: 6px;
}

.video-quote {
  font-size: 0.95rem;
  color: #cab296;
  opacity: 0.9;
}

.videos-carousel .carousel-btn {
  z-index: 5;
}

.videos-carousel .carousel-btn.prev {
  left: -20px;
}

.videos-carousel .carousel-btn.next {
  right: -20px;
}

@media (max-width: 1000px) {
  .video-card {
    flex-basis: calc((100% - 12px * 3) / 4);
  }
}

@media (max-width: 900px) {
  .video-card {
    flex-basis: calc((100% - 12px * 2) / 3);
  }
}

@media (max-width: 760px) {
  .video-card {
    flex-basis: calc((100% - 12px) / 2);
  }
}

@media (max-width: 620px) {
  .video-card {
    flex-basis: 100%;
  }
}

/* =====================
   Video a ancho completo
   ===================== */
.fullbleed-video-section {
  background-color: #f3f0ed;
}

.fullbleed-video-section,
.main-footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.fullbleed-video-wrap {
  position: relative;
  max-width: none;
  margin: 0 auto;
}

.fullbleed-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.fullbleed-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.fullbleed-play:hover svg circle {
  opacity: 1;
}

.fullbleed-video-wrap .fullbleed-play {
  transition: opacity 200ms ease;
}

.fullbleed-video-wrap.is-playing .fullbleed-play {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .fullbleed-video-section {
    padding: 15px 0;
  }

  .fullbleed-play svg {
    width: 50px;
    height: 50px;
  }
}

/* =====================
   Instagram Section
   ===================== */
.instagram-section {
  padding: 28px 0 50px;
}

.ig-header {
  text-align: center;
  margin-bottom: 16px;
}

.ig-handle {
  color: #816d57;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.btn-ig {
  display: inline-flex;
  align-items: center;
  background: #e9d5c0;
  color: #1a1a1a;
  border: 1px solid #e9d5c0;
  padding: 10px 16px;
  border-radius: 4px;
  text-decoration: none;
}

.btn-ig:hover {
  filter: brightness(0.95);
}

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

:root {
  --esc-bg: #151a1d;
  --esc-surface: #151a1d;
  --esc-surface-2: #1a2024;
  --esc-border: rgba(255, 255, 255, 0.10);
  --esc-text: #e7e1d8;
  --esc-muted: rgba(231, 225, 216, 0.75);
  --esc-brand: #cab296;
  --esc-brand-2: #c19660;
  --esc-link: #cab296;
}

body {
  background-color: var(--esc-bg);
  color: var(--esc-text);
}

.site-content {
  padding-top: 96px;
}

.main-header {
  background: rgba(15, 18, 20, 0.85);
  backdrop-filter: blur(8px);
}

a {
  color: var(--esc-link);
}

a:hover {
  color: var(--esc-brand-2);
}

.container {
  max-width: 1200px;
}

.btn,
button,
input[type="submit"],
.wp-element-button {
  background-color: var(--esc-brand);
  border-color: var(--esc-brand);
  color: #1a1a1a;
}

.btn:hover,
button:hover,
input[type="submit"]:hover,
.wp-element-button:hover {
  background-color: transparent;
  color: var(--esc-brand);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea,
select {
  background: var(--esc-surface);
  border: 1px solid var(--esc-border);
  color: var(--esc-text);
}

input::placeholder,
textarea::placeholder {
  color: rgba(231, 225, 216, 0.55);
}

.main-footer {
  background: var(--esc-surface);
  border-top: 1px solid var(--esc-border);
}

.main-footer .footer-text,
.main-footer a {
  color: var(--esc-muted);
}

.main-footer a:hover {
  color: var(--esc-brand);
}

.ld-course-list-content,
.learndash-wrapper,
.ld-item-list,
.ld-table-list {
  color: var(--esc-text);
}

.ld-course-list-content {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.ld-course-list-content .ld-course-list-items.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.ld-course-list-content .ld-course-list-items.row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 18px;
  padding: 0 !important;
  width: 100%;
}

.ld-course-list-content .ld-course-list-items.row>.ld_course_grid,
.ld-course-list-content .ld_course_grid.col-sm-4,
.ld-course-list-content .ld_course_grid.col-md-2,
.ld-course-list-content .ld_course_grid[class*="col-"] {
  width: auto !important;
  max-width: none !important;
  flex: 0 0 calc((100% - 36px) / 3) !important;
  max-width: calc((100% - 36px) / 3) !important;
  float: none !important;
  padding: 0 !important;
}

@media (max-width: 1000px) {
  .ld-course-list-content .ld-course-list-items.row {
    gap: 16px;
  }

  .ld-course-list-content .ld-course-list-items.row>.ld_course_grid,
  .ld-course-list-content .ld_course_grid.col-sm-4,
  .ld-course-list-content .ld_course_grid.col-md-2,
  .ld-course-list-content .ld_course_grid[class*="col-"] {
    flex-basis: calc((100% - 16px) / 2) !important;
    max-width: calc((100% - 16px) / 2) !important;
  }
}

@media (max-width: 640px) {
  .ld-course-list-content .ld-course-list-items.row {
    gap: 14px;
  }

  .ld-course-list-content .ld-course-list-items.row>.ld_course_grid,
  .ld-course-list-content .ld_course_grid.col-sm-4,
  .ld-course-list-content .ld_course_grid.col-md-2,
  .ld-course-list-content .ld_course_grid[class*="col-"] {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }
}

.ld-course-list-content .ld_course_grid_item,
.ld-course-list-content .ld-course-list-items>li,
.ld-course-list-content .ld-course-list-items>div {
  background: var(--esc-surface);
  border: 1px solid var(--esc-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.ld-course-list-content .ld_course_grid article.thumbnail {
  background: var(--esc-surface) !important;
  border: 1px solid var(--esc-border) !important;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  width: 100%;
}

.ld-course-list-content .ld_course_grid article.thumbnail * {
  border-color: var(--esc-border);
}

.ld-course-list-content .ld_course_grid article.thumbnail .ribbon {
  background: rgba(193, 150, 96, 0.95);
  color: #0f1214;
  font-weight: 700;
}

.ld-course-list-content .ld_course_grid article.thumbnail .caption {
  background: transparent !important;
  padding: 14px 14px 16px;
}

.ld-course-list-content .ld_course_grid article.thumbnail .entry-title {
  margin: 0 0 8px 0;
  color: var(--esc-text);
}

.ld-course-list-content .ld_course_grid article.thumbnail .entry-content p {
  color: var(--esc-muted);
}

.ld-course-list-content .ld_course_grid .ld_course_grid_button a.btn.btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 14px !important;
  border-radius: 999px !important;
  background: var(--esc-brand) !important;
  border: 1px solid var(--esc-brand) !important;
  color: #1a1a1a !important;
  font-weight: 600 !important;
}

.ld-course-list-content .ld_course_grid .ld_course_grid_button a.btn.btn-primary:hover {
  background: transparent !important;
  color: var(--esc-brand) !important;
}

.ld-course-list-content .ld_course_grid_item .thumbnail,
.ld-course-list-content .ld_course_grid_item .ld_course_grid_item__image,
.ld-course-list-content .ld_course_grid_item img {
  display: block;
  width: 100%;
  height: auto;
}

.ld-course-list-content .ld_course_grid_item .caption,
.ld-course-list-content .ld_course_grid_item .ld_course_grid_item__content {
  padding: 14px 14px 16px;
}

.ld-course-list-content .ld_course_grid_item h3,
.ld-course-list-content .ld_course_grid_item .entry-title,
.ld-course-list-content .ld_course_grid_item .ld_course_grid_title {
  margin: 0 0 8px 0;
  color: var(--esc-text);
  font-weight: 700;
  line-height: 1.25;
}

.ld-course-list-content .ld_course_grid_item .ld_course_grid_excerpt,
.ld-course-list-content .ld_course_grid_item p {
  color: var(--esc-muted);
}

.ld-course-list-content .ld_course_grid_item .ld_course_grid_button,
.ld-course-list-content .ld_course_grid_item a.button,
.ld-course-list-content .ld_course_grid_item a.ld-button,
.ld-course-list-content .ld_course_grid_item a {
  text-decoration: none;
}

.ld-course-list-content .ld_course_grid_item .ld_course_grid_button a,
.ld-course-list-content .ld_course_grid_item a.ld-button,
.ld-course-list-content .ld_course_grid_item a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--esc-brand);
  border: 1px solid var(--esc-brand);
  color: #1a1a1a;
  font-weight: 600;
}

.ld-course-list-content .ld_course_grid_item .ld_course_grid_button a:hover,
.ld-course-list-content .ld_course_grid_item a.ld-button:hover,
.ld-course-list-content .ld_course_grid_item a.button:hover {
  background: transparent;
  color: var(--esc-brand);
}

.learndash-wrapper .ld-button,
.learndash-wrapper a.ld-button,
.learndash-wrapper input[type="submit"],
.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-name .ld-item-title a,
.learndash-wrapper .ld-login-modal .ld-login-modal-form .ld-button {
  background: var(--esc-brand);
  border-color: var(--esc-brand);
  color: #1a1a1a;
}

.learndash-wrapper .ld-button:hover,
.learndash-wrapper a.ld-button:hover,
.learndash-wrapper input[type="submit"]:hover,
.learndash-wrapper .ld-login-modal .ld-login-modal-form .ld-button:hover {
  background: transparent;
  color: var(--esc-brand);
}

body.page-login-cursos:not(.logged-in) .learndash-wrapper .ld-login-button,
body.page-login-cursos:not(.logged-in) .learndash-wrapper .ld-login-modal-trigger,
body.page-login-cursos:not(.logged-in) .learndash-wrapper [data-ld-login-modal],
body.page-login-cursos:not(.logged-in) .learndash-wrapper [data-ld-trigger="login-modal"],
body.page-login-cursos:not(.logged-in) .learndash-wrapper a[href*="learndash_login"],
body.esc-login-cursos:not(.logged-in) .learndash-wrapper .ld-login-button,
body.esc-login-cursos:not(.logged-in) .learndash-wrapper .ld-login-modal-trigger,
body.esc-login-cursos:not(.logged-in) .learndash-wrapper [data-ld-login-modal],
body.esc-login-cursos:not(.logged-in) .learndash-wrapper [data-ld-trigger="login-modal"],
body.esc-login-cursos:not(.logged-in) .learndash-wrapper a[href*="learndash_login"] {
  display: none !important;
}

body.page-login-cursos.logged-in .learndash-wrapper .ld-login-button,
body.page-login-cursos.logged-in .learndash-wrapper .ld-login-modal-trigger,
body.page-login-cursos.logged-in .learndash-wrapper [data-ld-login-modal],
body.page-login-cursos.logged-in .learndash-wrapper [data-ld-trigger="login-modal"],
body.page-login-cursos.logged-in .learndash-wrapper a[href*="learndash_login"],
body.esc-login-cursos.logged-in .learndash-wrapper .ld-login-button,
body.esc-login-cursos.logged-in .learndash-wrapper .ld-login-modal-trigger,
body.esc-login-cursos.logged-in .learndash-wrapper [data-ld-login-modal],
body.esc-login-cursos.logged-in .learndash-wrapper [data-ld-trigger="login-modal"],
body.esc-login-cursos.logged-in .learndash-wrapper a[href*="learndash_login"] {
  display: flex;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.learndash-wrapper .ld-item-list .ld-item-list-item,
.learndash-wrapper .ld-table-list .ld-table-list-items,
.learndash-wrapper .ld-focus .ld-focus-sidebar,
.learndash-wrapper .ld-focus .ld-focus-header,
.learndash-wrapper .ld-focus .ld-focus-content {
  background: var(--esc-surface);
  border-color: var(--esc-border);
}

.learndash-wrapper .ld-breadcrumbs,
.learndash-wrapper .ld-breadcrumbs a {
  color: var(--esc-muted);
}

.learndash-wrapper .ld-breadcrumbs a:hover {
  color: var(--esc-brand);
}

.learndash-wrapper .ld-focus-sidebar .ld-course-navigation-heading,
.learndash-wrapper .ld-focus-sidebar .ld-course-navigation .ld-topic-list,
.learndash-wrapper .ld-focus-sidebar .ld-course-navigation .ld-lesson-list {
  background: transparent;
}

.learndash-wrapper .ld-status,
.learndash-wrapper .ld-status.ld-status-progress,
.learndash-wrapper .ld-status.ld-status-complete {
  border-color: var(--esc-border);
}

.learndash-wrapper .ld-course-status.ld-course-status-enrolled {
  background-color: transparent;
  border-radius: 10px;
  display: flex;
  padding: .1em .5em;
  border: 0.1em solid;
}

.learndash-wrapper .ld-progress,
.learndash-wrapper .ld-progress .ld-progress-bar,
.learndash-wrapper .ld-progress .ld-progress-bar-percentage {
  background: var(--esc-surface-2);
}

.learndash-wrapper .ld-progress .ld-progress-bar-percentage {
  background: var(--esc-brand);
}

.learndash-wrapper .ld-focus-header .ld-user-menu .ld-user-menu-items {
  background: var(--esc-surface-2);
  border: 1px solid var(--esc-border);
}

.learndash-wrapper .ld-focus-header .ld-user-menu .ld-user-menu-items a {
  color: var(--esc-text);
}

.learndash-wrapper .ld-focus-header .ld-user-menu .ld-user-menu-items a:hover {
  color: var(--esc-brand);
}

.learndash-wrapper .ld-focus,
.learndash-wrapper .ld-focus .ld-focus-main,
.learndash-wrapper .ld-focus .ld-focus-content,
.learndash-wrapper .ld-focus .ld-focus-content .ld-focus-content-container,
.learndash-wrapper .ld-focus .ld-focus-content .ld-topic-status,
.learndash-wrapper .ld-focus .ld-focus-content .ld-lesson-status,
.learndash-wrapper .ld-tabs,
.learndash-wrapper .ld-tabs .ld-tabs-navigation,
.learndash-wrapper .ld-tabs .ld-tabs-content,
.learndash-wrapper .ld-content-actions,
.learndash-wrapper .ld-content-actions .ld-content-actions-inner {
  background: var(--esc-surface);
  color: var(--esc-text);
}

.learndash-wrapper .ld-focus .ld-focus-content,
.learndash-wrapper .ld-tabs .ld-tabs-navigation,
.learndash-wrapper .ld-tabs .ld-tabs-content,
.learndash-wrapper .ld-content-actions {
  border-color: var(--esc-border);
}

.learndash-wrapper .ld-tabs .ld-tabs-navigation .ld-tab,
.learndash-wrapper .ld-tabs .ld-tabs-navigation .ld-tab a {
  color: var(--esc-text);
}

.learndash-wrapper .ld-tabs .ld-tabs-navigation .ld-tab.ld-active a,
.learndash-wrapper .ld-tabs .ld-tabs-navigation .ld-tab a:hover {
  color: var(--esc-brand);
}

.learndash-wrapper .ld-focus .ld-focus-content a {
  color: var(--esc-brand);
}

.learndash-wrapper .ld-focus .ld-focus-content a:hover {
  color: var(--esc-brand-2);
}

.learndash-wrapper .ld-focus .ld-focus-header,
.learndash-wrapper .ld-focus .ld-focus-header .ld-focus-header-content,
.learndash-wrapper .ld-focus .ld-focus-header .ld-focus-header-inner,
.learndash-wrapper .ld-focus .ld-focus-header .ld-progress,
.learndash-wrapper .ld-focus .ld-focus-header .ld-progress .ld-progress-bar,
.learndash-wrapper .ld-focus .ld-focus-header .ld-progress .ld-progress-bar-percentage,
.learndash-wrapper .ld-focus .ld-focus-header .ld-course-progress,
.learndash-wrapper .ld-focus .ld-content-actions,
.learndash-wrapper .ld-focus .ld-content-actions .ld-content-actions-inner,
.learndash-wrapper .ld-focus .ld-tabs .ld-tabs-navigation,
.learndash-wrapper .ld-focus .ld-focus-header {
  background-color: var(--esc-surface) !important;
  border-bottom: 1px solid var(--esc-border) !important;
}

.learndash-wrapper .ld-focus .ld-focus-content,
.learndash-wrapper .ld-focus .ld-focus-content .ld-focus-content-container,
.learndash-wrapper .ld-focus .ld-focus-content .ld-focus-content-container>div,
.learndash-wrapper .ld-focus .ld-topic-content,
.learndash-wrapper .ld-focus .ld-lesson-content,
.learndash-wrapper .ld-focus .ld-topic-status,
.learndash-wrapper .ld-focus .ld-lesson-status {
  background-color: var(--esc-surface) !important;
  color: var(--esc-text);
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-content .ld-focus-content-container,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-content .ld-focus-content-container>* {
  background-color: var(--esc-surface) !important;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-content .wp-block-group,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-content .wp-block-cover,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-content .wp-block-columns,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-content .wp-block-column,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-content .wp-block-media-text,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-content .elementor-section,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-content .elementor-container,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-content .elementor-widget-wrap {
  background-color: transparent !important;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-tabs .ld-tabs-content,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-tabs .ld-tabs-content .ld-tab-content,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-tabs .ld-tabs-content .ld-tab-content>div {
  background-color: var(--esc-surface) !important;
  color: var(--esc-text) !important;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-content .has-background,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-content .wp-block-group.has-background,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-content .wp-block-cover.has-background,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-content .wp-block-media-text.has-background {
  background-color: var(--esc-surface) !important;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-content .wp-block-group__inner-container {
  background-color: transparent !important;
}

.learndash-wrapper .ld-focus .ld-focus-content .ld-focus-content-container {
  border: 1px solid var(--esc-border);
}

.learndash-wrapper .ld-focus .ld-content-actions a,
.learndash-wrapper .ld-focus .ld-content-actions span {
  color: var(--esc-text);
}

.learndash-wrapper .ld-focus .ld-focus-sidebar,
.learndash-wrapper .ld-focus .ld-focus-sidebar-wrapper,
.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-focus-sidebar-wrapper,
.learndash-wrapper .ld-focus .ld-course-navigation,
.learndash-wrapper .ld-focus .ld-course-navigation .ld-course-navigation-heading {
  background-color: var(--esc-surface) !important;
  border-right: 1px solid var(--esc-border) !important;
  color: var(--esc-text) !important;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-sidebar {
  background-color: var(--esc-surface) !important;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-sidebar-wrapper {
  background-color: var(--esc-surface) !important;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-course-navigation {
  background-color: var(--esc-surface) !important;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-header {
  padding: 0 !important;
  min-height: 56px;
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--esc-border) !important;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-header>* {
  background-color: var(--esc-surface) !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-header,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-header * {
  color: var(--esc-text) !important;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-header a:hover {
  color: var(--esc-brand) !important;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-header .ld-course-progress {
  background-color: var(--esc-surface) !important;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-header .ld-course-progress *,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-header .ld-course-progress span {
  color: var(--esc-muted) !important;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-header .ld-course-progress .ld-progress-bar {
  background-color: rgba(255, 255, 255, 0.10) !important;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-header .ld-course-progress .ld-progress-bar-percentage,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-header .ld-course-progress .ld-progress-bar span {
  background-color: var(--esc-brand) !important;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-header .ld-progress,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-header .ld-progress .ld-progress-wrap {
  background: transparent !important;
  color: var(--esc-text) !important;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-header .ld-progress .ld-progress-percentage,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-header .ld-progress .ld-progress-steps {
  color: var(--esc-muted) !important;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-header .ld-progress .ld-progress-bar {
  background-color: rgba(255, 255, 255, 0.10) !important;
  border: 1px solid var(--esc-border) !important;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-header .ld-progress .ld-progress-bar-percentage {
  background-color: var(--esc-brand) !important;
}

body.ld-in-focus-mode .learndash-wrapper .ld-tabs .ld-tabs-navigation,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-tabs .ld-tabs-navigation,
body.ld-in-focus-mode .learndash-wrapper .ld-content-actions,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-content-actions,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-content-actions .ld-content-actions-inner {
  box-shadow: none !important;
  background-image: none !important;
  border-color: var(--esc-border) !important;
}

body.ld-in-focus-mode .learndash-wrapper .ld-tabs .ld-tabs-navigation {
  border-bottom: 1px solid var(--esc-border) !important;
}

body.ld-in-focus-mode .learndash-wrapper .ld-tabs .ld-tabs-navigation:before,
body.ld-in-focus-mode .learndash-wrapper .ld-tabs .ld-tabs-navigation:after,
body.ld-in-focus-mode .learndash-wrapper .ld-content-actions:before,
body.ld-in-focus-mode .learndash-wrapper .ld-content-actions:after {
  display: none !important;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus hr,
body.ld-in-focus-mode .learndash-wrapper .ld-focus-content hr {
  border-color: var(--esc-border) !important;
  background: transparent !important;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-tab-content .esc-ld-materials {
  margin-top: 12px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--esc-border);
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-tab-content .esc-ld-material {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-tab-content .esc-ld-material:first-child {
  border-top: none;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-tab-content .esc-ld-material__left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-tab-content .esc-ld-material__fileicon {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  opacity: 0.95;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-tab-content .esc-ld-material__text {
  min-width: 0;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-tab-content .esc-ld-material__name {
  font-weight: 500;
  color: var(--esc-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 560px;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-tab-content .esc-ld-material__right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-tab-content .esc-ld-material__download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 500;
  color: var(--esc-text);
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-tab-content .esc-ld-material__download:hover {
  color: var(--esc-brand);
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-tab-content .esc-ld-material__dlicon {
  width: 18px;
  height: 18px;
  opacity: 0.9;
}

@media (max-width: 640px) {
  body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-tab-content .esc-ld-material__name {
    max-width: 240px;
  }

  body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-tab-content .esc-ld-material__download span {
    display: none;
  }
}

.learndash-wrapper .ld-focus .ld-focus-sidebar a,
.learndash-wrapper .ld-focus .ld-focus-sidebar button,
.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation a {
  color: var(--esc-text);
}

.learndash-wrapper .ld-focus .ld-focus-sidebar a:hover,
.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation a:hover {
  color: var(--esc-brand);
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-sidebar svg,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-sidebar svg * {
  fill: currentColor;
  stroke: currentColor;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-expand-button,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-expand-button * {
  color: var(--esc-muted) !important;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-expand-button:hover,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-expand-button:hover * {
  color: var(--esc-brand) !important;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-sidebar,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-sidebar-wrapper,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-course-navigation {
  scrollbar-color: rgba(255, 255, 255, 0.25) var(--esc-surface);
  scrollbar-width: thin;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-sidebar::-webkit-scrollbar,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-sidebar-wrapper::-webkit-scrollbar,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-course-navigation::-webkit-scrollbar {
  width: 10px;
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-sidebar::-webkit-scrollbar-track,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-sidebar-wrapper::-webkit-scrollbar-track,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-course-navigation::-webkit-scrollbar-track {
  background: var(--esc-surface);
}

body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-sidebar::-webkit-scrollbar-thumb,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-focus-sidebar-wrapper::-webkit-scrollbar-thumb,
body.ld-in-focus-mode .learndash-wrapper .ld-focus .ld-course-navigation::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  border: 2px solid var(--esc-surface);
}

html,
body,
body.ld-in-focus-mode {
  background: var(--esc-bg) !important;
}

body.ld-in-focus-mode .learndash-wrapper {
  padding-bottom: 0px;
}

.learndash-wrapper .ld-focus .ld-focus-header .ld-brand-logo {
  background-color: var(--esc-surface) !important;
}

.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item {
  background-color: var(--esc-surface) !important;
  border-bottom: 1px solid var(--esc-border) !important;
}

.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-topic-list,
.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-list {
  background: transparent !important;
}

.learndash-wrapper .ld-breadcrumbs {
  background: var(--esc-surface-2) !important;
  border: 1px solid var(--esc-border) !important;
  border-radius: 10px;
}

.learndash-wrapper .ld-breadcrumbs,
.learndash-wrapper .ld-breadcrumbs * {
  color: var(--esc-muted) !important;
}

.learndash-wrapper .ld-breadcrumbs a {
  color: var(--esc-brand) !important;
}

.ig-item {
  border-radius: 6px;
  overflow: hidden;
  background: #000;
}

.ig-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  object-position: top center;
  display: block;
}

@media (max-width: 900px) {
  .ig-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ig-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================
   Footer
   ===================== */
.main-footer {
  background: #0e0e0e;
  padding: 50px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

.footer-title {
  color: #816d57;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.footer-text {
  color: #ddd3c7;
  max-width: 420px;
}

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

.footer-links a {
  color: #f4f4f4;
  text-decoration: none;
  display: inline-block;
  padding: 6px 0;
}

.footer-links a:hover {
  color: #816d57;
}

.main-footer .container {
  max-width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .main-footer {
    padding: 35px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }

  .footer-title {
    font-size: 0.9rem;
  }

  .footer-text {
    font-size: 0.9rem;
  }

  .footer-links a {
    font-size: 0.9rem;
    padding: 4px 0;
  }

  .btn-cta-light {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}

/* =====================
   Responsive General
   ===================== */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  main section {
    padding-top: 30px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .hero {
    min-height: 50vh;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  main section {
    padding-top: 20px;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .hero {
    min-height: 40vh;
  }

  .hero-video {
    min-height: 40vh;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .btn-chip {
    padding: 5px 14px;
    font-size: 0.85rem;
  }
}

/* =====================
   Soporte Elementor
   ===================== */
.elementor-page .main-header {
  position: fixed;
}

/* Asegurar que Elementor no rompa el header */
body.elementor-page {
  padding-top: 0;
}

/* Páginas de Elementor con contenido full-width */
.elementor-template-full-width .site-content {
  max-width: 100%;
  padding: 0;
}