.eael-post-grid-style-three .eael-grid-post-holder:hover .eael-entry-thumbnail img {
    transform: none !important;
}


/* =========================================================
   GENIE 360 - BLOG ARTICLE
   ========================================================= */

.g360-article {
    max-width: 950px !important;
    margin: 0 auto !important;
    padding: 10px 0 40px !important;
    color: #333333 !important;
    font-family: inherit !important;
    font-size: 18px !important;
    line-height: 1.8 !important;
}


/* NORMAL PARAGRAPHS */

.g360-article p {
    color: #333333 !important;
    font-size: 18px !important;
    line-height: 1.8 !important;
    font-weight: 400 !important;
    margin: 0 0 28px 0 !important;
}


/* INTRODUCTION */

.g360-article p.g360-intro {
    font-size: 19px !important;
    line-height: 1.85 !important;
    color: #3d3d3d !important;
    margin-bottom: 42px !important;
}


/* SECTION TITLES */

.g360-article h2 {
    color: #233D74 !important;
    font-size: 27px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    font-family: inherit !important;

    margin: 48px 0 22px 0 !important;
    padding: 0 0 14px 0 !important;

    position: relative !important;
}


/* ORANGE LINE UNDER SECTION TITLES */

.g360-article h2::after {
    content: "" !important;
    display: block !important;

    width: 60px !important;
    height: 4px !important;

    background-color: #E8832A !important;

    margin-top: 12px !important;

    border-radius: 4px !important;
}


/* IMAGES */

.g360-article figure.g360-image {
    display: block !important;
    width: 100% !important;

    margin: 32px 0 48px 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    border-radius: 10px !important;
}


.g360-article figure.g360-image img {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 10px !important;
}


/* PORTRAIT IMAGE */

.g360-article figure.g360-image-portrait {
    max-width: 650px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* MOBILE */

@media (max-width: 767px) {

    .g360-article {
        font-size: 16px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .g360-article p {
        font-size: 16px !important;
        line-height: 1.75 !important;
        margin-bottom: 22px !important;
    }

    .g360-article p.g360-intro {
        font-size: 17px !important;
        line-height: 1.75 !important;
    }

    .g360-article h2 {
        font-size: 23px !important;
        margin-top: 38px !important;
        margin-bottom: 18px !important;
    }

    .g360-article h2::after {
        width: 50px !important;
        height: 3px !important;
    }
}


/* GENIE 360 - H3 SUBHEADINGS */

.g360-article h3,
.g360-article h3.wp-block-heading {
    color: #233D74 !important;

    /* Same typography as H2 */
    font-family: inherit !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;

    /* Smaller than H2 */
    font-size: 22px !important;

    margin: 38px 0 18px 0 !important;
    padding: 0 !important;
}


/* GENIE 360 - IMAGE CAPTIONS */

.g360-article figcaption {
    display: block !important;
    width: fit-content !important;
    max-width: 85% !important;

    margin: 12px auto 0 !important;
    padding: 7px 16px !important;

    text-align: center !important;

    color: #5f6670 !important;
    background-color: #f5f6f8 !important;

    font-size: 14px !important;
    line-height: 1.5 !important;
    font-style: italic !important;
    font-weight: 400 !important;

    border-radius: 6px !important;
    border-bottom: 2px solid #E8832A !important;
}

/* GENIE 360 - QUOTE BOX */

.g360-article .g360-quote {
    margin: 35px 0 !important;
    padding: 30px 35px !important;

    background-color: #f7f9fc !important;

    border: 1px solid #dfe4ec !important;
    border-left: 6px solid #E8832A !important;

    border-radius: 8px !important;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
}

.g360-article .g360-quote p {
    margin: 0 !important;

    color: #233D74 !important;

    font-size: 19px !important;
    line-height: 1.75 !important;
    font-weight: 500 !important;
    font-style: italic !important;
}


/* GENIE 360 - IMAGE WIDTH ON DESKTOP */

@media (min-width: 768px) {

    .g360-article figure.g360-image {
        width: 60% !important;
        max-width: 60% !important;
        margin: 32px auto 48px auto !important;
    }

    .g360-article figure.g360-image img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
}







/* GENIE 360 - ARTICLE LISTS */

.g360-article .g360-list {
    margin: 10px 0 30px 0 !important;
    padding-left: 28px !important;
    color: #333333 !important;
    font-size: 18px !important;
    line-height: 1.8 !important;
}

.g360-article .g360-list li {
    margin-bottom: 10px !important;
    padding-left: 5px !important;
}

.g360-article ul.g360-list li::marker {
    color: #E8832A !important;
}

.g360-article ol.g360-list li::marker {
    color: #233D74 !important;
    font-weight: 700 !important;
}

@media (max-width: 767px) {
    .g360-article .g360-list {
        font-size: 16px !important;
        line-height: 1.75 !important;
        padding-left: 24px !important;
    }
}


/* =========================================================
   GENIE 360 - FANCY TABLE
========================================================= */

.g360-table-wrap {
    width: 100%;
    overflow-x: auto;

    margin: 32px 0 42px 0;

    background: #ffffff;

    border: 1px solid rgba(35, 61, 116, 0.12);
    border-radius: 14px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);

    position: relative;
}


/* ORANGE ACCENT */

.g360-table-wrap::before {
    content: "";
    display: block;

    width: 100%;
    height: 4px;

    background: #E8832A;
}


/* TABLE */

.g360-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;

    background: #ffffff;

    font-size: 16px;
    line-height: 1.5;
}


