/* ==================================================
   COULEURS DU SITE
================================================== */

:root {
    --cat-color: #e83947 !important;
    --blues-actu-red: #e83947;
    --blues-actu-red-dark: #c92b38;
}


/* ==================================================
   COLONNE LATÉRALE HORS HOMEPAGE
================================================== */

@media (min-width: 992px) {

    /* Colonne plus aérée et légèrement plus large intérieurement */
    body:not(.home) #sidebar-right {
        gap: 0 !important;
        padding-left: 22px !important;
    }

    body:not(.home) #sidebar-right > .bs-widget {
        margin: 0 0 22px !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    /* Titres de sections sobres avec un filet rouge */
    body:not(.home) #sidebar-right .widget_block > .wp-block-heading {
        margin: 0 !important;
        padding: 10px 0 0 !important;
        color: #171717 !important;
        border-top: 3px solid var(--blues-actu-red) !important;
        font-size: 20px !important;
        font-weight: 700 !important;
        line-height: 1.18 !important;
        letter-spacing: -0.025em !important;
    }

    body:not(.home) #sidebar-right .widget_block > .wp-block-heading mark,
    body:not(.home) #sidebar-right .widget_block > .wp-block-heading strong {
        color: inherit !important;
        font-weight: inherit !important;
    }

    /* Encadrer proprement le lecteur et la playlist */
    body:not(.home) #sidebar-right #block-292,
    body:not(.home) #sidebar-right #xyz_insert_html_widget-13 {
        overflow: hidden !important;
        background: #fff !important;
        border: 1px solid #e6e6e6 !important;
        border-radius: 14px !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
    }

    /* L’ancien titre et l’ancien lecteur sont remplacés par le lecteur maison */
    body:not(.home) #sidebar-right #block-314,
    body:not(.home) #sidebar-right #block-292 {
        display: none !important;
    }

    /* Le nouveau lecteur contient déjà son propre habillage */
    body:not(.home) #sidebar-right #xyz_insert_html_widget-25 {
        overflow: visible !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    /* Ce titre isolé faisait doublon avec « Top 3 : Les plus lus » */
    body:not(.home) #sidebar-right #block-320 {
        display: none !important;
    }

    /* Top 3 sous forme de cartes compactes */
    body:not(.home) #sidebar-right #block-322 .jetpack-top-posts-wrapper {
        display: grid !important;
        gap: 0 !important;
    }

    body:not(.home) #sidebar-right #block-322 .jetpack-top-posts-item {
        display: grid !important;
        grid-template-columns: 72px minmax(0, 1fr) !important;
        grid-template-rows: auto auto auto !important;
        column-gap: 11px !important;
        align-items: start !important;
        min-height: 94px !important;
        margin: 0 !important;
        padding: 11px 0 !important;
        border-bottom: 1px solid #e8e8e8 !important;
    }

    body:not(.home) #sidebar-right #block-322 .jetpack-top-posts-item:last-child {
        border-bottom: 0 !important;
    }

    body:not(.home) #sidebar-right #block-322 .jetpack-top-posts-thumbnail-link {
        grid-row: 1 / 4 !important;
        width: 72px !important;
        height: 72px !important;
        margin: 0 !important;
        overflow: hidden !important;
        border-radius: 9px !important;
    }

    body:not(.home) #sidebar-right #block-322 .jetpack-top-posts-thumbnail {
        display: block !important;
        width: 72px !important;
        height: 72px !important;
        margin: 0 !important;
        object-fit: cover !important;
    }

    body:not(.home) #sidebar-right #block-322 .jetpack-top-posts-title,
    body:not(.home) #sidebar-right #block-322 .jetpack-top-posts-title a {
        color: #171717 !important;
        font-size: 13px !important;
        font-weight: 650 !important;
        line-height: 1.25 !important;
        text-decoration: none !important;
    }

    body:not(.home) #sidebar-right #block-322 .jetpack-top-posts-title a:hover,
    body:not(.home) #sidebar-right #block-322 .jetpack-top-posts-title a:focus {
        color: var(--blues-actu-red) !important;
    }

    body:not(.home) #sidebar-right #block-322 .jetpack-top-posts-date,
    body:not(.home) #sidebar-right #block-322 .jetpack-top-posts-context,
    body:not(.home) #sidebar-right #block-322 .jetpack-top-posts-context a {
        margin: 2px 0 0 !important;
        color: #777 !important;
        font-size: 10px !important;
        font-weight: 500 !important;
        line-height: 1.25 !important;
    }

    body:not(.home) #sidebar-right #block-322 .jetpack-top-posts-context a {
        color: var(--blues-actu-red) !important;
    }
}

/* Supprimer complètement la colonne latérale sur tablette et mobile */
@media (max-width: 991px) {
    body:not(.home) .col-lg-4.sidebar-right,
    body:not(.home) #sidebar-right {
        display: none !important;
    }

    body:not(.home) main .col-lg-8,
    body:not(.home) main .content-right,
    body:not(.home) main .content-left {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}


/* ==================================================
   RÉGLAGES GÉNÉRAUX
================================================== */

/* Masquer uniquement l’image à la une de la page d’accueil */
body.home main .bs-card-box.wd-back > figure.post-thumbnail {
    display: none !important;
}


.site-branding-text {
    display: none;
}

/* Masquer le titre, le fil d’Ariane et leur cadre sur l’accueil */
body.home .page-entry-title,
body.home .page-entry-title-box,
body.home .bs-breadcrumb-section {
    display: none !important;
}

