@charset "UTF-8";
/**
 * Main SASS File - Tema ETD
 * 
 * Este archivo importa todos los archivos SASS del tema.
 * Compilar este archivo genera el style.css final.
 * 
 * Orden de importación:
 * 1. Variables (deben ir primero)
 * 2. Mixins (dependen de variables)
 * 3. Base (estilos base y reset)
 * 4. Components (componentes reutilizables)
 * 5. Layouts (estructura de página)
 * 6. Utilities (utilidades y helpers)
 */
/* ============================================
   1. Variables
   ============================================ */
/**
 * Variables SASS - Tema ETD
 * Define todas las variables reutilizables del tema
 */
/* ============================================
   2. Mixins
   ============================================ */
/**
 * Mixins SASS - Tema ETD
 * Funciones reutilizables para el tema
 */
/**
 * Media Queries
 */
/**
 * Flexbox utilities
 */
/**
 * Grid utilities
 */
/**
 * Truncate text
 */
/**
 * Button styles
 */
/**
 * Card styles
 */
/**
 * Visually hidden (for accessibility)
 */
/**
 * Clearfix
 */
/**
 * Container
 */
/**
 * Button with icon SVG
 */
/**
 * Card with hover lift effect
 */
/**
 * Responsive grid with auto-collapse
 */
/**
 * Button loading state
 */
/**
 * Spinner animation
 */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/**
 * Aspect ratio box
 */
/**
 * Focus visible styles
 */
/**
 * Smooth scroll
 */
/* ============================================
   3. Base Styles
   ============================================ */
/**
 * Base Styles - Tema ETD
 * Estilos base y reset
 */
/* Reset y normalización */
* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #23282d;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  color: #23282d;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.125rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.875rem;
}

p {
  margin: 0 0 1rem 0;
}

a {
  color: #0073aa;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover, a:focus {
  color: rgb(0, 103.5, 153);
  text-decoration: underline;
}

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

/* Listas */
ul, ol {
  margin: 0 0 1rem 0;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.25rem;
}

/* Formularios */
input,
textarea,
select,
button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button {
  cursor: pointer;
}

/* Utilidades de texto */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-muted {
  color: #8c8f94;
}

.text-light {
  color: #646970;
}

/* Utilidades de espaciado */
.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 2rem;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 2rem;
}

.p-0 {
  padding: 0;
}

.p-1 {
  padding: 0.25rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 1rem;
}

.p-4 {
  padding: 1.5rem;
}

.p-5 {
  padding: 2rem;
}

.blog_tag {
  background-color: #fff;
  max-width: 128px;
  padding: 8px 24px;
  margin: 0 auto;
  border-radius: 48px;
}

/* Sobrescribir estilos de Astra para enlaces */
.ast-single-post .entry-content a,
.ast-comment-content a:not(.ast-comment-edit-reply-wrap a),
.woocommerce-js .woocommerce-product-details__short-description a {
  text-decoration: none;
}

.etd_center_container {
  /* margin: 0 auto; */
  justify-self: anchor-center;
  width: 100%;
}

/* ============================================
   4. Components
   ============================================ */
/**
 * Lazy Loading - Componente ETD
 */
.etd-lazy-load {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.etd-lazy-loaded {
  opacity: 1;
}

/**
 * Admin Dashboard - Componente ETD
 */
.etd-admin-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.etd-stats-card {
  background: #ffffff;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}
.etd-stats-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.etd-stats-card h3 {
  margin: 0 0 1rem 0;
  color: #23282d;
  font-size: 1.125rem;
  font-weight: 600;
}
.etd-stats-card .etd-stats-number {
  font-size: 2rem;
  font-weight: 700;
  color: #0073aa;
  line-height: 1.2;
  margin: 0.5rem 0;
}

/**
 * Buttons - Componente ETD
 */
.etd-button {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}
.etd-button:hover, .etd-button:focus {
  text-decoration: none;
  outline: none;
}
.etd-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.etd-button-primary {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}
.etd-button-primary:hover, .etd-button-primary:focus {
  text-decoration: none;
  outline: none;
}
.etd-button-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.etd-button-primary {
  background-color: #0073aa;
  color: #ffffff;
  border-color: #0073aa;
}
.etd-button-primary:hover {
  background-color: rgb(0, 103.5, 153);
  border-color: rgb(0, 103.5, 153);
}

.etd-button-secondary {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}
.etd-button-secondary:hover, .etd-button-secondary:focus {
  text-decoration: none;
  outline: none;
}
.etd-button-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.etd-button-secondary {
  background-color: #00a0d2;
  color: #ffffff;
  border-color: #00a0d2;
}
.etd-button-secondary:hover {
  background-color: #0090bd;
  border-color: #0090bd;
}

.etd-button-outline {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}
.etd-button-outline:hover, .etd-button-outline:focus {
  text-decoration: none;
  outline: none;
}
.etd-button-outline:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.etd-button-outline {
  background-color: transparent;
  color: #0073aa;
  border-color: #0073aa;
}
.etd-button-outline:hover {
  background-color: #0073aa;
  color: #ffffff;
}

/**
 * Cards - Componente ETD
 */
.etd-card {
  background: #ffffff;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}
.etd-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.etd-card-header {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #f0f0f1;
}
.etd-card-header h1, .etd-card-header h2, .etd-card-header h3, .etd-card-header h4, .etd-card-header h5, .etd-card-header h6 {
  margin: 0;
}

.etd-card-body {
  padding: 1rem 0;
}

.etd-card-footer {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid #f0f0f1;
}

/**
 * Slider Component
 * Estilos para el slider de portada basado en el CPT Slider
 */
.etd-slider {
  --etd-slider-height: 800px;
  --etd-slider-overlay: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.15) 100%);
  --etd-slider-accent: #6bb1e2;
  --etd-slider-bg: #23282d;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  background: var(--etd-slider-bg);
  width: 100%;
  min-height: var(--etd-slider-height);
}

.etd-slider__track {
  position: relative;
  min-height: var(--etd-slider-height);
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.etd-slider__slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  min-height: var(--etd-slider-height);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.6s ease;
  display: flex;
  align-items: center;
  z-index: 1;
  pointer-events: none;
}
.etd-slider__slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: var(--etd-slider-overlay);
  z-index: 1;
}
.etd-slider__slide.is-active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

.etd-slider__frame {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(20px, 4vw, 2.5rem);
  box-sizing: border-box;
}

.etd-slider__content {
  position: relative;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-sizing: border-box;
}

.etd-slider__text {
  display: flex;
  flex-direction: column;
  width: 46vw;
}

.etd-slider__kicker {
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  margin: 0 0 0.75rem;
  opacity: 0.9;
  color: #ffffff;
}

.etd-slider__title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 400;
  margin: 0 0 8px;
  color: #ffffff;
}
.etd-slider__title strong,
.etd-slider__title b {
  font-weight: 700;
  color: #ffffff;
}

.etd-slider__desc {
  font-size: 1.3rem;
  line-height: 1.1;
  margin: 16px 0 8px;
  max-width: 40vw;
  color: #ffffff;
}

.etd-slider__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.etd-slider__btn {
  background: #6bb1e2;
  color: #fff;
  padding: 10px 48px;
  border-radius: 4px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
}
.etd-slider__btn:hover, .etd-slider__btn:focus {
  background: #ffdb57;
  color: #0c1117;
}

.etd-slider__podcast-links {
  display: flex;
  gap: 20px;
  padding-left: 20px;
  margin: 0;
}

.etd-slider__podcast-link {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #6BB1E2;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}
.etd-slider__podcast-link:hover, .etd-slider__podcast-link:focus {
  background-color: rgba(107, 177, 226, 0.8);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}
.etd-slider__podcast-link svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.etd-slider__podcast-icon {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}
.etd-slider__podcast-link:hover .etd-slider__podcast-icon, .etd-slider__podcast-link:focus .etd-slider__podcast-icon {
  filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(255, 255, 255, 0.3));
}

.etd-slider__podcast-text {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.etd-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  backdrop-filter: blur(4px);
  color: #fff;
  background-color: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}
.etd-slider__nav:hover {
  background: rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-50%) scale(1.1);
}
.etd-slider__nav:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}
.etd-slider__nav svg {
  width: 18px;
  height: 18px;
  display: block;
  pointer-events: none;
}
.etd-slider__nav svg path {
  fill: #fff !important;
  stroke: none;
}
.etd-slider__nav--prev {
  left: 16px;
}
.etd-slider__nav--next {
  right: 16px;
}
.etd-slider__nav[hidden] {
  display: none !important;
}

.etd-slider__dots {
  position: absolute;
  left: 28px;
  bottom: 18px;
  display: flex;
  gap: 8px;
  z-index: 3;
  justify-self: anchor-center;
}
.etd-slider__dots[hidden] {
  display: none;
}

.etd-slider__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}
.etd-slider__dot.is-active {
  width: 18px;
  background: #fff;
}

