/*
Theme Name: Dashwall Child
Description: Thème enfant pour Dashwall (v1.0.1)
Author: scotlandyard
Author URI: https://exemple.com/
Template: dashwall
Version: 1.0.0
Text Domain: dashwall-child
*/



body.archive .page-inner-container,
body.search .page-inner-container,
body.single .page-inner-container,
body.page .page-inner-container,
body.error404 .page-inner-container { max-width: 1400px; }


.featured-large-title { font-size: 36px; letter-spacing: -0.04em; font-weight: 600; line-height: 1.1; margin-bottom:0px;}
.featured-large-title a { display: block; color: #fff; }


.header-single-title { font-size: 42px; color: #fff; letter-spacing: -0.04em; font-weight: 600; line-height: 1.1; margin-bottom: 5px; max-width: 95%; margin-bottom:10px; }
.header-single { position: relative; aspect-ratio: 16/9; z-index: 1; display: flex; }
.header-single-blog { font-size: 18px; font-weight: 600; text-shadow: none; margin-bottom: 10px;}
.header-single-blog a { color: #000; text-decoration:none;}
.header-single-blog a:hover { color: #000; text-decoration:underline;}


/* entry-title */ 

.widget > h3, h2.titre_home, .widget_newsgrid_widget_info_links h2, h1.entry-title, h3.titre_home, h4.widget-title, h3.archive-title, h3.titre_suisse, h3.titre_hdi, h3.titre_sport, h3.titre_popcorn, h3.titre_magazine, h3.titre_tech, h3.titre_hn, h3.titre_terreinfo, h3.titre_romandie, .newsgrid-info-header > h1 {
  font-weight: 600;
  font-size: 26px !important;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  margin-bottom: 1rem;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.5rem;

}



@media only screen and (max-width: 719px) {

	.widget > h3, h2.titre_home, .widget_newsgrid_widget_info_links h2, h1.entry-title, h3.titre_home, h4.widget-title, h3.archive-title, h3.titre_suisse, h3.titre_hdi, h3.titre_sport, h3.titre_popcorn, h3.titre_magazine, h3.titre_tech, h3.titre_hn, h3.titre_terreinfo, h3.titre_romandie, .newsgrid-info-header > h1 { font-size: 22px !important; }

}

@media only screen and (max-width: 479px) {

.widget > h3, h2.titre_home, .widget_newsgrid_widget_info_links h2, h1.entry-title, h3.titre_home, h4.widget-title, h3.archive-title, h3.titre_suisse, h3.titre_hdi, h3.titre_sport, h3.titre_popcorn, h3.titre_magazine, h3.titre_tech, h3.titre_hn, h3.titre_terreinfo, h3.titre_romandie, .newsgrid-info-header > h1 { font-size: 18px !important; }

}



.widget > h3::before,
h1.entry-title::before,
h3.titre_home::before,
h2.titre_home::before,
h3.archive-title::before,
.widget_newsgrid_widget_info_links h2::before,
h4.widget-title::before,
h1.archive-title::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 6px;
  vertical-align: middle;
  background-image: url('https://www.webpratique.ch/wp-content/uploads/2025/06/favicon_titre.jpg');
  background-size: contain;
  background-repeat: no-repeat;
}


h3.titre_suisse::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 6px;
  vertical-align: middle;
  background-image: url('https://www.webpratique.ch/wp-content/uploads/2025/08/canif.png');
  background-size: contain;
  background-repeat: no-repeat;
}

h3.titre_hdi::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 6px;
  vertical-align: middle;
  background-image: url('https://www.webpratique.ch/wp-content/uploads/2025/08/favicon_hdi.png');
  background-size: contain;
  background-repeat: no-repeat;
}

h3.titre_sport::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 6px;
  vertical-align: middle;
  background-image: url('https://www.webpratique.ch/wp-content/uploads/2025/08/sifflet.jpg');
  background-size: contain;
  background-repeat: no-repeat;
}

h3.titre_popcorn::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 6px;
  vertical-align: middle;
  background-image: url('https://www.webpratique.ch/wp-content/uploads/2025/08/popcorn.jpg');
  background-size: contain;
  background-repeat: no-repeat;
}

h3.titre_magazine::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 6px;
  vertical-align: middle;
  background-image: url('https://www.webpratique.ch/wp-content/uploads/2025/08/nouvelles.png');
  background-size: contain;
  background-repeat: no-repeat;
}

