﻿/*
Theme Name: Play4Geek Theme
Description: ThÃ¨me personnalisÃ© optimisÃ© et responsive pour Play4Geek
Version: 1.1.2-stable
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: #442127;
    --bg-blue: #fc5f20;
    --bg-accent: #e04f12;
    --bg-light: #f2f4f7;
    --text-light: #f7f9fc;
    --text-dark: #111827;
    --border: rgba(255,255,255,0.08);
    --border-color: #ead9cf;
    --surface-card: #ffffff;
    --surface-panel: #fff8f5;
    --muted-text: #6b5a52;
    --link-color: #c94a1a;
    --link-hover-color: #fc5f20;
    --button-bg: #fc5f20;
    --button-hover-bg: #e04f12;
    --badge-text: #c94a1a;
    --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(--header-topbar-bg, var(--bg-blue));
    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: 1fr auto 1fr;
    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);
}

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

.header-left {
    justify-content: flex-start;
    min-width: 0;
}

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

.header-brand {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.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 : palette orange lisible (fond topbar, texte clair, pilules) */
.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;
    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: if an optimizer injects duplicate nodes, keep only first logo node */
.header-brand .custom-logo-link > :not(:first-child),
.header-brand .site-logo-link > :not(:first-child),
.drawer-brand .custom-logo-link > :not(:first-child),
.drawer-brand .site-logo-link > :not(:first-child) {
    display: none !important;
}

/* 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(--header-secondary-bg, var(--bg-blue));
    padding: 0;
    min-width: 0;
    display: block;
}

.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: hidden;
    -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 (max-width: 1024px) {
    .header-topbar {
        grid-template-columns: auto 1fr auto;
    }

    .header-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

@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: 1.8fr 0.9fr;
    gap: 2.5rem;
}

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

.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;
}

.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;
    gap: 0.85rem;
}
.media-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.media-video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.media-thumb {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: block;
    width: 100%;
    text-align: left;
}
.media-gallery-grid .media-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}
.media-thumb img {
    width: 100%;
    object-fit: cover;
    display: block;
}
.media-video .video-placeholder {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    min-height: 200px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.18));
    overflow: hidden;
    border-radius: 12px;
}
.media-video .video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.media-video .video-placeholder::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.22);
    pointer-events: none;
}
.media-video .video-play-icon {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.media-video .video-play-icon i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--bg-accent, #145982);
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.28);
    padding-left: 0.12rem;
}
.media-video .video-title-label {
    display: -webkit-box;
    margin-top: 0.5rem;
    font-size: 0.84rem;
    line-height: 1.35;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.media-thumb .video-url-label {
    display: none;
}

/* 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 { grid-template-columns: repeat(2, 1fr); }
    .media-video-grid { grid-template-columns: repeat(2, 1fr); }
    .media-gallery-grid .media-thumb img { height: 156px; }
    .media-video .video-placeholder { min-height: 168px; }
}

.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: 0 0 1.5rem;
}

body.home .play4geek-moneytizer-slot-header_below.ad-slot-under-header + .hero-fullpage .hero-article-module,
body.home .ad-slot-under-header + .hero-fullpage .hero-article-module {
    padding-top: 0;
}

.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: minmax(0, 2.2fr) minmax(0, 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;
}

.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;
}

.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;
    min-width: 0;
    max-width: 100%;
}

.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);
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

.sidebar-live .streamer-list,
.sidebar-live .streamer-item {
    min-width: 0;
    max-width: 100%;
}

.sidebar-live .streamer-card-head {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.35rem 0.5rem;
}

.sidebar-live .streamer-meta {
    flex: 1 1 10rem;
    min-width: 0;
}

.sidebar-live .streamer-card-aside {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    margin-left: auto;
    white-space: normal;
    text-align: right;
    word-break: break-word;
}

.sidebar-live .streamer-metric {
    font-size: 0.78rem;
    line-height: 1.3;
}

.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;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.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%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 16 / 9;
    height: auto;
    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%;
    max-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;
}

@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: calc(100% - 0.6rem);
    }
}

/* BanniÃ¨res sous le header et au-dessus du footer : format leaderboard 729Ã—90 (toutes les pages, comme lâ€™accueil) */
.ad-slot-under-header,
.ad-slot-above-footer {
    width: min(729px, 100% - 2rem);
    margin-left: auto;
    margin-right: auto;
}

