/*
Theme Name: Twenty Twenty-Five Child
Template: twentytwentyfive
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 7.2
Version: 1.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/
/* ============================================================
   SpringBoot Generator — Global Styles
   styles.css
   ============================================================ */

/* ------------------------------------------------------------
   1. Fonts
   ------------------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ------------------------------------------------------------
   2. Reset
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ------------------------------------------------------------
   3. CSS Custom Properties — Light mode (default)
   ------------------------------------------------------------ */
:root {
  /* Brand */
  --brand:           #7C3AED;
  --brand-light:     #EDE9FE;
  --brand-mid:       #A78BFA;
  --brand-dark:      #5B21B6;

  /* Backgrounds */
  --bg:              #FAFAFA;
  --bg-card:         #FFFFFF;
  --bg-section:      #F5F3FF;
  --bg-readonly:     #F4F4F5;

  /* Text */
  --text-primary:    #18181B;
  --text-secondary:  #71717A;
  --text-brand:      #6D28D9;

  /* Borders */
  --border:          #E4E4E7;
  --border-brand:    #C4B5FD;

  /* Badges */
  --badge-bg:        #EDE9FE;
  --badge-text:      #5B21B6;

  /* Readonly fields */
  --readonly-text:   #A1A1AA;

  /* Stepper */
  --step-inactive:   #D4D4D8;

  /* Tags */
  --tag-bg:          #F5F3FF;
  --tag-border:      #C4B5FD;
  --tag-text:        #5B21B6;

  /* Primary key badge */
  --pk-bg:           #EDE9FE;
  --pk-text:         #5B21B6;

  /* Success */
  --success-bg:      #EAFAF1;
  --success-text:    #0F6E56;
  --success-border:  #5DCAA5;

  /* Error */
  --error-text:      #E11D48;
  --error-bg:        #FFF1F2;
  --error-border:    #FDA4AF;

  /* Typography */
  --font-base: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Radius */
  --radius-sm:   6px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: 0.15s ease;
	
  /* Logo */
  --logo: url('https://blog.springboot-generator.com/wp-content/uploads/2026/06/logo.png');
}

/* ------------------------------------------------------------
   4. CSS Custom Properties — Dark mode
   ------------------------------------------------------------ */
html.dark {
  /* Brand */
  --brand:           #A78BFA;
  --brand-light:     #2E1065;
  --brand-mid:       #7C3AED;
  --brand-dark:      #C4B5FD;

  /* Backgrounds */
  --bg:              #09090B;
  --bg-card:         #18181B;
  --bg-section:      #1C1027;
  --bg-readonly:     #27272A;

  /* Text */
  --text-primary:    #FAFAFA;
  --text-secondary:  #A1A1AA;
  --text-brand:      #C4B5FD;

  /* Borders */
  --border:          #3F3F46;
  --border-brand:    #5B21B6;

  /* Badges */
  --badge-bg:        #2E1065;
  --badge-text:      #C4B5FD;

  /* Readonly fields */
  --readonly-text:   #52525B;

  /* Stepper */
  --step-inactive:   #3F3F46;

  /* Tags */
  --tag-bg:          #1C1027;
  --tag-border:      #5B21B6;
  --tag-text:        #C4B5FD;

  /* Primary key badge */
  --pk-bg:           #2E1065;
  --pk-text:         #C4B5FD;

  /* Success */
  --success-bg:      #04342C;
  --success-text:    #9FE1CB;
  --success-border:  #0F6E56;

  /* Error */
  --error-text:      #FDA4AF;
  --error-bg:        #3B0764;
  --error-border:    #7C3AED;
	
  /* Logo */
  --logo: url('https://blog.springboot-generator.com/wp-content/uploads/2026/06/logo_light.png');
}

/* ------------------------------------------------------------
   5. Base — html & body
   ------------------------------------------------------------ */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition), color var(--transition);
}

