/*
Theme Name: SephyLab Cyberpunk
Theme URI: https://sephy-lab.org/
Author: Sephy + Codex
Author URI: https://sephy-lab.org/
Description: Un thème WordPress cyberpunk prêt pour la production, pensé pour les laboratoires techniques, les retours de projet et une publication néon lisible.
Version: 1.2.18
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 8.1
Text Domain: sephylab-cyberpunk
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  color-scheme: dark;
  --sl-bg: #0a0f1c;
  --sl-bg-elevated: #121826;
  --sl-bg-panel: #0f1525;
  --sl-surface: rgba(18, 24, 38, 0.92);
  --sl-surface-strong: rgba(10, 15, 28, 0.98);
  --sl-border: rgba(0, 240, 255, 0.12);
  --sl-border-strong: rgba(0, 240, 255, 0.45);
  --sl-text: #e6edf3;
  --sl-text-muted: #93a4b8;
  --sl-accent: #00f0ff;
  --sl-accent-alt: #ff00c8;
  --sl-accent-green: #39ff14;
  --sl-accent-soft: rgba(0, 240, 255, 0.13);
  --sl-accent-soft-alt: rgba(255, 0, 200, 0.12);
  --sl-accent-glow: rgba(0, 240, 255, 0.28);
  --sl-danger: #ff5f87;
  --sl-warning: #ffcf63;
  --sl-info: #00f0ff;
  --sl-success: #39ff14;
  --sl-button-clip: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  --sl-shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.36);
  --sl-shadow-md: 0 16px 40px rgba(0, 0, 0, 0.24);
  --sl-radius: 1.2rem;
  --sl-radius-sm: 0.75rem;
  --sl-max-width: 1200px;
  --sl-title-font: "Cascadia Code", "IBM Plex Mono", "SFMono-Regular", "Fira Code", Consolas, Menlo, Monaco, monospace;
  --sl-body-font: "Aptos", "Segoe UI Variable Text", "IBM Plex Sans", "Noto Sans", "Helvetica Neue", sans-serif;
  --sl-grid-gap: clamp(1rem, 2vw, 1.5rem);
}

html[data-theme="light"] {
  color-scheme: light;
  --sl-bg: #edf5fa;
  --sl-bg-elevated: #ffffff;
  --sl-bg-panel: #eef5fb;
  --sl-surface: rgba(255, 255, 255, 0.94);
  --sl-surface-strong: rgba(255, 255, 255, 0.98);
  --sl-border: rgba(0, 120, 153, 0.16);
  --sl-border-strong: rgba(0, 178, 255, 0.28);
  --sl-text: #0e1722;
  --sl-text-muted: #506174;
  --sl-accent: #007e94;
  --sl-accent-alt: #aa007f;
  --sl-accent-green: #138d00;
  --sl-accent-soft: rgba(0, 126, 148, 0.1);
  --sl-accent-soft-alt: rgba(170, 0, 127, 0.09);
  --sl-accent-glow: rgba(0, 126, 148, 0.15);
  --sl-shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.12);
  --sl-shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sl-body-font);
  background:
    radial-gradient(circle at top, rgba(0, 240, 255, 0.1), transparent 28%),
    radial-gradient(circle at right, rgba(255, 0, 200, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 25%),
    var(--sl-bg);
  color: var(--sl-text);
  line-height: 1.72;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      rgba(0, 240, 255, 0.03) 48%,
      transparent 100%
    );
  opacity: 0.8;
  animation: sl-scan 14s linear infinite;
}

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

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

a:hover,
a:focus-visible {
  color: var(--sl-text);
}

button,
input,
textarea,
select {
  font: inherit;
}

pre,
code,
kbd,
samp {
  font-family: var(--sl-title-font);
}

pre {
  margin: 1.75rem 0;
  padding: 1.25rem;
  overflow-x: auto;
  border: 1px solid var(--sl-border);
  border-radius: var(--sl-radius-sm);
  background: linear-gradient(180deg, rgba(0, 255, 198, 0.06), rgba(0, 0, 0, 0)) var(--sl-bg-panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

code {
  padding: 0.18rem 0.4rem;
  border-radius: 0.45rem;
  background: var(--sl-accent-soft);
  color: var(--sl-text);
}

pre code {
  padding: 0;
  background: transparent;
}

blockquote {
  margin: 1.5rem 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 3px solid var(--sl-accent);
  color: var(--sl-text-muted);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--sl-surface);
}

th,
td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--sl-border);
  text-align: left;
}

th {
  font-family: var(--sl-title-font);
  color: var(--sl-text);
}

hr {
  border: 0;
  border-top: 1px solid var(--sl-border);
  margin: 2rem 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 999;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--sl-accent);
  color: #04110e;
}

.site-shell {
  position: relative;
  isolation: isolate;
}

.site-shell::after {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  width: min(42vw, 32rem);
  height: min(42vw, 32rem);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0, 240, 255, 0.18), transparent 62%),
    radial-gradient(circle at 40% 40%, rgba(255, 0, 200, 0.1), transparent 58%);
  filter: blur(24px);
  opacity: 0.42;
  z-index: -1;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--sl-border);
  background: rgba(10, 15, 28, 0.78);
  backdrop-filter: blur(18px);
}

html[data-theme="light"] .site-header {
  background: rgba(244, 249, 251, 0.84);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 13px,
      rgba(0, 240, 255, 0.06) 14px
    );
  opacity: 0.35;
  animation: sl-header-scan 16s linear infinite;
}

.header-inner,
.site-main,
.site-footer__inner {
  width: min(calc(100% - 2rem), var(--sl-max-width));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--sl-text);
}

.brand:hover,
.brand:focus-visible {
  color: var(--sl-text);
}

.brand-mark {
  display: grid;
  place-items: center;
  inline-size: 2.85rem;
  block-size: 2.85rem;
  border: 1px solid var(--sl-border-strong);
  border-radius: 0.9rem;
  background:
    linear-gradient(135deg, rgba(0, 240, 255, 0.26), transparent 68%),
    linear-gradient(315deg, rgba(255, 0, 200, 0.1), transparent 60%),
    var(--sl-bg-elevated);
  box-shadow: 0 0 0 1px rgba(0, 240, 255, 0.12), 0 0 28px rgba(255, 0, 200, 0.12);
  font-family: var(--sl-title-font);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-mark--logo {
  inline-size: 4.6rem;
  min-width: 4.6rem;
  block-size: 4.6rem;
  padding: 0.25rem;
  border-radius: 1.2rem;
}

.brand-logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.16));
}

@media (max-width: 719px) {
  .brand-mark--logo {
    inline-size: 3.8rem;
    min-width: 3.8rem;
    block-size: 3.8rem;
  }
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title {
  margin: 0;
  font-family: var(--sl-title-font);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-tagline {
  color: var(--sl-text-muted);
  font-size: 0.84rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
}

.nav-wrap {
  position: relative;
}

.site-navigation {
  display: none;
}

.site-navigation.is-open {
  display: block;
}

.site-navigation-drawer {
  display: none;
}

.menu-list,
.footer-menu,
.post-taxonomies,
.post-meta-list,
.hero-metrics,
.meta-cluster,
.entry-tags,
.pager-links,
.sidebar-panel ul,
.widget ul,
.footer-meta,
.status-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 1rem;
}

.menu-list a {
  display: block;
  padding: 0.85rem 1rem;
  border: 1px solid transparent;
  border-radius: 0;
  color: var(--sl-text);
}

.menu-list a:hover,
.menu-list a:focus-visible,
.menu-list .current-menu-item > a,
.menu-list .current_page_item > a {
  border-color: var(--sl-border-strong);
  background: var(--sl-accent-soft);
}

.site-navigation {
  position: absolute;
  top: calc(100% + 0.85rem);
  right: 0;
  min-width: min(88vw, 20rem);
  padding: 1rem;
  border: 1px solid var(--sl-border);
  border-radius: 1rem;
  background: var(--sl-surface-strong);
  box-shadow: var(--sl-shadow-lg);
}

.btn-neon,
.sl-button,
.wp-element-button,
button,
input[type="submit"],
.search-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.78rem 1.1rem;
  border: 1px solid var(--sl-border-strong);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(0, 240, 255, 0.16), rgba(255, 0, 200, 0.06)),
    rgba(0, 240, 255, 0.04);
  color: var(--sl-text);
  font-family: var(--sl-title-font);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
  box-shadow: 0 0 0 1px rgba(0, 240, 255, 0.16), 0 0 24px rgba(255, 0, 200, 0.08);
}

.btn-neon:hover,
.btn-neon:focus-visible,
.sl-button:hover,
.sl-button:focus-visible,
.wp-element-button:hover,
.wp-element-button:focus-visible,
button:hover,
button:focus-visible,
input[type="submit"]:hover,
input[type="submit"]:focus-visible,
.search-submit:hover,
.search-submit:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(0, 240, 255, 0.28), 0 0 28px rgba(255, 0, 200, 0.18);
}

.sl-button--ghost {
  background: transparent;
  border-color: var(--sl-border);
  box-shadow: none;
}

.sl-button--ghost:hover,
.sl-button--ghost:focus-visible {
  border-color: var(--sl-border-strong);
  background: var(--sl-accent-soft);
}

.icon-button {
  inline-size: 2.75rem;
  min-width: 2.75rem;
  padding-inline: 0;
}

.site-main {
  padding: clamp(1.5rem, 3vw, 2.25rem) 0 4rem;
}

.hero-grid,
.content-grid,
.footer-grid,
.post-layout,
.archive-layout,
.search-layout {
  display: grid;
  gap: var(--sl-grid-gap);
}

.hero-grid,
.content-grid,
.archive-layout,
.search-layout {
  grid-template-columns: 1fr;
}

.panel,
.panel-terminal,
.terminal-box,
.card-cyber,
.lab-card,
.site-footer,
.widget,
.sidebar-panel,
.archive-head,
.search-head,
.error-shell,
.entry-shell,
.hero-lead,
.metrics-card,
.cta-strip,
.related-posts,
.content-section {
  border: 1px solid var(--sl-border);
  border-radius: var(--sl-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 36%),
    var(--sl-surface);
  box-shadow: var(--sl-shadow-md);
}

.hero-shell {
  display: grid;
  gap: var(--sl-grid-gap);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border: 1px solid var(--sl-border);
  border-radius: calc(var(--sl-radius) + 0.4rem);
  background:
    radial-gradient(circle at top right, rgba(0, 240, 255, 0.18), transparent 24%),
    radial-gradient(circle at left, rgba(255, 0, 200, 0.08), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent),
    var(--sl-bg-elevated);
  box-shadow: var(--sl-shadow-lg);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--sl-accent-soft);
  color: var(--sl-accent);
  font-family: var(--sl-title-font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  inline-size: 0.55rem;
  block-size: 0.55rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.hero-title,
.entry-title,
.archive-title,
.search-title,
.page-title,
.error-title,
.panel-title,
.widget-title,
.footer-title {
  margin: 0 0 1rem;
  font-family: var(--sl-title-font);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-title {
  font-size: clamp(2.1rem, 6vw, 4.8rem);
}

.hero-text,
.entry-summary,
.archive-description,
.search-description,
.panel-copy,
.footer-copy {
  margin: 0;
  color: var(--sl-text-muted);
  font-size: clamp(1rem, 2vw, 1.12rem);
}

.hero-metrics {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metrics-card {
  padding: 1rem;
}

.metrics-value {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--sl-title-font);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--sl-text);
}

.metrics-label {
  color: var(--sl-text-muted);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-actions,
.pager-links,
.entry-footer-actions,
.archive-actions,
.search-actions,
.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-lead,
.panel-terminal,
.terminal-box,
.cta-strip,
.entry-shell,
.archive-head,
.search-head,
.error-shell,
.related-posts {
  padding: clamp(1.15rem, 2vw, 1.6rem);
}

.panel-terminal,
.terminal-box,
.lab-terminal,
.wp-block-code,
.wp-block-preformatted {
  position: relative;
  overflow: hidden;
}

.panel-terminal::before,
.terminal-box::before,
.lab-terminal::before {
  content: "grille://noyau-cyber";
  display: block;
  margin-bottom: 0.9rem;
  color: var(--sl-accent);
  font-family: var(--sl-title-font);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.panel-terminal::after,
.terminal-box::after,
.lab-terminal::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 10%, transparent 90%, rgba(0, 240, 255, 0.06));
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: var(--sl-grid-gap);
}

.card-cyber,
.lab-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.card-cyber:hover,
.card-cyber:focus-within,
.lab-card:hover,
.lab-card:focus-within {
  transform: translateY(-3px);
  border-color: var(--sl-border-strong);
  box-shadow: 0 0 0 1px rgba(0, 240, 255, 0.18), 0 0 30px rgba(255, 0, 200, 0.12), var(--sl-shadow-lg);
}

.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 240, 255, 0.18), rgba(255, 255, 255, 0.03)),
    linear-gradient(315deg, rgba(255, 0, 200, 0.12), transparent 60%);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.95rem;
  padding: 1.15rem;
}

.meta-cluster,
.post-meta-list,
.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.meta-badge,
.status-pill,
.entry-taxonomy a,
.post-taxonomies a,
.entry-tags a,
.entry-categories a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--sl-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--sl-text-muted);
  font-family: var(--sl-title-font);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-pill--ok {
  color: var(--sl-success);
}

.status-pill--warn {
  color: var(--sl-warning);
}

.card-title,
.entry-card-title {
  margin: 0;
  font-family: var(--sl-title-font);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.22;
}

.card-title a,
.entry-card-title a {
  color: var(--sl-text);
}

.card-excerpt,
.entry-copy,
.widget-copy {
  margin: 0;
  color: var(--sl-text-muted);
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  color: var(--sl-text-muted);
  font-size: 0.9rem;
}

.entry-header {
  display: grid;
  gap: 1rem;
}

.entry-title {
  font-size: clamp(1.9rem, 4vw, 3.6rem);
}

.entry-summary,
.lab-intro {
  font-size: 1.04rem;
}

.entry-thumbnail {
  overflow: hidden;
  border-radius: var(--sl-radius);
  border: 1px solid var(--sl-border);
  background: var(--sl-bg-panel);
}

.entry-thumbnail img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.post-layout {
  align-items: start;
}

.post-content,
.page-content,
.archive-body,
.search-body {
  min-width: 0;
}

.entry-shell {
  padding-block: clamp(1.25rem, 2vw, 1.8rem);
}

.post-content > *:first-child,
.page-content > *:first-child {
  margin-top: 0;
}

.post-content > *:last-child,
.page-content > *:last-child {
  margin-bottom: 0;
}

.post-content h2,
.page-content h2,
.post-content h3,
.page-content h3,
.post-content h4,
.page-content h4 {
  margin: 2.2rem 0 1rem;
  font-family: var(--sl-title-font);
  line-height: 1.2;
}

.post-content h2,
.page-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.post-content h3,
.page-content h3 {
  font-size: clamp(1.25rem, 2.6vw, 1.5rem);
}

.post-content ul,
.page-content ul,
.post-content ol,
.page-content ol {
  padding-left: 1.25rem;
}

.post-content li + li,
.page-content li + li {
  margin-top: 0.4rem;
}

.lab-alert,
.alert-warning,
.alert-info,
.alert-danger {
  margin: 1.4rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--sl-border);
  border-left-width: 3px;
  border-radius: var(--sl-radius-sm);
  background: rgba(255, 255, 255, 0.02);
}

.lab-alert--info,
.alert-info {
  border-left-color: var(--sl-info);
}

.lab-alert--warning,
.alert-warning {
  border-left-color: var(--sl-warning);
}

.lab-alert--danger,
.alert-danger {
  border-left-color: var(--sl-danger);
}

.lab-panel {
  margin: 1.5rem 0;
  padding: 1.05rem 1.1rem;
  border: 1px solid var(--sl-border);
  border-radius: var(--sl-radius-sm);
  background:
    linear-gradient(180deg, rgba(0, 240, 255, 0.06), rgba(255, 255, 255, 0.01)),
    linear-gradient(90deg, rgba(255, 0, 200, 0.05), transparent 45%);
}

.lab-panel__title {
  margin: 0 0 0.8rem;
  font-family: var(--sl-title-font);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.lab-panel--materials .lab-panel__title {
  color: var(--sl-info);
}

.lab-panel--steps .lab-panel__title {
  color: var(--sl-success);
}

.lab-panel--sources .lab-panel__title {
  color: var(--sl-warning);
}

.entry-footer {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.sephylab-support {
  margin-top: clamp(1.8rem, 4vw, 2.5rem);
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid var(--sl-border);
  border-radius: var(--sl-radius-sm);
  background:
    linear-gradient(180deg, rgba(0, 240, 255, 0.06), rgba(255, 255, 255, 0.01)),
    linear-gradient(90deg, rgba(255, 0, 200, 0.05), transparent 48%);
  box-shadow: var(--sl-shadow-md);
}

.sephylab-support-titre {
  margin: 0 0 0.7rem;
  font-family: var(--sl-title-font);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sephylab-support-texte {
  margin: 0 0 1rem;
  color: var(--sl-text-muted);
  max-width: 62ch;
}

.sephylab-support-bouton {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.sephylab-support-bouton > * {
  max-width: 100%;
}

.sephylab-support-bouton a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.78rem 1.1rem;
  border: 1px solid rgba(255, 95, 95, 0.38);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 95, 95, 0.22), rgba(255, 95, 95, 0.12)),
    rgba(18, 24, 38, 0.88);
  color: var(--sl-text);
  font-family: var(--sl-title-font);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 0 0 1px rgba(255, 95, 95, 0.08), 0 12px 28px rgba(0, 0, 0, 0.22);
}

.sephylab-support-bouton a:hover,
.sephylab-support-bouton a:focus-visible {
  color: var(--sl-text);
  border-color: rgba(255, 95, 95, 0.68);
  box-shadow: 0 0 0 1px rgba(255, 95, 95, 0.18), 0 18px 34px rgba(0, 0, 0, 0.28);
}

.post-taxonomies,
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sidebar {
  display: grid;
  gap: var(--sl-grid-gap);
}

.sidebar-panel,
.widget {
  padding: 1rem;
}

.widget-title,
.sidebar-title {
  margin-bottom: 0.7rem;
  font-size: 1rem;
}

.sidebar-panel ul,
.widget ul {
  display: grid;
  gap: 0.65rem;
}

.sidebar-panel a,
.widget a {
  color: var(--sl-text-muted);
}

.sidebar-panel a:hover,
.sidebar-panel a:focus-visible,
.widget a:hover,
.widget a:focus-visible {
  color: var(--sl-accent);
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem;
}

.search-field,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--sl-border);
  border-radius: 0.9rem;
  background: rgba(0, 0, 0, 0.12);
  color: var(--sl-text);
}

html[data-theme="light"] .search-field,
html[data-theme="light"] input[type="text"],
html[data-theme="light"] input[type="email"],
html[data-theme="light"] input[type="url"],
html[data-theme="light"] input[type="search"],
html[data-theme="light"] textarea {
  background: rgba(255, 255, 255, 0.7);
}

.search-field:focus,
input:focus,
textarea:focus {
  outline: 2px solid transparent;
  border-color: var(--sl-border-strong);
  box-shadow: 0 0 0 3px var(--sl-accent-soft);
}

.materials-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

.materials-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.materials-card__meta {
  margin: 0;
  color: var(--sl-accent);
  font-family: var(--sl-title-font);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.materials-card__copy > :last-child {
  margin-bottom: 0;
}

.steps-list {
  counter-reset: cyber-steps;
  list-style: none;
  padding-left: 0;
}

.steps-list li {
  position: relative;
  margin: 0;
  padding: 0.95rem 0.95rem 0.95rem 3.5rem;
  border: 1px solid var(--sl-border);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.02);
}

.steps-list li + li {
  margin-top: 0.75rem;
}

.steps-list li::before {
  counter-increment: cyber-steps;
  content: counter(cyber-steps, decimal-leading-zero);
  position: absolute;
  top: 0.85rem;
  left: 0.9rem;
  display: grid;
  place-items: center;
  inline-size: 1.9rem;
  block-size: 1.9rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 240, 255, 0.24);
  background: rgba(0, 240, 255, 0.12);
  color: var(--sl-accent);
  font-family: var(--sl-title-font);
  font-size: 0.76rem;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.12);
}

.sources-list {
  display: grid;
  gap: 0.75rem;
  padding-left: 0;
  list-style: none;
}

.sources-list li {
  padding: 0.85rem 1rem;
  border: 1px solid var(--sl-border);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.02);
}

.sources-list a {
  color: var(--sl-accent);
  word-break: break-word;
}

.sephylab-sources {
  margin-top: 0;
  padding: 1.1rem 1rem 1.25rem;
  border: 1px solid var(--sl-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 22%),
    rgba(18, 24, 38, 0.92);
  box-shadow: var(--sl-shadow-md);
}

.post-content .sephylab-sources {
  margin-top: 1.75rem;
}

.sephylab-sources-titre {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
}

.sephylab-sources-liste {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.sephylab-sources-element {
  padding: 0.85rem 1rem;
  border: 1px solid var(--sl-border);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.02);
}

.sephylab-sources-lien {
  color: var(--sl-accent);
  word-break: break-word;
}

.sephylab-materiel-affilie {
  margin-top: 0;
  padding: 1.1rem 1rem 1.25rem;
  border: 1px solid var(--sl-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 22%),
    rgba(18, 24, 38, 0.92);
  box-shadow: var(--sl-shadow-md);
}

.post-content .sephylab-materiel-affilie {
  margin-top: 1.75rem;
}

.sephylab-materiel-affilie-titre {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
}

.sephylab-materiel-affilie-liste {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.sephylab-materiel-affilie-element {
  padding: 0.85rem 1rem;
  border: 1px solid var(--sl-border);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.02);
}

.sephylab-materiel-affilie-lien {
  color: var(--sl-accent);
  word-break: break-word;
}

.code-block,
.wp-block-code code,
.wp-block-preformatted {
  display: block;
  margin: 1.5rem 0;
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(0, 240, 255, 0.24);
  border-radius: var(--sl-radius-sm);
  background:
    linear-gradient(180deg, rgba(255, 0, 200, 0.06), rgba(0, 0, 0, 0)),
    var(--sl-bg-panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 24px rgba(0, 240, 255, 0.08);
}

.menu-open {
  overflow: hidden;
}

body.menu-open::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 10, 20, 0.78), rgba(5, 10, 20, 0.7)),
    rgba(5, 10, 20, 0.72);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 70;
}

.archive-head,
.search-head,
.error-shell,
.related-posts,
.cta-strip {
  margin-bottom: var(--sl-grid-gap);
}

.entry-navigation {
  margin-top: 2rem;
}

.pager-links {
  justify-content: space-between;
}

.pager-links a {
  max-width: 48%;
}

.pagination {
  margin-top: 2rem;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  min-height: 2.6rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--sl-border);
  border-radius: 999px;
  background: var(--sl-surface);
  color: var(--sl-text);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover,
.pagination .page-numbers:focus-visible {
  border-color: var(--sl-border-strong);
  background: var(--sl-accent-soft);
}

.site-footer {
  margin: 0 auto 2rem;
}

.site-footer__inner {
  padding: clamp(1.25rem, 2vw, 1.8rem) 0;
}

.footer-grid {
  grid-template-columns: 1fr;
}

.footer-copy {
  max-width: 42rem;
}

.footer-meta {
  margin-top: 1rem;
  color: var(--sl-text-muted);
  font-size: 0.88rem;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.footer-menu a {
  color: var(--sl-text-muted);
}

.footer-menu a:hover,
.footer-menu a:focus-visible {
  color: var(--sl-accent);
}

.no-results,
.empty-state {
  padding: 1.2rem;
  border: 1px dashed var(--sl-border-strong);
  border-radius: var(--sl-radius);
  background: var(--sl-accent-soft);
}

.alignwide,
.alignfull {
  width: 100%;
}

.wp-block-image,
.wp-block-gallery,
.wp-block-group,
.wp-block-columns,
.wp-block-cover,
.wp-block-media-text {
  margin-block: 1.5rem;
}

.wp-block-quote,
.wp-block-pullquote {
  border-color: var(--sl-accent);
}

.wp-caption-text {
  color: var(--sl-text-muted);
  font-size: 0.88rem;
  text-align: center;
}

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

@media (min-width: 720px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.95fr);
    align-items: stretch;
  }

  .content-grid,
  .archive-layout,
  .search-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .post-layout {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 22rem);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(16rem, 0.9fr);
    align-items: start;
  }
}

@media (min-width: 960px) {
  .menu-toggle {
    display: none;
  }

  .site-navigation--desktop {
    position: static;
    display: block;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .menu-list {
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0;
  }

  .menu-list a {
    padding: 0.7rem 0.95rem;
  }

  .site-navigation-drawer {
    display: none !important;
  }

  .content-grid,
  .archive-layout,
  .search-layout {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 22rem);
  }
}

@media (max-width: 719px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .pager-links a {
    max-width: 100%;
  }

  .search-form {
    grid-template-columns: 1fr;
  }
}

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

@keyframes sl-header-scan {
  0% {
    transform: translateX(-20%);
  }

  50% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(20%);
  }
}

@keyframes sl-scan {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(100%);
  }
}

@keyframes sl-console-cursor {
  0%,
  42% {
    opacity: 1;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.42);
  }

  50%,
  92% {
    opacity: 0;
    text-shadow: none;
  }

  100% {
    opacity: 1;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.42);
  }
}

/* Mockup-inspired overrides */
:root {
  --sl-max-width: 1380px;
  --sl-panel-cut: 22px;
  --sl-panel-fill: rgba(7, 12, 24, 0.88);
  --sl-panel-stroke: rgba(0, 240, 255, 0.28);
  --sl-panel-highlight: rgba(255, 0, 200, 0.42);
  --sl-panel-glow: 0 0 0 1px rgba(0, 240, 255, 0.12), 0 0 28px rgba(0, 240, 255, 0.1), 0 0 40px rgba(255, 0, 200, 0.08);
  --sl-card-yellow: #ffd54a;
}

