/*
Theme Name: GeneratePress Child
Theme URI: https://example.com/
Description: Child theme for GeneratePress
Author: Joey
Template: generatepress
Version: 1.0.0
*/
.page-header,
.sidebar .widget,
.site-main>* {
    margin-bottom: 0 !important;
}

/* =========================
   ABOUT
========================= */
.meridian-about {
    padding: 110px 20px;
    background:
        radial-gradient(circle at var(--bg-x, 20%) var(--bg-y, 10%), rgba(255, 83, 0, .35), transparent 55%),
        linear-gradient(180deg, #050607 0%, #070707 100%);
    /* Smooth transition for scroll/parallax updates */
    transition: background-position 0.2s ease-out;
    position: relative;
    overflow: hidden;
}

.meridian-about-inner {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.meridian-about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.meridian-about-media {
    position: relative;
    margin: 0;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .75);
    background: #000;
    min-height: 520px;
}

.meridian-about-media img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    display: block;
    filter: contrast(1.05) saturate(0.9);
    transform: scale(1.02);
}

.meridian-about-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .75) 100%),
        radial-gradient(circle at 30% 25%, rgba(255, 83, 0, .18), transparent 55%);
    pointer-events: none;
}

.meridian-about-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 2;
    padding: 14px 14px;
    border-radius: 16px;
    background: rgba(0, 0, 0, .66);
    border: 1px solid rgba(255, 255, 255, .10);
    backdrop-filter: blur(6px);
}

.meridian-about-badge__top {
    display: block;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .72);
    margin-bottom: 4px;
}

.meridian-about-badge__name {
    display: block;
    font-weight: 800;
    letter-spacing: .02em;
    color: #fff;
}

.meridian-about-copy {
    color: rgba(255, 255, 255, .92);
}

.meridian-kicker {
    display: inline-block;
    margin: 0 0 12px;
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .70);
}

.meridian-about-title {
    margin: 0 0 14px;
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1.12;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 900;
}

.meridian-about-title span {
    color: var(--meridian-orange);
}

.meridian-about-lead {
    margin: 0 0 22px;
    line-height: 1.75;
    color: rgba(255, 255, 255, .85);
    max-width: 62ch;
}

.meridian-about-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 22px;
}

.meridian-about-fact {
    border-radius: 16px;
    padding: 14px 14px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
}

.meridian-about-fact__label {
    display: block;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .62);
}

.meridian-about-fact__value {
    display: block;
    margin-top: 6px;
    font-weight: 700;
    color: rgba(255, 255, 255, .92);
}

.meridian-about-more {
    margin: 10px 0 22px;
    border-radius: 16px;
    background: rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .08);
    overflow: hidden;
}

.meridian-about-more summary {
    cursor: pointer;
    padding: 14px 14px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 12px;
    color: rgba(255, 255, 255, .92);
    list-style: none;
}

.meridian-about-more summary::-webkit-details-marker {
    display: none;
}

.meridian-about-more__body {
    padding: 0 14px 14px;
    color: rgba(255, 255, 255, .82);
    line-height: 1.75;
}

.meridian-about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

@media (max-width: 980px) {
    .meridian-about-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .meridian-about-media,
    .meridian-about-media img {
        min-height: 420px;
    }

    .meridian-about-facts {
        grid-template-columns: 1fr;
    }
}


/* --- NEW MERIDIAN STAFF SECTION STYLES (Added 2026-01-08) --- */
:root {
    --bg-dark: #0a0a0a;
    --text-white: #ffffff;
    --text-muted: #a0a0a0;
    --accent-orange: #ff5722;
    /* Use site defaults instead of custom fonts */
    --font-heading: inherit;
    --font-body: inherit;
}

/* Scoped Container to avoid affecting global theme */
.meridian-staff-wrapper {
    background-color: var(--bg-dark);
    font-family: var(--font-body);
    color: var(--text-white);
    -webkit-font-smoothing: antialiased;
}

.meridian-staff-wrapper * {
    box-sizing: border-box;
}

/* --- Main Section --- */
.meridian-staff {
    padding: 80px 20px;
    background: var(--bg-dark);
}

.meridian-staff-inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Header --- */
.meridian-staff-head {
    text-align: center;
    margin-bottom: 60px;
}

.meridian-kicker {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-orange);
    margin: 0 0 10px 0;
    font-weight: 600;
}

