/* ============================================================
   ARTICLES : styles du gabarit includes/card/article-template.php
   Chargé dans le <head> sur les pages d'article et la liste du blog
   (avant le 09/10/2026, ce bloc était un <style> en fin de page :
   48 à 175 erreurs W3C par page et la mise en page sautait au
   chargement, CLS jusqu'à 0,45).
   ============================================================ */

/* === GARDE-FOU OVERFLOW article-main ============================
   Diagnostic : .article-main est en flex (flex:1 + min-width:0) à
   côté d'une éventuelle sidebar. Sans contrainte stricte sur ses
   enfants, une URL longue, une <table> hors .table-wrap, un <pre>
   ou une <figure> peut pousser la colonne et créer un dépassement.
   On verrouille tout ce qui peut déborder, dans l'ordre causal. */
.article-main { min-width: 0; overflow-wrap: anywhere; }

.article-body,
.article-body p,
.article-body li,
.article-body blockquote,
.article-body figcaption {
  overflow-wrap: anywhere;
  word-break: normal;
}

.article-body figure,
.article-body img,
.article-body video,
.article-body iframe,
.article-body table,
.article-body pre {
  max-width: 100%;
  box-sizing: border-box;
}

.article-body figure { margin-inline: 0; }
.article-body img    { display: block; height: auto; }
.article-body pre    { white-space: pre-wrap; word-wrap: break-word; }
.article-body table:not(.compare-table) { display: block; overflow-x: auto; }

/* === HERO ARTICLE — aligné sur le système page-hero ============ */
.article-hero {
  padding: 4.8rem 0 5.6rem;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(197,160,90,0.08), transparent 60%),
    radial-gradient(circle at 0% 100%, rgba(23,59,107,0.04), transparent 55%);
  pointer-events: none;
}

.article-hero__layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5.6rem;
  align-items: center;
}

.article-hero__title {
  font-size: clamp(2.8rem, 4vw, 4.4rem);
  font-weight: 500;
  color: var(--color-heading);
  margin: 1rem 0 2rem;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 1.4rem;
  color: var(--color-muted);
}

.article-hero__meta [aria-hidden] { color: var(--color-accent); }

.article-hero__image {
  aspect-ratio: 4 / 3;
  max-height: 38rem;
  border-radius: 0.6rem;
  overflow: hidden;
}

@media (max-width: 900px) {
  .article-hero { padding: 3.6rem 0 4rem; }
  .article-hero__layout {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }
  .article-hero__image {
    order: 2;
    justify-self: center;
    width: 100%;
    max-width: 50rem;
    aspect-ratio: 16 / 10;
  }
}

/* === STYLES ARTICLE === */
.article-body h2 {
  font-size: 3rem;
  font-weight: 500;
  color: var(--color-heading-soft);
  margin-top: 4rem;
  margin-bottom: 1.6rem;
  line-height: 1.2;
}

.article-body h3 {
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--color-heading-soft);
  margin-top: 3rem;
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

.article-body p {
  margin-bottom: 2rem;
  color: var(--color-text);
}

.article-body ul,
.article-body ol {
  margin-bottom: 2rem;
  padding-left: 2.4rem;
  color: var(--color-text);
}

