/* Blue visual refresh - 2026-05-09 */
:root {
    --blue-page: #ffffff;
    --blue-surface: #ffffff;
    --blue-text: #202124;
    --blue-muted: #6f7480;
    --blue-line: rgba(18, 24, 32, .12);
    --blue-soft-line: rgba(18, 24, 32, .075);
    --blue-radius: 16px;
    --blue-radius-sm: 10px;
    --blue-shadow: 0 14px 42px rgba(15, 23, 42, .055);
    --blue-shadow-soft: 0 8px 20px rgba(15, 23, 42, .04);
}

html {
    scroll-behavior: smooth;
}

body {
    image-rendering: optimizeQuality;
    background: var(--blue-page);
    color: #3F414A;
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
    font-kerning: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body a {
    color: inherit;
    text-decoration: none;
    transition: color .18s ease, opacity .18s ease, transform .18s ease;
}

body a:hover {
    color: inherit;
    opacity: .82;
    text-decoration: none;
}

img {
    max-width: 100%;
}

header.container-lg {
    margin-top: 8px;
    margin-bottom: 18px;
    padding-left: 8px;
    padding-right: 8px;
}

header .py-2.bold {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: var(--blue-muted);
    min-height: 34px;
    padding: .35rem .15rem !important;
}

header .py-2.bold img {
    max-height: 24px;
    width: auto;
}

header .bgcolor.mb-3 {
    border-radius: 999px;
    height: 2px !important;
    margin: 7px 0 !important;
    opacity: .55;
}

header .navbar {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: .55rem 0;
}

header .navbar-brand {
    align-items: center;
    display: flex;
    min-height: 46px;
}

header .navbar-brand img {
    max-height: 64px;
    object-fit: contain;
    width: auto;
}

header .navbar-toggler {
    border: 1px solid var(--blue-line);
    border-radius: 10px;
    box-shadow: none !important;
    padding: .5rem .65rem;
}

header .navbar-nav {
    align-items: center;
    gap: .2rem;
}

header .navbar-nav .nav-link,
header .navbar .nav-link {
    border-radius: 999px;
    color: var(--blue-text) !important;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .065em;
    margin-left: 0 !important;
    padding: .52rem .68rem !important;
    text-transform: uppercase;
}

header .navbar-nav .nav-link:hover,
header .navbar .nav-link:hover,
header .navbar .nav-link.active {
    background: rgba(18, 24, 32, .06);
    opacity: 1;
}

header form[role="search"],
header .blue-top-search {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 999px;
    display: flex;
    overflow: hidden;
    padding: 0;
    width: 40px;
    transition: width .22s ease;
}

header form[role="search"]:hover,
header form[role="search"]:focus-within,
header .blue-top-search[data-expanded="1"] {
    width: min(260px, 36vw);
}

header form[role="search"] .form-control,
header .blue-top-search__input {
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: .9rem;
    margin-right: 0 !important;
    min-width: 0;
    opacity: 0;
    padding-left: .45rem;
    padding-right: .45rem;
    transition: opacity .18s ease, width .22s ease;
    width: 0;
}

header form[role="search"]:hover .form-control,
header form[role="search"]:focus-within .form-control,
header .blue-top-search[data-expanded="1"] .blue-top-search__input {
    opacity: 1;
    width: 210px;
}

header form[role="search"] .btn,
header .blue-top-search__button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 999px;
    box-shadow: none;
    color: var(--blue-text);
    display: inline-flex;
    flex: 0 0 40px;
    font-size: 0;
    height: 40px;
    justify-content: center;
    min-width: 40px;
    padding: 0;
}

header form[role="search"] .btn::before,
header .blue-top-search__button::before {
    content: "\F52A";
    font-family: "bootstrap-icons";
    font-size: 1.05rem;
    line-height: 1;
}

header form[role="search"]:focus-within .btn,
header form[role="search"] .btn:hover,
header .blue-top-search[data-expanded="1"] .blue-top-search__button {
    background: rgba(18, 24, 32, .06);
    opacity: 1;
}

.blue-main {
    padding-bottom: 48px;
    padding-top: 0;
}

.blue-main section[id],
.blue-main [id^="noticias_"],
.blue-main #global_content,
.blue-main #alminuto,
.blue-main #principales,
.blue-main #central,
.blue-main #coberturas,
.blue-main #regiones,
.blue-main #categorias,
.blue-main #tipos {
    scroll-margin-top: 28px;
}

.blue-main h1,
.blue-main h2,
.blue-main h3,
.blue-main h4,
.blue-main h5,
.blue-main h6 {
    color: var(--blue-text);
    letter-spacing: -.02em;
}

.blue-main h1,
.blue-main .h1 {
    font-size: clamp(1.78rem, 3.25vw, 2.75rem);
    letter-spacing: -.052em;
    line-height: 1.04;
}

.blue-main h2,
.blue-main .h2 {
    font-size: clamp(1.45rem, 2.45vw, 2.08rem);
    letter-spacing: -.046em;
    line-height: 1.08;
}

