/*
Theme Name: Hello Elementor Child
Description: Child theme de Hello Elementor para CESCÚ.
Author: CESCÚ
Template: hello-elementor
Version: 1.1.0
*/

:root{
  --cescu-red:#d94b45;
  --cescu-dark:#292929;
  --cescu-yellow:#e9ad25;
  --cescu-bg:#f7f5f0;
}

.cescu-news-site{margin:0; color:var(--cescu-dark); background:#fff; font-family:Poppins,Arial,sans-serif;}
.cescu-news-header{width:100%; background:#fff; border-bottom:1px solid #eee;}
.cescu-news-header-inner{max-width:1180px; margin:0 auto; min-height:88px; padding:0 28px; display:flex; align-items:center; justify-content:space-between; gap:30px; box-sizing:border-box;}
.cescu-news-logo-img{
    max-width:220px;
    max-height:60px;
    width:auto;
    height:auto;
    display:block;
}
.cescu-news-logo{
    display:flex;
    align-items:center;
}
.cescu-news-logo-text{font-weight:700; font-size:22px; color:var(--cescu-dark); text-decoration:none;}
.cescu-news-nav{display:flex; align-items:center; justify-content:flex-end; gap:30px; flex-wrap:wrap;}
.cescu-news-nav a{font-size:15px; font-weight:500; color:var(--cescu-dark); text-decoration:none;}
.cescu-news-nav a:hover{color:var(--cescu-red);}

.cescu-news-main{max-width:980px; margin:0 auto; padding:70px 28px 90px; box-sizing:border-box;}
.cescu-news-kicker{font-size:13px; letter-spacing:2px; text-transform:uppercase; color:var(--cescu-yellow); font-weight:600; margin-bottom:16px;}
.cescu-news-title{font-size:48px; line-height:1.08; font-weight:700; margin:0 0 20px; color:var(--cescu-dark);}
.cescu-news-meta{font-size:15px; color:#666; margin:0 0 34px;}
.cescu-news-featured{margin:0 0 42px;}
.cescu-news-featured img{display:block; width:100%; height:auto; max-height:560px; object-fit:cover; border-radius:10px;}
.cescu-news-content{font-size:18px; line-height:1.75; color:#363636;}
.cescu-news-content p{margin:0 0 24px;}
.cescu-news-content h2,.cescu-news-content h3{color:var(--cescu-dark); line-height:1.25; margin:42px 0 16px;}
.cescu-news-content h2{font-size:30px;}
.cescu-news-content h3{font-size:24px;}
.cescu-news-content img{max-width:100%; height:auto; border-radius:8px;}
.cescu-news-content a{color:var(--cescu-red);}
.cescu-news-footer{background:var(--cescu-dark); color:#fff; padding:45px 28px;}
.cescu-news-footer-inner{max-width:1180px; margin:0 auto; display:flex; justify-content:space-between; gap:30px; align-items:flex-start;}
.cescu-news-footer p{margin:0; font-size:14px; line-height:1.6;}
.cescu-news-back{display:inline-block; margin-top:45px; color:var(--cescu-red); font-weight:600; text-decoration:none;}

@media (max-width:800px){
  .cescu-news-header-inner{flex-direction:column; justify-content:center; padding:22px 20px; gap:18px;}
  .cescu-news-nav{justify-content:center; gap:16px 22px;}
  .cescu-news-main{padding:45px 20px 65px;}
  .cescu-news-title{font-size:36px;}
  .cescu-news-content{font-size:17px; line-height:1.65;}
  .cescu-news-footer-inner{flex-direction:column;}
.cescu-news-logo{
    display:flex;
    align-items:center;
}
.cescu-news-header .cescu-news-logo-img {
    width: 220px !important;
    max-width: 220px !important;
    height: auto !important;
    max-height: 60px !important;
    object-fit: contain !important;
}
.cescu-news-header .cescu-news-logo-img {
    width: 220px !important;
    max-width: 220px !important;
    height: auto !important;
    max-height: 60px !important;
    object-fit: contain !important;
}

.cescu-news-logo {
    width: 220px !important;
    max-width: 220px !important;
    display: flex !important;
    align-items: center !important;
}
	.cescu-news-logo {
    width: 220px !important;
    max-width: 220px !important;
    display: flex !important;
    align-items: center !important;
/* =========================================
   FOOTER NOTICIAS - VERSION FINAL
========================================= */

footer.cescu-news-footer {
    background: #292929 !important;
    color: #fff !important;
    margin-top: 80px !important;
    padding: 55px 4% 20px !important;
}

footer.cescu-news-footer .cescu-news-footer-grid {
    width: 100% !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 1.4fr 0.8fr 1.4fr !important;
    gap: 70px !important;
    align-items: start !important;
}

footer.cescu-news-footer .cescu-footer-brand {
    max-width: 330px !important;
}

footer.cescu-news-footer .cescu-footer-logo {
    width: 190px !important;
    max-width: 190px !important;
    height: auto !important;
    display: block !important;
    margin-bottom: 18px !important;
}

footer.cescu-news-footer .cescu-footer-brand p {
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    margin: 0 0 12px !important;
}

footer.cescu-news-footer .cescu-footer-social {
    display: flex !important;
    gap: 18px !important;
    margin-top: 10px !important;
}

footer.cescu-news-footer .cescu-footer-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
}

footer.cescu-news-footer .cescu-footer-links a {
    display: block !important;
    color: #fff !important;
    font-size: 13px !important;
    text-decoration: none !important;
}

footer.cescu-news-footer .cescu-footer-contact {
    color: #fff !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

footer.cescu-news-footer .cescu-footer-contact p {
    margin: 7px 0 !important;
}

footer.cescu-news-footer .cescu-footer-bottom {
    width: 100% !important;
    max-width: 1180px !important;
    margin: 70px auto 0 !important;
    padding-top: 10px !important;
    border-top: 1px solid #111 !important;
    text-align: center !important;
    font-size: 10px !important;
    position: relative !important;
}

footer.cescu-news-footer .cescu-footer-bottom:before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: -2px !important;
    width: 60px !important;
    height: 3px !important;
    background: #e9ad25 !important;
}


/* LOGO: hacerlo visible sobre fondo oscuro */
footer.cescu-news-footer .cescu-footer-logo {
    filter: brightness(0) invert(1) !important;
}


/* VERSION MOVIL */
@media (max-width: 800px) {

    footer.cescu-news-footer .cescu-news-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 35px !important;
    }

    footer.cescu-news-footer {
        padding: 40px 25px 20px !important;
    }

    footer.cescu-news-footer .cescu-footer-bottom {
        margin-top: 40px !important;
    }

}
/* ===== FOOTER NOTICIAS - CORRECCIÓN FINAL ===== */

.cescu-news-footer {
    background: #292929 !important;
    color: #ffffff !important;
    padding: 55px 4% 20px !important;
    margin-top: 80px !important;
}

.cescu-news-footer-grid {
    max-width: 1180px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 1.4fr 0.7fr 1.4fr !important;
    gap: 60px !important;
    align-items: start !important;
}

.cescu-footer-brand {
    max-width: 330px !important;
}

.cescu-footer-logo {
    margin-bottom: 18px !important;
}

.cescu-footer-logo img {
    width: 190px !important;
    height: auto !important;
    max-width: 190px !important;
    display: block !important;
}

.cescu-footer-brand p {
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin: 0 0 15px !important;
}

.cescu-footer-social {
    display: flex !important;
    gap: 18px !important;
    margin-top: 12px !important;
}

.cescu-footer-social a {
    color: #fff !important;
    text-decoration: none !important;
}

.cescu-footer-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.cescu-footer-links a {
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px !important;
}

.cescu-footer-contact {
    color: #fff !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

.cescu-footer-contact p {
    margin: 8px 0 !important;
}

.cescu-footer-bottom {
    max-width: 1180px !important;
    margin: 55px auto 0 !important;
    padding-top: 12px !important;
    border-top: 1px solid #111 !important;
    text-align: center !important;
    color: #fff !important;
    font-size: 10px !important;
}

/* MÓVIL */
@media (max-width: 800px) {
    .cescu-news-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 35px !important;
    }
}