.article-body li {
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

.article-body ul li {
  list-style-type: disc;
}

.article-body ol li {
  list-style-type: decimal;
}

.article-body strong {
  font-weight: 700;
  color: var(--color-text);
}

.article-body a {
  color: var(--color-link);
  text-decoration: underline;
  text-decoration-color: var(--color-accent-soft);
  text-underline-offset: 0.3em;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.article-body a:hover {
  color: var(--color-heading-soft);
  text-decoration-color: var(--color-accent);
}

.article-body blockquote {
  border-left: 3px solid var(--color-accent);
  padding: 1.2rem 2rem;
  margin: 2.4rem 0;
  font-style: italic;
  color: var(--color-muted);
}

.article-body code {
  background: var(--color-secondary-light);
  padding: 0.2rem 0.6rem;
  border-radius: 0.3rem;
  font-family: 'Courier New', monospace;
  font-size: 1.5rem;
  color: var(--color-text);
}

.article-body pre {
  background: var(--color-secondary-light);
  padding: 2rem;
  border-radius: 0.6rem;
  overflow-x: auto;
  margin-bottom: 2rem;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 0.6rem;
  margin: 2.4rem 0;
}

/* === MISE EN PAGE ARTICLE + COLONNE ============================ */
.article-container { max-width: 120rem; }
.article-layout {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}
.article-main { flex: 1; }
.article-body { line-height: 1.7; }
.article-sidebar {
  flex: 0 0 28rem;
  position: sticky;
  top: 12rem;
}

/* Lignes de 45 à 75 caractères pour le texte courant (C2-06) ;
   tableaux, figures et encarts gardent la pleine largeur */
.article-body > p,
.article-body > ul,
.article-body > ol,
.article-body > blockquote,
.article-body section > p,
.article-body section > ul,
.article-body section > ol {
  max-width: 64rem;
}

/* Signature de l'auteur dans le hero */
.article-hero__author a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--color-accent-soft);
  text-underline-offset: 0.3em;
}

/* Encart d'offre après l'intro (rubrique « Créer son site » et articles RGAA) */
.article-encart {
  margin: 2.4rem 0 3.2rem;
  padding: 1.6rem 2rem;
  border-left: 3px solid var(--color-accent);
  border-radius: 0.4rem;
  background: rgba(197, 160, 90, 0.08);
  max-width: 64rem;
}
.article-encart p,
.toc-offre p {
  margin: 0 0 0.6rem;
}
.article-encart p:last-child,
.toc-offre p:last-child {
  margin-bottom: 0;
}
.article-encart__titre {
  font-family: var(--font-family-serif);
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--color-heading);
}

/* Sommaire repliable (<details>, replié par le script sur mobile) */
.toc-container {
  background: var(--color-secondary-light);
  padding: 2rem 2.4rem;
  border-radius: 0.4rem;
}
.toc-title {
  font-family: var(--font-family-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--color-heading);
  cursor: pointer;
}
.toc-nav {
  margin-top: 1.2rem;
  font-size: 1.4rem;
}
.toc-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Rappel de l'offre sous le sommaire (desktop ; sur mobile, l'encart du texte suffit) */
.toc-offre {
  margin-top: 2rem;
  padding: 1.6rem;
  border: 1px solid var(--color-accent-soft);
  border-radius: 0.4rem;
  font-size: 1.4rem;
  line-height: 1.5;
}
.toc-offre .article-encart__titre { font-size: 1.7rem; }

/* Table des matières */
.toc-nav a {
  display: block;
  padding: 0.8rem 0;
  color: var(--color-text);
  text-decoration: none;
  border-left: 2px solid transparent;
  padding-left: 1.2rem;
  transition: all 0.3s;
}

.toc-nav a:hover {
  color: var(--color-heading-soft);
  border-left-color: var(--color-primary);
  padding-left: 1.6rem;
}

.toc-nav a.active {
  color: var(--color-heading-soft);
  font-weight: 600;
  border-left-color: var(--color-primary);
}

/* Responsive */
@media (max-width: 1024px) {
  .article-layout {
    flex-direction: column; /* TOC en haut sur mobile */
  }
  
  .article-sidebar {
    position: static;
    flex: 1;
    width: 100%;
    max-width: 100%;
    order: -1; /* Force en premier (avant le contenu) */
  }

  /* La colonne passe au-dessus : sans ça, .article-main se cale sur la largeur de son
     contenu et un tableau peut élargir toute la page (débordement à 320 px, A9-V02) */
  .article-main { align-self: stretch; }

  .toc-container {
    margin-bottom: 2rem;
  }

  .toc-offre { display: none; }
}

/* === ARTICLES SIMILAIRES === */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
}

.related-articles__title {
  font-family: var(--font-family-serif);
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--color-heading);
  margin: 0 0 3.2rem;
}

