/* ── PAGE HEADER ── */
.page-header {
  background: #0a0a0a;
  border-bottom: 2px solid #e8342a;
  padding: 36px 24px;
}

.page-header-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-header-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #e8342a;
  margin-bottom: 8px;
}

.page-header-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: #f0ede6;
  line-height: 1;
  margin-bottom: 10px;
}

.page-header-desc {
  font-size: 14px;
  color: #5a5550;
}

/* ── CONTAINER ── */
.noticias-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px;
}

/* ── DESTACADA ── */
.noticia-destacada {
  margin-bottom: 32px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.noticia-destacada-img {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.noticia-destacada-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s;
}

.noticia-destacada:hover img {
  transform: scale(1.02);
}

.noticia-destacada-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.97) 0%, rgba(13,13,13,0.5) 50%, transparent 100%);
}

.noticia-destacada-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #e8342a;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}

.noticia-destacada-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
}

.noticia-destacada-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: #f0ede6;
  line-height: 1.1;
  margin-bottom: 10px;
  max-width: 600px;
}

.noticia-destacada-desc {
  font-size: 14px;
  color: #9a9590;
  max-width: 560px;
  line-height: 1.6;
}

/* ── FILTROS ── */
.filtros-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #1e1e1e;
}

.filtro {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: #111;
  border: 1px solid #2a2a2a;
  color: #9a9590;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.15s;
}

.filtro:hover {
  border-color: #e8342a;
  color: #f0ede6;
}

.filtro.active {
  background: #e8342a;
  border-color: #e8342a;
  color: #fff;
}

/* ── GRILLA ── */
.noticias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.noticia-card {
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}

.noticia-card:hover {
  border-color: #e8342a;
  transform: translateY(-2px);
}

.noticia-card-img {
  height: 140px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img-bg-1 { background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 100%); }
.card-img-bg-2 { background: linear-gradient(135deg, #1a0a1e 0%, #3d1a52 100%); }
.card-img-bg-3 { background: linear-gradient(135deg, #0d1a0a 0%, #1e4012 100%); }
.card-img-bg-4 { background: linear-gradient(135deg, #1a1200 0%, #4a3500 100%); }
.card-img-bg-5 { background: linear-gradient(135deg, #1a0008 0%, #4a0015 100%); }
.card-img-bg-6 { background: linear-gradient(135deg, #001a1a 0%, #003d3d 100%); }

.noticia-platform {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  color: #9a9590;
  padding: 2px 6px;
}

.noticia-card-body { padding: 12px; }

.noticia-cat {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #e8342a;
  margin-bottom: 6px;
}

.noticia-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  color: #d8d5ce;
}

/* ═══════════════════════════════════
   MOBILE — hasta 768px
═══════════════════════════════════ */
@media (max-width: 768px) {

  .page-header {
    padding: 24px 16px;
  }

  .page-header-title {
    font-size: 36px;
  }

  .noticias-container {
    padding: 20px 16px;
  }

  .noticia-destacada-img {
    height: 240px;
  }

  .noticia-destacada-content {
    padding: 16px;
  }

  .noticia-destacada-title {
    font-size: 22px;
  }

  .noticia-destacada-desc {
    display: none;
  }

  .noticias-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .noticia-card-img {
    height: 160px;
  }
}

/* ═══════════════════════════════════
   TABLET — entre 769px y 1024px
═══════════════════════════════════ */
@media (min-width: 769px) and (max-width: 1024px) {

  .noticias-container {
    padding: 24px 16px;
  }

  .noticia-destacada-img {
    height: 300px;
  }

  .noticia-destacada-title {
    font-size: 26px;
  }

  .noticias-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
