/*
Theme Name: ODQ
Template: kadence
*/


/* =============================================================================
   Général
   ============================================================================= */

.cache-moi {display: none;}

p { margin-bottom: 1em !important; }

/*
.entry-content p:last-of-type {
    margin-bottom: 0 !important;
}
*/

.entry-content a {
    color: #338a7a;
    font-weight: 600;
}

.entry-content a:hover {
    color: #404040;
}

.kb-button {
    font-weight: 300 !important;
}

.entry-content a:hover:not(.kb-button):not(.kt-button):not(.button):not(.odq-oe-btn) {
    text-decoration: underline !important;
}


/* --- Titres --- */

.h2-medium {
    font-size: 24px;
    line-height: 30px;
    text-transform: none !important;
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.6em;
        line-height: 110%;
    }
    h2 {
        font-size: clamp(23px, 4.5vw, 27px) !important;
        line-height: 1.2 !important;
    }
    h3 {
        font-size: clamp(18px, 3.5vw, 21px) !important;
        line-height: 1.2 !important;
    }
}


/* --- Tableaux --- */

.kb-table th {
    border: 1px solid #338a7a !important;
}

.wp-block-table td,
.wp-block-table th,
.kb-table-container td,
.kb-table-container th {
    padding: 0.7em !important;
}

.kb-table-container p,
.kb-table p {
    margin-bottom: 0 !important;
}


/* --- Listes imbriquées — différenciation des bullets --- */

.entry-content ul li {
    list-style-type: disc;
}

.entry-content ul li ul li {
    list-style-type: circle;
}

.entry-content ul li ul li ul li {
    list-style-type: square;
}


/* =============================================================================
   Pages & articles
   ============================================================================= */

/* Enlève l'espace d'1 pixel entre le header et le contenu des pages */
#primary.content-area {
    margin-top: -2px;
}

.entry-hero {
    margin-bottom: 2px;
}

.single-post .entry-content-wrap {
    padding: 3rem 2rem 2rem 2rem;
}

.wp-site-blocks .entry-hero-container-inner {
    padding: 25px 0;
}

.single-post .entry-meta {
    margin: 1em 0 0 0 !important;
}

.wp-block-separator {
    border-top: 0;
}

.pagination {
    margin-bottom: 48px !important;
}


/* =============================================================================
   Header
   ============================================================================= */

#masthead {
    height: 129px;
}

.site-branding {
    margin-top: -43px;
}

@media (max-width: 1149px) {
    .site-branding {
        margin-top: 0;
    }
}

.site-header-top-section-right {
    justify-content: flex-start;
    width: 929px;
}

.site-header-top-section-left {
    display: none;
}

.site-header-item[data-section="kadence_customizer_header_search"] {
    margin-left: auto;
}

.site-top-header-inner-wrap {
    display: flex;
    justify-content: flex-end;
    padding-top: 24px;
    margin-bottom: -17px;
}


/* =============================================================================
   Menus
   ============================================================================= */

/* --- Navigation principale (Mega Menu) --- */

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link[href="#"] {
    cursor: default;
}

/* Items principaux */
.wp-block-kadence-navigation218-cpt-id > .navigation > .menu-container > .menu > .wp-block-kadence-navigation-link > .kb-link-wrap {
    font-weight: 600 !important;
}

/* Hover avec underline vert clair */
.wp-block-kadence-navigation218-cpt-id > .navigation > .menu-container > .menu > .wp-block-kadence-navigation-link > .kb-link-wrap:hover .kb-nav-link-content {
    text-decoration: underline;
    text-decoration-color: #dcf094;
    text-underline-offset: 11px;
}