/* Masquer entièrement la têtière des deux sous-homepages */
body.page.page-id-29080:not(.home) .page-entry-title,
body.page.page-id-29080:not(.home) .page-entry-title-box,
body.page.page-id-29080:not(.home) .bs-breadcrumb-section,
body.page.page-id-29098:not(.home) .page-entry-title,
body.page.page-id-29098:not(.home) .page-entry-title-box,
body.page.page-id-29098:not(.home) .bs-breadcrumb-section {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.page.page-id-29080:not(.home) .page-entry-title::before,
body.page.page-id-29080:not(.home) .page-entry-title::after,
body.page.page-id-29080:not(.home) .page-entry-title-box::before,
body.page.page-id-29080:not(.home) .page-entry-title-box::after,
body.page.page-id-29098:not(.home) .page-entry-title::before,
body.page.page-id-29098:not(.home) .page-entry-title::after,
body.page.page-id-29098:not(.home) .page-entry-title-box::before,
body.page.page-id-29098:not(.home) .page-entry-title-box::after {
    display: none !important;
    content: none !important;
}


/* ==================================================
   LIENS ET COULEUR PRINCIPALE
================================================== */

a {
    color: var(--blues-actu-red);
}


/* ==================================================
   BOUTONS
================================================== */

a.btn,
.wp-block-button__link,
button,
input[type="submit"],
input[type="button"] {
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

a.btn,
button,
input[type="submit"],
input[type="button"] {
    color: #fff;
    background-color: var(--blues-actu-red);
    border-color: var(--blues-actu-red);
}

a.btn:hover,
a.btn:focus,
button:hover,
button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
input[type="button"]:hover,
input[type="button"]:focus {
    color: #fff;
    background-color: var(--blues-actu-red-dark);
    border-color: var(--blues-actu-red-dark);
}


/* ==================================================
   BOUTONS WORDPRESS DE L’ACCUEIL
================================================== */

body.home .wp-block-button__link {
    color: #fff !important;
    background-color: var(--blues-actu-red) !important;
    border-color: var(--blues-actu-red) !important;
}

body.home .wp-block-button__link:hover,
body.home .wp-block-button__link:focus {
    color: #fff !important;
    background-color: var(--blues-actu-red-dark) !important;
    border-color: var(--blues-actu-red-dark) !important;
}


/* ==================================================
   BOUTON ÉCOUTEZ BLUES ACTU RADIO
================================================== */

a.subscribe-btn {
    color: #fff !important;
    background-color: var(--blues-actu-red) !important;
    border-color: var(--blues-actu-red) !important;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

a.subscribe-btn:hover,
a.subscribe-btn:focus {
    color: #fff !important;
    background-color: var(--blues-actu-red-dark) !important;
    border-color: var(--blues-actu-red-dark) !important;
}


/* ==================================================
   CATÉGORIES
================================================== */

.bs-blog-category::before {
    background-color: var(--blues-actu-red) !important;
}

.bs-blog-category a {
    border-color: var(--blues-actu-red) !important;
}

/* Texte blanc dans le diaporama */
body.home .mainfeatured .bs-blog-category a {
    color: #fff !important;
}

.bs-blog-category a:hover,
.bs-blog-category a:focus {
    color: #fff !important;
    background-color: var(--blues-actu-red) !important;
    border-color: var(--blues-actu-red) !important;
}

/* Masquer Top news partout sur le site */
a[href*="/category/topnews/"] {
    display: none !important;
}



/* ==================================================
   BOUTON DE RETOUR EN HAUT
================================================== */

.bs_upscr {
    color: #fff !important;
    background-color: var(--blues-actu-red) !important;
    border-color: var(--blues-actu-red) !important;
}

.bs_upscr:hover,
.bs_upscr:focus {
    background-color: var(--blues-actu-red-dark) !important;
    border-color: var(--blues-actu-red-dark) !important;
}


/* ==================================================
   MENU MOBILE
================================================== */

@media (max-width: 991px) {
    .menu-btn {
        color: var(--blues-actu-red) !important;
    }
}


/* ==================================================
   PIED DE PAGE COMPACT
================================================== */

/* Zone principale : logos, adhésions et newsletter */
footer.footer .bs-footer-widget-area {
    padding: 30px 0 12px !important;
    background: #f5f5f7 !important;
}

footer.footer .bs-footer-widget-area .row {
    align-items: center;
}

footer.footer .bs-footer-widget-area .bs-widget {
    padding-bottom: 18px !important;
}

footer.footer .bs-footer-widget-area .wp-block-jetpack-layout-grid {
    align-items: center !important;
    gap: 18px !important;
}

footer.footer .bs-footer-widget-area figure,
footer.footer .bs-footer-widget-area .wp-block-image {
    margin: 0 !important;
}

footer.footer .bs-footer-widget-area img {
    width: auto !important;
    max-width: 88px !important;
    height: auto !important;
    max-height: 76px !important;
    object-fit: contain;
}

footer.footer .bs-footer-widget-area p {
    margin: 0 !important;
    color: #3d3d3d !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
}

/* Newsletter compacte */
footer.footer .wp-block-jetpack-subscriptions__form-elements {
    display: flex !important;
    align-items: stretch;
    gap: 8px;
}

footer.footer .wp-block-jetpack-subscriptions__form-elements p {
    margin: 0 !important;
}

footer.footer .wp-block-jetpack-subscriptions__form-elements #subscribe-email {
    flex: 1 1 auto;
}

footer.footer .wp-block-jetpack-subscriptions__form-elements #subscribe-submit {
    flex: 0 0 auto;
}

footer.footer .wp-block-jetpack-subscriptions input[type="email"] {
    width: 100% !important;
    min-height: 42px !important;
    padding: 10px 13px !important;
    color: #171717 !important;
    background: #fff !important;
    border: 1px solid #d8d8dc !important;
    border-radius: 8px !important;
    font-size: 13px !important;
}

footer.footer .wp-block-jetpack-subscriptions input[type="submit"] {
    min-height: 42px !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 750 !important;
}

/* Réseaux sociaux */
footer.footer .bs-footer-bottom-area {
    padding: 13px 0 !important;
    background: #f5f5f7 !important;
    border-top: 1px solid #e2e2e5 !important;
}

footer.footer .bs-footer-bottom-area .row {
    min-height: 32px;
}

footer.footer .bs-social {
    min-height: 32px !important;
    margin: 0 !important;
}

footer.footer .bs-social li a {
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    border-radius: 50% !important;
}

/* Copyright et liens légaux */
footer.footer .bs-footer-copyright {
    padding: 14px 0 !important;
    background: #ededf0 !important;
    border-top: 1px solid #dddde1 !important;
}

footer.footer .bs-footer-copyright .row {
    align-items: center;
    min-height: 28px;
}

/* Remplacer l’attribution visible du thème */
footer.footer .bs-footer-copyright p.mb-0 {
    font-size: 0 !important;
    line-height: 1 !important;
}

footer.footer .bs-footer-copyright p.mb-0::before {
    color: #555 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    content: "© Blues Actu. Tous droits réservés.";
}

footer.footer .bs-footer-copyright .info-right {
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    min-height: 28px;
    padding-left: 0 !important;
}

footer.footer .bs-footer-copyright .info-right li {
    margin: 0 !important;
}

footer.footer .bs-footer-copyright .info-right a {
    color: #444 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

footer.footer .bs-footer-copyright .info-right a:hover,
footer.footer .bs-footer-copyright .info-right a:focus {
    color: var(--blues-actu-red) !important;
}

/* Masquer la signature du plugin Insert HTML Snippet */
#page > div:has(> a[title="Insert HTML Snippet Wordpress Plugin"]),
#page > div:has(> a[href*="xyzscripts.com/wordpress-plugins/insert-html-snippet"]),
#page > div:has(> a[href*="www.xyzscripts.com"]) {
    display: none !important;
}


/* ==================================================
   PIED DE PAGE SUR MOBILE
================================================== */

@media (max-width: 767px) {
    footer.footer .bs-footer-widget-area {
        padding: 24px 0 8px !important;
    }

    footer.footer .bs-footer-widget-area .bs-widget {
        width: 100%;
        padding-bottom: 20px !important;
        text-align: center;
    }

    footer.footer .bs-footer-widget-area img {
        max-width: 74px !important;
        max-height: 66px !important;
    }

    footer.footer .bs-footer-widget-area p {
        font-size: 12px !important;
    }

    footer.footer .wp-block-jetpack-subscriptions__form-elements {
        flex-direction: column;
        gap: 8px;
    }

    footer.footer .wp-block-jetpack-subscriptions input[type="submit"] {
        width: 100% !important;
    }

    footer.footer .bs-footer-bottom-area {
        padding: 10px 0 !important;
    }

    footer.footer .bs-footer-bottom-area .row,
    footer.footer .bs-footer-copyright .row {
        justify-content: center;
        gap: 10px;
        text-align: center;
    }

    footer.footer .bs-social {
        justify-content: center !important;
    }

    footer.footer .bs-footer-copyright {
        padding: 13px 0 15px !important;
    }

    footer.footer .bs-footer-copyright p.mb-0 {
        width: 100%;
        margin-bottom: 8px !important;
    }

    footer.footer .bs-footer-copyright .info-right {
        justify-content: center;
        flex-wrap: wrap;
        gap: 7px 15px;
        width: 100%;
    }

    footer.footer .bs-footer-copyright .info-right a {
        font-size: 11px !important;
    }
}



/* ==================================================
   PAGES : IMAGE À LA UNE
================================================== */

/* Masquer l’image ajoutée automatiquement par le thème */
body.page:not(.home) .bs-card-box.wd-back > figure.post-thumbnail:not(.wp-block-post-featured-image) {
    display: none !important;
}

/* Conserver le bloc Image à la une ajouté manuellement dans l’éditeur */
body.page:not(.home) figure.wp-block-post-featured-image {
    display: block !important;
}


/* ==================================================
   TÊTIÈRES CLAIRES DES PAGES ET CATÉGORIES
================================================== */

body.archive .page-entry-title,
body.page:not(.home) .page-entry-title {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 30px;
    margin: 0 0 42px !important;
    padding: 18px 0 22px !important;
    overflow: visible;
    background: transparent !important;
    border: 0 !important;
    border-top: 4px solid var(--blues-actu-red) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Petit surtitre rouge */
body.archive .page-entry-title-box::before,
body.page:not(.home) .page-entry-title-box::before {
    display: block;
    margin-bottom: 6px;
    color: var(--blues-actu-red);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    content: "RUBRIQUE";
}

/* Titre principal moins gras */
body.archive .page-entry-title .entry-title,
body.page:not(.home) .page-entry-title .entry-title {
    margin: 0 !important;
    padding: 0 !important;
    color: #171717 !important;
    font-size: clamp(30px, 3.5vw, 46px) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em !important;
}

/* Fil d’Ariane */
body.archive .page-entry-title .bs-breadcrumb-section,
body.page:not(.home) .page-entry-title .bs-breadcrumb-section {
    margin: 0 0 4px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

body.archive .page-entry-title .bs-breadcrumb-section .overlay,
body.page:not(.home) .page-entry-title .bs-breadcrumb-section .overlay {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.archive .page-entry-title .breadcrumb a,
body.archive .page-entry-title .breadcrumb-item span,
body.page:not(.home) .page-entry-title .breadcrumb a,
body.page:not(.home) .page-entry-title .breadcrumb-item span {
    color: #5f5f5f !important;
}

body.archive .page-entry-title .breadcrumb-item + .breadcrumb-item::before,
body.page:not(.home) .page-entry-title .breadcrumb-item + .breadcrumb-item::before {
    color: var(--blues-actu-red) !important;
}


/* ==================================================
   TÊTIÈRES SUR MOBILE
================================================== */

@media (max-width: 767px) {
    body.archive .page-entry-title,
    body.page:not(.home) .page-entry-title {
        align-items: flex-start !important;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 26px !important;
        padding: 16px 0 20px !important;
    }

    body.archive .page-entry-title .entry-title,
    body.page:not(.home) .page-entry-title .entry-title {
        font-size: 30px !important;
    }

}
/* ==================================================
   LARGEUR GÉNÉRALE DU SITE SUR ORDINATEUR
================================================== */

@media (min-width: 1200px) {
    body.wide .container {
        width: 80% !important;
        max-width: 1600px !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }
}


/* ==================================================
   BLUES ACTU : ÉCHELLE TYPOGRAPHIQUE HARMONISÉE
   Échelle appliquée à l’ensemble du site
================================================== */

/* Base de lecture */
body {
    font-size: 16px;
    line-height: 1.55;
}

/* Navigation principale : la taille actuelle est correcte */
#main-nav .nav-link,
.navbar-nav .nav-link {
    font-size: 15px !important;
    line-height: 1.4 !important;
}

/* ==================================================
   TÊTIÈRES DES PAGES ET DES RUBRIQUES
================================================== */

body.archive .page-entry-title .entry-title,
body.page:not(.home) .page-entry-title .entry-title {
    font-size: clamp(32px, 3vw, 44px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;
}

/* Titres des widgets de la colonne latérale */
.bs-sidebar .widget_block > h1.wp-block-heading,
.bs-sidebar .widget_block > h2.wp-block-heading {
    font-size: 24px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
}

/* ==================================================
   PAGES DE RUBRIQUES
================================================== */

body.archive .bs-blog-post .entry-title {
    font-size: clamp(22px, 1.8vw, 25px) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.025em !important;
}

body.archive .bs-blog-post article.small > p {
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}

/* ==================================================
   ARTICLES
================================================== */

body.single .bs-blog-post.single .bs-header h1.title {
    font-size: clamp(34px, 3.2vw, 44px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.035em !important;
}

body.single .bs-blog-post.single article.single > h2.wp-block-heading {
    margin-top: 1.55em !important;
    font-size: clamp(24px, 2vw, 28px) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.025em !important;
}

body.single .bs-blog-post.single article.single > h3.wp-block-heading {
    font-size: clamp(21px, 1.7vw, 24px) !important;
    line-height: 1.25 !important;
}

body.single .bs-blog-post.single article.single > p:not(.has-medium-font-size) {
    font-size: 18px !important;
    line-height: 1.65 !important;
}

body.single .bs-blog-post.single article.single > p.has-medium-font-size {
    font-size: 19px !important;
    line-height: 1.6 !important;
}

/* ==================================================
   HOMEPAGE PRINCIPALE
================================================== */

.bar-top-carousel__title {
    font-size: clamp(26px, 2.6vw, 40px) !important;
    line-height: 1.08 !important;
}

.bar-home-access__card h2 {
    font-size: clamp(26px, 2vw, 32px) !important;
}

.bar-home-channel__heading h2 {
    font-size: clamp(22px, 1.8vw, 26px) !important;
    line-height: 1.1 !important;
}

.bar-home-newsletter h2.wp-block-heading {
    font-size: clamp(30px, 3vw, 38px) !important;
    line-height: 1.1 !important;
}

/* ==================================================
   SOUS-HOMEPAGE LA RADIO
================================================== */

.bar-radio-hero h1 {
    font-size: clamp(40px, 4vw, 52px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.04em !important;
}

.bar-radio-hero__intro {
    font-size: 18px !important;
    line-height: 1.5 !important;
}

.bar-radio-player__track {
    font-size: clamp(26px, 2.4vw, 32px) !important;
    line-height: 1.1 !important;
}

.bar-radio-history__heading h2 {
    font-size: 24px !important;
    line-height: 1.15 !important;
}

.bar-radio-section-heading h2,
.bar-radio-editorial-heading h2 {
    font-size: clamp(28px, 2.8vw, 36px) !important;
    line-height: 1.1 !important;
}

.bar-radio-platforms h2 {
    font-size: clamp(26px, 2.4vw, 32px) !important;
    line-height: 1.15 !important;
}

.bar-radio-content-section .entry-title {
    font-size: clamp(18px, 1.5vw, 21px) !important;
    line-height: 1.25 !important;
}

/* ==================================================
   SOUS-HOMEPAGE LE MAG’
================================================== */

.bar-mag-hero h1 {
    font-size: clamp(40px, 4vw, 52px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.04em !important;
}

.bar-mag-hero__intro {
    font-size: 18px !important;
    line-height: 1.5 !important;
}

.bar-mag-section-heading h2 {
    font-size: clamp(28px, 2.8vw, 36px) !important;
    line-height: 1.1 !important;
}

.bar-mag-section .entry-title {
    font-size: clamp(18px, 1.6vw, 21px) !important;
    line-height: 1.25 !important;
}

/* ==================================================
   MOBILE
================================================== */

@media (max-width: 767px) {
    body {
        font-size: 16px;
    }

    body.archive .page-entry-title .entry-title,
    body.page:not(.home) .page-entry-title .entry-title {
        font-size: 30px !important;
    }

    body.archive .bs-blog-post .entry-title {
        font-size: 21px !important;
    }

    body.single .bs-blog-post.single .bs-header h1.title {
        font-size: 31px !important;
        line-height: 1.15 !important;
    }

    body.single .bs-blog-post.single article.single > h2.wp-block-heading {
        font-size: 24px !important;
    }

    body.single .bs-blog-post.single article.single > p,
    body.single .bs-blog-post.single article.single > p.has-medium-font-size {
        font-size: 17px !important;
        line-height: 1.65 !important;
    }

    .bar-top-carousel__title {
        font-size: clamp(20px, 6vw, 27px) !important;
    }

    .bar-home-newsletter h2.wp-block-heading,
    .bar-radio-section-heading h2,
    .bar-radio-editorial-heading h2,
    .bar-mag-section-heading h2 {
        font-size: 28px !important;
    }

    .bar-radio-hero h1,
    .bar-mag-hero h1 {
        font-size: 34px !important;
        line-height: 1.08 !important;
    }

    .bar-radio-hero__intro,
    .bar-mag-hero__intro {
        font-size: 17px !important;
    }

    .bar-radio-player__track {
        font-size: 25px !important;
    }

    .bar-radio-content-section .entry-title,
    .bar-mag-section .entry-title {
        font-size: 18px !important;
    }

    .bs-sidebar .widget_block > h1.wp-block-heading,
    .bs-sidebar .widget_block > h2.wp-block-heading {
        font-size: 22px !important;
    }
}


/* ==================================================
   BLUES ACTU : MENU PRINCIPAL
   Menu principal harmonisé avec la charte
   Le bouton d’écoute et la loupe ne sont pas modifiés.
================================================== */

@media (min-width: 992px) {

    /* En-tête plus compact */
    .bs-menu-full .main {
        min-height: 108px;
    }

    .bs-menu-full .logo .custom-logo {
        width: 120px !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain;
    }

    /* Capsule contenant le menu */
    #main-nav > ul {
        display: flex !important;
        align-items: center;
        gap: 5px;
        margin: 0 !important;
        padding: 5px !important;
        background: #f4f4f4;
        border: 1px solid #e5e5e5;
        border-radius: 999px;
        box-shadow: 0 5px 18px rgba(0, 0, 0, .05);
    }

    #main-nav > ul > li {
        margin: 0 !important;
        padding: 0 !important;
    }

    #main-nav > ul > li > .nav-link {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 9px 16px !important;
        color: #171717 !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 999px !important;
        font-size: 14px !important;
        font-weight: 650 !important;
        line-height: 1 !important;
        text-decoration: none !important;
        transition:
            color .18s ease,
            background-color .18s ease,
            box-shadow .18s ease;
    }

    /* Survol des entrées principales */
    #main-nav > ul > li:not(.lang-item) > .nav-link:hover,
    #main-nav > ul > li:not(.lang-item) > .nav-link:focus-visible {
        color: #e83947 !important;
        background: #fff !important;
        box-shadow: 0 3px 12px rgba(0, 0, 0, .07);
    }

    /* Page actuellement consultée */
    #main-nav > ul > li.current-menu-item:not(.lang-item) > .nav-link,
    #main-nav > ul > li.current_page_item:not(.lang-item) > .nav-link {
        color: #fff !important;
        background: #e83947 !important;
        box-shadow: 0 4px 13px rgba(232, 57, 71, .24);
    }

    /* Séparation avant le sélecteur de langue */
    #main-nav > ul > li.lang-item {
        margin-left: 4px !important;
        padding-left: 9px !important;
        border-left: 1px solid #d7d7d7;
    }

    /* Langue traitée comme une commande distincte */
    #main-nav > ul > li.lang-item > .nav-link {
        gap: 6px;
        min-width: 61px;
        padding-right: 13px !important;
        padding-left: 13px !important;
        color: #fff !important;
        background: #171717 !important;
        border: 1px solid #171717 !important;
        box-shadow: none !important;
    }

    #main-nav > ul > li.lang-item > .nav-link:hover,
    #main-nav > ul > li.lang-item > .nav-link:focus-visible {
        color: #fff !important;
        background: #e83947 !important;
        border-color: #e83947 !important;
    }

    #main-nav > ul > li.lang-item img {
        display: block;
        width: 16px !important;
        height: 11px !important;
        margin: 0 !important;
        border-radius: 2px;
    }

    /* Remplacer « English version » par EN */
    #main-nav > ul > li.lang-item span {
        margin: 0 !important;
        font-size: 0 !important;
    }

    #main-nav > ul > li.lang-item-en span::after {
        font-size: 12px;
        font-weight: 750;
        letter-spacing: .08em;
        content: "EN";
    }

    #main-nav > ul > li.lang-item-fr span::after {
        font-size: 12px;
        font-weight: 750;
        letter-spacing: .08em;
        content: "FR";
    }
}

