/*
Theme Name: Galeria Opus Démo
Theme URI: https://galeriaopus.app
Author: Benjamin Hincker
Author URI: https://galeriaopus.app
Description: Thème minimaliste pour la démo de Galeria Opus. Aucun style imposé, juste votre contenu.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: galeria-opus-demo
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

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

:root {
    --noir: #1d1d1b;
    --gris: #6b6b6b;
    --gris-cl: #f5f5f3;
    --gris-bd: #e4e4e0;
    --blanc: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--blanc);
    color: var(--noir);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

/* ========== HEADER ========== */
.site-header {
    border-bottom: 1px solid var(--gris-bd);
    padding: 1.5rem 2rem;
    background: rgba(255,255,255,0.82);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: padding .35s cubic-bezier(.16,1,.3,1),
                box-shadow .35s ease,
                background .35s ease;
}

/* État après scroll — header compact + ombre (piloté par animations.js) */
.site-header.scrolled {
    padding: 0.85rem 2rem;
    box-shadow: 0 10px 30px -12px rgba(0,0,0,.18);
    background: rgba(255,255,255,0.92);
}

.site-header.scrolled .site-logo svg { width: 116px; }

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    color: var(--noir);
}

.site-logo svg {
    width: 140px;
    height: auto;
    transition: width .35s cubic-bezier(.16,1,.3,1);
}

.site-logo-text {
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--gris);
    padding-left: 1.5rem;
    border-left: 1px solid var(--gris-bd);
}

.main-nav ul {
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    position: relative;
    color: var(--gris);
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 1.5px;
    background: var(--noir);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s cubic-bezier(.16,1,.3,1);
}

.main-nav a:hover {
    color: var(--noir);
}

.main-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Lien "Démo interactive" mis en avant */
.main-nav a.nav-demo {
    color: var(--noir);
    font-weight: 600;
}
.main-nav a.nav-demo::after {
    transform: scaleX(1);
    transform-origin: left;
    background: var(--noir);
    opacity: .25;
}
.main-nav a.nav-demo:hover::after { opacity: 1; }

/* ========== HERO ========== */
.hero {
    padding: 6rem 2rem;
    background: var(--blanc);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    font-weight: 700;
}

/* Eyebrow badge hero */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: 6px 14px;
    margin-bottom: 1.5rem;
    border-radius: 100px;
    background: var(--gris-cl);
    border: 1px solid var(--gris-bd);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gris);
}
.hero-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 4px rgba(74,222,128,.18);
    animation: demo-pulse 2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
    .hero-eyebrow-dot { animation: none; }
}

.hero p {
    color: var(--gris);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 300;
}

.btn {
    display: inline-block;
    background: var(--noir);
    color: var(--blanc) !important;
    padding: 1rem 2.5rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
}

.btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.hero-image {
    width: 100%;
    height: 400px;
    background: var(--gris-cl);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gris);
    font-size: 13px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== GALERIES ========== */
.galleries {
    padding: 6rem 2rem;
    background: var(--blanc);
    border-top: 1px solid var(--gris-bd);
}

.galleries-content {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(30px, 4.5vw, 42px);
    margin-bottom: 4rem;
    text-align: center;
    letter-spacing: -1px;
    font-weight: 700;
    position: relative;
}
/* trait d'accent animé sous le titre */
.section-title::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    margin: 1.25rem auto 0;
    background: var(--noir);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
}
@media (prefers-reduced-motion: no-preference) {
    .section-title::after {
        animation: gallery-line-grow .7s cubic-bezier(.16,1,.3,1) .25s both;
    }
}
@keyframes gallery-line-grow { to { transform: scaleX(1); } }

.galleries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    counter-reset: gallery;
}

