*,
*::before,
*::after {
    box-sizing: border-box;
}

article,
aside,
dialog,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
    display: block;
}

:focus::-webkit-input-placeholder {
    color: transparent;
}

:focus::-moz-placeholder {
    color: transparent;
}

:focus:-moz-placeholder {
    color: transparent;
}

:focus:-ms-input-placeholder {
    color: transparent;
}

/* Structure */
html {
    font-size: 100%;
    -ms-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    color-scheme: light;
}

:root {
    --color-bg-body: #f7f7f7;
    --color-surface: #fff;
    --color-surface-alt: #f5f5f5;
    --color-text: #000;
    --color-text-muted: #666;
    --color-text-subtle: #999;
    --color-inverse-text: #fff;
    --color-border: #ebebeb;
    --color-border-strong: #dadada;
    --color-shadow: rgba(50, 50, 50, .17);
    --color-menu-bg: #2a2a2a;
    --color-menu-border: rgba(255, 255, 255, .1);
    --color-overlay-shadow: rgba(0, 0, 0, .2);
    --color-code: #c33;
    --color-mark-bg: #fd5;
    --color-warning-border: #ddd;
    --color-warning-icon: #ddd;
    --color-meta-icon: #c4c4c4;
    --color-toc-text: #7a8288;
    --color-input-hover: #aaa;
    --color-textarea-border: rgba(0, 0, 0, .1);
    --color-focus: #005fcc;
    --color-widget-bubble-bg: #ebebeb;
    --color-footer-bg: #2a2a2a;
    --color-footer-border: #999;
	--color-heading-accent: #435294;
}

html[data-theme="dark"] {
    color-scheme: dark;
    --color-bg-body: #101214;
    --color-surface: #171a1d;
    --color-surface-alt: #1d2226;
    --color-text: #eceff1;
    --color-text-muted: #b5bcc3;
    --color-text-subtle: #a8b0ba;
    --color-inverse-text: #f5f7fa;
    --color-border: #30363d;
    --color-border-strong: #434b55;
    --color-shadow: rgba(0, 0, 0, .45);
    --color-menu-bg: #0f1317;
    --color-menu-border: rgba(255, 255, 255, .16);
    --color-overlay-shadow: rgba(0, 0, 0, .5);
    --color-code: #ff8f8f;
    --color-mark-bg: #8a6d00;
    --color-warning-border: #4a525b;
    --color-warning-icon: #707983;
    --color-meta-icon: #7f8994;
    --color-toc-text: #c0c7cf;
    --color-input-hover: #8a949f;
    --color-textarea-border: rgba(255, 255, 255, .15);
    --color-focus: #66a3ff;
    --color-widget-bubble-bg: #30363d;
    --color-footer-bg: #0f1317;
    --color-footer-border: #6b7480;
	--color-heading-accent: #25afdaff;
}

body {
    margin: 0;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-size: .875rem;
    line-height: 1.6;
    color: var(--color-text);
    word-wrap: break-word;
    background: var(--color-bg-body);
    -webkit-font-smoothing: antialiased;
}

.container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.container--outer {
    margin: 25px auto;
    box-shadow: 0 0 10px var(--color-shadow);
}

.wrapper {
    padding: 25px;
    background: var(--color-surface);
}

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

.primary {
    -webkit-flex: 1 0 65.83%;
    flex: 1 0 65.83%;
    -webkit-order: 1;
    order: 1;
    min-width: 0;
}

.sidebar {
    -webkit-flex: 1 0 31.66%;
    flex: 1 0 31.66%;
    -webkit-order: 2;
    order: 2;
    min-width: 0;
    margin: 0 0 0 2.5%;
}

.sidebar--left {
    -webkit-order: 0;
    order: 0;
    margin: 0 2.5% 0 0;
}

.clearfix {
    display: block;
}

.clearfix::after {
    display: block;
    height: 0;
    padding: 0;
    margin: 0;
    clear: both;
    line-height: 0;
    visibility: hidden;
    content: "";
}

input,
button,
select,
optgroup,
textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

/* Button */
.btn {
    padding: 5px 10px;
    font-weight: 700;
    color: var(--color-inverse-text);
    white-space: pre-line;
    background: var(--color-menu-bg);
}

.btn:hover {
    color: var(--color-inverse-text);
    background: #25afdaff;
}

/* Animation */
.menu__item,
.btn {
    transition: background-color .25s ease-out;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 20px;
    margin: 0 0 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-heading-accent);
}

h1 {
    font-size: 32px;
    font-size: 2rem;
}

h2 {
    font-size: 24px;
    font-size: 1.5rem;
}

h3 {
    font-size: 20px;
    font-size: 1.25rem;
}

h4 {
    font-size: 18px;
    font-size: 1.125rem;
}

h5,
h6 {
    font-size: 16px;
    font-size: 1rem;
}

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

a:hover {
    color: #25afdaff;
}

/* Ne pas changer la couleur des liens dans les cartes au hover */
.post-card a,
.post-card a:visited {
    color: inherit;
    text-decoration: none;
}

.post-card a:hover,
.post-card a:focus {
    color: inherit;
}

