/* Public news pages share the active homepage's dark, glass-and-gold identity. */
body.news-refresh {
  color: #f4f5f6;
  background:
    radial-gradient(ellipse at 10% 16%, rgba(255, 208, 0, 0.09), transparent 34rem),
    radial-gradient(ellipse at 92% 55%, rgba(72, 183, 174, 0.08), transparent 36rem),
    #090b10;
}

body.news-refresh a {
  color: inherit;
  text-decoration: none;
}

body.news-refresh a:hover {
  color: #ffd000;
  text-decoration: none;
}

body.news-refresh #header {
  background: rgba(9, 11, 16, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

body.news-refresh #header.header-scrolled {
  background: rgba(9, 11, 16, 0.96);
  border-bottom-color: rgba(255, 208, 0, 0.18);
}

body.news-refresh #main.news-refresh-main {
  min-height: 70vh;
}

body.news-refresh .news-container {
  max-width: 1360px;
  height: auto;
  margin: 0 auto;
  padding: 82px clamp(1rem, 2.5vw, 2rem) 4.5rem;
}

body.news-refresh .breaking-news {
  min-width: 0;
  margin-bottom: 2rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 208, 0, 0.22);
  border-left: 3px solid #ffd000;
  border-radius: 16px;
  color: #f4f5f6;
  background: linear-gradient(110deg, rgba(255, 208, 0, 0.11), rgba(20, 24, 32, 0.9) 40%);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.2);
}

body.news-refresh .breaking-badge {
  color: #fff;
  background: #d62f3b;
  letter-spacing: 0.06em;
}

body.news-refresh .breaking-text {
  color: #e4e7eb;
}

body.news-refresh .breaking-news .player-controls {
  flex: 0 0 auto;
  gap: 0.55rem;
  color: #c2c8d0;
}

body.news-refresh #play-pause-btn {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  color: #111;
  background: #ffd000;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

body.news-refresh #play-pause-btn:hover {
  transform: translateY(-2px);
  background: #ffe15a;
}

body.news-refresh .main-news {
  margin-bottom: 2.5rem;
  padding: clamp(1rem, 2.5vw, 1.7rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(20, 24, 32, 0.72), rgba(13, 16, 22, 0.68));
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.2);
}

body.news-refresh .section-header {
  gap: 1rem;
  margin-bottom: 1.4rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

body.news-refresh .section-title {
  color: #f4f5f6;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  letter-spacing: 0.04em;
}

body.news-refresh .section-header::after {
  content: "";
  position: absolute;
}

body.news-refresh .featured-news {
  height: clamp(300px, 42vw, 520px);
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: #10141b;
}

body.news-refresh .featured-news img {
  filter: saturate(0.88);
  transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.45s ease;
}

body.news-refresh .featured-news:hover img {
  transform: scale(1.035);
  filter: saturate(1.05);
}

body.news-refresh .featured-overlay {
  padding: clamp(1.3rem, 3vw, 2.2rem);
  background: linear-gradient(0deg, rgba(5, 7, 10, 0.96), rgba(5, 7, 10, 0.55) 45%, transparent 100%);
}

body.news-refresh .featured-overlay h2 {
  max-width: 900px;
  margin: 0.7rem 0;
  color: #fff;
  font-size: clamp(1.6rem, 3.8vw, 3rem);
  line-height: 1.08;
  text-wrap: balance;
}

body.news-refresh .featured-overlay p {
  max-width: 760px;
  color: #d2d7df;
}

body.news-refresh .news-meta {
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  color: #ffd000;
}

body.news-refresh .view-more-btn,
body.news-refresh .view-more-btn:hover {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 208, 0, 0.38);
  border-radius: 999px;
  color: #ffd000;
  background: rgba(255, 208, 0, 0.08);
  font-size: 0.82rem;
  transition: transform 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

body.news-refresh .view-more-btn:hover {
  transform: translateY(-2px);
  color: #111;
  background: #ffd000;
}

body.news-refresh .news-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
  gap: 1rem;
}

