.noticia {
  padding-top:calc(80px + 36px);
  min-height:280px;
  display:flex;
  align-items:center;
  background: linear-gradient(90deg, #0a50ff 0%, #2462fd 40%, #759efd 70%, #dfe5fc 100%);
  position:relative;
  overflow:hidden;
}

.noticia-inner {
  max-width:1320px;
  margin:0 auto;
  padding:52px 80px;
  position:relative;
  z-index:2;
  width:100%;
}

.noticia-tag {
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
}

.noticia-tag-line {
  width:36px;
  height:2px;
  background:var(--verde-neon);
}

.noticia-tag span {
  font-family: var(--fuente-1);
  font-size:14px;
  letter-spacing:4px;
  text-transform:uppercase;
  color:var(--verde-neon);
}

.noticia h1 {
    font-family:var(--fuente-1);
    font-weight:900;
    font-size:clamp(44px,5vw,72px);
    line-height:.92;
    text-transform:uppercase;
    color:#ffffff;
    margin-bottom:14px;
}

.noticia h1 em {
    font-style:normal;
    background: var(--rojo-neon);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    display:block;
}

.noticia p {
    font-size:20px;
    font-weight:300;
    color:var(--blanco);
    max-width:1500px;
}

/* SECCIÓN */
.noticias-section {
    padding:64px 80px 100px;
    flex:1;
}

.noticias-inner {
    max-width:1320px;
    margin:0 auto;
}

.noticia-destacada{
  display:grid;
  grid-template-columns:1fr 1fr;
  border:1px solid var(--gris-borde);border-top:3px solid var(--rojo);
  margin-bottom:48px;
  cursor:pointer;
  transition:box-shadow .3s,transform .3s, border-top-color .3s;
  opacity:0;
  animation:fadeUp .5s ease forwards;
}

.noticia-destacada:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 48px #0a1f6e1f;
  border-top-color: var(--rojo-neon);
}

.nd-img{
  position:relative;
  overflow:hidden;
  min-height:360px;
  max-height:450px;
}

.nd-img img {
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .5s,filter .3s;
}

.noticia-destacada:hover 
.nd-img img {
    transform:scale(1.04);
    filter:brightness(.8);
}

.nd-img-ph {
    width:100%;
    height:100%;
    min-height:360px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:12px;
    color:#ffffff1a;
}

.nd-img-ph span {
    font-family: var(--fuente-1);
    font-size:10px;
    letter-spacing:3px;
    text-transform:uppercase;
    color:#ffffff33;
}

.nd-badge {
    position:absolute;
    top:16px;left:16px;
    background: var(--rojo);
    color:#ffffff;
    font-family: var(--fuente-1);
    font-size:10px;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
    padding:5px 12px;
}

.nd-estrella {
    position:absolute;
    top:16px;right:16px;
    background:#ffffff1a;
    border:1px solid #ffffff33;
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--verde-neon);
}

.nd-body {
    padding:44px 48px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.nd-meta {
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:16px;
}

.nd-cat {
    font-family: var(--fuente-1);
    font-size:10px;
    letter-spacing:3px;
    text-transform:uppercase;
    color:var(--azul-3);
}

.nd-fecha {
    font-family: var(--fuente-1);
    font-size:16px;
    letter-spacing:2px;
    color:var(--gris-texto);
}

.nd-sep {
    width:4px;
    height:4px;
    background:var(--rojo);
    transform:rotate(45deg)
}

.nd-titulo {
    font-family: var(--fuente-1);
    font-weight:900;
    font-size:clamp(22px,2.5vw,32px);
    line-height:1.1;
    text-transform:uppercase;
    color:var(--azul-1);
    margin-bottom:16px;
}

.nd-resumen {
    font-size:20px;
    font-weight:300;
    color:var(--gris-texto);
    line-height:1.75;
    margin-bottom:28px;
    flex:1;
}

.nd-leer {
    display:inline-flex;
    align-items:center;
    gap:0;
    font-family: var(--fuente-1);
    font-weight:700;
    font-size:18px;
    letter-spacing:2.5px;
    text-transform:uppercase;
    color:var(--rojo);
    background:none;
    border:none;
    padding:0;
    cursor:pointer;
    transition:gap .2s,color .2s;
}

.nd-leer:hover {
    gap:8px;
    color:var(--rojo-neon);
}

.nd-leer-line {
    width:0;
    height:1px;
    background:currentColor;
    overflow:hidden;
    transition:width .2s;
    margin:0 0 1px;
}

.nd-leer:hover 
.nd-leer-line {
    width:20px;
}

/* GRID */
.noticias-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:2px;
    background:var(--gris-borde);
}

