/* ==========================================================================
   XBOX HEBDO — Feuille de styles principale (HTML5 / CSS3 pur, sans framework)
   Prête à être déposée dans le dossier www d'un hébergement OVH
   ========================================================================== */

:root {
  /* Couleurs de fond et surfaces */
  --bg-page: #070a07;
  --bg-header: #0a0d0a;
  --bg-surface: #111612;
  --bg-surface-elevated: #151c16;
  --bg-surface-hover: #1a231b;
  --bg-panel-dark: #0d120e;

  /* Vert signature Xbox */
  --xbox-green: #32cf24;
  --xbox-green-bright: #4ce639;
  --xbox-green-deep: #107c10;
  --xbox-green-dark: #0c3d0e;
  --xbox-glow: rgba(50, 207, 36, 0.38);
  --xbox-glow-soft: rgba(50, 207, 36, 0.16);

  /* Textes */
  --text-primary: #f4f7f4;
  --text-secondary: #b6c2b8;
  --text-muted: #849287;

  /* Bordures */
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-green: rgba(76, 230, 57, 0.52);
  --border-green-soft: rgba(76, 230, 57, 0.28);

  /* Réseaux sociaux */
  --discord-start: #6875f5;
  --discord-end: #4b57d6;
  --youtube-start: #f0382e;
  --youtube-end: #bd1b1b;

  /* Typographies */
  --font-display: "Outfit", system-ui, -apple-system, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-serif-title: "Cinzel", Georgia, serif;

  /* Rayons & transitions */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --container-max: 1380px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  background-image:
    radial-gradient(ellipse 65% 32% at 85% 0%, rgba(36, 178, 28, 0.15), transparent 65%),
    radial-gradient(ellipse 50% 24% at 50% 100%, rgba(26, 145, 20, 0.12), transparent 70%);
  color: var(--text-primary);
  line-height: 1.45;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

:focus-visible {
  outline: 2px solid var(--xbox-green-bright);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: 24px;
}

/* ==========================================================================
   Boutons réutilisables & animations de survol
   ========================================================================== */
.btn-xbox {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: #ffffff;
  background: linear-gradient(180deg, #3bd92b 0%, #198c17 55%, #116e11 100%);
  border: 1px solid #69f257;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 18px rgba(50, 207, 36, 0.36);
  transition:
    transform 0.24s var(--ease-smooth),
    box-shadow 0.24s var(--ease-smooth),
    filter 0.24s var(--ease-smooth);
}

.btn-xbox:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    0 6px 26px rgba(76, 230, 57, 0.55);
}

.btn-xbox:active {
  transform: translateY(0) scale(0.985);
}

.btn-xbox .chevron-icon {
  transition: transform 0.24s var(--ease-smooth);
}

.btn-xbox:hover .chevron-icon {
  transform: translateX(3px);
}

.btn-pill-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: #d8f8d5;
  background: linear-gradient(180deg, rgba(24, 52, 24, 0.9) 0%, rgba(12, 28, 13, 0.95) 100%);
  border: 1px solid var(--border-green-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 0.22s var(--ease-smooth),
    border-color 0.22s var(--ease-smooth),
    background 0.22s var(--ease-smooth),
    box-shadow 0.22s var(--ease-smooth);
}

.btn-pill-dark:hover {
  transform: translateY(-1px);
  border-color: var(--xbox-green-bright);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(50, 207, 36, 0.28);
}

.btn-pill-dark .chevron-icon {
  color: var(--xbox-green-bright);
  transition: transform 0.22s var(--ease-smooth);
}

.btn-pill-dark:hover .chevron-icon {
  transform: translateX(3px);
}

/* ==========================================================================
   En-tête & Navigation principale
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 12, 9, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
}

/* Logo Xbox Hebdo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  padding-right: 18px;
  border-right: 1px solid var(--border-subtle);
}

.brand-mark {
  width: 42px;
  height: 32px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(50, 207, 36, 0.35));
  transition: transform 0.25s var(--ease-smooth);
}

.brand:hover .brand-mark {
  transform: scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-title .accent {
  color: var(--xbox-green-bright);
}

.brand-tagline {
  font-size: 0.68rem;
  color: var(--text-secondary);
  margin-top: 2px;
  letter-spacing: 0.01em;
}

/* Menu principal Desktop */
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: auto;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 7px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: #e6ede7;
  transition:
    color 0.2s var(--ease-smooth),
    background 0.2s var(--ease-smooth),
    border-color 0.2s var(--ease-smooth),
    box-shadow 0.2s var(--ease-smooth);
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(50, 207, 36, 0.12);
}

