.elementor-1588 .elementor-element.elementor-element-7e5b7c9{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-c7e2002 */@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Playfair+Display:wght@700&display=swap');

/* ---------- Contenedor principal — ancho completo ---------- */
.ng-post {
  font-family: 'Nunito', sans-serif;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  color: #1a1a1a;
  padding: 0;
  overflow-x: hidden;
}

/* Inner: texto y elementos legibles con ancho máximo centrado */
.ng-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 3rem;
}

@media (max-width: 768px) {
  .ng-inner {
    padding: 2rem 1.5rem;
  }
}

/* Elementos de ancho completo sin restricción */
.ng-full {
  width: 100%;
}

/* ---------- Badge de categoría ---------- */
.ng-badge {
  display: inline-block;
  background: #e8f4e8;
  color: #3B6D11;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

/* ---------- Título principal H1 ---------- */
.ng-post h1.ng-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  color: #2d5a1b;
  margin: 0 0 1rem;
}

/* ---------- Metadatos ---------- */
.ng-meta {
  font-size: 13px;
  color: #666;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Hero banner — full width ---------- */
.ng-hero {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 0;
  background: linear-gradient(135deg, #3B6D11 0%, #5a9e1a 40%, #7ec832 100%);
  padding: 4rem 2rem;
  position: relative;
  text-align: center;
}

.ng-hero-date {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(52px, 10vw, 90px);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.07);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
  z-index: 0;
}

.ng-hero-content {
  position: relative;
  z-index: 1;
}

.ng-hero-icon {
  font-size: 52px;
  display: block;
  margin-bottom: 0.8rem;
}

.ng-hero-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 3vw, 26px);
  color: #fff;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.ng-hero-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.5rem;
  font-weight: 600;
}

/* ---------- Cuerpo de texto ---------- */
.ng-body {
  font-size: 18px;
  line-height: 1.9;
  color: #1a1a1a;
}

.ng-body p {
  margin: 0 0 1.5rem;
}

@media (min-width: 768px) {
  .ng-body {
    font-size: 22px;
    line-height: 2;
  }
}

/* ---------- Cita destacada ---------- */
.ng-highlight {
  background: #f0f9e8;
  border-left: 4px solid #5a9e1a;
  border-radius: 0 10px 10px 0;
  padding: 1.1rem 1.4rem;
  margin: 2rem 0;
  font-weight: 600;
  font-size: 16px;
  color: #2d5a1b;
}

@media (min-width: 768px) {
  .ng-highlight {
    font-size: 20px;
    padding: 1.5rem 2rem;
  }
}

/* ---------- Envolvedor centrador de foto simple ---------- */
.ng-photo-wrap {
  width: 100%;
  box-sizing: border-box;
  margin: 2rem 0;
  padding: 0;
}

@media (min-width: 768px) {
  .ng-photo-wrap {
    padding: 0 4rem;
    max-width: 1100px;
    margin: 2rem auto;
  }
}

/* ---------- Foto simple ---------- */
.ng-photo-single {
  width: 100%;
  overflow: hidden;
  margin: 0;
  background: #f0f9e8;
  border: 2px dashed #a3d48a;
  border-radius: 0;
  display: block;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .ng-photo-single {
    border-radius: 16px;
  }
}

.ng-photo-single img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: 0;
}

@media (min-width: 768px) {
  .ng-photo-single img {
    border-radius: 14px;
  }
}

.ng-photo-single .ng-photo-placeholder-icon { font-size: 36px; display: block; text-align: center; padding: 2rem 0 0.5rem; }
.ng-photo-single .ng-photo-placeholder-text { font-size: 13px; font-weight: 700; color: #5a9e1a; text-align: center; }
.ng-photo-single .ng-photo-placeholder-hint { font-size: 11px; font-weight: 400; color: #88bb66; text-align: center; padding-bottom: 2rem; }

/* ---------- Galería 2 columnas — con margen en desktop ---------- */
.ng-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 2rem auto;
  max-width: 900px;
  padding: 0 2rem;
  width: 100%;
  box-sizing: border-box;
}

.ng-photo-grid-item {
  border-radius: 14px;
  overflow: hidden;
  background: #f0f9e8;
  border: none;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5a9e1a;
}

.ng-photo-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.ng-photo-grid-item .ng-photo-placeholder-icon { font-size: 28px; }
.ng-photo-grid-item .ng-photo-placeholder-text { font-size: 12px; font-weight: 700; color: #5a9e1a; }
.ng-photo-grid-item .ng-photo-placeholder-hint { font-size: 11px; color: #88bb66; }

/* Mobile: galería apilada con separación */
@media (max-width: 600px) {
  .ng-photo-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 1rem;
    max-width: 100%;
  }
  .ng-photo-grid-item {
    aspect-ratio: 1 / 1;
    border-radius: 12px;
  }
}

/* Epígrafe de foto */
.ng-photo-caption {
  font-size: 12px;
  color: #888;
  text-align: center;
  margin-top: -1.2rem;
  margin-bottom: 2rem;
  font-style: italic;
}

/* ---------- H2 — Subheading con keyword principal ---------- */
.ng-post h2.ng-section-heading {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #2d5a1b;
  margin: 2.2rem 0 1rem;
}

/* ---------- H3 — Subheading secundario con keyword de soporte ---------- */
.ng-post h3.ng-section-subheading {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: #3B6D11;
  margin: 1.8rem 0 0.6rem;
}

/* ---------- Tarjetas de cursos ---------- */
.ng-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 14px;
  margin: 2rem 0;
}

.ng-card {
  background: #f7f7f5;
  border: 1px solid #e2e2dc;
  border-radius: 14px;
  padding: 1.1rem 1rem;
  text-align: center;
}

.ng-card-icon {
  font-size: 28px;
  display: block;
  margin-bottom: 6px;
}

.ng-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #3B6D11;
  margin-bottom: 3px;
}

.ng-card-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.45;
}

@media (min-width: 768px) {
  .ng-card {
    padding: 1.5rem 1.2rem;
  }
  .ng-card-icon {
    font-size: 36px;
    margin-bottom: 10px;
  }
  .ng-card-title {
    font-size: 16px;
    margin-bottom: 6px;
  }
  .ng-card-desc {
    font-size: 15px;
    line-height: 1.5;
  }
}

/* ---------- CTA final — full width ---------- */
.ng-cta {
  background: #3B6D11;
  border-radius: 0;
  padding: 3rem 2rem;
  text-align: center;
  margin: 2.5rem 0 0;
  width: 100%;
}

.ng-cta-text {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .ng-cta-text {
    font-size: 22px;
  }
  .ng-cta-btn {
    font-size: 17px;
    padding: 14px 36px;
  }
}

.ng-cta-btn {
  display: inline-block;
  background: #fff;
  color: #3B6D11;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 28px;
  border-radius: 30px;
  text-decoration: none;
}

.ng-cta-btn:hover {
  background: #f0f9e8;
}

/* ---------- Separador ---------- */
.ng-divider {
  border: none;
  border-top: 1px solid #e5e5e0;
  margin: 2rem 0;
}

/* ---------- Etiquetas ---------- */
.ng-footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1rem;
}

.ng-tag {
  background: #f7f7f5;
  border: 1px solid #e2e2dc;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  color: #666;
}/* End custom CSS */