.noticia-card {
    background:var(--blanco);
    display:flex;
    flex-direction:column;
    cursor:pointer;
    opacity:0;
    animation:fadeUp .4s ease forwards;
    transition:box-shadow .3s;
    overflow:hidden;
}

.noticia-card:hover {
    box-shadow:0 0 0 2px var(--rojo) inset;
}

.nc-img {
    position:relative;
    width:100%;aspect-ratio:16/9;
    overflow:hidden;
    background:linear-gradient(135deg,var(--azul-1),var(--azul-2));
}

.nc-img img {
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .5s,filter .3s;
}

.noticia-card:hover 
.nc-img img {
    transform:scale(1.05);
    filter:brightness(.8);
}

.nc-img-ph {
    width:100%;
    height:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
    color:#ffffff1a
}

.nc-img-ph span {
    font-family: var(--fuente-1);
    font-size:9px;
    letter-spacing:3px;
    text-transform:uppercase;
    color:#ffffff33;
    text-align:center;
    padding:0 16px
}

.nc-bar {
    position:absolute;
    bottom:0;left:0;right:0;height:2px;
    background:var(--rojo);
    transform:scaleX(0);
    transform-origin:left;
    transition:transform .35s
}

.noticia-card:hover .nc-bar {
    transform:scaleX(1)
}

.nc-cat {
    position:absolute;
    top:0;left:0;
    background:var(--azul-1);
    font-family: var(--fuente-1);
    font-size:9px;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
    color:#ffffffb3;
    padding:5px 10px
}

.nc-body {
    padding:20px 22px 22px;
    display:flex;
    flex-direction:column;
    flex:1;
    border-top:2px solid var(--rojo)
}

.nc-fecha {
    font-family: var(--fuente-1);
    font-size:10px;
    letter-spacing:2px;
    color:var(--gris-texto);
    margin-bottom:8px
}

.nc-titulo {
    font-family: var(--fuente-1);
    font-weight:800;
    font-size:16px;
    letter-spacing:.5px;
    text-transform:uppercase;
    color:var(--azul-1);
    margin-bottom:10px;
    line-height:1.2
}

.nc-resumen {
    font-size:13px;
    font-weight:300;
    color:var(--gris-texto);
    line-height:1.6;
    flex:1;
    margin-bottom:16px
}

.nc-leer {
    display:inline-flex;
    align-items:center;
    gap:0;font-family: var(--fuente-1);
    font-weight:700;
    font-size:10px;
    letter-spacing:2px;
    text-transform:uppercase;
    color:var(--rojo);
    background:none;
    border:none;
    padding:0;
    cursor:pointer;
    transition:gap .2s;
    align-self:flex-start;
}

.nc-leer:hover {
    gap:6px;
    color:var(--rojo-neon)
}

/* SIN RESULTADOS */
.empty {
    display:none;
    grid-column:1/-1;
    text-align:center;
    padding:80px 20px;
}

.empty p {
    font-family: var(--fuente-1);
    font-size:13px;
    letter-spacing:2px;
    text-transform:uppercase;
    color:var(--gris-texto);
    margin-top:16px;
}

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: #060c1ad9;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.modal-overlay.abierto {
  opacity: 1;
  pointer-events: all;
}

.modal-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 9001;
  width: min(680px, 95vw);
  background: var(--blanco);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
  overflow: hidden;
}