@media (max-width: 960px) {
  .etd-slider {
    --etd-slider-height: 500px;
    border-radius: 12px;
  }
  .etd-slider__content {
    padding: clamp(32px, 6vw, 60px);
  }
}
@media (max-width: 680px) {
  .etd-slider {
    --etd-slider-height: 450px;
  }
  .etd-slider__title {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }
  .etd-slider__desc {
    font-size: 1rem;
  }
  .etd-slider__actions {
    align-items: flex-start;
  }
  .etd-slider__nav {
    width: 34px;
    height: 34px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .etd-slider__slide,
  .etd-slider__dot {
    transition: none;
  }
}
/**
 * Legal Page Template Styles
 * 
 * Estilos para la plantilla de página legal (Términos y Condiciones, 
 * Política de Privacidad, etc.)
 */
.etd-legal-page .content-area {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
.etd-legal-page .site-main {
  width: 100%;
}

.etd-legal-content {
  background: #ffffff;
  border-radius: 8px;
  padding: 3rem 2.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
@media (max-width: 768px) {
  .etd-legal-content {
    padding: 2rem 1.5rem;
  }
}

.etd-legal-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #e5e5e5;
  text-align: center;
}
@media (max-width: 768px) {
  .etd-legal-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
  }
}

.etd-legal-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: #1a1a1a;
}
@media (max-width: 960px) {
  .etd-legal-title {
    font-size: 2rem;
  }
}
@media (max-width: 680px) {
  .etd-legal-title {
    font-size: 1.75rem;
  }
}

.etd-legal-excerpt {
  font-size: 1.125rem;
  color: #666;
  margin: 0;
  line-height: 1.6;
  font-style: italic;
}
@media (max-width: 680px) {
  .etd-legal-excerpt {
    font-size: 1rem;
  }
}

.etd-legal-body {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  max-width: 100%;
}
.etd-legal-body p {
  margin-bottom: 1.5rem;
}
.etd-legal-body p:last-child {
  margin-bottom: 0;
}
.etd-legal-body h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 2.5rem 0 1.25rem;
  color: #1a1a1a;
  line-height: 1.3;
}
.etd-legal-body h2:first-of-type {
  margin-top: 0;
}
@media (max-width: 680px) {
  .etd-legal-body h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
  }
}
.etd-legal-body h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: #1a1a1a;
  line-height: 1.3;
}
@media (max-width: 680px) {
  .etd-legal-body h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
  }
}
.etd-legal-body h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
  color: #1a1a1a;
  line-height: 1.3;
}
@media (max-width: 680px) {
  .etd-legal-body h4 {
    font-size: 1.125rem;
  }
}
.etd-legal-body ul,
.etd-legal-body ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}
.etd-legal-body ul li,
.etd-legal-body ol li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}
.etd-legal-body ul li:last-child,
.etd-legal-body ol li:last-child {
  margin-bottom: 0;
}
.etd-legal-body ul {
  list-style-type: disc;
}
.etd-legal-body ol {
  list-style-type: decimal;
}
.etd-legal-body blockquote {
  border-left: 4px solid #e5e5e5;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #666;
}
.etd-legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9375rem;
}
.etd-legal-body table th,
.etd-legal-body table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e5e5e5;
}
.etd-legal-body table th {
  background-color: #f5f5f5;
  font-weight: 600;
  color: #1a1a1a;
}
.etd-legal-body table tr:last-child th,
.etd-legal-body table tr:last-child td {
  border-bottom: none;
}
.etd-legal-body a {
  color: #0073aa;
  text-decoration: underline;
  transition: color 0.2s ease;
}
.etd-legal-body a:hover, .etd-legal-body a:focus {
  color: #005177;
}
.etd-legal-body strong {
  font-weight: 600;
  color: #1a1a1a;
}
.etd-legal-body em {
  font-style: italic;
}
.etd-legal-body code {
  background-color: #f5f5f5;
  padding: 0.125rem 0.375rem;
  border-radius: 3px;
  font-family: "Courier New", monospace;
  font-size: 0.9em;
}
.etd-legal-body pre {
  background-color: #f5f5f5;
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
  margin: 1.5rem 0;
}
.etd-legal-body pre code {
  background: none;
  padding: 0;
}
.etd-legal-body hr {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 2.5rem 0;
}
.etd-legal-body .page-links {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e5e5;
  font-size: 0.9375rem;
  color: #666;
}
.etd-legal-body .page-links a {
  margin: 0 0.25rem;
}

.etd-legal-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e5e5;
  font-size: 0.875rem;
  color: #999;
}
.etd-legal-footer .edit-link a {
  color: #666;
  text-decoration: none;
}
.etd-legal-footer .edit-link a:hover, .etd-legal-footer .edit-link a:focus {
  color: #0073aa;
  text-decoration: underline;
}

.etd-legal-page.content-area {
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

body.page-template-page-legal .ast-separate-container .ast-container {
  max-width: 900px;
}

/**
 * WooCommerce Custom Styles
 * 
 * Estilos personalizados para WooCommerce
 */
.woocommerce-js h2 {
  margin-bottom: 0;
}

/**
 * Single Product Template Styles
 * 
 * Estilos para la plantilla personalizada de productos
 */
.single-product #primary,
.single-product #content,
.single-product .site-content,
.single-product .ast-separate-container .ast-article-single,
.single-product .ast-separate-container #primary,
.single-product .ast-container {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}
.single-product main {
  margin: 0 !important;
  padding: 0 !important;
}
.single-product .content-area.primary,
.single-product .content-area {
  margin: 0 !important;
  padding: 0 !important;
}
.single-product .ast-separate-container.ast-single-post #primary {
  margin: 0 !important;
  padding: 0 !important;
}
.single-product .ast-builder-grid-row {
  max-width: 1200px !important;
  margin: 0 auto !important;
  width: 100% !important;
}

.etd-single-product-wrapper {
  background: #ffffff;
  overflow-x: hidden;
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

.etd-single-product {
  max-width: 100% !important;
  width: 100% !important;
}

.woocommerce-page .etd-single-product-wrapper {
  margin: 0 !important;
  padding: 0 !important;
}

.single-product #primary,
.single-product #content,
.single-product .site-content,
.single-product .ast-container {
  margin: 0 !important;
  padding: 0 !important;
}
.single-product #primary .etd-single-product-wrapper,
.single-product #content .etd-single-product-wrapper,
.single-product .site-content .etd-single-product-wrapper,
.single-product .ast-container .etd-single-product-wrapper {
  margin: 0 !important;
  padding: 0 !important;
}

.etd-single-product-wrapper .etd-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.etd-single-product-wrapper .etd-container h2 {
  font-size: 2.5rem;
  font-weight: 400;
  margin: 0 0 1.25rem;
  color: #333333;
}
@media (max-width: 1199px) {
  .etd-single-product-wrapper .etd-container h2 {
    font-size: 1.8rem;
  }
}
@media (max-width: 767px) {
  .etd-single-product-wrapper .etd-container h2 {
    font-size: 1.5rem;
  }
}
@media (max-width: 767px) {
  .etd-single-product-wrapper .etd-container {
    padding: 0 1rem;
  }
}

.etd-product-hero .etd-container {
  padding: 0 2.5rem !important;
}
@media (max-width: 767px) {
  .etd-product-hero .etd-container {
    padding: 0 20px !important;
  }
}

/**
 * Hero Section - Fullwidth con contenido framed
 */
.etd-product-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
@media (max-width: 767px) {
  .etd-product-hero {
    min-height: 450px;
    height: auto;
  }
}

.etd-product-hero__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.etd-product-hero__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.etd-product-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.etd-product-hero__content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  width: 100%;
}
@media (max-width: 767px) {
  .etd-product-hero__content {
    padding: 2.5rem 0 1.5rem;
  }
}

.etd-product-hero__title {
  font-size: 3rem;
  font-weight: 500;
  margin: 0 0 1rem;
  color: #ffffff;
}
@media (max-width: 1199px) {
  .etd-product-hero__title {
    font-size: 2.5rem;
  }
}
@media (max-width: 767px) {
  .etd-product-hero__title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }
}

.etd-product-hero__excerpt {
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
  max-width: 600px;
  color: #ffffff;
  font-weight: 300;
}
@media (max-width: 767px) {
  .etd-product-hero__excerpt {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }
}

.etd-product-hero__cta {
  margin-bottom: 2rem;
}
@media (max-width: 767px) {
  .etd-product-hero__cta {
    margin-bottom: 1.5rem;
  }
}
.etd-product-hero__cta .cart {
  margin: 0;
}
.etd-product-hero__cta .cart .single_add_to_cart_button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.etd-product-hero__cta .cart .single_add_to_cart_button svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.etd-product-hero__cta .cart .single_add_to_cart_button {
  padding: 0.75rem 2rem;
  background-color: #ffd700;
  color: #222222;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.etd-product-hero__cta .cart .single_add_to_cart_button:hover, .etd-product-hero__cta .cart .single_add_to_cart_button:focus {
  background-color: #ffdf33;
  color: #222222;
  text-decoration: none;
}
@media (max-width: 767px) {
  .etd-product-hero__cta .cart .single_add_to_cart_button {
    padding: 10px 28px;
    font-size: 0.95rem;
  }
}
.etd-product-hero__cta .cart .quantity {
  display: none;
}

.etd-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.etd-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.etd-btn {
  padding: 10px 28px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  line-height: 1.4;
}
@media (max-width: 767px) {
  .etd-btn {
    padding: 10px 1.5rem;
    font-size: 0.9rem;
  }
}

.etd-btn--primary {
  background-color: #ffd700;
  color: #222222;
}
.etd-btn--primary:hover, .etd-btn--primary:focus {
  background-color: #222222;
  color: #ffffff;
  text-decoration: none;
}