/* HEADER */

.g360-table thead th {
    background: #233D74;
    color: #ffffff;

    padding: 15px 18px;

    text-align: center;

    font-size: 15px;
    font-weight: 700;

    letter-spacing: 0.3px;

    border: none;
}


/* BODY CELLS */

.g360-table tbody td {
    padding: 13px 18px;

    text-align: center;

    color: #333333;

    border-bottom: 1px solid #edf0f4;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}


/* ALTERNATING ROWS */

.g360-table tbody tr:nth-child(even) {
    background: #f8fafc;
}


/* HOVER EFFECT */

.g360-table tbody tr {
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.g360-table tbody tr:hover {
    background: #fff4e8;
}


/* LAST ROW */

.g360-table tbody tr:last-child td {
    border-bottom: none;
}


/* FIRST COLUMN */

.g360-table tbody td:first-child {
    color: #233D74;
    font-weight: 700;
}


/* LAST COLUMN */

.g360-table tbody td:last-child {
    font-weight: 600;
}


/* MOBILE */

@media (max-width: 767px) {

    .g360-table-wrap {
        margin: 25px 0 35px 0;
        border-radius: 10px;
    }

    .g360-table {
        min-width: 520px;
        font-size: 14px;
    }

    .g360-table thead th {
        padding: 12px 14px;
        font-size: 14px;
    }

    .g360-table tbody td {
        padding: 11px 14px;
    }

}




/* =========================================================
   GÉNIE 360 — TABLE DES MATIÈRES
   Premium Editorial / Scientific Design
   ========================================================= */


/* ---------------------------------------------------------
   MAIN CARD
   --------------------------------------------------------- */

#ez-toc-container,
.ez-toc-container {
    position: relative;

    width: 100%;
    max-width: 900px;

    margin: 45px auto 55px;
    padding: 0 32px 28px;

    background:
        linear-gradient(
            145deg,
            #FFFFFF 0%,
            #F7F9FC 100%
        );

    border: 1px solid #E2E7EF;
    border-radius: 18px;

    box-shadow:
        0 16px 40px rgba(35, 61, 116, 0.08),
        0 3px 8px rgba(35, 61, 116, 0.04);

    overflow: hidden;
}


/* ---------------------------------------------------------
   TOP GÉNIE 360 COLOR BAND
   BLUE — GREEN — ORANGE
   --------------------------------------------------------- */

#ez-toc-container::before,
.ez-toc-container::before {
    content: "";

    display: block;

    height: 6px;

    margin:
        0 -32px
        27px -32px;

    background:
        linear-gradient(
            90deg,
            #233D74 0%,
            #233D74 34%,
            #439697 34%,
            #439697 68%,
            #E78E3D 68%,
            #E78E3D 100%
        );
}


/* ---------------------------------------------------------
   BOTTOM GÉNIE 360 COLOR BAND
   BLUE — GREEN — ORANGE
   --------------------------------------------------------- */

#ez-toc-container::after,
.ez-toc-container::after {
    content: "";

    display: block;

    height: 6px;

    margin:
        28px -32px
        -28px -32px;

    background:
        linear-gradient(
            90deg,
            #233D74 0%,
            #233D74 34%,
            #439697 34%,
            #439697 68%,
            #E78E3D 68%,
            #E78E3D 100%
        );
}


/* =========================================================
   TITLE
   ========================================================= */


/* Hide original plugin title text */

#ez-toc-container .ez-toc-title,
.ez-toc-container .ez-toc-title {
    position: relative;

    display: block;

    margin: 0 0 25px !important;
    padding: 0 0 20px !important;

    font-size: 0 !important;

    border-bottom: 1px solid #E1E6ED;
}


/* Force title to French */

#ez-toc-container .ez-toc-title::after,
.ez-toc-container .ez-toc-title::after {
    content: "Table des matières";

    display: block;

    font-family: "Montserrat", sans-serif;

    font-size: 27px;
    font-weight: 700;

    line-height: 1.0;

    letter-spacing: -0.5px;

    color: #233D74;
	
		margin-bottom: 15px;
	
		transform: translateY(-10px);
}


/* No decorative dots */

#ez-toc-container .ez-toc-title::before,
.ez-toc-container .ez-toc-title::before {
    display: none !important;
    content: none !important;
}


/* =========================================================
   REMOVE TOGGLE / COLLAPSE BUTTON COMPLETELY
   ========================================================= */

#ez-toc-container .ez-toc-toggle,
#ez-toc-container .ez-toc-toggle-container,
#ez-toc-container .ez-toc-icon-toggle-span,
#ez-toc-container .ez-toc-js-icon-con,
#ez-toc-container label.cssicon,
#ez-toc-container input.ez-toc-toggle,
.ez-toc-container .ez-toc-toggle,
.ez-toc-container .ez-toc-toggle-container,
.ez-toc-container .ez-toc-icon-toggle-span,
.ez-toc-container .ez-toc-js-icon-con,
.ez-toc-container label.cssicon,
.ez-toc-container input.ez-toc-toggle {
    display: none !important;
}


/* =========================================================
   LIST
   ========================================================= */

#ez-toc-container ul,
#ez-toc-container ol {
    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;

    counter-reset: g360-section;
}


/* =========================================================
   MAIN SECTIONS
   ========================================================= */

#ez-toc-container > nav > ul > li,
#ez-toc-container > nav > ol > li {
    position: relative;

    margin: 0 0 9px !important;
    padding: 0 !important;

    counter-increment: g360-section;

    border: none !important;
}


