@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Inter:wght@400;500;600;700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --primary: #000000;
    --secondary: #F8F5EF;
    --background: #ffffff;
    --footer: #000000;
    --text-primary: #000000;

    --font-heading: 'Libre Baskerville', serif;
    --font-body: 'Inter', sans-serif;

    --h1-size: 40px;
    --h1-weight: 700;
    --h2-size: 28px;
    --h2-weight: 700;
    --h3-size: 22px;
    --h3-weight: 500;
    --h4-size: 18px;
    --h4-weight: 700;

    --body-large: 18px;
    --body-reg: 16px;
    --label-accent: 14px;

    --space-4: 4px;
    --space-8: 8px;
    --space-16: 16px;
    --space-24: 24px;
    --space-32: 32px;
    --space-48: 48px;
    --space-64: 33px;
    --space-100: 100px;

    --container-max: 1440px;
}

@media (max-width: 768px) {
    :root {
        --h1-size: 32px;
        --h2-size: 24px;
        --h3-size: 22px;
        --h4-size: 18px;
    }
}

.mobile-only {
    display: none !important;
}

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

body {
    font-family: var(--font-body);
    font-size: var(--body-reg);
    color: var(--text-primary);
    background-color: var(--background);
    line-height: 1.5;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    margin-bottom: var(--space-16);
    line-height: 1.2;
}

h1 {
    font-size: var(--h1-size);
    font-weight: var(--h1-weight);
}

h2 {
    font-size: var(--h2-size);
    font-weight: var(--h2-weight);
}

h3 {
    font-size: var(--h3-size);
    font-weight: var(--h3-weight);
}

h4 {
    font-size: var(--h4-size);
    font-weight: var(--h4-weight);
}

.body-large {
    font-size: var(--body-large);
}

.label-accent {
    font-size: var(--label-accent);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-100);
}

@media (max-width: 1024px) {
    .container {
        padding: 0 var(--space-32);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-16);
    }
}

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

ul {
    list-style: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: var(--body-reg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: #333;
}

.btn-secondary {
    background-color: #fff;
    color: var(--primary);
    border-color: transparent;
}

.btn-secondary:hover {
    background-color: var(--secondary);
}

.arrow-icon {
    margin-left: var(--space-8);
    font-size: 1.2em;
    line-height: 1;
}

/* Navbar */
.navbar {
    padding: var(--space-24) 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    color: #fff;
    transform: translateY(0);
    transition: transform 0.3s ease, background 0.3s ease, padding 0.3s ease;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.65) 60%, rgba(0, 0, 0, 0) 100%);
}

.navbar.scrolled {
    background: #000000;
    padding: var(--space-16) 0;
    border-bottom: 1px solid #333;
}

.navbar.navbar-hidden {
    transform: translateY(-100%);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    margin: 0;
    font-size: 24px;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: var(--space-32);
    transition: opacity 0.3s, visibility 0.3s;
}

.navbar-container.search-is-active .nav-links {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.nav-links a {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    transition: opacity 0.3s;
    text-decoration: none;
    color: #FFFFFF;
}

.nav-links a:hover {
    opacity: 0.7;
}

.nav-dropdown-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-wrapper::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 25px;
    /* Bridge gap for hover */
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    left: -15px;
    /* Adjust as needed */
    width: 210px;
    height: 160px;
    background: #F8F5EF;
    border-radius: 0 0 4px 4px;
    display: flex;
    flex-direction: column;
    padding-top: 30px;
    gap: 27px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s, visibility 0.3s;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
}

.nav-dropdown-wrapper:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-links .nav-dropdown a {
    font-family: 'Libre Baskerville', serif;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0 0 0 27px;
    opacity: 1;
}

.nav-links .nav-dropdown a:hover {
    opacity: 0.6;
}

.header-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.header-search-wrapper::after {
    display: none;
}

.header-search-dropdown {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 686px;
    background: transparent;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s, visibility 0.3s;
}

.header-search-wrapper.is-active .header-search-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.header-search-wrapper.is-active .search-trigger {
    color: #ffffff;
}

.search-trigger {
    position: relative;
    z-index: 20;
}

.search-input-container {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 8px;
    width: 100%;
}

.search-input-container input {
    flex-grow: 1;
    border: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    outline: none;
}

.search-input-container input::placeholder {
    color: #ffffff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-16);
}