.etd-btn--secondary {
  background-color: rgba(107, 177, 226, 0.9);
  color: #ffffff;
}
.etd-btn--secondary:hover, .etd-btn--secondary:focus {
  background-color: #6bb1e2;
  transform: translateY(-2px);
  text-decoration: none;
}

/**
 * Badges Section - Fuera del hero
 */
.etd-product-badges-section {
  padding: 2rem 0;
  background: #6bb1e2;
}
@media (max-width: 767px) {
  .etd-product-badges-section {
    padding: 1.5rem 0;
  }
}

.etd-product-hero__badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  width: 100%;
}
@media (max-width: 767px) {
  .etd-product-hero__badges {
    gap: 10px;
  }
}

.etd-product-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 400;
  color: #ffffff;
  flex: 0 0 calc(25% - 16px);
  text-align: center;
  transition: all 0.3s ease;
}
.etd-product-badge svg {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  color: #ffffff;
}
.etd-product-badge img {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}
@media (max-width: 767px) {
  .etd-product-badge img {
    width: 16px;
    height: 16px;
  }
}
@media (max-width: 767px) {
  .etd-product-badge {
    font-size: 0.875rem;
    padding: 10px 1rem;
    gap: 6px;
    flex: 0 0 calc(50% - 5px);
  }
  .etd-product-badge svg {
    width: 16px;
    height: 16px;
  }
}

/**
 * Learning Section (¿Qué aprenderás? + Formulario)
 */
.etd-product-learning {
  padding: 4em 0;
  background: #f6f7f7;
}
@media (max-width: 767px) {
  .etd-product-learning {
    padding: 2.5rem 0;
  }
}

.etd-product-learning__grid {
  display: flex;
  gap: 3.75rem;
  align-items: start;
  justify-content: space-between;
}
@media (max-width: 991px) {
  .etd-product-learning__grid {
    flex-direction: column;
    gap: 2.5rem;
  }
}

.etd-product-learning__content {
  max-width: 50%;
}
.etd-product-learning__content h2 {
  font-size: 2.2rem;
  font-weight: 400;
  margin: 0 0 20px;
  color: #222222;
}
@media (max-width: 768px) {
  .etd-product-learning__content h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
  }
}

.etd-product-learning__form {
  width: 40%;
}

.etd-product-learning__description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #646970;
}
.etd-product-learning__description p {
  margin-bottom: 14px;
}
.etd-product-learning__description ul, .etd-product-learning__description ol {
  margin: 14px 0;
  padding-left: 1.5rem;
}
.etd-product-learning__description li {
  margin-bottom: 0.5rem;
}

.etd-form-box {
  background: #6bb1e2;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
@media (max-width: 767px) {
  .etd-form-box {
    padding: 28px 1.5rem;
  }
}
.etd-form-box h3 {
  font-size: 2rem;
  font-weight: 400;
  margin: 0 0 1.25rem;
  color: #ffffff;
}
@media (max-width: 767px) {
  .etd-form-box h3 {
    font-size: 1.15rem;
    margin-bottom: 18px;
  }
}
.etd-form-box .wpcf7-form label {
  color: #ffffff;
}
.etd-form-box .wpcf7-form input.wpcf7-form-control:not([type=submit]),
.etd-form-box .wpcf7-form textarea.wpcf7-form-control {
  border: none;
  border-radius: 8px;
}

.etd-product-learning__form__description {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 1.25rem;
  color: #ffffff;
}

/**
 * Features Section (Cursos modulares)
 */
.etd-product-features {
  padding: 3.75rem 0;
  background: linear-gradient(135deg, #6bb1e2 0%, rgb(64.3559322034, 154.5254237288, 217.6440677966) 100%);
  text-align: center;
  color: #ffffff;
}
@media (max-width: 767px) {
  .etd-product-features {
    padding: 2.5rem 0;
  }
}
.etd-product-features h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: #ffffff;
}
@media (max-width: 767px) {
  .etd-product-features h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }
}

.etd-product-features__subtitle {
  font-size: 1.1rem;
  margin: 0 auto 2.5rem;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.95);
}
@media (max-width: 767px) {
  .etd-product-features__subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
}

.etd-product-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}
@media (max-width: 1199px) {
  .etd-product-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .etd-product-features__grid {
    grid-template-columns: 1fr;
  }
}
.etd-product-features__grid {
  margin-top: 2.5rem;
}
@media (max-width: 991px) {
  .etd-product-features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}
@media (max-width: 479px) {
  .etd-product-features__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.etd-feature-item {
  text-align: center;
}

.etd-feature-item__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}
.etd-feature-item__icon svg {
  width: 40px;
  height: 40px;
  color: #ffffff;
}
@media (max-width: 767px) {
  .etd-feature-item__icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
  }
  .etd-feature-item__icon svg {
    width: 32px;
    height: 32px;
  }
}

.etd-feature-item__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: #ffffff;
}
@media (max-width: 767px) {
  .etd-feature-item__title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
}

.etd-feature-item__description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}
@media (max-width: 767px) {
  .etd-feature-item__description {
    font-size: 0.9rem;
  }
}

/**
 * Study Plan Section (Plan de estudio)
 */
.etd-product-study-plan {
  padding: 3.75rem 0;
  background: #f6f7f7;
}
@media (max-width: 767px) {
  .etd-product-study-plan {
    padding: 2.5rem 0;
  }
}

.etd-study-plan__wrapper {
  display: flex;
  flex-direction: row;
  gap: 3.75rem;
  align-items: start;
  justify-content: space-between;
}
@media (max-width: 1199px) {
  .etd-study-plan__wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.etd-study-plan__content {
  min-width: 0;
}
.etd-study-plan__content h2 {
  font-size: 2rem;
  font-weight: 400;
  margin: 0 0 2rem;
  color: #222222;
}
@media (max-width: 767px) {
  .etd-study-plan__content h2 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
  }
}

.etd-study-plan__text {
  font-size: 1rem;
  line-height: 1.8;
  color: #333333;
}
.etd-study-plan__text h3, .etd-study-plan__text h4, .etd-study-plan__text h5 {
  margin-top: 2rem;
  margin-bottom: 15px;
  color: #222222;
  font-weight: 600;
}
.etd-study-plan__text h3 {
  font-size: 1.5rem;
}
.etd-study-plan__text h4 {
  font-size: 1.25rem;
}
.etd-study-plan__text ul, .etd-study-plan__text ol {
  margin: 15px 0;
  padding-left: 2rem;
}
.etd-study-plan__text ul li, .etd-study-plan__text ol li {
  margin-bottom: 10px;
}
.etd-study-plan__text p {
  margin-bottom: 15px;
}
@media (max-width: 767px) {
  .etd-study-plan__text {
    font-size: 0.95rem;
  }
  .etd-study-plan__text h3 {
    font-size: 1.3rem;
  }
  .etd-study-plan__text h4 {
    font-size: 1.1rem;
  }
}

.etd-study-plan__sidebar {
  position: sticky;
  top: 100px;
}
@media (max-width: 1199px) {
  .etd-study-plan__sidebar {
    position: static;
    order: -1;
  }
}

.etd-study-plan__modules {
  margin-top: 3.75rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (max-width: 767px) {
  .etd-study-plan__modules {
    margin-top: 2.5rem;
    gap: 15px;
  }
}

.etd-module-item {
  display: grid;
  grid-template-columns: 10% 35% 35% 15%;
  gap: 1.25rem;
  border-radius: 8px;
  align-items: start;
  justify-content: space-between;
}
@media (max-width: 1199px) {
  .etd-module-item {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.etd-module-item__number {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background-color: #b5dffe;
  padding: 1rem;
  border-radius: 4px;
}
.etd-module-item__number h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #222222;
  margin: 0;
}
@media (max-width: 767px) {
  .etd-module-item__number h3 {
    font-size: 0.95rem;
  }
}

.etd-module-item__duration {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #23282d;
  padding-bottom: 0.5rem;
}
.etd-module-item__duration svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.etd-module-item__content {
  padding: 1rem;
  background-color: #b5dffe;
  border-radius: 4px;
}
.etd-module-item__content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #222222;
  margin: 0 0 10px;
  letter-spacing: 0;
}
@media (max-width: 767px) {
  .etd-module-item__content h4 {
    font-size: 1rem;
  }
}
.etd-module-item__content p {
  font-size: 0.75rem;
  line-height: 1.3;
  color: #23282d;
  margin: 0;
}
@media (max-width: 767px) {
  .etd-module-item__content p {
    font-size: 0.9rem;
  }
}

.etd-module-item__sessions {
  background-color: #b5dffe;
  border-radius: 4px;
  padding: 1rem;
}
.etd-module-item__sessions h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #222222;
  margin: 0 0 0.75rem;
}
@media (max-width: 767px) {
  .etd-module-item__sessions h4 {
    font-size: 0.9rem;
  }
}

.etd-module-item__sessions-content {
  font-size: 0.75rem;
  line-height: 1.3;
  color: #23282d;
}
.etd-module-item__sessions-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.etd-module-item__sessions-content ul li {
  padding-left: 1.25rem;
  margin-bottom: 6px;
  position: relative;
}
.etd-module-item__sessions-content ul li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #6bb1e2;
  font-weight: 700;
}
@media (max-width: 767px) {
  .etd-module-item__sessions-content {
    font-size: 0.85rem;
  }
}

.etd-module-item__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 1199px) {
  .etd-module-item__actions {
    flex-direction: row;
    justify-content: space-between;
  }
}