body {
  background:
    linear-gradient(90deg, rgba(0, 240, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 15% 0%, rgba(0, 240, 255, 0.16), transparent 28%),
    radial-gradient(circle at 85% 0%, rgba(255, 0, 200, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 18%),
    #07101f;
  background-size: 74px 74px, 74px 74px, auto, auto, auto, auto;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent, rgba(0, 240, 255, 0.018) 48%, transparent),
    radial-gradient(circle at 50% 0%, rgba(255, 0, 200, 0.06), transparent 36%);
  mix-blend-mode: screen;
  opacity: 0.65;
}

.header-inner,
.site-main,
.site-footer__inner {
  width: min(calc(100% - 1.2rem), var(--sl-max-width));
}

.site-header {
  top: 0.8rem;
  width: min(calc(100% - 1.2rem), var(--sl-max-width));
  margin: 0 auto 1rem;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0.15rem 0 0 auto;
  block-size: 2px;
  inline-size: 100%;
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.15), rgba(255, 0, 200, 0.8) 35%, rgba(0, 240, 255, 0.4));
  box-shadow: 0 0 12px rgba(255, 0, 200, 0.35);
}

.site-header::after {
  display: none;
}

.header-inner {
  position: relative;
  min-height: 5.8rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--sl-panel-stroke);
  background:
    linear-gradient(135deg, rgba(255, 0, 200, 0.08), transparent 18%),
    linear-gradient(315deg, rgba(0, 240, 255, 0.1), transparent 20%),
    var(--sl-panel-fill);
  box-shadow: var(--sl-panel-glow);
  clip-path: polygon(0 12px, 12px 0, calc(100% - 34px) 0, 100% 32px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 28px 100%, 0 calc(100% - 28px));
  overflow: hidden;
}

