/*
================================================
PRACTICE AREAS CSS - GARBACZ ZLOTOWITZ LAW FIRM
Elegant blue gradient design matching areas-of-practice
Mobile-first optimization
================================================
*/

/* ==========================================
   HERO SECTION (RESPONSIVE FIXES)
   ========================================== */
.practice-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a1628 0%, #1a2642 50%, #0f1d35 100%);
    padding: clamp(130px, 20vh, 160px) 0 clamp(70px, 12vh, 100px);
    overflow: hidden;
    width: 100%;
}

@media (max-width: 767px) {
    .practice-hero {
        min-height: 65vh;
        padding: clamp(100px, 18vh, 130px) 0 clamp(50px, 10vh, 70px);
    }
}

/* Elegant animated pattern overlay */
.practice-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(194, 166, 115, 0.1) 2px, rgba(194, 166, 115, 0.1) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(194, 166, 115, 0.1) 2px, rgba(194, 166, 115, 0.1) 4px);
    background-size: 50px 50px;
    animation: patternMove 20s linear infinite;
    pointer-events: none;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Elegant bottom gradient line */
.practice-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(194, 166, 115, 0.4) 50%, 
        transparent 100%);
}

.practice-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: min(900px, 95vw);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
    box-sizing: border-box;
}

.practice-category {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.7rem, 1.2vw, 0.75rem);
    font-weight: 600;
    letter-spacing: clamp(2px, 0.5vw, 3px);
    text-transform: uppercase;
    color: #c2a673;
    margin-bottom: 2rem;
    padding: clamp(0.45rem, 1vw, 0.5rem) clamp(1.25rem, 3vw, 1.5rem);
    border: 1px solid rgba(194, 166, 115, 0.3);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    background: rgba(194, 166, 115, 0.1);
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: nowrap;
}

.practice-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    max-width: 100%;
    word-wrap: break-word;
}

.practice-hero-description {
    font-size: clamp(1.125rem, 2.5vw, 1.35rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
    max-width: min(700px, 90vw);
    margin: 0 auto;
    font-weight: 300;
}

/* ==========================================
   MAIN CONTENT SECTION (RESPONSIVE FIXES)
   ========================================== */
.practice-content-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: #ffffff;
    overflow-x: hidden;
    width: 100%;
}

.practice-content {
    max-width: min(820px, 95vw);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
    box-sizing: border-box;
}

.practice-intro {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.9;
    color: #555;
    margin-bottom: 0;
    max-width: 100%;
}

@media (min-width: 768px) {
    .practice-intro {
        font-size: clamp(1.1rem, 2vw, 1.15rem);
        line-height: 2;
    }
}

.practice-intro p {
    max-width: 100%;
    margin-bottom: 2rem;
    color: #555;
    box-sizing: border-box;
}

.practice-intro p:last-child {
    margin-bottom: 0;
}

.practice-intro p:first-child {
    font-size: clamp(1.15rem, 2.2vw, 1.2rem);
    color: #0a1628;
    line-height: 1.8;
    font-weight: 500;
}

@media (min-width: 768px) {
    .practice-intro p:first-child {
        font-size: clamp(1.2rem, 2.2vw, 1.25rem);
    }
}

/* ==========================================
   SERVICES/BULLET LIST SECTION (RESPONSIVE FIXES)
   ========================================== */
.practice-services {
    margin-top: clamp(4rem, 8vw, 5rem);
    padding-top: clamp(4rem, 8vw, 5rem);
    border-top: 1px solid rgba(194, 166, 115, 0.2);
    max-width: 100%;
}

.practice-services h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    color: #c2a673;
    margin-bottom: 3rem;
    font-weight: 700;
    line-height: 1.2;
    max-width: 100%;
    word-wrap: break-word;
}

/* Bullet List */
.bullet-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 100%;
}

.bullet-item {
    display: flex;
    align-items: flex-start;
    gap: clamp(1.25rem, 3vw, 1.5rem);
    padding: clamp(1.1rem, 3vw, 1.75rem) 0;
    border-bottom: 1px solid rgba(194, 166, 115, 0.15);
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
}