.blue-main h3,
.blue-main .h3 {
    font-size: clamp(1.18rem, 1.95vw, 1.68rem);
    letter-spacing: -.04em;
    line-height: 1.12;
}

.blue-main .text-muted {
    color: var(--blue-muted) !important;
}

.blue-main .rounded-2.shadow-lg.bgcolor,
.blue-main .rounded-4.shadow-lg.bgcolor {
    border-radius: 18px !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .12) !important;
    overflow: hidden;
    position: relative;
}

.blue-main .rounded-2.shadow-lg.bgcolor > .d-flex,
.blue-main .rounded-4.shadow-lg.bgcolor > .d-flex {
    background: linear-gradient(180deg, rgba(4, 8, 16, .18), rgba(4, 8, 16, .82)) !important;
    min-height: clamp(340px, 44vw, 520px);
    padding: clamp(1.1rem, 3vw, 2.25rem) !important;
}

.blue-main .rounded-2.shadow-lg.bgcolor h3,
.blue-main .rounded-2.shadow-lg.bgcolor h4,
.blue-main .rounded-2.shadow-lg.bgcolor h5,
.blue-main .rounded-4.shadow-lg.bgcolor h3,
.blue-main .rounded-4.shadow-lg.bgcolor h4,
.blue-main .rounded-4.shadow-lg.bgcolor h5 {
    color: #fff;
    max-width: 920px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .28);
}

.blue-main .rounded-2.shadow-lg.bgcolor h3,
.blue-main .rounded-4.shadow-lg.bgcolor h3 {
    font-size: clamp(1.62rem, 3.85vw, 3.55rem);
    letter-spacing: -.052em;
    line-height: 1.04;
}

.blue-main .rounded-2.shadow-lg.bgcolor h5,
.blue-main .rounded-4.shadow-lg.bgcolor h5 {
    color: rgba(255, 255, 255, .86);
    font-size: clamp(.9rem, 1.12vw, 1.05rem);
    line-height: 1.48;
}

.blue-main h4,
.blue-main .h4 {
    font-size: clamp(1rem, 1.25vw, 1.18rem);
}

.blue-main h5,
.blue-main .h5 {
    font-size: clamp(.98rem, 1.16vw, 1.16rem);
    line-height: 1.38;
}

.blue-main h6,
.blue-main .h6 {
    font-size: .9rem;
}

.blue-main .hoverWhite,
.blue-main .py-4.border-bottom,
.blue-main .row.align-items-center.py-3.border-bottom,
.blue-main .row.py-3.border-bottom,
.blue-main .border-bottom.py-3,
.blue-main .border-bottom.py-4 {
    background: transparent;
    border: 0 !important;
    border-bottom: 1px solid var(--blue-soft-line) !important;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
    padding: 11px 0 !important;
    transition: opacity .2s ease, transform .2s ease;
}

.blue-main .hoverWhite:hover,
.blue-main .py-4.border-bottom:hover,
.blue-main .row.align-items-center.py-3.border-bottom:hover,
.blue-main .row.py-3.border-bottom:hover,
.blue-main .border-bottom.py-3:hover,
.blue-main .border-bottom.py-4:hover {
    border-color: var(--blue-line) !important;
    box-shadow: none;
    opacity: 1;
    transform: translateX(2px);
}

.blue-main .hoverWhite img,
.blue-main .py-4.border-bottom img,
.blue-main .row.align-items-center.py-3.border-bottom img,
.blue-main .row.py-3.border-bottom img,
.blue-main .border-bottom.py-3 img,
.blue-main .border-bottom.py-4 img,
.blue-main .img-fluid.rounded {
    border-radius: 10px !important;
    object-fit: cover;
}

.blue-main .badge,
.blue-main .rounded-pill {
    letter-spacing: .03em;
}

#noticias_izquierda,
#global_content,
#alminuto {
    position: relative;
}

#alminuto,
#global_content > .card,
#noticias_izquierda > .card {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#alminuto {
    padding: 0;
}

#alminuto hr {
    margin: .75rem 0;
    opacity: .12;
}

#alminuto h6,
#alminuto .h6 {
    font-size: .86rem;
    line-height: 1.26;
}

#principales,
#central,
#coberturas,
#regiones,
#categorias,
#tipos {
    margin-top: 22px;
}

#principales > .row,
#central > .row,
#coberturas > .row,
#regiones > .row,
#categorias > .row,
#tipos > .row {
    row-gap: 10px;
}

#content.blue-main,
#content.container-lg {
    padding-bottom: 56px;
}

#content article {
    background: var(--blue-surface);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: clamp(.4rem, 1.6vw, 1.25rem) 0;
}

#content #title {
    margin-bottom: 1.3rem !important;
}

#content .blue-news-headline,
#content h1 {
    color: #15171c;
    letter-spacing: -.052em;
}

