/* Trang Giới thiệu — bố cục kiểu luathungbach (mục lục + bài dài + anchor) */
html {
    scroll-behavior: smooth;
}

.about-company-page {
    --about-navy: #0b2345;
    --about-gold: #c8a15a;
    --about-gold-line: #c9a227;
    --about-muted: #64748b;
}

.about-company-page__grid {
    display: grid;
    grid-template-columns: min(280px, 100%) 1fr;
    gap: 28px;
    align-items: start;
}

.about-toc-wrap {
    position: sticky;
    top: 12px;
}

.about-toc-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.about-toc-panel__summary {
    list-style: none;
    cursor: pointer;
    margin: 0;
    padding: 12px 14px;
    font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--about-navy);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-toc-panel__summary::-webkit-details-marker {
    display: none;
}

.about-toc-panel__summary::after {
    content: "\25BE";
    font-size: 12px;
    opacity: 0.9;
    transition: transform 0.2s ease;
}

.about-toc-panel:not([open]) .about-toc-panel__summary::after {
    transform: rotate(-90deg);
}

.about-toc-nav {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}

.about-toc-nav a {
    display: block;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    border-left: 3px solid transparent;
    text-decoration: none;
}

.about-toc-nav a:hover,
.about-toc-nav a:focus {
    background: #f1f5f9;
    color: var(--about-navy);
    border-left-color: var(--about-gold-line);
}

.about-article {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 28px 26px 36px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.about-article__lead {
    font-size: 15px;
    line-height: 1.75;
    color: #334155;
    margin: 0 0 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.about-block {
    margin-bottom: 32px;
    scroll-margin-top: 88px;
}

.about-block h2 {
    font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
    font-size: clamp(18px, 2.4vw, 22px);
    font-weight: 700;
    color: var(--about-navy);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 14px;
    line-height: 1.35;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--about-gold-line);
}

.about-block h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--about-navy);
    margin: 22px 0 10px;
}

.about-block p {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.75;
    color: #334155;
}

.about-block ul {
    margin: 0 0 12px;
    padding-left: 1.25rem;
    color: #334155;
    line-height: 1.7;
}

.about-block li {
    margin-bottom: 6px;
}

.about-svc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.about-svc-grid a {
    display: block;
    padding: 14px 14px;
    border: 1px solid #e2e8f0;
    border-top: 3px solid var(--about-gold);
    border-radius: 6px;
    text-decoration: none;
    color: var(--about-navy);
    font-weight: 700;
    font-size: 14px;
    background: #fafbfc;
    transition: box-shadow 0.2s, transform 0.2s;
}

.about-svc-grid a:hover {
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
    transform: translateY(-1px);
}

.about-svc-grid a span {
    display: block;
    margin-top: 6px;
    font-weight: 400;
    font-size: 13px;
    color: var(--about-muted);
    line-height: 1.45;
}

.about-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-contact-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 15px;
    line-height: 1.55;
    color: #334155;
}

.about-contact-list li:last-child {
    border-bottom: 0;
}

.about-contact-list a {
    color: var(--about-navy);
    font-weight: 700;
}

/* Giới thiệu nhân sự dạng văn bản (trang /about) */
.about-personnel {
    margin-top: 4px;
}

.about-personnel h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--about-navy);
    margin: 18px 0 8px;
    line-height: 1.35;
}

.about-personnel h3:first-child {
    margin-top: 0;
}

.about-personnel p {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.75;
    color: #334155;
}

/* Danh sách luật sư — kiểu luathungbach (mục + Liên hệ) */
.about-block--lawyers .about-lawyer-list-lead {
    margin-top: 0;
}

.about-lawyer {
    margin-top: 28px;
    padding-top: 26px;
    border-top: 1px solid #e2e8f0;
    scroll-margin-top: 88px;
    display: grid;
    grid-template-columns: min(220px, 42%) 1fr;
    gap: 22px 26px;
    align-items: start;
}

.about-lawyer:first-of-type {
    margin-top: 20px;
    padding-top: 4px;
    border-top: 0;
}

.about-lawyer__figure {
    margin: 0;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
    border-top: 3px solid var(--about-gold-line);
    background: #f1f5f9;
}

.about-lawyer__figure img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    vertical-align: middle;
}

.about-lawyer__body {
    min-width: 0;
}

.about-lawyer__body > .about-lawyer__title {
    margin-top: 0;
}

.about-lawyer__title {
    font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
    font-size: clamp(17px, 2.1vw, 20px);
    font-weight: 700;
    color: var(--about-navy);
    margin: 0 0 14px;
    line-height: 1.4;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--about-gold-line);
    letter-spacing: 0.02em;
}

.about-lawyer p {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.75;
    color: #334155;
}

.about-lawyer ul {
    margin: 0 0 14px;
    padding-left: 1.25rem;
    color: #334155;
    line-height: 1.7;
}

.about-lawyer li {
    margin-bottom: 6px;
}

.about-lawyer-contact {
    margin-top: 16px;
    padding: 14px 16px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid var(--about-gold-line);
}

.about-lawyer-contact__label {
    margin: 0 0 8px !important;
    font-weight: 700;
    color: var(--about-navy);
    font-size: 14px;
}

.about-lawyer-contact ul {
    margin: 0;
    padding-left: 1.15rem;
    list-style: disc;
}

.about-lawyer-contact li {
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
}

.about-lawyer-contact a {
    color: var(--about-navy);
    font-weight: 700;
    text-decoration: none;
}

.about-lawyer-contact a:hover {
    text-decoration: underline;
}

.about-personnel-note {
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px dashed #cbd5e1;
}

.about-personnel-note__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--about-navy);
    margin: 0 0 10px;
}

.about-personnel-note p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #64748b;
}

.about-related {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.about-related h2 {
    font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--about-navy);
    margin: 0 0 14px;
}

.about-related ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-related li {
    border-bottom: 1px dashed #cbd5e1;
}

.about-related a {
    display: block;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
}

.about-related a:hover {
    color: var(--about-navy);
}

.about-closing {
    margin-top: 28px;
    font-weight: 700;
    color: var(--about-navy);
}

.about-lawyers-back {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    font-size: 14px;
}

.about-lawyers-back a {
    color: var(--about-navy);
    font-weight: 700;
    text-decoration: none;
}

.about-lawyers-back a:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .about-company-page__grid {
        grid-template-columns: 1fr;
    }

    .about-toc-wrap {
        position: relative;
        top: 0;
    }
}

@media (max-width: 640px) {
    .about-lawyer {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: left;
    }

    .about-lawyer__figure {
        width: min(240px, 100%);
        max-width: 280px;
    }

    .about-lawyer__body {
        width: 100%;
    }
}