.mobile-menu,
.mobile-menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .navbar {
        margin-top: 13px;
        height: 80px;
        padding: 0 var(--space-16);
        background: transparent;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 0;
        background: transparent;
        color: inherit;
        cursor: pointer;
    }

    .hamburger-icon {
        display: block !important;
    }

    .mobile-menu {
        position: fixed;
        inset: 0;
        z-index: 10000;
        display: block;
        visibility: hidden;
        background: rgba(0, 0, 0, .35);
        opacity: 0;
        transition: opacity .2s ease, visibility .2s ease;
    }

    .mobile-menu-open .mobile-menu {
        visibility: visible;
        opacity: 1;
    }

    .mobile-menu__panel {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(92vw, 390px);
        margin: 0;
        padding: 26px 19px 34px;
        background: #f8f5ef;
        color: #111;
        transform: translateX(100%);
        transition: transform .28s ease;
        overflow-y: auto;
    }

    .mobile-menu-open .mobile-menu__panel {
        transform: translateX(0);
    }

    .mobile-menu__top {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        margin-bottom: 27px;
    }

    .mobile-menu__top img {
        width: 115px;
        height: auto;
        filter: invert(1);
    }

    .mobile-menu__close {
        padding: 0 5px;
        border: 0;
        background: transparent;
        color: #111;
        font: 25px/1 Arial, sans-serif;
        cursor: pointer;
    }

    .mobile-menu__links {
        display: block;
    }

    .mobile-menu__links a {
        display: flex;
        justify-content: space-between;
        padding: 13px 0;
        border-bottom: 1px solid #d9d5cd;
        color: #111;
        font-family: var(--font-heading);
        font-size: 14px;
        text-transform: uppercase;
    }

    .mobile-menu__chevron {
        width: 17px;
        height: 17px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .mobile-menu__socials {
        display: flex;
        justify-content: center;
        gap: 18px;
        margin-top: 31px;
    }

    .mobile-menu__socials a {
        display: inline-flex;
        width: 32px;
        height: 32px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #111;
        color: #f8f5ef;
        font: 700 16px/1 Arial, sans-serif;
    }

    .mobile-menu-open {
        overflow: hidden;
    }

    .header-search-dropdown {
        width: calc(100vw - 250px);
        padding: 10px 0;
        right: 0;
    }
}

/* Hero Section */
.hero {
    height: 750px;
    min-height: 600px;
    max-height: 90vh;
    color: #fff;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .7s ease;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0) 70%), var(--hero-image, url('/images/home-hero.png')) center/cover;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide .hero-container {
    width: 100%;
}

.hero-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    margin-top: 20vh;
    margin-left: 3px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.01em;
    color: #ffffff;
    margin-bottom: var(--space-32);
}

.hero .btn {
    width: 220px;
    height: 56px;
    padding: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}

.hero-indicators {
    position: absolute;
    bottom: var(--space-24);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--container-max);
    padding: 0 var(--space-100);
    display: flex;
    justify-content: flex-end;
    gap: var(--space-8);
    z-index: 2;
}

.hero-indicators .indicator {
    width: 74px;
    height: 5px;
    border-radius: 10px;
    border: 1px solid #FFFFFF;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.hero-indicators .indicator.active {
    background-color: #FFFFFF;
}

@media (max-width: 1024px) {
    .hero {
        padding: 0 var(--space-32);
    }

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

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 0;
        height: 80vh;
        min-height: 500px;
        max-height: 600px;
    }

    .hero-slide {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.7) 100%), var(--hero-mobile-image) var(--hero-mobile-pos, center center) / cover !important;
    }

    .hero-slide:nth-child(2),
    .hero-slide:nth-child(3) {
        --hero-mobile-pos: center center !important;
    }

    .hero h1 {
        font-family: 'Libre Baskerville', serif;
        font-weight: 600;
        font-size: 28px;
        line-height: 38px;
        letter-spacing: 0.01em;
        text-align: left;
        max-width: 320px;
        margin-bottom: 24px;
    }

    .hero-content {
        margin-top: 0;
        margin-left: 0;
        text-align: left;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-indicators {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        bottom: 35px;
        padding: 0 16px;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-indicators .indicator {
        width: 40px;
    }

    .hero .btn {
        width: 175px !important;
        height: 48px !important;
        align-self: flex-start;
        font-size: 15px;
    }
}

.hero-btn-arrow {
    width: 32px;
    height: 32px;
    vertical-align: middle;
}

/* Sections General */
.section {
    padding: var(--space-100) 0;
}

.section-title {
    text-align: left;
    margin-bottom: var(--space-48);
}

.bg-secondary {
    background-color: var(--secondary);
}

.bg-primary {
    background-color: var(--primary);
    color: #fff;
}

/* Insights Section */
.insights-section {
    padding-top: var(--space-32);
    padding-bottom: var(--space-32);
}

.insights-section .section-title {
    margin-bottom: var(--space-24);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
}

.insight-card {
    position: relative;
    height: 350px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: var(--space-32);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.insights-empty {
    grid-column: 1 / -1;
    padding: 32px;
    color: #555;
}

.insight-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
}

.insight-content {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: -20px;
    padding: 42px 20px 20px;
    box-sizing: border-box;
}

.insight-content h3 {
    /* width: 317px; */
    margin: 0;
    font-size: var(--h4-size);
    font-family: var(--font-body);
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85);
}



