@charset "UTF-8";

@keyframes noticias-hero-link-halo {
  0%,
  100% {
    text-shadow:
      0 0 1px rgba(255, 255, 255, 0.35),
      1px 0 0 rgba(255, 255, 255, 0.28),
      -1px 0 0 rgba(255, 255, 255, 0.28),
      0 1px 0 rgba(255, 255, 255, 0.28),
      0 -1px 0 rgba(255, 255, 255, 0.28);
  }

  50% {
    text-shadow:
      0 0 4px rgba(255, 255, 255, 0.55),
      0 0 10px rgba(255, 255, 255, 0.28),
      1px 0 0 rgba(255, 255, 255, 0.65),
      -1px 0 0 rgba(255, 255, 255, 0.65),
      0 1px 0 rgba(255, 255, 255, 0.65),
      0 -1px 0 rgba(255, 255, 255, 0.65);
  }
}

.noticias-single__hero {
  position: relative;
  min-height: clamp(16rem, 34vw, 24rem);
  background: #0a1210;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  clip-path: inset(0 0 0 0);
  transform: translate3d(0, 0, 0);
  will-change: clip-path, transform;
}

.noticias-single--enter-pending.noticias-single-page:not(.noticias-single--entered) .noticias-single__hero {
  clip-path: inset(0 0 100% 0);
  transform: translate3d(0, -1.25rem, 0);
}

.noticias-single-page.noticias-single--entered .noticias-single__hero {
  transition:
    clip-path 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.78s cubic-bezier(0.22, 1, 0.36, 1);
}

.noticias-single--enter-pending.noticias-single-page:not(.noticias-single--entered) .noticias-single__hero-inner {
  opacity: 0;
  transform: translate3d(0, -0.65rem, 0);
}

.noticias-single-page.noticias-single--entered .noticias-single__hero-inner {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.55s ease 0.22s,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.22s;
}

.noticias-single__hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.noticias-single__hero-img {
  position: absolute;
  left: 50%;
  top: 0;
  width: calc(100% + 24px);
  height: 128%;
  margin-left: calc(-50% - 12px);
  object-fit: cover;
  object-position: center 38%;
  transform-origin: center 38%;
  filter: blur(9px) saturate(1.05);
  transform: translate3d(0, 0, 0) scale(1.04);
  will-change: transform;
  backface-visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .noticias-single__hero-img {
    will-change: auto;
    height: calc(100% + 24px);
  }
}

.noticias-single__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 12, 10, 0.45) 0%,
    rgba(6, 12, 10, 0.72) 45%,
    rgba(6, 12, 10, 0.88) 100%
  );
}

.noticias-single__hero-inner {
  position: relative;
  z-index: 2;
  color: #fff;
  width: 100%;
  padding: 2rem 0 1.85rem;
}

.noticias-single__hero-container {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.noticias-single__breadcrumb {
  font-size: 0.8rem;
  margin-bottom: 0.55rem;
}

.noticias-single__breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.55s ease;
}

.noticias-single__breadcrumb a:hover,
.noticias-single__breadcrumb a:focus-visible {
  color: #fff;
  animation: noticias-hero-link-halo 2s ease-in-out infinite;
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .noticias-single__breadcrumb a:hover,
  .noticias-single__breadcrumb a:focus-visible {
    animation: none;
    text-shadow:
      0 0 3px rgba(255, 255, 255, 0.5),
      1px 0 0 rgba(255, 255, 255, 0.45),
      -1px 0 0 rgba(255, 255, 255, 0.45),
      0 1px 0 rgba(255, 255, 255, 0.45),
      0 -1px 0 rgba(255, 255, 255, 0.45);
  }
}

.noticias-single__title {
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  line-height: 1.22;
  margin: 0 0 0.55rem;
}

.noticias-single__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.82rem;
  opacity: 0.92;
}

.noticias-single-page #layoutDefault main {
  display: block;
}

.noticias-single__layout {
  padding: 2.75rem 0 2rem;
  background: #fff;
  flex-shrink: 0;
}

