/*
Theme Name: Spinoko Child
Theme URI: https://dinomatic.com/spinoko
Author: DinoMatic
Author URI: https://dinomatic.com
Template: spinoko
Description: Spinoko: Child Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spinoko-child
*/

body,
body.site,
body.bg-body {
  background-color: #fff !important;
  background: #fff !important;
}

/* Articles : mobile */
@media (max-width: 767px) {
  main#main {
    margin-top: 60px;
  }
}

@media (min-width: 768px) {
  main#main {
    margin-top: 116px;
  }
}

/** ADDITIONAL NAVIGATION **/
nav.additional-navigation {
  padding-top: 0;
}
.additional-menu {
  /**
   * 💁 adjust colors below, use any color value
   * or leave unchanged for default values
   **/
  --color-links: var(--color-light);
  --color-links-hover: var(--color-link);
  --color-submenu-bg: var(--color-dark);

  /**
   * 💁 use inline-block to enable icons next to parent menu items
   * or none to disable it, no quotes
   **/
  --icon-display: inline-block;

  display: none;
}

/* Header : fond blanc, texte noir. Mobile par défaut (87px), desktop en media query (121px) */
header#masthead {
  width: 100%;
  background-color: #fff;
  z-index: 20;
  box-shadow: 0px 10px 40px 0px rgba(109, 141, 173, 0.25);
  height: 87px !important;
}
#masthead.site-header {
  --color-dark: #fff;
  --color-light: #000;
}
#masthead.site-header,
#masthead.site-header .container,
#masthead.site-header .bg-dark,
#masthead.site-header .relative.h-header {
  background: #fff !important;
  background-color: #fff !important;
  color: #000 !important;
}
#masthead.site-header a,
#masthead.site-header .text-light,
#masthead.site-header .additional-menu a,
#masthead.site-header .custom-logo-link {
  color: #000 !important;
}
#masthead.site-header a:hover,
#masthead.site-header .additional-menu li a:hover {
  color: #333 !important;
}
.site-header .site-search {
  padding-right: 1rem;
  overflow: visible;
}
.site-header .site-search a,
.site-header .site-search button {
  overflow: visible;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 3rem;
}
.site-header .site-search svg {
  overflow: visible;
  flex-shrink: 0;
  transform: scale(1.2);
}

/* Loupe : ne pas couper le cercle, trait plus épais */
.site-header .site-search svg,
.site-header .site-search svg path,
.site-header .site-search svg circle {
  stroke-width: 2.25;
  stroke: currentColor;
  overflow: visible;
}

/* Hamburger : lignes plus épaisses */
.site-header .main-navigation button.menu-toggle {
  overflow: visible;
}
.site-header .main-navigation button.menu-toggle svg {
  stroke-width: 3;
  stroke: currentColor;
  transform: scale(1.2);
  /* Contour léger pour paraître plus gras si les barres sont en fill */
  filter: drop-shadow(0 0 0.5px currentColor);
}
.site-header .main-navigation button.menu-toggle svg line,
.site-header .main-navigation button.menu-toggle svg path {
  stroke-width: 3;
  stroke: currentColor;
}
.site-header .main-navigation button.menu-toggle svg rect {
  stroke-width: 2.5;
  stroke: currentColor;
}

/* Site branding : mobile = padding-top unset, desktop = padding-top 40px (dans media query) */
.site-branding.flex-1.flex.items-center {
  padding-top: unset;
  padding-left: 10px;
}

/* Logo : width auto, height 70px */
.custom-logo-link img {
  width: auto;
  height: 40px;
}

/* Mobile : barre interne header sans min-height forcé (comme quand tu décoches dans l’inspecteur) */
@media (max-width: 1023px) {
  header#masthead {
    height: unset !important;
  }
  #masthead.site-header .relative.h-header,
  #masthead.site-header .h-header {
    height: unset !important;
    min-height: unset !important;
  }
}

@media (max-width: 768px) {
  .site-header,
  .header-wrap,
  .header-inner {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    min-height: 56px !important;
  }
  .site-branding img,
  .custom-logo-link img,
  .custom-logo {
    max-height: 38px !important;
    width: auto !important;
  }
}