.related-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: 0.4rem;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
}

.related-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.related-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.related-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.related-card:hover .related-card-image img {
  transform: scale(1.05);
}

.related-card-content {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.related-card-title {
  font-family: var(--font-family-serif);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--color-heading-soft);
  line-height: 1.4;
  margin: 0;
  /* Limiter à 2 lignes */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card-cta {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-link);
  transition: color 0.2s;
}

.related-card:hover .related-card-cta {
  color: var(--color-accent);
}

@media (max-width: 900px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .related-card {
    flex-direction: row;
    align-items: center;
  }
  
  .related-card-image {
    flex: 0 0 10rem;
    aspect-ratio: 1;
  }
  
  .related-card-content {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .article-body h2 {
    font-size: 2.4rem;
    margin-top: 3rem;
  }
  
  .article-body h3 {
    font-size: 2rem;
    margin-top: 2.4rem;
  }
  
  .article-hero h1 {
    font-size: 3rem !important;
  }
  
  .article-body {
    font-size: 1.6rem !important;
  }
}

/* ========================================
   COMPOSANTS ARTICLE
   ======================================== */

/* Intro */
.article-body p.intro {
  font-size: 1.9rem;
  line-height: 1.7;
  color: var(--color-text);
  border-left: 3px solid var(--color-accent);
  padding-left: 1.8rem;
  margin-bottom: 3.2rem;
}

/* Tableau comparatif */
.article-body .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2.4rem 0;
  border: 1px solid var(--color-border);
  border-radius: 0.6rem;
}
.article-body .compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.5rem;
}
.article-body .compare-table th {
  background: var(--color-secondary-light);
  color: var(--color-text);
  font-weight: 600;
  padding: 1.2rem 1.6rem;
  text-align: left;
  border-bottom: 2px solid var(--color-border);
}
.article-body .compare-table th,
.article-body .compare-table td {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
}
.article-body .compare-table td {
  padding: 1rem 1.6rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  vertical-align: top;
}
.article-body .compare-table tbody tr:last-child td {
  border-bottom: none;
}

/* Checklist */
.article-body ul.checklist {
  list-style: none;
  padding: 0;
}
.article-body ul.checklist li {
  list-style-type: none;
  padding: 0.5rem 0 0.5rem 2.4rem;
  position: relative;
}
.article-body ul.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.5rem;
  color: var(--color-accent-text);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.7;
}

/* Encadrés conseil / attention */
.article-body aside.conseil,
.article-body aside.attention {
  padding: 1.2rem 1.6rem;
  margin: 2.4rem 0;
}
.article-body aside.conseil {
  border-left: 3px solid var(--color-accent);
  background: rgba(197, 160, 90, 0.06);
}
.article-body aside.attention {
  border-left: 3px solid var(--color-accent-rare);
  background: rgba(123, 47, 68, 0.05);
}
.article-body aside.conseil p,
.article-body aside.attention p {
  margin: 0;
  font-size: 1.6rem;
  color: var(--color-text);
}

/* Figure / figcaption */
.article-body figure {
  margin: 2.4rem 0;
}
.article-body figcaption {
  font-size: 1.3rem;
  color: var(--color-muted);
  font-style: italic;
  margin-top: 0.8rem;
}

/* Sources */
.article-body .sources-section {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}
.article-body .sources-section::before {
  content: "Sources";
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-bottom: 1rem;
}
.article-body .sources-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.article-body .sources-list li {
  font-size: 1.35rem;
  color: var(--color-muted);
  margin-bottom: 0.6rem;
}
.article-body .sources-list a {
  color: var(--color-link);
  font-size: 1.35rem;
}

/* (Styles CTA offres dans section-cta-offres.php) */


/* ============================================================
   Bloc CTA RGAA de fin d'article (ex-<style> de includes/card/section-cta-rgaa.php)
   ============================================================ */