hr {
    margin: 0 0 20px;
    border: 0;
    border-top: 1px solid var(--color-border-strong);
}

p {
    margin: 0 0 20px;
    margin: 0 0 1.25rem;
}

b,
strong {
    font: inherit;
    font-weight: 700;
}

i,
em {
    font: inherit;
    font-style: italic;
}

ol,
ul {
    padding: 0;
    margin: 0;
}

small {
    font-size: 12px;
    font-size: .75rem;
}

mark {
    background-color: var(--color-mark-bg);
}

figure {
    margin: 0 0 20px;
    margin: 0 0 1.25rem;
}

figcaption {
    margin-top: 4px;
    margin-top: .25rem;
    color: var(--color-text-muted);
}

figcaption h4 {
    margin: 0;
    color: inherit;
}

pre,
code,
kbd,
samp {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: inherit;
}

pre,
code {
    background-color: var(--color-surface-alt);
    border: 1px solid var(--color-border);
}

code {
    padding: 0 5px;
    color: var(--color-code);
}

pre {
    display: block;
    padding: 1.25rem;
    margin-bottom: 20px;
    margin-bottom: 1.25rem;
    overflow: auto;
    color: var(--color-text);
}

pre code {
    padding: 0;
    color: inherit;
    white-space: inherit;
    background: inherit;
    border: 0;
}

kbd {
    padding: 2px 3px;
    color: var(--color-inverse-text);
    background-color: var(--color-menu-bg);
}

blockquote {
    display: block;
    padding: 5px 0 5px 15px;
    margin: 0 0 20px;
    margin: 0 0 1.25rem;
    line-height: 1.6;
    border-left: 5px solid #25afdaff;
}

blockquote p:last-child {
    margin: 0;
}

blockquote footer {
    text-align: right;
}

sup,
sub {
    font-size: 10px;
    font-size: .625rem;
    font-style: normal;
}

sup {
    vertical-align: super;
}

sub {
    vertical-align: sub;
}

abbr[title] {
    text-decoration: none;
    cursor: help;
    border-bottom: 1px dotted var(--color-text);
}

q {
    font-style: italic;
}

address {
    margin-bottom: 20px;
    margin-bottom: 1.25rem;
    font-family: "Consolas", Courier New, Courier, monospace;
    line-height: 1.5;
}

dl {
    margin: 0 0 10px 20px;
}

dt,
dd {
    display: list-item;
}

dt {
    font-weight: bold;
    list-style-type: square;
}

dd {
    margin-left: 20px;
    list-style-type: circle;
}

select {
    max-width: 100%;
}

.warning {
    padding: 20px 10px;
    text-align: center;
    border: 1px solid var(--color-warning-border);
}

.warning__icon {
    margin-bottom: 20px;
    fill: var(--color-warning-icon);
}

/* Header */
.header {
    background: var(--color-surface);
}

.logo {
    padding: 25px;
}

.logo__link {
    display: inline-block;
}

.logo__item {
    display: inline-block;
    vertical-align: middle;
}

.logo__img {
    max-height: 256px;
}

.logo__text {
    text-transform: uppercase;
}

.logo--mixed .logo__item {
    margin: .5rem auto;
}

.logo--mixed .logo__img {
    max-width: 128px;
    max-height: 128px;
}

.logo--mixed .logo__text {
    padding: 0 1rem;
}

.logo__title {
    font-size: 32px;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-text);
}

.logo__tagline {
    display: inline-block;
    padding-top: 10px;
    margin-top: 10px;
    font-size: 14px;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1;
    color: #25afdaff;
    border-top: 1px solid var(--color-border);
}

.divider {
    height: 5px;
    margin: 0;
    background: #25afdaff;
    border: 0;
}

.theme-toggle {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 10;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-inverse-text);
    text-transform: uppercase;
    letter-spacing: .04em;
    cursor: pointer;
    background: var(--color-menu-bg);
    border: 1px solid var(--color-menu-border);
    border-radius: 999px;
    box-shadow: 0 2px 8px var(--color-overlay-shadow);
}

.theme-toggle:hover {
    background: #25afdaff;
}

.theme-toggle:focus-visible {
    outline: 2px solid var(--color-focus);
    outline-offset: 2px;
}

/* Main menu */
.no-js .menu__btn {
    display: none;
}

.menu__btn {
    display: block;
    width: 100%;
    padding: 0;
    font: inherit;
    color: var(--color-inverse-text);
    background: var(--color-menu-bg);
    border: 0;
    outline: 0;
}