.header-inner::before,
.header-inner::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.header-inner::before {
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 24%);
}

.header-inner::after {
  inset: auto 2rem 0.75rem 2rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.12), rgba(0, 240, 255, 0.8) 48%, rgba(255, 0, 200, 0.35));
}

.brand {
  position: relative;
  z-index: 1;
  gap: 1rem;
}

.brand-copy {
  gap: 0.15rem;
}

.brand-title {
  font-size: clamp(1.2rem, 1.6vw, 1.8rem);
  letter-spacing: 0.02em;
  text-transform: none;
  background: linear-gradient(90deg, #8ef8ff 0%, #45d9ff 42%, #ff4cc6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-tagline {
  display: none;
}

.brand-mark {
  border-radius: 0;
  clip-path: polygon(0 14px, 14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

.header-actions {
  position: relative;
  z-index: 1;
  gap: 0.7rem;
}

.header-tools {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  background:
    linear-gradient(180deg, rgba(0, 240, 255, 0.18), rgba(0, 240, 255, 0.03)),
    linear-gradient(90deg, rgba(255, 0, 200, 0.12), transparent 46%),
    rgba(5, 14, 28, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(0, 240, 255, 0.48),
    inset 0 -1px 0 rgba(0, 240, 255, 0.36),
    0 0 0 1px rgba(0, 240, 255, 0.14),
    0 0 18px rgba(0, 240, 255, 0.12);
}

.header-tools::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%, transparent 72%, rgba(0, 240, 255, 0.05));
}

.header-tools > * {
  position: relative;
  z-index: 1;
}

.header-tools > * + *::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  bottom: 0.55rem;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0, 240, 255, 0.16), transparent);
}

