/*
Theme Name: Play4Geek Theme
Description: ThÃ¨me personnalisÃ© optimisÃ© et responsive pour Play4Geek
Version: 1.1.1
Author: JÃ©rÃ©my MathÃ©ossian
Text Domain: play4geek
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 7.4
*/

:root {
    --bg-dark: #0e2038;
    --bg-blue: #1e73be;
    --bg-accent: #145982;
    --bg-light: #ebf2f8;
    --text-light: #f7f9fc;
    --text-dark: #111827;
    --border: rgba(255,255,255,0.08);
    --border-color: #d6e3f3;
    --surface-card: #ffffff;
    --surface-panel: #f6f9ff;
    --muted-text: #586b82;
    --link-color: var(--bg-accent);
    --link-hover-color: var(--bg-blue);
    --button-bg: #1e73be;
    --button-hover-bg: #145982;
    --badge-text: #145982;
    --theme-blue-light: color-mix(in srgb, var(--bg-blue) 62%, #ffffff);
    --theme-blue-soft: color-mix(in srgb, var(--bg-blue) 12%, transparent);
    --theme-blue-muted: color-mix(in srgb, var(--bg-blue) 22%, transparent);
    --theme-blue-deep: color-mix(in srgb, var(--bg-blue) 88%, var(--bg-dark));
    --theme-blue-shadow: color-mix(in srgb, var(--bg-blue) 35%, transparent);
    --theme-accent-soft: color-mix(in srgb, var(--bg-accent) 18%, transparent);
    --theme-gradient-hero: linear-gradient(135deg, var(--bg-dark), var(--bg-blue));
    --theme-gradient-vertical: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-accent) 100%);
    --theme-gradient-btn: linear-gradient(180deg, var(--bg-accent) 0%, var(--bg-blue) 100%);
    --theme-gradient-progress: linear-gradient(90deg, var(--bg-blue), var(--theme-blue-light));
    --theme-surface-deep: color-mix(in srgb, var(--bg-dark) 82%, var(--bg-blue));
    --font-sans: var(--wp--preset--font-family--roboto, Roboto, Arial, sans-serif);
    --p4g-sticky-site-header-height: 8.5rem;
}

/* Tokens mode sombre : html.theme-dark (+ play4geek_get_theme_dark_css_block). Pas de vars sur body.theme-dark seul. */
html.theme-dark body {
    background: #07172b;
    color: #dbe8ff;
}

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    margin-top: 0 !important;
}

body {
    font-family: var(--font-sans);
    margin: 0;
    padding: 0;
    background: var(--bg-light);
    color: var(--text-dark);
}

body.admin-bar {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#wpadminbar {
    display: none !important;
}

.site-header {
    background: var(--bg-dark);
    color: var(--text-light);
    position: sticky;
    top: 0;
    z-index: 200;
    margin-top: 0;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

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

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

.header-topbar {
    display: grid;
    grid-template-columns: minmax(0, auto) auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 4;
    overflow: visible;
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-left {
    grid-column: 1;
    justify-content: flex-start;
    min-width: 0;
    overflow: visible;
}

.header-right {
    grid-column: 4;
    justify-content: flex-end;
    overflow: visible;
}

.header-brand {
    grid-column: 2;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.header-livedirect {
    grid-column: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    padding-inline: clamp(0.5rem, 1.5vw, 1.25rem);
}

.menu-toggle,
.search-toggle,
.drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 50%;
    background: transparent;
    color: var(--text-light);
    font-size: 1rem;
    cursor: pointer;
}

.topbar-menu,
.category-menu,
.drawer-menu,
.header-right .social-links {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.topbar-menu li,
.category-menu li,
.drawer-menu li {
    margin: 0;
}

/* Liens header : mÃªme palette lisible que la barre Tendances (fond #513628, texte #f7f1ea, pilules) */
.header-topbar .topbar-menu-nav {
    min-width: 0;
    max-width: 100%;
    overflow: visible;
}

.header-topbar .topbar-menu {
    flex-wrap: nowrap;
    overflow: visible;
}

.header-topbar .topbar-menu > li {
    flex: 0 0 auto;
}

.header-topbar .topbar-menu > li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: #f7f1ea;
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.header-topbar .topbar-menu > li > a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.topbar-menu > li > a.has-nav-menu-icon,
.header-drawer .drawer-menu > li > a.has-nav-menu-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.topbar-menu .sub-menu li > a.has-nav-menu-icon,
.category-menu .sub-menu li > a.has-nav-menu-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.62rem;
}

.topbar-menu .sub-menu li > a .nav-menu-icon,
.category-menu .sub-menu li > a .nav-menu-icon {
    width: 1rem;
    min-width: 1rem;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.header-drawer .drawer-menu .sub-menu li > a.has-nav-menu-icon {
    display: flex;
    align-items: center;
    gap: 0.48rem;
}

.nav-menu-icon {
    flex-shrink: 0;
    width: 1.05em;
    text-align: center;
    line-height: 1;
    opacity: 0.94;
}

.nav-menu-icon::before {
    line-height: 1;
}

.header-topbar .topbar-menu .nav-menu-icon {
    font-size: 0.82rem;
}

.header-drawer .drawer-menu > li > a .nav-menu-icon {
    width: 1.15rem;
    font-size: 0.92rem;
    opacity: 1;
}

.header-drawer .drawer-menu > li > a.has-nav-menu-icon {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    box-sizing: border-box;
    padding: 0.62rem 0.72rem;
    border-radius: 12px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.95rem;
    font-weight: 700;
}

.header-drawer .drawer-menu > li.menu-item-has-children > a.has-nav-menu-icon,
.header-drawer .drawer-menu > li.menu-item-has-children > a {
    padding-right: 2.85rem;
}

.header-drawer .drawer-menu .menu-item-has-children {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    position: relative;
    width: 100%;
}

.header-drawer .drawer-menu .menu-item-has-children > a {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    box-sizing: border-box;
}

.header-drawer .drawer-menu .menu-item-has-children > .submenu-toggle {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    z-index: 2;
    margin: 0 0.55rem 0 0;
    flex-shrink: 0;
}

.header-drawer .drawer-menu .menu-item-has-children > .sub-menu {
    grid-column: 1 / -1;
    grid-row: 2;
}

.header-drawer .drawer-menu > li > a.has-nav-menu-icon .nav-menu-label {
    line-height: 1.2;
}

.header-drawer .drawer-menu .sub-menu li > a .nav-menu-icon {
    width: 1rem;
    min-width: 1rem;
    font-size: 0.82rem;
    opacity: 0.88;
    margin-right: 0;
}

.header-drawer .drawer-menu .sub-menu li > a.has-nav-menu-icon .nav-menu-label {
    line-height: 1.25;
}

.header-secondary .category-menu > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.45rem 0.72rem;
    border-radius: 999px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: #f7f1ea;
    background: rgba(255, 255, 255, 0.14);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.header-secondary .category-menu > li > a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

.header-drawer .drawer-menu > li > a {
    color: #f1f5f9;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
    transition: color 0.2s ease;
}

.header-drawer .drawer-menu > li > a:hover {
    color: #ffffff;
}

.header-topbar .topbar-menu > li > a:focus-visible,
.header-secondary .category-menu > li > a:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
    border-radius: 4px;
}

.custom-logo-link img,
.logo-mark {
    max-height: 56px;
    width: auto;
}

.header-brand [data-p4g-easter-tap="logo"],
.header-brand .custom-logo,
.header-brand .site-logo-image,
.header-brand .logo-mark {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

/* Fix: prevent double logo (light+dark) rendering */
.custom-logo-link img + img {
    display: none !important;
}

.site-logo-link--switchable img + img,
.site-logo-link--dual img + img {
    display: none !important;
}

/* Hard guard: masquer uniquement les images logo en double (évite de cacher l’img réelle si un lazy-load injecte un nœud avant). */
.header-brand .custom-logo-link img + img,
.header-brand .site-logo-link img + img,
.drawer-brand .custom-logo-link img + img,
.drawer-brand .site-logo-link img + img {
    display: none !important;
}

.header-brand .custom-logo-link,
.drawer-brand .custom-logo-link,
.header-brand .site-logo-link:not(.site-logo-link--switchable),
.drawer-brand .site-logo-link:not(.site-logo-link--switchable) {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 0;
    max-width: 100%;
}

.header-brand .custom-logo-link img.custom-logo,
.header-brand .site-logo-link img.custom-logo,
.header-brand .site-logo-link img.site-logo-image,
.drawer-brand .custom-logo-link img.custom-logo,
.drawer-brand .site-logo-link img.site-logo-image {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Ancien markup dual (2 img light/dark) : un seul visible selon le mode */
.site-logo-link--dual .site-logo-image--dark {
    display: none !important;
}

html.theme-dark .site-logo-link--dual .site-logo-image--light,
body.theme-dark .site-logo-link--dual .site-logo-image--light {
    display: none !important;
}

html.theme-dark .site-logo-link--dual .site-logo-image--dark,
body.theme-dark .site-logo-link--dual .site-logo-image--dark {
    display: block !important;
}

.site-logo-link--switchable,
.site-logo-link--dual {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    line-height: 0;
    max-width: 100%;
}

.site-logo-link--switchable .site-logo-image--switchable,
.site-logo-link--dual .site-logo-image {
    display: block !important;
    max-height: 56px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.header-brand .site-logo-link--switchable {
    height: 48px;
    max-width: min(240px, 100%);
}

.header-brand .site-logo-link--switchable .site-logo-image--switchable,
.header-brand .site-logo-link--dual .site-logo-image {
    max-height: 48px;
}

.drawer-brand .site-logo-link--switchable {
    height: 34px;
    max-width: min(200px, 100%);
}

.drawer-brand .site-logo-link--switchable .site-logo-image--switchable,
.header-drawer .drawer-brand .custom-logo,
.header-drawer .drawer-brand .site-logo-image--switchable {
    max-height: 34px;
}

.member-auth-logo .site-logo-image--switchable,
.member-auth-logo .site-logo-image {
    display: block !important;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--bg-blue);
    font-weight: 700;
}

.logo-text {
    margin-left: 0.85rem;
    font-size: 1.2rem;
    letter-spacing: 0.06em;
}

/* Fond pleine largeur ; contenu alignÃ© comme .hero-fullpage-inner / .site-main (1600px). */
.header-secondary {
    background: var(--bg-blue);
    padding: 0;
    min-width: 0;
    display: block;
    position: relative;
    z-index: 3;
    overflow: visible;
}

.header-secondary-inner {
    max-width: 1600px;
    width: min(100%, 1600px);
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem;
    min-width: 0;
    box-sizing: border-box;
}

.header-tendances-shortcut {
    flex: 0 0 auto;
    flex-shrink: 0;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    width: auto;
    max-width: none;
}

.header-secondary .category-menu-nav {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

.header-secondary .category-menu {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.55rem;
    width: max-content;
    min-width: max-content;
}

.header-secondary .category-menu li {
    flex: 0 0 auto;
}

.header-secondary .category-menu a {
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.09);
    transition: background 0.2s ease;
}

.header-secondary .category-menu a:hover {
    background: rgba(255,255,255,0.16);
}

.header-drawer {
    position: fixed;
    inset: 0;
    background: rgba(var(--drawer-overlay-rgb, 7, 21, 35), var(--drawer-overlay-opacity, 0.92));
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    display: flex;
    justify-content: flex-start;
    pointer-events: none;
}

.header-drawer.is-open {
    transform: translateX(0);
    pointer-events: auto;
}

.drawer-panel {
    width: min(320px, 90vw);
    height: 100%;
    padding: 1.5rem;
    background: var(--bg-dark);
    box-shadow: 24px 0 80px color-mix(in srgb, var(--drawer-shadow-color, #000000) 32%, transparent), 8px 0 28px color-mix(in srgb, var(--drawer-shadow-color, #000000) 18%, transparent);
    overflow-y: auto;
}

.drawer-close {
    margin-bottom: 1.25rem;
}

.drawer-brand {
    margin-bottom: 2rem;
}

.drawer-nav {
    display: grid;
    gap: 1rem;
}

.drawer-menu {
    flex-direction: column;
    gap: 0.85rem;
    list-style: disc inside;
}

.drawer-menu.secondary {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.drawer-menu li {
    margin-left: 0.5rem;
}

.drawer-menu li a {
    display: block;
    padding: 0.95rem 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 14px;
}

.drawer-menu.secondary li a {
    background: transparent;
}

.header-right .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #f7f1ea;
    font-size: 0.75rem;
}

/* â‰¤ ~27" (1920px) : masquer le menu horizontal du header ; au-dessus, menu horizontal + â˜° peuvent coexister. */
@media (max-width: 1920px) {
    .header-topbar .header-left .topbar-menu-nav,
    .header-topbar .header-left > nav.topbar-menu,
    .header-topbar .header-left nav .topbar-menu {
        display: none !important;
    }
}

@media (min-width: 1921px) {
    .header-topbar .topbar-menu-nav {
        overflow: visible;
    }
}

@media (max-width: 1024px) {
    .header-topbar {
        grid-template-columns: auto 1fr auto;
    }

    .header-left {
        grid-column: 1;
    }

    .header-brand {
        grid-column: 1 / -1;
        justify-self: center;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
    }

    .header-livedirect {
        display: none !important;
    }

    .header-right {
        grid-column: 3;
    }
}

@media (max-width: 720px) {
    .header-topbar {
        display: flex;
        justify-content: space-between;
    }

    .header-secondary-inner {
        padding: 0.65rem 1rem;
    }

    .header-secondary .category-menu > li {
        display: inline-flex;
    }
}

.category-menu {
    flex-wrap: wrap;
}

/* Barre Â« jeux tendances Â» : une seule ligne, dÃ©filement horizontal si besoin (voir bloc .header-secondary plus bas). */

.category-menu ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.category-menu li {
    list-style: none;
}

.category-menu a {
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.07);
}

.site-main {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem 4rem;
}

.error-404-page {
    max-width: 920px;
}

.error-404-card {
    background: #fff;
    border: 1px solid rgba(20, 89, 130, 0.14);
    border-radius: 20px;
    box-shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
    padding: 2rem 1.5rem;
    text-align: center;
}

.error-404-code {
    margin: 0;
    font-size: clamp(2.4rem, 8vw, 4.4rem);
    line-height: 1;
    font-weight: 800;
    color: var(--bg-blue);
}

.error-404-card h1 {
    margin: 0.4rem 0 0.6rem;
}

.error-404-text {
    margin: 0 auto;
    max-width: 620px;
    color: rgba(14, 32, 56, 0.78);
}

.error-404-actions {
    margin-top: 1rem;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
}

.error-404-btn {
    min-height: 40px;
    padding: 0.45rem 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(20, 89, 130, 0.2);
    background: #fff;
    color: #1f2937;
    font-weight: 700;
}

.error-404-btn.is-primary {
    border-color: color-mix(in srgb, var(--bg-blue) 35%, transparent);
    background: color-mix(in srgb, var(--bg-blue) 12%, transparent);
    color: #0f3f76;
}

.error-404-search {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(20, 89, 130, 0.12);
}

.error-404-search h2 {
    margin: 0 0 0.55rem;
    font-size: 1rem;
}

.error-404-search form {
    display: inline-flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    justify-content: center;
}

.single-article-page .article-layout,
.game-term-page .game-term-posts-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 0.9fr);
    gap: 2.5rem;
    min-width: 0;
    max-width: 100%;
}

.single-article-page .article-layout,
.single-article-page .single-article,
.single-article-page .single-article-content {
    min-width: 0;
    max-width: 100%;
}

.single-article-page {
    min-width: 0;
}

.single-article-page .article-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
    gap: 1.7rem;
    align-items: start;
}

.single-article-page .article-sidebar {
    position: sticky;
    top: calc(var(--p4g-sticky-site-header-height, 8.5rem) + 0.75rem);
    align-self: start;
    min-width: 0;
    max-width: 400px;
    width: 100%;
}

.single-article-page .article-sidebar > * {
    min-width: 0;
    max-width: 100%;
}

.single-article-page .article-sidebar .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0;
}

.single-article-page .article-sidebar .newsletter-form input[type="email"] {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.single-article-page .article-sidebar .newsletter-form button {
    width: 100%;
}

.single-article {
    background: var(--text-light);
    border-radius: 30px;
    box-shadow: 0 32px 100px rgba(15, 23, 42, 0.08);
    overflow: visible;
}

.single-article-cover img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    display: block;
}

.featured-image-figure {
    margin: 0;
    position: relative;
}

.article-cover-platforms {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 4;
    max-width: min(72%, calc(100% - 8rem));
    pointer-events: none;
}

.article-cover-platforms .game-sheet-platform-icons {
    margin: 0;
    justify-content: flex-start;
}

.article-cover-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    max-width: calc(100% - 2rem);
}

.single-article-category-badge--cover {
    margin: 0;
    box-shadow: 0 4px 16px rgba(8, 20, 38, 0.28);
    background: rgba(255, 255, 255, 0.96) !important;
    color: var(--bg-accent) !important;
    border-color: var(--bg-accent) !important;
}

.article-cover-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.6rem 1.8rem 1.2rem;
    background: linear-gradient(180deg, rgba(4, 10, 21, 0) 0%, rgba(4, 10, 21, 0.9) 80%);
}

.article-cover-overlay .single-article-title {
    margin: 0;
    color: #fff;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.single-article-header {
    padding: 2.2rem 2rem 1.8rem;
}

.single-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.article-game-label {
    display: inline-block;
    color: var(--bg-blue);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.article-game-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(30, 115, 190, 0.08);
    color: var(--bg-blue);
    font-size: 0.88rem;
}

.single-article-title {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.05;
}

.single-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    color: rgba(15, 23, 42, 0.66);
    font-size: 0.95rem;
}

.single-article-content {
    padding: 0 2rem 2.5rem;
    line-height: 1.95;
    color: rgba(15, 23, 42, 0.88);
    font-size: 1rem;
}

/* Blocs Gutenberg : colonne de contenu (theme.json) sans casser les alignements. */
.single-article-content .entry-content,
.single-article-content .wp-block-post-content,
.single-review-content .entry-content,
.single-review-content .wp-block-post-content {
    max-width: var(--wp--style--global--content-size, 920px);
    margin-left: auto;
    margin-right: auto;
}

.single-article-content .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.single-review-content .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: var(--wp--style--global--content-size, 920px);
    margin-left: auto;
    margin-right: auto;
}

.single-article-content > .alignwide,
.single-review-content > .alignwide,
.single-article-content .alignwide,
.single-review-content .alignwide {
    max-width: var(--wp--style--global--wide-size, 1280px);
    margin-left: auto;
    margin-right: auto;
}

/* Images centrÃ©es (Gutenberg). */
.single-article-content .wp-block-image.aligncenter,
.single-review-content .wp-block-image.aligncenter,
.single-article-content figure.wp-block-image.aligncenter,
.single-review-content figure.wp-block-image.aligncenter {
    display: table;
    width: auto;
    max-width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
}

.single-article-content .wp-block-image.aligncenter img,
.single-review-content .wp-block-image.aligncenter img,
.single-article-content figure.wp-block-image.aligncenter img,
.single-review-content figure.wp-block-image.aligncenter img {
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
}

.single-article-content .wp-block-image:not(.alignleft):not(.alignright):not(.alignwide):not(.alignfull),
.single-review-content .wp-block-image:not(.alignleft):not(.alignright):not(.alignwide):not(.alignfull) {
    max-width: 100%;
}

.single-article-content p {
    margin-bottom: 1.3rem;
}

.related-articles {
    padding: 0 2rem 2rem;
}

.related-articles h2 {
    margin: 0 0 1.25rem;
    font-size: 1.5rem;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.related-card {
    background: var(--bg-light);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
}

.related-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.related-card-body {
    padding: 1rem;
}

.related-card-body h3 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    line-height: 1.4;
}

.related-card-body p {
    margin: 0;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

.article-sidebar {
    display: grid;
    gap: 1.25rem;
    align-items: start;
}

.single-article-page .article-sidebar {
    position: sticky;
    top: calc(var(--p4g-sticky-site-header-height, 8.5rem) + 0.75rem);
    align-self: start;
    min-width: 0;
    max-width: 400px;
    width: 100%;
}

.game-sidebar-cover {
    width: 100%;
    overflow: hidden;
    border-radius: 22px;
    margin-bottom: 1rem;
}

.game-sidebar-cover img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.game-sidebar-card {
    background: var(--bg-dark);
    color: var(--text-light);
    border-radius: 28px;
    padding: 1.5rem;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
}

.game-sidebar-card-header {
    margin-bottom: 1.25rem;
}

.game-sidebar-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    color: var(--text-light);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.game-sidebar-card h2 {
    margin: 0.75rem 0 0;
    font-size: 1.6rem;
    line-height: 1.15;
}

.game-sidebar-description {
    margin: 0 0 1.4rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.85;
}

.game-sidebar-meta {
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.9rem;
}

.game-sidebar-meta li {
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.game-sidebar-meta li strong {
    font-weight: 700;
}

.game-sidebar-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 1.1rem;
    border-radius: 999px;
    background: var(--bg-blue);
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.game-sidebar-button:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

.game-term-hero {
    background: var(--text-light);
    padding: 2.5rem 0;
}

.game-term-hero-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.game-term-hero-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2.5rem;
    align-items: start;
}

.game-term-hero-image {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.game-term-cover-featured {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.15);
}

.game-term-cover-featured img {
    width: 100%;
    height: auto;
    display: block;
}

.game-term-hero-content {
    padding: 1rem;
}

.game-term-hero-title {
    margin: 1rem 0 0.75rem;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.1;
}

.game-term-label {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.75rem;
    opacity: 0.8;
}

.game-term-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.game-term-badge {
    display: inline-block;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(30, 115, 190, 0.1);
    color: var(--bg-blue);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.game-term-badge-hype {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.18), rgba(239, 68, 68, 0.16));
    color: #c2410c;
    border: 1px solid rgba(234, 88, 12, 0.3);
}

.game-term-hero-description {
    margin-bottom: 1.5rem;
    color: rgba(15, 23, 42, 0.8);
    line-height: 1.85;
}

/* Info Cards Grid */
.game-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-card {
    display: flex;
    gap: 0.85rem;
    padding: 0.95rem;
    background: rgba(30, 115, 190, 0.05);
    border-radius: 14px;
    border: 1px solid rgba(30, 115, 190, 0.1);
}

.info-card-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.info-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(15, 23, 42, 0.6);
    font-weight: 600;
}

.info-value {
    font-size: 0.95rem;
    color: rgba(15, 23, 42, 0.9);
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    text-transform: none;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--button-bg, var(--bg-blue));
    color: var(--button-text, var(--text-light));
}

.btn-primary:hover {
    background: var(--button-hover-bg, var(--bg-accent));
    color: var(--button-text, var(--text-light));
}

.btn-outline {
    background: transparent;
    border: 1px solid color-mix(in srgb, var(--bg-blue) 35%, transparent);
    color: var(--bg-blue);
}

.btn-outline:hover {
    background: color-mix(in srgb, var(--bg-blue) 10%, transparent);
    border-color: var(--bg-blue);
    color: var(--bg-blue);
}

@media (max-width: 1200px) {
    .game-term-hero-grid {
        grid-template-columns: 1fr;
    }
    .game-info-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .game-info-cards {
        grid-template-columns: 1fr;
    }
}

.game-term-posts {
    padding: 2.5rem 0;
}

.game-term-posts-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.game-term-posts h2 {
    margin: 0 0 0.5rem;
    font-size: 1.8rem;
}

.section-subtitle {
    color: rgba(15, 23, 42, 0.68);
    margin-bottom: 1.5rem;
}

.game-term-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.game-term-post-card {
    background: var(--surface-card);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.game-term-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 50px rgba(15, 23, 42, 0.12);
}

.post-card-image {
    position: relative;
    overflow: hidden;
    background: #f0f4f8;
    width: 100%;
    height: 200px;
}

.post-card-image img,
.post-card-image a {
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.post-card-image img {
    max-height: 100%;
}

.post-card-meta-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-date {
    display: inline-block;
    padding: 0.4rem 0.75rem;
    background: rgba(30, 115, 190, 0.9);
    color: var(--text-light);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.game-term-post-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.game-term-post-body h3 {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
    line-height: 1.35;
}

.game-term-post-body h3 a {
    color: var(--text-dark);
    transition: color 0.2s ease;
}

.game-term-post-card .post-read-more.game-term-post-read-more {
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--bg-accent);
}

.game-term-post-body h3 a:hover {
    color: var(--bg-blue);
}

.post-excerpt {
    margin: 0 0 1rem;
    color: rgba(15, 23, 42, 0.72);
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}

.post-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-top: 0.85rem;
    margin-top: auto;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: rgba(15, 23, 42, 0.7);
}

.post-author img {
    border-radius: 50%;
}

.read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-blue);
    color: var(--text-light);
    font-weight: 700;
    transition: opacity 0.2s ease;
}

.read-more:hover {
    opacity: 0.9;
}

.no-posts-message {
    grid-column: 1 / -1;
    padding: 2rem;
    text-align: center;
    color: var(--muted-text);
}

.game-term-gallery,
.game-term-videos {
    padding: 2rem 0 0;
}

.game-term-gallery-inner,
.game-term-videos-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Media Featured Section */
.game-term-media-featured {
    padding: 2.5rem 0;
    background: transparent;
}

.game-term-media-featured h2 {
    margin: 0 0 0.5rem;
    font-size: 1.8rem;
}

.game-gallery-grid,
.game-video-grid {
    display: grid;
    gap: 1rem;
}

.game-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.game-gallery-item {
    overflow: hidden;
    border-radius: 20px;
    background: var(--surface-card);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.game-gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.game-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.game-video-card {
    border-radius: 20px;
    overflow: hidden;
    background: #141c2d;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
    min-height: 260px;
}

/* Media collection styles */
.game-term-media-collection {
    padding: 2rem 0 0;
}
.media-gallery-grid,
.media-video-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.6rem;
}
.media-thumb {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.media-thumb img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    display: block;
}
.media-thumb .video-placeholder {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    background: linear-gradient(135deg, rgba(0,0,0,0.06), rgba(0,0,0,0.12));
    overflow: hidden;
}
.media-thumb .video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.media-thumb .video-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(12, 18, 32, 0.9);
    text-shadow: 0 1px 4px rgba(255,255,255,0.35);
}
.media-thumb .video-url-label {
    display: block;
    font-size: 0.75rem;
    text-align: center;
    color: var(--muted-text);
    padding: 0.35rem 0 0.25rem;
}

/* Lightbox modal */
.p4g-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(7, 12, 20, 0.78);
    z-index: 99999;
}
.p4g-lightbox.is-open { display: flex; }
.p4g-lightbox .lb-content {
    max-width: 1200px;
    width: 95%;
    max-height: 90vh;
    background: transparent;
}
.p4g-lightbox img,
.p4g-lightbox iframe {
    width: 100%;
    max-height: 80vh;
    display: block;
}
.p4g-lightbox img {
    height: auto;
}
.p4g-lightbox iframe {
    aspect-ratio: 16 / 9;
    height: min(72vh, calc(92vw * 0.5625));
}
.p4g-lightbox .lb-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: rgba(255,255,255,0.06);
    border: none;
    color: #fff;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    z-index: 3;
    line-height: 1;
}

.p4g-lightbox .lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, transform 0.15s ease;
}

.p4g-lightbox .lb-nav:hover,
.p4g-lightbox .lb-nav:focus-visible {
    background: rgba(255, 255, 255, 0.22);
    outline: none;
}

.p4g-lightbox .lb-prev {
    left: max(12px, env(safe-area-inset-left, 0px));
}

.p4g-lightbox .lb-next {
    right: max(12px, env(safe-area-inset-right, 0px));
}

.p4g-lightbox .lb-counter {
    position: absolute;
    left: 50%;
    bottom: max(18px, env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    margin: 0;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 3;
}

.p4g-lightbox .lb-content {
    position: relative;
    z-index: 2;
}

@media (max-width: 640px) {
    .p4g-lightbox .lb-nav {
        width: 42px;
        height: 42px;
        font-size: 1.15rem;
    }
}

@media (max-width: 900px) {
    .media-gallery-grid, .media-video-grid { grid-template-columns: repeat(3, 1fr); }
}

.game-video-card iframe,
.game-video-card embed,
.game-video-card object {
    width: 100%;
    height: 100%;
}

@media (max-width: 1080px) {
    .game-gallery-grid,
    .game-video-grid {
        grid-template-columns: 1fr;
    }
}

.game-module-section {
    width: 100%;
    background: var(--bg-light);
    padding: 2rem 0 1.5rem;
}

.game-module-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.game-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 1.25rem;
}

.game-card {
    background: var(--text-light);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.game-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.game-card-body {
    padding: 1.2rem 1.25rem 1.5rem;
}

.game-card-meta {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: var(--bg-blue);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.game-card-body h3 {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
    line-height: 1.35;
}

.game-card-body p {
    margin: 0;
    color: #526675;
    line-height: 1.7;
    font-size: 0.95rem;
}

.hero-fullpage {
    width: 100%;
    background: var(--bg-light);
    padding: 1.5rem 0 1.5rem;
}

.hero-fullpage-inner {
    max-width: 1600px;
    width: min(100%, 1600px);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-intro-bar {
    text-align: center;
    margin: 0 auto 1.5rem;
    color: #64748b;
    font-size: 0.95rem;
}

.home-footer-quote {
    padding: 0.8rem 1rem 1.25rem;
}

.home-footer-quote .hero-intro-bar {
    margin-bottom: 0;
}

.footer-quote-share-form {
    margin-top: 0.7rem;
}

.footer-quote-share-btn {
    min-height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(20, 89, 130, 0.24);
    background: rgba(20, 89, 130, 0.08);
    color: #1f2937;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
    cursor: pointer;
}

.footer-quote-share-btn:hover {
    background: rgba(20, 89, 130, 0.16);
}

.hero-quote {
    display: inline-grid;
    flex-direction: column;
    gap: 0.4rem;
    max-width: min(980px, 95vw);
    padding: 1.05rem 1.5rem;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255,255,255,0.85), rgba(255,255,255,0.72));
    border: 1px solid rgba(20, 89, 130, 0.15);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    position: relative;
    justify-items: center;
}

.hero-quote-text {
    margin: 0;
    color: var(--bg-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.02rem, 2.2vw, 1.22rem);
    font-weight: 600;
    line-height: 1.6;
    text-transform: none;
    letter-spacing: 0.01em;
    padding: 0 2rem;
    position: relative;
    text-align: center;
    max-width: 60ch;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-quote-author {
    color: #355477;
    font-size: 0.78rem;
    text-transform: none;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.9;
    position: relative;
    padding-top: 0.55rem;
}

.hero-quote-author::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(20, 89, 130, 0), rgba(20, 89, 130, 0.65), rgba(20, 89, 130, 0));
}

.hero-quote-text::before,
.hero-quote-text::after {
    position: absolute;
    top: -0.15rem;
    color: rgba(20, 89, 130, 0.3);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.2rem;
    line-height: 1;
}

.hero-quote-text::before {
    content: "“";
    left: 0;
}

.hero-quote-text::after {
    content: "”";
    right: 0;
}

.hero-article-module {
    --hero-main-height: 620px;
    --hero-side-row-height: 290px;
    display: grid;
    grid-template-columns: 1.7fr 1.3fr;
    gap: 2.4rem;
    width: 100%;
    padding: 1.25rem;
    box-sizing: border-box;
    align-items: stretch;
}

.hero-main-card,
.hero-side-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: var(--bg-dark);
    color: var(--text-light);
    isolation: isolate;
}

.hero-main-card {
    width: 100%;
    height: var(--hero-main-height, 620px);
    min-height: var(--hero-main-height, 620px);
    max-height: var(--hero-main-height, 620px);
    flex-shrink: 0;
}

.hero-main-card > a {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    overflow: hidden;
    margin: 0;
}

.hero-side-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
    height: var(--hero-main-height, 620px);
    min-height: var(--hero-main-height, 620px);
    max-height: var(--hero-main-height, 620px);
    padding: 0.75rem 0 0.25rem;
    box-sizing: border-box;
    align-self: stretch;
}

.hero-side-card {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    display: block;
    padding: 0;
}

.hero-side-card > a {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    overflow: hidden;
    margin: 0;
}

.hero-main-card .hero-main-image,
.hero-side-card .hero-side-image,
.hero-side-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-side-card .hero-side-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
}

.hero-main-meta,
.hero-side-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    padding: 1.5rem;
    background: linear-gradient(180deg, transparent 0%, rgba(7,21,35,0.95) 85%);
}

.hero-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    padding: 0.45em 0.9em;
    min-height: 2rem;
    background: var(--bg-blue);
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    box-sizing: border-box;
}

.hero-main-meta h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.9rem, 2vw, 2.5rem);
    line-height: 1.08;
}

.hero-main-meta p {
    margin: 0;
    max-width: 620px;
    color: rgba(255,255,255,0.88);
}

.hero-side-meta > span:not(.post-category) {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.9;
}

.hero-side-meta .hero-side-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.08;
}

.section-heading {
    margin-bottom: 1.5rem;
}

.section-heading span {
    display: block;
    font-size: 0.8rem;
    color: var(--bg-blue);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 0.5rem;
}

.section-heading h2 {
    margin: 0;
    font-size: 2rem;
    letter-spacing: -0.05em;
}

.news-grid {
    display: grid;
    grid-template-columns: 2.2fr 0.9fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: start;
}

.news-main {
    display: grid;
    gap: 1.5rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.post-card {
    background: var(--bg-dark);
    color: var(--text-light);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-section .post-card {
    overflow: hidden;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 90px rgba(15, 23, 42, 0.22);
}

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

.post-card-body {
    padding: 1.5rem;
}

.post-category,
.post-card .post-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    background: var(--badge-bg, #eef5ff);
    color: var(--badge-text);
    border: 1px solid color-mix(in srgb, var(--badge-text) 62%, transparent);
    border-radius: 999px;
    padding: 0.45em 0.95em;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.9rem;
    line-height: 1;
    box-shadow: none;
    min-height: 2rem;
    box-sizing: border-box;
    vertical-align: middle;
}

.post-category.has-platform i {
    font-size: 0.95em;
    opacity: 0.95;
}

.post-category-label,
.post-category a {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    line-height: 1.15;
    letter-spacing: inherit;
}

.post-category a:hover {
    text-decoration: underline;
}

.category-mag-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 0.35rem;
}

.category-mag-hero-badge {
    font-size: 0.82rem;
}

.hero-label.post-category,
.hero-side-label.post-category {
    margin-bottom: 0.55rem;
}

.hero-main-meta .post-category.hero-label,
.hero-main-meta .hero-label,
.hero-side-meta .post-category.hero-side-label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--bg-blue) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.38) !important;
    box-shadow: none !important;
    min-height: 2rem;
    padding: 0.45em 0.95em !important;
    line-height: 1 !important;
    letter-spacing: 0.1em !important;
    margin-bottom: 0.55rem !important;
}

.hero-main-meta .post-category .post-category-label,
.hero-main-meta .post-category a,
.hero-side-meta .post-category .post-category-label,
.hero-side-meta .post-category a {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.15 !important;
    letter-spacing: inherit !important;
    opacity: 1 !important;
    font-size: inherit !important;
    color: inherit !important;
    text-transform: inherit !important;
}

.related-card-category.post-category,
.game-sheet-news-category {
    margin-bottom: 0.45rem;
}

.single-article-category-badge {
    margin-bottom: 0.65rem;
}

.single-article-header .single-article-category-badge {
    margin-bottom: 0.65rem;
}

.post-promo-code {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 24px;
    margin: 0 0 0.7rem;
    padding: 0.14rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(234, 88, 12, 0.26);
    background: rgba(251, 146, 60, 0.14);
    color: #9a3412;
    font-size: 0.72rem;
    font-weight: 700;
}

.post-game-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.08);
    color: var(--bg-blue);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.post-card h2 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.35;
}

.post-card p {
    margin: 0.9rem 0 1.2rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
}

.post-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
}

.post-meta i {
    margin-right: 0.32rem;
    opacity: 0.85;
}

.post-views {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    font-weight: 400;
    color: inherit;
}

.post-views i {
    margin-right: 0;
    color: currentColor;
    opacity: 0.88;
    font-size: 1em;
    text-shadow: none;
    filter: none;
}

.news-sidebar {
    display: grid;
    gap: 1rem;
}