.etd-module-item__price {
  font-size: 1rem;
  font-weight: 600;
  background-color: #6bb1e2;
  text-align: start;
  color: #ffffff;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  width: 100%;
}
.etd-module-item__price .woocommerce-Price-amount {
  font-size: inherit;
  font-weight: inherit;
}
@media (max-width: 767px) {
  .etd-module-item__price {
    font-size: 1.1rem;
  }
}

.etd-module-item__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.etd-module-item__button svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.etd-module-item__button.loading {
  opacity: 0.6;
  cursor: wait;
  pointer-events: none;
}
.etd-module-item__button.loading::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: 0.5rem;
  vertical-align: middle;
}
.etd-module-item__button.added {
  background-color: #28a745;
  color: #ffffff;
}
.etd-module-item__button.added::before {
  content: "✓";
  margin-right: 5px;
}
.etd-module-item__button {
  padding: 0.5rem 1rem;
  background: #f4d03f;
  color: #222222;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  width: 100%;
  border: none;
  cursor: pointer;
}
.etd-module-item__button:hover {
  background: #333333;
  color: #ffffff;
  text-decoration: none;
}
@media (max-width: 767px) {
  .etd-module-item__button {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
  }
}

.etd-study-plan-info {
  background: #6bb1e2;
  padding: 1rem;
  border-radius: 12px;
  color: #ffffff;
  display: flex;
  flex-direction: row;
  gap: 3rem;
  min-width: 540px;
}

.etd-study-plan-info__price {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
  justify-content: flex-start;
}

.etd-study-plan-info__price-wrapper {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}

.etd-study-plan-info__label {
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.95;
}

.etd-study-plan-info__amount {
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
}
.etd-study-plan-info__amount .woocommerce-Price-amount {
  font-size: inherit;
  font-weight: inherit;
}

.etd-study-plan-info__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.etd-study-plan-info__button svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.etd-study-plan-info__button {
  background: #f4d03f;
  color: #222222;
  padding: 0.5rem;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  white-space: nowrap;
}
.etd-study-plan-info__button svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.etd-study-plan-info__button:hover {
  background: rgb(242.618226601, 202.0960591133, 38.881773399);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.etd-study-plan-info__includes h4 {
  font-size: 1rem;
  font-weight: 400;
  margin: 0 0 1rem;
  color: #ffffff;
  letter-spacing: 0;
}
.etd-study-plan-info__includes ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.etd-study-plan-info__includes ul li {
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  position: relative;
  font-size: 0.95rem;
  line-height: 1;
}
.etd-study-plan-info__includes ul li:before {
  content: "•";
  position: absolute;
  left: 0;
  font-weight: 700;
  font-size: 1.2rem;
}

.etd-study-plan__module {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}

.etd-module__header {
  background: #e8ecf0;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.etd-module__header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222222;
  margin: 0;
}

.etd-module__duration {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  color: #666666;
}
.etd-module__duration svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.etd-module__content {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr 300px;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 1199px) {
  .etd-module__content {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.etd-module__info h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #222222;
  margin: 0 0 0.75rem;
}
.etd-module__info p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #646970;
  margin: 0;
}

.etd-module__sessions h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #222222;
  margin: 0 0 0.75rem;
}

.etd-module__sessions-content {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #646970;
}
.etd-module__sessions-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.etd-module__sessions-content ul li {
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 4px;
}
.etd-module__sessions-content ul li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #222222;
}
.etd-module__sessions-content p {
  margin: 0;
}

.etd-module__sidebar {
  background: #6bb1e2;
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (max-width: 1199px) {
  .etd-module__sidebar {
    max-width: 300px;
  }
}

.etd-module__price {
  text-align: center;
}
.etd-module__price .woocommerce-Price-amount {
  font-size: 1.8rem;
  font-weight: 600;
  color: #ffffff;
}
.etd-module__price .woocommerce-Price-currencySymbol {
  font-size: 1.4rem;
}

.etd-module__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.etd-module__button svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.etd-module__button {
  background: #f4d03f;
  color: #222222;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.etd-module__button svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.etd-module__button:hover {
  background: rgb(242.618226601, 202.0960591133, 38.881773399);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/**
 * Includes Section (Qué incluye)
 */
.etd-product-includes {
  padding: 50px 0;
  background: #ffffff;
}
@media (max-width: 767px) {
  .etd-product-includes {
    padding: 2.5rem 0;
  }
}
.etd-product-includes h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 35px;
  text-align: center;
  color: #222222;
}
@media (max-width: 767px) {
  .etd-product-includes h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
}

.etd-product-includes__content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
  color: #646970;
}
.etd-product-includes__content p {
  margin-bottom: 1rem;
}
.etd-product-includes__content ul, .etd-product-includes__content ol {
  margin: 1rem 0;
  padding-left: 2rem;
}
.etd-product-includes__content li {
  margin-bottom: 0.75rem;
  position: relative;
}
.etd-product-includes__content ul li {
  list-style: none;
  padding-left: 1.5rem;
}
.etd-product-includes__content ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #6bb1e2;
  font-weight: 700;
  font-size: 1.2rem;
}
.etd-product-includes__content strong {
  font-weight: 700;
  color: #333333;
}

/**
 * Sessions Section (Sesiones)
 */
.etd-product-sessions {
  padding: 50px 0;
  background: #f6f7f7;
}
@media (max-width: 767px) {
  .etd-product-sessions {
    padding: 2.5rem 0;
  }
}
.etd-product-sessions h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 35px;
  text-align: center;
  color: #222222;
}
@media (max-width: 768px) {
  .etd-product-sessions h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }
}

.etd-product-sessions__content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
  color: #555555;
}
.etd-product-sessions__content p {
  margin-bottom: 16px;
}
.etd-product-sessions__content h3, .etd-product-sessions__content h4, .etd-product-sessions__content h5, .etd-product-sessions__content h6 {
  margin: 24px 0 12px;
  color: #333333;
  font-weight: 700;
}
.etd-product-sessions__content h3 {
  font-size: 1.5rem;
  color: #6bb1e2;
}
.etd-product-sessions__content h4 {
  font-size: 1.25rem;
}
.etd-product-sessions__content ul, .etd-product-sessions__content ol {
  margin: 16px 0;
  padding-left: 32px;
}
.etd-product-sessions__content li {
  margin-bottom: 8px;
}
.etd-product-sessions__content strong {
  font-weight: 700;
  color: #333333;
}

/**
 * Teachers Section (Docentes)
 */
.etd-product-teachers {
  padding: 50px 0;
  background: #ffffff;
}
@media (max-width: 768px) {
  .etd-product-teachers {
    padding: 40px 0;
  }
}
.etd-product-teachers h2 {
  font-size: 2.2rem;
  font-weight: 400;
  margin: 0 0 35px;
  text-align: center;
  color: #222222;
}
@media (max-width: 768px) {
  .etd-product-teachers h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }
}

.etd-teachers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 1024px) {
  .etd-teachers__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .etd-teachers__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.etd-teacher-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
}

.etd-teacher-card__image {
  width: 100%;
  padding-bottom: 100%;
  position: relative;
  overflow: hidden;
  background: #e0e0e0;
  height: 320px;
}
.etd-teacher-card__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.etd-teacher-card__info {
  padding: 16px;
  background-color: #6BB1E2;
}
@media (max-width: 768px) {
  .etd-teacher-card__info {
    padding: 20px;
  }
}

.etd-teacher-card__name {
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  letter-spacing: 0px;
}
@media (max-width: 768px) {
  .etd-teacher-card__name {
    font-size: 1.1rem;
  }
}

.etd-teacher-card__degree {
  font-size: 0.875rem;
  color: #fff;
  margin: 12px 0 12px;
  line-height: 1.1;
}

.etd-teacher-card__position {
  font-size: 1rem;
  color: #6bb1e2;
  margin: 0 0 8px;
}

.etd-teacher-card__company {
  font-size: 0.875rem;
  color: #666666;
  margin: 0;
}
.etd-teacher-card__company strong {
  color: #333333;
}

.etd-teacher-card__logo {
  padding: 15px;
}
.etd-teacher-card__logo img {
  max-width: 120px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/**
 * FAQs Section (from CPT)
 */
.etd-product-faq {
  padding: 64px;
  background: #E9E9E9;
  margin: 64px auto;
  max-width: 1200px;
  border-radius: 20px;
}
@media (max-width: 768px) {
  .etd-product-faq {
    padding: 40px 0;
  }
}
.etd-product-faq h2 {
  font-size: 2.4rem;
  font-weight: 400;
  margin: 0 0 40px;
  color: #222222;
}
@media (max-width: 768px) {
  .etd-product-faq h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }
}
.etd-product-faq .etd-faq-accordion {
  margin: 0 auto;
  border-bottom: 1px solid #7D7D7D;
}

/**
 * FAQs Section (from ACF field)
 */
.etd-product-faqs {
  padding: 50px 0;
  background: #f5f7fa;
}
@media (max-width: 768px) {
  .etd-product-faqs {
    padding: 40px 0;
  }
}
.etd-product-faqs h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 35px;
  text-align: center;
  color: #222222;
}
@media (max-width: 768px) {
  .etd-product-faqs h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }
}

/**
 * Community Section
 */