.nav-wrap {
  display: flex;
  align-items: center;
}

.menu-list a {
  clip-path: var(--sl-button-clip);
}

.btn-neon,
.sl-button,
.wp-element-button,
button,
input[type="submit"],
.search-submit {
  border-radius: 0;
  clip-path: var(--sl-button-clip);
}

.btn-neon,
.sl-button,
.wp-element-button,
button,
input[type="submit"],
.search-submit {
  min-height: 2.9rem;
  padding-inline: 1.15rem;
  border: 0;
  background:
    linear-gradient(180deg, rgba(0, 240, 255, 0.2), rgba(0, 240, 255, 0.04)),
    linear-gradient(90deg, rgba(255, 0, 200, 0.12), transparent 45%),
    rgba(5, 14, 28, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(0, 240, 255, 0.46),
    inset 0 -1px 0 rgba(0, 240, 255, 0.3),
    0 0 18px rgba(0, 240, 255, 0.14);
}

.btn-neon:hover,
.btn-neon:focus-visible,
.sl-button:hover,
.sl-button:focus-visible,
.wp-element-button:hover,
.wp-element-button:focus-visible,
button:hover,
button:focus-visible,
input[type="submit"]:hover,
input[type="submit"]:focus-visible,
.search-submit:hover,
.search-submit:focus-visible {
  box-shadow:
    inset 0 1px 0 rgba(0, 240, 255, 0.68),
    inset 0 -1px 0 rgba(255, 0, 200, 0.34),
    0 0 22px rgba(0, 240, 255, 0.18);
}

.sl-button--ghost {
  border: 0;
  background:
    linear-gradient(90deg, rgba(255, 0, 200, 0.12), transparent 58%),
    rgba(5, 14, 28, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 0, 200, 0.34),
    inset 0 -1px 0 rgba(0, 240, 255, 0.22),
    0 0 14px rgba(255, 0, 200, 0.08);
}

.icon-button {
  inline-size: 2.9rem;
  min-width: 2.9rem;
}

.header-tools .icon-button,
.header-tools .search-shortcut {
  border: 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  clip-path: none;
  background: transparent;
  box-shadow: none;
}

.header-tools .icon-button:hover,
.header-tools .icon-button:focus-visible,
.header-tools .search-shortcut:hover,
.header-tools .search-shortcut:focus-visible {
  transform: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    rgba(0, 240, 255, 0.09);
  box-shadow: none;
}

.search-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.menu-list {
  gap: 0.55rem;
}

.menu-list li {
  position: relative;
  display: flex;
  align-items: center;
}

.menu-list li + li::before {
  display: none;
}

.menu-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.72rem 1.15rem;
  border: 0;
  background:
    linear-gradient(180deg, rgba(0, 240, 255, 0.16), rgba(0, 240, 255, 0.03)),
    linear-gradient(90deg, rgba(255, 0, 200, 0.1), transparent 50%),
    var(--sl-surface-strong);
  box-shadow:
    inset 0 1px 0 rgba(0, 240, 255, 0.32),
    inset 0 -1px 0 rgba(0, 240, 255, 0.18),
    0 0 0 1px rgba(0, 240, 255, 0.12),
    0 0 14px rgba(0, 240, 255, 0.08);
  color: rgba(230, 237, 243, 0.92);
  text-decoration: none;
}

.menu-list .current-menu-item > a,
.menu-list .current_page_item > a,
.menu-list a:hover,
.menu-list a:focus-visible {
  background:
    linear-gradient(180deg, rgba(0, 240, 255, 0.18), rgba(0, 240, 255, 0.02)),
    linear-gradient(90deg, rgba(255, 0, 200, 0.12), transparent 45%),
    var(--sl-surface-strong);
  box-shadow:
    inset 0 1px 0 rgba(0, 240, 255, 0.46),
    inset 0 -1px 0 rgba(255, 0, 200, 0.2),
    0 0 0 1px rgba(0, 240, 255, 0.16),
    0 0 18px rgba(0, 240, 255, 0.14);
}