/* Traitement de la langue dans le menu mobile */
@media (max-width: 991px) {
    #main-nav li.lang-item > .nav-link {
        display: inline-flex !important;
        align-items: center;
        gap: 7px;
        width: auto !important;
        margin: 10px 16px !important;
        padding: 10px 14px !important;
        color: #fff !important;
        background: #171717 !important;
        border-radius: 999px !important;
    }

    #main-nav li.lang-item span {
        margin: 0 !important;
        font-size: 0 !important;
    }

    #main-nav li.lang-item-en span::after {
        font-size: 12px;
        font-weight: 750;
        letter-spacing: .08em;
        content: "EN";
    }

    #main-nav li.lang-item-fr span::after {
        font-size: 12px;
        font-weight: 750;
        letter-spacing: .08em;
        content: "FR";
    }
}


/* ==================================================
   PAGE DU LECTEUR EXPORTABLE
================================================== */

/* Cette page devient une fenêtre autonome, sans le thème WordPress */
html:has(body.bar-radio-window-page) {
    margin-top: 0 !important;
    overflow: hidden !important;
    background: #f4f4f4 !important;
}

body.bar-radio-window-page {
    min-height: 100vh !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: #f4f4f4 !important;
}

body.bar-radio-window-page #wpadminbar,
body.bar-radio-window-page header.bs-default,
body.bar-radio-window-page footer.footer,
body.bar-radio-window-page .page-entry-title,
body.bar-radio-window-page .page-entry-title-box,
body.bar-radio-window-page .bs-breadcrumb-section,
body.bar-radio-window-page .bs_upscr,
body.bar-radio-window-page .skip-link {
    display: none !important;
}

