:root {
    --html: #d3d3d3;
    /* --loader: rgba(255, 255, 255, 0.9); */
    --menu-background: rgba(255, 255, 255, 0.65);
    --loader: rgba(75, 75, 75, 0.699);
    --color-text: black;
    --color-background: white;
    --color-text2: white;
    --color-background2: #2a2a2a;
    --color-link: #0077cc;
    --invert: invert(0);
    --invert2: invert(1);
    --opacity: 0;
    --border-radius: 10px;
    --border-color: rgba(0, 0, 0, 0.05);
    --button-border:1px solid rgba(0, 0, 0, 0.05);
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 20px;
    --transition-fast: 180ms ease;
    --transition-base: 280ms ease;
    --shadow-soft: 0 10px 30px rgba(8, 18, 36, 0.12);
    --shadow-hover: 0 16px 36px rgba(8, 18, 36, 0.2);
}

.dark:not(iframe) {
    --html: #3F4253;
    --loader: rgba(0, 0, 0, 0.9);
    --menu-background:rgba(36, 36, 40, 0.5);
    --color-text: white;
    --color-background: #2a2a2a;
    --color-text2: black;
    --color-link: #0077cc;
    --invert: invert(1);
    --invert2: invert(0);
    --opacity: 1;
    --border-radius: 10px;
    --border-color: rgba(255, 255, 255, 0.1);
    --button-border:1px solid rgba(255, 255, 255, 0.1);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-hover: 0 16px 36px rgba(0, 0, 0, 0.45);
}

html:not(iframe) {
    font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-size: cover;
    background-color: var(--html);
    width: 100%;
    right: 0px;
    left: 0px;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    padding: 10px;
}

.text-justify {
    text-align: justify;
}

body {
    margin: 0px;
    color: var(--color-text);
    line-height: 1.55;
    letter-spacing: 0.01em;
    background: radial-gradient(circle at top, rgba(55, 95, 220, 0.08), transparent 40%);
}

.parties {
    max-width: 1300px;
    margin-top: 50px;
}

* {
    text-decoration: none;
    color: var(--color-text);
}

.decoration {
    text-decoration: none !important;
    color: var(--color-text);
}

.flex-center-wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.flex-wrap {
    display: flex;
    flex-wrap: wrap;
}

.flex-space {
    display: flex;
    justify-content: space-between;
}

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

}

.flex {
    display: flex;
}

.flex-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media only screen and (min-width: 850.98px) {
    .display-2 {
        display: none;
    }

    .display-3 {
        display: none;
    }

    .flex-adapt {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .flex-adapt-space-evenly {
        display: flex;
        justify-content: space-evenly;
        flex-wrap: wrap;
    }

    .flex-adapt-space-between {
        display: flex;
        justify-content: space-between;
    }

    .reverse {
        flex-direction: initial;
    }
}

@media only screen and (max-width: 850.98px) {
    .display-1 {
        display: none;
    }

    .display-3 {
        display: none;
    }

    .flex-adapt {
        display: block;
        justify-content: center;
    }

    .flex-adapt-space-evenly {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .flex-adapt-space-between {
        display: flex;
        justify-content: center;
    }

    .reverse {
        flex-direction: column-reverse;
    }

    #player-iframe {
        max-width: 720px;
        /* Ajustez la largeur maximale selon vos besoins */
        width: 420px !important;
        height: 220px;
        /* Ajustez la hauteur selon vos besoins */
    }
}

@media only screen and (min-width: 2000.98px) {
    .flex-adapt {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .display-3 {
        display: block;
    }
}

.container {
    background-color: var(--color-background);
    box-shadow: var(--shadow-soft);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.container2 {
    background-color: var(--html);
    box-shadow: rgb(100 100 111 / 44%) 0px 7px 29px;
    border-radius: 20px;
}

.container-space {
    margin: var(--space-sm);
    padding: var(--space-xs);
}

.color-page {
    background-color: var(--html) !important;
}










#popup-back {
    position: fixed;
    background-color: rgba(139, 139, 139, 0.315);
    z-index: 10;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

#popup-contain {
    position: fixed;
    top: 2vh;
    width: 95vw;
    max-height: 80vh;
    z-index: 11;
}

#popup-contain iframe {
    border-radius: 10px;
    border: 5px solid var(--html);
    margin: auto;
    width: 96%;
    height: 82%;
    /* 86 without footer-bar */
}

.popup-container {
    border: 5px solid var(--html);
    padding: 0px;
}

#popup-head {
    display: flex;
    flex-direction: row-reverse;
}