.modal-panel.abierto {
  transform: translateX(0);
}

.modal-img {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--azul-1), var(--azul-2));
  flex-shrink: 0;
}

.modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rojo), var(--rojo-neon));
}

.modal-fecha {
  font-family: var(--fuente-1);
  font-size: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rojo-neon);
  margin-left: 10px;
  margin-top: 18px;
}

.modal-titulo {
  font-family: var(--fuente-1);
  font-weight: 900;
  font-size: clamp(22px, 4vw, 30px);
  line-height: .95;
  text-transform: uppercase;
  color: #fff;
  margin-left: 15px;
  margin-top: 5px;
  margin-bottom: 10px;
}

.modal-content {
  flex: 1;
  overflow-y: auto;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modal-content::-webkit-scrollbar {
  width: 4px;
}

.modal-content::-webkit-scrollbar-track {
  background: var(--gris-fondo);
}

.modal-content::-webkit-scrollbar-thumb {
  background: var(--gris-borde);
}

.modal-resumen {
  font-size: 22px;
  font-weight: 300;
  color: var(--gris-texto);
  line-height: 1.8;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gris-borde);
}

.modal-cuerpo {
  font-size: 22px;
  font-weight: 300;
  color: var(--gris-texto);
  line-height: 1.8;
  padding-bottom: 24px;
}

.modal-cerrar {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  background: #ffffff1a;
  border: 1px solid #ffffff33;
  color: #ffffffb3;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 10;
}

.modal-cerrar:hover {
  background: var(--rojo);
  color: #ffffff;
  border-color: var(--rojo);
}

.art-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 64px 80px 100px;
}

.art-volver {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--fuente-1);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rojo);
    text-decoration: none;
    margin-bottom: 36px;
    transition: gap .2s;
}

.art-volver:hover { gap: 14px; color: var(--rojo-neon); }
.art-fecha {
    font-family: var(--fuente-1);
    font-size: 16px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gris-texto);
    margin-bottom: 14px;
    margin-top: 30px;
}

.art-titulo {
    font-family: var(--fuente-1);
    font-weight: 900;
    font-size: clamp(28px, 4vw, 48px);
    line-height: .95;
    text-transform: uppercase;
    color: var(--azul-1);
    margin-bottom: 24px;
}

.art-resumen {
    font-size: 20px;
    font-weight: 400;
    color: var(--gris-texto);
    line-height: 1.8;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gris-borde);
    margin-bottom: 32px;
}
.art-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
    margin-bottom: 36px;
    border-top: 3px solid var(--rojo);
}

.art-cuerpo {
    font-size: 17px;
    font-weight: 400;
    color: var(--gris-texto);
    line-height: 1.9;
    white-space: pre-line;
}

.art-cta {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--gris-borde);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.art-cta-txt {
    font-family: var(--fuente-1);
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--azul-1);
}

.art-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--rojo-neon);
    color: #fff;
    font-family: var(--fuente-1);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 28px;
    text-decoration: none;
    transition: background .2s;
}

.art-cta-btn:hover { 
    background: var(--rojo); 
    color: #fff; 
}

@media (max-width: 768px) {
    .art-wrap { padding: 40px 20px 60px; }

    .noticia {
        padding-top: 68px;
        min-height: 200px;
    }

    .noticia-inner {
        padding: 36px 18px;
    }

    .noticia h1 {
        font-size: clamp(26px, 7vw, 44px);
        word-break: break-word;
        white-space: normal;
    }

    .noticias-section {
        padding: 28px 14px 60px;
    }

    .noticia-destacada {
        grid-template-columns: 1fr;
    }

    .nd-img {
        min-height: 220px;
        max-height: 260px;
    }

    .nd-body {
        padding: 22px 20px;
    }

    .noticias-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .noticia-card {
        border-radius: 0;
    }

    .nc-titulo {
        font-size: 20px;
    }

    .nc-resumen {
        font-size: 12px;
        line-height: 1;
    }

    .nd-resumen {
        font-size: 18px;
        line-height: 1.6; 
    }
}