/* Atlas News Portal · layout fix 1.0.1
   Scope: /es/noticias, /es/noticias/{categoria}, /en/news...
   Does not affect the individual article view.
*/
.atlas-news-hub-hero{
    padding:clamp(2.4rem,4vw,4rem) 0;
    background:linear-gradient(135deg,#071330,#0b1f4d);
    color:#fff
}
.atlas-news-hub-hero .container,
.atlas-news-hub .container{
    width:min(100% - 2rem,1180px);
    max-width:1180px;
    margin-inline:auto
}
.atlas-news-hub-hero span{
    display:block;margin-bottom:.55rem;color:var(--atlas-accent,#0ea5e9);
    font-size:.72rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase
}
.atlas-news-hub-hero h1{
    max-width:780px;margin:0;font-family:"EB Garamond",Georgia,serif;
    font-size:clamp(2.4rem,4.4vw,4.35rem);font-weight:600;line-height:1
}
.atlas-news-hub-hero p{
    max-width:720px;margin:1rem 0 0;color:rgba(255,255,255,.78);
    font-size:1.04rem;line-height:1.65
}
.atlas-news-hub-hero--category{padding:clamp(2rem,3.5vw,3.4rem) 0}
.atlas-news-hub-hero--category h1{font-size:clamp(2.2rem,4vw,3.8rem)}

.atlas-news-hub{padding:clamp(2.5rem,5vw,4.5rem) 0;background:#f8fafc}
.atlas-news-filters{
    display:flex;gap:.65rem;flex-wrap:wrap;margin:0 0 2rem
}
.atlas-news-filters a{
    display:inline-flex;gap:.5rem;align-items:center;padding:.62rem .95rem;
    border:1px solid #dbe3ee;border-radius:999px;background:#fff;color:#475569;
    font-size:.82rem;font-weight:700;text-decoration:none;transition:.18s ease
}
.atlas-news-filters a:hover,.atlas-news-filters a.is-active{
    border-color:var(--atlas-primary,#0b1f4d);background:var(--atlas-primary,#0b1f4d);color:#fff
}
.atlas-news-filters a span{
    display:grid;min-width:21px;height:21px;padding:0 .3rem;place-items:center;
    border-radius:999px;background:rgba(148,163,184,.18);font-size:.7rem
}
.atlas-news-hub__heading h2{
    margin:0 0 1.35rem;color:var(--atlas-primary,#0b1f4d);
    font-family:"EB Garamond",Georgia,serif;font-size:clamp(1.8rem,3vw,2.55rem)
}
.atlas-news-hub-grid{
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.35rem;align-items:stretch
}
.atlas-news-hub-grid--category{grid-template-columns:repeat(3,minmax(0,1fr))}
.atlas-news-hub-card{
    min-width:0;overflow:hidden;border:1px solid rgba(15,23,42,.08);
    border-radius:16px;background:#fff;box-shadow:0 12px 30px rgba(15,23,42,.055)
}
.atlas-news-hub-card.is-featured{
    grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(330px,.88fr);
    max-height:430px
}
.atlas-news-hub-card__media{
    display:block;width:100%;aspect-ratio:16/9;overflow:hidden;background:#e2e8f0
}
.atlas-news-hub-card.is-featured .atlas-news-hub-card__media{
    height:100%;min-height:360px;aspect-ratio:auto
}
.atlas-news-hub-card__media img{
    display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .3s ease
}
.atlas-news-hub-card:hover .atlas-news-hub-card__media img{transform:scale(1.025)}
.atlas-news-hub-card__body{
    display:flex;min-height:245px;flex-direction:column;padding:1.25rem
}
.atlas-news-hub-card.is-featured .atlas-news-hub-card__body{
    justify-content:center;min-height:0;padding:clamp(1.5rem,3vw,2.35rem)
}
.atlas-news-hub-card__category{
    margin-bottom:.45rem;color:var(--atlas-accent,#0ea5e9);font-size:.68rem;
    font-weight:800;letter-spacing:.11em;text-decoration:none;text-transform:uppercase
}
.atlas-news-hub-card time{color:#94a3b8;font-size:.74rem}
.atlas-news-hub-card h2{
    margin:.55rem 0 .7rem;font-family:"EB Garamond",Georgia,serif;
    font-size:1.55rem;line-height:1.12
}
.atlas-news-hub-card.is-featured h2{font-size:clamp(2rem,3vw,2.9rem)}
.atlas-news-hub-card h2 a{color:var(--atlas-primary,#0b1f4d);text-decoration:none}
.atlas-news-hub-card p{
    display:-webkit-box;overflow:hidden;margin:0 0 1rem;color:#64748b;line-height:1.6;
    -webkit-box-orient:vertical;-webkit-line-clamp:3
}
.atlas-news-hub-card.is-featured p{-webkit-line-clamp:5}
.atlas-news-hub-card__link{
    display:inline-flex;gap:.5rem;align-items:center;margin-top:auto;color:var(--atlas-primary,#0b1f4d);
    font-size:.82rem;font-weight:800;text-decoration:none
}
.atlas-news-empty{
    padding:2.5rem;border:1px dashed #cbd5e1;border-radius:16px;background:#fff;
    color:#64748b;text-align:center
}

@media(max-width:991px){
    .atlas-news-hub-grid,.atlas-news-hub-grid--category{grid-template-columns:repeat(2,minmax(0,1fr))}
    .atlas-news-hub-card.is-featured{grid-column:1/-1;grid-template-columns:1fr;max-height:none}
    .atlas-news-hub-card.is-featured .atlas-news-hub-card__media{height:auto;min-height:0;aspect-ratio:16/9}
}
@media(max-width:640px){
    .atlas-news-hub-hero .container,.atlas-news-hub .container{width:min(100% - 1.25rem,1180px)}
    .atlas-news-hub-grid,.atlas-news-hub-grid--category{grid-template-columns:1fr}
    .atlas-news-hub-card.is-featured{grid-column:auto}
    .atlas-news-hub-card__body{min-height:0}
    .atlas-news-filters{gap:.45rem}
    .atlas-news-filters a{padding:.55rem .75rem}
}
