#site-top {
	background-color: #000000;
	width: 1321px;
	height: 70px;
	display: block;
}

.post-content.clear {
	margin: 10px 100px;
	padding: 10px;
}

.post-header {
	margin: 10px;
	padding: 10px;
}

#wrapper section medium-padding {
	padding: 0;
}

#site-navigation {
	background-color: #000000;
	width: 1321px;
	display: block;
}

.section-inner {
	max-width: 95.5%;
}

.bg-dark, .bg-graphite {
	background-color: transparent;
	margin: auto;
	display: block;
	position: relative;
	width: 100%;
}

.header {
	display: block;
	position: relative;
	height: 572px;
	width: 1321px align:center;
	background: rgba(0,0,0,0);
	background-size: 1400px 220px;
	background-repeat: no-repeat;
	background-position: center;
	margin: 0;
	padding: 45px 0 0;
}

.cover {
	margin: 0;
	padding: 0;
}

.header .cover {
	background: rgba(0,0,0,0);
	background-image: url('https://recitsdegeek.com/wp-content/uploads/2024/05/new-header-02-1.png');
	background-repeat: no-repeat;
	background-position: center;
}

.custom-logo {
}

.header a:focus {
	outline: 1px dotted #fff;
}

.jetpack-social-navigation {
	margin-top: 20px;
}

.jetpack-social-navigation a {
	color: #fff;
	font-size: 32px;
	margin: 0 4px;
}

.site-title {
	font-family: "Pacifico", sans-serif;
	font-size: 2.25em;
	text-align: center;
	text-shadow: 1px 1px 2px rgba(0,0,0,.25);
}

.site-title a {
	color: #fff;
}

.site-title a:hover,
.site-title a:focus {
	color: #13c4a5;
}

.site-description {
	color: #999;
	font-size: 1.1em;
	font-weight: 400;
	line-height: 110%;
	margin: 20px 0 0;
	text-align: center;
	text-shadow: 1px 1px 1px rgba(0,0,0,.25);
}

.search-icon {
	display: block;
	height: 68px;
	-webkit-opacity: .5;
	-moz-opacity: .5;
	opacity: .9;
	position: relative;
	text-indent: -9999em;
	width: 40px;
}

.search-icon:before {
	color: #fff;
	content: "\f002";
	display: block;
	font-family: "FontAwesome";
	font-size: 27px;
	left: 0;
	line-height: 68px;
	position: absolute;
	text-align: center;
	text-indent: 0;
	text-rendering: auto;
	transform: translate(0,0);
	width: 40px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.search-icon.active {
	-webkit-opacity: 1;
	-moz-opacity: 1;
	opacity: 1;
}

.search-icon:focus {
	border: 1px dotted #fff;
	-webkit-opacity: 1;
	-moz-opacity: 1;
	opacity: 1;
}

.header-search-block {
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 10000;
}

.header-search-block .section-inner {
	position: relative;
}

.header-search-block .search-field {
	background: 0 0;
	border: 1px solid transparent;
	color: #333333;
	font-family: "Roboto", sans-serif;
	font-size: 1.4em;
	margin: -15px 0 0;
	position: absolute;
	top: 250px;
	left: 65%;
	width: 150px;
	height: 15%;
	-webkit-font-smoothing: antialiased;
}

.header-search-block .search-field:focus {
	border: 1px dotted rgba(255,255,255,.5);
	background: white;
	outline: none;
}

.header-search-block .search-submit {
	display: none;
	color: #fff;
}

#content {
	width: 94%;
}


/* RECITS DE GEEK — PULSE GAMING V2 */
/* Section À LA UNE */

.pulse-hero {
  background: #151b22;
  padding: 30px;
  border-radius: 16px;
  margin-bottom: 40px;
}

/* Titre de section */
.pulse-hero > h2 {
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  border-left: 5px solid #a8ed68;
  padding-left: 15px;
  margin-bottom: 25px;
}

/* Carte de l'article */
.pulse-hero .wp-block-post {
  background: #26323d;
  padding: 20px;
  border-radius: 12px;
  overflow: hidden;
}

/* Image de l'article */
.pulse-hero .wp-block-post-featured-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

/* Titre de l'article */
.pulse-hero .wp-block-post-title,
.pulse-hero .wp-block-post-title a {
  color: #ffffff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
}

/* Effet au survol */
.pulse-hero .wp-block-post-title a:hover {
  color: #a8ed68;
}

/* Date de publication */
.pulse-hero .wp-block-post-date,
.pulse-hero .wp-block-post-date a {
  color: #b9c5ce;
  font-size: 13px;
}

/* Adaptation mobile */
@media (max-width: 768px) {
  .pulse-hero {
    padding: 16px;
  }

  .pulse-hero > h2 {
    font-size: 23px;
  }

  .pulse-hero .wp-block-post {
    padding: 12px;
  }

  .pulse-hero .wp-block-post-title,
  .pulse-hero .wp-block-post-title a {
    font-size: 21px;
  }
}

/* PULSE GAMING V2 — Correction du titre À LA UNE */

.pulse-hero h2.wp-block-heading {
  color: #ffffff !important;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  border-left: 5px solid #a8ed68;
  padding-left: 16px;
  margin-bottom: 25px;
}

/* Espacement entre le titre et la carte */
.pulse-hero .wp-block-query {
  margin-top: 20px;
}

/* ====================================
   RECITS DE GEEK - PULSE GAMING V2
   Grille À LA UNE
==================================== */

/* Espacement entre les deux colonnes */
.pulse-hero .wp-block-columns {
  gap: 20px;
  align-items: flex-start;
}

/* Harmonisation des cartes */
.pulse-hero .wp-block-post {
  background: #26323d;
  border-radius: 12px;
  padding: 16px;
  overflow: hidden;
  box-sizing: border-box;
}

/* Images dynamiques */
.pulse-hero .wp-block-post-featured-image {
  margin: 0 0 14px;
}

.pulse-hero .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

/* Titres et liens */
.pulse-hero .wp-block-post-title,
.pulse-hero .wp-block-post-title a {
  color: #fff;
  line-height: 1.3;
  text-decoration: none;
}

/* Cartes secondaires */
.pulse-hero .pulse-secondary .wp-block-post {
  padding: 12px;
  margin-bottom: 16px;
}

.pulse-hero .pulse-secondary .wp-block-post-title,
.pulse-hero .pulse-secondary .wp-block-post-title a {
  font-size: 17px;
  line-height: 1.35;
}

/* Images secondaires */
.pulse-hero .pulse-secondary
.wp-block-post-featured-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Effets interactifs */
.pulse-hero .wp-block-post {
  transition: transform .2s ease,
              box-shadow .2s ease;
}

@media (hover: hover) {
  .pulse-hero .wp-block-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
  }
}

