.lawyerPage{
    --b: var(--border, #e5e7eb);
    --m: var(--muted, #6b7280);
    --p: var(--primary, #3b82f6);
    --soft: #f3f8ff;
    --card: #ffffff;
}
.lawyerPage .vm-breadcrumb{
    margin: 10px 0 16px;
    background: rgba(2, 8, 23, .03);
    border: 1px solid rgba(2, 8, 23, .06);
    border-radius: 22px;
    padding: 14px 16px;
}

.lawyerPage .vm-breadcrumb__inner{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    font-size:13px;
    color: var(--m);
    font-weight:800;
}

.lawyerPage .vm-breadcrumb a{
    color: var(--p);
    text-decoration:none;
    font-weight:950;
}

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

.lawyerPage .vm-breadcrumb .sep{
    opacity:.55;
    display:inline-flex;
    align-items:center;
    gap:6px;
}

.lawyerPage .vm-breadcrumb .sep i{
    font-size:12px;
}
.section.lawyerPage .lawyerGrid{
    display:grid;
    gap:18px;
    grid-template-columns: 1fr;
    grid-template-areas:
    "main"
    "side";
    align-items:start;
}
.section.lawyerPage .lawyerMain{grid-area:main; min-width:0;}
.section.lawyerPage .lawyerSide{grid-area:side; min-width:0;}
.section.lawyerPage .lawyerSticky{display:grid; gap:14px;}

@media (min-width: 992px){
    /* RTL: ستون اول سمت راست است، ستون دوم سمت چپ */
    .section.lawyerPage .lawyerGrid{
        grid-template-columns: minmax(0,1fr) 360px; /* main | side */
        grid-template-areas: "main side";
        gap:22px;
    }
    .section.lawyerPage .lawyerSide{
        position: sticky;
        top: 140px; /* اگر زیر هدر رفت: 160px */
        align-self:start;
        height: fit-content;
    }
}

/* HERO */
.section.lawyerPage .lawyerHero{padding:16px; border-radius:22px;}
.section.lawyerPage .lawyerHero__row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
}
.section.lawyerPage .lawyerHero__info{min-width:260px;}
.section.lawyerPage .lawyerName{margin:0; font-weight:950; font-size:30px; line-height:1.6;}
.section.lawyerPage .lawyerMeta{margin-top:6px; color:var(--muted); display:flex; align-items:center; gap:8px; flex-wrap:wrap;}
.section.lawyerPage .lawyerMeta__dot{opacity:.5}
.section.lawyerPage .lawyerChips{margin-top:10px}

.section.lawyerPage .lawyerHero__avatar{display:flex; align-items:center; justify-content:center;}
.section.lawyerPage .lawyerAvatar{
    width:160px; height:160px; border-radius:24px; object-fit:cover;
    border:1px solid rgba(0,0,0,.10);
}

/* Stats */
.section.lawyerPage .lawyerStats{margin-top:12px; display:flex; gap:10px; flex-wrap:wrap;}
.section.lawyerPage .lawyerStat{
    border:1px solid rgba(0,0,0,.08);
    background:rgba(47,128,237,.05);
    border-radius:16px;
    padding:10px 12px;
    min-width:120px;
}
.section.lawyerPage .lawyerStat__num{font-weight:950; color:var(--text);}
.section.lawyerPage .lawyerStat__lbl{font-size:12px; color:var(--muted); margin-top:4px;}

/* Sections */
.section.lawyerPage .lawyerSection{padding:16px; border-radius:22px; margin-top:14px;}
.section.lawyerPage .lawyerH2{margin:0 0 10px; font-size:20px; font-weight:950;}
.section.lawyerPage .lawyerH3{margin:14px 0 8px; font-size:15px; font-weight:950;}
.section.lawyerPage .lawyerText{line-height:2.1; color:#334155;}
.section.lawyerPage .lawyerEmpty{margin:0; color:var(--muted);}

.section.lawyerPage .lawyerList{margin:8px 0 0; padding-right:18px; line-height:2.1; color:#334155;}
.section.lawyerPage .lawyerList li{margin:6px 0;}

/* Timeline */
.section.lawyerPage .lawyerTimeline{display:grid; gap:14px; position:relative; padding-right:10px;}
.section.lawyerPage .lawyerTimeline__item{display:flex; gap:12px; align-items:flex-start;}
.section.lawyerPage .lawyerTimeline__dot{
    width:10px; height:10px; border-radius:999px;
    background: var(--primary);
    margin-top:7px;
    flex:0 0 auto;
}
.section.lawyerPage .lawyerTimeline__title{font-weight:950; color:var(--text);}
.section.lawyerPage .lawyerTimeline__meta{font-size:12px; color:var(--muted); margin-top:2px;}
.section.lawyerPage .lawyerTimeline__desc{margin-top:6px; color:#334155; line-height:2.05;}

/* Files */
.section.lawyerPage .lawyerFiles{display:grid; gap:10px;}
.section.lawyerPage .lawyerFile{
    display:flex; gap:12px; align-items:center;
    border:1px solid rgba(0,0,0,.10);
    border-radius:16px;
    padding:12px 12px;
    text-decoration:none;
    color:inherit;
}
.section.lawyerPage .lawyerFile__icon{
    width:44px; height:44px; border-radius:14px;
    display:grid; place-items:center;
    background:rgba(0,0,0,.04);
    font-weight:950; color:#111827;
}
.section.lawyerPage .lawyerFile__title{font-weight:950;}
.section.lawyerPage .lawyerFile__meta{font-size:12px; color:var(--muted); margin-top:2px;}

/* FAQ */
/*.section.lawyerPage .lawyerFaq{display:grid; gap:10px;}*/
/*.section.lawyerPage .lawyerFaq__item{*/
/*    border:1px solid rgba(0,0,0,.10);*/
/*    border-radius:16px;*/
/*    padding:10px 12px;*/
/*    background:#fff;*/
/*}*/
/*.section.lawyerPage .lawyerFaq__q{cursor:pointer; font-weight:950;}*/
/*.section.lawyerPage .lawyerFaq__a{margin-top:8px; color:#334155; line-height:2.05;}*/
.section.lawyerPage .lawyerFaq {
    display: grid;
    gap: 14px;
}

.section.lawyerPage .lawyerFaq__item {
    position: relative;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.section.lawyerPage .lawyerFaq__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
    border-color: rgba(29, 78, 216, 0.18);
}

.section.lawyerPage .lawyerFaq__item[open] {
    border-color: rgba(29, 78, 216, 0.18);
    box-shadow: 0 20px 44px rgba(29, 78, 216, 0.10);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.section.lawyerPage .lawyerFaq__q {
    position: relative;
    display: block;
    cursor: pointer;
    list-style: none;
    padding: 18px 56px 18px 20px;
    font-weight: 900;
    font-size: 16px;
    line-height: 1.9;
    color: var(--lp-text, #0f172a);
    transition: color 0.2s ease;
}

.section.lawyerPage .lawyerFaq__q::-webkit-details-marker {
    display: none;
}

.section.lawyerPage .lawyerFaq__item:hover .lawyerFaq__q {
    color: var(--lp-primary, #1d4ed8);
}

.section.lawyerPage .lawyerFaq__q::before {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.10), rgba(96, 165, 250, 0.18));
    box-shadow: inset 0 0 0 1px rgba(29, 78, 216, 0.10);
}

.section.lawyerPage .lawyerFaq__q::after {
    content: "+";
    position: absolute;
    right: 29px;
    top: 50%;
    transform: translateY(-52%);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: var(--lp-primary, #1d4ed8);
    transition: transform 0.25s ease, color 0.25s ease;
}

.section.lawyerPage .lawyerFaq__item[open] .lawyerFaq__q::after {
    content: "−";
    color: #1e40af;
}

.section.lawyerPage .lawyerFaq__item[open] .lawyerFaq__q {
    color: var(--lp-text, #0f172a);
}

.section.lawyerPage .lawyerFaq__a {
    margin: 0;
    padding: 0 20px 18px 20px;
    color: #475569;
    font-size: 15px;
    line-height: 2.15;
    text-align: justify;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.section.lawyerPage .lawyerFaq__item[open] .lawyerFaq__a {
    padding-top: 14px;
}

.section.lawyerPage .lawyerEmpty {
    margin: 0;
    padding: 18px 20px;
    border: 1px dashed rgba(15, 23, 42, 0.12);
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.9);
    color: #64748b;
    text-align: center;
    line-height: 2;
}

@media (max-width: 768px) {
    .section.lawyerPage .lawyerFaq {
        gap: 12px;
    }

    .section.lawyerPage .lawyerFaq__item {
        border-radius: 16px;
    }

    .section.lawyerPage .lawyerFaq__q {
        padding: 16px 50px 16px 16px;
        font-size: 15px;
        line-height: 1.8;
    }

    .section.lawyerPage .lawyerFaq__q::before {
        right: 16px;
        width: 26px;
        height: 26px;
        border-radius: 9px;
    }

    .section.lawyerPage .lawyerFaq__q::after {
        right: 24px;
        font-size: 16px;
    }

    .section.lawyerPage .lawyerFaq__a {
        padding: 0 16px 16px 16px;
        font-size: 14px;
        line-height: 2;
    }

    .section.lawyerPage .lawyerFaq__item[open] .lawyerFaq__a {
        padding-top: 12px;
    }
}

/* Aside cards */
.section.lawyerPage .lawyerSticky {
    position: sticky;
    top: 30px;
    display: grid;
    gap: 20px;
}

.section.lawyerPage .lawyerCard {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.section.lawyerPage .lawyerCard__title {
    font-weight: 800;
    font-size: 18px;
    color: var(--lp-text, #0f172a);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

/* Contact Actions */
.section.lawyerPage .lawyerAction {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    text-decoration: none;
    color: var(--lp-text, #0f172a);
    margin-bottom: 12px;
    transition: all 0.3s ease;
    font-weight: 700;
}

.section.lawyerPage .lawyerAction:hover {
    border-color: var(--lp-primary, #1d4ed8);
    background: #f8fafc;
    transform: translateX(-2px);
}

.section.lawyerPage .lawyerAction--primary {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0.03));
    border-color: rgba(16, 185, 129, 0.2);
    color: #065f46;
}

.section.lawyerPage .lawyerAction--primary:hover {
    background: #10b981;
    color: #fff;
    border-color: #10b981;
}

.section.lawyerPage .lawyerAction__sub {
    font-size: 12px;
    color: #64748b;
    font-weight: 400;
}

.section.lawyerPage .lawyerAction--primary:hover .lawyerAction__sub {
    color: rgba(255, 255, 255, 0.8);
}

/* Info Section */
.section.lawyerPage .lawyerInfo {
    margin-top: 16px;
    padding: 12px 0;
    border-top: 1px dashed rgba(15, 23, 42, 0.08);
}

.section.lawyerPage .lawyerInfo:first-of-type {
    margin-top: 0;
    border-top: none;
}

.section.lawyerPage .lawyerInfo__lbl {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section.lawyerPage .lawyerInfo__val {
    margin-top: 4px;
    font-weight: 800;
    color: var(--lp-text, #0f172a);
}

/* Form Styling */
.section.lawyerPage .lawyerField {
    display: grid;
    gap: 6px;
    margin-bottom: 16px;
}

.section.lawyerPage .lawyerLabel {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.section.lawyerPage .lawyerInput {
    width: 100%;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 16px;
    outline: none;
    background: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.section.lawyerPage .lawyerInput:focus {
    border-color: var(--lp-primary, #1d4ed8);
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.1);
}

.section.lawyerPage .lawyerInput--ta {
    resize: none;
    min-height: 100px;
}

.section.lawyerPage .lawyerTerms {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #64748b;
    margin: 4px 0 20px;
}

.section.lawyerPage .lawyerBtn {
    width: 100%;
    padding: 14px;
    background: var(--lp-primary, #1d4ed8);
    color: white;
    border: none;
    border-radius: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
}

.section.lawyerPage .lawyerBtn:hover {
    background: #1e40af;
    box-shadow: 0 10px 15px rgba(29, 78, 216, 0.2);
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .section.lawyerPage .lawyerSticky {
        position: relative;
        top: 0;
    }
}

/* =========================
   Lawyer Resume PDF
========================= */

.section.lawyerPage .lawyerPdfHead{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:12px;
}

.section.lawyerPage .lawyerPdfTitle{
    margin:0;
}

.section.lawyerPage .lawyerPdfBtn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 14px;
    border-radius:14px;
    border:1px solid rgba(0,0,0,.10);
    background: rgba(37,99,235,.08);
    color: #2563eb;
    font-weight: 950;
    text-decoration:none;
}

.section.lawyerPage .lawyerPdfBtn:hover{
    filter: brightness(.97);
}

.section.lawyerPage .lawyerPdfFrame{
    border-radius:18px;
    overflow:hidden;
    border:1px solid rgba(0,0,0,.10);
    background:#fff;
}

.section.lawyerPage .lawyerPdfFrame iframe{
    width:100%;
    height: 520px; /* مثل نمونه */
    border:0;
    display:block;
}

/* موبایل */
@media (max-width: 768px){
    .section.lawyerPage .lawyerPdfFrame iframe{height: 420px;}
}
.section.lawyerPage .lawyerPdfActions{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.section.lawyerPage .lawyerPdfBtn--open{
    background: rgba(16,185,129,.10);
    color: #0f766e;
}

.section.lawyerPage .lawyerPdfPlaceholder{
    padding:18px;
    color: var(--muted);
    font-size: 13px;
    line-height: 2;
}

.section.lawyerPage #resumeIframe{
    display:none;
}
/* =========================
   Resume Description Scope
   Only inside #resumeDescription
========================= */

#resumeDescription {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
    position: relative;
    overflow: hidden;
}

#resumeDescription .lawyerH2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 22px;
    font-weight: 800;
    color: var(--lp-text, #0f172a);
}

#resumeDescription .lawyerH2::before {
    content: "";
    width: 4px;
    height: 24px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--lp-accent, #d4af37), #b78a18);
}

/* Base content area */
#resumeDescription .lawyerText {
    color: #475569;
    font-size: 16px;
    line-height: 2.1;
    text-align: justify;
    word-break: break-word;
}

#resumeDescription .lawyerText > *:first-child {
    margin-top: 0 !important;
}

#resumeDescription .lawyerText > *:last-child {
    margin-bottom: 0 !important;
}

/* Headings */
#resumeDescription .lawyerText h1,
#resumeDescription .lawyerText h2,
#resumeDescription .lawyerText h3,
#resumeDescription .lawyerText h4,
#resumeDescription .lawyerText h5,
#resumeDescription .lawyerText h6 {
    color: var(--lp-text, #0f172a);
    font-weight: 800;
    line-height: 1.6;
    margin: 32px 0 14px;
}



#resumeDescription .lawyerText h2 {
    font-size: 25px;
    padding-right: 12px;
    border-right: 4px solid var(--lp-primary, #1d4ed8);
}

#resumeDescription .lawyerText h3 {
    font-size: 22px;
    margin-right: 12px;
    padding-right: 10px;
    border-right: 4px solid var(--lp-primary, #4576fb);
}

#resumeDescription .lawyerText h4 {
    font-size: 19px;
    margin-right: 12px;
    padding-right: 15px;
    border-right: 4px solid var(--lp-primary, #618fff);

}

#resumeDescription .lawyerText h5 {
    font-size: 17px;
}

#resumeDescription .lawyerText h6 {
    font-size: 15px;
    color: #334155;
}

/* Paragraphs and spacing */
#resumeDescription .lawyerText p {
    margin: 0 0 16px;
}

#resumeDescription .lawyerText br {
    line-height: 2;
}

/* Strong / emphasis */
#resumeDescription .lawyerText strong,
#resumeDescription .lawyerText b {
    color: var(--lp-text, #0f172a);
    font-weight: 800;
}

#resumeDescription .lawyerText em,
#resumeDescription .lawyerText i {
    font-style: italic;
    color: #334155;
}

#resumeDescription .lawyerText mark {
    background: rgba(212, 175, 55, 0.18);
    color: #0f172a;
    padding: 0.15em 0.4em;
    border-radius: 6px;
}

/* Links */
#resumeDescription .lawyerText a {
    color: var(--lp-primary, #1d4ed8);
    text-decoration: underline;
    text-decoration-color: rgba(29, 78, 216, 0.28);
    text-underline-offset: 4px;
    transition: all 0.2s ease;
}

#resumeDescription .lawyerText a:hover {
    color: #1e40af;
    text-decoration-color: currentColor;
}

/* Lists */
#resumeDescription .lawyerText ul,
#resumeDescription .lawyerText ol {
    margin: 18px 0 22px;
    padding: 0;
}

#resumeDescription .lawyerText ul li,
#resumeDescription .lawyerText ol li {
    position: relative;
    margin-bottom: 12px;
    line-height: 2;
}

/* UL style */
#resumeDescription .lawyerText ul {
    list-style: none;
}