@media (max-width: 768px) {
    .insights-grid {
        grid-template-columns: 1fr;
    }
}

/* Practice Areas / Services */
.services-section {
    padding: 64px 0 10px;
}

.services-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-64);
    align-items: center;
}

.services-img-col {
    position: relative;
}

.services-img-col img {
    width: 85%;
    height: auto;
    display: block;
}

.services-heading {
    position: relative;
    margin-top: -80px;
    margin-left: auto;
    margin-right: 20px;
    padding-left: 0;
    margin-bottom: var(--space-32);
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 34px;
    line-height: 54px;
    letter-spacing: 0.01em;
    color: #FFFFFF;
    z-index: 2;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    width: max-content;
}

.services-links {
    display: flex;
    flex-direction: column;
}

.service-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-24) 0;
    border-bottom: 1.13px solid #FFFFFF;
    font-family: 'Libre Baskerville', serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0;
    transition: padding-left 0.3s;
}

.service-link:hover {
    padding-left: var(--space-16);
}

.service-link:last-child {
    border-bottom: none;
}

.all-practice-areas {
    display: inline-flex;
    align-items: center;
    margin-left: 0;
    margin-top: var(--space-16);
    font-family: var(--font-body);
    font-weight: 600;
    border-bottom: 1px solid #fff;
    padding-bottom: 4px;
}

@media (max-width: 1024px) {
    .services-container {
        grid-template-columns: 1fr;
    }

    .services-img-col h2 {
        margin-bottom: -39px;
        position: relative;
        bottom: 0;
        right: 0;
        width: 100%;
    }
}

/* Learn About Our Firm */
.about-section {
    padding: 25px 0;
}

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-48);
    width: 100%;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature {
    display: flex;
    gap: var(--space-24);
}

.about-left-col {
    flex: 1;
    max-width: 520px;
    width: 100%;
}

.about-section-title {
    text-align: left;
    margin-top: 0;
    margin-bottom: var(--space-32);
}

.our-firm-text {
    display: inline-block;
    margin-left: 80px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.feature-icon svg,
.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: var(--space-8);
}

.feature p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0px;
    color: #171717;
}

.about-images {
    position: relative;
    width: 620px;
    max-width: 100%;
    height: 500px;
    flex-shrink: 0;
    margin-left: auto;
}

.about-img-below {
    position: absolute;
    top: 86px;
    left: 0;
    width: 459px;
    height: 414px;
    object-fit: cover;
    z-index: 2;
    border-radius: 8px;
    margin-top: 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.about-img-up {
    position: absolute;
    top: 0;
    right: 0;
    width: 389px;
    height: 358px;
    object-fit: cover;
    z-index: 1;
    border-radius: 8px;
}

@media (max-width: 1024px) {
    .about-container {
        flex-direction: column;
        gap: var(--space-48);
    }

    .about-left-col {
        max-width: 100%;
    }

    .about-images {
        width: 100%;
        max-width: 620px;
        height: auto;
        aspect-ratio: 620 / 500;
        margin: 0 auto;
    }

    .about-img-up {
        width: 62.7%;
        height: 71.6%;
    }

    .about-img-below {
        width: 74%;
        height: 82.8%;
        top: 17.2%;
    }
}

/* Results Section */
.results-section {
    border-radius: 1px;
    padding: 30px 0;
    background-color: #F8F5EF;
}

.results-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-32);
    align-items: stretch;
}

.results-img {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/we-deliver-results.jpg') center/cover;
    padding: var(--space-48);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    min-height: 420px;
    position: relative;
    border-radius: 12px;
}

.results-img h2 {
    font-size: 34px;
    font-style: italic;
    font-family: var(--font-heading);
    line-height: 1.4;
    letter-spacing: 0.01em;
    text-align: center;
    font-weight: 700;
}

.results-img .we-deliver {
    position: absolute;
    bottom: var(--space-24);
    right: var(--space-32);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
}

.results-list {
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
    border-radius: 12px;
    position: relative;
}

.results-list::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 0;
    right: 0;
    border-bottom: 1px solid #000000;
}

.result-item {
    border-bottom: 1px solid #000000;
    margin: 0 -48px;
    padding: 24px 48px;
}

.result-item:first-child {
    padding-top: 0;
}