/* Adaptation smartphone */
@media (max-width: 781px) {
  .pulse-hero .wp-block-columns {
    flex-direction: column;
    gap: 16px;
  }

  .pulse-hero .wp-block-column {
    width: 100%;
    flex-basis: 100% !important;
  }

  .pulse-hero .pulse-secondary
  .wp-block-post-title,
  .pulse-hero .pulse-secondary
  .wp-block-post-title a {
    font-size: 20px;
  }
}

/* ======================================
   RECITS DE GEEK - PULSE GAMING V2
   SECTION DERNIERS TESTS
====================================== */

/* Conteneur de la section */
.pulse-tests {
  background: #151b22;
  padding: 32px;
  margin-top: 30px;
  margin-bottom: 40px;
  border-radius: 12px;
}

/* Titre de section */
.pulse-tests h2.wp-block-heading {
  color: #ffffff !important;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  border-left: 5px solid #a8ed68;
  padding-left: 16px;
  margin-bottom: 25px;
}

/* Grille de publications */
.pulse-tests .wp-block-post-template {
  gap: 20px;
}

/* Cartes des articles */
.pulse-tests .wp-block-post {
  background: #26323d;
  padding: 14px;
  border-radius: 12px;
  overflow: hidden;
  box-sizing: border-box;
  transition: transform .2s ease,
              box-shadow .2s ease;
}

/* Images */
.pulse-tests .wp-block-post-featured-image {
  margin: 0 0 14px;
}

.pulse-tests .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

/* Titres */
.pulse-tests .wp-block-post-title,
.pulse-tests .wp-block-post-title a {
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

/* Dates */
.pulse-tests .wp-block-post-date,
.pulse-tests .wp-block-post-date time {
  color: #b9c5ce;
  font-size: 12px;
}

/* Survol des cartes */
@media (hover: hover) {
  .pulse-tests .wp-block-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
  }
}

/* Tablettes */
@media (max-width: 900px) {
  .pulse-tests {
    padding: 22px;
  }

  .pulse-tests .wp-block-post-template {
    gap: 14px;
  }
}

/* Smartphones */
@media (max-width: 600px) {
  .pulse-tests {
    padding: 18px;
  }

  .pulse-tests h2.wp-block-heading {
    font-size: 23px;
  }

  .pulse-tests .wp-block-post-template.is-layout-grid {
    grid-template-columns: 1fr !important;
  }
}

/* PULSE GAMING V2 - ALIGNEMENT DES SECTIONS */

.pulse-hero,
.pulse-tests {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* PULSE GAMING V2 - ESPACEMENT VERTICAL */

.pulse-hero {
  margin-bottom: 0 !important;
}

.pulse-tests {
  margin-top: 24px !important;
}


/* ==========================================
   PULSE GAMING V2 - RUBRIQUE LECTURE
   ========================================== */

/* Grille des deux livres */
.pulse-lecture .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px;
  padding: 0;
}

/* Structure commune des cartes */
.pulse-lecture .wp-block-post-template > li {
  position: relative;
  box-sizing: border-box;
  min-width: 0;
  height: 360px;
  overflow: hidden;
  border-radius: 4px;
}

/* ==========================================
   LIVRE 1 : COUVERTURE + TEXTE SUR FOND PRUNE
   ========================================== */

.pulse-lecture .wp-block-post-template > li:first-child {
  display: grid;
  grid-template-columns: 48% 52%;
  grid-template-rows: 1fr auto auto;
  background: #432a3b;
}

.pulse-lecture .wp-block-post-template > li:first-child
.wp-block-post-featured-image {
  grid-column: 1;
  grid-row: 1 / 4;
  margin: 0;
  padding: 12px;
  min-height: 0;
}

.pulse-lecture .wp-block-post-template > li:first-child
.wp-block-post-featured-image a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.pulse-lecture .wp-block-post-template > li:first-child
.wp-block-post-featured-image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: 0;
}

.pulse-lecture .wp-block-post-template > li:first-child
.wp-block-post-title {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin: 0 !important;
  padding: 20px 14px 10px;
  color: #ffffff;
  font-size: 20px !important;
  line-height: 1.2;
  text-transform: uppercase;
}

.pulse-lecture .wp-block-post-template > li:first-child
.wp-block-post-excerpt {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  padding: 8px 14px;
  color: #f0dbe7;
  font-size: 12px;
}

.pulse-lecture .wp-block-post-template > li:first-child
.wp-block-post-date {
  grid-column: 2;
  grid-row: 3;
  margin: 0;
  padding: 8px 14px 18px;
  color: #d9b9ca;
  font-size: 11px;
}

/* ==========================================
   LIVRE 2 : COUVERTURE + TITRE SUR DEGRADE
   ========================================== */

.pulse-lecture .wp-block-post-template > li:nth-child(2) {
  display: block;
  background: #1b252f;
}

.pulse-lecture .wp-block-post-template > li:nth-child(2)
.wp-block-post-featured-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

.pulse-lecture .wp-block-post-template > li:nth-child(2)
.wp-block-post-featured-image a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.pulse-lecture .wp-block-post-template > li:nth-child(2)
.wp-block-post-featured-image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center;
  border-radius: 0;
}

/* Dégradé couvrant le bas de la carte */
.pulse-lecture .wp-block-post-template > li:nth-child(2)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(15, 18, 27, 0.98)
  );
  pointer-events: none;
}

/* Titre lisible sur le dégradé */
.pulse-lecture .wp-block-post-template > li:nth-child(2)
.wp-block-post-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0 !important;
  padding: 20px 18px 24px;
  color: #ffffff !important;
  font-size: 20px !important;
  line-height: 1.2;
  text-transform: uppercase;
}

/* Masquer extrait et date du livre 2 */
.pulse-lecture .wp-block-post-template > li:nth-child(2)
.wp-block-post-excerpt,
.pulse-lecture .wp-block-post-template > li:nth-child(2)
.wp-block-post-date {
  display: none !important;
}

/* Titres cliquables */
.pulse-lecture .wp-block-post-title a {
  color: #ffffff !important;
  text-decoration: none !important;
}

/* ==========================================
   VERSION MOBILE
   ========================================== */

@media (max-width: 700px) {
  .pulse-lecture .wp-block-post-template {
    grid-template-columns: 1fr !important;
  }

  .pulse-lecture .wp-block-post-template > li {
    height: 340px;
  }

  .pulse-lecture .wp-block-post-template > li:first-child
  .wp-block-post-title {
    font-size: 17px !important;
  }

  .pulse-lecture .wp-block-post-template > li:nth-child(2)
  .wp-block-post-title {
    font-size: 18px !important;
  }
}

/* PULSE GAMING V2 - AJUSTEMENT TITRE LIVRE 2 */

.pulse-lecture .wp-block-post-template > li:nth-child(2)
.wp-block-post-title {
  bottom: 0 !important;
  padding: 18px 18px 24px !important;
  font-size: 17px !important;
  line-height: 1.2 !important;
  text-align: left;
  background: linear-gradient(
    to bottom,
    rgba(15, 18, 27, 0.85),
    rgba(15, 18, 27, 0.98)
  );
}

/* LECTURE - LIBERER LE BAS DE LA COUVERTURE */