#popup-close {
    margin: 10px;
    padding: 5px;
    background-color: var(--html);
}

#popup-img {
    width: 45px;
    height: 45px;
    content: url("/site/images/x-close-delete.svg");
    filter: var(--invert);
}

#popup-footer {
    display: flex;
    justify-content: space-around;
}

#popup-footer h4 {
    background-color: var(--html)
}










.popup-error {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    font-size: 14px;
    opacity: 0.9;
    transition: opacity 0.3s ease-in-out;
    animation-duration: 2s;
    animation-name: show_popup_error;
    bottom: 20px;
}

.error {
    background-color: #ff4136;
    /* Rouge */
}

.warning {
    background-color: #ff851b;
    /* Orange */
}

.success {
    background-color: #2ecc40;
    /* Vert */
}

.popup-error-close-button {
    cursor: pointer;
    margin-left: 10px;
}

@keyframes show_popup_error {
    from {
        bottom: -90px;
    }

    0% {
        bottom: -90px;
    }

    80% {
        bottom: 50px;
    }

    100% {
        bottom: 20px;
    }

    to {
        bottom: 20px;
    }
}







#floatingMenu {
    position: fixed;
    top: 50%;
    left: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.5;
    transition: opacity 0.5s;
}

#floatingMenu:hover {
    opacity: 1;
}

#floatingMenu .dot {
    width: 10px;
    height: 10px;
    background-color: #333;
    border-radius: 50%;
    margin-bottom: 10px;
    opacity: 0.5;
    cursor: pointer;
    position: relative;
}

#floatingMenu .dot.active {
    background-color: #007bff;
    opacity: 1;
}

#floatingMenu .dot:hover::after {
    content: attr(data-title);
    position: absolute;
    left: 100%;
    top: -5px;
    white-space: nowrap;
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.897);
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
    margin-left: 10px;
    z-index: 10;
}



















header {
    display: flex;
    justify-content: center;
    text-align: center;
}

#cursor {
    width: 40px;
    ;
    height: 40px;
    ;
    background: #FFFFFF;
    border-radius: 50%;
    position: fixed;
    mix-blend-mode: difference;
    pointer-events: none;
    opacity: var(--opacity);
}

*:active~#cursor {
    transform: scale(1.5);
}

.menu {
    position: fixed;
    padding: 2px;
    width: 100%;
    margin: 0 !important;
    top: 0;
    left: 0;
    right: 0;
    background: var(--menu-background);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10;
    overflow: visible;
    border-bottom: 1px solid var(--border-color);
    box-sizing: border-box;
    border-radius: 0 !important;
    transition: width 600ms ease-in-out, transform 600ms ease-in-out;
}

/* Centrage vertical des blocs du nav (dont les deux logos à droite) en version bureau */
.menu .flex-space {
    align-items: center;
}

.menu .flex-space > .flex {
    align-items: center;
}

/* Lien et bouton connexion/paramètres : centrage vertical des icônes dans la barre */
.menu .flex-space > .flex a,
.menu .flex-space > .flex button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.menu .flex-space > .flex img {
    display: block;
}

/* Panneau des paramètres (header) */
#settings-site {
    background-color: var(--color-background);
    color: var(--color-text);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    min-width: 260px;
    pointer-events: auto;
}

.hamburger {
    padding: 10px;
}

.hamburger-line {
    width: 35px;
    height: 3px;
    background-color: var(--color-text);
    margin: 6px;
    border-radius: 10px;
}