.result-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.result-item h4 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 32px;
    color: #000000;
    margin-bottom: var(--space-16);
    padding-bottom: 4px;
    display: inline-block;
    position: relative;
}

.result-item h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background-color: #000000;
}

.result-item h3 {
    font-size: 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 32px;
    letter-spacing: 0.02em;
    color: #171717;
}

@media (max-width: 1024px) {
    .results-container {
        grid-template-columns: 1fr;
    }
}

/* News Section */
.news-section {
    padding-top: var(--space-32);
    padding-bottom: var(--space-32);
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-48);
}

.news-header h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 34px;
    line-height: 1;
    letter-spacing: 0.01em;
    color: #000000;
    margin: 0;
    max-width: 500px;
}

.read-recent {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    border-bottom: 1px solid var(--primary);
    padding-bottom: 4px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-48) var(--space-32);
}

.news-card {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: var(--space-24);
    background: #fff;
    align-items: center;
}

.news-card img {
    height: 320px;
    width: 100%;
    object-fit: cover;
    display: block;
}

.news-card:nth-child(1) img {
    object-position: 30% center;
}

.news-card:nth-child(2) img {
    object-position: center;
}

.news-card:nth-child(3) img {
    object-position: left center;
}

.news-card:nth-child(4) img {
    object-position: right center;
}

.news-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
}

.news-content h3 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
    color: #3A3A38;
    font-family: var(--font-heading);
    margin-top: 0;
    margin-bottom: var(--space-16);
    padding-bottom: var(--space-16);
    border-bottom: 1px solid #D9D9D9;
}

.news-content p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    text-align: left;
    color: #0E0E0E;
    margin-bottom: 1px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-black {
    background-color: #000000;
    color: #FFFFFF;
    width: 150px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 400;
    align-self: flex-start;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-top: 4px;
}

@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card {
        /* already flex column */
    }
}

/* Contact Section */
.contact-section {
    position: relative;
    padding: 40px 0;
    margin-bottom: 40px;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/have-question.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
}

.contact-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    /* Overlay removed */
}

.contact-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-48);
    align-items: stretch;
}

.map-placeholder {
    background: #eff2f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-48);
    text-align: center;
    color: #445668;
    border-radius: 12px;
}

.lawyers-empty {
    grid-column: 1 / -1;
    padding: 42px;
    border: 1px solid #ddd7ce;
    background: #faf7f1;
    text-align: center;
    font-size: 18px;
}

.home-map {
    width: 100%;
    min-height: 520px;
    border: 0;
    border-radius: 12px;
    display: block;
    filter: saturate(.78) contrast(.96);
}

.map-icon {
    width: 48px;
    height: 48px;
    background: #192a3a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: var(--space-16);
}

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

.map-placeholder p {
    font-size: 14px;
    line-height: 1.5;
}

.contact-form-card {
    background: #fff;
    padding: var(--space-48);
    border-radius: 12px;
}

.contact-form-card h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    line-height: 1.2;
    color: #12222b;
    margin-bottom: var(--space-32);
    margin-top: 0;
}

.form-group {
    margin-bottom: var(--space-16);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 0.67px solid #BEBEBE;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 14px;
    background: #fff;
    color: #333;
}

.form-control::placeholder {
    color: #999;
}

.form-control:focus {
    outline: none;
    border-color: #000;
}

textarea.form-control,
textarea {
    min-height: 140px;
    resize: none;
}

.contact-form-card .btn {
    background-color: #000000;
    color: #FFFFFF;
    width: 100%;
    padding: 16px;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    border: none;
    cursor: pointer;
    margin-top: var(--space-8);
}

@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.site-footer {
    background-color: #000000;
    color: #ffffff;
    padding: var(--space-32) 0 var(--space-24) 0;
    padding-top: 15px;
}


.footer-logo {
    text-align: center;
    /* margin-bottom: var(--space-32); */
    margin-bottom: 10px;
}

.footer-logo img {
    width: 154px;
    height: 77px;
    width: 154px;
    height: 77px;
    object-fit: contain;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    width: 753px;
    max-width: 100%;
    margin: 0 auto 32px auto;
}

.site-footer hr.footer-divider:last-of-type {
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    width: 100%;
    margin: 20px 0 16px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: 16px;
}

.footer-col h4 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 800;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-col p {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-socials {
    display: flex;
    gap: var(--space-16);
}

.footer-socials a {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: opacity 0.2s;
}

.footer-socials a:hover {
    opacity: 0.8;
}

.footer-socials a svg {
    width: 24px;
    height: 24px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0;
}

.contact-info li span {
    white-space: nowrap;
}

.contact-info li a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 20px;
    transition: color 0.2s ease;
}