.ad-slot-under-header .play4geek-ad-inner,
.ad-slot-above-footer .play4geek-ad-inner {
    width: min(729px, calc(100% - 2rem));
    max-width: 729px;
    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-above-footer .play4geek-ad-inner iframe,
.ad-slot-above-footer .play4geek-ad-inner img,
.ad-slot-above-footer .play4geek-ad-inner ins {
    width: 100%;
    height: 100%;
    max-width: 729px;
    max-height: 90px;
    object-fit: contain;
}

/* Moneytizer (thème) — doublon du CSS critique inline pour pages RUCSS (jeux, rubriques, avis…) */
.play4geek-moneytizer-slot {
    margin: 0 auto 1rem;
    max-width: min(728px, calc(100% - 2rem));
    text-align: center;
    clear: both;
}

.play4geek-moneytizer-slot-header_below.ad-slot-under-header,
.ad-slot-under-header.play4geek-moneytizer-slot-header_below,
.ad-slot-under-header.play4geek-moneytizer-slot {
    margin: 0 auto;
    padding: 0.4rem 0;
}

.play4geek-moneytizer-slot-header_below.ad-slot-under-header .play4geek-moneytizer-label {
    margin: 0 0 0.15rem;
    line-height: 1.1;
}

/* Espace réduit sous la bannière pub — toutes les pages */
.play4geek-moneytizer-slot-header_below.ad-slot-under-header + .site-main,
.play4geek-moneytizer-slot-header_below.ad-slot-under-header + main,
.play4geek-moneytizer-slot-header_below.ad-slot-under-header + section,
.ad-slot-under-header + .site-main,
.ad-slot-under-header + main,
.ad-slot-under-header + section {
    padding-top: 0;
}

body.home .ad-slot-under-header + .hero-fullpage,
body.home .play4geek-moneytizer-slot-header_below.ad-slot-under-header + .hero-fullpage {
    padding: 0 0 1.5rem;
}

body.home .play4geek-moneytizer-slot-header_below.ad-slot-under-header + .hero-fullpage .hero-article-module,
body.home .ad-slot-under-header + .hero-fullpage .hero-article-module {
    padding-top: 0;
}

.play4geek-moneytizer-slot-header_below .play4geek-moneytizer-inner,
.ad-slot-under-header .play4geek-moneytizer-inner {
    width: 100%;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.play4geek-moneytizer-slot-header_below .play4geek-moneytizer-mount,
.ad-slot-under-header .play4geek-moneytizer-mount {
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
    width: min(728px, 100%);
    max-width: 728px;
    min-width: 320px;
    min-height: 90px;
    position: relative;
    overflow: visible;
}

.play4geek-moneytizer-slot-header_below .play4geek-moneytizer-mount div[id^="sas_"],
.ad-slot-under-header .play4geek-moneytizer-mount div[id^="sas_"],
.play4geek-moneytizer-slot-header_below .play4geek-moneytizer-inner iframe,
.ad-slot-under-header .play4geek-moneytizer-inner iframe,
.play4geek-moneytizer-mount div[id^="sas_"] iframe,
.play4geek-moneytizer-mount iframe[id^="sas_iframe_"] {
    margin-left: auto;
    margin-right: auto;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-align: center;
    width: min(728px, 100%);
    max-width: 728px;
    min-width: 320px;
    min-height: 90px;
}

.play4geek-moneytizer-mount script[id^="sas_"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

.play4geek-moneytizer-slot[data-p4g-ad-unfilled="1"] {
    display: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.play4geek-moneytizer-slot-home_footer.ad-slot-above-footer {
    max-width: min(729px, calc(100% - 2rem));
    margin: 1.5rem auto 1.25rem;
}

.play4geek-moneytizer-slot-home_footer .play4geek-moneytizer-inner,
.ad-slot-above-footer .play4geek-moneytizer-inner {
    width: 100%;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.play4geek-moneytizer-slot-article_sidebar.ad-slot-sidebar {
    max-width: 300px;
    width: 100%;
    margin: 0.9rem auto 0;
    text-align: center;
}

.play4geek-moneytizer-slot-article_sidebar .play4geek-moneytizer-inner {
    min-height: 250px;
    display: block;
    overflow: visible;
}

.play4geek-moneytizer-slot-article_sidebar .play4geek-moneytizer-mount {
    display: block;
    width: 100%;
    max-width: 300px;
    min-width: 280px;
    min-height: 250px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    text-align: center;
}

.play4geek-moneytizer-slot-article_sidebar .play4geek-moneytizer-mount div[id^="sas_"],
.play4geek-moneytizer-slot-article_sidebar .play4geek-moneytizer-mount iframe,
.play4geek-moneytizer-slot-article_sidebar .play4geek-moneytizer-inner iframe {
    display: block;
    width: 300px;
    max-width: 100%;
    min-height: 250px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    text-align: center;
}

.article-inline-widget .play4geek-moneytizer-mount,
.article-inline-widget [id^="141500-"] {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.play4geek-moneytizer-inner iframe {
    max-width: 100%;
}

body.theme-dark .play4geek-moneytizer-label {
    color: rgba(226, 232, 240, 0.82);
}

/* 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 {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 1.75rem 0 0;
    padding: 0;
    clear: both;
    overflow: visible;
    box-sizing: border-box;
}

.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;
}

.play4geek-taboola-zone [id^="taboola-"],
.single-article-content [id^="taboola-mid-article"],
.single-review-content [id^="taboola-mid-article"] {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: visible !important;
}

.play4geek-taboola-zone .trc_rbox,
.play4geek-taboola-zone .trc_rbox_container,
.play4geek-taboola-zone .tbl-feed-container,
.play4geek-taboola-zone .tbl-feed-frame,
.play4geek-taboola-zone .tbl-trecs-feed,
.single-article-content .play4geek-taboola-zone--mid .trc_rbox,
.single-review-content .play4geek-taboola-zone--mid .trc_rbox {
    max-width: 100% !important;
    width: 100% !important;
    overflow: visible !important;
}

.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;
}

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 {
    display: grid;
    gap: 0.45rem;
    align-items: start;
}

.sidebar-live .streamer-game {
    min-width: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
    line-height: 1.35;
}

.sidebar-live .streamer-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.35rem;
    width: 100%;
    justify-content: stretch;
    min-width: 0;
}

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

.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 1 auto;
    min-width: 0;
    max-width: 100%;
    margin-left: auto;
    white-space: normal;
    text-align: right;
}

.sidebar-live .streamer-play-button,
.sidebar-live .streamer-button {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    white-space: nowrap;
    text-align: center;
    line-height: 1.15;
    padding: 0.42rem 0.5rem;
    font-size: 0.68rem;
    gap: 0.32rem;
}

.sidebar-live .streamer-action-icon {
    flex-shrink: 0;
    font-size: 0.78rem;
    line-height: 1;
    opacity: 0.92;
}

.sidebar-live .streamer-action-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.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;
    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 {
    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):not(.sidebar-auctions-spotlight) 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):not(.sidebar-auctions-spotlight) 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 {
    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 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);
}

.single-article-content .article-game-embed-card img,
.single-review-content .article-game-embed-card img {
    max-width: none;
    width: 100%;
    height: auto;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

/* Carte fiche jeu dans les articles — fallback layout (style.css toujours chargé) */
.single-article-content .article-game-embed-card__shell,
.single-review-content .article-game-embed-card__shell {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 1.35rem;
    padding: 3.65rem 1.35rem 1.35rem;
}

.single-article-content .article-game-embed-card__cover-link,
.single-review-content .article-game-embed-card__cover-link {
    flex: 0 0 148px;
    width: 148px;
    max-width: 148px;
}

.single-article-content .article-game-embed-card__cover,
.single-review-content .article-game-embed-card__cover,
.single-article-content .article-game-embed-card__cover-link img,
.single-review-content .article-game-embed-card__cover-link img {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    object-position: center top;
    margin: 0 !important;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
}

.single-article-content .article-game-embed-card__panel,
.single-review-content .article-game-embed-card__panel {
    flex: 1 1 auto;
    min-width: 0;
    color: #f2f7ff !important;
}

.single-article-content .article-game-embed-card__panel .article-game-embed-card__title,
.single-review-content .article-game-embed-card__panel .article-game-embed-card__title,
.single-article-content .article-game-embed-card__panel .article-game-embed-card__desc,
.single-review-content .article-game-embed-card__panel .article-game-embed-card__desc,
.single-article-content .article-game-embed-card__panel dt,
.single-review-content .article-game-embed-card__panel dt,
.single-article-content .article-game-embed-card__panel dd,
.single-review-content .article-game-embed-card__panel dd {
    color: inherit;
}

.single-article-content a.article-game-embed-card__cta,
.single-review-content a.article-game-embed-card__cta {
    display: inline-flex !important;
    background: #ff8f5c !important;
    color: #2a1a22 !important;
    text-decoration: none !important;
}

.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;
}

/* YouTube : pleine largeur de la colonne article, ratio 16:9 */
.single-article-content .wp-block-embed__wrapper,
.single-review-content .wp-block-embed__wrapper,
.single-article-content .wp-has-aspect-ratio .wp-block-embed__wrapper,
.single-review-content .wp-has-aspect-ratio .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__wrapper::before,
.single-review-content .wp-block-embed__wrapper::before {
    display: none !important;
    content: none !important;
    padding: 0 !important;
    height: 0 !important;
}

/* Carte fiche jeu — reset wrapper embed (évite ratio 16:9 YouTube) */
.single-article-content .wp-block-embed.is-provider-play4geek .wp-block-embed__wrapper,
.single-review-content .wp-block-embed.is-provider-play4geek .wp-block-embed__wrapper {
    position: static;
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
    overflow: visible;
    background: transparent;
    border-radius: 0;
}

.single-article-content .wp-block-embed__wrapper iframe,
.single-article-content .wp-block-embed__wrapper .p4g-youtube-embed,
.single-article-content iframe.p4g-youtube-embed,
.single-review-content .wp-block-embed__wrapper iframe,
.single-review-content .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: 2.5rem;
    border-top: 2px solid #e5e7eb;
    margin-top: 2rem;
    background: var(--bg-light);
}

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

.related-articles-header h2 {
    margin: 0 0 0.5rem;
    font-size: 1.8rem;
    color: var(--text-dark);
    font-weight: 700;
}

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

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

.related-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    transition: all 0.3s ease;
}

.related-card:hover {
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    transform: translateY(-4px);
}

.related-card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.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.3s ease;
}

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

.related-card-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    background: var(--bg-blue);
    color: white;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.related-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.related-card-body h3 {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--text-dark);
}

.related-card-body h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.related-card-excerpt {
    margin: 0 0 1rem;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.related-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    gap: 1rem;
}

.related-card-date {
    font-size: 0.9rem;
    color: #9ca3af;
    font-weight: 500;
}

.related-card-footer .post-views {
    font-size: 0.9rem;
    color: #9ca3af;
    font-weight: 500;
}

.related-card-footer .post-views i {
    color: currentColor;
    opacity: 0.92;
}

.read-more-link {
    color: var(--bg-blue);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.read-more-link:hover {
    color: #1558a0;
}

/* 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 {
    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 h2 {
    margin: 0.35rem 0 0;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.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.42rem;
}

.article-sidebar-game-card .game-sidebar-meta > li {
    display: grid;
    grid-template-columns: minmax(7.25rem, 48%) minmax(0, 1fr);
    align-items: center;
    gap: 0.45rem 0.7rem;
    font-size: 0.68rem;
    line-height: 1.35;
    color: color-mix(in srgb, var(--text-light) 92%, transparent);
    padding: 0.12rem 0;
}

.article-sidebar-game-card .game-sidebar-meta-key {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    min-width: 0;
    grid-column: 1;
    grid-row: 1;
}

.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 {
    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 {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
    justify-self: end;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.article-sidebar-game-card .meta-label {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.62rem;
    font-weight: 600;
    color: color-mix(in srgb, var(--text-light) 78%, transparent);
    white-space: nowrap;
}

.article-sidebar-game-card .meta-label::after {
    content: ' :';
}

.article-sidebar-game-card .meta-value {
    justify-self: end;
    text-align: right;
    font-weight: 700;
    font-size: 0.68rem;
    color: var(--text-light);
    min-width: 0;
    overflow-wrap: anywhere;
}

.article-sidebar-game-card .meta-icon-small {
    flex: 0 0 auto;
    width: 0.85rem;
    text-align: center;
    color: var(--bg-blue);
}

.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,
.game-sidebar-meta .article-sidebar-game-card-platforms > li,
.game-sidebar-meta .article-sidebar-game-card-play-modes > 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;
    grid-template-columns: none;
}

.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);
}

.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: 1.6fr 0.95fr;
        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-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;
    }

    .play4geek-taboola-zone--below {
        margin: 0 1.5rem 1.5rem;
        padding-top: 1.1rem;
    }

    .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__wrapper {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .single-article-content .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: 980px) {
    .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-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-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 {
    margin: 0;
    line-height: 1.7;
    color: var(--muted-text);
}

.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);
    overflow: hidden;
    position: relative;
}

.game-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.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-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-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-tests-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem 1.35rem;
    margin-bottom: 1.1rem;
}

.home-tests-toolbar h2 {
    margin: 0;
    font-size: clamp(1.45rem, 2.2vw, 1.85rem);
    font-weight: 800;
    color: var(--home-tests-heading);
    line-height: 1.1;
}

.home-tests-tabs {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.home-tests-tab {
    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: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%;
}

.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-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%);
}

.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-featured-corner-badges {
    position: absolute;
    bottom: 1.15rem;
    right: 1.15rem;
    z-index: 2;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    max-width: calc(100% - 2.3rem);
    pointer-events: none;
}

.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;
    padding-right: 9.5rem;
    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: 76px minmax(0, 1fr);
    gap: 0.45rem;
    padding: 0.35rem 0.42rem;
    height: 100%;
    min-height: 0;
    align-self: stretch;
}

.home-test-compact.is-stack-item .home-test-compact-title {
    margin-bottom: 0.12rem;
    font-size: 0.74rem;
    -webkit-line-clamp: 1;
}

.home-test-compact.is-stack-item .home-test-meta--compact {
    gap: 0.1rem;
}

.home-test-compact.is-stack-item .home-test-stats,
.home-test-compact.is-stack-item .home-test-date {
    font-size: 0.62rem;
    line-height: 1.25;
}

.home-test-compact.is-stack-item .home-test-compact-body {
    padding-right: 1.45rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.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 {
    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;
}

.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;
    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--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-featured-corner-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;
    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;
        padding-right: 1rem;
    }

    .home-test-featured-platform-top {
        top: 0.65rem;
        left: 0.65rem;
        max-width: calc(100% - 5rem);
    }

    .home-test-featured-corner-badges {
        bottom: auto;
        top: calc(100% - 4.5rem);
        right: 0.85rem;
        max-width: calc(100% - 1.7rem);
    }

    .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: hidden;
}

.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: rgba(10, 22, 38, 0.48);
    background: color-mix(in srgb, var(--header-submenu-bg, #0f1d33) 50%, transparent);
    backdrop-filter: blur(22px) saturate(168%);
    -webkit-backdrop-filter: blur(22px) saturate(168%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.35rem;
    z-index: 60;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
    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: rgba(10, 22, 38, 0.48);
    background: color-mix(in srgb, var(--header-submenu-bg, #0f1d33) 50%, transparent);
    backdrop-filter: blur(22px) saturate(168%);
    -webkit-backdrop-filter: blur(22px) saturate(168%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.35rem;
    z-index: 70;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
    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 {
    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 .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 header */
.news-section .p4g-home-news-heading {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.65rem;
    margin-bottom: 1rem;
    min-width: 0;
}

.news-main > .p4g-home-news-heading {
    margin-bottom: 0;
}

.news-section .p4g-home-news-heading__title {
    flex: 0 1 auto;
    min-width: 0;
}

.news-section .p4g-home-news-heading__line {
    flex: 1 1 auto;
    width: auto;
    min-width: 0.75rem;
    max-width: none;
    height: 3px;
}

.news-section .p4g-home-news-heading__more {
    flex: 0 0 auto;
}

.news-section .p4g-home-news-heading .p4g-news-layout-btn.is-active {
    color: #fff;
    background: linear-gradient(180deg, var(--bg-blue), var(--bg-accent));
}

.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;
}

.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));
    }

    .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);
    bord