/*
Theme Name: Divi Child
Template: Divi
Version: 1.0
*/


.ap-single-post-page {
  background: linear-gradient(180deg, #f8fcfd 0%, #ffffff 100%);
}

.ap-single-hero {
  position: relative;
  padding: 100px 20px 34px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fcfd 0%, #ffffff 100%);
}

.ap-single-hero__container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.ap-single-hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(18,52,77,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,52,77,0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,1) 18%, rgba(0,0,0,1) 82%, transparent 100%);
  z-index: 1;
}

.ap-single-hero__bg {
  position: absolute;
  border-radius: 50%;
  filter: blur(38px);
  opacity: .22;
  z-index: 1;
  animation: apSingleFloatOrb 10s ease-in-out infinite;
}

.ap-single-hero__bg--1 {
  width: 260px;
  height: 260px;
  top: 70px;
  left: -70px;
  background: #22bfce;
}

.ap-single-hero__bg--2 {
  width: 250px;
  height: 250px;
  right: -60px;
  top: 50px;
  background: #7b73c9;
  animation-delay: 2s;
}

.ap-single-hero__bg--3 {
  width: 220px;
  height: 220px;
  bottom: 0;
  left: 40%;
  background: #f53a93;
  opacity: .14;
  animation-delay: 3s;
}

@keyframes apSingleFloatOrb {
  0%,100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-18px) translateX(12px); }
}

.ap-single-hero__inner {
  max-width: 900px;
  margin: 0 auto 28px;
  text-align: center;
  position: relative;
  z-index: 3;
}

.ap-single-hero__badge {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22bfce, #49d2df);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 18px;
  box-shadow: 0 16px 40px rgba(34,191,206,0.20);
}

.ap-single-hero__title {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -1.4px;
  font-weight: 800;
  color: #12344d;
}

.ap-single-hero__meta {
  font-size: 15px;
  line-height: 1.7;
  color: #5a6873;
  font-weight: 600;
}

.ap-single-hero__image-wrap {
  width: min(900px, 92%);
  margin: 40px auto 40px;
  position: relative;
  z-index: 3;
}

.ap-single-hero__image {
  width: 100%;
  display: block;
  border-radius: 34px;
  box-shadow: 0 28px 80px rgba(14,43,66,0.12);
}

.ap-single-content-wrap {
  padding: 0 20px 26px;
  background: #ffffff;
}

.ap-single-content-wrap__container {
  max-width: 1280px;
  margin: 0 auto;
}

.ap-single-article {
  margin: 0;
}

.ap-single-content {
  width: min(900px, 92%);
  margin: -42px auto 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,251,252,0.96));
  border: 1px solid rgba(18,52,77,0.08);
  box-shadow: 0 24px 70px rgba(14,43,66,0.08);
  border-radius: 34px;
  padding: 42px 42px 50px;
  position: relative;
  z-index: 5;
  font-size: 18px;
  line-height: 1.9;
  color: #42515d;
}

.ap-single-content p {
  margin-bottom: 1.35em;
}

.ap-single-content h2 {
  margin: 1.8em 0 .7em;
  font-size: 34px;
  line-height: 1.15;
  color: #12344d;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.ap-single-content h3 {
  margin: 1.6em 0 .7em;
  font-size: 26px;
  line-height: 1.2;
  color: #12344d;
  font-weight: 800;
}

.ap-single-content h4 {
  margin: 1.4em 0 .65em;
  font-size: 21px;
  line-height: 1.3;
  color: #12344d;
  font-weight: 800;
}

.ap-single-content ul,
.ap-single-content ol {
  margin: 0 0 1.4em 1.2em;
  padding: 0;
}

.ap-single-content li {
  margin-bottom: .7em;
}

.ap-single-content strong {
  color: #12344d;
  font-weight: 800;
}

.ap-single-content a {
  color: #22bfce;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(34,191,206,0.25);
}

.ap-single-content blockquote {
  margin: 2em 0;
  padding: 24px 26px;
  border-left: 5px solid #22bfce;
  border-radius: 0 24px 24px 0;
  background: rgba(34,191,206,0.06);
  color: #12344d;
  font-size: 19px;
  line-height: 1.8;
}

.ap-single-content img {
  border-radius: 24px;
  display: block;
  margin: 26px auto;
  box-shadow: 0 20px 50px rgba(14,43,66,0.10);
  max-width: 100%;
  height: auto;
}

