:root{
  --blue:#071c4d;
  --blue2:#0b3c91;
  --red:#ef3340;
  --white:#ffffff;
  --soft:#f3f6fb;
  --text:#0f172a;
  --muted:#64748b;
  --orange:#f97316;
  --shadow:0 24px 70px rgba(15,23,42,.14);
}

*{box-sizing:border-box}

body{
  background:
    radial-gradient(circle at top right, rgba(239,51,64,.08), transparent 26%),
    linear-gradient(180deg,#f4f7fb 0%,#edf3fb 100%);
}

.rp-news{
  padding-top:78px;
}

/* HERO */
.news-hero{
  position:relative;
  min-height:64vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:#071c4d;
}

.news-hero__bg{
  position:absolute;
  inset:0;
  background:
    url('/img/noticias/feb.png') center/cover no-repeat;
  transform:scale(1.02);
}

.news-hero__shade{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(7,28,77,.94) 0%, rgba(7,28,77,.80) 48%, rgba(7,28,77,.28) 100%),
    radial-gradient(circle at right, rgba(239,51,64,.26), transparent 32%);
}

.news-hero__content{
  position:relative;
  z-index:2;
  width:min(1320px,calc(100% - 32px));
  margin:0 auto;
  color:#fff;
  padding:80px 0;
}

.news-eyebrow{
  display:inline-flex;
  background:var(--red);
  color:#fff;
  padding:9px 15px;
  border-radius:999px;
  font-weight:900;
  margin-bottom:22px;
}

.news-hero h1{
  margin:0;
  max-width:820px;
  font-size:clamp(3rem,7vw,6.4rem);
  line-height:.95;
  font-weight:900;
  letter-spacing:-.06em;
}

.news-hero p{
  max-width:690px;
  margin:26px 0 0;
  font-size:clamp(1rem,2vw,1.25rem);
  line-height:1.75;
  color:rgba(255,255,255,.88);
}

/* RESUMEN */
.news-summary{
  width:min(1320px,calc(100% - 32px));
  margin:-58px auto 54px;
  position:relative;
  z-index:5;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.news-summary article{
  background:#fff;
  border-radius:24px;
  padding:24px;
  box-shadow:var(--shadow);
}

.news-summary span{
  display:block;
  color:var(--red);
  font-size:2.2rem;
  font-weight:900;
  line-height:1;
}

.news-summary strong{
  display:block;
  margin:10px 0 6px;
  color:var(--blue);
  font-size:1.1rem;
}

.news-summary p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}

/* MONTH BAR */
.month-bar{
  width:min(1320px,calc(100% - 32px));
  margin:0 auto 44px;
  background:#fff;
  border-radius:30px;
  padding:26px;
  box-shadow:var(--shadow);
  display:flex;
  justify-content:space-between;
  gap:22px;
  align-items:center;
}

.news-label{
  display:inline-flex;
  color:var(--red);
  font-weight:900;
  margin-bottom:10px;
}

.news-label--red{
  background:#fff1f2;
  color:#be123c;
  padding:8px 13px;
  border-radius:999px;
}

.month-bar h2,
.zone-head h2{
  margin:0;
  color:var(--blue);
  font-size:clamp(1.8rem,3vw,3rem);
  line-height:1;
  letter-spacing:-.04em;
}

.month-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.month-links a{
  text-decoration:none;
  background:#f8fbff;
  border:1px solid #dce8ff;
  color:var(--blue);
  border-radius:999px;
  padding:11px 16px;
  font-weight:900;
  transition:.18s ease;
}

.month-links a:hover,
.month-links a.active{
  background:var(--blue);
  color:#fff;
}

/* ZONAS */
.alerts-zone,
.news-zone{
  width:min(1320px,calc(100% - 32px));
  margin:0 auto 54px;
}

.zone-head{
  margin-bottom:24px;
}

.zone-head p{
  color:var(--muted);
  line-height:1.75;
  max-width:760px;
}

/* AVISOS */
.alerts-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}

.alert-card{
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,#fff 0%,#fff7ed 100%);
  border-radius:28px;
  padding:28px;
  box-shadow:var(--shadow);
  border-left:8px solid var(--orange);
}

.alert-card::after{
  content:"!";
  position:absolute;
  right:24px;
  bottom:-28px;
  font-size:9rem;
  line-height:1;
  font-weight:900;
  color:rgba(249,115,22,.08);
}

.alert-date{
  display:inline-flex;
  background:#ffedd5;
  color:#c2410c;
  padding:8px 13px;
  border-radius:999px;
  font-weight:900;
  margin-bottom:14px;
}

.alert-card h3{
  position:relative;
  z-index:1;
  margin:0 0 12px;
  color:#9a3412;
  font-size:1.35rem;
  line-height:1.2;
}

.alert-card p{
  position:relative;
  z-index:1;
  margin:0;
  color:#374151;
  line-height:1.8;
}

/* NOTICIAS */
.month-section{
  margin-bottom:46px;
}

.month-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:end;
  margin-bottom:20px;
  border-bottom:2px solid #dce8ff;
  padding-bottom:14px;
}

.month-head h3{
  margin:0;
  color:var(--blue);
  font-size:clamp(1.8rem,3vw,3rem);
  line-height:1;
  letter-spacing:-.04em;
}

.month-head span{
  background:#eef4ff;
  color:var(--blue);
  padding:9px 14px;
  border-radius:999px;
  font-weight:900;
}

.news-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}

.news-card{
  background:#fff;
  border-radius:30px;
  overflow:hidden;
  box-shadow:var(--shadow);
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  min-height:320px;
}

.news-card__image{
  min-height:320px;
  background:linear-gradient(135deg,var(--blue),var(--blue2));
}

.news-card__image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.news-card__placeholder{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:rgba(255,255,255,.78);
  font-weight:900;
}

.news-card__body{
  padding:28px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.news-date{
  color:var(--red);
  font-weight:900;
  margin-bottom:12px;
}

.news-card h2{
  margin:0 0 12px;
  color:var(--blue);
  font-size:1.55rem;
  line-height:1.12;
  letter-spacing:-.02em;
}

.news-card p{
  margin:0;
  color:var(--muted);
  line-height:1.75;
}

.empty-state{
  background:#fff;
  border-radius:24px;
  padding:28px;
  box-shadow:var(--shadow);
  color:var(--muted);
  font-weight:800;
  text-align:center;
}

@media(max-width:1050px){
  .news-summary,
  .alerts-grid,
  .news-grid{
    grid-template-columns:1fr;
  }

  .month-bar{
    flex-direction:column;
    align-items:flex-start;
  }

  .month-links{
    justify-content:flex-start;
  }

  .news-card{
    grid-template-columns:1fr;
  }

  .news-card__image{
    min-height:260px;
  }
}

@media(max-width:900px){
  .rp-news{
    padding-top:68px;
  }

  .news-hero{
    min-height:620px;
  }

  .news-hero__shade{
    background:linear-gradient(180deg,rgba(7,28,77,.92),rgba(7,28,77,.70));
  }

  .news-summary{
    margin-top:-42px;
  }
}

@media(max-width:640px){
  .news-hero{
    min-height:560px;
  }

  .news-hero__content{
    padding:54px 0;
  }

  .news-summary article,
  .month-bar,
  .alert-card,
  .news-card{
    border-radius:22px;
  }

  .alert-card,
  .news-card__body,
  .month-bar{
    padding:22px;
  }

  .month-head{
    flex-direction:column;
    align-items:flex-start;
  }

  .month-links a{
    width:100%;
    text-align:center;
    justify-content:center;
  }
}