
/* Hauteur fixe de l’en-tête pour décaler le contenu de base.
   Elle ne sera PAS ajustée dynamiquement quand les menus s’ouvrent :
   l’excédent passe par-dessus le contenu. */

/*:root {
  --header-height: 50px;
  --color-bg: #ffffff;
  --color-text: #000000;
  --color-text-secondary: #333333;
  --color-text-tertiary:#555555;
  --color-border: #cccccc;
  --color-border-light: #dddddd;
  --color-button-accent: #0080ff;
  --color-button-bg: #333333;
  --color-button-text: #ffffff;
  --color-card-bg: rgba(0,0,0,0.02);
  --header-bg-translucent: rgba(255,255,255,0.4);
  --second-bar-bg-translucent: rgba(255,255,255,0.3);
}*/


/*:root {
  --header-height: 50px;

  --color-bg: #050816;
  --color-text: #f5f7ff;
  --color-text-secondary: #c5c9ff;
  --color-text-tertiary: rgba(255,255,255,0.08);

  --color-accent: #3ea8ff;

  --color-border: #eee;
  --color-border-light: #aaa;

  --color-button-accent: #3ea8ff;
  --color-button-bg: #1e2235;
  --color-button-text: #f5f7ff;

  --color-card-bg: rgba(255,255,255,0.04);
  --header-bg-translucent: rgba(5, 8, 22, 0.8);
  --second-bar-bg-translucent: rgba(5, 8, 22, 0.7);
}*/

:root {
  --header-height: 50px;

  --color-bg: #fff;
  --color-text: #000;
  --color-text-secondary: #333;
  --color-text-tertiary: #555;

  --color-accent: #000;

  --color-border: #333;
  --color-border-light: #555;

  --color-button-accent: #3ea8ff;
  --color-button-bg: #1e2235;
  --color-button-text: #f5f7ff;

  --color-card-bg: rgba(255,255,255,0.04);
  --header-bg-translucent: rgba(5, 8, 22, 0.8);
  --second-bar-bg-translucent: rgba(5, 8, 22, 0.7);

  --current-bg: var(--color-bg);
  --current-text: var(--color-text);
  --current-title: var(--color-text);
  --current-text-secondary: var(--color-text-secondary);
  --current-border: var(--color-border);
  --current-border-light: var(--color-border-light);
  --current-card-bg: var(--color-card-bg);
}