body.bar-radio-window-page #page,
body.bar-radio-window-page #custom-background-css {
    width: 100% !important;
    height: 100vh !important;
    min-height: 100vh !important;
    margin: 0 !important;
    background: #f4f4f4 !important;
}

body.bar-radio-window-page main#content {
    width: 100% !important;
    height: 100vh !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

body.bar-radio-window-page main#content > .container {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.bar-radio-window-page main#content > .container > .row {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
}

body.bar-radio-window-page
main#content
> .container
> .row
> .col-lg-12 {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
}

body.bar-radio-window-page .bs-card-box.wd-back {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.bar-radio-window-page #bar-popout-radio {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 14px;
    width: 100% !important;
    max-width: 1180px !important;
    height: 100vh !important;
    margin: 0 auto !important;
    padding: 14px 18px !important;
}

body.bar-radio-window-page .bar-popout-radio__header {
    margin: 0 !important;
}

body.bar-radio-window-page .bar-popout-player {
    height: 100% !important;
    min-height: 0 !important;
}

body.bar-radio-window-page .bar-popout-player__primary,
body.bar-radio-window-page .bar-popout-history {
    min-height: 0 !important;
}

body.bar-radio-window-page .bar-popout-history {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden !important;
}

body.bar-radio-window-page .bar-popout-history__list {
    height: 100% !important;
    max-height: none !important;
}

/* Fenêtres peu hautes : réduire légèrement le lecteur sans couper la playlist */
@media (max-height: 700px) and (min-width: 801px) {
    body.bar-radio-window-page #bar-popout-radio {
        gap: 10px;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    body.bar-radio-window-page .bar-popout-radio__kicker {
        margin-bottom: 3px !important;
    }

    body.bar-radio-window-page .bar-popout-radio__header h1 {
        font-size: 36px !important;
    }

    body.bar-radio-window-page .bar-popout-player__primary {
        gap: 20px !important;
        padding: 22px !important;
    }

    body.bar-radio-window-page .bar-popout-player__artwork {
        max-width: 165px;
        margin: 0 auto;
    }

    body.bar-radio-window-page .bar-popout-player__track {
        font-size: 28px !important;
    }

    body.bar-radio-window-page .bar-popout-history {
        padding: 20px !important;
    }

    body.bar-radio-window-page .bar-popout-history__heading {
        margin-bottom: 10px !important;
        padding-bottom: 10px !important;
    }
}

/* Sur mobile, seule la page du lecteur défile, sans en-tête ni pied de page */
@media (max-width: 800px) {
    html:has(body.bar-radio-window-page),
    body.bar-radio-window-page {
        height: auto !important;
        min-height: 100% !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    body.bar-radio-window-page #page,
    body.bar-radio-window-page #custom-background-css,
    body.bar-radio-window-page main#content,
    body.bar-radio-window-page main#content > .container,
    body.bar-radio-window-page main#content > .container > .row,
    body.bar-radio-window-page
    main#content
    > .container
    > .row
    > .col-lg-12,
    body.bar-radio-window-page .bs-card-box.wd-back,
    body.bar-radio-window-page #bar-popout-radio {
        height: auto !important;
        min-height: 0 !important;
    }

    body.bar-radio-window-page main#content {
        overflow: visible !important;
    }

    body.bar-radio-window-page #bar-popout-radio {
        padding: 14px !important;
    }

    body.bar-radio-window-page .bar-popout-player {
        height: auto !important;
    }

    body.bar-radio-window-page .bar-popout-history__list {
        height: auto !important;
        max-height: 420px !important;
    }
}
/* Bouton Écoutez Blues Actu Radio du menu */
body a.subscribe-btn.btn,
body a.subscribe-btn.btn:visited {
    background: #e83947 !important;
    border-color: #e83947 !important;
    color: #fff !important;
}

/* Survol rouge foncé */
body a.subscribe-btn.btn:hover,
body a.subscribe-btn.btn:focus,
body a.subscribe-btn.btn:focus-visible,
body a.subscribe-btn.btn:active {
    background: #c92b38 !important;
    border-color: #c92b38 !important;
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(232, 57, 71, 0.25) !important;
}

/* Icône et texte toujours blancs */
body a.subscribe-btn.btn span,
body a.subscribe-btn.btn i {
    color: #fff !important;
}


/* ==================================================
   PIED DE PAGE ULTRA-COMPACT SUR MOBILE
================================================== */

@media (max-width: 767px) {

    /* Réduire fortement les espaces verticaux */
    footer.footer .bs-footer-widget-area {
        padding: 14px 0 8px !important;
    }

    /* Logos à gauche, texte d’adhésion à droite */
    footer.footer .bs-footer-widget-area .row {
        display: grid !important;
        grid-template-columns: 105px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 10px 14px !important;
        margin: 0 !important;
    }

    footer.footer .bs-footer-widget-area .row > [class*="col"] {
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    footer.footer .bs-footer-widget-area .bs-widget {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* La newsletter existe déjà sur la homepage */
    footer.footer .bs-footer-widget-area .row > [class*="col"]:has(#block-273),
    footer.footer #block-273 {
        display: none !important;
    }

    /* Deux logos compacts, côte à côte */
    footer.footer #block-282 .wp-block-jetpack-layout-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 48px) !important;
        grid-auto-flow: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;
        width: 103px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    footer.footer #block-282 .wp-block-jetpack-layout-grid-column,
    footer.footer #block-282 .wp-block-column {
        display: block !important;
        grid-column: auto !important;
        width: 48px !important;
        min-width: 0 !important;
        max-width: 48px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    footer.footer #block-282 figure,
    footer.footer #block-282 .wp-block-image {
        margin: 0 !important;
    }

    footer.footer #block-282 img {
        width: auto !important;
        max-width: 46px !important;
        height: auto !important;
        max-height: 46px !important;
        object-fit: contain !important;
    }

    /* Texte d’adhésion plus discret */
    footer.footer #block-280,
    footer.footer #block-280 p {
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    footer.footer #block-280 p {
        font-size: 10.5px !important;
        font-weight: 500 !important;
        line-height: 1.35 !important;
    }

    /* Ligne des réseaux sociaux */
    footer.footer .bs-footer-bottom-area {
        padding: 6px 0 !important;
    }

    footer.footer .bs-footer-bottom-area .footer-logo {
        display: none !important;
    }

    footer.footer .bs-social,
    footer.footer .bs-footer-bottom-area .row {
        min-height: 28px !important;
        margin: 0 !important;
    }

    footer.footer .bs-social li a {
        width: 28px !important;
        height: 28px !important;
        line-height: 28px !important;
    }

    /* Copyright et liens sur deux petites lignes */
    footer.footer .bs-footer-copyright {
        padding: 7px 0 9px !important;
    }

    footer.footer .bs-footer-copyright .row {
        gap: 5px !important;
        min-height: 0 !important;
    }

    footer.footer .bs-footer-copyright .row > [class*="col"] {
        margin: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Supprimer réellement l’attribution BlogData */
    footer.footer .bs-footer-copyright .row > [class*="col"]:first-child,
    footer.footer .bs-footer-copyright .row > [class*="col"]:first-child * {
        font-size: 0 !important;
        line-height: 0 !important;
    }

    footer.footer .bs-footer-copyright .row > [class*="col"]:first-child::before {
        display: block;
        color: #555 !important;
        font-size: 10px !important;
        font-weight: 500 !important;
        line-height: 1.3 !important;
        content: "© Blues Actu";
    }

    footer.footer .bs-footer-copyright .info-right {
        gap: 3px 11px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    footer.footer .bs-footer-copyright .info-right a {
        font-size: 10px !important;
        line-height: 1.3 !important;
    }
}


/* ==================================================
   STYLES DE LA HOMEPAGE — BLOC 1
================================================== */
body.home .mainfeatured {
    display: none !important;
}

.bar-breaking[data-enabled="false"] {
    display: none !important;
}

.bar-breaking {
    width: 100%;
    margin: 0 0 16px;
    overflow: hidden;
    background: #171717;
    border-radius: 10px;
    box-shadow: 0 7px 22px rgba(0, 0, 0, .08);
}

.bar-breaking__link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    min-height: 52px;
    color: #fff !important;
    text-decoration: none !important;
}