h3.titre_tech::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 6px;
  vertical-align: middle;
  background-image: url('https://www.webpratique.ch/wp-content/uploads/2025/08/titre_tech-1.jpg');
  background-size: contain;
  background-repeat: no-repeat;
}

h3.titre_hn::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 6px;
  vertical-align: middle;
  background-image: url('https://www.webpratique.ch/wp-content/uploads/2025/08/titre_ch.jpg');
  background-size: contain;
  background-repeat: no-repeat;
}

h3.titre_terreinfo::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 6px;
  vertical-align: middle;
  background-image: url('https://www.webpratique.ch/wp-content/uploads/2025/08/titre_globe.jpg');
  background-size: contain;
  background-repeat: no-repeat;
}

h3.titre_romandie::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 6px;
  vertical-align: middle;
  background-image: url('https://www.webpratique.ch/wp-content/uploads/2025/08/romandie.png');
  background-size: contain;
  background-repeat: no-repeat;
}



/* Modernisation des liens de sources façon "Recent Comments" */
.links .info-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.blog-card-category a, .links .info-links a {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(90deg, #00c196 0%, #1b6da0 100%);
  transition: background 0.3s ease, transform 0.2s ease;
}

.links .info-links a:hover {
  background: linear-gradient(90deg, #1b6da0 0%, #00c196 100%);
  transform: translateY(-1px);
  text-decoration: none;
}

.page-col-center .stickywrap .stickywrap-heading { display: inline-block;
  margin:20px;
	padding: 10px 0px 10px 20px;
  border-radius: 15px;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(90deg, #00c196 0%, #1b6da0 100%);
  transition: background 0.3s ease, transform 0.2s ease;  }

.page-card-latest {
  border-radius: 15px;
  font-size: 20px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  background: linear-gradient(90deg, #00c196 0%, #1b6da0 100%);
  transition: background 0.3s ease, transform 0.2s ease; }

.page-card-latest .stickywrap-heading {
color: #fff;
  }

/* spacer pub*/

.spacer_gpy {
			padding-bottom: 1em;
}

.spacer2_gpy {
    padding-top: .1em;
    padding-bottom: .1em;
	margin-top:1rem;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    overflow: hidden;
    box-sizing: border-box;
}

.spacer2_gpy ins,
.spacer2_gpy iframe {
    max-width: 100% !important;
}

/* mind mapping pour section question */


/* Conteneur Masonry */
.masonry-cards {
  column-count: 1;
  column-gap: 1rem;
  max-width: 1100px;
  margin: 2rem auto;
  padding: 2rem 1rem; /* padding horizontal pour respirer */
}

@media (min-width: 650px) {
  .masonry-cards {
    column-count: 2;
  }
}

@media (min-width: 900px) {
  .masonry-cards {
    column-count: 3;
  }
}

/* Carte individuelle */
.card-masonry {
  display: inline-block; /* nécessaire pour column layout */
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 1rem; /* uniquement en bas, pas sur les côtés */
  background: #ffffff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transition: transform 0.2s, box-shadow 0.2s;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  -moz-column-break-inside: avoid;
}

.card-masonry:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

/* Titres dans les cartes */
.card-masonry h3 {
  margin-top: 0;
  line-height: 1.3rem;
}

.masonry-cards h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.masonry-cards h3 a {
  color: #333; /* Couleur du lien */
  text-decoration: none; /* Supprime le soulignement */
  transition: color 0.3s ease;
}

.masonry-cards h3 a:hover {
  color: #003399;
  text-decoration: underline;
}

/* Texte des cartes */
.card-masonry p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}

/* Liens dans le contenu */
.card-masonry a {
  display: inline-block;
  margin-top: 0.8rem;
  font-weight: 600;
  line-height: 1.3rem;
  color: #0073aa;
  text-decoration: none;
  transition: color 0.2s;
}

.card-masonry a:hover {
  color: #003399;
  text-decoration: underline;
}

/* Liste des articles dans une carte */
.category-posts a {
  display: block;
  margin: 0.7rem 0;
}


.child-categories {
    margin-bottom: 1rem;
}

.child-categories a {
    display: inline-block;
    margin-right: 0.5rem;
    padding: 0.2rem 0.5rem;
    background: #f2f2f2;
    border-radius: 4px;
    text-decoration: none;
    color: #555;
    font-size: 0.9rem;
}

.child-categories a:hover {
    background: #e4002b;
    color: #fff;
}


.featured-card-content { color: #fff; padding: 20px 30px; margin: 10px; border-radius: 20px; display: flex; align-items: flex-start; justify-content: center; flex-direction: column; text-shadow: 0px 1px 4px rgba(0,0,0,.75); background: rgba(0,0,0,0.3); backdrop-filter: blur(10px) brightness(100%); -webkit-backdrop-filter: blur(10px) brightness(100%); }

.header-single-content { color: #fff; padding: 20px 40px 70px; border-radius: 30px 30px 0 0; display: flex; align-items: flex-start; justify-content: center; flex-direction: column; text-shadow: 0px 1px 4px rgba(0,0,0,.75); background: rgba(0,0,0,0.5); backdrop-filter: blur(10px) brightness(100%); -webkit-backdrop-filter: blur(10px) brightness(100%); }


.page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

/* Le premier élément prend toute la largeur */
.page-grid > *:first-child {
    grid-column: 1 / -1;
}


/*  single : related posts
/* ------------------------------------ */
.related-posts { display: grid; grid-template-columns: repeat(auto-fill,minmax(320px,1fr)); gap: 20px; margin-bottom: 20px; }

/* taille des colonnes dans category */
.page-grid-center { display: grid; grid-template-columns: repeat(auto-fill,minmax(370px,1fr)); gap: 20px; }

.page-grid-center > *:first-child {
    grid-column: 1 / -1;
}


.page-header {
  z-index: 1500;
}




#footer-widgets .widget {
  background: none;
  box-shadow: none;
padding: 10px 20px 10px 20px;
}

#credit p {color: #000;}

/* style de la page aerticle pour le header */
.header-single-caption {font-size: 1rem; margin-bottom:5px; }
.header-single-meta {font-size: 1rem; text-transform: none; font-weight: 600;}
.header-single-meta a { color: #fff; }
.header-single-avatar { display: inline-block; float: left; width: 48px; height: 48px; margin-right: 6px; }
.header-single-avatar img { display: block; border-radius: 100%; }
.header-single-author span {text-transform: none; font-weight: 600; }



/* Bio auteur – style "carte menu / recent comments" tout en gardant l'avatar en place */
.author-bio {
  background: linear-gradient(90deg, #00c196 0%, #1b6da0 100%) !important;
  color: rgba(255,255,255,0.85);
  margin: 40px 0;
  text-align: center;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  box-shadow: 0 0 0 1px #0e3f7e0a,
              0 1px 1px -.5px #2a33450a,
              0 3px 3px -1.5px #2a33460a,
              0 6px 6px -3px #2a33460a,
              0 12px 12px -6px #0e3f7e0a,
              0 24px 24px -12px #0e3f7e0a;
  border-radius: 30px;
  position: relative;
  padding: 40px 30px 30px; /* un peu plus d’espace en haut pour l’avatar qui chevauche */
  border: 0; /* on supprime l’ancien contour foncé */
}

/* ombre/semelle comme les widgets */
.author-bio:after {
  content:"";
  background: #e2e7ef;
  position: absolute;
  bottom: -8px;
  left: 40px;
  right: 40px;
  height: 8px;
  border-radius: 0 0 10px 10px;
  z-index: -1;
}

/* Avatar conservé au même endroit, mais cerclé pour contraster sur le dégradé */
.author-bio .bio-avatar {
  width: 120px;
  height: auto;
  position: relative;
  display: inline-block;
  margin-top: -80px; /* même placement qu'avant */
  z-index: 1;
}
.author-bio .bio-avatar img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 100%;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.9); /* anneau blanc pour détacher sur le fond */
}
/* badge crayon conservé mais éclairci */
.author-bio .bio-avatar:after {
  background: rgba(255,255,255,0.9);
  color: #212632;
}

/* Typographies blanches comme sur la carte comments */
.author-bio .bio-name {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  margin: 12px 0 6px;
  letter-spacing: -0.02em;
}
.author-bio .bio-desc,
.author-bio p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  line-height: 1.5em;
  margin-bottom: 8px;
}

/* Liens dans la bio : blancs + soulignés au survol */
.author-bio a { color: #fff; text-decoration: none; font-weight: 600; }
.author-bio a:hover { text-decoration: underline; }

/* Variante compacte pour petits écrans : on réduit l’avatar et l’offset */
@media (max-width: 600px) {
  .author-bio { padding-top: 34px; }
  .author-bio .bio-avatar { width: 96px; margin-top: -60px; }
}




/*  extrait dans la loop
/* ------------------------------------ */

.blog-card-excerpt { color: #212632;  font-size: 1.1rem; line-height: 1.5em }


/* Style appliqué à TOUS les menus de widget sauf dans le footer */
.widget_nav_menu:not(#footer-widgets .widget_nav_menu) {
  background: linear-gradient(90deg, #00c196 0%, #1b6da0 100%) !important;
  padding: 0 0 20px;
  border-radius: 30px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 0 0 1px #0e3f7e0a,
              0 1px 1px -.5px #2a33450a,
              0 3px 3px -1.5px #2a33460a,
              0 6px 6px -3px #2a33460a,
              0 12px 12px -6px #0e3f7e0a,
              0 24px 24px -12px #0e3f7e0a;
}

.widget_nav_menu:not(#footer-widgets .widget_nav_menu)::after {
  content:"";
  background: #e2e7ef;
  position: absolute;
  bottom: -8px;
  left: 40px;
  right: 40px;
  height: 8px;
  border-radius: 0 0 10px 10px;
  z-index: -1;
}

.widget_nav_menu:not(#footer-widgets .widget_nav_menu) .widget-title {
  color: #fff;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3em;
}

.widget_nav_menu:not(#footer-widgets .widget_nav_menu) .widget-title:after {
  content: '';
  height: 1px;
  background: transparent;
  flex-grow: 1;
  margin-left: 20px;
}

.widget_nav_menu:not(#footer-widgets .widget_nav_menu) ul.menu li {
  margin: 0 20px 6px;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-radius: 15px;
  padding: 10px;
  transition: background 0.3s ease, color 0.3s ease;
}

.widget_nav_menu:not(#footer-widgets .widget_nav_menu) ul.menu li a {
  color: #fff;
  display: block;
  font-size: 18px;
  font-weight: 600;
}

.widget_nav_menu:not(#footer-widgets .widget_nav_menu) ul.menu li:hover {
  background: rgba(255,255,255,0.1);
}

.widget_nav_menu:not(#footer-widgets .widget_nav_menu) ul.menu li:hover a {
  color: #fff;
  text-decoration: none;
}


/* Supprimer le style "carte blanche" imposé par le thème
   uniquement pour le widget ConjuGrid */
.widget[id^="mastowidget_last_toot-"] {
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  
  box-shadow: none !important;
  position: static !important;
}


.widget[id^="als_atlas_search_widget"] {
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  position: static !important;
}

.widget[id^="als_atlas_search_widget"] .conjugrid-links {
  text-align: right;
  padding: 0 30px 15px 0;
}

.home .widget[id^="als_atlas_search_widget"] .conjugrid-links a {
  color: #fff;
}
.widget[id^="als_atlas_search_widget"] .conjugrid-links a {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.widget[id^="als_atlas_search_widget"] .conjugrid-links {
  text-align: right;
}

.conjugrid-links a::before,
.conjugrid-links a::after {
    display: none !important;
    content: none !important;
}

.conjugrid-links a {
    text-decoration: none !important;
    border: 0 !important;
    box-shadow: none !important;
}


.stickywrap-atlas{
 margin:20px;
	padding: 10px 0px 0px 20px;
  border-radius: 15px;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}


/* ================================
   ConjuGrid – Widget (CSS minimal)
   ================================ */

/* Supprimer le style "carte blanche" imposé par le thème */
.widget[id^="conjugrid_widget-"]{
  background:none !important;
  padding:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  position:static !important;
}

/* Carte interne du widget */
.widget[id^="conjugrid_widget-"] .page-card.page-card-search{
  background:transparent;
  border:0;
  margin:0 0 1rem 0;
}

/* Lien “Liste des verbes” — par défaut (fond clair) */
.widget[id^="conjugrid_widget-"] .conjugrid-links{
  text-align:right;
  padding:0 30px 15px 0;
}
.widget[id^="conjugrid_widget-"] .conjugrid-links a{
  font-size:18px;
  font-weight:700;
  color:#fff; /* adapte à ta palette */
  text-decoration:underline;
  text-underline-offset:2px;
}
.widget[id^="conjugrid_widget-"] .conjugrid-links a:hover{
  text-decoration:none;
}

/* Variante accueil : fond sombre/dégradé */
.home .widget[id^="conjugrid_widget-"] .page-card.page-card-search{
  background:linear-gradient(135deg, #0e3f7e 0%, #db0310 100%);
  border-radius:20px;
  color:#fff;
}
.home .widget[id^="conjugrid_widget-"] .stickywrap-heading{ color:#fff; }
.home .widget[id^="conjugrid_widget-"] .conjugrid-links a{ color:#fff; }

/* Sidebar : compacter */
.sidebar .widget[id^="conjugrid_widget-"] .stickywrap-heading{ font-size:1.1rem; }
.sidebar .widget[id^="conjugrid_widget-"] .conjugrid-links{ padding-right:0; }

/* Responsive */
@media (max-width: 780px){
  .widget[id^="conjugrid_widget-"] .conjugrid-search-widget{
    display:flex; /* sécurité */
    flex-direction:column;
    gap:.6rem;
  }

}

/* Accessibilité (si le thème n’a pas déjà cette classe) */
.screen-reader-text{
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%);
  white-space:nowrap; border:0;
}

.conjugrid-sr-only {
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%);
  white-space:nowrap; border:0;
}


.page-template-page-atlas-fullwidth .page-col-center {
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 0 !important;
}



/* Premier highlight en desktop seulement */
@media (min-width: 900px) {
  .stickywrap-inner .highlights-card:first-child .highlights-card-inner {
    padding-left: 0;
  }
  .stickywrap-inner .highlights-card:first-child .highlights-card-left {
    float: none;
    margin: 0 0 10px 0;
  }
  .stickywrap-inner .highlights-card:first-child .highlights-card-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
  }
  .stickywrap-inner .highlights-card:first-child .highlights-card-title {
    font-size: 26px;
    line-height: 1.3;
  }
}


@media only screen and (min-width: 768px) and (max-width: 1080px) {

  .page-col-sidebar {
    display: none !important;
  }
	
	
/*	.grid {
  margin-right: 0 !important;
  float: left;
  display: inline;
  position: relative;
}
	
	
	.one-fourth {
  width: 47%;
} */
}

@media only screen and (max-width: 1200px) {
  .page-col-sidebar-center {
    display: none !important;
  }

  .page-col-center {
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 0 !important;
  }
}








.nav-menu:not(.mobile) {
  font-size: 18px !important;
  }



/* Sitemap WordPress */
.entry .wsp-posts-list {
    margin: 0;
    padding-left: 20px;
    list-style: disc;
margin-bottom: 15px;
}

/* sous-niveaux */
.entry .wsp-posts-list .wsp-posts-list {
    margin-top: 5px;
    padding-left: 20px;
margin-bottom: 15px;
}

/* catégories */
.entry .wsp-category-title {
    	font-weight: 600;
margin-bottom: 15px;
}

/* éléments */
.entry .wsp-post {
    margin: 3px 0;
}

/* titre principal du sitemap */
.entry .wsp-posts-title {
    margin-top: 25px;
    margin-bottom: 10px;
}





/* RESET du thème pour ces blocs */
.als-canton-menu .als-atlas-count,
.als-canton-menu .als-atlas-breadcrumbs,
.als-canton-menu p {
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

/* COMPTEUR (ex: 123 localités) */
.als-canton-menu .als-atlas-count {
    	color: #fff;
    margin-bottom: 6px;
}

/* FIL D’ARIANE */
.als-canton-menu .als-atlas-breadcrumbs {
    font-size: 1.2rem;
	font-weight:600;    
	color: #fff;
    
}

/* Liens fil d’ariane */
.als-canton-menu .als-atlas-breadcrumbs a {
    color: #fff;
    text-decoration: none;
    }

.als-canton-menu .als-atlas-breadcrumbs a:hover {
    color: #fff;    
text-decoration: underline;
    opacity: 1;
}

.als-canton-menu .als-atlas-breadcrumbs a:active {
    color: #fff;    
text-decoration: underline;
    opacity: 1;
}

/* Séparateur (›) */
.als-canton-menu .als-atlas-sep {
    margin: 0 4px;
    opacity: 0.6;
}

.ng-pagination {
	margin: 2.5rem 0;
	text-align: center;
}

.ng-pagination .page-numbers {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;

	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	margin: 4px;

	border-radius: 14px;
	border: 0;

	background: #fff;
	color: #212632 !important;

	font-size: 15px !important;
	font-weight: 700;
	line-height: 40px !important;

	text-decoration: none !important;
	text-indent: 0 !important;

	box-shadow:
		0 0 0 1px #0e3f7e0a,
		0 1px 1px -.5px #2a33450a,
		0 3px 3px -1.5px #2a33460a,
		0 6px 6px -3px #2a33460a;

	transition:
		transform .18s ease,
		background .18s ease,
		color .18s ease,
		box-shadow .18s ease;
}

/* Hover */
.ng-pagination .page-numbers:hover {
	background: linear-gradient(90deg, #00c196 0%, #1b6da0 100%) !important;
	color: #fff !important;
	text-decoration: none !important;
}

/* Page active */
.ng-pagination .page-numbers.current {
	background: linear-gradient(90deg, #00c196 0%, #1b6da0 100%) !important;
	color: #fff !important;

	box-shadow:
		0 4px 12px rgba(0,0,0,.18);
}

/* Les points ... */
.ng-pagination .page-numbers.dots {
	background: transparent !important;
	box-shadow: none;
	color: #666 !important;
	min-width: auto;
	padding: 0 4px;
}

.ng-pagination .page-numbers.dots:hover {
	transform: none;
	background: transparent !important;
	color: #666 !important;
}

/* Mobile */
@media (max-width: 600px) {

	.ng-pagination {
		margin: 1.8rem 0;
	}

	.ng-pagination .page-numbers {
		min-width: 36px;
		height: 36px;
		padding: 0 10px;
		font-size: 14px !important;
		line-height: 36px !important;
		border-radius: 12px;
	}
}



.widget::after {
  content: "";
  background: none !important;
  position: absolute;
  bottom: -8px;
  left: 40px;
  right: 40px;
  height: 8px;
  border-radius: 0 0 10px 10px;
  z-index: -1;
}


/* Tablette : masquer la sidebar */
@media only screen and (min-width: 768px) and (max-width: 1080px) {

    .page-col-sidebar-center {
        display: none !important;
    }

    .page-col-center {
        width: 100% !important;
        max-width: 100% !important;
        padding-right: 0 !important;
    }
}


/* Mobile : remettre la sidebar sous le contenu */
@media only screen and (max-width: 767px) {

    .page-row {
        display: block !important;
    }

    .page-col-center,
    .page-col-sidebar-center {
        display: block !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        clear: both !important;
    }
}

.wp-games-intro {
    margin: 0 0 28px;
    font-size: 1.08em;
    line-height: 1.65;
}

.wp-games-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0 0 40px;
}

.wp-game-card {
    position: relative;
    padding: 24px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.05);
}

.wp-game-card-featured {
    grid-column: span 2;
    padding: 30px;
}

.wp-game-icon {
    font-size: 30px;
    line-height: 1;
    margin-bottom: 14px;
}

.wp-game-card h3 {
    margin: 0 0 10px;
    font-size: 1.45em;
}

.wp-game-card h3 a {
    color: inherit;
    text-decoration: none;
}

.wp-game-card p {
    margin: 0 0 20px;
    line-height: 1.6;
}

.wp-game-button {
    display: inline-block;
    font-weight: 700;
    text-decoration: none;
}

.wp-sudoku-details {
    margin-top: 20px;
}

.wp-sudoku-details > h3 {
    margin-top: 36px;
}

.wp-sudoku-levels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0 32px;
}

.wp-sudoku-levels > div {
    padding: 18px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.025);
}

.wp-sudoku-levels strong {
    display: block;
    margin-bottom: 7px;
    font-size: 1.05em;
}

.wp-sudoku-levels span {
    display: block;
    line-height: 1.55;
}

@media (max-width: 700px) {

    .wp-games-grid,
    .wp-sudoku-levels {
        grid-template-columns: 1fr;
    }

    .wp-game-card-featured {
        grid-column: auto;
    }

    .wp-game-card {
        padding: 20px;
    }

}