@font-face {
  font-family: 'inputMonoCondensedMedium';
  src:url('../fonts/InputMonoCondensedMedium.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'inputSansCompressedRegular';
  src:url('../fonts/InputSansCompressedRegular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}




body {
  --global-bg: var(--global-background-light, var(--color-bg));
  --global-text: var(--global-text-light, var(--color-text));
  --global-border: var(--global-border-light, var(--color-border));
  --header-bg: var(--header-background-light, var(--global-bg));
  --header-text: var(--header-text-light, var(--global-text));
  --header-border: var(--header-border-light, var(--global-border));
  --footer-bg: var(--footer-background-light, var(--global-bg));
  --footer-text: var(--footer-text-light, var(--global-text));
  --footer-border: var(--footer-border-light, var(--global-border));
  --header-title: var(--header-title-light, var(--header-text));
  margin: 0;
  /*font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;*/
  font-family: "inputSansCompressedRegular", sans-serif;
  font-size: 1.15em;
  color: var(--global-text);
  background: var(--global-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

@media (prefers-color-scheme: dark) {
  body {
    --global-bg: var(--global-background-dark, var(--global-background-light, var(--color-bg)));
    --global-text: var(--global-text-dark, var(--global-text-light, var(--color-text)));
    --global-border: var(--global-border-dark, var(--global-border-light, var(--color-border)));
    --header-bg: var(--header-background-dark, var(--header-background-light, var(--global-bg)));
    --header-text: var(--header-text-dark, var(--header-text-light, var(--global-text)));
    --header-border: var(--header-border-dark, var(--header-border-light, var(--global-border)));
    --footer-bg: var(--footer-background-dark, var(--footer-background-light, var(--global-bg)));
    --footer-text: var(--footer-text-dark, var(--footer-text-light, var(--global-text)));
    --footer-border: var(--footer-border-dark, var(--footer-border-light, var(--global-border)));
    --header-title: var(--header-title-dark, var(--header-title-light, var(--header-text)));
  }
}

html[data-theme="light"] body {
  --global-bg: var(--global-background-light, var(--color-bg));
  --global-text: var(--global-text-light, var(--color-text));
  --global-border: var(--global-border-light, var(--color-border));
  --header-bg: var(--header-background-light, var(--global-bg));
  --header-text: var(--header-text-light, var(--global-text));
  --header-border: var(--header-border-light, var(--global-border));
  --footer-bg: var(--footer-background-light, var(--global-bg));
  --footer-text: var(--footer-text-light, var(--global-text));
  --footer-border: var(--footer-border-light, var(--global-border));
  --header-title: var(--header-title-light, var(--header-text));
}

html[data-theme="dark"] body {
  --global-bg: var(--global-background-dark, var(--global-background-light, var(--color-bg)));
  --global-text: var(--global-text-dark, var(--global-text-light, var(--color-text)));
  --global-border: var(--global-border-dark, var(--global-border-light, var(--color-border)));
  --header-bg: var(--header-background-dark, var(--header-background-light, var(--global-bg)));
  --header-text: var(--header-text-dark, var(--header-text-light, var(--global-text)));
  --header-border: var(--header-border-dark, var(--header-border-light, var(--global-border)));
  --footer-bg: var(--footer-background-dark, var(--footer-background-light, var(--global-bg)));
  --footer-text: var(--footer-text-dark, var(--footer-text-light, var(--global-text)));
  --footer-border: var(--footer-border-dark, var(--footer-border-light, var(--global-border)));
  --header-title: var(--header-title-dark, var(--header-title-light, var(--header-text)));
}










h1 {
  font-family: "inputMonoCondensedMedium", sans-serif;
  font-size: 2.25em; /* Set the font size to match the body font size */
  font-weight: 600;
  background-color: none; /* Background color for the title */
  color: var(--current-title);
  /*padding-left: 10px;*/
/*  border-radius: 5px 5px 0 0;*/
/*  margin-bottom: 0;*/
  margin: 10;
}

h2 {
  font-family: "inputSansCompressedRegular", sans-serif;
  font-size: 1.5em; /* Set the font size to match the body font size */
  font-weight: 500;
  background-color: none; /* Background color for the title */
  color: var(--current-title);
  /*padding-left: 10px;*/
/*  border-radius: 5px 5px 0 0;*/
/*  margin-bottom: 0;*/
  margin-top: 0;
  margin-bottom: 10;
}


/* Link styles */
a {
  color: var(--current-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-default-content,
.page-section {
  --current-bg: var(--theme-background-light, var(--color-bg));
  --current-text: var(--theme-text-light, var(--color-text));
  --current-title: var(--theme-title-light, var(--current-text));
  --current-text-secondary: color-mix(in srgb, var(--current-text) 72%, var(--current-bg));
  --current-border: color-mix(in srgb, var(--current-text) 26%, var(--current-bg));
  --current-border-light: color-mix(in srgb, var(--current-text) 16%, var(--current-bg));
  --current-card-bg: color-mix(in srgb, var(--current-text) 6%, var(--current-bg));
  --accordion-table-bg: var(--accordion-table-background-light, transparent);
  --accordion-body-bg: var(--accordion-body-background-light, var(--current-card-bg));
  background-color: var(--current-bg);
  color: var(--current-text);
}

@media (prefers-color-scheme: dark) {
  .page-default-content,
  .page-section {
    --current-bg: var(--theme-background-dark, var(--theme-background-light, var(--color-bg)));
    --current-text: var(--theme-text-dark, var(--theme-text-light, var(--color-text)));
    --current-title: var(--theme-title-dark, var(--theme-title-light, var(--current-text)));
    --current-text-secondary: color-mix(in srgb, var(--current-text) 72%, var(--current-bg));
    --current-border: color-mix(in srgb, var(--current-text) 26%, var(--current-bg));
    --current-border-light: color-mix(in srgb, var(--current-text) 16%, var(--current-bg));
    --current-card-bg: color-mix(in srgb, var(--current-text) 6%, var(--current-bg));
    --accordion-table-bg: var(--accordion-table-background-dark, var(--accordion-table-background-light, transparent));
    --accordion-body-bg: var(--accordion-body-background-dark, var(--accordion-body-background-light, var(--current-card-bg)));
  }
}

html[data-theme="light"] .page-default-content,
html[data-theme="light"] .page-section {
  --current-bg: var(--theme-background-light, var(--color-bg));
  --current-text: var(--theme-text-light, var(--color-text));
  --current-title: var(--theme-title-light, var(--current-text));
  --current-text-secondary: color-mix(in srgb, var(--current-text) 72%, var(--current-bg));
  --current-border: color-mix(in srgb, var(--current-text) 26%, var(--current-bg));
  --current-border-light: color-mix(in srgb, var(--current-text) 16%, var(--current-bg));
  --current-card-bg: color-mix(in srgb, var(--current-text) 6%, var(--current-bg));
  --accordion-table-bg: var(--accordion-table-background-light, transparent);
  --accordion-body-bg: var(--accordion-body-background-light, var(--current-card-bg));
}

html[data-theme="dark"] .page-default-content,
html[data-theme="dark"] .page-section {
  --current-bg: var(--theme-background-dark, var(--theme-background-light, var(--color-bg)));
  --current-text: var(--theme-text-dark, var(--theme-text-light, var(--color-text)));
  --current-title: var(--theme-title-dark, var(--theme-title-light, var(--current-text)));
  --current-text-secondary: color-mix(in srgb, var(--current-text) 72%, var(--current-bg));
  --current-border: color-mix(in srgb, var(--current-text) 26%, var(--current-bg));
  --current-border-light: color-mix(in srgb, var(--current-text) 16%, var(--current-bg));
  --current-card-bg: color-mix(in srgb, var(--current-text) 6%, var(--current-bg));
  --accordion-table-bg: var(--accordion-table-background-dark, var(--accordion-table-background-light, transparent));
  --accordion-body-bg: var(--accordion-body-background-dark, var(--accordion-body-background-light, var(--current-card-bg)));
}

.item-list-page {
  --bg: var(--item-list-background-light, #ECECEC);
  --bg2: var(--item-list-surface-light, #F7F7F7);
  --fg: var(--item-list-text-light, #1C1C1C);
  --row-primary-text: var(--item-list-row-primary-text-light, var(--fg));
  --row-muted-text: var(--item-list-row-muted-text-light, #5E5E5E);
  --link-color: var(--item-list-link-light, var(--fg));
  --muted: var(--item-list-muted-light, #A9A9A9);
  --border: var(--item-list-border-light, #BEBEBE);
  --border-hover: var(--item-list-border-hover-light, #9E9E9E);
  --accent: var(--item-list-accent-light, #5AB480);
  --accent-veil: var(--item-list-accent-veil-light, rgba(90,180,128,.22));
  --table-header-text: var(--item-list-table-header-text-light, var(--accent));
  --table-header-bg: var(--item-list-table-header-background-light, var(--bg));
  --current-bg: var(--bg);
  --current-text: var(--fg);
  --current-title: var(--fg);
  --current-border: var(--border);
  background: var(--bg);
  color: var(--fg);
  flex: 1;
}

@media (prefers-color-scheme: dark) {
  .item-list-page {
    --bg: var(--item-list-background-dark, #161616);
    --bg2: var(--item-list-surface-dark, #1F1F1F);
    --fg: var(--item-list-text-dark, #EDEDED);
    --row-primary-text: var(--item-list-row-primary-text-dark, var(--fg));
    --row-muted-text: var(--item-list-row-muted-text-dark, #A6A6A6);
    --link-color: var(--item-list-link-dark, var(--fg));
    --muted: var(--item-list-muted-dark, #6F6F6F);
    --border: var(--item-list-border-dark, #3A3A3A);
    --border-hover: var(--item-list-border-hover-dark, #505050);
    --accent: var(--item-list-accent-dark, #FFD479);
    --accent-veil: var(--item-list-accent-veil-dark, rgba(255,212,121,.25));
    --table-header-text: var(--item-list-table-header-text-dark, var(--accent));
    --table-header-bg: var(--item-list-table-header-background-dark, var(--bg));
  }
}

html[data-theme="light"] .item-list-page {
  --bg: var(--item-list-background-light, #ECECEC);
  --bg2: var(--item-list-surface-light, #F7F7F7);
  --fg: var(--item-list-text-light, #1C1C1C);
  --row-primary-text: var(--item-list-row-primary-text-light, var(--fg));
  --row-muted-text: var(--item-list-row-muted-text-light, #5E5E5E);
  --link-color: var(--item-list-link-light, var(--fg));
  --muted: var(--item-list-muted-light, #A9A9A9);
  --border: var(--item-list-border-light, #BEBEBE);
  --border-hover: var(--item-list-border-hover-light, #9E9E9E);
  --accent: var(--item-list-accent-light, #5AB480);
  --accent-veil: var(--item-list-accent-veil-light, rgba(90,180,128,.22));
  --table-header-text: var(--item-list-table-header-text-light, var(--accent));
  --table-header-bg: var(--item-list-table-header-background-light, var(--bg));
}

html[data-theme="dark"] .item-list-page {
  --bg: var(--item-list-background-dark, #161616);
  --bg2: var(--item-list-surface-dark, #1F1F1F);
  --fg: var(--item-list-text-dark, #EDEDED);
  --row-primary-text: var(--item-list-row-primary-text-dark, var(--fg));
  --row-muted-text: var(--item-list-row-muted-text-dark, #A6A6A6);
  --link-color: var(--item-list-link-dark, var(--fg));
  --muted: var(--item-list-muted-dark, #6F6F6F);
  --border: var(--item-list-border-dark, #3A3A3A);
  --border-hover: var(--item-list-border-hover-dark, #505050);
  --accent: var(--item-list-accent-dark, #FFD479);
  --accent-veil: var(--item-list-accent-veil-dark, rgba(255,212,121,.25));
  --table-header-text: var(--item-list-table-header-text-dark, var(--accent));
  --table-header-bg: var(--item-list-table-header-background-dark, var(--bg));
}

.item-list-shell {
  width: 100%;
  margin: 0;
  padding: 0 0 0;
}

.item-table-wrap {
  overflow-x: visible;
}

.item-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: separate;
  border-spacing: 0;
  font-family: "inputSansCompressedRegular", sans-serif;
  font-size: 0.92rem;
}

.item-table caption {
  caption-side: top;
}

.item-table thead {
  background-color: var(--table-header-bg);
}

.item-table .table-tools {
  padding: 0.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.item-list-page .search-bar {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  width: min(100%, 26rem);
  box-sizing: border-box;
  overflow: hidden;
  margin-inline: auto;
}

.item-list-page .search-icon {
  position: absolute;
  left: 0.8rem;
  width: 1rem;
  height: 1rem;
  color: var(--muted);
  pointer-events: none;
}

.item-list-page .search-bar input[type="search"] {
  flex: 1;
  padding: 0.6rem 2.2rem 0.6rem 2rem;
  background: transparent;
  color: var(--fg);
  border: none;
  font-size: 0.95rem;
  outline: none;
}

.item-list-page .search-bar input[type="search"]::placeholder {
  color: var(--muted);
}

.item-list-page .search-bar input[type="search"]:focus {
  background: var(--bg2);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.item-list-page .search-bar:focus-within .search-icon {
  color: var(--accent);
}

.item-list-page input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  right: 0.7rem;
  width: 1rem;
  height: 1rem;
  cursor: pointer;
  background: currentColor;
  color: var(--muted);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 6 L18 18 M6 18 L18 6' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>") center/1rem 1rem no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 6 L18 18 M6 18 L18 6' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>") center/1rem 1rem no-repeat;
}

.item-list-page input[type="search"]::-webkit-search-cancel-button:hover {
  color: var(--accent);
}

.item-table th,
.item-table td {
  padding: 0;
  border-bottom: 0 solid var(--muted);
  text-align: left;
  vertical-align: top;
}

.item-table th {
  position: sticky;
  top: var(--header-height);
  z-index: 900;
  height: 46px;
  padding-right: 10px;
  padding-left: 10px;
  vertical-align: middle;
  border-top: 1px solid var(--muted);
  border-bottom: 0 solid var(--muted);
  background-color: var(--table-header-bg);
  color: var(--table-header-text);
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}

.item-table td {
  padding: 10px;
}

.item-table tr {
  background-color: var(--bg);
  border-top: 1px solid var(--muted);
  border-bottom: 0 solid var(--muted);
}

.item-table th[aria-sort="ascending"]::after {
  content: " ↑";
}

.item-table th[aria-sort="descending"]::after {
  content: " ↓";
}

.item-table tbody tr {
  cursor: pointer;
}

.item-table tbody tr:hover,
.item-table tbody tr:focus {
  background: rgba(255,255,255,0.14);
  outline: none;
}

.item-table .table-row-odd {
  background: var(--bg);
}

.item-table .item-row-primary {
  color: var(--row-primary-text);
}

.item-table .item-row-muted {
  color: var(--row-muted-text);
}

.item-table a {
  color: var(--link-color);
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, backdrop-filter 0.25s ease;
}

.drawer[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
  backdrop-filter: blur(2px);
}

.drawer-panel {
  --current-bg: var(--global-bg);
  --current-text: var(--global-text);
  --current-title: var(--global-text);
  --current-border: var(--global-border);
  position: absolute;
  top: 0;
  right: 0;
  width: min(95%, 800px);
  height: 100vh;
  padding: 1.5rem;
  box-sizing: border-box;
  overflow-y: auto;
  background: var(--global-bg);
  color: var(--global-text);
  transform: translateX(100%);
  transition: transform 0.35s ease;
}

.drawer[aria-hidden="false"] .drawer-panel {
  transform: translateX(0);
}

.drawer-close,
.popup-close {
  position: absolute;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  line-height: 1;
}

.drawer-close {
  top: 0.75rem;
  right: 0.75rem;
  font-size: 1.5rem;
}

.drawer-body {
  padding-right: 1.5rem;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.popup-content {
  position: relative;
  width: min(100%, 420px);
  padding: 2rem 2.5rem 1.5rem;
  border: 1px solid var(--global-border);
  background: var(--global-bg);
  color: var(--global-text);
}

.popup-close {
  top: 0.6rem;
  right: 0.8rem;
  padding: 0;
  font-size: 1.6rem;
}

.page-default-content h1,
.page-default-content h2,
.page-section h1,
.page-section h2 {
  color: var(--current-title);
}

.page-default-content a,
.page-section a {
  color: inherit;
}




.page-content {
  --section-divider-color-current: var(--section-divider-color-light, var(--section-divider-color, rgba(0, 0, 0, 0.12)));
  padding-top: var(--header-height);
  flex: 1 0 auto;
}

.not-found-page-body {
  --current-text: var(--global-text);
  --current-title: var(--global-text);
  background: var(--global-bg);
  color: var(--global-text);
  overflow-x: hidden;
}

.not-found-page-body #gol-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.not-found-page-body #gol-background canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.not-found-page-body .site-header,
.not-found-page {
  position: relative;
  z-index: 2;
}

.not-found-page {
  display: flex;
  min-height: calc(100vh - var(--header-height));
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-right: 1.5rem;
  padding-bottom: 4rem;
  padding-left: 1.5rem;
  box-sizing: border-box;
  text-align: center;
}

.not-found-content {
  max-width: 620px;
}

.not-found-kicker {
  margin: 0 0 0.75rem;
  font-family: "inputMonoCondensedMedium", sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.not-found-content h1 {
  margin: 0;
  color: inherit;
  font-size: clamp(5rem, 18vw, 10rem);
  line-height: 0.9;
}

.not-found-content p {
  margin: 1rem auto 0;
  font-size: 1.35rem;
}

.not-found-link {
  display: inline-flex;
  margin-top: 1.5rem;
  font-family: "inputMonoCondensedMedium", sans-serif;
  font-weight: 700;
  text-decoration-thickness: 1px;
}

.not-found-page a {
  color: inherit;
}

.not-found-note {
  width: min(100%, 900px);
  margin: auto 0 0;
  font-family: "inputMonoCondensedMedium", sans-serif;
  font-size: 0.95rem;
  text-align: left;
}

.page-section {
  --section-divider-color-current: var(--section-divider-color-light, var(--section-divider-color, rgba(0, 0, 0, 0.12)));
}

@media (prefers-color-scheme: dark) {
  .page-content,
  .page-section {
    --section-divider-color-current: var(--section-divider-color-dark, var(--section-divider-color-light, var(--section-divider-color, rgba(0, 0, 0, 0.12))));
  }
}

html[data-theme="light"] .page-content,
html[data-theme="light"] .page-section {
  --section-divider-color-current: var(--section-divider-color-light, var(--section-divider-color, rgba(0, 0, 0, 0.12)));
}

html[data-theme="dark"] .page-content,
html[data-theme="dark"] .page-section {
  --section-divider-color-current: var(--section-divider-color-dark, var(--section-divider-color-light, var(--section-divider-color, rgba(0, 0, 0, 0.12))));
}

/* En-tête fixé */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg);
  /*border-bottom: 1px solid #ccc;*/
}










/* hauteur du header pour décaler le contenu */
:root {
  --header-height: 70px; /* ajuste si besoin */
}

/* conteneur général du header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg, #ffffff);
  border-bottom: 1px solid var(--header-border, #ddd);
}

/* barre du haut : titre + menu projets */
.site-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 1.5rem;
  border-bottom: 1px solid var(--header-border, #ddd);
}

.site-header-top > .site-nav-main {
  margin-right: auto;
}

/* titre du site */
.site-title {
  font-family: "inputMonoCondensedMedium", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--header-title, var(--color-accent, #000));
}

/* menu projets (barre du haut) */
.site-nav-main ul {
  display: flex;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-main-link {
  font-family: "inputMonoCondensedMedium", sans-serif;
  font-size: 1.35rem;
  text-decoration: none;
  /*white-space: nowrap;*/
  font-weight: 600;
  color: var(--nav-item-light, var(--header-text));
}

@media (prefers-color-scheme: dark) {
  .nav-main-link,
  .site-nav-sections-list .nav-section-link {
    color: var(--nav-item-dark, var(--header-text));
  }
}

html[data-theme="light"] .nav-main-link,
html[data-theme="light"] .site-nav-sections-list .nav-section-link {
  color: var(--nav-item-light, var(--header-text));
}

html[data-theme="dark"] .nav-main-link,
html[data-theme="dark"] .site-nav-sections-list .nav-section-link {
  color: var(--nav-item-dark, var(--header-text));
}

.nav-main-link {
  position: relative;
}

.nav-main-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0%;
  background: currentColor;
  transition: width 0.25s ease;
}

.nav-main-link:hover::after {
  width: 100%;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--header-border);
  background: color-mix(in srgb, var(--header-bg) 92%, var(--header-text));
  color: color-mix(in srgb, var(--header-text) 72%, var(--header-bg));
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: var(--header-text);
  border-color: color-mix(in srgb, var(--header-text) 72%, var(--header-bg));
  outline: none;
}

.theme-toggle__icon {
  display: inline-flex;
  position: relative;
}

.darkmode_icon {
  position: relative;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.6s ease-in-out;
}

.darkmode_icon::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  left: 6px;
  bottom: 3px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--header-bg) 92%, var(--header-text));
  transform-origin: center;
  transition: transform 0.4s ease, left 0.25s ease;
}

.darkmode_icon .ray {
  position: absolute;
  left: 5.5px;
  top: 5.5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.4s ease-in-out;
}

.darkmode_icon .ray:nth-child(1) { transform: rotate(45deg) translateX(0); }
.darkmode_icon .ray:nth-child(2) { transform: rotate(90deg) translateX(0); }
.darkmode_icon .ray:nth-child(3) { transform: rotate(135deg) translateX(0); }
.darkmode_icon .ray:nth-child(4) { transform: rotate(180deg) translateX(0); }
.darkmode_icon .ray:nth-child(5) { transform: rotate(225deg) translateX(0); }
.darkmode_icon .ray:nth-child(6) { transform: rotate(270deg) translateX(0); }
.darkmode_icon .ray:nth-child(7) { transform: rotate(315deg) translateX(0); }
.darkmode_icon .ray:nth-child(8) { transform: rotate(360deg) translateX(0); }

html[data-theme="dark"] .darkmode_icon {
  transform: scale(0.6);
}

html[data-theme="dark"] .darkmode_icon::after {
  left: 12px;
  bottom: 6px;
  transform: scale(0);
}

html[data-theme="dark"] .darkmode_icon .ray:nth-child(1) { transform: rotate(45deg) translateX(-13px); }
html[data-theme="dark"] .darkmode_icon .ray:nth-child(2) { transform: rotate(90deg) translateX(-13px); }
html[data-theme="dark"] .darkmode_icon .ray:nth-child(3) { transform: rotate(135deg) translateX(-13px); }
html[data-theme="dark"] .darkmode_icon .ray:nth-child(4) { transform: rotate(180deg) translateX(-13px); }
html[data-theme="dark"] .darkmode_icon .ray:nth-child(5) { transform: rotate(225deg) translateX(-13px); }
html[data-theme="dark"] .darkmode_icon .ray:nth-child(6) { transform: rotate(270deg) translateX(-13px); }
html[data-theme="dark"] .darkmode_icon .ray:nth-child(7) { transform: rotate(315deg) translateX(-13px); }
html[data-theme="dark"] .darkmode_icon .ray:nth-child(8) { transform: rotate(360deg) translateX(-13px); }

/*.nav-main-link {
  transition: color 0.25s ease, opacity 0.25s ease;
}*/

/* Couleur de survol */
/*.nav-main-link:hover {
  color: #0096FF !important;
  opacity: 1;
}*/









/* barre du bas : navigation des sections */
.site-nav-sections {
  padding: 0.4rem 1.5rem;
  font-size: 1.15rem;
  overflow: hidden;
  position: relative;
}

.site-nav-sections-track {
  display: grid;
  align-items: center;
  position: relative;
  min-width: 0;
}

.site-nav-sections-current-wrap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  grid-area: 1 / 1;
  min-width: 0;
  opacity: 1;
  transition: opacity 0.18s ease-out;
  pointer-events: none;
  z-index: 1;
}

.site-nav-sections-current {
  display: flex;
  align-items: center;
  font-family: "inputMonoCondensedMedium", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: default;
  white-space: nowrap;
  color: var(--header-text);
}

.site-nav-sections-chevron {
  display: inline-flex;
  align-items: center;
  width: 0.42rem;
  height: 0.42rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  transform-origin: center;
  margin-left: 0.15rem;
  color: var(--header-text);
}

.site-nav-sections-list {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.15rem;

  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(0);
  transition: max-width 0.55s ease-out, opacity 0.3s ease-out, transform 0.55s ease-out;
  white-space: nowrap;
  pointer-events: none;
}

/* liens du menu de sections */
.site-nav-sections-list .nav-section-link {
  display: inline-block;
  font-family: "inputMonoCondensedMedium", sans-serif;
  font-size: 1.15rem;
  text-decoration: none;
  /*white-space: nowrap;*/
  position: relative;
  padding-bottom: 2px;
  color: var(--nav-item-light, var(--header-text));
}

.site-nav-sections-list .nav-section-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background: currentColor;
  transition: width 0.25s ease;
}

.site-nav-sections-list .nav-section-link:hover::after,
.site-nav-sections-list .nav-section-link:focus-visible::after {
  width: 100%;
}

/* section active dans la liste */
.site-nav-sections-list .nav-section-link.active {
  font-weight: 700;
}

.site-nav-sections-list .nav-section-link.active::after {
  width: 100%;
}

.site-nav-sections-list .nav-section-link.active:hover::after,
.site-nav-sections-list .nav-section-link.active:focus-visible::after {
  width: 100%;
}

.site-nav-sections:hover .site-nav-sections-current-wrap,
.site-nav-sections:focus-within .site-nav-sections-current-wrap {
  opacity: 0;
}

.site-nav-sections:hover .site-nav-sections-list,
.site-nav-sections:focus-within .site-nav-sections-list {
  max-width: 100%;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.site-nav-sections-always-visible .site-nav-sections-track {
  display: flex;
  gap: 0;
}

.site-nav-sections-always-visible .site-nav-sections-current-wrap {
  display: none;
}

.site-nav-sections-always-visible .site-nav-sections-list {
  width: 100%;
  max-width: 100%;
  opacity: 1;
  overflow-x: auto;
  transform: translateX(0);
  transition: none;
  pointer-events: auto;
}

/*si la liste est très longue, on peut autoriser un scroll horizontal uniquement dans la vue déployée*/
/*.site-nav-sections-list {
  overflow-x: auto;
}*/












/* Liens */
/*.site-nav-sections-list .nav-section-link {
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}*/

/* Section active dans le menu déroulé */
/*.site-nav-sections-list .nav-section-link.active {
  font-weight: 600;
}*/



/* Navigation des sections : comportement mobile */
@media (max-width: 760px) {
  .site-header-top {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .site-header-top > .site-nav-main {
    margin-right: 0;
  }

  /* la barre prend toute la largeur, on masque ce qui dépasse éventuellement */
  .site-nav-sections {
    /*border-top: 1px solid var(--color-border, #333);*/
    padding: 0.4rem 1.5rem;
    font-size: 1.15rem;
    overflow: hidden;
  }

  /* on annule le « rail » qui glisse */
  .site-nav-sections-track {
    display: flex;
    gap: 0;
  }

  .site-nav-sections-current-wrap {
    display: none;
  }

  /* on montre directement la liste complète des sections */
  .site-nav-sections-list {
    width: 100%;
    display: flex;
    gap: 1.15rem;
    list-style: none;
    margin: 0;
    padding: 0;

    overflow-x: auto;       /* défilement horizontal au doigt si la liste est longue */
    max-width: 100%;
    opacity: 1;
    transform: translateX(0);
    white-space: nowrap;
    transition: none;
    pointer-events: auto;
  }

  .site-nav-sections-list .nav-section-link {
    font-family: "inputMonoCondensedMedium", sans-serif;
    font-size: 1.15rem;
    text-decoration: none;
  }

  /* section active dans la liste */
  .site-nav-sections-list .nav-section-link.active {
    font-weight: 700;
  }
}








/* Sections de la page */
.page-section {
  padding: 3rem 1.5rem;
  box-sizing: border-box;
  scroll-margin-top: var(--header-height);
}

.page-content.has-section-divider-top .page-section + .page-section {
  border-top: var(--section-divider-width, 1px) solid var(--section-divider-color-current, rgba(0, 0, 0, 0.12));
}

.page-content.has-section-divider-bottom .page-section:not(:last-child) {
  border-bottom: var(--section-divider-width, 1px) solid var(--section-divider-color-current, rgba(0, 0, 0, 0.12));
}

.page-section.section-divider-top {
  border-top: var(--section-divider-width, 1px) solid var(--section-divider-color-current, rgba(0, 0, 0, 0.12));
}

.page-section.section-divider-bottom {
  border-bottom: var(--section-divider-width, 1px) solid var(--section-divider-color-current, rgba(0, 0, 0, 0.12));
}

/* section qui occupe toute la hauteur disponible (viewport - header) */
/*.section-full {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
}*/

.section-inner.section-default {
  text-align: left;
  max-width: 960px;
  margin: 0 auto;
}

.section-inner.section-hero {
  text-align: left;
  max-width: 960px;
  margin: 0 auto;
}

.section-layout-hero {
  display: flex;
  align-items: center;      /* centre verticalement */
}

.section-layout-hero > .section-inner.section-hero {
  margin: 0 auto;
  width: 100%;
  max-width: 960px;
}


.section-inner.section-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.section-col-left,
.section-col-right {
  /* styles propres aux colonnes */
}





/* mise en page du nouveau template centered */
.section-layout-centered {
  display: flex;
  justify-content: center;   /* centre horizontalement */
  align-items: center;        /* centre verticalement */
}

.section-layout-centered > .section-inner.section-centered {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;         /* si tu veux que le texte soit centré */
}

.section-centered-content {
  /* optionnel : si tu veux limiter encore plus la largeur */
  max-width: 960px;
}

.section-layout-led-marquee {
  padding: 0;
  overflow: hidden;
}

.section-inner.section-led-marquee {
  width: 100%;
}

.led-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: var(--led-padding-y, 0.55rem) 0;
  border-top: 1px solid var(--led-border-color, rgba(255, 255, 255, 0.18));
  border-bottom: 1px solid var(--led-border-color, rgba(255, 255, 255, 0.18));
  background: var(--led-background, #090909);
}

.led-marquee__track {
  display: inline-flex;
  min-width: max-content;
  will-change: transform;
}

.led-marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}

.led-marquee__item,
.led-marquee__separator {
  font-family: var(--led-font-family, "Doto", sans-serif);
  font-optical-sizing: auto;
  font-size: var(--led-font-size, clamp(1.15rem, 2vw, 1.8rem));
  line-height: var(--led-line-height, 1);
  font-weight: var(--led-font-weight, 500);
  font-style: normal;
  font-variation-settings: "ROND" var(--led-font-rond, 0);
  letter-spacing: 0.2em;
  color: var(--led-color, #ff5f36);
  text-shadow:
    0 0 6px var(--led-glow, #ffb347),
    0 0 18px color-mix(in srgb, var(--led-glow, #ffb347) 70%, transparent);
}

.led-marquee__item {
  padding-right: 0.2em;
}

.led-marquee__separator {
  margin: 0 var(--led-gap, 2.5rem);
}

@media (max-width: 700px) {
  .led-marquee {
    padding: var(--led-padding-y, 0.45rem) 0;
  }

  .led-marquee__item,
  .led-marquee__separator {
    letter-spacing: 0.14em;
  }
}











.subscribe-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  align-items: center;
  margin: 1rem auto 0;
  width: min(100%, 40rem);
}

.subscribe-form label {
  width: 100%;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 1.15rem;
  padding: 0.0rem 0.75rem;
  text-align: center;
  white-space: normal;
}

.subscribe-form input[type="email"] {
  max-width: 500px;
  flex: 1 1 220px;
  padding: 0.75rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--current-border);
  font-size: 1.15rem;
  font-family: "inputSansCompressedRegular", sans-serif;
  background: var(--current-bg);
  color: var(--current-text);
}

.subscribe-form button {
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: none;
  background-color: var(--color-button-bg);
  color: var(--color-button-text);
  font-family: "inputSansCompressedRegular", sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease,
              box-shadow 0.2s ease;
}

.subscribe-form button:hover,
.subscribe-form button:focus {
  background-color: var(--color-button-accent);
  /*transform: translateY(-1px);*/
  /*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);*/
}

#subscribe .subscribe-form,
#subscribe .subscribe-form label,
#subscribe .subscribe-form input,
#subscribe .subscribe-form button,
#/sections/subscribe .subscribe-form,
#/sections/subscribe .subscribe-form label,
#/sections/subscribe .subscribe-form input,
#/sections/subscribe .subscribe-form button {
  text-align: left;
}











/* Sections de la page */
.page-default-content {
  padding: 3rem 1.5rem;
  box-sizing: border-box;
}

.content-inner.page-default {
  text-align: left;
  max-width: 960px;
  margin: 0 auto;
}

.multi-column-list {
  column-width: 200px;
  column-gap: 1.5rem;
  list-style-position: inside;
  padding-left: 0;
}

.contributors-list {
  margin-top: 1.5rem;
  font-size: 0.85em;
}

.contributors-list li {
  break-inside: avoid;
  margin-bottom: 0.35rem;
}


footer {
  margin-top: auto;
}

.information-row {
  font-family: "inputMonoCondensedMedium", sans-serif;
  background-color: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
  padding: 0.75rem 1.5rem;
  color: var(--footer-text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links-item {
  display: inline-flex;
  align-items: center;
}

.footer-link {
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--footer-text);
}

.footer-link:hover,
.footer-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-logo {
  display: inline-block;
  text-decoration: none;
}

.site-logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

.logo-dark {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .logo-light {
    display: none;
  }

  :root:not([data-theme]) .logo-dark {
    display: block;
  }
}

html[data-theme="light"] .logo-light {
  display: block;
}

html[data-theme="light"] .logo-dark {
  display: none;
}

html[data-theme="dark"] .logo-light {
  display: none;
}

html[data-theme="dark"] .logo-dark {
  display: block;
}





/* section tableau extensible (accordéon à une colonne) */
.section-accordion-table {
  max-width: 960px;
  margin: 0 auto;
}

.accordion-intro {
  margin-bottom: 1.5rem;
}

.accordion-table {
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  /*border-radius: 6px;*/
  overflow: hidden;
  background: var(--accordion-table-bg);
}

.accordion-row + .accordion-row {
  border-top: 1px solid var(--color-border-light);
}

.accordion-row-header {
  width: 100%;
  text-align: left;
  padding: 0.7rem 1rem;
  border: none;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: "inputSansCompressedRegular", sans-serif;
  font-size: 1.0em;
}

.accordion-row-header-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.accordion-row-title {
  font-weight: 500;
  color : var(--current-text);
}

.accordion-row-description-short {
  font-size: 1.0em;
  opacity: 0.8;
}

.accordion-row-icon {
  margin-left: 0.75rem;
  font-weight: 500;
  color : var(--current-text);
}

.accordion-row-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  background: var(--accordion-body-bg);
}

.accordion-row-body-inner {
  padding: 0.75rem 1rem 1rem 1rem;
  font-size: 1.0em;
}

.accordion-row-description-full {
  margin: 0 0 0.5rem 0;
}

.accordion-row-link-wrapper {
  margin: 0;
}

.accordion-row-link {
  text-decoration: underline;
  font-weight: 500;
}

/* état ouvert */
.accordion-row.open .accordion-row-body {
  max-height: 1000px; /* valeur de secours, le JS ajuste plus finement */
}

.accordion-row.open .accordion-row-icon {
  transform: rotate(-90deg);
}

.section-webinars {
  max-width: 960px;
  margin: 0 auto;
}

.webinars-row-header {
  gap: 0.75rem;
}

.webinars-row-header-main {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 1rem;
}

.webinars-row-summary {
  min-width: 0;
  display: block;
}

.webinars-row-summary-text {
  display: inline;
  white-space: normal;
}

.webinars-row-author,
.webinars-row-title,
.webinars-row-date,
.webinars-row-separator {
  color: var(--current-text);
}

.webinars-row-author,
.webinars-row-date {
  font-family: "inputMonoCondensedMedium", sans-serif;
}

.webinars-row-title {
  font-weight: 500;
}

.webinars-row-date {
  flex-shrink: 0;
  white-space: nowrap;
  text-align: right;
  justify-self: end;
  line-height: 1.2;
}

.webinars-row-date-day,
.webinars-row-date-time {
  display: block;
}

.webinar-actions,
.webinar-calendar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.webinar-actions {
  margin-top: 0.75rem;
}

.webinar-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--current-text);
  border-radius: 0;
  padding: 0.35rem 0.55rem;
  background: transparent;
  color: var(--current-text);
  cursor: pointer;
  font: inherit;
  line-height: 1.1;
  text-decoration: none;
}

.webinar-action-button:hover,
.webinar-action-button:focus-visible {
  background: var(--current-text);
  color: var(--current-bg);
}

@media (max-width: 700px) {
  .webinars-row-header-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.35rem;
  }

  .webinars-row-summary {
    grid-row: 2;
  }

  .webinars-row-date {
    grid-row: 1;
    text-align: left;
    justify-self: start;
  }

  .webinars-row-date-day,
  .webinars-row-date-time {
    display: inline;
  }

  .webinars-row-date-time::before {
    content: " — ";
    font-family: "inputSansCompressedRegular", sans-serif;
  }
}








.section-bi-columns .bi-columns-flow {
  column-count: 2;
  column-gap: var(--space-lg, 2rem);
  max-width: 960px;
  margin: 0 auto;
}

.section-bi-columns .bi-columns-flow__item {
  break-inside: avoid;
  margin-bottom: var(--space-lg, 2rem);
}

/* mobile : une seule colonne */
@media (max-width: 600px) {
  .section-bi-columns .bi-columns-flow {
    column-count: 1;
  }
}

/* Dans les colonnes, on supprime la marge haute du premier élément du bloc */
.section-bi-columns .bi-columns-flow__item > *:first-child {
  margin-top: 0;
}







.section-three-columns .three-columns-flow {
  column-count: 3;
  column-gap: var(--space-lg, 2rem);
  max-width: 960px;
  margin: 0 auto;
}

.section-three-columns .three-columns-flow__item {
  break-inside: avoid;
  margin-bottom: var(--space-lg, 2rem);
}

/* tablette */
@media (max-width: 900px) {
  .section-three-columns .three-columns-flow {
    column-count: 2;
  }
}

/* mobile */
@media (max-width: 600px) {
  .section-three-columns .three-columns-flow {
    column-count: 1;
  }
}

/* Dans les colonnes, on supprime la marge haute du premier élément du bloc */
.section-three-columns .three-columns-flow__item > *:first-child {
  margin-top: 0;
}





.section-inner.section-board {
  max-width: 960px;
  margin: 0 auto;
}

.board-group + .board-group {
  margin-top: 3rem;
}

.board-group h2 {
  margin: 0 0 1.5rem;
}

.board-members {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 1.5rem;
}

.board-members--coordinators {
  justify-content: center;
}

.board-members--steering {
  justify-content: center;
}

.board-member {
  width: 140px;
  text-align: center;
}

.board-member__button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}

.board-member__portrait {
  aspect-ratio: 1 / 1;
  width: min(100%, 120px);
  margin: 0 auto 0.9rem;
  overflow: hidden;
  border-radius: 50%;
  background: #e9e9e9;
}

.board-member__portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(1);
}

.board-member__name {
  margin: 0;
  line-height: 1.2;
}

.board-member__name-text {
  display: block;
}

.board-member__affiliation {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.9em;
  color: var(--current-text-secondary);
}

.board-modal {
  width: min(680px, calc(100vw - 2rem));
  padding: 0;
  border: 1px solid var(--current-border);
  background: var(--current-bg);
  color: var(--current-text);
}

.board-modal::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.board-modal__content {
  padding: 1.5rem 1.5rem 0.75rem;
}

.board-modal__title {
  margin: 0 0 1rem;
  font-family: "inputMonoCondensedMedium", sans-serif;
  font-size: 1.5rem;
}

.board-modal__affiliation {
  margin: -0.45rem 0 1rem;
  color: var(--current-text-secondary);
}

.board-modal__bio > *:first-child {
  margin-top: 0;
}

.board-modal__bio > *:last-child {
  margin-bottom: 0;
}

.board-modal__website {
  margin: 1rem 0 0;
}

.board-modal__actions {
  display: flex;
  justify-content: flex-end;
  padding: 0 1.5rem 1.25rem;
}

.board-modal__close {
  padding: 0.55rem 1rem;
  border: 1px solid var(--current-border);
  background: transparent;
  color: var(--current-text);
  font: inherit;
  cursor: pointer;
}

@media (max-width: 700px) {
  .board-members {
    gap: 1.4rem 1rem;
  }

  .board-member {
    width: 116px;
  }

  .board-member__portrait {
    width: min(100%, 96px);
    margin-bottom: 0.7rem;
  }

  .board-modal__content {
    padding: 1.15rem 1.15rem 0.65rem;
  }

  .board-modal__actions {
    padding: 0 1.15rem 1rem;
  }
}