.noticias-single--enter-pending.noticias-single-page:not(.noticias-single--entered) .noticias-single__layout,
.noticias-single--enter-pending.noticias-single-page:not(.noticias-single--entered) .noticias-single__recommend {
  opacity: 0;
  transform: translate3d(0, 1.75rem, 0);
}

.noticias-single-page.noticias-single--entered .noticias-single__layout {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.62s ease 0.38s,
    transform 0.68s cubic-bezier(0.22, 1, 0.36, 1) 0.38s;
}

.noticias-single-page.noticias-single--entered .noticias-single__recommend {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.62s ease 0.52s,
    transform 0.68s cubic-bezier(0.22, 1, 0.36, 1) 0.52s;
}

@media (prefers-reduced-motion: reduce) {
  .noticias-single__hero {
    will-change: auto;
  }

  .noticias-single-page .noticias-single__hero,
  .noticias-single-page .noticias-single__hero-inner,
  .noticias-single-page .noticias-single__layout,
  .noticias-single-page .noticias-single__recommend {
    clip-path: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.noticias-single__body-container {
  max-width: 54rem;
  margin-left: auto;
  margin-right: auto;
}

.noticias-single__article {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #222;
  overflow-wrap: anywhere;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  hyphenate-limit-chars: 6 3 3;
}

.noticias-single__article::after {
  content: "";
  display: table;
  clear: both;
}

/* Contenido importado desde WordPress / Elementor */
.noticias-single__article .elementor,
.noticias-single__article .elementor-section,
.noticias-single__article .e-con,
.noticias-single__article .e-con-inner,
.noticias-single__article .elementor-widget,
.noticias-single__article .elementor-widget-container,
.noticias-single__article .wp-block-post-content {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  max-width: 100%;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 0 0.75rem !important;
  min-height: 0 !important;
  gap: 0 !important;
}

.noticias-single__article .elementor-invisible {
  visibility: visible !important;
  opacity: 1 !important;
  animation: none !important;
}

.noticias-single__article p {
  margin: 0 0 1rem;
}

.noticias-single__article p:last-child {
  margin-bottom: 0;
}

.noticias-single__article ul,
.noticias-single__article ol {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
}

.noticias-single__article img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.25rem auto;
}

.noticias-single__article img.alignleft,
.noticias-single__article img.alignright,
.noticias-single__article img.aligncenter {
  float: none;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .noticias-single__article img.alignleft {
    float: left;
    margin: 0.25rem 1.25rem 0.85rem 0;
    max-width: min(42%, 16rem);
  }

  .noticias-single__article img.alignright {
    float: right;
    margin: 0.25rem 0 0.85rem 1.25rem;
    max-width: min(42%, 16rem);
  }
}

.noticias-single__article h2,
.noticias-single__article h3,
.noticias-single__article h4,
.noticias-single__article .wp-block-heading {
  margin: 1.75rem 0 0.65rem;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  line-height: 1.3;
  clear: both;
  text-align: left;
}

.noticias-single__article h2:first-child,
.noticias-single__article h3:first-child {
  margin-top: 0;
}

.noticias-single__article blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--bs-primary);
  background: #f4f6f5;
  border-radius: 0 0.5rem 0.5rem 0;
  text-align: left;
}

.noticias-single__article blockquote p {
  margin-bottom: 0.65rem;
}

.noticias-single__article table {
  width: 100%;
  margin: 1.25rem 0;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.45;
}

.noticias-single__article th,
.noticias-single__article td {
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 0.5rem 0.65rem;
  vertical-align: top;
  text-align: left;
}

.noticias-single__article th {
  background: #f4f6f5;
  font-weight: 600;
}

/* Carrusel Elementor sin JS: galería vertical de imágenes */
.noticias-single__article .noticias-wp-gallery-wrap,
.noticias-single__article .elementor-image-carousel-wrapper {
  margin: 1.5rem 0;
  height: auto !important;
  overflow: visible !important;
}

.noticias-single__article .noticias-wp-gallery {
  display: flex !important;
  flex-direction: column;
  gap: 1rem;
  transform: none !important;
  height: auto !important;
}