/* =========================================================
   MAIN LINKS — EDITORIAL CARDS
   ========================================================= */

#ez-toc-container > nav > ul > li > a,
#ez-toc-container > nav > ol > li > a {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 58px;

    padding:
        11px 45px
        11px 68px;

    background: rgba(255, 255, 255, 0.72);

    border: 1px solid #E8ECF2;
    border-radius: 11px;

    color: #303946 !important;

    font-size: 16px;
    font-weight: 500;

    line-height: 1.45;

    text-decoration: none !important;

    box-shadow:
        0 2px 6px rgba(35, 61, 116, 0.025);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        color 0.22s ease,
        background 0.22s ease;
}


/* =========================================================
   SECTION NUMBERS
   01, 02, 03...
   ========================================================= */

#ez-toc-container > nav > ul > li > a::before,
#ez-toc-container > nav > ol > li > a::before {
    content:
        counter(
            g360-section,
            decimal-leading-zero
        );

    position: absolute;

    left: 18px;

    font-family: "Montserrat", sans-serif;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0.5px;

    color: #E78E3D;
}


/* ---------------------------------------------------------
   THIN SEPARATOR AFTER NUMBER
   --------------------------------------------------------- */

#ez-toc-container > nav > ul > li > a::after,
#ez-toc-container > nav > ol > li > a::after {
    content: "";

    position: absolute;

    left: 51px;

    width: 1px;
    height: 22px;

    background: #DDE3EB;
}


/* =========================================================
   HOVER
   ========================================================= */

#ez-toc-container > nav > ul > li > a:hover,
#ez-toc-container > nav > ol > li > a:hover {
    transform: translateY(-2px);

    background: #FFFFFF;

    border-color: rgba(67, 150, 151, 0.45);

    color: #233D74 !important;

    box-shadow:
        0 7px 18px rgba(35, 61, 116, 0.08);
}


/* Number changes from orange to green */

#ez-toc-container > nav > ul > li > a:hover::before,
#ez-toc-container > nav > ol > li > a:hover::before {
    color: #439697;
}


/* =========================================================
   NESTED SECTIONS — H3
   ========================================================= */

#ez-toc-container ul ul,
#ez-toc-container ol ol {
    margin:
        7px 0
        12px 0 !important;

    padding-left: 68px !important;

    list-style: none !important;

    counter-reset: none;
}


#ez-toc-container ul ul li,
#ez-toc-container ol ol li {
    margin: 5px 0 !important;

    padding: 0 !important;

    border: none !important;
}


/* ---------------------------------------------------------
   H3 LINKS
   --------------------------------------------------------- */

#ez-toc-container ul ul a,
#ez-toc-container ol ol a {
    display: block;

    position: relative;

    padding:
        5px 10px
        5px 17px;

    background: transparent;

    border: none;

    color: #667080 !important;

    font-size: 14.5px;

    line-height: 1.45;

    text-decoration: none !important;

    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}


/* ---------------------------------------------------------
   SMALL GREEN MARKER FOR SUBSECTIONS
   --------------------------------------------------------- */

#ez-toc-container ul ul a::before,
#ez-toc-container ol ol a::before {
    content: "";

    position: absolute;

    left: 0;
    top: 13px;

    width: 5px;
    height: 5px;

    background: #439697;

    border-radius: 50%;
}


/* ---------------------------------------------------------
   H3 HOVER
   --------------------------------------------------------- */

#ez-toc-container ul ul a:hover,
#ez-toc-container ol ol a:hover {
    color: #233D74 !important;

    padding-left: 21px;
}


/* =========================================================
   SMOOTH SCROLL
   ========================================================= */

html {
    scroll-behavior: smooth;
}


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

