// ---------------------------------------------------------------------------
// Surcharges migrées depuis le CSS additionnel du Customizer WordPress.
// Importé en DERNIER dans style.scss pour conserver le même ordre de cascade
// qu'auparavant (le CSS du Customizer était chargé après la feuille du thème).
//
// ⚠️ Après déploiement, SUPPRIMER ce CSS du Customizer WordPress
// (Apparence > Personnaliser > CSS additionnel) pour éviter une double
// application.
//
// Migration fidèle : seules deux corrections de syntaxe ont été faites pour que
// le SCSS compile (voir commentaires "[fix]"). Quelques règles suspectes sont
// signalées "[à vérifier]" — comportement inchangé, à confirmer côté client.
// ---------------------------------------------------------------------------

.oscars-candidate {
    display: none;
}

.bg-trophees {
    background-image: url(https://jhm.fr/wp-content/uploads/2025/09/backgroundTrophees2026-scaled.png);
}

.corrida-show__content .show__item {
    grid-template-rows: 50px 80px 185px;
}

.area--banner {
    img {
        border-radius: 4px;
    }
}

.postid-2754432 .mb-20 {
    display: none;
}

.postid-2754432 .jhm-highlight-wrapper {
    margin-bottom: 20px !important;
}

.content--homepage-categories .area--category__title h2 {
    font-family: "proxima-nova", sans-serif;
}

.wp-block-heading {
    font-family: "proxima-nova", sans-serif;
    text-transform: inherit;
}

.page-template-tpl-corrida-inscriptions {
    .article-body {
        div {
            div:nth-child(4) {
                display: none;
            }
        }
    }
} // [fix] suppression d'une accolade fermante orpheline en trop après ce bloc.

.footer {
    position: relative;
}

// [à vérifier] Remplacements de créatifs publicitaires spécifiques à la
// campagne AFPAN 2024 (par id de pub Advanced Ads). Probablement obsolètes.
div[data-jhm-trackid="4703949"] {
    a {
        img {
            content: url(https://jhm.fr/signatures/Banniere_Afpan_2024_1200x108.png);
        }
    }
}

div[data-jhm-trackid="4703913"] {
    a {
        margin: -155px 0 0 0;
        content: url(https://jhm.fr/signatures/HabillageAFPAN2024_2.png) !important;
        width: 100vw !important;
        height: 100vh !important;
        object-fit: cover;
    }
}

/*  div[data-jhm-trackid="4703913"] {
        a {
            margin-top: -155px;
            background: url(https://jhm.fr/wp-content/themes/jhm/assets/img/HabillageAFPAN2024_2.png) no-repeat scroll center top transparent !important;
         }
} */

.ads-background {
    position: inherit !important;
    a {
        border-radius: 0;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
    }
    img {
        display: none;
    }
}

.alert--main {
    background: rgb(0 123 175 / 100%) !important;
    a {
        color: white !important;
        display: block !important;
        width: 100% !important;
    }
}

.current-trends {
    margin-bottom: 0 !important;
    border-radius: 8px 8px 0 0;
}

.content--homepage {
    margin: 0 !important;
    padding-top: 22px !important;
    padding-bottom: 22px !important;
    background: var(--color-bg) !important;
    border-radius: 0;
}

.content--homepage-categories {
    padding-top: 22px !important;
    padding-bottom: 22px !important;
    background: var(--color-bg) !important;
    border-radius: 8px;
}

.content--grid-2-1fr {
    padding-top: 22px !important;
    padding-bottom: 22px !important;
    /*     background: var(--color-bg) !important; */
    border-radius: 0 0 8px 8px;
}

.content--main {
    margin: 0 !important;
}

.content--aside {
    margin: 0 0 0 20px !important;
}

.page-content {
    /*         padding: 20px 0 0 0 !important;
        background-color: var(--color-bg-nav); */
}

.article-cover--media img {
    object-position: 50% 15%;
}

/* #splide-nav-slide03 {
        background: #ffed00;
      line-height: normal;
    padding: 4px 8px 3px 8px;
    border: 0;
    border-radius: 4px;
        a {
            font-family: "proxima-nova-condensed", sans-serif;
        font-size: 1.3rem;
        font-weight: 800;
            line-height: normal;
            color: black !important;
        }
} */

.badge--alternativeblue {
    background: rgb(0, 124, 176);
}

.badge--red:hover {
    /*     color: var(--color-blue-700) !important; */
}

.badge--red img {
    /*     display: none; */
    width: 24px;
    margin-bottom: 4px;
}

.promo__content {
    font-size: 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 50px;
    text-align: left;
    font-weight: normal;
}

.promo__content .underline {
    text-decoration: underline;
}

.promo__content span {
    font-weight: 800;
}

.promo__content span br {
    display: none;
}

.promo__content .normalFont {
    font-weight: 400; // [fix] "!important" mal placé (ignoré par le navigateur) retiré ; comportement conservé.
}

.promo__content .medium {
    font-size: 1.7rem;
}

.promo__content .big {
    font-size: 2rem;
}

.promo__content .red {
    color: rgb(216, 55, 55);
}

@media (min-width: 1440px) {
    .jukebox-votes__player {
        margin: 10px 25px;
    }
    .player_37 {
        width: 45.5% !important;
    }
}
