/*
Theme Name:   GeneratePress Child
Theme URI:    https://swebdev.fr
Description:  Thème enfant GeneratePress — swebdev magazine tech/digital/web
Author:       swebdev
Template:     generatepress
Version:      2.0.0
Text Domain:  generatepress-child
*/

/* =====================================================================
   DESIGN SYSTEM — variables + typographie + reset
   ===================================================================== */
:root {
  /* Palette swebdev — tech/SaaS clair */
  --sw-indigo:     #4F46E5;
  --sw-violet:     #7C3AED;
  --sw-grad:       linear-gradient(135deg, #4F46E5, #7C3AED);
  --sw-ink:        #0F172A;
  --sw-text:       #334155;
  --sw-text-soft:  #64748B;
  --sw-bg:         #FFFFFF;
  --sw-bg-soft:    #F8FAFC;
  --sw-bg-indigo:  #EEF2FF;
  --sw-border:     #E5E7EB;

  /* Pastels catégories */
  --sw-blue:   #BFDBFE;
  --sw-purple: #D8B4FE;
  --sw-green:  #BBF7D0;
  --sw-pink:   #FBCFE8;
  --sw-amber:  #FDE68A;

  /* Structure */
  --sw-maxw:       1200px;
  --sw-radius:     14px;
  --sw-header-h:   64px;

  /* Ombres */
  --sw-shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --sw-shadow-md:  0 4px 12px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
  --sw-shadow-lg:  0 10px 30px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);
}

/* =====================================================================
   TYPOGRAPHIE — Google Fonts chargées via functions.php
   ===================================================================== */
body,
.generate-columns-container,
.site-content {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
  color: var(--sw-text) !important;
  background: var(--sw-bg) !important;
}

h1, h2, h3, h4, h5, h6,
.sw-site-header .sw-logo-text,
.sw-section-title,
.sw-hero-title {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif !important;
  font-weight: 700 !important;
  color: var(--sw-ink) !important;
  line-height: 1.25 !important;
}

/* =====================================================================
   RESET GENERATEPRESS — éliminer chrome superflu
   ===================================================================== */
.site-header,
#masthead,
.main-navigation,
.site-footer,
#colophon,
#generate-footer {
  display: none !important;
}

.site-main,
#primary,
.content-area {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}

.site,
#page {
  overflow: hidden !important;
}

/* Décaler le contenu du header sticky */
body.sw-theme {
  padding-top: var(--sw-header-h) !important;
  margin: 0 !important;
}
body.admin-bar.sw-theme {
  padding-top: calc(var(--sw-header-h) + 32px) !important;
}
@media (max-width: 782px) {
  body.admin-bar.sw-theme { padding-top: calc(var(--sw-header-h) + 46px) !important; }
}

/* =====================================================================
   UTILITAIRES
   ===================================================================== */
.sw-container {
  max-width: var(--sw-maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.sw-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  transition: opacity .18s, transform .18s;
  border: none;
}
.sw-btn:hover { opacity: .88; transform: translateY(-1px); }
.sw-btn-primary {
  background: var(--sw-grad);
  color: #fff !important;
}
.sw-btn-outline {
  background: transparent;
  border: 2px solid var(--sw-indigo);
  color: var(--sw-indigo) !important;
}

/* =====================================================================
   HEADER — sw-site-header sticky
   ===================================================================== */
.sw-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--sw-header-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sw-border);
  box-shadow: var(--sw-shadow-sm);
}
.admin-bar .sw-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .sw-site-header { top: 46px; } }

.sw-header-inner {
  max-width: var(--sw-maxw);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Logo */
.sw-logo {
  text-decoration: none !important;
  flex-shrink: 0;
}
.sw-logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--sw-ink) !important;
  letter-spacing: -0.5px;
}
.sw-logo-accent {
  background: var(--sw-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav principale */
.sw-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.sw-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--sw-text) !important;
  text-decoration: none !important;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.sw-nav-link:hover,
.sw-nav-link.is-active {
  background: var(--sw-bg-indigo);
  color: var(--sw-indigo) !important;
}

/* Actions droite */
.sw-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.sw-discover-btn {
  background: var(--sw-grad);
  color: #fff !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: opacity .15s;
}
.sw-discover-btn:hover { opacity: .88; }

.sw-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--sw-text);
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.sw-search-btn:hover { background: var(--sw-bg-soft); color: var(--sw-indigo); }
.sw-search-btn svg { flex-shrink: 0; }