#resumeDescription .lawyerText ul li {
    padding-right: 28px;
}

#resumeDescription .lawyerText ul li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 12px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lp-primary, #1d4ed8), #60a5fa);
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.10);
}

/* OL style */
#resumeDescription .lawyerText ol {
    list-style: none;
    counter-reset: resume-counter;
}

#resumeDescription .lawyerText ol li {
    counter-increment: resume-counter;
    padding-right: 42px;
}

#resumeDescription .lawyerText ol li::before {
    content: counter(resume-counter);
    position: absolute;
    right: 0;
    top: 4px;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.12), rgba(96, 165, 250, 0.20));
    color: var(--lp-primary, #1d4ed8);
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(29, 78, 216, 0.12);
}

/* Nested lists */
#resumeDescription .lawyerText li ul,
#resumeDescription .lawyerText li ol {
    margin-top: 12px;
    margin-bottom: 8px;
}

/* Blockquote */
#resumeDescription .lawyerText blockquote {
    margin: 24px 0;
    padding: 18px 20px;
    border-right: 4px solid var(--lp-accent, #d4af37);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.03));
    border-radius: 16px;
    color: #334155;
}

/* Code / pre */
#resumeDescription .lawyerText code {
    background: #f8fafc;
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    padding: 2px 8px;
    font-size: 0.92em;
    direction: ltr;
    unicode-bidi: embed;
}