.bar-breaking__label {
    display: flex;
    align-self: stretch;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    background: #e83947;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.bar-breaking__dot {
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .18);
    animation: bar-breaking-pulse 1.8s ease-in-out infinite;
}

.bar-breaking__title {
    min-width: 0;
    padding: 0 18px;
    overflow: hidden;
    color: #fff;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bar-breaking__arrow {
    display: grid;
    width: 34px;
    height: 34px;
    margin-right: 10px;
    place-items: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    transition: background-color .2s ease, border-color .2s ease;
}

.bar-breaking__link:hover .bar-breaking__arrow,
.bar-breaking__link:focus-visible .bar-breaking__arrow {
    background: #e83947;
    border-color: #e83947;
}

.bar-breaking__link:focus-visible {
    outline: 3px solid rgba(232, 57, 71, .35);
    outline-offset: 3px;
}

@keyframes bar-breaking-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .45; }
}

.bar-home-lead {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    align-items: start;
    gap: 18px;
    width: 100%;
    margin-bottom: 34px;
}

.bar-top-carousel {
    --btc-red: #e83947;
    --btc-red-dark: #c92b38;
    --btc-ink: #171717;
    --btc-muted: #686868;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #111;
    border-radius: 20px;
}

.bar-top-carousel *,
.bar-top-carousel *::before,
.bar-top-carousel *::after {
    box-sizing: border-box;
}

.bar-top-carousel__sr-title {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.bar-top-carousel__viewport {
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.bar-top-carousel__viewport::-webkit-scrollbar {
    display: none;
}

.bar-top-carousel__track {
    display: flex;
    width: 100%;
    height: 100%;
}

.bar-top-carousel__slide {
    position: relative;
    flex: 0 0 100%;
    min-width: 100%;
    height: 100%;
    aspect-ratio: auto;
    overflow: hidden;
    background: #111;
    border-radius: 20px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.bar-top-carousel__slide::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.56) 47%, rgba(0,0,0,.08) 78%), linear-gradient(0deg, rgba(0,0,0,.35), transparent 55%);
    content: "";
    pointer-events: none;
}

.bar-top-carousel__image {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.bar-top-carousel__content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    width: min(70%, 680px);
    min-height: 100%;
    padding: 36px;
    flex-direction: column;
    color: #fff;
}

.bar-top-carousel__category {
    align-self: flex-start;
    margin: 0 0 13px !important;
    padding: 6px 10px;
    color: #fff !important;
    background: var(--btc-red);
    border-radius: 999px;
    font-size: 10px !important;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bar-top-carousel__title {
    margin: 0 !important;
    color: #fff !important;
    font-size: clamp(26px, 2.8vw, 44px) !important;
    font-weight: 700 !important;
    line-height: 1.06 !important;
    letter-spacing: -.035em !important;
    text-wrap: balance;
}

.bar-top-carousel__title a {
    color: #fff !important;
    text-decoration: none !important;
}

.bar-top-carousel__title a:hover,
.bar-top-carousel__title a:focus {
    color: #fff !important;
    text-decoration: underline;
    text-decoration-color: var(--btc-red);
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
}

.bar-top-carousel__date {
    margin: 17px 0 0 !important;
    color: rgba(255,255,255,.7) !important;
    font-size: 12px !important;
}

.bar-top-carousel__loading,
.bar-top-carousel__error {
    display: grid;
    flex: 0 0 100%;
    height: 100%;
    min-height: 0;
    padding: 30px;
    place-items: center;
    color: var(--btc-muted);
    background: #fff;
    border-radius: 17px;
    font-size: 14px;
    text-align: center;
}

.bar-top-carousel__error a {
    color: var(--btc-red) !important;
    font-weight: 750;
}

.bar-top-carousel__nav {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0;
}

.bar-top-carousel__buttons,
.bar-top-carousel__dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bar-top-carousel__dots {
    display: none;
}

.bar-top-carousel__button {
    display: grid;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    place-items: center;
    color: #fff !important;
    background: var(--btc-ink) !important;
    border: 0 !important;
    border-radius: 50% !important;
    font-size: 19px;
    cursor: pointer;
}

.bar-top-carousel__button:hover,
.bar-top-carousel__button:focus-visible {
    background: var(--btc-red) !important;
}

.bar-top-carousel__dot {
    width: 7px;
    height: 7px;
    background: #bbb;
    border-radius: 50%;
}

.bar-top-carousel__dot.is-active {
    width: 25px;
    background: var(--btc-red);
    border-radius: 999px;
}

.bar-top-carousel__status {
    margin: 0 !important;
    color: rgba(255,255,255,.8) !important;
    font-size: 12px !important;
}

.bar-home-ad {
    width: 100%;
    margin: 32px 0 58px;
}

.bar-home-ad[data-enabled="false"] {
    display: none !important;
}

.bar-home-ad__label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 9px;
    color: var(--btc-red);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .17em;
    width: 70%;
    max-width: 930px;
    margin-right: auto;
    margin-left: auto;
}

.bar-home-ad__label::after {
    flex: 1 1 auto;
    height: 1px;
    background: rgba(232,57,71,.55);
    content: "";
}

.bar-home-ad__link {
    display: block;
    width: 70%;
    max-width: 930px;
    margin-right: auto;
    margin-left: auto;
    overflow: hidden;
    background: #f3f3f3;
    border-radius: 8px;
}

.bar-home-ad__image {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 930 / 100;
    object-fit: contain;
}

.bar-home-ad__link:focus-visible {
    outline: 3px solid rgba(232,57,71,.3);
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .bar-breaking {
        margin-bottom: 12px;
        border-radius: 8px;
    }

    .bar-breaking__link {
        min-height: 48px;
    }

    .bar-breaking__label {
        padding: 0 12px;
        font-size: 9px;
        letter-spacing: .08em;
    }

    .bar-breaking__title {
        padding: 0 11px;
        font-size: 13px;
    }

    .bar-breaking__arrow {
        width: 30px;
        height: 30px;
        margin-right: 8px;
    }

    .bar-home-ad__label,
    .bar-home-ad__link {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .bar-home-lead {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 24px;
    }

    .bar-top-carousel {
        margin: 0;
        padding: 0;
        border-radius: 16px;
    }

    .bar-top-carousel__slide,
    .bar-top-carousel__content {
        min-height: 0;
    }

    .bar-top-carousel__slide {
        aspect-ratio: 16 / 9;
        border-radius: 16px;
    }

    .bar-top-carousel__slide::after {
        background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.48) 62%, rgba(0,0,0,.08) 100%);
    }

    .bar-top-carousel__content {
        position: absolute;
        inset: 0;
        width: 100%;
        padding: 24px 20px;
    }

    .bar-top-carousel__title {
        font-size: clamp(20px, 6vw, 28px) !important;
        line-height: 1.06 !important;
    }

    .bar-top-carousel__date {
        margin-top: 10px !important;
    }

    .bar-top-carousel__nav {
        right: 10px;
        bottom: 10px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .bar-breaking__dot {
        animation: none !important;
    }

    .bar-top-carousel *,
    .bar-top-carousel *::before,
    .bar-top-carousel *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}


/* ==================================================
   STYLES DE LA HOMEPAGE — BLOC 2
================================================== */
.bar-player-intro {
    --bar-red: #e83947;
    --bar-ink: #171717;
    --bar-muted: #686868;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
    margin: 0 0 16px;
    padding-top: 14px;
    border-top: 4px solid var(--bar-red);
    box-sizing: border-box;
}

.bar-player-intro__kicker {
    margin: 0 0 5px !important;
    color: var(--bar-red) !important;
    font-size: 11px !important;
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: 0.17em;
}

.bar-player-intro__title {
    margin: 0 !important;
    color: var(--bar-ink) !important;
    font-size: clamp(25px, 2.5vw, 36px) !important;
    font-weight: 800;
    line-height: 1.08 !important;
    letter-spacing: -0.035em;
}

.bar-player-intro__text {
    max-width: 510px;
    margin: 0 0 2px !important;
    color: var(--bar-muted) !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    text-align: right;
}