.meridian-staff-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    line-height: 1;
    color: var(--text-white);
}

.meridian-staff-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Section Dividers --- */
.meridian-section-header {
    margin: 60px 0 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #222;
}

.meridian-section-label {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-size: 1.8rem;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 1px;
}

/* --- Grid --- */
.meridian-staff-grid {
    display: grid;
    /* Force 3 columns on large screens */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- Card --- */
.meridian-staff-card {
    position: relative;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    /* SAFESET: Safety Floor Strategy */
    aspect-ratio: auto !important;
    height: auto !important;
    min-height: 500px !important;
    max-height: none !important;
    isolation: isolate;
    /* Create new stacking context */
}

/* --- Media / Background Image --- */
.meridian-staff-media {
    position: relative; /* Changed from absolute to allow flow */
    width: 100%;
    /* SAFESET: Ensure height acts dynamically with floor */
    height: auto !important;
    min-height: 500px !important;
    max-height: none !important;
    background: #000;
    display: grid; /* Grid container for overlap */
    z-index: 1;
}

/* Force Aspect Ratio via Pseudo */
.meridian-staff-media::before {
    content: "";
    display: block;
    width: 100%;
    padding-bottom: 125%;
    /* 4:5 Aspect Ratio */
    grid-area: 1 / 1;
    pointer-events: none;
}

.meridian-staff-media img {
    position: absolute; /* Needed now that parent is relative/grid */
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; /* FIX: Align to top so heads aren't cut off */
    /* Start B&W */
    filter: grayscale(100%) contrast(1.1) brightness(0.9);
    transition: filter 0.5s ease, transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center 30%;
    /* Zoom slightly from top-center */
    z-index: 0; /* Ensure below content */
}

/* Hover: Color & Slight Zoom */
.meridian-staff-card:hover .meridian-staff-media img {
    filter: grayscale(0%) contrast(1.1) brightness(1);
    transform: scale(1.05);
    /* Subtle zoom */
}

/* --- Overlay Gradient --- */
.meridian-staff-overlay {
    position: absolute;
    inset: 0;
    /* Base gradient - DARKENED for readability */
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 1) 0%, 
        rgba(0, 0, 0, 0.9) 30%, 
        rgba(0, 0, 0, 0.6) 60%, 
        transparent 100%);
    z-index: 2;
    transition: opacity 0.3s ease;
}

/* IMPACT ANIMATION: Dark Curtain Slide Down */
/* We use a pseudo-element to slide down a dark overlay when bio is open */
.meridian-staff-media::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    /* Start hidden at top */
    background: rgba(0, 0, 0, 0.85);
    /* Dark black overlay */
    z-index: 3;
    /* Above the standard overlay */
    transition: height 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Trigger curtain when details are open */
.meridian-staff-card:has(details[open]) .meridian-staff-media::after {
    height: 100%;
    width: 120% !important; /* Force wider than container */
    left: -10% !important; /* Center the oversized curtain */
    background: rgba(0, 0, 0, 0.98) !important;
    opacity: 1 !important;
}

/* FIX: When open, stop zooming the image ensuring it fits under the curtain */
.meridian-staff-card:has(details[open]) .meridian-staff-media img {
    transform: none !important;
    object-position: top center !important; /* Force heads visible */
}

/* --- Badge (Top Left) --- */
.meridian-staff-topline {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 5;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.meridian-staff-role {
    background: var(--accent-orange);
    color: white;
    padding: 6px 12px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* SMART INTERACTION: Hide Role when Bio Open */
/* SMART INTERACTION: Hide Role when Bio Open - GLOBAL FIX */
.meridian-staff-card:has(details[open]) .meridian-staff-topline {
    display: none !important;
}

/* --- Content Container (Name + Hidden Body) --- */
/* This container sits at the bottom and holds everything text-related */
.meridian-staff-nameblock {
    position: relative; /* Changed from absolute */
    grid-area: 1 / 1; /* Overlap with spacer */
    align-self: end; /* Bottom align by default */
    width: 100%;
    padding: 25px;
    z-index: 10;
    transform: translateY(0);
    /* Start in place */
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    /* LOCAL SHACK: Ensure text is readable even if overlay fails */
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 60%, transparent 100%) !important;
}

/* Moves the name block UP to make room for the body */
/* Moves the name block UP to make room for the body */
.meridian-staff-name {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    /* Slightly smaller to prevent wrap */
    margin: 0;
    text-transform: uppercase;
    color: white;
    line-height: 1;
    margin-bottom: 5px;
    /* MAX CONTRAST SHADOW */
    text-shadow: 0 2px 4px rgba(0,0,0,1), 0 4px 12px rgba(0,0,0,0.9) !important;
    transition: opacity 0.3s ease, height 0.3s ease;
}

/* SMART INTERACTION: Hide Name when Bio Open */
/* SMART INTERACTION: Hide Name when Bio Open - GLOBAL FIX */
.meridian-staff-card:has(details[open]) .meridian-staff-name {
    display: none !important;
}

.meridian-staff-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #eee; /* Brighter grey */
    margin: 0 0 15px 0;
    display: block;
    font-weight: 500; /* Bolder */
    text-shadow: 0 2px 4px rgba(0,0,0,0.9);
    transition: opacity 0.3s ease, height 0.3s ease;
}

