/**
 * page-about.css — About page specific styles
 * Loaded only on the /about/ page via matyshkin_enqueue_assets().
 *
 * Migrated from sx-main-override.php mu-plugin (sxab-* classes).
 * Class prefix: page-about__ (new), sxab-* (legacy from mu-plugin).
 */

/* ── Reset theme chrome for about page ── */
.page-id-52 .cil-page             { padding: 0 !important; }
.page-id-52 section.breadcrumbs   { display: none !important; }
.page-id-52 .cil-page__planet     { display: none !important; }
.page-id-52 .cil-page__title      { display: none !important; }

/* ── Base typography for about page ── */
.page-about {
    font-family: 'Inter', system-ui, sans-serif;
    color: #1a202c;
    line-height: 1.7;
    max-width: 100%;
    margin: 0;
}

.page-about * { box-sizing: border-box; }

.page-about p {
    color: #4a5568;
    margin: 0 0 14px;
    line-height: 1.7;
}

.page-about p:last-child { margin-bottom: 0; }
.page-about strong       { color: #0a2540; }

.page-about h2 {
    font-family: 'Poppins', sans-serif;
    color: #0a2540;
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    font-weight: 700;
    margin: 0 0 10px;
    letter-spacing: -0.025em;
}

/* ── Inner wrapper ── */
.page-about__inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 clamp(18px, 4vw, 44px) 60px;
}

/* ════════════════════════════════════════════════════════
   HERO — dark navy, breadcrumb, H1
   ════════════════════════════════════════════════════════ */
.page-about__hero {
    background: #0a2540;
    padding: 22px 0 28px;
    margin-bottom: 0;
}

.page-about__hero-wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 clamp(18px, 4vw, 44px);
}

.page-about__h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
    color: #fff !important;
    margin: 0;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

/* ── Breadcrumb ── */
.site-breadcrumb { margin-bottom: 14px; }

.site-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.48);
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-breadcrumb__link {
    color: rgba(255, 255, 255, 0.58);
    text-decoration: none;
    transition: color 0.15s;
}

.site-breadcrumb__link:hover { color: #fff; }

.site-breadcrumb__sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
}

.site-breadcrumb__item--current {
    color: rgba(255, 255, 255, 0.85);
}

/* ════════════════════════════════════════════════════════
   INTRO — lead text + stats strip
   ════════════════════════════════════════════════════════ */
.page-about__intro {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: clamp(28px, 5vw, 60px);
    align-items: start;
    padding: 40px 0 52px;
    border-bottom: 1px solid #e2e8f0;
}

@media (max-width: 780px) {
    .page-about__intro { grid-template-columns: 1fr; }
}

.page-about__lead {
    font-size: 1.05rem;
    color: #1a202c !important;
    line-height: 1.72;
}

/* Stats strip */
.page-about__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.page-about__stat {
    padding: 18px 0;
    border-bottom: 1px solid #e2e8f0;
}

.page-about__stat:nth-child(odd) {
    padding-right: 20px;
    border-right: 1px solid #e2e8f0;
}

.page-about__stat:nth-child(even) { padding-left: 20px; }

.page-about__stat:nth-last-child(-n+2) { border-bottom: none; }