.contact-info li a:hover {
    color: #af8943;
    text-decoration: none;
}

.contact-info li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    text-align: center;
    color: #cccccc;
    font-size: 12px;
}

/* Attorney Page Styles */
.attorney-hero {
    position: relative;
    height: 490px;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
}

.attorney-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.attorney-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transform: scaleX(-1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.attorney-hero-content {
    position: relative;
    z-index: 2;
    padding-top: var(--space-48);
    width: 100%;
}

.hero-text-row {
    display: flex;
    align-items: center;
    gap: var(--space-32);
    max-width: 800px;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    flex-shrink: 0;
}

.title-divider {
    width: 1.5px;
    height: 135px;
    background: #FFFFFF;
}

.page-description {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.search-section {
    position: relative;
    z-index: 10;
    margin-top: -30px;
}

.search-bar-wrapper {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: var(--space-16);
    max-width: 800px;
    margin: 0 auto;
}

.search-input-group {
    display: flex;
    gap: 0;
    align-items: stretch;
}

.search-input-inner {
    flex-grow: 1;
    display: flex;
    align-items: center;
    border: 1px solid #777;
    border-right: none;
    border-radius: 4px 0 0 4px;
    padding: 0 16px;
}

.search-icon {
    color: #555;
    margin-right: 12px;
}

.search-input-inner input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    font-family: var(--font-body);
    padding: 14px 0;
}

.btn-search {
    background: #000;
    color: #fff;
    padding: 14px 40px;
    border: 1px solid #000;
    border-radius: 0 4px 4px 0;
    font-family: var(--font-heading);
    font-weight: 400;
    cursor: pointer;
    font-size: 16px;
}

.filters-section {
    padding: var(--space-24) 0 var(--space-32) 0;
}

.filters-row {
    display: flex;
    gap: 10px;
    width: 100%;
}

.custom-dropdown {
    flex: 1;
    position: relative;
    user-select: none;
}

.dropdown-header {
    width: 100%;
    background: #fff;
    border: 1px solid #000000;

    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 15px;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-header svg {
    transition: transform 0.3s ease;
}

.custom-dropdown.open .dropdown-header svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    /* Detached from header */
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #000000;
    border-radius: 4px;
    /* full rounded corners */
    z-index: 10;
    display: none;
    padding: 10px 0;
}

.custom-dropdown.open .dropdown-menu {
    display: block;
}

.dropdown-item {
    padding: 10px 16px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #000;
    cursor: pointer;
    background: #fff;
}

.dropdown-item:hover {
    background: #f8f8f8;
}

.lawyers-section {
    padding-bottom: var(--space-16);
}

.lawyers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-32);
    margin-bottom: 0;
}

.lawyer-card {
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    background: transparent;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.lawyer-card:hover {
    transform: translateY(-2px);
}

.lawyer-img {
    width: 40%;
    flex-shrink: 0;
}

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

.lawyer-info {
    padding: var(--space-24);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #F8F5EF;
    flex-grow: 1;
}

.lawyer-info h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin: 0 0 8px 0;
    color: #000;
}

.lawyer-info .title {
    font-size: 14px;
    color: #000;
    margin: 0 0 16px 0;
    font-weight: 500;
}

.lawyer-info .location,
.lawyer-info .email,
.lawyer-info .phone {
    font-size: 13px;
    color: #000;
    margin: 0 0 4px 0;
}

