/* ============================================================= */
/* NOTICIAS PAGE                                                 */
/* ============================================================= */

.nt-page {
    width: 100%;
}

.nt-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: start;
}

.nt-main {
    min-width: 0;
}

.nt-hero-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.35fr;
    gap: 28px;
    align-items: center;
    margin-bottom: 38px;
}

.nt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--rojo);
    font-weight: 800;
    font-size: 0.84rem;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.nt-title {
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1.08;
    text-transform: uppercase;
    color: var(--negro);
    margin-bottom: 18px;
}

.nt-title span {
    color: var(--rojo);
}

.nt-subtitle {
    max-width: 450px;
    color: var(--gris-texto);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

.nt-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nt-filter {
    border: none;
    background: #fff;
    color: var(--negro);
    border-radius: 10px;
    padding: 13px 17px;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 7px 18px rgba(0,0,0,0.06);
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.nt-filter:hover {
    transform: translateY(-2px);
}

.nt-filter.active {
    background: var(--rojo);
    color: #fff;
}

/* DESTACADA */
.nt-featured {
    position: relative;
    min-height: 395px;
    border-radius: 22px;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 14px 34px rgba(0,0,0,0.16);
}

.nt-featured img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nt-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.86), rgba(0,0,0,0.42), rgba(0,0,0,0.08));
}

.nt-featured-content {
    position: relative;
    z-index: 2;
    max-width: 470px;
    padding: 38px;
}

.nt-badge {
    display: inline-flex;
    background: var(--rojo);
    color: #fff;
    border-radius: 8px;
    padding: 9px 15px;
    font-weight: 800;
    font-size: 0.75rem;
    margin-bottom: 24px;
}

.nt-featured h2 {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    line-height: 1.22;
    margin-bottom: 22px;
}

.nt-featured p {
    font-size: 0.94rem;
    line-height: 1.65;
    color: #f1f1f1;
    margin-bottom: 28px;
}

.nt-featured-meta {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: #fff;
}

.nt-featured-meta i {
    margin-right: 6px;
}

.nt-slider-dots {
    position: absolute;
    right: 34px;
    bottom: 30px;
    z-index: 3;
    display: flex;
    gap: 8px;
}

.nt-slider-dots button {
    width: 22px;
    height: 6px;
    border: none;
    border-radius: 99px;
    background: rgba(255,255,255,0.85);
}

.nt-slider-dots button.active {
    background: var(--rojo);
}

/* RECIENTES */
.nt-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.nt-section-header h2 {
    font-size: 1.25rem;
}

.nt-section-header a {
    color: var(--rojo);
    font-weight: 800;
    font-size: 0.86rem;
}

.nt-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.nt-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.nt-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.1);
}

.nt-card.hidden {
    display: none;
}

.nt-card-img {
    height: 175px;
    position: relative;
    overflow: hidden;
}

.nt-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nt-card-tag {
    position: absolute;
    left: 14px;
    bottom: 12px;
    background: var(--rojo);
    color: #fff;
    padding: 7px 11px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 800;
}

.nt-save-btn {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.22);
    color: #fff;
    cursor: pointer;
}

.nt-save-btn.saved {
    background: var(--rojo);
    color: #fff;
}

.nt-card-body {
    padding: 18px;
}

.nt-card-body h3 {
    font-size: 0.96rem;
    line-height: 1.35;
    margin-bottom: 12px;
}

.nt-card-body p {
    color: #777;
    font-size: 0.8rem;
    line-height: 1.55;
    margin-bottom: 28px;
}

.nt-card-footer {
    display: flex;
    justify-content: space-between;
    color: #777;
    font-size: 0.72rem;
    margin-bottom: 16px;
}

.nt-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    float: right;
    border: none;
    background: transparent;
    color: var(--rojo);
    font-weight: 800;
    cursor: pointer;
}

/* SIDEBAR */
.nt-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.nt-search-box,
.nt-most-read,
.nt-categories,
.nt-newsletter {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.nt-search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
}

.nt-search-box input {
    border: none;
    outline: none;
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.nt-most-read,
.nt-categories,
.nt-newsletter {
    padding: 22px;
}

.nt-most-read h3,
.nt-categories h3 {
    font-size: 1.1rem;
    margin-bottom: 18px;
}

.nt-most-read h3 i {
    color: var(--rojo);
}

.nt-read-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nt-read-list li {
    display: grid;
    grid-template-columns: 22px 64px 1fr;
    gap: 12px;
    align-items: center;
}

.nt-read-list li > span {
    font-weight: 800;
    color: var(--rojo);
}

.nt-read-list img {
    width: 64px;
    height: 54px;
    object-fit: cover;
    border-radius: 8px;
}

.nt-read-list strong {
    display: block;
    font-size: 0.82rem;
    line-height: 1.25;
}

.nt-read-list small {
    color: var(--rojo);
    font-weight: 700;
}

.nt-categories {
    display: flex;
    flex-direction: column;
}

.nt-categories button {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #eee;
    padding: 13px 0;
    cursor: pointer;
    font-family: var(--font-body);
}

.nt-categories button:last-child {
    border-bottom: none;
}

.nt-categories span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.nt-categories span i {
    color: var(--rojo);
}

.nt-categories small {
    background: #f1f1f1;
    padding: 4px 9px;
    border-radius: 99px;
    font-weight: 700;
    color: #777;
}

.nt-newsletter {
    background: linear-gradient(160deg, var(--rojo), var(--rojo-oscuro));
    color: #fff;
}

.nt-newsletter-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
    color: #ffd2d2;
}

.nt-newsletter h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.nt-newsletter p {
    font-size: 0.84rem;
    line-height: 1.5;
    margin-bottom: 18px;
    color: #ffe8e8;
}

.nt-newsletter input {
    width: 100%;
    border: none;
    outline: none;
    border-radius: 10px;
    padding: 14px 15px;
    margin-bottom: 12px;
    font-family: var(--font-body);
}

.nt-newsletter button {
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 14px;
    background: var(--negro);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.nt-newsletter small {
    display: block;
    margin-top: 10px;
    font-size: 0.76rem;
    color: #fff;
}

/* MODAL */
.nt-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 400;
    padding: 24px;
}

.nt-modal.open {
    display: flex;
}

.nt-modal-card {
    width: min(720px, 100%);
    background: #fff;
    border-radius: 20px;
    padding: 34px;
    position: relative;
    box-shadow: 0 18px 60px rgba(0,0,0,0.25);
}

.nt-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #f4f4f4;
    cursor: pointer;
}

.nt-modal-card h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 12px;
}

.nt-modal-meta {
    color: #777;
    font-size: 0.86rem;
    margin-bottom: 20px;
}

.nt-modal-card p {
    color: #444;
    line-height: 1.75;
    margin-bottom: 14px;
}

/* RESPONSIVE */
@media (max-width: 1400px) {
    .nt-layout {
        grid-template-columns: 1fr;
    }

    .nt-side {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .nt-search-box,
    .nt-newsletter {
        grid-column: 1 / -1;
    }

    .nt-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .nt-hero-grid {
        grid-template-columns: 1fr;
    }

    .nt-side {
        grid-template-columns: 1fr;
    }

    .nt-card-grid {
        grid-template-columns: 1fr;
    }

    .nt-title {
        font-size: 2.35rem;
    }

    .nt-featured {
        min-height: 430px;
    }
}