/* ------------------------------------------------------------
   6. Typography
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-base);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: var(--text-primary);
}

h1 { font-size: 1.75rem; letter-spacing: -0.5px; }
h2 { font-size: 1.375rem; }
h3 { font-size: 1.125rem; }
h4 { font-size: 1rem; }

p {
  line-height: 1.6;
  color: var(--text-secondary);
}

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

a:hover { opacity: 0.8; }

code, pre {
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

code {
  background: var(--bg-readonly);
  color: var(--text-brand);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
}

/* ------------------------------------------------------------
   7. Form elements
   ------------------------------------------------------------ */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
textarea,
select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  font-size: 0.8125rem;
  font-family: var(--font-base);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-light);
}

input[type="text"]:disabled,
input[type="text"][readonly],
select:disabled {
  background: var(--bg-readonly);
  color: var(--readonly-text);
  cursor: not-allowed;
  border-color: var(--border);
}

input[type="checkbox"],
input[type="radio"] {
  width: 14px;
  height: 14px;
  accent-color: var(--brand);
  cursor: pointer;
}

/* ------------------------------------------------------------
   8. Buttons
   ------------------------------------------------------------ */
button {
  font-family: var(--font-base);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}

button:active { transform: scale(0.98); }

.btn-primary {
  background: var(--brand);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.2px;
}

.btn-primary:hover { background: var(--brand-dark); }

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 9px 18px;
  font-size: 0.8125rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn-ghost {
  background: none;
  border: none;
  color: var(--text-secondary);
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--bg-readonly);
}

.btn-ghost.danger:hover {
  color: var(--error-text);
  background: var(--error-bg);
}

.btn-dashed {
  background: var(--badge-bg);
  color: var(--text-brand);
  border: 1px dashed var(--border-brand);
  border-radius: var(--radius-md);
  padding: 7px 14px;
  font-size: 0.75rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-dashed:hover { background: var(--brand-light); }

/* ------------------------------------------------------------
   9. Badges & chips
   ------------------------------------------------------------ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.6875rem;
  font-weight: 600;
}

.badge-brand {
  background: var(--badge-bg);
  color: var(--badge-text);
  border: 1px solid var(--border-brand);
}

.badge-pk {
  background: var(--pk-bg);
  color: var(--pk-text);
}

.badge-success {
  background: var(--success-bg);
  color: var(--success-text);
  border: 1px solid var(--success-border);
}

.badge-error {
  background: var(--error-bg);
  color: var(--error-text);
  border: 1px solid var(--error-border);
}

.radio-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-readonly);
  transition: all var(--transition);
  user-select: none;
}

.radio-chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.radio-chip.selected {
  border-color: var(--brand);
  background: var(--badge-bg);
  color: var(--badge-text);
}

.radio-chip input { display: none; }

/* ------------------------------------------------------------
   10. Cards
   ------------------------------------------------------------ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
}

.card-section {
  background: var(--bg-section);
  border: 1px solid var(--border-brand);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
}

.card-accent {
  background: var(--bg-card);
  border: 1px solid var(--border-brand);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}

/* ------------------------------------------------------------
   11. Section titles
   ------------------------------------------------------------ */
.section-title {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-secondary);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

/* ------------------------------------------------------------
   12. Form layout helpers
   ------------------------------------------------------------ */
.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field label,
.field-label {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.required { color: var(--brand); }

.validation-msg {
  font-size: 0.6875rem;
  color: var(--error-text);
  display: none;
  margin-top: 2px;
}

.validation-msg.show { display: block; }

/* ------------------------------------------------------------
   13. Feedback banners
   ------------------------------------------------------------ */
.banner-success {
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--success-text);
  font-size: 0.8125rem;
  font-weight: 500;
}

.banner-error {
  background: var(--error-bg);
  border: 1px solid var(--error-border);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--error-text);
  font-size: 0.8125rem;
  font-weight: 500;
}