.noticias-single__article .noticias-wp-gallery__item {
  width: 100% !important;
  height: auto !important;
  opacity: 1 !important;
  flex: 0 0 auto;
}

.noticias-single__article .swiper-slide-inner,
.noticias-single__article .noticias-wp-gallery__item figure {
  margin: 0;
}

.noticias-single__article .elementor-swiper-button,
.noticias-single__article .swiper-pagination,
.noticias-single__article .e-font-icon-svg {
  display: none !important;
}

.noticias-single__article.wp-post-content a {
  color: var(--bs-primary);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.noticias-single__article.wp-post-content strong {
  font-weight: 600;
}

.noticias-single__fallback {
  padding: 1.25rem 1.35rem;
  background: #f4f6f5;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.noticias-single__fallback-link a {
  font-weight: 600;
}

.noticias-single__share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.noticias-single__share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #333;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.noticias-single__share a:hover {
  background: var(--bs-primary);
  color: #fff;
  border-color: var(--bs-primary);
}

.noticias-single__recommend {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 100%;
  padding: 2.75rem 0 3.5rem;
  background: #f4f6f5;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.noticias-single__recommend-container {
  max-width: 90rem;
}

.noticias-single__recommend-title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: 1.5rem;
  color: rgba(0, 0, 0, 0.8);
}

.noticias-single__recommend-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.35vw, 1.15rem);
  align-items: stretch;
}

/* HTML en caché del navegador (layout antiguo con 5 ítems) */
.noticias-single__recommend-track > .noticias-single__rec-card:nth-child(n + 5),
.noticias-single__recommend-track > .noticias-single__mini-card:nth-child(n + 5) {
  display: none !important;
}

@media (max-width: 991.98px) {
  .noticias-single__recommend-track {
    display: flex;
    flex-wrap: nowrap;
    gap: clamp(0.65rem, 2vw, 1rem);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .noticias-single__rec-card {
    flex: 0 0 clamp(11.5rem, 42vw, 16.5rem);
    scroll-snap-align: start;
    max-width: 100%;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .noticias-single__rec-card-body {
    padding: 0.9rem 0.95rem 1rem;
  }

  .noticias-single__rec-card-title {
    font-size: 0.92rem;
    -webkit-line-clamp: 3;
  }

  .noticias-single__rec-card-excerpt {
    font-size: 0.82rem;
    -webkit-line-clamp: 3;
  }
}

.noticias-single__rec-card {
  min-width: 0;
  height: 100%;
}

.noticias-single__rec-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.65rem;
  overflow: hidden;
  text-decoration: none;
  color: #1a1a1a;
  transition: border-color 0.2s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.noticias-single__rec-card-link:hover,
.noticias-single__rec-card-link:focus-visible {
  border-color: rgba(var(--bs-primary-rgb, 0, 128, 96), 0.4);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  outline: none;
}

.noticias-single__rec-card-media {
  aspect-ratio: 16 / 10;
  background: #e9ecef;
  overflow: hidden;
  flex-shrink: 0;
}

.noticias-single__rec-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
  transition: transform 0.35s ease;
}

.noticias-single__rec-card-link:hover .noticias-single__rec-card-media img {
  transform: scale(1.03);
}

.noticias-single__rec-card-media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 2rem;
  color: rgba(0, 0, 0, 0.2);
}

.noticias-single__rec-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.1rem 1.2rem 1.25rem;
  gap: 0.45rem;
}

.noticias-single__rec-card-category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bs-primary);
}

.noticias-single__rec-card-title {
  font-size: clamp(0.88rem, 0.95rem + 0.15vw, 1rem);
  line-height: 1.35;
  font-weight: 600;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.noticias-single__rec-card-excerpt {
  margin: 0;
  font-size: clamp(0.8rem, 0.82rem + 0.1vw, 0.88rem);
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.62);
  text-align: justify;
  text-justify: inter-word;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1 1 auto;
}

.noticias-single__rec-card-date {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.45);
}