.gallery-card {
    position: relative;
    background: var(--blanc);
    border: 1px solid var(--gris-bd);
    border-radius: 18px;
    overflow: hidden;
    counter-increment: gallery;
    /* survol : ombre + bordure (pas de transform → pas de conflit avec l'entrée) */
    transition: box-shadow .45s cubic-bezier(.16,1,.3,1),
                border-color .45s ease;
}

.gallery-card:hover {
    border-color: var(--noir);
    box-shadow: 0 28px 55px -14px rgba(0,0,0,.26);
}

/* badge numéro 01 / 02 / 03 — glassmorphism */
.gallery-card::before {
    content: counter(gallery, decimal-leading-zero);
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--blanc);
    background: rgba(0,0,0,.42);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    padding: 6px 11px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,.18);
    transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.gallery-card:hover::before { transform: translateY(-3px); }

.gallery-card-image {
    position: relative;
    width: 100%;
    height: 280px;
    background: var(--gris-cl);
    overflow: hidden;
}

/* voile dégradé bas d'image — profondeur, s'éclaircit au survol */
.gallery-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.30) 0%, transparent 45%);
    opacity: .7;
    transition: opacity .45s ease;
    pointer-events: none;
}
.gallery-card:hover .gallery-card-image::after { opacity: .3; }

.gallery-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s cubic-bezier(.16,1,.3,1);
}
.gallery-card:hover .gallery-card-image img { transform: scale(1.07); }

.gallery-card-info {
    padding: 1.75rem 2rem 2rem;
}

.gallery-card-title {
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 0.75rem;
    letter-spacing: -0.3px;
}

.gallery-card-desc {
    color: var(--gris);
    font-size: 13.5px;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.gallery-card-link {
    position: relative;
    color: var(--noir);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}
/* soulignement animé au survol de la carte */
.gallery-card-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 1.5px;
    background: var(--noir);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.gallery-card:hover .gallery-card-link { gap: 0.85rem; }
.gallery-card:hover .gallery-card-link::after { transform: scaleX(1); }

/* entrée échelonnée (opacity + translateY, état de base visible) */
@media (prefers-reduced-motion: no-preference) {
    .gallery-card {
        animation: demo-fade-up .8s cubic-bezier(.16,1,.3,1) both;
    }
    .gallery-card:nth-child(1) { animation-delay: .10s; }
    .gallery-card:nth-child(2) { animation-delay: .22s; }
    .gallery-card:nth-child(3) { animation-delay: .34s; }
}

/* ========== ABOUT ========== */
.about {
    padding: 6rem 2rem;
    background: var(--gris-cl);
    border-top: 1px solid var(--gris-bd);
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about h2 {
    font-size: 36px;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
    font-weight: 700;
}

.about p {
    color: var(--gris);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* ========== FOOTER ========== */
.site-footer {
    background: var(--noir);
    color: var(--blanc);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-col h3 {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 300;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: rgba(255, 255, 255, 0.95);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    flex-wrap: wrap;
    gap: 1rem;
    font-weight: 300;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: rgba(255, 255, 255, 0.95);
}

/* ========== PAGES STANDARD WP ========== */
.page-content,
.post-content,
.entry-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.entry-content > *,
.page-content > * {
    max-width: 100%;
}

/* Blocs Gutenberg pleine largeur */
.wp-block-group,
.wp-block-columns,
.wp-block-cover,
.wp-block-image,
.wp-block-media-text {
    max-width: 100% !important;
    width: 100% !important;
}

/* Retirer les marges auto des blocs */
.wp-block-group__inner-container {
    max-width: 100%;
}

/* Alignments */
.alignwide,
.alignfull {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ========== DEMO BACKOFFICE ========== */
.demo-cta {
    padding: 7rem 2rem;
    background: var(--noir);
    color: var(--blanc);
    position: relative;
    overflow: hidden;
}

.demo-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 85% 20%, rgba(255,255,255,0.07) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 10% 90%, rgba(255,255,255,0.04) 0%, transparent 60%);
    pointer-events: none;
}

.demo-cta-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
}

/* Status badge — pulsed dot like landing */
.demo-status {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .05em;
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.75rem;
}

.demo-status .status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 4px rgba(74,222,128,.18);
    animation: demo-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

.demo-status .status-sep { opacity: .35; }
.demo-status strong { color: var(--blanc); font-weight: 700; font-variant-numeric: tabular-nums; }

@keyframes demo-pulse {
    0%,100% { box-shadow: 0 0 0 4px rgba(74,222,128,.18); }
    50% { box-shadow: 0 0 0 8px rgba(74,222,128,.04); }
}

.demo-cta h2 {
    font-size: 46px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    color: var(--blanc);
}

.demo-cta h2 em {
    font-style: normal;
    color: rgba(255,255,255,0.45);
}

.demo-cta p.demo-sub {
    color: rgba(255,255,255,.55);
    font-size: 15px;
    line-height: 1.7;
    font-weight: 300;
    max-width: 480px;
    margin-bottom: 2rem;
}

/* Credentials — clickable cards */
.demo-creds {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 2rem;
    max-width: 480px;
}

.demo-cred-box {
    position: relative;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
    overflow: hidden;
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.demo-cred-box:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.28);
    transform: translateY(-2px);
}

.demo-cred-box.copied {
    border-color: #4ade80;
    background: rgba(74,222,128,.08);
}

.demo-cred-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    margin-bottom: 6px;
}