.sw-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: background .15s;
  flex-shrink: 0;
}
.sw-burger:hover { background: var(--sw-bg-soft); }
.sw-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--sw-ink);
  border-radius: 2px;
  transition: transform .22s, opacity .22s;
}
.sw-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sw-burger.open span:nth-child(2) { opacity: 0; }
.sw-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search overlay */
.sw-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.7);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.sw-search-overlay.open { display: flex; }
.sw-search-form {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 560px;
  box-shadow: var(--sw-shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sw-search-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--sw-border);
  border-radius: 10px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color .15s;
  box-sizing: border-box;
}
.sw-search-input:focus { border-color: var(--sw-indigo); }
.sw-search-submit {
  background: var(--sw-grad);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s;
}
.sw-search-submit:hover { opacity: .88; }
.sw-search-close {
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 28px;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 24px;
}

/* Mobile nav dropdown */
.sw-mobile-nav {
  position: fixed;
  top: var(--sw-header-h);
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--sw-border);
  box-shadow: var(--sw-shadow-md);
  z-index: 999;
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}
.admin-bar .sw-mobile-nav { top: calc(var(--sw-header-h) + 32px); }
@media (max-width: 782px) {
  .admin-bar .sw-mobile-nav { top: calc(var(--sw-header-h) + 46px); }
}
.sw-mobile-nav.open { max-height: 400px; }
.sw-mobile-nav-inner {
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sw-mobile-nav a {
  display: block;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--sw-text) !important;
  text-decoration: none !important;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.sw-mobile-nav a:hover,
.sw-mobile-nav a.is-active {
  background: var(--sw-bg-indigo);
  color: var(--sw-indigo) !important;
}
.sw-mobile-nav .sw-mobile-discover {
  margin-top: 12px;
  text-align: center;
  background: var(--sw-grad) !important;
  color: #fff !important;
  font-weight: 600;
  border-radius: 8px;
}

/* =====================================================================
   RESPONSIVE HEADER
   ===================================================================== */
@media (max-width: 900px) {
  .sw-nav { display: none; }
  .sw-discover-btn { display: none; }
  .sw-burger { display: flex; }
  .sw-header-inner { gap: 0; }
  .sw-logo { max-width: calc(100% - 90px); }
  .sw-header-actions { margin-left: auto; }
}

/* =====================================================================
   HERO PRINCIPAL — 2 colonnes clair
   ===================================================================== */
.sw-hero {
  background: var(--sw-bg-indigo);
  padding: 72px 0 64px;
}
.sw-hero-inner {
  max-width: var(--sw-maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.sw-hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sw-indigo);
  background: rgba(79,70,229,.10);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.sw-hero-title {
  font-size: clamp(28px, 4vw, 44px) !important;
  font-weight: 800 !important;
  color: var(--sw-ink) !important;
  margin: 0 0 20px !important;
  line-height: 1.18 !important;
}
.sw-hero-title a {
  color: inherit !important;
  text-decoration: none !important;
}
.sw-hero-excerpt {
  font-size: 17px;
  color: var(--sw-text);
  line-height: 1.65;
  margin: 0 0 32px;
}
.sw-hero-image-col {
  position: relative;
}
.sw-hero-img-wrap {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--sw-shadow-lg);
  overflow: hidden;
}
.sw-hero-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

@media (max-width: 860px) {
  .sw-hero-inner { grid-template-columns: 1fr; }
  .sw-hero-image-col { display: none; }
  .sw-hero { padding: 48px 0 40px; }
}

/* =====================================================================
   SECTION GÉNÉRIQUE
   ===================================================================== */
.sw-section {
  padding: 64px 0;
}
.sw-section.bg-soft { background: var(--sw-bg-soft); }
.sw-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}
.sw-section-title {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: var(--sw-ink) !important;
  margin: 0 !important;
  position: relative;
  padding-left: 18px;
}
.sw-section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 22px;
  background: var(--sw-grad);
  border-radius: 2px;
}
.sw-see-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--sw-indigo) !important;
  text-decoration: none !important;
  padding: 6px 14px;
  border: 1.5px solid var(--sw-border);
  border-radius: 20px;
  transition: background .15s, border-color .15s;
  white-space: nowrap;
}
.sw-see-all:hover {
  background: var(--sw-bg-indigo);
  border-color: var(--sw-indigo);
}

