@charset "UTF-8";
/*!
 * Info Ops France — feuille de style principale.
 * Dérivée du thème Hugo "zozo", Copyright (c) 2019 varkai, licence MIT.
 * Voir LICENSE-zozo à la racine du dépôt.
 */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f3f3f3;
  --border: #dfe2e5;
  --text: #1f1f1f;
  --text-strong: #000000;
  --text-muted: #5f5f5f;
  --text-faint: #8a8a8a;
  --accent: #e42b2b;
  --accent-hover: #8e0000;
  --mark: #fcfcf0;
  --focus: #0a5fd6;
  --shadow: rgba(236, 236, 236, 0.86);
}

/* Thème sombre.
   Deux déclencheurs : la préférence système, et le choix explicite du
   lecteur (attribut data-theme posé sur <html> par le sélecteur).
   Le :not([data-theme="light"]) permet au choix explicite « clair » de
   l'emporter sur un système réglé en sombre. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #14161a;
    --surface: #1c1f25;
    --border: #333941;
    --text: #e6e8ea;
    --text-strong: #ffffff;
    --text-muted: #a3abb5;
    --text-faint: #7d8590;
    --accent: #ff6b6b;
    --accent-hover: #ff9d9d;
    --mark: #2b2a1f;
    --focus: #7cb0ff;
    --shadow: rgba(0, 0, 0, 0.5);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #14161a;
  --surface: #1c1f25;
  --border: #333941;
  --text: #e6e8ea;
  --text-strong: #ffffff;
  --text-muted: #a3abb5;
  --text-faint: #7d8590;
  --accent: #ff6b6b;
  --accent-hover: #ff9d9d;
  --mark: #2b2a1f;
  --focus: #7cb0ff;
  --shadow: rgba(0, 0, 0, 0.5);
}

/*basic styles starts*/
html {
  background-color: var(--surface);
  -webkit-font-smoothing: antialiased;
}

html::-webkit-scrollbar {
  width: 13px;
}

html::-webkit-scrollbar-button {
  display: none;
}

html::-webkit-scrollbar-thumb {
  min-height: 16px;
  background-color: var(--text-muted);
  background-clip: padding-box;
  border: 3px solid var(--bg);
  border-radius: 5px;
}

body {
  color: var(--text);
  font-family: "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 16px;
  width: 100%;
  background-color: var(--surface);
  margin: 0;
  padding: 0;
}

p {
  line-height: 1.9em;
  font-weight: 400;
  margin: 0;
}

a {
  text-decoration: none;
}

a:link, a:visited {
  opacity: 1;
  -webkit-transition: all 0.15s linear;
  transition: all 0.15s linear;
  color: var(--text);
}

a:hover, a:active {
  color: var(--text-muted);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-rendering: optimizeLegibility;
}

hr {
  border: 1px solid var(--surface);
}

/*basic styles ends*/
.main {
  background: var(--bg);
  -webkit-box-shadow: 0 10px 20px 0 var(--shadow);
          box-shadow: 0 10px 20px 0 var(--shadow);
  width: 800px;
  margin: 60px auto 0;
}

.content {
  width: 720px;
  height: auto;
  margin: 0 auto;
}

.list_with_title .container {
  width: 720px;
  margin: 0 auto;
}

.nav_container {
  width: 740px;
  height: 3rem;
  margin: 0 auto;
  padding: 20px 0;
}

.nav_container .menu_icon {
  padding: 10px;
  float: right;
  display: none;
}

.nav_container .menu_icon a {
  cursor: pointer;
}

.nav_container .site_nav {
  float: right;
}

.nav_container .site_nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  float: right;
}

.nav_container .site_nav li,
.nav_container .site_nav a {
  position: relative;
}

.nav_container .site_nav li {
  float: left;
}

.nav_container .site_nav a {
  display: block;
  white-space: nowrap;
  padding: 10px;
  font-size: 0.9rem;
}

.nav_container .site_nav li.active > a {
  color: var(--text);
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
}

.header {
  width: 720px;
  padding: 50px 0 140px 0;
  margin: 0 auto;
  background-size: cover;
}

.header .site_title_container {
  padding: 0 0;
}

.header .site_title_container h1 {
  line-height: 1;
  margin: 0;
}

.header .site_title_container a {
  text-decoration: none;
  font-weight: bold;
  float: left;
}

.header .site_title_container .site_title a {
  font-size: 28px;
  width: 65px;
  letter-spacing: 2px;
  line-height: 1.2;
  color: var(--text-strong);
}

.header .site_title_container .site_title a span {
  display: block;
}