body.news-refresh .news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(25, 30, 39, 0.96), rgba(16, 19, 26, 0.96));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body.news-refresh .news-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 208, 0, 0.42);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.3);
}

body.news-refresh .news-card > img {
  flex: 0 0 auto;
  height: 190px;
  border-radius: 0;
  transition: transform 0.55s ease;
}

body.news-refresh .news-card:hover > img {
  transform: scale(1.04);
}

body.news-refresh .news-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.1rem;
}

body.news-refresh .news-card-category {
  color: #ffd000;
  background: rgba(255, 208, 0, 0.1);
  border: 1px solid rgba(255, 208, 0, 0.24);
  letter-spacing: 0.06em;
}

body.news-refresh .news-card-title {
  font-size: 1.12rem;
  line-height: 1.28;
}

body.news-refresh .news-card-title a {
  color: #f4f5f6;
}

body.news-refresh .news-card-excerpt {
  color: #aab1bc;
}

body.news-refresh .news-card-meta {
  width: 100%;
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aab1bc;
}

body.news-refresh .read-more {
  color: #ffd000;
}

body.news-refresh .category-tabs,
body.news-refresh .sidebar {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(20, 24, 32, 0.9), rgba(13, 16, 22, 0.9));
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.18);
}

body.news-refresh .category-tabs {
  padding: 1rem;
}

body.news-refresh .category-tabs .nav-pills .nav-link {
  margin: 0.2rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: #c3c9d2;
  background: rgba(255, 255, 255, 0.025);
}

body.news-refresh .category-tabs .nav-pills .nav-link.active,
body.news-refresh .category-tabs .nav-pills .nav-link:hover {
  border-color: #ffd000;
  color: #111;
  background: #ffd000;
}

body.news-refresh .sidebar {
  padding: 1.2rem;
}

body.news-refresh .sidebar-title {
  color: #f4f5f6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

body.news-refresh .trending-item {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.news-refresh .trending-number {
  flex: 0 0 30px;
  box-shadow: 0 0 0 4px rgba(255, 208, 0, 0.09);
}

body.news-refresh .trending-meta,
body.news-refresh .news-container .text-muted {
  color: #aab1bc !important;
}

body.news-refresh .video-item:hover {
  background: rgba(255, 208, 0, 0.07);
}

/* Category and search-result pages */
body.news-refresh .categoria-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 100px clamp(1rem, 2.5vw, 2rem) 4rem;
}

body.news-refresh .categoria-header,
body.news-refresh .categoria-news-card,
body.news-refresh .categoria-no-news {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(20, 24, 32, 0.93), rgba(13, 16, 22, 0.93));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

body.news-refresh .categoria-header {
  padding: clamp(1.8rem, 4vw, 3rem);
}

body.news-refresh .categoria-header::before {
  background: radial-gradient(ellipse at center, rgba(255, 208, 0, 0.11), transparent 68%);
}

body.news-refresh .categoria-title {
  color: #f4f5f6;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

body.news-refresh .categoria-news-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.1rem;
}

body.news-refresh .categoria-news-card {
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body.news-refresh .categoria-news-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 208, 0, 0.4);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.32);
}

body.news-refresh .categoria-news-image {
  height: 210px;
}

body.news-refresh .categoria-news-content {
  padding: 1.2rem;
}

body.news-refresh .categoria-news-title a {
  color: #f4f5f6;
}

body.news-refresh .categoria-news-title a:hover,
body.news-refresh .categoria-read-more {
  color: #ffd000;
}

body.news-refresh .categoria-news-excerpt,
body.news-refresh .categoria-subtitle {
  color: #aab1bc;
}

body.news-refresh .categoria-news-date {
  color: #ffd000;
  background: rgba(255, 208, 0, 0.08);
  border-color: rgba(255, 208, 0, 0.22);
}

