/* =========================================================
   LAWYERS DIRECTORY
   A.A. Dewan & Co.
========================================================= */

.lawyers-page{
    --law-bg:#ffffff;
    --law-card:#ffffff;
    --law-soft:#f7faef;
    --law-dark:#071019;
    --law-ink:#111827;
    --law-text:#4d5a68;
    --law-muted:#74808c;
    --law-line:#dce5d0;
    --law-green:#9CDF20;
    --law-green-dark:#527d18;
    --law-shadow:0 18px 45px rgba(14,24,35,.08);

    background:var(--law-bg);
    color:var(--law-text);
}

.lawyers-wrap{
    width:min(1180px,calc(100% - 40px));
    margin:0 auto;
}


/* =========================================================
   COMMON
========================================================= */

.lawyers-eyebrow{
    display:inline-block;
    color:var(--law-green-dark);
    font-size:12px;
    font-weight:800;
    line-height:1.3;
    letter-spacing:.10em;
    text-transform:uppercase;
}

.lawyers-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:28px;
}

.lawyers-btn{
    min-height:50px;
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:12px 22px;

    border:1px solid transparent;
    border-radius:8px;

    font-size:14px;
    font-weight:800;
    line-height:1;

    text-decoration:none;

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.lawyers-btn:hover{
    transform:translateY(-2px);
}

.lawyers-btn--primary{
    background:var(--law-green);
    border-color:var(--law-green);
    color:#071019;
}

.lawyers-btn--primary:hover{
    background:#a7e932;
    border-color:#a7e932;
    color:#071019;
}

.lawyers-btn--secondary{
    background:transparent;
    border-color:var(--law-line);
    color:var(--law-ink);
}

.lawyers-btn--secondary:hover{
    border-color:var(--law-green);
    color:var(--law-green-dark);
}


/* =========================================================
   HERO
========================================================= */

.lawyers-hero{
    position:relative;
    overflow:hidden;

    padding:52px 0 68px;

    background:
        radial-gradient(
            circle at 88% 10%,
            rgba(156,223,32,.10),
            transparent 28%
        ),
        var(--law-bg);
}

.lawyers-breadcrumb{
    display:flex;
    align-items:center;
    gap:9px;

    margin-bottom:36px;

    color:var(--law-muted);
    font-size:13px;
}

.lawyers-breadcrumb a{
    color:var(--law-green-dark);
    font-weight:700;
    text-decoration:none;
}

.lawyers-breadcrumb a:hover{
    text-decoration:underline;
}

.lawyers-hero__grid{
    display:grid;
    grid-template-columns:minmax(0,1.45fr) minmax(310px,.55fr);
    gap:60px;
    align-items:center;
}

.lawyers-hero__content{
    max-width:780px;
}

.lawyers-hero h1{
    margin:10px 0 20px;

    color:var(--law-ink);

    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(44px,5.2vw,68px);
    font-weight:700;
    line-height:1.02;
    letter-spacing:-.035em;
}

.lawyers-hero__lead{
    max-width:750px;
    margin:0;

    color:var(--law-text);

    font-size:16px;
    line-height:1.8;
}


/* =========================================================
   HERO PANEL
========================================================= */

.lawyers-hero__panel{
    position:relative;

    padding:30px;

    border:1px solid var(--law-line);
    border-radius:18px;

    background:var(--law-card);

    box-shadow:var(--law-shadow);
}

.lawyers-hero__panel::before{
    content:"";

    position:absolute;
    left:0;
    top:30px;

    width:4px;
    height:62px;

    border-radius:0 4px 4px 0;

    background:var(--law-green);
}

.lawyers-hero__panel > span{
    display:block;

    margin-bottom:9px;

    color:var(--law-green-dark);

    font-size:11px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.lawyers-hero__panel h2{
    margin:0 0 14px;

    color:var(--law-ink);

    font-family:Georgia,"Times New Roman",serif;
    font-size:27px;
    line-height:1.2;
}

.lawyers-hero__panel > p{
    margin:0;

    color:var(--law-text);

    font-size:13px;
    line-height:1.7;
}

.lawyers-hero__panel-meta{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;

    margin-top:24px;
    padding-top:21px;

    border-top:1px solid var(--law-line);
}

.lawyers-hero__panel-meta div{
    min-width:0;
}

.lawyers-hero__panel-meta strong{
    display:block;

    color:var(--law-ink);

    font-size:12px;
    line-height:1.4;
}

.lawyers-hero__panel-meta small{
    display:block;

    margin-top:3px;

    color:var(--law-muted);

    font-size:10px;
}


/* =========================================================
   TRUST STRIP
========================================================= */

.lawyers-trust{
    padding:0 0 34px;

    background:var(--law-bg);
}

.lawyers-trust__grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);

    overflow:hidden;

    border:1px solid var(--law-line);
    border-radius:15px;

    background:var(--law-card);
}

.lawyers-trust__grid > div{
    position:relative;

    padding:22px 24px;
}

.lawyers-trust__grid > div:not(:last-child)::after{
    content:"";

    position:absolute;
    top:25%;
    right:0;

    width:1px;
    height:50%;

    background:var(--law-line);
}