.post-card {
    background: var(--bg-dark);
    color: var(--text-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

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

.post-card-body {
    padding: 1.25rem;
}

.post-card .post-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--badge-bg, #eef5ff);
    color: var(--badge-text);
    border: 1px solid color-mix(in srgb, var(--badge-text) 62%, transparent);
    border-radius: 999px;
    padding: 0.45em 0.95em;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.85rem;
    line-height: 1;
    min-height: 2rem;
    box-shadow: none;
    box-sizing: border-box;
}

.post-card-body > .post-category .post-category-label,
.post-card-body > .post-category a {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    line-height: 1.15;
    color: inherit;
}

.post-card h2 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.3;
}

.post-card p {
    margin: 0.8rem 0 1rem;
    color: rgba(255,255,255,0.75);
}

.post-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
}

.meta-separator {
    color: rgba(255,255,255,0.3);
}

.blog-sidebar {
    display: grid;
    gap: 1rem;
}

.sidebar-panel {
    background: var(--bg-blue);
    color: var(--text-light);
    padding: 1.5rem;
    border-radius: 24px;
}

.sidebar-live {
    background: var(--theme-gradient-vertical);
}

.sidebar-live h3 {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.streamer-live-player {
    margin-bottom: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.streamer-inline-details {
    margin-top: 0.35rem;
}

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

.streamer-inline-player.is-collapsed {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}

.streamer-inline-player:not(.is-collapsed) {
    display: block;
    margin-top: 0.55rem;
}

.streamer-inline-player:not(.is-collapsed) .member-twitch-embed--player {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
}

.sidebar-live .streamer-inline-player {
    margin-top: 0.55rem;
    border: 0;
    padding: 0;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
}

.sidebar-live .streamer-inline-player:not(.is-collapsed) {
    display: block !important;
    height: auto !important;
    min-height: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.sidebar-live .streamer-inline-player .member-twitch-embed--player {
    position: relative;
    width: 100%;
    min-height: 180px;
    aspect-ratio: 16 / 9;
    border-color: rgba(255, 255, 255, 0.14);
    background: #0e0e10;
}

.sidebar-live .streamer-inline-player .member-twitch-embed--player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.sidebar-live label.streamer-play-button,
.sidebar-live button.streamer-play-button {
    cursor: pointer;
    font-family: inherit;
    line-height: 1.2;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
}

.streamer-inline-details > summary {
    list-style: none;
    cursor: pointer;
}

.streamer-inline-details > summary::-webkit-details-marker {
    display: none;
}

.streamer-inline-details:not([open]) .streamer-inline-player {
    display: none;
}

.streamer-inline-details[open] > summary {
    margin-bottom: 0.45rem;
}

.streamer-inline-details[open] .streamer-inline-player {
    display: block;
}

.streamer-inline-player {
    margin-top: 0.2rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.streamer-inline-player.is-collapsed {
    border: 0;
}

.streamer-inline-player:not(.is-collapsed) .streamer-live-embed {
    min-height: 180px;
}

.streamer-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.streamer-card-aside {
    flex: 0 0 auto;
    text-align: right;
    max-width: 42%;
}

.streamer-metric {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.92);
}

.streamer-metric--viewers {
    color: var(--bg-blue);
}

.streamer-metric--followers {
    color: rgba(255, 255, 255, 0.88);
}

.streamer-item.is-offline .streamer-status.is-offline {
    color: rgba(255, 255, 255, 0.62);
}

.streamer-item.is-live .streamer-status.is-live {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #ef4444;
    font-weight: 700;
}

.streamer-status.is-live .streamer-live-dot {
    display: inline-block;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: currentColor;
    color: #ef4444;
    flex-shrink: 0;
    animation: streamer-live-pulse 1.4s ease-in-out infinite;
}

@keyframes streamer-live-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.78);
    }
}

.streamer-actions {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
}

.streamer-game {
    flex: 1 1 auto;
    min-width: 0;
}

.play4geek-ad-slot {
    margin: 1rem auto;
    display: block;
    max-width: 100%;
    text-align: center;
}

.play4geek-ad-label {
    margin: 0 0 0.35rem;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: #374151;
}

.play4geek-ad-inner {
    display: inline-block;
    max-width: 100%;
    border: 1px dashed var(--border-color);
    border-radius: 10px;
    padding: 0.4rem;
    background: var(--surface-panel);
    width: min(100%, 100%);
    overflow: hidden;
}

.play4geek-ad-slot iframe,
.play4geek-ad-slot img,
.play4geek-ad-slot ins {
    max-width: 100%;
}

.play4geek-ad-slot iframe,
.play4geek-ad-slot img {
    width: 100%;
    height: auto;
}

.play4geek-ad-slot ins {
    display: block;
    margin: 0 auto;
}

.play4geek-ad-slot-video_slider {
    margin: 0;
    padding: 0;
    height: 0;
    overflow: visible;
}

.play4geek-ad-slot-video_slider .play4geek-ad-inner-video-slider {
    border: 0;
    padding: 0;
    background: transparent;
    display: block;
    width: auto;
    max-width: none;
    overflow: visible;
}

.play4geek-ad-inner-combined .play4geek-adcash-stack {
    margin-top: 0.75rem;
}

.play4geek-adcash-banner {
    display: block;
    width: 100%;
    min-height: 90px;
    margin: 0 auto;
}

.play4geek-ad-slot-sidebar .play4geek-adcash-banner {
    min-height: 250px;
}

@media (max-width: 900px) {
    .play4geek-ad-slot {
        margin: 0.85rem auto;
        width: min(100%, calc(100% - 1rem));
    }

    .play4geek-ad-inner {
        padding: 0.3rem;
        border-radius: 8px;
    }
}

@media (max-width: 560px) {
    .play4geek-ad-label {
        font-size: 0.62rem;
        letter-spacing: 0.09em;
    }

    .play4geek-ad-slot {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .ad-slot-under-header,
    .ad-slot-above-footer {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        overflow-x: clip;
    }

    .ad-slot-under-header .play4geek-ad-inner,
    .ad-slot-above-footer .play4geek-ad-inner {
        width: 100%;
        max-width: 100%;
        min-height: 90px;
        height: auto;
    }

    .ad-slot-under-header .play4geek-ad-inner iframe,
    .ad-slot-under-header .play4geek-ad-inner img,
    .ad-slot-under-header .play4geek-ad-inner ins,
    .ad-slot-above-footer .play4geek-ad-inner iframe,
    .ad-slot-above-footer .play4geek-ad-inner img,
    .ad-slot-above-footer .play4geek-ad-inner ins,
    .play4geek-ad-slot-header_below .play4geek-ad-inner ins,
    .play4geek-ad-slot-footer_above .play4geek-ad-inner ins {
        width: 100% !important;
        max-width: 100%;
        min-width: 280px;
        min-height: 50px;
        height: auto !important;
        max-height: none;
    }

    .ad-slot-under-header .play4geek-ad-inner .play4geek-adcash-mount,
    .ad-slot-above-footer .play4geek-ad-inner .play4geek-adcash-mount,
    .play4geek-ad-slot-header_below .play4geek-ad-inner .play4geek-adcash-mount,
    .play4geek-ad-slot-footer_above .play4geek-ad-inner .play4geek-adcash-mount {
        width: 100%;
        min-height: 50px;
        display: block;
    }
}

/* Bannières sous le header et au-dessus du footer : leaderboard 728×90 (desktop/tablette) */
@media (min-width: 561px) {
    .ad-slot-under-header,
.ad-slot-above-footer,
.play4geek-ad-slot-header_below.ad-slot-under-header,
.play4geek-ad-slot-footer_above.ad-slot-above-footer {
    width: min(728px, calc(100% - 2rem));
    max-width: 728px;
    margin-left: auto;
    margin-right: auto;
}

.ad-slot-under-header .play4geek-ad-inner,
.ad-slot-above-footer .play4geek-ad-inner,
.play4geek-ad-slot-header_below .play4geek-ad-inner,
.play4geek-ad-slot-footer_above .play4geek-ad-inner {
    width: min(728px, calc(100% - 2rem));
    max-width: 728px;
    min-height: 90px;
    height: 90px;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ad-slot-under-header .play4geek-ad-inner iframe,
.ad-slot-under-header .play4geek-ad-inner img,
.ad-slot-under-header .play4geek-ad-inner ins,
.ad-slot-under-header .play4geek-ad-inner .play4geek-adcash-banner,
.ad-slot-under-header .play4geek-ad-inner .play4geek-adcash-mount,
.ad-slot-above-footer .play4geek-ad-inner iframe,
.ad-slot-above-footer .play4geek-ad-inner img,
.ad-slot-above-footer .play4geek-ad-inner ins,
.ad-slot-above-footer .play4geek-ad-inner .play4geek-adcash-banner,
.ad-slot-above-footer .play4geek-ad-inner .play4geek-adcash-mount,
.play4geek-ad-slot-header_below .play4geek-ad-inner iframe,
.play4geek-ad-slot-header_below .play4geek-ad-inner img,
.play4geek-ad-slot-header_below .play4geek-ad-inner ins,
.play4geek-ad-slot-header_below .play4geek-ad-inner .play4geek-adcash-banner,
.play4geek-ad-slot-footer_above .play4geek-ad-inner iframe,
.play4geek-ad-slot-footer_above .play4geek-ad-inner img,
.play4geek-ad-slot-footer_above .play4geek-ad-inner ins,
.play4geek-ad-slot-footer_above .play4geek-ad-inner .play4geek-adcash-banner {
    width: 100%;
    max-width: 728px;
    height: 90px;
    max-height: 90px;
    object-fit: contain;
}

.ad-slot-under-header .play4geek-adcash-banner,
    .play4geek-ad-slot-header_below .play4geek-adcash-banner {
        min-height: 90px;
        max-height: 90px;
    }
}

/* Taboola (extension officielle) â€” alignement avec les rÃ©glages below / mid / read-more */
.single-article-cover,
.single-article-cover .featured-image-figure,
.single-review-cover {
    overflow: hidden;
}

.play4geek-taboola-zone {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 1.75rem 0 0;
    padding: 0;
    clear: both;
    box-sizing: border-box;
    overflow-x: clip;
}

.play4geek-taboola-zone--below {
    margin: 0 2.5rem 1.5rem;
    padding: 1.35rem 0 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.single-article-comments {
    margin-top: 0;
}

.play4geek-taboola-zone--mid {
    margin: 2rem 0;
    padding: 0.35rem 0;
}

.single-article-content .wp-block-embed + .play4geek-taboola-zone--mid,
.single-article-content .wp-block-video + .play4geek-taboola-zone--mid,
.single-review-content .wp-block-embed + .play4geek-taboola-zone--mid,
.single-review-content .wp-block-video + .play4geek-taboola-zone--mid {
    clear: both;
}

/* Repli si le widget reste encore dans une colonne Gutenberg */
.single-article-content .wp-block-columns .play4geek-taboola-zone--mid,
.single-review-content .wp-block-columns .play4geek-taboola-zone--mid,
.single-article-content .wp-block-columns [id^="taboola-mid-article"],
.single-review-content .wp-block-columns [id^="taboola-mid-article"] {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    order: 100;
}

.single-article-content .wp-block-columns:has(> .wp-block-column .play4geek-taboola-zone--mid),
.single-review-content .wp-block-columns:has(> .wp-block-column .play4geek-taboola-zone--mid),
.single-article-content .wp-block-columns:has(> .wp-block-column [id^="taboola-mid-article"]),
.single-review-content .wp-block-columns:has(> .wp-block-column [id^="taboola-mid-article"]) {
    display: flex !important;
    flex-wrap: wrap !important;
}

.single-article-content .wp-block-columns:has(> .wp-block-column .play4geek-taboola-zone--mid) > .wp-block-column:has(.play4geek-taboola-zone--mid),
.single-review-content .wp-block-columns:has(> .wp-block-column .play4geek-taboola-zone--mid) > .wp-block-column:has(.play4geek-taboola-zone--mid),
.single-article-content .wp-block-columns:has(> .wp-block-column [id^="taboola-mid-article"]) > .wp-block-column:has([id^="taboola-mid-article"]),
.single-review-content .wp-block-columns:has(> .wp-block-column [id^="taboola-mid-article"]) > .wp-block-column:has([id^="taboola-mid-article"]) {
    flex: 0 0 100% !important;
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    grid-column: 1 / -1 !important;
    order: 99;
}

/* Conteneur d’injection uniquement — ne pas écraser le layout carrousel Taboola (floats / slider). */
.play4geek-taboola-zone [id^="taboola-"],
.single-article-content [id^="taboola-mid-article"],
.single-review-content [id^="taboola-mid-article"] {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.play4geek-taboola-zone--mid .trc_rbox,
.play4geek-taboola-zone--mid .trc_rbox_container,
.play4geek-taboola-zone--mid .trc_rbox_div,
.single-article-content .play4geek-taboola-zone--mid .trc_rbox,
.single-review-content .play4geek-taboola-zone--mid .trc_rbox,
.single-article-content .play4geek-taboola-zone--mid .trc_rbox_div,
.single-review-content .play4geek-taboola-zone--mid .trc_rbox_div {
    max-width: 100% !important;
    overflow-x: clip;
}

.play4geek-taboola-zone iframe,
.single-article-content .play4geek-taboola-zone--mid iframe,
.single-review-content .play4geek-taboola-zone--mid iframe {
    max-width: 100%;
}

.single-article-content .play4geek-taboola-zone--mid,
.single-review-content .play4geek-taboola-zone--mid {
    margin-left: 0;
    margin-right: 0;
}

/* Largeur utile pour le carrousel horizontal (thumbnails mid-article). */
.single-article-content > .play4geek-taboola-zone--carousel,
.single-review-content > .play4geek-taboola-zone--carousel {
    width: 100%;
    max-width: var(--wp--style--global--wide-size, 1280px);
    margin-left: auto;
    margin-right: auto;
}

/* Ne pas appliquer le style éditorial des images aux vignettes Taboola. */
.play4geek-taboola-zone img {
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

/* Galeries Gutenberg (carrousel / grille) — contenues dans la colonne article. */
.single-article-content .wp-block-gallery,
.single-review-content .wp-block-gallery {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    box-sizing: border-box;
}

.single-article-content .wp-block-gallery.has-nested-images figure.wp-block-image,
.single-review-content .wp-block-gallery.has-nested-images figure.wp-block-image {
    min-width: 0;
    max-width: 100%;
}

.single-article-content .wp-block-gallery img,
.single-review-content .wp-block-gallery img,
.single-article-content figure.wp-block-gallery img,
.single-review-content figure.wp-block-gallery img {
    margin: 0;
    border-radius: 8px;
    box-shadow: none;
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

.single-article-content .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image img,
.single-review-content .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

body.theme-dark .play4geek-taboola-zone--below {
    border-top-color: rgba(148, 163, 184, 0.22);
}

.single-review-page .play4geek-taboola-zone--below {
    margin: 0 0 1.2rem;
    padding-top: 1.1rem;
}

.ad-slot-sidebar {
    margin-top: 0.9rem;
}

.streamer-live-player.is-collapsed .streamer-live-embed,
.streamer-live-player.is-collapsed .streamer-live-stats {
    display: none;
}

.streamer-live-player-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    padding: 0.6rem 0.75rem;
}

.streamer-live-select {
    width: 100%;
    min-height: 38px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.22);
    color: #fff;
    padding: 0.4rem 0.55rem;
    font-size: 0.86rem;
}

.streamer-live-toggle {
    min-height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.7rem;
}

.streamer-live-player-head strong {
    color: #fff;
}

.streamer-live-channel {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.streamer-live-channel img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.streamer-live-platform {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.streamer-live-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #060d18;
}

.streamer-live-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.streamer-live-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    padding: 0.55rem 0.75rem 0.7rem;
}

.streamer-live-stats .streamer-status.is-live {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #ef4444;
    font-weight: 700;
}

.streamer-viewers,
.streamer-viewers-inline {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.86);
}

.streamer-item {
    display: grid;
    gap: 0.75rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.streamer-item:last-child {
    border-bottom: none;
}

.streamer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.streamer-meta-main {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.streamer-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.2);
}

.streamer-meta strong {
    font-size: 1rem;
}

.streamer-meta span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.streamer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.streamer-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    padding: 1rem 1rem 1.2rem;
    display: grid;
    gap: 0.85rem;
}

.streamer-item.is-live {
    border-color: rgba(30, 115, 190, 0.3);
    background: linear-gradient(180deg, color-mix(in srgb, var(--bg-blue) 12%, transparent), rgba(255,255,255,0.04));
}

.streamer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.streamer-meta strong {
    color: #ffffff;
    font-size: 1rem;
}

.streamer-status {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
}

.streamer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: nowrap;
}

.sidebar-live .streamer-info {
    align-items: center;
    flex-wrap: nowrap;
}

.sidebar-live .streamer-game {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-live .streamer-actions {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.sidebar-live .streamer-card-head {
    flex-wrap: nowrap;
    align-items: center;
}

.sidebar-live .streamer-meta-main > div {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.45rem;
}

.sidebar-live .streamer-meta-main .streamer-status {
    display: inline-flex;
    align-items: center;
}

.sidebar-live .streamer-card-aside {
    flex: 0 0 auto;
    max-width: none;
    white-space: nowrap;
}

.sidebar-live .streamer-play-button,
.sidebar-live .streamer-button {
    white-space: nowrap;
    flex-shrink: 0;
}

.streamer-info span {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.82);
}

.sidebar-live .streamer-button,
.sidebar-live .streamer-play-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.55rem 0.95rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    background: var(--bg-blue);
    color: var(--button-text, #ffffff);
    border: 1px solid color-mix(in srgb, var(--bg-blue) 72%, transparent);
    box-shadow: 0 8px 18px color-mix(in srgb, var(--bg-blue) 28%, transparent);
}

.sidebar-live .streamer-play-button {
    padding: 0.5rem 0.82rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.sidebar-live .streamer-button:hover,
.sidebar-live .streamer-play-button:hover,
.sidebar-live .streamer-button:focus-visible,
.sidebar-live .streamer-play-button:focus-visible {
    background: var(--bg-accent);
    color: var(--button-text, #ffffff);
    border-color: color-mix(in srgb, var(--bg-accent) 72%, transparent);
}

.sidebar-live .streamer-item.is-live .streamer-status.is-live {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #ef4444;
    font-weight: 700;
}

.sidebar-live .streamer-status.is-live .streamer-live-dot {
    display: inline-block;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: currentColor;
    color: #ef4444;
    flex-shrink: 0;
    animation: streamer-live-pulse 1.4s ease-in-out infinite;
}

.sidebar-live .streamer-metric--viewers {
    color: var(--bg-blue);
}

.streamer-offline {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.82);
}

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

.live-list li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.live-list li:last-child {
    border-bottom: none;
}

.live-list strong {
    font-size: 1rem;
}

.live-list span {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
}

.sidebar-newsletter h3 {
    margin-top: 0;
}

.sidebar-newsletter p {
    color: rgba(255,255,255,0.92);
}

@media (max-width: 1080px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .game-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .game-cards-grid {
        grid-template-columns: 1fr;
    }
}

.sidebar-highlight {
    background: var(--theme-gradient-btn);
}

.sidebar-panel h3 {
    margin-top: 0;
}

.sidebar-panel ul {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.sidebar-panel li {
    margin-bottom: 0.85rem;
}

.sidebar-panel:not(.sidebar-poll):not(.sidebar-hype-widget) li a:not(.streamer-button) {
    color: #ffffff;
    opacity: 0.95;
}

@media (max-width: 1080px) {
    .hero-article-module,
    .home-layout {
        grid-template-columns: 1fr;
    }

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

    .header-topbar,
    .site-main {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .header-secondary-inner {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 720px) {
    .header-topbar {
        flex-direction: row;
        align-items: center;
    }

    .header-left,
    .header-right {
        justify-content: flex-start;
    }

    .header-right {
        justify-content: flex-end;
    }

    .hero-main-meta h1 {
        font-size: 1.6rem;
    }

    .hero-article-module {
        --hero-main-height: 460px;
        --hero-side-row-height: 220px;
    }

    .hero-side-grid {
        height: auto;
        min-height: 0;
        max-height: none;
        grid-template-rows: repeat(2, minmax(0, var(--hero-side-row-height, 220px)));
    }
}

.hero-intro {
    background: #ffffff;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
}

.hero-intro .eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--bg-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero-intro h2 {
    font-size: clamp(2rem, 2.4vw, 3.2rem);
    margin: 0 0 1rem;
    line-height: 1.05;
}

.hero-intro p {
    margin: 0;
    color: #4b5563;
}

.hero-highlights {
    display: grid;
    gap: 1rem;
}

.hero-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    min-height: 260px;
    display: flex;
    align-items: flex-end;
    background: #111827;
    color: var(--text-light);
}

.hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.85));
}

.hero-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card-content {
    position: relative;
    padding: 1.5rem;
    z-index: 1;
}

.hero-card-content span {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-card-content h3 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.25;
}

.home-layout {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.post-card,
.card-panel {
    background: var(--bg-dark);
    color: var(--text-light);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.post-card:hover,
.card-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 90px rgba(15, 23, 42, 0.22);
}

.post-card img,
.card-panel img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.post-card h2,
.post-card h3,
.card-panel h3 {
    margin-top: 0;
    margin-bottom: 0.85rem;
    font-size: 1.25rem;
    line-height: 1.35;
    color: var(--text-light);
}

.post-card h3 a {
    color: var(--text-light);
}

.post-card p {
    margin: 0 0 1.1rem;
    color: rgba(255,255,255,0.82);
}

.post-card-body {
    padding: 1.5rem;
}

.blog-layout {
    display: grid;
    grid-template-columns: 2.2fr 0.9fr;
    gap: 1.5rem;
}

.blog-sidebar {
    display: grid;
    gap: 1rem;
}

.sidebar-panel {
    background: var(--bg-blue);
    color: var(--text-light);
    padding: 1.5rem;
}

.sidebar-panel h3,
.sidebar-panel h4 {
    margin-top: 0;
}

.sidebar-panel ul {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.sidebar-panel li {
    margin-bottom: 0.85rem;
}

.sidebar-panel:not(.sidebar-poll):not(.sidebar-hype-widget) li a:not(.streamer-button) {
    color: var(--text-light);
}

.sidebar-highlight {
    background: var(--theme-gradient-btn);
}

.promo-section {
    margin-top: 2rem;
}

.promo-section h2 {
    margin-bottom: 1rem;
}

.promo-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.promo-card {
    background: var(--bg-dark);
    color: var(--text-light);
    border-radius: 20px;
    padding: 1.5rem;
}

.promo-card h3 {
    margin-bottom: 0.75rem;
}

.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0;
}

.site-footer a {
    color: var(--footer-text);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 1rem;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand-col {
    min-width: 0;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.9rem;
}

.footer-brand .custom-logo-link,
.footer-brand .site-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    height: 54px;
    max-width: min(240px, 100%);
}

.footer-brand .custom-logo-link img,
.footer-brand img,
.footer-brand .site-logo-image--switchable {
    max-height: 54px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.footer-links-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links-menu li {
    margin: 0;
    list-style: none;
}

.footer-links a {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 700;
    color: #f7f9fc;
}

.footer-links a.has-nav-menu-icon,
.footer-links-menu a.has-nav-menu-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
}

.footer-links a.has-nav-menu-icon .nav-menu-icon,
.footer-links-menu a.has-nav-menu-icon .nav-menu-icon {
    width: 0.92em;
    min-width: 0.92em;
    flex-shrink: 0;
}

.footer-description {
    max-width: 760px;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.75;
    color: #e5eaf5;
}

.footer-social-col h4 {
    margin: 0 0 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: #f7f9fc;
}

.footer-social {
    display: flex;
    gap: 1rem 1.1rem;
    flex-wrap: wrap;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: var(--footer-text);
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.footer-social a:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.34);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.16);
    padding-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.78rem;
    color: #e5eaf5;
}

.footer-bottom p {
    margin: 0;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-legal-links a {
    font-size: 0.76rem;
    color: #f7f9fc;
}

.legal-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 1rem 1rem 2.6rem;
}

.legal-page.legal-page-no-sidebar {
    display: block;
}

.legal-page-hero {
    margin-bottom: 1.2rem;
}

.legal-page-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 0.55rem;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: rgba(30, 115, 190, 0.1);
    color: var(--bg-blue);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.legal-page-content {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: clamp(1rem, 2.2vw, 1.6rem);
    color: var(--text-dark);
    line-height: 1.75;
}

.legal-page-content h2,
.legal-page-content h3,
.legal-page-content h4 {
    margin-top: 1.4rem;
    margin-bottom: 0.6rem;
}

.legal-page-content p,
.legal-page-content ul,
.legal-page-content ol {
    margin: 0.8rem 0;
}

.legal-page-content a {
    color: var(--bg-blue);
}

/* Pages sans template assignÃ© (voir page.php) â€” Ã©vite le fallback index Â« ActualitÃ©s Â» */
.page-standard {
    padding: 1rem 1rem 3rem;
}

.page-standard-article {
    max-width: 1100px;
    margin: 0 auto;
}

.page-standard-header {
    margin-bottom: 1.25rem;
}

.page-standard-title {
    margin: 0;
    font-size: clamp(1.55rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--text-dark);
}

.page-standard-content {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: clamp(1rem, 2.2vw, 1.75rem);
    color: var(--text-dark);
    line-height: 1.7;
}

.page-standard-content > *:first-child {
    margin-top: 0;
}

body.theme-dark .page-standard-title {
    color: var(--text-light);
}

body.theme-dark .page-standard-content {
    background: rgba(16, 35, 63, 0.92);
    border-color: rgba(148, 163, 184, 0.22);
}

/* Page template AdhÃ©sion (HelloAsso) â€” voir page-adhesion.php */
.page-adhesion-article {
    max-width: 1100px;
}

.page-adhesion-hero {
    margin: 0 0 1.35rem;
    padding: clamp(1.15rem, 3vw, 1.65rem) clamp(1.1rem, 2.5vw, 1.5rem);
    border-radius: 18px;
    border: 1px solid color-mix(in srgb, var(--bg-blue) 18%, transparent);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.97) 0%,
        rgba(235, 242, 248, 0.92) 55%,
        rgba(255, 247, 237, 0.55) 100%
    );
    box-shadow: 0 14px 40px rgba(14, 32, 56, 0.06);
}

.page-adhesion-kicker {
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bg-blue);
}

.page-adhesion-header {
    margin: 0 0 0.65rem;
}

