.org-chart {
    --line: #abb3b9;
    max-width: 1200px;
    margin: 0 auto;
    color: #202b32;
    text-align: center;
}
.org-chart .org-ceo {
    display: grid;
    place-content: center;
    width: 138px;
    height: 138px;
    margin: 0 auto;
    border: 9px solid #cc1822;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1.25;
}
.org-management::before {
    content: ""; display: block; width: 0; height: 24px; margin: 0 auto; border-left: 1px solid var(--line);
}
.org-management-node {
    width: min(100%, 248px); margin: 0 auto; padding: 10px 14px 8px;
    background: #86232c; color: #fff; border-radius: 14px; text-align: center;
}
.org-chart .org-management-node h3 { margin: 0; font-size: 20px; line-height: 1.25; color: inherit; font-weight: 600; }
.org-chart .org-management-node p { margin: 4px 0 0; font-size: 14px; line-height: 1.4; color: inherit; }
.org-chart .org-management-node .org-phone { color: inherit; margin-top: 2px; }
.org-chart ul { display: grid; position: relative; margin: 0; padding: 30px 0 0; list-style: none; }
.org-chart ul::before {
    position: absolute; content: ""; top: 0; left: 50%; height: 30px; border-left: 1px solid var(--line);
}
.org-branches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.org-teams { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.org-chart li { position: relative; min-width: 0; padding-top: 24px; }
.org-chart li::before, .org-chart li::after { content: ""; position: absolute; top: 0; }
.org-chart li::before { left: 0; right: 0; border-top: 1px solid var(--line); }
.org-chart li:first-child::before { left: 50%; }
.org-chart li:last-child::before { right: 50%; }
.org-chart li::after { height: 24px; left: 50%; border-left: 1px solid var(--line); }
.org-branches h4, .org-chart .org-teams span {
    display: grid; place-content: center; margin: 0 auto;
    border-radius: 30px; line-height: 1.25; font-weight: 600; word-break: keep-all;
}
.org-branches h4 { width: min(92%, 190px); min-height: 52px; padding: 8px; background: #ca3020; color: white; font-size: 18px; }
.org-chart .org-teams span {
    width: calc(100% - 8px); min-height: 50px; padding: 6px; color: #fff; background: #a94600; font-size: 15px;
}
.org-chart .org-phone {
    display: block; width: fit-content; margin: 6px auto 0; padding: 3px;
    font-size: 14px; line-height: 1.45; white-space: nowrap; color: #28353d;
}
#mro-organization { scroll-margin-top: 105px; }
#mro-organization p { margin: 16px 8px 0; font-size: 15px; line-height: 1.5; word-break: keep-all; }
@media (max-width: 991px) {
    .org-chart { text-align: left; }
    .org-chart .org-ceo { text-align: center; width: 110px; height: 110px; border-width: 6px; }
    .org-chart .org-branches { display: block; padding: 18px 0 0; margin: 0 16px; }
    .org-chart ul::before, .org-chart .org-teams li::before, .org-chart .org-teams li::after { display: none; }
    .org-chart .org-branches::before {
        display: block; left: 0; right: 50%; height: 18px;
        border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
    }
    .org-chart .org-branches > li { padding: 20px 0 8px 24px; }
    .org-chart .org-branches > li::before { inset: 0 auto 0 0; border: 0; border-left: 1px solid var(--line); }
    .org-chart .org-branches > li:last-child::before { bottom: auto; height: 46px; }
    .org-chart .org-branches > li::after { top: 46px; left: 0; width: 24px; height: 0; border: 0; border-top: 1px solid var(--line); }
    .org-branches h4 { margin: 0; text-align: center; }
    .org-chart .org-teams { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; gap: 8px; max-width: 480px; padding-top: 10px; }
    .org-chart .org-teams li { padding: 0; text-align: center; }
    .org-chart .org-teams span { width: 100%; }
    .org-chart .org-branches > li > a, #mro-organization p { margin-left: 0; }
}