.page-about__stat-n {
    font-family: 'Poppins', sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    color: #1a56db;
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.page-about__stat-l {
    font-size: 0.76rem;
    color: #718096;
    letter-spacing: 0.01em;
}

/* ════════════════════════════════════════════════════════
   CAPABILITIES — 4 practice areas
   ════════════════════════════════════════════════════════ */
.page-about__caps {
    padding: 52px 0;
    border-bottom: 1px solid #e2e8f0;
}

.page-about__caps-head  { margin-bottom: 32px; }

.page-about__caps-sub {
    font-size: 0.97rem;
    color: #4a5568;
    max-width: 600px;
    margin-top: 8px;
}

.page-about__caps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

@media (max-width: 680px) {
    .page-about__caps-grid { grid-template-columns: 1fr; }
}

.page-about__cap {
    display: flex;
    gap: 18px;
    padding: 22px 24px 22px 0;
    border-bottom: 1px solid #e2e8f0;
    align-items: flex-start;
}

.page-about__cap:nth-child(odd)  { border-right: 1px solid #e2e8f0; }
.page-about__cap:nth-child(even) { padding-left: 24px; padding-right: 0; }
.page-about__cap:nth-last-child(-n+2) { border-bottom: none; }

@media (max-width: 680px) {
    .page-about__cap:nth-child(odd)             { border-right: none; padding-right: 0; }
    .page-about__cap:nth-child(even)            { padding-left: 0; }
    .page-about__cap:nth-last-child(-n+2)       { border-bottom: 1px solid #e2e8f0; }
    .page-about__cap:last-child                 { border-bottom: none; }
}

.page-about__cap-n {
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    color: #1a56db;
    letter-spacing: 0.06em;
    flex-shrink: 0;
    padding-top: 3px;
    min-width: 22px;
}

.page-about__cap-body strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #0a2540;
    font-size: 0.98rem;
    margin-bottom: 6px;
}

.page-about__cap-body p {
    font-size: 0.87rem;
    color: #4a5568;
    margin: 0;
    line-height: 1.65;
}

/* ════════════════════════════════════════════════════════
   TEAM — lawyer cards grid
   ════════════════════════════════════════════════════════ */
.page-about__team  { padding: 52px 0 0; }

.page-about__team-hd { margin-bottom: 8px; }

.page-about__team-sub {
    font-size: 0.95rem;
    color: #4a5568;
    max-width: 640px;
    margin: 0 0 32px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 960px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 660px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 420px) { .team-grid { grid-template-columns: 1fr; } }

.team-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}

.team-card:hover {
    border-color: #1a56db;
    box-shadow: 0 10px 28px rgba(10, 37, 64, 0.09);
    transform: translateY(-2px);
}

.team-card__photo {
    aspect-ratio: 1 / 1;
    background: #eef2f8;
    overflow: hidden;
}

.team-card__photo img,
.team-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.team-card__no-photo {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0, #c3d0e8);
}

.team-card__body {
    padding: 13px 15px 16px;
}

.team-card__name {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #0a2540;
    font-size: 0.93rem;
    margin-bottom: 3px;
    line-height: 1.25;
}

.team-card__role {
    display: block;
    color: #1a56db;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.35;
}

.page-about__no-team {
    color: #718096;
    font-size: 0.95rem;
    padding: 24px 0;
}

/* ════════════════════════════════════════════════════════
   CTA BAND
   ════════════════════════════════════════════════════════ */
.page-about__cta {
    margin-top: 52px;
    background: #0a2540;
    border-radius: 14px;
    padding: clamp(28px, 4vw, 44px);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}

@media (max-width: 640px) {
    .page-about__cta { grid-template-columns: 1fr; }
}

.page-about__cta-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.page-about__cta h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}

.page-about__cta p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.88rem;
    margin: 0;
}

.page-about__cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

.page-about__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 11px 22px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.18s;
    white-space: nowrap;
    border: 2px solid transparent;
    cursor: pointer;
}

.page-about__btn--primary {
    background: #1a56db;
    color: #fff;
    border-color: #1a56db;
}

.page-about__btn--primary:hover {
    background: #1342b5;
    transform: translateY(-1px);
}

.page-about__btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.page-about__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
}

