/* Start custom CSS for html, class: .elementor-element-16d2dd2 *//* =========================
   ESTILOS GENERALES
========================= */
.post-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1a1f2c;
  line-height: 1.7;
}

/* =========================
   CABECERA
========================= */
.post-header {
  margin-bottom: 24px;
}

/* Alineación pegada a la izquierda */
.post-meta-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.post-category {
  background-color: #eef4ff;
  color: #0741d3;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 8px;
  text-transform: uppercase;
}

.post-read-time {
  color: #8c98a9;
  font-size: 14px;
  font-weight: 500;
}

/* TÍTULO PRINCIPAL */
.post-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  color: #0d1424;
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
}

/* SUBTÍTULO PRINCIPAL */
.post-subtitle {
  font-size: 20px;
  font-weight: 400;
  color: #526071;
  line-height: 1.5;
  margin: 0 0 24px 0;
}

.post-date {
  font-size: 14px;
  color: #8c98a9;
  font-weight: 500;
}

.post-divider {
  border: none;
  border-top: 1px solid #e8edf2;
  margin: 28px 0 40px 0;
}

/* =========================
   CUERPO DEL ARTÍCULO
========================= */
.post-content p {
  font-size: 18px;
  color: #2c3545;
  margin-bottom: 24px;
}

.post-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: #0d1424;
  margin: 40px 0 16px 0;
}

.post-content ol, .post-content ul {
  margin: 0 0 28px 20px;
  padding: 0;
}

.post-content li {
  font-size: 18px;
  color: #2c3545;
  margin-bottom: 12px;
}

/* Callout destacable */
.post-callout {
  background-color: #f7fafc;
  border-left: 4px solid #0741d3;
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
  font-size: 18px;
  color: #1a233a;
  margin: 32px 0;
}

/* =========================
   RESPONSIVE MOBILE
========================= */
@media (max-width: 767px) {
  .post-title {
    font-size: 28px;
  }
  .post-subtitle {
    font-size: 17px;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-cd12474 *//* =========================
   CAJA DE AUTOR (AUTHOR BOX)
========================= */
.author-box-container {
  max-width: 800px !important;
  margin: 40px auto !important;
  background-color: #f8fafc !important; /* Fondo gris suave */
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  padding: 36px 40px !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 32px !important;
  box-sizing: border-box !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

/* Avatar circular */
.author-avatar-wrapper {
  flex-shrink: 0 !important;
}

.author-avatar {
  width: 110px !important;
  height: 110px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Información del autor */
.author-info {
  flex-grow: 1 !important;
}

.author-label {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  display: block !important;
  margin-bottom: 8px !important;
}

.author-name {
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #0d1424 !important;
  margin: 0 0 12px 0 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.3px !important;
}

.author-bio {
  font-size: 15px !important;
  color: #475569 !important;
  line-height: 1.6 !important;
  margin: 0 0 20px 0 !important;
}

.author-linkedin-link {
  color: #0d1424 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: color 0.2s ease !important;
}

.author-linkedin-link:hover {
  color: #2563eb !important;
}

/* Adaptación para pantallas móviles */
@media (max-width: 640px) {
  .author-box-container {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 28px 24px !important;
    gap: 20px !important;
  }

  .author-avatar {
    width: 90px !important;
    height: 90px !important;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-0fb87e3 *//* =========================
   CONTENEDOR GENERAL
========================= */
.related-and-newsletter-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 40px 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #0d1424;
}

/* =========================
   DIVISOR PERSONALIZADO (SOBREESCRIBE ELEMENTOR)
========================= */
.custom-divider-wrapper {
  padding-top: 48px !important;
  padding-bottom: 32px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.custom-divider-line {
  width: 100% !important;
  height: 1px !important;
  background-color: #e8edf2 !important;
  display: block !important;
}

/* =========================
   ARTÍCULOS RELACIONADOS
========================= */
.related-posts-container {
  margin-bottom: 48px;
}

.related-title {
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #0d1424 !important;
  margin: 0 0 24px 0 !important;
  padding: 0 !important;
  letter-spacing: -0.3px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.related-card {
  background: #ffffff;
  border: 1px solid #e8edf2;
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.related-tag {
  color: #4f46e5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: #0d1424;
  margin: 0 0 12px 0;
}

.card-description {
  font-size: 15px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 28px 0;
  flex-grow: 1;
}

.card-link {
  color: #0d1424;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.card-link:hover {
  color: #4f46e5;
}

/* =========================
   CTA NEWSLETTER OSCURO
========================= */
.dark-newsletter-card {
  background-color: #0b1329;
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  color: #ffffff;
}

.newsletter-title {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px 0;
  letter-spacing: -0.3px;
}

.newsletter-subtitle {
  font-size: 16px;
  color: #94a3b8;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto 32px auto;
}

.dark-newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
}

.dark-newsletter-form input {
  flex: 1;
  background-color: transparent;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 15px;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease;
}

.dark-newsletter-form input::placeholder {
  color: #64748b;
}

.dark-newsletter-form input:focus {
  border-color: #6366f1;
}

.dark-newsletter-form button {
  background-color: #ffffff;
  color: #0b1329;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.dark-newsletter-form button:hover {
  background-color: #f1f5f9;
}

/* =========================
   RESPONSIVE MOBILE
========================= */
@media (max-width: 767px) {
  .custom-divider-wrapper {
    padding-top: 32px !important;
    padding-bottom: 20px !important;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .dark-newsletter-card {
    padding: 32px 20px;
  }

  .newsletter-title {
    font-size: 22px;
  }

  .dark-newsletter-form {
    flex-direction: column;
  }

  .dark-newsletter-form button {
    width: 100%;
  }
}/* End custom CSS */