.lawyers-trust strong{
    display:block;

    color:var(--law-ink);

    font-size:14px;
    line-height:1.35;
}

.lawyers-trust span{
    display:block;

    margin-top:5px;

    color:var(--law-muted);

    font-size:11px;
}


/* =========================================================
   TEAM SECTION
========================================================= */

.lawyers-team{
    padding:80px 0;

    background:var(--law-soft);
}

.lawyers-section-head{
    max-width:760px;

    margin-bottom:34px;
}

.lawyers-section-head h2{
    margin:9px 0 13px;

    color:var(--law-ink);

    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(34px,4vw,46px);
    line-height:1.08;
}

.lawyers-section-head p{
    margin:0;

    color:var(--law-text);

    font-size:14px;
    line-height:1.75;
}


/* =========================================================
   LAWYER GRID
========================================================= */

.lawyers-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
}

.lawyer-directory-card{
    display:block;

    overflow:hidden;

    border:1px solid var(--law-line);
    border-radius:16px;

    background:var(--law-card);
    color:inherit;

    text-decoration:none;

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.lawyer-directory-card:hover{
    transform:translateY(-5px);

    border-color:#bdd596;

    box-shadow:var(--law-shadow);
}

.lawyer-directory-card article{
    height:100%;
}

.lawyer-directory-card__image{
    position:relative;

    overflow:hidden;

    aspect-ratio:1 / 1;

    background:#eef1f2;
}

.lawyer-directory-card__image img{
    display:block;

    width:100%;
    height:100%;

    object-fit:cover;
    object-position:center top;

    transition:transform .35s ease;
}

.lawyer-directory-card:hover img{
    transform:scale(1.025);
}


/* CARD ARROW */

.lawyer-directory-card__arrow{
    position:absolute;
    top:14px;
    right:14px;

    display:grid;
    place-items:center;

    width:39px;
    height:39px;

    border:1px solid rgba(255,255,255,.80);
    border-radius:50%;

    background:rgba(255,255,255,.92);

    color:#111827;

    font-size:17px;
    font-weight:800;

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.lawyer-directory-card:hover
.lawyer-directory-card__arrow{
    transform:translate(2px,-2px);

    background:var(--law-green);
    border-color:var(--law-green);
}


/* =========================================================
   CARD CONTENT
========================================================= */

.lawyer-directory-card__content{
    padding:22px 22px 24px;
}

.lawyer-directory-card__credential{
    display:block;

    margin-bottom:8px;

    color:var(--law-green-dark);

    font-size:10px;
    font-weight:900;
    letter-spacing:.055em;
    text-transform:uppercase;
}

.lawyer-directory-card h3{
    margin:0 0 6px;

    color:var(--law-ink);

    font-family:Georgia,"Times New Roman",serif;
    font-size:23px;
    line-height:1.18;
}

.lawyer-directory-card__role{
    margin:0 0 11px;

    color:var(--law-green-dark);

    font-size:12px;
    font-weight:800;
    line-height:1.45;
}

.lawyer-directory-card__focus{
    min-height:64px;

    margin:0 0 17px;

    color:var(--law-text);

    font-size:12px;
    line-height:1.65;
}

.lawyer-directory-card__link{
    display:inline-flex;
    align-items:center;
    gap:7px;

    color:var(--law-ink);

    font-size:12px;
    font-weight:800;
}

.lawyer-directory-card__link b{
    color:var(--law-green-dark);

    font-size:16px;

    transition:transform .2s ease;
}

.lawyer-directory-card:hover
.lawyer-directory-card__link{
    color:var(--law-green-dark);
}

.lawyer-directory-card:hover
.lawyer-directory-card__link b{
    transform:translateX(4px);
}


/* =========================================================
   EXPERTISE
========================================================= */

.lawyers-expertise{
    padding:78px 0;

    background:var(--law-bg);
}

.lawyers-expertise__box{
    display:grid;
    grid-template-columns:minmax(280px,.85fr) minmax(0,1.15fr);
    gap:56px;

    padding:38px;

    border:1px solid var(--law-line);
    border-radius:20px;

    background:var(--law-card);
}

.lawyers-expertise__intro h2{
    margin:9px 0 14px;

    color:var(--law-ink);

    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(31px,3.4vw,42px);
    line-height:1.1;
}

.lawyers-expertise__intro p{
    margin:0;

    color:var(--law-text);

    font-size:14px;
    line-height:1.75;
}

.lawyers-expertise__links{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:11px;
}

.lawyers-expertise__links a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;

    min-height:57px;

    padding:14px 17px;

    border:1px solid var(--law-line);
    border-radius:10px;

    background:var(--law-soft);

    color:var(--law-ink);

    font-size:12px;
    font-weight:800;

    text-decoration:none;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.lawyers-expertise__links a:hover{
    transform:translateX(2px);

    border-color:#bfd696;

    background:var(--law-card);
}

.lawyers-expertise__links span{
    color:var(--law-green-dark);

    font-size:17px;
}


/* =========================================================
   FINAL CTA
========================================================= */

.lawyers-final-cta{
    padding:0 0 78px;

    background:var(--law-bg);
}

.lawyers-final-cta__inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:45px;

    padding:38px 42px;

    border-radius:20px;

    background:#071019;

    color:#ffffff;
}

.lawyers-final-cta .lawyers-eyebrow{
    color:#baf15d;
}

.lawyers-final-cta h2{
    margin:7px 0 7px;

    color:#ffffff;

    font-family:Georgia,"Times New Roman",serif;
    font-size:31px;
    line-height:1.15;
}

.lawyers-final-cta p{
    margin:0;

    color:#b9c4cd;

    font-size:13px;
}

.lawyers-final-cta .lawyers-actions{
    flex-shrink:0;

    margin-top:0;
}

.lawyers-btn--dark{
    border-color:#344755;

    background:#0d1924;

    color:#ffffff;
}

.lawyers-btn--dark:hover{
    border-color:#9CDF20;

    color:#ffffff;
}


/* =========================================================
   DARK MODE
========================================================= */

html[data-theme="dark"] .lawyers-page,
body.dark-mode .lawyers-page{

    --law-bg:#071019;
    --law-card:#0d1924;
    --law-soft:#09141e;

    --law-ink:#f5f7fa;
    --law-text:#d0dae2;
    --law-muted:#9ca9b4;

    --law-line:#263846;

    --law-green-dark:#b5ed56;

    background:#071019;
}


html[data-theme="dark"] .lawyers-team,
body.dark-mode .lawyers-team{
    background:#09141e;
}


html[data-theme="dark"]
.lawyer-directory-card__image,
body.dark-mode
.lawyer-directory-card__image{
    background:#14202a;
}


html[data-theme="dark"]
.lawyer-directory-card__arrow,
body.dark-mode
.lawyer-directory-card__arrow{
    border-color:#3a4d5b;
    background:#0d1924;
    color:#ffffff;
}


html[data-theme="dark"]
.lawyer-directory-card:hover
.lawyer-directory-card__arrow,
body.dark-mode
.lawyer-directory-card:hover
.lawyer-directory-card__arrow{
    background:#9CDF20;
    border-color:#9CDF20;
    color:#071019;
}


html[data-theme="dark"]
.lawyers-btn--primary,
body.dark-mode
.lawyers-btn--primary{
    background:#9CDF20 !important;
    border-color:#9CDF20 !important;
    color:#071019 !important;
}


html[data-theme="dark"]
.lawyers-btn--secondary,
body.dark-mode
.lawyers-btn--secondary{
    background:#0d1924;
    border-color:#344755;
    color:#ffffff;
}


html[data-theme="dark"]
.lawyers-btn--secondary:hover,
body.dark-mode
.lawyers-btn--secondary:hover{
    border-color:#9CDF20;
    color:#baf15d;
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:980px){

    .lawyers-hero__grid{
        grid-template-columns:1fr;
        gap:35px;
    }

    .lawyers-hero__panel{
        max-width:620px;
    }

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

    .lawyers-trust__grid > div:nth-child(2)::after{
        display:none;
    }

    .lawyers-trust__grid > div:nth-child(-n+2){
        border-bottom:1px solid var(--law-line);
    }

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

    .lawyers-expertise__box{
        grid-template-columns:1fr;
        gap:30px;
    }

    .lawyers-final-cta__inner{
        align-items:flex-start;
        flex-direction:column;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:650px){

    .lawyers-wrap{
        width:min(100% - 28px,1180px);
    }


    /* HERO */

    .lawyers-hero{
        padding:34px 0 48px;
    }

    .lawyers-breadcrumb{
        margin-bottom:27px;
    }

    .lawyers-hero h1{
        font-size:38px;
        line-height:1.04;
    }

    .lawyers-hero__lead{
        font-size:15px;
    }

    .lawyers-hero__panel{
        padding:24px 22px;
    }

    .lawyers-hero__panel h2{
        font-size:23px;
    }

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


    /* BUTTONS */

    .lawyers-actions{
        display:grid;
        grid-template-columns:1fr;

        width:100%;
    }

    .lawyers-btn{
        width:100%;
    }


    /* TRUST */

    .lawyers-trust{
        padding-bottom:25px;
    }

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

    .lawyers-trust__grid > div{
        padding:18px 20px;
    }

    .lawyers-trust__grid > div:not(:last-child){
        border-bottom:1px solid var(--law-line);
    }

    .lawyers-trust__grid > div::after{
        display:none !important;
    }


    /* TEAM */

    .lawyers-team{
        padding:58px 0;
    }

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

    .lawyer-directory-card__focus{
        min-height:auto;
    }


    /* EXPERTISE */

    .lawyers-expertise{
        padding:58px 0;
    }

    .lawyers-expertise__box{
        padding:25px 21px;
    }

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


    /* CTA */

    .lawyers-final-cta{
        padding-bottom:58px;
    }

    .lawyers-final-cta__inner{
        padding:28px 22px;
    }

    .lawyers-final-cta h2{
        font-size:27px;
    }

}