/* Desktop : header 121px, branding avec padding-top 40px (comme quand c’est coché) */
@media (min-width: 1024px) {
  header#masthead {
    height: 121px !important;
  }
  .site-branding.flex-1.flex.items-center {
    padding-top: 40px !important;
    padding-left: 10px;
  }
  .additional-menu {
    display: flex;
  }

  /**
   * 💁 remove 2 below rules if you want to keep main (hamburger) navigation
   * with the additional one on large screens
   **/
  .main-navigation {
    display: none;
  }

  .site-header .site-search {
    padding-right: 0;
  }
}

.additional-menu>li {
  position: relative;
  padding: 0 0.5rem;
}

.additional-menu li a {
  color: var(--color-links);
  transition: all .3s ease-in-out;
}

.additional-menu li:hover>a,
.additional-menu li a:hover {
  color: var(--color-links-hover);
}

.additional-menu ul {
  position: absolute;
  top: calc(100% + 2rem);
  right: 9999rem;
  width: 12rem;
  z-index: 1;
  opacity: 0;
  padding: 0.5rem 0;
  background: var(--color-submenu-bg);
  border-radius: 0.4rem;
  transform: translateY(0.6rem);
  transition: opacity 0.15s linear, transform 0.15s linear, right 0s 0.15s;
}

.additional-menu li.menu-item-has-children:hover>ul,
.additional-menu li.menu-item-has-children:focus>ul {
  right: 0;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.15s linear, transform 0.15s linear;
}

.additional-menu ul::before,
.additional-menu ul::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 100%;
}

.additional-menu ul::before {
  height: 2rem;
  left: 0;
  right: 0;
}

.additional-menu ul::after {
  border: 0.8rem solid transparent;
  border-bottom-color: var(--color-submenu-bg);
  right: 1.8rem;
}

.additional-menu ul a {
  display: block;
  width: 100%;
  padding: .25rem 1rem;
  color: inherit;
}

.additional-menu ul li.menu-item-has-children>a {
  padding-right: 4.5rem;
}

.additional-menu li.menu-item-has-children>a:after {
  content: '';
  display: var(--icon-display);
  width: 0.25rem;
  margin-left: 0.25rem;
  padding-bottom: 2px;
  border-top: 0.25rem solid var(--color-links);
  border-bottom: 0 none;
  border-right: 0.25rem solid transparent;
  border-left: 0.25rem solid transparent;
  transition: border 0.15s ease-in-out;
}

.additional-menu li.menu-item-has-children:hover>a:after {
  border-top-color: var(--color-links-hover);
}

.additional-menu ul ul {
  top: 0;
}

.additional-menu ul li.menu-item-has-children:hover>ul,
.additional-menu ul li.menu-item-has-children:focus>ul {
  right: calc(100% + 2rem);
}

.additional-menu ul ul::before {
  top: 0;
  bottom: 0;
  right: -2rem;
  left: auto;
  width: 2rem;
  height: auto;
}

.additional-menu ul ul::after {
  top: 0.75rem;
  bottom: auto;
  right: -1.6rem;
  border-bottom-color: transparent;
  border-left-color: var(--color-submenu-bg);
}

/* h1 et h2 : noir partout */
h1,
h2 {
  color: #000 !important;
}

/* Bande grise pleine largeur pour le titre de page/archive (style type "Bonuses")
   → C’est ici que viennent le margin-top et padding-top du .entry-header quand c’est
     le premier header dans main (sélecteur main header:first-of-type). */