.load-more-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.btn-load-more {
    background: #000;
    color: #fff;
    padding: 14px 64px;
    border: none;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 16px;
    cursor: pointer;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger-icon {
        display: block !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        /* text-align: center; */
    }

    .footer-socials {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
    }

    /* Insights Mobile */
    .insights-section {
        padding-top: var(--space-16);
    }

    .insights-grid {
        grid-template-columns: 1fr;
        gap: var(--space-24);
    }

    .insight-card {
        height: 300px;
        padding: 20px 16px;
    }

    /* Global Styles */
    .mobile-only {
        display: none !important;
    }

    /* About Mobile */
    .about-section-title {
        text-align: left;
        font-family: 'Libre Baskerville', serif;
        font-weight: 700;
        font-size: 24px;
        line-height: 30px;
        letter-spacing: 1px;
        color: #000000;
        margin-bottom: var(--space-16);
    }

    .about-container {
        display: flex;
        flex-direction: column-reverse;
        gap: var(--space-16);
    }

    .about-left-col {
        margin-top: 0;
    }

    .about-features {
        gap: 12px;
    }

    .feature h4 {
        font-size: 18px;
    }

    .feature p {
        text-align: justify;
    }

    .about-img-below {
        display: none;
    }

    .about-img-up {
        position: relative;
        width: 100%;
        height: auto;
        box-shadow: none;
    }

    .our-firm-text {
        margin-left: 0;
        display: inline;
    }

    /* Results Mobile */
    .results-container {
        grid-template-columns: 1fr;
    }

    .results-img {
        height: 370px;
        min-height: 370px;
        padding: var(--space-32);
        border-radius: 0;
    }

    .results-img h2 {
        font-size: 24px;
        line-height: 44px;
    }

    .results-img .we-deliver {
        position: static;
        display: block;
        text-align: center;
        font-family: 'Libre Baskerville', serif;
        font-weight: 500;
        font-size: 18px;
        line-height: 32px;
        margin-top: 24px;
    }

    .results-list {
        padding: var(--space-24);
        border-radius: 0;
    }

    .result-item {
        margin: 0 -24px;
        padding: var(--space-24);
    }

    .result-item h4 {
        font-size: 16px;
        line-height: 32px;
    }

    .result-item h3 {
        font-family: 'Libre Baskerville', serif;
        font-weight: 700;
        font-size: 18px;
        line-height: 28px;
        letter-spacing: 0.02em;
    }

    /* News Mobile */
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-16);
        margin-bottom: var(--space-24);
    }

    .news-header h2 {
        width: 279px;
        font-family: 'Libre Baskerville', serif;
        font-weight: 700;
        font-size: 24px;
        line-height: 34px;
        letter-spacing: 0.01em;
        text-transform: capitalize;
    }

    .news-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: var(--space-24);
        padding-bottom: var(--space-16);
    }

    .news-grid::-webkit-scrollbar {
        display: none;
    }

    .news-card {
        display: flex;
        flex-direction: column;
        flex: 0 0 100%;
        scroll-snap-align: start;
    }

    .news-card img {
        height: 300px;
        width: 100%;
    }

    .news-content h3 {
        font-family: 'Libre Baskerville', serif;
        font-weight: 600;
        font-size: 20px;
        line-height: 1;
        letter-spacing: 0;
    }

    .news-content p {
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 26px;
        letter-spacing: 0;
        text-align: justify;
        color: #0E0E0E;
    }

    /* Hero Mobile */
    .hero-indicators {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        bottom: 20px;
        padding: 0 16px;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-indicators .indicator {
        width: 40px;
    }

    .hero-content {
        margin-top: 50%;
        /* Push text down a bit on mobile to match design */
    }

    /* Typography Overrides */
    .section-title {
        font-family: 'Libre Baskerville', serif;
        font-weight: 700;
        font-size: 24px;
        line-height: 34px;
        letter-spacing: 0px;
    }

    .insight-content h3 {
        width: 317px;
        font-family: 'Libre Baskerville', serif;
        font-weight: 600;
        font-size: 20px;
        line-height: 28px;
        letter-spacing: 0px;
    }

    /* Services Section Mobile */
    .mobile-only {
        display: block !important;
    }

    .desktop-only {
        display: none !important;
    }

    .services-section {
        padding-top: var(--space-24);
    }

    .services-heading {
        margin-top: var(--space-24);
        margin-bottom: 0;
        font-size: 24px;
        line-height: 34px;
        letter-spacing: 0.01em;
        text-shadow: none;
        width: 100%;
        margin-left: 0;
    }

    .services-container {
        gap: var(--space-48);
    }

    .service-link {
        font-size: 18px;
        padding: var(--space-24) 0;
    }

    .service-link img {
        width: 20px !important;
    }

    .services-img-col img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        margin: 0 auto;
        border-radius: 4px;
    }

    .all-practice-areas.mobile-only {
        margin-top: var(--space-32);
        display: inline-flex !important;
    }

    .map-placeholder {
        display: none;
    }

    .form-control {
        border: 0.67px solid #000000;
    }

    .contact-form-card {
        height: 564px;
        padding: var(--space-32) var(--space-24);
        display: flex;
        flex-direction: column;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .footer-logo img {
        margin: 0 auto;
        display: block;
    }

    .footer-col:nth-child(1) {
        text-align: left;
    }

    .footer-socials {
        justify-content: center;
        margin-top: var(--space-24);
        margin-bottom: 20px;
    }

    .footer-col:nth-child(2) .footer-links,
    .footer-col:nth-child(3) .footer-links,
    .footer-col:nth-child(4) .footer-links {
        display: none;
    }

    .footer-col:nth-child(2),
    .footer-col:nth-child(3),
    .footer-col:nth-child(4) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
        padding-bottom: 16px;
        margin-bottom: var(--space-8);
    }

    .footer-col:nth-child(2) h4,
    .footer-col:nth-child(3) h4,
    .footer-col:nth-child(4) h4 {
        margin-bottom: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        cursor: pointer;
    }

    .footer-col:nth-child(2) h4::after,
    .footer-col:nth-child(3) h4::after,
    .footer-col:nth-child(4) h4::after {
        content: '+';
        font-family: Arial, sans-serif;
        font-size: 24px;
        font-weight: 300;
        color: #ffffff;
    }

    .footer-col:nth-child(2).active .footer-links,
    .footer-col:nth-child(3).active .footer-links,
    .footer-col:nth-child(4).active .footer-links {
        display: block !important;
        margin-top: 12px;
    }

    .footer-col:nth-child(2).active h4::after,
    .footer-col:nth-child(3).active h4::after,
    .footer-col:nth-child(4).active h4::after {
        content: '−' !important;
    }

    .footer-col.contact-info {
        text-align: left;
    }

    .footer-col.contact-info li {
        justify-content: flex-start;
    }

    /* Attorney Page Mobile */
    .attorney-hero {
        height: 350px;
    }

    .hero-text-row {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-16);
    }

    .title-divider {
        display: none;
    }

    .search-input-inner {
        padding: 0 12px;
    }

    .btn-search {
        padding: 14px 20px;
    }

    .filters-row {
        flex-direction: column;
        gap: 15px;
        /* Added a small gap for vertical spacing */
    }

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

    .lawyer-card {
        flex-direction: column;
        width: 100%;
        max-width: 364px;
        height: auto;
        min-height: 343px;
        margin: 0 auto;
    }

    .lawyer-img {
        width: 100%;
        height: 360px;
    }

    .lawyer-img img {
        object-position: top center;
    }

    /* Search Highlights */
    .search-highlight {
        background-color: rgba(255, 255, 0, 0.5);
        /* Yellow */
        color: inherit;
        border-radius: 2px;
    }

    .search-highlight-active {
        background-color: rgba(255, 165, 0, 0.9);
        /* Orange */
        color: #000;
    }

    .lawyer-img img {
        object-position: top center;
    }

    .btn-load-more {
        padding: 12px 32px;
        font-size: 14px;
    }
}