.ap-related-posts {
  padding: 34px 20px 110px;
  background: linear-gradient(180deg, transparent 0%, #f8fcfd 100%);
}

.ap-related-posts__container {
  max-width: 1280px;
  margin: 0 auto;
}

.ap-related-posts__heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.ap-related-posts__badge {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22bfce, #49d2df);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 18px;
  box-shadow: 0 16px 40px rgba(34,191,206,0.20);
}

.ap-related-posts__heading h2 {
  margin: 0 0 12px;
  font-size: 46px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -1px;
  color: #12344d;
}

.ap-related-posts__heading p {
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
  color: #5a6873;
}

.ap-related-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ap-related-card {
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,251,252,0.96));
  border: 1px solid rgba(18,52,77,0.08);
  box-shadow: 0 24px 60px rgba(14,43,66,0.08);
  transition: transform .35s ease, box-shadow .35s ease;
}

.ap-related-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 80px rgba(14,43,66,0.13);
}

.ap-related-card__image-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #effbff, #f8fcff);
}

.ap-related-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.ap-related-card:hover .ap-related-card__image {
  transform: scale(1.06);
}

.ap-related-card__content {
  padding: 24px 22px 24px;
}

.ap-related-card__meta {
  font-size: 13px;
  color: #159bab;
  font-weight: 800;
  margin-bottom: 12px;
}

.ap-related-card__title {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.18;
  font-weight: 800;
}

.ap-related-card__title a {
  color: #12344d;
  text-decoration: none;
}

.ap-related-card__excerpt {
  font-size: 15px;
  line-height: 1.75;
  color: #5b6975;
  margin-bottom: 20px;
}

.ap-related-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #22bfce, #49d2df);
  box-shadow: 0 16px 32px rgba(34,191,206,0.22);
}

#comment-wrap,
#comments,
.comment-area,
.comments-area,
.et_pb_comments_module,
.comment-respond,
.comment-reply-title {
  display: none !important;
}

.single-post #sidebar {
  display: none !important;
}

.single-post #left-area {
  width: 100% !important;
  float: none !important;
  padding-right: 0 !important;
}

.single-post .container:before {
  display: none !important;
}

@media (max-width: 1100px) {
  .ap-related-posts__grid {
    grid-template-columns: 1fr;
  }

  .ap-related-posts__heading h2 {
    font-size: 38px;
  }
}

@media (max-width: 767px) {
  .ap-single-hero {
    padding: 78px 16px 24px;
  }

  .ap-single-hero__title {
    font-size: 32px;
    line-height: 1.08;
    letter-spacing: -0.6px;
  }

  .ap-single-hero__meta {
    font-size: 14px;
  }

  .ap-single-hero__image {
    border-radius: 24px;
  }

  .ap-single-content-wrap {
    padding: 0 16px 20px;
  }

  .ap-single-content {
    width: 92%;
    margin-top: -20px;
    padding: 26px 20px 30px;
    border-radius: 24px;
    font-size: 16px;
    line-height: 1.8;
  }

  .ap-single-content h2 {
    font-size: 27px;
  }

  .ap-single-content h3 {
    font-size: 22px;
  }

  .ap-single-content h4 {
    font-size: 19px;
  }

  .ap-related-posts {
    padding: 24px 16px 72px;
  }

  .ap-related-posts__heading h2 {
    font-size: 30px;
    line-height: 1.1;
  }

  .ap-related-posts__heading p {
    font-size: 16px;
  }

  .ap-related-card {
    border-radius: 22px;
  }

  .ap-related-card__content {
    padding: 20px 18px;
  }

  .ap-related-card__title {
    font-size: 20px;
  }
}




/* ===== RESTAURAR LISTAS EN ARTICULOS ===== */
.ap-single-content ol,
.ap-single-content ul {
  margin: 0 0 1.4em 1.4em;
  padding-left: 1.2em;
}

.ap-single-content ol {
  list-style: decimal !important;
}

.ap-single-content ul {
  list-style: disc !important;
}

.ap-single-content li {
  display: list-item !important;
  margin-bottom: .7em;
}

.ap-single-content ol li::marker,
.ap-single-content ul li::marker {
  color: #12344d;
  font-weight: 700;
}