.etd-product-community {
  padding: 50px 0;
  background: #6bb1e2;
  text-align: center;
  color: white;
}
@media (max-width: 768px) {
  .etd-product-community {
    padding: 40px 0;
  }
}
.etd-product-community h2 {
  font-size: 2.4rem;
  font-weight: 500;
  margin: 0 0 12px;
  color: #fff !important;
}
@media (max-width: 768px) {
  .etd-product-community h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
}
.etd-product-community p {
  font-size: 1.2rem;
  margin: 0 auto 28px;
  line-height: 1.2;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.95);
}
@media (max-width: 768px) {
  .etd-product-community p {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }
}

.etd-community__form {
  max-width: 500px;
  margin: 0 auto;
}

/**
 * Testimonials Section
 */
.etd-product-testimonials {
  padding: 60px 0;
  background: #333333;
  color: white;
}
@media (max-width: 768px) {
  .etd-product-testimonials {
    padding: 40px 0;
  }
}
.etd-product-testimonials h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 40px;
  text-align: center;
  color: white;
}
@media (max-width: 768px) {
  .etd-product-testimonials h2 {
    font-size: 1.75rem;
    margin-bottom: 32px;
  }
}

.etd-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 1024px) {
  .etd-testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .etd-testimonials__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.etd-testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.etd-testimonial-card__video {
  position: relative;
  padding-bottom: 56.25%;
  background: #000000;
}
.etd-testimonial-card__video img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.etd-testimonial-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: rgba(107, 177, 226, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.etd-testimonial-card__play:hover {
  background: rgb(107, 177, 226);
  transform: translate(-50%, -50%) scale(1.1);
}
@media (max-width: 768px) {
  .etd-testimonial-card__play {
    width: 56px;
    height: 56px;
  }
  .etd-testimonial-card__play svg {
    width: 32px;
    height: 32px;
  }
}

.etd-testimonial-card__text {
  padding: 24px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}
@media (max-width: 768px) {
  .etd-testimonial-card__text {
    padding: 20px;
  }
}

.etd-testimonial-card__author {
  padding: 0 24px 24px;
  font-size: 1rem;
  color: white;
}
@media (max-width: 768px) {
  .etd-testimonial-card__author {
    padding: 0 20px 20px;
  }
}

/**
 * Related Courses Section
 */
.etd-product-related {
  padding: 60px 0 70px;
  background: #ffffff;
}
@media (max-width: 768px) {
  .etd-product-related {
    padding: 50px 0 60px;
  }
}

.single-product .etd-product-related .etd-product-cards,
.woocommerce .etd-product-related .etd-product-cards,
.etd-product-related .etd-product-cards {
  margin: 0 !important;
  max-width: none !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}
@media (max-width: 1024px) {
  .single-product .etd-product-related .etd-product-cards,
  .woocommerce .etd-product-related .etd-product-cards,
  .etd-product-related .etd-product-cards {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}
@media (max-width: 768px) {
  .single-product .etd-product-related .etd-product-cards,
  .woocommerce .etd-product-related .etd-product-cards,
  .etd-product-related .etd-product-cards {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 0 !important;
  }
}

.etd-product-related img.etd-product-card__image {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.etd-product-related .etd-product-card__image-wrapper {
  height: 200px;
}
@media (max-width: 1024px) {
  .etd-product-related .etd-product-card__image-wrapper {
    height: 260px;
  }
}
@media (max-width: 768px) {
  .etd-product-related .etd-product-card__image-wrapper {
    height: 220px;
  }
}
.etd-product-related .etd-product-card__title-overlay {
  font-size: 1.5rem;
  top: 16px;
  left: 16px;
  font-weight: 700;
}
@media (max-width: 1024px) {
  .etd-product-related .etd-product-card__title-overlay {
    font-size: 2rem;
    top: 20px;
    left: 20px;
  }
}
@media (max-width: 768px) {
  .etd-product-related .etd-product-card__title-overlay {
    font-size: 1.25rem;
  }
}
.etd-product-related .etd-product-card__content {
  padding: 18px 16px;
  min-height: auto;
}
@media (max-width: 1024px) {
  .etd-product-related .etd-product-card__content {
    padding: 20px;
  }
}
@media (max-width: 768px) {
  .etd-product-related .etd-product-card__content {
    padding: 20px;
  }
}
.etd-product-related .etd-product-card__title {
  font-size: 1.4rem;
  margin-bottom: 8px;
  line-height: 1.3;
  font-weight: 700;
}
@media (max-width: 1024px) {
  .etd-product-related .etd-product-card__title {
    font-size: 1.75rem;
    margin-bottom: 10px;
  }
}
@media (max-width: 768px) {
  .etd-product-related .etd-product-card__title {
    font-size: 1.25rem;
  }
}
.etd-product-related .etd-product-card__price {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 800;
}
@media (max-width: 1024px) {
  .etd-product-related .etd-product-card__price {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }
}
@media (max-width: 768px) {
  .etd-product-related .etd-product-card__price {
    font-size: 1.125rem;
  }
}
.etd-product-related .etd-product-card__excerpt {
  font-size: 0.875rem;
  margin-bottom: 14px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 1024px) {
  .etd-product-related .etd-product-card__excerpt {
    font-size: 1.1rem;
    margin-bottom: 16px;
  }
}
@media (max-width: 768px) {
  .etd-product-related .etd-product-card__excerpt {
    font-size: 0.875rem;
  }
}
.etd-product-related .etd-product-card__meta {
  margin-bottom: 14px;
  gap: 6px;
  flex-wrap: wrap;
}
@media (max-width: 1024px) {
  .etd-product-related .etd-product-card__meta {
    gap: 8px;
    margin-bottom: 16px;
  }
}
@media (max-width: 768px) {
  .etd-product-related .etd-product-card__meta {
    gap: 10px;
  }
}
.etd-product-related .etd-product-card__meta-item {
  font-size: 0.8125rem;
  padding: 5px 7px;
  gap: 5px;
  flex: 0 0 calc(33.333% - 4px);
  max-width: calc(33.333% - 4px);
  justify-content: center;
}
@media (max-width: 1024px) {
  .etd-product-related .etd-product-card__meta-item {
    font-size: 0.95rem;
    padding: 7px 10px;
    flex: 0 0 calc(33.333% - 6px);
    max-width: calc(33.333% - 6px);
  }
}
@media (max-width: 768px) {
  .etd-product-related .etd-product-card__meta-item {
    font-size: 0.8125rem;
    padding: 6px 10px;
    flex: 0 0 100%;
    max-width: 100%;
  }
}
.etd-product-related .etd-product-card__meta-icon {
  width: 14px;
  height: 14px;
}
@media (max-width: 1024px) {
  .etd-product-related .etd-product-card__meta-icon {
    width: 18px;
    height: 18px;
  }
}
@media (max-width: 768px) {
  .etd-product-related .etd-product-card__meta-icon {
    width: 14px;
    height: 14px;
  }
}
.etd-product-related .etd-product-card__actions {
  gap: 8px;
  margin-top: auto;
}
.etd-product-related .etd-product-card__btn {
  font-size: 0.8125rem;
  padding: 9px 12px;
  gap: 5px;
  font-weight: 500;
}
.etd-product-related .etd-product-card__btn svg {
  width: 14px;
  height: 14px;
}
@media (max-width: 1024px) {
  .etd-product-related .etd-product-card__btn {
    font-size: 0.9375rem;
    padding: 11px 16px;
    gap: 6px;
  }
  .etd-product-related .etd-product-card__btn svg {
    width: 16px;
    height: 16px;
  }
}
@media (max-width: 768px) {
  .etd-product-related .etd-product-card__btn {
    font-size: 0.875rem;
    padding: 10px 16px;
  }
}
.etd-product-related .etd-product-card__badge {
  width: 28px;
  height: 28px;
  top: 16px;
  right: 16px;
}
@media (max-width: 1024px) {
  .etd-product-related .etd-product-card__badge {
    width: 32px;
    height: 32px;
    top: 20px;
    right: 20px;
  }
}
.etd-product-related .etd-product-card__marca-badge {
  font-size: 0.8125rem;
  padding: 5px 10px;
  top: 16px;
  right: 16px;
}
@media (max-width: 1024px) {
  .etd-product-related .etd-product-card__marca-badge {
    font-size: 0.875rem;
    padding: 6px 12px;
    top: 20px;
    right: 20px;
  }
}

.etd-related__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .etd-related__header {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
  }
}
.etd-related__header h2 {
  font-size: 2.2rem;
  font-weight: 500;
  margin: 0;
  color: #222222 !important;
}
@media (max-width: 768px) {
  .etd-related__header h2 {
    font-size: 1.75rem;
  }
}

.etd-related__view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #6bb1e2;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.etd-related__view-all:hover {
  background: #f0c929;
  color: #333333;
  text-decoration: none;
}
.etd-related__view-all:active {
  transform: translateY(0);
}
@media (max-width: 768px) {
  .etd-related__view-all {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
}

/**
 * Blog Posts Block Component
 * Estilos para el bloque de Gutenberg de entradas de blog
 * Basado en diseño Figma
 */
.etd-blog-posts {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 2rem 0 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 clamp(20px, 4vw, 40px);
  box-sizing: border-box;
}

.etd-blog-post-card-wrapper {
  margin: 0 0 24px 0;
  padding: 12px;
  background-color: #fff;
  border-radius: 8px;
}
.etd-blog-post-card-wrapper:last-child {
  margin-bottom: 0;
}

.etd-blog-posts__button-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  padding: 4px 24px;
}

.etd-blog-posts__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 64px;
  background-color: #6bb1e2;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.etd-blog-posts__button:hover, .etd-blog-posts__button:focus {
  background-color: #5a9fd1;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
}
.etd-blog-posts__button:active {
  transform: translateY(0);
}

.etd-blog-post-card {
  display: flex;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.etd-blog-post-card__image {
  flex-shrink: 0;
  width: 300px;
  height: 120px;
  overflow: hidden;
  background: #f5f5f5;
  border-radius: 8px;
  margin: 0;
}
.etd-blog-post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.etd-blog-post-card__content {
  flex: 1;
  padding: 4px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px;
}

.etd-blog-post-card__title {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 8px;
  color: #1a1a1a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.etd-blog-post-card__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
}

.etd-blog-post-card__meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  opacity: 0.5;
  color: #000;
  font-weight: 400;
  line-height: 1.4;
  font-style: italic;
}

.etd-blog-post-card__author-label {
  color: #666666;
}

.etd-blog-post-card__author {
  color: #666666;
  font-weight: 400;
}

.etd-blog-post-card__footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.etd-blog-post-card__link {
  color: #6bb1e2;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}
.etd-blog-post-card__link:hover, .etd-blog-post-card__link:focus {
  color: #212529;
  text-decoration: none;
}
.etd-blog-post-card__link::after {
  content: "→";
  font-size: 1em;
  line-height: 1;
  margin-left: 4px;
  display: inline-block;
}

@media (max-width: 960px) {
  .etd-blog-posts {
    padding: 0 20px;
  }
  .etd-blog-post-card__image {
    width: 250px;
  }
}
@media (max-width: 768px) {
  .etd-blog-posts {
    padding: 0 16px;
  }
  .etd-blog-post-card-wrapper {
    margin-bottom: 20px;
  }
  .etd-blog-post-card {
    flex-direction: column;
  }
  .etd-blog-post-card__image {
    width: 100%;
    height: 200px;
  }
  .etd-blog-post-card__content {
    padding: 20px;
    min-height: auto;
  }
  .etd-blog-post-card__title {
    font-size: 0.9375rem;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
  .etd-blog-post-card__bottom {
    padding-top: 16px;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .etd-blog-post-card__footer {
    justify-content: flex-start;
  }
}
@media (max-width: 480px) {
  .etd-blog-posts {
    padding: 0 12px;
  }
  .etd-blog-post-card-wrapper {
    margin-bottom: 16px;
  }
  .etd-blog-post-card__content {
    padding: 16px;
  }
  .etd-blog-post-card__image {
    height: 180px;
  }
}
/**
 * Estilos para el bloque de episodio de podcast
 */
.etd-podcast-episode {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin: 2rem auto;
  max-width: 1200px;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .etd-podcast-episode {
    flex-direction: column;
    gap: 24px;
    padding: 0 20px;
  }
}

.etd-podcast-episode__image {
  flex-shrink: 0;
  width: 50%;
  max-width: 500px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
  position: relative;
}
@media (max-width: 768px) {
  .etd-podcast-episode__image {
    width: 100%;
    max-width: 100%;
  }
}
.etd-podcast-episode__image a {
  display: block;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.etd-podcast-episode__image a:hover, .etd-podcast-episode__image a:focus {
  opacity: 0.9;
}
.etd-podcast-episode__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.etd-podcast-episode__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.etd-podcast-episode__badge {
  display: inline-block;
  padding: 4px 8px;
  background-color: #ffd700;
  border-radius: 4px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #333333;
  line-height: 1.4;
  margin-bottom: 8px;
  width: fit-content;
}
@media (max-width: 768px) {
  .etd-podcast-episode__badge {
    font-size: 0.8125rem;
    padding: 5px 10px;
  }
}

.etd-podcast-episode__title {
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
  width: 75%;
  color: #1a1a1a;
}
@media (max-width: 768px) {
  .etd-podcast-episode__title {
    font-size: 1.5rem;
  }
}
@media (max-width: 480px) {
  .etd-podcast-episode__title {
    font-size: 1.25rem;
  }
}
.etd-podcast-episode__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.etd-podcast-episode__title a:hover, .etd-podcast-episode__title a:focus {
  color: #6bb1e2;
  text-decoration: none;
}

.etd-podcast-episode__excerpt {
  font-size: 1rem;
  line-height: 1.2;
  color: #212529;
  margin: 0;
}
.etd-podcast-episode__excerpt p {
  margin: 0 0 1em;
}
.etd-podcast-episode__excerpt p:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .etd-podcast-episode__excerpt {
    font-size: 0.9375rem;
  }
}

.etd-podcast-episode__platforms {
  margin-top: auto;
  padding-top: 20px;
}

.etd-podcast-episode__platforms-label {
  font-size: 1rem;
  font-weight: 500;
  color: #333333;
  margin: 0 0 16px;
  line-height: 1.4;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .etd-podcast-episode__platforms-label {
    font-size: 0.875rem;
    margin-bottom: 12px;
  }
}

.etd-podcast-episode__links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.etd-podcast-episode__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 4px;
  background-color: #6bb1e2;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
  position: relative;
}
.etd-podcast-episode__link:hover, .etd-podcast-episode__link:focus {
  background-color: rgba(107, 177, 226, 0.85);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  text-decoration: none;
}
.etd-podcast-episode__link:focus {
  outline: 2px solid rgba(107, 177, 226, 0.5);
  outline-offset: 2px;
}
@media (max-width: 480px) {
  .etd-podcast-episode__link {
    width: 44px;
    height: 44px;
  }
}

.etd-podcast-episode__icon {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}
.etd-podcast-episode__link:hover .etd-podcast-episode__icon, .etd-podcast-episode__link:focus .etd-podcast-episode__icon {
  filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(255, 255, 255, 0.3));
}
@media (max-width: 480px) {
  .etd-podcast-episode__icon {
    width: 20px;
    height: 20px;
  }
}

.etd-podcast-episode.alignwide {
  max-width: 1400px;
}

.etd-podcast-episode.alignfull {
  max-width: 100%;
  padding: 0;
}

/**
 * Estilos para el bloque de lista de podcasts
 */
.etd-podcast-list {
  margin: 2rem auto;
  max-width: 1200px;
  width: 100%;
  border-radius: 0;
}
@media (max-width: 768px) {
  .etd-podcast-list {
    padding: 1.5rem 1rem;
  }
}

.etd-podcast-list__items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.etd-podcast-list__item {
  background: transparent;
  border-bottom: 1px solid #e8e8e8;
  padding: 2rem 0;
  margin: 0;
}
.etd-podcast-list__item:last-child {
  border-bottom: none;
}
@media (max-width: 768px) {
  .etd-podcast-list__item {
    padding: 1.5rem 0;
  }
}

.etd-podcast-list__item-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .etd-podcast-list__item-content {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.etd-podcast-list__item-left {
  flex: 1;
  min-width: 0;
}

.etd-podcast-list__item-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.etd-podcast-list__badge {
  display: inline-block;
  padding: 4px 12px;
  background-color: #ffd700;
  border-radius: 4px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #333333;
  line-height: 1.4;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .etd-podcast-list__badge {
    font-size: 1.2rem;
    padding: 3px 10px;
  }
}

.etd-podcast-list__date {
  font-size: 1.4rem;
  color: #888888;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .etd-podcast-list__date {
    font-size: 1.2rem;
  }
}

.etd-podcast-list__title {
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  color: #1a1a1a;
}
@media (max-width: 768px) {
  .etd-podcast-list__title {
    font-size: 1.8rem;
  }
}
.etd-podcast-list__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.etd-podcast-list__title a:hover, .etd-podcast-list__title a:focus {
  color: #6bb1e2;
  text-decoration: none;
}

.etd-podcast-list__excerpt {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333333;
  margin: 0;
}
.etd-podcast-list__excerpt p {
  margin: 0 0 1em 0;
}
.etd-podcast-list__excerpt p:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .etd-podcast-list__excerpt {
    font-size: 0.9375rem;
  }
}

.etd-podcast-list__item-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  width: auto;
}
@media (max-width: 768px) {
  .etd-podcast-list__item-right {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
}

.etd-podcast-list__platforms {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
  flex-shrink: 0;
}

.etd-podcast-list__platform-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 4px;
  background-color: #6bb1e2;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
  position: relative;
}
.etd-podcast-list__platform-link:hover, .etd-podcast-list__platform-link:focus {
  background-color: rgba(107, 177, 226, 0.85);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  text-decoration: none;
}
.etd-podcast-list__platform-link:focus {
  outline: 2px solid rgba(107, 177, 226, 0.5);
  outline-offset: 2px;
}
@media (max-width: 480px) {
  .etd-podcast-list__platform-link {
    width: 44px;
    height: 44px;
  }
}
.etd-podcast-list__platform-link img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}
.etd-podcast-list__platform-link:hover img, .etd-podcast-list__platform-link:focus img {
  filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(255, 255, 255, 0.3));
}
@media (max-width: 480px) {
  .etd-podcast-list__platform-link img {
    width: 20px;
    height: 20px;
  }
}