.pulse-lecture .wp-block-post-template > li:nth-child(2)
.wp-block-post-featured-image {
  bottom: 70px !important;
  height: auto !important;
}

.pulse-lecture .wp-block-post-template > li:nth-child(2)
.wp-block-post-title {
  min-height: 70px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: 12px 16px !important;
  background: #111820 !important;
}

/* PULSE GAMING V2 — HIGH TECH */

/* Conteneur principal */
.pulse-hightech {
  background: #151b21;
  padding: 32px;
  border-radius: 9px;
  box-sizing: border-box;
}

/* Titre de la rubrique */
.pulse-hightech h2 {
  color: #ffffff;
  border-left: 4px solid #a3ff62;
  padding-left: 14px;
  margin-bottom: 26px;
}

/* Grille de trois articles */
.pulse-hightech .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* Cartes */
.pulse-hightech .wp-block-post-template > li {
  background: #26323d;
  border-radius: 9px;
  overflow: hidden;
  min-width: 0;
  margin: 0;
  padding: 12px;
  box-sizing: border-box;
}

/* Images */
.pulse-hightech .wp-block-post-featured-image {
  margin: 0 0 18px;
}

.pulse-hightech .wp-block-post-featured-image img {
  display: block;
  width: 100% !important;
  height: 180px !important;
  object-fit: contain !important;
  background: #ffffff;
  border-radius: 6px;
}

/* Titres des articles */
.pulse-hightech .wp-block-post-title {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 18px;
}

.pulse-hightech .wp-block-post-title a {
  color: #ffffff !important;
  text-decoration: none;
}

.pulse-hightech .wp-block-post-title a:hover {
  color: #a3ff62 !important;
}

/* Dates */
.pulse-hightech .wp-block-post-date {
  color: #a8bac8;
  font-size: 12px;
  margin-top: 12px;
}

/* Tablette */
@media (max-width: 900px) {
  .pulse-hightech .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 600px) {
  .pulse-hightech {
    padding: 20px;
  }

  .pulse-hightech .wp-block-post-template {
    grid-template-columns: 1fr;
  }

  .pulse-hightech .wp-block-post-featured-image img {
    height: 200px !important;
  }
}

/* PULSE GAMING V2 - LARGEUR DE PAGE */

body.page-id-28762 .section-inner {
    width: 96% !important;
    max-width: 1400px !important;
}

/* PULSE GAMING V2 - MASQUER LE TITRE */

body.page-id-28762 .post-header {
    display: none !important;
}


/* PULSE GAMING V2 - LARGEUR CONTROLEE */

