/* Noticias de Ciudad Juárez: nueva identidad editorial */
:root{--ncj-ink:#162438;--ncj-blue:#0b2748;--ncj-red:#d8242e;--ncj-line:#e5eaf0;--ncj-muted:#64748b}
*,*::before,*::after{box-sizing:border-box}
body{background:#fff;color:var(--ncj-ink)}
.site-header{background:#fff}
.site-header .topbar{background:#0c233d;color:#f5f7fa;font-size:12px;letter-spacing:.03em}
.site-header .masthead{display:flex;align-items:center;justify-content:center;max-width:1240px;padding-top:18px;padding-bottom:18px;position:relative;min-height:110px}
.site-header .ncj-brand{width:100%;max-width:100%;display:block;text-align:center;line-height:0;margin:0}
.site-header .ncj-brand img{display:block;width:100%;height:auto;max-height:240px;object-fit:contain;object-position:center}
.site-header .mainnav{background:#101c2c;border-bottom:3px solid var(--ncj-red)}
.site-header .mainnav .wrap{display:flex;align-items:center;gap:0;flex-wrap:wrap}
.site-header .mainnav a{color:#fff;padding:15px 13px;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.035em;text-decoration:none}
.site-header .mainnav a:hover{background:var(--ncj-red);color:#fff}
.ncj-home-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;padding-top:30px;padding-bottom:15px;border-bottom:1px solid var(--ncj-line);margin-bottom:18px}
.ncj-eyebrow{color:var(--ncj-red);font-size:11px;font-weight:900;letter-spacing:.15em}
.ncj-home-heading h1{font-size:clamp(24px,3.4vw,40px);margin:4px 0;font-weight:850;line-height:1.15;color:var(--ncj-ink)}
.ncj-home-heading p{margin:5px 0;color:var(--ncj-muted);font-size:14px}
.ncj-today{font-size:12px;color:var(--ncj-muted);white-space:nowrap}
.wrap.ad{margin-top:22px;margin-bottom:24px;max-width:1240px;text-align:center}
.wrap.ad:empty,.ad:empty{display:none}
.lead-grid{display:grid!important;grid-template-columns:minmax(0,1.8fr) repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(175px,235px));gap:12px;max-width:1240px}
.lead-grid>.lead-main{grid-column:1;grid-row:1/span 2;min-height:350px}
.lead-grid>.lead-small{min-width:0;min-height:150px}
.lead-grid>.lead-small-1{grid-column:2;grid-row:1}
.lead-grid>.lead-small-2{grid-column:3;grid-row:1}
.lead-grid>.lead-small-3{grid-column:2/span 2;grid-row:2}
.lead-grid article{position:relative;overflow:hidden;border-radius:2px;background:#17283a}
.lead-grid .media{display:block;position:absolute;inset:0;width:100%;height:100%}
.lead-grid .media img{width:100%;height:100%;object-fit:cover}
.lead-grid .shade{position:absolute;inset:0;background:linear-gradient(transparent 22%,rgba(0,0,0,.84))}
.lead-grid .lead-copy{position:absolute;bottom:0;left:0;right:0;padding:20px;z-index:1;color:#fff}
.lead-grid .lead-copy h1,.lead-grid .lead-copy h2{margin:7px 0;line-height:1.18;color:#fff}
.lead-grid .lead-copy h1{font-size:clamp(24px,2.5vw,36px)}
.lead-grid .lead-copy h2{font-size:clamp(16px,1.6vw,21px)}
.lead-grid .lead-copy a{color:inherit;text-decoration:none}
.lead-grid .lead-copy p{color:#fff;font-size:13px;opacity:.9;margin:6px 0}
.lead-grid .tag{display:inline-block;background:var(--ncj-red);color:#fff;padding:4px 8px;font-size:10px;font-weight:800;text-transform:uppercase}
.ncj-explore{max-width:1240px;margin-top:40px;margin-bottom:38px}
.ncj-section-heading{display:flex;justify-content:space-between;align-items:end;border-bottom:2px solid var(--ncj-ink);padding-bottom:12px;margin-bottom:18px}
.ncj-section-heading h2{margin:4px 0 0;color:var(--ncj-ink);font-size:27px}
.ncj-section-heading>span{color:var(--ncj-muted);font-size:12px}
.ncj-explore-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.ncj-explore-card{position:relative;display:block;min-height:210px;overflow:hidden;background:#142942;text-decoration:none;color:#fff}
.ncj-explore-card img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;transition:transform .25s}
.ncj-explore-card:hover img{transform:scale(1.035)}
.ncj-explore-shade{position:absolute;inset:0;background:linear-gradient(transparent,rgba(0,0,0,.9))}
.ncj-explore-copy{position:absolute;bottom:15px;left:17px;right:17px;display:flex;flex-direction:column;gap:4px;color:#fff}
.ncj-explore-copy strong{font-size:21px}
.ncj-explore-copy small{font-size:13px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ncj-explore-copy em{font-style:normal;color:#ffe9e9;font-size:11px;font-weight:800;text-transform:uppercase;margin-top:4px}
.portal-grid{max-width:1240px;display:grid;grid-template-columns:minmax(0,1fr) 295px;gap:30px}
.portal-main{min-width:0}
.news-section{margin-bottom:35px;border-top:0!important}
.news-section .section-head{border-bottom:2px solid var(--ncj-ink);padding-bottom:10px;margin-bottom:18px}
.news-section .section-head h2{color:var(--ncj-ink)!important;font-size:26px;margin:0}
.news-section .section-head a{font-size:12px;color:var(--ncj-red);font-weight:800}
.news-section .section-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:20px}
.section-feature img{width:100%;height:250px;object-fit:cover}
.section-feature h3{margin:10px 0;font-size:23px;line-height:1.23}
.section-feature p{font-size:13px;color:var(--ncj-muted)}
.section-list .mini-story{display:grid;grid-template-columns:100px 1fr;gap:12px;margin-bottom:13px;border-bottom:1px solid var(--ncj-line);padding-bottom:13px}
.section-list .mini-story img{width:100px;height:76px;object-fit:cover}
.mini-story h4{margin:0 0 5px;font-size:14px;line-height:1.3}
.mini-story time{font-size:11px;color:var(--ncj-muted)}
.portal-sidebar .side-widget{background:#f6f8fa;padding:20px;margin-bottom:20px}
.portal-sidebar .side-widget h3{border-bottom:2px solid var(--ncj-red);padding-bottom:10px;margin:0 0 15px}
.popular-item{display:flex;gap:12px;margin-bottom:15px}
.popular-item>span{font-size:23px;color:var(--ncj-red);font-weight:900}
.popular-item h4{font-size:13px;margin:0;line-height:1.35}
.latest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.latest-card img{width:100%;height:180px;object-fit:cover}
.latest-card h3{font-size:17px;line-height:1.3;margin:7px 0}
.ncj-bottom-strip{max-width:1240px;display:flex;gap:15px;align-items:center;justify-content:space-between;padding:22px 0;border-top:1px solid var(--ncj-line);color:var(--ncj-muted);font-size:13px}
.ncj-bottom-strip strong{color:var(--ncj-ink);font-size:18px}
.ncj-bottom-strip a{color:var(--ncj-red)}
.ncj-footer{background:#0d233b!important;color:#dbe4ed!important;margin-top:30px;padding-top:48px}
.ncj-footer .ncj-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:35px;padding-bottom:40px}
.ncj-footer h3{color:#fff;font-size:15px;margin:0 0 15px}
.ncj-footer p{color:#bfccd9;font-size:13px;line-height:1.7}
.ncj-footer ul{list-style:none;padding:0;margin:0}
.ncj-footer li{margin:0 0 10px}
.ncj-footer a{color:#d9e4ef;text-decoration:none;font-size:13px}
.ncj-footer a:hover{color:#fff;text-decoration:underline}
.ncj-footer .ncj-footer-logo{display:block;font-size:20px;font-weight:900;color:#fff;letter-spacing:.01em}
.ncj-footer-logo span{display:block;color:#f67272}
.ncj-footer .ncj-footer-bottom{display:flex;justify-content:space-between;gap:10px;padding-top:18px;padding-bottom:24px;border-top:1px solid #2b4057;font-size:12px;color:#adbfce}
.ncj-footer-bottom a{font-weight:800;color:#fff}
@media(max-width:900px){.lead-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:340px 190px 190px}.lead-grid>.lead-main{grid-column:1/span 2;grid-row:1}.lead-grid>.lead-small-1{grid-column:1;grid-row:2}.lead-grid>.lead-small-2{grid-column:2;grid-row:2}.lead-grid>.lead-small-3{grid-column:1/span 2;grid-row:3}.portal-grid{grid-template-columns:1fr}.portal-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:20px}.ncj-footer .ncj-footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:768px){.site-header .masthead{padding-top:12px;padding-bottom:12px;min-height:75px;padding-right:55px}.site-header .ncj-brand img{max-height:125px}.site-header .menu-toggle{display:flex;position:absolute;right:12px;top:50%;transform:translateY(-50%);z-index:4}.site-header .mainnav .wrap{display:flex;flex-direction:column;align-items:stretch}.site-header .mainnav a{padding:12px 15px}.site-header .mainnav:not(.mobile-open){display:none}.ncj-home-heading{padding-top:18px}.ncj-today{display:none}.ncj-explore-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ncj-explore-card{min-height:190px}.ncj-section-heading h2{font-size:23px}}
@media(max-width:560px){.lead-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:270px 175px 175px;gap:8px}.lead-grid .lead-copy{padding:12px}.lead-grid .lead-copy h1{font-size:23px}.lead-grid .lead-copy h2{font-size:16px}.lead-grid .lead-copy p{display:none}.ncj-explore-grid{grid-template-columns:1fr 1fr;gap:9px}.ncj-explore-card{min-height:175px}.ncj-explore-copy{left:10px;right:10px;bottom:10px}.ncj-explore-copy strong{font-size:16px}.ncj-explore-copy small{font-size:11px}.news-section .section-layout{grid-template-columns:1fr}.section-feature img{height:210px}.portal-sidebar{display:block}.latest-grid{grid-template-columns:1fr 1fr;gap:10px}.latest-card img{height:110px}.latest-card h3{font-size:14px}.ncj-footer .ncj-footer-grid{grid-template-columns:1fr;gap:22px}.ncj-footer .ncj-footer-bottom{flex-direction:column}.ncj-bottom-strip{flex-direction:column;align-items:flex-start}.ncj-section-heading>span{display:none}}

/* Cabecera más compacta */
.site-header .masthead {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    min-height: 0 !important;
}

.site-header .ncj-brand {
    margin: 0 auto;
    padding: 0 !important;
}

.site-header .ncj-brand img {
    width: 100%;
    max-height: 155px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .site-header .masthead {
        padding: 8px 12px !important;
    }

    .site-header .ncj-brand img {
        max-height: 95px;
    }
}

/* NCJ: mostrar fotografias completas */

/* Noticias destacadas */
.lead-grid .media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}

.lead-grid article {
    background: #17283a;
}

/* Tarjetas de categorias */
.ncj-explore-card img {
    object-fit: contain !important;
    object-position: center !important;
}

.ncj-explore-card:hover img {
    transform: none !important;
}

/* Noticias por seccion */
.section-feature img,
.section-list .mini-story img,
.latest-card img {
    object-fit: contain !important;
    object-position: center !important;
    background: #eef1f5;
}

/* NCJ: mostrar fotografias completas */

/* Noticias destacadas */
.lead-grid .media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}

.lead-grid article {
    background: #17283a;
}

/* Tarjetas de categorias */
.ncj-explore-card img {
    object-fit: contain !important;
    object-position: center !important;
}

.ncj-explore-card:hover img {
    transform: none !important;
}

/* Noticias por seccion */
.section-feature img,
.section-list .mini-story img,
.latest-card img {
    object-fit: contain !important;
    object-position: center !important;
    background: #eef1f5;
}

/* NCJ - AJUSTE DEFINITIVO DE PORTADA */

/* Fotografias de portada */
.lead-grid .media {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.lead-grid .media img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 30% !important;
}

/* Eliminar franjas */
.lead-grid article {
    background: #101820;
    overflow: hidden;
}

/* Degradado */
.lead-grid .shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 25%,
        rgba(0,0,0,.15) 45%,
        rgba(0,0,0,.9) 100%
    ) !important;
}

/* Titulares secundarios */
.lead-small .lead-copy h2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

/* Fotografias de secciones */
.ncj-explore-card img,
.section-feature img,
.section-list .mini-story img,
.latest-card img {
    object-fit: cover !important;
    object-position: center 35% !important;
}

/* NCJ - Ajustes editoriales de portada */

.lead-main .lead-copy h1 {
    font-size: clamp(25px, 2.5vw, 36px) !important;
    line-height: 1.12 !important;
    margin-bottom: 10px;
}

.lead-main .lead-copy p {
    font-size: 13px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.lead-small .lead-copy h2 {
    font-size: clamp(15px, 1.4vw, 20px) !important;
    line-height: 1.25 !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

@media (max-width: 768px) {
    .lead-main .lead-copy h1 {
        font-size: 25px !important;
    }

    .lead-small .lead-copy h2 {
        font-size: 17px !important;
    }
}