button {
    padding: 0px;
    margin: 0px;
    background: none;
    border: none;
    cursor: pointer;
}

.button {
    border-radius: 20px;
    padding: 10px 14px;
    margin: 4px;
    border: var(--button-border);
    transition: color var(--transition-base), background-image var(--transition-base), transform var(--transition-fast), box-shadow var(--transition-fast) !important;
}

.mobile {
    padding: 20px;
    margin: 10px;
}

.disabled {
    background: linear-gradient(292deg, rgb(39, 43, 44) 0.00%, rgb(241, 60, 43) 100.00%);
    color: white;
}

.button:hover,
div.menu img:hover {
    color: white;
    background-image: linear-gradient(132deg, rgb(2, 28, 122) 0.00%, rgb(36, 83, 255) 100.00%);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(8, 18, 36, 0.25);
}

.button:active {
    border: 2px #1edee9 solid;
}

.selected {
    border: 2px #1edee9 solid;
}

div.menu img {
    height: 35px;
    border-radius: 20px;
    padding: 10px;
    margin: 3px;
    cursor: pointer;
}

.titrewebsite {
    text-shadow: 2px -3px 2px #ff0000, -2px 3px 2px #37cec3;
    font-size: 30px;
    padding: 0px;
    margin: 0px;
    margin-right: 30px;
}

.page {
    margin-top: 150px;
    width: 100%;
}

.checkbox-theme:checked+.label-theme .ball-theme {
    transform: translateX(24px);
}

.checkbox-theme {
    opacity: 0;
    position: absolute;
}

.label-theme {
    width: 50px;
    height: 26px;
    background: var(--color-text);
    border-radius: 50px;
    padding: 5px;
    position: relative;
    /*border: solid 2px var(--color-text);*/
}

.ball-theme {
    position: absolute;
    top: 7px;
    left: 7px;
    width: 22px;
    height: 22px;
    background: var(--color-background);
    border-radius: 50%;
    transition: transform 200ms linear;
}

.checkbox:checked+.label .ball {
    transform: translateX(24px);
    background-color: var(--color-background);
}

.checkbox:checked+.label {
    background-color: var(--color-text);
    border: solid 2px var(--color-background);
}

.input[type=checkbox]:focus+label,
div.menu img:focus {
    border: solid 2px #1edee9;
}

.checkbox {
    opacity: 0;
    position: absolute;
}

.label {
    width: 50px;
    height: 26px;
    background: var(--color-background);
    border-radius: 50px;
    padding: 5px;
    position: relative;
    border: solid 2px var(--color-text);
}

.theme {
    margin-left: 20px;
}

.ball {
    position: absolute;
    top: 7px;
    left: 7px;
    width: 22px;
    height: 22px;
    background: var(--color-text);
    border-radius: 50%;
    transition: transform 200ms linear;
}