.etd-podcast-list__image {
  position: relative;
  width: 300px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}
@media (max-width: 768px) {
  .etd-podcast-list__image {
    width: 100%;
    max-width: 100%;
  }
}
.etd-podcast-list__image a {
  display: block;
  position: relative;
  text-decoration: none;
}
.etd-podcast-list__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.etd-podcast-list__image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.etd-podcast-list__image-overlay-title {
  color: white;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}
@media (max-width: 768px) {
  .etd-podcast-list__image-overlay-title {
    font-size: 1.4rem;
  }
}

.etd-podcast-list__image-overlay-badge {
  display: inline-block;
  padding: 4px 12px;
  background-color: #ffd700;
  border-radius: 4px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #333333;
  line-height: 1.4;
  width: fit-content;
  align-self: flex-end;
  margin-top: auto;
}
@media (max-width: 768px) {
  .etd-podcast-list__image-overlay-badge {
    font-size: 1.2rem;
    padding: 3px 10px;
  }
}

.etd-podcast-list__image-play {
  display: none;
}

.etd-podcast-list__load-more-wrapper {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
}

.etd-podcast-list__load-more {
  display: inline-block;
  padding: 12px 32px;
  background-color: #6bb1e2;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.etd-podcast-list__load-more:hover, .etd-podcast-list__load-more:focus {
  background-color: #5a9fd1;
  transform: translateY(-2px);
  outline: none;
}
.etd-podcast-list__load-more:active {
  transform: translateY(0);
}