.cta-rgaa {
  position: relative;
  background: var(--color-primary-dark);
  color: #f7f2e5;
  padding: 7.2rem 2.4rem;
  overflow: hidden;
  isolation: isolate;
}
.cta-rgaa::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(197, 160, 90, 0.05) 1px, transparent 1px);
  background-size: 3.2rem 3.2rem;
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}
.cta-rgaa__inner {
  max-width: 92rem;
  margin-inline: auto;
  text-align: center;
}
.cta-rgaa__eyebrow {
  display: inline-block;
  font-family: var(--font-family-base);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-accent);
  margin-bottom: 1.6rem;
}
.cta-rgaa__title {
  font-family: var(--font-family-serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 4vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1.6rem;
  color: #f7f2e5;
}
.cta-rgaa__accent {
  color: var(--color-accent);
  font-style: italic;
}
.cta-rgaa__lead {
  font-size: 1.6rem;
  line-height: 1.6;
  color: rgba(247, 242, 229, 0.82);
  max-width: 66rem;
  margin: 0 auto 4rem;
}
.cta-rgaa__lead strong {
  color: #fff;
  font-weight: 600;
}
.cta-rgaa__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3.2rem;
  text-align: left;
}
.cta-rgaa__card {
  display: flex;
  flex-direction: column;
  background: rgba(247, 242, 229, 0.04);
  border: 1px solid rgba(197, 160, 90, 0.28);
  border-radius: 0.4rem;
  padding: 3.2rem 2.8rem;
}
.cta-rgaa__card-title {
  font-family: var(--font-family-serif);
  font-weight: 500;
  font-size: 2.2rem;
  margin: 0 0 0.4rem;
  color: #f7f2e5;
}
.cta-rgaa__price {
  font-family: var(--font-family-serif);
  font-size: 1.8rem;
  color: var(--color-accent);
  margin: 0 0 1.6rem;
}
.cta-rgaa__desc {
  flex: 1;
  font-size: 1.45rem;
  line-height: 1.6;
  color: rgba(247, 242, 229, 0.8);
  margin: 0 0 2.4rem;
}
.cta-rgaa__btn {
  align-self: flex-start;
}
.cta-rgaa__foot {
  font-size: 1.4rem;
  color: rgba(247, 242, 229, 0.78);
}
.cta-rgaa__foot a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta-rgaa__foot a:hover {
  color: #fff;
}
@media (max-width: 700px) {
  .cta-rgaa { padding: 5.6rem 2rem; }
  .cta-rgaa__grid { grid-template-columns: 1fr; }
}


/* ============================================================
   Liste du blog /article (ex-<style> de pages/article.php)
   ============================================================ */
.articles-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.2rem;
}

@media (max-width: 1000px) {
  .articles-grid-v2 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .articles-grid-v2 { grid-template-columns: 1fr; }
}

.article-card-v2 {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 0.4rem;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.article-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-soft);
}

.article-card-v2__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: var(--color-text);
}

.article-card-v2__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-bg-alt);
  margin: 0;
  border-radius: 0;
}

.article-card-v2__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card-v2:hover .article-card-v2__image img { transform: scale(1.04); }

.article-card-v2__body {
  padding: 2rem 2.2rem 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}

.article-card-v2__category {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-text);
}

.article-card-v2__title {
  font-family: var(--font-family-serif);
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--color-heading);
  margin: 0;
  line-height: 1.25;
}

.article-card-v2__excerpt {
  font-size: 1.35rem;
  color: var(--color-text-soft);
  line-height: 1.55;
  margin: 0;
}

.article-card-v2__meta {
  display: flex;
  gap: 1.2rem;
  font-size: 1.2rem;
  color: var(--color-muted);
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--color-border);
}

.article-card-v2__meta span + span::before {
  content: '·';
  margin-right: 1.2rem;
  color: var(--color-accent);
}


/* ============================================================
   Navigation entre les rubriques du blog (/article, /article/<rubrique>)
   ============================================================ */
.blog-rubriques {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.4rem;
}

.blog-rubriques a {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--color-border);
  border-radius: 0.4rem;
  font-size: 1.5rem;
  color: var(--color-heading-soft);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.blog-rubriques a:hover { border-color: var(--color-accent); }