/* =====================================================================
   SECTION "À LA UNE" — grille 4 cards
   ===================================================================== */
.sw-featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) { .sw-featured-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .sw-featured-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   CARD article générique
   ===================================================================== */
.sw-card {
  background: #fff;
  border-radius: var(--sw-radius);
  overflow: hidden;
  box-shadow: var(--sw-shadow-sm);
  border: 1px solid var(--sw-border);
  transition: transform .18s, box-shadow .18s;
  display: flex;
  flex-direction: column;
}
.sw-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sw-shadow-md);
}
.sw-card-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: var(--sw-grad);
}
.sw-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.sw-card:hover .sw-card-thumb img { transform: scale(1.04); }
.sw-card-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.sw-card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-decoration: none !important;
  color: var(--sw-ink) !important;
}
.sw-card-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--sw-ink) !important;
  margin: 0 0 10px !important;
  line-height: 1.38 !important;
}
.sw-card-title a {
  color: inherit !important;
  text-decoration: none !important;
}
.sw-card-title a:hover { color: var(--sw-indigo) !important; }
.sw-card-date {
  font-size: 12px;
  color: var(--sw-text-soft);
  margin-top: auto;
}

/* Pastels badges par catégorie */
.sw-badge-web       { background: var(--sw-blue); }
.sw-badge-developpement { background: var(--sw-purple); }
.sw-badge-business  { background: var(--sw-green); }
.sw-badge-marketing { background: var(--sw-pink); }
.sw-badge-default   { background: var(--sw-amber); }

/* =====================================================================
   SECTION "EXPLORER PAR THÉMATIQUE"
   ===================================================================== */
.sw-themes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px)  { .sw-themes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .sw-themes-grid { grid-template-columns: 1fr 1fr; } }

.sw-theme-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px;
  background: #fff;
  border-radius: var(--sw-radius);
  border: 1.5px solid var(--sw-border);
  text-decoration: none !important;
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.sw-theme-tile:hover {
  transform: translateY(-3px);
  border-color: var(--sw-indigo);
  box-shadow: var(--sw-shadow-md);
}
.sw-theme-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sw-theme-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--sw-ink) !important;
  text-align: center;
}
.sw-theme-count {
  font-size: 13px;
  color: var(--sw-text-soft);
}

/* =====================================================================
   SECTION "GUIDES PRATIQUES"
   ===================================================================== */
.sw-guides-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 860px) { .sw-guides-inner { grid-template-columns: 1fr; } }

.sw-guide-featured {
  background: #fff;
  border-radius: var(--sw-radius);
  overflow: hidden;
  box-shadow: var(--sw-shadow-md);
  border: 1px solid var(--sw-border);
}
.sw-guide-featured-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--sw-grad);
  position: relative;
}
.sw-guide-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sw-guide-featured-body {
  padding: 24px;
}
.sw-guide-featured-body .sw-card-badge { margin-bottom: 12px; }
.sw-guide-featured-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--sw-ink) !important;
  margin: 0 0 12px !important;
  line-height: 1.3 !important;
}
.sw-guide-featured-title a { color: inherit !important; text-decoration: none !important; }
.sw-guide-featured-excerpt {
  font-size: 14px;
  color: var(--sw-text);
  line-height: 1.6;
  margin: 0 0 20px;
}

.sw-guide-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sw-guide-list-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--sw-ink) !important;
  margin: 0 0 16px !important;
}
.sw-guide-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--sw-border);
  text-decoration: none !important;
}
.sw-guide-item:first-of-type { border-top: 1px solid var(--sw-border); }
.sw-guide-item-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--sw-indigo);
  width: 24px;
  flex-shrink: 0;
  padding-top: 1px;
}
.sw-guide-item-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--sw-text) !important;
  line-height: 1.45;
  transition: color .15s;
}
.sw-guide-item:hover .sw-guide-item-title { color: var(--sw-indigo) !important; }