.header .site_title_container .site_title a:hover {
  color: var(--text-muted);
}

.header .site_title_container .description {
  font-size: 0.9rem;
  color: var(--text-muted);
  float: right;
}

.header .site_title_container .description .sub_title {
  font-weight: normal !important;
  float: none !important;
  text-align: right;
}

.header .my_socials {
  list-style: none;
  font-size: 14px;
  float: right;
  margin: 5px 0;
}

/* Liens sociaux et sélecteur de thème : une seule rangée, une seule taille. */
.header .my_socials a,
.header .my_socials .theme_toggle {
  color: var(--text-muted);
  font-size: 1.05rem;
  float: none;
  cursor: pointer;
}

.header .my_socials a:hover,
.header .my_socials .theme_toggle:hover {
  color: var(--text-strong);
}

.post {
  background-color: var(--bg);
  margin-top: 50px;
}

.post .post_title h2 {
  letter-spacing: 1px;
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 6px 0;
}

.post .post_title a {
  text-decoration: none;
  letter-spacing: 1px;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 28px;
}

.post .post_title span {
  color: var(--text-muted);
  font-size: 14px;
}

.post .post_title span.date {
  font-size: 12px;
}

.post .post_detail_title h2 {
  font-size: 1.5rem;
  font-weight: bold;
}

.post .list p {
  padding-bottom: 0 !important;
}

.post .post_content {
  word-break: normal;
  margin-top: 20px;
}

.post .post_content p {
  line-height: 2em;
  letter-spacing: 0.2px;
  margin-bottom: 20px;
}

.post .post_content a {
  text-decoration: none;
  letter-spacing: 1px;
  color: var(--accent);
}

.post .post_content a:hover {
  color: var(--accent-hover);
}

.post .post_footer {
  padding: 20px 0;
  border-bottom: 1px solid var(--surface);
}

.post .post_footer .meta {
  max-width: 100%;
  height: 25px;
  color: var(--text-faint);
}

.post .post_footer .meta .info {
  float: left;
  font-size: 11px;
}

.post .post_footer .meta .info .date {
  margin-right: 10px;
}

.post .post_footer .meta .field {
  margin-right: 10px;
}

.post .post_footer .meta .tags a {
  text-decoration: none;
  color: var(--text-faint);
  padding-right: 6px;
}

.post .post_footer .meta .tags a:hover {
  color: var(--text);
}

.page_tags {
  text-align: center;
  margin-top: 50px;
}

.page_tags ul li {
  margin: 10px 15px;
  display: inline-block;
  font-size: 1em;
}

.page_tags .terms_count {
  display: inline-block;
  position: relative;
  top: -8px;
  right: -2px;
  color: var(--text-faint);
  font-size: 12px;
}

.page_tags ul {
  margin: 0;
  padding: 0;
}

.doc_comments {
  font-size: 14px;
  color: var(--text);
  margin-top: 30px;
  padding: 35px 0 45px;
}

.doc_comments .comments_block_title {
  color: var(--text-strong);
}

.footer {
  clear: both;
  max-width: 780px;
  text-align: center;
  font-size: 12px;
  padding: 40px 0;
  margin: 0 auto;
}

.footer a {
  color: var(--text-faint);
  margin: 0 12px;
}

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

.footer .powered_by {
  margin: 0;
  font-size: 11px;
}

.footer .powered_by a {
  color: var(--border);
  margin: 0 2px;
}

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

.footer .footer_slogan {
  padding-top: 25px;
  padding-bottom: 10px;
  color: var(--text-strong);
  font-size: 16px;
  letter-spacing: 1px;
}

/*for archive*/
.list_with_title {
  font-size: 14px;
  margin: 0;
  padding: 0;
}

.list_with_title li {
  list-style-type: none;
  padding: 0;
}

.list_with_title .listing_title {
  font-size: 1.4rem;
  color: var(--text);
  font-weight: bold;
  padding-top: 10px;
  line-height: 2.2em;
}

.list_with_title .listing {
  margin: 0 0 50px 0;
  padding: 0;
  line-height: 2.1;
}

.list_with_title .listing .listing_post {
  padding-bottom: 5px;
}

.list_with_title .listing .listing_post a {
  display: inline-block;
  width: 85%;
}

.list_with_title .listing .listing_post .post_time {
  float: right;
  color: var(--text-faint);
  font-size: 14px;
}

.list_with_title .listing .listing_post a:hover {
  color: var(--text);
}

.pagination {
  padding: 30px 0 60px 0;
  border-bottom: 1px solid var(--surface);
  color: var(--text-muted);
  font-size: 14px;
}

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