.hero-shell,
.content-section,
.archive-head,
.search-head,
.related-posts,
.entry-shell,
.sidebar-panel,
.site-footer,
.entry-thumbnail,
.lab-panel,
.lab-alert,
.steps-list li,
.sources-list li {
  position: relative;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 18%),
    linear-gradient(135deg, rgba(0, 240, 255, 0.06), transparent 22%),
    linear-gradient(315deg, rgba(255, 0, 200, 0.07), transparent 18%),
    var(--sl-panel-fill);
  box-shadow: var(--sl-panel-glow);
  clip-path: polygon(0 var(--sl-panel-cut), var(--sl-panel-cut) 0, calc(100% - 33px) 0, 100% 30px, 100% calc(100% - var(--sl-panel-cut)), calc(100% - var(--sl-panel-cut)) 100%, 18px 100%, 0 calc(100% - 18px));
  overflow: hidden;
}

.hero-shell::before,
.content-section::before,
.archive-head::before,
.search-head::before,
.related-posts::before,
.entry-shell::before,
.sidebar-panel::before,
.site-footer::before,
.lab-panel::before,
.lab-alert::before,
.steps-list li::after,
.sources-list li::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 14%, transparent 86%, rgba(0, 240, 255, 0.04));
}

.hero-shell::after,
.content-section::after,
.archive-head::after,
.search-head::after,
.related-posts::after,
.entry-shell::after,
.sidebar-panel::after,
.site-footer::after,
.lab-panel::after,
.lab-alert::after,
.entry-thumbnail::after {
  content: "";
  position: absolute;
  inset: auto 1.2rem 0.95rem 1.2rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.75), transparent 72%, rgba(255, 0, 200, 0.5));
  pointer-events: none;
}

.hero-shell {
  gap: 1.4rem;
  padding: clamp(1.2rem, 2.2vw, 2rem);
}

.hero-grid--landing {
  gap: 1.15rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.eyebrow,
.section-kicker,
.lab-panel__title,
.sidebar-title {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  min-height: 2.45rem;
  margin: 0 0 1rem;
  padding: 0.45rem 1.15rem 0.45rem 1rem;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(0, 240, 255, 0.18), rgba(0, 240, 255, 0.04)),
    rgba(8, 20, 36, 0.96);
  color: #8ef8ff;
  font-family: var(--sl-title-font);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  box-shadow:
    inset 0 1px 0 rgba(0, 240, 255, 0.42),
    inset 0 -1px 0 rgba(0, 240, 255, 0.28),
    0 0 14px rgba(0, 240, 255, 0.1);
}

.eyebrow {
  color: #ff7ad9;
  background:
    linear-gradient(180deg, rgba(255, 0, 200, 0.16), rgba(255, 0, 200, 0.04)),
    rgba(8, 20, 36, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 0, 200, 0.42),
    inset 0 -1px 0 rgba(255, 0, 200, 0.24),
    0 0 16px rgba(255, 0, 200, 0.1);
}

.eyebrow::before,
.section-kicker::before,
.lab-panel__title::before,
.sidebar-title::before {
  display: none;
}

.hero-title,
.entry-title,
.archive-title,
.search-title,
.page-title,
.error-title,
.footer-title {
  font-size: clamp(2rem, 4.8vw, 4rem);
  letter-spacing: -0.04em;
}

.page-title,
.archive-title,
.search-title,
.footer-title {
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
}

.hero-text,
.archive-description,
.search-description,
.footer-copy,
.entry-copy,
.widget-copy {
  max-width: 60ch;
  color: rgba(230, 237, 243, 0.78);
}

.hero-actions {
  margin-top: 1.35rem;
}

.hero-metrics--inline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.35rem;
}

.hero-metrics--inline .metrics-card {
  min-height: 100%;
}

.metrics-card {
  padding: 1rem 1rem 1.1rem;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.metrics-value {
  margin-bottom: 0.25rem;
}

.metrics-label {
  font-size: 0.78rem;
  letter-spacing: 0.09em;
}

.hero-screen {
  position: relative;
  overflow: hidden;
  min-height: 21rem;
  border: 1px solid rgba(0, 240, 255, 0.35);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 24px) 100%, 0 100%, 0 18px);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.28)),
    linear-gradient(90deg, rgba(0, 240, 255, 0.08), rgba(255, 0, 200, 0.1)),
    rgba(5, 14, 28, 0.95);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 0 1px rgba(0, 240, 255, 0.1),
    0 0 24px rgba(0, 240, 255, 0.14);
}

.hero-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 240, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
  background-size: 36px 36px, 36px 36px, 100% 100%;
  pointer-events: none;
}

.hero-screen::after {
  content: "";
  position: absolute;
  inset: auto 1rem 0.9rem 1rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.8), rgba(0, 240, 255, 0.2), rgba(255, 0, 200, 0.8));
}

.hero-screen--image {
  background:
    linear-gradient(180deg, rgba(4, 10, 22, 0.18), rgba(4, 10, 22, 0.72)),
    linear-gradient(90deg, rgba(0, 240, 255, 0.12), rgba(255, 0, 200, 0.16)),
    var(--hero-image) center/cover no-repeat;
}

.hero-screen--ambient {
  background:
    linear-gradient(180deg, rgba(4, 10, 22, 0.08), rgba(4, 10, 22, 0.82)),
    radial-gradient(circle at 68% 34%, rgba(255, 0, 200, 0.46), transparent 15%),
    radial-gradient(circle at 52% 54%, rgba(0, 240, 255, 0.52), transparent 13%),
    radial-gradient(circle at 82% 42%, rgba(0, 240, 255, 0.42), transparent 11%),
    linear-gradient(90deg, rgba(15, 28, 52, 0.7), rgba(10, 18, 34, 0.86)),
    rgba(5, 14, 28, 0.95);
}

.hero-screen__hud {
  position: absolute;
  inset: auto 1rem 1.15rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  z-index: 2;
}

.hero-screen__tag {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.3rem 0.85rem;
  border: 1px solid rgba(0, 240, 255, 0.34);
  background: rgba(6, 14, 28, 0.82);
  color: #8ef8ff;
  font-family: var(--sl-title-font);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 8px 50%);
}

.hero-screen__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  min-height: 100%;
  padding: 1rem 1rem 5.6rem;
}

.hero-screen__content > .console-dynamique,
.hero-screen > .console-dynamique {
  position: relative;
  z-index: 1;
  width: min(100%, 30rem);
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.hero-screen .console-dynamique-contenu {
  position: relative;
  display: grid;
  gap: 0.52rem;
  width: 100%;
  min-width: 0;
  padding: 1.65rem 0 0.25rem 0.9rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  /* Renforce la lisibilite de la console sur les images les plus claires. */
  --sl-console-text-edge: rgba(4, 10, 22, 0.92);
  --sl-console-text-shadow-strong:
    0 2px 10px rgba(4, 10, 22, 0.84),
    0 0 18px rgba(0, 240, 255, 0.14),
    1px 0 0 rgba(4, 10, 22, 0.86),
    -1px 0 0 rgba(4, 10, 22, 0.86),
    0 1px 0 rgba(4, 10, 22, 0.86),
    0 -1px 0 rgba(4, 10, 22, 0.86);
  --sl-console-text-shadow-soft:
    0 2px 8px rgba(4, 10, 22, 0.8),
    0 0 14px rgba(0, 240, 255, 0.12),
    1px 0 0 rgba(4, 10, 22, 0.78),
    -1px 0 0 rgba(4, 10, 22, 0.78),
    0 1px 0 rgba(4, 10, 22, 0.78),
    0 -1px 0 rgba(4, 10, 22, 0.78);
}

.hero-screen .console-dynamique-contenu::before {
  content: "";
  position: absolute;
  inset: 1.55rem auto 0.35rem 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(0, 240, 255, 0), rgba(0, 240, 255, 0.55) 20%, rgba(255, 0, 200, 0.34) 78%, rgba(255, 0, 200, 0));
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.16);
}