/* SMART INTERACTION: Hide Tag when Bio Open - GLOBAL FIX */
.meridian-staff-card:has(details[open]) .meridian-staff-tag {
    display: none !important;
}

/* --- The Reveal (Body) --- */
.meridian-staff-body {
    /* Initially hidden */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.4s ease;
    padding: 0;
}

/* Hover State: Slide Up / Reveal */
.meridian-staff-card:hover .meridian-staff-body,
.meridian-staff-card:has(details[open]) .meridian-staff-body {
    max-height: 2000px;
    /* Increased to allow full bio */
    opacity: 1;
    margin-top: 10px;
}

/* Because the parent (.meridian-staff-nameblock) is positioned absolute bottom,
   expanding a child inside it will push the TOP of the parent UPWARDS.
   This creates the "Slide Up" effect naturally. */

.meridian-staff-blurb {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ccc;
    margin-bottom: 15px;
    display: block;
    /* Smooth hide transition */
    transition: opacity 0.3s ease, height 0.3s ease;
}

/* SMART INTERACTION: When Details Open -> Hide Blurb */
/* This effectively 'swaps' the short blurb for the long bio */
/* SMART INTERACTION: When Details Open -> Hide Blurb - GLOBAL FIX */
.meridian-staff-body:has(details[open]) .meridian-staff-blurb {
    display: none !important;
}