.page-adhesion-title {
    margin: 0;
    font-size: clamp(1.65rem, 4vw, 2.15rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-dark, #111827);
    letter-spacing: -0.02em;
}

.page-adhesion-lead {
    margin: 0;
    max-width: 52rem;
    font-size: 1.02rem;
    line-height: 1.65;
    color: rgba(15, 23, 42, 0.78);
}

.page-adhesion-benefits {
    list-style: none;
    margin: 0 0 1.35rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.75rem;
}

.page-adhesion-benefit {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin: 0;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(20, 89, 130, 0.12);
    background: var(--surface-card, #fff);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.page-adhesion-benefit-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 12px;
    background: rgba(30, 115, 190, 0.1);
    color: var(--bg-blue);
    font-size: 1rem;
}

.page-adhesion-benefit-text {
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(15, 23, 42, 0.82);
}

.page-adhesion-benefit-text strong {
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.92rem;
    color: var(--text-dark, #111827);
}

.page-adhesion-account-hint {
    margin: 0 0 1.5rem;
    padding: 0.85rem 1.1rem;
    border-radius: 14px;
    border: 1px dashed color-mix(in srgb, var(--bg-blue) 35%, transparent);
    background: rgba(248, 251, 255, 0.95);
}

.page-adhesion-account-hint-title {
    margin: 0 0 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.75);
}

.page-adhesion-account-hint-actions {
    margin: 0;
    font-size: 0.95rem;
}

.page-adhesion-account-link {
    font-weight: 700;
    color: var(--bg-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.page-adhesion-account-link:hover {
    color: var(--bg-accent);
}

.page-adhesion-account-sep {
    margin: 0 0.35rem;
    color: rgba(15, 23, 42, 0.35);
}

.page-adhesion-form-section {
    margin: 0;
}

.page-adhesion-section-head {
    margin-bottom: 0.85rem;
}

.page-adhesion-section-title {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark, #111827);
}

.page-adhesion-section-title--card {
    margin-top: 0;
}

.page-adhesion-section-desc {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(15, 23, 42, 0.62);
}

.page-adhesion-embed-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.page-adhesion-embed-wrap .p4g-ha-embed-widget.p4g-ha-embed-shell {
    margin-top: 0;
    margin-bottom: 0;
}

.page-adhesion-embed-wrap .p4g-ha-embed-chrome {
    border-color: color-mix(in srgb, var(--bg-blue) 18%, transparent);
}

.page-adhesion-embed-wrap .p4g-ha-embed-topbar {
    font-size: 0.81rem;
}

.page-adhesion-embed-wrap .p4g-ha-embed-viewport {
    padding-left: clamp(0.45rem, 1.5vw, 0.85rem);
    padding-right: clamp(0.45rem, 1.5vw, 0.85rem);
}

/* Widget HelloAsso (iframe) â€” RÃ©glages â†’ GÃ©nÃ©ral, shortcode [p4g_helloasso_widget] */
.p4g-helloasso-embed.p4g-ha-embed-shell {
    margin: 0 auto;
    max-width: 1100px;
}

.p4g-helloasso-embed-viewport {
    position: relative;
    width: 100%;
    min-height: 720px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(20, 89, 130, 0.14);
    background: var(--surface-card, #fff);
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
}

.p4g-helloasso-embed-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.p4g-helloasso-embed-footnote {
    margin: 0.65rem 0 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: rgba(15, 23, 42, 0.62);
}

.page-adhesion-extra {
    margin-top: 1.5rem;
}

.page-adhesion-plugin-notice {
    padding: 1rem 1.15rem;
    border-radius: 12px;
    border: 1px dashed rgba(234, 88, 12, 0.45);
    background: rgba(255, 247, 237, 0.96);
    color: #9a3412;
}

.page-adhesion-plugin-notice p {
    margin: 0;
}

/* Mode sombre â€” adhÃ©sion */
body.theme-dark .page-adhesion-hero {
    border-color: rgba(77, 163, 255, 0.22);
    background: linear-gradient(
        145deg,
        rgba(16, 35, 63, 0.95) 0%,
        rgba(11, 29, 53, 0.92) 100%
    );
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.25);
}

body.theme-dark .page-adhesion-kicker {
    color: #93c5fd;
}

body.theme-dark .page-adhesion-title {
    color: var(--text-light, #dbe8ff);
}

body.theme-dark .page-adhesion-lead {
    color: rgba(219, 232, 255, 0.82);
}

body.theme-dark .page-adhesion-benefit {
    border-color: rgba(148, 163, 184, 0.2);
    background: rgba(16, 35, 63, 0.65);
    box-shadow: none;
}

body.theme-dark .page-adhesion-benefit-icon {
    background: rgba(77, 163, 255, 0.14);
    color: #93c5fd;
}

body.theme-dark .page-adhesion-benefit-text {
    color: rgba(219, 232, 255, 0.85);
}

body.theme-dark .page-adhesion-benefit-text strong {
    color: #f1f5f9;
}

body.theme-dark .page-adhesion-account-hint {
    border-color: rgba(77, 163, 255, 0.35);
    background: rgba(16, 35, 63, 0.55);
}

body.theme-dark .page-adhesion-account-hint-title {
    color: rgba(219, 232, 255, 0.72);
}

body.theme-dark .page-adhesion-account-link {
    color: #93c5fd;
}

body.theme-dark .page-adhesion-account-link:hover {
    color: #bfdbfe;
}

body.theme-dark .page-adhesion-section-title {
    color: var(--text-light, #dbe8ff);
}

body.theme-dark .page-adhesion-section-desc {
    color: rgba(219, 232, 255, 0.58);
}

body.theme-dark .page-adhesion-plugin-notice {
    border-color: rgba(251, 146, 60, 0.45);
    background: rgba(124, 45, 18, 0.35);
    color: #fed7aa;
}

body.theme-dark .p4g-helloasso-embed-viewport {
    border-color: rgba(148, 163, 184, 0.22);
    background: rgba(16, 35, 63, 0.55);
    box-shadow: none;
}

body.theme-dark .p4g-helloasso-embed-footnote {
    color: rgba(219, 232, 255, 0.55);
}

.single-article-excerpt {
    margin: 1rem 0 1.5rem;
    font-size: 1.05rem;
    color: var(--muted-text);
    line-height: 1.9;
}

.single-article-promo {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 34px;
    padding: 0.24rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(234, 88, 12, 0.3);
    background: rgba(251, 146, 60, 0.14);
    color: #9a3412;
    font-weight: 700;
    margin: 0 0 0.9rem;
}

.single-article-promo-label {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.85;
}

.single-article-promo-bottom {
    margin: 1.6rem 0 1.2rem;
    padding: 1.15rem;
    border-radius: 18px;
    border: 1px dashed rgba(234, 88, 12, 0.45);
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.16), rgba(254, 215, 170, 0.36));
    text-align: center;
}

.single-article-promo-bottom-label {
    margin: 0 0 0.55rem;
    font-size: 0.86rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9a3412;
}

.single-article-promo-bottom-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0.5rem 1.25rem;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(234, 88, 12, 0.35);
    color: #7c2d12;
    font-size: clamp(1.5rem, 3.2vw, 2.2rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.single-article-grid {
    display: grid;
    grid-template-columns: 1.7fr 0.9fr;
    gap: 2rem;
}

.single-article-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.article-sidebar {
    display: grid;
    gap: 1.5rem;
}

.sidebar-panel {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 1.5rem;
    border-radius: 24px;
}

.game-sidebar-card {
    background: var(--bg-dark);
    color: var(--text-light);
    border-radius: 28px;
    padding: 1.5rem;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.16);
}

.game-sidebar-card-header {
    margin-bottom: 1.25rem;
}

.game-sidebar-card h2 {
    margin: 1rem 0 0.75rem;
    font-size: 1.55rem;
    line-height: 1.15;
}

.game-sidebar-meta li {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    color: rgba(255,255,255,0.78);
    font-size: 0.95rem;
}

.game-sidebar-card .game-sidebar-button {
    margin-top: 1.3rem;
}

.game-directory-page {
    padding: 1.5rem 0 2.5rem;
    overflow-x: hidden;
}

.game-directory-toolbar {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto 1.5rem;
    padding: 0 clamp(1rem, 2.5vw, 1.75rem);
    box-sizing: border-box;
}

.game-directory-intro {
    margin-bottom: 1rem;
}

.game-directory-kicker {
    display: inline-block;
    margin-bottom: 0.35rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: rgba(30, 115, 190, 0.1);
    color: var(--bg-blue, #1e73be);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.game-directory-page-title {
    margin: 0;
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    line-height: 1.1;
    color: var(--bg-blue, #1e73be);
}

.game-directory-description {
    max-width: 72ch;
    margin-top: 0.75rem;
    color: rgba(14, 32, 56, 0.78);
    line-height: 1.7;
    font-size: 1rem;
}

/* Panneau recherche / filtres â€” pleine largeur */
.game-directory-search-panel {
    width: 100%;
    max-width: none;
    margin: 0 0 1rem;
    padding: 1.15rem clamp(1rem, 2vw, 1.35rem);
    border-radius: 14px;
    border: 1px solid rgba(30, 115, 190, 0.14);
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(8, 18, 32, 0.06);
    box-sizing: border-box;
}

.game-directory-search-panel--full {
    margin-top: 0;
}

.game-directory-search-panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-bottom: 0.9rem;
}

.game-directory-search-title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bg-blue, #1e73be);
}

.game-directory-search-title i {
    opacity: 0.85;
    font-size: 0.88rem;
}

.game-directory-search-active {
    margin: 0;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    background: rgba(30, 115, 190, 0.1);
    border: 1px solid rgba(30, 115, 190, 0.22);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bg-accent, #145982);
}

.game-directory-search--pro {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.game-directory-search-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: end;
}

.game-directory-search-field {
    display: grid;
    gap: 0.38rem;
    min-width: 0;
}

.game-directory-search-field label {
    font-size: 0.74rem;
    font-weight: 700;
    color: rgba(14, 32, 56, 0.72);
    letter-spacing: 0.03em;
}

.game-directory-search-control {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 46px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--bg-blue) 22%, #c5d9ec);
    background: #f7fafd;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.game-directory-search-control:hover {
    border-color: color-mix(in srgb, var(--bg-blue) 38%, #c5d9ec);
    background: #f0f6fc;
}

.game-directory-search-control:focus-within {
    border-color: color-mix(in srgb, var(--bg-blue) 58%, transparent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--bg-blue) 22%, transparent);
    background: #fff;
}

.game-directory-search-control-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.65rem;
    color: var(--bg-blue, #1e73be);
    font-size: 0.92rem;
    pointer-events: none;
    border-right: 1px solid color-mix(in srgb, var(--bg-blue) 14%, #d6e3f3);
    background: color-mix(in srgb, var(--bg-blue) 7%, #ffffff);
}

.game-directory-search-control input,
.game-directory-search-control select {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 0 0.85rem 0 0.65rem;
    border: 0;
    background: transparent;
    color: var(--text-dark, #0e2038);
    font-size: 0.95rem;
    font-weight: 500;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.game-directory-search-control--select {
    padding-right: 0;
}

.game-directory-search-select-wrap {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    align-items: stretch;
    min-width: 0;
}

.game-directory-search-control--select .game-directory-search-select {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    padding-right: 3rem;
    cursor: pointer;
    background-image: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    line-height: 1.35;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

.game-directory-search-control--select .game-directory-search-select.is-empty,
.game-directory-search-control--select:has(.game-directory-search-select option[value=""]:checked) .game-directory-search-select {
    color: var(--muted-text, rgba(14, 32, 56, 0.55));
    font-weight: 500;
}

.game-directory-search-control--select .game-directory-search-select:not(.is-empty),
.game-directory-search-control--select:has(.game-directory-search-select option:checked:not([value=""])) .game-directory-search-select {
    color: var(--text-dark, #0e2038);
    font-weight: 600;
}

.game-directory-search-control--select .game-directory-search-select option {
    padding: 0.55rem 0.75rem;
    font-weight: 500;
    color: var(--text-dark, #0e2038);
    background: #fff;
}

.game-directory-search-control--select .game-directory-search-select option:checked {
    font-weight: 700;
}

.game-directory-search-chevron {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    border-left: 1px solid color-mix(in srgb, var(--bg-blue) 16%, #d6e3f3);
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--bg-blue) 9%, #ffffff) 0%,
        color-mix(in srgb, var(--bg-blue) 5%, #eef4fa) 100%
    );
    color: var(--bg-blue, #1e73be);
    font-size: 0.72rem;
    pointer-events: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.game-directory-search-chevron i {
    transition: transform 0.22s ease;
}

.game-directory-search-control--select:hover .game-directory-search-chevron {
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--bg-blue) 14%, #ffffff) 0%,
        color-mix(in srgb, var(--bg-blue) 10%, #e8f1fa) 100%
    );
    border-left-color: color-mix(in srgb, var(--bg-blue) 28%, #d6e3f3);
}

.game-directory-search-control--select:focus-within .game-directory-search-chevron {
    background: color-mix(in srgb, var(--bg-blue) 16%, #ffffff);
    border-left-color: color-mix(in srgb, var(--bg-blue) 35%, transparent);
    color: var(--bg-accent, #145982);
}

.game-directory-search-control--select:focus-within .game-directory-search-chevron i {
    transform: rotate(180deg);
}

.game-directory-search-control input::placeholder {
    color: rgba(14, 32, 56, 0.45);
}

.game-directory-search-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    padding-top: 0.15rem;
    border-top: 1px solid rgba(30, 115, 190, 0.12);
}

.game-directory-search-submit,
.game-directory-search-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 42px;
    padding: 0.45rem 1.1rem;
    border-radius: 11px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.game-directory-search-submit {
    border: 1px solid color-mix(in srgb, var(--button-bg, var(--bg-blue)) 88%, #0a1628);
    background: var(--button-bg, var(--bg-blue));
    color: var(--button-text, var(--text-light, #fff));
    box-shadow: 0 6px 18px var(--theme-blue-shadow, color-mix(in srgb, var(--bg-blue) 32%, transparent));
}

.game-directory-search-submit:hover,
.game-directory-search-submit:focus-visible {
    background: var(--button-hover-bg, var(--bg-accent));
    border-color: var(--button-hover-bg, var(--bg-accent));
    color: var(--button-text, var(--text-light, #fff));
    transform: translateY(-1px);
}

.game-directory-search-reset {
    border: 1px solid rgba(30, 115, 190, 0.22);
    background: #fff;
    color: var(--bg-accent, #145982);
}

.game-directory-search-reset:hover {
    background: rgba(30, 115, 190, 0.06);
    color: var(--bg-blue, #1e73be);
}

.game-directory-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.35rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(30, 115, 190, 0.12);
}

.game-directory-count {
    margin: 0.75rem 0 0;
    color: rgba(14, 32, 56, 0.62);
    font-size: 0.86rem;
    font-weight: 600;
}

.filter-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(30, 115, 190, 0.14);
    color: var(--bg-accent, #145982);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-link:hover {
    background: rgba(30, 115, 190, 0.08);
    border-color: rgba(30, 115, 190, 0.28);
    color: var(--bg-blue, #1e73be);
}

.filter-link.is-active {
    background: var(--bg-blue, #1e73be);
    border-color: var(--bg-blue, #1e73be);
    color: #fff;
}

.game-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 185px));
    gap: 1rem;
    justify-content: start;
}

@media (max-width: 1024px) {
    .game-directory-toolbar,
    .game-directory-grid-wrapper {
        overflow-x: hidden;
    }

    .game-directory-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.85rem;
        justify-content: stretch;
    }
}

@media (max-width: 820px) {
    .game-directory-page {
        padding-left: 0;
        padding-right: 0;
    }

    .game-directory-grid-wrapper {
        padding-left: 0.35rem;
        padding-right: 0.35rem;
        overflow-x: hidden;
    }

    .game-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }
}

.game-directory-card {
    background: transparent !important;
    border: 0;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: transform 0.18s ease;
}

.game-directory-card:hover {
    transform: translateY(-2px);
}

.game-directory-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    background: transparent !important;
}

.game-directory-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 16px;
    display: block;
    background: #0f172a;
}

.game-directory-card-cover {
    background: #0f172a;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 2 / 3;
}

.game-directory-card-cover::after {
    content: none;
}

.game-directory-card-content {
    padding: 0.5rem 0.2rem 0;
    background: transparent !important;
}

.game-directory-card h2 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.25;
    color: #0f172a;
    font-weight: 800;
}

@media (max-width: 640px) {
    .game-directory-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 160px));
        gap: 0.8rem;
    }

    .game-directory-card-cover {
        aspect-ratio: 2 / 3;
    }
}

.game-directory-release-date {
    margin: 0.22rem 0 0;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    font-size: 0.76rem;
    color: rgba(15, 23, 42, 0.64);
    font-weight: 600;
}

.game-directory-empty {
    grid-column: 1 / -1;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 24px;
    text-align: center;
    color: var(--text-dark);
}

.game-community-section {
    margin-top: 1.4rem;
    padding: 0 1rem 1.35rem;
}

.game-community-inner {
    max-width: 1600px;
    margin: 0 auto;
    background: #f6f9ff;
    border: 1px solid rgba(20, 89, 130, 0.13);
    border-radius: 12px;
    padding: 0.9rem;
}

.game-community-head {
    align-items: center;
}

.game-community-head-text {
    flex: 0 1 auto;
    min-width: 0;
}

.game-community-head .home-releases-head-line {
    flex: 1 1 auto;
    min-width: 1.25rem;
    align-self: center;
}

.game-community-head .home-releases-nav {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.game-community-head h2 {
    margin: 0 0 0.25rem;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(14, 32, 56, 0.86);
    white-space: normal;
    line-height: 1.25;
}

.game-community-subline {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.35;
    color: rgba(14, 32, 56, 0.58);
    max-width: 52ch;
}

.game-community-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.65rem;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    padding-bottom: 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    margin-top: 0.55rem;
}

.game-community-track::-webkit-scrollbar {
    display: none;
}

.game-community-card {
    flex: 0 0 calc((100% - (5 * 0.65rem)) / 6);
    width: calc((100% - (5 * 0.65rem)) / 6);
    min-width: calc((100% - (5 * 0.65rem)) / 6);
    scroll-snap-align: start;
    border: 0;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.game-community-card a,
.game-community-card .home-releases-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.game-community-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 9px;
    overflow: hidden;
    background: linear-gradient(180deg, #0f172a, #1e293b);
}

.game-community-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    border-radius: 9px;
}

.game-community-card h3,
.game-community-card .home-releases-card-title {
    display: block;
    margin: 0;
    padding: 0.42rem 0.5rem 0.16rem;
    font-size: 0.8rem;
    line-height: 1.3;
    color: var(--bg-dark);
}

.game-community-meta,
.game-community-card .home-releases-card-meta {
    display: block;
    margin: 0;
    padding: 0 0.5rem 0.5rem;
    font-size: 0.66rem;
    line-height: 1.35;
    color: rgba(14, 32, 56, 0.66);
}

/* Carousel annuaire : mÃªmes largeurs que .home-release-card */
.game-community-carousel .home-releases-track {
    gap: 0.65rem;
}

.game-community-carousel .game-community-card {
    flex: 0 0 calc((100% - (5 * 0.65rem)) / 6);
    width: calc((100% - (5 * 0.65rem)) / 6);
    min-width: calc((100% - (5 * 0.65rem)) / 6);
    scroll-snap-align: start;
}

.game-community-recent-label {
    font-weight: 700;
    color: rgba(20, 89, 130, 0.92);
}

.post-card h3 a,
.hero-main-meta h1 a,
.hero-side-meta .hero-side-title a {
    color: var(--text-light);
}

.post-card p,
.hero-main-meta p,
.hero-side-meta > span:not(.post-category),
.hero-side-meta .hero-side-title {
    color: rgba(255,255,255,0.8);
}

.hero-side-meta .post-category,
.hero-main-meta .post-category {
    color: #ffffff;
}

.game-term-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: var(--text-light);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.game-term-details {
    display: grid;
    gap: 0.55rem;
    margin: 1rem 0;
    color: rgba(255,255,255,0.82);
}

.game-term-details span {
    display: block;
}

.game-sidebar-meta li span {
    color: rgba(255,255,255,0.85);
}

.game-image-preview img {
    max-width: 100%;
    border-radius: 14px;
    margin-top: 0.75rem;
}

.game-term-cover img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    margin-top: 1rem;
}

/* ============================================
   IMPROVED SINGLE ARTICLE DESIGN
   ============================================ */

/* Breadcrumb Navigation */
.article-breadcrumb {
    background: var(--text-light);
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.breadcrumb-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.breadcrumb-item {
    color: #6b7280;
    transition: color 0.2s ease;
}

.breadcrumb-item:hover {
    color: var(--bg-blue);
}

.breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: 600;
}

.breadcrumb-separator {
    color: #d1d5db;
    margin: 0 0.25rem;
}

/* Featured Image with Caption */
.single-article-cover {
    margin-bottom: 2rem;
}

.featured-image-figure {
    margin: 0;
    position: relative;
}

.featured-image-figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.image-caption {
    margin-top: 0.75rem;
    padding: 0 1rem;
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
    text-align: center;
}

/* Enhanced Article Header */
.single-article-header {
    padding: 2rem 2.5rem;
    border-bottom: 1px solid #e5e7eb;
}

/* Game Tags with Icons */
.single-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.article-game-label {
    display: inline-block;
    color: var(--bg-blue);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.article-game-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: rgba(30, 115, 190, 0.08);
    color: var(--bg-blue);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.article-game-link:hover {
    background: color-mix(in srgb, var(--bg-blue) 15%, transparent);
    transform: translateY(-1px);
}

.game-icon {
    font-size: 1rem;
}

/* Title */
.single-article-title {
    margin: 0 0 1.25rem;
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    line-height: 1.1;
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Excerpt */
.single-article-excerpt {
    margin: 1rem 0 1.5rem;
    font-size: 1.05rem;
    color: var(--muted-text);
    line-height: 1.9;
}

/* New Author & Meta Bar */
.article-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem 2rem;
    padding: 1.5rem;
    background: var(--surface-panel);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    flex-wrap: wrap;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.author-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    align-self: flex-start;
    border-radius: 50%;
    background: var(--surface-card);
    overflow: hidden;
    border: 3px solid var(--bg-blue);
}

.author-avatar img,
.author-avatar img.avatar {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.author-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
}

.author-name a {
    color: var(--bg-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.author-name a:hover {
    color: var(--link-hover-color);
    text-decoration: underline;
}

.article-stats {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--muted-text);
}

.stat-item {
    display: flex;
    align-items: center;
}

.stat-item i {
    margin-right: 0.35rem;
    opacity: 0.8;
}

.stat-separator {
    color: var(--border-color);
}

/* Share Buttons Horizontal */
.share-buttons-horizontal {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-card);
    color: var(--text-dark);
    cursor: pointer;
    border: 2px solid var(--border-color);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

a.share-icon {
    text-decoration: none;
    color: inherit;
}

.share-icon:hover {
    border-color: var(--bg-blue);
    color: var(--bg-blue);
    transform: translateY(-2px);
}

.share-icon svg {
    width: 20px;
    height: 20px;
}

.share-icon.facebook:hover {
    background: #1877f2;
    color: white;
}

.share-icon.twitter:hover {
    background: #000000;
    color: white;
}

.share-icon.linkedin:hover {
    background: #0a66c2;
    color: white;
}

.share-icon.whatsapp:hover {
    background: #25d366;
    color: white;
}

.share-icon.copy-link:hover {
    background: var(--bg-blue);
    color: white;
}

/* Enhanced Article Content */
.single-article-content {
    padding: 2.5rem;
    line-height: 2;
    color: #374151;
    font-size: 1.05rem;
}

.single-article-content p {
    margin-bottom: 1.5rem;
}

.single-article-content h2 {
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
}

.single-article-content h3 {
    margin: 1.5rem 0 0.85rem;
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 700;
}

.single-article-content ul,
.single-article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.single-article-content li {
    margin-bottom: 0.75rem;
}

.single-article-content blockquote:not(.twitter-tweet),
.single-review-content blockquote:not(.twitter-tweet) {
    margin: 2rem 0;
    padding: 1.5rem 1.5rem 1.5rem 0.5rem;
    border-left: 4px solid var(--bg-blue);
    background: rgba(30, 115, 190, 0.05);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #4b5563;
}

.single-article-content blockquote:not(.twitter-tweet) p,
.single-review-content blockquote:not(.twitter-tweet) p {
    margin: 0;
}

/* Liens vers fiches jeux (shortcodes [p4g_game] / [p4g_jeu]) */
.single-article-content a.p4g-game-link {
    font-weight: 600;
    color: var(--bg-blue);
    text-decoration: underline;
    text-underline-offset: 0.15em;
    text-decoration-thickness: from-font;
}

.single-article-content a.p4g-game-link:hover {
    color: #0f172a;
}

body.theme-dark .single-article-content a.p4g-game-link {
    color: #7dd3fc;
}

body.theme-dark .single-article-content a.p4g-game-link:hover {
    color: #fff;
}

.single-article-content code {
    background: var(--bg-light);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: #d32f2f;
}

.single-article-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.single-article-content img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.article-internal-links {
    margin: 0 2.5rem 2rem;
    padding: 1.1rem 1.2rem;
    border-radius: 12px;
    background: #f3f8ff;
    border: 1px solid rgba(20, 89, 130, 0.14);
}

.article-internal-links h2 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
}

.article-internal-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.article-internal-link {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(20, 89, 130, 0.18);
    background: #fff;
    color: #134577;
    font-weight: 600;
    font-size: 0.85rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.article-internal-link:hover,
.article-internal-link:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(30, 115, 190, 0.45);
    box-shadow: 0 8px 18px rgba(20, 89, 130, 0.18);
    outline: none;
}

.article-internal-link.is-game {
    background: rgba(30, 115, 190, 0.09);
}

.article-internal-link.is-tag {
    font-weight: 500;
}

.single-article-content .wp-block-embed,
.single-article-content .wp-block-video,
.single-review-content .wp-block-embed,
.single-review-content .wp-block-video {
    clear: both;
    width: 100%;
    max-width: var(--wp--style--global--content-size, 920px);
    margin: 1.4rem auto;
    padding: 0;
}

.single-article-content .wp-block-embed.alignwide,
.single-article-content .wp-block-video.alignwide,
.single-review-content .wp-block-embed.alignwide,
.single-review-content .wp-block-video.alignwide {
    max-width: var(--wp--style--global--wide-size, 1280px);
}

.single-article-content .wp-block-embed figcaption,
.single-review-content .wp-block-embed figcaption {
    line-height: 1.5;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Embeds sociaux (X / Twitter, etc.) : largeur intrinsèque, centrage possible. */
.single-article-content .wp-block-embed.aligncenter,
.single-review-content .wp-block-embed.aligncenter,
.single-article-content .wp-block-embed.is-type-rich.aligncenter,
.single-review-content .wp-block-embed.is-type-rich.aligncenter {
    display: table;
    width: auto;
    max-width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
}

.single-article-content .wp-block-embed.is-type-rich,
.single-review-content .wp-block-embed.is-type-rich,
.single-article-content .wp-block-embed.is-provider-twitter,
.single-review-content .wp-block-embed.is-provider-twitter,
.single-article-content .wp-block-embed.is-provider-x,
.single-review-content .wp-block-embed.is-provider-x {
    width: auto;
    max-width: min(100%, 550px);
    margin-left: auto;
    margin-right: auto;
}

.single-article-content .wp-block-embed.is-type-rich .wp-block-embed__wrapper,
.single-review-content .wp-block-embed.is-type-rich .wp-block-embed__wrapper,
.single-article-content .wp-block-embed.is-provider-twitter .wp-block-embed__wrapper,
.single-review-content .wp-block-embed.is-provider-twitter .wp-block-embed__wrapper,
.single-article-content .wp-block-embed.is-provider-x .wp-block-embed__wrapper,
.single-review-content .wp-block-embed.is-provider-x .wp-block-embed__wrapper {
    position: static;
    display: block;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
    overflow: visible;
    border-radius: 0;
    background: transparent;
}

.single-article-content .wp-block-embed.is-type-rich .wp-block-embed__wrapper iframe,
.single-review-content .wp-block-embed.is-type-rich .wp-block-embed__wrapper iframe,
.single-article-content .wp-block-embed.is-provider-twitter .wp-block-embed__wrapper iframe,
.single-review-content .wp-block-embed.is-provider-twitter .wp-block-embed__wrapper iframe,
.single-article-content .wp-block-embed.is-provider-x .wp-block-embed__wrapper iframe,
.single-review-content .wp-block-embed.is-provider-x .wp-block-embed__wrapper iframe,
.single-article-content .wp-block-embed.is-type-rich blockquote.twitter-tweet,
.single-review-content .wp-block-embed.is-type-rich blockquote.twitter-tweet,
.single-article-content .wp-block-embed.is-provider-twitter blockquote.twitter-tweet,
.single-review-content .wp-block-embed.is-provider-twitter blockquote.twitter-tweet,
.single-article-content .wp-block-embed.is-provider-x blockquote.twitter-tweet,
.single-review-content .wp-block-embed.is-provider-x blockquote.twitter-tweet,
.single-article-content .wp-block-embed-twitter blockquote.twitter-tweet,
.single-review-content .wp-block-embed-twitter blockquote.twitter-tweet,
.single-article-content .wp-block-embed-x blockquote.twitter-tweet,
.single-review-content .wp-block-embed-x blockquote.twitter-tweet {
    position: static;
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto !important;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-style: normal;
    color: inherit;
}

/* Tweet X / Twitter collé ou rendu sans bloc Gutenberg. */
.single-article-content blockquote.twitter-tweet,
.single-review-content blockquote.twitter-tweet {
    display: block;
    width: auto;
    max-width: min(100%, 550px);
    margin: 1.4rem auto !important;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-style: normal;
    color: inherit;
}

.single-article-content .wp-block-embed-twitter,
.single-review-content .wp-block-embed-twitter,
.single-article-content .wp-block-embed-x,
.single-review-content .wp-block-embed-x {
    width: auto;
    max-width: min(100%, 550px);
    margin-left: auto;
    margin-right: auto;
}

/* YouTube / vidéo : pleine largeur de la colonne article, ratio 16:9 */
.single-article-content .wp-block-embed.is-type-video .wp-block-embed__wrapper,
.single-review-content .wp-block-embed.is-type-video .wp-block-embed__wrapper,
.single-article-content .wp-has-aspect-ratio.is-type-video .wp-block-embed__wrapper,
.single-review-content .wp-has-aspect-ratio.is-type-video .wp-block-embed__wrapper {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.single-article-content .wp-block-embed.is-type-video .wp-block-embed__wrapper::before,
.single-review-content .wp-block-embed.is-type-video .wp-block-embed__wrapper::before,
.single-article-content .wp-has-aspect-ratio.is-type-video .wp-block-embed__wrapper::before,
.single-review-content .wp-has-aspect-ratio.is-type-video .wp-block-embed__wrapper::before {
    display: none !important;
    content: none !important;
    padding: 0 !important;
    height: 0 !important;
}

.single-article-content .wp-block-embed.is-type-video .wp-block-embed__wrapper iframe,
.single-article-content .wp-block-embed.is-type-video .wp-block-embed__wrapper .p4g-youtube-embed,
.single-article-content iframe.p4g-youtube-embed,
.single-review-content .wp-block-embed.is-type-video .wp-block-embed__wrapper iframe,
.single-review-content .wp-block-embed.is-type-video .wp-block-embed__wrapper .p4g-youtube-embed,
.single-review-content iframe.p4g-youtube-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 12px;
}

/* Iframe seule dans le figure (sans wrapper) â€” repli */
.single-article-content .wp-block-embed > iframe[src*="youtube"],
.single-review-content .wp-block-embed > iframe[src*="youtube"] {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    border: 0;
    border-radius: 12px;
}

.single-article-content .wp-block-video video,
.single-review-content .wp-block-video video,
.single-article-content .wp-video video,
.single-review-content .wp-video video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 12px;
}

/* Related Articles Section */
.related-articles {
    padding: 2rem 2.5rem 2.5rem;
    border-top: 1px solid var(--border-color, #e5e7eb);
    margin-top: 2rem;
    background: var(--bg-light);
}

.related-articles-header {
    margin-bottom: 1.5rem;
}

.related-articles-header h2 {
    margin: 0 0 0.35rem;
    font-size: 1.45rem;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.related-articles-subtitle {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.related-card {
    display: flex;
    flex-direction: column;
    background: var(--surface-card, #fff);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.related-card:hover {
    border-color: rgba(20, 89, 130, 0.22);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}

.related-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.related-image-link {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.related-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.related-card:hover .related-image-link img {
    transform: scale(1.04);
}

.related-card-category,
.related-card-image .post-category {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 1;
}

.related-card-body {
    padding: 1rem 1.1rem 1.05rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.related-card-body h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 700;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.related-card-body h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.related-card-body h3 a:hover {
    color: var(--bg-blue);
}

.related-card-excerpt {
    margin: 0 0 0.85rem;
    color: #6b7280;
    font-size: 0.88rem;
    line-height: 1.55;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.related-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.75rem;
    margin-top: auto;
    border-top: 1px solid var(--border-color, #e5e7eb);
}

.related-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem 0.85rem;
    min-width: 0;
}

.related-card-date {
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 600;
    white-space: nowrap;
}

.related-card-footer .post-views {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 600;
    white-space: nowrap;
}

.related-card-footer .post-views i {
    color: currentColor;
    opacity: 0.9;
    font-size: 0.85em;
}

.related-card-read {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    background: rgba(20, 89, 130, 0.1);
    color: var(--bg-blue);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.related-card-read:hover {
    background: var(--bg-blue);
    color: #fff;
    transform: translateX(2px);
}

.related-card-read i {
    font-size: 0.82rem;
}

/* Associated game hero banner under article content */
.article-game-hero {
    margin: 1.5rem auto 0;
    width: min(940px, 100%);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(20, 89, 130, 0.2);
    background: linear-gradient(155deg, #0c1829 0%, #132a4a 48%, #0f2238 100%);
    color: #f2f7ff;
    position: relative;
    box-shadow: 0 18px 48px rgba(8, 20, 38, 0.22);
}

.article-game-hero-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 4;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    pointer-events: none;
}

.article-game-hero-top > * {
    pointer-events: auto;
}

.article-game-hero-platforms {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
    min-width: 0;
}

.article-game-hero-platforms .game-sheet-platform-icons {
    margin: 0;
    justify-content: flex-end;
}

.article-game-hero-score {
    position: static;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.article-game-hero-score.is-high { background: #1faa5c; }
.article-game-hero-score.is-mid { background: #f5a623; }
.article-game-hero-score.is-low { background: #dd4b39; }

.article-game-hero.has-bg-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--article-game-bg);
    background-size: cover;
    background-position: center;
    opacity: 0.62;
}

.article-game-hero.has-bg-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(6, 14, 27, 0.45), rgba(11, 27, 50, 0.64));
}

.article-game-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(108px, 140px) minmax(0, 1fr);
    gap: 1.15rem 1.35rem;
    padding: 3.65rem 1.35rem 1.35rem;
    align-items: start;
}

.article-game-hero:not(:has(.article-game-hero-media)) .article-game-hero-inner {
    grid-template-columns: 1fr;
    padding-top: 3.35rem;
}

.article-game-hero-media {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 12px 32px rgba(3, 10, 20, 0.38);
    background: rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-game-hero-media:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(3, 10, 20, 0.45);
}

.article-game-hero-media img {
    width: 100%;
    height: auto;
    min-height: 150px;
    max-height: 210px;
    object-fit: cover;
    display: block;
    vertical-align: middle;
}

.article-game-hero-body {
    min-width: 0;
}

.article-game-hero-kicker {
    display: inline-flex;
    padding: 0.28rem 0.62rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--bg-blue) 35%, transparent);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(242, 247, 255, 0.95);
}

.article-game-hero-body h2 {
    margin: 0.65rem 0 0.5rem;
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    line-height: 1.25;
    color: #fff;
}

.article-game-hero-body h2 a {
    color: inherit;
    text-decoration: none;
}

.article-game-hero-body h2 a:hover {
    color: #b8dcff;
}

.article-game-hero-lead {
    margin: 0 0 0.85rem;
    color: rgba(236, 243, 255, 0.82);
    line-height: 1.6;
    font-size: 0.92rem;
}

.article-game-hero-meta {
    margin: 0 0 1rem;
    padding: 0;
    display: grid;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.18);
}

.article-game-hero-meta-row {
    display: grid;
    grid-template-columns: minmax(7.5rem, 34%) 1fr;
    gap: 0.65rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.84rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-game-hero-meta-row:last-child {
    border-bottom: 0;
}

.article-game-hero-meta dt {
    margin: 0;
    font-weight: 600;
    color: rgba(229, 239, 255, 0.72);
}

.article-game-hero-meta dd {
    margin: 0;
    color: #f2f7ff;
    text-align: right;
    line-height: 1.45;
}

.article-game-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: 999px;
    padding: 0.4rem 1rem;
    background: #ff8f5c;
    color: #2a1a22;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.74rem;
    letter-spacing: 0.06em;
}

.article-game-hero-btn:hover {
    background: #ffa776;
    color: #2a1a22;
}

/* Dedicated author card above article rating */
.article-author-box {
    margin: 1.25rem auto 0;
    width: min(940px, 100%);
    border: 1px solid rgba(20, 89, 130, 0.14);
    border-radius: 14px;
    padding: 1rem;
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 0.9rem;
    align-items: center;
    background: #fff;
}

.article-author-avatar {
    width: 96px;
    height: 96px;
    min-width: 96px;
    min-height: 96px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid color-mix(in srgb, var(--bg-blue) 28%, transparent);
    background: #f3f8ff;
}

.article-author-avatar img,
.article-author-avatar img.avatar {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    border: 0;
}

.article-author-kicker {
    margin: 0 0 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.68rem;
    color: rgba(14, 32, 56, 0.65);
}

.article-author-content h3 {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
}

.article-author-content p {
    margin: 0 0 0.45rem;
    color: rgba(14, 32, 56, 0.74);
}

.article-author-content a {
    font-weight: 700;
}

/* Article Navigation */
.article-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2.5rem;
    border-top: 1px solid #e5e7eb;
    margin-top: 2rem;
}

.nav-previous,
.nav-next {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.nav-previous:hover,
.nav-next:hover {
    background: var(--bg-blue);
    color: white;
}

.nav-previous a,
.nav-next a {
    display: block;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
}

.nav-arrow {
    display: block;
    font-size: 0.9rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.nav-previous:hover .nav-arrow,
.nav-next:hover .nav-arrow {
    color: white;
}

/* Enhanced Sidebar */
.article-sidebar {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

.game-sidebar-card {
    background: linear-gradient(170deg, #3c1622, #4a1d2c 58%, #2e1220);
    color: var(--text-light);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 14px 34px rgba(22, 15, 24, 0.24);
    border: 1px solid rgba(255,255,255,0.08);
}

.game-sidebar-cover {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.game-sidebar-cover img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.game-sidebar-card-header {
    margin-bottom: 0.95rem;
}

.game-sidebar-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: rgba(30, 115, 190, 0.2);
    color: #d8e8ff;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 600;
}

.game-sidebar-card h2 {
    margin: 0.45rem 0 0;
    font-size: 1.7rem;
    line-height: 1.2;
    font-weight: 700;
}

.game-sidebar-card h2 a {
    color: white;
    text-decoration: none;
    transition: color 0.2s ease;
}

.game-sidebar-card h2 a:hover {
    color: #ff9b6f;
}

.game-sidebar-description {
    margin: 0 0 1rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    font-size: 0.88rem;
}

.game-sidebar-meta {
    margin: 0 0 1rem;
    padding: 0.85rem 0;
    list-style: none;
    display: grid;
    gap: 0.45rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.game-sidebar-meta li {
    display: grid;
    grid-template-columns: 20px minmax(80px, 1fr) auto;
    align-items: center;
    gap: 0.48rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.78rem;
    padding: 0.14rem 0;
}

.game-sidebar-meta li .meta-label {
    color: rgba(237, 243, 255, 0.92);
    font-weight: 600;
}

.game-sidebar-meta li .meta-value {
    color: rgba(255, 255, 255, 0.92);
    text-align: right;
}

.meta-icon-small {
    font-size: 0.72rem;
    opacity: 0.9;
    color: rgba(255, 180, 139, 0.95);
}

.game-sidebar-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.8rem 1.1rem;
    border-radius: 999px;
    background: #ff8f5c;
    color: #2a1a22;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 800;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.78rem;
}

.game-sidebar-button:hover {
    background: #ffa776;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 143, 92, 0.25);
}

/* Sidebar article â€” bloc informations jeu (couleurs du thÃ¨me / customizer) */
.article-sidebar .game-sidebar-card.article-sidebar-game-card {
    background: linear-gradient(145deg, var(--bg-dark) 0%, color-mix(in srgb, var(--bg-dark) 82%, var(--bg-blue)) 100%);
    color: var(--text-light);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    border-radius: 14px;
    padding: 1rem;
    margin: 0;
    box-shadow: 0 14px 34px color-mix(in srgb, var(--bg-dark) 35%, transparent);
}

.article-sidebar-game-card .game-sidebar-tag {
    background: color-mix(in srgb, var(--bg-blue) 28%, transparent);
    color: var(--text-light);
    padding: 0.2rem 0.5rem;
    letter-spacing: 0.09em;
    font-size: 0.62rem;
}

.article-sidebar-game-card-header {
    position: relative;
    margin-bottom: 0.75rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid color-mix(in srgb, var(--text-light) 18%, transparent);
}

.article-sidebar-game-card-header.has-header-badges,
.article-sidebar-game-card-header.has-pegi-badge {
    padding-right: 2.5rem;
}

.article-sidebar-game-card-header.has-header-badges--subs-only {
    padding-right: 5rem;
}

.article-sidebar-game-card-header.has-header-badges--with-pegi {
    padding-right: 7.25rem;
}

.article-sidebar-game-card-badges {
    position: absolute;
    top: -0.12rem;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    overflow: visible;
}

.article-sidebar-game-card-badges .game-sheet-subscription-badges.is-sidebar,
.article-sidebar-game-card-badges .game-sheet-subscription-badges.is-meta {
    gap: 0.3rem;
}

.article-sidebar-game-card-title-row {
    margin-top: 0.35rem;
}

.article-sidebar-game-card h2 {
    margin: 0;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.article-sidebar-game-card-pegi {
    flex: 0 0 auto;
    width: 34px;
    height: 42px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--text-light) 22%, transparent);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.article-sidebar-game-card-pegi img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.article-sidebar-game-card h2 a {
    color: var(--text-light);
}

.article-sidebar-game-card h2 a:hover {
    color: color-mix(in srgb, var(--text-light) 75%, var(--bg-blue));
}

.article-sidebar-game-card-grid {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 0.65rem;
    align-items: start;
}

.article-sidebar-game-card-cover {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--text-light) 16%, transparent);
}

.article-sidebar-game-card-cover img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 7;
    object-fit: cover;
}

.article-sidebar-game-card .game-sidebar-meta {
    margin: 0;
    padding: 0;
    border: none;
    gap: 0.35rem;
}

.article-sidebar-game-card .game-sidebar-meta > li {
    grid-template-columns: 14px minmax(72px, 1fr) auto;
    font-size: 0.68rem;
    gap: 0.35rem;
    color: color-mix(in srgb, var(--text-light) 92%, transparent);
}

.article-sidebar-game-card .game-sidebar-meta > li.game-sidebar-meta-item--platforms,
.article-sidebar-game-card .game-sidebar-meta > li.game-sidebar-meta-item--play-modes {
    grid-template-columns: 14px minmax(72px, 1fr) minmax(0, 1fr);
    align-items: start;
}

.article-sidebar-game-card .game-sidebar-meta > li.game-sidebar-meta-item--platforms .article-sidebar-game-card-platforms,
.article-sidebar-game-card .game-sidebar-meta > li.game-sidebar-meta-item--play-modes .article-sidebar-game-card-play-modes {
    justify-content: flex-end;
    min-width: 0;
    width: 100%;
}

.article-sidebar-game-card .meta-label {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.62rem;
    color: color-mix(in srgb, var(--text-light) 78%, transparent);
}

.article-sidebar-game-card .meta-label::after {
    content: ' :';
}

.article-sidebar-game-card .meta-value {
    font-weight: 700;
    font-size: 0.68rem;
    color: var(--text-light);
}

.article-sidebar-game-card-platforms.meta-value,
.article-sidebar-game-card-play-modes.meta-value {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.22rem;
    margin: 0;
    padding: 0;
    list-style: none;
    max-width: 100%;
    min-width: 0;
}

.article-sidebar-game-card-platforms.meta-value li,
.article-sidebar-game-card-play-modes.meta-value li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: fit-content;
    max-width: none;
    white-space: nowrap;
    padding: 0.08rem 0.34rem;
    border-radius: 5px;
    background: color-mix(in srgb, var(--bg-blue) 18%, transparent);
    border: 1px solid color-mix(in srgb, var(--text-light) 14%, transparent);
    color: var(--text-light);
    font-size: 0.52rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.03em;
    text-align: center;
    text-transform: uppercase;
}

.article-sidebar-game-card .meta-icon-small {
    color: var(--bg-blue);
}

.article-sidebar-game-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0.55rem 0 0;
    padding: 0;
    list-style: none;
}

.article-sidebar-game-card-tags li {
    padding: 0.22rem 0.5rem;
    border-radius: 999px;
    background: var(--badge-bg, color-mix(in srgb, var(--bg-blue) 22%, transparent));
    color: var(--badge-text, var(--text-light));
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.article-sidebar-game-card .game-sidebar-button--buy {
    margin-top: 0.75rem;
    border-radius: 8px;
    background: var(--button-bg, var(--bg-blue));
    color: var(--button-text, var(--text-light));
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    padding: 0.75rem 0.85rem;
}

.article-sidebar-game-card .game-sidebar-button--buy:hover {
    background: var(--button-hover-bg, var(--bg-accent, var(--bg-blue)));
    color: var(--button-text, var(--text-light));
    transform: translateY(-1px);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--button-bg, var(--bg-blue)) 40%, transparent);
}

.article-sidebar-game-card .game-sidebar-description {
    margin: 0.75rem 0 0;
    font-size: 0.78rem;
    line-height: 1.5;
    color: color-mix(in srgb, var(--text-light) 85%, transparent);
}

.article-sidebar-game-card-trailer {
    position: relative;
    display: block;
    margin-top: 0.75rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--text-light) 14%, transparent);
}

.article-sidebar-game-card-trailer img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.article-sidebar-game-card-trailer-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--bg-dark) 45%, transparent);
    pointer-events: none;
}

.article-sidebar-game-card-trailer-play i {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--button-bg, var(--bg-blue));
    color: var(--button-text, var(--text-light));
    font-size: 0.85rem;
    padding-left: 0.12rem;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--bg-dark) 50%, transparent);
}

body.theme-dark .article-sidebar .game-sidebar-card.article-sidebar-game-card {
    border-color: var(--border-color, rgba(255, 255, 255, 0.12));
}

body.theme-dark .article-sidebar-game-card-tags li {
    background: var(--badge-bg);
    color: var(--badge-text);
}

/* Newsletter Box */
.sidebar-newsletter {
    background: var(--sidebar-bg, linear-gradient(135deg, var(--bg-blue) 0%, #1558a0 100%));
    color: white;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 16px 48px rgba(30, 115, 190, 0.16);
    border: 1px solid rgba(255,255,255,0.1);
    box-sizing: border-box;
}

.sidebar-newsletter h3 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.sidebar-newsletter p {
    margin: 0 0 1.25rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-form input {
    padding: 0.9rem 1rem;
    border: none;
    border-radius: 8px;
    background: rgba(255,255,255,0.95);
    color: var(--text-dark);
    font-size: 0.95rem;
}

.newsletter-form input::placeholder {
    color: #9ca3af;
}

.newsletter-form button {
    padding: 0.9rem 1rem;
    border: none;
    border-radius: 8px;
    background: var(--button-bg, var(--bg-blue));
    color: var(--button-text, var(--text-light));
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    border: 2px solid color-mix(in srgb, var(--button-bg, var(--bg-blue)) 75%, #ffffff);
}

.newsletter-form button:hover {
    background: var(--button-hover-bg, var(--bg-accent));
    border-color: color-mix(in srgb, var(--button-hover-bg, var(--bg-accent)) 75%, #ffffff);
    color: var(--button-text, var(--text-light));
}

/* Article Rating Section */
.article-rating-section {
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(30, 115, 190, 0.05) 100%);
    border: 1px solid rgba(30, 115, 190, 0.1);
    border-radius: 0;
    margin: 2rem 0;
    text-align: center;
}

.article-inline-widgets {
    margin-top: 1.1rem;
    display: grid;
    gap: 0.85rem;
}

.article-inline-widget {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.9rem;
}

.article-inline-widget .widget-title {
    margin: 0 0 0.55rem;
    font-size: 1rem;
}

.rating-container {
    max-width: 920px;
    margin: 0 auto;
}

.rating-title {
    margin: 0 0 0.5rem;
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 700;
}

.rating-subtitle {
    margin: 0 0 1.75rem;
    color: #6b7280;
    font-size: 0.95rem;
}

.smiley-rating {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.smiley-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.75rem 0.55rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 88px;
    flex: 1 1 88px;
    max-width: 120px;
    font-family: inherit;
}

.smiley-btn:hover {
    border-color: var(--bg-blue);
    background: #f0f7ff;
    transform: translateY(-4px);
}

.smiley-btn.active {
    border-color: var(--bg-blue);
    background: var(--bg-blue);
    color: white;
}

.smiley-emoji {
    font-size: 2.5rem;
    line-height: 1;
}

.smiley-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.smiley-count {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--bg-blue);
    line-height: 1.2;
}

.smiley-btn.active .smiley-count {
    color: rgba(255, 255, 255, 0.95);
}

.smiley-rating.voted .smiley-btn {
    cursor: default;
}

.smiley-btn.active .smiley-label {
    color: white;
}

.rating-message {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    border-radius: 8px;
    color: #065f46;
    font-weight: 600;
}

.rating-message p {
    margin: 0;
}

/* Responsive for Rating */
@media (max-width: 768px) {
    .article-rating-section {
        padding: 1.5rem;
    }

    .smiley-btn {
        min-width: 85px;
        padding: 0.75rem;
    }

    .smiley-emoji {
        font-size: 2rem;
    }

    .smiley-label {
        font-size: 0.8rem;
    }

    .rating-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .smiley-rating {
        gap: 0.75rem;
    }

    .smiley-btn {
        min-width: 70px;
        padding: 0.6rem;
    }

    .smiley-emoji {
        font-size: 1.8rem;
    }

    .smiley-label {
        font-size: 0.75rem;
    }
}

/* Responsive for Meta Bar */
@media (max-width: 768px) {
    .article-meta-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .author-info {
        flex: 1;
        width: 100%;
    }

    .share-buttons-horizontal {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .article-meta-bar {
        padding: 1rem;
    }

    .author-avatar {
        width: 64px;
        height: 64px;
        min-width: 64px;
        min-height: 64px;
    }

    .article-stats {
        font-size: 0.85rem;
    }

    .share-buttons-horizontal {
        gap: 0.5rem;
    }

    .share-icon {
        width: 36px;
        height: 36px;
    }

    .share-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* Responsive layout for single article (tablet) */
@media (max-width: 1024px) {
    .single-article-page .article-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
        gap: 2rem;
    }

    .related-articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .single-article-page .article-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .single-article-page .article-sidebar {
        position: static;
        top: auto;
        max-width: none;
        max-height: none;
        overflow: visible;
    }

    .single-article-cover img {
        max-height: 280px;
    }

    .article-cover-overlay {
        padding: 1rem 1rem 0.85rem;
    }

    .article-cover-platforms {
        top: 0.65rem;
        left: 0.65rem;
        max-width: min(68%, calc(100% - 6rem));
    }

    .article-cover-category {
        top: 0.65rem;
        right: 0.65rem;
    }

    .breadcrumb-wrapper {
        padding: 0 1rem;
    }

    .single-article-header {
        padding: 1.5rem;
    }

    .single-article-title {
        font-size: clamp(1.8rem, 2.5vw, 2.2rem);
    }

    .single-article-meta {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .article-share-buttons {
        gap: 0.75rem;
    }

    .single-article-content {
        padding: 1.5rem;
        overflow-x: clip;
    }

    .single-article-page,
    .single-article-page .single-article {
        overflow-x: clip;
    }

    .play4geek-taboola-zone,
    .play4geek-taboola-zone--mid,
    .play4geek-taboola-zone--carousel {
        margin-left: 0;
        margin-right: 0;
        overflow-x: clip;
    }

    .play4geek-taboola-zone--below {
        margin: 0 0 1.5rem;
        padding-top: 1.1rem;
    }

    /* Galerie : une image par ligne sur mobile (évite la grille 2 col. illisible). */
    .single-article-content .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image),
    .single-review-content .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
        width: 100% !important;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .article-internal-links {
        margin: 0 1.5rem 1.5rem;
        padding: 1rem;
    }

    .related-articles {
        padding: 1.5rem;
    }

    .single-article-page .single-article .single-article-comments {
        padding: 0 clamp(1.5rem, 5vw, 2.25rem) 1.5rem;
    }

    .related-articles-grid {
        grid-template-columns: 1fr;
    }

    .article-game-hero-inner {
        grid-template-columns: 1fr;
        padding: 3.25rem 1rem 1rem;
        gap: 0.85rem;
    }

    .article-game-hero-media {
        max-width: 140px;
    }

    .article-game-hero-score {
        width: 42px;
        height: 42px;
        font-size: 0.85rem;
    }

    .article-game-hero-meta-row {
        grid-template-columns: 1fr;
        gap: 0.15rem;
    }

    .article-game-hero-meta dd {
        text-align: left;
    }

    .article-author-box {
        grid-template-columns: 1fr;
    }

    .article-author-avatar {
        margin-inline: auto;
    }

    .article-navigation {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }

    .article-sidebar {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .single-article-title {
        font-size: clamp(1.5rem, 2vw, 1.8rem);
    }

    .single-article-meta {
        flex-direction: column;
    }

    .share-btn {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .article-share-buttons {
        flex-wrap: wrap;
    }

    .breadcrumb-wrapper {
        gap: 0.3rem;
        font-size: 0.85rem;
    }

    .single-article-content {
        padding: 1.1rem;
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .single-article-content .wp-block-embed.is-type-video .wp-block-embed__wrapper {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .single-article-content .wp-block-embed.is-type-video .wp-block-embed__wrapper iframe {
        width: 100%;
        height: 100%;
    }

    .single-article-page .article-sidebar .newsletter-form {
        grid-template-columns: 1fr;
    }

    .single-article-page .article-sidebar .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 1080px) {
    .hero-section,
    .home-layout,
    .blog-layout,
    .promo-cards,
    .footer-top {
        grid-template-columns: 1fr;
    }

    .promo-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 720px) {
    .topbar,
    .main-navigation,
    .site-main {
        padding: 1rem;
    }

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

    .main-menu {
        justify-content: center;
    }

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

    .search-form-wrapper {
        min-width: auto;
    }
}

/* AJAX tabs for game sheets */
.game-term-tabs-section {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 0 1.25rem 3rem;
}

.game-term-tabs-nav {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.game-tab-button {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(17, 24, 39, 0.7);
    color: #e5e7eb;
    border-radius: 999px;
    padding: 0.6rem 1rem;
    font-weight: 600;
    transition: 0.2s ease;
}

.game-tab-button:hover {
    background: color-mix(in srgb, var(--bg-blue) 18%, transparent);
    border-color: rgba(30, 115, 190, 0.6);
}

.game-tab-button.is-active {
    background: var(--theme-gradient-hero);
    color: #fff;
    border-color: transparent;
}

.game-tabs-content {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.65));
    min-height: 220px;
}

.game-tabs-content .tab-panel-content {
    margin-top: 0;
    padding-top: 0;
}

.game-tab-loading,
.game-tab-error {
    padding: 2rem 1.25rem;
    color: #e5e7eb;
    text-align: center;
}

.game-tab-error {
    color: #fecaca;
}

.media-video-section {
    margin-top: 2rem;
}

/* Pro redesign: game sheet */
.game-term-page {
    background: var(--bg-light);
}

.game-term-page .game-term-hero {
    background: transparent;
    padding-top: 2.75rem;
}

.game-term-page .game-term-hero-inner {
    max-width: 1280px;
}

.game-term-page .game-term-hero-grid {
    grid-template-columns: minmax(250px, 340px) 1fr;
    gap: 2rem;
    padding: 1.35rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    background: var(--surface-card);
    box-shadow: 0 24px 60px rgba(14, 32, 56, 0.12);
}

.game-term-page .game-term-cover-featured {
    border-radius: 18px;
    border: 1px solid rgba(17, 24, 39, 0.08);
}

.game-term-page .game-term-cover-featured img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.game-term-page .game-term-hero-content {
    padding: 0.25rem 0.5rem;
}

.game-term-page .game-term-label {
    color: var(--bg-accent);
    font-weight: 700;
}

.game-term-page .game-term-hero-title {
    color: var(--text-dark);
    margin-top: 0.4rem;
    margin-bottom: 0.9rem;
}

.game-term-page .game-term-hero-description {
    color: var(--muted-text);
    font-size: 1.03rem;
}

.game-term-page .game-term-badges {
    margin-bottom: 1rem;
}

.game-term-page .game-term-badge {
    background: rgba(20, 89, 130, 0.11);
    color: var(--bg-accent);
    border: 1px solid rgba(20, 89, 130, 0.2);
}

.game-term-page .game-term-badge-release {
    background: color-mix(in srgb, var(--bg-blue) 12%, transparent);
    color: var(--bg-blue);
}

.game-term-page .game-term-badge-hype {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.2), rgba(248, 113, 113, 0.16));
    color: #b45309;
    border-color: rgba(245, 158, 11, 0.34);
}

.game-term-page .game-info-cards {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.game-term-page .info-card {
    background: var(--surface-panel);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.game-term-page .info-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(20, 89, 130, 0.1);
    font-size: 1.2rem;
}

.game-term-page .info-label {
    color: var(--muted-text);
}

.game-term-page .info-value {
    color: var(--text-dark);
}

.game-term-page .game-term-tabs-section {
    max-width: 1280px;
    margin-top: 1.25rem;
    padding-bottom: 3.5rem;
}

.game-term-page .game-term-tabs-nav {
    gap: 0.6rem;
}

.game-term-page .game-tab-button {
    background: var(--surface-card);
    color: var(--muted-text);
    border-color: var(--border-color);
}

.game-term-page .game-tab-button.is-active {
    background: linear-gradient(135deg, var(--bg-blue), var(--bg-accent));
    color: #fff;
    box-shadow: 0 10px 28px rgba(30, 115, 190, 0.33);
}

.game-term-page .game-tabs-content {
    border-color: var(--border-color);
    background: var(--surface-card);
    box-shadow: 0 22px 52px rgba(14, 32, 56, 0.09);
}

.game-term-page .game-tabs-content h2,
.game-term-page .game-tabs-content h3 {
    color: var(--text-dark);
}

.game-term-page .section-subtitle {
    color: var(--muted-text);
}

.game-term-page .reviews-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.game-term-page .reviews-column {
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: var(--surface-panel);
    padding: 1rem;
}

.game-term-page .review-item {
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--surface-card);
    padding: 0.95rem;
}

.game-term-page .review-header h3,
.game-term-page .review-header h3 a {
    font-size: 1rem;
    color: var(--text-dark);
}

.game-term-page .review-rating {
    background: color-mix(in srgb, var(--bg-blue) 12%, transparent);
    color: var(--bg-blue);
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    font-weight: 700;
}

.game-term-page .submit-review-section {
    margin-top: 1.5rem;
    border-radius: 18px;
    border: 1px solid var(--border-color);
    background: var(--surface-panel);
    padding: 1.2rem;
}

.game-term-page .review-form-header h3 {
    margin-bottom: 0.3rem;
}

.game-term-page .review-form-header p {
    margin: 0 0 1rem;
    color: var(--muted-text);
}

.game-term-page .review-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1rem;
}

.game-term-page .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.game-term-page .form-group-full {
    grid-column: 1 / -1;
}

.game-term-page .submit-review-form label {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--muted-text);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.game-term-page .submit-review-form input,
.game-term-page .submit-review-form select,
.game-term-page .submit-review-form textarea {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.72rem 0.85rem;
    background: var(--surface-card);
    color: var(--text-dark);
}

.game-term-page .submit-review-form textarea {
    resize: vertical;
    min-height: 130px;
}

.game-term-page .submit-review-form input:focus,
.game-term-page .submit-review-form select:focus,
.game-term-page .submit-review-form textarea:focus {
    outline: none;
    border-color: rgba(30, 115, 190, 0.6);
    box-shadow: 0 0 0 3px rgba(30, 115, 190, 0.16);
}

.game-term-page .review-form-actions {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.game-term-page .review-form-note {
    font-size: 0.85rem;
    color: var(--muted-text);
}

.user-review-composer {
    display: grid;
    gap: 0.85rem;
}

.user-review-editor-wrap {
    display: grid;
    gap: 0.45rem;
}

.user-review-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem;
    border: 1px solid var(--border-color);
    border-radius: 10px 10px 0 0;
    background: var(--surface-panel);
}

.user-review-editor-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--text-dark);
    cursor: pointer;
}

.user-review-editor-btn:hover,
.user-review-editor-btn:focus-visible {
    border-color: color-mix(in srgb, var(--bg-blue) 35%, transparent);
    background: color-mix(in srgb, var(--bg-blue) 10%, transparent);
    color: var(--bg-blue);
}

.user-review-editor-sep {
    width: 1px;
    height: 22px;
    background: var(--border-color);
    margin: 0 0.15rem;
}

.user-review-editor {
    min-height: 160px;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--border-color);
    border-top: 0;
    border-radius: 0 0 10px 10px;
    background: #fff;
    color: var(--text-dark);
    line-height: 1.65;
}

.user-review-editor:empty::before {
    content: attr(data-placeholder);
    color: var(--muted-text);
    pointer-events: none;
}

.user-review-editor ul,
.user-review-editor ol {
    margin: 0.5rem 0 0.5rem 1.2rem;
    padding: 0;
}

.user-review-editor-source {
    display: none !important;
}

.user-review-images-help {
    margin: 0 0 0.35rem;
    font-size: 0.82rem;
    color: var(--muted-text);
}

.user-review-points-field textarea {
    min-height: 110px;
    resize: vertical;
}

.user-review-editor .user-review-inline-image,
.single-review-content .user-review-inline-image {
    margin: 1rem 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--surface-panel);
}

.user-review-editor .user-review-inline-image img,
.single-review-content .user-review-inline-image img,
.user-review-inline-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
}

.user-review-editor .user-review-inline-image--pending {
    max-width: 280px;
}

.game-term-page .btn-primary {
    border-radius: 12px;
    padding: 0.72rem 1.25rem;
}

@media (max-width: 820px) {
    .game-term-page .reviews-container,
    .game-term-page .review-form-grid {
        grid-template-columns: 1fr;
    }

    .game-term-page .game-term-hero-grid {
        grid-template-columns: 1fr;
    }
}

/* Game sheet model (no tab containers) */
.game-sheet-hero-inner,
.game-sheet-overview-inner,
.game-sheet-news-inner,
.game-sheet-reviews .game-term-reviews-inner,
.game-sheet-media .game-term-media-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.game-sheet-banner {
    min-height: 230px;
    border-radius: 16px;
    padding: 1.5rem;
    background-size: cover;
    background-position: center;
    display: grid;
    grid-template-columns: 140px 1fr;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 20px 45px rgba(8, 14, 29, 0.3);
    position: relative;
}

.game-sheet-pegi-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    width: 74px;
    height: 92px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(10, 18, 32, 0.55);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.28);
}