.bar-player {
    --bar-red: #e83947;
    --bar-red-dark: #c92b38;
    --bar-ink: #171717;
    --bar-muted: #686868;
    position: relative;
    display: grid;
    grid-template-columns: 82px 66px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 20px 24px;
    overflow: hidden;
    color: var(--bar-ink);
    background: linear-gradient(135deg, #fff 0%, #fff 68%, #fff3f4 100%);
    border: 1px solid rgba(232, 57, 71, 0.45);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(20, 20, 20, 0.08);
    font-family: inherit;
    box-sizing: border-box;
}

.bar-player::after {
    content: "";
    position: absolute;
    right: -55px;
    bottom: -95px;
    width: 210px;
    height: 210px;
    border: 32px solid rgba(232, 57, 71, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.bar-player__audio {
    display: none;
}

.bar-player__artwork {
    position: relative;
    z-index: 1;
    width: 82px;
    height: 82px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(23, 23, 23, 0.08);
    border-radius: 12px;
    box-shadow: 0 7px 18px rgba(20, 20, 20, 0.1);
}

.bar-player__cover {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bar-player__cover[hidden] {
    display: none;
}

.bar-player__cover-fallback[hidden] {
    display: none;
}

.bar-player__cover-fallback {
    display: block;
    width: 100%;
    height: 100%;
    padding: 7px;
    box-sizing: border-box;
    object-fit: contain;
}

.bar-player__play {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 0;
    padding: 0;
    color: #fff;
    background: var(--bar-red) !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: 0 9px 22px rgba(232, 57, 71, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.bar-player__play:hover,
.bar-player__play:focus-visible {
    background: var(--bar-red-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(201, 43, 56, 0.35);
}

.bar-player__play:focus-visible,
.bar-player__mute:focus-visible,
.bar-player__range:focus-visible {
    outline: 3px solid rgba(232, 57, 71, 0.28);
    outline-offset: 3px;
}

.bar-player__icon {
    width: 27px;
    height: 27px;
    fill: currentColor;
}

.bar-player__icon-play {
    margin-left: 3px;
}

.bar-player__icon-pause,
.bar-player__icon-muted {
    display: none;
}

.bar-player.is-playing .bar-player__icon-play,
.bar-player.is-muted .bar-player__icon-volume {
    display: none;
}

.bar-player.is-playing .bar-player__icon-pause,
.bar-player.is-muted .bar-player__icon-muted {
    display: block;
}

.bar-player__content {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.bar-player__heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.bar-player__heading strong {
    font-size: 18px;
    line-height: 1.2;
}

.bar-player__live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    color: var(--bar-red);
    background: #fff0f1;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.bar-player__live i {
    width: 7px;
    height: 7px;
    background: var(--bar-red);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(232, 57, 71, 0.45);
    animation: bar-pulse 1.8s infinite;
}

.bar-player__now {
    color: var(--bar-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bar-player__title {
    margin-top: 2px;
    overflow: hidden;
    color: var(--bar-ink);
    font-size: 17px;
    font-weight: 750;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bar-player__status {
    margin-top: 3px;
    color: var(--bar-muted);
    font-size: 12px;
    line-height: 1.3;
}

.bar-player__equalizer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 3px;
    height: 28px;
}

.bar-player__equalizer i {
    display: block;
    width: 3px;
    height: 7px;
    background: var(--bar-red);
    border-radius: 3px;
    opacity: 0.35;
}

.bar-player.is-playing .bar-player__equalizer i {
    opacity: 1;
    animation: bar-eq 0.8s ease-in-out infinite alternate;
}

.bar-player.is-playing .bar-player__equalizer i:nth-child(2) {
    animation-delay: -0.25s;
}

.bar-player.is-playing .bar-player__equalizer i:nth-child(3) {
    animation-delay: -0.5s;
}

.bar-player.is-playing .bar-player__equalizer i:nth-child(4) {
    animation-delay: -0.15s;
}

.bar-player__volume {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 9px;
}

.bar-player__mute {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    color: var(--bar-ink) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 50% !important;
    cursor: pointer;
}

.bar-player__mute:hover {
    color: var(--bar-red) !important;
    background: #fff0f1 !important;
}

.bar-player__mute .bar-player__icon {
    width: 21px;
    height: 21px;
}

.bar-player__range {
    width: 92px;
    height: 4px;
    margin: 0;
    padding: 0;
    accent-color: var(--bar-red);
    cursor: pointer;
}

@keyframes bar-pulse {
    70% {
        box-shadow: 0 0 0 7px rgba(232, 57, 71, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(232, 57, 71, 0);
    }
}

@keyframes bar-eq {
    from { height: 6px; }
    to { height: 25px; }
}

@media (max-width: 700px) {
    .bar-player-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
        margin-bottom: 13px;
    }

    .bar-player-intro__title {
        font-size: 26px !important;
    }

    .bar-player-intro__text {
        max-width: none;
        text-align: left;
    }

    .bar-player {
        grid-template-columns: 62px 52px minmax(0, 1fr);
        gap: 14px;
        padding: 17px;
        border-radius: 14px;
    }

    .bar-player__artwork {
        width: 62px;
        height: 62px;
        border-radius: 10px;
    }

    .bar-player__cover-fallback {
        padding: 5px;
    }

    .bar-player__play {
        width: 52px;
        height: 52px;
    }

    .bar-player__content {
        padding-right: 4px;
    }

    .bar-player__heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .bar-player__heading strong {
        font-size: 16px;
    }

    .bar-player__title {
        display: -webkit-box;
        font-size: 15px;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .bar-player__status {
        font-size: 11px;
    }

    .bar-player__equalizer {
        display: none;
    }

    .bar-player__volume {
        grid-column: 1 / -1;
        justify-content: flex-end;
        padding-top: 2px;
    }

    .bar-player__range {
        width: calc(100% - 46px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .bar-player *,
    .bar-player *::before,
    .bar-player *::after {
        animation: none !important;
        transition: none !important;
    }
}


/* ==================================================
   STYLES DE LA HOMEPAGE — BLOC 3
================================================== */
.bar-home-access {
    --bha-red: #e83947;
    --bha-red-dark: #c92b38;
    --bha-ink: #171717;
    width: 100%;
    height: auto;
    aspect-ratio: 8 / 9;
    margin: 0;
}

.bar-home-access *,
.bar-home-access *::before,
.bar-home-access *::after {
    box-sizing: border-box;
}

.bar-home-access__label {
    margin: 0 0 7px !important;
    color: var(--bha-red) !important;
    font-size: 11px !important;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.bar-home-access__grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 14px;
    height: 100%;
}

.bar-home-access__card {
    position: relative;
    display: flex;
    min-height: 0;
    padding: 23px;
    flex-direction: column;
    border-radius: 20px;
}

.bar-home-access__card--radio {
    color: #fff;
    background: radial-gradient(circle at 90% 10%, rgba(232,57,71,.4), transparent 30%), linear-gradient(135deg, #111, #2b2223 74%, #511a20);
}

.bar-home-access__card--mag {
    color: #fff;
    background: radial-gradient(circle at 90% 10%, rgba(232,57,71,.4), transparent 30%), linear-gradient(135deg, #111, #2b2223 74%, #511a20);
    border: 0;
}

.bar-home-access__icon {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    color: #fff;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 15px;
}

.bar-home-access__icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}

.bar-home-access__card h2 {
    position: relative;
    z-index: 1;
    margin: 0 !important;
    color: inherit !important;
    font-size: clamp(29px, 2.7vw, 39px) !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: -.04em !important;
}

.bar-home-access__description {
    position: relative;
    z-index: 1;
    margin: 10px 0 0 !important;
    color: inherit !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    opacity: .7;
}

.bar-home-access__actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: auto;
    padding-top: 20px;
}

.bar-home-access__actions a,
.bar-home-access__actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    margin: 0;
    padding: 11px 17px;
    color: #fff !important;
    background: var(--bha-red) !important;
    border: 1px solid var(--bha-red) !important;
    border-radius: 999px !important;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none !important;
    cursor: pointer;
}

.bar-home-lead .bar-home-access__actions a,
.bar-home-lead .bar-home-access__actions button {
    width: 100%;
}

.bar-home-access__actions a:hover,
.bar-home-access__actions a:focus,
.bar-home-access__actions button:hover,
.bar-home-access__actions button:focus {
    color: #fff !important;
    background: var(--bha-red-dark) !important;
    border-color: var(--bha-red-dark) !important;
}

.bar-home-access__card--radio .bar-home-access__actions button {
    background: transparent !important;
    border-color: rgba(255,255,255,.38) !important;
}

.bar-home-access__card--radio .bar-home-access__actions button:hover,
.bar-home-access__card--radio .bar-home-access__actions button:focus {
    background: rgba(255,255,255,.12) !important;
    border-color: rgba(255,255,255,.6) !important;
}

@media (min-width: 1201px) {
    .bar-home-access__card {
        padding: 14px;
    }

    .bar-home-access__icon {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

    .bar-home-access__icon svg {
        width: 20px;
        height: 20px;
    }

    .bar-home-access__label {
        margin-bottom: 4px !important;
        font-size: 9px !important;
    }

    .bar-home-access__card h2 {
        font-size: clamp(27px, 2vw, 32px) !important;
    }

    .bar-home-access__description {
        margin-top: 6px !important;
        font-size: 11px !important;
        line-height: 1.25 !important;
    }

    .bar-home-access__actions {
        gap: 5px;
        padding-top: 6px;
    }

    .bar-home-access__actions a,
    .bar-home-access__actions button {
        min-height: 32px;
        padding: 6px 9px;
        font-size: 10px;
    }
}

@media (max-width: 1200px) {
    .bar-home-lead {
        grid-template-columns: 1fr;
    }

    .bar-home-access {
        height: auto;
        aspect-ratio: auto;
    }

    .bar-home-access__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }
}

@media (max-width: 767px) {
    .bar-home-access {
        margin: 0;
    }

    .bar-home-access__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 13px;
    }

    .bar-home-access__card {
        min-height: 0;
        padding: 25px 22px;
        border-radius: 16px;
    }

    .bar-home-access__actions,
    .bar-home-access__actions a,
    .bar-home-access__actions button {
        width: 100%;
    }
}


/* ==================================================
   STYLES DE LA HOMEPAGE — BLOC 4
================================================== */
.bar-home-channels {
    --bhc-red: #e83947;
    --bhc-ink: #171717;
    --bhc-muted: #686868;
    width: 100%;
    margin: 0 0 70px;
}

.bar-home-channels *,
.bar-home-channels *::before,
.bar-home-channels *::after {
    box-sizing: border-box;
}

.bar-home-channels__sr-title {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.bar-home-channels__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 18px;
}

.bar-home-channel {
    min-width: 0;
    padding: 22px;
    background: #f5f5f5;
    border-radius: 17px;
}

.bar-home-channel__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
    padding-top: 11px;
    border-top: 3px solid var(--bhc-red);
}

.bar-home-channel__heading span {
    display: block;
    margin-bottom: 5px;
    color: var(--bhc-red);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
}

.bar-home-channel__heading h2 {
    margin: 0 !important;
    color: var(--bhc-ink) !important;
    font-size: clamp(23px, 2.2vw, 31px) !important;
    font-weight: 700 !important;
    line-height: 1.04 !important;
    letter-spacing: -.035em !important;
}

.bar-home-channel__heading > a {
    display: grid;
    flex: 0 0 auto;
    width: 35px;
    height: 35px;
    place-items: center;
    color: #fff !important;
    background: var(--bhc-ink);
    border-radius: 50%;
    font-size: 16px;
    text-decoration: none !important;
}

.bar-home-channel__heading > a:hover,
.bar-home-channel__heading > a:focus {
    background: var(--bhc-red);
}

.bar-home-channel__list {
    display: grid;
    gap: 14px;
}

.bar-home-channel__item {
    min-width: 0;
}

.bar-home-channel__item--lead {
    padding-bottom: 15px;
    border-bottom: 1px solid #dedede;
}

.bar-home-channel__item--compact {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.bar-home-channel__image-link {
    display: block;
    overflow: hidden;
    background: #e8e8e8;
    border-radius: 10px;
}

.bar-home-channel__item--lead .bar-home-channel__image-link {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 11px;
}

.bar-home-channel__item--compact .bar-home-channel__image-link {
    width: 92px;
    aspect-ratio: 3 / 2;
}

.bar-home-channel__image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform .25s ease;
}

.bar-home-channel__item:hover .bar-home-channel__image {
    transform: scale(1.025);
}

.bar-home-channel__title {
    margin: 0 !important;
    color: var(--bhc-ink) !important;
    font-weight: 650 !important;
    letter-spacing: -.02em !important;
}

.bar-home-channel__item--lead .bar-home-channel__title {
    font-size: clamp(19px, 1.7vw, 24px) !important;
    line-height: 1.14 !important;
}

.bar-home-channel__item--compact .bar-home-channel__title {
    font-size: 15px !important;
    line-height: 1.22 !important;
}

.bar-home-channel__title a {
    color: var(--bhc-ink) !important;
    text-decoration: none !important;
}

.bar-home-channel__title a:hover,
.bar-home-channel__title a:focus {
    color: var(--bhc-red) !important;
}

.bar-home-channel__loading,
.bar-home-channel__error {
    margin: 0 !important;
    padding: 24px 8px;
    color: var(--bhc-muted) !important;
    font-size: 12px !important;
    text-align: center;
}

@media (max-width: 980px) {
    .bar-home-channels__grid {
        grid-template-columns: 1fr;
    }

    .bar-home-channel__list {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        align-items: start;
    }

    .bar-home-channel__item--lead {
        grid-row: span 2;
        padding: 0 15px 0 0;
        border-right: 1px solid #dedede;
        border-bottom: 0;
    }
}

@media (max-width: 600px) {
    .bar-home-channels {
        margin-bottom: 52px;
    }

    .bar-home-channel {
        padding: 18px;
        border-radius: 15px;
    }

    .bar-home-channel__list {
        grid-template-columns: 1fr;
    }

    .bar-home-channel__item--lead {
        grid-row: auto;
        padding: 0 0 15px;
        border-right: 0;
        border-bottom: 1px solid #dedede;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bar-home-channel__image {
        transition: none !important;
    }
}


/* ==================================================
   STYLES DE LA HOMEPAGE — BLOC 5
================================================== */
:root {
    --bar-home-red: #e83947;
    --bar-home-red-dark: #c92b38;
    --bar-home-ink: #171717;
    --bar-home-muted: #666;
    --bar-home-soft: #f5f5f5;
    --bar-home-line: #e5e5e5;
}

body.home .bs-breadcrumb-section {
    margin: 26px auto 24px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.home .bs-breadcrumb-section .overlay,
body.home .bs-breadcrumb-section .breadcrumb,
body.home .bs-breadcrumb-section .breadcrumbs,
body.home .bs-breadcrumb-section .trail-items {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.home .bs-breadcrumb-section .overlay {
    padding: 8px 0 !important;
}

body.home .bs-breadcrumb-section .breadcrumb {
    margin: 0 !important;
    padding: 0 !important;
}

body.home .bar-player {
    margin-bottom: 40px;
}

.bar-home-section {
    width: 100%;
    max-width: 100%;
    margin-top: 0 !important;
    margin-bottom: 76px !important;
    box-sizing: border-box;
}

.bar-home-section--interviews {
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: 58px 42px !important;
    background: var(--bar-home-soft);
    border-radius: 22px;
}

.bar-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 26px;
    padding-top: 15px;
    border-top: 4px solid var(--bar-home-red);
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
}

.bar-section-heading__text {
    max-width: 780px;
}

.bar-section-heading__kicker {
    margin: 0 0 5px !important;
    color: var(--bar-home-red) !important;
    font-size: 11px !important;
    font-weight: 850;
    letter-spacing: 0.17em;
}

.bar-section-heading h2 {
    margin: 0 !important;
    color: var(--bar-home-ink) !important;
    font-size: clamp(28px, 3vw, 42px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.035em;
}

.bar-section-heading__text > p:last-child {
    margin: 8px 0 0 !important;
    color: var(--bar-home-muted) !important;
    font-size: 16px;
    line-height: 1.5;
}

.bar-section-heading__link {
    flex: 0 0 auto;
    padding-bottom: 3px;
    color: var(--bar-home-ink) !important;
    border-bottom: 2px solid var(--bar-home-red);
    font-size: 14px;
    font-weight: 750;
    text-decoration: none !important;
}

.bar-section-heading__link:hover,
.bar-section-heading__link:focus {
    color: var(--bar-home-red) !important;
}

.bar-home-section .wpnbha article {
    min-width: 0;
    border-right: 0 !important;
    border-image: none !important;
    transition: transform 0.22s ease;
}

.bar-home-section .wpnbha,
.bar-home-section .wpnbha > div {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border-right: 0 !important;
    border-image: none !important;
    box-sizing: border-box;
}

.bar-home-section .wpnbha article:hover {
    transform: translateY(-4px);
}

.bar-home-section .wpnbha:not(.image-alignbehind) .post-thumbnail {
    aspect-ratio: 16 / 9;
    margin-bottom: 12px !important;
    overflow: hidden;
    background: #ddd;
    border-radius: 12px;
}

.bar-home-section .wpnbha:not(.image-alignbehind) .post-thumbnail a,
.bar-home-section .wpnbha:not(.image-alignbehind) .post-thumbnail img {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.bar-home-section .wpnbha:not(.image-alignbehind) .post-thumbnail img {
    object-fit: cover;
    transition: transform 0.35s ease;
}

.bar-home-section .wpnbha article:hover .post-thumbnail img {
    transform: scale(1.035);
}

.bar-home-section .wpnbha .entry-title {
    margin: 0 !important;
    color: var(--bar-home-ink) !important;
    font-size: clamp(17px, 1.45vw, 21px) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.02em;
}

.bar-home-section .wpnbha:not(.image-alignbehind) .entry-title,
.bar-home-section .wpnbha:not(.image-alignbehind) .entry-title a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bar-home-section .wpnbha .entry-title a {
    color: inherit !important;
    text-decoration: none !important;
}

.bar-home-section .wpnbha .entry-title a:hover,
.bar-home-section .wpnbha .entry-title a:focus {
    color: var(--bar-home-red) !important;
}

.bar-home-section .wpnbha .entry-wrapper > p {
    margin-top: 10px !important;
    color: var(--bar-home-muted) !important;
    font-size: 15px !important;
    line-height: 1.48 !important;
}

.bar-home-section--news .wpnbha .entry-wrapper > p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.bar-interviews-featured {
    margin-bottom: 26px !important;
}

.bar-interviews-featured article {
    position: relative;
    min-height: 290px !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.bar-interviews-featured .post-thumbnail::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 25%, rgba(0, 0, 0, 0.82) 100%);
    pointer-events: none;
}

.bar-interviews-featured .entry-wrapper {
    position: relative;
    z-index: 2;
}

.bar-interviews-featured .entry-title,
.bar-interviews-featured .entry-title a,
.bar-interviews-featured h2,
.bar-interviews-featured h2 a {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    opacity: 1 !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}

/* Override colors applied by the Newspack block */
body.home .bar-home-section--interviews
.wpnbha.bar-interviews-featured.image-alignbehind.has-text-color
article .entry-wrapper .entry-title,
body.home .bar-home-section--interviews
.wpnbha.bar-interviews-featured.image-alignbehind.has-text-color
article .entry-wrapper .entry-title a,
body.home .bar-home-section--interviews
.wpnbha.bar-interviews-featured.image-alignbehind
article .entry-wrapper h2,
body.home .bar-home-section--interviews
.wpnbha.bar-interviews-featured.image-alignbehind
article .entry-wrapper h2 a,
body.home .bar-home-section--interviews
.wpnbha.bar-interviews-featured.image-alignbehind
article .entry-wrapper h2 a:visited,
body.home .bar-home-section--interviews
.wpnbha.bar-interviews-featured.image-alignbehind
article .entry-wrapper h2 a:hover,
body.home .bar-home-section--interviews
.wpnbha.bar-interviews-featured.image-alignbehind
article .entry-wrapper h2 a:focus {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    opacity: 1 !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9) !important;
}

/* Face Caméra block: the YouTube player loads only after a click */
.bar-home-face-camera {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
    align-items: center;
    gap: clamp(24px, 3vw, 42px);
    width: 100%;
    margin: 18px 0 42px;
    padding: clamp(24px, 3.5vw, 46px);
    background: #f4f4f4;
    border: 1px solid var(--bar-home-line);
    border-radius: 20px;
    box-sizing: border-box;
}

.bar-home-face-camera__heading {
    display: block;
    min-width: 0;
    margin: 0;
}

.bar-home-face-camera__kicker {
    margin: 0 0 7px !important;
    color: var(--bar-home-red) !important;
    font-size: 11px !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
    letter-spacing: .17em;
}

.bar-home-face-camera h2 {
    margin: 0 0 9px !important;
    color: var(--bar-home-ink) !important;
    font-size: clamp(30px, 3.2vw, 42px) !important;
    font-weight: 750 !important;
    line-height: 1.05 !important;
    letter-spacing: -.035em;
}

.bar-home-face-camera__heading p:last-child {
    max-width: 680px;
    margin: 0 !important;
    color: var(--bar-home-muted) !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
}

.bar-home-face-camera__player,
.bar-home-face-camera__iframe {
    display: block;
    width: 100% !important;
    aspect-ratio: 16 / 9;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background: #111 !important;
    border: 0 !important;
    border-radius: 15px !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .13);
}

.bar-home-face-camera__player {
    position: relative;
    cursor: pointer;
}

.bar-home-face-camera__player::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .58) 100%);
    content: "";
    pointer-events: none;
}

.bar-home-face-camera__player img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.bar-home-face-camera__player:hover img,
.bar-home-face-camera__player:focus-visible img {
    transform: scale(1.018);
}

.bar-home-face-camera__play {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    padding-left: 4px;
    color: #fff;
    background: var(--bar-home-red);
    border-radius: 50%;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
    font-size: 21px;
    transform: translate(-50%, -50%);
    transition: background-color .2s ease, transform .2s ease;
}

.bar-home-face-camera__player:hover .bar-home-face-camera__play,
.bar-home-face-camera__player:focus-visible .bar-home-face-camera__play {
    background: var(--bar-home-red-dark);
    transform: translate(-50%, -50%) scale(1.06);
}

.bar-home-face-camera__label {
    position: absolute;
    z-index: 2;
    right: 22px;
    bottom: 18px;
    color: #fff;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.bar-home-newsletter {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-top: 12px !important;
    margin-bottom: 0 !important;
    padding: 56px 52px !important;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #171717 0%, #242424 70%, #4b151a 100%);
    border-radius: 22px;
}

.bar-home-newsletter__kicker {
    margin: 0 0 7px !important;
    color: var(--bar-home-red) !important;
    font-size: 11px !important;
    font-weight: 850;
    letter-spacing: 0.17em;
}

.bar-home-newsletter h2 {
    max-width: 650px;
    margin: 0 0 12px !important;
    color: #fff !important;
    font-size: clamp(30px, 3.3vw, 46px) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.04em;
}

.bar-home-newsletter p {
    color: rgba(255, 255, 255, 0.76);
}

.bar-home-newsletter .wp-block-jetpack-subscriptions {
    width: 100%;
    padding: 20px !important;
    color: var(--bar-home-ink) !important;
    background: #fff;
    border-radius: 14px;
    box-sizing: border-box;
}

/* Subscriber count and text displayed inside the white form */
.bar-home-newsletter .wp-block-jetpack-subscriptions p,
.bar-home-newsletter .wp-block-jetpack-subscriptions label,
.bar-home-newsletter .wp-block-jetpack-subscriptions span,
.bar-home-newsletter .wp-block-jetpack-subscriptions__subscribers,
.bar-home-newsletter .wp-block-jetpack-subscriptions__subscriber-count {
    color: var(--bar-home-ink) !important;
    -webkit-text-fill-color: var(--bar-home-ink) !important;
    opacity: 1 !important;
}

/* Keep the button text white */
.bar-home-newsletter .wp-block-jetpack-subscriptions button,
.bar-home-newsletter .wp-block-jetpack-subscriptions button * {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.bar-home-newsletter input[type="email"] {
    min-height: 48px !important;
    color: var(--bar-home-ink) !important;
    background: #f8f8f8 !important;
    border: 1px solid #d7d7d7 !important;
    border-radius: 8px !important;
}

.bar-home-newsletter button,
.bar-home-newsletter .wp-block-button__link {
    min-height: 48px !important;
    background: var(--bar-home-red) !important;
    border-color: var(--bar-home-red) !important;
    border-radius: 8px !important;
    font-weight: 750 !important;
}

.bar-home-newsletter button:hover,
.bar-home-newsletter button:focus {
    background: var(--bar-home-red-dark) !important;
    border-color: var(--bar-home-red-dark) !important;
}

@media (max-width: 900px) {
    .bar-home-section--interviews {
        padding: 44px 26px !important;
    }

    .bar-home-newsletter {
        padding: 44px 32px !important;
    }

    .bar-home-section .wpnbha.is-grid > div {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 28px 22px !important;
    }

    .bar-home-section .wpnbha.is-grid > div > article {
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        flex: none !important;
    }
}

@media (max-width: 767px) {
    body.home .bs-breadcrumb-section {
        margin-top: 18px !important;
        margin-bottom: 16px !important;
    }

    body.home .bar-player {
        margin-bottom: 28px;
    }

    .bar-home-section {
        margin-bottom: 54px !important;
    }

    .bar-home-section .wpnbha.is-grid > div {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 26px !important;
    }

    .bar-home-section--interviews {
        padding: 38px 18px !important;
        border-radius: 16px;
    }

    .bar-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 22px;
    }

    .bar-section-heading__link {
        align-self: flex-start;
        white-space: normal;
    }

    .bar-section-heading h2 {
        font-size: 31px !important;
    }

    .bar-section-heading__text > p:last-child {
        font-size: 15px;
    }

    .bar-home-section .wpnbha:not(.image-alignbehind) .post-thumbnail {
        border-radius: 10px;
    }

    .bar-interviews-featured article {
        min-height: 260px !important;
    }

    .bar-home-face-camera {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 32px;
        padding: 22px 18px;
        border-radius: 16px;
    }

    .bar-home-face-camera__heading {
        margin: 0;
    }

    .bar-home-face-camera h2 {
        font-size: 30px !important;
    }

    .bar-home-face-camera__play {
        width: 54px;
        height: 54px;
        font-size: 17px;
    }

    .bar-home-face-camera__label {
        right: 14px;
        bottom: 12px;
        font-size: 10px;
    }

    .bar-home-section .wpnbha:not(.image-alignbehind) .entry-title,
    .bar-home-section .wpnbha:not(.image-alignbehind) .entry-title a {
        -webkit-line-clamp: unset;
    }

    .bar-home-newsletter {
        padding: 38px 22px !important;
        border-radius: 16px;
    }

    .bar-home-newsletter .wp-block-columns {
        gap: 24px !important;
    }

    .bar-home-newsletter .wp-block-column {
        flex-basis: 100% !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bar-home-section .wpnbha article,
    .bar-home-section .wpnbha .post-thumbnail img,
    .bar-home-button .wp-block-button__link,
    .bar-home-face-camera__player img,
    .bar-home-face-camera__play {
        transition: none !important;
    }
}