/* Details/Summary cleanup inside the slide */
.meridian-staff-more {
    margin-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.meridian-staff-more summary {
    color: var(--accent-orange);
    font-size: 1.15rem;
    /* Increased size (~25% bigger) */
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    list-style: none;
    transition: all 0.2s ease;
    position: relative;
    /* Ensure z-index works if needed */
    z-index: 20;
    display: inline-block;
    /* Keep it standard flow */
}

.meridian-staff-more summary:hover {
    color: white;
    text-shadow: 0 0 8px var(--accent-orange);
}

.meridian-staff-more summary::-webkit-details-marker {
    display: none;
}

/* Animated Open/Close Indicator */
.meridian-staff-more summary::after {
    content: 'READ BIO +';
    /* Removed float: right to keep alignment consistent */
}

.meridian-staff-more[open] summary::after {
    content: 'CLOSE -';
    color: #ddd;
    /* Use lighter color on dark overlay */
}

/* Bio Body - Increased Size & Animation */
.meridian-staff-more__body {
    font-size: 1.1rem;
    /* Increased by ~20% (from 0.9rem) */
    margin-top: 15px;
    color: #fff;
    /* Brighter white for contrast against dark curtain */
    animation: slideDown 0.5s ease forwards;
    line-height: 1.6;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.meridian-staff-more__body p {
    margin-bottom: 12px;
}

/* Actions */
.meridian-staff-actions {
    display: flex;
    /* keep flex, but stack on smaller if needed */
    flex-direction: column;
    /* Stack them to fix overflow issue requested by user */
    gap: 10px;
    margin-top: 15px;
}

/* SCOPED BUTTONS TO FIX REGRESSION */
.meridian-staff-actions .meridian-btn-orange,
.meridian-staff-actions .meridian-btn-outline {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 10px;
    font-size: 0.85rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.2s;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-weight: 600;
}

.meridian-staff-actions .meridian-btn-orange {
    background: var(--accent-orange);
    color: white;
    border: 1px solid var(--accent-orange);
}

.meridian-staff-actions .meridian-btn-orange:hover {
    background: rgb(255, 87, 34);
    box-shadow: 0 0 15px rgba(255, 87, 34, 0.5);
    transform: scale(1.02);
}

.meridian-staff-actions .meridian-btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.meridian-staff-actions .meridian-btn-outline:hover {
    background: white;
    color: black;
    transform: scale(1.02);
}

/* --- GLOBAL EXPANSION FIX (Applied to all screens) --- */
/* @media (max-width: 768px) REMOVED */
    /* FLEX COLUMN STACK: The most robust way to force height */
    .meridian-staff-card:has(details[open]) {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        min-height: 500px !important;
        position: relative !important;
        z-index: 100 !important;
        overflow: visible !important;
        margin-bottom: 0 !important;
    }

    /* 1. IMAGE HEADER (Fixed Height) */
    .meridian-staff-card:has(details[open]) .meridian-staff-media {
        position: relative !important;
        width: 100% !important;
        height: 500px !important;
        flex: 0 0 500px !important; /* Rigid height */
        order: 1;
        z-index: 1;
    }

    /* 2. CONTENT BLOCK (Flowing) */
    /* When expanded, we now only show the Bio, so we don't need a huge negative margin
       to clear the Name. We just want the 'Close' button to sit nicely. */
    .meridian-staff-card:has(details[open]) .meridian-staff-nameblock {
        position: relative !important;
        order: 2;
        height: auto !important;
        margin-top: -60px !important; /* Slight overlap for the button area */
        padding-top: 20px !important;
        background: linear-gradient(to bottom, transparent, #000 40px, #000 100%) !important;
        z-index: 10 !important;
    }

    /* HIDE METADATA when expanded (Requested by User) */
    .meridian-staff-card:has(details[open]) .meridian-staff-name,
    .meridian-staff-card:has(details[open]) .meridian-staff-role,
    .meridian-staff-card:has(details[open]) .meridian-staff-tag,
    .meridian-staff-card:has(details[open]) .meridian-staff-blurb,
    .meridian-staff-card:has(details[open]) .meridian-staff-topline {
        display: none !important;
    }

    /* Reset Body to ensure it takes up space */
    .meridian-staff-card:has(details[open]) .meridian-staff-body {
        position: relative !important;
        height: auto !important;
        max-height: none !important;
        opacity: 1 !important;
        overflow: visible !important;
        margin-bottom: 20px;
        font-size: 0.85rem !important; /* Reduced font size as requested */
        line-height: 1.5 !important;
    }
    
    /* Ensure the 'Close' button is visible and styled */
    .meridian-staff-card:has(details[open]) summary {
        position: relative !important;
        z-index: 20 !important;
        margin-bottom: 10px !important;
        text-align: left !important;
        display: block !important;
    }

    /* Ensure card itself doesn't clip */
    .meridian-staff-card:has(details[open]) {
        overflow: visible !important;
    }
/* } End Media Query Removed */

/* --- Responsive --- */
@media (max-width: 1024px) {
    .meridian-staff-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cols tablet */
    }
}

@media (max-width: 600px) {
    .meridian-staff-grid {
        grid-template-columns: 1fr;
        /* 1 col mobile */
    }

    .meridian-staff-title {
        font-size: 2.5rem;
    }
}

/* --- ANIMATION UTILS (Added 2026-01-08) --- */
.meridian-reveal {
    opacity: 0;
    transform: translateY(50px);
    /* Increased distance for more drama */
    /* Slower, dramatic ease */
    transition: opacity 1.5s cubic-bezier(0.19, 1, 0.22, 1), transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: opacity, transform;
}

.meridian-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delays - Slower Pacing */
.delay-100 {
    transition-delay: 0.2s;
}

.delay-200 {
    transition-delay: 0.4s;
}

.delay-300 {
    transition-delay: 0.6s;
}

.delay-400 {
    transition-delay: 0.8s;
}

.delay-500 {
    transition-delay: 1.0s;
}
/* --- WPForms Customization (Added 2026-01-08) --- */
/* Force full width and consistent styling */
.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container input[type="url"],
.wpforms-container textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: #fff !important;
    font-family: inherit !important;
    margin-bottom: 0 !important; /* WPForms adds margin bottom usually, we control it via field container */
}

/* Field Container Spacing */
.wpforms-field {
    margin-bottom: 20px !important;
}

/* Fix First/Last Name Layout */
.wpforms-field-name-row {
    display: flex !important;
    gap: 20px !important;
    width: 100% !important;
}

.wpforms-field-name-row-first,
.wpforms-field-name-row-last {
    flex: 1 !important;
    width: 50% !important;
    float: none !important; /* Override WPForms floats */
    display: block !important;
}

/* Submit Button Alignment */
.wpforms-submit-container {
    padding-top: 10px;
}


/* --- Footer Redesign (Added 2026-01-08) --- */

.meridian-footer {
    background-color: #0A0A0A;
    color: #ffffff;
    padding: 80px 20px 40px;
    font-family: var(--font-body, sans-serif);
    border-top: 1px solid #222;
}

.meridian-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center; /* Center align items as per image */
    flex-wrap: wrap;
    gap: 40px;
    text-align: center;
    padding-bottom: 60px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

/* Brand Column */
.footer-logo {
    max-width: 120px; /* Adjusted size based on image */
    height: auto;
    margin-bottom: 15px;
}

.footer-tagline {
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
    font-family: var(--font-heading, sans-serif); /* Use heading font for tagline "FITNESS" part usually */
    margin: 0;
    line-height: 1.4;
}

/* Contact Column */
.footer-contact h4 {
    display: none; /* Hidden in design provided, keeping structure if needed later */
}

.footer-phone {
    display: block;
    font-size: 2rem; /* Large phone number */
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.footer-phone:hover {
    color: var(--accent-orange, #ff5722);
}

.call-text {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0px;
}

.footer-address {
    display: none; /* Hide address for now to match exactly the image provided which only had Phone + Call/Text */
}

/* Social Column */
.footer-social .footer-heading {
    display: none;
}
/*
Theme Name: GeneratePress Child
Theme URI: https://example.com/
Description: Child theme for GeneratePress
Author: Joey
Template: generatepress
Version: 1.0.0
*/
.page-header,
.sidebar .widget,
.site-main>* {
    margin-bottom: 0 !important;
}

/* =========================
   ABOUT
========================= */
.meridian-about {
    padding: 110px 20px;
    background:
        radial-gradient(circle at var(--bg-x, 20%) var(--bg-y, 10%), rgba(255, 83, 0, .35), transparent 55%),
        linear-gradient(180deg, #050607 0%, #070707 100%);
    /* Smooth transition for scroll/parallax updates */
    transition: background-position 0.2s ease-out;
    position: relative;
    overflow: hidden;
}

.meridian-about-inner {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.meridian-about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.meridian-about-media {
    position: relative;
    margin: 0;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .75);
    background: #000;
    min-height: 520px;
}

.meridian-about-media img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    display: block;
    filter: contrast(1.05) saturate(0.9);
    transform: scale(1.02);
}

.meridian-about-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .75) 100%),
        radial-gradient(circle at 30% 25%, rgba(255, 83, 0, .18), transparent 55%);
    pointer-events: none;
}