.demo-cred-value {
    display: block;
    font-size: 14px;
    font-weight: 600;
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: var(--blanc);
}

.demo-cred-copy {
    position: absolute;
    top: .9rem;
    right: 1rem;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
    transition: color .2s;
}

.demo-cred-box:hover .demo-cred-copy { color: var(--blanc); }
.demo-cred-box.copied .demo-cred-copy { color: #4ade80; }

/* CTA button — pill shape aligned with landing */
.demo-cta .btn-white {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    background: var(--blanc);
    color: var(--noir) !important;
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: transform .2s ease, box-shadow .25s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

.demo-cta .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255,255,255,.18);
}

.demo-cta .btn-white .btn-arrow {
    transition: transform .25s ease;
}

.demo-cta .btn-white:hover .btn-arrow {
    transform: translateX(5px);
}

.demo-note {
    margin-top: 1.25rem;
    font-size: 12px;
    color: rgba(255,255,255,.3);
    font-weight: 400;
}

/* ===== Admin mockup — right column ===== */
.demo-mockup {
    position: relative;
}

.demo-mockup::after {
    /* glow under window */
    content: '';
    position: absolute;
    inset: auto -10% -10% -10%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(124,58,237,.18) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

.mockup-window {
    position: relative;
    background: #fafaf8;
    border-radius: 16px;
    box-shadow:
        0 32px 80px rgba(0,0,0,.45),
        0 12px 24px rgba(0,0,0,.30),
        0 0 0 1px rgba(255,255,255,.08);
    overflow: hidden;
    transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
    transform-origin: center;
    z-index: 1;
}

.mockup-bar {
    background: #ecece8;
    padding: 11px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #ddddd5;
}

.mock-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.mock-dot-r { background: #ff5f57; }
.mock-dot-y { background: #febc2e; }
.mock-dot-g { background: #28c840; }

.mockup-url {
    flex: 1;
    text-align: center;
    font-size: 10px;
    color: #888;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    letter-spacing: .02em;
    background: var(--blanc);
    border-radius: 5px;
    padding: 3px 10px;
    margin: 0 60px 0 12px;
}

.mockup-body {
    display: grid;
    grid-template-columns: 130px 1fr;
    min-height: 300px;
}

.mockup-sidebar {
    background: #1d2327;
    padding: 14px 8px;
}

.mock-nav {
    color: rgba(255,255,255,.55);
    font-size: 11px;
    padding: 8px 10px;
    border-radius: 6px;
    margin-bottom: 4px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: .02em;
}

.mock-nav-ico {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: currentColor;
    opacity: .5;
    flex-shrink: 0;
}

.mock-nav-active {
    background: rgba(124,58,237,.22);
    color: var(--blanc);
}

.mock-nav-active .mock-nav-ico {
    opacity: 1;
    background: #a78bfa;
}

.mockup-main {
    padding: 20px 24px;
}

.mockup-h {
    font-size: 17px;
    font-weight: 700;
    color: var(--noir);
    margin-bottom: 16px;
    letter-spacing: -.3px;
}

.mockup-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--blanc);
    border: 1px solid #e4e4e0;
    border-radius: 8px;
    padding: 8px 12px 8px 8px;
    margin-bottom: 6px;
}

.mock-thumb {
    width: 28px;
    height: 28px;
    border-radius: 5px;
    background: linear-gradient(135deg, #d4d4cf, #f0f0eb);
    flex-shrink: 0;
}

.mock-line {
    flex: 1;
    height: 8px;
    background: var(--gris-cl);
    border-radius: 4px;
}

.mock-pill {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 100px;
}

.mock-pill-ok { background: #dcfce7; color: #15803d; }
.mock-pill-wait { background: #fef3c7; color: #a16207; }

/* ===== Entrance animations ===== */
/* Section démo : pilotée par GSAP/ScrollTrigger (animations.js).
   États de base laissés visibles : si le JS est bloqué (cache/CF), rien ne disparaît. */

@keyframes demo-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes demo-fade-up-mockup {
    from { opacity: 0; transform: perspective(1400px) rotateY(-7deg) rotateX(3deg) translateY(20px); }
    to   { opacity: 1; transform: perspective(1400px) rotateY(-7deg) rotateX(3deg) translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .demo-status .status-dot { animation: none; }
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
    .demo-cta-content {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    .demo-cta h2 { font-size: 34px; }
    .demo-text .demo-status,
    .demo-text .demo-sub { margin-left: auto; margin-right: auto; }
    .demo-creds { margin-left: auto; margin-right: auto; }
    .demo-mockup { max-width: 480px; margin: 0 auto; }
    .mockup-window { transform: none; }
    /* Sur mobile : entrée plate (la keyframe perspective ne doit pas re-tilter) */
    @media (prefers-reduced-motion: no-preference) {
        .demo-cta .mockup-window { animation-name: demo-fade-up; }
    }
}

@media (max-width: 500px) {
    .demo-cta { padding: 4.5rem 1.25rem; }
    .demo-cta h2 { font-size: 28px; }
    .demo-creds { grid-template-columns: 1fr; }
    .mockup-body { min-height: 240px; }
    .mockup-sidebar { padding: 10px 6px; }
    .mock-nav { font-size: 10px; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .site-logo svg {
        width: 100px;
    }

    .site-logo {
        gap: 1rem;
    }

    .site-logo-text {
        padding-left: 1rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 28px;
    }

    .section-title,
    .about h2 {
        font-size: 28px;
    }

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

    .main-nav ul {
        gap: 1.5rem;
    }
}

/* ========== BLOCS GUTENBERG - PLEINE LARGEUR ========== */
.entry-content > *,
.entry-content .wp-block {
    max-width: 100% !important;
    width: 100% !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

.entry-content {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

.wp-block-group,
.wp-block-columns,
.wp-block-cover,
.wp-block-image,
.wp-block-html {
    max-width: 100% !important;
    width: 100% !important;
    margin-top: 0 !important;
}

/* ========== LANG SWITCHER ========== */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.lang-switcher a {
    color: var(--color-text, #1d1d1b);
    text-decoration: none;
    opacity: 0.4;
    transition: opacity 0.2s;
}
.lang-switcher a:hover,
.lang-switcher a.active {
    opacity: 1;
}
.lang-switcher span {
    opacity: 0.25;
}
