/* 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 18px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.about-hero-team {
    margin: 0 0 28px;
    padding: 0;
}

.about-hero-team img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.about-article__note {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--about-muted);
    margin: -18px 0 26px;
}

.about-muted {
    color: var(--about-muted);
}

.about-bullet-list,
.about-ordered-list {
    margin: 0 0 14px;
    padding-left: 1.35rem;
    font-size: 15px;
    line-height: 1.75;
    color: #334155;
}

.about-bullet-list li,
.about-ordered-list li {
    margin-bottom: 8px;
}

.about-ordered-list strong {
    color: var(--about-navy);
}

/* ====== Hồ sơ năng lực: thông tin công ty + triết lý + highlight (tông navy / vàng như trang Giới thiệu) ====== */

.about-cv-info__dl {
    margin: 0;
    padding: 18px 22px;
    background: #fafbfc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--about-gold-line);
    border-radius: 8px;
    display: grid;
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
    gap: 6px 18px;
    font-size: 15px;
}

.about-cv-info__dl dt {
    margin: 0;
    padding: 6px 0;
    font-weight: 700;
    color: var(--about-navy);
}

.about-cv-info__dl dd {
    margin: 0;
    padding: 6px 0;
    color: #334155;
    line-height: 1.6;
    word-break: break-word;
}

.about-cv-info__dl dt + dd { padding-top: 6px; }

.about-cv-philosophy__layout {
    margin: 0;
    padding: 24px 0 4px;
    border-top: 1px solid #e2e8f0;
    display: grid;
    grid-template-columns: minmax(150px, 220px) 1fr;
    gap: 28px;
    align-items: stretch;
}