.hero-screen .console-dynamique-meta {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.hero-screen .console-titre {
  margin: 0;
  max-width: 28ch;
  line-height: 1.22;
  font-size: clamp(0.94rem, 1.05vw, 1.08rem);
  letter-spacing: 0.06em;
  color: rgba(235, 247, 255, 0.96);
  text-shadow: var(--sl-console-text-shadow-strong);
  -webkit-text-stroke: 0.45px var(--sl-console-text-edge);
  paint-order: stroke fill;
  text-wrap: balance;
}

.hero-screen .console-commande-zone {
  display: block;
  margin: 0;
  padding: 0.22rem 0 0.48rem;
  border: 0;
  border-bottom: 1px solid rgba(0, 240, 255, 0.22);
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.06), rgba(0, 240, 255, 0.02) 42%, transparent 72%);
  box-shadow: none;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.hero-screen .console-prefixe,
.hero-screen .console-commande,
.hero-screen .console-curseur {
  display: inline;
  font-family: var(--sl-title-font);
  font-size: clamp(0.88rem, 0.98vw, 0.98rem);
  line-height: 1.5;
  vertical-align: top;
  text-shadow: var(--sl-console-text-shadow-soft);
  -webkit-text-stroke: 0.32px var(--sl-console-text-edge);
  paint-order: stroke fill;
}

.hero-screen .console-prefixe,
.hero-screen .console-curseur {
  color: #8ef8ff;
}

.hero-screen .console-prefixe {
  margin-right: 0.45rem;
}

.hero-screen .console-commande {
  color: #f5fbff;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: pre-wrap;
}

.hero-screen .console-curseur {
  margin-left: 0.08rem;
  animation: sl-console-cursor 1.05s steps(1, end) infinite;
}

.console-description,
.sephylab-console-source {
  min-width: 0;
}

.hero-screen .console-description,
.hero-screen .sephylab-console-source {
  margin: 0;
  max-width: min(100%, 32rem);
  font-size: clamp(0.72rem, 0.82vw, 0.8rem);
  line-height: 1.6;
  overflow-wrap: anywhere;
  text-shadow: var(--sl-console-text-shadow-soft);
  -webkit-text-stroke: 0.25px var(--sl-console-text-edge);
  paint-order: stroke fill;
}

.sephylab-console-source {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sephylab-console-source-texte,
.sephylab-console-source-lien {
  overflow-wrap: anywhere;
  text-shadow: inherit;
}

.sephylab-console-source-lien {
  color: var(--sl-accent);
  text-decoration: none;
}

.sephylab-console-source-lien:hover,
.sephylab-console-source-lien:focus-visible {
  text-decoration: underline;
}

.sephylab-console-source-lien-mobile {
  display: none;
}

.dashboard-grid {
  display: grid;
  gap: var(--sl-grid-gap);
  align-items: start;
}

.dashboard-main {
  display: grid;
  gap: var(--sl-grid-gap);
}

.content-section,
.archive-head,
.search-head,
.related-posts {
  padding: clamp(1.15rem, 2vw, 1.6rem);
}

.content-section > .page-title,
.archive-head > .archive-title,
.search-head > .search-title,
.related-posts > .page-title {
  margin-bottom: 0.75rem;
}

.cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
}

.card-cyber,
.lab-card {
  position: relative;
  border-radius: 0;
  clip-path: polygon(0 16px, 16px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 22px) 100%, 16px 100%, 0 calc(100% - 16px));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 18%),
    linear-gradient(135deg, var(--card-accent-soft, rgba(0, 240, 255, 0.16)), transparent 20%),
    rgba(7, 14, 28, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(0, 240, 255, 0.18),
    inset 0 -1px 0 rgba(0, 240, 255, 0.1),
    0 0 0 1px rgba(0, 240, 255, 0.08),
    0 0 18px rgba(0, 0, 0, 0.32);
}

.card-cyber::before,
.lab-card::before {
  content: "";
  position: absolute;
  inset: auto 1rem 0.8rem 1rem;
  height: 2px;
  background: linear-gradient(90deg, var(--card-accent, var(--sl-accent)), transparent 78%);
}

.card-cyber--accent-1 {
  --card-accent: var(--sl-accent);
  --card-accent-soft: rgba(0, 240, 255, 0.18);
}

.card-cyber--accent-2 {
  --card-accent: var(--sl-accent-alt);
  --card-accent-soft: rgba(255, 0, 200, 0.18);
}

.card-cyber--accent-3 {
  --card-accent: var(--sl-accent-green);
  --card-accent-soft: rgba(57, 255, 20, 0.16);
}

.card-cyber--accent-4 {
  --card-accent: var(--sl-card-yellow);
  --card-accent-soft: rgba(255, 213, 74, 0.18);
}

.card-media {
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.card-body {
  gap: 0.8rem;
  padding: 1rem 1rem 1.35rem;
}

.card-title {
  font-size: clamp(1rem, 1.6vw, 1.3rem);
}

.card-excerpt {
  font-size: 0.94rem;
  line-height: 1.6;
}

.card-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 240, 255, 0.12);
}

.card-footer .sl-button {
  width: 100%;
  justify-content: space-between;
}

.card-footer .sl-button::after {
  content: "›";
  font-size: 1.2rem;
  line-height: 1;
}

.meta-badge,
.status-pill,
.post-taxonomies a,
.entry-tags a,
.entry-categories a {
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%, 6px 50%);
  background: rgba(6, 14, 28, 0.72);
}

.post-layout {
  gap: 1rem;
}

.entry-header {
  gap: 1.1rem;
}

.entry-title {
  max-width: 20ch;
}

.lab-intro {
  border: 1px solid rgba(0, 240, 255, 0.22);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.entry-thumbnail {
  min-height: 18rem;
}

.entry-thumbnail img {
  height: 100%;
}

.sidebar {
  display: grid;
  gap: 1rem;
}

.sidebar-panel,
.widget {
  padding: 1.1rem 1rem 1.25rem;
}

.sidebar-panel.panel-terminal::before {
  content: none;
}

.sidebar-title {
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
}

.sidebar-panel--tip .sidebar-title {
  color: #ff8be0;
  background:
    linear-gradient(180deg, rgba(255, 0, 200, 0.16), rgba(255, 0, 200, 0.04)),
    rgba(8, 20, 36, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 0, 200, 0.42),
    inset 0 -1px 0 rgba(255, 0, 200, 0.24),
    0 0 16px rgba(255, 0, 200, 0.1);
}

.sidebar-panel ul,
.widget ul,
.sidebar-links-menu {
  display: grid;
  gap: 0.6rem;
  padding-left: 0;
  list-style: none;
}

.sidebar-panel li,
.widget li,
.sidebar-links-menu li {
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(0, 240, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.sidebar-panel a,
.widget a,
.sidebar-links-menu a {
  display: block;
  color: rgba(230, 237, 243, 0.84);
}

.sidebar-panel a:hover,
.sidebar-panel a:focus-visible,
.widget a:hover,
.widget a:focus-visible,
.sidebar-links-menu a:hover,
.sidebar-links-menu a:focus-visible {
  color: #8ef8ff;
}

.lab-panel {
  margin: 1.5rem 0;
  padding: 1.2rem 1rem 1.35rem;
}

.lab-panel__title {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.lab-panel--materials .lab-panel__title {
  color: #8ef8ff;
}

.lab-panel--steps .lab-panel__title {
  color: #7cff87;
  box-shadow:
    inset 0 1px 0 rgba(57, 255, 20, 0.42),
    inset 0 -1px 0 rgba(57, 255, 20, 0.24),
    0 0 16px rgba(57, 255, 20, 0.08);
}

.lab-panel--sources .lab-panel__title {
  color: #ffd873;
  box-shadow:
    inset 0 1px 0 rgba(255, 213, 74, 0.44),
    inset 0 -1px 0 rgba(255, 213, 74, 0.24),
    0 0 16px rgba(255, 213, 74, 0.08);
}

.materials-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr));
}

.steps-list li {
  padding: 1rem 1rem 1rem 3.6rem;
  border-radius: 0;
}

.steps-list li::before {
  top: 0.85rem;
  left: 0.95rem;
  inline-size: 2rem;
  block-size: 2rem;
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% 76%, 76% 100%, 0 100%);
}

.sources-list li {
  padding: 0.9rem 1rem;
  border-radius: 0;
}

.sephylab-sources {
  padding: 1.1rem 1rem 1.25rem;
}

.sephylab-sources-element {
  padding: 0.9rem 1rem;
  border-radius: 0;
}

.sephylab-materiel-affilie {
  padding: 1.1rem 1rem 1.25rem;
}

.sephylab-materiel-affilie-element {
  padding: 0.9rem 1rem;
  border-radius: 0;
}