/* ==========================================================================
   Attorney Detail Page Styles
   ========================================================================== */

.attorney-detail-hero {
    position: relative;
    color: #fff;
}

.hero-bg-container {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Adjust opacity as needed */
}

.hero-content-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding-top: var(--space-64);
    height: 100%;
    pointer-events: none;
    /* Let clicks pass through except on specific elements */
    z-index: 2;
    /* Ensure it stays above the overview section */
}

.hero-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-24);
    margin-top: 50px;
    margin-bottom: var(--space-32);
    pointer-events: auto;
}

.title-line {
    flex-grow: 1;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.4);
}

.lawyer-name {
    font-family: 'Libre Baskerville', serif;
    font-size: 56px;
    line-height: 70px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    white-space: nowrap;
}

.share-icon {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.share-icon:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-info-row {
    display: flex;
    align-items: flex-start;
    gap: var(--space-48);
    position: relative;
    pointer-events: auto;
    margin-top: 38px;
}

.profile-image-container {
    width: 220px;
    height: 260px;
    flex-shrink: 0;
    /* Pushing it down to overlap significantly */
    margin-bottom: -150px;
}

.profile-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    padding-top: var(--space-16);
}

.lawyer-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: var(--space-16);
}

.contact-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    font-size: 16px;
}

.contact-details svg {
    flex-shrink: 0;
    opacity: 0.8;
}

/* Overview Section */
.overview-section {
    background-color: #F8F5EF;
    padding: var(--space-32) 0 var(--space-24) 0;
    position: relative;
    z-index: 1;
    /* Below the overlapping image */
}

.overview-content {
    display: flex;
    gap: var(--space-48);
}

.profile-spacer {
    width: 220px;
    /* Same as profile image width */
    flex-shrink: 0;
}

.overview-text-container {
    flex-grow: 1;
    padding-top: var(--space-24);
    /* Align nicely */
}

.overview-text-container h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: 0.5px;
    color: #000000;
    margin-bottom: var(--space-24);
    position: relative;
    padding-bottom: 12px;
}

.overview-text-container h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 2px;
    background-color: #000000;
}

.overview-text-container p {
    font-family: 'Inter', sans-serif;
    /* or var(--font-body) if it maps to Inter */
    font-size: 18px;
    line-height: 32px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-align: justify;
    color: #000000;
    margin-bottom: 0;
}

/* Experience Section */
.experience-section {
    padding: 0 0 var(--space-32) 0;
    background: #fff;
}