.widescreen-btn {
    width: 282px;
    height: 60px;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.widescreen-txt {
    text-align: center;
    transform: rotateX(0deg);
    margin-top: 10px;
}

.widescreen-img {
    text-align: center;
    margin-left: 45px;
}

.widescreen-btn:hover .widescreen-txt {
    transform: rotateX(-90deg);
}

.widescreen-btn:hover .widescreen-img {
    transform: rotateX(0deg);
}

/*@font-face {
    font-family: 'proxima_nova_rgregular';
    src: url('https://litmus.com/fonts/Emails/proximanova-regular-webfont.eot');
    src: url('https://litmus.com/fonts/Emails/proximanova-regular-webfont.eot?#iefix') format('embedded-opentype'), url('https://litmus.com/fonts/Emails/proximanova-regular-webfont.woff') format('woff'), url('https://litmus.com/fonts/Emails/proximanova-regular-webfont.ttf') format('truetype'), url('https://litmus.com/fonts/Emails/proximanova-regular-webfont.svg#proxima_nova_rgregular') format('svg');
    font-weight: normal;
    font-style: normal;
}*/















.search-bar-container {
    display: flex;
    align-items: center;
    max-width: 400px;
    /* Adjust as needed */
    margin: 0 auto;
    padding: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Style for the Search Input */
.search-input {
    border: none;
    margin: 5px;
    padding: 8px;
    font-size: 16px;
    color: var(--color-text);
    background-color: #34343499;
    border-radius: var(--border-radius);
}

.search-input:focus {
    outline: none;
}


















#arrow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 70px;
}

.arrow-scroll {
    display: block;
    height: 60px;
    width: 60px;
    position: relative;
    cursor: pointer;
    animation-name: arrow-animation;
    animation-duration: 1.0s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    border-radius: 50%;

    box-shadow: rgb(100 100 111 / 44%) 0px 7px 29px;
}

.arrow-scroll:nth-child(3) {
    animation-delay: 1.3s;
    margin-top: -30px;
}

.arrow-scroll:nth-child(2) {
    animation-delay: 1.2s;
    margin-top: -30px;
}

.arrow-scroll:nth-child(1) {
    animation-delay: 1.1s;
    margin-top: -30px;
}

.arrow-scroll:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-left: 3px solid rgb(0, 0, 0);
    border-bottom: 3px solid rgb(0, 0, 0);
    transform: rotate(-45deg);
}

@keyframes arrow-animation {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    66.6% {
        transform: translateY(40px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

#scroll-text {
    position: absolute;
    bottom: 150px;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 16px;
    font-weight: bold;
}


























.page img {
    transition: transform var(--transition-base), filter var(--transition-base);
}

.page img:hover {
    transform: scale(1.03);
}

#photo-profile::before {
    content: " ";
    position: absolute;
    background-color: green;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

#status-container {
    position: absolute;
    background-color: var(--html);
    border-radius: 20px;
    margin-top: 137px;
    margin-left: 189px;
    display: flex;
}

#text-profile {
    margin-top: -25px;
    padding: 10px;
    padding-top: 25px;
    z-index: 10;
    margin-bottom:25px;
}

/* #text-profile::before {
    height: 90px;
    width: 90px;
    border-radius: 50%;
    background-color: rgb(160, 160, 160, 0.6);
    z-index: -1;
    margin-top: -20px;
    margin-left: -30px;
    position: absolute;
    content: "";
    animation: rotate-disk 5s infinite;
}

#text-profile::after,
#text-profile::before {
    position: absolute;
    content: "";
    height: 90px;
    width: 90px;
    border-radius: 50%;
    background-image: linear-gradient(132deg, rgb(2, 28, 122) 0.00%, rgb(255 0 0) 100.00%);
    z-index: -1;
}

#text-profile::after {
    margin-top: -85px;
    margin-left: 223px;
    animation: rotate-disk 5s infinite;
} */

@keyframes rotate-disk {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}






