.lab-alert,
.alert-warning,
.alert-info,
.alert-danger {
  padding: 1rem 1.1rem 1.2rem;
  border-left-width: 1px;
  background:
    linear-gradient(90deg, rgba(255, 0, 200, 0.12), transparent 24%),
    rgba(20, 11, 22, 0.92);
}

.lab-alert .lab-panel__title,
.alert-warning .lab-panel__title,
.alert-info .lab-panel__title,
.alert-danger .lab-panel__title {
  margin-bottom: 0.6rem;
}

.footer-grid {
  gap: 1rem;
}

.site-footer {
  margin-top: 1.2rem;
  background:
    linear-gradient(180deg, rgba(0, 240, 255, 0.08), transparent 16%),
    rgba(6, 12, 24, 0.9);
}

.site-footer__inner {
  padding-bottom: 1rem;
}

.footer-menu {
  display: grid;
  gap: 0.65rem;
}

.footer-menu a {
  color: rgba(230, 237, 243, 0.82);
}

.footer-menu a:hover,
.footer-menu a:focus-visible {
  color: #8ef8ff;
}

.search-form {
  grid-template-columns: 1fr auto;
}

.search-field,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
textarea {
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  background: rgba(5, 14, 28, 0.85);
}

html[data-theme="light"] body {
  background:
    linear-gradient(90deg, rgba(0, 126, 148, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(0, 126, 148, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 15% 0%, rgba(0, 126, 148, 0.14), transparent 28%),
    radial-gradient(circle at 85% 0%, rgba(170, 0, 127, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent 18%),
    #eef5fb;
  color: #0e1722;
}

html[data-theme="light"] body::after {
  background:
    linear-gradient(180deg, transparent, rgba(0, 126, 148, 0.018) 48%, transparent),
    radial-gradient(circle at 50% 0%, rgba(170, 0, 127, 0.035), transparent 34%);
  mix-blend-mode: normal;
  opacity: 0.45;
}

html[data-theme="light"] .header-inner,
html[data-theme="light"] .hero-shell,
html[data-theme="light"] .content-section,
html[data-theme="light"] .archive-head,
html[data-theme="light"] .search-head,
html[data-theme="light"] .related-posts,
html[data-theme="light"] .entry-shell,
html[data-theme="light"] .sidebar-panel,
html[data-theme="light"] .site-footer,
html[data-theme="light"] .entry-thumbnail,
html[data-theme="light"] .lab-panel,
html[data-theme="light"] .lab-alert,
html[data-theme="light"] .steps-list li,
html[data-theme="light"] .sources-list li,
html[data-theme="light"] .sephylab-sources,
html[data-theme="light"] .sephylab-sources-liste li,
html[data-theme="light"] .sephylab-materiel-affilie,
html[data-theme="light"] .sephylab-materiel-affilie-liste li {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent 20%),
    linear-gradient(135deg, rgba(0, 126, 148, 0.08), transparent 24%),
    linear-gradient(315deg, rgba(170, 0, 127, 0.05), transparent 18%),
    rgba(255, 255, 255, 0.92);
  box-shadow:
    0 0 0 1px rgba(0, 126, 148, 0.08),
    0 14px 28px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .header-tools,
html[data-theme="light"] .btn-neon,
html[data-theme="light"] .sl-button,
html[data-theme="light"] .wp-element-button,
html[data-theme="light"] button,
html[data-theme="light"] input[type="submit"],
html[data-theme="light"] .search-submit {
  background:
    linear-gradient(180deg, rgba(0, 126, 148, 0.12), rgba(0, 126, 148, 0.03)),
    linear-gradient(90deg, rgba(170, 0, 127, 0.08), transparent 46%),
    rgba(248, 251, 254, 0.98);
  color: #0e1722;
  box-shadow:
    inset 0 1px 0 rgba(0, 126, 148, 0.32),
    inset 0 -1px 0 rgba(0, 126, 148, 0.18),
    0 8px 18px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .btn-neon:hover,
html[data-theme="light"] .btn-neon:focus-visible,
html[data-theme="light"] .sl-button:hover,
html[data-theme="light"] .sl-button:focus-visible,
html[data-theme="light"] .wp-element-button:hover,
html[data-theme="light"] .wp-element-button:focus-visible,
html[data-theme="light"] button:hover,
html[data-theme="light"] button:focus-visible,
html[data-theme="light"] input[type="submit"]:hover,
html[data-theme="light"] input[type="submit"]:focus-visible,
html[data-theme="light"] .search-submit:hover,
html[data-theme="light"] .search-submit:focus-visible {
  box-shadow:
    inset 0 1px 0 rgba(0, 126, 148, 0.46),
    inset 0 -1px 0 rgba(170, 0, 127, 0.18),
    0 10px 22px rgba(15, 23, 42, 0.1);
}

html[data-theme="light"] .sl-button--ghost {
  background:
    linear-gradient(90deg, rgba(170, 0, 127, 0.08), transparent 58%),
    rgba(250, 252, 255, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(170, 0, 127, 0.24),
    inset 0 -1px 0 rgba(0, 126, 148, 0.16),
    0 8px 18px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .eyebrow,
html[data-theme="light"] .section-kicker,
html[data-theme="light"] .lab-panel__title,
html[data-theme="light"] .sidebar-title {
  background:
    linear-gradient(180deg, rgba(0, 126, 148, 0.12), rgba(0, 126, 148, 0.03)),
    rgba(248, 251, 254, 0.98);
  color: #006f84;
  box-shadow:
    inset 0 1px 0 rgba(0, 126, 148, 0.28),
    inset 0 -1px 0 rgba(0, 126, 148, 0.16),
    0 8px 18px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .eyebrow,
html[data-theme="light"] .sidebar-panel--tip .sidebar-title {
  background:
    linear-gradient(180deg, rgba(170, 0, 127, 0.1), rgba(170, 0, 127, 0.03)),
    rgba(250, 252, 255, 0.98);
  color: #9a006f;
  box-shadow:
    inset 0 1px 0 rgba(170, 0, 127, 0.24),
    inset 0 -1px 0 rgba(170, 0, 127, 0.14),
    0 8px 18px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .lab-panel--steps .lab-panel__title {
  color: #1d7d0b;
  box-shadow:
    inset 0 1px 0 rgba(57, 255, 20, 0.28),
    inset 0 -1px 0 rgba(57, 255, 20, 0.16),
    0 8px 18px rgba(15, 23, 42, 0.05);
}

html[data-theme="light"] .lab-panel--sources .lab-panel__title {
  color: #9a6d00;
  box-shadow:
    inset 0 1px 0 rgba(255, 213, 74, 0.32),
    inset 0 -1px 0 rgba(255, 213, 74, 0.16),
    0 8px 18px rgba(15, 23, 42, 0.05);
}

html[data-theme="light"] .hero-text,
html[data-theme="light"] .archive-description,
html[data-theme="light"] .search-description,
html[data-theme="light"] .footer-copy,
html[data-theme="light"] .entry-copy,
html[data-theme="light"] .widget-copy,
html[data-theme="light"] .card-excerpt,
html[data-theme="light"] .hero-screen__tag,
html[data-theme="light"] .metrics-label,
html[data-theme="light"] .sidebar-panel a,
html[data-theme="light"] .widget a,
html[data-theme="light"] .sidebar-links-menu a {
  color: #33465b;
}

html[data-theme="light"] .menu-list a,
html[data-theme="light"] .card-title a,
html[data-theme="light"] .brand,
html[data-theme="light"] .meta-badge,
html[data-theme="light"] .post-taxonomies a,
html[data-theme="light"] .entry-tags a,
html[data-theme="light"] .entry-categories a {
  color: #0e1722;
}

html[data-theme="light"] .menu-list .current-menu-item > a,
html[data-theme="light"] .menu-list .current_page_item > a,
html[data-theme="light"] .menu-list a:hover,
html[data-theme="light"] .menu-list a:focus-visible {
  background:
    linear-gradient(180deg, rgba(0, 126, 148, 0.12), rgba(0, 126, 148, 0.03)),
    linear-gradient(90deg, rgba(170, 0, 127, 0.08), transparent 45%),
    rgba(248, 251, 254, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(0, 126, 148, 0.22),
    inset 0 -1px 0 rgba(0, 126, 148, 0.14),
    0 0 0 1px rgba(0, 126, 148, 0.12),
    0 8px 18px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .hero-screen {
  border-color: rgba(0, 126, 148, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(201, 220, 235, 0.4)),
    linear-gradient(90deg, rgba(0, 126, 148, 0.08), rgba(170, 0, 127, 0.08)),
    rgba(248, 251, 254, 0.98);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    0 0 0 1px rgba(0, 126, 148, 0.08),
    0 14px 28px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .hero-screen::before {
  background:
    linear-gradient(90deg, rgba(0, 126, 148, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(0, 126, 148, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
}

html[data-theme="light"] .hero-screen--image {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(237, 244, 249, 0.86)),
    linear-gradient(90deg, rgba(0, 126, 148, 0.1), rgba(170, 0, 127, 0.08)),
    var(--hero-image) center/cover no-repeat;
}

html[data-theme="light"] .hero-screen--ambient {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(237, 244, 249, 0.9)),
    radial-gradient(circle at 68% 34%, rgba(170, 0, 127, 0.18), transparent 15%),
    radial-gradient(circle at 52% 54%, rgba(0, 126, 148, 0.22), transparent 13%),
    radial-gradient(circle at 82% 42%, rgba(0, 126, 148, 0.18), transparent 11%),
    linear-gradient(90deg, rgba(230, 239, 246, 0.92), rgba(242, 247, 251, 0.96)),
    rgba(248, 251, 254, 0.98);
}

html[data-theme="light"] .hero-screen__tag,
html[data-theme="light"] .meta-badge,
html[data-theme="light"] .status-pill,
html[data-theme="light"] .post-taxonomies a,
html[data-theme="light"] .entry-tags a,
html[data-theme="light"] .entry-categories a {
  background: rgba(236, 243, 248, 0.96);
}

html[data-theme="light"] .card-cyber,
html[data-theme="light"] .lab-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), transparent 18%),
    linear-gradient(135deg, var(--card-accent-soft, rgba(0, 126, 148, 0.12)), transparent 22%),
    rgba(247, 250, 253, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(0, 126, 148, 0.16),
    inset 0 -1px 0 rgba(0, 126, 148, 0.08),
    0 0 0 1px rgba(0, 126, 148, 0.08),
    0 14px 24px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .card-footer {
  border-top-color: rgba(0, 126, 148, 0.12);
}

html[data-theme="light"] .sidebar-panel li,
html[data-theme="light"] .widget li,
html[data-theme="light"] .sidebar-links-menu li {
  border-color: rgba(0, 126, 148, 0.12);
  background: rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .lab-alert,
html[data-theme="light"] .alert-warning,
html[data-theme="light"] .alert-info,
html[data-theme="light"] .alert-danger {
  background:
    linear-gradient(90deg, rgba(170, 0, 127, 0.08), transparent 24%),
    rgba(255, 244, 248, 0.96);
}

html[data-theme="light"] .site-footer {
  background:
    linear-gradient(180deg, rgba(0, 126, 148, 0.06), transparent 16%),
    rgba(245, 249, 252, 0.96);
}

html[data-theme="light"] .search-field,
html[data-theme="light"] input[type="text"],
html[data-theme="light"] input[type="email"],
html[data-theme="light"] input[type="url"],
html[data-theme="light"] input[type="search"],
html[data-theme="light"] textarea {
  background: rgba(255, 255, 255, 0.96);
  color: #0e1722;
  box-shadow:
    inset 0 1px 0 rgba(0, 126, 148, 0.14),
    inset 0 -1px 0 rgba(0, 126, 148, 0.08);
}

@media (min-width: 960px) {
  .header-inner {
    padding-inline: 1.4rem;
  }

  .site-navigation {
    display: block;
    position: static;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .menu-list {
    flex-direction: row;
    align-items: center;
    margin-top: 0;
  }
}

@media (min-width: 1040px) {
  .hero-grid--landing {
    grid-template-columns: minmax(0, 0.92fr) minmax(24rem, 1.08fr);
    align-items: stretch;
  }

  .dashboard-grid,
  .content-grid,
  .archive-layout,
  .search-layout {
    grid-template-columns: minmax(0, 1fr) minmax(17.5rem, 18.5rem);
  }

  .cards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .materials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1039px) {
  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr));
  }
}

@media (max-width: 959px) {
  .site-header {
    top: 0.4rem;
    z-index: 120;
  }

  .header-inner {
    min-height: auto;
  }

  .brand-tagline {
    display: block;
    white-space: normal;
  }

  .site-navigation--desktop {
    display: none !important;
  }

  .site-navigation-drawer {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 6.35rem);
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    min-width: 0;
    max-height: none;
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0.9rem;
    border: 1px solid rgba(0, 240, 255, 0.28);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
      linear-gradient(135deg, rgba(0, 240, 255, 0.06), rgba(255, 0, 200, 0.04)),
      #08111f;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px));
    box-shadow:
      inset 0 1px 0 rgba(0, 240, 255, 0.5),
      0 22px 48px rgba(0, 0, 0, 0.42),
      0 0 22px rgba(0, 240, 255, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.65rem);
    transition:
      opacity 0.18s ease,
      transform 0.18s ease,
      visibility 0.18s ease;
    z-index: 140;
  }

  .site-navigation-drawer.is-open {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-navigation-drawer .menu-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: 0;
    gap: 0.45rem;
    width: 100%;
  }

  .site-navigation-drawer .menu-list li {
    display: block;
    width: 100%;
  }

  .site-navigation-drawer .menu-list li + li::before {
    display: none;
  }

  .site-navigation-drawer .menu-list a {
    display: block;
    width: 100%;
    padding: 0.9rem 1rem;
    text-align: left;
  }

  .hero-screen {
    min-height: 16rem;
  }

  .hero-screen__content {
    padding: 0.95rem 0.95rem 5.2rem;
  }

  .hero-screen .console-titre {
    max-width: 100%;
  }
}

@media (max-width: 719px) {
  .header-inner {
    padding: 0.95rem 1rem 1rem;
  }

  .header-actions {
    width: 100%;
    gap: 0.55rem;
    justify-content: flex-end;
  }

  .hero-title,
  .entry-title {
    font-size: clamp(1.8rem, 10vw, 2.6rem);
  }

  .hero-metrics--inline {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .materials-grid {
    grid-template-columns: 1fr;
  }

  .hero-screen.hero-screen--image::before {
    background:
      linear-gradient(180deg, rgba(4, 10, 22, 0.28), rgba(4, 10, 22, 0.78)),
      linear-gradient(90deg, rgba(0, 240, 255, 0.05) 1px, transparent 1px),
      linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
      linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
    background-size: 100% 100%, 24px 24px, 24px 24px, 100% 100%;
  }

  .hero-screen__hud {
    inset: auto 0.85rem 1.1rem 0.85rem;
    gap: 0.5rem;
  }

  .hero-screen::after {
    inset: auto 0.85rem 0.35rem 0.85rem;
  }

  .hero-screen__tag {
    min-height: 1.75rem;
    padding: 0.25rem 0.72rem;
    font-size: 0.68rem;
  }

  .hero-screen__content {
    padding: 0.85rem 0.85rem 5.4rem;
  }

  .hero-screen__content > .console-dynamique,
  .hero-screen > .console-dynamique {
    width: 100%;
  }

  .hero-screen .console-dynamique-contenu {
    gap: 0.72rem;
    padding: 0.9rem 0.9rem 0.95rem;
    background:
      linear-gradient(180deg, rgba(5, 12, 24, 0.96), rgba(5, 12, 24, 0.84)),
      linear-gradient(135deg, rgba(0, 240, 255, 0.07), rgba(255, 0, 200, 0.08));
  }

  .hero-screen .console-titre {
    font-size: clamp(1.15rem, 6vw, 1.7rem);
  }

  .hero-screen .console-commande-zone {
    gap: 0.5rem;
    padding: 0.72rem 0.8rem;
  }

  .hero-screen .console-prefixe,
  .hero-screen .console-commande,
  .hero-screen .console-curseur {
    font-size: clamp(0.95rem, 4.8vw, 1.18rem);
  }

  .hero-screen .console-dynamique-meta {
    gap: 0.4rem;
  }

  .hero-screen .console-description,
  .hero-screen .sephylab-console-source {
    max-width: 100%;
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .hero-screen .sephylab-console-source-texte,
  .hero-screen .sephylab-console-source-lien-complet {
    display: none;
  }

  .hero-screen .sephylab-console-source-lien-mobile {
    display: inline;
  }
}