#mega-menu-wrap-primary .mega-sub-menu {
    animation: none !important;
    transition: none !important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link {
    font-weight: 600 !important;
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator {
    display: none;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link {
    text-decoration: underline !important;
    text-decoration-color: #dcf094 !important;
    text-underline-offset: 11px;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    text-decoration: none !important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item:last-child {
    margin-right: 0 !important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item:last-child > a.mega-menu-link {
    padding-right: 0 !important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column-standard > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column-standard > a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover {
    font-weight: 600;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu .mega-menu-row > ul.mega-sub-menu {
    display: flex;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu .mega-menu-row .mega-menu-column:nth-child(2) {
    border-right: 1px solid #404040 !important;
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item > ul.mega-sub-menu {
    margin-top: 21px;
}


/* --- Navigation secondaire --- */

.secondary-navigation .secondary-menu-container > ul li.menu-item > a {
    text-transform: uppercase;
}

.secondary-menu-container.header-menu-container {
    margin-left: 42px;
}

/* --- Bouton CTA dans le header --- */

.odq-btn-cta {
    display: inline-block;
    background-color: #338a7a;
    color: white !important;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 12px;
    padding: 14px 20px 12px 20px;
    margin: 11px auto 24px auto;
    text-decoration: none !important;
    border-radius: 6px;
    transition: all .3s ease-in-out;
}

.odq-btn-cta:hover {
    background-color: #2a7163;
}


/* --- Menu mobile --- */

@media (max-width: 1149px) {
    .menu-toggle-open,
    .search-toggle-open {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        font-size: 11px;
    }
}

.mobile-menu-container .sub-menu > li > a {
    background: #404040;
	padding-left: 20px;    
}

span.menu-toggle-label,
.search-toggle-open {
    font-size: 16px;
    font-weight: 300;
}

.search-toggle-open {
    padding-right: 0 !important;
}

.mobile-toggle-open-container .menu-toggle-open,
.mobile-toggle-open-container .menu-toggle-open:focus {
    padding: 0.4em 0.6em 0.4em 0em !important;
}

.mobile-navigation ul li.current-menu-item > a,
.mobile-navigation ul li.current-menu-item.menu-item-has-children > .drawer-nav-drop-wrap {
    font-weight: normal;
    color: #dcf094 !important;
}

.mobile-navigation ul li {
    text-transform: uppercase;
}

.drawer-nav-drop-wrap .drawer-sub-toggle {
    background: #338a7a;
}

.drawer-nav-drop-wrap {
    background-color: #338a7a;
}

/* Fond autour du crochet (sous-menu ouvert) */
.mobile-navigation .drawer-sub-toggle[aria-expanded="true"] {
    background-color: #dcf094;
    color: #404040;
}

/* Padding gauche niveau 1 — items avec sous-menu */
.mobile-navigation ul#mobile-menu > li > .drawer-nav-drop-wrap > a {
    padding-left: 20px;
}

/* Padding gauche niveau 1 — items sans sous-menu */
.mobile-navigation ul#mobile-menu > li > a {
    padding-left: 20px;
}


/* --- Pop-up recherche --- */

#search-drawer .drawer-inner input.search-field:focus {
    box-shadow: none !important;
}


/* =============================================================================
   Footer
   ============================================================================= */

.site-footer-row-container-inner p {
    margin-bottom: 0 !important;
}

.nous-joindre {
    font-size: 12px;
    font-weight: 300;
    line-height: 17px;
    color: #ffffff;
    float: right;
}

.nous-joindre a {
    color: #dcf094 !important;
    text-decoration-color: transparent;
}

.nous-joindre a:hover {
    text-decoration: underline !important;
}

.nous-joindre a::after {
    display: none;
}

@media screen and (max-width: 1149px) {
    .site-middle-footer-inner-wrap {
        display: grid;
        grid-template-columns: 1fr;
    }

    .site-footer-middle-section-1 {
        order: 2;
    }

    .site-footer-middle-section-2 {
        order: 1;
        text-align: center;
    }

    .nous-joindre {
        float: none;
        text-align: center;
        border-top: solid 1px white;
        border-bottom: solid 1px white;
        width: 30ch;
        margin: 0 auto;
        padding: 1em 0;
    }

    .footer-social-inner-wrap {
        justify-content: center;
    }

    .footer-navigation .menu {
        flex-direction: column;
        padding-bottom: 1em;
    }
}


/* =============================================================================
   Page Nouvelles (Communications) (blog / archives)
   ============================================================================= */

body.blog .content-container.site-container,
body.archive .content-container.site-container {
    padding-top: 48px;
}

body.archive .kadence-posts-list > .entry-list-item:last-child {
    margin-bottom: 3rem;
}

@media (max-width: 1024px) {
    .blog .content-area {
        margin-bottom: 2rem;
    }
}

/*
body.blog #archive-container,
body.archive #archive-container {
  margin-top: 15px;
}
*/

/* --- Sidebar — Widget Archives --- */

body.blog .widget-area ul,
body.archive .widget-area ul {
    padding-left: 0;
}

.wp-block-archives-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.wp-block-archives-list li {
    border-bottom: 1px solid #fff;
}

.wp-block-archives-list li a {
    display: block;
    padding: 10px 15px;
    background-color: #e7e7e7;
    color: #338a7a;
    font-weight: 600;
    text-decoration: none;
    border: none;
}

.wp-block-archives-list li a[aria-current="page"] {
    background-color: #338a7a;
    color: #fff !important;
}

.wp-block-archives-list li a:hover {
    background-color: #338a7a;
    color: #fff !important;
    text-decoration: none !important;
    border-bottom: none;
}

/* --- Widget Liste MailChimp --- */

.odq-infolettres-archive {
    background-color: #e7e7e7;
    padding: 10px 20px;
}

.odq-infolettres-archive .campaign {
    padding: 18px 0;
    border-bottom: 1px solid #ffffff;
    font-size: 15px;
    line-height: 1.4;
}

.odq-infolettres-archive .campaign:last-child {
    border-bottom: none;
}

.odq-infolettres-archive .campaign a {
    color: #338a7a;
    font-weight: 600;
    text-decoration: none;
}

.odq-infolettres-archive .campaign a:hover {
    color: #404040;
    text-decoration: underline;
}

/* --- Articles (blog single) --- */

.single-content-right {
    flex: 1;
    min-width: 0;
}

.single-featured-left img {
    width: 100%;
    height: auto;
    display: block;
}

.single-entry .entry-content-wrap {
    overflow: hidden;
}

/* Image plus petite — tablette */
@media (max-width: 900px) {
    .single-featured-left {
        width: 180px;
    }
}

/* Image pleine largeur — mobile */
@media (max-width: 600px) {
    .single-featured-left {
        float: none;
        width: 100%;
        margin: 0 0 20px 0;
    }
}

body.single .single-entry .entry-content-wrap {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    overflow: visible;
}

.single-featured-left {
    flex: 0 0 250px;
    width: 250px;
}

.single-featured-left img {
    width: 100%;
    height: auto;
    display: block;
}

.post-navigation .nav-previous:after {
    width: 2px !important;
    background: #666 !important;
}

.odq-retour-articles {
    text-align: center;
    margin: 3rem 0;
}

.odq-retour-articles a {
    color: #338a7a;
    font-weight: 600;
    text-decoration: none !important;
}

.odq-retour-articles a:hover {
    color: #404040;
    text-decoration: none !important;
}

.odq-retour-articles a.odq-retour-btn {
    display: inline-block;
    padding: .4em 1em;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 300 !important;
    text-decoration: none !important;
    background-color: #338a7a !important;
    color: #ffffff !important;
    transition: all .3s ease-in-out;
}

.odq-retour-articles a.odq-retour-btn:hover {
    background-color: #2a7263 !important;
    color: #ffffff !important;
}

/* Tablette */
@media ( max-width: 900px ) {
    .single-featured-left {
        flex: 0 0 180px;
        width: 180px;
    }
}

/* Mobile */
@media ( max-width: 600px ) {
    .single-entry .entry-content-wrap {
        flex-direction: column;
    }
    .single-featured-left {
        flex: none;
        width: 100%;
    }
}


/* =============================================================================
   Pages — customisations spécifiques
   ============================================================================= */

/* ========== Page d'accueil ========= */

.home .content-container {
    padding: 0 !important;
}

/* --- Bloc hero --- */

.hero-accueil h1 {
    font-size: 36px;
    line-height: 43px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 62px 0 3px 0;
}

.hero-accueil h2 {
    max-width: 525px;
    font-size: 30px;
    line-height: 33px;
    font-weight: 600;
    margin: 0 auto !important;
}

.section-nouvelles h2 {
    margin-bottom: 20px !important;
}

.cadre-protection p,
.cadre-protection .wp-block-kadence-advancedbtn {
    font-weight: 300;
}

.cadre-protection p {
    margin-bottom: 16px !important;
}

.cadre-protection h3 {
    font-style: normal;
    font-weight: 400;
    font-size: 27px;
    line-height: 30px;
}

.hero-accueil .cadre-protection {
    max-width: 300px;
    margin-left: 4%;
}

.cadre-protection .kb-button {
    width: 240px;
}

@media (max-width: 650px) {
    .cadre-protection h3,
    .cadre-protection p {
        text-align: center;
    }
}


/* --- Bloc hero mobile --- */

.hero-accueil-mobile h1 {
    font-size: clamp(25px, 6vw, 36px);
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    padding: 30px 0 3px 0;
}

.hero-accueil-mobile h2 {
    max-width: 525px;
    font-size: clamp(20px, 5vw, 30px);
    line-height: 1.2;
    font-weight: 600;
    margin: 0 auto !important;
}

.cadre-protection-mobile h3 {
    font-style: normal;
    font-weight: 400;
    font-size: 27px;
    line-height: 30px;
}

@media (max-width: 768px) {
    .hero-accueil-mobile h1 {
        padding: 35px 0 3px 0;
    }
}

@media (min-width: 801px) and (max-width: 1100px) {
    .hero-accueil {
        background-position: right -200px bottom !important;
    }
}

@media (max-width: 800px) {
    .hero-accueil {
        background-position: right -160px bottom !important;
    }
}


/* --- Rangées #1, #2, #3 — blocs & images --- */

@media (max-width: 768px) {
    .bloc-gris-accueil {
        max-width: 460px !important;
        margin: 0 auto;
    }
}


/* ========= Page "Rôle d'un denturologiste" (page-id-72) — HTML importé du site Drupal ========= */

.page-id-72 .content-container {
    padding: 0;
}

.wrapper-etapes {
    width: 1280px;
    margin: 0 auto;
    background-image: url(/wp-content/uploads/2026/06/img-role-denturo-bg-bleu.jpg);
    background-size: cover;
    background-position: center bottom;
    padding: 75px 0 60px 0;
    color: #fff;
}

.wrapper-etapes h2 {
    font-size: 1.5em;
    font-weight: 400;
    color: #d7f287;
    text-align: center;
    margin-bottom: 20px !important;
}

.wrapper-etapes .wrapper-items {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    justify-content: space-between;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 940px;
    margin: 0 auto;
}

.wrapper-etapes .wrapper-items .colonne {
    width: calc(33% - 110px);
}

.wrapper-etapes .wrapper-items .colonne span {
    color: #d7f287;
}

.wrapper-etapes .wrapper-items .colonne .texte {
    margin-top: -25px;
}

.wrapper-etapes .wrapper-items .colonne .un,
.wrapper-etapes .wrapper-items .colonne .deux,
.wrapper-etapes .wrapper-items .colonne .trois,
.wrapper-etapes .wrapper-items .colonne .quatre,
.wrapper-etapes .wrapper-items .colonne .cinq {
    margin-left: -55px;
    width: 46px;
    height: 46px;
    background-size: cover;
}

.wrapper-etapes .wrapper-items .colonne .un {
    background-image: url(/wp-content/uploads/2026/06/bulle-1.png);
}

.wrapper-etapes .wrapper-items .colonne .deux {
    background-image: url(/wp-content/uploads/2026/06/bulle-2.png);
}

.wrapper-etapes .wrapper-items .colonne .trois {
    background-image: url(/wp-content/uploads/2026/06/bulle-3.png);
}

.wrapper-etapes .wrapper-items .colonne .quatre {
    background-image: url(/wp-content/uploads/2026/06/bulle-4.png);
}

.wrapper-etapes .wrapper-items .colonne .cinq {
    background-image: url(/wp-content/uploads/2026/06/bulle-5.png);
}

@media (max-width: 1280px) {
    .wrapper-etapes {
        width: 100%;
    }
}

@media (max-width: 1100px) {
    .wrapper-etapes .wrapper-items {
        width: calc(100% - 140px);
        margin: 0 60px 0 80px;
    }
}

@media (max-width: 800px) {
    .wrapper-etapes h2 {
        margin: 0 40px 20px 40px !important;
        line-height: 110%;
    }

    .wrapper-etapes .wrapper-items {
        width: calc(100% - 80px);
        margin: 0 40px 0 40px;
    }

    .wrapper-etapes .wrapper-items .colonne {
        width: 100%;
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -moz-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        -webkit-justify-content: space-between;
        -moz-justify-content: space-between;
        justify-content: space-between;
    }

    .wrapper-etapes .wrapper-items .colonne .un,
    .wrapper-etapes .wrapper-items .colonne .deux,
    .wrapper-etapes .wrapper-items .colonne .trois,
    .wrapper-etapes .wrapper-items .colonne .quatre,
    .wrapper-etapes .wrapper-items .colonne .cinq {
        margin-left: 0;
        width: 46px;
    }

    .wrapper-etapes .wrapper-items .colonne .texte {
        margin-top: 0;
        width: calc(100% - 60px);
    }
}


/* ========= Page "Notre savoir-faire" (page-id-84) — HTML importé du site Drupal ========= */

.page-id-84 .content-container {
    padding: 0;
}

@media (max-width: 1024px) {
    .kb-row-layout-id84_a3488e-c1 {
        background-position: 100% 60% !important;
    }
}


/* --- Vidéo pop-up --- */

.video-wrapper-pop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 9999;
}

.video-wrapper-pop .video {
    max-width: 960px;
    width: calc(100% - 40px);
    margin: 0 auto;
    position: relative;
    top: 15vh;
}

.video-wrapper-pop .video iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}

.video-wrapper-pop .video .btn-close {
    position: absolute;
    width: 40px;
    height: 40px;
    right: 0;
    top: -50px;
    cursor: pointer;
    background-color: white;
    border-radius: 50%;
}

/* Croix dessinée en CSS */
.video-wrapper-pop .video .btn-close::before,
.video-wrapper-pop .video .btn-close::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: #333;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.video-wrapper-pop .video .btn-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}


/* ========= Page "Pourquoi consulter" (page-id-73) — HTML importé du site Drupal ========= */

.wrapper-pourquoi-consulter {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    justify-content: space-between;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 940px;
    margin: 0 auto;
    margin-top: 21px !important;
}

.wrapper-pourquoi-consulter .colonne {
    width: calc(50% - 65px);
}

.wrapper-pourquoi-consulter .colonne .wrapper-image {
    margin-top: -20px;
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: right;
}

.wrapper-pourquoi-consulter .colonne .wrapper-title-texte {
    background-color: #f5f5f5;
    text-align: center;
}

.wrapper-pourquoi-consulter .colonne .wrapper-title-texte .title {
    padding: 60px 60px 0 60px;
}

.wrapper-pourquoi-consulter .colonne .wrapper-title-texte .title h2 {
    font-size: 1.5em;
    font-weight: 400;
    color: #404040;
}

.wrapper-pourquoi-consulter .colonne .wrapper-title-texte .texte {
    padding: 0 60px 140px 60px;
    color: #404040;
}

.wrapper-pourquoi-consulter .colonne .wrapper-bulle {
    margin-top: -110px;
    margin-left: 35px;
    width: 320px;
    height: 338px;
    background-image: url(/wp-content/uploads/2026/06/bulle-verte.png);
    background-size: cover;
    color: #fff;
}

.wrapper-pourquoi-consulter .colonne .wrapper-bulle .title {
    text-align: center;
    padding: 60px 30px 0 55px;
    font-size: 1.5em;
}

.wrapper-pourquoi-consulter .colonne .wrapper-bulle .texte {
    text-align: center;
    padding: 0 30px 0 55px;
}

.wrapper-pourquoi-consulter .colonne .item:first-child {
    margin-top: -20px;
}

.wrapper-pourquoi-consulter .colonne .item {
    position: relative;
    margin-bottom: 48px;
}

.wrapper-pourquoi-consulter .colonne .item h2 {
    font-size: 1.5em;
    font-weight: 400;
    color: #404040;
    margin-bottom: 5px;
}

.wrapper-pourquoi-consulter .colonne .item p:first-child {
    margin-top: 0;
    padding-top: 0;
}

.wrapper-pourquoi-consulter .colonne .item .un,
.wrapper-pourquoi-consulter .colonne .item .deux,
.wrapper-pourquoi-consulter .colonne .item .trois,
.wrapper-pourquoi-consulter .colonne .item .quatre,
.wrapper-pourquoi-consulter .colonne .item .cinq {
    position: absolute;
    top: 0;
    left: -75px;
    width: 60px;
    height: 60px;
    background-size: cover;
}

.wrapper-pourquoi-consulter .colonne .item .un {
    background-image: url(/wp-content/uploads/2026/06/bulle-dent.png);
}

.wrapper-pourquoi-consulter .colonne .item .deux {
    background-image: url(/wp-content/uploads/2026/06/bulle-coeur.png);
}

.wrapper-pourquoi-consulter .colonne .item .trois {
    background-image: url(/wp-content/uploads/2026/06/bulle-loupe.png);
}

.wrapper-pourquoi-consulter .colonne .item .quatre {
    background-image: url(/wp-content/uploads/2026/06/bulle-tete.png);
}

.wrapper-pourquoi-consulter .colonne .item .cinq {
    background-image: url(/wp-content/uploads/2026/06/bulle-ballon.png);
}

@media all and (max-width: 1000px) {
    .wrapper-pourquoi-consulter {
        width: calc(100% - 40px);
        margin: 0 20px;
    }
}

@media all and (max-width: 860px) {
    .wrapper-pourquoi-consulter .colonne .wrapper-title-texte .title {
        padding: 60px 20px 0 20px;
    }

    .wrapper-pourquoi-consulter .colonne .wrapper-title-texte .texte {
        padding: 0 20px 140px 20px;
    }
}

@media all and (max-width: 800px) {
    .wrapper-pourquoi-consulter {
        width: 100%;
        margin: 0 !important;
    }

    .wrapper-pourquoi-consulter .colonne {
        width: 100%;
    }

    .wrapper-pourquoi-consulter .colonne .wrapper-image {
        margin-top: 0;
        height: 300px;
    }

    .wrapper-pourquoi-consulter .colonne .wrapper-bulle {
        display: none;
    }

    .wrapper-pourquoi-consulter .colonne:first-child {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-direction: reverse;
        -webkit-box-orient: vertical;
        -webkit-flex-direction: column-reverse;
        -moz-flex-direction: column-reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }

    .wrapper-pourquoi-consulter .colonne:first-child .wrapper-title-texte {
        background-color: #fff;
        width: calc(100% - 80px);
        margin: 0 40px;
    }

    .wrapper-pourquoi-consulter .colonne:first-child .wrapper-title-texte .title {
        display: none;
    }

    .wrapper-pourquoi-consulter .colonne:first-child .wrapper-title-texte .texte {
        padding-bottom: 30px;
    }

    .wrapper-pourquoi-consulter .colonne .item:first-child {
        margin-top: 30px;
    }

    .wrapper-pourquoi-consulter .colonne .item {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -moz-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        -webkit-justify-content: space-between;
        -moz-justify-content: space-between;
        justify-content: space-between;
        margin-left: 30px;
        margin-right: 30px;
        margin-bottom: 30px;
    }

    .wrapper-pourquoi-consulter .colonne .item .un,
    .wrapper-pourquoi-consulter .colonne .item .deux,
    .wrapper-pourquoi-consulter .colonne .item .trois,
    .wrapper-pourquoi-consulter .colonne .item .quatre,
    .wrapper-pourquoi-consulter .colonne .item .cinq {
        width: 60px;
        position: relative;
        top: 0;
        left: 0;
    }

    .wrapper-pourquoi-consulter .colonne .item h2 {
        line-height: 110%;
    }

    .wrapper-pourquoi-consulter .colonne .item .title {
        -webkit-align-self: center;
        -moz-align-self: center;
        -ms-flex-item-align: center;
        align-self: center;
        width: calc(100% - 80px);
    }

    .wrapper-pourquoi-consulter .colonne .item .texte {
        -webkit-align-self: center;
        -moz-align-self: center;
        -ms-flex-item-align: center;
        align-self: center;
        width: 100%;
        padding: 10px 0 0 7px;
    }

    .wrapper-pourquoi-consulter .colonne .item:last-child p:first-child {
        margin-top: -25px;
        margin-left: 72px;
    }
}

@media all and (max-width: 600px) {
    .wrapper-pourquoi-consulter .colonne:first-child .wrapper-title-texte {
        width: calc(100% - 40px);
        margin: 0 20px;
    }
}

@media all and (max-width: 420px) {
    .wrapper-pourquoi-consulter {
        width: 100%;
        margin: 0;
    }

    .wrapper-pourquoi-consulter .colonne {
        width: 100%;
    }

    .wrapper-pourquoi-consulter .colonne .wrapper-image {
        height: 140px;
    }

    .wrapper-pourquoi-consulter .colonne .item h2 {
        font-size: 1.3em;
    }
}


/* ========= Pages "Équipe" (page-id-71) et "Accès à l'information" (page-id-88) ========= */

/* Colonnes gris-blanc full width — occupe toute la hauteur de l'écran */
body.page-id-71.footer-on-bottom #wrapper,
body.page-id-88.footer-on-bottom #wrapper {
    min-height: unset !important;
    display: block !important;
}

/* Enlève la bande blanche au-dessus du footer */
body.page-id-71 .kt-row-column-wrap,
body.page-id-88 .kt-row-column-wrap {
    min-height: calc(100vh - 506px) !important;
}


/* ========= Page Résultats de recherches ========= */

.search-results .content-container {
	margin-top: 3rem;
}

/* ========= Erreur 404 ========= */

.error404 .page-content {
	margin-top: 3rem;
	max-width: 600px;
	margin: 0 auto;
	text-align: center;
}

.error404 .content-bg {
	background-color: #ffffff;
	box-shadow : none;
}

.odq-404-image {
    max-width: 400px;
    margin: 0 auto 0; 
    text-align: center;
}

.odq-404-image img {
    width: 100%;
    height: auto;
}


/* =============================================================================
   CPT — Lois, règlements et normes [odq_lois], [odq_reglements], [odq_normes]
   ============================================================================= */

.odq-lr-section p { margin-bottom: 0 !important; }
.odq-lr-section-title { margin: 0 0 0.5em; }
.odq-lr-section-line { border: 0; border-bottom: 1px solid #e0e0e0; margin: 0; }
.odq-lr-item { display: flex; align-items: flex-start; border-bottom: 1px solid #e0e0e0; padding: 12px 0; }
.odq-lr-code { min-width: 80px; flex-shrink: 0; }
.odq-lr-icone { min-width: 50px; flex-shrink: 0; text-align: center; }
.odq-lr-info { flex: 1; color: #404040; }
.odq-lr-icone img { width: 26px; height: 26px; }
hr.odq-lr-section-line { margin-bottom: 0 !important; }


/* =============================================================================
   CPT — Offres d'emploi (odq_offre_emploi)
   ============================================================================= */

/* --- Grille (page "Nous recrutons") --- */

.odq-oe-grille {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 32px;
}

@media (max-width: 640px) {
    .odq-oe-grille {
        grid-template-columns: 1fr;
    }
}


/* --- Fiche individuelle --- */

.single-offre_emploi .content-container {
  max-width: 940px !important;
}

.single-offre_emploi .content-container {
    padding: 3rem 0;
}

.odq-oe-fiche {
    background: #f5f5f5;
    border-top: 4px solid #338a7a;
    border-radius: 3px;
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.odq-oe-titre {
    font-size: 20px;
    font-weight: 600;
    color: #404040;
    margin: 0;
    line-height: 1.3;
}

.odq-oe-resume {
    font-size: 16px;
    color: #404040;
    line-height: 1.55;
    flex: 1; /* pousse le bouton vers le bas */
}

.odq-oe-resume p:last-child {
    margin-bottom: 0;
}


/* --- Boutons (partagés entre fiche et single) --- */

.odq-oe-btn {
    display: inline-block;
    padding: .4em 1em;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 300 !important;
    text-decoration: none !important;
    align-self: flex-start;
}

.odq-oe-btn--savoir-plus,
.odq-oe-btn--telecharger {
    background-color: #338a7a;
    color: #ffffff !important;
    transition: all .3s ease-in-out;
}

.odq-oe-fiche .odq-oe-btn--savoir-plus:hover,
.odq-oe-fiche .odq-oe-btn--savoir-plus:focus,
.odq-oe-btn--telecharger:hover,
.odq-oe-btn--telecharger:focus {
    background-color: #3fa794;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Icône téléchargement avant le texte du bouton */
.odq-oe-btn--telecharger::before {
    content: "↓ ";
    font-weight: 700;
}


/* --- Bloc téléchargement (page single) --- */

.odq-oe-telecharger {
    margin-top: 40px;
}


/* --- Message "aucune offre" --- */

.odq-oe-vide {
    color: #404040;
    font-style: italic;
}


/* =============================================================================
   CPT — Communiqués de presse (odq_communique)
   ============================================================================= */

.odq-cp-section {
    margin-top: 60px;
    margin-bottom: 48px;
    box-shadow: 0 15px 15px -10px rgba(0, 0, 0, 0.05);
}

.odq-cp-titre-section {
    margin-bottom: 20px;
}

.odq-cp-liste {
    background-color: #ebebeb;
    padding: 10px 20px;
}

.odq-cp-item {
    padding: 18px 0;
    border-bottom: 1px solid #ffffff;
}

.odq-cp-item:last-child {
    border-bottom: none;
}

.odq-cp-titre-lien {
    text-decoration: none;
    font-weight: 600;
}

.odq-cp-titre-lien:hover {
    color: #404040;
    text-decoration: underline;
}

.odq-cp-titre-lien--no-link {
    color: #4a4a4a;
}

.odq-cp-date {
    display: block;
    margin-top: 4px;
    font-size: 0.8rem;
    color: #888;
}


/* =============================================================================
   Formulaire de contact
   ============================================================================= */

/* Bouton Soumettre */
.kb-adv-form-submit-button:not(.kb-btn-global-inherit) {
    font-size: 16px !important;
}

/* ========= Cookiebot — logo ODQ à la place du logo "Powered by" ========= */
.CybotCookiebotDialogContentWrapper #CybotCookiebotDialogPoweredbyLink {
    background-image: url('images/logo-cookiebanner.jpg');
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
    min-height: 100px;
    min-width: 110px;
}
.CybotCookiebotDialogContentWrapper #CybotCookiebotDialogPoweredbyLink img {
    display: none !important;
}
a#CybotCookiebotDialogPoweredbyCybot,
div#CybotCookiebotDialogPoweredByText {
    display: none;
}