@media (max-width: 767px) {

    #ez-toc-container,
    .ez-toc-container {
        margin:
            32px 0
            42px;

        padding:
            0 17px
            20px;

        border-radius: 14px;
    }


    /* Top color band */

    #ez-toc-container::before,
    .ez-toc-container::before {
        height: 5px;

        margin:
            0 -17px
            22px -17px;
    }


    /* Bottom color band */

    #ez-toc-container::after,
    .ez-toc-container::after {
        height: 5px;

        margin:
            22px -17px
            -20px -17px;
    }


    /* Title */

    #ez-toc-container .ez-toc-title,
    .ez-toc-container .ez-toc-title {
        margin-bottom: 18px !important;
        padding-bottom: 16px !important;
    }


    #ez-toc-container .ez-toc-title::after,
    .ez-toc-container .ez-toc-title::after {
        font-size: 23px;
    }


    /* Main links */

    #ez-toc-container > nav > ul > li > a,
    #ez-toc-container > nav > ol > li > a {
        min-height: 54px;

        padding:
            10px 12px
            10px 58px;

        font-size: 14.5px;

        border-radius: 9px;
    }


    /* Numbers */

    #ez-toc-container > nav > ul > li > a::before,
    #ez-toc-container > nav > ol > li > a::before {
        left: 13px;

        font-size: 12px;
    }


    /* Separator */

    #ez-toc-container > nav > ul > li > a::after,
    #ez-toc-container > nav > ol > li > a::after {
        left: 43px;

        height: 19px;
    }


    /* H3 indentation */

    #ez-toc-container ul ul,
    #ez-toc-container ol ol {
        padding-left: 43px !important;
    }

}






/* =========================================================
   GENIE 360 - TITRE DES ARTICLES
========================================================= */

body.single-post h1.entry-title {
    max-width: 1050px;
    margin: 45px auto 22px !important;
    padding: 0 24px;

    color: #233D74 !important;

    font-size: clamp(34px, 4.3vw, 58px) !important;
    line-height: 1.08 !important;
    font-weight: 800 !important;
    letter-spacing: -0.8px;

    text-align: center;
}

/* TABLETTE */

@media (max-width: 1024px) {

    body.single-post h1.entry-title {
        max-width: 850px;
        margin-top: 35px !important;

        font-size: 40px !important;
        line-height: 1.1 !important;
    }
}


/* MOBILE */

@media (max-width: 767px) {

    body.single-post h1.entry-title {
        margin-top: 26px !important;
        margin-bottom: 18px !important;
        padding: 0 18px;

        font-size: 30px !important;
        line-height: 1.15 !important;
        letter-spacing: -0.3px;

        text-align: center;
    }
}








/* =========================================================
   GÉNIE 360 — BIBLIOGRAPHIE DES BLOGS DE RECHERCHE
   ========================================================= */

.g360-research-blog .g360-bibliography {
  display: grid;
  gap: 20px;

  margin: 30px 0 10px;
  padding: 0;

  counter-reset: g360-research-ref;
}


/* =========================================================
   CARTE DE RÉFÉRENCE
   ========================================================= */

.g360-research-blog .g360-reference {
  position: relative;

  display: block;

  margin: 0;
  padding: 27px 30px 27px 88px;

  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      rgba(35, 61, 116, 0.045) 0%,
      rgba(255, 255, 255, 1) 55%,
      rgba(231, 142, 61, 0.035) 100%
    );

  border: 1px solid rgba(35, 61, 116, 0.14);
  border-radius: 16px;

  box-shadow:
    0 8px 24px rgba(35, 61, 116, 0.07);

  counter-increment: g360-research-ref;

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}


/* =========================================================
   BANDE VERT → ORANGE
   ========================================================= */

.g360-research-blog .g360-reference::after {
  content: "";

  position: absolute;
  top: 0;
  left: 0;

  width: 6px;
  height: 100%;

  background:
    linear-gradient(
      to bottom,
      #216b39 0%,
      #439697 52%,
      #e78e3d 100%
    );
}


/* =========================================================
   NUMÉRO 01, 02, 03...
   ========================================================= */

.g360-research-blog .g360-reference::before {
  content: counter(g360-research-ref, decimal-leading-zero);

  position: absolute;
  top: 25px;
  left: 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 43px;
  height: 43px;

  border-radius: 50%;

  color: #ffffff;
  background: #233d74;

  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.5px;

  box-shadow:
    0 4px 10px rgba(35, 61, 116, 0.18);
}


/* =========================================================
   AUTEURS
   ========================================================= */

.g360-research-blog .g360-reference-authors {
  display: block;

  margin: 0 0 8px;

  color: #233d74;

  font-size: 15px;
  font-weight: 750;
  line-height: 1.55;
}


/* =========================================================
   TITRE
   ========================================================= */

.g360-research-blog .g360-reference-title {
  display: block;

  margin: 0 0 10px;

  color: #303030;

  font-size: 16px;
  font-weight: 650;
  font-style: italic;
  line-height: 1.6;
}


/* =========================================================
   SOURCE / JOURNAL
   ========================================================= */

.g360-research-blog .g360-reference-source {
  display: block;

  margin: 0;

  color: #666d76;

  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

.g360-research-blog .g360-reference-source em {
  color: #505866;
  font-weight: 600;
}


/* =========================================================
   DOI
   ========================================================= */

.g360-research-blog .g360-reference-doi,
.g360-research-blog .g360-reference-doi:link,
.g360-research-blog .g360-reference-doi:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: auto;

  margin: 16px 0 0;
  padding: 9px 15px;

  color: #233d74 !important;
  background: #ffffff !important;

  border: 1px solid rgba(35, 61, 116, 0.22);
  border-radius: 50px;

  font-size: 12px;
  font-weight: 750;
  line-height: 1;

  text-decoration: none !important;

  box-shadow:
    0 2px 7px rgba(35, 61, 116, 0.05);

  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}