/* ------------------------------------------------------------
   14. Utility classes
   ------------------------------------------------------------ */
.text-primary   { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-brand     { color: var(--text-brand); }
.text-sm        { font-size: 0.8125rem; }
.text-xs        { font-size: 0.75rem; }
.text-xxs       { font-size: 0.6875rem; }
.font-medium    { font-weight: 500; }
.font-semibold  { font-weight: 600; }

.flex           { display: flex; }
.flex-col       { flex-direction: column; }
.items-center   { align-items: center; }
.items-end      { align-items: flex-end; }
.justify-between{ justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1          { gap: 4px; }
.gap-2          { gap: 8px; }
.gap-3          { gap: 12px; }
.gap-4          { gap: 16px; }

.w-full         { width: 100%; }
.mt-1           { margin-top: 4px; }
.mt-2           { margin-top: 8px; }
.mt-4           { margin-top: 16px; }
.mb-2           { margin-bottom: 8px; }
.mb-4           { margin-bottom: 16px; }

/* ------------------------------------------------------------
   15. Scrollbar (Webkit)
   ------------------------------------------------------------ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); }

/* ------------------------------------------------------------
   16. Accessibility
   ------------------------------------------------------------ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* ── Layout helpers ── */
    .container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
    .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
/* ════════════════════════════════
       HEADER
    ════════════════════════════════ */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: var(--bg-card);
      border-bottom: 1px solid var(--border);
      transition: background var(--transition);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 56px;
      gap: 24px;
    }

    /* Logo */
    .site-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      flex-shrink: 0;
    }

    .logo, .footer-logo-dark {
      width: 32px;
	  height: 32px;
      background-image: var(--logo);
	  background-repeat: no-repeat;
	  background-size: cover;
    }

    .logo-text {
      display: flex;
      flex-direction: column;
      line-height: 1.15;
    }

    .logo-text-main {
      font-size: 0.875rem;
      font-weight: 700;
      color: var(--text-primary);
      letter-spacing: -0.3px;
    }

    .logo-text-sub {
      font-size: 0.625rem;
      font-weight: 500;
      color: var(--text-secondary);
      text-transform: uppercase;
      letter-spacing: 0.6px;
    }

    /* Nav */
    .site-nav {
      display: flex;
      align-items: center;
      gap: 4px;
      flex: 1;
    }

    .nav-link {
      font-size: 0.8125rem;
      font-weight: 500;
      color: var(--text-secondary);
      padding: 6px 10px;
      border-radius: var(--radius-md);
      white-space: nowrap;
      transition: color var(--transition), background var(--transition);
    }

    .nav-link:hover,
    .nav-link.active {
      color: var(--text-primary);
      background: var(--bg-section);
    }

    .nav-link.active { color: var(--brand); }

    /* Header right */
    .header-right {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-shrink: 0;
    }

    .btn-generator {
      background: var(--brand);
      color: #fff;
      border: none;
      border-radius: var(--radius-md);
      padding: 7px 14px;
      font-size: 0.8125rem;
      font-weight: 600;
      font-family: var(--font-base);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      text-decoration: none;
      transition: background var(--transition);
    }

    .btn-generator:hover { background: var(--brand-dark); }

    .btn-theme {
      width: 32px;
      height: 32px;
      border: 1px solid var(--border);
      background: var(--bg-card);
      border-radius: var(--radius-md);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-secondary);
      font-size: 0.875rem;
      transition: border-color var(--transition), color var(--transition);
    }

    .btn-theme:hover { border-color: var(--brand); color: var(--brand); }

    /* Bouton menu — masqué tant que la navigation tient sur une ligne */
    .btn-burger {
      display: none;
      width: 32px;
      height: 32px;
      border: 1px solid var(--border);
      background: var(--bg-card);
      border-radius: var(--radius-md);
      cursor: pointer;
      align-items: center;
      justify-content: center;
      padding: 0;
      transition: border-color var(--transition);
    }

    .btn-burger:hover { border-color: var(--brand); }

    /* Trois barres : la barre centrale est l'élément, les deux autres
       ses pseudo-éléments. À l'ouverture, elles forment une croix. */
    .btn-burger__bars,
    .btn-burger__bars::before,
    .btn-burger__bars::after {
      display: block;
      width: 16px;
      height: 1.5px;
      border-radius: var(--radius-full);
      background: var(--text-secondary);
      transition: transform var(--transition), opacity var(--transition), background var(--transition);
    }

    .btn-burger__bars { position: relative; }

    .btn-burger__bars::before,
    .btn-burger__bars::after {
      content: '';
      position: absolute;
      left: 0;
    }

    .btn-burger__bars::before { top: -5px; }
    .btn-burger__bars::after  { top: 5px; }

    .btn-burger:hover .btn-burger__bars,
    .btn-burger:hover .btn-burger__bars::before,
    .btn-burger:hover .btn-burger__bars::after { background: var(--brand); }

    .btn-burger.is-open .btn-burger__bars { background: transparent; }
    .btn-burger.is-open .btn-burger__bars::before { top: 0; transform: rotate(45deg); }
    .btn-burger.is-open .btn-burger__bars::after  { top: 0; transform: rotate(-45deg); }

    /* ════════════════════════════════
       HERO — Featured article
    ════════════════════════════════ */
    .blog-hero {
      background: var(--bg-section);
      border-bottom: 1px solid var(--border-brand);
      padding: 52px 0;
    }

    .hero-inner {
      display: grid;
      grid-template-columns: 1fr 400px;
      gap: 48px;
      align-items: center;
    }

	.hero-content span.coming-badge {
	  font-size: inherit;
	}

    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.6875rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      color: var(--brand);
      background: var(--badge-bg);
      border: 1px solid var(--border-brand);
      padding: 3px 10px;
      border-radius: var(--radius-full);
      margin-bottom: 16px;
    }

    .hero-title {
      font-family: var(--font-serif);
      font-size: 2rem;
      font-weight: 400;
      color: var(--text-primary);
      line-height: 1.2;
      letter-spacing: -0.3px;
      margin-bottom: 14px;
    }

    .hero-title em {
      font-style: italic;
      color: var(--brand);
    }

    .hero-excerpt {
      font-size: 0.9375rem;
      color: var(--text-secondary);
      line-height: 1.65;
      margin-bottom: 24px;
      max-width: 520px;
    }

    .hero-meta {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 24px;
      flex-wrap: wrap;
    }

    .hero-meta-item {
      font-size: 0.75rem;
      color: var(--text-secondary);
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .hero-meta-dot {
      width: 3px;
      height: 3px;
      border-radius: 50%;
      background: var(--border);
    }

    .btn-read {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--brand);
      color: #fff;
      border-radius: var(--radius-md);
      padding: 10px 20px;
      font-size: 0.875rem;
      font-weight: 600;
      transition: background var(--transition);
    }

    .btn-read:hover { background: var(--brand-dark); }

    /* Hero image card */
    .hero-card {
      background: var(--bg-card);
      border: 1px solid var(--border-brand);
      border-radius: var(--radius-xl);
      padding: 28px;
      position: relative;
      overflow: hidden;
    }

    .hero-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
      background: var(--brand);
    }

    .hero-card-label {
      font-size: 0.625rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      color: var(--text-secondary);
      margin-bottom: 16px;
    }

    .hero-card-comparison {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .hc-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.8125rem;
    }

    .hc-label { color: var(--text-secondary); }

    .hc-val-bad {
      font-weight: 700;
      color: #E11D48;
      font-family: var(--font-mono);
      font-size: 0.75rem;
    }

    .hc-val-good {
      font-weight: 700;
      color: var(--success-text);
      font-family: var(--font-mono);
      font-size: 0.75rem;
    }

    .hc-bar-wrap {
      height: 5px;
      background: var(--bg-readonly);
      border-radius: var(--radius-full);
      overflow: hidden;
      margin-bottom: 4px;
    }

    .hc-bar { height: 100%; border-radius: var(--radius-full); }
    .hc-bar-bad  { background: #FDA4AF; width: 100%; }
    .hc-bar-good { background: var(--success-border); width: 3%; }

    .hero-card-divider {
      height: 1px;
      background: var(--border);
      margin: 8px 0;
    }

    .hero-card-verdict {
      font-size: 0.75rem;
      color: var(--text-secondary);
      line-height: 1.5;
      margin-top: 4px;
    }

    .hero-card-verdict strong {
      color: var(--text-brand);
      font-weight: 600;
    }

    /* ════════════════════════════════
       MAIN LAYOUT — articles + sidebar
    ════════════════════════════════ */
    .blog-main {
      padding: 56px 0 80px;
    }

    .blog-layout {
      display: grid;
      grid-template-columns: 1fr 280px;
      gap: 48px;
      align-items: start;
    }

    /* ── Section heading ── */
    .section-heading {
      font-size: 0.625rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      color: var(--text-secondary);
      padding-bottom: 12px;
      border-bottom: 1px solid var(--border);
      margin-bottom: 24px;
    }

    /* ════════════════════════════════
       ARTICLE CARDS
    ════════════════════════════════ */
    .articles-grid {
      display: flex;
      flex-direction: column;
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
    }

    .article-card {
      background: var(--bg-card);
      padding: 24px;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 16px;
      align-items: start;
      transition: background var(--transition);
      text-decoration: none;
      color: inherit;
    }

    .article-card:hover { background: var(--bg-section); }

    .article-card:hover .article-title {
      color: var(--brand);
    }

    .article-tags {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      margin-bottom: 8px;
    }

    .tag:not(.archive) {
      font-size: 0.625rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      background: var(--tag-bg);
      color: var(--tag-text);
      border: 1px solid var(--tag-border);
      padding: 2px 8px;
      border-radius: var(--radius-full);
    }

    .article-title {
      font-size: 1rem;
      font-weight: 600;
      color: var(--text-primary);
      line-height: 1.35;
      letter-spacing: -0.2px;
      margin-bottom: 6px;
      transition: color var(--transition);
    }

    .article-excerpt {
      font-size: 0.8125rem;
      color: var(--text-secondary);
      line-height: 1.6;
      margin-bottom: 12px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .article-meta {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.6875rem;
      color: var(--text-secondary);
    }

    .meta-dot {
      width: 3px;
      height: 3px;
      border-radius: 50%;
      background: var(--border);
      flex-shrink: 0;
    }

    .article-read-time {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    /* Right-side arrow */
    .article-arrow {
      width: 32px;
      height: 32px;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-secondary);
      flex-shrink: 0;
      margin-top: 4px;
      transition: border-color var(--transition), color var(--transition), background var(--transition);
    }

    .article-card:hover .article-arrow {
      border-color: var(--border-brand);
      color: var(--brand);
      background: var(--badge-bg);
    }

    /* Number badge */
    .article-number {
      font-size: 0.6875rem;
      font-weight: 700;
      color: var(--text-secondary);
      width: 20px;
      flex-shrink: 0;
      padding-top: 2px;
    }

    .article-body { flex: 1; min-width: 0; }

    .article-card-inner {
      display: flex;
      gap: 12px;
      width: 100%;
    }

    /* ── "Coming soon" card ── */
    .article-card.coming-soon {
      opacity: 0.5;
      pointer-events: none;
    }

    .coming-badge {
      font-size: 0.625rem;
      font-weight: 600;
      background: var(--bg-readonly);
      color: var(--text-secondary);
      border: 1px solid var(--border);
      padding: 2px 8px;
      border-radius: var(--radius-full);
    }

    /* ════════════════════════════════
       SIDEBAR
    ════════════════════════════════ */
    .sidebar { display: flex; flex-direction: column; gap: 24px; }

    .sidebar-widget {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 20px;
    }

    .widget-title {
      font-size: 0.625rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      color: var(--text-secondary);
      padding-bottom: 12px;
      border-bottom: 1px solid var(--border);
      margin-bottom: 16px;
    }

    /* CTA widget */
    .widget-cta {
      background: var(--bg-section);
      border: 1px solid var(--border-brand);
    }

    .widget-cta-icon {
      font-size: 1.5rem;
      margin-bottom: 10px;
    }

    .widget-cta-title {
      font-size: 0.9375rem;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 6px;
      letter-spacing: -0.2px;
    }

    .widget-cta-desc {
      font-size: 0.8125rem;
      color: var(--text-secondary);
      line-height: 1.55;
      margin-bottom: 16px;
    }

    .btn-cta-widget {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      background: var(--brand);
      color: #fff;
      border-radius: var(--radius-md);
      padding: 9px 16px;
      font-size: 0.8125rem;
      font-weight: 600;
      width: 100%;
      text-decoration: none;
      transition: background var(--transition);
    }

    .btn-cta-widget:hover { background: var(--brand-dark); }

    .widget-cta-note {
      font-size: 0.6875rem;
      color: var(--text-secondary);
      text-align: center;
      margin-top: 8px;
    }

    /* Landing pages widget */
    .widget-links { display: flex; flex-direction: column; gap: 4px; }

    .widget-link {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 8px 10px;
      border-radius: var(--radius-md);
      font-size: 0.8125rem;
      color: var(--text-secondary);
      transition: background var(--transition), color var(--transition);
      text-decoration: none;
    }

    .widget-link:hover {
      background: var(--bg-section);
      color: var(--brand);
    }

    .widget-link-icon {
      width: 20px;
      height: 20px;
      background: var(--badge-bg);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.6875rem;
      flex-shrink: 0;
    }

    .widget-link-text { flex: 1; margin: 0 8px; line-height: 1.3; }

    .widget-link-arrow {
      color: var(--border);
      font-size: 0.75rem;
      flex-shrink: 0;
    }

    .widget-link:hover .widget-link-arrow { color: var(--brand); }

    /* Compteur d'articles (widget Catégories) */
    .widget-link-count {
      font-size: 0.6875rem;
      font-weight: 600;
      color: var(--text-secondary);
      background: var(--bg-readonly);
      border-radius: var(--radius-full);
      padding: 1px 8px;
      flex-shrink: 0;
    }

    /* Terme de la page courante mis en avant */
    .widget-link.is-active {
      background: var(--bg-section);
      color: var(--brand);
      font-weight: 600;
    }

    .widget-link.is-active .widget-link-count {
      background: var(--badge-bg);
      color: var(--badge-text);
    }

    .topic-chip.is-active {
      border-color: var(--brand);
      background: var(--badge-bg);
      color: var(--badge-text);
      font-weight: 600;
    }

    /* Topics widget */
    .widget-topics { display: flex; flex-wrap: wrap; gap: 6px; }

    .topic-chip {
      font-size: 0.75rem;
      font-weight: 500;
      background: var(--bg-readonly);
      color: var(--text-secondary);
      border: 1px solid var(--border);
      padding: 5px 12px;
      border-radius: var(--radius-full);
      text-decoration: none;
      transition: border-color var(--transition), color var(--transition), background var(--transition);
    }

    .topic-chip:hover {
      border-color: var(--border-brand);
      color: var(--brand);
      background: var(--badge-bg);
    }

    /* Stats widget */
    .widget-stats { display: flex; gap: 16px; }

    .stat-item {
      flex: 1;
      text-align: center;
      padding: 12px;
      background: var(--bg-section);
      border-radius: var(--radius-md);
    }

    .stat-value {
      font-size: 1.125rem;
      font-weight: 700;
      color: var(--brand);
      display: block;
    }

    .stat-label {
      font-size: 0.6875rem;
      color: var(--text-secondary);
      margin-top: 2px;
      display: block;
    }

    /* ════════════════════════════════
       BANNER — site principal
    ════════════════════════════════ */
    .site-banner {
      background: var(--brand-dark);
      padding: 40px 0;
    }

    .banner-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 32px;
      flex-wrap: wrap;
    }

    .banner-text {}

    .banner-eyebrow {
      font-size: 0.6875rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      color: var(--brand-mid);
      margin-bottom: 6px;
    }

    .banner-title {
      font-size: 1.25rem;
      font-weight: 700;
      color: #ffffff;
      letter-spacing: -0.3px;
      margin-bottom: 4px;
    }

    .banner-desc {
      font-size: 0.875rem;
      color: rgba(255,255,255,0.65);
      line-height: 1.5;
    }

    .btn-banner {
      background: #ffffff;
      color: var(--brand-dark);
      border-radius: var(--radius-md);
      padding: 11px 22px;
      font-size: 0.875rem;
      font-weight: 700;
      white-space: nowrap;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
      transition: opacity var(--transition);
      flex-shrink: 0;
    }

    .btn-banner:hover { opacity: 0.92; }

    /* ════════════════════════════════
       FOOTER
    ════════════════════════════════ */
    .site-footer {
      border-top: 1px solid var(--border);
      padding: 32px 0;
    }

    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      flex-wrap: wrap;
    }

    .footer-logo {
      display: flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
    }

    .footer-logo-text {
      font-size: 0.8125rem;
      font-weight: 600;
      color: var(--text-primary);
    }

    .footer-links {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
    }

    .footer-link {
      font-size: 0.8125rem;
      color: var(--text-secondary);
      text-decoration: none;
      transition: color var(--transition);
    }

    .footer-link:hover { color: var(--brand); }

    .footer-copy {
      font-size: 0.75rem;
      color: var(--text-secondary);
    }

    /* ── Bas de pied de page : copyright + documents officiels ── */
    .footer-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
      margin-top: 20px;
      padding-top: 20px;
      border-top: 1px solid var(--border);
    }

    .footer-legal {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 10px;
    }

    .footer-legal__sep {
      color: var(--text-secondary);
      opacity: 0.45;
      font-size: 0.75rem;
      line-height: 1;
    }

    .footer-link--legal { font-size: 0.75rem; }

    /* ════════════════════════════════
       RESPONSIVE
    ════════════════════════════════ */
    @media (max-width: 860px) {
      .blog-layout { grid-template-columns: 1fr; }
      .sidebar { display: none; } /* collapse sidebar on mobile — implement as drawer in WP theme */
      .hero-inner { grid-template-columns: 1fr; }
      .hero-card { display: none; }
      .hero-title { font-size: 1.625rem; }
    }

    /* ── Navigation en menu déroulant ──
       Sous ce seuil, les liens ne tiennent plus sur une ligne : ils passent
       dans un panneau ouvert par le bouton menu (assets/js/header.js).
       Garder ce seuil aligné sur SBG_NAV_BREAKPOINT (inc/header-parts.php). */
    @media (max-width: 860px) {
      .btn-burger { display: inline-flex; }

      .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 8px 24px 16px;
        background: var(--bg-card);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
      }

      .site-nav.is-open { display: flex; }

      .nav-link {
        padding: 10px 12px;
        font-size: 0.875rem;
      }
    }

    html.dark .site-nav { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4); }

    @media (max-width: 600px) {
      .header-inner { height: 52px; }
      .logo-text-sub { display: none; }
      .btn-generator span:not([aria-hidden]) { display: none; }
      .btn-generator { padding: 7px 10px; }
      .banner-inner { flex-direction: column; align-items: flex-start; }
      .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
      .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
    }