.etd-podcast-list__loading {
  text-align: center;
  color: #666666;
  font-size: 1rem;
}

.etd-podcast-list.alignwide {
  max-width: 1400px;
}

.etd-podcast-list.alignfull {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/**
 * Estilos para el bloque de cards de productos/cursos
 */
.woocommerce .etd-product-cards,
.etd-product-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (max-width: 1199px) {
  .woocommerce .etd-product-cards,
  .etd-product-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .woocommerce .etd-product-cards,
  .etd-product-cards {
    grid-template-columns: 1fr;
  }
}
.woocommerce .etd-product-cards,
.etd-product-cards {
  margin: 2rem auto;
  max-width: 1200px;
  box-sizing: border-box;
  width: 100%;
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
}
@media (max-width: 767px) {
  .woocommerce .etd-product-cards,
  .etd-product-cards {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
    padding: 0 20px;
  }
}

.etd-product-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 8px;
  border: 12px solid #6bb1e2;
  overflow: hidden;
}

.etd-product-card__image-wrapper {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}
@media (max-width: 767px) {
  .etd-product-card__image-wrapper {
    height: 220px;
  }
}
.etd-product-card__image-wrapper::after {
  content: "";
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.etd-product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
}

.etd-product-card__title-overlay {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  margin: 0;
  padding: 0;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  z-index: 2;
}
@media (max-width: 767px) {
  .etd-product-card__title-overlay {
    font-size: 1.25rem;
    top: 1rem;
    left: 1rem;
  }
}

.etd-product-card__badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  color: #ffd700;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}
.etd-product-card__badge svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
@media (max-width: 767px) {
  .etd-product-card__badge {
    width: 28px;
    height: 28px;
    top: 1rem;
    right: 1rem;
  }
}

.etd-product-card__marca-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 6px 0.75rem;
  background-color: #ffd700;
  border: 1px solid #333333;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #333333;
  line-height: 1.4;
  z-index: 2;
  display: inline-block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}
@media (max-width: 767px) {
  .etd-product-card__marca-badge {
    font-size: 0.8125rem;
    padding: 5px 10px;
    top: 1rem;
    right: 1rem;
  }
}

.etd-product-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background-color: #6bb1e2;
  min-height: 220px;
}
@media (max-width: 767px) {
  .etd-product-card__content {
    padding: 1.25rem;
    min-height: auto;
  }
}

.etd-product-card__title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.75rem;
  color: #ffffff;
}
@media (max-width: 767px) {
  .etd-product-card__title {
    font-size: 1.25rem;
    margin-bottom: 10px;
  }
}

.etd-product-card__price {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 1rem;
  color: #ffd700;
}
.etd-product-card__price .woocommerce-Price-amount {
  color: #ffdf33;
  font-weight: 800;
}
.etd-product-card__price del {
  opacity: 0.7;
  margin-right: 0.5rem;
}
.etd-product-card__price ins {
  text-decoration: none;
}
@media (max-width: 767px) {
  .etd-product-card__price {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
  }
}

.etd-product-card__excerpt {
  font-size: 1.1rem;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 1.25rem;
  font-weight: 400;
}
@media (max-width: 767px) {
  .etd-product-card__excerpt {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }
}

.etd-product-card__meta {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 767px) {
  .etd-product-card__meta {
    gap: 10px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
  }
}

.etd-product-card__meta-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ffffff;
  border-radius: 4px;
  background-color: transparent;
  font-size: 1rem;
  color: #ffffff;
  font-weight: 400;
  flex: 0 0 calc(33.333% - 8px);
  max-width: calc(33.333% - 8px);
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .etd-product-card__meta-item {
    font-size: 0.8125rem;
    padding: 6px 10px;
    gap: 6px;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.etd-product-card__meta-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
@media (max-width: 767px) {
  .etd-product-card__meta-icon {
    width: 14px;
    height: 14px;
  }
}

.etd-product-card__actions {
  display: flex;
  gap: 1rem;
  margin-top: auto;
  max-height: 40px;
}
@media (max-width: 479px) {
  .etd-product-card__actions {
    flex-direction: column;
    gap: 10px;
  }
}

.etd-product-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.etd-product-card__btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.etd-product-card__btn {
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  line-height: 1.4;
  flex: 0 0 calc(50% - 6px);
  max-width: calc(50% - 6px);
  box-sizing: border-box;
}
.etd-product-card__btn svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  order: -1;
}
@media (max-width: 767px) {
  .etd-product-card__btn {
    font-size: 0.875rem;
    padding: 10px 1rem;
  }
}
@media (max-width: 479px) {
  .etd-product-card__btn {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    justify-content: center;
  }
}

.etd-product-card__btn--view {
  background-color: #ffffff;
  color: #6bb1e2;
  border: 2px solid #ffffff;
  font-weight: 500;
  font-size: 1.2rem;
}
.etd-product-card__btn--view:hover, .etd-product-card__btn--view:focus {
  background-color: #6bb1e2;
  color: #ffffff;
  text-decoration: none;
}

.etd-product-card__btn--cart {
  background-color: #ffd700;
  color: #333333;
  border: 1px solid #ffd700;
  font-weight: 500;
  font-size: 1.2rem;
}
.etd-product-card__btn--cart:hover, .etd-product-card__btn--cart:focus {
  background-color: #222222;
  border-color: #222222;
  color: #ffffff;
  text-decoration: none;
}

.etd-product-cards.alignwide {
  max-width: 1400px;
}

.etd-product-cards.alignfull {
  max-width: 100%;
  padding: 0;
}

/**
 * Estilos para el bloque de cursos destacados (grid de 3 columnas)
 */
.etd-courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 2rem auto;
  max-width: 1400px;
  width: 100%;
}
@media (max-width: 1024px) {
  .etd-courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .etd-courses-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px;
  }
}

.alignwide .etd-courses-grid {
  max-width: 1600px;
}

.alignfull .etd-courses-grid {
  max-width: 100%;
}
@media (max-width: 768px) {
  .alignfull .etd-courses-grid {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/**
 * Card compacta de curso (todo sobre la imagen)
 */
.etd-compact-course-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid #6bb1e2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.etd-compact-course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.etd-compact-course-card__image-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 125%;
  overflow: hidden;
}
@media (max-width: 768px) {
  .etd-compact-course-card__image-wrapper {
    padding-bottom: 130%;
  }
}

.etd-compact-course-card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.etd-compact-course-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
}

.etd-compact-course-card__content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 32px;
  color: white;
}
@media (max-width: 1024px) {
  .etd-compact-course-card__content {
    padding: 24px;
  }
}
@media (max-width: 768px) {
  .etd-compact-course-card__content {
    padding: 20px;
  }
}

.etd-compact-course-card__title {
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 auto;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 3;
  max-width: 80%;
}
@media (max-width: 1024px) {
  .etd-compact-course-card__title {
    font-size: 2rem;
  }
}
@media (max-width: 768px) {
  .etd-compact-course-card__title {
    font-size: 1.75rem;
    max-width: 90%;
  }
}

.etd-compact-course-card__title-bg {
  position: absolute;
  top: 38%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.2);
  word-wrap: break-word;
  word-break: break-word;
  padding: 0 24px;
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 1024px) {
  .etd-compact-course-card__title-bg {
    font-size: 1.8rem;
    padding: 0 20px;
  }
}
@media (max-width: 768px) {
  .etd-compact-course-card__title-bg {
    font-size: 1.4rem;
    padding: 0 16px;
    top: 40%;
  }
}

.etd-compact-course-card__footer {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.etd-compact-course-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
@media (max-width: 768px) {
  .etd-compact-course-card__meta {
    gap: 8px;
  }
}

.etd-compact-course-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 400;
  color: white;
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.etd-compact-course-card__badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke-width: 2;
}
@media (max-width: 1024px) {
  .etd-compact-course-card__badge {
    font-size: 0.9375rem;
    padding: 8px 14px;
    gap: 6px;
  }
  .etd-compact-course-card__badge svg {
    width: 14px;
    height: 14px;
  }
}
@media (max-width: 768px) {
  .etd-compact-course-card__badge {
    font-size: 0.875rem;
    padding: 7px 12px;
    gap: 5px;
  }
  .etd-compact-course-card__badge svg {
    width: 13px;
    height: 13px;
  }
}

