/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jul 25 2025 | 15:11:10 */
/* ===== VARIABLES CSS KOSMOS ===== */
:root {
    --kosmos-red: #dc3232;
    --kosmos-purple: #6700ff;
    --kosmos-dark-blue: #13294c;
    --kosmos-dark-gray: #22272a;
    --kosmos-text-dark: #1d2327;
    --kosmos-black: #000000;
    --kosmos-white: #ffffff;
    --kosmos-light-blue: #f0f6fc99;
    --kosmos-light-gray: #f0f0f1;
    --kosmos-cyan: #30f0be;
    --kosmos-gray: #cccccc;
    --kosmos-medium-gray: #c3c4c7;
    --kosmos-teal: #2cd8ab;
    --kosmos-blue: #2ea3f2;
    --kosmos-light-purple: #974df3;
    --kosmos-very-dark: #0a0a0a;
    --kosmos-line: rgba(103, 0, 255, 0.15);
    --kosmos-transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== CHAPÔ BLOG KOSMOS - MODERNE ===== */
.david_chapo_blog {
    max-width: 100%;
    margin: 0 auto 3em auto;
    padding: 2.5em 3em;
    border-radius: 1em;
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(103, 0, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.david_chapo_blog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--kosmos-purple), var(--kosmos-cyan), transparent);
    border-radius: 1em 1em 0 0;
}

.david_chapo_blog::after {
    content: '';
    position: absolute;
    top: 1.5em;
    right: 2em;
    width: 8px;
    height: 8px;
    background: var(--kosmos-cyan);
    border-radius: 50%;
    opacity: 0.6;
}

.david_chapo_blog:hover {
    transform: translateY(-2px);
    border-color: rgba(103, 0, 255, 0.15);
    box-shadow: 0 8px 30px rgba(103, 0, 255, 0.06);
}

.david_chapo_blog:hover::after {
    opacity: 1;
    transform: scale(1.2);
}

.david_chapo_blog p {
    font-size: 1.15em;
    line-height: 1.7;
    color: var(--kosmos-text-dark);
    font-weight: 400;
    margin: 0;
    font-style: italic;
    position: relative;
}

.david_chapo_blog p::before {
    content: '';
    position: absolute;
    left: -0.5em;
    top: 0.3em;
    width: 2px;
    height: 1.2em;
    background: var(--kosmos-purple);
    border-radius: 2px;
    opacity: 0.3;
}

.david_chapo_blog strong {
    font-weight: 600;
    color: var(--kosmos-purple);
    position: relative;
}

.david_chapo_blog strong::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--kosmos-cyan), transparent);
    opacity: 0.3;
}

.david_chapo_blog em {
    font-style: italic;
    color: var(--kosmos-dark-blue);
}

.david_chapo_blog a {
    color: var(--kosmos-purple);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--kosmos-transition);
    padding: 0.1em 0.3em;
    border-radius: 0.3em;
}

.david_chapo_blog a:hover {
    color: var(--kosmos-red);
    background: rgba(103, 0, 255, 0.05);
}

.david_chapo_blog a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.3em;
    right: 0.3em;
    height: 1px;
    background: var(--kosmos-cyan);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.david_chapo_blog a:hover::after {
    transform: scaleX(1);
}

/* ===== ARTICLE BLOG CONTAINER KOSMOS ===== */
.david_blog_article {
    max-width: 50em;
    margin: 0 auto 4em auto;
    padding: 2em 0;
    position: relative;
    line-height: 1.7;
}

/* ===== TITRES KOSMOS ===== */
.david_blog_article h2 {
    font-size: 1.75em;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 1em 0;
    color: var(--kosmos-text-dark);
    position: relative;
    padding-bottom: 0.5em;
}

.david_blog_article h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3em;
    height: 2px;
    background-color: var(--kosmos-purple);
}