.game-sheet-pegi-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #fff;
}

.game-sheet-banner-cover img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.game-sheet-banner-content .game-term-label,
.game-sheet-banner-content .game-term-hero-title {
    color: #fff;
}

.game-sheet-banner-content .game-term-badge {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.game-collection-form {
    margin-top: 0.45rem;
    display: grid;
    gap: 0.4rem;
    max-width: 320px;
}

.game-collection-panel {
    margin-top: 0.6rem;
    max-width: 360px;
}

.game-collection-summary {
    list-style: none;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(8, 14, 29, 0.56);
    color: #fff;
    min-height: 38px;
    padding: 0.35rem 0.62rem;
    border-radius: 11px;
    display: grid;
    gap: 0.2rem;
    cursor: pointer;
}

.game-collection-summary::-webkit-details-marker {
    display: none;
}

.game-collection-summary-main {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
}

.game-collection-summary-platforms {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.82);
}

.game-collection-platform-label {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.78rem;
    font-weight: 700;
}

.game-collection-platform-select {
    min-height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(8, 14, 29, 0.55);
    color: #fff;
    padding: 0.3rem 0.45rem;
}

.game-collection-platform-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.game-collection-platform-option {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    background: rgba(8, 14, 29, 0.55);
    color: #fff;
    padding: 0.2rem 0.55rem;
    font-size: 0.78rem;
}

.game-collection-platform-option input[type="checkbox"] {
    margin: 0;
}

.game-collection-owned-platform {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.8rem;
    font-weight: 700;
}

.game-collection-btn {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    min-height: 34px;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
}

.game-collection-btn.is-in-collection {
    background: rgba(34, 197, 94, 0.24);
    border-color: rgba(34, 197, 94, 0.38);
}

.game-collection-btn:disabled {
    cursor: not-allowed;
    opacity: 0.72;
}

.game-hype-form {
    margin-top: 0.55rem;
}

.game-hype-btn {
    border: 1px solid rgba(251, 146, 60, 0.58);
    background: rgba(251, 146, 60, 0.18);
    color: #fff;
    min-height: 34px;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
}

.game-hype-btn.is-active {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(248, 113, 113, 0.62);
}

.game-collection-remove-btn {
    border: 1px solid rgba(248, 113, 113, 0.45);
    background: rgba(127, 29, 29, 0.55);
    color: #fff;
    min-height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.25rem 0.68rem;
    font-weight: 700;
}

.game-collection-notification {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.34rem 0.66rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(8, 14, 29, 0.52);
    color: #fff;
    max-width: min(calc(100vw - 28px), 420px);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.game-collection-notification.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.game-collection-notification.is-success {
    background: rgba(22, 101, 52, 0.78);
    border-color: rgba(187, 247, 208, 0.4);
}

.game-collection-notification.is-error {
    background: rgba(127, 29, 29, 0.8);
    border-color: rgba(254, 202, 202, 0.45);
}

.game-collection-notification-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.76rem;
}

.game-collection-notification-text {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.25;
}

@media (max-width: 767px) {
    .game-collection-notification {
        top: 12px;
        right: 12px;
    }
}

.game-sheet-banner-platforms {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 1rem;
    overflow: visible;
}

.game-sheet-banner-platforms__main {
    flex: 1 1 auto;
    min-width: 0;
}

.game-sheet-banner-platforms__main .game-sheet-platform-icons {
    margin-top: 0;
}

.game-sheet-banner-platforms__subscriptions {
    flex: 0 0 auto;
    margin-left: auto;
    overflow: visible;
}

.game-sheet-subscription-badges {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.game-sheet-subscription-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    min-width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 11px;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    cursor: default;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.game-sheet-subscription-badge:hover,
.game-sheet-subscription-badge:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
    outline: none;
}

.game-sheet-subscription-badge__icon {
    width: 38px;
    height: 38px;
    max-width: 38px;
    border-radius: 11px;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.game-sheet-subscription-badge__tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%) translateY(6px);
    min-width: 168px;
    max-width: 220px;
    padding: 0.42rem 0.62rem;
    border-radius: 8px;
    background: rgba(8, 14, 29, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 30;
}

.game-sheet-subscription-badge__tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(8, 14, 29, 0.96);
}

.game-sheet-subscription-badge:hover .game-sheet-subscription-badge__tooltip,
.game-sheet-subscription-badge:focus-visible .game-sheet-subscription-badge__tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.game-sheet-subscription-badges.is-meta .game-sheet-subscription-badge,
.game-sheet-subscription-badges.is-sidebar .game-sheet-subscription-badge {
    width: 34px;
    min-width: 34px;
    height: 34px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.game-sheet-subscription-badges.is-meta .game-sheet-subscription-badge__icon,
.game-sheet-subscription-badges.is-sidebar .game-sheet-subscription-badge__icon {
    width: 34px;
    height: 34px;
    max-width: 34px;
}

.game-sheet-subscription-badges.is-meta .game-sheet-subscription-badge__tooltip,
.game-sheet-subscription-badges.is-sidebar .game-sheet-subscription-badge__tooltip {
    background: #0f172a;
    border-color: rgba(15, 23, 42, 0.12);
    color: #f8fafc;
}

.game-sheet-subscription-badges.is-meta .game-sheet-subscription-badge__tooltip::after,
.game-sheet-subscription-badges.is-sidebar .game-sheet-subscription-badge__tooltip::after {
    border-top-color: #0f172a;
}

.game-sheet-meta-row--subscriptions .game-sheet-meta-subscriptions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    font-weight: 400;
}

.game-sheet-platform-icons {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.game-sheet-platform-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    min-height: 30px;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(15, 23, 42, 0.55);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 2px 6px rgba(0, 0, 0, 0.22);
}

.game-sheet-platform-icon i,
.game-sheet-platform-icon .mdi,
.game-sheet-platform-icon .p4g-platform-icon-glyph,
.game-sheet-platform-icon .p4g-platform-icon-img {
    font-size: 0.88rem;
    color: inherit;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
}

.game-sheet-platform-icon .p4g-platform-icon-img {
    width: 1.05em;
    height: 1.05em;
    object-fit: contain;
}

.game-sheet-platform-icon .mdi::before {
    font-size: 1.05em;
    line-height: 1;
}

.game-sheet-platform-icon.is-switch i,
.game-sheet-platform-icon.is-switch .mdi {
    font-size: 1rem;
}

.post-category .mdi {
    font-size: 1em;
    line-height: 1;
}

.game-sheet-platform-icon.is-tone-dark i {
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.45));
}

.game-sheet-platform-icon.is-tone-light {
    color: #0f172a;
}

.game-sheet-platform-icons.is-compact {
    margin-top: 0.45rem;
    gap: 0.3rem;
    justify-content: center;
    width: 100%;
}

.game-sheet-platform-icons.is-compact .game-sheet-platform-icon {
    min-height: 26px;
    padding: 0.18rem 0.42rem;
    font-size: 0.68rem;
}

.game-sheet-platform-icons.is-compact .game-sheet-platform-icon:not([style]) {
    border-color: rgba(20, 89, 130, 0.28);
    background: rgba(20, 89, 130, 0.12);
    color: var(--bg-dark, #0f172a);
}

.game-sheet-platform-icons.is-compact .game-sheet-platform-icon__label {
    display: none;
}

.game-sheet-platform-icons.is-icons-only .game-sheet-platform-icon {
    justify-content: center;
    gap: 0;
    padding: 0;
    line-height: 1;
}

.game-sheet-platform-icons.is-compact.is-icons-only .game-sheet-platform-icon {
    min-width: 26px;
    min-height: 26px;
    width: 26px;
    height: 26px;
}

.game-sheet-platform-icons.is-icons-only .game-sheet-platform-icon i,
.game-sheet-platform-icons.is-icons-only .game-sheet-platform-icon .mdi,
.game-sheet-platform-icons.is-icons-only .game-sheet-platform-icon .p4g-platform-icon-glyph,
.game-sheet-platform-icons.is-icons-only .game-sheet-platform-icon .p4g-platform-icon-img {
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.game-sheet-platform-icons.is-icons-only .game-sheet-platform-icon .p4g-platform-icon-glyph::before {
    vertical-align: top;
}

.game-sheet-platform-icon .p4g-platform-icon-glyph {
    display: inline-block;
    flex-shrink: 0;
    line-height: 1;
    font-size: 1.05em;
}

.game-sheet-platform-icon .p4g-platform-icon-glyph::before {
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
}

/* Fonds clairs (articles, listes, catÃ©gories) : mÃªmes tags que la fiche jeu */
.game-sheet-platform-icons.is-on-light .game-sheet-platform-icon:not([style]) {
    border-color: rgba(20, 89, 130, 0.28);
    background: rgba(20, 89, 130, 0.1);
    color: var(--bg-dark, #0f172a);
}

.game-sheet-platform-icons.is-on-light .game-sheet-platform-icon.is-tone-dark {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 2px 5px rgba(15, 23, 42, 0.18);
}

.game-sheet-platform-icon.is-pc {
    border-color: rgba(0, 120, 215, 0.35);
    background: rgba(0, 120, 215, 0.12);
}

.game-sheet-platform-icon.is-playstation {
    border-color: rgba(0, 112, 204, 0.35);
    background: rgba(0, 112, 204, 0.12);
}

.game-sheet-platform-icon.is-xbox {
    border-color: rgba(16, 124, 16, 0.35);
    background: rgba(16, 124, 16, 0.12);
}

.game-sheet-platform-icon.is-switch {
    border-color: rgba(230, 0, 18, 0.28);
    background: rgba(230, 0, 18, 0.1);
}

.game-sheet-platform-icon.is-mobile {
    border-color: rgba(88, 86, 214, 0.3);
    background: rgba(88, 86, 214, 0.1);
}

.game-sheet-platform-icon.is-steam {
    border-color: rgba(27, 40, 56, 0.28);
    background: rgba(27, 40, 56, 0.1);
}

.stat-item-platform .game-sheet-platform-icons {
    display: inline-flex;
    margin: 0;
    vertical-align: middle;
    align-items: center;
}

.stat-item-platform .game-sheet-platform-icons.is-compact {
    margin-top: 0;
    width: auto;
}

.stat-item-platform .game-sheet-platform-icon i,
.stat-item-platform .game-sheet-platform-icon .mdi,
.stat-item-platform .game-sheet-platform-icon .p4g-platform-icon-glyph {
    margin: 0;
}

/* BanniÃ¨re article : plateformes en haut Ã  gauche */
.game-sheet-platform-icons.is-cover-top-left {
    position: static;
    margin: 0;
    justify-content: flex-start;
    gap: 0.32rem;
    flex-wrap: wrap;
    width: auto;
    max-width: 100%;
    pointer-events: none;
}

.game-sheet-platform-icons.is-cover-top-left .game-sheet-platform-icon {
    pointer-events: auto;
    min-height: 30px;
    min-width: 30px;
    padding: 0.28rem 0.42rem;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(8, 18, 32, 0.78);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
}

.game-sheet-platform-icons.is-cover-top-left .game-sheet-platform-icon[style] {
    color: #fff !important;
}

.game-sheet-platform-icons.is-cover-top-left .game-sheet-platform-icon i,
.game-sheet-platform-icons.is-cover-top-left .game-sheet-platform-icon .mdi::before,
.game-sheet-platform-icons.is-cover-top-left .game-sheet-platform-icon .p4g-platform-icon-glyph::before {
    color: inherit;
    filter: none;
}

.game-sheet-platform-icons.is-cover-top-left .game-sheet-platform-icon .mdi,
.game-sheet-platform-icons.is-cover-top-left .game-sheet-platform-icon .p4g-platform-icon-glyph {
    font-size: 1.05rem;
}

.game-sheet-platform-icons.is-cover-top-left .game-sheet-platform-icon .p4g-platform-icon-img {
    width: 1.05rem;
    height: 1.05rem;
    object-fit: contain;
}

/* Coin haut-droite : cartes jeux associÃ©s, couvertures articles */
.game-sheet-platform-icons.is-card-corner {
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    z-index: 3;
    margin: 0;
    justify-content: flex-end;
    gap: 0.28rem;
    width: auto;
    max-width: calc(100% - 0.9rem);
    pointer-events: none;
}

.game-sheet-platform-icons.is-card-corner .game-sheet-platform-icon {
    pointer-events: auto;
    min-height: 24px;
    min-width: 24px;
    padding: 0.2rem 0.38rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.game-sheet-platform-icons.is-card-corner .game-sheet-platform-icon .mdi,
.game-sheet-platform-icons.is-card-corner .game-sheet-platform-icon .p4g-platform-icon-glyph {
    font-size: 1rem;
}

.game-related-thumb,
.article-game-hero-jacket-wrap,
.post-card-image {
    position: relative;
}

.article-game-hero .game-sheet-platform-icons.is-card-corner {
    position: static;
    pointer-events: auto;
    max-width: none;
}

.article-game-hero .game-sheet-platform-icons.is-on-hero-dark.is-card-corner .game-sheet-platform-icon {
    min-height: 30px;
    min-width: 30px;
    padding: 0.28rem 0.42rem;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(8, 18, 32, 0.78);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
}

.article-game-hero .game-sheet-platform-icons.is-on-hero-dark .game-sheet-platform-icon[style] {
    color: #fff !important;
}

.article-game-hero .game-sheet-platform-icons.is-on-hero-dark .game-sheet-platform-icon i,
.article-game-hero .game-sheet-platform-icons.is-on-hero-dark .game-sheet-platform-icon .mdi::before,
.article-game-hero .game-sheet-platform-icons.is-on-hero-dark .game-sheet-platform-icon .p4g-platform-icon-glyph::before {
    color: inherit;
    filter: none;
}

.article-meta-platforms {
    flex: 0 0 auto;
    align-self: center;
}

.article-meta-platforms .game-sheet-platform-icons {
    margin: 0;
    justify-content: flex-end;
}

.article-meta-platforms .game-sheet-platform-icons.is-article-meta {
    gap: 0.32rem;
}

.article-meta-platforms .game-sheet-platform-icon {
    min-height: 28px;
    padding: 0.22rem 0.45rem;
}

.post-card-image > a,
.post-card-image > a.post-card-image-link {
    display: block;
    height: 100%;
}

.post-card-image-placeholder {
    display: block;
    width: 100%;
    min-height: 200px;
    aspect-ratio: 720 / 495;
    max-height: 280px;
    background: linear-gradient(135deg, #dce6f2 0%, #eef3f9 48%, #d4e0ec 100%);
}

.pro-review-platform--legacy {
    opacity: 0.9;
    font-size: 0.8rem;
    color: #49586d;
}

.game-sheet-anchor-nav {
    margin-top: 0;
    flex: 1 1 auto;
    min-width: 0;
    background: linear-gradient(145deg, rgba(6, 12, 26, 0.95), rgba(12, 32, 58, 0.92));
    border: 1px solid rgba(125, 211, 252, 0.18);
    border-radius: 14px;
    display: flex;
    gap: 0.35rem;
    padding: 0.35rem;
    box-shadow: 0 12px 30px rgba(5, 10, 24, 0.26);
}

.game-sheet-nav-bar {
    margin-top: 0.8rem;
    display: flex;
    align-items: stretch;
    gap: 0.55rem;
}

.game-sheet-nav-side {
    display: flex;
    align-items: stretch;
    gap: 0.45rem;
    flex: 0 0 auto;
    margin-left: auto;
}

.game-sheet-collection-social {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.28rem 0.62rem 0.28rem 0.68rem;
    border-radius: 14px;
    border: 1px solid rgba(125, 211, 252, 0.18);
    background: linear-gradient(145deg, rgba(6, 12, 26, 0.95), rgba(12, 32, 58, 0.92));
    box-shadow: 0 12px 28px rgba(5, 10, 24, 0.22);
}

.game-sheet-hype-social .game-sheet-collection-social-count {
    color: #fdba74;
}

.game-sheet-collection-social-label {
    display: flex;
    flex-direction: column;
    gap: 0.04rem;
    line-height: 1.05;
}

.game-sheet-collection-social-count {
    font-size: 0.92rem;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
}

.game-sheet-collection-social-caption {
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.62);
    text-transform: lowercase;
    white-space: nowrap;
}

.game-sheet-collection-social-avatars {
    display: inline-flex;
    align-items: center;
}

.game-sheet-collection-social-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(8, 18, 36, 0.95);
    margin-left: -0.42rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: rgba(30, 115, 190, 0.35);
    text-decoration: none;
    transition: transform 0.2s ease, z-index 0s;
    position: relative;
}

.game-sheet-collection-social-avatar:first-child {
    margin-left: 0;
}

.game-sheet-collection-social-avatar:hover,
.game-sheet-collection-social-avatar:focus-visible {
    transform: translateY(-2px) scale(1.06);
    z-index: 2;
}

.game-sheet-collection-social-avatar-img,
.game-sheet-collection-social-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.game-sheet-collection-social-more {
    margin-left: -0.38rem;
    min-width: 30px;
    height: 30px;
    padding: 0 0.28rem;
    border-radius: 999px;
    background: rgba(30, 115, 190, 0.48);
    border: 2px solid rgba(8, 18, 36, 0.95);
    font-size: 0.64rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex: 0 0 auto;
}

.game-sheet-nav-actions {
    display: flex;
    align-items: stretch;
    flex: 0 0 auto;
    gap: 0.45rem;
}

.game-sheet-hype-form {
    margin: 0;
    display: flex;
}

.game-sheet-collection-trigger {
    min-width: 48px;
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(125, 211, 252, 0.28);
    background: linear-gradient(145deg, rgba(30, 115, 190, 0.35), rgba(8, 18, 36, 0.92));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(5, 10, 24, 0.28);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.game-sheet-collection-trigger:hover,
.game-sheet-collection-trigger:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(125, 211, 252, 0.5);
    color: #fff;
}

.game-sheet-collection-trigger.is-in-collection {
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.42), rgba(8, 18, 36, 0.92));
    border-color: rgba(74, 222, 128, 0.45);
}

.game-sheet-hype-trigger {
    min-width: 48px;
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(251, 146, 60, 0.45);
    background: linear-gradient(145deg, rgba(251, 146, 60, 0.38), rgba(8, 18, 36, 0.92));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(5, 10, 24, 0.28);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.game-sheet-hype-trigger:hover,
.game-sheet-hype-trigger:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(251, 146, 60, 0.65);
    color: #fff;
}

.game-sheet-hype-trigger.is-active {
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.45), rgba(8, 18, 36, 0.92));
    border-color: rgba(248, 113, 113, 0.55);
}

.game-collection-modal {
    position: fixed;
    inset: 0;
    z-index: 100050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.game-collection-modal[hidden] {
    display: none !important;
}

.game-collection-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 12, 26, 0.72);
    backdrop-filter: blur(4px);
}

.game-collection-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    max-height: min(90vh, 760px);
    overflow: auto;
    border-radius: 18px;
    border: 1px solid rgba(20, 89, 130, 0.22);
    background: linear-gradient(165deg, #ffffff 0%, #f4f8fc 100%);
    box-shadow: 0 28px 60px rgba(8, 14, 29, 0.35);
    padding: 1.15rem 1.15rem 1.25rem;
}

.game-collection-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: rgba(8, 14, 29, 0.08);
    color: rgba(14, 32, 56, 0.75);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.game-collection-modal__close:hover {
    background: rgba(30, 115, 190, 0.12);
    color: var(--bg-blue);
}

.game-collection-modal__hero {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0.85rem;
    align-items: center;
    margin-bottom: 0.9rem;
    padding-right: 2rem;
}

.game-collection-modal__cover {
    width: 72px;
    height: 96px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(20, 89, 130, 0.18);
    box-shadow: 0 8px 18px rgba(8, 14, 29, 0.16);
}