.meridian-about-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 2;
    padding: 14px 14px;
    border-radius: 16px;
    background: rgba(0, 0, 0, .66);
    border: 1px solid rgba(255, 255, 255, .10);
    backdrop-filter: blur(6px);
}

.meridian-about-badge__top {
    display: block;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .72);
    margin-bottom: 4px;
}

.meridian-about-badge__name {
    display: block;
    font-weight: 800;
    letter-spacing: .02em;
    color: #fff;
}

.meridian-about-copy {
    color: rgba(255, 255, 255, .92);
}

.meridian-kicker {
    display: inline-block;
    margin: 0 0 12px;
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .70);
}

.meridian-about-title {
    margin: 0 0 14px;
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1.12;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 900;
}

.meridian-about-title span {
    color: var(--meridian-orange);
}

.meridian-about-lead {
    margin: 0 0 22px;
    line-height: 1.75;
    color: rgba(255, 255, 255, .85);
    max-width: 62ch;
}

.meridian-about-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 22px;
}

.meridian-about-fact {
    border-radius: 16px;
    padding: 14px 14px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
}

.meridian-about-fact__label {
    display: block;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .62);
}

.meridian-about-fact__value {
    display: block;
    margin-top: 6px;
    font-weight: 700;
    color: rgba(255, 255, 255, .92);
}

.meridian-about-more {
    margin: 10px 0 22px;
    border-radius: 16px;
    background: rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .08);
    overflow: hidden;
}

.meridian-about-more summary {
    cursor: pointer;
    padding: 14px 14px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 12px;
    color: rgba(255, 255, 255, .92);
    list-style: none;
}

