/*
Theme Name: 915 Injury Law
Theme URI: https://915injury.com
Author: Md. Shishir Ahmed
Description: Custom Theme for 915 Injury Law
Version: 1.0
Text Domain: 915-injury
*/

/* Orpheus Pro — self-hosted (regular 400, bold 700). Confirm Canada Type / Adobe license covers your use. */
@font-face {
    font-family: 'Orpheus Pro';
    src: url('assets/fonts/orpheus-pro/orpheus-pro-regular.woff2') format('woff2'),
        url('assets/fonts/orpheus-pro/orpheus-pro-regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Orpheus Pro';
    src: url('assets/fonts/orpheus-pro/orpheus-pro-bold.woff2') format('woff2'),
        url('assets/fonts/orpheus-pro/orpheus-pro-bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Instrument Sans — self-hosted variable fonts (latin + latin-ext; normal + italic; weight 400–700). OFL: assets/fonts/instrument-sans/OFL.txt */
@font-face {
    font-family: 'Instrument Sans';
    font-style: italic;
    font-weight: 400 700;
    font-stretch: 100%;
    font-display: swap;
    src: url('assets/fonts/instrument-sans/instrumentsans-italic-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Instrument Sans';
    font-style: italic;
    font-weight: 400 700;
    font-stretch: 100%;
    font-display: swap;
    src: url('assets/fonts/instrument-sans/instrumentsans-italic-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 400 700;
    font-stretch: 100%;
    font-display: swap;
    src: url('assets/fonts/instrument-sans/instrumentsans-normal-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 400 700;
    font-stretch: 100%;
    font-display: swap;
    src: url('assets/fonts/instrument-sans/instrumentsans-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================
           1. CORE VARIABLES & RESET
========================================= */


:root {
    /* --------------------------------------------------
       BRAND COLORS — Law Firm Specific (Bronze & Navy)
    -------------------------------------------------- */
    --color-primary: #0047AB;
    /*--color-secondary: #003A8C;*/
    --color-secondary: #0047AB;

    --color-accent: #007BFF;

    /* --------------------------------------------------
       NEUTRAL GRAY SCALE
    -------------------------------------------------- */
    --color-white: #FFFFFF;
    --color-grey: #888888;
    --color-gray-50: #F9FAFB;
    --color-gray-100: #F3F4F6;
    --color-gray-200: #E5E7EB;
    --color-gray-300: #D1D5DB;
    --color-black: #000000;
    --c-charcoal: #141414;
    --c-charcoal-light: #1f1f1f;
    --c-offwhite: #f3f3f3;

    /* --------------------------------------------------
       SEMANTIC COLORS
    -------------------------------------------------- */
    --color-success: #059669;
    --color-warning: #D97706;
    --color-error: #DC2626;
    --color-info: #2563EB;

    /* --------------------------------------------------
       TEXT & BACKGROUND ALIASES
    -------------------------------------------------- */
    --color-bg-primary: var(--color-white);
    --color-bg-secondary: var(--color-gray-50);
    --color-bg-tertiary: var(--color-gray-100);
    --color-overlay: rgba(0, 0, 0, 0.5);

    /* --------------------------------------------------
       SPACING — 4px base grid
    -------------------------------------------------- */
    --space-1: 0.25rem;
    /*  4px */
    --space-2: 0.5rem;
    /*  8px */
    --space-4: 1rem;
    /* 16px */
    --space-6: 1.5rem;
    /* 24px */
    --space-8: 2rem;
    /* 32px */
    --space-12: 3rem;
    /* 48px */
    --space-20: 5rem;
    /* 80px */

    /* --------------------------------------------------
       TYPOGRAPHY FONTS
    -------------------------------------------------- */
    --font-primary: 'Orpheus Pro', 'Georgia', serif;
    --font-secondary: 'Instrument Sans', sans-serif;

    --spacing-section: 100px;
    --container-width: 1300px;

    /* --------------------------------------------------
       TYPOGRAPHY SIZES (Desktop Defaults)
    -------------------------------------------------- */
    --fs-h1: 3.5rem;
    --fs-h2: 3rem;
    --fs-h3: 1.5rem;
    --fs-h4: 1.25rem;
    /* 20px */
    --fs-body: 1.1rem;
    --fs-sm: 1rem;
    --fs-meta: 0.875rem;
    --fs-btn: 1rem;
    --fs-nav: 0.9rem;

    /* Weights & Line Heights */
    --fw-regular: 400;
    --fw-bold: 700;
    --lh-headings: 1.2;
    --lh-normal: 1.7;

    /* Spacing and Layout */
    --spacing-section: 100px;
    --container-width: 1300px;
}

/* =========================================
     GLOBAL TAG RESET (Desktop First)
     ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

html,
body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative;
}

body {
    background-color: var(--color-black);
    color: var(--c-offwhite);
    font-family: var(--font-secondary);
    line-height: var(--lh-normal);
    font-size: var(--fs-body);
    letter-spacing: 0.02rem;
    /* Desktop body letter spacing */
    -webkit-font-smoothing: antialiased;

}

/* Headings Base Style */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    line-height: var(--lh-headings);
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

h1 {
    font-size: var(--fs-h1);
    letter-spacing: 0.02rem;
    font-weight: 400;
}

h2 {
    font-size: var(--fs-h2);
    letter-spacing: 0.02rem;
    font-weight: 400;
}

/* Smaller Headings are Bold (700) per SOP */
h3 {
    font-size: var(--fs-h3);
    letter-spacing: 0.1rem;
    font-weight: 700;
}

h4 {
    font-size: var(--fs-h4);
    letter-spacing: 0rem;
    font-weight: 700;
}

h5 {
    font-size: 1.1rem;
    letter-spacing: 0rem;
    font-weight: 700;
}

p,
li,
td,
th {
    font-size: var(--fs-body);
    line-height: var(--lh-normal);
}

/* Button & UI elements */
.btn {
    font-family: var(--font-secondary);
    font-size: var(--fs-btn);
    font-weight: 700;
    text-transform: uppercase;
}

.nav-link {
    font-size: var(--fs-nav);
    font-weight: 400;
    text-transform: uppercase;
}

/* =========================================
     MOBILE OVERRIDES (max-width: 767px)
     ========================================= */
@media (max-width: 767px) {
    :root {
        /* Mobile Specific Font Sizes */
        --fs-h1: 4rem;
        /* Hero/H1 large on mobile per SOP */
        --fs-h2: 2.5rem;
        --fs-h3: 1.5rem;
        /* H4 and Body stay same */
    }

    body {
        letter-spacing: 0;
        /* SOP: 0 letter spacing on mobile */
    }

    h1 {
        font-size: var(--fs-h1);
    }

    h2 {
        font-size: var(--fs-h2);
    }

    /* Justify text on mobile if required by design, 
         otherwise text-align left is default */
    body p {
        text-align: left;
    }

    .step-actions .btn {
        padding: 15px 25px !important;
    }

    table td {
        font-size: 1rem;
    }

    ul {
        padding-left: 20px !important;
    }

}

/* Metadata / Captions classes */
.text-sm {
    font-size: var(--fs-sm);
}

.text-meta {
    font-size: var(--fs-meta);
    color: var(--color-grey);
}

.text-caps {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
}



a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 25px;
}

.text-accent {
    color: var(--color-accent);
    background: linear-gradient(45deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-charcoal {
    background-color: var(--c-charcoal);
}

.bg-white {
    background-color: var(--c-white);
    color: var(--color-black);
}

.uppercase {
    text-transform: uppercase;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.accent-line {
    width: 60px;
    height: 1px;
    background: var(--color-accent);
    margin: 20px 0;
}



/* UTILITY CLASSES */
.bg-black {
    background-color: var(--color-black);
}

.bg-offwhite {
    background-color: var(--c-offwhite);
}

.bg-pure-white {
    background-color: #ffffff;
}

.bg-dark-grad {
    background: linear-gradient(to bottom, #111, #0a0a0a);
}

.text-black {
    color: var(--color-black);
}

.text-white {
    color: var(--c-white);
}

.text-ccc {
    color: #ccc;
}

.text-brand-accent {
    color: var(--color-accent);
}

.border-top-brand {
    border-top: 3px solid var(--color-accent);
}

.border-top-thin {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.border-bottom-dark {
    border-bottom: 1px solid #222;
}

.section-pad {
    padding: var(--spacing-section) 0;
}

.section-pad-sm {
    padding: 60px 0;
}

.section-pad-lg {
    padding: 100px 0;
}

.section-pad-xl {
    padding-bottom: 150px;
}

.text-sm {
    font-size: 0.95rem;
}

/* =========================================
             2. UI COMPONENTS
             ========================================= */

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 45px;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--color-accent);
    color: var(--color-primary);
    cursor: pointer;
    overflow: hidden;
    background: transparent;
}

/*.btn::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 0%;*/
/*    height: 100%;*/
/*    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));*/
/*    z-index: -1;*/
/*    transition: all 0.4s ease;*/
/*}*/

.btn:hover {
    background-color: var(--color-secondary) !important;
    border-color: var(--color-secondary) !important;
    color: #ffffff !important;
}

.btn:hover::after {
    width: 100%;
}

.btn-white {
    background: var(--c-white);
    color: var(--color-black);
    border: none;
}

.btn-white:hover {
    background: var(--color-accent);
    color: var(--color-black);
}

/* Section Headers */
.section-head {
    margin-bottom: 60px;
}

.section-head h2 {
    margin-top: 15px;
}

.section-head.center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =========================================
             3. NAVIGATION REDESIGN
             ========================================= */
.top-bar {
    background: #000;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .consult-text {
    color: #888;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 400;
}

.top-bar a {
    color: #fff !important;
    font-weight: 700;
    font-size: 1.3rem;
    text-decoration: none;
    transition: none;
    letter-spacing: 0.5px;
    font-family: var(--font-secondary);
}

.top-bar a:hover {
    color: #fff !important;
}

#main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

#navbar {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 25px 0;
    border-bottom: none;
    transition: all 0.4s ease;
}

#navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/*.logo img {*/
/*    transition: all 0.3s ease;*/
/*}*/

/*.logo:hover img {*/
/*    transform: scale(1.05);*/
/*}*/

/*#navbar.scrolled .logo img {*/
/*    height: 50px !important;*/
/*}*/

.menu-items {
    display: flex;
    gap: 35px;
}

.menu-items a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    color: #ffffff;
}

/* Top-level underline uses ::before (see .desktop-menu-list>li>a::before) so ::after stays free for dropdown chevrons */

.menu-items a:hover {
    color: #fff;
}

.nav-actions .btn-nav {
    background: var(--color-primary);
    color: #fff;
    padding: 12px 28px;
    text-transform: uppercase;
    border-radius: 5px;
    border: 1px solid var(--color-secondary);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    display: inline-block;
}

.nav-actions .btn-nav:hover {
    background-color: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    /*transform: translateY(-3px);*/
    box-shadow: 0 10px 20px rgba(0, 170, 255, 0.3);
}

@media (max-width: 1100px) {
    .menu-items {
        gap: 20px;
        margin-right: 30px;
    }
}

@media (max-width: 900px) {
    .menu-items {
        display: none;
    }

    #navbar {
        padding: 10px 0;
    }
}

.menu-items {
    display: flex;
    align-items: center;
}

.desktop-menu-list {
    display: flex;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Top Level Items */
.desktop-menu-list>li {
    position: relative;
    /* Essential for submenu positioning */
    padding: 10px 0;
}

.desktop-menu-list a {
    letter-spacing: 1px;
    position: relative;
    color: #ffffff;
    text-decoration: none;

    font-size: var(--fs-nav);
    font-weight: 400;
    text-transform: uppercase;
}

/* Hover Line Effect for Top Links (use ::before so ::after is free for icons) */
.desktop-menu-list>li>a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent, #00AAFF);
    transition: 0.3s ease;
}

.desktop-menu-list>li:hover>a::before {
    width: 100%;
}

/* Dropdown Icon (top-level) */
.desktop-menu-list>li.menu-item-has-children>a::after {
    content: "\f107";
    /* FontAwesome Down Arrow */
    font-family: "Font Awesome 6 Free", "FontAwesome";
    font-weight: 900;
    font-size: 0.75rem;
    margin-left: 6px;
    color: var(--color-accent, #00AAFF);
    /* neutralize generic underline pseudo styles */
    position: static;
    display: inline-block;
    width: auto;
    height: auto;
    background: none;
}

/* Submenu Container (Desktop dropdown, like your reference) */
.desktop-menu-list ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    min-width: 250px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 2px solid var(--color-accent, #00AAFF);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    /* visible so 3rd-level flyouts (left: 100%) are not clipped */
    overflow: visible;
}

/* Show Submenu on Hover */
.desktop-menu-list li:hover>ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Submenu Items */
.desktop-menu-list ul.sub-menu li {
    padding: 0;
    position: relative;
}

.desktop-menu-list ul.sub-menu a {
    display: block;
    padding: 12px 20px;
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;

}

.desktop-menu-list ul.sub-menu a::after {
    display: none;
    /* Remove line from submenus */
}

.desktop-menu-list ul.sub-menu a:hover {
    background: #222;
    color: #fff;
}

/* Remove border on last visible item in a dropdown list */
.desktop-menu-list ul.sub-menu>li:last-child>a {
    border-bottom: none;
}

/* 2nd level flyout (submenu inside submenu) */
.desktop-menu-list ul.sub-menu ul.sub-menu {
    top: 0;
    left: 100%;
    margin-top: 0;
    background: rgba(15, 15, 15, 0.98);
    border-top: 2px solid var(--color-accent, #00AAFF);
    z-index: 10000;
    overflow: visible;
}

/* Right arrow indicator for items that have nested children inside dropdown */
.desktop-menu-list ul.sub-menu li.menu-item-has-children>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.desktop-menu-list ul.sub-menu li.menu-item-has-children>a::after {
    display: inline-block;
    content: "\f054";
    /* FontAwesome chevron-right */
    font-family: "Font Awesome 6 Free", "FontAwesome";
    font-weight: 900;
    font-size: 0.7rem;
    color: var(--color-accent, #00AAFF);
    /* Reset top-level .menu-items link underline pseudo if anything leaked */
    position: static;
    bottom: auto;
    left: auto;
    width: auto;
    height: auto;
    background: none;
    flex-shrink: 0;
}

/* Only show dropdown hover behavior on desktop */
@media (max-width: 900px) {
    .desktop-menu-list ul.sub-menu {
        display: none !important;
    }
}


/* =========================================
             HERO V2 (KRLG Inspired Design)
             ========================================= */
.hero-v2-wrapper {
    position: relative;
    font-family: var(--font-secondary);
    color: #fff;
    margin-bottom: 0;
    /* Flush with next section */
}

/* Top Notification Bar */
.hero-v2-top {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 20;
    position: relative;
}

.text-sage {
    color: var(--color-accent);
}

/* Main Hero Area */
.hero-v2-main {
    position: relative;
    min-height: 650px;
    /* Reduced height */
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #363737;
}

/* Background Image (Cityscape) */
.hero-v2-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Updated to match hometest.html */
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('skyline transparent.png');
    background-size: cover;
    background-position: center;
    opacity: 1.0;
    z-index: 1;
}

.hero-v2-overlay {
    display: none;
}

/* Lawyers Cutout */
.hero-v2-lawyers {
    position: absolute;
    bottom: 0;
    right: 5%;
    /* Updated: Moved slightly left */
    width: 45%;
    height: 75%;
    z-index: 3;
    background-image: url('man in suit.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    /* In a real scenario, use the actual cutout image */
}

.hero-v2-content {
    position: relative;
    z-index: 4;
    width: 100%;
    padding-top: 220px;
    /* Increased space from top for clear separation */
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Top aligned for control */
    height: 100%;
}

.hero-v2-text {
    max-width: 750px;
    /* Slightly wider for the big text */
}

.hero-v2-subtitle {
    color: var(--color-accent);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-v2-title {
    font-family: var(--font-primary);
    margin-top: 0; /* semantic h1: reset UA heading margin */
    margin-bottom: 2rem;
    color: #fff;
    text-transform: none;
    text-shadow: none;
    font-size: 4rem;
    line-height: 1.1;
    letter-spacing: normal;
    font-weight: 400;
}

.hero-v2-desc {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 40px;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Call to Action Button */
.hero-v2-btn {
    display: inline-block;
    background-color: var(--color-accent);
    color: #000;
    padding: 20px 40px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    /* Rounded pill shape */
    font-size: 1rem;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, background 0.3s;
    margin-bottom: 40px;
}

.hero-v2-btn:hover {
    transform: translateY(-3px);
    background-color: var(--color-secondary);
}

/* Google Badge Placeholder */
.google-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 10px 20px;
    border-radius: 12px;
    width: fit-content;
}

.g-icon {
    font-size: 2rem;
    font-weight: bold;
    color: #4285F4;
    /* Google Blue */
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.g-text {
    display: flex;
    flex-direction: column;
}

.g-rating {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.g-stars {
    color: #F4B400;
}

/* Gold stars */

/* Stats Strip V2 */
.stats-v2 {
    background-color: var(--color-secondary);
    padding: 40px 0;
    color: #000;
}

.stats-v2-grid {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.stat-v2-item {
    position: relative;
    padding: 0 20px;
    flex: 1;
}

.stat-v2-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: #aaa;
}

.stat-v2-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 5px;
    font-family: var(--font-primary);
}

.stat-v2-label {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: #333;
}

/* Mobile Responsive for V2 */
@media (max-width: 900px) {
    .hero-v2-top {
        font-size: 0.75rem;
    }

    .hero-v2-main {
        min-height: 100vh;
        text-align: center;
        align-items: flex-end;
        /* Push content down or center? */
        justify-content: center;
        /* Center vertically */
    }

    .hero-v2-lawyers {
        width: 100%;
        height: 50%;
        right: 0;
        top: 0;
        /* Lawyers at top */
        bottom: auto;
        background-position: center bottom;
        z-index: 1;
        mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    }

    .hero-v2-content {
        justify-content: flex-end;
        /* Text at bottom */
        padding-bottom: 60px;
        z-index: 5;
    }

    .hero-v2-text {
        margin: 0 auto;
    }


    .hero-v2-subtitle {
        font-size: 0.9rem;
        color: var(--color-accent);
    }

    .hero-v2-desc {
        font-size: 1.1rem;
    }

    .hero-v2-bg {
        opacity: 0.4;
    }

    /* Darker bg on mobile for text contrast */

    .stats-v2-grid {
        flex-direction: column;
        gap: 30px;
    }

    .stat-v2-item:not(:last-child)::after {
        display: none;
    }

    .google-badge {
        margin: 0 auto;
    }
}

/* =========================================
             6. VSL / CINEMA SECTION
             ========================================= */
.vsl-section {
    padding: var(--spacing-section) 0;
    background: #080808;
    position: relative;
}

.vsl-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.vsl-text h2 {
    margin-bottom: 25px;
}

.vsl-text p {
    font-size: 1.1rem;
    color: #999;
    margin-bottom: 30px;
}

.video-wrapper {
    position: relative;
    border: 1px solid #333;
    padding: 10px;
    transition: 0.5s;
}

.video-wrapper:hover {
    border-color: var(--color-accent);
    transform: scale(1.02);
}

.video-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.7);
    transition: 0.5s;
}

.video-wrapper:hover .video-thumbnail {
    filter: brightness(1);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 170, 255, 0.2);
    /* Accent Blue 20% */
    backdrop-filter: blur(5px);
    border: 1px solid var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: pulse 2s infinite;
}

.play-btn svg {
    width: 30px;
    height: 30px;
    fill: #fff;
    margin-left: 5px;
}

/* =========================================
             7. ABOUT ATTORNEY (Bio)
             ========================================= */
.about-section {
    padding: var(--spacing-section) 0;
    background-color: var(--c-offwhite);
    color: var(--color-black);
    position: relative;
    /* overflow: hidden; Removed to allow sticky positioning */
}

/* Subtle luxury pattern background */
.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#ccc 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Reversed Grid for Content Sections */
.about-grid.reverse {
    grid-template-columns: 1.2fr 0.8fr;
}

.about-grid.reverse .attorney-img-container {
    order: 2;
}

.about-grid.reverse .about-text {
    order: 1;
}

/* Table Styles */
.content-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 1rem;
    color: var(--color-black);
}

.content-table th,
.content-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.content-table th {
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border-bottom: 2px solid var(--color-accent);
}

.content-table tr:hover {
    background: var(--color-secondary);
}

.attorney-img-container {
    position: relative;
}

.attorney-img-container::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 70%;
    height: 70%;
    border: 2px solid var(--color-accent);
    z-index: 0;
}

.attorney-img {
    position: relative;
    z-index: 1;
    width: 100%;
    box-shadow: var(--shadow-card);
    filter: sepia(10%) contrast(105%);
}

.about-text h4 {
    color: var(--color-primary);
    font-family: var(--font-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 10px;
}

.about-text h2 {
    color: var(--color-black);
    margin-bottom: 30px;
}

.about-text p {
    color: var(--color-black);
    margin-bottom: 20px;
}

/* List Styling */
.about-text ul,
.about-text ol {
    margin: 25px 0;
    padding-left: 25px;
}

.about-text ul li {
    list-style-type: disc;
    margin-bottom: 12px;
    color: #444444;
}

.about-text ol li {
    list-style-type: decimal;
    margin-bottom: 12px;
    color: #444444;
}

.about-text li strong {
    color: var(--color-black);
}

.sticky-side {
    position: -webkit-sticky;
    position: sticky;
    top: 20%;
    align-self: start;
}

/* CTA Banner Section */
.cta-banner-section {
    /* Extra top padding so attorney head can extend above the card without clipping the section */
    padding: clamp(56px, 9vw, 130px) 0 80px;
    /* Sharp split background: White 65% | Blue Primary 35% */
    background: linear-gradient(to right, #fff 0%, #fff 65%, var(--color-primary) 65%, var(--color-primary) 100%);
    position: relative;
    overflow: visible;
}

.cta-banner-section .container {
    overflow: visible;
}

.cta-card {
    /* Lighter overlay to show the skyline clearly */
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://images.squarespace-cdn.com/content/6848cca0ad155d05aeb871a6/4a4629cf-74ff-4952-9412-0c1743735e0f/Desktop+background.png');
    background-blend-mode: normal;
    background-size: cover;
    background-position: center 110%;
    border-radius: 10px;
    /* Padding: Top/Right/Left + Extra Bottom for the bar */
    padding: 50px 50px 100px;
    position: relative;
    color: #fff;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    /* Sleek horizontal aspect ratio */
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: visible;
}

.cta-card-content {
    position: relative;
    z-index: 2;
    max-width: 60%;
}

.cta-card h2 {
    font-family: var(--font-primary);
    /* Extra bold */
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #fff;
}

.cta-card h2 span {
    color: var(--color-accent);
}

.cta-subtitle {
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 35px;
    color: #fff;
}

.cta-subtitle span {
    color: #fff;
}

/* The "Rude" Button Style */
.cta-btn-pill {

    display: inline-flex;
    flex-direction: column;
    /* Stack text */
    align-items: flex-start;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    /* 0.3 Opacity Dark */
    border: 1px solid var(--color-primary);
    padding: 12px 35px;
    border-radius: 5px;
    text-decoration: none;
    transition: transform 0.2s, background 0.3s;
    line-height: 1.1;
    backdrop-filter: blur(10px);
}

.cta-btn-pill:hover {
    /* transform: scale(1.02); Removed to prevent size jump */
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-top-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    /* White-ish top text */
    text-transform: uppercase;
    margin-bottom: 2px;
}

.btn-main-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    /* White bottom text */
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Bottom Bar */
.cta-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(30, 30, 30, 0.95);
    /* Darker, more solid */
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    display: flex;
    align-items: center;
    padding: 0 50px;
    gap: 40px;
    z-index: 4;
}

.cta-phone {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-right: 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* Icon + two-line text: remove inline-SVG baseline gap; keep icon vertically centered to the text block */
.cta-phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
}

.cta-phone-icon svg {
    display: block;
    width: 28px;
    height: 28px;
    fill: var(--color-accent);
    vertical-align: middle;
}

.cta-phone-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.15em;
    line-height: 1.2;
    min-height: 0;
}

.cta-phone-label {
    font-size: 0.7rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-phone-num {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-accent);
}

.cta-socials {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* CTA Banner socials — match footer .social-link hover (accent fill, black icon, lift 5px, 0.4s) */
.cta-banner-section .social-circle {
    width: 32px;
    height: 32px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    transition: 0.4s;
    text-decoration: none;
}

.cta-banner-section .social-circle:hover,
.cta-banner-section .social-circle:focus-visible {
    background: var(--color-accent);
    color: #000;
    border-color: var(--color-accent);
    transform: translateY(-5px);
}

/* Attorney Image - Right side, feet aligned to card bottom, head breaks above the card */
.cta-card-lawyer {
    position: absolute;
    right: clamp(16px, 3vw, 48px);
    bottom: 0;
    width: auto;
    max-width: min(44%, 420px) !important;
    /* Taller than the card so the top of the photo sits above the rounded box */
    height: calc(100% + clamp(72px, 13vw, 168px)) !important;
    max-height: none;
    object-fit: contain;
    object-position: bottom center;
    z-index: 5;
    pointer-events: none;
    filter: contrast(1.08);
}

@media (max-width: 1024px) {

    .cta-card-lawyer {
        height: calc(100% + clamp(48px, 11vw, 120px)) !important;
        right: clamp(-8px, -1vw, 12px);
        max-width: min(50%, 340px);
    }

    .cta-card-content {
        max-width: 60%;
    }
}

@media (max-width: 768px) {
    .cta-banner-section {
        background: #f4f4f4;
        padding: 40px 0;
    }

    .cta-card {
        padding: 40px 25px 140px;
        text-align: center;
        background: #000;
    }

    .cta-card-content {
        max-width: 100%;
    }


    .cta-bottom-bar {
        flex-direction: column;
        height: auto;
        padding: 25px;
        gap: 20px;
        text-align: center;
    }

    .cta-phone {
        border-right: none;
        padding-right: 0;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    .cta-btn-pill {
        align-items: center;
        width: 100%;
        margin-bottom: 25px;
    }


}

.quote-box {
    border-left: 3px solid var(--color-accent);
    padding-left: 25px;
    margin: 30px 0;
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-style: italic;
    color: #333;
}

/* =========================================
             8. PRACTICE AREAS
             ========================================= */
.practice-section {
    padding: var(--spacing-section) 0;
    background: var(--c-charcoal);
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    /* Gap creates the border lines */
    background: rgba(255, 255, 255, 0.1);
    /* Color of the grid lines */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.practice-card {
    background: var(--c-charcoal);
    padding: 60px 40px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.practice-card:hover {
    background: var(--color-secondary);
}

.practice-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    transition: 0.3s;
}

.practice-card:hover h3 {
    color: var(--color-secondary);
}

.practice-card p {
    font-size: 0.95rem;
    color: #888;
}

.practice-icon {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 25px;
}

/* =========================================
             9. AWARDS & RECOGNITION
             ========================================= */
.awards-section {
    padding: 80px 0;
    background: #000;
    text-align: center;
}

.awards-track {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    opacity: 0.7;
}

.awards-track img {
    height: 100px;
    width: auto;
    filter: grayscale(100%);
    transition: 0.4s;
}

.awards-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* =========================================
             10. CLIENT REVIEWS (Slider)
             ========================================= */
.reviews-section {
    padding: var(--spacing-section) 0;
    background: linear-gradient(to bottom, #111, #0a0a0a);
}

.slider-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.review-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.review-slide {
    min-width: 100%;
    padding: 0 100px;
    /* Center content */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.review-media {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.review-media img {
    width: 100%;
    filter: brightness(0.8);
}

.review-content blockquote {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 30px;
    color: var(--c-white);
}

.review-author .review-author-name {
    display: block;
    margin: 0 0 var(--space-4) 0;
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: var(--lh-headings);
    color: var(--color-accent);
}

.review-author span {
    font-size: 0.9rem;
    color: #666;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border: 1px solid #333;
    border-radius: 5px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.slider-btn:hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

/* =========================================
             11. NEWS / INSIGHTS
             ========================================= */
.news-section {
    padding: var(--spacing-section) 0;
    background: #ffffff;
    /* Updated: Pure White */
    color: var(--color-black);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.news-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    /* Added border for contrast */
    box-shadow: var(--shadow-subtle);
    border-radius: 5px;
    overflow: hidden;
    transition: 0.4s;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
}

.news-img {
    height: 240px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-body {
    padding: 30px;
}

.news-date {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.news-body h3 {
    color: var(--color-black);
    margin-bottom: 15px;
    font-family: var(--font-primary);
}

/* News section — Read Article (match FAQ V2 .more-questions-label: size + underline hover) */
.news-section .link-text {
    display: inline-block;
    position: relative;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    padding-bottom: 6px;
    text-decoration: none;
    border-bottom: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.news-section a.link-text {
    cursor: pointer;
}

.news-section a.link-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent, #007BFF);
    transition: width 0.3s ease;
}

.news-section a.link-text:hover::after,
.news-section a.link-text:focus-visible::after {
    width: 100%;
}

.news-section a.link-text:hover,
.news-section a.link-text:focus-visible {
    color: var(--color-accent);
}

.news-section span.link-text {
    cursor: default;
}

/* =========================================
             12. FAQ SECTION
             ========================================= */
.faq-section {
    padding: var(--spacing-section) 0;
    background: var(--c-charcoal);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: #ccc;
    transition: 0.3s;
}

.faq-question:hover {
    color: var(--color-secondary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    font-size: 1rem;
    color: #888;
    line-height: 1.7;
}

.faq-answer p {
    padding-bottom: 25px;
}

/* =========================================
             13. FOOTER
             ========================================= */
footer {
    background: #050505;
    padding: 100px 0 0;
    /* Changed bottom padding to 0 */
    color: #777;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo {
    font-family: var(--font-primary);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 25px;
    font-family: var(--font-secondary);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a:hover {
    color: var(--color-secondary);
    margin-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
    font-size: 0.8rem;
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 170, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(0, 170, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 170, 255, 0);
    }
}

/* Responsive Fixes (Brief) */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 3.5rem;
    }

    .vsl-content,
    .about-grid,
    .review-slide,
    .hero .container {
        grid-template-columns: 1fr;
    }

    .practice-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .review-slide {
        padding: 0 20px;
    }

    .hero-form {
        display: none;
    }

    /* Simplify for tablet */
}

@media (max-width: 600px) {

    .practice-grid,
    .news-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }



    .menu-items {
        display: none;
    }

    /* Should have a hamburger menu in full prod */
}

/* BRAND THEME STYLES */
.hero-v2-wrapper .text-accent,
.hero-v2-wrapper .hero-v2-subtitle,
.hero-v2-wrapper .text-sage,
.hero-v2-wrapper .logo span {
    color: var(--color-accent) !important;
    background: none !important;
    -webkit-text-fill-color: var(--color-accent) !important;
}

/* Button: Semi-transparent background card */
.hero-v2-wrapper .btn {
    background: rgba(0, 0, 0, 0.3) !important;
    /* 0.3 Opacity */
    border: 1px solid var(--color-primary) !important;
    color: #ffffff !important;
    backdrop-filter: blur(10px);
    border-radius: 5px;
}

/* Remove gradient/sliding effect */
.hero-v2-wrapper .btn::after {
    display: none !important;
}

/* Hover: Solid Primary Blue fill */
.hero-v2-wrapper .btn:hover {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #ffffff !important;
}

.hero-v2-wrapper .menu-items a::before {
    background-color: var(--color-accent) !important;
}

/* Intro VSL section CTA (e.g. “get your case reviewed by John Aufiero”) */
.intro-vsl-section .btn {
    border-radius: 5px;
}

/* Lead System (Modal + Inline): option tiles — step buttons styled in widgets/lead-system-global.php */
.lead-modal .option-btn,
.inline-lead-section .option-btn {
    border-radius: 5px;
}

/* FAQ V2 — Contact 24/7 */
.btn-faq-contact {
    border-radius: 5px;
}

.stats-v2 {
    background-color: var(--color-secondary) !important;
}

.stats-v2 .stat-v2-num,
.stats-v2 .stat-v2-label {
    color: #fff !important;
}


#navbar {
    width: 100%;
    position: absolute;
    z-index: 999;
}

/* WordPress Menu Dynamic CSS Fix */
.desktop-menu-list {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/*.desktop-menu-list li a {*/
/*    font-size: 15px;*/
/*    font-weight: 700;*/
/*    text-transform: uppercase;*/
/*    color: #fff;*/
/*    transition: 0.3s;*/
/*}*/


/* =========================================
             CONTACT PAGE SPECIFIC STYLES
             ========================================= */

/* Hero Section */
.contact-hero {
    padding: 200px 0 80px;
    /* Increased top padding for absolute header */
    position: relative;
    background: #363737;
    /* visible: overflow:hidden clips native <select> dropdown hit-testing in some browsers */
    overflow: visible;
    border-bottom: 3px solid var(--color-accent);
    z-index: 5;
}

.contact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://commercialvehiclelawyer.com/wp-content/uploads/2026/02/skyline-transparent.png');
    background-size: cover;
    background-position: center;
    opacity: 1.0;
    z-index: 1;
}

.contact-hero .container {
    position: relative;
    z-index: 10;
    overflow: visible;
}

/* Elementor often sets overflow:hidden on containers — breaks native select lists */
.elementor-widget-injury915_contact_hero .elementor-widget-container,
.elementor-widget-injury915_contact_hero .elementor-widget-wrap {
    overflow: visible !important;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Left Column */
.contact-left {
    padding-right: 20px;
    padding-bottom: 80px;
    /* Add padding here to balance text if needed, or leave as is */
}

.contact-left h1 {
    margin-bottom: 30px;
    color: var(--c-white);
}

.contact-left p {
    color: #ccc;
    margin-bottom: 50px;
    max-width: 500px;
}

/* Right Column - Form */
.contact-form-card {
    background: var(--c-charcoal);
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px 4px 0 0;
    /* Flat bottom to sit on line? Or keep rounded? Let's keep rounded but maybe overlap? */
    border-bottom: none;
    /* If sitting flush? No, keep it clean. */
    border-radius: 4px;
    /* Keep radius */
    box-shadow: var(--shadow-card);
    margin-bottom: 0;
    /* Ensure no margin */
    position: relative;
    z-index: 2;
    top: 0;
    overflow: visible;
    /* No overlap for now */
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    color: var(--c-white);
    margin-bottom: 10px;
}

.form-header p {
    color: var(--color-accent);
    text-transform: uppercase;
}

.c-form-group {
    margin-bottom: 20px;
}

.c-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.c-input,
.c-select,
.c-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    color: #fff;
    font-family: var(--font-secondary);
    font-size: 1rem;
    border-radius: 4px;
    outline: none;
    transition: 0.3s;
}

.c-input:focus,
.c-select:focus,
.c-textarea:focus {
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.08);
}

.c-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-disclaimer {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Contact hero form submit — primary border + radius (overrides global .btn accent) */
.contact-hero .btn.contact-hero-btn {
    border-color: var(--color-primary);
    border-radius: 5px;
}

/* Call Section (Split Layout) */
.call-section {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* Narrower image column */
    min-height: 350px;
    /* Reduced height */
    background: var(--c-offwhite);
    /* border-top removed */
    border-bottom: 3px solid var(--color-primary);
}

.call-image-side {
    width: 100%;
    height: 100%;
    position: relative;
    background: #1f1f1f;
    /* Fallback */
    overflow: hidden;
}

.call-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.call-info-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Center align */
}

.call-info-side h2 {
    margin-bottom: 20px;
    color: var(--color-black);
    /* Dark text on light bg */
}

.call-link {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    color: var(--color-primary);
    /* Primary Blue for contrast */
    font-weight: 700;
    transition: 0.3s;
    display: inline-block;
    line-height: 1.1;
}

.call-link:hover {
    color: var(--color-secondary);
}

@media (max-width: 1024px) {
    .call-section {
        grid-template-columns: 1fr;
    }

    .call-info-side {
        padding: 60px 25px;
        align-items: center;
        text-align: center;
    }

    .call-image-side {
        height: 400px;
    }

    .call-link {
        font-size: 2.5rem;
    }

    .form-header p {
        text-align: center;
    }
}

/* Call Section — stack both layouts (original + variant) for side-by-side client review */
.injury915-call-section-stack > .call-section + .call-section--v2 {
    margin-top: clamp(24px, 4vw, 56px);
}

/* Call Section — Variant 2 (dark split; same content as classic, for client review) */
.call-section--v2 {
    background: transparent;
    border-bottom: 3px solid var(--color-primary);
    min-height: 0;
    display: block;
}

/* Variant 2: same column ratio as classic; height breathes with viewport; full width */
.call-section-v2-inner {
    font-family: var(--font-primary);
    width: 100%;
    max-width: none;
    margin: 0;
    background: #0d1b2a;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    min-height: clamp(380px, 38vw, 520px);
    position: relative;
    overflow: hidden;
}

.call-section-v2-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    z-index: 10;
}

.call-section-v2-photo {
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: #1a2a3a;
}

.call-section-v2-photo img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.9s ease;
}

.call-section--v2:hover .call-section-v2-photo img {
    transform: scale(1.03);
}

.call-section-v2-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 50%, #0d1b2a 100%);
    z-index: 2;
    pointer-events: none;
}

.call-section-v2-text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: clamp(40px, 6vw, 64px) clamp(28px, 5vw, 64px);
    background: #0d1b2a;
    gap: clamp(18px, 2.5vw, 26px);
}

/* Vertically centered accent on the text column’s left edge (photo / copy seam) */
.call-section-v2-text::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 3px;
    height: clamp(52px, 8vw, 72px);
    background: var(--color-accent);
    z-index: 1;
}

.call-section-v2-heading {
    font-family: var(--font-primary);
    font-size: clamp(1.7rem, 2.2vw + 0.85rem, 2.4rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.28;
    margin: 0;
    max-width: min(20em, 100%);
    letter-spacing: 0.02em;
}

.call-section-v2-btn {
    display: inline-block;
    text-decoration: none;
    background: transparent;
    border: 1.5px solid var(--color-primary);
    color: #fff;
    padding: clamp(14px, 2vw, 17px) clamp(32px, 4vw, 44px);
    border-radius: 5px;
    font-family: var(--font-secondary);
    font-size: clamp(0.98rem, 1vw + 0.65rem, 1.08rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.call-section-v2-btn:hover,
.call-section-v2-btn:focus-visible {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

@media (max-width: 1024px) {
    .call-section-v2-inner {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    /* Same image band height as classic .call-image-side at this breakpoint */
    .call-section-v2-photo {
        min-height: 0;
    }

    .call-section-v2-photo img {
        min-height: 350px;
        max-height: 400px;
        height: 400px;
    }

    .call-section-v2-photo::after {
        background: linear-gradient(to bottom, transparent 40%, #0d1b2a 100%);
    }

    .call-section-v2-text {
        align-items: center;
        text-align: center;
        padding: clamp(44px, 8vw, 60px) 25px clamp(48px, 8vw, 64px);
    }

    .call-section-v2-text::before {
        display: none;
    }

    .call-section-v2-heading {
        max-width: min(22em, 100%);
    }
}

/* Location Section */
.location-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #ffffff;
    /* White background */
}

.map-container {
    width: 100%;
    height: 500px;
    /* Increased height */
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    /* Filter removed for full color map */
}

.location-info {
    padding: 100px 0;
    background: #ffffff;
    color: var(--color-black);
}

.location-header {
    text-align: center;
    margin-bottom: 60px;
}

.location-header h2 {
    margin-bottom: 10px;
    color: var(--color-black);
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.loc-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
    border-left: 1px solid #eee;
    /* Divider lines */
}

.loc-col:first-child {
    border-left: none;
}

.loc-label {
    font-family: var(--font-secondary);
    color: var(--color-black);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    display: inline-block;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 2px;
    width: fit-content;
    font-size: 1rem;

}

.loc-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    font-family: var(--font-secondary);
}

.loc-item {
    font-size: 1.1rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 400;
}

.loc-item i {
    color: var(--color-accent);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* Get Directions — match Intro VSL “Read Full Story” (.vsl-read-more-label) */
.location-directions-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    margin-top: 12px;
    color: var(--color-primary);
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    padding-bottom: 6px;
    text-decoration: none;
    transition: color 0.3s ease;
    width: fit-content;
}

.location-directions-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent, #007bff);
    transition: width 0.3s ease;
}

.location-directions-link:hover::after,
.location-directions-link:focus-visible::after {
    width: 100%;
}

.location-directions-link:hover,
.location-directions-link:focus-visible {
    color: var(--color-accent);
}

.location-directions-link i {
    font-size: 1.05em;
    color: inherit;
}

@media (max-width: 900px) {
    .location-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .loc-col {
        border-left: none;
        padding: 0;
        align-items: center;
        text-align: center;
    }

    .location-header h2 {
        font-size: 2.5rem;
    }
}

.nap-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #aaa;
    font-size: 1.1rem;
}

.nap-item i {
    color: var(--color-accent);
}

/* Social Section */
.social-connect-section {
    padding: 100px 0;
    text-align: center;
    background: var(--color-black);
    border-top: 3px solid var(--color-accent);
    border-bottom: 3px solid var(--color-accent);
}

.social-icons-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px 30px;
    margin-top: 40px;
}

/* Social Connect — same hover language as footer / CTA / Bio Hero */
.social-connect-section .social-icon-lg {
    width: 80px;
    height: 80px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: 0.4s;
}

.social-connect-section .social-icon-lg:hover,
.social-connect-section .social-icon-lg:focus-visible {
    background: var(--color-accent);
    color: #000;
    border-color: var(--color-accent);
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 1024px) {

    .contact-grid,
    .location-section {
        grid-template-columns: 1fr;
    }

    .location-info {
        padding: 60px 25px;
    }

    .contact-left {
        margin-bottom: 60px;
        padding-right: 0;
    }

    .call-link {
        font-size: 2.5rem;
    }

    .map-container {
        height: 400px;
    }
}



/* =========================================
             BIO HERO SECTION
             ========================================= */
.bio-hero-wrapper {
    position: relative;
    min-height: 90vh;
    /* Almost full screen */
    background-color: #050505;
    padding-top: 180px;
    /* Space for nav */
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 3px solid var(--color-accent);
}

/* Background Texture */
.bio-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, #000 40%, transparent 100%), url('skyline transparent.png');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: 1;
}

.bio-container {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 25px;
}

/* Image Styling */
.bio-image-box {
    position: relative;
}

.bio-image-box::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 60%;
    height: 60%;
    border-top: 2px solid var(--color-accent);
    border-left: 2px solid var(--color-accent);
    z-index: 1;
}

.bio-image-box::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    height: 60%;
    border-bottom: 2px solid var(--color-accent);
    border-right: 2px solid var(--color-accent);
    z-index: 1;
}

.bio-img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(20%) contrast(110%);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

/* Content Styling */
.bio-content {
    color: #fff;
}

.bio-name {

    margin-bottom: 5px;
}

.bio-title {
    font-family: var(--font-secondary);
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 40px;
    font-size: var(--fs-h4, 1.25rem);
    font-weight: 700;
    line-height: var(--lh-headings, 1.2);
    display: block;
}

.wiki-box {
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid rgba(255, 255, 255, 0.5);
    padding: 30px;
    margin-bottom: 40px;
    backdrop-filter: blur(5px);
}

.wiki-box p {
    color: #ddd;
    margin: 0;
    font-family: var(--font-secondary);
    /* Instrument Sans */
}

.wiki-box strong {
    color: #fff;
    font-weight: 700;
}

.contact-grid {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.c-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.c-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 1.1rem;
}

.c-info {
    display: flex;
    flex-direction: column;
}

.c-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
}

.c-value {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.action-row {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Download vCard — match brand primary (global .btn uses accent border) */
.bio-hero-wrapper .action-row > a.btn {
    border-color: var(--color-primary);
    border-radius: 5px;
}

.social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
}

/* Bio Hero socials — match footer .social-link / CTA .social-circle */
.bio-hero-wrapper .social-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.4s;
}

.bio-hero-wrapper .social-btn:hover,
.bio-hero-wrapper .social-btn:focus-visible {
    background: var(--color-accent);
    color: #000;
    border-color: var(--color-accent);
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 1024px) {
    .bio-hero-wrapper {
        padding-top: 150px;
        min-height: auto;
    }

    .bio-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .bio-image-box {
        max-width: 500px;
        margin: 0 auto;
        order: 1;
    }

    /* Image below on mobile? or above? Let's keep above for personality */
    .bio-content {
        order: 2;
        text-align: center;
    }

    .wiki-box {
        text-align: left;
        /* Was 30px all sides — with .bio-container + Elementor column padding it felt too inset on tablet */
        padding: 24px 20px;
    }

    /*
     * Contact block: centered in the column, but phone + email left-align to each other
     * (fit-content width + margin auto centers the group; inner text stays left)
     */
    .bio-hero-wrapper .contact-grid {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
        width: fit-content;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .bio-hero-wrapper .contact-grid .c-item {
        align-items: flex-start;
    }

    .bio-hero-wrapper .contact-grid .c-info {
        align-items: flex-start;
        text-align: left;
    }

    .bio-hero-wrapper .contact-grid .c-value {
        word-break: break-word;
    }

    .action-row {
        justify-content: center;
        flex-direction: column;
    }

    .bio-hero-wrapper .social-row {
        justify-content: center;
    }

}

@media (max-width: 767px) {
    .bio-hero-wrapper .bio-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .bio-hero-wrapper .wiki-box {
        padding: 20px 14px;
    }

    .bio-hero-wrapper .contact-grid {
        flex-direction: column;
        gap: 22px;
        width: fit-content;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .bio-hero-wrapper .contact-grid .c-item {
        width: auto;
        max-width: min(100%, 22rem);
    }
}


/* =========================================
             MERGED LONG CONTENT SECTION
             ========================================= */
.long-content-section .container {
    max-width: 1600px;
    padding-left: 30px;
    padding-right: 150px;
}

.content-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 60px;
    position: relative;
    align-items: start;
}

.long-content-section .content-sidebar {
    align-self: start;
}

/*
 * Sticky side columns: theme html/body overflow-x:hidden breaks position:sticky in WebKit/Chromium.
 * Same fix as FAQ widget — clip avoids a root scrollport that traps sticky descendants.
 */
@media (min-width: 1025px) {

    html:has(.injury915-faq-info-sections),
    html:has(.long-content-section),
    body:has(.injury915-faq-info-sections),
    body:has(.long-content-section) {
        overflow-x: clip !important;
    }
}

@media (max-width: 1024px) {

    html:has(.injury915-faq-info-sections),
    html:has(.long-content-section),
    body:has(.injury915-faq-info-sections),
    body:has(.long-content-section) {
        overflow-x: hidden !important;
    }
}

.sticky-toc {
    position: -webkit-sticky;
    position: sticky;
    top: 120px;
    padding-left: 0;
    border-right: 1px solid var(--color-accent);
    border-left: none;
    padding-right: 20px;
    padding-bottom: 0.5rem;
    max-height: calc(100vh - 120px - 2rem);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Long Content: sticky lives on .content-sidebar (widget CSS); inner box is static */
@media (min-width: 1025px) {
    .long-content-section .content-sidebar {
        position: -webkit-sticky;
        position: sticky;
        top: 7.5rem;
        max-height: calc(100vh - 7.5rem - 2rem);
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 2;
    }

    .long-content-section .sticky-toc {
        position: static;
        max-height: none;
        overflow: visible;
    }
}

.toc-title {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    padding-right: 8px;
    color: var(--color-black);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.toc-list li {
    margin-bottom: 4px;
}

.toc-list a {
    display: block;
    color: var(--color-black);
    font-size: 1rem;
    font-family: var(--font-secondary);
    line-height: 1.4;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
    position: relative;
    padding: 7px 12px 7px 14px;
    margin-left: -2px;
    border-left: 2px solid transparent;
    text-decoration: none;
}

.toc-list a:hover {
    color: var(--color-primary);
    background: var(--color-bg-secondary);
    border-left-color: transparent;
}

.toc-list a.active {
    color: var(--color-primary);
    font-weight: 700;
    border-left-color: var(--color-accent);
    background: var(--color-bg-secondary);
}

.toc-list a::before {
    display: none;
}

.content-body {
    padding-left: 20px;
    text-align: justify;
}

/* Add padding to content */

.content-body h2 {
    font-family: var(--font-primary);
    margin-bottom: 30px;
    margin-top: 80px;
    color: var(--color-black);
    scroll-margin-top: 150px;
    /* For sticky header */
}

.content-body h2:first-child {
    margin-top: 0;
}

.content-body h3 {
    font-family: var(--font-primary);
    margin: 40px 0 20px;
    color: var(--color-black);
    border-left: 3px solid var(--color-accent);
    padding-left: 15px;
}

.content-body h3[id] {
    scroll-margin-top: 150px;
}

/* Long Content — modern tables (scoped; other widgets keep generic .content-table rules above) */
.long-content-section .long-content-table-wrap {
    width: 100%;
    margin: 1.75rem 0;
    border: 1px solid rgba(0, 71, 171, 0.18);
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-white);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 24px rgba(0, 71, 171, 0.06);
}

.long-content-section .content-body>table.content-table {
    width: 100%;
    margin: 1.75rem 0;
    border-collapse: collapse;
    border: 1px solid rgba(0, 71, 171, 0.18);
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-white);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 24px rgba(0, 71, 171, 0.06);
    font-size: 0.9375rem;
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--color-black);
}

.long-content-section .long-content-table-wrap .content-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 0.9375rem;
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--color-black);
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.long-content-section .content-table thead th {
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.85rem 1.1rem;
    text-align: left;
    vertical-align: middle;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.long-content-section .content-table thead th:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.long-content-section .content-table tbody td,
.long-content-section .content-table tbody th {
    padding: 1rem 1.1rem;
    vertical-align: top;
    text-align: left;
    border: none;
    border-bottom: 1px solid var(--color-gray-200);
    border-right: 1px solid var(--color-gray-200);
    color: var(--color-black);
    background: var(--color-white);
}

.long-content-section .content-table tbody td:last-child,
.long-content-section .content-table tbody th:last-child {
    border-right: none;
}

.long-content-section .content-table tbody tr:last-child td,
.long-content-section .content-table tbody tr:last-child th {
    border-bottom: none;
}

.long-content-section .content-table tbody tr {
    transition: background-color 0.15s ease;
}

.long-content-section .content-table tbody tr:hover {
    background: rgba(0, 123, 255, 0.07);
}

.long-content-section .content-table tbody td:first-child {
    font-weight: 500;
}

.long-content-section .content-table .badge-yes,
.long-content-section .content-table .badge-no {
    display: inline-block;
    padding: 0.25rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.long-content-section .content-table .badge-yes {
    background: rgba(220, 38, 38, 0.12);
    color: #991b1b;
}

.long-content-section .content-table .badge-no {
    background: rgba(0, 71, 171, 0.1);
    color: var(--color-primary);
}

.content-body p {
    margin-bottom: 25px;
}

/* 18px */

/* List Fixes */
.content-body ul {
    margin-bottom: 30px;
    padding-left: 40px;
    /* Increase padding for markers */
    list-style-type: disc !important;
    /* Force bullets */
}

.content-body ol {
    margin-bottom: 30px;
    padding-left: 40px;
    /* Increase padding for numbers */
    list-style-type: decimal !important;
    /* Force numbers */
}

.content-body li {
    margin-bottom: 10px;
    color: #444;
    display: list-item !important;
    /* Ensure list-item display */
}

.content-body li strong {
    color: var(--color-black);
}

.content-body a {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.content-body a:hover {
    text-decoration: underline;
}

.content-figure {
    margin: 30px 0;
    width: 100%;
}

.content-img {
    max-width: 80%;
    /* Reduced width */
    width: auto;
    height: auto;
    border-radius: 4px;
    box-shadow: var(--shadow-card);
    display: block;
    margin: 0 auto;
    /* Center image */
}

.content-caption {
    display: block;
    margin-top: 10px;
    font-size: 1rem;
    /* 16px */
    color: #666;
    text-align: center;
    font-style: italic;
    font-family: var(--font-secondary);
}

/* Lawyer image sizing is defined on .cta-card-lawyer (do not force all section imgs to 100% height) */

.action-row .btn {
    color: #fff !important;
    /*border: 1px solid #fff !important;*/
}

.whychose .btn {
    border-radius: 5px;
    color: #fff !important;
    border: 1px solid var(--color-primary) !important;
    background-color: transparent;
}

.whychose .btn:hover,
.whychose .btn:focus-visible {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #fff !important;
}

@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .sticky-toc {
        display: none;
    }

    /* Hide TOC on mobile/tablet */
    .content-body {
        padding-left: 0;
    }
}