.page-header,
.archive-header,
main header:first-of-type,
main > div:first-of-type:has(> h1) {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background-color: #f1f3fa;
  padding-left: max(1rem, calc((100vw - var(--container-width)) / 2));
  padding-right: max(1rem, calc((100vw - var(--container-width)) / 2));
  padding-top: 20px;
  padding-bottom: 50px;
  margin-bottom: 0;
}
.page-header .container,
.archive-header .container,
main header:first-of-type .container,
main > div:first-of-type:has(> h1) .container {
  max-width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .page-header .container,
  .archive-header .container,
  main header:first-of-type .container,
  main > div:first-of-type:has(> h1) .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
.page-header h1,
.page-header .page-title,
.archive-header h1,
.archive-header .page-title,
main header:first-of-type h1,
main header:first-of-type .page-title,
main > div:first-of-type:has(> h1) h1 {
  position: static;
  text-align: left;
  margin: 0;
  padding: 0;
  padding-left: 15px;
}
.page-header h1 + *,
.archive-header .breadcrumb,
main header:first-of-type h1 + * {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #5f6368;
}

/* Aligner le contenu dans la bande avec le contenu en dessous : même container */
main header:first-of-type .container h1,
main > div:first-of-type:has(> h1) .container h1 {
  padding-left: 0;
}

/* Fix : empêcher le full-bleed sur les headers des cartes d'articles */
main ul li header.entry-header {
  width: 100% !important;
  height: 200px !important;
  left: auto !important;
  right: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  overflow: hidden !important;
  border-radius: 10px 10px 0 0 !important;
}

/* Réduire l'opacité du dégradé pour mieux voir les images */
main ul li header.entry-header .gradient-hero__full {
  opacity: 0.45 !important;
}

.entry-content,
.entry-content:after,
.entry-content:before,
.entry-footer,
.entry-footer:after,
.entry-footer:before {
  padding-top: 20px;
}

/* Mobile : bande titre, marges et padding ; annule tous les margin 12px !important */
@media (max-width: 768px) {
  .entry-title,
  h1 {
    margin: unset !important;
    margin-top: unset !important;
  }
  .page-header,
  .archive-header,
  main header:first-of-type,
  main > div:first-of-type:has(> h1) {
    padding: 25px 15px 25px 15px;
  }
}

/* ========== Single Casino : design hero + 3 cartes ========== */
.casino-template-hero {
  --casino-green: #076a44;
  --casino-green-light: #0c8b59;
  --casino-black: #111111;
  --casino-gray: #666666;
  --casino-light-gray: #f4f6f8;
  --casino-border: #e5e7eb;
}

.casino-hero-container {
  width: min(1100px, 92vw);
  margin: 40px auto 60px;
  font-family: Inter, system-ui, sans-serif;
}

.casino-content-wrap {
  margin-top: 0;
  padding-top: 1rem;
}

.casino-hero-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 25px;
  color: var(--casino-black, #111);
}

.casino-hero {
  background: #fff;
  border: 1px solid var(--casino-border);
  border-radius: 18px;
  padding: 30px;
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 30px;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.casino-hero-logoBox {
  width: 160px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--casino-light-gray);
}

.casino-hero-logoBox img,
.casino-hero-logoImg {
  max-width: 90%;
  max-height: 100%;
  object-fit: contain;
}

.casino-hero-center {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.casino-hero-headline {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 8px 0;
  padding-top: 10px;
}

.casino-hero-stars {
  display: block;
  font-size: 14px;
  margin: 0 0 8px 0;
  color: #f5b301;
}

.casino-hero-stars svg,
.casino-hero-stars .icon,
.casino-hero-stars .text-star,
.casino-hero-stars [class*="star"] {
  fill: #f5b301 !important;
  color: #f5b301 !important;
}

.casino-hero-stars svg.icon.icon-10 {
  height: 1.2rem;
  width: 1.2rem;
}

.casino-hero-score {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 20px;
  background: var(--casino-light-gray);
  font-weight: 700;
  font-size: 13px;
}

.casino-hero-badge {
  background: rgba(7, 106, 68, 0.08);
  color: var(--casino-green);
  font-weight: 700;
  padding: 0 10px;
  border-radius: 30px;
  font-size: 13px;
  display: inline-block;
  margin-bottom: unset;
}

.casino-hero-ctaBtn,
.casino-hero-cta a {
  display: inline-block;
  background: var(--casino-green);
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s ease;
}

.casino-hero-ctaBtn:hover,
.casino-hero-cta a:hover {
  background: var(--casino-green-light);
  color: #fff;
}

/* Bouton sticky au scroll : design cta-final + z-index max */
.casino-sticky-btn-wrap.sticky {
  z-index: 2147483647;
}

.cta-final {
  display: block;
  width: 100%;
  text-align: center;
  padding: 20px 26px;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.3px;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(180deg, #0b8f5c, #076a44);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(7, 106, 68, 0.35);
  transition: 0.25s ease;
  animation: pulse-premium 2.5s infinite;
}

.cta-final:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(7, 106, 68, 0.55);
}

@keyframes pulse-premium {
  0% {
    box-shadow: 0 0 0 0 rgba(7, 106, 68, 0.45);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(7, 106, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(7, 106, 68, 0);
  }
}

.casino-hero-grid {
  margin-top: 25px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.casino-hero-card {
  background: #fff;
  border: 1px solid var(--casino-border);
  border-radius: 18px;
  padding: 22px;
}

.casino-hero-cardTitle {
  margin-top: 0;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 15px;
}

.casino-hero-infoRow {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}

.casino-hero-infoRow span:first-child {
  color: var(--casino-gray);
  font-weight: 600;
}

.casino-hero-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.casino-hero-listItem {
  margin-bottom: 12px;
  font-size: 14px;
}

.casino-hero-listItem.good {
  color: var(--casino-green);
  font-weight: 600;
}

.casino-hero-listItem.bad {
  color: #cc2e2e;
  font-weight: 600;
}

@media (max-width: 950px) {
  .casino-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .casino-hero-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Mobile uniquement : centrage premier bloc + H1 + visibilité Établi/Licence ========== */
@media (max-width: 768px) {
  .casino-hero-title {
    text-align: center;
    margin-bottom: 1.25rem;
    padding-bottom: 25px;
  }

  .casino-hero-container:first-of-type {
    padding-top: 0.5rem;
  }

  .casino-hero {
    text-align: center;
  }

  .casino-hero-logoBox {
    margin-left: auto;
    margin-right: auto;
  }

  .casino-hero-center {
    align-items: center;
    text-align: center;
  }

  .casino-hero-cta {
    text-align: center;
  }

  .casino-hero-ctaBtn,
  .casino-hero-cta a {
    display: block;
    text-align: center;
  }

  /* S'assurer qu'Établi et Licence restent visibles dans Info Casino */
  .casino-hero-infoRow--established,
  .casino-hero-infoRow--license {
    display: flex !important;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .md\:sp-mb-8 {
    margin-bottom: 10px;
  }
}

/* Wager en noir dans les blocs Top casinos (table) */
.table--wager {
  color: #000;
}

/* Article : style "article" — titre + meta en haut, image dans le flux */
.single-article-header {
  border-bottom: none;
}

/* Aligner le bloc titre / fil d'Ariane / auteur avec l'image et le contenu : pas de bande pleine largeur (articles uniquement) */
body.single .single-article .entry-header.single-article-header {
  width: auto;
  max-width: 100%;
  position: static;
  left: auto;
  right: auto;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  background-color: transparent;
}

body.single .single-article .single-article-header h1.entry-title {
  padding-left: 0;
}

body.single main#main .single-article-header h1.entry-title {
  line-height: 1.2;
}

.single-article-meta {
  color: #6b7280;
  padding-left: 20px;
}

/* Meta article : noir, pas d’ombre (spécificité élevée pour passer après Customizer/autres) */
body .entry-meta,
body .post-meta,
body .post-meta a,
body .entry-meta a,
body .post-date,
body .entry-date,
body .posted-on,
body .byline,
.single .entry-meta,
.single .post-meta,
.single .entry-meta a,
.single .post-meta a,
.single .entry-header .entry-meta,
.single .entry-header .entry-meta a {
  color: #000 !important;
  text-shadow: none !important;
}

/* Bande verticale (header page/archive/article) en blanc */
/* Fond blanc de la bande uniquement sur la page article */
body.single .page-header,
body.single .archive-header,
body.single main header:first-of-type,
body.single main > div:first-of-type:has(> h1) {
  background-color: #fff;
}
.single-article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Fil d'Ariane sous le H1 */
.single-article-breadcrumb {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #4a4a4a;
  text-align: left;
}

.single-article-breadcrumb .breadcrumb-items a {
  color: #4a4a4a;
  text-decoration: none;
}

.single-article-breadcrumb .breadcrumb-items a:hover {
  color: #1a1a1a;
  text-decoration: underline;
}

.single-article-breadcrumb .breadcrumb-current {
  color: #2d2d2d;
  font-weight: 500;
}

.single-article-breadcrumb .breadcrumb-sep {
  margin: 0 0.35em;
  color: #6b6b6b;
  font-weight: 400;
}

/* Bloc auteur type jouerenlignefr : avatar + par auteur + Mis à jour + Présence de liens d'affiliation */
.single-article-author-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 0.5rem;
}

.single-article-author-line-avatar {
  flex-shrink: 0;
  cursor: pointer;
}

.single-article-author-line-avatar img,
.single-article-author-line-avatar .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.single-article-author-line-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.single-article-author-by {
  font-weight: 700;
  color: #1a1a1a;
}

.single-article-author-by .author-name {
  color: inherit;
  text-decoration: none;
}

.single-article-author-by .author-name:hover {
  text-decoration: underline;
}

.single-article-author-date {
  font-size: 0.9em;
  color: #555;
}

.single-article-author-date-icon {
  margin-right: 0.25rem;
}

.single-article-affiliation-disclosure-wrap {
  position: relative;
  margin-left: auto;
}

.single-article-affiliation-disclosure {
  background: #e8e8e8;
  color: #444;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-size: 0.875rem;
  cursor: help;
}

.single-article-affiliation-tooltip {
  position: absolute;
  bottom: 100%;
  left: 0;
  margin-bottom: 6px;
  width: 280px;
  max-width: 90vw;
  padding: 12px 14px;
  background: #2d2d2d;
  color: #fff;
  font-size: 0.8125rem;
  line-height: 1.45;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 100;
  pointer-events: none;
}

.single-article-affiliation-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 20px;
  border: 6px solid transparent;
  border-top-color: #2d2d2d;
}

.single-article-affiliation-disclosure-wrap:hover .single-article-affiliation-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Popover auteur (au clic sur le nom / avatar) */
.single-article-author-popover {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.single-article-author-popover.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.single-article-author-popover-inner {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  max-width: 420px;
  width: 100%;
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.2s ease;
}

.single-article-author-popover.is-open .single-article-author-popover-inner {
  transform: scale(1);
}

.single-article-author-popover-avatar {
  flex-shrink: 0;
}

.single-article-author-popover-avatar img,
.single-article-author-popover-avatar .avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.single-article-author-popover-content {
  flex: 1;
  min-width: 0;
}

.single-article-author-popover-name {
  font-weight: 700;
  font-size: 1.15rem;
  color: #1a1a1a;
  margin-bottom: 0.35rem;
}

.single-article-author-popover-title {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.single-article-author-popover-quote,
.single-article-author-popover-desc {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.single-article-author-popover-quote {
  font-style: italic;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  border-left: none;
}

.single-article-author-popover-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--casino-green, #076a44);
  text-decoration: none;
}

.single-article-author-popover-link:hover {
  text-decoration: underline;
}

/* ========== Bloc auteur en bas d'article (Simple Author Box) – style carte ========== */
.entry-content + .saboxplugin-wrap,
.single-article .saboxplugin-wrap {
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}

.saboxplugin-wrap {
  --sab-author-green: #076a44;
  --sab-author-green-light: #0c8b59;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  font-family: inherit;
}

.saboxplugin-wrap .saboxplugin-tab {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.5rem 1.75rem;
  padding: 1.75rem 1.75rem 1.5rem;
}

.saboxplugin-wrap .saboxplugin-gravatar {
  flex-shrink: 0;
  margin: 0;
}

.saboxplugin-wrap .saboxplugin-gravatar img,
.saboxplugin-wrap .saboxplugin-gravatar .avatar {
  width: 90px !important;
  height: 90px !important;
  max-width: 90px;
  max-height: 90px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid var(--sab-author-green);
  box-shadow: 0 2px 8px rgba(7, 106, 68, 0.15);
}

.saboxplugin-wrap .saboxplugin-gravatar a {
  display: block;
}

.saboxplugin-wrap .saboxplugin-authorname {
  margin: 0;
  padding: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
}

.saboxplugin-wrap .saboxplugin-authorname a,
.saboxplugin-wrap .saboxplugin-authorname .fn {
  color: var(--sab-author-green);
  text-decoration: none;
}

.saboxplugin-wrap .saboxplugin-authorname a:hover {
  color: var(--sab-author-green-light);
  text-decoration: underline;
}

.saboxplugin-wrap .saboxplugin-desc {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  width: 100%;
}

.saboxplugin-wrap .saboxplugin-desc [itemprop="description"],
.saboxplugin-wrap .saboxplugin-desc > div {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #444;
  max-width: 56ch;
}

.saboxplugin-wrap .saboxplugin-desc p {
  margin: 0 0 0.75em;
}

.saboxplugin-wrap .saboxplugin-desc p:last-child {
  margin-bottom: 0;
}

.saboxplugin-wrap .saboxplugin-desc a {
  color: var(--sab-author-green);
  text-decoration: none;
  font-weight: 500;
}

.saboxplugin-wrap .saboxplugin-desc a:hover {
  color: var(--sab-author-green-light);
  text-decoration: underline;
}

.saboxplugin-wrap .saboxplugin-web {
  margin-top: 0.5rem;
}

.saboxplugin-wrap .saboxplugin-web a {
  font-size: 0.9rem;
  color: var(--sab-author-green);
}

.saboxplugin-wrap .saboxplugin-socials {
  margin-top: 1rem;
  padding-top: 0;
  border: none;
  background: transparent !important;
}

.saboxplugin-wrap .saboxplugin-socials a {
  color: #555;
  opacity: 0.85;
}

.saboxplugin-wrap .saboxplugin-socials a:hover {
  color: var(--sab-author-green);
  opacity: 1;
}

.saboxplugin-wrap .clearfix {
  display: none;
}

/* Mise en page : avatar à gauche, nom à côté, description en dessous pleine largeur */
.saboxplugin-wrap .saboxplugin-desc {
  flex: 1 1 100%;
}

.saboxplugin-wrap .saboxplugin-web,
.saboxplugin-wrap .saboxplugin-socials {
  width: 100%;
}

/* Mention affiliation dans la boîte auteur */
.saboxplugin-wrap .spinoko-child-affiliation-in-box {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #e8eaed;
  font-size: 0.875rem;
  color: #555;
}

/* Mobile : avatar au-dessus du nom */
@media (max-width: 480px) {
  .saboxplugin-wrap .saboxplugin-tab {
    padding: 1.25rem 1.25rem 1rem;
    gap: 1rem;
  }

  .saboxplugin-wrap .saboxplugin-gravatar img,
  .saboxplugin-wrap .saboxplugin-gravatar .avatar {
    width: 72px !important;
    height: 72px !important;
    max-width: 72px;
    max-height: 72px;
    border-width: 2px;
  }
}

/* Footer : tous les liens en blanc */
#colophon a,
.site-footer a {
  color: #fff !important;
}
#colophon a:hover,
#colophon a:focus,
.site-footer a:hover,
.site-footer a:focus {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* ===== FIX PAGE ACTUALITÉ ===== */
/* 1. Fix main : pas de max-width pour laisser le bandeau titre en pleine largeur (comme TOP CASINOS) */
body.blog main,
body.archive main,
body.search main {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 2. Grille 3 colonnes pour les articles (1 col mobile, 2 tablette, 3 desktop) */
body.blog .blog-posts,
body.archive .blog-posts,
body.search .blog-posts {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    list-style: none !important;
    padding: 0 !important;
}
@media (min-width: 768px) {
    body.blog .blog-posts,
    body.archive .blog-posts,
    body.search .blog-posts {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (min-width: 1024px) {
    body.blog .blog-posts,
    body.archive .blog-posts,
    body.search .blog-posts {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* 3. Cartes d'articles */
body.blog .blog-posts > li,
body.archive .blog-posts > li,
body.search .blog-posts > li {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-radius: 10px !important;
}

/* 4. Zone image (header) des cartes */
body.blog .blog-posts > li > header,
body.archive .blog-posts > li > header,
body.search .blog-posts > li > header {
    width: 100% !important;
    height: 200px !important;
    min-height: 200px !important;
    left: auto !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 10px 10px 0 0 !important;
    background-size: cover !important;
    background-position: center !important;
    display: flex !important;
    align-items: flex-end !important;
    padding: 1rem !important;
}

/* 5. Overlay dégradé moins opaque pour voir les images */
body.blog .blog-posts > li > header .gradient-hero__full,
body.archive .blog-posts > li > header .gradient-hero__full,
body.search .blog-posts > li > header .gradient-hero__full {
    opacity: 0.5 !important;
    border-radius: 10px 10px 0 0 !important;
}

/* Titre des cartes : plus petit */
body:is(.archive, .blog, .search) .blog-posts > li > header a.text-3xl,
body:is(.archive, .blog, .search) .blog-posts > li > header a.font-bold {
    font-size: 1.125rem !important;
    line-height: 1.35 !important;
}

/* Date + auteur : plus petit et en blanc dans la zone image des cartes */
body:is(.archive, .blog, .search) .blog-posts > li > header .entry-meta,
body:is(.archive, .blog, .search) .blog-posts > li > header .entry-meta a,
body:is(.archive, .blog, .search) .blog-posts > li > header .posted-on,
body:is(.archive, .blog, .search) .blog-posts > li > header .byline,
body:is(.archive, .blog, .search) .blog-posts > li > header time {
    font-size: 0.75rem !important;
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.65);
}

/* 6. Garder le bandeau "ACTUALITÉ" en pleine largeur */
main > header:first-child,
.page-header,
.archive-header {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

/* Marge sous le bandeau avant les cartes (page Actualité / archive / recherche) */
body.blog main > header:first-child,
body.archive main > header:first-child,
body.search main > header:first-child {
    margin-bottom: 1.5rem !important;
}

/* Tableau comparatif : couleur bordure et badge (surcharge uniquement) */
.review-table[data-highlight=true] .table-item[data-default="1"] {
    border-color: #016a44;
}

.review-table[data-highlight=true] .table-item[data-default="1"]:before {
    background-color: #016a44;
}

/**
 * ============================================
 * CORRECTIONS SEO/UX - Mars 2026
 * ============================================
 */

/* 4.1 - Hamburger menu : touch target minimum 48x48 */
.menu-toggle,
button.menu-toggle,
.primary-menu-toggle,
.mobile-menu-toggle {
    min-width: 48px !important;
    min-height: 48px !important;
    padding: 12px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

/* 4.2 - Liens T&C : touch target minimum */
.casino-card .tc-link,
.bonus-tc,
.terms-link,
a[class*="terms"],
a[class*="tc-"] {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 4px;
    font-size: 12px;
}

/* 4.3 - Cartes casino compactes sur mobile pour remonter le CTA */
@media (max-width: 768px) {
    .casino-card,
    .casino-item,
    .operator-card {
        padding: 10px !important;
    }

    /* Masquer la liste repetitive de jeux sur mobile */
    .casino-card .game-list,
    .casino-card .jeux-disponibles,
    .casino-card .available-games,
    .game-icons-list {
        display: none;
    }

    /* Reduire les marges internes */
    .casino-card .bonus-info,
    .casino-card .operator-bonus {
        margin-bottom: 8px;
    }

    /* Footer legal responsive */
    .footer-legal {
        font-size: 11px !important;
    }
    .footer-legal a {
        display: block;
        margin: 5px 0 !important;
    }
}

/* 4.4 - Images : forcer les dimensions pour eviter CLS */
.casino-card img,
.operator-card img,
.casino-logo img {
    width: auto;
    height: auto;
    max-width: 100%;
    aspect-ratio: attr(width) / attr(height);
}

/* ----- Page message restriction géo (casinos) ----- */
.restriction-geo-page {
	min-height: 50vh;
	display: flex;
	align-items: center;
	justify-content: center;
}
.restriction-geo-card {
	max-width: 560px;
	margin: 0 auto 3rem;
	padding: 2.5rem 2rem;
	text-align: center;
	background: #f8faf9;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	border: 1px solid rgba(1, 106, 68, 0.15);
}
.restriction-geo-icon {
	font-size: 3rem;
	line-height: 1;
	margin-bottom: 1rem;
}
.restriction-geo-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 1rem;
}
.restriction-geo-message {
	font-size: 1.125rem;
	line-height: 1.5;
	color: #333;
	margin: 0 0 0.5rem;
}
.restriction-geo-geo {
	font-size: 0.9375rem;
	color: #555;
	margin: 0 0 1rem;
	line-height: 1.5;
	font-style: italic;
}
.restriction-geo-sub {
	font-size: 0.9375rem;
	color: #555;
	margin: 0 0 1.5rem;
	line-height: 1.5;
}
.restriction-geo-actions {
	margin: 0;
}
.restriction-geo-btn {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	background-color: #016a44;
	color: #fff !important;
	font-weight: 600;
	font-size: 0.9375rem;
	text-decoration: none;
	border-radius: 8px;
	transition: background-color 0.2s ease, transform 0.1s ease;
}
.restriction-geo-btn:hover {
	background-color: #015536;
	color: #fff !important;
	transform: translateY(1px);
}
@media (max-width: 767px) {
	.restriction-geo-card {
		padding: 1.75rem 1.25rem;
	}
	.restriction-geo-title {
		font-size: 1.25rem;
	}
	.restriction-geo-message {
		font-size: 1rem;
	}
}