.game-collection-modal__cover--fallback {
    display: grid;
    place-items: center;
    background: rgba(30, 115, 190, 0.12);
    color: var(--bg-blue);
    font-size: 1.4rem;
}

.game-collection-modal__kicker {
    margin: 0 0 0.2rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bg-blue);
}

.game-collection-modal__hero-text h2 {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
    line-height: 1.25;
    color: var(--bg-dark);
}

.game-collection-modal__lead {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--muted-text);
}

.game-collection-modal__alert {
    margin: 0 0 0.85rem;
    padding: 0.65rem 0.8rem;
    border-radius: 10px;
    font-size: 0.86rem;
    font-weight: 600;
}

.game-collection-modal__alert.is-success {
    background: rgba(34, 197, 94, 0.12);
    color: #166534;
    border: 1px solid rgba(34, 197, 94, 0.28);
}

.game-collection-modal__alert.is-error {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.24);
}

.game-collection-modal__status {
    margin-bottom: 0.9rem;
}

.game-collection-modal__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(30, 115, 190, 0.1);
    color: var(--bg-blue);
    font-size: 0.82rem;
    font-weight: 700;
}

.game-collection-modal__badge.is-owned {
    background: rgba(34, 197, 94, 0.14);
    color: #15803d;
}

.game-collection-modal__owned {
    margin: 0.45rem 0 0;
    font-size: 0.82rem;
    color: var(--muted-text);
}

.game-collection-modal__platforms {
    margin: 0 0 1rem;
    padding: 0;
    border: 0;
}

.game-collection-modal__platforms legend {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted-text);
    margin-bottom: 0.55rem;
}

.game-collection-modal__platform-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.game-collection-modal__platform {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.65rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.game-collection-modal__platform input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.game-collection-modal__platform-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(30, 115, 190, 0.1);
    color: var(--bg-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.game-collection-modal__platform-label {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-dark);
}

.game-collection-modal__platform.is-selected,
.game-collection-modal__platform:has(input:checked) {
    border-color: rgba(30, 115, 190, 0.45);
    background: rgba(30, 115, 190, 0.08);
    box-shadow: 0 8px 18px rgba(30, 115, 190, 0.12);
}

.game-collection-modal__platform.is-selected .game-collection-modal__platform-icon,
.game-collection-modal__platform:has(input:checked) .game-collection-modal__platform-icon {
    background: var(--bg-blue);
    color: #fff;
}

.game-collection-modal__empty-platforms {
    margin: 0 0 1rem;
    font-size: 0.86rem;
    color: var(--muted-text);
}

.game-collection-modal__actions {
    display: grid;
    gap: 0.55rem;
}

.game-collection-modal__submit,
.game-collection-modal__remove {
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
}

.game-collection-modal__submit {
    background: var(--bg-blue);
    color: #fff;
    border-color: var(--bg-blue);
}

.game-collection-modal__submit.is-update {
    background: #15803d;
    border-color: #15803d;
}

.game-collection-modal__submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.game-collection-modal__form.is-submitting {
    pointer-events: none;
}

.game-collection-modal__form.is-submitting .game-collection-modal__submit span,
.game-collection-modal__form.is-submitting .game-collection-modal__remove span {
    opacity: 0.85;
}

.game-collection-modal__remove {
    background: transparent;
    color: #b91c1c;
    border-color: rgba(239, 68, 68, 0.35);
}

.game-collection-modal__remove:hover {
    background: rgba(239, 68, 68, 0.08);
}

.game-collection-modal__guest {
    display: grid;
    gap: 0.75rem;
    text-align: center;
}

.game-collection-modal__guest p {
    margin: 0;
    color: var(--muted-text);
}

.game-sheet-tab-link {
    background: transparent;
    border: 1px solid transparent;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.45rem 0.68rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.game-sheet-tab-link.is-active {
    color: #fff;
    background: rgba(30, 115, 190, 0.3);
    border-color: rgba(125, 211, 252, 0.42);
}

.game-sheet-tab-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
}

.game-sheet-tab-link i {
    font-size: 0.85rem;
}

@media (max-width: 640px) {
    .game-sheet-anchor-nav {
        overflow-x: auto;
        white-space: nowrap;
        flex-wrap: nowrap;
    }
}

.game-sheet-tab-panels {
    margin-top: 0.4rem;
}

.game-sheet-panel {
    display: none;
}

.game-sheet-panel.is-active {
    display: block;
}

.game-sheet-overview {
    margin-top: 1rem;
}

.game-sheet-overview-grid {
    background: var(--surface-card);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.4rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.4rem;
}

.game-sheet-description p,
.game-sidebar-description p,
.article-sidebar-game-card .game-sidebar-description p {
    margin: 0;
    line-height: 1.7;
    color: var(--muted-text);
}

.article-sidebar-game-card .game-sidebar-description p {
    color: color-mix(in srgb, var(--text-light) 85%, transparent);
}

.game-term-franchise-description {
    margin: 0 0 1.2rem;
    line-height: 1.7;
    color: color-mix(in srgb, var(--text-dark) 78%, transparent);
}

.game-term-franchise-description p {
    margin: 0 0 0.75rem;
}

.game-term-franchise-description p:last-child {
    margin-bottom: 0;
}

.game-term-franchise-description strong,
.game-sheet-description strong,
.game-sidebar-description strong,
.article-sidebar-game-card .game-sidebar-description strong {
    font-weight: 700;
}

.game-term-franchise-description ul,
.game-term-franchise-description ol,
.game-sheet-description ul,
.game-sheet-description ol,
.game-sidebar-description ul,
.game-sidebar-description ol {
    margin: 0.5rem 0 0.75rem 1.1rem;
    padding: 0;
}

.game-sheet-description-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
    margin-top: 1rem;
}

.game-sheet-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.45rem 1rem;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    cursor: pointer;
    font-family: inherit;
    border: 1px solid transparent;
    background: transparent;
}

.game-sheet-link--site {
    color: var(--bg-blue);
    border-color: color-mix(in srgb, var(--bg-blue) 35%, transparent);
    background: rgba(30, 115, 190, 0.08);
}

.game-sheet-link--site:hover {
    background: rgba(30, 115, 190, 0.16);
    border-color: rgba(30, 115, 190, 0.5);
}

.game-sheet-link-external {
    font-size: 0.85em;
    opacity: 0.85;
}

.game-sheet-link--trailer {
    color: #fff;
    background: var(--bg-blue);
    border-color: var(--bg-blue);
}

.game-sheet-link--trailer:hover {
    filter: brightness(1.06);
}

.game-sheet-link--trailer i {
    font-size: 0.85em;
}

.p4g-game-trailer-modal {
    position: fixed;
    inset: 0;
    z-index: 100050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.p4g-game-trailer-modal[hidden] {
    display: none;
}

.p4g-game-trailer-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 14, 29, 0.72);
    cursor: pointer;
}

.p4g-game-trailer-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
    background: #0f172a;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.p4g-game-trailer-modal__close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.p4g-game-trailer-modal__close:hover {
    background: rgba(30, 41, 59, 0.95);
}

.p4g-game-trailer-modal__embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
}

.p4g-game-trailer-modal__iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.game-sheet-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--border-color);
}

.game-sheet-meta-row span {
    color: var(--muted-text);
    font-size: 0.9rem;
}

.game-sheet-meta-row strong {
    color: var(--text-dark);
    text-align: right;
    font-size: 0.9rem;
}

.game-sheet-news {
    margin-top: 2rem;
}

.game-featured-test-card {
    margin-bottom: 1rem;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    background: var(--surface-panel);
    display: grid;
    grid-template-columns: minmax(180px, 240px) 1fr;
    gap: 0.9rem;
    padding: 0.85rem;
}

.game-featured-test-thumb {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    min-height: 170px;
    background: linear-gradient(180deg, #0f172a, #1e293b);
}

.game-featured-test-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.game-featured-test-score {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    border: 4px solid #fff;
    background: rgba(8, 14, 29, 0.78);
    display: grid;
    place-items: center;
    color: #fff;
    text-align: center;
}

.game-featured-test-score span {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1;
}

.game-featured-test-score small {
    display: block;
    font-size: 0.68rem;
    opacity: 0.86;
}

.game-featured-test-kicker {
    margin: 0 0 0.25rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-text);
}

.game-featured-test-body h3 {
    margin: 0 0 0.35rem;
    color: var(--text-dark);
    font-size: 1.2rem;
    line-height: 1.3;
}

.game-featured-test-body p {
    margin: 0;
    color: var(--muted-text);
    line-height: 1.65;
}

.game-featured-test-meta {
    margin-top: 0.55rem;
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.game-featured-test-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 0.16rem 0.5rem;
    font-size: 0.72rem;
    color: var(--muted-text);
}

.game-featured-test-link {
    margin-top: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--bg-blue), var(--bg-accent));
    color: #fff;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    padding: 0.4rem 0.85rem;
}

@media (max-width: 820px) {
    .game-featured-test-card {
        grid-template-columns: 1fr;
    }

    .game-featured-test-thumb {
        min-height: 180px;
    }
}

.game-sheet-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.game-sheet-all-news {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--bg-blue), var(--bg-accent));
    color: #fff;
    font-weight: 700;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.game-sheet-news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.game-sheet-news-card {
    background: var(--surface-card);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.game-sheet-news-thumb {
    display: block;
    aspect-ratio: 16 / 9;
    background: #111827;
}

.game-sheet-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-sheet-news-content {
    padding: 0.8rem;
}

.game-sheet-news-content h3 {
    margin: 0 0 0.4rem;
    font-size: 0.95rem;
    line-height: 1.35;
}

.game-sheet-news-content p {
    margin: 0;
    color: var(--muted-text);
    font-size: 0.86rem;
}

.game-related-section {
    margin-top: 1.5rem;
}

.game-related-section h3 {
    margin-bottom: 0.9rem;
    color: var(--text-dark);
}

.game-related-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.8rem;
}

.game-related-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--surface-card);
    overflow: hidden;
}

.game-related-link {
    display: block;
    text-align: center;
}

.game-related-thumb {
    aspect-ratio: 3 / 4;
    background: linear-gradient(180deg, #0f172a, #1e293b);
    padding: 0.35rem;
}

.game-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    display: block;
    border-radius: 8px;
}

.game-related-card h4 {
    margin: 0;
    padding: 0.6rem 0.55rem 0.75rem;
    font-size: 0.84rem;
    line-height: 1.35;
    color: var(--text-dark);
}

.game-term-franchise-inner {
    padding: 0 0 1.5rem;
}

.game-term-franchise-kicker {
    margin: 0 0 0.2rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--text-dark) 58%, transparent);
}

.game-term-franchise-head h2 {
    margin: 0;
}

.game-term-franchise-intro,
.game-term-franchise-empty {
    margin: 0 0 1rem;
    color: color-mix(in srgb, var(--text-dark) 72%, transparent);
}

.game-franchise-card-release {
    margin: -0.35rem 0.55rem 0.65rem;
    font-size: 0.72rem;
    color: color-mix(in srgb, var(--text-dark) 62%, transparent);
}

.game-sheet-reviews,
.game-sheet-media {
    margin-top: 2rem;
}

.game-sheet-reviews .tab-panel-content,
.game-sheet-media .tab-panel-content {
    background: transparent;
}

@media (max-width: 1024px) {
    .game-sheet-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .game-related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .game-sheet-banner,
    .game-sheet-overview-grid {
        grid-template-columns: 1fr;
    }

    .game-featured-test-card {
        grid-template-columns: 1fr;
    }

    .game-sheet-banner-cover {
        max-width: 180px;
    }
}