.meridian-about-more summary::-webkit-details-marker {
    display: none;
}

.meridian-about-more__body {
    padding: 0 14px 14px;
    color: rgba(255, 255, 255, .82);
    line-height: 1.75;
}

.meridian-about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

@media (max-width: 980px) {
    .meridian-about-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .meridian-about-media,
    .meridian-about-media img {
        min-height: 420px;
    }

    .meridian-about-facts {
        grid-template-columns: 1fr;
    }
}


/* --- NEW MERIDIAN STAFF SECTION STYLES (Added 2026-01-08) --- */
:root {
    --bg-dark: #0a0a0a;
    --text-white: #ffffff;
    --text-muted: #a0a0a0;
    --accent-orange: #ff5722;
    /* Use site defaults instead of custom fonts */
    --font-heading: inherit;
    --font-body: inherit;
}

/* Scoped Container to avoid affecting global theme */
.meridian-staff-wrapper {
    background-color: var(--bg-dark);
    font-family: var(--font-body);
    color: var(--text-white);
    -webkit-font-smoothing: antialiased;
}

.meridian-staff-wrapper * {
    box-sizing: border-box;
}

/* --- Main Section --- */
.meridian-staff {
    padding: 80px 20px;
    background: var(--bg-dark);
}

.meridian-staff-inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Header --- */
.meridian-staff-head {
    text-align: center;
    margin-bottom: 60px;
}

.meridian-kicker {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-orange);
    margin: 0 0 10px 0;
    font-weight: 600;
}

.meridian-staff-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    line-height: 1;
    color: var(--text-white);
}

.meridian-staff-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Section Dividers --- */
.meridian-section-header {
    margin: 60px 0 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #222;
}

.meridian-section-label {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-size: 1.8rem;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 1px;
}

/* --- Grid --- */
.meridian-staff-grid {
    display: grid;
    /* Force 3 columns on large screens */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- Card --- */
.meridian-staff-card {
    position: relative;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    /* Aspect Ratio: Portrait/Square-ish */
    aspect-ratio: 4 / 5;
    isolation: isolate;
    /* Create new stacking context */
}

/* --- Media / Background Image --- */
.meridian-staff-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Background */
}

.meridian-staff-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Start B&W */
    filter: grayscale(100%) contrast(1.1) brightness(0.9);
    transition: filter 0.5s ease, transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center 30%;
    /* Zoom slightly from top-center */
}

/* Hover: Color & Slight Zoom */
.meridian-staff-card:hover .meridian-staff-media img {
    filter: grayscale(0%) contrast(1.1) brightness(1);
    transform: scale(1.05);
    /* Subtle zoom */
}

/* --- Overlay Gradient --- */
.meridian-staff-overlay {
    position: absolute;
    inset: 0;
    /* Base gradient */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 20%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    z-index: 2;
    transition: opacity 0.3s ease;
}

/* IMPACT ANIMATION: Dark Curtain Slide Down */
/* We use a pseudo-element to slide down a dark overlay when bio is open */
.meridian-staff-media::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    /* Start hidden at top */
    background: rgba(0, 0, 0, 0.85);
    /* Dark black overlay */
    z-index: 3;
    /* Above the standard overlay */
    transition: height 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Trigger curtain when details are open */
.meridian-staff-card:has(details[open]) .meridian-staff-media::after {
    height: 100%;
}