.menu__btn-title {
    position: relative;
    display: block;
    padding: 10px 15px;
    padding: .625rem .9375rem;
    font-weight: 700;
    text-align: right;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

:focus > .menu__btn-title {
    box-shadow: inset 0 0 1px 3px #25afdaff;
}

button:not(:-moz-focusring):focus > .menu__btn-title {
    box-shadow: none;
}

.menu__btn:focus,
.menu__btn-title:focus {
    outline: 0;
}

.js .menu__btn--active {
    color: #25afdaff;
}

.menu__list {
    list-style: none;
    background: var(--color-menu-bg);
}

.menu__item:hover {
    background: #25afdaff;
}

.menu__item:first-child {
    border: 0;
}

.menu__item--active {
    background: #25afdaff;
}

.menu__link {
    display: block;
    padding: 10px 15px;
    padding: .625rem .9375rem;
    font-weight: 700;
    color: var(--color-inverse-text);
    text-transform: uppercase;
}

.menu__link:hover {
    color: var(--color-inverse-text);
}

.js .menu__list {
    position: absolute;
    z-index: 1;
    width: 100%;
    visibility: hidden;
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
    -webkit-transform-origin: top left;
    transform-origin: top left;
}

.js .menu__list--active {
    visibility: visible;
    border-top: 1px solid var(--color-menu-border);
    border-bottom: 1px solid var(--color-menu-border);
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
}

.menu__list--transition {
    transition: visibility .15s ease, transform .15s ease, -webkit-transform .15s ease;
}

/* Desktop only */
@media screen and (min-width: 901px) {
    .menu {
        border-bottom: 5px solid #25afdaff;
    }

    .menu__btn {
        display: none;
    }

    .menu__list,
    .js .menu__list {
        position: relative;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        visibility: visible;
        border: 0;
        -webkit-transform: none;
        transform: none;
    }

    .menu__item {
        border-left: 1px solid var(--color-menu-border);
    }
}

/* Posts/Pages */
.post__header,
.main__header {
    margin-bottom: 20px;
    margin-bottom: 1.25rem;
}

.main__title {
    font-size: 28px;
    font-size: 1.75rem;
}

.main__content {
    margin-bottom: 20px;
    margin-bottom: 1.25rem;
}

.meta {
    font-size: 13px;
    font-size: .8125rem;
    vertical-align: baseline;
}

.meta,
.meta a {
    color: var(--color-text-muted);
}

.meta a:hover {
    color: #25afdaff;
}

.meta__item {
    display: inline;
    margin-left: 15px;
}

.meta__item:first-child {
    margin-left: 0;
}

.meta__icon {
    margin-right: 5px;
    vertical-align: middle;
    fill: var(--color-meta-icon);
}

.meta__text {
    vertical-align: middle;
}

.post__title {
    margin: 0;
}

.post__meta {
    padding: 5px 0;
    margin-top: 10px;
    margin-top: .625rem;
    border-top: 1px dotted var(--color-border);
    border-bottom: 1px dotted var(--color-border);
}

.post__lead {
    margin-top: 4px;
    margin-top: .25rem;
    margin-bottom: 0;
    font-size: 16px;
    font-size: 1rem;
    font-style: italic;
}

.post__thumbnail {
    max-width: 1030px;
    margin: 0 0 20px;
    margin-bottom: 0 0 1.25rem;
}

.post__thumbnail img {
    width: 100%;
}

.content a,
.warning a,
.authorbox__description a {
    font-weight: 700;
    color: #25afdaff;
}

.content a:hover,
.warning a:hover,
.authorbox__description a:hover {
    color: #25afdaff;
    text-decoration: underline;
}

.content .alignnone {
    display: block;
    margin: 20px 0;
    margin: 1.25rem 0;
}

.content .aligncenter {
    display: block;
    margin: 20px auto;
    margin: 1.25rem auto;
}

.content .alignleft {
    display: inline;
    float: left;
    margin: 5px 20px 20px 0;
    margin: .3125rem 1.25rem 1.25rem 0;
}

.content .alignright {
    display: inline;
    float: right;
    margin: 5px 0 20px 20px;
    margin: .3125rem 0 1.25rem 1.25rem;
}

.content ul {
    list-style: square;
}

.content ol {
    list-style: decimal;
}

.content ul,
.content ol {
    margin: 0 0 20px 40px;
}

.content ul ul,
.content ol ol,
.content ol ul,
.content ul ol {
    margin: 0 0 0 40px;
}

.content li {
    margin-bottom: 5px;
}

.post__footer {
    margin-top: 20px;
    margin-top: 1.25rem;
}

/* Post tags */
.tags {
    margin-bottom: 20px;
    margin-bottom: 1.25rem;
    font-size: 12px;
    font-size: .75rem;
    line-height: 1;
    color: var(--color-inverse-text);
}

.tags__list {
    list-style: none;
}

.tags__item {
    float: left;
    margin: 0 6px 6px 0;
    margin: 0 .375rem .375rem 0;
    text-transform: uppercase;
    background: var(--color-menu-bg);
}

.tags__item:hover {
    background: #25afdaff;
}

.tags__link,
.tags__link:hover {
    display: block;
    padding: 10px 15px;
}

.tags__badge {
    float: left;
    width: 32px;
    height: 32px;
    padding: 8px;
    margin-right: 6px;
    background: #25afdaff;
    fill: var(--color-inverse-text);
}

/* Table of Contents */
.toc {
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--color-toc-text);
    background: var(--color-surface);
    border-color: var(--color-border);
    border-style: solid;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 0;
    border-left-width: 1px;
}

.toc__title {
    padding: 5px 10px;
    color: var(--color-inverse-text);
    text-transform: uppercase;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    background: var(--color-menu-bg);
}

.toc__menu ul {
    margin: 0;
    list-style: none;
}