.blog-rubriques a[aria-current="page"] {
  border-color: var(--color-accent);
  background: rgba(197, 160, 90, 0.1);
  font-weight: 600;
}

/* ============================================================
   Article cout-creation-site-web-artisan-2026 (ex-<style> de l'article)
   ============================================================ */
/* === TABLEAU DES PRIX === */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-bg);
  font-size: 1.4rem;
}

.price-table thead {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.price-table th {
  color: var(--color-bg);
  font-weight: 600;
  padding: 1.6rem;
  text-align: center;
  border: 1px solid var(--color-border);
}

.price-table th:first-child {
  text-align: left;
}

.price-table td {
  padding: 1.6rem;
  border: 1px solid var(--color-border);
  vertical-align: middle;
  text-align: center;
}

.price-table td:first-child {
  text-align: left;
  background-color: var(--color-secondary-light);
}

.price-table tbody tr {
  transition: background-color 0.2s ease;
}

.price-table tbody tr:hover {
  background-color: rgba(42, 95, 161, 0.05);
}

.table-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-light);
  display: block;
  margin-top: 0.4rem;
}

.table-note {
  font-size: 1.1rem;
  color: var(--color-text-light);
  display: block;
  margin-top: 0.4rem;
}

/* Badges de prix */
.badge-price {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 1.3rem;
}

.badge-low { background-color: rgba(40, 167, 69, 0.15); color: #28a745; }
.badge-medium { background-color: rgba(255, 193, 7, 0.2); color: #d39e00; }
.badge-high { background-color: rgba(220, 53, 69, 0.12); color: #dc3545; }

/* Sources */
/* Responsive tableau */
@media (max-width: 768px) {
  .price-table thead { display: none; }

  .price-table, .price-table tbody, .price-table tr, .price-table td {
    display: block;
    width: 100%;
  }

  .price-table tr {
    margin-bottom: 2rem;
    border: 2px solid var(--color-primary);
    border-radius: 1.2rem;
    overflow: hidden;
  }

  .price-table td {
    border: none;
    border-bottom: 1px solid var(--color-border);
    padding: 1.2rem 1.6rem;
    text-align: left;
  }

  .price-table td:first-child {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-bg);
  }

  .price-table td:first-child .table-subtitle { color: rgba(255,255,255,0.8); }

  .price-table td:not(:first-child)::before {
    content: attr(data-label) " : ";
    font-weight: 600;
    color: var(--color-heading-soft);
  }

  .price-table td:last-child { border-bottom: none; }
}

/* ============================================================
   Article creer-profil-google-business-artisan (ex-<style> de l'article)
   ============================================================ */
.gbp-create-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-bg);
}

.gbp-create-table thead {
  background-color: var(--color-primary);
}

.gbp-create-table th {
  color: var(--color-bg);
  font-weight: 600;
  padding: 1.6rem;
  text-align: left;
  border: 1px solid var(--color-border);
}

.gbp-create-table td {
  border: 1px solid var(--color-border);
  padding: 1.6rem;
  vertical-align: middle;
}

.gbp-create-table tbody tr:nth-child(even) {
  background-color: var(--color-secondary-light);
}

.gbp-create-table tbody tr:hover {
  background-color: rgba(42, 95, 161, 0.1);
}

@media (max-width: 768px) {
  .gbp-create-table thead { display: none; }
  .gbp-create-table, .gbp-create-table tbody, .gbp-create-table tr, .gbp-create-table td {
    display: block;
    width: 100%;
  }
  .gbp-create-table tr {
    margin-bottom: 2rem;
    border: 2px solid var(--color-primary);
    border-radius: 0.8rem;
    overflow: hidden;
  }
  .gbp-create-table td {
    border: none;
    border-bottom: 1px solid var(--color-border);
  }
  .gbp-create-table td:last-child { border-bottom: none; }
  .gbp-create-table td:first-child {
    background-color: var(--color-primary);
    color: var(--color-bg);
  }
}
