/* ========================================
   Noticias Single Page Styles
   AvalosCPA — Decreto 15-2026
   ======================================== */

/* --- Hero Section --- */
.noticia-hero {
  background: linear-gradient(135deg, #10243a 0%, #082746 100%);
  padding: 60px 24px 50px;
  text-align: center;
}

.noticia-hero__container {
  max-width: 800px;
  margin: 0 auto;
}

.noticia-hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.noticia-hero__category {
  display: inline-block;
  background: #c99a32;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 3px;
}

.noticia-hero__date,
.noticia-hero__author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
}

.noticia-hero__date svg,
.noticia-hero__author svg {
  opacity: 0.6;
}

.noticia-hero__title {
  font-family: 'EB Garamond', serif;
  font-weight: 600;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.3px;
}

/* --- Featured Image --- */
.noticia-featured-image {
  background: #f8f9fb;
  padding: 40px 24px;
}

.noticia-featured-image__container {
  max-width: 900px;
  margin: 0 auto;
}

.noticia-featured-image__container img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  display: block;
}

/* --- Content --- */
.noticia-content {
  padding: 48px 24px 40px;
}

.noticia-content__container {
  max-width: 760px;
  margin: 0 auto;
}

.noticia-content__body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #374151;
}

.noticia-content__body h2 {
  font-family: 'EB Garamond', serif;
  font-weight: 600;
  font-size: 26px;
  color: #10243a;
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #c99a32;
}

.noticia-content__body h3 {
  font-family: 'EB Garamond', serif;
  font-weight: 600;
  font-size: 21px;
  color: #082746;
  margin: 32px 0 12px;
  position: relative;
  padding-left: 16px;
}

.noticia-content__body h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 4px;
  background: #c99a32;
  border-radius: 2px;
}

.noticia-content__body p {
  margin: 0 0 18px;
}

.noticia-content__body ul,
.noticia-content__body ol {
  margin: 0 0 20px;
  padding-left: 28px;
}

.noticia-content__body li {
  margin-bottom: 10px;
  padding-left: 4px;
}

.noticia-content__body li strong {
  color: #10243a;
}

.noticia-content__body em {
  color: #6b7280;
}

.noticia-content__body strong {
  color: #10243a;
  font-weight: 600;
}

/* --- Back Link --- */
.noticia-content__footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.noticia-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #082746;
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.noticia-back-link:hover {
  color: #c99a32;
  gap: 12px;
}

.noticia-back-link svg {
  transition: transform 0.2s ease;
}

.noticia-back-link:hover svg {
  transform: translateX(-3px);
}

/* --- Más Noticias Section --- */
.noticia-more {
  background: #f8f9fb;
  padding: 60px 24px;
  border-top: 1px solid #e5e7eb;
}

.noticia-more__container {
  max-width: 1100px;
  margin: 0 auto;
}

.noticia-more__heading {
  font-family: 'EB Garamond', serif;
  font-weight: 600;
  font-size: 30px;
  color: #10243a;
  text-align: center;
  margin: 0 0 40px;
  position: relative;
}

.noticia-more__heading::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #c99a32;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* --- News Cards Grid --- */
.noticia-more__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.noticia-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.noticia-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.noticia-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e5e7eb;
}

.noticia-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.noticia-card:hover .noticia-card__image img {
  transform: scale(1.05);
}

.noticia-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f1f3 0%, #e5e7eb 100%);
  color: #9ca3af;
}

.noticia-card__body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.noticia-card__category {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #c99a32;
  margin-bottom: 8px;
}

.noticia-card__title {
  font-family: 'EB Garamond', serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.35;
  color: #10243a;
  margin: 0 0 12px;
  flex: 1;
}

.noticia-card:hover .noticia-card__title {
  color: #c99a32;
}

.noticia-card__date {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #9ca3af;
  margin-top: auto;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .noticia-more__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .noticia-hero {
    padding: 40px 20px 36px;
  }

  .noticia-hero__title {
    font-size: 26px;
  }

  .noticia-hero__meta {
    gap: 12px;
    margin-bottom: 18px;
  }

  .noticia-content {
    padding: 32px 20px;
  }

  .noticia-content__body {
    font-size: 15px;
  }

  .noticia-content__body h2 {
    font-size: 22px;
  }

  .noticia-content__body h3 {
    font-size: 18px;
  }

  .noticia-more {
    padding: 40px 20px;
  }

  .noticia-more__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .noticia-card {
    flex-direction: row;
  }

  .noticia-card__image {
    width: 120px;
    min-height: 100px;
    aspect-ratio: auto;
    flex-shrink: 0;
  }

  .noticia-card__body {
    padding: 14px 16px;
  }

  .noticia-card__title {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .noticia-hero__meta {
    flex-direction: column;
    gap: 8px;
  }
}

/* --- Noticias Archive: Title Link --- */
.e-loop-item .elementor-element-nts_card_title .elementor-heading-title a {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.e-loop-item .elementor-element-nts_card_title .elementor-heading-title a:hover {
  color: #c99a32 !important;
}

/* Google Translate Widget styles now in mu-plugin */