/* ── Legacy sxab-* aliases (backward compat with any inline HTML) ── */
.sxab-inner           { max-width: 1160px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 44px) 60px; }
.sxab-page-hero       { background: #0a2540; padding: 22px 0 28px; }
.sxab-page-hero__wrap { max-width: 1160px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 44px); }
.sxab-bc              { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .76rem; color: rgba(255,255,255,.48); margin-bottom: 14px; list-style: none; padding: 0; }
.sxab-bc a            { color: rgba(255,255,255,.58); text-decoration: none; }
.sxab-bc a:hover      { color: #fff; }
.sxab-bc__sep         { color: rgba(255,255,255,.3); font-size: .7rem; }
.sxab-page-hero h1    { font-family: 'Poppins',sans-serif; font-size: clamp(1.5rem,3vw,2.1rem); font-weight: 700; color: #fff !important; margin: 0; }
.sxab-intro           { display: grid; grid-template-columns: 3fr 2fr; gap: clamp(28px,5vw,60px); align-items: start; padding: 40px 0 52px; border-bottom: 1px solid #e2e8f0; }
@media(max-width:780px){ .sxab-intro { grid-template-columns: 1fr; } }
.sxab-lead            { font-size: 1.05rem; color: #1a202c !important; line-height: 1.72; margin-bottom: 14px; }
.sxab-facts           { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.sxab-fact            { padding: 18px 0; border-bottom: 1px solid #e2e8f0; }
.sxab-fact:nth-child(odd)      { padding-right: 20px; border-right: 1px solid #e2e8f0; }
.sxab-fact:nth-child(even)     { padding-left: 20px; }
.sxab-fact:nth-last-child(-n+2){ border-bottom: none; }
.sxab-fact__n         { font-family: 'Poppins',sans-serif; font-size: 1.45rem; font-weight: 800; color: #1a56db; line-height: 1; margin-bottom: 4px; }
.sxab-fact__l         { font-size: .76rem; color: #718096; }
.sxab-caps            { padding: 52px 0; border-bottom: 1px solid #e2e8f0; }
.sxab-caps__head      { margin-bottom: 32px; }
.sxab-caps__sub       { font-size: .97rem; color: #4a5568; max-width: 600px; margin-top: 8px; }
.sxab-caps-grid       { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
@media(max-width:680px){ .sxab-caps-grid { grid-template-columns: 1fr; } }
.sxab-cap             { display: flex; gap: 18px; padding: 22px 24px 22px 0; border-bottom: 1px solid #e2e8f0; align-items: flex-start; }
.sxab-cap:nth-child(odd)            { border-right: 1px solid #e2e8f0; }
.sxab-cap:nth-child(even)           { padding-left: 24px; padding-right: 0; }
.sxab-cap:nth-last-child(-n+2)      { border-bottom: none; }
.sxab-cap__n          { font-family: 'Poppins',sans-serif; font-size: .7rem; font-weight: 800; color: #1a56db; letter-spacing: .06em; flex-shrink: 0; padding-top: 3px; min-width: 22px; }
.sxab-cap strong      { display: block; font-family: 'Poppins',sans-serif; font-weight: 700; color: #0a2540; font-size: .98rem; margin-bottom: 6px; }
.sxab-cap p           { font-size: .87rem; color: #4a5568; margin: 0; line-height: 1.65; }
.sxab-team            { padding: 52px 0 0; }
.sxab-team__hd        { margin-bottom: 8px; }
.sxab-team__sub       { font-size: .95rem; color: #4a5568; max-width: 640px; margin: 0 0 32px; }
.sxab-tm-grid         { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
@media(max-width:960px){ .sxab-tm-grid { grid-template-columns: repeat(3,1fr); } }
@media(max-width:660px){ .sxab-tm-grid { grid-template-columns: repeat(2,1fr); gap: 14px; } }
.sxab-card            { display: block; text-decoration: none; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; transition: .18s; }
.sxab-card:hover      { border-color: #1a56db; box-shadow: 0 10px 28px rgba(10,37,64,.09); transform: translateY(-2px); }
.sxab-card__photo     { aspect-ratio: 1/1; background: #eef2f8; overflow: hidden; }
.sxab-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.sxab-card__body      { padding: 13px 15px 16px; }
.sxab-card__name      { display: block; font-family: 'Poppins',sans-serif; font-weight: 700; color: #0a2540; font-size: .93rem; margin-bottom: 3px; line-height: 1.25; }
.sxab-card__role      { display: block; color: #1a56db; font-size: .74rem; font-weight: 600; line-height: 1.35; }
.sxab-cta             { margin-top: 52px; background: #0a2540; border-radius: 14px; padding: clamp(28px,4vw,44px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
@media(max-width:640px){ .sxab-cta { grid-template-columns: 1fr; } }
.sxab-cta__label      { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 8px; }
.sxab-cta h3          { font-family: 'Poppins',sans-serif; font-weight: 700; color: #fff; font-size: clamp(1.1rem,2.2vw,1.4rem); margin: 0 0 6px; }
.sxab-cta p           { color: rgba(255,255,255,.62); font-size: .88rem; margin: 0; }
.sxab-cta__btns       { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
.sxab-btn             { display: inline-flex; align-items: center; gap: 8px; font-family: 'Poppins',sans-serif; font-weight: 600; font-size: .88rem; padding: 11px 22px; border-radius: 6px; text-decoration: none; transition: all .18s; white-space: nowrap; border: 2px solid transparent; cursor: pointer; }
.sxab-btn--primary    { background: #1a56db; color: #fff; border-color: #1a56db; }
.sxab-btn--primary:hover { background: #1342b5; transform: translateY(-1px); }
.sxab-btn--ghost      { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.sxab-btn--ghost:hover{ background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); }
.sxab-firm-note       { margin-top: 28px; padding: 16px 20px; background: #f7f8fa; border-radius: 8px; font-size: .82rem; color: #718096; border: 1px solid #e2e8f0; }
.sxab-firm-note strong{ color: #0a2540; display: block; margin-bottom: 3px; font-size: .85rem; }
