/* =====================
   BREADCRUMBS — Ruta de navegación arriba del contenido del post
   ===================== */
.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  line-height: 30px;
  color: #000;
}

/* El chevron se alinea a la primera línea del texto, no al centro del bloque:
   cuando el título es largo y envuelve, centrarlo lo dejaría flotando. */
.breadcrumbs__item + .breadcrumbs__item::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 7px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M6 12L10 8L6 4' stroke='%23FE5000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.breadcrumbs__link {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumbs__link:hover {
  color: var(--color-orange);
}

/* =====================
   POST CONTENT — Categorías, título, meta, imagen y cuerpo
   ===================== */
.post-content {
  padding-block: var(--space-3xl);
  background-color: var(--color-bg-white);
}

.post-content__inner {
  display: flex;
  flex-direction: column;
  gap: 52px;
  max-width: calc(var(--container-max) + 4rem);
  margin-inline: auto;
  padding-inline: calc(2rem + 30px);
}

.post-content__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.post-content__tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 15px;
  background-color: rgba(254, 80, 0, 0.2);
  border-radius: 100px;
  font-size: 18px;
  font-weight: var(--fw-semibold);
  line-height: 24px;
  color: var(--color-orange-ultra-dark);
}

.post-content__title {
  font-size: 36px;
  font-weight: var(--fw-semibold);
  line-height: 56px;
  color: var(--color-navy);
  margin: 0;
}

.post-content__meta {
  font-size: 24px;
  font-weight: var(--fw-light);
  line-height: 30px;
  color: #636363;
  margin: 0;
}

.post-content__media {
  border-radius: 8px;
  overflow: hidden;
  background-color: #d9d9d9;
}

.post-content__media img {
  display: block;
  width: 100%;
  height: auto;
}

.post-content__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 20px;
  font-weight: var(--fw-light);
  line-height: 30px;
  color: var(--color-navy);
}

.post-content__body p {
  margin: 0;
}

.post-content__quote {
  margin: 0;
  padding-left: 24px;
  border-left: 4px solid var(--color-orange);
  font-size: 20px;
  font-style: italic;
  font-weight: var(--fw-regular);
  color: #555;
}

.post-content__quote cite {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  font-style: normal;
  font-weight: var(--fw-regular);
  color: #7f7f7f;
}

.post-content__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.post-content__list li strong {
  font-weight: var(--fw-semibold);
}

/* =====================
   OTRAS NOTICIAS — swiper (4 desktop / 1.25 mobile)
   (header reusa .article-grid__title; card reusa .article-card)
   ===================== */
.related-news {
  padding-block: var(--space-3xl);
  background-color: var(--color-bg-white);
}

.related-news__inner {
  display: flex;
  flex-direction: column;
  gap: 44px;
  max-width: calc(var(--container-max) + 4rem);
  margin-inline: auto;
  padding-inline: calc(2rem + 30px);
}

.related-news__swiper {
  width: 100%;
}

.related-news__swiper .swiper-wrapper {
  align-items: stretch;
}

/* =====================
   RESPONSIVE — NOTICIAS INTERIOR
   ===================== */
@media (max-width: 991.98px) {
  .post-content__title {
    font-size: 28px;
    line-height: 38px;
  }

  .post-content__meta {
    font-size: 18px;
  }

  .post-content__body,
  .post-content__quote {
    font-size: var(--fs-lg);
  }
}

@media (max-width: 575.98px) {
  .breadcrumbs__list,
  .breadcrumbs__item {
    gap: 10px;
  }

  .breadcrumbs__item {
    font-size: var(--fs-sm);
    line-height: 22px;
  }

  .breadcrumbs__item + .breadcrumbs__item::before {
    margin-top: 3px;
  }

  .post-content__title {
    font-size: 24px;
    line-height: 32px;
  }

  .post-content__media {
    border-radius: 16px;
  }

  .post-content__body,
  .post-content__quote {
    font-size: var(--fs-md);
  }
}

/* ---- Reset mobile: el padding alineado al navbar (calc(2rem + 30px)) solo aplica en desktop; en mobile se usa el gutter estándar ---- */
@media (max-width: 991.98px) {
  .post-content__inner {
    padding-inline: var(--container-pad);
  }

  .related-news__inner {
    padding-inline: var(--container-pad);
  }
}

/* the_content() emite etiquetas peladas, sin las clases del maquetado, y
   base.css les quita viñetas y márgenes. Se replican por elemento. */
.post-content__body blockquote {
  margin: 0;
  padding-left: 24px;
  border-left: 4px solid var(--color-orange);
  font-size: 20px;
  font-style: italic;
  font-weight: var(--fw-regular);
  color: #555;
}

.post-content__body blockquote cite {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  font-style: normal;
  font-weight: var(--fw-regular);
  color: #7f7f7f;
}

.post-content__body ul,
.post-content__body ol {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}

.post-content__body ol {
  list-style: decimal;
}

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

.post-content__body figure {
  margin: 0;
}

.post-content__body a {
  color: var(--color-orange);
  text-decoration: underline;
}

@media (max-width: 575.98px) {
  .article-grid__title {
    font-size: 22px;
    line-height: 32px;
  }
}