@media (max-width: 640px) {
    .game-sheet-anchor-nav {
        flex-wrap: wrap;
        border-radius: 12px;
    }

    .game-sheet-news-grid {
        grid-template-columns: 1fr;
    }

    .game-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Home tests hub (magazine UI + tabs Jeux / Materiels) */
.home-tests-section {
    --home-tests-surface: var(--reviews-score-bg, #ff4d00);
    --home-tests-heading: #fff;
    --home-tests-tab: rgba(255, 255, 255, 0.62);
    --home-tests-tab-hover: rgba(255, 255, 255, 0.92);
    --home-tests-tab-active: #fff;
    --home-tests-tab-border: #fff;
    --home-tests-toolbar-line: rgba(255, 255, 255, 0.92);
    --home-tests-empty: rgba(255, 255, 255, 0.88);
    --home-tests-more-bg: #fff;
    --home-tests-more-text: var(--home-tests-surface);
    --home-tests-more-hover-bg: rgba(255, 255, 255, 0.92);
    --home-test-compact-bg: rgba(255, 255, 255, 0.96);
    --home-test-compact-shadow: rgba(7, 21, 35, 0.12);
    --home-test-featured-height: clamp(420px, 38vw, 560px);
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
    padding: clamp(1.35rem, 2.5vw, 2rem) 0 clamp(1.75rem, 3vw, 2.5rem);
    background: var(--home-tests-surface);
    box-sizing: border-box;
}

.site-main--home-tail {
    padding-top: 0;
}

.home-tests-fullpage-inner {
    max-width: 1600px;
    width: min(100%, 1600px);
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.home-tests-inner {
    max-width: none;
    margin: 0;
}

.home-after-tests-section {
    margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
}

.home-after-tests-inner {
    max-width: 1600px;
    width: min(100%, 1600px);
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.home-after-tests-grid {
    display: grid;
    grid-template-columns: 2.2fr 0.9fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
    align-items: stretch;
    margin-bottom: 0;
}

.home-after-tests-cell {
    min-width: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.home-after-tests-cell--community {
    grid-column: 1;
    grid-row: 1;
}

.home-after-tests-cell--comments {
    grid-column: 2;
    grid-row: 1;
}

.home-after-tests-cell--releases {
    grid-column: 1;
    grid-row: 2;
}

.home-after-tests-cell--collection {
    grid-column: 2;
    grid-row: 2;
}

.home-after-tests-cell .home-releases-section,
.home-after-tests-cell .home-community-posts-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
}

.home-after-tests-cell .home-releases-inner,
.home-after-tests-cell .home-community-posts-inner,
.home-after-tests-sidebar-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: 100%;
    margin: 0;
    box-sizing: border-box;
}

.home-after-tests-cell .home-community-posts-section {
    --home-community-slide-width: min(420px, calc(100% - 0.5rem));
}

.home-after-tests-cell .home-releases-track,
.home-after-tests-cell .home-community-posts-track {
    flex: 1;
    min-height: 0;
    max-width: 100%;
}

.home-after-tests-sidebar-box .sidebar-panel,
.home-after-tests-sidebar-box .sidebar-collection-widget {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    min-height: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.home-after-tests-sidebar-box .sidebar-collection-widget h3 {
    padding-top: 0;
}

.home-after-tests-sidebar-box .sidebar-recent-comments-list,
.home-after-tests-sidebar-box .sidebar-collection-list {
    flex: 0 1 auto;
    align-content: start;
    grid-auto-rows: auto;
    max-height: 100%;
    overflow-y: auto;
}

.home-after-tests-sidebar-box .sidebar-recent-comments-item,
.home-after-tests-sidebar-box .sidebar-collection-item {
    align-self: start;
}

.home-after-tests-sidebar-box .sidebar-recent-comments-list {
    gap: 0.25rem;
}

.home-after-tests-sidebar-box .sidebar-recent-comments-link {
    padding: 0.35rem 0.4rem;
}

.home-after-tests-sidebar-box .sidebar-recent-comments-body {
    gap: 0.08rem;
}

.home-after-tests-sidebar-box .sidebar-collection-more {
    margin-top: auto;
    padding-top: 0.45rem;
}

@media (max-width: 1024px) {
    .home-after-tests-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .home-after-tests-cell--community {
        order: 1;
        grid-column: 1;
        grid-row: auto;
    }

    .home-after-tests-cell--comments {
        order: 2;
        grid-column: 1;
        grid-row: auto;
    }

    .home-after-tests-cell--releases {
        order: 3;
        grid-column: 1;
        grid-row: auto;
    }

    .home-after-tests-cell--collection {
        order: 4;
        grid-column: 1;
        grid-row: auto;
    }

    .home-after-tests-cell .home-community-posts-section {
        --home-community-slide-width: min(360px, 100%);
    }
}

@media (max-width: 680px) {
    .home-after-tests-cell .home-community-posts-section {
        --home-community-slide-width: 100%;
    }
}

.home-tests-toolbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
}

.home-tests-toolbar h2 {
    margin: 0;
    flex-shrink: 0;
    white-space: nowrap;
    font-size: clamp(1.45rem, 2.2vw, 1.85rem);
    font-weight: 800;
    color: var(--home-tests-heading);
    line-height: 1.1;
}

.home-tests-toolbar-line {
    height: 4px;
    flex: 1;
    min-width: 1.25rem;
    border-radius: 999px;
    background: var(--home-tests-toolbar-line);
    opacity: 0.95;
}

.home-tests-tabs {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.home-tests-toolbar h2 i {
    margin-right: 0.45rem;
    font-size: 0.92em;
    opacity: 0.95;
}

.home-tests-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 0;
    background: transparent;
    padding: 0.2rem 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--home-tests-tab);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.18s ease, border-color 0.18s ease;
}

.home-tests-tab i {
    font-size: 0.88em;
    opacity: 0.92;
}

.home-tests-tab:hover {
    color: var(--home-tests-tab-hover);
}

.home-tests-tab.is-active {
    color: var(--home-tests-tab-active);
    border-bottom-color: var(--home-tests-tab-border);
}

.home-tests-panel[hidden] {
    display: none !important;
}

.home-tests-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(240px, 1.15fr) minmax(0, 1.3fr);
    gap: 0.85rem 1rem;
    align-items: start;
}

.home-tests-col-featured,
.home-tests-col-middle,
.home-tests-col-right {
    min-width: 0;
}

.home-tests-col-right {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.home-tests-right-list {
    display: grid;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    height: var(--home-test-featured-height);
    min-height: var(--home-test-featured-height);
}

.home-tests-col-right .home-tests-foot {
    margin-top: 0;
    justify-content: stretch;
}

.home-tests-col-right .home-tests-more-btn {
    width: 100%;
    font-size: 0.88rem;
}

.home-tests-side,
.home-tests-col,
.home-tests-right {
    display: none;
}

.home-test-featured {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: var(--bg-dark, #071523);
    color: var(--text-light, #fff);
    isolation: isolate;
    width: 100%;
    height: var(--home-test-featured-height);
    min-height: var(--home-test-featured-height);
    max-height: var(--home-test-featured-height);
}

.home-test-featured-media-link {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    overflow: hidden;
    margin: 0;
}

.home-test-featured-media-link::after,
.home-test-secondary-media-link::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background:
        radial-gradient(
            farthest-side ellipse at 50% 42%,
            rgba(8, 14, 29, 0) 28%,
            rgba(8, 14, 29, 0.38) 62%,
            rgba(8, 14, 29, 0.72) 100%
        ),
        linear-gradient(to top, rgba(8, 14, 29, 0.5) 0%, transparent 52%);
}

.home-test-featured-image,
.home-test-featured-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: center;
    display: block;
}

.home-test-featured-placeholder {
    background: linear-gradient(135deg, #1e293b, #0f172a);
}

.home-test-secondary {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: var(--bg-dark, #071523);
    color: var(--text-light, #fff);
    isolation: isolate;
    width: 100%;
    height: var(--home-test-featured-height);
    min-height: var(--home-test-featured-height);
    max-height: var(--home-test-featured-height);
}

.home-test-secondary-media-link {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    overflow: hidden;
}

.home-test-secondary-image,
.home-test-secondary-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.home-test-secondary-placeholder {
    background: linear-gradient(135deg, #1e293b, #0f172a);
}

.home-test-secondary-platform-top {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    z-index: 2;
    pointer-events: none;
}

.home-test-secondary-platform-top .game-sheet-platform-icon,
.home-test-secondary-platform-top .pro-review-platform {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.home-test-secondary-platform-top .game-sheet-platform-icon__label {
    display: none !important;
}

.home-test-secondary-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    padding: 1rem 0.85rem 0.9rem;
    background: linear-gradient(180deg, transparent 0%, rgba(7, 21, 35, 0.95) 85%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
}

.home-test-secondary-title {
    margin: 0;
    font-size: clamp(0.82rem, 1.1vw, 0.95rem);
    font-weight: 800;
    line-height: 1.25;
}

.home-test-secondary-title a {
    color: #fff;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-test-secondary--spacer {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.55));
}

.home-test-secondary-title a:hover {
    color: rgba(255, 255, 255, 0.88);
}

.home-test-featured .home-critique-score-ring.is-featured-badge,
.home-test-secondary .home-critique-score-ring.is-featured-badge {
    --score: 0;
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    left: auto;
    transform: none;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: transparent;
    box-shadow: none;
    z-index: 2;
    pointer-events: none;
}

.home-test-featured .home-critique-score-ring.is-featured-badge::before,
.home-test-secondary .home-critique-score-ring.is-featured-badge::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(
        var(--reviews-score-bg, #ff4d00) calc(var(--score) * 1%),
        color-mix(in srgb, var(--border-color, #e5e7eb) 58%, #ffffff) 0
    );
    -webkit-mask-image: radial-gradient(farthest-side, transparent calc(78% - 1px), #000 78%);
    mask-image: radial-gradient(farthest-side, transparent calc(78% - 1px), #000 78%);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
    z-index: 0;
}

.home-test-featured .home-critique-score-ring.is-featured-badge.is-perfect::before,
.home-test-secondary .home-critique-score-ring.is-featured-badge.is-perfect::before {
    background: conic-gradient(
        #f5b301 calc(var(--score) * 1%),
        color-mix(in srgb, var(--border-color, #e5e7eb) 58%, #ffffff) 0
    );
}

.home-test-featured .home-critique-score-ring.is-featured-badge::after,
.home-test-secondary .home-critique-score-ring.is-featured-badge::after {
    content: none;
    display: none;
}

.home-test-featured .home-critique-score-ring.is-featured-badge strong,
.home-test-secondary .home-critique-score-ring.is-featured-badge strong {
    position: relative;
    z-index: 1;
    font-size: clamp(1.15rem, 2.4vw, 1.42rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    -webkit-text-stroke: 0.6px rgba(0, 0, 0, 0.55);
    paint-order: stroke fill;
    text-shadow:
        0 0 2px rgba(0, 0, 0, 1),
        0 1px 3px rgba(0, 0, 0, 0.95),
        0 2px 10px rgba(0, 0, 0, 0.85),
        0 0 18px rgba(0, 0, 0, 0.75);
}

.home-test-secondary .home-critique-score-ring.is-featured-badge {
    top: 0.65rem;
    right: 0.65rem;
    width: 56px;
    height: 56px;
}

.home-test-secondary .home-critique-score-ring.is-featured-badge strong {
    font-size: 0.95rem;
}

.home-test-meta-badges {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    max-width: 100%;
}

.home-test-secondary .home-test-meta-badges .home-test-badge {
    padding: 0.38em 0.72em;
    min-height: 1.65rem;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
}

.home-test-featured-platform-top {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 2;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.28rem;
    max-width: calc(100% - 6rem);
    pointer-events: none;
}

.home-tests-section .home-test-featured-platform-top .game-sheet-platform-icons,
.home-tests-section .home-test-featured-platform-top .pro-review-platform {
    margin: 0;
    gap: 0.3rem;
}

.home-test-featured-platform-top .game-sheet-platform-icon,
.home-test-featured-platform-top .pro-review-platform {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    gap: 0;
    border: 2px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.home-test-featured-platform-top .game-sheet-platform-icon__label {
    display: none !important;
}

.home-test-featured-platform-top .game-sheet-platform-icon i,
.home-test-featured-platform-top .game-sheet-platform-icon .mdi,
.home-test-featured-platform-top .game-sheet-platform-icon .p4g-platform-icon-glyph,
.home-test-featured-platform-top .game-sheet-platform-icon .p4g-platform-icon-img {
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
}

.home-test-featured-platform-top .game-sheet-platform-icon .p4g-platform-icon-img {
    width: 1.15em;
    height: 1.15em;
}

.home-test-featured-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    padding: 1.35rem 1.5rem 1.25rem;
    background: linear-gradient(180deg, transparent 0%, rgba(7, 21, 35, 0.95) 85%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
}

.home-test-featured-title {
    margin: 0;
    font-size: clamp(1.05rem, 1.55vw, 1.35rem);
    font-weight: 800;
    line-height: 1.22;
    max-width: 100%;
}

.home-test-featured-title a {
    color: #fff;
    text-decoration: none;
}

.home-test-featured-title a:hover {
    color: rgba(255, 255, 255, 0.88);
}

.home-test-featured-date {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}

.home-test-compact {
    position: relative;
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: stretch;
    min-width: 0;
    padding: 0.65rem;
    border-radius: 16px;
    background: var(--home-test-compact-bg);
    box-shadow: 0 10px 28px var(--home-test-compact-shadow);
}

.home-test-compact.is-stack-item {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 0.55rem;
    padding: 0.45rem 0.5rem;
    height: 100%;
    min-height: 0;
    align-self: stretch;
}

.home-test-compact.is-stack-item .home-test-compact-title {
    margin-bottom: 0.2rem;
    font-size: 0.88rem;
    line-height: 1.3;
    -webkit-line-clamp: 2;
}

.home-test-compact.is-stack-item .home-test-meta--compact {
    gap: 0.18rem;
}

.home-test-compact.is-stack-item .home-test-stats,
.home-test-compact.is-stack-item .home-test-date {
    font-size: 0.75rem;
    line-height: 1.3;
}

.home-test-compact.is-stack-item .home-test-compact-body {
    padding-right: 1.65rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-test-compact.is-stack-item .home-test-stats i {
    font-size: 0.72rem;
}

.home-test-compact.is-stack-item .home-test-compact-platform-top {
    top: 0.35rem;
    right: 0.35rem;
}

.home-test-compact.is-stack-item .home-test-compact-platform-top .game-sheet-platform-icon,
.home-test-compact.is-stack-item .home-test-compact-platform-top .pro-review-platform {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    border-radius: 50%;
    padding: 0;
}

.home-test-compact-platform-top {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    pointer-events: none;
}

.home-tests-section .home-test-compact-platform-top .game-sheet-platform-icons,
.home-tests-section .home-test-compact-platform-top .pro-review-platform {
    margin: 0;
}

.home-test-compact-body {
    min-width: 0;
    padding-right: 2rem;
}

.home-test-compact-media-wrap {
    position: relative;
    height: 100%;
    min-height: 0;
    align-self: stretch;
    min-width: 0;
}

.home-test-compact-media {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    background: #0f172a;
    height: 100%;
    min-height: 100%;
    align-self: stretch;
}

.home-test-compact-media img,
.home-test-compact-placeholder {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.home-test-compact.is-stack-item .home-test-compact-media::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
    background:
        radial-gradient(
            farthest-side ellipse at 50% 42%,
            rgba(8, 14, 29, 0) 22%,
            rgba(8, 14, 29, 0.42) 58%,
            rgba(8, 14, 29, 0.78) 100%
        ),
        linear-gradient(to top, rgba(8, 14, 29, 0.55) 0%, transparent 55%);
}

.home-test-compact.is-stack-item .home-critique-score-ring.is-compact-badge {
    --score: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    z-index: 2;
    pointer-events: none;
}

.home-test-compact.is-stack-item .home-critique-score-ring.is-compact-badge::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(
        var(--reviews-score-bg, #ff4d00) calc(var(--score) * 1%),
        color-mix(in srgb, var(--border-color, #e5e7eb) 58%, #ffffff) 0
    );
    -webkit-mask-image: radial-gradient(farthest-side, transparent calc(78% - 1px), #000 78%);
    mask-image: radial-gradient(farthest-side, transparent calc(78% - 1px), #000 78%);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
    z-index: 0;
}

.home-test-compact.is-stack-item .home-critique-score-ring.is-compact-badge.is-perfect::before {
    background: conic-gradient(
        #f5b301 calc(var(--score) * 1%),
        color-mix(in srgb, var(--border-color, #e5e7eb) 58%, #ffffff) 0
    );
}

.home-test-compact.is-stack-item .home-critique-score-ring.is-compact-badge strong {
    position: relative;
    z-index: 1;
    font-size: 0.92rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    -webkit-text-stroke: 0.45px rgba(0, 0, 0, 0.55);
    paint-order: stroke fill;
    text-shadow:
        0 0 2px rgba(0, 0, 0, 1),
        0 1px 3px rgba(0, 0, 0, 0.95),
        0 2px 8px rgba(0, 0, 0, 0.85);
}

.home-test-compact-placeholder {
    background: linear-gradient(135deg, #1e293b, #0f172a);
}

.home-test-compact-title {
    margin: 0 0 0.35rem;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.32;
}

.home-test-compact-title a {
    color: #111827;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-test-compact-title a:hover {
    color: var(--bg-blue);
}

.home-test-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
}

.home-test-meta--compact {
    gap: 0.28rem;
}

.home-test-meta--compact .home-test-stats {
    width: auto;
}

.home-test-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.2rem 0.35rem;
    width: 100%;
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.35;
    color: #8b93a1;
}

.home-test-stats span {
    display: inline-flex;
    align-items: center;
}

.home-test-stats i {
    margin-right: 0.28rem;
    opacity: 0.85;
}

.home-test-stats .meta-separator {
    opacity: 0.55;
    user-select: none;
}

.home-test-featured-stats {
    color: rgba(255, 255, 255, 0.72);
}

.home-test-date {
    color: #8b93a1;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}

.home-test-badges {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.home-test-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.45em 0.95em;
    min-height: 2rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    box-sizing: border-box;
    background: var(--reviews-score-bg, #ff4d00);
}

.home-test-badge i {
    font-size: 0.88em;
    line-height: 1;
    opacity: 0.95;
}

.home-test-badge--type.is-game,
.home-test-badge--type.is-hardware,
.home-test-badge--type.is-accessory,
.home-test-badge--tests {
    background: var(--reviews-score-bg, #ff4d00);
}

.home-tests-section .home-test-badge.hero-label,
.home-test-meta-badges .home-test-badge.hero-label {
    background: var(--reviews-score-bg, #ff4d00) !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
}

.home-test-platform-badges {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.28rem;
}

.home-tests-section .home-test-platform-badges .game-sheet-platform-icons,
.home-tests-section .home-test-platform-badges .pro-review-platform {
    margin: 0;
    gap: 0.3rem;
    width: auto;
    justify-content: flex-start;
}

.home-tests-section .home-test-platform-badges .game-sheet-platform-icons.is-compact {
    margin-top: 0;
}

.home-tests-section .home-test-platform-badges .game-sheet-platform-icon,
.home-tests-section .home-test-platform-badges .pro-review-platform {
    min-height: 22px;
    padding: 0.12rem 0.42rem;
    border-radius: 2px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.2;
    gap: 0.28rem;
}

.home-tests-section .home-test-platform-badges .game-sheet-platform-icon i,
.home-tests-section .home-test-platform-badges .game-sheet-platform-icon .mdi,
.home-tests-section .home-test-platform-badges .game-sheet-platform-icon .p4g-platform-icon-glyph,
.home-tests-section .home-test-platform-badges .game-sheet-platform-icon .p4g-platform-icon-img {
    display: inline-block !important;
    font-size: 0.82rem;
    width: auto;
    height: auto;
    flex-shrink: 0;
}

.home-tests-section .home-test-platform-badges .game-sheet-platform-icon .p4g-platform-icon-img {
    width: 0.95em;
    height: 0.95em;
    object-fit: contain;
}

.home-tests-section .home-test-platform-badges .game-sheet-platform-icon__label {
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

.home-tests-section .home-test-platform-badges .game-sheet-platform-icon.is-compact:not([style]) {
    border-color: rgba(20, 89, 130, 0.35);
    background: rgba(20, 89, 130, 0.12);
    color: #0f172a;
    box-shadow: none;
}

.home-tests-foot {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.home-tests-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0.72rem 1.45rem;
    background: var(--home-tests-more-bg);
    color: var(--home-tests-more-text);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: filter 0.18s ease, background 0.18s ease;
}

.home-tests-more-btn:hover {
    filter: brightness(0.98);
    background: var(--home-tests-more-hover-bg);
    color: var(--home-tests-more-text);
}

.home-tests-empty {
    margin: 0.5rem 0 0;
    color: var(--home-tests-empty);
    font-size: 0.92rem;
}

@media (max-width: 1180px) {
    .home-tests-layout {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .home-tests-right-list {
        height: auto;
        min-height: 0;
        grid-template-rows: none;
        display: grid;
        gap: 0.75rem;
    }

    .home-test-compact.is-stack-item {
        height: auto;
        min-height: auto;
        grid-template-columns: 96px minmax(0, 1fr);
        padding: 0.65rem;
    }

    .home-test-compact.is-stack-item .home-test-compact-title {
        -webkit-line-clamp: 3;
        font-size: 0.86rem;
    }

    .home-test-featured,
    .home-test-secondary {
        --home-test-featured-height: clamp(320px, 56vw, 460px);
    }

    .home-tests-col-right .home-tests-foot {
        justify-content: flex-end;
    }

    .home-tests-col-right .home-tests-more-btn {
        width: auto;
    }
}

@media (max-width: 680px) {
    .home-tests-fullpage-inner {
        padding: 0 1rem;
    }

    .home-test-compact {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 0.6rem;
    }

    .home-test-featured-meta {
        padding: 1rem 1rem 0.95rem;
    }

    .home-test-featured-platform-top {
        top: 0.65rem;
        left: 0.65rem;
        max-width: calc(100% - 5rem);
    }

    .home-tests-foot {
        justify-content: stretch;
    }

    .home-tests-more-btn {
        width: 100%;
    }
}
/* Navigation pro: submenu + mega menu + no bullets */
.topbar-menu ul,
.category-menu,
.category-menu ul,
.drawer-menu,
.drawer-menu ul {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.category-menu-nav {
    max-width: 100%;
}

.category-menu {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    position: relative;
}

/* Barre tendances sous le header : une seule ligne (libellÃ© + jeux). */
.header-secondary .category-menu-nav {
    width: auto !important;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
}

.header-secondary .category-menu {
    flex-wrap: nowrap;
}

.header-secondary .category-menu > li {
    padding-bottom: 0;
    margin-bottom: 0;
}

.category-menu > li {
    position: relative;
    padding-bottom: 8px;
    margin-bottom: -8px;
}

.topbar-menu > li {
    position: relative;
    padding-bottom: 8px;
    margin-bottom: -8px;
}

.category-menu > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.45rem 0.72rem;
    border-radius: 8px;
}

.topbar-menu > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
}

.topbar-menu .menu-item-has-children > a::after,
.category-menu .menu-item-has-children > a::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-left: 0.45rem;
    border-right: 1.8px solid currentColor;
    border-bottom: 1.8px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    opacity: 0.8;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.category-menu .sub-menu {
    display: block;
    position: absolute;
    left: 0;
    top: calc(100% + 4px);
    min-width: 220px;
    background: #0f1d33;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.35rem;
    z-index: 60;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
    transition: opacity 0.16s ease, transform 0.16s ease;
    opacity: 0;
    transform: translateY(4px);
    visibility: hidden;
    pointer-events: none;
}

.topbar-menu .sub-menu {
    display: block;
    position: absolute;
    left: 0;
    top: calc(100% + 4px);
    min-width: 210px;
    background: #0f1d33;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.35rem;
    z-index: 70;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
    transition: opacity 0.16s ease, transform 0.16s ease;
    opacity: 0;
    transform: translateY(4px);
    visibility: hidden;
    pointer-events: none;
}

.category-menu .sub-menu::before,
.topbar-menu .sub-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 10px;
}

.category-menu .sub-menu li a {
    display: block;
    padding: 0.5rem 0.62rem;
    border-radius: 7px;
    white-space: nowrap;
}

.topbar-menu .sub-menu li a {
    display: block;
    padding: 0.5rem 0.62rem;
    border-radius: 7px;
    white-space: nowrap;
}

.category-menu li:hover > .sub-menu,
.category-menu li:focus-within > .sub-menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.topbar-menu li:hover > .sub-menu,
.topbar-menu li:focus-within > .sub-menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.topbar-menu .menu-item-has-children:hover > a::after,
.topbar-menu .menu-item-has-children:focus-within > a::after,
.category-menu .menu-item-has-children:hover > a::after,
.category-menu .menu-item-has-children:focus-within > a::after {
    transform: rotate(225deg) translateY(1px);
    opacity: 1;
}

.category-menu .sub-menu .sub-menu {
    left: 100%;
    top: -2px;
}

/* Add "mega-menu" class on top-level item in WP menu */
.category-menu > li.mega-menu {
    position: static;
}

.category-menu > li.mega-menu > .sub-menu {
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.75rem;
}

.category-menu > li.mega-menu:hover > .sub-menu,
.category-menu > li.mega-menu:focus-within > .sub-menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.category-menu > li.mega-menu > .sub-menu > li > a {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.drawer-menu {
    display: grid;
    gap: 0.25rem;
}

.drawer-menu li {
    position: relative;
}

.drawer-menu a {
    display: block;
    padding: 0.55rem 2rem 0.55rem 0.15rem;
}

.drawer-menu .menu-item-has-children {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    width: 100%;
}

.drawer-menu .menu-item-has-children > a {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    box-sizing: border-box;
    padding-right: 2.75rem;
}

.drawer-menu .menu-item-has-children > .submenu-toggle {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    position: relative;
    z-index: 1;
    margin: 0 0.15rem 0 0;
}

.drawer-menu .sub-menu {
    display: none;
    margin-left: 0.6rem;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    padding-left: 0.6rem;
    grid-column: 1 / -1;
    grid-row: 2;
}

.drawer-menu li.is-open > .sub-menu {
    display: grid;
    gap: 0.15rem;
}

.submenu-toggle {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
}

/* Drawer submenu visual refinement */
.header-drawer .drawer-menu {
    gap: 0.5rem;
}

.header-drawer .drawer-menu > li > a {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
}

.header-drawer .drawer-menu .menu-item-has-children > a {
    border-radius: 12px;
}

.header-drawer .submenu-toggle {
    width: 32px;
    height: 32px;
    margin-right: 0;
    border-radius: 10px;
    background: color-mix(in srgb, var(--drawer-text, #ffffff) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--drawer-text, #ffffff) 18%, transparent);
    font-size: 0.78rem;
}

.header-drawer .drawer-menu .sub-menu {
    margin-left: 0.45rem;
    padding-left: 0.55rem;
    border-left: 2px solid rgba(255, 255, 255, 0.14);
}

.header-drawer .drawer-menu .sub-menu li > a {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.62rem 0.75rem;
    font-size: 0.82rem;
}

.header-drawer .drawer-menu li.is-open > .submenu-toggle {
    background: color-mix(in srgb, var(--bg-blue) 28%, transparent);
}

/* Drawer visual style inspired by editorial mockup */
.header-drawer .drawer-panel {
    width: min(370px, 92vw);
    padding: 0.7rem 0.8rem 1.35rem;
    background: var(--drawer-bg, #031327);
}

.header-drawer .drawer-topbar {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.7rem;
}

.header-drawer .drawer-close,
.header-drawer .drawer-theme-toggle {
    margin: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--drawer-text, #ffffff) 18%, transparent);
    background: color-mix(in srgb, var(--drawer-text, #ffffff) 6%, transparent);
    color: var(--drawer-text, #ecf3ff);
}

.header-drawer .drawer-brand {
    margin: 0;
    display: grid;
    place-items: center;
}

.header-drawer .drawer-brand .custom-logo,
.header-drawer .drawer-brand .site-logo-image--switchable {
    max-height: 34px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.header-drawer .drawer-search {
    margin-bottom: 0.9rem;
}

.header-drawer .p4g-livedirect-drawer-promo {
    margin: 0 0 0.9rem;
    padding: 0 0 0.85rem;
}

.header-drawer .p4g-livedirect-nav-tab--drawer {
    color: #f7f1ea;
}

.header-drawer .drawer-search-form {
    position: relative;
}

.header-drawer .drawer-search-input {
    width: 100%;
    min-height: 42px;
    border-radius: 9px;
    border: 1px solid rgba(95, 143, 191, 0.22);
    background: #ffffff;
    color: #1f2937;
    padding: 0.55rem 2.4rem 0.55rem 0.75rem;
    font-size: 0.95rem;
}

.header-drawer .drawer-search-input::placeholder {
    color: rgba(31, 41, 55, 0.72);
}

/* Force readable colors when browser autofill applies custom styling. */
.header-drawer .drawer-search-input:-webkit-autofill,
.header-drawer .drawer-search-input:-webkit-autofill:hover,
.header-drawer .drawer-search-input:-webkit-autofill:focus {
    -webkit-text-fill-color: #1f2937;
    box-shadow: 0 0 0 1000px #ffffff inset;
    transition: background-color 9999s ease-out 0s;
}

.header-drawer .drawer-search-submit {
    position: absolute;
    right: 0.3rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: rgba(236, 243, 255, 0.92);
    width: 30px;
    height: 30px;
}

.header-drawer .drawer-nav {
    gap: 0.48rem;
}

.header-drawer .drawer-menu > li {
    margin-left: 0;
    width: 100%;
}

.header-drawer .drawer-menu > li > a {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0.34rem 0.1rem 0.24rem;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--drawer-text, #f1f6ff);
}

.header-drawer .drawer-menu .menu-item-has-children > a {
    border-radius: 12px;
}

.header-drawer .drawer-menu .menu-item-has-children > .submenu-toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--drawer-text, #ffffff) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--drawer-text, #ffffff) 18%, transparent);
    color: var(--drawer-text, rgba(108, 180, 255, 0.95));
}

.header-drawer .drawer-menu .sub-menu {
    margin-top: 0.08rem;
    margin-left: 0;
    padding-left: 0.72rem;
    border-left: 1px solid rgba(78, 163, 255, 0.35);
}

.header-drawer .drawer-menu .sub-menu li > a {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0.5rem 0.55rem;
    font-size: 0.86rem;
    color: rgba(215, 232, 255, 0.95);
    text-transform: none;
    letter-spacing: 0;
    position: relative;
}

.header-drawer .drawer-menu .sub-menu .menu-item-has-children > a {
    padding-right: 2.5rem;
}

.header-drawer .drawer-menu .sub-menu li > a::before {
    content: "";
    position: absolute;
    left: -0.72rem;
    top: 50%;
    width: 0.58rem;
    height: 1px;
    background: color-mix(in srgb, var(--drawer-shadow-color, #4ea3ff) 48%, transparent);
}

.header-drawer .drawer-menu.secondary {
    padding-top: 0;
    border-top: 0;
}

.header-drawer .drawer-socials {
    margin-top: 1.15rem;
    padding-top: 0.85rem;
    border-top: 1px solid color-mix(in srgb, var(--drawer-shadow-color, #4ea3ff) 24%, transparent);
    display: flex;
    justify-content: center;
    gap: 0.78rem;
}

.header-drawer .drawer-socials a {
    color: rgba(236, 243, 255, 0.9);
    font-size: 1.02rem;
}

/* Pro reviews page */
.pro-reviews-page {
    max-width: 1260px;
    margin: 0 auto;
    padding: clamp(1rem, 2.2vw, 1.8rem);
}

.pro-reviews-hero {
    margin-bottom: 1.2rem;
    padding: 1.12rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: linear-gradient(128deg, var(--theme-surface-deep) 0%, var(--bg-dark) 45%, var(--bg-blue) 100%);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.1rem;
    align-items: center;
    color: var(--text-light);
    box-shadow: 0 14px 32px rgba(11, 22, 39, 0.2);
    position: relative;
    overflow: hidden;
    min-height: 132px;
}

.pro-reviews-hero::before {
    content: "";
    position: absolute;
    inset: -50% auto auto -12%;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.pro-reviews-hero-copy {
    position: relative;
    z-index: 1;
}

.pro-reviews-hero-copy h1 {
    position: relative;
    display: inline-block;
    padding-bottom: 0.2rem;
}

.pro-reviews-hero-copy h1::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0));
}

.pro-reviews-kicker {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.7rem;
    margin: 0 0 0.28rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

.pro-reviews-hero h1 {
    margin: 0 0 0.32rem;
    font-size: clamp(1.45rem, 2.2vw, 2.1rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.pro-reviews-hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    max-width: 56ch;
}

.pro-reviews-filters {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.pro-reviews-filters a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.35rem 0.78rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.pro-reviews-filters a:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.14);
}

.pro-reviews-filters a.is-active {
    background: var(--bg-blue);
    border-color: rgba(255, 255, 255, 0.35);
}

/* Recent articles header aligned with review hero */
.editorial-hero-heading {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1.12rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: linear-gradient(128deg, var(--theme-surface-deep) 0%, var(--bg-dark) 45%, var(--bg-blue) 100%);
    color: #fff;
    min-height: 132px;
}

.editorial-hero-heading::before {
    content: "";
    position: absolute;
    inset: -70% auto auto -18%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.recent-heading-main {
    position: relative;
    z-index: 1;
}

.recent-heading-main > span,
.recent-heading-kicker {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.7rem;
    margin: 0 0 0.3rem;
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

.recent-heading-main h2 {
    margin: 0 0 0.32rem;
    color: #fff;
    font-size: clamp(1.45rem, 2.2vw, 2.1rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.editorial-hero-heading h1 {
    margin: 0 0 0.32rem;
    color: #fff;
    font-size: clamp(1.45rem, 2.2vw, 2.1rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.recent-heading-main p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 56ch;
}

.recent-heading-cta {
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.recent-heading-cta:hover {
    background: rgba(255, 255, 255, 0.14);
}

/* Front recent articles line header */
.recent-articles-heading {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.news-main > .recent-articles-heading {
    margin-bottom: 0;
}

.recent-articles-heading h2 {
    margin: 0;
    font-size: 1.02rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: rgba(14, 32, 56, 0.82);
    white-space: nowrap;
    min-width: 0;
}

.recent-articles-head-line {
    height: 4px;
    flex: 1;
    border-radius: 999px;
    background: var(--bg-blue);
    opacity: 0.9;
}

.recent-articles-heading .recent-heading-cta {
    border: 0;
    background: transparent;
    color: rgba(14, 32, 56, 0.72);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0;
    white-space: nowrap;
}

.recent-articles-heading .recent-heading-cta:hover {
    color: var(--bg-dark);
    background: transparent;
}

.search-page-header {
    margin-bottom: 1rem;
}

.category-mag-hero {
    margin-bottom: 1rem;
}

/* Rubrique (catÃ©gories articles) : description sur toute la largeur du bandeau si pas de 2e colonne (onglets / filtres). */
.category-mag-hero.editorial-hero-heading .recent-heading-main {
    min-width: 0;
}

.category-mag-hero.editorial-hero-heading .recent-heading-main:only-child {
    flex: 1 1 100%;
    max-width: none;
}

.category-mag-hero.editorial-hero-heading .recent-heading-main:only-child p {
    max-width: none;
}

.category-mag-hero.editorial-hero-heading .recent-heading-main:not(:only-child) {
    flex: 1 1 0;
}

.category-mag-hero.editorial-hero-heading > :not(.recent-heading-main) {
    flex-shrink: 0;
}

/* Jaquette + anneau de note (archives tests, auteur, accueil) */
.home-critique-thumb {
    position: relative;
    width: 112px;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(8, 14, 29, 0.8);
    display: block;
}

.home-critique-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
    background:
        radial-gradient(
            farthest-side ellipse at 50% 42%,
            rgba(8, 14, 29, 0) 28%,
            rgba(8, 14, 29, 0.38) 62%,
            rgba(8, 14, 29, 0.72) 100%
        ),
        linear-gradient(to top, rgba(8, 14, 29, 0.5) 0%, transparent 52%);
}

.home-critique-thumb img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
}

.home-critique-score-ring {
    --score: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    z-index: 2;
    pointer-events: none;
}

.home-critique-score-ring::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(
        var(--reviews-score-bg, #ff4d00) calc(var(--score) * 1%),
        color-mix(in srgb, var(--border-color, #e5e7eb) 58%, #ffffff) 0
    );
    -webkit-mask-image: radial-gradient(farthest-side, transparent calc(78% - 1px), #000 78%);
    mask-image: radial-gradient(farthest-side, transparent calc(78% - 1px), #000 78%);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
    z-index: 0;
}

.home-critique-score-ring strong {
    position: relative;
    z-index: 1;
    font-size: clamp(1.05rem, 3.2vw, 1.35rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    -webkit-text-stroke: 0.6px rgba(0, 0, 0, 0.55);
    paint-order: stroke fill;
    text-shadow:
        0 0 2px rgba(0, 0, 0, 1),
        0 1px 3px rgba(0, 0, 0, 0.95),
        0 2px 10px rgba(0, 0, 0, 0.85),
        0 0 18px rgba(0, 0, 0, 0.75),
        0 0 28px rgba(0, 0, 0, 0.55);
}

.pro-review-featured {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
    margin-bottom: 1.1rem;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 14px;
    overflow: visible;
    box-shadow: 0 10px 24px rgba(15, 25, 43, 0.08);
    position: relative;
}

.pro-review-featured-media {
    position: relative;
    padding: 0.85rem 0 0.85rem 0.85rem;
}

.pro-review-featured-thumb.home-critique-thumb {
    width: 148px;
    height: 186px;
    display: block;
}

.pro-review-featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.pro-review-featured-body {
    padding: 0.95rem 1rem;
    padding-right: 2.75rem;
    display: grid;
    align-content: start;
}

.pro-review-featured-label {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 0.5rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(30, 115, 190, 0.14);
    color: #123865;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pro-review-featured-body h2 {
    margin: 0 0 0.55rem;
    font-size: clamp(1.2rem, 1.9vw, 1.7rem);
}

.pro-review-featured-body p {
    margin: 0 0 0.72rem;
    color: #51647c;
}

.pro-review-featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    margin-bottom: 0.6rem;
}

.pro-review-featured .pro-review-featured-meta > .game-sheet-platform-icons,
.pro-review-featured .pro-review-featured-meta > .pro-review-platform {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 4;
    margin: 0;
    justify-content: flex-end;
}

.pro-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

/* Cartes liste archive : mÃªme logique que le bloc Critiques (jaquette + note) */
.pro-review-card {
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 6px 16px rgba(15, 25, 43, 0.06);
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 0.8rem;
    align-items: start;
    padding: 0.75rem;
    position: relative;
}

.pro-review-media {
    position: relative;
}

.pro-review-thumb-link.home-critique-thumb {
    display: block;
}

.pro-review-thumb-link .pro-review-thumb-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(8, 14, 29, 0.85);
    color: rgba(232, 241, 255, 0.92);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: center;
    padding: 0.35rem;
}

/* Pages dÃ©diÃ©es (tests jeux / matÃ©riel / avis pro) : ancienne mise en page banniÃ¨re */
.pro-review-thumb {
    display: block;
    aspect-ratio: 21 / 10;
    background: #dce6f0;
    position: relative;
    overflow: hidden;
}

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

.pro-review-thumb-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #4f5f73;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.pro-review-body {
    padding: 0.78rem 0.82rem 0.85rem;
}

.pro-review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.55rem;
}

.pro-review-card .pro-review-top {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 4;
    margin: 0;
    justify-content: flex-end;
}

.pro-review-card .pro-review-body {
    padding-right: 2.65rem;
}

.pro-review-rating {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff6a3d, #f9b233);
    color: #171b25;
    font-weight: 700;
}

.pro-review-image-score {
    position: absolute;
    right: 0.62rem;
    bottom: 0.62rem;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.pro-review-image-score.is-high {
    background: #1faa5c;
}

.pro-review-image-score.is-mid {
    background: #f5a623;
}

.pro-review-image-score.is-low {
    background: #dd4b39;
}

.pro-review-platform {
    opacity: 0.9;
    font-size: 0.8rem;
    color: #49586d;
}

.pro-review-body h2 {
    margin: 0 0 0.45rem;
    font-size: 1.08rem;
    line-height: 1.35;
}

.pro-review-body p {
    margin: 0 0 0.52rem;
    color: #586b82;
}

.pro-review-meta {
    margin-bottom: 0.5rem;
    color: #677b92;
    font-size: 0.82rem;
}

.pro-review-link {
    font-weight: 600;
    color: var(--bg-blue);
}

/* Cartes liste (fond clair) : titres toujours lisibles, y compris en theme-dark */
.pro-review-card .pro-review-body h2 a,
.pro-review-card .pro-review-body h3 a {
    color: #0f172a;
    text-decoration: none;
}

.pro-review-card .pro-review-body h2 a:hover,
.pro-review-card .pro-review-body h3 a:hover {
    color: var(--bg-blue);
}

body.theme-dark .pro-review-card .pro-review-body h2 a,
body.theme-dark .pro-review-card .pro-review-body h3 a {
    color: #0f172a;
}

body.theme-dark .pro-review-card .pro-review-body h2 a:hover,
body.theme-dark .pro-review-card .pro-review-body h3 a:hover {
    color: var(--bg-blue);
}

.pro-reviews-pagination {
    margin-top: 1.1rem;
}

.pro-reviews-pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.pro-reviews-pagination a,
.pro-reviews-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 0.35rem 0.7rem;
    border-radius: 10px;
    border: 1px solid rgba(20, 89, 130, 0.18);
    background: #fff;
    color: var(--bg-accent);
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(17, 24, 39, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.pro-reviews-pagination a:hover,
.pro-reviews-pagination a:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(30, 115, 190, 0.45);
    box-shadow: 0 10px 22px rgba(30, 115, 190, 0.2);
    outline: none;
}

.pro-reviews-pagination .current {
    background: linear-gradient(135deg, var(--bg-blue), var(--bg-accent));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 22px rgba(16, 86, 156, 0.28);
}

@media (max-width: 980px) {
    .pro-reviews-hero {
        grid-template-columns: 1fr;
        align-items: start;
        min-height: 0;
    }

    .recent-articles-heading,
    .editorial-hero-heading {
        min-height: 0;
    }

    .pro-reviews-filters {
        justify-content: flex-start;
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 0.7rem;
    }

    .pro-review-featured {
        grid-template-columns: 1fr;
    }

    .pro-review-featured-media {
        display: flex;
        justify-content: center;
        padding: 0.85rem 0.85rem 0;
    }

    .pro-review-featured-thumb.home-critique-thumb {
        width: min(148px, 42vw);
        height: calc(min(148px, 42vw) * (140 / 112));
    }

    .pro-reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .pro-reviews-grid {
        grid-template-columns: 1fr;
    }

    .pro-review-card {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 0.65rem;
        padding: 0.65rem;
    }
}

/* Global responsive pass */
img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 1280px) {
    .hero-fullpage-inner,
    .news-grid,
    .home-critiques-inner,
    .home-releases-inner,
    .releases-page-grid,
    .single-review-page {
        max-width: 100%;
    }
}

@media (max-width: 980px) {
    /*
     * overflow-x: hidden sur body casse position:sticky du header (Safari / Chrome mobile).
     * clip supprime le scroll horizontal sans crÃ©er le mÃªme conteneur de dÃ©filement.
     */
    html,
    body {
        max-width: 100%;
        overflow-x: clip;
    }

    .header-topbar {
        gap: 0.5rem;
    }

    .header-right .social-links {
        display: none;
    }

    .category-menu > li > .sub-menu,
    .category-menu > li.mega-menu > .sub-menu {
        position: fixed;
        left: 1rem;
        right: 1rem;
        top: auto;
        transform: translateY(0);
    }

    .news-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-article-module {
        grid-template-columns: 1fr !important;
    }

    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Accueil : une carte par ligne (pas 2 colonnes de cartes étroites). */
    .news-section .cards-grid {
        grid-template-columns: 1fr !important;
    }

    .home-critiques-inner {
        padding: 0.85rem;
    }
}

@media (max-width: 680px) {
    .header-brand .custom-logo,
    .header-brand .site-logo-link--dual .site-logo-image,
    .header-brand .site-logo-link--switchable .site-logo-image--switchable {
        max-height: 34px;
        width: auto;
    }

    .header-brand .site-logo-link--switchable {
        height: 34px;
    }

    .cards-grid,
    .home-critique-grid,
    .releases-page-grid {
        grid-template-columns: 1fr;
    }

    .post-card,
    .home-critique-card,
    .release-page-card {
        border-radius: 10px;
    }

    .single-review-page,
    .releases-page,
    .home-critiques-section,
    .home-releases-section {
        padding-left: 0.65rem;
        padding-right: 0.65rem;
    }

    .site-main {
        overflow-x: clip;
    }

    /* Home hero mobile: avoid text clipping/overlap */
    .hero-article-module {
        gap: 0.9rem;
    }

    .hero-article-module {
        --hero-main-height: 360px;
        --hero-side-row-height: 155px;
    }

    .hero-main-card {
        height: var(--hero-main-height, 360px);
        min-height: var(--hero-main-height, 360px);
        max-height: var(--hero-main-height, 360px);
        border-radius: 18px;
    }

    .hero-side-grid {
        gap: 0.7rem;
        padding: 0;
        height: auto;
        min-height: 0;
        max-height: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(0, var(--hero-side-row-height, 155px)));
    }

    .hero-side-card {
        width: 100%;
        height: 100%;
        min-height: var(--hero-side-row-height, 155px);
        border-radius: 14px;
    }

    .hero-main-meta,
    .hero-side-meta {
        z-index: 2;
        padding: 0.75rem;
    }

    .hero-main-meta h1 {
        font-size: 1.02rem;
        line-height: 1.18;
        margin: 0 0 0.45rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-main-meta p {
        margin: 0;
        font-size: 0.86rem;
        line-height: 1.34;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-side-meta .hero-side-title {
        font-size: 0.88rem;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

/* Search panel + Font Awesome icon integration */
.header-right .social-links a,
.footer-social a {
    font-size: 0.92rem;
}

.search-toggle i,
.header-right .social-links i,
.footer-social i {
    pointer-events: none;
}

.header-search-panel {
    position: fixed;
    inset: 0;
    background: rgba(7, 21, 35, 0.58);
    z-index: 250;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 90px 1rem 1rem;
}

.header-search-panel.is-open {
    display: flex;
}

.header-search-panel-inner {
    width: min(920px, 100%);
    background: #ffffff;
    border: 1px solid rgba(20, 89, 130, 0.18);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(8, 14, 29, 0.24);
    padding: 0.8rem;
}

.header-search-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.6rem;
    align-items: center;
}

.header-search-input {
    width: 100%;
    border: 1px solid rgba(20, 89, 130, 0.23);
    border-radius: 10px;
    min-height: 46px;
    padding: 0 0.9rem;
    font-size: 1rem;
    color: var(--bg-dark);
}

.header-search-input:focus {
    outline: none;
    border-color: rgba(30, 115, 190, 0.66);
    box-shadow: 0 0 0 3px rgba(30, 115, 190, 0.14);
}

.header-search-submit {
    min-height: 46px;
    min-width: 46px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--bg-blue), var(--bg-accent));
    color: #fff;
    cursor: pointer;
}

.header-search-submit:hover {
    filter: brightness(1.05);
}

@media (max-width: 680px) {
    .header-search-panel {
        padding-top: 72px;
    }

    .header-search-panel-inner {
        border-radius: 12px;
        padding: 0.65rem;
    }

    .header-search-input {
        min-height: 42px;
        font-size: 0.95rem;
    }

    .header-search-submit {
        min-height: 42px;
        min-width: 42px;
    }
}

/* Search results page */
.search-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.1rem 1rem 2rem;
}

.search-page-header h1 {
    margin: 0;
}

.search-page-header p {
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.9);
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.search-result-card {
    background: #fff;
    border: 1px solid rgba(20, 89, 130, 0.15);
    border-radius: 12px;
    overflow: hidden;
}

.search-result-thumb {
    display: block;
    aspect-ratio: 16 / 9;
    background: #0f172a;
}

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

.search-result-body {
    padding: 0.8rem;
}

.search-result-type {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(20, 89, 130, 0.2);
    font-size: 0.72rem;
    color: var(--bg-accent);
}

.search-result-body h2 {
    margin: 0.5rem 0 0.35rem;
    font-size: 1.05rem;
}

.search-result-body p {
    margin: 0;
    color: rgba(14, 32, 56, 0.74);
}

.search-result-link {
    margin-top: 0.5rem;
    display: inline-block;
}

.search-pagination {
    margin-top: 1rem;
}

@media (max-width: 820px) {
    .search-results-grid {
        grid-template-columns: 1fr;
    }
}

/* Category magazine page */
.category-mag-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 1rem 2.5rem;
}

.category-mag-hero {
    margin-bottom: 1rem;
}

.category-mag-hero-inner {
    background: var(--theme-gradient-hero);
    border-radius: 16px;
    padding: 1.2rem;
    color: #fff;
}

.category-mag-kicker {
    font-size: 0.76rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    opacity: 0.82;
}

.category-mag-hero h1 {
    margin: 0;
    color: #fff;
}

.category-mag-hero p {
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.9);
}

.category-featured-card {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 1rem;
    background: #fff;
    border: 1px solid rgba(20, 89, 130, 0.14);
    border-radius: 14px;
    overflow: hidden;
}

.category-featured-thumb {
    background: #0f172a;
    min-height: 320px;
}

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

.category-featured-body {
    padding: 1rem;
}

.category-featured-date {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(14, 32, 56, 0.62);
}

.category-featured-body h2 {
    margin: 0.45rem 0 0.55rem;
}

.category-featured-body p {
    margin: 0;
    color: rgba(14, 32, 56, 0.78);
}

.category-featured-link {
    margin-top: 0.7rem;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--bg-blue), var(--bg-accent));
    color: #fff;
    padding: 0.35rem 0.8rem;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.category-mag-content {
    margin-top: 1rem;
}

.category-mag-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.category-mag-card {
    border: 1px solid rgba(20, 89, 130, 0.14);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.category-mag-card-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    background: #0f172a;
}

.category-mag-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-mag-card-body {
    padding: 0.75rem;
}

.category-mag-card-date {
    font-size: 0.72rem;
    color: rgba(14, 32, 56, 0.62);
}

.category-mag-card-body .post-views {
    font-size: 0.72rem;
    font-weight: 400;
    color: rgba(14, 32, 56, 0.62);
}

.category-mag-card-body .post-views i {
    color: currentColor;
    opacity: 0.92;
}

.category-featured-body .post-views {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    font-weight: 400;
    color: rgba(14, 32, 56, 0.62);
}

.category-featured-body .post-views i {
    color: currentColor;
    opacity: 0.92;
}

.category-mag-card-body h3 {
    margin: 0.35rem 0;
    font-size: 1rem;
}

.category-mag-card-body p {
    margin: 0;
    color: rgba(14, 32, 56, 0.74);
    font-size: 0.92rem;
}

.category-mag-pagination {
    margin-top: 1rem;
}

.category-mag-empty {
    background: #fff;
    border: 1px solid rgba(20, 89, 130, 0.14);
    border-radius: 12px;
    padding: 1rem;
}

body.theme-dark .category-mag-card,
body.theme-dark .category-featured-card,
body.theme-dark .category-mag-empty {
    background: var(--surface-card);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-dark);
}

body.theme-dark .category-mag-card-body h3,
body.theme-dark .category-mag-card-body h3 a,
body.theme-dark .category-featured-body h2,
body.theme-dark .category-featured-body h2 a {
    color: var(--text-dark);
}

body.theme-dark .category-mag-card-date,
body.theme-dark .category-mag-card-body p,
body.theme-dark .category-featured-date,
body.theme-dark .category-featured-body p,
body.theme-dark .category-mag-card-body .post-views,
body.theme-dark .category-featured-body .post-views,
body.theme-dark .category-mag-empty {
    color: var(--muted-text);
}

body.theme-dark .category-mag-card-body .post-read-more,
body.theme-dark .category-mag-card-body a.post-read-more {
    color: color-mix(in srgb, var(--bg-blue) 65%, var(--text-dark));
}

body.theme-dark .category-mag-card-body .post-read-more:hover,
body.theme-dark .category-mag-card-body a.post-read-more:hover {
    color: var(--text-dark);
}

body.theme-dark .editorial-hero-heading .post-category.category-mag-hero-badge,
body.theme-dark .editorial-hero-heading .post-category.hero-label,
body.theme-dark .editorial-hero-heading .post-category.hero-side-label {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.38) !important;
    box-shadow: none !important;
}

body.theme-dark .editorial-hero-heading .post-category .post-category-label,
body.theme-dark .editorial-hero-heading .post-category a {
    color: #ffffff !important;
}

body.theme-dark .post-card .post-category,
body.theme-dark .category-mag-card-body .post-category {
    background: color-mix(in srgb, var(--bg-blue) 16%, var(--surface-panel));
    color: var(--text-dark);
    border-color: color-mix(in srgb, var(--bg-blue) 32%, transparent);
}

/* Newsletter block refinements */
.sidebar-newsletter {
    background: var(--theme-gradient-hero) !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.sidebar-discord {
    background: linear-gradient(145deg, #5865f2, #3a45b7) !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #eef2ff;
}

.sidebar-discord h3 {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.sidebar-discord-server {
    margin: 0 0 0.35rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}

.sidebar-discord-subtitle {
    margin: 0 0 0.55rem;
    font-size: 0.83rem;
    color: rgba(235, 240, 255, 0.9);
}

.sidebar-discord-meta {
    display: grid;
    gap: 0.25rem;
    margin-bottom: 0.7rem;
    font-size: 0.88rem;
    color: rgba(235, 240, 255, 0.92);
}

.sidebar-discord-meta .is-online {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
}

.sidebar-discord-meta .is-online::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.22);
}

.sidebar-discord-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-weight: 700;
}

.sidebar-discord-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.sidebar-discord-embed {
    margin-top: 0.75rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(8, 12, 24, 0.36);
}

.sidebar-discord-embed iframe {
    display: block;
    border: 0;
}

.sidebar-panel.sidebar-poll.sidebar-recent-comments {
    color: var(--text-dark);
}

.sidebar-panel.sidebar-poll.sidebar-recent-comments ul.sidebar-recent-comments-list {
    margin-top: 0;
}

.sidebar-panel.sidebar-poll.sidebar-recent-comments li.sidebar-recent-comments-item {
    margin-bottom: 0;
}

.sidebar-panel.sidebar-poll.sidebar-recent-comments .sidebar-recent-comments-link {
    color: var(--text-dark);
}

.sidebar-recent-comments-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}

.sidebar-recent-comments-link {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.45rem;
    border-radius: 12px;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.16s ease;
}

.sidebar-recent-comments-link:hover {
    background: rgba(20, 89, 130, 0.08);
    color: var(--text-dark);
}

.sidebar-recent-comments-avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.08);
    line-height: 0;
}

.sidebar-recent-comments-avatar-img,
.sidebar-recent-comments-avatar .avatar {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    display: block;
}

.sidebar-recent-comments-body {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 0.12rem;
}

.sidebar-recent-comments-author {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-dark);
}

.sidebar-recent-comments-text {
    font-size: 0.82rem;
    line-height: 1.35;
    color: var(--text-dark);
}

.sidebar-recent-comments-post {
    font-size: 0.72rem;
    color: var(--muted-text);
}

.sidebar-recent-comments-empty {
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted-text);
}

.sidebar-poll {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.sidebar-poll h3 {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.sidebar-poll-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin: 0 0 0.6rem;
}

.sidebar-poll-nav-btn {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0a4d7a;
    text-decoration: none;
}

.sidebar-poll-nav-btn:hover {
    text-decoration: underline;
}

.sidebar-poll-nav-current {
    font-size: 0.78rem;
    color: #374151;
}

.sidebar-poll-nav-select-wrap {
    margin: 0 0 0.7rem;
}

.sidebar-poll-select-label {
    display: block;
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-dark);
}

.sidebar-poll-nav-select {
    width: 100%;
    min-height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--surface-panel);
    color: var(--text-dark);
    font-size: 0.84rem;
    padding: 0.3rem 0.55rem;
}

.sidebar-poll-question {
    margin: 0 0 0.75rem;
    color: var(--muted-text);
    font-size: 0.94rem;
}

.sidebar-poll-form {
    display: grid;
    gap: 0.6rem;
}

.sidebar-poll-option {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.sidebar-poll-form button {
    min-height: 40px;
    border: 0;
    border-radius: 10px;
    background: var(--button-bg);
    color: var(--button-text);
    font-weight: 700;
}

.sidebar-poll-meta {
    margin-top: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
}

.sidebar-poll-results-link,
.sidebar-poll-back-to-vote-btn {
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    color: #0a4d7a;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.sidebar-poll-results-link:hover,
.sidebar-poll-back-to-vote-btn:hover {
    text-decoration: underline;
}

.sidebar-poll-form-wrap.is-hidden,
.sidebar-poll-results-wrap.is-hidden {
    display: none;
}

.sidebar-poll-results {
    display: grid;
    gap: 0.55rem;
}

.sidebar-poll-result-head {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.sidebar-poll-result-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(20, 89, 130, 0.15);
    overflow: hidden;
}

.sidebar-poll-result-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-blue), var(--bg-accent));
}

.sidebar-poll-total {
    margin: 0.25rem 0 0;
    font-size: 0.82rem;
    color: var(--muted-text);
}

.sidebar-poll-back-to-vote {
    margin: 0.2rem 0 0;
}

/* Sondages publications membre (fil profil / communauté) */
.member-feed-poll {
    margin: 0.75rem 0 0.5rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--surface-panel, #f8fafc);
}

.member-feed-poll-head {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-bottom: 0.65rem;
}

.member-feed-poll-head i {
    color: #0a4d7a;
    margin-top: 0.15rem;
}

.member-feed-poll-question {
    margin: 0;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.98rem;
    line-height: 1.35;
}

.member-feed-poll-vote,
.member-feed-poll-results {
    display: grid;
    gap: 0.45rem;
}

.member-feed-poll-vote.is-hidden,
.member-feed-poll-results.is-hidden {
    display: none;
}

.member-feed-poll-option-btn {
    display: block;
    width: 100%;
    text-align: left;
    min-height: 40px;
    padding: 0.45rem 0.75rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--surface-card, #fff);
    color: var(--text-dark);
    font-size: 0.92rem;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.member-feed-poll-option-btn:hover:not(:disabled) {
    border-color: #0a4d7a;
    background: rgba(10, 77, 122, 0.06);
}

.member-feed-poll-option-btn:disabled {
    opacity: 0.65;
    cursor: wait;
}

.member-feed-poll-meta {
    margin: 0.35rem 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.member-feed-poll-toggle-results,
.member-feed-poll-toggle-vote {
    font-size: 0.84rem;
    font-weight: 700;
    color: #0a4d7a;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.member-feed-poll-toggle-results:hover,
.member-feed-poll-toggle-vote:hover {
    text-decoration: underline;
}

.member-feed-poll-total {
    margin: 0;
    font-size: 0.82rem;
    color: var(--muted-text);
}

.member-feed-poll-result-item.is-user-choice .member-feed-poll-result-head span {
    font-weight: 700;
}

.member-feed-poll-result-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.member-feed-poll-result-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(10, 77, 122, 0.12);
    overflow: hidden;
}

.member-feed-poll-result-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0a4d7a, #1d7ab8);
}

.member-feed-poll-login-hint,
.member-feed-poll-back {
    margin: 0.25rem 0 0;
    font-size: 0.84rem;
    color: var(--muted-text);
}

.member-feed-poll.is-voting {
    opacity: 0.85;
    pointer-events: none;
}

.member-poll-tool-slot {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.member-poll-preview--composer.member-feed-poll {
    margin: 0.65rem 0 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.member-composer-toolbar-cluster .member-poll-preview--composer.member-feed-poll,
.member-post-edit-toolbar-cluster .member-poll-preview--composer.member-feed-poll {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 0.35rem;
}

.member-poll-preview--composer .member-feed-poll-vote {
    width: 100%;
}

.member-poll-preview--composer[hidden] {
    display: none !important;
}

.member-poll-preview--composer .member-feed-poll-head {
    align-items: flex-start;
}

.member-poll-preview--composer .member-feed-poll-question {
    flex: 1 1 auto;
    min-width: 0;
}

.member-poll-preview--composer .member-feed-poll-option-btn:disabled {
    opacity: 1;
    cursor: default;
    pointer-events: none;
}

.member-feed-poll-preview-hint {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--muted-text);
}

.member-poll-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    min-height: 1.65rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    color: var(--text-dark);
    cursor: pointer;
    flex-shrink: 0;
}

.member-poll-clear[hidden] {
    display: none !important;
}

.member-poll-clear--preview:hover {
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
}

.member-poll-dialog .member-poll-label,
.member-poll-dialog .member-poll-lead {
    display: block;
    margin: 0 0 0.35rem;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text-dark);
}

.member-poll-question-input {
    width: 100%;
    min-height: 42px;
    margin-bottom: 0.85rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    padding: 0.45rem 0.65rem;
    font-size: 0.95rem;
}

.member-poll-options-list {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
}

.member-poll-option-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.member-poll-option-input {
    flex: 1;
    min-height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.65rem;
    font-size: 0.92rem;
}

.member-poll-option-remove {
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    cursor: pointer;
}

.member-poll-add-option {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
    border: 0;
    background: transparent;
    color: #0a4d7a;
    font-weight: 700;
    cursor: pointer;
}

.member-poll-locked-note {
    margin: 0 0 0.75rem;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    background: rgba(245, 158, 11, 0.12);
    color: #92400e;
    font-size: 0.86rem;
}

.member-poll-dialog.member-life-event-dialog--fb {
    max-width: min(360px, calc(100vw - 1.25rem));
    width: min(360px, calc(100vw - 1.25rem));
}

.member-poll-dialog .member-poll-panel {
    padding: 0 0.75rem 0.75rem;
    overflow-y: auto;
    max-height: min(88vh, 520px);
}

.member-poll-dialog .member-poll-panel > .member-life-event-fb-top {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    width: auto;
}

.member-poll-dialog .member-poll-question-input {
    width: 100%;
    box-sizing: border-box;
}

.member-poll-dialog .member-poll-done {
    width: 100%;
    box-sizing: border-box;
}

.sidebar-hype-widget {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0.2rem;
    color: var(--text-dark);
}

.sidebar-hype-widget h3 {
    margin: 0;
    padding: 0.7rem 0.8rem 0.25rem;
    color: var(--text-dark);
}

.sidebar-hype-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.sidebar-hype-item {
    margin: 0;
}

.sidebar-hype-link {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem;
    padding: 0.48rem;
    border-radius: 12px;
    color: inherit;
    transition: background 0.16s ease;
}

.sidebar-hype-link:hover {
    background: rgba(20, 89, 130, 0.08);
}

.sidebar-hype-widget h3 {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.sidebar-hype-thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.08);
}

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

.sidebar-hype-content {
    min-width: 0;
    display: grid;
    gap: 0.15rem;
}

.sidebar-hype-name {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text-dark);
}

.sidebar-hype-meta {
    font-size: 0.74rem;
    color: var(--muted-text);
}

.sidebar-hype-score {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.14rem 0.36rem;
    border-radius: 999px;
    border: 1px solid rgba(234, 88, 12, 0.28);
    color: #c2410c;
    background: rgba(251, 146, 60, 0.16);
    font-size: 0.72rem;
    font-weight: 700;
}

.sidebar-hype-score.is-neutral {
    color: #4b5563;
    border-color: rgba(75, 85, 99, 0.22);
    background: rgba(148, 163, 184, 0.14);
}

.sidebar-collection-widget {
    background: linear-gradient(145deg, rgba(255, 248, 243, 0.95) 0%, var(--surface-card) 55%, rgba(238, 246, 255, 0.95) 100%);
    border: 1px solid rgba(232, 93, 4, 0.14);
    border-radius: 16px;
    padding: 0.2rem 0.2rem 0.55rem;
    color: var(--text-dark);
}

.sidebar-collection-widget h3 {
    margin: 0 0 0.65rem;
    padding: 0.7rem 0.8rem 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-dark);
}

.sidebar-collection-widget h3 i {
    color: var(--bg-accent, #e85d04);
}

.sidebar-collection-list {
    list-style: none;
    margin: 0;
    padding: 0 0.35rem;
    display: grid;
    gap: 0.35rem;
}

.sidebar-collection-item {
    margin: 0;
}

.sidebar-collection-link {
    display: grid;
    grid-template-columns: auto 52px minmax(0, 1fr);
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem;
    border-radius: 12px;
    color: inherit;
    transition: background 0.16s ease, box-shadow 0.16s ease;
}

.sidebar-collection-link:hover,
.sidebar-collection-link:focus-visible {
    background: rgba(20, 89, 130, 0.08);
}

.sidebar-collection-item.is-top-1 .sidebar-collection-link {
    background: rgba(245, 158, 11, 0.08);
}

.sidebar-collection-item.is-top-2 .sidebar-collection-link {
    background: rgba(148, 163, 184, 0.1);
}

.sidebar-collection-item.is-top-3 .sidebar-collection-link {
    background: rgba(217, 119, 6, 0.08);
}

.sidebar-collection-rank {
    min-width: 1.85rem;
    padding: 0.12rem 0.35rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    text-align: center;
    line-height: 1.2;
}

.sidebar-collection-item.is-top-1 .sidebar-collection-rank {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.sidebar-collection-item.is-top-2 .sidebar-collection-rank {
    background: linear-gradient(135deg, #94a3b8, #64748b);
}

.sidebar-collection-item.is-top-3 .sidebar-collection-rank {
    background: linear-gradient(135deg, #d97706, #92400e);
}

.sidebar-collection-thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.08);
    flex-shrink: 0;
}

.sidebar-collection-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sidebar-collection-thumb-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(15, 23, 42, 0.45);
    font-size: 1.1rem;
}

.sidebar-collection-content {
    min-width: 0;
    display: grid;
    gap: 0.12rem;
}

.sidebar-collection-name {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-collection-meta {
    font-size: 0.74rem;
    color: var(--muted-text);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.sidebar-collection-meta i {
    color: var(--bg-accent, #e85d04);
}

.sidebar-collection-avatars {
    display: flex;
    align-items: center;
    margin-top: 0.1rem;
}

.sidebar-collection-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--surface-card, #fff);
    margin-left: -0.35rem;
}

.sidebar-collection-avatar:first-child {
    margin-left: 0;
}

.sidebar-collection-avatar-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.sidebar-collection-more {
    display: inline-block;
    margin: 0.55rem 0.8rem 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--bg-blue);
    text-decoration: none;
}

.sidebar-collection-more:hover,
.sidebar-collection-more:focus-visible {
    color: var(--button-hover-bg, var(--bg-accent));
}

.sidebar-newsletter h3,
.sidebar-newsletter p {
    color: #f2f8ff;
}

.sidebar-newsletter h3 {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.newsletter-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    margin-top: 0.7rem;
}

.newsletter-form input[type="email"] {
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 10px;
    min-height: 42px;
    padding: 0 0.75rem;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(242, 248, 255, 0.76);
}

.newsletter-form button {
    border: none;
    border-radius: 10px;
    min-height: 42px;
    padding: 0 0.9rem;
    color: var(--button-text, var(--text-light));
    background: var(--button-bg, var(--bg-blue));
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease;
}

.newsletter-form button:hover {
    background: var(--button-hover-bg, var(--bg-accent));
    color: var(--button-text, var(--text-light));
}

.newsletter-feedback {
    margin-top: 0.55rem;
    border-radius: 8px;
    padding: 0.45rem 0.55rem;
    font-size: 0.82rem;
}

.newsletter-feedback.is-success {
    background: rgba(34, 197, 94, 0.2);
    color: #dcfce7;
}

.newsletter-feedback.is-error {
    background: rgba(239, 68, 68, 0.2);
    color: #fee2e2;
}

@media (max-width: 1024px) {
    .category-mag-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .category-featured-card,
    .category-mag-grid,
    .newsletter-form {
        grid-template-columns: 1fr;
    }
}

/* Ensure readable text on recent articles */
.news-section .post-card-body h3 a,
.news-section .post-card-body h2 a {
    color: var(--text-dark) !important;
}

.news-section .post-card .post-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    align-self: flex-start;
    background: var(--badge-bg) !important;
    color: var(--badge-text) !important;
    border: 1px solid var(--badge-text) !important;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.45em 0.95em !important;
    line-height: 1 !important;
    min-height: 2rem;
    box-sizing: border-box;
}

.news-section .post-card .post-category .post-category-label {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    line-height: 1.15;
}

.news-section .post-card-body p,
.news-section .post-meta,
.news-section .post-meta span {
    color: var(--muted-text) !important;
}

.news-section .post-meta .post-views,
.news-section .post-meta .post-views i {
    font-weight: 400 !important;
    color: var(--muted-text) !important;
}

.news-section .post-read-more {
    margin-top: 0.45rem;
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.84rem;
    color: var(--bg-accent);
}

.home-news-pagination ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* Enhanced recent articles header */
.recent-heading-main p {
    margin: 0.35rem 0 0;
    font-size: 0.92rem;
}

@media (max-width: 820px) {
    .editorial-hero-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .recent-articles-heading {
        gap: 0.5rem;
    }

    .recent-articles-heading h2 {
        font-size: 0.86rem;
        white-space: normal;
        line-height: 1.25;
    }

    .recent-articles-head-line {
        height: 3px;
        min-width: 1.5rem;
    }
}

/* Home articles layout switcher */
.news-section,
.news-section .news-grid,
.news-section .news-main,
.news-section .cards-grid {
    min-width: 0;
    max-width: 100%;
}

.news-section .post-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.news-section .post-card-body {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: break-word;
}

.news-section .post-card-body h3,
.news-section .post-card-body h3 a,
.news-section .post-card-body p,
.news-section .post-read-more,
.news-section .post-meta {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.news-section .post-meta {
    flex-wrap: wrap;
    row-gap: 0.35rem;
}

.news-section .cards-grid.is-horizontal {
    grid-template-columns: 1fr;
}

/* Desktop large : image à gauche, texte à droite */
@media (min-width: 1025px) {
    .news-section .cards-grid.is-horizontal .post-card {
        display: grid;
        grid-template-columns: minmax(200px, 300px) minmax(0, 1fr);
        grid-template-areas: "media body";
        align-items: stretch;
        min-height: 190px;
    }

    .news-section .cards-grid.is-horizontal .post-card-body {
        grid-area: body;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
    }

    .news-section .cards-grid.is-horizontal .post-card-image {
        grid-area: media;
        height: 100%;
        min-width: 0;
    }

    .news-section .cards-grid.is-horizontal .post-card-image img {
        width: 100%;
        height: 100%;
        min-height: 190px;
        object-fit: cover;
    }
}

/* Tablette + mobile : actualités en premier, sidebar en dessous, cartes empilées */
@media (max-width: 1024px) {
    .news-section .news-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
    }

    .news-section .news-main {
        order: 1;
        width: 100%;
        min-width: 0;
    }

    .news-section .news-sidebar {
        order: 2;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        overflow-x: clip;
    }

    .news-section .news-sidebar .sidebar-panel {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding: 1.1rem;
        border-radius: 16px;
    }

    .news-section .sidebar-live .streamer-card-head {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .news-section .sidebar-live .streamer-card-aside {
        flex: 1 1 100%;
        max-width: 100%;
        white-space: normal;
        text-align: left;
    }

    .news-section .sidebar-live .streamer-info {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .news-section .sidebar-live .streamer-game {
        flex: 1 1 100%;
        white-space: normal;
        overflow: visible;
        word-break: break-word;
    }

    .news-section .sidebar-live .streamer-actions {
        flex: 1 1 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .news-section .sidebar-discord-embed,
    .news-section .sidebar-discord-embed iframe {
        max-width: 100%;
    }

    .news-section .sidebar-hype-link {
        grid-template-columns: 48px minmax(0, 1fr) auto;
        gap: 0.45rem;
    }

    .news-section .cards-grid,
    .news-section .cards-grid.is-horizontal {
        grid-template-columns: 1fr !important;
    }

    /* Flex colonne : hauteur auto selon le contenu (titres longs inclus). */
    .news-section .post-card,
    .news-section .cards-grid.is-horizontal .post-card,
    .news-section .cards-grid.is-vertical .post-card {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        height: auto;
        min-height: auto;
        grid-template-columns: unset;
        grid-template-areas: unset;
    }

    .news-section .cards-grid {
        gap: 1.25rem;
    }

    .news-section .cards-grid.is-horizontal .post-card-image,
    .news-section .cards-grid.is-vertical .post-card-image {
        flex: 0 0 auto;
        order: -1;
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 720 / 495;
        max-height: min(44vw, 220px);
    }

    .news-section .cards-grid.is-horizontal .post-card-image > a,
    .news-section .cards-grid.is-vertical .post-card-image > a {
        height: auto;
        min-height: 0;
    }

    .news-section .cards-grid.is-horizontal .post-card-image img,
    .news-section .cards-grid.is-vertical .post-card-image img {
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: min(44vw, 220px);
        aspect-ratio: 720 / 495;
        object-fit: cover;
    }

    .news-section .cards-grid.is-horizontal .post-card-body,
    .news-section .cards-grid.is-vertical .post-card-body {
        flex: 0 0 auto;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        width: 100%;
        height: auto;
        min-height: auto;
        overflow: visible;
        padding: 1rem 1rem 1.4rem;
    }

    .news-section .post-card-body h3 {
        font-size: 1.05rem;
        line-height: 1.32;
        margin: 0 0 0.5rem;
    }

    .news-section .post-card-body p {
        margin: 0 0 0.65rem;
        line-height: 1.55;
    }

    .news-section .post-read-more {
        margin-top: 0.25rem;
    }

    .news-section .post-meta {
        flex-shrink: 0;
        margin-top: 0.65rem;
        padding-top: 0.15rem;
        padding-bottom: 0.15rem;
        line-height: 1.45;
        overflow: visible;
    }

    .news-section .post-meta span {
        display: inline-flex;
        align-items: center;
        line-height: 1.45;
    }

    .news-section .post-card img {
        height: auto;
    }
}

/* Blog/index pagination */
.blog-posts-header {
    margin-bottom: 1rem;
}

.blog-posts-header h1 {
    margin: 0 0 0.3rem;
}

.blog-posts-header p {
    margin: 0;
    color: rgba(14, 32, 56, 0.66);
}

.blog-pagination,
.category-mag-pagination,
.search-pagination {
    margin-top: 1.1rem;
}

.blog-pagination .nav-links,
.category-mag-pagination .nav-links,
.search-pagination .nav-links {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.blog-pagination .page-numbers,
.category-mag-pagination .page-numbers,
.search-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 0.35rem 0.7rem;
    border-radius: 10px;
    border: 1px solid rgba(20, 89, 130, 0.18);
    background: #fff;
    color: var(--bg-accent);
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(17, 24, 39, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.blog-pagination a.page-numbers:hover,
.blog-pagination a.page-numbers:focus-visible,
.category-mag-pagination a.page-numbers:hover,
.category-mag-pagination a.page-numbers:focus-visible,
.search-pagination a.page-numbers:hover,
.search-pagination a.page-numbers:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(30, 115, 190, 0.45);
    box-shadow: 0 10px 22px rgba(30, 115, 190, 0.2);
    outline: none;
}

.blog-pagination .page-numbers.current,
.category-mag-pagination .page-numbers.current,
.search-pagination .page-numbers.current {
    background: linear-gradient(135deg, var(--bg-blue), var(--bg-accent));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 22px rgba(16, 86, 156, 0.28);
}

/* Front page upcoming releases */
.home-releases-section {
    margin-top: 0.5rem;
    padding: 0 1rem 1.35rem;
}

.home-releases-inner {
    max-width: 1600px;
    margin: 0 auto;
    background: #f6f9ff;
    border: 1px solid rgba(20, 89, 130, 0.13);
    border-radius: 12px;
    padding: 0.9rem;
}

.home-releases-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0.7rem;
    gap: 0.75rem;
}

.home-releases-head h2 {
    margin: 0;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(14, 32, 56, 0.86);
    white-space: nowrap;
}

.home-releases-head-line {
    height: 4px;
    flex: 1;
    border-radius: 999px;
    background: var(--bg-blue);
    opacity: 0.9;
}

.home-releases-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.home-releases-nav-btn {
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: rgba(14, 32, 56, 0.65);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    pointer-events: auto;
}

.home-releases-nav-btn:hover:not(:disabled) {
    background: rgba(20, 89, 130, 0.1);
    color: var(--bg-dark);
}

.home-releases-nav-btn.is-disabled,
.home-releases-nav-btn:disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.home-releases-more {
    flex-shrink: 0;
    margin-left: auto;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--bg-blue);
    text-decoration: none;
    white-space: nowrap;
}

.home-releases-more:hover {
    color: var(--bg-accent);
    text-decoration: underline;
}

.home-releases-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.7rem;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    padding-bottom: 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.home-releases-track::-webkit-scrollbar {
    display: none;
}

.home-releases-track--grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.7rem;
    overflow: visible;
    scroll-snap-type: none;
    align-content: start;
}

.home-releases-track--grid .home-release-card {
    flex: unset;
    width: auto;
    min-width: 0;
    scroll-snap-align: unset;
}

.home-after-tests-cell--releases .home-releases-track--grid {
    flex: 0 1 auto;
}

@media (max-width: 980px) {
    .home-releases-track--grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .home-releases-track--grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.home-release-card {
    flex: 0 0 calc((100% - (5 * 0.7rem)) / 6);
    width: calc((100% - (5 * 0.7rem)) / 6);
    min-width: calc((100% - (5 * 0.7rem)) / 6);
    scroll-snap-align: start;
}

@media (max-width: 980px) {
    .home-release-card {
        flex-basis: calc((100% - (4 * 0.7rem)) / 5);
        width: calc((100% - (4 * 0.7rem)) / 5);
        min-width: calc((100% - (4 * 0.7rem)) / 5);
    }
}

@media (max-width: 640px) {
    .home-release-card {
        flex-basis: calc((100% - (3 * 0.7rem)) / 4);
        width: calc((100% - (3 * 0.7rem)) / 4);
        min-width: calc((100% - (3 * 0.7rem)) / 4);
    }
}

@media (max-width: 420px) {
    .home-release-card {
        flex-basis: calc((100% - (2 * 0.7rem)) / 3);
        width: calc((100% - (2 * 0.7rem)) / 3);
        min-width: calc((100% - (2 * 0.7rem)) / 3);
    }
}

.home-release-card-link {
    display: block;
}

.home-release-thumb {
    border-radius: 9px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: linear-gradient(180deg, #0f172a, #1e293b);
    padding: 0;
    position: relative;
}

.home-release-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    border-radius: 9px;
}

.home-release-card h3 {
    margin: 0.4rem 0 0.2rem;
    font-size: 0.8rem;
    line-height: 1.3;
    color: var(--bg-dark);
}

.home-release-card p {
    margin: 0;
    font-size: 0.75rem;
    color: rgba(14, 32, 56, 0.65);
}

.home-release-empty {
    margin: 0.4rem 0;
    color: rgba(14, 32, 56, 0.7);
}

.home-community-posts-section {
    margin-bottom: 1.25rem;
    --home-community-slide-width: min(420px, calc(100vw - 2.5rem));
    --home-community-card-height: 400px;
}

.home-community-posts-head {
    align-items: center;
}

.home-community-posts-head h2 {
    min-width: 0;
    line-height: 1.25;
}

.home-community-posts-head .home-community-posts-more {
    margin-left: auto;
    margin-right: 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--bg-blue);
    text-decoration: none;
    white-space: nowrap;
}

.home-community-posts-head .home-community-posts-more:hover {
    color: var(--button-hover-bg, var(--bg-accent));
}

.home-community-post-slide {
    flex: 0 0 var(--home-community-slide-width);
    width: var(--home-community-slide-width);
    min-width: var(--home-community-slide-width);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-self: stretch;
    height: auto;
}

.home-community-posts-track {
    align-items: stretch;
    overflow-y: visible;
    padding-bottom: 3.5rem;
    scroll-padding-inline: 0.75rem;
    gap: 0.65rem;
}

.home-releases-track.home-community-posts-track {
    overflow-y: visible;
}

.home-community-post-panel {
    margin: 0;
    padding: 0.65rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
}

.home-community-post-panel .member-feed-list--single {
    display: flex;
    flex: 1;
    min-height: 0;
    width: 100%;
}

.home-community-post-panel .member-feed-card--home-carousel {
    width: 100%;
}

.home-community-post-panel .member-feed-card {
    margin: 0;
}

/* Accueil communauté — base fil (dans style.css : boutons, meta, partage) */
.home-community-posts-section .member-feed-list {
    display: grid;
    gap: 0.75rem;
    width: 100%;
    min-width: 0;
}

.home-community-posts-section .home-community-post-panel.member-public-card {
    margin: 0;
    padding: 0.65rem;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.home-community-posts-section.community-page {
    max-width: none;
    margin: 0;
    padding: 0;
}

.home-community-posts-section .member-feed-card {
    border: 1px solid rgba(20, 89, 130, 0.16);
    border-radius: 16px;
    padding: 0;
    margin: 0;
    background: var(--surface-card, #fff);
    min-width: 0;
    max-width: 100%;
    overflow: visible;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.home-community-posts-section .member-feed-card:not(.member-feed-card--home-carousel) .member-feed-card-body,
.home-community-posts-section .member-feed-card .member-feed-gallery,
.home-community-posts-section .member-feed-card .member-feed-media {
    overflow: hidden;
}

.home-community-posts-section .member-feed-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.45rem;
    align-items: center;
    flex-shrink: 0;
    padding: 0.75rem 0.75rem 0;
}

.home-community-posts-section .member-feed-author {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.home-community-posts-section .member-feed-author img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
}

.home-community-posts-section .member-feed-author strong {
    display: block;
    line-height: 1.2;
}

.home-community-posts-section .member-feed-author > div > span:not(.member-name-with-badge) {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.82rem;
    color: rgba(14, 32, 56, 0.62);
}

.home-community-posts-section .member-feed-author .member-feed-author-name-line,
.home-community-posts-section .member-feed-author .member-name-with-badge--inline {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.35rem;
    max-width: 100%;
}

.home-community-posts-section .member-feed-author .member-name-with-badge--inline > a {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
}

.home-community-posts-section .member-feed-type {
    display: inline-flex;
    align-items: center;
    padding: 0.16rem 0.46rem;
    border-radius: 999px;
    border: 1px solid rgba(20, 89, 130, 0.2);
    font-size: 0.72rem;
    color: rgba(14, 32, 56, 0.68);
    flex-shrink: 0;
}

.home-community-posts-section .member-name-with-badge--inline .member-streamer-badge,
.home-community-posts-section .member-name-with-badge--inline .member-moderator-badge {
    flex-shrink: 0;
}

.home-community-posts-section .member-feed-content {
    color: rgba(14, 32, 56, 0.88);
    line-height: 1.45;
    word-break: break-word;
}

.home-community-posts-section .member-feed-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0;
    padding: 0.45rem 0.75rem 0.65rem;
    border-top: 1px solid rgba(20, 89, 130, 0.12);
    overflow: visible;
    position: relative;
    z-index: 3;
}

.home-community-posts-section .member-feed-actions form {
    margin: 0;
    display: inline-flex;
}

.home-community-posts-section .member-feed-action,
.home-community-posts-section button.member-feed-action,
.home-community-posts-section a.member-feed-action {
    appearance: none;
    -webkit-appearance: none;
    min-height: 34px;
    border: 0;
    border-radius: 8px;
    padding: 0.25rem 0.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: rgba(20, 89, 130, 0.08);
    color: rgba(14, 32, 56, 0.78);
    font-weight: 600;
    font-family: inherit;
    font-size: 0.82rem;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
    white-space: nowrap;
}

.home-community-posts-section .member-feed-action.is-active,
.home-community-posts-section .member-feed-action.like-action.is-active {
    background: rgba(30, 115, 190, 0.2);
    color: var(--bg-blue);
}

.home-community-posts-section .member-share-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    z-index: 4;
}

.home-community-posts-section .member-share-menu[hidden] {
    display: none !important;
}

.home-community-posts-section .member-share-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 25;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.28rem;
    max-width: min(520px, calc(100vw - 1.5rem));
    background: #fff;
    border: 1px solid rgba(20, 89, 130, 0.2);
    border-radius: 10px;
    box-shadow: 0 12px 26px rgba(8, 20, 35, 0.16);
    padding: 0.35rem;
}

.home-community-posts-section .member-share-menu a,
.home-community-posts-section .member-share-menu .member-share-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: var(--text-dark);
    border-radius: 7px;
    padding: 0;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
}

.home-community-posts-section .member-share-menu a:hover,
.home-community-posts-section .member-share-menu .member-share-copy:hover {
    background: rgba(30, 115, 190, 0.1);
    color: var(--bg-blue);
}

body.theme-dark .home-community-posts-section .member-feed-card {
    background: var(--surface-card);
    border-color: rgba(255, 255, 255, 0.1);
}

body.theme-dark .home-community-posts-section .member-feed-author > div > span:not(.member-name-with-badge),
body.theme-dark .home-community-posts-section .member-feed-type {
    color: var(--muted-text);
}

body.theme-dark .home-community-posts-section .member-feed-content,
body.theme-dark .home-community-posts-section .member-feed-content p {
    color: var(--text-dark);
}

body.theme-dark .home-community-posts-section .member-feed-actions {
    border-top-color: rgba(255, 255, 255, 0.1);
}

body.theme-dark .home-community-posts-section .member-feed-action {
    background: rgba(10, 18, 32, 0.55);
    color: var(--text-dark);
}

body.theme-dark .home-community-posts-section .member-feed-action.is-active {
    background: color-mix(in srgb, var(--bg-blue) 18%, transparent);
    color: color-mix(in srgb, var(--bg-blue) 55%, var(--text-dark));
}

.home-community-posts-section .home-community-post-panel .member-feed-card,
.home-community-posts-section .member-feed-card--home-carousel {
    height: var(--home-community-card-height);
    min-height: var(--home-community-card-height);
    max-height: var(--home-community-card-height);
    overflow: visible;
    display: flex;
    flex-direction: column;
    padding-left: 0;
    padding-right: 0;
}

.home-community-posts-section .member-feed-card--home-carousel .member-feed-meta {
    flex-shrink: 0;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    position: relative;
    z-index: 8;
    overflow: visible;
}

.home-community-posts-section .member-feed-card--home-carousel .member-feed-card-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.home-community-posts-section .member-feed-card--home-carousel .member-feed-card-body .member-feed-content,
.home-community-posts-section .member-feed-card--home-carousel .member-feed-card-body .member-feed-shared-quote,
.home-community-posts-section .member-feed-card--home-carousel .member-feed-card-body .member-feed-life-event,
.home-community-posts-section .member-feed-card--home-carousel .member-feed-card-body .member-feed-place-card,
.home-community-posts-section .member-feed-card--home-carousel .member-feed-card-body .member-feed-mood-activity {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    flex-shrink: 0;
}

.home-community-posts-section .member-feed-card--home-spotlight .member-feed-card-body .member-feed-shared-quote,
.home-community-posts-section .member-feed-card--home-spotlight .member-feed-card-body .member-feed-life-event,
.home-community-posts-section .member-feed-card--home-spotlight .member-feed-card-body .member-feed-mood-activity {
    padding-left: 0;
    padding-right: 0;
    flex-shrink: 1;
}

.home-community-posts-section .member-feed-card--home-carousel .member-feed-card-body .member-feed-content:empty {
    display: none;
}

.home-community-posts-section .member-feed-card--home-carousel .member-feed-card-body > .member-feed-gallery,
.home-community-posts-section .member-feed-card--home-carousel .member-feed-card-body > .member-feed-media,
.home-community-posts-section .member-feed-card--home-carousel .member-feed-card-body > .member-feed-video {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0.35rem;
    border-radius: 0;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    height: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.home-community-posts-section .member-feed-card--home-carousel .member-feed-card-body > .member-feed-gallery:first-child,
.home-community-posts-section .member-feed-card--home-carousel .member-feed-card-body > .member-feed-media:first-child,
.home-community-posts-section .member-feed-card--home-carousel .member-feed-card-body > .member-feed-video:first-child {
    margin-top: 0;
}

.home-community-posts-section .member-feed-card--home-carousel .member-feed-gallery-grid {
    border-radius: 0;
    flex: 1 1 auto;
    height: 100%;
    max-height: none;
    min-height: 0;
    width: 100%;
    grid-auto-rows: 1fr;
}

.home-community-posts-section .member-feed-card--home-carousel .member-feed-media img,
.home-community-posts-section .member-feed-card--home-carousel .member-feed-media video,
.home-community-posts-section .member-feed-card--home-carousel .member-feed-gallery-item img,
.home-community-posts-section .member-feed-card--home-carousel .member-feed-gallery-item video,
.home-community-posts-section .member-feed-card--home-carousel .member-feed-video iframe {
    border-radius: 0;
    display: block;
}

.home-community-posts-section .member-feed-card--home-carousel .member-feed-card-body:has(> .member-feed-gallery, > .member-feed-media, > .member-feed-video, > .member-feed-text-bg)::after {
    display: none;
}

.home-community-posts-section .member-feed-card--home-carousel .member-feed-card-body::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2rem;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
}

body.theme-dark .home-community-posts-section .member-feed-card--home-carousel .member-feed-card-body::after {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), var(--surface-card, #1a2332));
}

.home-community-posts-section .member-feed-card--home-carousel .member-feed-actions {
    flex-shrink: 0;
    margin-top: 0;
    border-top: 1px solid rgba(20, 89, 130, 0.12);
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    position: relative;
    z-index: 3;
    overflow: visible;
}

/* Menu partage carrousel : inline + ouverture vers le bas (évite le clipping) */
.home-community-posts-section .member-feed-card--home-carousel .member-share-wrap {
    position: relative;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
}

.home-community-posts-section .member-feed-card--home-carousel .member-share-menu {
    top: calc(100% + 6px);
    bottom: auto;
    left: auto;
    right: 0;
    z-index: 25;
    max-width: min(520px, calc(100vw - 1.5rem));
}

.home-community-posts-section .member-feed-card--home-carousel .member-share-menu.member-share-menu--carousel-float {
    position: fixed;
    z-index: 9999;
}

.home-community-posts-section .home-community-post-slide:has(.member-share-menu:not([hidden])) {
    position: relative;
    z-index: 8;
}

.home-community-posts-section .home-community-post-panel:has(.member-share-menu:not([hidden])) {
    overflow: visible;
    z-index: 2;
}

.home-community-posts-section .home-community-post-slide:has(.member-post-privacy-menu:not([hidden])),
.home-community-posts-section .home-community-post-slide:has(.member-post-privacy-toggle[aria-expanded="true"]) {
    position: relative;
    z-index: 8;
}

.home-community-posts-section .home-community-post-panel:has(.member-post-privacy-menu:not([hidden])),
.home-community-posts-section .home-community-post-panel:has(.member-post-privacy-toggle[aria-expanded="true"]) {
    overflow: visible;
    z-index: 2;
}

.home-releases-track.home-community-posts-track:has(.member-post-privacy-menu:not([hidden])),
.home-releases-track.home-community-posts-track:has(.member-post-privacy-toggle[aria-expanded="true"]) {
    overflow: visible;
}

.home-community-posts-section .member-feed-content:not(.member-feed-content--quiz-result):not(.member-feed-content--text-bg),
.home-community-posts-section .member-feed-content:not(.member-feed-content--quiz-result):not(.member-feed-content--text-bg) p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

/* Carrousel accueil — résultat quiz : même carte que profil / communauté */
.home-community-posts-section .member-feed-card--home-quiz .member-feed-card-body::after {
    display: none;
}

.home-community-posts-section .member-feed-content--quiz-result {
    margin: 0;
}

.home-community-posts-section .member-feed-card--home-quiz .member-feed-content--quiz-result {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    max-width: none;
    padding: 0.65rem 0.75rem;
    box-sizing: border-box;
    overflow: visible;
    -webkit-line-clamp: unset;
}

.home-community-posts-section .member-feed-content--quiz-result .p4g-quiz-feed-result {
    max-width: none;
    width: 100%;
    margin: 0 auto;
}

.home-community-posts-section .member-feed-content--quiz-result .p4g-quiz-result-card {
    width: 100%;
    box-sizing: border-box;
    padding: 1.35rem 1.25rem;
    border-radius: 18px;
    border: 1px solid rgba(251, 146, 60, 0.45);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 247, 237, 0.92) 100%);
    box-shadow: 0 12px 36px rgba(234, 88, 12, 0.1);
    text-align: center;
}

.home-community-posts-section .member-feed-content--quiz-result .p4g-quiz-result-kicker {
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #c2410c;
}

.home-community-posts-section .member-feed-content--quiz-result .p4g-quiz-result-scoreblock {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.home-community-posts-section .member-feed-content--quiz-result .p4g-quiz-result-percent {
    display: block;
    font-size: clamp(2rem, 7vw, 3.25rem);
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    color: #ea580c;
}

.home-community-posts-section .member-feed-content--quiz-result .p4g-quiz-result-fraction {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #475569;
}

.home-community-posts-section .member-feed-content--quiz-result .p4g-quiz-result-perfect {
    margin: 0 0 0.85rem;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.92rem;
    color: #7c2d12;
    background: linear-gradient(135deg, rgba(255, 237, 213, 0.98), rgba(254, 215, 170, 0.92));
    border: 1px solid rgba(251, 146, 60, 0.45);
}

.home-community-posts-section .member-feed-content--quiz-result .p4g-quiz-result-band {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #334155;
}

.home-community-posts-section .member-feed-content--quiz-result .p4g-quiz-result-band--high {
    color: #15803d;
}

.home-community-posts-section .member-feed-content--quiz-result .p4g-quiz-result-band--low {
    color: #c2410c;
}

.home-community-posts-section .member-feed-content--quiz-result .p4g-quiz-result-wrong {
    margin: 0 0 0.85rem;
    font-size: 0.88rem;
    color: #64748b;
}

.home-community-posts-section .member-feed-content--quiz-result .p4g-quiz-result-foot {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(251, 146, 60, 0.22);
}

.home-community-posts-section .member-feed-content--quiz-result .p4g-quiz-p4g {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #15803d;
}

.home-community-posts-section .member-feed-content--quiz-result .p4g-quiz-hint,
.home-community-posts-section .member-feed-content--quiz-result .p4g-quiz-practice-msg {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #475569;
    text-align: left;
}

body.theme-dark .home-community-posts-section .member-feed-content--quiz-result .p4g-quiz-result-card {
    border-color: rgba(251, 146, 60, 0.35);
    background: linear-gradient(165deg, rgba(30, 41, 59, 0.97) 0%, rgba(67, 20, 7, 0.45) 100%);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

body.theme-dark .home-community-posts-section .member-feed-content--quiz-result .p4g-quiz-result-percent {
    color: #fb923c;
}

body.theme-dark .home-community-posts-section .member-feed-content--quiz-result .p4g-quiz-result-fraction,
body.theme-dark .home-community-posts-section .member-feed-content--quiz-result .p4g-quiz-result-wrong,
body.theme-dark .home-community-posts-section .member-feed-content--quiz-result .p4g-quiz-hint,
body.theme-dark .home-community-posts-section .member-feed-content--quiz-result .p4g-quiz-practice-msg {
    color: #94a3b8;
}

body.theme-dark .home-community-posts-section .member-feed-content--quiz-result .p4g-quiz-result-band {
    color: #e2e8f0;
}

body.theme-dark .home-community-posts-section .member-feed-content--quiz-result .p4g-quiz-result-foot {
    border-top-color: rgba(251, 146, 60, 0.22);
}

.home-community-posts-section .member-feed-content--quiz-result p {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
}

.home-community-posts-section .member-feed-card--home-carousel:not(.member-feed-card--home-spotlight) .member-feed-shared-quote .hero-quote-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.home-community-posts-section .member-feed-card--home-carousel:not(.member-feed-card--home-spotlight) .member-feed-life-event,
.home-community-posts-section .member-feed-card--home-carousel:not(.member-feed-card--home-spotlight) .member-feed-place-card {
    max-height: 64px;
    overflow: hidden;
}

.home-community-posts-section .member-feed-card--home-carousel .member-feed-gallery {
    width: 100%;
}

.home-community-posts-section .member-feed-card--home-carousel .member-feed-gallery-item {
    min-height: 0;
    height: 100%;
}

.home-community-posts-section .member-feed-card--home-carousel .member-feed-gallery-item img,
.home-community-posts-section .member-feed-card--home-carousel .member-feed-gallery-item video {
    min-height: 0;
    height: 100%;
    width: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

.home-community-posts-section .member-feed-card--home-carousel .member-feed-media {
    overflow: hidden;
    width: 100%;
}

.home-community-posts-section .member-feed-card--home-carousel .member-feed-media img,
.home-community-posts-section .member-feed-card--home-carousel .member-feed-media video,
.home-community-posts-section .member-feed-card--home-carousel .member-feed-gif img,
.home-community-posts-section .member-feed-card--home-carousel .member-feed-gif video,
.home-community-posts-section .member-feed-card--home-carousel .member-feed-klipy img,
.home-community-posts-section .member-feed-card--home-carousel .member-feed-klipy video {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

.home-community-posts-section .member-feed-card--home-carousel .member-feed-media.member-feed-gif:not(.member-feed-klipy) img {
    object-fit: cover;
}

.home-community-posts-section .member-feed-card--home-carousel .member-feed-media.member-feed-klipy,
.home-community-posts-section .member-feed-card--home-carousel .member-feed-media.member-feed-gif.member-feed-klipy {
    align-items: stretch;
    justify-content: stretch;
    border-radius: 0;
    background: #0e2038;
}

.home-community-posts-section .member-feed-card--home-carousel .member-feed-video {
    width: 100%;
    overflow: hidden;
    border-radius: 0;
    background: #0e2038;
}

.home-community-posts-section .member-feed-card--home-carousel .member-feed-video iframe {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    aspect-ratio: unset;
}

.home-community-posts-section .member-feed-card--home-carousel .member-feed-video .wp-block-embed__wrapper {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    padding-bottom: 0;
    position: relative;
}

.home-community-posts-section .member-feed-card--home-carousel .member-feed-video .wp-block-embed__wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-community-posts-section .member-feed-actions {
    flex-shrink: 0;
}

/* Accueil — posts humeur / événement / citation (sans média) : même hauteur que les autres cartes */
.home-community-posts-section .member-feed-card--home-spotlight .member-feed-card-body {
    flex: 1 1 auto;
    min-height: 0;
}

.home-community-posts-section .member-feed-card--home-spotlight .member-feed-card-body::after {
    display: none;
}

.home-community-posts-section .member-feed-card--home-spotlight .member-feed-content,
.home-community-posts-section .member-feed-card--home-spotlight .member-feed-place-card {
    display: none;
}

.home-community-posts-section .member-feed-card--home-spotlight .member-feed-mood-activity,
.home-community-posts-section .member-feed-card--home-spotlight .member-feed-life-event,
.home-community-posts-section .member-feed-card--home-spotlight .member-feed-shared-quote.hero-quote {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    border-radius: 0;
    border: 0;
    box-shadow: none;
}

.home-community-posts-section .member-feed-card--home-spotlight .member-feed-mood-activity {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
    padding: 1.1rem 1rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 22%, rgba(99, 102, 241, 0.18) 0%, transparent 42%),
        radial-gradient(circle at 82% 78%, rgba(20, 89, 130, 0.14) 0%, transparent 45%),
        linear-gradient(160deg, rgba(246, 250, 255, 0.98) 0%, rgba(237, 244, 252, 0.96) 100%);
}

.home-community-posts-section .member-feed-card--home-spotlight .member-feed-mood-activity-line {
    flex-direction: row;
    justify-content: center;
    width: min(100%, 260px);
    margin: 0;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(20, 89, 130, 0.12);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    font-size: 0.84rem;
    font-weight: 700;
    color: rgba(14, 32, 56, 0.82);
}

.home-community-posts-section .member-feed-card--home-spotlight .member-feed-mood-activity-line + .member-feed-mood-activity-line {
    margin-top: 0;
}

.home-community-posts-section .member-feed-card--home-spotlight .member-feed-mood-activity-emoji {
    font-size: 1.35rem;
    line-height: 1;
}

.home-community-posts-section .member-feed-card--home-spotlight .member-feed-mood-activity-note {
    width: min(100%, 280px);
    margin: 0 0 0.15rem;
    text-align: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
}

.home-community-posts-section .member-feed-card--home-spotlight .member-feed-life-event {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.15rem 1rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 18%, rgba(245, 158, 11, 0.16) 0%, transparent 40%),
        radial-gradient(circle at 86% 82%, rgba(20, 89, 130, 0.12) 0%, transparent 44%),
        linear-gradient(155deg, rgba(255, 252, 245, 0.98) 0%, rgba(246, 250, 255, 0.96) 100%);
}

.home-community-posts-section .member-feed-card--home-spotlight .member-feed-life-event-cover {
    margin: -1.15rem -1rem 0.65rem;
    flex-shrink: 0;
    max-height: 42%;
}

.home-community-posts-section .member-feed-card--home-spotlight .member-feed-life-event-cover-el {
    max-height: 150px;
    width: 100%;
    object-fit: cover;
}

.home-community-posts-section .member-feed-card--home-spotlight .member-feed-life-event-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.65rem;
}

.home-community-posts-section .member-feed-card--home-spotlight .member-feed-life-event-icon {
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.15rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(245, 158, 11, 0.28);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.14);
}

.home-community-posts-section .member-feed-card--home-spotlight .member-feed-life-event-text {
    align-items: center;
    gap: 0.28rem;
}

.home-community-posts-section .member-feed-card--home-spotlight .member-feed-life-event-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--bg-blue, #145982);
}

.home-community-posts-section .member-feed-card--home-spotlight .member-feed-life-event-detail {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
    color: rgba(14, 32, 56, 0.9);
}

.home-community-posts-section .member-feed-card--home-spotlight .member-feed-life-event-date {
    font-size: 0.76rem;
    font-weight: 600;
    color: rgba(14, 32, 56, 0.55);
}

.home-community-posts-section .member-feed-card--home-spotlight .member-feed-shared-quote.hero-quote {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
    padding: 1.35rem 1.1rem;
    overflow: hidden;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(20, 89, 130, 0.1) 0%, transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 250, 255, 0.94) 100%);
}

.home-community-posts-section .member-feed-card--home-spotlight .member-feed-shared-quote .hero-quote-text {
    margin: 0;
    padding: 0 1.75rem;
    max-width: none;
    width: 100%;
    font-size: 1.05rem;
    line-height: 1.55;
    -webkit-line-clamp: 4;
}

.home-community-posts-section .member-feed-card--home-spotlight .member-feed-shared-quote .hero-quote-text::before,
.home-community-posts-section .member-feed-card--home-spotlight .member-feed-shared-quote .hero-quote-text::after {
    font-size: 2.6rem;
    color: rgba(20, 89, 130, 0.2);
}

.home-community-posts-section .member-feed-card--home-spotlight .member-feed-shared-quote .hero-quote-author {
    padding-top: 0.45rem;
    font-size: 0.72rem;
}

body.theme-dark .home-community-posts-section .member-feed-card--home-spotlight .member-feed-mood-activity {
    background:
        radial-gradient(circle at 18% 22%, rgba(99, 102, 241, 0.22) 0%, transparent 42%),
        radial-gradient(circle at 82% 78%, rgba(56, 189, 248, 0.12) 0%, transparent 45%),
        linear-gradient(160deg, rgba(26, 35, 50, 0.98) 0%, rgba(20, 28, 40, 0.96) 100%);
}

body.theme-dark .home-community-posts-section .member-feed-card--home-spotlight .member-feed-mood-activity-line {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(219, 232, 255, 0.92);
}

body.theme-dark .home-community-posts-section .member-feed-card--home-spotlight .member-feed-life-event {
    background:
        radial-gradient(circle at 14% 18%, rgba(245, 158, 11, 0.14) 0%, transparent 40%),
        radial-gradient(circle at 86% 82%, rgba(56, 189, 248, 0.1) 0%, transparent 44%),
        linear-gradient(155deg, rgba(28, 32, 40, 0.98) 0%, rgba(22, 28, 38, 0.96) 100%);
}

body.theme-dark .home-community-posts-section .member-feed-card--home-spotlight .member-feed-life-event-icon {
    background: rgba(255, 255, 255, 0.08);
}

body.theme-dark .home-community-posts-section .member-feed-card--home-spotlight .member-feed-life-event-detail {
    color: rgba(219, 232, 255, 0.92);
}

body.theme-dark .home-community-posts-section .member-feed-card--home-spotlight .member-feed-shared-quote.hero-quote {
    background:
        radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.12) 0%, transparent 55%),
        linear-gradient(180deg, rgba(26, 35, 50, 0.98) 0%, rgba(20, 28, 40, 0.94) 100%);
}

@media (max-width: 980px) {
    .home-community-posts-section {
        --home-community-slide-width: min(360px, calc(100vw - 2rem));
        --home-community-card-height: min(380px, 54vh);
    }

    .home-community-posts-inner {
        padding: 0.75rem 0.65rem;
    }

    .home-community-posts-head {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "heading nav"
            "cta cta"
            "line line";
        gap: 0.4rem 0.55rem;
    }

    .home-community-posts-head h2 {
        grid-area: heading;
        white-space: normal;
        font-size: clamp(0.74rem, 2.8vw, 0.88rem);
    }

    .home-community-posts-head .home-releases-nav {
        grid-area: nav;
        margin-left: 0;
    }

    .home-community-posts-head .home-community-posts-more {
        grid-area: cta;
        margin-left: 0;
        margin-right: 0;
        justify-self: start;
    }

    .home-community-posts-head .home-releases-head-line {
        grid-area: line;
        width: 100%;
        flex: none;
    }

    .home-community-post-slide {
        scroll-snap-align: center;
    }

    .home-community-posts-track {
        scroll-padding-inline: 1rem;
        padding-bottom: 2.75rem;
    }
}

@media (max-width: 680px) {
    .home-community-posts-section {
        --home-community-slide-width: calc(100vw - 1.75rem);
        --home-community-card-height: clamp(300px, 58vh, 400px);
    }

    .home-community-posts-inner {
        padding: 0.65rem 0.5rem;
    }

    .home-community-posts-section .home-community-post-panel .member-feed-card,
    .home-community-posts-section .member-feed-card--home-carousel {
        height: var(--home-community-card-height);
        min-height: var(--home-community-card-height);
        max-height: var(--home-community-card-height);
    }

    .home-community-post-panel {
        padding: 0.4rem;
    }

    .home-community-posts-track {
        padding-bottom: 2rem;
        gap: 0.55rem;
        scroll-padding-inline: 0.5rem;
    }

    .home-community-posts-section .member-feed-card--home-carousel .member-feed-meta {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 0.35rem 0.5rem;
        padding-left: 0.55rem;
        padding-right: 0.55rem;
    }

    .home-community-posts-section .member-feed-card--home-carousel .member-feed-author {
        flex: 1 1 calc(100% - 5.5rem);
        min-width: 0;
    }

    .home-community-posts-section .member-feed-card--home-carousel .member-feed-author img {
        width: 38px;
        height: 38px;
    }

    .home-community-posts-section .member-feed-card--home-carousel .member-feed-author > div > span:not(.member-name-with-badge) {
        font-size: 0.72rem;
    }

    .home-community-posts-section .member-feed-card--home-carousel .member-feed-author .member-name-with-badge--inline > a {
        max-width: min(11rem, 46vw);
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .home-community-posts-section .member-feed-card--home-carousel .member-feed-type,
    .home-community-posts-section .member-feed-card--home-carousel .member-post-privacy-toggle--compact {
        margin-left: auto;
        flex-shrink: 0;
        font-size: 0.72rem;
    }

    .home-community-posts-section .member-feed-card--home-carousel .member-feed-card-body .member-feed-content,
    .home-community-posts-section .member-feed-card--home-carousel .member-feed-card-body .member-feed-shared-quote,
    .home-community-posts-section .member-feed-card--home-carousel .member-feed-card-body .member-feed-life-event,
    .home-community-posts-section .member-feed-card--home-carousel .member-feed-card-body .member-feed-place-card,
    .home-community-posts-section .member-feed-card--home-carousel .member-feed-card-body .member-feed-mood-activity {
        padding-left: 0.55rem;
        padding-right: 0.55rem;
    }

    .home-community-posts-section .member-feed-content:not(.member-feed-content--quiz-result):not(.member-feed-content--text-bg),
    .home-community-posts-section .member-feed-content:not(.member-feed-content--quiz-result):not(.member-feed-content--text-bg) p {
        -webkit-line-clamp: 2;
        font-size: 0.84rem;
    }

    .home-community-posts-section .member-feed-card--home-carousel .member-feed-actions {
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0.32rem;
        padding: 0.35rem 0.55rem 0.45rem;
    }

    .home-community-posts-section .member-feed-card--home-carousel .member-feed-actions::-webkit-scrollbar {
        display: none;
    }

    .home-community-posts-section .member-feed-card--home-carousel .member-feed-action {
        flex-shrink: 0;
        min-height: 32px;
        padding: 0.18rem 0.42rem;
        font-size: 0.72rem;
        gap: 0.28rem;
    }

    .home-community-posts-section .member-feed-card--home-carousel .member-feed-action span {
        white-space: nowrap;
    }

    .home-community-posts-section .member-feed-card--home-carousel .member-share-wrap {
        flex-shrink: 0;
    }

    .home-community-posts-section .member-feed-card--home-quiz .member-feed-content--quiz-result {
        padding: 0.5rem 0.55rem;
    }

    .home-community-posts-section .member-feed-content--quiz-result .p4g-quiz-result-card {
        padding: 1rem 0.85rem;
        border-radius: 14px;
    }

    .home-community-posts-section .member-feed-content--quiz-result .p4g-quiz-result-percent {
        font-size: clamp(1.75rem, 12vw, 2.5rem);
    }

    .home-community-posts-head .home-releases-nav-btn {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 420px) {
    .home-community-posts-section {
        --home-community-slide-width: calc(100vw - 1.35rem);
        --home-community-card-height: clamp(280px, 62vh, 360px);
    }

    .home-community-posts-head h2 i {
        font-size: 0.85em;
    }

    .home-community-posts-head .home-community-posts-more {
        font-size: 0.76rem;
    }

    .home-community-posts-section .member-feed-card--home-carousel .member-feed-action {
        padding: 0.18rem 0.35rem;
    }
}

@media (max-width: 680px) {
    .home-releases-head {
        gap: 0.45rem;
    }

    .home-releases-head h2 {
        font-size: 0.78rem;
    }

    .home-releases-head-line {
        height: 3px;
    }
}

/* Releases page */
.releases-page {
    padding: 0 1rem 2rem;
}

.releases-page-hero-inner,
.releases-page-grid {
    max-width: 1600px;
    margin: 0 auto;
}

.releases-page-hero {
    padding: 1rem 0 0.5rem;
}

.releases-page-hero h1 {
    margin-bottom: 0.4rem;
}

.releases-page-hero p {
    color: rgba(14, 32, 56, 0.7);
}

.releases-page-filters {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: minmax(240px, 2fr) repeat(3, minmax(150px, 1fr)) auto;
    gap: 0.65rem;
    align-items: end;
}

.releases-filter-field {
    display: grid;
    gap: 0.3rem;
}

.releases-filter-field label {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(14, 32, 56, 0.72);
}

.releases-filter-field input,
.releases-filter-field select {
    min-height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(20, 89, 130, 0.22);
    background: #fff;
    color: var(--text-dark);
    padding: 0.35rem 0.55rem;
}

.releases-filter-actions {
    display: inline-flex;
    gap: 0.45rem;
}

.releases-filter-actions button,
.releases-filter-actions a {
    min-height: 38px;
    padding: 0.3rem 0.8rem;
    border-radius: 10px;
    border: 1px solid rgba(20, 89, 130, 0.2);
    background: #fff;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
}

.releases-filter-actions button {
    background: var(--bg-blue);
    border-color: rgba(20, 89, 130, 0.2);
    color: #fff;
}

.releases-page-count {
    margin: 0.8rem 0 0;
    font-size: 0.85rem;
    color: rgba(14, 32, 56, 0.68);
}

.releases-page-period {
    margin: 0.65rem 0 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(14, 32, 56, 0.78);
    line-height: 1.45;
    max-width: 52rem;
}

.release-page-date--full {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.releases-page-grid-wrap {
    padding-top: 0.4rem;
}

.releases-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 0.9rem;
}

.release-page-card {
    border: 1px solid rgba(20, 89, 130, 0.15);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.release-page-card-link {
    display: block;
}

.release-page-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: linear-gradient(180deg, #0f172a, #1e293b);
    padding: 0;
}

.release-page-thumb-hype-badge {
    position: absolute;
    top: 0.45rem;
    left: 0.45rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border-radius: 999px;
    padding: 0.16rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #fff7ed;
    background: rgba(15, 23, 42, 0.66);
    border: 1px solid rgba(255, 159, 64, 0.55);
    backdrop-filter: blur(2px);
}

.release-page-thumb-hype-badge i {
    color: #ff8b38;
}

.release-page-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 0;
    display: block;
}

.release-page-content {
    padding: 0.65rem;
}

.release-page-content h2,
.release-page-content h3 {
    margin: 0 0 0.25rem;
    font-size: 0.95rem;
}

.release-page-date {
    margin: 0 0 0.3rem;
    font-size: 0.8rem;
    color: rgba(14, 32, 56, 0.66);
}

.release-page-content .game-sheet-platform-icons.is-compact {
    margin-top: 0.45rem;
    margin-bottom: 0;
    justify-content: flex-start;
    width: 100%;
}

.release-page-genre {
    display: inline-block;
    border: 1px solid rgba(20, 89, 130, 0.18);
    border-radius: 999px;
    padding: 0.14rem 0.5rem;
    font-size: 0.72rem;
    color: var(--bg-accent);
}

.release-page-platforms {
    margin-top: 0.45rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.release-page-platforms span {
    border: 1px solid rgba(20, 89, 130, 0.2);
    border-radius: 999px;
    padding: 0.12rem 0.44rem;
    font-size: 0.7rem;
    color: rgba(14, 32, 56, 0.74);
}

.release-page-empty {
    grid-column: 1 / -1;
    border: 1px dashed rgba(20, 89, 130, 0.25);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    color: rgba(14, 32, 56, 0.72);
}

.releases-page-grouped {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 0;
}

.releases-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

@media (min-width: 960px) {
    .releases-page-layout {
        grid-template-columns: 168px minmax(0, 1fr);
    }
}

.releases-month-nav {
    position: relative;
    z-index: 1;
}

@media (min-width: 960px) {
    .releases-month-nav {
        position: sticky;
        top: 5.5rem;
        align-self: start;
        padding: 0.65rem 0.55rem;
        border-radius: 14px;
        border: 1px solid rgba(20, 89, 130, 0.14);
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
        max-height: calc(100vh - 7rem);
        overflow: auto;
    }
}

.releases-month-nav-title {
    margin: 0 0 0.45rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(14, 32, 56, 0.55);
}

.releases-month-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

@media (min-width: 960px) {
    .releases-month-nav-list {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0.12rem;
    }
}

.releases-month-nav-link {
    display: inline-block;
    padding: 0.32rem 0.55rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    color: rgba(14, 32, 56, 0.82);
    border: 1px solid rgba(20, 89, 130, 0.16);
    background: rgba(246, 249, 255, 0.9);
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.releases-month-nav-link:hover,
.releases-month-nav-link:focus-visible {
    background: rgba(20, 89, 130, 0.1);
    border-color: rgba(20, 89, 130, 0.35);
    color: var(--bg-accent);
}

.releases-month-panel {
    scroll-margin-top: 5.5rem;
    padding: 1rem 1rem 0.35rem;
    border-radius: 18px;
    border: 1px solid rgba(20, 89, 130, 0.12);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.releases-month-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(20, 89, 130, 0.18);
}

.releases-month-head-main {
    min-width: 0;
}

.releases-month-title {
    margin: 0;
    font-size: clamp(1.12rem, 2.4vw, 1.42rem);
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #0f172a;
    line-height: 1.2;
}

.releases-month-sub {
    margin: 0.28rem 0 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(14, 32, 56, 0.55);
}

.releases-month-count-badge {
    flex-shrink: 0;
    min-width: 2.1rem;
    height: 2.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(145deg, var(--bg-accent), color-mix(in srgb, var(--bg-accent) 92%, var(--bg-dark)));
    box-shadow: 0 4px 12px rgba(20, 89, 130, 0.25);
}

.releases-month-grid {
    margin-top: 0;
    padding-bottom: 0.65rem;
}

.release-page-date--byday {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.5rem;
}

.release-page-day {
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1;
    color: var(--bg-accent);
    letter-spacing: -0.02em;
}

.release-page-dow {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(14, 32, 56, 0.62);
    text-transform: lowercase;
}

.release-page-date--muted {
    font-size: 0.76rem;
    font-style: italic;
    color: rgba(14, 32, 56, 0.58);
}

.home-releases-by-month {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.home-releases-month-block {
    margin: 0;
}

.home-releases-month-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
    padding-bottom: 0.28rem;
    border-bottom: 2px solid rgba(20, 89, 130, 0.28);
}

.home-releases-month-title {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(14, 32, 56, 0.88);
}

.home-releases-month-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(14, 32, 56, 0.55);
}

.home-releases-month-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.home-releases-month-cards .home-release-card {
    flex: 1 1 140px;
    max-width: 200px;
    min-width: 120px;
}

.home-release-card-date {
    margin: 0.2rem 0 0;
    font-size: 0.72rem;
    line-height: 1.25;
    color: rgba(14, 32, 56, 0.62);
    font-weight: 600;
}

.home-release-card-date .home-release-day {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--bg-accent);
    margin-right: 0.25rem;
}

@media (max-width: 980px) {
    .releases-page-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .game-directory-search-grid {
        grid-template-columns: 1fr 1fr;
    }

    .game-directory-search-main {
        grid-column: 1 / -1;
    }

    .game-directory-search-actions {
        justify-content: flex-start;
    }
    .game-community-card {
        flex-basis: calc((100% - (4 * 0.65rem)) / 5);
        width: calc((100% - (4 * 0.65rem)) / 5);
        min-width: calc((100% - (4 * 0.65rem)) / 5);
    }
}

@media (max-width: 640px) {
    .releases-page-filters {
        grid-template-columns: 1fr;
    }

    .game-directory-search-panel {
        padding: 0.95rem;
    }

    .game-directory-search-grid {
        grid-template-columns: 1fr;
    }

    .game-directory-search-main {
        grid-column: auto;
    }

    .releases-filter-actions,
    .game-directory-search-actions {
        width: 100%;
    }

    .releases-filter-actions button,
    .releases-filter-actions a,
    .game-directory-search-submit,
    .game-directory-search-reset {
        flex: 1 1 auto;
    }

    .game-community-card {
        flex-basis: calc((100% - (3 * 0.65rem)) / 4);
        width: calc((100% - (3 * 0.65rem)) / 4);
        min-width: calc((100% - (3 * 0.65rem)) / 4);
    }
}

/* Single review full-width */
.single-review-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 1.25rem 1rem 2.5rem;
}

.single-review-layout {
    display: grid;
    gap: 1rem;
}

.single-review-hero {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 1rem;
    background: linear-gradient(160deg, var(--bg-dark), var(--theme-surface-deep));
    border: 1px solid rgba(30, 115, 190, 0.26);
    border-radius: 16px;
    padding: 1rem;
    color: #fff;
}

.single-review-rating {
    border: 3px solid var(--bg-blue);
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    min-height: 96px;
}

.single-review-rating-value {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.single-review-rating-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.single-review-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(232, 241, 255, 0.8);
}

.single-review-hero h1 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.45rem, 3.2vw, 2rem);
    color: #fff;
}

.single-review-verdict {
    margin: 0 0 0.6rem;
    color: rgba(232, 241, 255, 0.9);
}

.single-review-meta {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.single-review-meta span {
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 0.16rem 0.55rem;
    font-size: 0.76rem;
    color: rgba(232, 241, 255, 0.9);
}

.single-review-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin: 0.75rem 0 0;
    padding: 0.75rem 1rem;
    background: #fff;
    border: 1px solid rgba(20, 89, 130, 0.16);
    border-radius: 14px;
}

.single-review-share-label {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(14, 32, 56, 0.75);
}

.single-review-share .share-buttons-horizontal {
    margin-left: auto;
}

.single-review-content {
    background: #fff;
    border: 1px solid rgba(20, 89, 130, 0.16);
    border-radius: 14px;
    padding: 1.2rem;
    line-height: 1.8;
    color: rgba(14, 32, 56, 0.88);
}

.single-review-proscons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.single-review-list {
    background: #fff;
    border: 1px solid rgba(20, 89, 130, 0.16);
    border-radius: 14px;
    padding: 1rem;
}

.single-review-list.pros h3 {
    color: #177645;
}

.single-review-list.cons h3 {
    color: #b4233d;
}

.single-review-list h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.single-review-list ul {
    margin: 0;
    padding-left: 1.05rem;
}

.single-review-list li {
    margin-bottom: 0.4rem;
}

@media (max-width: 760px) {
    .single-review-hero,
    .single-review-proscons {
        grid-template-columns: 1fr;
    }

    .single-review-rating {
        min-height: 78px;
    }
}

/* Pro review layout overrides */
.single-review-page {
    max-width: 1180px;
}

.single-review-breadcrumb {
    font-size: 0.86rem;
    color: rgba(14, 32, 56, 0.64);
    display: flex;
    gap: 0.45rem;
    align-items: center;
}

.single-review-breadcrumb a {
    color: var(--bg-accent);
}

.single-review-hero {
    grid-template-columns: 112px 1fr;
    border-radius: 20px;
    padding: 1.25rem;
    background: linear-gradient(160deg, #0d1b32, #142e52 72%);
}

.single-review-cover {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(20, 89, 130, 0.22);
    position: relative;
}

.single-review-cover img,
.single-review-cover-media {
    width: 100%;
    min-height: 220px;
    max-height: 430px;
    object-fit: cover;
    display: block;
}

.single-review-cover--member .single-review-cover-media {
    min-height: 280px;
    object-position: center top;
}

.single-review-cover-overlay {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 1.1rem;
    background: linear-gradient(180deg, rgba(5, 12, 22, 0.05), rgba(5, 12, 22, 0.88) 72%);
    color: #fff;
}

.single-review-cover-overlay-inner {
    min-width: 0;
    flex: 1 1 auto;
}

.single-review-cover-overlay h1,
.single-review-cover-fallback h1 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    line-height: 1.15;
    color: #fff;
}

.single-review-hero-game {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.single-review-hero-game a {
    color: rgba(232, 241, 255, 0.95);
    text-decoration: none;
}

.single-review-hero-game a:hover {
    text-decoration: underline;
}

.single-review-hero-rating {
    margin: 0;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: baseline;
    gap: 0.1rem;
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    line-height: 1;
}

.single-review-hero-rating-value {
    font-size: 1.65rem;
    font-weight: 800;
}

.single-review-hero-rating-suffix {
    font-size: 0.85rem;
    font-weight: 700;
    opacity: 0.9;
}

.single-review-hero-rating.is-high {
    background: rgba(34, 197, 94, 0.28);
}

.single-review-hero-rating.is-mid {
    background: rgba(245, 158, 11, 0.3);
}

.single-review-hero-rating.is-low {
    background: rgba(239, 68, 68, 0.28);
}

.single-review-header {
    margin-top: 1rem;
}

.single-review-header .single-article-excerpt {
    margin: 0 0 1rem;
}

/* Critiques (jeu, matÃ©riel, accessoire) : barre auteur / meta plus plate */
.single-review-page .article-meta-bar {
    padding: 0.6rem 0.85rem;
    gap: 1rem;
    align-items: center;
}

.single-review-page .author-info {
    gap: 0.65rem;
    align-items: center;
}

.single-review-page .author-avatar {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    align-self: center;
    border-width: 2px;
}

.single-review-page .author-details {
    gap: 0.12rem;
}

.single-review-page .author-name {
    font-size: 0.92rem;
    line-height: 1.25;
}

.single-review-page .article-stats {
    font-size: 0.8rem;
    gap: 0.45rem;
    line-height: 1.35;
}

.single-review-page .share-buttons-horizontal {
    gap: 0.45rem;
}

.single-review-page .share-icon {
    width: 34px;
    height: 34px;
}

.single-review-page .share-icon svg {
    width: 17px;
    height: 17px;
}

@media (max-width: 768px) {
    .single-review-page .article-meta-bar {
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .single-review-page .article-meta-bar {
        padding: 0.5rem 0.65rem;
    }

    .single-review-page .author-avatar {
        width: 46px;
        height: 46px;
        min-width: 46px;
        min-height: 46px;
    }

    .single-review-page .article-stats {
        font-size: 0.76rem;
    }

    .single-review-page .share-icon {
        width: 32px;
        height: 32px;
    }

    .single-review-page .share-icon svg {
        width: 16px;
        height: 16px;
    }
}

.single-review-cover-fallback {
    border: 1px solid rgba(20, 89, 130, 0.2);
    border-radius: 16px;
    background: linear-gradient(160deg, #0d1b32, #142e52 72%);
    padding: 1rem 1.1rem;
    color: #fff;
}

.single-review-cover-fallback .single-review-kicker {
    color: rgba(232, 241, 255, 0.82);
}

.single-review-cover-fallback .single-review-hero-rating {
    margin-top: 0.75rem;
    width: fit-content;
}

.single-review-layout > .article-game-hero {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

.single-review-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1rem;
    align-items: start;
}

.single-review-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.single-review-highlight {
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
    min-height: 32px;
    padding: 0.2rem 0.62rem;
    border-radius: 999px;
    border: 1px solid rgba(20, 89, 130, 0.2);
    background: rgba(20, 89, 130, 0.08);
    color: rgba(14, 32, 56, 0.82);
    font-size: 0.78rem;
    font-weight: 700;
}

.single-review-highlight.rating.is-high {
    background: rgba(34, 197, 94, 0.16);
    border-color: rgba(34, 197, 94, 0.3);
    color: #166534;
}

.single-review-highlight.rating.is-mid {
    background: rgba(234, 179, 8, 0.16);
    border-color: rgba(234, 179, 8, 0.3);
    color: #92400e;
}

.single-review-highlight.rating.is-low {
    background: rgba(239, 68, 68, 0.14);
    border-color: rgba(239, 68, 68, 0.3);
    color: #991b1b;
}

.single-review-content {
    border-radius: 16px;
    padding: 1.35rem;
}

.single-review-content > *:first-child {
    margin-top: 0;
}

/* Comments full width on single review (native + wpDiscuz) */
.single-review-page .comments-area,
.single-review-page #comments,
.single-review-page #wpdcom,
.single-review-page .wpdiscuz_unauth,
.single-review-page .wpd-thread-wrapper,
.single-review-page .wpd-comment-form-wrap,
.single-review-page .wpd-form-wrapper,
.single-review-page .wpd-thread-list,
.single-review-page .wpdiscuz-comment-form,
.single-review-page .wpdiscuz-comments {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.single-review-page #comments,
.single-review-page #wpdcom {
    margin-top: 1rem;
}

.single-review-page .comment-respond textarea,
.single-review-page .wpdiscuz-textarea-wrap textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Commentaires / wpDiscuz : restent dans la carte article (pas de dÃ©bordement hors grille) */
.single-article-page .single-article .single-article-comments {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-top: 0.35rem;
    /* LÃ©ger retrait par rapport aux bords de la carte article */
    padding: 0 clamp(1.75rem, 4vw, 3rem) 2rem;
    overflow-x: hidden;
}

/* wpDiscuz impose #wpdcom { max-width: 750px } â€” on Ã©tire jusquâ€™au bord du conteneur parent uniquement */
body.single-post .single-article-page .single-article .single-article-comments #comments {
    max-width: 100% !important;
    width: 100% !important;
    margin: 1rem 0 2rem !important;
    box-sizing: border-box;
}

body.single-post .single-article-page .single-article .single-article-comments #wpdcom,
body.single-post .single-article-page .single-article .single-article-comments #comments #wpdcom {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

.single-article-page .single-article .single-article-comments .comments-area,
.single-article-page .single-article .single-article-comments #comments,
.single-article-page .single-article .single-article-comments #wpdcom,
.single-article-page .single-article .single-article-comments .wpdiscuz_unauth,
.single-article-page .single-article .single-article-comments .wpd-thread-wrapper,
.single-article-page .single-article .single-article-comments .wpd-comment-form-wrap,
.single-article-page .single-article .single-article-comments .wpd-form-wrapper,
.single-article-page .single-article .single-article-comments .wpd-thread-list,
.single-article-page .single-article .single-article-comments .wpdiscuz-comment-form,
.single-article-page .single-article .single-article-comments .wpdiscuz-comments {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.single-article-page .single-article .single-article-comments .comment-respond textarea,
.single-article-page .single-article .single-article-comments .wpdiscuz-textarea-wrap textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.single-review-subscores {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(20, 89, 130, 0.18);
}

.single-review-subscores h3 {
    margin: 0 0 0.75rem;
    font-size: 1.02rem;
}

.single-review-subscores-grid {
    display: grid;
    gap: 0.65rem;
}

.single-review-subscore-item {
    border: 1px solid rgba(20, 89, 130, 0.14);
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
    background: rgba(20, 89, 130, 0.04);
}

.single-review-subscore-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
}

.single-review-subscore-head strong {
    color: var(--bg-dark);
}

.single-review-subscore-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(20, 89, 130, 0.14);
    overflow: hidden;
}

.single-review-subscore-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--theme-gradient-progress);
}

.single-review-summary {
    position: sticky;
    top: 90px;
    border: 1px solid rgba(20, 89, 130, 0.17);
    border-radius: 16px;
    background: #ffffff;
    padding: 1rem;
}

.single-review-summary h3 {
    margin: 0 0 0.35rem;
}

.single-review-summary-text {
    margin: 0 0 0.75rem;
    color: rgba(14, 32, 56, 0.78);
}

.single-review-summary-score {
    margin-bottom: 0.9rem;
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
    background: rgba(20, 89, 130, 0.08);
}

.single-review-summary-score strong {
    color: var(--bg-dark);
    font-size: 1.28rem;
}

.single-review-summary-badge {
    margin: 0 0 0.65rem;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.16rem 0.58rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.single-review-summary-badge.is-high {
    background: rgba(34, 197, 94, 0.16);
    color: #166534;
}

.single-review-summary-badge.is-mid {
    background: rgba(234, 179, 8, 0.16);
    color: #92400e;
}

.single-review-summary-badge.is-low {
    background: rgba(239, 68, 68, 0.14);
    color: #991b1b;
}

.single-review-summary .single-review-list {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.single-review-summary .single-review-list h4 {
    margin: 0.7rem 0 0.45rem;
    font-size: 0.92rem;
}

@media (max-width: 980px) {
    .single-review-main-grid {
        grid-template-columns: 1fr;
    }

    .single-review-summary {
        position: static;
    }
}

/* Single review dark mode */
body.theme-dark .single-review-breadcrumb {
    color: #96afd0;
}

body.theme-dark .single-review-breadcrumb a {
    color: #9fcfff;
}

body.theme-dark .single-review-cover,
body.theme-dark .single-review-share,
body.theme-dark .single-review-content,
body.theme-dark .single-review-summary {
    background: var(--surface-panel);
    border-color: var(--border-color);
}

body.theme-dark .single-review-cover-fallback {
    border-color: var(--border-color);
    background: linear-gradient(160deg, #0d1b32, #142e52 72%);
}

body.theme-dark .single-review-page .single-review-header .article-meta-bar {
    background: var(--surface-panel);
    border: 1px solid var(--border-color);
}

body.theme-dark .single-review-page .author-name,
body.theme-dark .single-review-page .article-stats {
    color: #9fb5d3;
}

body.theme-dark .single-review-page .author-name a {
    color: #9fcfff;
}

body.theme-dark .single-review-page .single-review-header .single-article-excerpt {
    color: #9fb5d3;
}

body.theme-dark .single-review-game-meta span {
    border-color: rgba(77, 163, 255, 0.26);
    color: #bdd5f5;
    background: rgba(77, 163, 255, 0.12);
}

body.theme-dark .single-review-highlight {
    background: rgba(77, 163, 255, 0.14);
    border-color: rgba(77, 163, 255, 0.26);
    color: #dbe8ff;
}

body.theme-dark .single-review-highlight.rating.is-high {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(74, 222, 128, 0.36);
    color: #bbf7d0;
}

body.theme-dark .single-review-highlight.rating.is-mid {
    background: rgba(234, 179, 8, 0.2);
    border-color: rgba(250, 204, 21, 0.36);
    color: #fde68a;
}

body.theme-dark .single-review-highlight.rating.is-low {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(248, 113, 113, 0.36);
    color: #fecaca;
}

body.theme-dark .single-review-summary-text {
    color: #bdd5f5;
}

body.theme-dark .single-review-summary-score {
    background: rgba(77, 163, 255, 0.16);
}

body.theme-dark .single-review-summary-score strong {
    color: #e8f3ff;
}

body.theme-dark .single-review-summary-badge.is-high {
    background: rgba(34, 197, 94, 0.2);
    color: #bbf7d0;
}

body.theme-dark .single-review-summary-badge.is-mid {
    background: rgba(234, 179, 8, 0.2);
    color: #fde68a;
}

body.theme-dark .single-review-summary-badge.is-low {
    background: rgba(239, 68, 68, 0.2);
    color: #fecaca;
}

body.theme-dark .single-review-subscores {
    border-top-color: rgba(77, 163, 255, 0.24);
}

body.theme-dark .single-review-subscore-item {
    background: rgba(77, 163, 255, 0.12);
    border-color: rgba(77, 163, 255, 0.22);
}

body.theme-dark .single-review-subscore-head {
    color: #dbe8ff;
}

body.theme-dark .single-review-subscore-head strong {
    color: #ffffff;
}

body.theme-dark .single-review-subscore-bar {
    background: rgba(191, 219, 254, 0.18);
}