.toc__menu li li a { padding-left: 25px; }
.toc__menu li li li a { padding-left: 45px; }
.toc__menu li li li li a { padding-left: 65px; }
.toc__menu li li li li li a { padding-left: 85px; }
.toc__menu li li li li li li a { padding-left: 105px; }

.toc__menu li {
    margin: 0;
}

.toc__menu a {
    display: block;
    padding: 5px 10px;
    color: #25afdaff;
    border-bottom: 1px solid var(--color-border);
}

.toc__menu a:hover {
    text-decoration: underline;
}

/* Author Box */
.authorbox {
    padding: 25px 0;
    margin-bottom: 25px;
    line-height: 1.5;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.authorbox__singleAuthor {
    width: 100%;
    float: left;
    margin: 10px;
}

.authorbox__avatar {
    float: left;
    padding: 3px;
    margin: 0 25px 0 0;
    border: 1px solid var(--color-border);
}

.authorbox__header {
    margin-top: 10px;
    margin-bottom: 10px;
}

.authorbox__name {
    font-size: 16px;
    font-size: 1rem;
    font-weight: 700;
}

/* List content */
.list__item {
    padding-bottom: 20px;
    padding-bottom: 1.25rem;
    margin-bottom: 20px;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--color-border);
}

.list__header {
    margin-bottom: 10px;
    margin-bottom: .625rem;
}

.list__title {
    font-size: 20px;
    font-size: 1.25rem;
}

.list__meta {
    margin-top: 5px;
}

.list__thumbnail {
    float: left;
    margin: 0 20px 0 0;
}

.list__thumbnail img {
    width: 100%;
    max-width: 235px;
}

.list__footer-readmore {
    float: right;
    margin-top: 10px;
}

/* Pagination */
.pagination {
    margin-top: 20px;
}

.pagination__item {
    display: inline-block;
    padding: 10px 15px;
    font-weight: 700;
    color: var(--color-text);
    background: var(--color-surface-alt);
}

.pagination__item:hover,
.pagination__item--current {
    color: var(--color-inverse-text);
    background: #25afdaff;
}

/* Pager */
.pager {
    -webkit-justify-content: space-between;
    justify-content: space-between;
    padding-top: 25px;
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--color-border);
}