#content .fs-5.fw-normal.lh-based,
#content article p,
#content article li {
    color: #333843;
    font-size: .98rem;
    line-height: 1.66;
}

#noticias_imagen,
#content article img.img-fluid {
    background: #eef1f5;
    border-radius: 14px !important;
    object-fit: cover;
}

#content .article-audio-player,
#content audio {
    width: 100%;
}

#sugeridas,
#noticias_sugeridas,
.news-suggested,
.suggested-news {
    margin-top: 24px;
}

#sugeridas .card,
#noticias_sugeridas .card,
.news-suggested .card,
.suggested-news .card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.blue-main .news-suggested-card__title,
#sugeridas .news-suggested-card__title {
    font-size: clamp(1.1rem, 1.62vw, 1.3rem) !important;
    letter-spacing: -.035em !important;
    line-height: 1.13 !important;
}

.blue-mobile-article-ad {
    border-top: 1px solid var(--blue-soft-line);
    margin-top: 2rem !important;
    padding-top: 1.25rem;
}

.blue-top-ad .redaction-ad-slot:empty {
    display: none !important;
}

.redaction-ad-slot:empty,
.ad-slot:empty,
.banner:empty {
    display: none !important;
}

.blue-footer {
    margin-bottom: 44px;
    margin-top: 50px;
}

.blue-footer .container-lg {
    color: var(--blue-muted);
}

.blue-footer__line {
    background: var(--blue-line);
    height: 1px;
    margin-bottom: 24px;
}

.blue-footer__grid {
    align-items: start;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(220px, 1.2fr) minmax(260px, 2fr) auto;
}

.blue-footer__brand img {
    height: 38px;
    margin-bottom: .8rem;
    max-width: 190px;
    object-fit: contain;
}

.blue-footer__brand p,
.blue-footer__powered {
    color: var(--blue-muted);
    font-size: .84rem;
    line-height: 1.5;
    margin: 0;
}

.blue-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem .85rem;
}

.blue-footer__nav a,
.blue-footer__powered a {
    color: #202124;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.blue-footer__powered a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: .2em;
}

.blue-footer__social {
    display: flex;
    gap: .55rem;
    justify-content: flex-end;
}

.blue-footer__social a {
    align-items: center;
    border: 1px solid var(--blue-line);
    border-radius: 999px;
    color: #202124;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.blue-footer__powered {
    border-top: 1px solid var(--blue-soft-line);
    margin-top: 24px;
    padding-top: 16px;
}

@media (max-width: 1199.98px) {
    header .navbar-collapse {
        border-top: 1px solid var(--blue-soft-line);
        margin-top: 1rem;
        padding-top: 1rem;
    }

    header .navbar-nav {
        align-items: stretch;
    }

    header .navbar-nav .nav-link,
    header .navbar .nav-link {
        border-radius: 14px;
    }

    header form[role="search"],
    header .blue-top-search {
        margin-top: .8rem;
        width: 42px;
    }

    header form[role="search"]:hover,
    header form[role="search"]:focus-within,
    header .blue-top-search[data-expanded="1"] {
        width: min(100%, 320px);
    }

    .blue-footer__grid {
        grid-template-columns: 1fr;
    }

    .blue-footer__social {
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    body {
        background: #fff;
    }

    header.container-lg,
    .blue-main,
    #content.container-lg {
        padding-left: 14px;
        padding-right: 14px;
    }

    header .py-2.bold {
        border-radius: 15px;
        font-size: .82rem;
    }

    header .navbar {
        border-radius: 0;
        padding: .55rem 0;
    }

    header .navbar-brand img {
        max-height: 48px;
    }

    header form[role="search"]:focus-within,
    header .blue-top-search[data-expanded="1"] {
        width: 100%;
    }

    header form[role="search"]:focus-within .form-control,
    header .blue-top-search[data-expanded="1"] .blue-top-search__input {
        width: calc(100vw - 120px);
    }

    .blue-main .rounded-2.shadow-lg.bgcolor > .d-flex,
    .blue-main .rounded-4.shadow-lg.bgcolor > .d-flex {
        min-height: 320px;
        padding: 1rem !important;
    }

    .blue-main .rounded-2.shadow-lg.bgcolor h3,
    .blue-main .rounded-4.shadow-lg.bgcolor h3 {
        font-size: clamp(1.65rem, 10vw, 2.8rem);
    }

    .blue-main .hoverWhite,
    .blue-main .py-4.border-bottom,
    .blue-main .row.align-items-center.py-3.border-bottom,
    .blue-main .row.py-3.border-bottom,
    .blue-main .border-bottom.py-3,
    .blue-main .border-bottom.py-4 {
        border-radius: 0;
        padding: 10px 0 !important;
    }

    #content article {
        border-radius: 22px;
        box-shadow: none;
    }

    .blue-footer {
        margin-top: 34px;
    }

    .blue-footer__nav a,
    .blue-footer__powered a {
        font-size: .74rem;
    }
}
