/* =============================================
   PROGRESSISME GAZETTE — Classic Newspaper Theme
   ============================================= */

/* =============================================
   0. SELF-HOSTED FONTS
   ============================================= */

@font-face {
    font-family: 'DM Serif Display';
    src: url('../fonts/dm-serif-display-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Serif Display Fallback';
    src: local('Georgia');
    size-adjust: 105%;
    ascent-override: 97%;
    descent-override: 27%;
    line-gap-override: 0%;
}

@font-face {
    font-family: 'Charis SIL';
    src: url('../fonts/charis-sil-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Charis SIL';
    src: url('../fonts/charis-sil-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Charis SIL';
    src: url('../fonts/charis-sil-400i.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Charis SIL';
    src: url('../fonts/charis-sil-700i.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Charis SIL Fallback';
    src: local('Georgia');
    size-adjust: 98%;
    ascent-override: 100%;
    descent-override: 27%;
    line-gap-override: 0%;
}

/* =============================================
   1. CSS VARIABLES
   ============================================= */

:root {
    --gz-black: #1a1a1a;
    --gz-white: #ffffff;
    --gz-red: #C41E3A;
    --gz-light-gray: #f5f5f5;
    --gz-mid-gray: #999999;
    --gz-rule: #dddddd;
    --gz-rule-dark: #1a1a1a;
    --gz-font-heading: 'DM Serif Display', 'DM Serif Display Fallback', Georgia, serif;
    --gz-font-body: 'Charis SIL', 'Charis SIL Fallback', Georgia, serif;
    --gz-content-width: 1200px;
    --gz-reading-width: 720px;
}

/* =============================================
   2. RESET & BASE
   ============================================= */

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

body {
    margin: 0;
    padding: 0;
    font-family: var(--gz-font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gz-black);
    background-color: var(--gz-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--gz-black);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--gz-red);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--gz-font-heading);
    margin: 0 0 0.5em 0;
    line-height: 1.15;
}

p {
    margin: 0 0 1em 0;
}

figure {
    margin: 0;
}

/* =============================================
   3. HEADER / MASTHEAD
   ============================================= */

.gazette-header {
    border-bottom: none;
}

.gazette-header .wp-block-separator {
    margin: 0 !important;
    opacity: 1;
}

.gazette-header .gazette-thick-rule {
    height: 2px !important;
}

.gazette-dateline {
    text-align: center;
}

.gazette-masthead {
    text-align: center;
}

.gazette-masthead .wp-block-site-title {
    font-family: var(--gz-font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: none;
}

.gazette-masthead .wp-block-site-title a {
    text-decoration: none;
    color: var(--gz-black);
}

.gazette-nav {
    text-align: center;
}

.gazette-nav .wp-block-navigation {
    gap: 2rem;
    justify-content: center;
}

.gazette-nav .wp-block-navigation a {
    font-family: var(--gz-font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    color: var(--gz-black);
    text-decoration: none;
}

.gazette-nav .wp-block-navigation a:hover {
    color: var(--gz-red);
}

/* =============================================
   4. FOOTER
   ============================================= */

.gazette-footer {
    margin-top: 3rem;
}

/* =============================================
   5. HOMEPAGE CONTAINER
   ============================================= */

.gz-homepage {
    width: 100%;
}

.gz-band {
    width: 100%;
}

.gz-band--light {
    background: #ffffff;
}

.gz-band--muted {
    background: #f7f7f5;
}

.gz-band--dark {
    background: #1a1a1a;
    color: #f0ede8;
}
.gz-band--dark a { color: #f0ede8; }
.gz-band--dark a:hover { color: #FF6B6B; }
.gz-band--dark h2, .gz-band--dark h3, .gz-band--dark h4 { color: #fff; }
.gz-band--dark .gz-section-title { color: #fff; }
.gz-band--dark .gz-section-title::after { background: #FF6B6B; }
.gz-band--dark .gz-card-dateline { color: #888; }
.gz-band--dark .gz-cat-label { color: #999; }
.gz-band--dark .gz-cat-accent { color: #999 !important; }
.gz-band--dark .gz-analysis-card { border-bottom-color: #333; padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
.gz-band--dark .gz-band-inner { padding-bottom: 2.5rem; }
.gz-band--dark .gz-analysis-title a { color: #fff; }
.gz-band--dark .gz-analysis-title a:hover { color: #FF6B6B; }
.gz-band--dark .gz-analysis-excerpt { color: #bbb; }
.gz-band--dark .gz-hero-title a { color: #fff; }
.gz-band--dark .gz-hero-excerpt { color: #bbb; }
.gz-band--dark .gz-column-title a { color: #fff; }
.gz-band--dark .gz-column-excerpt { color: #bbb; }
.gz-band--dark .gz-analysis-card:hover,
.gz-band--dark .gz-column-item:hover,
.gz-band--dark .gz-hero-card:hover { background-color: #2a2a2a; }

.gz-band-inner {
    max-width: var(--gz-content-width);
    margin: 0 auto;
    padding: 2rem 2rem;
}

/* =============================================
   6. TICKER / FIL D'ACTU
   ============================================= */

.gz-ticker {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-top: 1px solid var(--gz-rule);
    border-bottom: 1px solid var(--gz-rule);
    overflow: hidden;
    white-space: nowrap;
}

.gz-ticker-label {
    font-family: var(--gz-font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gz-red);
    flex-shrink: 0;
    padding-right: 0.75rem;
    border-right: 1px solid var(--gz-rule);
}

.gz-ticker-items {
    font-family: var(--gz-font-body);
    font-size: 0.8rem;
    color: var(--gz-black);
    overflow: hidden;
    text-overflow: ellipsis;
}

.gz-ticker-items a {
    color: var(--gz-black);
    text-decoration: none;
}

.gz-ticker-items a:hover {
    color: var(--gz-red);
}

.gz-ticker-dot {
    color: var(--gz-mid-gray);
    margin: 0 0.4rem;
}

/* =============================================
   7. MAIN GRID (Hero + 2 columns)
   ============================================= */

.gz-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
}

.gz-main-hero {
    padding: 1.25rem 1.5rem 1.25rem 0;
    border-right: 1px solid var(--gz-rule);
}

.gz-main-col {
    padding: 1.25rem 1.5rem;
    border-right: 1px solid var(--gz-rule);
}

.gz-main-col:last-child {
    border-right: none;
    padding-right: 0;
}

/* =============================================
   8. HERO CARD
   ============================================= */

.gz-hero-card {
    display: flex;
    flex-direction: column;
}

.gz-card-meta {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
    font-family: var(--gz-font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.gz-card-meta--small {
    font-size: 0.65rem;
    margin-bottom: 0.35rem;
}

.gz-format-label {
    color: var(--gz-red);
}

.gz-format-badge {
    display: inline-block;
    font-family: var(--gz-font-body);
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.15em 0.5em;
    line-height: 1.4;
    border-radius: 2px;
}

/* Category label: bold text in format color (no background) */
.gz-cat-accent {
    font-family: var(--gz-font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
}
.gz-cat-accent:hover {
    opacity: 0.7;
}

.gz-meta-sep {
    color: var(--gz-mid-gray);
}

.gz-cat-label {
    color: var(--gz-mid-gray);
    text-decoration: none;
}

.gz-cat-label:hover {
    color: var(--gz-red);
}

.gz-hero-title {
    font-family: var(--gz-font-heading);
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 0.75rem 0;
}

.gz-hero-title a {
    color: var(--gz-black);
    text-decoration: none;
}

.gz-hero-title a:hover {
    color: var(--gz-red);
}

.gz-hero-image {
    margin-bottom: 0.75rem;
}

.gz-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.gz-hero-excerpt {
    font-family: var(--gz-font-body);
    font-size: 0.95rem;
    line-height: 1.65;
    color: #444;
    margin: 0 0 0.75rem 0;
}

.gz-card-dateline {
    font-family: var(--gz-font-body);
    font-size: 0.7rem;
    color: var(--gz-mid-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =============================================
   9. COLUMN ITEMS (side columns)
   ============================================= */

.gz-column-item {
    padding-bottom: 1rem;
    margin-bottom: 0;
    border-bottom: none;
}

.gz-col-wrap {
    border-bottom: 1px solid var(--gz-rule);
    margin-bottom: 1rem;
}

.gz-col-wrap:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Direct children (col2 has no wraps) */
.gz-main-col > .gz-column-item {
    border-bottom: 1px solid var(--gz-rule);
    margin-bottom: 1rem;
}

.gz-main-col > .gz-column-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.gz-column-title {
    font-family: var(--gz-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.35rem 0;
}

.gz-column-title a {
    color: var(--gz-black);
    text-decoration: none;
}

.gz-column-title a:hover {
    color: var(--gz-red);
}

.gz-column-excerpt {
    font-family: var(--gz-font-body);
    font-size: 0.85rem;
    line-height: 1.55;
    color: #555;
    margin: 0 0 0.35rem 0;
}

/* =============================================
   10. SECTION HEADERS
   ============================================= */

.gz-section-header {
    border-top: none;
    padding: 0.5rem 0;
    margin-bottom: 1.25rem;
}

.gz-section-title {
    font-family: var(--gz-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gz-black);
    margin: 0;
    padding-bottom: 0.4rem;
    border-bottom: 3px solid var(--gz-red);
    display: inline-block;
}

/* =============================================
   11. ANALYSES GRID
   ============================================= */

.gz-analyses-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.gz-analyses-main {
    padding-right: 1.5rem;
    border-right: 1px solid var(--gz-rule);
}

.gz-analyses-side {
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
}

.gz-analysis-card {
    transition: background-color 0.15s ease;
}

.gz-analysis-card:hover {
    background-color: var(--gz-light-gray);
}

.gz-analysis-card--large .gz-analysis-title {
    font-size: 1.35rem;
}

.gz-analysis-card--small {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--gz-rule);
}

.gz-analysis-card--small:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.gz-analysis-image {
    margin-bottom: 0.75rem;
}

.gz-analysis-image img {
    width: 100%;
    height: auto;
    display: block;
}

.gz-analysis-title {
    font-family: var(--gz-font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.5rem 0;
}

.gz-analysis-title a {
    color: var(--gz-black);
    text-decoration: none;
}

.gz-analysis-title a:hover {
    color: var(--gz-red);
}

.gz-analysis-excerpt {
    font-family: var(--gz-font-body);
    font-size: 0.85rem;
    line-height: 1.55;
    color: #555;
    margin: 0 0 0.5rem 0;
}

/* =============================================
   11b. COMPACT GRID (6 articles, 2-col text-only)
   ============================================= */

.gz-compact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.gz-compact-item {
    padding: 0.65rem 1.25rem;
    border-bottom: 1px solid var(--gz-rule);
    transition: background-color 0.15s ease;
}

.gz-compact-item:hover {
    background-color: var(--gz-light-gray);
}

.gz-compact-item:nth-child(odd) {
    border-right: 1px solid var(--gz-rule);
    padding-left: 0;
}

.gz-compact-item:nth-child(even) {
    padding-right: 0;
}

.gz-compact-item:nth-last-child(1),
.gz-compact-item:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
}
/* If last item is even, remove its border too */
.gz-compact-item:nth-last-child(1):nth-child(even) {
    border-bottom: none;
}
/* And if second-to-last is odd and last is even, remove second-to-last border */
.gz-compact-item:nth-last-child(2):nth-child(odd) + .gz-compact-item {
    border-bottom: none;
}

.gz-compact-title {
    font-family: var(--gz-font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.2rem 0;
}

.gz-compact-title a {
    color: var(--gz-black);
    text-decoration: none;
}

.gz-compact-title a:hover {
    color: var(--gz-red);
}

/* =============================================
   11c. HOVER BACKGROUND EFFECT (shared)
   ============================================= */

.gz-column-item,
.gz-hero-card,
.gz-portrait-card,
.gz-confrontation-item,
.gz-latest-item {
    transition: background-color 0.15s ease;
}

.gz-column-item:hover,
.gz-hero-card:hover,
.gz-portrait-card:hover,
.gz-confrontation-item:hover,
.gz-latest-item:hover {
    background-color: var(--gz-light-gray);
}

/* =============================================
   12. NEWSLETTER CTA
   ============================================= */

.gz-newsletter-cta {
    text-align: center;
    padding: 1.25rem 0;
}

.gz-newsletter-text {
    font-family: var(--gz-font-body);
    font-size: 0.9rem;
    font-style: italic;
    color: var(--gz-mid-gray);
    margin: 0;
}

.gz-newsletter-text a {
    color: var(--gz-red);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.gz-newsletter-text a:hover {
    color: var(--gz-black);
}

/* =============================================
   13. CONFRONTATION LIST
   ============================================= */

.gz-confrontation-list {
}

.gz-confrontation-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gz-rule);
    font-family: var(--gz-font-body);
    font-size: 0.9rem;
}

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

.gz-confrontation-item a {
    color: var(--gz-black);
    text-decoration: none;
    font-weight: 700;
    flex: 1;
    padding-right: 1rem;
}

.gz-confrontation-item a:hover {
    color: var(--gz-red);
}

.gz-confrontation-date {
    font-size: 0.7rem;
    color: var(--gz-mid-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

/* =============================================
   14. PORTRAITS GRID
   ============================================= */

.gz-portraits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 0;
    row-gap: 1.25rem;
}

.gz-portrait-card {
    display: flex;
    gap: 0.75rem;
    padding: 0 1.5rem;
    border-right: 1px solid var(--gz-rule);
    align-items: flex-start;
}

.gz-portrait-card:first-child {
    padding-left: 0;
}

.gz-portrait-card:nth-child(n+4) {
    padding-top: 1.25rem;
    border-top: 1px solid var(--gz-rule);
}

.gz-portrait-card:last-child {
    border-right: none;
    padding-right: 0;
}

.gz-portrait-image {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    overflow: hidden;
}

.gz-portrait-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.gz-portrait-text {
    flex: 1;
    min-width: 0;
}

.gz-portrait-title {
    font-family: var(--gz-font-heading);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.25rem 0;
}

.gz-portrait-title a {
    color: var(--gz-black);
    text-decoration: none;
}

.gz-portrait-title a:hover {
    color: var(--gz-red);
}

/* =============================================
   15. LATEST ARTICLES GRID
   ============================================= */

.gz-latest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.gz-latest-item {
    padding: 0 1.25rem 0 0;
    border-right: none;
}

.gz-latest-item:first-child {
    padding-left: 0;
}

.gz-latest-item:last-child {
    padding-right: 0;
}

.gz-latest-item:nth-child(n+5) {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--gz-rule);
}

.gz-latest-title {
    font-family: var(--gz-font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.25rem 0;
}

.gz-latest-title a {
    color: var(--gz-black);
    text-decoration: none;
}

.gz-latest-title a:hover {
    color: var(--gz-red);
}

/* =============================================
   16. ARTICLE PAGE
   ============================================= */

.article-page {
    max-width: var(--gz-reading-width);
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.article-meta-top {
    margin-bottom: 0.25rem;
}

.article-meta-top .wp-block-post-terms a {
    font-family: var(--gz-font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--gz-red);
    text-decoration: none;
}

.article-meta-top .wp-block-post-terms a:hover {
    color: var(--gz-black);
}

.article-dateline {
    margin-bottom: 1.25rem;
}

.article-page .wp-block-post-content {
    font-family: var(--gz-font-body);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gz-black);
}

/* Drop cap: only on first direct <p> child, not inside blocks or TOC */
.article-page .wp-block-post-content > p:first-of-type::first-letter {
    font-family: var(--gz-font-heading);
    float: left;
    font-size: 4.5rem;
    line-height: 0.8;
    font-weight: 900;
    font-style: normal;
    margin-right: 0.1em;
    margin-top: 0.05em;
    color: var(--gz-black);
}
/* Disable drop cap on elements inside blocks */
.article-page .essential-block p::first-letter,
.article-page .wp-block-post-content .ez-toc-container p::first-letter,
.article-page .wp-block-post-content div p:first-of-type::first-letter {
    float: none;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    margin: 0;
}

.article-page .wp-block-post-content h2 {
    font-family: var(--gz-font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem 0;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--gz-rule);
}

.article-page .wp-block-post-content h3 {
    font-family: var(--gz-font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem 0;
}

.article-page .wp-block-post-content blockquote {
    border-left: 3px solid #C41E3A;
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    font-style: italic;
    color: #444;
    background: #f5f5f2;
}

/* Image captions: no left border */
.article-page .wp-block-post-content figcaption {
    border-left: none !important;
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
    margin-top: 0.5rem;
}

.article-page .wp-block-post-content ul,
.article-page .wp-block-post-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.article-page .wp-block-post-content li {
    margin-bottom: 0.5rem;
}

/* =============================================
   17. ESSENTIAL BLOCK (article content)
   ============================================= */

.essential-block {
    border-left: 2px solid var(--gz-black);
    background: var(--gz-light-gray);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    font-family: var(--gz-font-body);
}

.essential-block h3,
.essential-block strong:first-child {
    font-family: var(--gz-font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.essential-block p {
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 0.5rem;
}

.essential-block p:last-child {
    margin-bottom: 0;
}

.essential-block p strong {
    color: var(--gz-red);
}

/* =============================================
   18. KEY FACTS (article content)
   ============================================= */

.key-facts {
    border: 1px solid var(--gz-rule);
    padding: 1.25rem 1.5rem;
    margin: 2rem auto;
    max-width: 600px;
}

.key-facts h3,
.key-facts > strong:first-child {
    font-family: var(--gz-font-heading);
    font-size: 0.9rem;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1px solid var(--gz-rule);
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
}

.key-facts p,
.key-facts li {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =============================================
   19. PRECEDENT BLOCK (article content)
   ============================================= */

.precedent-block {
    background: var(--gz-black);
    color: var(--gz-white);
    border-left: 3px solid var(--gz-red);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
}

.precedent-block h3,
.precedent-block strong:first-child {
    font-family: var(--gz-font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gz-white);
}

.precedent-block p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
}

.precedent-block a {
    color: var(--gz-white);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* =============================================
   20. IMAGE BREAK (article content)
   ============================================= */

.image-break {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    border-top: 1px solid var(--gz-rule);
    border-bottom: 1px solid var(--gz-rule);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.image-break img {
    width: 100%;
    display: block;
}

/* =============================================
   21. TWITTER EMBED
   ============================================= */

.twitter-embed {
    max-width: 550px;
    margin: 1.5rem auto;
    text-align: center;
}

/* =============================================
   22. DATA TABLE (enquete content)
   ============================================= */

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem auto;
    font-family: var(--gz-font-body);
    font-size: 0.85rem;
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
}

.data-table caption {
    font-family: var(--gz-font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: left;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gz-black);
    margin-bottom: 0;
}

.data-table th {
    background: var(--gz-black);
    color: var(--gz-white);
    font-weight: 700;
    text-align: left;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.data-table td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--gz-rule);
}

.data-table tr:hover td {
    background: var(--gz-light-gray);
}

.data-table .negative {
    color: var(--gz-red);
    font-weight: 700;
}

.data-table .positive {
    color: #2d8a2d;
    font-weight: 700;
}

.data-table .highlight {
    background: rgba(196, 30, 58, 0.05);
}

/* =============================================
   23. STAT GRID (enquete content)
   ============================================= */

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.stat-highlight {
    padding: 1rem;
    border: 1px solid var(--gz-red);
    text-align: center;
}

.stat-number {
    font-family: var(--gz-font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--gz-red);
    line-height: 1;
    display: block;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-family: var(--gz-font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.15rem;
}

.stat-context {
    font-family: var(--gz-font-body);
    font-size: 0.75rem;
    color: var(--gz-mid-gray);
    display: block;
}

/* =============================================
   24. BAR CHART (enquete content)
   ============================================= */

.bar-chart {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.4rem 0.75rem;
    align-items: center;
    margin: 1.5rem 0;
}

.bar-chart .bar-item,
.bar-chart .bar-row {
    display: contents;
}

.bar-chart p:not(.data-source),
.bar-chart br {
    display: none !important;
}

.bar-chart > h4,
.bar-chart > .data-source {
    grid-column: 1 / -1;
}

.bar-chart .bar-label {
    font-family: var(--gz-font-body);
    font-size: 0.9rem;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.bar-chart .bar-track {
    height: 28px;
    background: var(--gz-light-gray);
    position: relative;
}

.bar-chart .bar-fill {
    height: 100%;
    background: var(--gz-black);
    transition: width 0.3s ease;
    color: var(--gz-white);
    font-family: var(--gz-font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.5rem;
}

.bar-chart .bar-value {
    font-family: var(--gz-font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    min-width: 55px;
}

/* =============================================
   25. METHODOLOGY BLOCK (enquete content)
   ============================================= */

.methodology-block {
    background: var(--gz-light-gray);
    border-left: 3px solid var(--gz-red);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    font-size: 0.85rem;
}

.methodology-block h3 {
    font-family: var(--gz-font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* =============================================
   26. BOOK CARD (critique content)
   ============================================= */

.book-card {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 1.5rem;
    border: 1px solid var(--gz-black);
    padding: 1.25rem;
    margin: 2rem 0;
}

.book-card img {
    width: 100%;
    height: auto;
}

.book-card dl {
    margin: 0;
}

.book-card dt {
    font-family: var(--gz-font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #8B5CF6;
    font-weight: 700;
    margin-top: 0.5rem;
}

.book-card dt:first-child {
    margin-top: 0;
}

.book-card dd {
    margin: 0;
    font-size: 0.9rem;
}

/* =============================================
   27. BOOK QUOTE (critique content)
   ============================================= */

.book-quote {
    border-left: 3px solid #8B5CF6;
    background: rgba(139, 92, 246, 0.04);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.book-quote blockquote {
    font-style: italic;
    margin: 0;
    border: none;
    padding: 0;
}

.book-quote .reference {
    font-size: 0.75rem;
    font-variant: small-caps;
    color: var(--gz-mid-gray);
    margin-top: 0.5rem;
}

/* =============================================
   28. VERDICT BLOCK (critique content)
   ============================================= */

.verdict-block {
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    color: var(--gz-white);
}

.verdict-label {
    font-family: var(--gz-font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    display: block;
    margin-bottom: 0.5rem;
}

.verdict--essentiel { background: #006600; }
.verdict--recommande { background: #8B5CF6; }
.verdict--mitige { background: #FF6B00; }
.verdict--a-eviter { background: #FF0000; }

/* =============================================
   29. COMPARISON BLOCK (enquete content)
   ============================================= */

.comparison-block {
    display: flex;
    gap: 0;
    margin: 2rem 0;
    border: 1px solid var(--gz-rule);
}

.comparison-block > div {
    flex: 1;
    padding: 1.25rem;
}

.comparison-block > div:first-child {
    border-right: 1px solid var(--gz-rule);
}

.comparison-block .vs,
.comparison-block .comparison-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gz-black);
    color: var(--gz-white);
    font-family: var(--gz-font-heading);
    font-weight: 900;
    font-size: 1.25rem;
    padding: 0 0.75rem;
    flex: 0;
}

.comparison-label {
    font-family: var(--gz-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

.comparison-value {
    font-family: var(--gz-font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    display: block;
    margin-bottom: 0.5rem;
}

.comparison-value.negative {
    color: var(--gz-red);
}

.comparison-value.positive {
    color: #2d8a2d;
}

/* =============================================
   30. RESPONSIVE
   ============================================= */

@media (max-width: 900px) {
    .gz-main-grid {
        grid-template-columns: 1fr;
    }

    .gz-main-hero {
        padding: 1.25rem 0;
        border-right: none;
    }

    .gz-main-col {
        padding: 1.25rem 0;
        border-right: none;
    }

    .gz-compact-grid {
        grid-template-columns: 1fr;
    }

    .gz-compact-item:nth-child(odd) {
        border-right: none;
        padding-left: 0;
    }

    .gz-analyses-grid {
        grid-template-columns: 1fr;
    }

    .gz-analyses-main {
        padding-right: 0;
        border-right: none;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        border-bottom: 1px solid var(--gz-rule);
    }

    .gz-analyses-side {
        padding-left: 0;
    }

    .gz-analyses-side .gz-analysis-card--small:nth-child(n+3) {
        display: none;
    }

    .gazette-footer {
        margin-top: 1.5rem;
    }

    .gz-portraits-grid {
        grid-template-columns: 1fr;
    }

    .gz-portrait-card {
        padding: 0;
        border-right: none;
    }

    .gz-portrait-wrap {
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        border-bottom: 1px solid var(--gz-rule);
    }

    .gz-portrait-wrap:last-child,
    .gz-portrait-wrap:has(+ .gz-mobile-hide) {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .gz-latest-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gz-latest-item:nth-child(n+3) {
        margin-top: 1.25rem;
        padding-top: 1.25rem;
        border-top: 1px solid var(--gz-rule);
    }

    .gz-latest-item:nth-child(even) {
        border-right: none;
    }

    .gz-hero-title {
        font-size: 1.75rem;
    }

    .comparison-block {
        flex-direction: column;
    }

    .comparison-block > div:first-child {
        border-right: none;
        border-bottom: 1px solid var(--gz-rule);
    }

    .book-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .gz-band-inner {
        padding: 1.5rem 1rem;
    }

    .gz-latest-grid {
        grid-template-columns: 1fr;
    }

    .gz-latest-item {
        padding: 0;
        border-right: none;
        padding-bottom: 0.6rem;
        margin-bottom: 0.6rem;
        border-bottom: 1px solid var(--gz-rule);
    }

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

    .gz-ticker {
        flex-direction: column;
        align-items: flex-start;
        white-space: normal;
    }

    .gz-ticker-label {
        border-right: none;
        border-bottom: 1px solid var(--gz-rule);
        padding-right: 0;
        padding-bottom: 0.35rem;
        margin-bottom: 0.35rem;
        width: 100%;
    }

    .gazette-masthead .wp-block-site-title {
        font-size: 1.5rem !important;
        letter-spacing: -0.03em;
    }

    .gazette-nav .wp-block-navigation {
        font-size: 0.6rem;
        gap: 0.2rem;
    }

    .gz-band-inner {
        padding: 1.5rem 1rem;
    }

    .article-page .wp-block-post-content p:first-of-type::first-letter {
        font-size: 3.5rem;
    }

    .gz-confrontation-item {
        flex-direction: column;
        gap: 0.15rem;
    }

    .gz-confrontation-date {
        padding-right: 0;
    }

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

/* =============================================
   31. PRINT STYLES
   ============================================= */

@media print {
    .gazette-header,
    .gazette-footer,
    .gz-ticker,
    .gz-newsletter-cta {
        display: none;
    }

    .gz-band-inner {
        max-width: 100%;
    }

    .gz-main-grid {
        display: block;
    }

    a {
        color: var(--gz-black);
    }

    .gz-hero-title,
    .gz-column-title,
    .gz-analysis-title {
        page-break-after: avoid;
    }
}

/* =============================================
   32. WORDPRESS FSE OVERRIDES
   ============================================= */

.wp-site-blocks {
    padding: 0;
}

.wp-block-group.gazette-header {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.wp-block-separator.is-style-wide {
    width: 100% !important;
    max-width: 100% !important;
}

/* Ensure article content inherits gazette typography */
.entry-content,
.wp-block-post-content {
    font-family: var(--gz-font-body);
}

.entry-content h2,
.wp-block-post-content h2 {
    font-family: var(--gz-font-heading);
}

/* Remove default WordPress block spacing that conflicts */
.wp-block-post-template.is-flex-container {
    gap: 0;
}

/* Navigation block fine-tuning */
.wp-block-navigation .wp-block-navigation-item a {
    padding: 0.25rem 0;
}

/* Custom nav shortcode */
.gz-nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}
.gz-nav-links a {
    font-family: var(--gz-font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gz-black);
    text-decoration: none;
}
.gz-nav-links a:hover {
    color: var(--gz-red);
}

/* Separator fine-tuning */
.wp-block-separator:not(.is-style-wide) {
    width: 100px;
    margin-left: auto;
    margin-right: auto;
}

/* =============================================
   33. FOOTER
   ============================================= */

.gazette-footer > .wp-block-group:first-child {
    align-items: flex-start;
}

.gazette-footer .gz-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.gazette-footer .gz-footer-links li { margin: 0; }
.gazette-footer .gz-footer-links a {
    color: #888;
    text-decoration: none;
}
.gazette-footer .gz-footer-links a:hover {
    color: #fff;
}

/* =============================================
   34. MOBILE-SPECIFIC OVERRIDES
   ============================================= */

@media (max-width: 600px) {
    /* Hide elements on mobile */
    .gz-mobile-hide { display: none !important; }

    /* Second column hidden on mobile (hero + 4 items from col1) */
    .gz-mobile-col2 { display: none !important; }

    /* Compact grid: show only 4 items */
    .gz-compact-item:nth-child(n+5) { display: none; }

    /* Analyses: remove last border on small cards */
    .gz-band--dark .gz-analysis-card--small:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    /* Sticky header — handled by section 36 (hamburger) */

    /* Footer responsive */
    .gazette-footer .wp-block-group:first-child {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* =============================================
   35. ADDITIONAL FIXES
   ============================================= */

/* Section title links (inherit style, no underline) */
.gz-section-title a {
    color: inherit;
    text-decoration: none;
}
.gz-section-title a:hover {
    color: var(--gz-red);
}
.gz-band--dark .gz-section-title a { color: #fff; }
.gz-band--dark .gz-section-title a:hover { color: #FF6B6B; }

/* Precedent block: gray background like blockquote */
/* Override precedent-block: gray bg + black text */
.precedent-block {
    background: #f5f5f2 !important;
    color: #1a1a1a !important;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-left: 3px solid #C41E3A;
}
.precedent-block h3,
.precedent-block strong:first-child {
    color: #1a1a1a !important;
}
.precedent-block p {
    color: #333 !important;
}
.precedent-block a {
    color: #C41E3A !important;
}

/* Essential block: red left border like precedent */
.essential-block {
    border-left: 3px solid #C41E3A !important;
}

/* Key facts: red border */
.key-facts {
    border: 1px solid #C41E3A !important;
}
.key-facts h3,
.key-facts > strong:first-child {
    border-bottom-color: #C41E3A !important;
}

/* Image in article content: proper width */
.article-page .wp-block-post-content .wp-block-image {
    margin: 1.5rem 0;
}
.article-page .wp-block-post-content .wp-block-image img {
    width: 100%;
    height: auto;
}
/* No borders on figure/figcaption in articles */
.article-page .wp-block-post-content figure,
.article-page .wp-block-post-content .wp-block-image,
.article-page .wp-block-post-content figure.wp-block-image {
    border: none !important;
    padding-left: 0 !important;
}
.article-page .wp-block-post-content figcaption {
    border: none !important;
    padding-left: 0 !important;
    margin-bottom: 1.5rem;
}

/* Analysis section: consistent bottom padding on last card */
.gz-analyses-side .gz-analysis-card--small:last-child {
    padding-bottom: 1.25rem;
}

/* Latest items + articles on mobile */
@media (max-width: 600px) {
    /* Image width in articles: align to column width */
    .article-page .wp-block-post-content .wp-block-image {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .article-page .wp-block-post-content .wp-block-image figure,
    .article-page .wp-block-post-content figure.wp-block-image {
        max-width: 100% !important;
        width: 100% !important;
    }
    .article-page .wp-block-post-content .wp-block-image img,
    .article-page .wp-block-post-content figure.wp-block-image img {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Mobile: spacing between header and first section */
    .gz-homepage > .gz-band:first-child .gz-band-inner {
        padding-top: 1rem;
    }

    /* Mobile: remove border under last visible col-wrap item */
    .gz-col-wrap:has(+ .gz-mobile-hide) {
        border-bottom: none !important;
        margin-bottom: 0;
    }
    /* Mobile: remove main-grid and compact-grid borders */
    .gz-main-grid {
        border: none !important;
    }
    .gz-compact-grid {
        border: none !important;
    }
    /* Mobile: remove compact-item last visible border */
    .gz-compact-item:nth-child(4) {
        border-bottom: none !important;
    }

    /* Latest items: simple list */
    .gz-latest-grid {
        display: flex !important;
        flex-direction: column;
        gap: 0;
    }
    .gz-latest-item {
        padding: 0.6rem 0 0.6rem 0.75rem !important;
        border-right: none !important;
        border-bottom: 1px solid var(--gz-rule);
        border-top: none !important;
        margin-top: 0 !important;
    }
    .gz-latest-item:last-child {
        border-bottom: none;
    }

    /* Portraits: simple list on mobile */
    .gz-portraits-grid {
        display: flex !important;
        flex-direction: column;
        gap: 0;
    }
    
    /* Footer: compact on mobile */
    .gazette-footer > .wp-block-group.is-layout-flex {
        flex-direction: column !important;
        padding-top: 1.5rem !important;
        padding-bottom: 0.5rem !important;
        gap: 1rem !important;
    }
    .gazette-footer > .wp-block-group.is-layout-flex > .wp-block-group {
        flex-basis: auto !important;
        margin-bottom: 0 !important;
    }
    .gazette-footer .wp-block-group.is-content-justification-center {
        padding-top: 0.5rem !important;
        padding-bottom: 1rem !important;
    }
}

/* =============================================
   36. HAMBURGER MENU (mobile)
   ============================================= */

/* Hidden on desktop */
.gz-hamburger {
    display: none;
}

@media (max-width: 600px) {
    /* Sticky header */
    .gazette-header {
        position: sticky;
        top: 0;
        z-index: 100;
        background: #fff;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    /* Mobile header layout: title left, hamburger right */
    .gazette-header .gazette-masthead {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 0.4rem 1rem !important;
    }
    .gazette-header .gazette-masthead .wp-block-site-title {
        font-size: 1.4rem !important;
    }

    /* Show hamburger (2 lines) */
    .gz-hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 6px;
    }
    .gz-hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        background: #1a1a1a;
    }

    /* Nav hidden by default on mobile */
    .gazette-header .gazette-nav {
        display: none !important;
    }

    /* Nav shown when open */
    .gazette-header .gazette-nav.gz-nav-open {
        display: block !important;
        padding: 0.5rem 1rem 0.8rem 1rem !important;
        border-top: 1px solid #ddd;
    }
    .gz-nav-open .gz-nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }
    .gz-nav-open .gz-nav-links a {
        font-size: 0.75rem;
    }

    /* Remove thick rule + last separator on mobile */
    .gazette-header .gazette-thick-rule {
        display: none !important;
    }
    .gazette-header > .wp-block-separator:last-of-type {
        display: none;
    }
}

/* =============================================
   37. DISCOVERY MODULE (articles pour vous)
   ============================================= */

.gz-discovery {
    margin-top: 1rem;
}
.gz-discovery .wp-block-post-template {
    gap: 1.5rem;
}
.gz-discovery-card {
    padding-bottom: 0.5rem;
}
.gz-discovery-card img {
    width: 100%;
    height: auto;
    display: block;
}
.gz-discovery-card .wp-block-post-title a {
    color: var(--gz-black);
    text-decoration: none;
}
.gz-discovery-card .wp-block-post-title a:hover {
    color: var(--gz-red);
}

@media (max-width: 600px) {
    .gz-discovery .wp-block-post-template {
        flex-direction: column;
        gap: 1rem;
    }
}

/* =============================================
   38. INLINE PHOTO (Histoire format)
   ============================================= */

figure.inline-photo {
    max-width: 75%;
    margin: 2rem auto;
    display: block;
}

figure.inline-photo img {
    width: 100%;
    height: auto;
    border: 1px solid var(--gz-rule);
}

figure.inline-photo figcaption {
    font-size: 0.8rem;
    color: var(--gz-mid-gray);
    margin-top: 0.5rem;
    font-style: italic;
    font-family: var(--gz-font-body);
}

@media (max-width: 600px) {
    figure.inline-photo {
        max-width: 100%;
    }
}

/* =============================================
   39. PORTRAIT FORMAT BLOCKS
   ============================================= */

/* Identity Card */
.identity-card {
    border: 1px solid var(--gz-rule);
    padding: 1.5rem;
    background: var(--gz-white);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.identity-card dl {
    margin: 0;
}

.identity-card dt {
    color: var(--gz-red);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-top: 0.75rem;
    font-family: var(--gz-font-body);
}

.identity-card dt:first-child {
    margin-top: 0;
}

.identity-card dd {
    margin: 0.25rem 0 0 0;
    font-size: 1rem;
    font-family: var(--gz-font-body);
}

/* Timeline Block */
.timeline-block {
    border-left: 3px solid var(--gz-red);
    padding-left: 2rem;
    margin: 1.5rem 0;
}

.timeline-block .event {
    position: relative;
    margin-bottom: 1.5rem;
}

.timeline-block .event:last-child {
    margin-bottom: 0;
}

.timeline-block .event::before {
    content: '';
    position: absolute;
    left: -2.4rem;
    top: 0.5rem;
    width: 10px;
    height: 10px;
    background: var(--gz-red);
    border-radius: 50%;
}

.timeline-block .date {
    font-weight: 700;
    color: var(--gz-red);
    display: block;
    margin-bottom: 0.25rem;
    font-family: var(--gz-font-heading);
    font-size: 1.15rem;
    letter-spacing: 0.02em;
}

.timeline-block .event p {
    margin: 0;
}

/* Takeaways */
.takeaways {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.takeaways li {
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: var(--gz-white);
    border: 1px solid var(--gz-rule);
    border-left: 3px solid #FF6B00;
}

.takeaways li strong {
    display: block;
    font-family: var(--gz-font-heading);
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.25rem;
    color: var(--gz-black);
}

/* =============================================
   40. SIGNAL FORMAT BLOCKS
   ============================================= */

/* Signal Images Grid */
.signal-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 6px;
    margin: 0 0 2rem 0;
    border: 1px solid var(--gz-rule);
    overflow: hidden;
}

.signal-images br {
    display: none;
}

.signal-images img {
    width: 100%;
    height: auto;
    display: block;
}

.signal-images--single {
    grid-template-columns: 1fr;
}

.signal-images--single img {
    aspect-ratio: 16/9;
}

.signal-images--duo {
    grid-template-columns: 1fr 1fr;
}

.signal-images--trio {
    grid-template-columns: 1fr 1fr;
}

.signal-images--trio img:last-child {
    grid-column: 1 / -1;
}

.signal-images--quad {
    grid-template-columns: 1fr 1fr;
}

/* Signal Caption */
.signal-caption {
    font-family: var(--gz-font-body);
    font-size: 0.8rem;
    color: var(--gz-black);
    margin: -1.5rem 0 2rem 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Precedent Visual */
.precedent-visual {
    margin: 2.5rem 0 2rem 0;
    padding: 2rem 2.5rem;
    background: var(--gz-black);
    color: var(--gz-white);
    border-left: 4px solid #CC00CC;
}

.precedent-visual h2 {
    font-family: var(--gz-font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #CC00CC;
    margin: 0 0 1.25rem 0;
    line-height: 1.2;
}

.precedent-visual-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 6px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.precedent-visual-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/3;
}

.precedent-visual-images--single {
    grid-template-columns: 1fr;
}

.precedent-visual-images--single img {
    aspect-ratio: 16/9;
}

.precedent-visual p {
    color: var(--gz-white);
    margin-bottom: 0.75em;
    line-height: 1.7;
}

.precedent-visual p:last-child {
    margin-bottom: 0;
}

.precedent-visual .photo-credit {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Signal Lightbox */
.signal-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10002;
    background: rgba(26, 26, 26, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s, visibility 0.15s;
}

.signal-lightbox.is-active {
    opacity: 1;
    visibility: visible;
}

.signal-lightbox img {
    max-width: 92vw;
    max-height: 90vh;
    object-fit: contain;
    border: 1px solid var(--gz-rule);
}

.signal-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    background: none;
    border: 1px solid var(--gz-white);
    color: var(--gz-white);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.signal-lightbox-close:hover {
    background: var(--gz-red);
    border-color: var(--gz-red);
}

.signal-images img,
.precedent-visual-images img {
    cursor: zoom-in;
}

/* Responsive Signal */
@media (max-width: 600px) {
    .signal-images,
    .signal-images--duo,
    .signal-images--trio,
    .signal-images--quad {
        grid-template-columns: 1fr;
    }

    .signal-images--trio img:last-child {
        grid-column: auto;
    }

    .precedent-visual {
        padding: 1.5rem;
    }

    .precedent-visual-images,
    .precedent-visual-images--single {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   41. PROSPECTIVE FORMAT BLOCKS
   ============================================= */

/* Hypothesis Block */
.hypothesis-block {
    margin: 2em 0;
    padding: 1.5rem 2rem;
    border-left: 4px solid #0066FF;
    background: rgba(0, 102, 255, 0.04);
}

.hypothesis-block::before {
    content: "L'HYPOTHESE";
    display: block;
    font-family: var(--gz-font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0066FF;
    margin-bottom: 1rem;
}

.hypothesis-block p {
    margin-bottom: 0.75em !important;
    margin-top: 0 !important;
    line-height: 1.6;
}

.hypothesis-block p:last-child {
    margin-bottom: 0 !important;
}

.hypothesis-block p strong {
    color: #0066FF;
}

/* Cascade Block */
.cascade-block {
    margin: 2em 0;
    padding: 0;
    border-left: 2px solid #0066FF;
}

.cascade-step {
    padding: 1.25rem 1.5rem;
    position: relative;
    border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}

.cascade-step:nth-child(even) {
    background: rgba(26, 26, 26, 0.02);
}

.cascade-step:last-child {
    border-bottom: none;
}

.cascade-step-number {
    display: inline-block;
    font-family: var(--gz-font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #0066FF;
    margin-right: 0.75rem;
    vertical-align: middle;
}

.cascade-step-title {
    display: inline;
    font-family: var(--gz-font-body);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--gz-black);
}

.cascade-step p {
    margin: 0.5rem 0 0 0 !important;
    line-height: 1.6;
}

/* Constraint Block */
.constraint-block {
    margin: 2em 0;
    padding: 1.5rem 2rem;
    background: var(--gz-black);
    color: var(--gz-white);
    border-left: 4px solid #0066FF;
}

.constraint-block::before {
    content: "LES FREINS";
    display: block;
    font-family: var(--gz-font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0066FF;
    margin-bottom: 1rem;
}

.constraint-block ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.constraint-block li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gz-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.constraint-block li:last-child {
    border-bottom: none;
}

.constraint-block li::before {
    content: "\2715";
    position: absolute;
    left: 0;
    color: var(--gz-red);
    font-weight: 700;
}

.constraint-block li strong {
    color: #0066FF;
}

/* Scenario Summary */
.scenario-summary {
    border: 1px solid var(--gz-rule-dark);
    padding: 1.5rem 2rem;
    background: var(--gz-white);
    margin: 2em auto;
    max-width: 650px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.scenario-summary::before {
    content: "EN RESUME";
    display: block;
    font-family: var(--gz-font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gz-black);
    margin-bottom: 1rem;
}

.scenario-summary ul {
    margin: 0;
    padding-left: 1.25rem;
    list-style-type: disc;
}

.scenario-summary li {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.scenario-summary li strong {
    color: #0066FF;
}

/* Spacing Prospective */
.hypothesis-block + p,
.hypothesis-block + h2,
.hypothesis-block + h3,
.cascade-block + p,
.cascade-block + h2,
.cascade-block + h3,
.constraint-block + p,
.constraint-block + h2,
.constraint-block + h3,
.scenario-summary + p,
.scenario-summary + h2,
.scenario-summary + h3 {
    margin-top: 2em !important;
}

p + .hypothesis-block,
p + .cascade-block,
p + .constraint-block,
p + .scenario-summary {
    margin-top: 2em;
}

/* Responsive Prospective */
@media (max-width: 600px) {
    .scenario-summary {
        max-width: 100%;
    }

    .cascade-step {
        padding: 1rem;
    }

    .constraint-block {
        padding: 1.25rem 1.5rem;
    }
}

/* =============================================
   42. CONFRONTATION FORMAT BLOCKS
   ============================================= */

/* Episode Number */
.confrontation-number {
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

/* Disclaimer */
.confrontation-disclaimer {
    font-family: var(--gz-font-body);
    font-size: 0.95rem;
    font-style: italic;
    color: #666;
    text-align: center;
    max-width: 700px;
    margin: 0.75rem auto 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gz-rule);
    line-height: 1.6;
}

/* Hero Split (photos miroir) */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--gz-black);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    overflow: hidden;
    position: relative;
}

.hero-split::after {
    content: 'VS';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--gz-font-heading);
    font-size: 32px;
    font-weight: 700;
    color: white;
    background: var(--gz-red);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--gz-black);
    z-index: 10;
    line-height: 1;
    padding-top: 2px;
}

.hero-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 24px 24px;
    background: #FFFFFF;
}

.hero-side img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    margin-bottom: 20px;
}

.hero-label {
    font-family: var(--gz-font-heading);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 8px 20px 5px;
    border: 2px solid var(--gz-black);
}

.hero-side--dit .hero-label {
    background: #4CAF50;
    color: white;
}

.hero-side--fait .hero-label {
    background: var(--gz-red);
    color: white;
}

/* Content Split (promesse vs realite) */
.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--gz-black);
    margin-bottom: 3rem;
}

.content-side {
    padding: 2rem;
}

.content-side--dit {
    border-right: 1px solid var(--gz-black);
    background: #fafff9;
}

.content-side--fait {
    border-left: 1px solid var(--gz-black);
    background: #fff9f9;
}

.content-side h3 {
    font-family: var(--gz-font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gz-black);
}

/* Citations (cote promesse) */
.citation-block {
    background: white;
    border-left: 3px solid #4CAF50;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.5;
}

.citation-block .source {
    display: block;
    font-style: normal;
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Faits (cote realite) */
.fait-item {
    display: flex;
    gap: 12px;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.fait-marker {
    color: var(--gz-red);
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
    line-height: 1.5;
}

.fait-item p {
    font-size: 0.95rem;
    line-height: 1.55;
}

.fait-item strong {
    color: var(--gz-red);
}

.chiffre {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    color: var(--gz-red);
    font-size: 1rem;
}

/* Video Section */
.video-section {
    margin-bottom: 3rem;
}

.video-section h3 {
    font-family: var(--gz-font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.video-caption {
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Bloc L'Ecart */
.ecart-block {
    background: var(--gz-black);
    color: var(--gz-white);
    padding: 2rem 2.5rem;
    margin-bottom: 3rem;
    border: 1px solid var(--gz-black);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ecart-block h3 {
    font-family: var(--gz-font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--gz-red);
    margin-bottom: 1rem;
}

.ecart-block p {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.5;
}

/* Bloc Sources */
.sources-block {
    border: 1px solid var(--gz-rule);
    padding: 1.5rem 2rem;
    margin-bottom: 3rem;
    background: white;
}

.sources-block h3 {
    font-family: var(--gz-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gz-rule-dark);
}

.sources-block ul {
    list-style: none;
    padding: 0;
}

.sources-block li {
    font-size: 0.95rem;
    padding: 0.375rem 0;
    border-bottom: 1px solid var(--gz-rule);
    color: #555;
}

.sources-block li:last-child {
    border-bottom: none;
}

.sources-block a {
    color: var(--gz-red);
    text-decoration: underline;
}

.sources-block a:hover {
    color: var(--gz-black);
}

.src-type {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gz-red);
    text-transform: uppercase;
    margin-right: 0.5rem;
}

/* Navigation episodes */
.episode-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.episode-nav > br {
    display: none;
}

.episode-nav > span:empty {
    display: block;
}

.episode-nav a {
    display: block;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--gz-rule-dark);
    text-decoration: none;
    color: var(--gz-black);
    transition: all 0.15s ease;
}

.episode-nav a:hover {
    background: var(--gz-black);
    color: var(--gz-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.episode-nav .nav-label {
    display: block;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gz-red);
    margin-bottom: 0.25rem;
}

.episode-nav a:hover .nav-label {
    color: #FFDD00;
}

.episode-nav .nav-title {
    display: block;
    font-family: var(--gz-font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.episode-nav .nav-next {
    text-align: right;
}

/* Responsive Confrontation */
@media (max-width: 600px) {
    .hero-side {
        padding: 16px 8px 12px;
    }

    .hero-side img {
        width: 130px;
        height: 130px;
    }

    .hero-label {
        font-size: 13px;
        padding: 5px 8px 3px;
        letter-spacing: 0.02em;
    }

    .hero-split::after {
        font-size: 18px;
        width: 36px;
        height: 36px;
        border-width: 2px;
    }

    .content-split {
        grid-template-columns: 1fr;
    }

    .content-side--dit {
        border-right: none;
        border-bottom: 1px solid var(--gz-black);
    }

    .content-side--fait {
        border-left: none;
        border-top: 1px solid var(--gz-black);
    }

    .citation-block {
        font-size: 0.95rem;
    }

    .video-section iframe,
    .video-section .wp-block-embed,
    .video-section figure {
        max-width: 100%;
        overflow: hidden;
    }

    .episode-nav {
        grid-template-columns: 1fr;
    }

    .ecart-block {
        padding: 1.5rem;
    }

    .ecart-block p {
        font-size: 1.05rem;
    }
}

/* =============================================
   43. Ez TOC — SOMMAIRE
   ============================================= */

.article-page .ez-toc-container {
    max-width: 100%;
    box-sizing: border-box;
}

.article-page .wp-block-post-content > .ez-toc-container,
.article-page .wp-block-post-content > .ez-toc-wrap-center {
    margin-top: 2rem !important;
}

/* =============================================
   44. FOOTER HEADING GAP
   ============================================= */

.gazette-footer h4 {
    margin-bottom: 0.75rem !important;
}

/* =============================================
   45. DISCOVERY 3-COLUMN GRID
   ============================================= */

/* Discovery 3-column override handled via wp_footer in functions.php */

/* =============================================
   46. GENERIC TABLE STYLES (fallback)
   ============================================= */

.article-page .wp-block-post-content table:not(.data-table) {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem auto;
    font-family: var(--gz-font-body);
    font-size: 0.85rem;
}

.article-page .wp-block-post-content table:not(.data-table) th {
    background: var(--gz-black);
    color: var(--gz-white);
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
}

.article-page .wp-block-post-content table:not(.data-table) td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--gz-rule);
}