.nav-link.is-active {
  color: #ffffff;
  font-weight: 600;
  background: linear-gradient(180deg, rgba(44, 174, 34, 0.92) 0%, rgba(16, 108, 16, 0.96) 100%);
  border: 1px solid rgba(105, 242, 87, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 14px rgba(50, 207, 36, 0.35);
}

.nav-chevron {
  width: 12px;
  height: 12px;
  opacity: 0.78;
  transition: transform 0.22s var(--ease-smooth);
}

.nav-item.is-open .nav-chevron,
.nav-item:hover .nav-chevron {
  transform: rotate(180deg);
}

/* Sous-menus déroulants */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 210px;
  padding: 6px;
  border-radius: var(--radius-md);
  background: #101611;
  border: 1px solid var(--border-green-soft);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.2s var(--ease-smooth),
    transform 0.2s var(--ease-smooth),
    visibility 0.2s;
  z-index: 40;
}

.nav-item:hover .dropdown-menu,
.nav-item.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.87rem;
  color: var(--text-secondary);
  transition: background 0.18s, color 0.18s, padding-left 0.18s;
}

.dropdown-menu a:hover {
  background: rgba(50, 207, 36, 0.14);
  color: #ffffff;
  padding-left: 16px;
}

/* Actions à droite (Recherche + @XboxHebdo + Burger) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #141a15;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition:
    border-color 0.2s var(--ease-smooth),
    background 0.2s var(--ease-smooth),
    transform 0.2s var(--ease-smooth);
}

.icon-btn:hover {
  border-color: var(--xbox-green-bright);
  background: #1a241c;
  transform: translateY(-1px);
}

.social-handle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 15px;
  border-radius: 8px;
  background: linear-gradient(180deg, #121c13 0%, #0b120c 100%);
  border: 1px solid var(--border-green);
  box-shadow: 0 0 14px rgba(50, 207, 36, 0.18);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: #8df57f;
  transition:
    transform 0.22s var(--ease-smooth),
    box-shadow 0.22s var(--ease-smooth),
    border-color 0.22s var(--ease-smooth),
    color 0.22s;
}

.social-handle-btn svg {
  color: #ffffff;
  width: 15px;
  height: 15px;
}

.social-handle-btn:hover {
  transform: translateY(-2px);
  border-color: var(--xbox-green-bright);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(76, 230, 57, 0.36);
}

/* Bouton menu burger (mobile / tablette) */
.burger-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #141a15;
  border: 1px solid var(--border-subtle);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.2s, background 0.2s;
}

.burger-btn:hover {
  border-color: var(--xbox-green-bright);
  background: #1a241c;
}

.burger-line {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-primary);
  transition: transform 0.28s var(--ease-smooth), opacity 0.2s ease;
}

.burger-btn.is-active .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-btn.is-active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-btn.is-active .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Barre de recherche dépliable */
.search-drawer {
  max-height: 0;
  overflow: hidden;
  background: #0d130e;
  border-top: 1px solid transparent;
  transition: max-height 0.3s var(--ease-smooth), border-color 0.25s;
}

.search-drawer.is-open {
  max-height: 280px;
  border-top-color: var(--border-subtle);
}