.david_blog_article h3 {
    font-size: 1.4em;
    font-weight: 600;
    line-height: 1.3;
    margin: 1.5em 0 0.8em 0;
    color: var(--kosmos-text-dark);
    border-left: 3px solid rgba(103, 0, 255, 0.3);
    padding-left: 0.75em;
}

.david_blog_article h4 {
    font-size: 1.15em;
    font-weight: 600;
    line-height: 1.4;
    margin: 1.2em 0 0.6em 0;
    color: var(--kosmos-dark-gray);
    position: relative;
}

.david_blog_article h4::before {
    content: '';
    position: absolute;
    left: -0.5em;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 1em;
    background-color: var(--kosmos-purple);
    border-radius: 2px;
}

/* ===== PARAGRAPHES KOSMOS ===== */
.david_blog_article p {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 1.2em;
    color: var(--kosmos-dark-gray);
}

.david_blog_article p:last-child {
    margin-bottom: 0;
}

/* Premier paragraphe après H2 */
.david_blog_article h2 + p {
    font-size: 1.1em;
    color: var(--kosmos-text-dark);
    font-weight: 400;
    margin-bottom: 1.5em;
}

/* ===== TEXTE EN GRAS KOSMOS ===== */
.david_blog_article strong {
    font-weight: 600;
    color: var(--kosmos-text-dark);
}

/* ===== TEXTE EN ITALIQUE KOSMOS ===== */
.david_blog_article em {
    font-style: italic;
    color: var(--kosmos-medium-gray);
}

/* ===== LIENS KOSMOS ===== */
.david_blog_article a {
    color: var(--kosmos-purple);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--kosmos-transition);
    border-bottom: 1px solid transparent;
}

.david_blog_article a:hover {
    color: var(--kosmos-red);
    border-bottom-color: rgba(103, 0, 255, 0.4);
}

.david_blog_article a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -1px;
    left: 0;
    background-color: var(--kosmos-purple);
    transition: width 0.3s ease;
}

.david_blog_article a:hover::after {
    width: 100%;
}

/* ===== LISTES NON ORDONNÉES KOSMOS ===== */
.david_blog_article ul {
    margin: 1.2em 0;
    padding-left: 1.5em;
}

.david_blog_article ul li {
    margin-bottom: 0.8em;
    line-height: 1.6;
}

.david_blog_article ul li::marker {
    color: var(--kosmos-purple);
}

.david_blog_article ul li:last-child {
    margin-bottom: 0;
}

/* ===== LISTES ORDONNÉES KOSMOS ===== */
.david_blog_article ol {
    margin: 1.2em 0;
    padding-left: 1.8em;
}

.david_blog_article ol li {
    margin-bottom: 0.8em;
    line-height: 1.6;
}

.david_blog_article ol li::marker {
    color: var(--kosmos-purple);
    font-weight: 600;
}

.david_blog_article ol li:last-child {
    margin-bottom: 0;
}

/* ===== LISTES IMBRIQUÉES KOSMOS ===== */
.david_blog_article ul ul,
.david_blog_article ol ol,
.david_blog_article ul ol,
.david_blog_article ol ul {
    margin: 0.8em 0;
    padding-left: 1em;
}

/* ===== SOURCES BLOG KOSMOS ===== */
.david_sources_blog {
    max-width: 100%;
    margin: 3em auto 0 auto;
    padding: 2em;
    border-top: 2px solid var(--kosmos-red);
    position: relative;
}

.david_sources_blog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4em;
    height: 1px;
    background: linear-gradient(90deg, var(--kosmos-red), transparent);
}

.david_sources_blog h2 {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--kosmos-text-dark);
    margin: 0 0 1.2em 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.david_sources_blog h2::after {
    content: '';
    position: absolute;
    bottom: -0.3em;
    left: 0;
    width: 2em;
    height: 1px;
    background-color: var(--kosmos-red);
}

.david_sources_blog ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.david_sources_blog ul li {
    position: relative;
	list-style: none;
    padding-left: 1.5em;
    margin-bottom: 0.8em;
    line-height: 1.5;
}