.g360-research-blog .g360-reference-doi::after {
  content: "↗";

  margin-left: 8px;

  color: #e78e3d;

  font-size: 14px;
  font-weight: 800;
}


/* =========================================================
   HOVER
   ========================================================= */

.g360-research-blog .g360-reference:hover {
  transform: translateY(-3px);

  border-color: rgba(67, 150, 151, 0.38);

  box-shadow:
    0 13px 32px rgba(35, 61, 116, 0.11);
}


.g360-research-blog .g360-reference-doi:hover {
  color: #ffffff !important;
  background: #233d74 !important;
  border-color: #233d74;

  transform: translateY(-1px);
}


.g360-research-blog .g360-reference-doi:hover::after {
  color: #ffffff;
}


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

@media (max-width: 767px) {

  .g360-research-blog .g360-bibliography {
    gap: 16px;
    margin-top: 24px;
  }


  .g360-research-blog .g360-reference {
    padding:
      67px
      18px
      22px
      20px;

    border-radius: 13px;
  }


  .g360-research-blog .g360-reference::before {
    top: 17px;
    left: 20px;

    width: 38px;
    height: 38px;

    font-size: 12px;
  }


  .g360-research-blog .g360-reference-authors {
    font-size: 14px;
    line-height: 1.5;
  }


  .g360-research-blog .g360-reference-title {
    font-size: 15px;
    line-height: 1.55;
  }


  .g360-research-blog .g360-reference-source {
    font-size: 13px;
    line-height: 1.55;
  }


  .g360-research-blog .g360-reference-doi {
    margin-top: 14px;
    padding: 9px 14px;

    font-size: 11px;
  }


  /* Empêcher Safari/iPhone d'interpréter
     certains nombres comme des téléphones */

  .g360-research-blog .g360-reference a[href^="tel:"],
  .g360-research-blog .g360-reference a[href^="sms:"] {
    color: inherit !important;
    font: inherit !important;
    text-decoration: none !important;
    pointer-events: none !important;
    cursor: default !important;
  }


  .g360-research-blog .g360-reference .g360-reference-doi {
    pointer-events: auto !important;
    cursor: pointer !important;
  }
}


/* =========================================================
   UNE SEULE RÉFÉRENCE — MASQUER LE NUMÉRO 01
   ========================================================= */

.g360-research-blog
.g360-bibliography
.g360-reference:only-child::before {
  display: none !important;
}

/* Repositionner le contenu puisqu'il n'y a plus de numéro */
.g360-research-blog
.g360-bibliography
.g360-reference:only-child {
  padding-left: 30px;
}



/* =========================================================
   GÉNIE 360 — STYLE FANCY DES LIENS VERS LES AUTEURS
   Boîte ajustée à gauche et à droite
   ========================================================= */

.g360-author-link {
    color: #233D74;
    font-weight: 600;
    text-decoration: none !important;
    background: rgba(35, 61, 116, 0.07);
    padding: 1px 2px;
    margin-left: 2px;
    margin-right: 2px;
    border-radius: 5px;
    transition: all 0.25s ease;
}

.g360-author-link:hover {
    color: #ffffff;
    background: #233D74;
    text-decoration: none !important;
}

.g360-author-link:focus {
    outline: 2px solid rgba(35, 61, 116, 0.25);
    outline-offset: 2px;
}




/* =========================================================
   HIDE THE ORIGINAL GTRANSLATE WIDGET
   Keeps GTranslate active in the background
   while hiding its default language selector.
   The custom FR | EN selector remains visible in the header.
   ========================================================= */

.g360-hidden-gtranslate {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}







/* ==========================================
   GENIE 360 — CONTACT POPUP VISUAL STYLE
   Keeps the existing popup functionality
========================================== */


/* Main popup box */
.g360-contact-box {
  width: min(640px, 92vw) !important;
  max-height: 90vh !important;

  background: #ffffff !important;

  border-radius: 26px !important;

  box-shadow:
    0 30px 90px rgba(12, 27, 58, 0.28) !important;

  overflow: hidden !important;
}


/* Dark background behind popup */
.g360-contact-overlay {
  background: rgba(18, 32, 63, 0.72) !important;

  backdrop-filter: blur(7px) !important;
  -webkit-backdrop-filter: blur(7px) !important;
}


/* Top orange / teal / orange accent */
.g360-contact-accent {
  height: 7px !important;

  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
}

.g360-contact-accent span:nth-child(1) {
  background: #E78E3D !important;
}

.g360-contact-accent span:nth-child(2) {
  background: #2B8C82 !important;
}

.g360-contact-accent span:nth-child(3) {
  background: #E78E3D !important;
}


/* Popup inside spacing */
.g360-contact-content {
  padding: 52px 52px 46px !important;
}


/* Small GENIE 360 label */
.g360-contact-label {
  display: inline-block !important;

  margin-bottom: 10px !important;

  color: #E78E3D !important;

  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 2.2px !important;
  text-transform: uppercase !important;
}