.projects {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.projects-item {
    background-color: var(--color-background);
    box-shadow: rgb(100 100 111 / 44%) 0px 7px 29px;
    border-radius: 20px;
    margin: 10px;
    padding: 10px;
    text-align: center;
    transition: transform 200ms;
}

.projects-item:hover {
    transform: scale(1.1);
}

.projects-img {
    width: 100%;
    max-width: 150px;
    max-height: 120px;
    border-radius: 20px;
    object-fit: contain;
}





.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.grid-item {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    gap: var(--space-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.grid-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}


















.portfolio-background {
    position: relative;
    width: 100%;
    max-height: 200px;
    max-height: 275px;
    object-fit: cover;
}

.portfolio-div {
    position: relative;
    z-index: 1;
    margin-top: -50px;
    width: 100%;
    height: 50px;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    background-color: var(--html);
}

.dotbox {
    width: 100%;
    display: flex;
    justify-content: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: grey;
    margin: 10px;
}

.lycee {
    margin-top: 20px;
}

.lycee h4 {
    text-align: center;
}

.texte-lycee {
    margin: 20px;
}

.images_lycee {
    height: 150px;
    border-radius: 10px;
    object-fit: contain;
}

.images-present-lycee {
    max-width: 280px;
    border-radius: var(--border-radius);
    transition: all 0.5s ease-in-out;
}

.images-present-lycee:hover {
    transform: scale(2.2);
}

.images_missions {
    height: 95px;
    border-radius: 10px;
    object-fit: contain;
}

.container-mission {
    /* max-width:280px; */
    max-width: 245px;
    text-align: center;
}

.competences-titre {
    padding: 5px;
    margin: 5px;
    background-color: var(--html);
}

.competences {
    padding: 30px;
    margin: 20px;
}

























.tag-bubble {
    background-color: #3498db;
    /* Couleur de fond des bulles */
    color: #fff;
    /* Couleur du texte des bulles */
    border-radius: 16px;
    /* Bord arrondi pour les bulles */
    padding: 8px 12px;
    /* Espacement interne des bulles */
    margin-right: 8px;
    /* Marge à droite entre les bulles */
    margin-bottom: 8px;
    /* Marge en bas entre les bulles */
    display: inline-block;
    /* Permet aux bulles de rester sur la même ligne */
}

.stream-info {
    text-align: center;
}

#stream-logo {
    object-fit: contain;
    /* pour conserver les proportions de l'image */
    border-radius: var(--border-radius);
    /* Bord arrondi pour le logo */
    margin-right: 16px;
    /* Marge à droite du logo */
}

#stream-tags {
    list-style: none;
    padding: 0;
    margin: 0;
}

#stream-widget {
    max-width: 1300px;
    /* Ajustez la largeur maximale selon vos besoins */
    width: 100%;
}

#player-iframe {
    width: 720px;
    /* Ajustez la largeur maximale selon vos besoins */
    height: 420px;
    /* Ajustez la hauteur selon vos besoins */
}

#chat-iframe {
    width: 380px;
    /* Ajustez la largeur maximale selon vos besoins */
    height: 720px;
    /* Ajustez la hauteur selon vos besoins */
}

#stream-viewers {
    height: 20px;
    margin: 2px;
}
























































#ai-choise ul {
    list-style: none;
    list-style-type: none;
    display: grid;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
    padding: 0px;
    margin: 0px;
    padding-right: 3px;
}

#ai-choise li {
    list-style: none;
    list-style-type: none;
    margin: 5px;
}

#ai-choise span {
    display: block;
}

#ai-choise .label-modifier {
    font-size: 10px;
    display: block;
}

#ai-choise button {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 3px;
}




































.contact-contain {
    background-color: var(--color-background);
    margin: 10px;
    border-radius: 10px;
    padding: 10px;
}


































code[class*=language-],
pre[class*=language-] {
    color: var(--color-text);
    font-size: 1em;
    text-align: left;
    line-height: 1.5;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
    margin:5px;
}

code[class*=language-] ::-moz-selection,
code[class*=language-]::-moz-selection,
pre[class*=language-] ::-moz-selection,
pre[class*=language-]::-moz-selection {
    text-shadow: none;
    background: #b3d4fc
}

code[class*=language-] ::selection,
code[class*=language-]::selection,
pre[class*=language-] ::selection,
pre[class*=language-]::selection {
    text-shadow: none;
    background: #b3d4fc
}

@media print {

    code[class*=language-],
    pre[class*=language-] {
        text-shadow: none
    }
}

pre[class*=language-] {
    padding: 1em;
    margin: .5em 0;
    overflow: auto
}

:not(pre)>code[class*=language-],
pre[class*=language-] {
    background: #f5f2f0
}

:not(pre)>code[class*=language-] {
    padding: .1em;
    border-radius: .3em;
    white-space: normal
}

.token.cdata,
.token.comment,
.token.doctype,
.token.prolog {
    color: #708090
}

.token.punctuation {
    color: #999
}

.token.namespace {
    opacity: .7
}

.token.boolean,
.token.constant,
.token.deleted,
.token.number,
.token.property,
.token.symbol,
.token.tag {
    color: #905
}