body.news-refresh .noticias-counter {
  color: #aab1bc;
  background: rgba(20, 24, 32, 0.82);
  border-color: rgba(255, 255, 255, 0.1);
}

body.news-refresh .btn-ver-mas,
body.news-refresh .categoria-back-btn {
  border: 1px solid rgba(255, 208, 0, 0.36);
  color: #ffd000;
  background: rgba(255, 208, 0, 0.08);
  box-shadow: none;
}

body.news-refresh .btn-ver-mas:hover,
body.news-refresh .categoria-back-btn:hover {
  color: #111;
  background: #ffd000;
}

/* Article detail */
body.news-refresh .detalle-noticia-container {
  max-width: 1320px;
  padding: 100px clamp(1rem, 2.5vw, 2rem) 4rem;
  font-family: 'Dubai Regular', 'Segoe UI', sans-serif;
}

body.news-refresh .detalle-titulo-principal {
  color: #f4f5f6;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  text-wrap: balance;
}

body.news-refresh .detalle-fecha,
body.news-refresh .detalle-contenido-texto {
  color: #c3c9d2;
}

body.news-refresh .detalle-article,
body.news-refresh .detalle-sidebar-widget {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(20, 24, 32, 0.94), rgba(13, 16, 22, 0.94));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}

body.news-refresh .detalle-article {
  padding: clamp(1.2rem, 3vw, 2.5rem);
}

body.news-refresh .detalle-article::before {
  height: 3px;
  background: linear-gradient(90deg, #ffd000, #6bd2c5, transparent);
}

body.news-refresh .detalle-imagen-container {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.news-refresh .detalle-stats {
  color: #ffd000;
  background: rgba(255, 208, 0, 0.07);
  border-color: rgba(255, 208, 0, 0.18);
}

body.news-refresh .detalle-audio-section {
  border: 1px solid rgba(255, 208, 0, 0.25);
  background: rgba(255, 255, 255, 0.035);
}

body.news-refresh .detalle-contenido-texto {
  font-size: 1.08rem;
  line-height: 1.85;
}

body.news-refresh .detalle-sidebar-widget {
  padding: 1.25rem;
}

body.news-refresh .detalle-widget-title {
  color: #f4f5f6;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

body.news-refresh .detalle-btn-back {
  border: 1px solid rgba(255, 208, 0, 0.36);
  color: #ffd000;
  background: rgba(255, 208, 0, 0.08);
  box-shadow: none;
}

body.news-refresh .detalle-btn-back:hover {
  color: #111;
  background: #ffd000;
}

body.news-refresh .footer-area,
body.news-refresh .footer-area-bottom {
  color: #f4f5f6;
  background: #080a0e;
}

body.news-refresh .footer-area {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.news-refresh .footer-head p,
body.news-refresh .footer-head h4,
body.news-refresh .footer-area-bottom p,
body.news-refresh .footer-area-bottom .credits {
  color: #aab1bc;
}

@media (max-width: 767.98px) {
  body.news-refresh .news-container {
    padding: 74px 0.85rem 3rem;
  }

  body.news-refresh .breaking-news {
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0.75rem;
  }

  body.news-refresh .breaking-text {
    flex-basis: calc(100% - 1rem);
    order: 3;
  }

  body.news-refresh .breaking-news .player-controls {
    margin-left: auto;
  }

  body.news-refresh .main-news {
    padding: 0.8rem;
  }

  body.news-refresh .featured-news {
    height: 390px;
  }

  body.news-refresh .featured-overlay {
    padding: 1rem;
  }

  body.news-refresh .news-card > img {
    height: 205px;
  }

  body.news-refresh .categoria-container,
  body.news-refresh .detalle-noticia-container {
    padding-inline: 0.9rem;
  }

  body.news-refresh .detalle-container,
  body.news-refresh .detalle-noticia-container {
    padding-top: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.news-refresh .breaking-text span {
    animation: none;
  }
}
