.news-home-section,
.news-list-page {
    background: #fff;
}

.news-home-section {
    padding-top: var(--section-y-compact);
    padding-bottom: var(--section-y);
}

.news-grid {
    width: min(100%, 1240px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}

.news-grid-home {
    margin-top: clamp(2rem, 2.5vw, 3rem);
}

.news-card {
    display: grid;
    grid-template-rows: auto 1fr;
    min-width: 0;
    min-height: 100%;
    background: #fff;
    border: 1px solid rgba(5, 28, 93, 0.12);
    box-shadow: 0 14px 30px rgba(28, 35, 48, 0.1);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 38px rgba(28, 35, 48, 0.16);
}

.news-card-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--gray);
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.04);
}

.news-card-body {
    display: grid;
    align-content: start;
    gap: 0.85rem;
    padding: clamp(1rem, 2vw, 1.35rem);
}

.news-date,
.news-kicker {
    color: var(--red);
    font-family: var(--font-h);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.news-card h3 {
    color: var(--blue);
    font-size: clamp(1rem, 0.9rem + 0.35vw, 1.18rem);
    line-height: 1.22;
}

.news-card p {
    font-size: var(--type-body-sm);
    color: var(--text-mid);
}

.news-read-link {
    width: fit-content;
    color: var(--blue);
    font-family: var(--font-h);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.news-read-link:hover {
    color: var(--red);
}

.news-home-actions {
    display: flex;
    justify-content: center;
    margin-top: clamp(1.75rem, 2.4vw, 2.75rem);

}

.news-empty {
    width: min(100%, 760px);
    /* margin: clamp(2rem, 2.5vw, 10rem) auto 0; */
    margin: 0 auto 0 ;
    padding: 1rem 1.2rem;
    background: rgba(214, 217, 235, 0.25);
    border-left: 5px solid var(--blue);
    text-align: center;
}

.news-card-loading {
    min-height: clamp(260px, 28vw, 350px);
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(214, 217, 235, 0.3), rgba(255, 255, 255, 0.9), rgba(214, 217, 235, 0.3)),
        rgba(214, 217, 235, 0.22);
    background-size: 220% 100%;
    animation: news-loading 1300ms ease-in-out infinite;
}

@keyframes news-loading {
    0% { background-position: 120% 0; }
    100% { background-position: -120% 0; }
}

.news-page-hero {
    position: relative;
    min-height: clamp(280px, 31vw, 440px);
    display: grid;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(7rem, 7vw, 9rem) var(--section-x) clamp(4rem, 5vw, 6rem);
    background:
        linear-gradient(90deg, rgba(5, 28, 93, 0.9), rgba(47, 70, 134, 0.72)),
        url('/assets/img/Stock/ubicacion/planta.jpg') center 58% / cover;
    color: #fff;
}


.news-page-hero-inner {
    width: min(100%, 1120px);
    margin: 0 auto;
}

.news-page-hero h1,
.news-page-hero p,
.news-page-hero span {
    color: #fff;
}

.news-page-hero h1 {
    max-width: 13ch;
    margin-top: 0.55rem;
    font-size: clamp(3rem, 6vw, 5.6rem);
}

.news-page-hero p {
    max-width: 760px;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1.05rem, 1rem + 0.35vw, 1.35rem);
}

.news-page-hero .news-kicker {
    color: rgba(255, 255, 255, 0.86);
}

.news-list-page {
    padding-top: clamp(3rem, 5vw, 5rem);
}

.news-list-shell {
    width: min(100%, 1320px);
    margin: 0 auto;
}

.news-grid-list {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.6vw, 2.25rem);
}

.news-grid-list .news-card {
    border: 0;
    box-shadow: none;
    background: transparent;
}

.news-grid-list .news-card:hover {
    transform: none;
    box-shadow: none;
}

.news-grid-list .news-card-image {
    aspect-ratio: 1.52;
    box-shadow: 0 16px 34px rgba(28, 35, 48, 0.12);
}

.news-grid-list .news-card-body {
    padding: 1.1rem 0 0;
    gap: 0.65rem;
}

.news-grid-list .news-card h3 {
    font-size: clamp(1.1rem, 1rem + 0.55vw, 1.45rem);
}

.news-grid-list .news-read-link {
    margin-top: 0.25rem;
}

.news-article {
    width: min(100%, 980px);
    margin: 0 auto;
    padding: var(--section-y) var(--section-x);
}

.news-article-header {
    display: grid;
    gap: 1rem;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.news-article-header h1 {
    color: var(--blue);
}

.news-article-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    overflow: hidden;
    background: var(--gray);
}

.news-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-article-body {
    display: grid;
    gap: 1.1rem;
}

.news-article-body p {
    color: var(--text-dark);
}

.news-article-secondary {
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

@media (prefers-reduced-motion: reduce) {
    .news-card-loading {
        animation: none;
    }
}

@media (max-width: 900px) {
    .news-grid,
    .news-grid-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .news-page-hero {
        min-height: 300px;
        padding-top: 6.25rem;
    }
}
.news-meta-row,
.news-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
}

.news-chip,
.news-article-meta span {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.35rem 0.75rem;
    background: rgba(16, 141, 97, 0.1);
    color: var(--green-dark);
    border-left: 4px solid var(--green);
    font-family: var(--font-h);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.news-article-meta {
    padding: 1rem 0;
    border-top: 1px solid rgba(5, 28, 93, 0.16);
    border-bottom: 1px solid rgba(5, 28, 93, 0.16);
}

.news-detail-page {
    padding: clamp(7rem, 8vw, 9rem) var(--section-x) var(--section-y);
    background: #fff;
}

.news-detail-layout {
    width: min(100%, 1240px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

.news-article-main {
    width: 100%;
    padding: 0;
}

.news-article-main .news-article-header h1 {
    max-width: 13ch;
    color: var(--blue);
    font-size: clamp(2.2rem, 4.2vw, 4.5rem);
    text-transform: none;
}

.news-article-main .news-article-header p {
    max-width: 780px;
}

.news-article-main .news-article-image {
    box-shadow: 0 18px 38px rgba(28, 35, 48, 0.12);
}

.news-recent {
    position: sticky;
    top: 120px;
}

.news-recent h2 {
    margin-bottom: 1.4rem;
    color: var(--blue);
    font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
    text-transform: none;
}

.news-recent-list {
    display: grid;
    gap: 1rem;
}

.news-recent-item {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 0.9rem;
    align-items: center;
}

.news-recent-item img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--gray);
}

.news-recent-item span {
    color: var(--text-dark);
    font-family: var(--font-b);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.news-recent-item:hover span {
    color: var(--blue);
}

@media (max-width: 980px) {
    .news-detail-layout {
        grid-template-columns: 1fr;
    }

    .news-recent {
        position: static;
    }
}