/* =====================================================================
   GRILLE 4 cards sections catégories
   ===================================================================== */
.sw-grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) { .sw-grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .sw-grid4 { grid-template-columns: 1fr; } }

/* =====================================================================
   CTA BANDEAU BAS
   ===================================================================== */
.sw-cta-band {
  background: var(--sw-grad);
  padding: 72px 24px;
  text-align: center;
}
.sw-cta-band h2 {
  font-size: clamp(24px, 4vw, 38px) !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin: 0 0 12px !important;
}
.sw-cta-band p {
  font-size: 17px;
  color: rgba(255,255,255,.85);
  margin: 0 0 32px;
}
.sw-cta-band .sw-btn {
  background: #fff;
  color: var(--sw-indigo) !important;
  font-size: 16px;
  padding: 14px 32px;
}
.sw-cta-band .sw-btn:hover { opacity: .92; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.sw-footer {
  background: var(--sw-ink);
  color: rgba(255,255,255,.75);
  padding: 64px 0 0;
}
.sw-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: var(--sw-maxw);
  margin: 0 auto;
  padding: 0 24px 48px;
}
@media (max-width: 900px) {
  .sw-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .sw-footer-grid { grid-template-columns: 1fr; }
}

.sw-footer-logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  display: block;
  margin-bottom: 12px;
  text-decoration: none !important;
}
.sw-footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
  margin: 0;
}

.sw-footer-col-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.45);
  margin: 0 0 16px;
}
.sw-footer-links {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sw-footer-links li { margin: 0 !important; }
.sw-footer-links li::marker { content: none !important; }
.sw-footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,.65) !important;
  text-decoration: none !important;
  transition: color .15s;
}
.sw-footer-links a:hover { color: #fff !important; }

.sw-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  max-width: var(--sw-maxw);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.sw-footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,.4);
  margin: 0;
}
.sw-footer-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.sw-footer-legal-links a {
  font-size: 13px;
  color: rgba(255,255,255,.4) !important;
  text-decoration: none !important;
  transition: color .15s;
}
.sw-footer-legal-links a:hover { color: rgba(255,255,255,.75) !important; }

/* =====================================================================
   ARTICLES — puces visibles, tableaux, listes
   ===================================================================== */
.sw-single .entry-content ul {
  list-style: disc outside !important;
  padding-left: 1.4em !important;
}
.sw-single .entry-content ol {
  list-style: decimal outside !important;
  padding-left: 1.4em !important;
}
.sw-single .entry-content li { margin: .4em 0 !important; }

/* Anti-marker scopé pagination uniquement */
.sw-pagination li::marker,
ul.page-numbers li::marker { content: none !important; }

/* Tableaux content */
.sw-single .entry-content table { margin: 14px 0 !important; }
.sw-single .entry-content .solutions-table,
.sw-single .entry-content .custom-table { margin: 14px 0 !important; }

/* =====================================================================
   UTILITAIRE screen-reader-text
   ===================================================================== */
.screen-reader-text {
  border: 0;
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* ===== Tableaux contenu : suppression des marges top/bottom (retour Mathieu 15/06/2026) =====
   Sélecteur boosté :not(#z) (spécificité ID) pour battre les règles inline .xx-single-main .entry-content table */
.entry-content table:not(#z),
.entry-content .solutions-table:not(#z),
.entry-content .custom-table:not(#z){ margin:0 !important; }
.entry-content figure.wp-block-table:not(#z),
.entry-content .wp-block-table:not(#z),
.entry-content div[class*="table-wrap"]:not(#z){ margin:0 0 .6em !important; }


/* ===== Reset padding GeneratePress separate-containers (Mathieu 15/06 — gros padding 30px parasite) ===== */
.separate-containers .inside-article:not(#z),
.one-container .site-content:not(#z),
.inside-page-header:not(#z),
.separate-containers .paging-navigation:not(#z),
.separate-containers .comments-area:not(#z){ padding:0 !important; }
