/*
Theme Name: Viculinary
Theme URI: https://viculinary.com
Author: Antigravity
Author URI: https://viculinary.com
Description: Custom Premium Minimal Editorial Theme
Version: 1.1
Text Domain: viculinary
*/

/* Core Design System & Variables */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #e8e4db;
    --accent-color: #a88d5f; 
    --text-color: #333333;
    --bg-color: #fdfbf7;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --spacing-sm: 1.5rem;
    --spacing-md: 3rem;
    --spacing-lg: 6rem;
    --spacing-xl: 10rem;
    
    /* Fluid Typography */
    --h1-size: clamp(3rem, 8vw, 6.5rem);
    --h2-size: clamp(2.5rem, 6vw, 4.5rem);
    --h3-size: clamp(1.8rem, 4vw, 3rem);
    --h4-size: clamp(1.3rem, 2vw, 1.8rem);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.7;
    font-size: 16px;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 { font-size: var(--h1-size); }
h2 { font-size: var(--h2-size); }
h3 { font-size: var(--h3-size); }
h4 { font-size: var(--h4-size); }

p {
    text-align: justify;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -ms-hyphens: none !important;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Header & Navigation */
.site-header {
    padding: 1.2rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.site-header.is-scrolled {
    background-color: rgba(253, 251, 247, 0.98);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--primary-color);
}
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}
.main-nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: var(--primary-color);
    position: relative;
}
.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.main-nav a:hover::after,
.main-nav li.current-menu-item a::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.main-nav li {
    position: relative;
}
.main-nav ul.sub-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(253, 251, 247, 0.98);
    min-width: 250px;
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    gap: 0;
    z-index: 1000;
    border: 1px solid rgba(0,0,0,0.05);
}
.main-nav li:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.main-nav ul.sub-menu li {
    width: 100%;
}
.main-nav ul.sub-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    font-size: 0.75rem;
    color: var(--primary-color);
}
.main-nav ul.sub-menu a::after {
    display: none;
}
.main-nav ul.sub-menu a:hover {
    background-color: rgba(0,0,0,0.03);
    color: var(--accent-color);
}

/* Layout */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    background: transparent;
    z-index: 1000;
    transition: background 0.3s ease, padding 0.3s ease;
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem 0;
    box-shadow: 0 1px 10px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.main-nav a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
}
.main-nav a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}
.hero-section::before {
    content: '';
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.4);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    text-align: center;
    margin: 0 auto;
}
.hero-title {
    font-size: 5rem;
    margin-bottom: 2rem;
    color: #fff;
}
.hero-subtitle {
    font-size: 1.2rem;
    font-family: var(--font-body);
    font-weight: 300;
    margin-bottom: 2rem;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--spacing-md);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Service Cards */
.services-overview {
    background-color: var(--bg-color);
}
.service-card {
    display: flex;
    flex-direction: column;
}
.service-img-wrapper {
    overflow: hidden;
    margin-bottom: 2rem;
    height: 400px;
}
.service-img-wrapper img {
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease;
}
.service-card:hover .service-img-wrapper img {
    transform: scale(1.05);
}
.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.service-card p {
    font-size: 1rem;
    color: #666;
    flex-grow: 1;
}

/* Split Content */
.split-content {
    align-items: flex-start; /* Changed from center to fix offset */
    gap: var(--spacing-lg);
}
.split-text h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}
.split-text h4 {
    font-size: 1.4rem;
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--accent-color);
    margin-top: 2rem;
}
.split-image {
    width: 100%;
}
.split-image img {
    width: 100%;
}

/* Filmstrip Gallery */
.filmstrip-gallery {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 2rem 0;
    margin: 4rem 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}
.filmstrip-gallery::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}
.filmstrip-gallery img {
    height: 450px;
    width: auto;
    max-width: 90vw;
    object-fit: contain;
    scroll-snap-align: center;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    background-color: #fff; /* In case of transparent PNGs */
}

@media (max-width: 768px) {
    .filmstrip-gallery {
        flex-direction: column;
        overflow-x: visible;
        align-items: center;
        gap: 4rem;
        scroll-snap-type: none;
    }
    .filmstrip-gallery img {
        height: auto;
        width: 100%;
        max-width: 100%;
    }
}

/* Contact Form 7 Premium Styles */
.wpcf7 {
    width: 100%;
}
.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 1.5rem;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    padding: 1rem 0;
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-color);
    transition: border-color 0.3s ease;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}