.etd-compact-course-card__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
@media (max-width: 480px) {
  .etd-compact-course-card__actions {
    flex-direction: column;
    gap: 10px;
  }
}

.etd-compact-course-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  line-height: 1.4;
  white-space: nowrap;
}
.etd-compact-course-card__btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
@media (max-width: 1024px) {
  .etd-compact-course-card__btn {
    font-size: 1rem;
    padding: 12px 28px;
    gap: 8px;
  }
  .etd-compact-course-card__btn svg {
    width: 16px;
    height: 16px;
  }
}
@media (max-width: 768px) {
  .etd-compact-course-card__btn {
    font-size: 0.9375rem;
    padding: 11px 24px;
  }
}
@media (max-width: 480px) {
  .etd-compact-course-card__btn {
    width: 100%;
    justify-content: center;
  }
}

.etd-compact-course-card__btn--view {
  background-color: rgba(107, 177, 226, 0.85);
  color: white;
  flex: 1;
}
.etd-compact-course-card__btn--view:hover, .etd-compact-course-card__btn--view:focus {
  background-color: rgb(107, 177, 226);
  text-decoration: none;
}

.etd-compact-course-card__btn--cart {
  background-color: #ffd700;
  color: #333333;
  flex: 0 0 auto;
  padding: 14px 16px;
}
@media (max-width: 1024px) {
  .etd-compact-course-card__btn--cart {
    padding: 12px 14px;
  }
}
@media (max-width: 768px) {
  .etd-compact-course-card__btn--cart {
    padding: 11px 13px;
  }
}
@media (max-width: 480px) {
  .etd-compact-course-card__btn--cart {
    width: 100%;
    padding: 14px 32px;
  }
}
.etd-compact-course-card__btn--cart svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 1024px) {
  .etd-compact-course-card__btn--cart svg {
    width: 18px;
    height: 18px;
  }
}
@media (max-width: 768px) {
  .etd-compact-course-card__btn--cart svg {
    width: 16px;
    height: 16px;
  }
}
.etd-compact-course-card__btn--cart:hover, .etd-compact-course-card__btn--cart:focus {
  background-color: #ffdb57;
  text-decoration: none;
}

/**
 * Estilos básicos para el bloque de FAQs Acordeón
 */
.etd-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1200px;
  width: 100%;
  background-color: #E9E9E9;
  padding: 0;
  overflow: hidden;
}

.etd-faq-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid #e8e8e8;
  margin: 0;
}
.etd-faq-item:last-child {
  border-bottom: none;
}

.etd-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.etd-faq-question:hover, .etd-faq-question :active, .etd-faq-question :focus {
  background-color: #f0f0f0;
  outline: none;
}

.etd-faq-question span:first-child {
  flex: 1;
  padding-right: 16px;
  font-weight: 500;
  font-size: 1.4rem;
  color: #333333;
  line-height: 1.4;
}

.etd-faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  color: #888888;
  user-select: none;
}

.etd-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  background-color: transparent;
}

.etd-faq-answer[aria-hidden=false] {
  padding-top: 12px;
  padding-bottom: 16px;
}

.etd-faq-answer > div {
  font-size: 1.1rem;
  line-height: 1.3;
  color: #333333;
}
.etd-faq-answer > div p {
  margin: 0 0 1em 0;
}
.etd-faq-answer > div p:last-child {
  margin-bottom: 0;
}
.etd-faq-answer > div ul, .etd-faq-answer > div ol {
  margin: 0 0 1em 1.5em;
  padding: 0;
}
.etd-faq-answer > div ul:last-child, .etd-faq-answer > div ol:last-child {
  margin-bottom: 0;
}
.etd-faq-answer > div li {
  margin-bottom: 0.5em;
}
.etd-faq-answer > div li:last-child {
  margin-bottom: 0;
}
.etd-faq-answer > div a {
  color: #6bb1e2;
  text-decoration: underline;
}
.etd-faq-answer > div a:hover {
  color: #5a9fd1;
}
.etd-faq-answer > div strong, .etd-faq-answer > div b {
  font-weight: 600;
  color: #1a1a1a;
}
.etd-faq-answer > div em, .etd-faq-answer > div i {
  font-style: italic;
}

.etd-faq-accordion.alignwide {
  max-width: 1400px;
}

.etd-faq-accordion.alignfull {
  max-width: 100%;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .etd-faq-question {
    padding: 16px 18px;
  }
  .etd-faq-question span:first-child {
    font-size: 1.4rem;
  }
  .etd-faq-icon {
    width: 18px;
    height: 18px;
    font-size: 1.25rem;
  }
  .etd-faq-answer {
    padding-left: 16px;
    padding-right: 16px;
  }
  .etd-faq-answer[aria-hidden=false] {
    padding-bottom: 14px;
  }
  .etd-faq-accordion.alignfull {
    padding: 0 16px;
  }
}
.etd-contact-form {
  border-radius: 20px;
  max-width: 1200px;
  margin: 40px auto;
}
.etd-contact-form h2 {
  display: none;
}
.etd-contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 768px) {
  .etd-contact-form .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
.etd-contact-form .form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.etd-contact-form .form-field label {
  color: white;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 5px;
  display: block;
}
.etd-contact-form .form-field input[type=text],
.etd-contact-form .form-field input[type=email],
.etd-contact-form .form-field input[type=tel] {
  padding: 18px 16px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  color: #333;
  transition: all 0.3s ease;
  width: 100%;
}
.etd-contact-form .form-field input[type=text]:focus,
.etd-contact-form .form-field input[type=email]:focus,
.etd-contact-form .form-field input[type=tel]:focus {
  outline: none;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.etd-contact-form .form-field input[type=text]::placeholder,
.etd-contact-form .form-field input[type=email]::placeholder,
.etd-contact-form .form-field input[type=tel]::placeholder {
  color: #aaa;
}
.etd-contact-form .form-legal {
  margin: 30px 0;
}
.etd-contact-form .form-legal p {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.etd-contact-form .form-legal .wpcf7-list-item {
  margin: 0;
  display: flex;
  align-items: center;
}
.etd-contact-form .form-legal .wpcf7-list-item label {
  color: white;
  font-size: 0.95rem;
  margin-left: 10px;
  cursor: pointer;
}
.etd-contact-form .form-legal .wpcf7-list-item input[type=checkbox] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  margin: 0;
}
.etd-contact-form .btn-submit {
  background: #ffdb57;
  color: #333;
  border: none;
  border-radius: 10px;
  padding: 12px 84px;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 20px;
}
.etd-contact-form .btn-submit:hover {
  background: #ffd140;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.etd-contact-form .btn-submit:active {
  transform: translateY(0);
}
@media (max-width: 768px) {
  .etd-contact-form {
    padding: 40px 30px;
  }
}
@media (max-width: 480px) {
  .etd-contact-form {
    padding: 30px 20px;
  }
}
.etd-contact-form .wpcf7-not-valid-tip {
  color: #ff6b6b;
  font-size: 0.9rem;
  margin-top: 5px;
  background: white;
  padding: 5px 10px;
  border-radius: 5px;
  display: inline-block;
}
.etd-contact-form .wpcf7-response-output {
  margin-top: 20px;
  padding: 15px 20px;
  border-radius: 10px;
  border: none;
}
.etd-contact-form .wpcf7-response-output.wpcf7-validation-errors {
  background: #ffe0e0;
  color: #d8000c;
}
.etd-contact-form .wpcf7-response-output.wpcf7-mail-sent-ok {
  background: #d4edda;
  color: #155724;
}

/* ============================================
   5. Layouts
   ============================================ */
/**
 * Header Layout - Tema ETD
 */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e1e1e1;
}

.site-header-inner {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/**
 * Footer Layout - Tema ETD
 */
.site-footer {
  color: #ffffff;
  padding: 2rem 0;
  margin-top: 3rem;
}

.site-footer-inner {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.site-footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.site-footer-bottom {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: #8c8f94;
}

/* ============================================
   6. Utilities
   ============================================ */
/**
 * Utilities - Tema ETD
 * Clases de utilidad adicionales
 */
/* Display utilities */
.d-none {
  display: none;
}

.d-block {
  display: block;
}

.d-inline {
  display: inline;
}

.d-inline-block {
  display: inline-block;
}

.d-flex {
  display: flex;
}

.d-grid {
  display: grid;
}

@media (min-width: 768px) {
  .d-sm-none {
    display: none;
  }
  .d-sm-block {
    display: block;
  }
  .d-sm-flex {
    display: flex;
  }
  .d-sm-grid {
    display: grid;
  }
}
@media (min-width: 992px) {
  .d-md-none {
    display: none;
  }
  .d-md-block {
    display: block;
  }
  .d-md-flex {
    display: flex;
  }
  .d-md-grid {
    display: grid;
  }
}
/* Width utilities */
.w-25 {
  width: 25%;
}

.w-50 {
  width: 50%;
}

.w-75 {
  width: 75%;
}

.w-100 {
  width: 100%;
}

/* Visibility utilities */
.visible {
  visibility: visible;
}

.invisible {
  visibility: hidden;
}

/* Overflow utilities */
.overflow-hidden {
  overflow: hidden;
}

.overflow-auto {
  overflow: auto;
}

.overflow-scroll {
  overflow: scroll;
}

/*# sourceMappingURL=style.css.map */