.token.attr-name,
.token.builtin,
.token.char,
.token.inserted,
.token.selector,
.token.string {
    color: #690
}

.language-css .token.string,
.style .token.string,
.token.entity,
.token.operator,
.token.url {
    color: #9a6e3a;
    background: hsla(0, 0%, 100%, .5)
}

.token.atrule,
.token.attr-value,
.token.keyword {
    color: #07a
}

.token.class-name,
.token.function {
    color: #dd4a68
}

.token.important,
.token.regex,
.token.variable {
    color: #e90
}

.token.bold,
.token.important {
    font-weight: 700
}

.token.italic {
    font-style: italic
}

.token.entity {
    cursor: help
}




















#wp-articles a {
    text-decoration: underline;
    /* Ou retirez cette ligne si vous voulez le comportement par défaut */
}

#wp-articles a:hover {
    text-decoration: underline;
    /* Ajout d'une décoration sur le hover */
}

#wp-articles a:visited {
    color: inherit;
    /* Ajustez si vous voulez un style spécifique pour les liens visités */
}














/* ==== GLOBAL ARTICLE STYLING ==== */
#wp-articles {
    font-size: 16px;
    letter-spacing: 0.4px;
    color: var(--color-text);
    border-radius: 12px;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); */
}

/* ==== HEADINGS ==== */
#wp-articles h1, #wp-articles h2, #wp-articles h3, 
#wp-articles h4, #wp-articles h5, #wp-articles h6 {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: var(--color-text);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

#wp-articles h1 {
    font-size: 2.2rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

#wp-articles h2 {
    font-size: 1.8rem;
    color: var(--color-text);
}

#wp-articles h3 {
    font-size: 1.5rem;
    color: var(--color-text);
}

/* ==== PARAGRAPHS & TEXT ==== */
#wp-articles p {
    margin: 1rem 0;
    text-align: justify;
    line-height: 1.8;
}

/* ==== LINKS ==== */
#wp-articles a {
    color: var(--color-link);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 119, 204, 0.2);
    transition: color 0.3s ease, border-color 0.3s ease;
}

#wp-articles a:hover {
    color: #005999;
    border-bottom-color: rgba(0, 119, 204, 0.5);
}

/* ==== LISTS ==== */
#wp-articles ul, #wp-articles ol {
    margin: 1rem 0 1rem 2rem;
    line-height: 1.8;
}

#wp-articles li {
    margin-bottom: 0.5rem;
}

/* ==== BLOCKQUOTES ==== */
#wp-articles blockquote {
    border-left: 4px solid #0077cc;
    padding: 0.5rem 1rem;
    margin: 1.5rem 0;
    background-color: #f9f9f9;
    font-style: italic;
    color: #555;
}

/* ==== IMAGES ==== */
#wp-articles img {
    max-width: 100%;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ==== CODE BLOCKS ==== */
#wp-articles pre, #wp-articles code {
    font-family: 'Fira Code', 'Courier New', monospace;
    background-color: #f5f5f5;
    color: #e53935;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    overflow-x: auto;
}

#wp-articles pre {
    padding: 1rem;
    margin: 1.5rem 0;
    line-height: 1.6;
}

/* ==== TABLES ==== */
#wp-articles table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

#wp-articles th, #wp-articles td {
    border: 1px solid #ddd;
    padding: 0.8rem;
    text-align: left;
}

#wp-articles th {
    background-color: #f4f4f4;
    color: #222;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
    #wp-articles {
        padding: 1.5rem;
        font-size: 16px;
    }

    #wp-articles h1 {
        font-size: 1.8rem;
    }

    #wp-articles h2 {
        font-size: 1.5rem;
    }

    #wp-articles h3 {
        font-size: 1.3rem;
    }
}





















/* Style général pour le sommaire */
#sommaire-article {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--html);
    /* Couleur de fond légère */
    border: 1px solid #ddd;
    /* Bordure légère */
    border-radius: 5px;
    /* padding: 15px;
    margin: 20px 0; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Légère ombre pour un effet moderne */
    max-width: 300px;
}