.search-drawer-inner {
  padding: 14px 24px 18px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.search-form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.search-input {
  flex: 1;
  height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  background: #151e16;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-size: 0.94rem;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-input:focus {
  outline: none;
  border-color: var(--xbox-green-bright);
}

.search-results {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-result-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: #162118;
  border: 1px solid var(--border-green-soft);
  font-size: 0.82rem;
  color: #e4f5e3;
  transition: background 0.18s, border-color 0.18s;
}

.search-result-chip:hover {
  background: rgba(50, 207, 36, 0.22);
  border-color: var(--xbox-green-bright);
}

.search-empty {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Menu mobile déroulant */
.mobile-menu {
  display: none;
  background: #0c110d;
  border-top: 1px solid var(--border-subtle);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-smooth);
}

.mobile-menu.is-open {
  max-height: 85vh;
  overflow-y: auto;
}

.mobile-menu-inner {
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.2s, color 0.2s;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  background: rgba(50, 207, 36, 0.16);
  color: #ffffff;
}

.mobile-sublinks {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 0 8px 16px;
}

.mobile-sublinks a {
  padding: 7px 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-left: 2px solid var(--border-green-soft);
}

.mobile-sublinks a:hover {
  color: var(--xbox-green-bright);
  border-left-color: var(--xbox-green-bright);
}

.mobile-menu-footer {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 10px;
}

/* ==========================================================================
   Bannière Hero (Haute fidélité maquette)
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(76, 230, 57, 0.22);
  background-color: #050806;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-banner.jpg");
  background-size: auto 118%;
  background-position: right 36%;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 8, 6, 0.96) 0%,
      rgba(6, 10, 7, 0.88) 32%,
      rgba(6, 10, 7, 0.34) 60%,
      rgba(6, 10, 7, 0.08) 100%
    ),
    linear-gradient(180deg, rgba(6, 10, 7, 0.15) 0%, rgba(6, 10, 7, 0.05) 68%, rgba(7, 10, 7, 0.94) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 38px 24px 26px;
  min-height: 312px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.hero-copy {
  max-width: 530px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.65);
}

.hero-title .accent {
  color: var(--xbox-green-bright);
}

.hero-subtitle {
  margin-top: 12px;
  font-size: 1.05rem;
  color: #d4dfd5;
  max-width: 455px;
  line-height: 1.45;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

.hero-bottom-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 26px;
}

.hero-quick-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.quick-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: #eef5ee;
  padding: 5px 8px;
  border-radius: 7px;
  transition: color 0.2s, background 0.2s, transform 0.2s var(--ease-smooth);
}

.quick-link svg {
  width: 20px;
  height: 20px;
  color: var(--xbox-green-bright);
  flex-shrink: 0;
}

.quick-link:hover {
  color: #ffffff;
  background: rgba(50, 207, 36, 0.16);
  transform: translateY(-2px);
}

/* ==========================================================================
   Contenu principal — Titres de section & Grilles Bento
   ========================================================================== */
.main-content {
  padding: 24px 0 36px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.section-heading--bar::before {
  content: "";
  width: 4px;
  height: 22px;
  border-radius: 3px;
  background: linear-gradient(180deg, #5ef54b 0%, #1c9c1a 100%);
  box-shadow: 0 0 10px rgba(76, 230, 57, 0.65);
  flex-shrink: 0;
}

.section-heading-icon {
  width: 21px;
  height: 21px;
  color: var(--xbox-green-bright);
  flex-shrink: 0;
}

/* Rangée supérieure : À la Une | Dernières actualités | Xbox Game Pass */
.top-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.94fr 1.14fr;
  gap: 20px;
  align-items: stretch;
}

/* ==========================================================================
   Colonne 1 : À la Une (Carrousel interactif)
   ========================================================================== */
.featured-section {
  display: flex;
  flex-direction: column;
}

.featured-card {
  position: relative;
  flex: 1;
  min-height: 295px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #0d120e;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.featured-slides {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 295px;
}

.featured-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.48s var(--ease-smooth);
}

.featured-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.featured-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.65s var(--ease-smooth);
}

.featured-card:hover .featured-slide.is-active .featured-slide-img {
  transform: scale(1.04);
}

.featured-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 10, 8, 0.08) 0%, rgba(6, 10, 8, 0.48) 54%, rgba(6, 10, 8, 0.95) 100%),
    linear-gradient(90deg, rgba(6, 10, 8, 0.62) 0%, rgba(6, 10, 8, 0.12) 60%, transparent 100%);
}

.featured-logo-title {
  position: absolute;
  top: 22%;
  left: 20px;
  font-family: var(--font-serif-title);
  font-size: clamp(2.1rem, 3.2vw, 2.85rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(244, 240, 224, 0.95);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.72);
  pointer-events: none;
}

.featured-body {
  position: absolute;
  left: 18px;
  right: 74px;
  bottom: 28px;
  z-index: 2;
}

.badge-green {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(180deg, #38d628 0%, #178215 100%);
  box-shadow: 0 2px 10px rgba(50, 207, 36, 0.35);
}

.badge-outline {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6df05e;
  background: rgba(26, 98, 23, 0.45);
  border: 1px solid rgba(76, 230, 57, 0.35);
}

.featured-title {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 1.8vw, 1.52rem);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

.featured-excerpt {
  margin-top: 6px;
  font-size: 0.87rem;
  color: #d6e0d8;
  line-height: 1.4;
}

.featured-next-btn {
  position: absolute;
  right: 16px;
  bottom: 24px;
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 20, 12, 0.84);
  border: 2px solid var(--xbox-green-bright);
  color: var(--xbox-green-bright);
  box-shadow: 0 0 16px rgba(50, 207, 36, 0.35);
  transition: transform 0.22s var(--ease-smooth), background 0.22s, color 0.22s;
}