.about-cv-philosophy__label {
    position: relative;
    padding: 12px 24px 12px 14px;
    background: transparent;
    border-right: 2px solid var(--about-gold-line);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.about-cv-philosophy__label h2 {
    margin: 0;
    color: var(--about-navy);
    font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
    font-weight: 900;
    font-size: clamp(22px, 2.6vw, 32px);
    line-height: 1.05;
    text-transform: none;
    letter-spacing: -0.01em;
    border: 0;
    padding: 0;
}

.about-cv-philosophy__items {
    display: grid;
    gap: 22px;
    margin: 0;
    padding: 0;
}

.about-cv-philosophy__item h3 {
    margin: 0 0 8px;
    color: var(--about-navy);
    font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
    font-weight: 700;
    font-size: 17px;
    text-transform: none;
    letter-spacing: 0;
}

.about-cv-philosophy__item p,
.about-cv-philosophy__item ul {
    margin: 0;
    color: #334155;
    line-height: 1.75;
    font-size: 15px;
}

.about-cv-philosophy__item ul {
    padding-left: 1.2rem;
}

.about-cv-philosophy__item li { margin-bottom: 4px; }

.about-cv-tiles {
    --about-cv-primary: #0b2345;
    --about-cv-primary-deep: #071833;
    --about-cv-accent: #c8a15a;
    --about-cv-accent-deep: #ad8741;
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.about-cv-tile {
    position: relative;
    aspect-ratio: 1 / 0.62;
    min-height: 130px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 14px 14px;
    font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: clamp(13px, 1.4vw, 15px);
    line-height: 1.25;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.about-cv-tile--primary {
    background: linear-gradient(135deg, var(--about-cv-primary) 0%, var(--about-cv-primary-deep) 100%);
    color: #ffffff;
}

.about-cv-tile--accent {
    background: linear-gradient(135deg, var(--about-cv-accent) 0%, var(--about-cv-accent-deep) 100%);
    color: var(--about-cv-primary);
}

.about-cv-tile__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(40px, 6vw, 56px);
    height: clamp(40px, 6vw, 56px);
    color: currentColor;
    opacity: 0.95;
}

.about-cv-tile__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.about-cv-tile__text {
    display: block;
}

@media (max-width: 720px) {
    .about-cv-philosophy__layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .about-cv-philosophy__label {
        border-right: none;
        border-bottom: 2px solid var(--about-gold-line);
        padding: 10px 12px;
    }
}

@media (max-width: 540px) {
    .about-cv-tiles {
        grid-template-columns: 1fr;
    }
    .about-cv-tile {
        aspect-ratio: auto;
        min-height: 84px;
    }
}

@media (max-width: 720px) {
    .about-cv-info__dl {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .about-cv-info__dl dt { padding-bottom: 0; }
    .about-cv-info__dl dd { padding-top: 2px; padding-bottom: 12px; }
}

.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;
}

/* Triết lý: ghi đè margin h3 chung của .about-block */
.about-cv-philosophy .about-cv-philosophy__item h3 {
    margin: 0 0 8px;
    color: var(--about-navy);
    font-weight: 700;
    font-size: 16px;
    text-transform: none;
    letter-spacing: 0;
    font-family: "Roboto", system-ui, sans-serif;
}

.about-cv-philosophy .about-cv-philosophy__item:first-child h3 {
    margin-top: 0;
}

/* === Đội ngũ luật sư — lưới ảnh blob, click → /lawyers#lawyer-{id} === */
.about-team-block { position: relative; }

.about-team-lead {
    margin: 0 0 18px;
}

.about-team-firm {
    font-weight: 800;
    letter-spacing: 0.03em;
}

.about-team-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.about-team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: var(--about-navy);
    transition: transform 0.25s ease;
}

.about-team-card:hover,
.about-team-card:focus-visible {
    transform: translateY(-4px);
    outline: none;
}

.about-team-card__photo {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.18;
    overflow: hidden;
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%;
    box-shadow: 0 10px 24px rgba(11, 35, 69, 0.08);
    transition: border-radius 0.4s ease, box-shadow 0.25s ease;
}

.about-team-card:hover .about-team-card__photo,
.about-team-card:focus-visible .about-team-card__photo {
    border-radius: 52% 48% 56% 44% / 48% 54% 46% 52%;
    box-shadow: 0 14px 30px rgba(11, 35, 69, 0.16);
}

.about-team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-team-card__caption {
    margin-top: 14px;
    font-family: "Roboto", system-ui, sans-serif;
    line-height: 1.4;
    color: var(--about-navy);
}

.about-team-card__role {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #475569;
    margin-bottom: 4px;
}

.about-team-card__name {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: var(--about-navy);
    letter-spacing: 0.01em;
}

.about-team-more {
    margin: 22px 0 0;
    font-size: 14px;
}

.about-team-more a {
    color: var(--about-navy);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid var(--about-gold-line);
    padding-bottom: 2px;
}

.about-team-more a:hover { color: var(--about-gold); }

@media (max-width: 900px) {
    .about-team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}

@media (max-width: 640px) {
    .about-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .about-team-card__name { font-size: 15px; }
}

@media (max-width: 380px) {
    .about-team-grid { grid-template-columns: 1fr; }
}

.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 .about-lawyer__photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    display: block;
    vertical-align: middle;
}

.about-lawyer__figure .about-lawyer__photo--cover {
    object-fit: cover;
}

.about-lawyer__figure .about-lawyer__photo--contain {
    object-fit: contain;
    background: #f1f5f9;
}

.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: unset;
    font-weight: 700;
    color: var(--about-navy);
    margin: 0 0 14px;
    line-height: 1.35;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--about-gold-line);
    letter-spacing: 0.02em;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.about-lawyer__role {
    font-family: "Roboto", system-ui, sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #64748b;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.4;
}

.about-lawyer__name {
    font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
    font-size: clamp(18px, 2.3vw, 22px);
    font-weight: 800;
    color: var(--about-navy);
    letter-spacing: 0.02em;
    line-height: 1.25;
}

/* Khối Học vấn / Tổ chức / Quá trình — một dòng: **Nhãn:** nội dung */
.about-lawyer__bios {
    margin-top: 0;
    font-size: 15px;
    line-height: 1.75;
    color: #334155;
}

.about-lawyer__desc + .about-lawyer__bios {
    margin-top: 1.15em;
}

.about-lawyer p.about-lawyer__bio-line {
    margin: 0 0 0.55em;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.about-lawyer p.about-lawyer__bio-line:last-child {
    margin-bottom: 0;
}

.about-lawyer__bio-label {
    font-weight: 700;
    color: var(--about-navy);
    letter-spacing: 0.02em;
}

.about-lawyer__bio-value {
    font-weight: 400;
    color: #334155;
}

.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%;
    }
}