.david_sources_blog ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0.1em;
    color: var(--kosmos-red);
    font-weight: bold;
    font-size: 1em;
}

.david_sources_blog ul li:last-child {
    margin-bottom: 0;
}

.david_sources_blog a {
    color: var(--kosmos-dark-gray);
    text-decoration: none;
    font-size: 1em;
    transition: var(--kosmos-transition);
}

.david_sources_blog a:hover {
    color: var(--kosmos-red);
}

.david_sources_blog strong {
    color: var(--kosmos-red);
    font-weight: 600;
}

/* ===== BLOC AUTEUR KOSMOS - NOUVEAU DESIGN ===== */
.david_author_card {
    background: white;
    border-radius: 1.2em;
    box-shadow: 0 8px 32px rgba(103, 0, 255, 0.08);
    overflow: hidden;
    margin: 4em auto;
    max-width: 100%;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(103, 0, 255, 0.05);
}

.david_author_card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(103, 0, 255, 0.12);
    border-color: rgba(103, 0, 255, 0.1);
}

.david_author_header {
    display: flex;
    align-items: center;
    padding: 2.5em;
    background: linear-gradient(135deg, rgba(103, 0, 255, 0.02) 0%, transparent 70%);
    border-bottom: 1px solid rgba(103, 0, 255, 0.08);
    gap: 2em;
}