.wpcf7 textarea {
    min-height: 120px;
    resize: vertical;
}
.wpcf7-submit {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: transparent;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    border: 1px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 1rem;
}
.wpcf7-submit:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
}
.wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: block;
}
div.wpcf7-response-output {
    margin: 2rem 0 0 !important;
    padding: 1rem !important;
    border: 1px solid var(--primary-color) !important;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: transparent;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    border: 1px solid var(--primary-color);
    cursor: pointer;
}
.btn:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
}
.btn-light {
    border-color: #fff;
    color: #fff;
}
.btn-light:hover {
    background-color: #fff;
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    color: #fff;
    text-align: center;
}
.cta-section h2 {
    color: #fff;
    font-size: 4rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Footer */
.site-footer {
    padding: var(--spacing-lg) 0 3rem;
    border-top: 1px solid #eee;
    text-align: center;
}
.footer-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    will-change: transform, opacity;
}

/* Mobile Menu & Hamburger */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}
.menu-toggle .line {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
}
.menu-toggle.active .line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active .line:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active .line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Responsive Overrides */
@media (max-width: 900px) {
    /* Layout */
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .split-content {
        gap: 3rem;
    }
    .split-content .split-image {
        order: -1; /* Always put image on top on mobile */
    }
    
    .section {
        padding: 4rem 0;
    }
    
    /* Specific overrides for update_pages_html.php inline styles */
    .split-content[style] {
        margin-top: 4rem !important; /* Overrides the massive 8rem/10rem margins */
    }
    .section[style] {
        margin-top: 4rem !important;
    }

    /* Typography */
    h2, .split-text h2, .hero-title, .cta-section h2, .footer-title {
        font-size: 2.5rem;
    }
    h3, .split-text h4 {
        font-size: 1.5rem;
    }

    /* Mobile Menu Overlay */
    .menu-toggle {
        display: block !important;
        z-index: 1100;
        position: relative;
        padding: 8px;
    }
    .menu-toggle .line {
        width: 22px;
        height: 1.5px;
        background-color: var(--primary-color) !important;
        margin: 4px auto;
    }
    .site-logo img {
        max-height: 45px !important;
    }
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        z-index: 999;
    }
    .main-nav.active {
        opacity: 1;
        visibility: visible;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .main-nav a {
        font-size: 1.5rem;
        font-weight: 600;
    }

    /* Mobile Sub-menu (dropdown) */
    .main-nav ul.sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        box-shadow: none;
        border: none;
        min-width: unset;
        padding: 0.5rem 0 0;
        gap: 0.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .main-nav ul.sub-menu a {
        font-size: 1rem;
        font-weight: 400;
        padding: 0.3rem 0;
        color: #666;
    }
    .main-nav ul.sub-menu a:hover {
        background: transparent;
    }
}
/* =========================================================================
   SERVICE PAGE — Premium Editorial Design (FB Studio Paris-inspired)
   ========================================================================= */

/* Page wrapper */
.vi-service-page {
    background: #fff;
    overflow-x: hidden;
}

/* ---------- 1. HERO ---------- */
.vi-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a1a1a;
}
.vi-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.35) 0%,
        rgba(0,0,0,0.55) 100%
    );
    z-index: 1;
}
.vi-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    animation: viHeroFade 1.2s ease-out both;
}
@keyframes viHeroFade {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.vi-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}
.vi-hero__tagline {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto;
}

/* ---------- 2. INTRO ---------- */
.vi-intro {
    padding: 8rem 0;
    background: #fff;
}
.vi-intro__inner {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 2rem;
    font-size: 1.15rem;
    line-height: 2;
    color: #333;
    text-align: center;
}
.vi-intro__inner p {
    margin-bottom: 1.8rem;
}
/* Hide ALL old leftover HTML from the WordPress editor content */
.vi-intro__inner img,
.vi-intro__inner .hero-section,
.vi-intro__inner .hero-title,
.vi-intro__inner .filmstrip-gallery,
.vi-intro__inner .split-content,
.vi-intro__inner .split-text,
.vi-intro__inner .split-image,
.vi-intro__inner .grid,
.vi-intro__inner .btn,
.vi-intro__inner .service-card,
.vi-intro__inner .cta-section,
.vi-intro__inner section,
.vi-intro__inner figure,
.vi-intro__inner .wp-block-image,
.vi-intro__inner h1,
.vi-intro__inner h2,
.vi-intro__inner h3,
.vi-intro__inner h4 {
    display: none !important;
}

/* ==========================================================================
   PREMIUM REDESIGN UTILITIES & ANIMATIONS
   ========================================================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Image hover zoom */