.pager__subtitle {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.pager__title {
    margin-bottom: 0;
    overflow: hidden;
    font-size: 13px;
    font-size: .8125rem;
}

.pager__item {
    -webkit-flex: 1 1 50%;
    flex: 1 1 50%;
    max-width: 48%;
}

.pager__item--next {
    margin-left: auto;
    text-align: right;
}

.pager__link {
    display: block;
}

/* Images / Video */
img {
    width: auto\9;
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

iframe,
embed,
object,
video {
    max-width: 100%;
}

/* Table */
table {
    width: 100%;
    margin-bottom: 20px;
    margin-bottom: 1.25rem;
    border-spacing: 0;
    border-collapse: collapse;
    border-top: 1px solid var(--color-border);
    border-left: 1px solid var(--color-border);
}

td,
th {
    padding: 5px 10px;
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

th {
    font-weight: 700;
}

/* Forms */
input {
    padding: 5px;
    font-size: 12px;
    vertical-align: middle;
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    transition: all .25s ease-in-out;
}

input[type=text],
input[type=email],
input[type=tel],
input[type=url] {
    width: 60%;
}

input[type=text]:hover,
input[type=email]:hover,
input[type=tel]:hover,
input[type=url]:hover,
textarea:hover {
    border: 1px solid var(--color-input-hover);
}

input[type=submit],
input[type=reset] {
    display: inline-block;
    min-width: 150px;
    padding: 10px 15px;
    font-weight: 700;
    color: var(--color-inverse-text);
    text-transform: uppercase;
    cursor: pointer;
    background: var(--color-menu-bg);
    border: 0;
    transition: all .1s linear;
    -webkit-appearance: none;
}

input[type=submit]:hover,
input[type=reset]:hover {
    background: #25afdaff;
}

textarea {
    width: 96%;
    padding: 5px;
    overflow: auto;
    line-height: 1.5;
    resize: vertical;
    background: var(--color-surface-alt);
    border: 1px solid var(--color-textarea-border);
}

/* Widgets */
.widget {
    margin-bottom: 25px;
    overflow: hidden;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget__title {
    position: relative;
    padding-bottom: 5px;
    font-size: 16px;
    font-size: 1rem;
    text-transform: uppercase;
    border-bottom: 3px solid #25afdaff;
}

.widget__item {
    display: block;
    padding: 5px 0;
    border-bottom: 1px dotted var(--color-border);
}

.widget__item:first-child {
    padding-top: 0;
}

.widget__counter--bubble {
    display: inline-block;
    padding: 0 6px;
    font-size: .75rem;
    color: var(--color-text-muted);
    text-align: center;
    background: var(--color-widget-bubble-bg);
    border-radius: 2em;
}

/* Search widget */
.widget-search__form {
    padding: 16px 24px;
    background: var(--color-surface-alt);
}

.widget-search__submit[type=submit] {
    display: none;
}

.widget-search__field {
    width: 100%;
    padding: 6px 8px;
    font-size: 13px;
    cursor: pointer;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    outline-offset: -2px;
    transition: none;
    -webkit-appearance: none;
}

.widget-search__field:active,
.widget-search__field:focus {
    cursor: text;
    outline: 2px solid var(--color-focus);
}

/* Social widget */
.widget-social__item {
    padding: 0;
    border: 0;
}

.widget-social__link {
    display: block;
    margin: 0 0 8px;
    white-space: normal;
}

.widget-social__link-icon {
    margin: 0 5px 0 0;
    vertical-align: middle;
    fill: var(--color-inverse-text);
}

/* Tags widget */
.widget-taglist__link {
    display: inline-block;
    margin: 0 4px 8px 0;
    font-size: 12px;
    text-transform: uppercase;
}

/* Languages widget */
.widget-languages__link {
    display: block;
}

.widget-languages__link:hover .widget-languages__link-btn {
    color: var(--color-inverse-text);
    background: #25afdaff;
}

.widget-languages__link-btn {
    display: inline-block;
}

/* Footer */
.footer {
    padding: 10px 25px;
    font-size: 12px;
    font-size: .75rem;
    color: var(--color-text-subtle);
    background: var(--color-footer-bg);
    border-top: 3px solid var(--color-footer-border);
}

.footer__container {
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.footer__links {
    -webkit-order: 1;
    order: 1;
}

.footer a {
    color: var(--color-inverse-text);
}

.footer a:hover {
    text-decoration: underline;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

/* Contenu des posts */
.post__content ul,
.post__content ol {
    list-style: none;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 1.5rem;
    padding-left: 0rem;
}

.post__content ul ul,
.post__content ol ol,
.post__content ul ol,
.post__content ol ul {
    padding-left: 0rem;
}

.post__content ul li,
.post__content ol li {
    margin-top: 0;
    margin-bottom: 0.15rem;
}

.post__content li > p {
    margin-top: 0;
    margin-bottom: 0.1rem;
}

.post__content li > ul,
.post__content li > ol {
    margin-top: 0;
    margin-bottom: 0;
}

.post__content {
    margin-left: 25px;
    margin-right: 25px;
}

.post__content ul > li::marker {
    content: "● ";
    font-size: 1em;
    color: #888888;
}

.post__content ul ul > li::marker {
    content: "– ";
    font-size: 0.95em;
    color: #888888;
}

.post__content ul ul ul > li::marker {
    content: "• ";
    font-size: 0.9em;
    color: #888888;
}

.post__content p {
    margin-top: 0;
    margin-bottom: 0.6rem;
}

.post__content p + ul {
    margin-top: 0;
}

.post__content p:has(+ ul) {
    margin-bottom: 0.2rem;
}

.post__content > h1:first-child {
    margin-top: 0;
}

h1 {
    color: var(--color-heading-accent) !important;
    padding: 0 2px !important;
    border-radius: 5px 5px 1px 1px;
    font-size: 20px !important;
    font-weight: bolder;
    font-family: Verdana, Geneva, Tahoma, sans-serif !important;
    margin-top: 1.2em;
    margin-bottom: 0.6em;
}

.post__content h1::before {
    content: "❖";
    margin-right: 10px !important;
    font-weight: bold;
}

h2 {
    color: var(--color-heading-accent) !important;
    padding: 0 2px !important;
    border-radius: 1px 1px 1px 1px;
    font-size: 19px !important;
    font-weight: bold;
    font-family: Verdana, Geneva, Tahoma, sans-serif !important;
    margin-top: 0.6em;
    margin-bottom: 0.6em;
}

.post__content h2::before {
    content: "✦";
    margin-right: 10px !important;
    margin-left: 1px !important;
    font-weight: bold;
    color: inherit;
}

.post__content h3 {
    color: var(--color-heading-accent) !important;
    padding: 0 !important;
    border-bottom: 0;
}

.post__content h3::before {
    content: "•";
    margin-right: 20px;
    margin-left: 7px;
    font-weight: bold;
    color: inherit;
}

.post__content h4 {
    color: var(--color-heading-accent) !important;
    padding: 0 !important;
    border-bottom: 0;
    font-style: normal !important;
    font-weight: normal !important;
    font-family: Verdana, Geneva, Tahoma, sans-serif !important;
}

.post__content h4::before {
    content: "◦";
    margin-right: 20px;
    margin-left: 8px;
    font-weight: bold;
    color: inherit;
}

.post__content h5 {
    border-bottom: 0;
}

.project-tile__title {
    color: #fff !important;
	text-shadow: 
		0 0px 12px rgb(0, 0, 0),
		0 0px 12px rgb(0, 0, 0) !important;
}

/* Cards explorer */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    align-items: start;
}

.post-card {
    display: block;
    height: auto;
    border-radius: 20px;
    overflow: hidden;
    background: var(--color-surface);
}

.post-card__link {
    display: flex !important;
    flex-direction: column !important;
    height: 100%;
    color: inherit !important;
    text-decoration: none !important;
}

.post-card__media {
    position: relative !important;
    display: block;
    flex: 0 0 auto;
    overflow: hidden;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.post-card__image {
    display: block;
    width: 100%;
    height: auto;
}

.post-card__content {
    display: block !important;
    position: static !important;
    flex: 0 0 auto;
    overflow: visible !important;
    padding: 12px 14px 16px;
}

.post-card__meta,
.post-card__title,
.post-card__excerpt {
    position: static !important;
}

.post-card__excerpt {
    display: block !important;
    margin: 8px 0 0 !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: var(--color-text-muted) !important;
    white-space: normal !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    -webkit-box-orient: initial !important;
}

/* Header paper */
.post-header-paper {
    margin: 0 auto var(--space-12, 3rem);
    padding: var(--space-8, 2rem) 0 var(--space-6, 1.5rem);
}

.post-header-paper__thumb {
    max-width: 820px;
    margin: 0 auto var(--space-8, 2rem);
}

.post-header-paper__inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.post-header-paper__summary {
  text-align: left; /* override juste pour le summary */
}

.post-header-paper__title {
    margin: 0;
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.15;
    font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem);
    text-wrap: balance;
}

.post-header-paper__meta {
    margin-top: 1rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.post-header-paper__meta-item,
.post-header-paper__meta-item a {
    color: inherit;
    text-decoration: none;
}

.post-header-paper__meta-item a:hover {
    text-decoration: underline;
}

.post-header-paper__meta-sep {
    margin: 0 0.35rem;
    color: #999;
}

.post-header-paper__summary {
    max-width: 700px;
    margin: 1rem auto 0;
    color: var(--color-text);
    font-size: 0.8rem;
    line-height: 1.75;
}


/* Mobile only */
@media screen and (max-width: 900px) {
    .container--outer {
        width: 100%;
        margin: 0 auto;
    }

    .wrapper,
    .logo {
        padding: 20px;
    }

    .wrapper {
        display: block;
    }

    .wrapper.flex {
        display: flex !important;
        flex-direction: column !important;
    }

    .primary {
        order: 1 !important;
    }

    .sidebar {
        float: none;
        width: 100%;
        margin: 0 0 20px 0;
        order: 2 !important;
    }

    .logo {
        text-align: center;
    }

    .logo__link {
        margin: 0 auto;
    }

    .logo__title {
        font-size: 24px;
        font-size: 1.5rem;
    }

    .widget {
        margin-bottom: 20px;
    }

    .footer__container {
        display: block;
    }

    .footer__links {
        padding-bottom: 0.5rem;
        text-align: center;
    }

    .footer__copyright {
        text-align: center;
    }

    input[type=text],
    input[type=email],
    input[type=tel],
    input[type=url] {
        width: 88%;
    }

    .meta__item {
        display: block;
        margin-left: 0;
    }

    .authorbox {
        text-align: center;
    }

    .authorbox__avatar {
        display: inline-block;
        float: none;
        margin: 0 0 20px;
    }

    .pager {
        display: block;
    }

    .pager__item {
        min-width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .pager__item--prev {
        padding-bottom: 25px;
    }

    .content ul,
    .content ol {
        margin: 0 0 20px 20px;
    }

    .content ul ul,
    .content ol ol,
    .content ol ul,
    .content ul ol {
        margin: 0 0 0 20px;
    }

    .list__thumbnail {
        max-width: 80px;
    }

    .list__title {
        font-size: 16px;
        font-size: 1rem;
    }

    .list__lead {
        font-size: 14px;
        font-size: .875rem;
    }

    .list__meta {
        display: block;
        font-size: 11px;
        font-size: .6875rem;
    }

    .theme-toggle {
        right: 14px;
        bottom: 14px;
    }

    .post-header-paper {
        padding-top: 1.25rem;
        margin-bottom: 2rem;
    }

    .post-header-paper__inner {
        padding: 0 1rem;
    }

    .post-header-paper__title {
        font-size: clamp(1.75rem, 1.2rem + 2vw, 2.4rem);
    }

    .post-header-paper__meta {
        font-size: 0.95rem;
    }

    .post-header-paper__summary {
        margin-top: 1rem;
        font-size: 0.8rem;
    }

    .project-grid .project-tile {
        position: relative !important;
        overflow: hidden !important;
        aspect-ratio: 16 / 9 !important;
    }

    .project-grid .project-tile__link {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
    }

    .project-grid .project-tile__image {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .project-grid .project-tile__overlay {
        position: absolute !important;
        inset: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 1.25rem !important;
        background: linear-gradient(to top, rgba(0,0,0,0.45), rgba(0,0,0,0.12)) !important;
    }

    .project-grid .project-tile__title {
        margin: 0 !important;
        color: #fff !important;
        font-size: clamp(2rem, 7vw, 3.2rem) !important;
        line-height: 1.05 !important;
        font-weight: 700 !important;
        text-align: center !important;
        text-shadow: 0 20px 120px rgba(0, 0, 0, 0.863) !important;
        max-width: 10ch !important;
        width: 100% !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        hyphens: none !important;
        text-wrap: balance !important;
    }

    .post-card__media {
        display: none !important;
    }

    .post-card {
        height: auto !important;
        min-height: 0 !important;
    }

    .post-card__link {
        display: block !important;
        height: auto !important;
    }

    .post-card__content {
        min-height: 0 !important;
        height: auto !important;
        padding: 1rem 1rem 1.1rem !important;
    }
}


.post__content hr {
  border: none !important;
  border-top: 1px solid rgba(0, 0, 0, 0.15) !important;
  margin: 32px 0 !important;
}







/* ============================================================
   CONTRÔLE DES MARGES DE CONTENU (ArisNotes)
   Toutes les marges verticales entre les éléments de tes articles
   sont gérées ici. Modifie les valeurs en pixels selon tes goûts.
   ============================================================ */

/* --- TITRES --- */

/* Titre de niveau 1 (# dans Markdown) */
.post__content h1 {
  margin-top: 40px !important;    /* espace AVANT le titre */
  margin-bottom: 16px !important; /* espace APRÈS le titre, avant le texte suivant */
}

/* Titre de niveau 2 (## dans Markdown) */
.post__content h2 {
  margin-top: 32px !important;
  margin-bottom: 12px !important;
}

/* Titre de niveau 3 (### dans Markdown) */
.post__content h3 {
  margin-top: 24px !important;
  margin-bottom: 10px !important;
}

/* Titre de niveau 4 (#### dans Markdown, rarement utilisé) */
.post__content h4 {
  margin-top: 20px !important;
  margin-bottom: 8px !important;
}

/* --- PARAGRAPHES --- */

.post__content p {
  margin-top: 0 !important;       /* évite double espace avec le bloc précédent */
  margin-bottom: 16px !important; /* espace entre ce paragraphe et le suivant */
}

/* --- LISTES (à puces et numérotées) --- */

.post__content ul,
.post__content ol {
  margin-top: 0 !important;
  margin-bottom: 16px !important;
}

/* Espace entre chaque item d'une liste (mets à 0 si tu veux des listes "serrées") */
.post__content li {
  margin-bottom: 4px !important;
}

/* --- IMAGES --- */

.post__content img {
  margin-top: 16px !important;
  margin-bottom: 16px !important;
}

/* --- CITATIONS (> dans Markdown) --- */

.post__content blockquote {
  margin-top: 16px !important;
  margin-bottom: 16px !important;
  padding-left: 16px !important; /* décalage horizontal du texte cité */
}

/* --- LIGNES DE SÉPARATION (___, ---, ***) --- */

.post__content hr {
  border: none !important;
  border-top: 1px solid rgba(0, 0, 0, 0.15) !important; /* couleur de la ligne */
  margin-top: 32px !important;
  margin-bottom: 32px !important;
}

/* --- BLOCS DE CODE --- */

.post__content pre {
  margin-top: 16px !important;
  margin-bottom: 16px !important;
}

/* --- TABLEAUX --- */

.post__content table {
  margin-top: 16px !important;
  margin-bottom: 16px !important;
}


/* Centre une image et son conteneur */
.img-center {
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
}


.img-float-left {
  float: left;
  margin: 0 20px 10px 0 !important;
  max-width: 300px;
  line-height: 0;
  display: block !important; /* évite les comportements inline hérités */
}

/* Important : force le prochain élément à "libérer" le flottement
   une fois le texte fini, pour éviter que ça décale les titres suivants */
.post__content h1,
.post__content h2,
.post__content h3 {
  clear: both;
}


/* ============================================================
   STYLE DES TABLEAUX (ArisNotes)
   ============================================================ */

.post__content table {
  width: 100%;
  border-collapse: collapse !important; /* fusionne les bordures, évite les doubles traits */
  margin-top: 20px !important;
  margin-bottom: 20px !important;
  font-size: 0.95em;
}

/* En-tête du tableau */
.post__content thead th {
  background-color: rgba(37, 175, 218, 0.15) !important; /* teinte douce reprenant ton bleu de site */
  color: inherit;
  font-weight: 700 !important;
  text-align: left !important;
  padding: 12px 16px !important; /* espace intérieur généreux, plus lisible que le défaut */
  border-bottom: 2px solid rgba(37, 175, 218, 0.6) !important; /* ligne plus marquée sous l'en-tête */
}

/* Cellules du corps du tableau */
.post__content tbody td {
  padding: 10px 16px !important; /* espace intérieur, remplace les lignes "fines" par défaut */
  border-bottom: 1px solid rgba(0, 0, 0, 0.12) !important; /* ligne de séparation entre les lignes */
  vertical-align: top;
}

/* Alternance de couleur entre les lignes (zebra striping), améliore la lisibilité */
.post__content tbody tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.03) !important;
}

/* Effet léger au survol d'une ligne, utile pour les tableaux comparatifs longs */
.post__content tbody tr:hover {
  background-color: rgba(37, 175, 218, 0.08) !important;
}

/* Version mobile : évite que le tableau déborde de l'écran */
@media screen and (max-width: 600px) {
  .post__content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}


/* ============================================================
Header cleanup replacement
============================================================ */

html,
body {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(147, 147, 147, 1) !important;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.4) !important;
  z-index: -1;
}

.container.container--outer {
  max-width: 900px !important;
  width: 100% !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
  position: relative !important;
  z-index: 1 !important;
  padding: 0 !important;
  margin: 70px auto 80px !important;
  overflow: hidden !important;
}

.wrapper.flex,
.primary,
main.main {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.header {
  background: var(--color-surface);
  border-bottom: none !important;
  box-shadow: none !important;
}

.header__hero {
  position: relative;
  height: 230px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: none !important;
  box-shadow: none !important;
}

.header__hero-container {
  position: relative;
  height: 100%;
}

.header__logo-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  text-align: center;
}

.header__logo-center a {
  display: inline-block;
  line-height: 0;
}

.header__logo-center img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 25px !important;
  display: block;
  object-fit: contain;
}

.header__menu {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  z-index: 3;
}

.header,
.header *,
.header + *,
.header + * *,
.header::before,
.header::after,
.header__container,
.header__container::after {
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.header + *::before,
.header + *::after,
.main::before,
.site-main::before {
  content: none !important;
  display: none !important;
  height: 0 !important;
  border: none !important;
}

.menu,
.menu__list,
.submenu {
  background: transparent !important;
}

.menu {
  border: none !important;
  box-shadow: none !important;
}

.menu__btn {
  color: rgb(245, 245, 245) !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.menu__btn-title {
  color: inherit !important;
}

.menu__list {
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.menu__item {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.menu__link {
  color: rgb(245, 245, 245) !important;
  padding: 12px 24px !important;
  border: none !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  margin: 0 !important;
  min-width: 140px !important;
  text-align: center !important;
  height: 48px !important;
  line-height: 24px !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.menu__text {
  color: rgb(255, 255, 255) !important;
}

@media screen and (min-width: 901px) {
  .menu__item {
    display: inline-block !important;
  }

  .menu__link {
    display: inline-block !important;
  }
}

@media screen and (max-width: 900px) {
  .container.container--outer {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-radius: 0 !important;
  }

  .wrapper {
    padding: 20px;
  }

  .header__menu {
    background: rgba(0, 0, 0, 0.95) !important;
    align-items: stretch !important;
  }

  .header__menu .container,
  .menu,
  .menu__list {
    width: 100% !important;
    background: rgba(0, 0, 0, 0.95) !important;
  }

  .menu__btn,
  .menu__btn:hover,
  .menu__btn:focus {
    background: rgba(0, 0, 0, 0.95) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: none !important;
  }

  .menu__btn-title {
    color: #fff !important;
  }

  .menu__item,
  .submenu__item {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #000 !important;
    border: none !important;
    box-shadow: none !important;
  }

  .menu__link,
  .submenu__link {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    line-height: 1.4 !important;
    text-align: left !important;
    color: #fff !important;
    background: #000 !important;
    padding: 12px 24px !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
  }

  .submenu {
    background: #000 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .submenu__link {
    padding-left: 36px !important;
  }

  .menu__text {
    color: #fff !important;
  }

  .menu__link:hover,
  .menu__link:focus,
  .submenu__link:hover,
  .submenu__link:focus {
    background: #111 !important;
    color: #fff !important;
  }
}


/* ============================================================
   CARTES D'ARTICLES (Post Cards) — image + titre en overlay
   Affichage identique sur tous les formats d'écran.
   ============================================================ */

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
    align-items: start;
}

.post-card {
    display: block !important;
    height: 315px !important;   /* à ajuster selon vos tests visuels */
    border-radius: 20px !important;
    overflow: hidden !important;
    background: var(--color-surface) !important;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

.post-card a,
.post-card a:visited {
    color: inherit;
    text-decoration: none;
}

.post-card a:hover,
.post-card a:focus {
    color: inherit;
}

.post-card__link {
    display: flex !important;
    flex-direction: column !important;
    height: 100%;
    color: inherit !important;
    text-decoration: none !important;
}

.post-card__media {
    position: relative !important;
    display: block;
    flex: 0 0 auto;
    overflow: hidden;
    height: 140px !important;   /* hauteur fixe de l'image, plutôt que aspect-ratio */
    aspect-ratio: unset !important;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.post-card__image {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
}

.post-card__content {
    display: block !important;
    position: static !important;
    flex: 0 0 auto;
    overflow: visible !important;
    padding: 12px 14px 16px;
}

.post-card__meta,
.post-card__title,
.post-card__excerpt {
    position: static !important;
}

.post-card__title--overlay {
    position: absolute !important;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 !important;
    padding: 10px 12px !important;
    box-sizing: content-box !important;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0)) !important;
    color: #fff !important;
    z-index: 2;
    font-size: 1.1rem !important;
    line-height: 1.25 !important;
    display: block !important;
    overflow: hidden !important;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.9),
        0 0 8px rgba(0, 0, 0, 0.7) !important;
}

.post-card__excerpt {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;   /* nombre de lignes visibles, à tester */
    line-clamp: 3 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-height: 100px !important;
    min-height: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    white-space: normal !important;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    margin: 6px 0 0 !important;
    color: var(--color-text-muted) !important;
}

.post-card__excerpt > * {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
}


@media screen and (max-width: 900px) {
  .header__hero {
    height: 190px !important;
  }

  .header__logo-center {
    inset: 0 0 48px 0 !important;
  }

  .header__logo-center a {
    width: 100%;
    display: flex !important;
    justify-content: center !important;
  }

  .header__logo-center img {
    margin: 0 auto !important;
  }
}