/* Uses variables from css/style.css */
body {
    background-color: var(--color-white);
    color: var(--color-dark);
}

/* --- LAYOUT & HEADER --- */
.attorney-layout {
    display: flex;
    width: 100%;
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    padding-top: var(--nav-height);
}
.header-main .nav-content {
    display: flex; /* Simplified for mobile */
    align-items: center;
}
.header-main .mobile-toggle {
    display: none;
} /* Hide hamburger on this page */

/* --- LEFT PANEL (Compacted) --- */
.left-panel {
    width: 30%;
    min-width: 380px; /* Prevent it from getting too squished */
    flex-shrink: 0;
    height: calc(100vh - var(--nav-height));
    position: sticky;
    top: var(--nav-height);
    background-color: var(--color-white);
}

.sticky-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px; /* Reduced padding */
}

/* Identity Section (Smaller) */
.identity-block {
    margin-bottom: 15px;
}
.small-tag {
    font-size: 0.7rem;
    margin-bottom: 10px;
}
.name-first,
.name-last {
    font-size: 2.8rem;
} /* Reduced font size */
.role-title {
    font-size: 0.9rem;
}

/* Navigation Lines (Tighter) */
.attorney-nav {
    display: flex;
    flex-direction: column;
    margin: 15px 0;
}
.nav-line {
    padding: 12px 0;
} /* Reduced padding */
.line-num {
    margin-right: 15px;
}
.line-text {
    font-size: 1rem;
} /* Reduced font size */
.nav-line.active {
    transform: translateX(5px);
}

/* Footer Section (Compacted) */
.panel-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}
.contact-actions {
    margin-bottom: 15px;
}
.btn-contact {
    width: 100%;
    padding: 12px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 2px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.btn-contact:hover {
    background-color: #0077d9;
}
.social-links {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 1.5rem;
}
.social-links a {
    color: var(--color-text-muted);
}
.social-links a:hover {
    color: var(--color-primary);
}

/* --- DIVIDER & RIGHT PANEL --- */
.vertical-divider {
    width: 1px;
    background-color: #e2e8f0;
}
.right-content {
    width: 70%;
    flex-grow: 1;
    padding: 40px 60px; /* Reduced padding */
    background-color: var(--bg-light);
}
.hero-image-container {
    width: 100%;
    height: 450px; /* Reduced height */
    margin-bottom: 60px;
}
.attorney-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.content-section {
    margin-bottom: 60px;
    scroll-margin-top: 100px;
}
.section-heading {
    font-family: var(--font-heading);
    font-size: 2rem; /* Reduced font size */
    font-weight: 700;
    color: var(--color-text-black);
    margin-bottom: 25px;
}
.body-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-dark);
    margin-bottom: 20px;
    max-width: 800px;
}

/* New Section Styles */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tag {
    background-color: #e2e8f0;
    color: var(--color-dark);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}
.publication-list {
    list-style: none;
}
.publication-list li {
    border-bottom: 1px solid #e2e8f0;
}
.publication-list a {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    font-weight: 600;
    color: var(--color-dark);
    text-decoration: none;
}
.publication-list a:hover {
    color: var(--color-primary);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .attorney-layout {
        flex-direction: column;
    }
    .left-panel {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
        border-bottom: 1px solid #e2e8f0;
    }
    .sticky-wrapper {
        padding: 40px 20px;
    }
    .attorney-nav {
        display: none;
    }
    .vertical-divider {
        display: none;
    }
    .right-content {
        width: 100%;
        padding: 40px 20px;
    }
}
