/* Optimized font stack with Raleway - Override infonews_boot.css */
body {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    font-display: swap;
}

h1, h2, h3, h4, h5, h6, .title {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-display: swap;
}

/* Específicamente sobrescribir las clases que usan Raleway en infonews_boot.css */
.article-text-side h2.title,
.article-text-side.primario-latitudes h2.title,
.article-text-side.secundario-latitudes h2.title,
.article-text-side.terciario-latitudes h2.title,
.article-text-side.primario-geekye h2.title,
.article-text-side.secundario-geekye h2.title,
.article-text-side.terciario-geekye h2.title {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Use specific weights */
.title, h1, h2 {
    font-weight: 700; /* Bold */
}

h3, h4 {
    font-weight: 500; /* Medium */
}

body, p, span, div {
    font-weight: 400; /* Regular */
}

#ncfd h2.title{font-size:42px}@media screen and (max-width:992px){.article-header .article-title h1{font-size:32px}}@media screen and (max-width:768px){.col.col-sm-12 .show-article .info-wrapper h1.title{font-size:18px}header.home-header .navbar.container .home-header-socials .social-icon{margin-right:1px}header.main-header .navbar-toggler{padding-right:1px}.social-bar a.link .img{display:initial}.article-header .article-title h1{font-size:24px}.home .nota-destacada .info-wrapper .badge{display:none}}.navbar{flex-wrap:nowrap !important}header .sticky-header .sticky-title{max-height:auto !important}footer .footer-top .logo-footer-top{height:auto !important}.titlecontainer{bottom:1px;position:absolute;width:92%}.header-list .section-title{padding-bottom:65px}#nota .article-author{text-transform:unset}.article-opening-simple h1.title,.article-opening-simple h2.title{padding-right:5px}.autorx{padding-top:10px}.autorx1{padding-bottom:10px;color:#fff}.three-columns-wrapper .article-badge-in-image h2.title{min-height:3em}#nota .article-author{display:inline-table}#nota .article-author img{border-radius:50%;width:60px}#nota .article-author span{font-size:18px;height:60px;display:table-cell;vertical-align:middle;padding-left:10px}body.detail p.autorxsec{font-size:17px;padding-top:10px;color:#666}@media screen and (max-width:1439px){header .navbar-collapse{width:43%}}header.home-header .navbar.container .right-bar-wrapper{padding-right:15px !important}.article-text-side figure.figure{height:auto !important}.article-text-side .info-wrapper{height:auto !important}.fondofoto figcaption div{font-size:12px !important;margin-top:0}.article-highlight-square .title{font-size:25px}.home .nota-destacada .info-wrapper{display:flex;justify-content:flex-end;flex-direction:column;align-items:flex-start}.home .nota-destacada .info-wrapper .titlecontainer{position:initial}.home .nota-destacada .info-wrapper span.badge.agrup{position:initial;transform:none;text-decoration:none}@media screen and (max-width:991px){#ncfd h2.title{font-size:27px}#ncfd p.preview{display:none}.article-text-side .title{max-width:100% !important;font-size:20px;padding-top:10px}}@media screen and (max-width:767px){#ncfd h2.title{font-size:18px}}@media screen and (max-width:574px){.article-highlight-square .title{font-size:16px}#ncfd h2.title{font-size:15px}}.home-especiales .article-highlight-square h3.title{min-height:1em}@media screen and (max-width:700px){#mainMenu ul li:nth-child(10),#mainMenu ul li:nth-child(11),#mainMenu ul li:nth-child(12),#mainMenu ul li:nth-child(13){display:none}}.marca{float:right;font-size:11px}.article-body .article-content blockquote p{font-size:22px;color:#000;font-style:italic;padding:20px;border-color:#999;border-style:solid;border-width:1px 0}.pagination{display:block;margin:50px 0;background-color:#e8e8e8;padding:10px 0}.pagination span{padding:20px 8px}.menu-top-header{max-height:50px;overflow:hidden}body .badge,footer .footer-midle{background-color:#9626F8}#sticky-title,header .sticky-header .sticky-title span{color:#DDD;font-size:20px}.sticky-title{overflow:hidden}li{vertical-align:top}.article-body .article-content li p{display:block}#nota table,#nota td{border:1px solid #BBBBBB !important}#nota td{padding:0 8px}.article-body .article-content ul li{font-weight:500}.notes-x-5 .note .info-wrapper .title{max-height:fit-content;overflow:visible}.horaheader{font-size:large;font-weight:bold}

/* Fix: permitir que el texto fluya alrededor de fotos chicas (float:left) */
/* El nota.css define .article-body .article-content p como inline-block width:100%, lo que impide el wrap */
.dp-foto-chica ~ p,
.dp-foto-chica ~ ul,
.dp-foto-chica ~ ol {
    display: block !important;
    width: auto !important;
}
.dp-foto-chica {
    shape-outside: margin-box;
}
/* Clearfix después de la zona de float */
.dp-foto-grande,
.dp-foto-mediana {
    clear: both;
}
/* Mobile: foto chica a ancho completo sin float */
@media screen and (max-width: 574px) {
    .dp-foto-chica {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
    }
}

/* Fix: Bootstrap .collapse { display:none } oculta el menú lateral */
/* El JS custom usa .showMenu en vez de .show de Bootstrap */
header .navbar-collapse.collapse {
    display: block !important;
}