.pagination a:hover {
  color: var(--text);
}

.pagination .pre {
  float: left;
}

.pagination .next {
  float: right;
}

.markdown {
  line-height: 1.8em;
  word-wrap: break-word;
  word-break: normal;
  overflow-wrap: break-word;
}

.markdown ul,
.markdown ol,
.markdown dl {
  margin: 0.8em 0;
}

.markdown h1,
.markdown h2,
.markdown h3,
.markdown h4,
.markdown h5,
.markdown h6 {
  margin: 20px 0 20px 0;
  color: var(--text-strong);
}

.markdown h1 {
  font-size: 1.35em;
}

.markdown h2 {
  font-size: 1.25em;
}

.markdown h3 {
  font-size: 1.15em;
}

.markdown h4 {
  font-size: 1.1em;
}

.markdown pre,
.markdown code {
  font-family: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.9em;
  background: var(--surface);
  border: none;
  white-space: pre;
}

.markdown pre {
  padding: 16px;
  display: block;
  overflow: auto;
  white-space: pre;
  word-wrap: break-word;
}

.markdown code {
  color: var(--text-muted);
  padding: 4px 5px;
  border-radius: 2px;
  white-space: nowrap;
}

.markdown pre code {
  padding: 0;
  color: var(--text-muted);
  white-space: pre;
}

.markdown blockquote p {
  white-space: pre-line;
}

.markdown pre::-webkit-scrollbar {
  height: 10px;
}

.markdown pre::-webkit-scrollbar-button {
  display: none;
}

.markdown pre::-webkit-scrollbar-track {
  background: white;
}

.markdown pre::-webkit-scrollbar-thumb {
  min-height: 1rem;
  background-color: var(--border);
  background-clip: padding-box;
  border: 3px solid var(--bg);
  border-radius: 5px;
}

.markdown pre::-webkit-scrollbar-thumb:active {
  background-color: var(--text-muted);
  border-width: 2px;
}

.markdown blockquote {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 2.5em 0;
  padding: 0 0 0 50px;
  font-style: italic;
  color: var(--text-muted);
  border-left: none;
}

.markdown blockquote:before {
  content: '“';
  display: block;
  font-family: times, sans-serif;
  font-style: normal;
  font-size: 48px;
  color: var(--text);
  font-weight: bold;
  line-height: 30px;
  margin-left: -50px;
  position: absolute;
}

.markdown strong,
.markdown b,
.markdown em {
  padding: 1px 2px;
  background-color: var(--mark);
  font-weight: normal;
}

.markdown .fancybox {
  text-align: center;
}

/* Toutes les illustrations d'un article occupent la même largeur —
   celle de la colonne de texte — quelle que soit leur taille source. */
.markdown img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 24px auto;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

table th {
  background-color: var(--surface);
}

table th, table td {
  padding: 10px 20px;
  border: 1px solid var(--border);
}

a.back_to_top {
  text-decoration: none;
  position: fixed;
  bottom: 40px;
  right: 30px;
  background: var(--surface);
  height: 40px;
  width: 40px;
  border-radius: 50%;
  line-height: 36px;
  font-size: 18px;
  text-align: center;
  -webkit-transition-duration: 0.5s;
          transition-duration: 0.5s;
  -webkit-transition-property: background-color;
  transition-property: background-color;
  display: none;
}

a.back_to_top span {
  color: var(--text-muted);
}

a.back_to_top:hover {
  cursor: pointer;
  background: var(--border);
}

a.back_to_top:hover span {
  color: var(--text-muted);
}

@media print, screen and (max-width: 680px) {
  .nav_container {
    position: relative;
    z-index: 999;
  }
  .nav_container .site_nav {
    display: none;
    position: fixed;
    right: 0;
    top: 60px;
    padding: 10px 0;
    width: 100%;
    background-color: var(--bg);
    -webkit-box-shadow: 0 10px 20px 0 var(--shadow);
            box-shadow: 0 10px 20px 0 var(--shadow);
  }
  .nav_container .site_nav ul {
    float: none;
    text-align: center;
  }
  .nav_container .site_nav li {
    float: none;
  }
  .nav_container .menu_icon {
    position: fixed;
    right: 0;
    display: block;
  }
  .back_to_top {
    display: none !important;
  }
}

@media screen and (min-width: 1600px) {
  .main {
    width: 1000px;
  }
  .nav_container {
    width: 840px;
  }
  .header,
  .content {
    width: 820px;
  }
}