.featured-next-btn:hover {
  transform: scale(1.09);
  background: var(--xbox-green);
  color: #061206;
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.26);
  transition: width 0.24s var(--ease-smooth), background 0.24s, box-shadow 0.24s;
}

.carousel-dot.is-active {
  width: 22px;
  border-radius: 99px;
  background: var(--xbox-green-bright);
  box-shadow: 0 0 10px rgba(76, 230, 57, 0.7);
}

/* ==========================================================================
   Colonne 2 : Dernières actualités
   ========================================================================== */
.news-section {
  display: flex;
  flex-direction: column;
}

.news-list {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-item {
  display: grid;
  grid-template-columns: 122px 1fr;
  gap: 13px;
  align-items: center;
  padding: 11px 8px;
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 8px;
  transition: background 0.22s var(--ease-smooth), transform 0.22s var(--ease-smooth);
}

.news-item:first-child {
  padding-top: 2px;
}

.news-item:hover {
  background: rgba(50, 207, 36, 0.08);
  transform: translateX(3px);
}

.news-thumb {
  width: 122px;
  height: 76px;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0d160e;
  flex-shrink: 0;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease-smooth);
}

.news-item:hover .news-thumb img {
  transform: scale(1.07);
}

/* Vignette stylisée Game Pass fidèle à la maquette */
.gamepass-emblem-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px;
  background:
    radial-gradient(circle at 25% 50%, rgba(76, 230, 57, 0.5), transparent 65%),
    linear-gradient(135deg, #165e16 0%, #0a2a0b 65%, #071908 100%);
  border-color: rgba(76, 230, 57, 0.42);
}

.gamepass-emblem-thumb svg {
  width: 28px;
  height: 28px;
  color: #ffffff;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(76, 230, 57, 0.7));
}

.gamepass-emblem-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.76rem;
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-transform: uppercase;
}

.news-meta-title {
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.25;
  color: #f4f8f4;
  transition: color 0.2s;
}

.news-item:hover .news-meta-title {
  color: var(--xbox-green-bright);
}

.news-time {
  display: block;
  margin-top: 4px;
  font-size: 0.77rem;
  color: var(--text-muted);
}

.section-more-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-end;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--xbox-green-bright);
  transition: gap 0.2s var(--ease-smooth), color 0.2s;
}

.section-more-link:hover {
  gap: 8px;
  color: #98ff8a;
}

/* ==========================================================================
   Colonne 3 : Panneau Xbox Game Pass
   ========================================================================== */
.gamepass-panel {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, #101e12 0%, #0b110c 42%, #0b100c 100%);
  border: 1px solid var(--border-green);
  box-shadow:
    0 0 28px rgba(34, 178, 28, 0.16),
    inset 0 1px 0 rgba(120, 255, 105, 0.24);
}

.gamepass-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  background: linear-gradient(90deg, #1a661a 0%, #104212 58%, #0c260e 100%);
  border-bottom: 1px solid rgba(76, 230, 57, 0.35);
}

.gamepass-header svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
  flex-shrink: 0;
}

.gamepass-header h2 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  color: #ffffff;
}

.gamepass-columns {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  flex: 1;
  padding: 14px 12px 12px;
  gap: 10px;
}

.gamepass-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.gamepass-col:first-child {
  padding-right: 12px;
  border-right: 1px solid var(--border-subtle);
}

.gamepass-subhead {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: #e9f3ea;
  white-space: nowrap;
}

.gp-status-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}

.gp-status-icon--add {
  color: var(--xbox-green-bright);
  border: 1.5px solid var(--xbox-green-bright);
}

.gp-status-icon--leave {
  color: #c2d6c5;
  border: 1.5px solid #8ea692;
}

.gp-game {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px;
  border-radius: 8px;
  transition: background 0.2s var(--ease-smooth), transform 0.2s var(--ease-smooth);
}

.gp-game:hover {
  background: rgba(50, 207, 36, 0.12);
  transform: translateX(2px);
}