.hover-zoom-wrap {
    overflow: hidden;
}
.hover-zoom-wrap img {
    transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hover-zoom-wrap:hover img {
    transform: scale(1.05);
}

/* Button Refinements */
.vi-btn {
    position: relative;
    z-index: 1;
    display: inline-block;
    background-color: transparent;
    transition: all 0.4s ease;
}
.vi-btn:hover {
    color: #fff !important;
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
}

/* ---------- 3. GALLERY ---------- */
.vi-gallery {
    padding: 6rem 0 8rem;
    background: #f0ebe4; /* warm beige like FB Studio */
}
.vi-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}
.vi-gallery__img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    border-radius: 0;
}
.vi-gallery__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.vi-gallery__item:hover .vi-gallery__img-wrap img {
    transform: scale(1.05);
}

/* ---------- 4. SPLIT ---------- */
.vi-split {
    padding: 10rem 0;
    background: #fff;
}
.vi-split__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
}
.vi-split__image img {
    width: 100%;
    height: auto;
    max-height: 75vh;
    object-fit: cover;
}
.vi-split__heading {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}
.vi-split__desc {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 3rem;
}

/* ---------- BUTTON ---------- */
.vi-btn {
    display: inline-block;
    padding: 1.1rem 2.8rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    background: #111;
    border: 1px solid #111;
    transition: all 0.4s ease;
    cursor: pointer;
}
.vi-btn:hover {
    background: transparent;
    color: #111;
}
.vi-btn--light {
    background: #fff;
    color: #111;
    border-color: #fff;
}
.vi-btn--light:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

/* ---------- 5. CTA ---------- */
.vi-cta {
    padding: 8rem 0;
    background: #111;
    text-align: center;
}
.vi-cta__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: #fff;
    margin-bottom: 3rem;
    line-height: 1.2;
}

/* ---------- ANIMATIONS ---------- */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: viFadeUp 0.9s ease-out forwards;
}
@keyframes viFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
    /* Base typography & spacing */
    :root {
        --h1-size: clamp(2.5rem, 6vw, 3.5rem);
        --h2-size: clamp(2rem, 5vw, 2.5rem);
        --h3-size: clamp(1.5rem, 4vw, 2rem);
        --spacing-md: 2rem;
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .container {
        padding: 0 1.5rem !important;
    }

    /* About page specific */
    .vi-hero { min-height: 70vh; }
    .vi-gallery__grid { grid-template-columns: 1fr; gap: 2rem; }
    .vi-gallery__img-wrap { aspect-ratio: 16/10; }
    .vi-split__grid { grid-template-columns: 1fr; gap: 3rem; }
    .vi-split__image { order: -1; }
    .vi-intro, .vi-split, .vi-cta { padding: 4rem 0; }

    /* Mobile Menu Toggle Button (Hamburger) */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }
    .menu-toggle .line {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--primary-color);
        transition: all 0.3s ease;
    }
    .menu-toggle.active .line:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.active .line:nth-child(2) { opacity: 0; }
    .menu-toggle.active .line:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    /* Mobile Navigation Dropdown */
    .main-nav {
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        background-color: rgba(253, 251, 247, 0.98);
        backdrop-filter: blur(15px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
        z-index: 999;
    }
    .main-nav.active {
        opacity: 1;
        pointer-events: auto;
    }
    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .main-nav a { font-size: 1.5rem; }

    /* Service Pages & Inline Flex fixes to prevent text overlap */
    div[style*="display: flex"]:not(.header-inner):not(.site-logo) {
        flex-direction: column !important;
        gap: 2rem !important;
    }
    div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Remove sticky position on mobile so text doesn't overlap on scroll */
    div[style*="position: sticky"] {
        position: relative !important;
        top: auto !important;
        margin-bottom: 1rem;
    }
    
    /* Remove staggered margins */
    .hover-zoom-wrap { margin-top: 0 !important; }
    
    /* Optimize performance / lag by reducing animations */
    .animate-on-scroll { transition: opacity 0.5s ease, transform 0.5s ease; }
    .hover-zoom-wrap:hover img { transform: none !important; }

    /* Fix excessive inline white space on mobile */
    .section[style*="padding"] {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    .editorial-block[style*="margin"] {
        margin-bottom: 2rem !important;
    }
    
    /* Fix flex-basis becoming height in column flex and causing massive vertical gaps */
    div[style*="flex: 1 1"] {
        flex: none !important;
        width: 100% !important;
    }
}