/* Main title */
.g360-contact-content h2 {
  margin: 0 0 14px !important;

  color: #233D74 !important;

  font-size: clamp(30px, 4vw, 40px) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;

  letter-spacing: -0.5px !important;
}


/* Intro paragraph */
.g360-contact-intro {
  max-width: 520px !important;

  margin: 0 0 30px !important;

  color: #58657d !important;

  font-size: 16px !important;
  line-height: 1.75 !important;
}


/* Labels */
.g360-contact-field label {
  margin-bottom: 2px !important;

  color: #233D74 !important;

  font-size: 13px !important;
  font-weight: 700 !important;
}


/* Inputs */
.g360-contact-field input,
.g360-contact-field select,
.g360-contact-field textarea {
  width: 100% !important;

  padding: 15px 16px !important;

  background: #f8fafc !important;

  border: 1px solid #d8dee8 !important;
  border-radius: 14px !important;

  color: #25334b !important;

  font-size: 15px !important;

  box-shadow: none !important;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease !important;
}


/* Focus */
.g360-contact-field input:focus,
.g360-contact-field select:focus,
.g360-contact-field textarea:focus {
  background: #ffffff !important;

  border-color: #233D74 !important;

  box-shadow:
    0 0 0 4px rgba(35, 61, 116, 0.10) !important;

  outline: none !important;
}


/* Text area */
.g360-contact-field textarea {
  min-height: 135px !important;

  resize: vertical !important;
}


/* Form spacing */
.g360-contact-form {
  gap: 18px !important;
}


/* Send button */
.g360-contact-submit {
  min-height: 52px !important;

  margin-top: 3px !important;

  padding: 15px 24px !important;

  background: #233D74 !important;
  color: #ffffff !important;

  border: 0 !important;
  border-radius: 14px !important;

  font-size: 14px !important;
  font-weight: 800 !important;

  letter-spacing: 0.15px !important;

  box-shadow:
    0 10px 24px rgba(35, 61, 116, 0.20) !important;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease !important;
}


.g360-contact-submit:hover {
  background: #1b315f !important;

  transform: translateY(-2px) !important;

  box-shadow:
    0 15px 30px rgba(35, 61, 116, 0.27) !important;
}


/* Close button */
.g360-contact-close {
  top: 18px !important;
  right: 18px !important;

  width: 42px !important;
  height: 42px !important;

  background: #f1f4f8 !important;
  color: #233D74 !important;

  border-radius: 50% !important;

  font-size: 27px !important;

  box-shadow: none !important;
}


.g360-contact-close:hover {
  background: #233D74 !important;
  color: #ffffff !important;
}


/* Direct email section */
.g360-contact-direct {
  margin-top: 10px !important;
  padding-top: 23px !important;

  color: #7a8495 !important;

  font-size: 13px !important;
  line-height: 1.65 !important;
}


.g360-contact-direct::before {
  width: 65px !important;
  height: 2px !important;

  background: linear-gradient(
    90deg,
    #E78E3D 0%,
    #2B8C82 50%,
    #E78E3D 100%
  ) !important;
}


.g360-contact-direct a {
  color: #233D74 !important;

  font-weight: 700 !important;
}


.g360-contact-direct a:hover {
  color: #E78E3D !important;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 768px) {

  .g360-contact-box {
    width: min(580px, 94vw) !important;
  }

  .g360-contact-content {
    padding:
      48px
      34px
      38px !important;
  }

  .g360-contact-content h2 {
    font-size: 32px !important;
  }

}


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

@media (max-width: 480px) {

  .g360-contact-modal {
    padding: 12px !important;
  }

  .g360-contact-box {
    width: 100% !important;
    max-height: 94vh !important;

    border-radius: 20px !important;
  }

  .g360-contact-content {
    padding:
      44px
      24px
      30px !important;
  }

  .g360-contact-content h2 {
    font-size: 28px !important;
  }

  .g360-contact-intro {
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  .g360-contact-field input,
  .g360-contact-field select,
  .g360-contact-field textarea {
    padding: 14px !important;

    font-size: 16px !important;
  }

  .g360-contact-close {
    top: 13px !important;
    right: 13px !important;

    width: 38px !important;
    height: 38px !important;
  }

}








/* =========================================================
   GÉNIE 360 — SINGLE POST RESPONSIVE LAYOUT
   Desktop : article à gauche + sidebar à droite
   Tablette : sidebar sous l'article
   Mobile : disposition verticale
========================================================= */


/* =========================================================
   DESKTOP
========================================================= */

.g360-single-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 300px;
    gap:48px;
    align-items:start;
}

.g360-single-main{
    min-width:0;
}

.g360-single-sidebar{
    min-width:0;
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:1024px){

    .g360-single-layout{
        display:block;
    }

    .g360-single-sidebar{
        margin-top:50px;
    }

}


/* =========================================================
   PHONE
========================================================= */

@media(max-width:600px){

    .g360-single-layout{
        display:block;
    }

    .g360-single-sidebar{
        margin-top:38px;
    }

}