@media screen and (min-width: 681px) and (max-width: 900px) {
  .header {
    padding: 30px 0 80px;
  }

  .post .post_title a {
    font-size: 1.3rem;
  }

  .post_nav {
    flex-direction: column;
    gap: 12px;
  }

  .post_nav a {
    max-width: 100%;
  }

  .post_nav_next {
    text-align: left;
    margin-left: 0;
  }
}

@media screen and (max-width: 900px) {
  .main {
    width: 95%;
    margin-top: 20px;
  }
  .nav_container {
    width: 95%;
  }
  .header,
  .content {
    width: 90%;
  }
  .post_page {
    padding-top: 0;
  }
  .footer a {
    margin: 0 6px;
  }
  .post {
    margin-top: 40px;
  }
  .post .post_title a {
    font-size: 1.4rem;
  }
  .post_footer {
    padding-bottom: 30px;
  }
}

/*animation starts*/
@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-3px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-3px);
            transform: translateY(-3px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

/*animation ends*/
.post .post_content {
  word-break: normal;
  margin-top: 20px;
}

.post .post_content p {
  line-height: 2em;
  letter-spacing: 0.2px;
  margin-bottom: 20px;
}

.post .post_content a {
  text-decoration: none;
  letter-spacing: 1px;
  color: var(--accent);
}

.post .post_content a:hover {
  color: var(--accent-hover);
}

/* Reading time */
.reading_time {
  color: var(--text-muted);
  font-size: 12px;
  margin-left: 10px;
}

.reading_time i {
  vertical-align: middle;
}

/* Prev/next post navigation */
.post_nav {
  display: flex;
  justify-content: space-between;
  padding: 30px 0 10px;
  border-top: 1px solid var(--surface);
  margin-top: 20px;
  gap: 20px;
}

.post_nav a {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  max-width: 48%;
  line-height: 1.4;
  transition: color 0.15s linear;
}

.post_nav a:hover {
  color: var(--accent);
}

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

/* Add spacing above the post image */
.post_image {
    margin-top: 20px; /* Space above the image */
}

/* Styling for the site logo */
.site_logo {
    max-width: 150px; /* Adjust the logo width */
    height: auto; /* Maintain aspect ratio */
    display: block;
    margin: 0 auto; /* Center the logo */
}

/* Le logo est une image monochrome sur fond transparent (logo-mark.png).
   En thème sombre on l'inverse : l'encre foncée devient claire et la
   transparence est préservée — pas de rectangle blanc. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site_logo { filter: invert(1); }
}

:root[data-theme="dark"] .site_logo { filter: invert(1); }

/* Add spacing below tables */
table {
    margin-bottom: 20px; /* Space below the table */
}

/* ==========================================================================
   Info Ops France — composants ajoutés
   ========================================================================== */

/* Accessibilité ----------------------------------------------------------- */

.sr_only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Icônes SVG inline ------------------------------------------------------- */

.icon {
  display: inline-block;
  vertical-align: -0.125em;
  flex: none;
}

.my_socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.my_socials a {
  display: inline-flex;
  align-items: center;
}

/* Navigation mobile ------------------------------------------------------- */

.menu_icon button {
  background: none;
  border: 0;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1;
}

/* Titres de page ---------------------------------------------------------- */

.page_heading {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text);
  margin: 0 0 30px;
  letter-spacing: 1px;
}

/* Signature d'article ----------------------------------------------------- */

.byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.byline strong {
  color: var(--text);
  font-weight: 600;
}

.byline_sep { color: var(--text-faint); }

.byline_reading {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Série ------------------------------------------------------------------- */

.series_box {
  margin: 28px 0;
  padding: 16px 20px;
  background-color: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
  font-size: 0.9rem;
}

.series_head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.series_head a {
  color: var(--text);
  font-weight: 600;
}

.series_list {
  margin: 0;
  padding-left: 1.3em;
}

.series_list li { margin: 4px 0; }

.series_list li.is_current > span {
  color: var(--text);
  font-weight: 600;
}

.series_list li.is_current::marker {
  color: var(--accent);
  font-weight: 700;
}

/* Méthodologie / provenance des données ----------------------------------- */

.methodology {
  margin: 36px 0 0;
  padding: 18px 22px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.methodology_title {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.methodology_body p:last-child { margin-bottom: 0; }

/* Figures ----------------------------------------------------------------- */

.fig {
  margin: 28px 0;
}

.fig img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 3px;
  background-color: var(--bg);
}

.fig figcaption {
  margin-top: 10px;
  font-size: 0.83rem;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: left;
}

.fig_caption { display: block; }

.fig_source {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--text-faint);
  font-style: italic;
}

.post_image img {
  max-width: 100%;
  height: auto;
}

/* Tableaux ---------------------------------------------------------------- */

.table_wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
  border-radius: 3px;
}

