/* /assets/css/index.css v=1.0.1 -- Inicio */
/* CSS del index de LimaNorte.com */
/* CAMBIO v=1.0.1: last-ln en 2 columnas gap 32px en escritorio; columna apilada en movil/tablet */

/* === VARIABLES GLOBALES === */
:root{--blue-ln:#113FE2;--green-ln:#088E5A;--text-dark:#222;--bg-light:#fff}

/* === RESET BASICO === */
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:'Arial Narrow',sans-serif;background:var(--bg-light);color:var(--text-dark);line-height:1.2}

/* === LAYOUT CONTAINER === */
.l-container{width:100%;max-width:1330px;margin:0 auto;padding:0 20px}

/* === HEADER WRAPPER === */
.ln-header-wrapper{background:#fff;padding:12px 0;border-bottom:3px solid var(--blue-ln);position:sticky;top:0;z-index:9999;box-shadow:0 4px 12px rgba(0,0,0,0.08)}
.ln-top-main-row{display:flex;justify-content:space-between;align-items:center}
.ln-left-branding{display:flex;align-items:baseline;gap:15px;flex:1}
.ln-site-name{font-size:2.2rem;font-weight:800;color:#000;line-height:1;white-space:nowrap}
.ln-site-tagline{font-size:1.05rem;font-weight:400;color:#666}
.ln-right-actions{display:flex;justify-content:flex-end;align-items:center;gap:20px;flex:0 0 470px;max-width:470px;position:relative}
.ln-social-group{display:flex;gap:35px;align-items:center}
.ln-social-icon{width:22px;height:22px;color:#333;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;fill:none;transition:all 0.2s ease}
.ln-social-icon:hover{color:var(--blue-ln);transform:scale(1.1)}
.ln-burger{width:24px;height:14px;display:flex;flex-direction:column;justify-content:space-between;cursor:pointer;z-index:10001;margin-left:10px}
.ln-burger span{display:block;height:2px;width:100%;background:#000;border-radius:2px}
.ln-nav-items{display:none;position:absolute;top:42px;right:0;background:#fff;border:1px solid #eee;border-top:none;box-shadow:0 15px 40px rgba(0,0,0,0.15);list-style:none;padding:10px 0;min-width:240px;z-index:10000;border-radius:0 0 6px 6px}
.ln-nav-items.is-active{display:block}
.ln-nav-items li a{display:block;padding:12px 25px;text-decoration:none;color:#111;font-size:0.9rem;font-weight:700;text-transform:uppercase}
.ln-nav-items li a:hover{background:#f8faff;color:var(--blue-ln)}

/* === HERO LANDING === */
.ln-hero-landing{position:relative;width:100%;height:480px;background-color:#000;overflow:hidden;border-radius:4px;box-shadow:0 10px 30px rgba(0,0,0,0.1);margin-bottom:30px}
.ln-hero-img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}
.ln-hero-img--placeholder{z-index:1;filter:blur(10px);transform:scale(1.1)}
.ln-hero-img--final{z-index:2;opacity:0;transform:scale(1.05)}
.ln-hero-img--final.is-loaded{opacity:1;transform:scale(1)}
.ln-hero-overlay{position:absolute;bottom:0;left:0;right:0;z-index:3;padding:60px 40px 40px;background:linear-gradient(to top,rgba(0,0,0,0.9) 0%,rgba(0,0,0,0.5) 60%,transparent 100%);color:#fff;text-align:left}
.ln-hero-content h1{font-size:3.2rem;font-weight:900;line-height:1.1;margin:0;text-shadow:2px 2px 10px rgba(0,0,0,0.7)}
.ln-hero-content p{font-size:1.3rem;font-weight:400;color:rgba(255,255,255,0.9);margin-top:10px}

/* === LAYOUT PRINCIPAL (2 columnas) === */
.l-main{display:flex;justify-content:space-between;gap:2.5%;margin-top:30px}
.l-main__home{flex:0 0 75%;min-width:0}
.l-main__side{flex:0 0 22.5%}

/* === ULTIMA PUBLICACION (last-ln): 2 columnas gap 32px en escritorio === */
.last-ln{margin:0 0 2rem 0;border-radius:8px;overflow:hidden;background:#ffffff;box-shadow:0 2px 8px rgba(0,0,0,0.08);display:flex;flex-direction:row;gap:32px}
.last-ln__media{flex:0 0 48.6%;max-width:64%;position:relative;overflow:hidden;background:#f0f0f0}
.last-ln__media .ln-card-img-link{display:block;width:100%;height:100%;min-height:280px;background-size:cover;background-position:center;text-decoration:none}
.last-ln__img{width:100%;height:100%;object-fit:cover;display:block}
.last-ln__content{flex:1;display:flex;flex-direction:column;justify-content:center}
.last-ln__text-link{text-decoration:none;color:inherit;display:flex;flex-direction:row;gap:32px;width:100%}
.last-ln__label{display:inline-block;font-family: Arial, "sans-serif", Arial;font-size:0.8rem;font-weight:700;text-transform:uppercase;letter-spacing:0.1em;margin-bottom: 1rem; color:#ffffff;background:#0D21D1;padding:0.25rem 0.6rem;border-radius:3px;align-self:flex-start;width:fit-content}
.last-ln__title{font-size:1.5rem;line-height:1.25;font-weight:700;color:#1a1a1a;margin:0}
.last-ln__excerpt{font-size:1.17rem;line-height:1.5;color:#242424;margin:0}
.last-ln__more{display:inline-block;font-size:0.9rem;font-weight:700;color:#0D21D1;margin-top:0.5rem; letter-spacing: .6px; font-family: "sans-serif", Arial;}
.last-ln__text-link:hover .last-ln__more{text-decoration:underline}

/* === SEPARADOR DE SECCION === */
.ln-section-divider{border:none;border-top:1px solid #555555;margin:2rem 0}

/* === GRID PORTAL 4 COLUMNAS === */
.ln-portal-grid--4col{display:grid;grid-template-columns:repeat(4,1fr);gap:32px}
.ln-portal-card{display:flex;flex-direction:column}
.ln-card-img-link{display:block;width:100%;aspect-ratio:16/9;background-size:cover;background-position:center;border-radius:4px;overflow:hidden;position:relative;text-decoration:none}
.ln-card-img-link img{width:100%;height:100%;object-fit:cover;display:block}
.ln-card-title{font-family:'Bob Condensed',sans-serif;font-size:1.1rem;line-height:1.3;margin-top:12px;font-weight:700}
.ln-card-title a{color:#222;text-decoration:none;transition:color 0.2s ease}
.ln-card-title a:hover{color:var(--blue-ln,#113FE2)}

/* === PAGINACION === */
.ln-pagination{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:30px;margin-bottom:40px}
.ln-pagination__list{display:flex;list-style:none;padding:0;margin:0;gap:8px}
.ln-pagination__item{display:inline-block}
.ln-pagination__link{display:inline-block;padding:8px 16px;text-decoration:none;color:#333;font-weight:600;font-size:0.9rem;border:1px solid #ddd;border-radius:4px;transition:all 0.2s ease;background:#fff}
.ln-pagination__link:hover{background:var(--blue-ln,#113FE2);color:#fff;border-color:var(--blue-ln,#113FE2);transform:translateY(-2px)}

/* === WRAPPER DE SECCION Y AUSPICIADOR === */
.ln-section-wrapper{margin-bottom:40px}
.ln-sponsor-wrapper{margin:40px 0;padding:20px;background:#f9f9f9;border-radius:8px;text-align:center;border:1px dashed #ccc}

/* === RESPONSIVE: MOVIL (hasta 480px) === */
@media (max-width:480px){
.ln-top-main-row{flex-direction:column;gap:17px;align-items:stretch}
.ln-left-branding{flex-direction:column;gap:8px;align-items:flex-start}
.ln-site-name{font-size:1.8rem}
.ln-site-tagline{font-size:0.95rem}
.ln-right-actions{justify-content:space-between;flex:1;max-width:100%;gap:15px}
.ln-social-group{gap:20px}
.ln-social-icon{width:20px;height:20px}
.ln-hero-landing{height:280px;margin-bottom:20px}
.ln-hero-content h1{font-size:2rem}
.ln-hero-content p{font-size:1.1rem}
.ln-hero-overlay{padding:40px 20px 20px}
.l-main{flex-direction:column;gap:30px}
.l-main__home,.l-main__side{flex:1;max-width:100%}
.last-ln{flex-direction:column;gap:0}
.last-ln__text-link{flex-direction:column;gap:0}
.last-ln__media{flex:none;max-width:100%}
.last-ln__media .ln-card-img-link{min-height:200px}
.last-ln__title{font-size:1.3rem}
.ln-portal-grid--4col{grid-template-columns:1fr;gap:28px}
.ln-pagination__link{padding:6px 12px;font-size:0.85rem}
}

/* === RESPONSIVE: TABLET (481px a 1024px) === */
@media (min-width:481px) and (max-width:1024px){
.l-main{flex-direction:column}
.ln-site-tagline{display:none}
.l-main__home,.l-main__side{flex:1}
.ln-hero-landing{height:350px}
.ln-hero-content h1{font-size:2.4rem}
.last-ln{flex-direction:column;gap:0}
.last-ln__text-link{flex-direction:column;gap:0}
.last-ln__media{flex:none;max-width:100%}
.last-ln__media .ln-card-img-link{min-height:200px}
.ln-portal-grid--4col{grid-template-columns:repeat(2,1fr);gap:24px}
}

/* === RESPONSIVE: DESKTOP (1024px+) === */
@media (min-width:1024px){
.ln-portal-grid--4col{grid-template-columns:repeat(4,1fr);gap:32px}
}
/* /assets/css/index.css v=1.0.1 -- Fin */