.gp-game img {
  width: 44px;
  height: 44px;
  border-radius: 7px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

.gp-game-info {
  min-width: 0;
}

.gp-game-title {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gp-game-date {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.gamepass-footer {
  padding: 12px 16px 15px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: center;
}

.gamepass-footer .btn-xbox {
  width: 100%;
  max-width: 290px;
  padding: 9px 18px;
  font-size: 0.9rem;
}

/* ==========================================================================
   Rangée inférieure : Tests | Dossiers | Sorties | Communauté
   ========================================================================== */
.bottom-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.06fr 1.12fr 0.78fr 0.9fr;
  gap: 20px;
  align-items: start;
}

.bottom-grid .section-heading {
  font-size: 1.16rem;
  white-space: nowrap;
}

/* Colonne 1 : Tests récents */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 3 / 4.25;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #101511;
  padding: 10px 8px;
  text-align: center;
  transition:
    transform 0.28s var(--ease-smooth),
    border-color 0.28s var(--ease-smooth),
    box-shadow 0.28s var(--ease-smooth);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--xbox-green-bright);
  box-shadow: 0 10px 26px rgba(50, 207, 36, 0.26);
}

.review-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-smooth);
}

.review-card:hover .review-card-img {
  transform: scale(1.07);
}

.review-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 8, 0.04) 22%, rgba(6, 10, 8, 0.72) 66%, rgba(6, 10, 8, 0.96) 100%);
}

.review-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.review-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.18;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.75);
}

.score-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 66px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(180deg, #43e033 0%, #1d9a1a 100%);
  box-shadow: 0 2px 10px rgba(50, 207, 36, 0.45);
}

.reviews-footer {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

/* Colonne 2 : Dossiers & Analyses */
.dossier-subsection {
  margin-top: 24px;
}

.dossiers-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dossier-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: center;
  padding: 9px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition:
    transform 0.24s var(--ease-smooth),
    border-color 0.24s var(--ease-smooth),
    background 0.24s;
}

.dossier-card:hover {
  transform: translateX(3px);
  border-color: var(--border-green);
  background: var(--bg-surface-hover);
}

.dossier-thumb {
  width: 92px;
  height: 58px;
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.dossier-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dossier-thumb.gamepass-emblem-thumb {
  padding: 4px;
}

.dossier-thumb.gamepass-emblem-thumb .gamepass-emblem-label {
  font-size: 0.72rem;
  text-align: center;
}

.dossier-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.24;
  color: #ffffff;
  transition: color 0.2s;
}

.dossier-card:hover .dossier-title {
  color: var(--xbox-green-bright);
}

.dossier-desc {
  margin-top: 3px;
  font-size: 0.77rem;
  color: var(--text-secondary);
  line-height: 1.32;
}

/* Colonne 3 : Sorties à venir */
.releases-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.release-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 6px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s var(--ease-smooth);
}

.release-item:hover {
  background: rgba(50, 207, 36, 0.08);
  transform: translateX(2px);
}

.date-badge {
  width: 50px;
  height: 44px;
  border-radius: 8px;
  background: #141a15;
  border: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1.05;
}

.date-day {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
}