.table_wrap table {
  margin-bottom: 0;
  min-width: 100%;
}

.post_content table {
  max-width: 100%;
  font-size: 0.9rem;
}

.post_content th,
.post_content td {
  padding: 8px 14px;
  white-space: nowrap;
}

.post_content th { text-align: left; }

.post_content tbody tr:nth-child(even) { background-color: var(--surface); }

/* Pagination -------------------------------------------------------------- */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.pagination_status {
  font-size: 0.85rem;
  color: var(--text-faint);
}

/* Retour en haut ---------------------------------------------------------- */

.back_to_top {
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.back_to_top.is_visible {
  display: block;
  opacity: 1;
}

/* Pied de page ------------------------------------------------------------ */

.footer_links {
  margin-bottom: 8px;
}

.footer_links a { margin: 0 8px; }

.powered_by {
  font-size: 0.78rem;
  color: var(--text-faint);
}

/* Recherche --------------------------------------------------------------- */

.search-container { padding: 20px 0 80px; }

.search_noscript {
  color: var(--text-muted);
  font-size: 0.9rem;
}

:root {
  --pagefind-ui-scale: 1;
  --pagefind-ui-primary: var(--accent);
  --pagefind-ui-text: var(--text);
  --pagefind-ui-background: var(--bg);
  --pagefind-ui-border: var(--border);
  --pagefind-ui-tag: var(--surface);
  --pagefind-ui-border-width: 1px;
  --pagefind-ui-border-radius: 4px;
  --pagefind-ui-font: inherit;
}

.pagefind-ui__search-input { font-size: 1rem !important; }
.pagefind-ui__result-link { color: var(--accent) !important; }
.pagefind-ui__result-link:hover { color: var(--accent-hover) !important; }

/* 404 --------------------------------------------------------------------- */

.not_found {
  text-align: center;
  padding: 60px 0 20px;
}

.not_found_code {
  font-size: 5rem;
  font-weight: bold;
  color: var(--accent);
  margin: 0;
  line-height: 1;
}

.not_found h1 {
  font-size: 1.4rem;
  color: var(--text);
  margin: 16px 0 8px;
}

.not_found_hint {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.not_found a.home_link {
  display: inline-block;
  margin-top: 30px;
  color: var(--accent);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

.not_found a.home_link:hover {
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* Mobile ------------------------------------------------------------------ */

@media print, screen and (max-width: 680px) {
  .nav_container .site_nav.is_open { display: block; }

  .post_content th,
  .post_content td {
    padding: 6px 10px;
    font-size: 0.85rem;
  }
}

/* Titre d'article (h1) — remplace l'ancien h2 -------------------------------- */

.post .post_detail_title h1 {
  letter-spacing: 0.5px;
  font-size: 1.75rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
}

@media screen and (max-width: 680px) {
  .post .post_detail_title h1 { font-size: 1.4rem; }
}

/* Sélecteur de thème clair / sombre ---------------------------------------- */

/* Le sélecteur vit dans la rangée d'icônes sociales : mêmes dimensions,
   même couleur et même espacement que les liens qui l'entourent. */
.theme_toggle {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  border-radius: 3px;
}

.theme_toggle:hover { color: var(--text-strong); }

.theme_toggle[hidden] { display: none; }

/* L'icône affichée indique le thème vers lequel on bascule :
   lune en thème clair, soleil en thème sombre. */
.theme_icon { display: none; }
.theme_toggle[data-state="light"] .theme_icon_moon { display: inline-flex; }
.theme_toggle[data-state="dark"] .theme_icon_sun { display: inline-flex; }

/* Citation de l'en-tête ----------------------------------------------------
   Traitement sobre : la police du site, en italique légère, et l'attribution
   en capitales espacées. C'est l'attribution qui donne son poids au bloc,
   pas un caractère décoratif. */

.header .site_title_container .description .sub_title {
  margin: 0;
  padding: 0;
  border: 0;
  font-style: italic;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 34ch;
  margin-left: auto;
  text-wrap: balance;
}

.header .site_title_container .description .sub_title p {
  margin: 0;
  line-height: inherit;
}

.header .site_title_container .description .sub_title cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

@media screen and (max-width: 680px) {
  .header .site_title_container .description .sub_title {
    font-size: 0.95rem;
    max-width: none;
  }
}