@media (min-width: 768px) {
    .bullet-item {
        padding: clamp(1.75rem, 4vw, 2rem) 0;
    }
}

.bullet-item:first-child {
    border-top: 1px solid rgba(194, 166, 115, 0.15);
}

.bullet-item:hover {
    padding-left: clamp(0.25rem, 1vw, 0.5rem);
    border-bottom-color: rgba(194, 166, 115, 0.3);
}

.bullet-item:hover .bullet-icon svg {
    stroke: #d4b980;
    transform: scale(1.1);
}

.bullet-icon {
    flex-shrink: 0;
    width: clamp(20px, 4vw, 24px);
    height: clamp(20px, 4vw, 24px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}

.bullet-icon svg {
    width: clamp(18px, 3.5vw, 20px);
    height: clamp(18px, 3.5vw, 20px);
    stroke: #c2a673;
    stroke-width: 2.5;
    transition: all 0.3s ease;
}

.bullet-content {
    flex: 1;
    min-width: 0;
}

.bullet-content p {
    font-size: clamp(1rem, 2vw, 1.075rem);
    line-height: 1.7;
    color: #333;
    margin: 0;
    max-width: 100%;
}

.bullet-content h4 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.075rem, 2vw, 1.125rem);
    font-weight: 600;
    color: #0a1628;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    max-width: 100%;
    word-wrap: break-word;
}

/* ==========================================
   EDITORIAL PRACTICE DETAIL PAGES
   ========================================== */
.practice-detail-hero {
    isolation: isolate;
    min-height: clamp(620px, 78vh, 820px);
    background:
        radial-gradient(circle at 72% 42%, rgba(194, 166, 115, 0.18), transparent 32%),
        linear-gradient(135deg, #07121c 0%, #15223a 56%, #07121c 100%);
}

.practice-detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.14;
    transform: none;
    animation: none;
    background:
        linear-gradient(90deg, rgba(194, 166, 115, 0.12) 0 1px, transparent 1px 100%);
    pointer-events: none;
}

.practice-hero-watermark {
    position: absolute;
    left: 50%;
    top: 53%;
    z-index: 1;
    width: min(44vw, 620px);
    aspect-ratio: 1.9;
    background: url("../images/brand/gzr-monogram-white.png") center / contain no-repeat;
    opacity: var(--hero-mark-opacity, 0.085);
    pointer-events: none;
    transform: translate(-50%, -50%) translateY(var(--hero-mark-y, 0px)) scale(var(--hero-mark-scale, 1));
    transform-origin: center;
    filter: blur(var(--hero-mark-blur, 0px));
    transition: opacity 0.16s linear, transform 0.16s linear, filter 0.16s linear;
    will-change: opacity, transform, filter;
}

.practice-detail-hero .practice-hero-content {
    max-width: min(980px, 95vw);
}