.experience-section h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 44px;
    letter-spacing: 0.5px;
    color: #000000;
    margin-bottom: var(--space-24);
}

.experience-section p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 0.5px;
    text-align: justify;
    color: #000000;
    margin-bottom: var(--space-24);
    padding-left: var(--space-48);
}

.experience-list {
    list-style-type: none;
    padding-left: var(--space-48);
    margin-bottom: 0;
}

.experience-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: var(--space-16);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.5px;
    color: #000000;
}

.experience-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000;
}

/* Credentials Section */
.credentials-section {
    padding: var(--space-16) 0 var(--space-32) 0;
    background: #fff;
}

.credentials-section h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 34px;
    font-weight: 700;
    color: #000000;
    margin-bottom: var(--space-24);
    position: relative;
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.credentials-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 2px;
    background-color: #000000;
}

.credentials-section h2::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.3);
    margin-left: var(--space-32);
}

.credentials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding-left: var(--space-48);
}

.credential-column {
    padding-right: var(--space-48);
}

.admissions-col {
    border-left: 1px solid rgba(0, 0, 0, 0.3);
    padding-left: var(--space-48);
    padding-right: 0;
}

.credential-column h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 44px;
    letter-spacing: 0.5px;
    color: #000000;
    margin-bottom: var(--space-24);
}

.credential-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.credential-column ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: var(--space-16);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.5px;
    color: #000000;
}

.credential-column ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000000;
}

/* Insights And News Section */
.insights-news-section {
    padding: 0;
    background: #fff;
}

.insights-news-section h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 34px;
    font-weight: 700;
    color: #000000;
    margin-bottom: var(--space-48);
}

.insights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-family: 'Libre Baskerville', serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: #000000;
    margin-bottom: var(--space-16);
    position: relative;
    padding-bottom: 12px;
}

.insight-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.2);
}

.insight-content p {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    color: #333333;
    margin-bottom: var(--space-24);
    text-align: justify;
    flex-grow: 1;
}

.insight-content .btn-black {
    background: #000;
    color: #fff;
    padding: 10px 24px;
    text-decoration: none;
    font-family: 'Libre Baskerville', serif;
    font-size: 14px;
    display: inline-block;
    align-self: flex-start;
}

/* Responsive Attorney Detail */
@media (max-width: 768px) {
    .hero-bg-container {
        height: auto;
        min-height: 300px;
    }

    .hero-content-container {
        position: relative;
        padding-top: var(--space-32);
        padding-bottom: var(--space-32);
        background: #333;
        /* Fallback since it's not positioned over image on mobile */
    }

    .hero-bg-container {
        display: none;
        /* Hide background image on small screens for simpler layout, or adjust */
    }

    .hero-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-16);
    }

    .hero-info-row {
        flex-direction: column;
        gap: var(--space-24);
    }

    .profile-image-container {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        margin-bottom: 0;
        /* Reset overlap */
    }

    .overview-content {
        flex-direction: column;
        gap: 0;
    }

    .profile-spacer {
        display: none;
        /* Not needed when stacked */
    }

    .credentials-grid,
    .insights-grid {
        grid-template-columns: 1fr;
    }
}

/* Home Page Insights Section */
}

/* Home Page Insights Section */
.insights-section {
    padding: 16px 0;
    background-color: #fff;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
}

.insight-card {
    position: relative;
    height: 380px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.insight-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.insight-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    width: 100%;
}

.insight-content h3 {
    color: #fff;
    font-family: 'Libre Baskerville', serif;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

/* Insights Component Styles (from commercial-transactions) */
.ct-section-title {
    font-size: 34px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    font-family: 'Libre Baskerville', serif;
}

.ct-insights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.ct-insight-card {
    display: flex;
    gap: 30px;
    background: #fff;
    align-items: center;
}

.ct-insight-card img {
    width: 45%;
    flex-shrink: 0;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    display: block;
    align-self: stretch;
    border-radius: 0;
}

.ct-insight-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.ct-insight-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Libre Baskerville', serif;
    line-height: 1.3;
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
    color: #3A3A38;
}

.ct-insight-content p {
    font-size: 15px;
    color: #0E0E0E;
    margin-bottom: 7.5px;
    line-height: 22px;
    font-family: 'Inter', sans-serif;
    text-align: justify;
}

.ct-btn-black {
    background: #000;
    color: #fff;
    width: 188px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 14px;
    font-family: 'Libre Baskerville', serif;
    text-decoration: none;
    transition: all 0.3s ease-out;
}

.ct-btn-black:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {

    .ct-insights,
    .insights-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .insight-card {
        height: 260px;
    }

    .ct-insight-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .ct-insight-card img {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .ct-insight-content {
        width: 100%;
    }
}