/* Titre du sommaire */
#sommaire-article::before {
    content: "Sommaire";
    font-weight: bold;
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
    color: var(--color-text);
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

/* Liens du sommaire */
#sommaire-article a {
    display: block;
    text-decoration: none;
    /* margin: 5px 0;
    padding: 5px 10px; */
    /* color: #0073aa; Couleur principale des liens */
    color: var(--color-text) !important;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Survol des liens */
#sommaire-article a:hover {
    background-color: #0073aa;
    color: #fff;
    /* Texte blanc au survol */
}

/* Style pour les niveaux de titres */
.title_lvl {
    font-weight: bold;
    margin-right: 5px;
    /* color: #555; */
    color: var(--color-text);
}

/* Styles spécifiques pour chaque niveau */
.title_lvl2 {
    margin-left: 0;
    /* Premier niveau aligné à gauche */
    font-size: 16px;
    font-weight: bold;
}

.title_lvl3 {
    margin-left: 15px;
    /* Indentation pour le niveau 2 */
    font-size: 14px;
    font-style: italic;
    /* color: #666; */
}

.title_lvl4 {
    margin-left: 30px;
    /* Indentation pour le niveau 3 */
    font-size: 13px;
    /* color: #999; */
    color: var(--color-text);
}

/* Réactivité pour mobile */
@media (max-width: 850.98px) {
    #sommaire-article {
        max-width: 100%;
        /* Adapter à la largeur de l'écran */
        padding: 10px;
    }

    #sommaire-article a {
        font-size: 14px;
    }
}











/* Conteneur de la recherche (blog) */
.search-container {
    width: 98%;
    box-sizing: border-box;
    border-radius: calc(var(--border-radius) + 6px);
    padding: var(--space-md);
    background-color: var(--color-background);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Champ de recherche */
#search-keyword {
    flex: 1 1 auto;
    max-width: 100%;
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    font-size: 16px;
    transition: all 0.3s ease;
}

#search-keyword:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.35);
}

/* Bouton de recherche */
#search-button {
    padding: 10px 20px;
    font-size: 14px;
    color: #fff;
    background-image: linear-gradient(132deg, rgb(2, 28, 122) 0%, rgb(36, 83, 255) 100%);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-soft);
}

#search-button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

#search-button:active {
    transform: scale(0.98);
}

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: var(--space-sm);
}

.category-button {
    border-radius: 999px;
    border: 1px solid var(--border-color);
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.9em;
    background-color: var(--color-background);
}

.category-button.selected {
    background-image: linear-gradient(132deg, rgb(2, 28, 122) 0%, rgb(36, 83, 255) 100%);
    color: #fff;
    border-color: transparent;
}

.category-button:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

.category-button.selected:hover {
    filter: brightness(1.05);
}

/* Style pour le conteneur des résultats */
#articles-container {
    margin-top: 65px;
    width: 100%;
    color: #000;
}


.category-badge {
    background-color: #007bff;
    color: #fff !important;
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 5px;
    text-wrap-mode: nowrap;
    margin:3px;
}









.code-block, code {
    position: relative;
    margin-bottom: 15px;
    border-radius: 5px;
    background-color: #888888ab;
    white-space: pre-wrap; /* Permet le retour à la ligne */
    overflow-x: auto; /* Ajoute un scroll horizontal si nécessaire */
    word-wrap: break-word; /* Casse les mots longs */
}

.code-block pre {
    padding: 10px;
    overflow-x: auto; /* Pour le défilement horizontal si le code est trop long */
    white-space: pre-wrap; /* Empêche le code de déborder et le fait passer à la ligne */
    font-family: monospace, monospace;
    font-size: 14px;
    line-height: 1.4;
}

.copy-code-button {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #4CAF50; /* Vert */
    border: none;
    color: white;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    cursor: pointer;
    border-radius: 3px;
}

.copy-code-button:hover {
    background-color: #3e8e41;
}