.david_author_avatar {
    width: 7em;
    height: 7em;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 4px solid white;
    box-shadow: 
        0 4px 16px rgba(103, 0, 255, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.david_author_avatar::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.david_author_card:hover .david_author_avatar::after {
    opacity: 0.6;
}

.david_author_card:hover .david_author_avatar {
    transform: scale(1.05);
}

.david_author_avatar img {
    display: none;
}

.david_author_meta {
    flex: 1;
    min-width: 0;
}

.david_author_label {
    color: #c3c4c7;
    font-size: 0.85em;
    margin-bottom: 0.5em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.david_author_name {
    margin: 0 0 0.4em 0;
    font-size: 1.6em;
    font-weight: 700;
    color: #13294c;
    line-height: 1.2;
}

.david_author_title {
    color: #dc3232;
    font-style: italic;
    margin-bottom: 1.2em;
    font-size: 1em;
    line-height: 1.4;
}

.david_author_linkedin {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    text-decoration: none;
    font-size: 0.9em;
    color: white;
    padding: 0.7em 1.4em;
    background: linear-gradient(135deg, #0077B5, #00A0DC);
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 119, 181, 0.2);
}

.david_author_linkedin:hover {
    background: linear-gradient(135deg, #005885, #0077B5);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 119, 181, 0.3);
}

.david_author_bio {
    padding: 2em 2.5em;
    background: linear-gradient(135deg, rgba(248, 248, 248, 0.8) 0%, rgba(240, 246, 252, 0.4) 100%);
    position: relative;
}

.david_author_bio p {
    margin: 0;
    line-height: 1.7;
    color: #22272a;
    font-size: 1em;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* ===== IMAGES ===== */
.david_img-blog {
	border-radius: 5vh;
}

/* ===== TABLEAUX KOSMOS CORRIGÉS ===== */
.david_blog_article div[style*="overflow-x: auto"],
.david_sources_blog div[style*="overflow-x: auto"] {
    margin: 2em 0;
    overflow-x: auto;
    border-radius: 0.5em;
}

.david_blog_article table,
.david_sources_blog table {
    width: 100%;
    max-width: 100%;
    margin: 2em auto;
    border-collapse: collapse;
    font-size: 1em;
}

/* En-têtes */
.david_blog_article table th,
.david_sources_blog table th {
    color: var(--kosmos-text-dark);
    background-color: transparent;
    padding: 1.2em 1em;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--kosmos-purple);
}

/* Première colonne d'en-tête alignée à gauche */
.david_blog_article table th:first-child,
.david_sources_blog table th:first-child {
    text-align: left;
    padding-left: 1.5em;
}

/* Lignes verticales */
.david_blog_article table th:not(:last-child),
.david_blog_article table td:not(:last-child),
.david_sources_blog table th:not(:last-child),
.david_sources_blog table td:not(:last-child) {
    border-right: 1px solid var(--kosmos-line);
}

/* Cellules */
.david_blog_article table td,
.david_sources_blog table td {
    padding: 1.2em 1em;
    border: none;
    border-bottom: 1px solid var(--kosmos-line);
    color: var(--kosmos-text-dark);
    text-align: center;
}

/* Première colonne en gras et alignée à gauche */
.david_blog_article table td:first-child,
.david_sources_blog table td:first-child {
    font-weight: 600;
    text-align: left;
    padding-left: 1.5em;
    color: var(--kosmos-purple);
}

/* Mise en forme du texte */
.david_blog_article table td strong,
.david_sources_blog table td strong {
    font-weight: 600;
    color: var(--kosmos-purple);
}

/* Valeurs numériques */
.david_blog_article table td:nth-child(2),
.david_sources_blog table td:nth-child(2) {
    font-feature-settings: "tnum";
    color: var(--kosmos-text-dark);
}

/* Dernière ligne */
.david_blog_article table tbody tr:last-child td,
.david_sources_blog table tbody tr:last-child td {
    border-bottom: none;
}

.david_blog_article table a,
.david_sources_blog table a {
    color: var(--kosmos-purple);
    text-decoration: none;
    font-weight: 500;
    transition: var(--kosmos-transition);
}

.david_blog_article table a:hover,
.david_sources_blog table a:hover {
    color: var(--kosmos-red);
}

/* ===== RESPONSIVE DESIGN KOSMOS ===== */

/* Tablettes */
@media (max-width: 48em) {
    .david_chapo_blog,
    .david_sources_blog,
    .david_author_card {
        margin-left: 1em;
        margin-right: 1em;
        max-width: none;
    }
    
    .david_chapo_blog {
        padding: 2em 2.5em;
    }
    
    .david_chapo_blog::after {
        top: 1.2em;
        right: 1.5em;
    }
    
    .david_sources_blog {
        padding: 1.5em;
    }
    
    .david_blog_article {
        margin: 0 1em 2.5em 1em;
        max-width: none;
    }
    
    .david_chapo_blog p {
        font-size: 1.1em;
        line-height: 1.6;
    }
    
    .david_chapo_blog p::before {
        left: -0.3em;
    }
    
    .david_sources_blog h2 {
        font-size: 1.2em;
        margin-bottom: 1em;
    }
    
    .david_sources_blog ul li {
        margin-bottom: 0.7em;
        padding-left: 1.3em;
    }
    
    .david_sources_blog a {
        font-size: 0.9em;
    }
    
    .david_blog_article h2 {
        font-size: 1.5em;
        margin-bottom: 0.8em;
    }
    
    .david_blog_article h3 {
        font-size: 1.25em;
        margin: 1.2em 0 0.6em 0;
    }
    
    .david_blog_article h4 {
        font-size: 1.1em;
        margin: 1em 0 0.5em 0;
    }
    
    .david_blog_article p {
        font-size: 1em;
        margin-bottom: 1em;
    }
    
    .david_blog_article ul li,
    .david_blog_article ol li {
        margin-bottom: 0.6em;
    }
    
    .david_author_header {
        flex-direction: column;
        text-align: center;
        padding: 2em;
        gap: 1.5em;
    }
    
    .david_author_avatar {
        width: 6em;
        height: 6em;
    }
    
    .david_author_linkedin {
        align-self: center;
    }
    
    .david_author_bio {
        padding: 1.5em 2em;
    }
    
    .david_author_bio::before {
        font-size: 3em;
    }
}

/* Mobiles */
@media (max-width: 30em) {
    .david_chapo_blog,
    .david_sources_blog,
    .david_author_card {
        margin-left: 0;
        margin-right: 0;
        border-radius: 0.6em;
    }
    
    .david_chapo_blog {
        padding: 1.5em 1.2em;
        margin-bottom: 2em;
    }
    
    .david_chapo_blog::after {
        top: 1em;
        right: 1em;
        width: 6px;
        height: 6px;
    }
    
    .david_sources_blog {
        padding: 1.2em 1em;
        margin-top: 2em;
    }
    
    .david_blog_article {
        margin: 0 0 2em 0;
        padding: 1.2em 1em;
        border-radius: 0.3em;
    }
    
    .david_chapo_blog::before {
        width: 3em;
    }
    
    .david_sources_blog::before {
        width: 3em;
    }
    
    .david_chapo_blog p {
        font-size: 1.05em;
        line-height: 1.5;
    }
    
    .david_chapo_blog p::before {
        left: -0.2em;
        width: 1.5px;
        height: 1em;
    }
    
    .david_sources_blog h2 {
        font-size: 1.1em;
        margin-bottom: 0.8em;
        letter-spacing: 0.03em;
    }
    
    .david_sources_blog h2::after {
        width: 1.5em;
    }
    
    .david_sources_blog ul li {
        margin-bottom: 0.6em;
        padding-left: 1.2em;
        line-height: 1.4;
    }
    
    .david_sources_blog ul li::before {
        font-size: 0.9em;
    }
    
    .david_sources_blog a {
        font-size: 0.85em;
        line-height: 1.4;
    }
    
    .david_blog_article h2 {
        font-size: 1.3em;
        line-height: 1.4;
        margin-bottom: 0.7em;
        padding-bottom: 0.4em;
    }
    
    .david_blog_article h2::after {
        width: 2.5em;
    }
    
    .david_blog_article h2 + p {
        font-size: 1em;
        margin-bottom: 1.2em;
    }
    
    .david_blog_article h3 {
        font-size: 1.15em;
        margin: 1em 0 0.5em 0;
        padding-left: 0.6em;
    }
    
    .david_blog_article h4 {
        font-size: 1.05em;
        margin: 0.8em 0 0.4em 0;
    }
    
    .david_blog_article h4::before {
        left: -0.4em;
        width: 2px;
        height: 0.8em;
    }
    
    .david_blog_article p {
        font-size: 0.95em;
        line-height: 1.6;
        margin-bottom: 0.9em;
    }
    
    .david_blog_article ul li {
        margin-bottom: 0.5em;
        font-size: 0.95em;
    }
    
    .david_blog_article ol li {
        margin-bottom: 0.5em;
        font-size: 0.95em;
    }
    
    .david_blog_article ul ul,
    .david_blog_article ol ol,
    .david_blog_article ul ol,
    .david_blog_article ol ul {
        margin: 0.6em 0;
        padding-left: 0.8em;
    }
    
    .david_blog_article table,
    .david_sources_blog table {
        min-width: 25em;
    }
    
    .david_blog_article table th,
    .david_blog_article table td,
    .david_sources_blog table th,
    .david_sources_blog table td {
        padding: 0.8em 0.6em;
        font-size: 0.85em;
    }
    
    .david_blog_article table th:first-child,
    .david_blog_article table td:first-child,
    .david_sources_blog table th:first-child,
    .david_sources_blog table td:first-child {
        padding-left: 1em;
    }
    
    .david_blog_article div[style*="overflow-x: auto"],
    .david_sources_blog div[style*="overflow-x: auto"] {
        margin: 1.5em -1em;
        width: calc(100% + 2em);
        border-radius: 0;
    }
    
    .david_author_header {
        padding: 1.5em 1.2em;
    }
    
    .david_author_name {
        font-size: 1.4em;
    }
    
    .david_author_bio {
        padding: 1.2em 1.2em;
    }
}