.date-month {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.date-year {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.release-title {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  color: #ffffff;
}

.release-platforms {
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.release-info {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.release-image {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.releases-footer {
  margin-top: 12px;
}

/* Colonne 4 : Rejoignez la communauté */
.community-card {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.community-text {
  font-size: 0.88rem;
  color: #dbe5dc;
  line-height: 1.4;
  margin-bottom: 2px;
}

.social-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  transition:
    transform 0.24s var(--ease-smooth),
    box-shadow 0.24s var(--ease-smooth),
    filter 0.24s;
}

.social-cta svg {
  position: absolute;
  left: 14px;
  width: 19px;
  height: 19px;
}

.social-cta .soon-tag {
  font-weight: 400;
  font-size: 0.82rem;
  opacity: 0.92;
  margin-left: 4px;
}

.social-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.social-cta--x {
  background: linear-gradient(180deg, #111c12 0%, #09100a 100%);
  border: 1px solid var(--border-green);
  box-shadow: 0 0 14px rgba(50, 207, 36, 0.15);
}

.social-cta--x:hover {
  box-shadow: 0 6px 20px rgba(76, 230, 57, 0.34);
}

.social-cta--discord {
  background: linear-gradient(180deg, var(--discord-start) 0%, var(--discord-end) 100%);
  border: 1px solid rgba(154, 165, 255, 0.45);
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.32);
}

.social-cta--discord:hover {
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.5);
}

.social-cta--youtube {
  background: linear-gradient(180deg, var(--youtube-start) 0%, var(--youtube-end) 100%);
  border: 1px solid rgba(255, 130, 125, 0.45);
  box-shadow: 0 4px 16px rgba(229, 45, 39, 0.32);
}

.social-cta--youtube:hover {
  box-shadow: 0 8px 24px rgba(229, 45, 39, 0.5);
}

/* ==========================================================================
   Bandeau Communauté
   ========================================================================== */
.join-band {
  margin-top: 26px;
  padding: 16px 22px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 40% 100% at 88% 50%, rgba(50, 207, 36, 0.22), transparent 72%),
    linear-gradient(90deg, #0d1c0f 0%, #112413 55%, #0d1a0f 100%);
  border: 1px solid var(--border-green);
  box-shadow:
    0 0 28px rgba(50, 207, 36, 0.14),
    inset 0 1px 0 rgba(120, 255, 105, 0.22);
  display: grid;
  grid-template-columns: 386.328px minmax(0, 1fr) 404.984px;
  min-height: 94.421875px;
  align-items: center;
  gap: 20px;
}

.join-lead {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 20px;
  border-right: 1px solid var(--border-strong);
}

.join-lead svg {
  width: 34px;
  height: 34px;
  color: #ffffff;
  flex-shrink: 0;
}

.join-title {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

.join-desc {
  font-size: 0.9rem;
  color: #d6e4d8;
  line-height: 1.4;
}

.join-actions-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.join-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.join-account {
  flex: 1;
  min-width: 0;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 700;
  white-space: nowrap;
}

.join-actions .btn-xbox {
  height: 40px;
  padding: 0 18px;
  white-space: nowrap;
}

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #060906;
  padding: 20px 0 24px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 24px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .brand-mark {
  width: 36px;
  height: 28px;
}

.footer-brand .brand-title {
  font-size: 1.15rem;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.footer-links a {
  position: relative;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--xbox-green-bright);
}

.footer-links a:not(:last-child)::after {
  content: "|";
  margin-left: 14px;
  color: rgba(255, 255, 255, 0.22);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  color: #e6eee7;
  background: rgba(255, 255, 255, 0.04);
  transition: color 0.2s, background 0.2s, transform 0.2s var(--ease-smooth);
}

.footer-socials a:hover {
  color: var(--xbox-green-bright);
  background: rgba(50, 207, 36, 0.16);
  transform: translateY(-2px);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive — Tablettes & Mobiles
   ========================================================================== */
@media (max-width: 1220px) {
  .brand {
    padding-right: 12px;
  }

  .nav-link {
    padding: 8px 10px;
    font-size: 0.86rem;
  }

  .top-grid {
    grid-template-columns: 1.15fr 1fr;
  }

  .gamepass-panel {
    grid-column: 1 / -1;
  }

  .bottom-grid {
    grid-template-columns: 1fr 1fr;
  }

  .join-band {
    min-height: 176.578125px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .join-lead {
    border-right: none;
    padding-right: 0;
  }

  .join-title {
    white-space: normal;
  }

  .join-actions-wrap {
    align-items: stretch;
  }

  .join-actions {
    width: 100%;
  }

}

@media (max-width: 980px) {
  .join-band {
    min-height: 196.734375px;
  }

  .main-nav {
    display: none;
  }

  .burger-btn {
    display: inline-flex;
  }

  .mobile-menu {
    display: block;
  }

  .brand {
    border-right: none;
    padding-right: 0;
  }

  .top-grid {
    grid-template-columns: 1fr;
  }

  .featured-card,
  .featured-slides {
    min-height: 320px;
  }
}

@media (max-width: 680px) {
  .container {
    padding-inline: 16px;
  }

  .brand-tagline {
    display: none;
  }

  .social-handle-btn {
    display: none;
  }

  .hero-content {
    padding: 28px 16px 22px;
    min-height: 260px;
  }

  .hero-bg {
    background-size: cover;
    background-position: 70% center;
  }

  .gamepass-subhead,
  .bottom-grid .section-heading {
    white-space: normal;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(6, 10, 7, 0.72) 0%, rgba(6, 10, 7, 0.82) 60%, rgba(7, 10, 7, 0.96) 100%);
  }

  .hero-quick-links {
    gap: 6px 12px;
  }

  .quick-link {
    font-size: 0.84rem;
    padding: 4px 6px;
  }

  .featured-logo-title {
    top: 16%;
    font-size: 2rem;
  }

  .featured-body {
    right: 64px;
    bottom: 20px;
  }

  .news-item {
    grid-template-columns: 102px 1fr;
    gap: 10px;
  }

  .news-thumb {
    width: 102px;
    height: 68px;
  }

  .gamepass-columns {
    grid-template-columns: 1fr;
  }

  .gamepass-col:first-child {
    padding-right: 0;
    padding-bottom: 12px;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }

  .bottom-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .review-title {
    font-size: 0.78rem;
  }

  .score-pill {
    min-width: 56px;
    font-size: 0.76rem;
  }

  .join-band {
    min-height: 270.421875px;
    padding: 16px;
  }

  .join-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links a:not(:last-child)::after {
    margin-left: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   INTÉGRATION HEADLESS CMS WORDPRESS
   ========================================================================== */
.wp-status-banner {
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(205, 42, 42, 0.14);
  border: 1px solid rgba(240, 86, 86, 0.42);
  color: #ffd7d7;
  font-size: 0.88rem;
}

.wp-categories-bar {
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.wp-categories-scroll {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.wp-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-panel-dark);
  border: 1px solid var(--border-subtle);
  transition: background 0.2s var(--ease-smooth), border-color 0.2s, color 0.2s;
}

.wp-cat-pill:hover {
  color: var(--text-primary);
  border-color: var(--border-green-soft);
  background: var(--bg-surface-hover);
}

.wp-cat-pill.is-active {
  color: #061206;
  background: var(--xbox-green-bright);
  border-color: var(--xbox-green-bright);
}

.wp-cat-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
}

.wp-cat-pill.is-active .wp-cat-count {
  background: rgba(6, 18, 6, 0.2);
}

.wp-filtered-panel {
  margin-bottom: 26px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-green-soft);
}

.wp-filtered-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.wp-filtered-header .section-heading {
  margin-bottom: 0;
}

.wp-filtered-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.wp-post-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  transition: transform 0.22s var(--ease-smooth), border-color 0.22s;
}

.wp-post-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-green);
}

.wp-post-card-img {
  width: 100%;
  height: 155px;
  object-fit: cover;
}

.wp-post-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.wp-post-card-body .badge-outline {
  align-self: flex-start;
}

.featured-next-btn[hidden],
.carousel-dots[hidden] {
  display: none;
}

.wp-post-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.wp-post-card-excerpt {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.post-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.featured-body .post-meta-row {
  color: #cfe0d2;
  margin-top: 10px;
}

.post-author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--text-secondary);
}

.featured-body .post-author {
  color: #f4f7f4;
}

.post-author-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-green-soft);
}