/* --- Badge (Top Left) --- */
.meridian-staff-topline {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 5;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.meridian-staff-role {
    background: var(--accent-orange);
    color: white;
    padding: 6px 12px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* SMART INTERACTION: Hide Role when Bio Open */
.meridian-staff-card:has(details[open]) .meridian-staff-topline {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

/* --- Content Container (Name + Hidden Body) --- */
/* This container sits at the bottom and holds everything text-related */
.meridian-staff-nameblock {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    z-index: 10;
    transform: translateY(0);
    /* Start in place */
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Moves the name block UP to make room for the body */
.meridian-staff-name {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    /* Slightly smaller to prevent wrap */
    margin: 0;
    text-transform: uppercase;
    color: white;
    line-height: 1;
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    transition: opacity 0.3s ease, height 0.3s ease;
}

/* SMART INTERACTION: Hide Name when Bio Open */
.meridian-staff-card:has(details[open]) .meridian-staff-name {
    opacity: 0;
    height: 0;
    margin: 0;
    overflow: hidden;
}

.meridian-staff-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ddd;
    margin: 0 0 15px 0;
    display: block;
    font-weight: 400;
    transition: opacity 0.3s ease, height 0.3s ease;
}

/* SMART INTERACTION: Hide Tag when Bio Open */
.meridian-staff-card:has(details[open]) .meridian-staff-tag {
    opacity: 0;
    height: 0;
    margin: 0;
    overflow: hidden;
}

/* --- The Reveal (Body) --- */
.meridian-staff-body {
    /* Initially hidden */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.4s ease;
    padding: 0;
}

/* Hover State: Slide Up / Reveal */
.meridian-staff-card:hover .meridian-staff-body {
    max-height: 600px;
    /* Increased to allow full bio */
    opacity: 1;
    margin-top: 10px;
}

/* Because the parent (.meridian-staff-nameblock) is positioned absolute bottom,
   expanding a child inside it will push the TOP of the parent UPWARDS.
   This creates the "Slide Up" effect naturally. */

.meridian-staff-blurb {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ccc;
    margin-bottom: 15px;
    display: block;
    /* Smooth hide transition */
    transition: opacity 0.3s ease, height 0.3s ease;
}

/* SMART INTERACTION: When Details Open -> Hide Blurb */
/* This effectively 'swaps' the short blurb for the long bio */
.meridian-staff-body:has(details[open]) .meridian-staff-blurb {
    opacity: 0;
    height: 0;
    margin: 0;
    overflow: hidden;
}

/* Details/Summary cleanup inside the slide */
.meridian-staff-more {
    margin-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.meridian-staff-more summary {
    color: var(--accent-orange);
    font-size: 1.15rem;
    /* Increased size (~25% bigger) */
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    list-style: none;
    transition: all 0.2s ease;
    position: relative;
    /* Ensure z-index works if needed */
    z-index: 20;
    display: inline-block;
    /* Keep it standard flow */
}

.meridian-staff-more summary:hover {
    color: white;
    text-shadow: 0 0 8px var(--accent-orange);
}

.meridian-staff-more summary::-webkit-details-marker {
    display: none;
}

/* Animated Open/Close Indicator */
.meridian-staff-more summary::after {
    content: 'READ BIO +';
    /* Removed float: right to keep alignment consistent */
}

.meridian-staff-more[open] summary::after {
    content: 'CLOSE -';
    color: #ddd;
    /* Use lighter color on dark overlay */
}

/* Bio Body - Increased Size & Animation */
.meridian-staff-more__body {
    font-size: 1.1rem;
    /* Increased by ~20% (from 0.9rem) */
    margin-top: 15px;
    color: #fff;
    /* Brighter white for contrast against dark curtain */
    animation: slideDown 0.5s ease forwards;
    line-height: 1.6;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.meridian-staff-more__body p {
    margin-bottom: 12px;
}

/* Actions */
.meridian-staff-actions {
    display: flex;
    /* keep flex, but stack on smaller if needed */
    flex-direction: column;
    /* Stack them to fix overflow issue requested by user */
    gap: 10px;
    margin-top: 15px;
}

/* SCOPED BUTTONS TO FIX REGRESSION */
.meridian-staff-actions .meridian-btn-orange,
.meridian-staff-actions .meridian-btn-outline {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 10px;
    font-size: 0.85rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.2s;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-weight: 600;
}

.meridian-staff-actions .meridian-btn-orange {
    background: var(--accent-orange);
    color: white;
    border: 1px solid var(--accent-orange);
}

.meridian-staff-actions .meridian-btn-orange:hover {
    background: rgb(255, 87, 34);
    box-shadow: 0 0 15px rgba(255, 87, 34, 0.5);
    transform: scale(1.02);
}

.meridian-staff-actions .meridian-btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.meridian-staff-actions .meridian-btn-outline:hover {
    background: white;
    color: black;
    transform: scale(1.02);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .meridian-staff-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cols tablet */
    }
}

@media (max-width: 600px) {
    .meridian-staff-grid {
        grid-template-columns: 1fr;
        /* 1 col mobile */
    }

    .meridian-staff-title {
        font-size: 2.5rem;
    }
}

/* --- ANIMATION UTILS (Added 2026-01-08) --- */
.meridian-reveal {
    opacity: 0;
    transform: translateY(50px);
    /* Increased distance for more drama */
    /* Slower, dramatic ease */
    transition: opacity 1.5s cubic-bezier(0.19, 1, 0.22, 1), transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: opacity, transform;
}

.meridian-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delays - Slower Pacing */
.delay-100 {
    transition-delay: 0.2s;
}

.delay-200 {
    transition-delay: 0.4s;
}

.delay-300 {
    transition-delay: 0.6s;
}

.delay-400 {
    transition-delay: 0.8s;
}

.delay-500 {
    transition-delay: 1.0s;
}

/* --- WPForms Customization (Added 2026-01-08) --- */
/* Force full width and consistent styling */
.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container input[type="url"],
.wpforms-container textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: #fff !important;
    font-family: inherit !important;
    margin-bottom: 0 !important;
    /* WPForms adds margin bottom usually, we control it via field container */
}

/* Field Container Spacing */
.wpforms-field {
    margin-bottom: 20px !important;
}

/* Fix First/Last Name Layout */
.wpforms-field-name-row {
    display: flex !important;
    gap: 20px !important;
    width: 100% !important;
}

.wpforms-field-name-row-first,
.wpforms-field-name-row-last {
    flex: 1 !important;
    width: 50% !important;
    float: none !important;
    /* Override WPForms floats */
    display: block !important;
}

/* Submit Button Alignment */
.wpforms-submit-container {
    padding-top: 10px;
}


/* --- Footer Redesign (Added 2026-01-08) --- */

.meridian-footer {
    background-color: #0A0A0A;
    color: #ffffff;
    padding: 80px 20px 40px;
    font-family: var(--font-body, sans-serif);
    border-top: 1px solid #222;
}

.meridian-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Center align items as per image */
    flex-wrap: wrap;
    gap: 40px;
    text-align: center;
    padding-bottom: 60px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

/* Brand Column */
.footer-logo {
    max-width: 220px;
    /* Increased from 120px to fill space */
    height: auto;
    margin-bottom: 15px;
}

.footer-tagline {
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
    font-family: var(--font-heading, sans-serif);
    /* Use heading font for tagline "FITNESS" part usually */
    margin: 0;
    line-height: 1.4;
}

/* Contact Column */
.footer-contact h4 {
    display: none;
    /* Hidden in design provided, keeping structure if needed later */
}

.footer-phone {
    display: block;
    font-size: 2rem;
    /* Large phone number */
    color: var(--accent-orange, #ff5722) !important;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.footer-phone:hover {
    color: #fff !important;
}

.call-text {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0px;
}

.footer-address {
    display: none;
    /* Hide address for now to match exactly the image provided which only had Phone + Call/Text */
}

/* Social Column */
.footer-social .footer-heading {
    display: none;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    color: var(--accent-orange, #ff5722);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-orange, #ff5722);
    border-radius: 50%;
    transition: all 0.3s ease;
}

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

.social-icon:hover {
    background-color: var(--accent-orange, #ff5722);
    color: #000;
}

/* Bottom Bar */
.meridian-footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid #333;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: #888;
}

.meridian-footer-bottom a {
    color: var(--accent-orange, #ff5722);
    text-decoration: none;
}

.developer-credit {
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
	.meridian-staff-role {
		display:none !important;
	}
    .meridian-footer-container {
        flex-direction: column;
    }

    .meridian-footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}
/* Hide tagline as requested */
.footer-tagline {
    display: none;
}

.wpforms-container .wpforms-field.wpforms-five-sixths, .wpforms-container .wpforms-field.wpforms-four-sixths, .wpforms-container .wpforms-field.wpforms-four-fifths, .wpforms-container .wpforms-field.wpforms-one-fifth, .wpforms-container .wpforms-field.wpforms-one-fourth, .wpforms-container .wpforms-field.wpforms-one-half, .wpforms-container .wpforms-field.wpforms-one-sixth, .wpforms-container .wpforms-field.wpforms-one-third, .wpforms-container .wpforms-field.wpforms-three-fourths, .wpforms-container .wpforms-field.wpforms-three-fifths, .wpforms-container .wpforms-field.wpforms-three-sixths, .wpforms-container .wpforms-field.wpforms-two-fourths, .wpforms-container .wpforms-field.wpforms-two-fifths, .wpforms-container .wpforms-field.wpforms-two-sixths, .wpforms-container .wpforms-field.wpforms-two-thirds {
	margin-left: 0 !important;
}