.practice-detail-hero h1 {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.practice-detail-content {
    background:
        linear-gradient(90deg, rgba(10, 22, 40, 0.035) 0 1px, transparent 1px 100%),
        linear-gradient(180deg, #f8f5ef 0%, #ffffff 100%);
    background-size: 86px 100%, 100% 100%;
}

.practice-detail-content .container {
    max-width: min(1180px, calc(100vw - 2rem));
}

.practice-detail {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(330px, 0.74fr) minmax(0, 1.16fr);
    column-gap: clamp(2.2rem, 6vw, 5rem);
    row-gap: clamp(2rem, 4vw, 3rem);
    align-items: start;
}

.practice-detail .practice-intro {
    position: relative;
    padding: clamp(0.5rem, 1vw, 0.75rem) 0 clamp(0.5rem, 1vw, 0.75rem) clamp(1.35rem, 3vw, 2rem);
    border-left: 3px solid var(--color-accent);
}

.practice-detail .practice-intro::after {
    content: "";
    position: absolute;
    left: clamp(1.35rem, 3vw, 2rem);
    right: 0;
    bottom: -1.2rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(194, 166, 115, 0.5), transparent);
}

.practice-detail .practice-intro p {
    color: #364252;
    font-size: clamp(1rem, 1.7vw, 1.08rem);
    line-height: 1.82;
}

.practice-detail .practice-intro p:first-child {
    color: #0a1628;
    font-size: clamp(1.18rem, 2vw, 1.36rem);
    line-height: 1.68;
    font-weight: 600;
}

.practice-detail .practice-services {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.practice-detail .practice-services h3 {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1rem;
    color: #0a1628;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.04;
    margin-bottom: clamp(1.35rem, 3vw, 2rem);
}

.practice-detail .practice-services h3::after {
    content: "";
    height: 1px;
    background: linear-gradient(90deg, rgba(194, 166, 115, 0.72), transparent);
}

.practice-detail .bullet-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(1.5rem, 4vw, 3rem);
    border-top: 1px solid rgba(194, 166, 115, 0.22);
}

.practice-detail .bullet-item {
    display: grid;
    grid-template-columns: 1.6rem minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
    padding: clamp(1rem, 2.4vw, 1.35rem) 0;
    border-bottom: 1px solid rgba(194, 166, 115, 0.22);
}

.practice-detail .bullet-item:first-child {
    border-top: 0;
}

.practice-detail .bullet-item:hover {
    padding-left: 0.25rem;
}

.practice-detail .bullet-icon {
    width: 1.55rem;
    height: 1.55rem;
    margin-top: 0.18rem;
    border: 1px solid rgba(194, 166, 115, 0.42);
    background: rgba(255, 250, 240, 0.86);
}

.practice-detail .bullet-icon svg {
    width: 1rem;
    height: 1rem;
}

.practice-detail .bullet-content p {
    color: #303c49;
    font-size: clamp(0.98rem, 1.4vw, 1.04rem);
    line-height: 1.68;
}

.practice-detail .bullet-content strong {
    color: #0a1628;
}

@media (max-width: 1000px) {
    .practice-detail {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .practice-detail-hero {
        min-height: 66vh;
    }

    .practice-detail-hero::before {
        opacity: 0.12;
        background:
            linear-gradient(90deg, rgba(194, 166, 115, 0.1) 0 1px, transparent 1px 100%);
    }

    .practice-hero-watermark {
        top: 52%;
        width: 92vw;
        opacity: var(--hero-mark-opacity, 0.055);
    }

    .practice-detail .bullet-list {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .practice-hero-watermark {
        transition: none;
        transform: translate(-50%, -50%);
        filter: none;
    }
}

/* ==========================================
   LITIGATION DEFENSE PAGE REFINEMENT
   ========================================== */
.litigation-defense-content {
    background:
        linear-gradient(90deg, rgba(10, 22, 40, 0.035) 0 1px, transparent 1px 100%),
        linear-gradient(180deg, #f8f5ef 0%, #ffffff 100%);
    background-size: 86px 100%, 100% 100%;
}

.litigation-defense-content .container {
    max-width: min(1180px, calc(100vw - 2rem));
}

.litigation-defense-content .defense-content {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
    column-gap: clamp(2rem, 6vw, 5rem);
    row-gap: clamp(2rem, 4vw, 3rem);
    align-items: start;
}

.litigation-defense-content .practice-intro {
    color: #364252;
}

.litigation-defense-content .practice-intro p {
    color: #364252;
}

.litigation-defense-content .practice-intro > p:first-child {
    color: #0a1628;
    font-size: clamp(1.22rem, 2vw, 1.42rem);
    line-height: 1.65;
    font-weight: 600;
}

.litigation-defense-content .defense-content > .practice-intro {
    padding: clamp(1.6rem, 3vw, 2.25rem);
    border-left: 3px solid var(--color-accent);
    background:
        linear-gradient(135deg, rgba(194, 166, 115, 0.12), transparent 42%),
        #ffffff;
    box-shadow: 0 20px 50px rgba(10, 22, 40, 0.08);
}

.litigation-defense-content .practice-services {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.litigation-defense-content .practice-services:first-of-type {
    margin-top: 0;
}

.litigation-defense-content .practice-services h3 {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1rem;
    color: #0a1628;
    font-size: clamp(2rem, 4vw, 3.1rem);
    margin-bottom: clamp(1.35rem, 3vw, 2rem);
}

.litigation-defense-content .practice-services h3::after {
    content: "";
    height: 1px;
    background: linear-gradient(90deg, rgba(194, 166, 115, 0.7), transparent);
}

.litigation-defense-content .defense-section {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
    gap: clamp(1.75rem, 5vw, 4rem);
    padding: clamp(2rem, 5vw, 3.5rem) 0;
    border-top: 1px solid rgba(194, 166, 115, 0.25);
}

.litigation-defense-content .defense-section h3 {
    align-self: start;
}

.litigation-defense-content .defense-section h3::after {
    display: none;
}

.litigation-defense-content .defense-section .practice-intro,
.litigation-defense-content .defense-section .bullet-list {
    min-width: 0;
}

.litigation-defense-content .defense-section .practice-intro {
    font-size: 1rem;
    line-height: 1.8;
}

.litigation-defense-content .defense-section .bullet-list {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(2rem, 5vw, 4rem);
    margin-top: clamp(0.25rem, 1vw, 0.75rem);
}

.litigation-defense-content .bullet-list {
    border-top: 1px solid rgba(194, 166, 115, 0.2);
}

.litigation-defense-content .bullet-item {
    gap: 1.15rem;
    padding: clamp(1rem, 2vw, 1.35rem) 0;
    border-bottom: 1px solid rgba(194, 166, 115, 0.2);
}

.litigation-defense-content .bullet-item:hover {
    padding-left: 0.25rem;
}

.litigation-defense-content .bullet-icon {
    width: 1.6rem;
    height: 1.6rem;
    margin-top: 0.18rem;
    border: 1px solid rgba(194, 166, 115, 0.38);
    background: #fffaf0;
}

.litigation-defense-content .bullet-icon svg {
    width: 1rem;
    height: 1rem;
}

.litigation-defense-content .bullet-content p {
    color: #303c49;
    font-size: clamp(0.98rem, 1.5vw, 1.06rem);
    line-height: 1.7;
}

.litigation-defense-content .bullet-content strong {
    color: #0a1628;
    font-weight: 700;
}

@media (max-width: 900px) {
    .litigation-defense-content .defense-content,
    .litigation-defense-content .defense-section {
        grid-template-columns: 1fr;
    }

    .litigation-defense-content .defense-section .bullet-list {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   CTA SECTION (RESPONSIVE FIXES)
   ========================================== */
.practice-cta-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, #0a1628 0%, #1a2642 100%);
    border-top: 1px solid rgba(194, 166, 115, 0.2);
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Subtle pattern overlay */
.practice-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(194, 166, 115, 0.1) 2px, rgba(194, 166, 115, 0.1) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(194, 166, 115, 0.1) 2px, rgba(194, 166, 115, 0.1) 4px);
    background-size: 50px 50px;
    pointer-events: none;
}

.practice-cta-content {
    max-width: min(700px, 95vw);
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 clamp(1rem, 3vw, 2rem);
    box-sizing: border-box;
}

.practice-cta-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    max-width: 100%;
    word-wrap: break-word;
}

.practice-cta-content p {
    font-size: clamp(1.05rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: clamp(2.5rem, 5vw, 3rem);
    max-width: 100%;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

@media (min-width: 768px) {
    .cta-buttons {
        flex-direction: row;
        gap: 1.5rem;
    }
}

.cta-buttons .cta-button {
    width: 100%;
    max-width: min(260px, 90vw);
    justify-content: center;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .cta-buttons .cta-button {
        width: auto;
        min-width: 200px;
    }
}

/* ==========================================
   FOOTER STYLES (RESPONSIVE FIXES)
   ========================================== */
#main-footer {
    background: linear-gradient(135deg, #0a1628 0%, #1a2642 100%);
    border-top: 1px solid rgba(194, 166, 115, 0.2);
    overflow-x: hidden;
    width: 100%;
}

.footer-top {
    padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(1.5rem, 3vw, 2rem);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2.5rem, 5vw, 3rem);
    max-width: 100%;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 3rem;
    }
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: clamp(40px, 6vw, 45px);
    width: auto;
}

.footer-column-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.15rem, 2.2vw, 1.25rem);
    color: #c2a673;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(0.9rem, 1.5vw, 0.95rem);
    transition: color 0.2s ease;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(0.9rem, 1.5vw, 0.95rem);
}

.footer-contact svg {
    color: #c2a673;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: #c2a673;
}

.footer-tagline {
    font-size: clamp(0.9rem, 1.5vw, 0.95rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: min(300px, 100%);
    margin-top: 1rem;
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(194, 166, 115, 0.2);
    margin-top: 3rem;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: clamp(0.8rem, 1.5vw, 0.85rem);
    color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        gap: 2rem;
    }
}

.footer-copyright {
    margin: 0;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

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

.footer-divider {
    color: rgba(194, 166, 115, 0.3);
}

.credit-bar {
    background: linear-gradient(135deg, #071221 0%, #0f1b30 100%);
    padding: 1rem 0;
    text-align: center;
    font-size: clamp(0.75rem, 1.2vw, 0.8rem);
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(194, 166, 115, 0.15);
}

.credit-bar a {
    color: #c2a673;
    text-decoration: none;
    transition: color 0.2s ease;
}

.credit-bar a:hover {
    color: #d4b980;
}

/* ==========================================
   MOBILE OPTIMIZATIONS (ENHANCED)
   ========================================== */
@media (max-width: 767px) {
    /* Ensure text is readable on mobile */
    .practice-intro,
    .bullet-content p {
        font-size: clamp(0.95rem, 2vw, 1rem);
        line-height: 1.7;
    }
    
    /* Optimize touch targets */
    .cta-button {
        min-height: 48px;
        padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2rem);
    }
    
    /* Better spacing on mobile */
    .bullet-item {
        padding: clamp(1rem, 2vw, 1.1rem) clamp(1rem, 3vw, 1.25rem);
    }
    
    .practice-hero-content {
        padding: 0 1rem;
    }
    
    .practice-content {
        padding: 0 1rem;
    }
    
    .practice-cta-content {
        padding: 0 1rem;
    }
}

/* ==========================================
   ACCESSIBILITY & PERFORMANCE (ENHANCED)
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    .bullet-item,
    .cta-button,
    .practice-hero::before,
    * {
        transition: none !important;
        animation: none !important;
    }
}

@media (prefers-contrast: high) {
    .practice-category,
    .bullet-item {
        border-color: #C8A862;
    }
    
    .bullet-content p {
        color: #000000;
    }
    
    .practice-hero h1,
    .practice-cta-content h2 {
        color: #FFFFFF;
    }
}

/* Print styles */
@media print {
    .practice-hero {
        min-height: auto;
        padding: 2rem 0;
        page-break-after: avoid;
        background: none !important;
    }
    
    .practice-cta-section,
    .credit-bar {
        display: none;
    }
    
    .bullet-item {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    .practice-content-section {
        page-break-before: avoid;
    }
    
    .practice-hero h1,
    .practice-cta-content h2 {
        color: #000000 !important;
    }
    
    .practice-hero-description,
    .practice-cta-content p {
        color: #333333 !important;
    }
}

/* ==========================================
   ADDITIONAL RESPONSIVE FIXES
   ========================================== */

/* Ensure no horizontal overflow at any zoom level */
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Fix for very small screens */
@media (max-width: 320px) {
    .practice-category {
        font-size: 0.65rem;
        padding: 0.4rem 1rem;
        letter-spacing: 1.5px;
    }
    
    .bullet-item {
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .bullet-icon {
        width: 18px;
        height: 18px;
    }
    
    .bullet-icon svg {
        width: 16px;
        height: 16px;
    }
}

/* Fix for large screens */
@media (min-width: 1600px) {
    .practice-hero-content,
    .practice-content,
    .practice-cta-content {
        max-width: min(1200px, 90vw);
    }
}