#resumeDescription .lawyerText pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 16px;
    border-radius: 16px;
    overflow-x: auto;
    margin: 20px 0;
}

#resumeDescription .lawyerText pre code {
    background: transparent;
    border: 0;
    color: inherit;
    padding: 0;
}

/* Horizontal rule */
#resumeDescription .lawyerText hr {
    border: 0;
    border-top: 1px solid rgba(15, 23, 42, 0.10);
    margin: 28px 0;
}

/* Tables */
#resumeDescription .lawyerText table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
}

#resumeDescription .lawyerText table th,
#resumeDescription .lawyerText table td {
    padding: 14px 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    text-align: right;
    vertical-align: top;
}

#resumeDescription .lawyerText table th {
    background: #f8fafc;
    color: var(--lp-text, #0f172a);
    font-weight: 800;
}

/* Images / media */
#resumeDescription .lawyerText img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 24px auto;
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.10);
}

#resumeDescription .lawyerText figure {
    margin: 24px 0;
}

#resumeDescription .lawyerText figcaption {
    margin-top: 10px;
    font-size: 14px;
    color: #64748b;
    text-align: center;
}

/* Small text */
#resumeDescription .lawyerText small {
    font-size: 13px;
    color: #64748b;
}

/* Sup / sub */
#resumeDescription .lawyerText sup,
#resumeDescription .lawyerText sub {
    font-size: 0.75em;
}

/* Responsive */
@media (max-width: 768px) {
    #resumeDescription {
        padding: 20px;
        border-radius: 18px;
    }

    #resumeDescription .lawyerH2 {
        font-size: 20px;
    }

    #resumeDescription .lawyerText {
        font-size: 15px;
        line-height: 2;
    }

    #resumeDescription .lawyerText h1 {
        font-size: 24px;
    }

    #resumeDescription .lawyerText h2 {
        font-size: 21px;
    }

    #resumeDescription .lawyerText h3 {
        font-size: 19px;
    }

    #resumeDescription .lawyerText h4 {
        font-size: 17px;
    }

    #resumeDescription .lawyerText ol li {
        padding-right: 38px;
    }

    #resumeDescription .lawyerText ul li {
        padding-right: 24px;
    }
}