.featured-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.wp-empty-state {
  grid-column: 1 / -1;
  padding: 18px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px dashed var(--border-strong);
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.5;
}

.gamepass-wp-posts {
  padding: 0 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 10px;
}

.wp-modal[hidden] {
  display: none;
}

.wp-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.wp-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 4, 0.82);
  backdrop-filter: blur(6px);
}

.wp-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-green-soft);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

.wp-modal-close {
  position: sticky;
  top: 12px;
  float: right;
  margin: 12px 12px 0 0;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  background: rgba(10, 13, 10, 0.85);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
}

.wp-modal-close:hover {
  border-color: var(--xbox-green-bright);
  color: var(--xbox-green-bright);
}

.wp-modal-cover img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}

.wp-modal-body {
  padding: 24px;
}

.wp-modal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.wp-modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

.wp-modal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.84rem;
  color: var(--text-muted);
}

.wp-article-content {
  margin-top: 18px;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.7;
}

.wp-article-content p,
.wp-article-content ul,
.wp-article-content ol,
.wp-article-content blockquote {
  margin-bottom: 14px;
}

.wp-article-content h2,
.wp-article-content h3 {
  font-family: var(--font-display);
  color: var(--text-primary);
  margin: 20px 0 10px;
}

.wp-article-content a {
  color: var(--xbox-green-bright);
  text-decoration: underline;
}

.wp-article-content img {
  border-radius: var(--radius-md);
  margin: 14px 0;
}

.wp-article-content hr {
  border: 0;
  border-top: 1px solid var(--border-subtle);
  margin: 22px 0;
}

.wp-modal-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}