@media (min-width: 900px) {

  body.page-id-28762 .wrapper .section-inner {
    width: 94% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.page-id-28762 #content,
  body.page-id-28762 .post-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

}

/* PULSE GAMING V2 — CORRECTION LARGEUR À LA UNE */

.pulse-hero {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

/* Empêcher les colonnes de déborder */
.pulse-hero .wp-block-columns {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.pulse-hero .wp-block-column {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* Adapter les grilles et leurs cartes */
.pulse-hero .wp-block-query,
.pulse-hero .wp-block-post-template,
.pulse-hero .wp-block-post {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* Conserver les images dans les cartes */
.pulse-hero .wp-block-post-featured-image img {
  max-width: 100%;
}

/* PULSE GAMING V2 — CENTRAGE DU CONTENU */

body.page-id-28762 .post-content {
  width: 100% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

/* Sécurité pour la rubrique À LA UNE */
body.page-id-28762 .pulse-hero {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* PULSE GAMING V2 — Réduction des marges */

/* Réduire l'espace autour de la page */
body.page-id-28762 .wrapper.section {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

/* Réduire les marges blanches de l'article */
body.page-id-28762 article.post-28762 {
  padding: 10px !important;
}

/* Conserver la largeur du contenu */
body.page-id-28762 #content {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* PULSE GAMING V2 — Ajustement des largeurs */

@media (min-width: 1024px) {

  body.page-id-28762 .section-inner {
    max-width: 1400px !important;
    width: 96% !important;
  }

  body.page-id-28762 #content {
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.page-id-28762 article.post-28762 {
    width: 100% !important;
    box-sizing: border-box;
  }
}

/* PULSE GAMING V2 — Marges du conteneur blanc */

body.page-id-28762 article.post-28762 {
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

body.page-id-28762 .post-content {
  padding: 0 !important;
  margin: 0 !important;
}

/* PULSE GAMING V2 — Alignement avec le menu */

@media (min-width: 1024px) {

  body.page-id-28762 #content {
    width: calc(100% - 40px) !important;
    max-width: 1360px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.page-id-28762 .post-content {
    width: 100% !important;
    max-width: none !important;
  }

  body.page-id-28762 .pulse-hero {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
  }
}

/* PULSE GAMING V2 — Alignement des conteneurs */

/* Conteneur principal */
body.page-id-28762 .wrapper.section .section-inner {
  width: 100% !important;
  max-width: 1400px !important;
  box-sizing: border-box;
}

/* Zone de contenu */
body.page-id-28762 #content {
  width: 100% !important;
  max-width: 1400px !important;
  box-sizing: border-box;
}

/* Section À LA UNE */
body.page-id-28762 .pulse-hero {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

/* PULSE GAMING V2 — Finitions LECTURE */

/* Cartes de la rubrique LECTURE */
body.page-id-28762 .pulse-lecture .wp-block-post {
  border-radius: 10px;
  overflow: hidden;
  box-sizing: border-box;
}

/* Titres des livres */
body.page-id-28762 .pulse-lecture .wp-block-post-title,
body.page-id-28762 .pulse-lecture .wp-block-post-title a {
  color: #ffffff;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-decoration: none;
}

/* Dates */
body.page-id-28762 .pulse-lecture .wp-block-post-date {
  color: #b9c5ce;
}

/* Liens au survol */
body.page-id-28762 .pulse-lecture .wp-block-post-title a:hover {
  color: #a8ed68;
}

/* PULSE GAMING V2 — Fond du pied de page */

.footer {
    background-color: #171C22;
}

/* PULSE GAMING V2 — Fond harmonisé entre les rubriques */
/* Uniquement sur la page d'accueil */

body.home .post-content {
    background-color: #222A32;
}

/* PULSE GAMING V2 — Position du champ de recherche */

.header-search-block .search-field {
    top: 575px;
}



/* ==========================================================================
   RÉCITS DE GEEK — FEUILLE DE STYLE V3 FINALE (WORDPRESS.COM / BASKERVILLE 2)
   ========================================================================== */

/* Masquer l'ancienne bannière d'en-tête au profit du nouveau bandeau V3 */
.header,
.header.section.bg-dark,
.header .cover {
  display: none !important;
  height: 0 !important;
}

:root {
  --rdg-night: #0c1020;
  --rdg-section-top: #141b30;
  --rdg-section-bottom: #0f1426;
  --rdg-card: #1c243d;
  --rdg-card-lecture: #2b1838;
  --rdg-cyan: #00e5d1;
  --rdg-magenta: #e91e78;
  --rdg-magenta-light: #ff5ca1;
  --rdg-text: #f8fafc;
  --rdg-muted: #b9c5ce;
}

/* 1. FOND GLOBAL DU SITE (Bleu Nuit Cosmique assorti au logo) */
body,
body.custom-background,
.wrapper,
.section-inner.content {
  background-color: var(--rdg-night) !important;
  background-image:
    radial-gradient(circle at 15% 10%, rgba(0, 229, 209, 0.09), transparent 42%),
    radial-gradient(circle at 85% 12%, rgba(233, 30, 120, 0.09), transparent 42%) !important;
  color: var(--rdg-text) !important;
}

/* 2. BARRE DE NAVIGATION PRINCIPALE (Noir profond + Liseré dégradé Turquoise/Magenta) */
.navigation,
#site-navigation,
.header-search-block {
  background: #080b14 !important;
  border-top: 2px solid var(--rdg-cyan) !important;
  border-image: linear-gradient(90deg, var(--rdg-cyan), var(--rdg-magenta), var(--rdg-cyan)) 1 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55) !important;
}

.main-navigation a {
  color: #e2e8f0 !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  color: var(--rdg-cyan) !important;
  background: rgba(0, 229, 209, 0.14) !important;
}

/* 3. CONTENEURS DE SECTIONS (À LA UNE, DERNIERS TESTS, LECTURE, HIGH TECH) */
.pulse-hero,
.entry-content > .wp-block-group {
  background: linear-gradient(180deg, var(--rdg-section-top) 0%, var(--rdg-section-bottom) 100%) !important;
  border: 1px solid rgba(0, 229, 209, 0.15) !important;
  border-radius: 18px !important;
  padding: 28px !important;
  margin-bottom: 32px !important;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.65) !important;
}

/* 4. TITRES DE RUBRIQUES (Remplace le vert lime #a8ed68 par le Turquoise #00E5D1 du logo) */
.pulse-hero h2.wp-block-heading,
.entry-content h2.wp-block-heading {
  color: #ffffff !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  border-left: 5px solid var(--rdg-cyan) !important;
  padding-left: 16px !important;
  margin-bottom: 24px !important;
  box-shadow: -4px 0 12px -2px rgba(0, 229, 209, 0.45);
}

/* 5. CARTES D'ARTICLES (.wp-block-post) */
.wp-block-post {
  background: var(--rdg-card) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  padding: 18px !important;
  position: relative !important;
  overflow: hidden !important;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease !important;
}

.pulse-secondary .wp-block-post {
  padding: 14px !important;
  margin-bottom: 16px !important;
}

.wp-block-post:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(0, 229, 209, 0.55) !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55), 0 0 20px rgba(0, 229, 209, 0.18) !important;
}

/* Vignettes images avec léger zoom au survol */
.wp-block-post-featured-image {
  border-radius: 9px !important;
  overflow: hidden !important;
  margin-bottom: 12px !important;
}

.wp-block-post-featured-image img {
  border-radius: 9px !important;
  transition: transform 0.38s ease !important;
}

.wp-block-post:hover .wp-block-post-featured-image img {
  transform: scale(1.035) !important;
}

/* Titres des cartes & Zone cliquable sur toute la carte */
.wp-block-post-title {
  color: #ffffff !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  margin-bottom: 8px !important;
  transition: color 0.2s ease !important;
}

.wp-block-post-title a {
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Étend le clic du titre à toute la carte */
.wp-block-post-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.wp-block-post:hover .wp-block-post-title,
.wp-block-post:hover .wp-block-post-title a {
  color: var(--rdg-cyan) !important;
}

/* Dates de publication */
.wp-block-post-date {
  color: var(--rdg-muted) !important;
  font-size: 13px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
  margin-top: 8px;
}

/* 6. PIED DE PAGE (3 Colonnes aux couleurs Turquoise & Magenta du logo) */
.footer,
.site-footer,
.footer-widgets {
  background-color: #080b14 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.footer .widget-title,
.site-footer h2 {
  color: var(--rdg-cyan) !important;
  border-bottom: 2px solid var(--rdg-magenta) !important;
  padding-bottom: 10px !important;
}

.footer a,
.site-footer a {
  color: var(--rdg-cyan) !important;
  transition: color 0.2s ease !important;
}

.footer a:hover,
.site-footer a:hover {
  color: var(--rdg-magenta-light) !important;
}

/* ==========================================================================
   V3 SUB-PAGES, CATEGORY ARCHIVES & FORMS ENHANCEMENTS
   ========================================================================== */

/* 1. Full-width Sub-pages: remove default white background card & hide duplicate title */
.page-template-full-width-page .post,
.page-id-3056 .post,
.page-id-10013 .post,
.page-id-3 .post {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
}

.page-template-full-width-page .post-header,
.page-id-3056 .post-header,
.page-id-10013 .post-header,
.page-id-3 .post-header {
    display: none !important;
}

.page-template-full-width-page .post-content,
.page-id-3056 .post-content,
.page-id-10013 .post-content,
.page-id-3 .post-content {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* 2. Blog Posts Block (.wp-block-a8c-blog-posts) in Tests & Lecture */
.wp-block-a8c-blog-posts article {
    background: #1c243d !important;
    border: 1px solid rgba(0, 229, 209, 0.25) !important;
    border-radius: 14px !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35) !important;
}

.wp-block-a8c-blog-posts article:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(0, 229, 209, 0.6) !important;
    box-shadow: 0 16px 36px rgba(0, 229, 209, 0.15) !important;
}

.rdg-box--magenta .wp-block-a8c-blog-posts article {
    border-color: rgba(233, 30, 120, 0.3) !important;
}

.rdg-box--magenta .wp-block-a8c-blog-posts article:hover {
    border-color: rgba(233, 30, 120, 0.7) !important;
    box-shadow: 0 16px 36px rgba(233, 30, 120, 0.2) !important;
}

.wp-block-a8c-blog-posts h2,
.wp-block-a8c-blog-posts h2 a,
.wp-block-a8c-blog-posts .entry-title a {
    color: #ffffff !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.wp-block-a8c-blog-posts article:hover h2 a {
    color: var(--rdg-cyan) !important;
}

.rdg-box--magenta .wp-block-a8c-blog-posts article:hover h2 a {
    color: var(--rdg-magenta-light) !important;
}

.wp-block-a8c-blog-posts .entry-meta,
.wp-block-a8c-blog-posts .entry-date,
.wp-block-a8c-blog-posts time {
    color: #94a3b8 !important;
    font-size: 12px !important;
}

.wp-block-a8c-blog-posts .entry-content,
.wp-block-a8c-blog-posts p {
    color: #cbd5e1 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

.wp-block-a8c-blog-posts img {
    border-radius: 10px !important;
}

.wp-block-a8c-blog-posts .wp-block-button__link,
.wp-block-a8c-blog-posts button {
    background: linear-gradient(90deg, #00e5d1, #e91e78) !important;
    color: #080b14 !important;
    font-weight: 800 !important;
    border-radius: 8px !important;
    border: none !important;
    padding: 12px 28px !important;
    margin-top: 16px !important;
    box-shadow: 0 4px 15px rgba(0, 229, 209, 0.3) !important;
    cursor: pointer !important;
}

/* 3. Category Archive: High Tech */
.archive-header {
    background: linear-gradient(135deg, #161c30 0%, #1c243d 100%) !important;
    border: 1px solid rgba(0, 229, 209, 0.3) !important;
    border-radius: 16px !important;
    padding: 30px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

.archive-title {
    color: #00e5d1 !important;
    font-weight: 800 !important;
    border-left: 4px solid #e91e78 !important;
    padding-left: 14px !important;
}

.archive-description p {
    color: #cbd5e1 !important;
    font-size: 15px !important;
}

.archive .posts .post,
.category .posts .post {
    background: #1c243d !important;
    border: 1px solid rgba(0, 229, 209, 0.22) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.archive .posts .post:hover,
.category .posts .post:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(0, 229, 209, 0.6) !important;
    box-shadow: 0 16px 36px rgba(0, 229, 209, 0.2) !important;
}

.archive .post-title,
.archive .post-title a,
.category .post-title,
.category .post-title a {
    color: #ffffff !important;
    font-weight: 800 !important;
}

.archive .post:hover .post-title a,
.category .post:hover .post-title a {
    color: #00e5d1 !important;
}

.archive .post-excerpt p,
.category .post-excerpt p {
    color: #cbd5e1 !important;
}

.archive .post-meta,
.category .post-meta,
.archive .post-meta a,
.category .post-meta a {
    color: #94a3b8 !important;
}

/* 4. Sleek Cyber Contact Form */
.contact-form label {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    margin-bottom: 6px !important;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="url"],
.contact-form textarea {
    background: #111728 !important;
    border: 1px solid rgba(0, 229, 209, 0.3) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="url"]:focus,
.contact-form textarea:focus {
    border-color: #00e5d1 !important;
    box-shadow: 0 0 12px rgba(0, 229, 209, 0.35) !important;
    outline: none !important;
}

.contact-form .pushbutton-wide,
.contact-form button[type="submit"],
.contact-form input[type="submit"] {
    background: linear-gradient(90deg, #00e5d1, #e91e78) !important;
    color: #080b14 !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    border: none !important;
    padding: 12px 30px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(0, 229, 209, 0.35) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.contact-form .pushbutton-wide:hover,
.contact-form button[type="submit"]:hover,
.contact-form input[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(233, 30, 120, 0.4) !important;
}

/* Hide Jetpack Likes / Social flair on custom pages */
#jp-post-flair,
.sharedaddy {
    display: none !important;
}



/* V3 Subpages Full Reset Override */
.page-template-full-width-page article,
.page-template-full-width-page .hentry,
.page-template-full-width-page .page,
.page-template-full-width-page .post-content,
.page-id-3056 article,
.page-id-3056 .hentry,
.page-id-3056 .page,
.page-id-3056 .post-content,
.page-id-10013 article,
.page-id-10013 .hentry,
.page-id-10013 .page,
.page-id-10013 .post-content,
.page-id-3 article,
.page-id-3 .hentry,
.page-id-3 .page,
.page-id-3 .post-content {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.page-id-3056 .post-header,
.page-id-10013 .post-header,
.page-id-3 .post-header,
.page-template-full-width-page .post-header {
    display: none !important;
}



/* Card Text Contrast & Subpage Card Enhancements */
.archive .post .post-title a,
.category .post .post-title a,
.blog .post .post-title a,
.page-id-3056 article .entry-title a,
.page-id-10013 article .entry-title a {
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6) !important;
}
.archive .post .post-title a:hover,
.category .post .post-title a:hover,
.blog .post .post-title a:hover,
.page-id-3056 article .entry-title a:hover,
.page-id-10013 article .entry-title a:hover {
    color: #00e5d1 !important;
}
.archive .post .post-excerpt p,
.category .post .post-excerpt p,
.page-id-3056 article .entry-summary p,
.page-id-10013 article .entry-summary p,
.page-id-10013 article p {
    color: #c4d1e6 !important;
}
.archive .post,
.category .post,
.page-id-3056 article:not(.page),
.page-id-10013 article:not(.page) {
    background: #141a2e !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}


/* ========================================================
   RDG V3 PRECISION REFINEMENTS
   ======================================================== */

/* 1. Page 28929 (High Tech) Full-Width Reset */
.page-id-28929.page-template-full-width-page .site-content,
.page-id-28929 .content-area,
.page-id-28929 .site-main,
.page-id-28929 article.hentry,
.page-id-28929 .post,
.page-id-28929 .page,
.page-id-28929 .post-content,
.page-id-28929 .entry-content,
.page-id-28929 .section-inner {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  margin-top: 0 !important;
}

.page-id-28929 .page-header,
.page-id-28929 .entry-header,
.page-id-28929 .post-title,
.page-id-28929 h1.entry-title {
  display: none !important;
}

/* 2. Platform Badges on Game Cards */
.pulse-games-section .wp-block-post figure.wp-block-post-featured-image {
  position: relative !important;
}

.pulse-games-section .wp-block-post figure.wp-block-post-featured-image::after {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  z-index: 5 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6) !important;
}

.pulse-games-section .wp-block-post:has(a[href*="lets-sing-abba"]) figure.wp-block-post-featured-image::after {
  content: " SWITCH" !important;
  background: #e60012 !important;
  color: #ffffff !important;
  border: 1px solid #ff4d5a !important;
  box-shadow: 0 0 15px rgba(230, 0, 18, 0.6) !important;
}


.pulse-games-section .wp-block-post:has(a[href*="lets-sing-2027"]) figure.wp-block-post-featured-image::after,
.pulse-games-section .wp-block-post:has(a[href*="tormented-souls"]) figure.wp-block-post-featured-image::after,
.pulse-games-section .wp-block-post:has(a[href*="dragon-quest"]) figure.wp-block-post-featured-image::after,
.pulse-games-section .wp-block-post:has(a[href*="elden-ring"]) figure.wp-block-post-featured-image::after,
.pulse-games-section .wp-block-post:has(a[href*="aggelos"]) figure.wp-block-post-featured-image::after {
  content: " SWITCH 2" !important;
  background: linear-gradient(135deg, rgba(255, 0, 85, 0.95), rgba(0, 229, 255, 0.95)) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 0 15px rgba(255, 0, 85, 0.7) !important;
}

.pulse-games-section .wp-block-post:has(a[href*="football-manager"]) figure.wp-block-post-featured-image::after,
.pulse-games-section .wp-block-post:has(a[href*="warehouse-catastrophe"]) figure.wp-block-post-featured-image::after,
.pulse-games-section .wp-block-post:has(a[href*="gears-of-war"]) figure.wp-block-post-featured-image::after {
  content: " PC" !important;
  background: rgba(16, 185, 129, 0.95) !important;
  color: #ffffff !important;
  border: 1px solid #34d399 !important;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.7) !important;
}

.pulse-games-section .wp-block-post:has(a[href*="final-fantasy"]) figure.wp-block-post-featured-image::after,
.pulse-games-section .wp-block-post:has(a[href*="kingdom-hearts"]) figure.wp-block-post-featured-image::after,
.pulse-games-section .wp-block-post:has(a[href*="walking-dead"]) figure.wp-block-post-featured-image::after,
.pulse-games-section .wp-block-post:has(a[href*="dragons-dogma"]) figure.wp-block-post-featured-image::after,
.pulse-games-section .wp-block-post:has(a[href*="dynasty-warriors"]) figure.wp-block-post-featured-image::after,
.pulse-games-section .wp-block-post:has(a[href*="my-hero-academia"]) figure.wp-block-post-featured-image::after {
  content: " PS5 / MULTI" !important;
  background: rgba(0, 102, 255, 0.95) !important;
  color: #ffffff !important;
  border: 1px solid #60a5fa !important;
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.7) !important;
}




/* 4. LECTURE Page (/lecture/) Zig-Zag Alternating Chronicle Cards */
.rdg-lecture-zigzag .wp-block-post-template {
  display: flex !important;
  flex-direction: column !important;
  gap: 28px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.rdg-lecture-zigzag .wp-block-post {
  display: grid !important;
  grid-template-columns: 220px 1fr !important;
  gap: 28px !important;
  align-items: center !important;
  background: rgba(18, 12, 30, 0.85) !important;
  border: 1px solid rgba(233, 30, 120, 0.35) !important;
  border-radius: 18px !important;
  padding: 24px 28px !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(233, 30, 120, 0.15) !important;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.rdg-lecture-zigzag .wp-block-post:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(255, 92, 161, 0.75) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(233, 30, 120, 0.4) !important;
}

.rdg-lecture-zigzag .wp-block-post:nth-child(even) {
  grid-template-columns: 1fr 220px !important;
}

.rdg-lecture-zigzag .wp-block-post:nth-child(even) .wp-block-post-featured-image {
  order: 2 !important;
}

.rdg-lecture-zigzag .wp-block-post:nth-child(even) .wp-block-post-title,
.rdg-lecture-zigzag .wp-block-post:nth-child(even) .wp-block-post-excerpt,
.rdg-lecture-zigzag .wp-block-post:nth-child(even) .wp-block-post-date {
  order: 1 !important;
}

.rdg-lecture-zigzag .wp-block-post-featured-image {
  margin: 0 !important;
  text-align: center !important;
}

.rdg-lecture-zigzag .wp-block-post-featured-image img {
  width: auto !important;
  max-width: 200px !important;
  max-height: 280px !important;
  object-fit: contain !important;
  border-radius: 10px !important;
  border: 2px solid rgba(255, 92, 161, 0.6) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.65), 0 0 20px rgba(233, 30, 120, 0.4) !important;
  transition: transform 0.3s ease !important;
}

.rdg-lecture-zigzag .wp-block-post:hover .wp-block-post-featured-image img {
  transform: scale(1.04) !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.75), 0 0 30px rgba(255, 92, 161, 0.6) !important;
}

.rdg-lecture-zigzag .wp-block-post-title {
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  margin: 0 0 12px 0 !important;
}

.rdg-lecture-zigzag .wp-block-post-title a {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.rdg-lecture-zigzag .wp-block-post-title a:hover {
  color: #ff5ca1 !important;
}

.rdg-lecture-zigzag .wp-block-post-excerpt {
  margin: 0 0 12px 0 !important;
}

.rdg-lecture-zigzag .wp-block-post-excerpt p {
  color: #f1b0cd !important;
  font-size: 1.05rem !important;
  font-style: italic !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

.rdg-lecture-zigzag .wp-block-post-date time {
  color: #a78bfa !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
}

@media (max-width: 768px) {
  .rdg-lecture-zigzag .wp-block-post,
  .rdg-lecture-zigzag .wp-block-post:nth-child(even) {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }
  .rdg-lecture-zigzag .wp-block-post:nth-child(even) .wp-block-post-featured-image {
    order: 0 !important;
  }
}




/* ==========================================================================
   V3 - UPGRADE RUBRIQUE LECTURE (ACCUEIL & PAGE LECTURE)
   ========================================================================== */

/* --- A. PAGE D'ACCUEIL : RUBRIQUE LECTURE (.pulse-lecture) --- */

.pulse-lecture .wp-block-post-template {
    display: grid !important;
    grid-template-columns: 1.35fr 1fr !important;
    gap: 2rem !important;
    align-items: stretch !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 1.5rem 0 0 0 !important;
}

@media (max-width: 800px) {
    .pulse-lecture .wp-block-post-template {
        grid-template-columns: 1fr !important;
    }
}

.pulse-lecture .wp-block-post-template > li.wp-block-post {
    background: linear-gradient(135deg, rgba(82, 28, 68, 0.95) 0%, rgba(38, 16, 42, 0.95) 100%) !important;
    border: 1px solid rgba(224, 60, 138, 0.35) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(224, 60, 138, 0.15) !important;
    padding: 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.pulse-lecture .wp-block-post-template > li.wp-block-post:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(224, 60, 138, 0.7) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 30px rgba(224, 60, 138, 0.35) !important;
}

.pulse-lecture .wp-block-post-template > li:first-child {
    border: 2px solid rgba(224, 60, 138, 0.6) !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5), 0 0 30px rgba(224, 60, 138, 0.3) !important;
    padding: 1.75rem !important;
}

.pulse-lecture .wp-block-post-featured-image {
    margin: 0 auto 1.25rem auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}

.pulse-lecture .wp-block-post-featured-image a {
    display: block !important;
    text-align: center !important;
    margin: 0 auto !important;
}

.pulse-lecture .wp-block-post-featured-image img {
    object-fit: contain !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.65) !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

.pulse-lecture .wp-block-post-template > li:first-child .wp-block-post-featured-image img {
    max-height: 380px !important;
}

.pulse-lecture .wp-block-post-template > li:nth-child(2) .wp-block-post-featured-image img {
    max-height: 280px !important;
}

.pulse-lecture .wp-block-post-template > li.wp-block-post:hover .wp-block-post-featured-image img {
    transform: scale(1.02) !important;
}

.pulse-lecture .wp-block-post-title {
    margin: 0.5rem 0 !important;
    padding: 0 !important;
}

.pulse-lecture .wp-block-post-title a {
    color: #ffffff !important;
    font-family: Montserrat, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.pulse-lecture .wp-block-post-template > li:first-child .wp-block-post-title a {
    font-size: 1.45rem !important;
}

.pulse-lecture .wp-block-post-template > li:nth-child(2) .wp-block-post-title a {
    font-size: 1.15rem !important;
}

.pulse-lecture .wp-block-post-title a:hover {
    color: #ff80bf !important;
}

.pulse-lecture .wp-block-post-excerpt,
.pulse-lecture .wp-block-post-excerpt p {
    color: #ffd6ec !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    font-style: italic !important;
    margin: 0.5rem 0 1rem 0 !important;
}

.pulse-lecture .wp-block-post-date {
    color: #ff80bf !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-top: auto !important;
}

/* --- B. SOUS-PAGE LECTURE (/lecture/ — .rdg-lecture-zigzag) --- */

.rdg-lecture-zigzag > .wp-block-post-template > li.wp-block-post,
.rdg-lecture-zigzag .wp-block-post-template > li {
    background: linear-gradient(135deg, rgba(82, 28, 68, 0.95) 0%, rgba(38, 16, 42, 0.95) 100%) !important;
    border: 1px solid rgba(224, 60, 138, 0.35) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(224, 60, 138, 0.15) !important;
    margin-bottom: 2.5rem !important;
    padding: 2rem !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.rdg-lecture-zigzag > .wp-block-post-template > li.wp-block-post:hover,
.rdg-lecture-zigzag .wp-block-post-template > li:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(224, 60, 138, 0.7) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 30px rgba(224, 60, 138, 0.35) !important;
}

.rdg-lecture-zigzag .wp-block-post-featured-image {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
}

.rdg-lecture-zigzag .wp-block-post-featured-image img {
    object-fit: contain !important;
    max-height: 400px !important;
    width: auto !important;
    max-width: 100% !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65) !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

.rdg-lecture-zigzag .wp-block-post-template > li:hover .wp-block-post-featured-image img {
    transform: scale(1.02) !important;
}

.rdg-lecture-zigzag .wp-block-post-title {
    margin: 0.5rem 0 1rem 0 !important;
}

.rdg-lecture-zigzag .wp-block-post-title a {
    color: #ffffff !important;
    font-family: Montserrat, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 800 !important;
    font-size: 1.5rem !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.rdg-lecture-zigzag .wp-block-post-title a:hover {
    color: #ff80bf !important;
}

.rdg-lecture-zigzag .wp-block-post-excerpt,
.rdg-lecture-zigzag .wp-block-post-excerpt p {
    color: #ffd6ec !important;
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    font-style: italic !important;
    margin: 1rem 0 !important;
}

.rdg-lecture-zigzag .wp-block-post-date {
    color: #ff80bf !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    display: block !important;
    margin-top: 1rem !important;
}


/* ==========================================================================
   PERFECTIONNEMENT FINAL RUBRIQUE LECTURE (ACCUEIL & SOUS-PAGE)
   ========================================================================== */

/* --- A. ACCUEIL : .pulse-lecture (RESET TOTAL & MISE EN PAGE) --- */
.pulse-lecture .wp-block-post-template {
    display: grid !important;
    grid-template-columns: 1.35fr 1fr !important;
    gap: 2rem !important;
    align-items: stretch !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 1.5rem 0 0 0 !important;
}

@media (max-width: 800px) {
    .pulse-lecture .wp-block-post-template {
        grid-template-columns: 1fr !important;
    }
}

.pulse-lecture .wp-block-post-template > li,
.pulse-lecture .wp-block-post-template > li:first-child,
.pulse-lecture .wp-block-post-template > li:nth-child(2) {
    background: linear-gradient(135deg, rgba(82, 28, 68, 0.95) 0%, rgba(38, 16, 42, 0.95) 100%) !important;
    border: 1px solid rgba(224, 60, 138, 0.35) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(224, 60, 138, 0.15) !important;
    padding: 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 100% !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    position: relative !important;
    overflow: visible !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.pulse-lecture .wp-block-post-template > li:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(224, 60, 138, 0.7) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 30px rgba(224, 60, 138, 0.35) !important;
}

.pulse-lecture .wp-block-post-template > li:first-child {
    border: 2px solid rgba(224, 60, 138, 0.6) !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5), 0 0 30px rgba(224, 60, 138, 0.3) !important;
    padding: 1.75rem !important;
}

.pulse-lecture .wp-block-post-template > li .wp-block-post-featured-image,
.pulse-lecture .wp-block-post-template > li:first-child .wp-block-post-featured-image,
.pulse-lecture .wp-block-post-template > li:nth-child(2) .wp-block-post-featured-image {
    grid-column: auto !important;
    grid-row: auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto 1.25rem auto !important;
    padding: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    position: static !important;
}

.pulse-lecture .wp-block-post-template > li .wp-block-post-featured-image a,
.pulse-lecture .wp-block-post-template > li:first-child .wp-block-post-featured-image a,
.pulse-lecture .wp-block-post-template > li:nth-child(2) .wp-block-post-featured-image a {
    display: inline-block !important;
    height: auto !important;
    width: auto !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.pulse-lecture .wp-block-post-template > li .wp-block-post-featured-image img,
.pulse-lecture .wp-block-post-template > li:first-child .wp-block-post-featured-image img,
.pulse-lecture .wp-block-post-template > li:nth-child(2) .wp-block-post-featured-image img {
    position: static !important;
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.65) !important;
    margin: 0 auto !important;
    border: none !important;
    transition: transform 0.3s ease !important;
}

.pulse-lecture .wp-block-post-template > li:first-child .wp-block-post-featured-image img {
    max-height: 380px !important;
}

.pulse-lecture .wp-block-post-template > li:nth-child(2) .wp-block-post-featured-image img {
    max-height: 280px !important;
}

.pulse-lecture .wp-block-post-template > li:hover .wp-block-post-featured-image img {
    transform: scale(1.02) !important;
}

.pulse-lecture .wp-block-post-template > li .wp-block-post-title,
.pulse-lecture .wp-block-post-template > li:first-child .wp-block-post-title,
.pulse-lecture .wp-block-post-template > li:nth-child(2) .wp-block-post-title {
    grid-column: auto !important;
    grid-row: auto !important;
    position: static !important;
    margin: 0.5rem 0 !important;
    padding: 0 !important;
    align-self: auto !important;
}

.pulse-lecture .wp-block-post-title a {
    color: #ffffff !important;
    font-family: Montserrat, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.pulse-lecture .wp-block-post-template > li:first-child .wp-block-post-title a {
    font-size: 1.45rem !important;
}

.pulse-lecture .wp-block-post-template > li:nth-child(2) .wp-block-post-title a {
    font-size: 1.15rem !important;
}

.pulse-lecture .wp-block-post-title a:hover {
    color: #ff80bf !important;
}

.pulse-lecture .wp-block-post-template > li .wp-block-post-excerpt,
.pulse-lecture .wp-block-post-template > li:first-child .wp-block-post-excerpt,
.pulse-lecture .wp-block-post-template > li:nth-child(2) .wp-block-post-excerpt {
    grid-column: auto !important;
    grid-row: auto !important;
    position: static !important;
    margin: 0.5rem 0 1rem 0 !important;
    padding: 0 !important;
}

.pulse-lecture .wp-block-post-excerpt,
.pulse-lecture .wp-block-post-excerpt p {
    color: #ffd6ec !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    font-style: italic !important;
    margin: 0 !important;
}

.pulse-lecture .wp-block-post-template > li .wp-block-post-date,
.pulse-lecture .wp-block-post-template > li:first-child .wp-block-post-date,
.pulse-lecture .wp-block-post-template > li:nth-child(2) .wp-block-post-date {
    grid-column: auto !important;
    grid-row: auto !important;
    position: static !important;
    margin-top: auto !important;
    padding: 0 !important;
}

.pulse-lecture .wp-block-post-date {
    color: #ff80bf !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}


/* --- B. SOUS-PAGE LECTURE (/lecture/ — .rdg-lecture-zigzag) --- */
.rdg-lecture-zigzag .wp-block-post-template {
    display: flex !important;
    flex-direction: column !important;
    gap: 2.5rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.rdg-lecture-zigzag .wp-block-post-template > li {
    background: linear-gradient(135deg, rgba(82, 28, 68, 0.95) 0%, rgba(38, 16, 42, 0.95) 100%) !important;
    border: 1px solid rgba(224, 60, 138, 0.35) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(224, 60, 138, 0.15) !important;
    padding: 2rem !important;
    display: grid !important;
    grid-template-columns: 280px 1fr !important;
    grid-template-rows: auto 1fr auto !important;
    gap: 1.25rem 2.5rem !important;
    align-items: center !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.rdg-lecture-zigzag .wp-block-post-template > li:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(224, 60, 138, 0.7) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 30px rgba(224, 60, 138, 0.35) !important;
}

.rdg-lecture-zigzag .wp-block-post-template > li .wp-block-post-featured-image {
    grid-column: 1 !important;
    grid-row: 1 / 4 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.rdg-lecture-zigzag .wp-block-post-template > li .wp-block-post-title {
    grid-column: 2 !important;
    grid-row: 1 !important;
    margin: 0 !important;
}

.rdg-lecture-zigzag .wp-block-post-template > li .wp-block-post-excerpt {
    grid-column: 2 !important;
    grid-row: 2 !important;
    margin: 0 !important;
}

.rdg-lecture-zigzag .wp-block-post-template > li .wp-block-post-date {
    grid-column: 2 !important;
    grid-row: 3 !important;
    margin: 0 !important;
}

/* ZIG-ZAG EVEN CARDS */
.rdg-lecture-zigzag .wp-block-post-template > li:nth-child(even) {
    grid-template-columns: 1fr 280px !important;
}

.rdg-lecture-zigzag .wp-block-post-template > li:nth-child(even) .wp-block-post-featured-image {
    grid-column: 2 !important;
    grid-row: 1 / 4 !important;
}

.rdg-lecture-zigzag .wp-block-post-template > li:nth-child(even) .wp-block-post-title {
    grid-column: 1 !important;
    grid-row: 1 !important;
}

.rdg-lecture-zigzag .wp-block-post-template > li:nth-child(even) .wp-block-post-excerpt {
    grid-column: 1 !important;
    grid-row: 2 !important;
}

.rdg-lecture-zigzag .wp-block-post-template > li:nth-child(even) .wp-block-post-date {
    grid-column: 1 !important;
    grid-row: 3 !important;
}

.rdg-lecture-zigzag .wp-block-post-featured-image a {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    text-align: center !important;
}

.rdg-lecture-zigzag .wp-block-post-featured-image img {
    object-fit: contain !important;
    max-height: 380px !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65) !important;
    display: block !important;
    margin: 0 auto !important;
    border: none !important;
    transition: transform 0.3s ease !important;
}

.rdg-lecture-zigzag .wp-block-post-template > li:hover .wp-block-post-featured-image img {
    transform: scale(1.02) !important;
}

.rdg-lecture-zigzag .wp-block-post-title a {
    color: #ffffff !important;
    font-family: Montserrat, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 800 !important;
    font-size: 1.5rem !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.rdg-lecture-zigzag .wp-block-post-title a:hover {
    color: #ff80bf !important;
}

.rdg-lecture-zigzag .wp-block-post-excerpt,
.rdg-lecture-zigzag .wp-block-post-excerpt p {
    color: #ffd6ec !important;
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    font-style: italic !important;
    margin: 0.5rem 0 !important;
}

.rdg-lecture-zigzag .wp-block-post-date,
.rdg-lecture-zigzag .wp-block-post-date time {
    color: #ff80bf !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

@media (max-width: 800px) {
    .rdg-lecture-zigzag .wp-block-post-template > li,
    .rdg-lecture-zigzag .wp-block-post-template > li:nth-child(even) {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto auto auto !important;
        text-align: center !important;
    }
    .rdg-lecture-zigzag .wp-block-post-template > li .wp-block-post-featured-image,
    .rdg-lecture-zigzag .wp-block-post-template > li:nth-child(even) .wp-block-post-featured-image {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }
    .rdg-lecture-zigzag .wp-block-post-template > li .wp-block-post-title,
    .rdg-lecture-zigzag .wp-block-post-template > li:nth-child(even) .wp-block-post-title {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }
    .rdg-lecture-zigzag .wp-block-post-template > li .wp-block-post-excerpt,
    .rdg-lecture-zigzag .wp-block-post-template > li:nth-child(even) .wp-block-post-excerpt {
        grid-column: 1 !important;
        grid-row: 3 !important;
    }
    .rdg-lecture-zigzag .wp-block-post-template > li .wp-block-post-date,
    .rdg-lecture-zigzag .wp-block-post-template > li:nth-child(even) .wp-block-post-date {
        grid-column: 1 !important;
        grid-row: 4 !important;
    }
}
/* Card 2 Title Overlay Reset */
.pulse-lecture .wp-block-post-title,
.pulse-lecture li .wp-block-post-title,
.pulse-lecture li:nth-child(2) .wp-block-post-title,
.pulse-secondary .wp-block-post-title {
    position: static !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 14px 0 8px 0 !important;
}

/* Remove dark overlay gradient on lecture card 2 */
.pulse-lecture .wp-block-post-template > li::after,
.pulse-lecture .wp-block-post-template > li:nth-child(2)::after {
    display: none !important;
    content: none !important;
}


/* Targeted Reset for Homepage Card 2 Title */
.pulse-lecture .wp-block-post-template > li:nth-child(2) .wp-block-post-title,
.pulse-lecture .wp-block-post-template > li:nth-child(2) h2.wp-block-post-title,
.pulse-lecture .wp-block-post-template > li .wp-block-post-title,
.pulse-lecture .wp-block-post-template > li h2.wp-block-post-title {
    background: transparent !important;
    background-color: transparent !important;
    min-height: auto !important;
    display: block !important;
    padding: 0 !important;
    margin: 14px 0 8px 0 !important;
    position: static !important;
}

.pulse-lecture .wp-block-post-template > li:nth-child(2) .wp-block-post-title a {
    color: #ffffff !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}