/* =========================================================
   GÉNIE 360 — SINGLE POST SIDEBAR
   Sticky desktop + contenu entièrement accessible
========================================================= */

.g360-single-sidebar{
    min-width:0;
}


/* =========================================================
   DESKTOP
   Sidebar sticky mais scrollable si trop haute
========================================================= */

@media (min-width:1025px){

    .g360-single-sidebar{
        position:sticky !important;

        top:105px !important;

        align-self:start !important;

        max-height:calc(100vh - 125px);

        overflow-y:auto;

        overflow-x:hidden;

        padding-right:6px;

        scrollbar-width:thin;
    }


    .g360-single-sidebar::-webkit-scrollbar{
        width:4px;
    }


    .g360-single-sidebar::-webkit-scrollbar-track{
        background:transparent;
    }


    .g360-single-sidebar::-webkit-scrollbar-thumb{
        background:rgba(35,61,116,.18);

        border-radius:999px;
    }

}


/* =========================================================
   TABLET
   Pas de sticky
========================================================= */

@media (max-width:1024px){

    .g360-single-sidebar{
        position:relative !important;

        top:auto !important;

        max-height:none !important;

        overflow:visible !important;

        padding-right:0;

        margin-top:50px;
    }

}


/* =========================================================
   PHONE
========================================================= */

@media (max-width:600px){

    .g360-single-sidebar{
        margin-top:38px;
    }

}





/* =========================================================
   GÉNIE 360 — SINGLE POST GLOBAL WIDTH
   Force le même cadre sur Elementor et la page publiée
========================================================= */

.g360-single-layout{
    width:100% !important;
    max-width:1280px !important;

    margin-left:auto !important;
    margin-right:auto !important;

    padding-left:24px !important;
    padding-right:24px !important;

    box-sizing:border-box !important;

    display:grid !important;

    grid-template-columns:
        minmax(0,1fr)
        300px !important;

    gap:32px !important;

    align-items:start !important;
}


/* =========================================================
   CHILD CONTAINERS
========================================================= */

.g360-single-main,
.g360-single-sidebar{
    width:100% !important;

    min-width:0 !important;
    max-width:100% !important;

    box-sizing:border-box !important;
}


/* =========================================================
   PREVENT SIDEBAR CONTENT FROM FORCING WIDTH
========================================================= */

.g360-single-sidebar *,
.g360-single-sidebar *::before,
.g360-single-sidebar *::after{
    box-sizing:border-box;
}


.g360-post-sidebox{
    width:100% !important;
    max-width:100% !important;
}


.g360-single-sidebar img{
    max-width:100% !important;
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:1024px){

    .g360-single-layout{
        display:block !important;

        padding-left:20px !important;
        padding-right:20px !important;
    }

}


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

@media(max-width:600px){

    .g360-single-layout{
        padding-left:14px !important;
        padding-right:14px !important;
    }

}










/* =========================================================
   STYLE — g360-post-meta (version finale, bleu Génie 360)
   À coller dans Additional CSS (WordPress) ou style.css
   ========================================================= */

.g360-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 14px auto 30px;
    padding: 0.85rem 1.4rem;
    width: fit-content;
    max-width: calc(100% - 30px);

    font-family: Montserrat, Arial, sans-serif;
    background: #ffffff;
    border: 1px solid #e6e8ee;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

/* Icônes rondes — bleu par défaut (date), vert pour catégories */
.g360-meta-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #eaeef7;
}

.g360-meta-icon {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #233d74;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.g360-post-categories .g360-meta-icon-wrap {
    background: #eaeef7;
}

.g360-post-categories .g360-meta-icon {
    stroke: #233d74;
}

.g360-post-categories .g360-meta-label {
    font-size: 13px;
    font-weight: 700;
    color: #216b39;
}

/* Date */
.g360-post-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.g360-post-date .g360-meta-label {
    font-size: 13px;
    color: #7c818c;
}

.g360-post-date time {
    font-size: 13px;
    font-weight: 700;
    color: #233d74;
}

/* Séparateur entre date et catégories */
.g360-meta-separator {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #d7dae1;
    flex: 0 0 4px;
}

/* Catégories */
.g360-post-categories {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.g360-post-categories a,
.g360-post-categories a:link,
.g360-post-categories a:visited {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: #374151 !important;
    background: #f3f4f7 !important;
    border: 1px solid #e6e8ee;
    border-radius: 999px;

    text-decoration: none !important;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.g360-post-categories a:hover,
.g360-post-categories a:focus {
    color: #ffffff !important;
    background: #233d74 !important;
    border-color: #233d74;
}

/* Supprime l'ancien séparateur entre catégories (remplacé par le gap) */
.g360-category-sep {
    display: none !important;
}

/* Fallback si pas de catégorie */
.g360-no-category {
    font-size: 12px;
    font-style: italic;
    color: #9a9fa8;
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 767px) {
    .g360-post-meta {
        flex-direction: column;
        width: calc(100% - 40px);
        max-width: 520px;
        gap: 12px;
        padding: 1rem 1.2rem;
    }

    .g360-post-date {
        width: 100%;
        justify-content: center;
    }

    .g360-meta-separator {
        display: none;
    }

    .g360-post-categories {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .g360-post-categories a,
    .g360-post-categories a:link,
    .g360-post-categories a:visited {
        width: auto;
    }
}
























/* =========================================================
   GÉNIE 360 — BOÎTE « À RETENIR »
   Composant générique et réutilisable
========================================================= */

.g360-key-box {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  width: 100%;
  box-sizing: border-box;

  margin: 40px 0 44px;
  padding: 38px 42px 40px;

  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(0,164,153,.13) 0%,
      transparent 30%
    ),
    radial-gradient(
      circle at 88% 82%,
      rgba(231,142,61,.11) 0%,
      transparent 28%
    ),
    #233D74;

  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;

  box-shadow:
    0 18px 42px rgba(35,61,116,.20),
    inset 0 1px 0 rgba(255,255,255,.07);
}


/* =========================================================
   DÉCORATION — HAUT DROITE
========================================================= */

.g360-key-box::before {
  content: "";

  position: absolute;

  width: 300px;
  height: 300px;

  top: -205px;
  right: -90px;

  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;

  box-shadow:
    0 0 0 42px rgba(255,255,255,.018),
    0 0 0 84px rgba(255,255,255,.010);

  pointer-events: none;

  z-index: 0;
}


/* =========================================================
   DÉCORATION — BAS GAUCHE
========================================================= */

.g360-key-box::after {
  content: "";

  position: absolute;

  width: 210px;
  height: 210px;

  bottom: -155px;
  left: -65px;

  border: 1px solid rgba(255,255,255,.06);
  border-radius: 50%;

  box-shadow:
    0 0 0 35px rgba(255,255,255,.012);

  pointer-events: none;

  z-index: 0;
}


/* =========================================================
   LABEL « À RETENIR »
========================================================= */

.g360-key-label {
  position: relative;

  z-index: 2;

  display: flex;

  align-items: center;
  justify-content: center;

  gap: 10px;

  margin: 0 0 14px;

  color: #E78E3D;

  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;

  letter-spacing: 1.5px;

  text-transform: uppercase;
}


/* =========================================================
   POINT ORANGE
========================================================= */

.g360-key-dot {
  display: inline-block;

  width: 9px;
  height: 9px;

  flex: 0 0 9px;

  border-radius: 50%;

  background: #E78E3D;

  box-shadow:
    0 0 0 5px rgba(231,142,61,.13),
    0 0 18px rgba(231,142,61,.28);
}


/* =========================================================
   TEXTE
========================================================= */

.g360-key-box p {
  position: relative;

  z-index: 2;

  max-width: 780px;

  margin: 0 auto !important;

  color: rgba(255,255,255,.94) !important;

  font-size: 19px !important;
  font-weight: 600 !important;
  line-height: 1.75 !important;

  text-align: center !important;
}


/* =========================================================
   PETIT ACCENT INFÉRIEUR
========================================================= */

.g360-key-box p::after {
  content: "";

  display: block;

  width: 92px;
  height: 4px;

  margin: 24px auto 0;

  border-radius: 999px;

  background:
    linear-gradient(
      90deg,
      #E78E3D 0%,
      #E78E3D 30%,
      #00A499 30%,
      #00A499 70%,
      #E78E3D 70%,
      #E78E3D 100%
    );
}


/* =========================================================
   TABLETTE
========================================================= */

@media (max-width: 900px) {

  .g360-key-box {
    margin: 36px 0 40px;

    padding: 36px 30px 37px;

    border-radius: 20px;
  }


  .g360-key-box p {
    font-size: 18px !important;
  }

}


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

@media (max-width: 767px) {

  .g360-key-box {
    margin: 30px 0 34px;

    padding: 31px 22px 32px;

    border-radius: 18px;
  }


  /* À RETENIR */

  .g360-key-label {
    gap: 8px;

    margin-bottom: 12px;

    font-size: 10.5px;

    letter-spacing: 1.2px;
  }


  /* POINT ORANGE */

  .g360-key-dot {
    width: 8px;
    height: 8px;

    flex: 0 0 8px;

    box-shadow:
      0 0 0 4px rgba(231,142,61,.13),
      0 0 14px rgba(231,142,61,.25);
  }


  /* TEXTE */

  .g360-key-box p {
    font-size: 17px !important;

    line-height: 1.7 !important;
  }


  /* ACCENT INFÉRIEUR */

  .g360-key-box p::after {
    width: 76px;

    margin-top: 21px;
  }


  /* DÉCORATION HAUT DROITE */

  .g360-key-box::before {
    width: 220px;
    height: 220px;

    top: -155px;
    right: -75px;

    box-shadow:
      0 0 0 32px rgba(255,255,255,.018),
      0 0 0 64px rgba(255,255,255,.010);
  }


  /* DÉCORATION BAS GAUCHE */

  .g360-key-box::after {
    width: 165px;
    height: 165px;

    bottom: -125px;
    left: -55px;

    box-shadow:
      0 0 0 27px rgba(255,255,255,.012);
  }

}



