/* Concordia organigramme
   Mobile layout is the default. Wider layouts are chosen from the
   shortcode width (container queries), so a narrow page column stays
   stacked even on a large monitor. */

.co-fit {
    container-name: organigramme;
    container-type: inline-size;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    min-width: 0;
}

.co-fit,
.co-fit * {
    box-sizing: border-box;
}

.co-fit .co-org {
    --co-navy: #1c3d8f;
    --co-blue: #2d78c2;
    --co-blue-deep: #1a4e9c;
    --co-sky: #f4f9fd;
    --co-line: #d5e6f5;
    --co-gold: #f5c400;
    --co-gold-deep: #e3b000;
    --co-gold-soft: #fff8e4;
    --co-ink: #1a365d;
    --co-muted: #4e6888;
    --co-mail: #4f74a0;
    --co-link: #4a96d0;
    --co-pad: 14px;
    --co-radius: 18px;
    background: #fff;
    color: var(--co-ink);
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.35;
    border: 1px solid #e6eef6;
    border-radius: 18px;
    box-shadow: 0 10px 36px rgba(20, 60, 120, 0.06);
    padding: 18px var(--co-pad) 22px;
    overflow: hidden;
    min-width: 0;
}

.co-fit .co-org h2,
.co-fit .co-org h3,
.co-fit .co-org p {
    margin: 0;
    padding: 0;
    font-weight: inherit;
    text-transform: none;
    letter-spacing: normal;
    line-height: inherit;
    color: inherit;
}

.co-fit .co-org a {
    text-decoration: none;
    box-shadow: none;
    background: none;
    border: 0;
}

.co-fit .co-org img {
    border: 0;
    box-shadow: none;
    vertical-align: middle;
}

/* Header */

.co-fit .co-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
        "title title"
        "left right";
    gap: 12px 10px;
    align-items: center;
    justify-items: center;
    margin-bottom: 18px;
    min-width: 0;
}

.co-fit .co-heading {
    grid-area: title;
    text-align: center;
    min-width: 0;
    width: 100%;
}

.co-fit .co-title {
    font-family: Montserrat, "Segoe UI", sans-serif;
    font-weight: 800;
    font-size: 26px;
    font-size: clamp(24px, 6.2cqi, 42px);
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--co-navy);
    text-wrap: balance;
}

.co-fit .co-script {
    font-family: "Great Vibes", "Segoe Script", cursive;
    font-weight: 400;
    font-size: 36px;
    font-size: clamp(34px, 8cqi, 58px);
    line-height: 0.9;
    color: var(--co-navy);
    margin-top: 2px;
}

.co-fit .co-logo {
    min-width: 0;
    max-width: 100%;
    display: flex;
    justify-content: center;
}

.co-fit .co-logo-left { grid-area: left; justify-self: end; }
.co-fit .co-logo-right { grid-area: right; justify-self: start; }

.co-fit .co-logo img,
.co-fit .co-logo-img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 72px !important;
    object-fit: contain;
}

.co-fit .co-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3px;
    color: var(--co-navy);
    max-width: 100%;
}

.co-fit .co-brand-mark svg {
    display: block;
    width: 48px;
    height: 48px;
}

.co-fit .co-brand strong {
    font-family: Montserrat, "Segoe UI", sans-serif;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--co-navy);
}

.co-fit .co-brand small,
.co-fit .co-brand em {
    font-style: normal;
    font-weight: 700;
    font-size: 7.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.3;
    color: var(--co-navy);
}

.co-fit .co-brand-aefe small {
    color: #e23b2f;
    letter-spacing: 0.04em;
}

.co-fit .co-aefe-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.co-fit .co-aefe-row svg {
    width: 28px;
    height: 28px;
    flex: none;
}

.co-fit .co-brand-aefe strong {
    font-size: 26px;
    letter-spacing: -0.04em;
    text-transform: lowercase;
}

.co-fit .co-brand-aefe em {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    font-size: 8px;
    max-width: 130px;
}

/* Leadership */

.co-fit .co-board,
.co-fit .co-top,
.co-fit .co-lanes,
.co-fit .co-lane,
.co-fit .co-col,
.co-fit .co-person-text {
    min-width: 0;
}

.co-fit .co-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
}

.co-fit .co-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    width: 100%;
}

.co-fit .co-slot.is-empty {
    display: none;
}

.co-fit .co-slot-pad {
    display: none;
}

.co-fit .co-slot-card {
    width: 100%;
    min-width: 0;
}

.co-fit .co-slot-stem {
    width: 2px;
    height: 18px;
    flex: none;
    background: var(--co-link);
}

.co-fit .co-sat,
.co-fit .co-boss {
    width: 100%;
    border-radius: 16px;
}

.co-fit .co-sat {
    display: flex;
    flex-direction: column;
    background: #f7fbfe;
    border: 1.5px solid #9dcef0;
    box-shadow: 0 6px 16px rgba(32, 96, 168, 0.05);
    padding: 14px 14px 12px;
}

.co-fit .co-sat-head {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.co-fit .co-sat .co-role {
    font-family: Montserrat, "Segoe UI", sans-serif;
    font-weight: 800;
    font-size: 18px;
    font-size: clamp(17px, 3.4cqi, 22px);
    line-height: 1.15;
    color: var(--co-navy);
    min-width: 0;
}

.co-fit .co-sat-foot {
    margin-top: auto;
    padding-top: 10px;
    text-align: center;
}

.co-fit .co-sat .co-name,
.co-fit .co-person .co-name,
.co-fit .co-boss-sec .co-name {
    font-family: Montserrat, "Segoe UI", sans-serif;
    font-weight: 800;
    font-size: 15px;
    line-height: 1.25;
    color: var(--co-navy);
}

.co-fit .co-boss {
    background: linear-gradient(165deg, #215ab8 0%, #163e86 100%);
    color: #fff;
    box-shadow: 0 12px 28px rgba(20, 60, 140, 0.18);
    padding: 16px 16px 14px;
}

.co-fit .co-boss-main {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-width: 0;
}

.co-fit .co-boss-id {
    min-width: 0;
}

.co-fit .co-boss-main .co-role {
    font-family: Montserrat, "Segoe UI", sans-serif;
    font-weight: 600;
    font-size: 16px;
    font-size: clamp(15px, 2.8cqi, 20px);
    line-height: 1.15;
    color: #fff;
}

.co-fit .co-boss-main .co-name {
    font-family: Montserrat, "Segoe UI", sans-serif;
    font-weight: 800;
    font-size: 22px;
    font-size: clamp(20px, 4cqi, 28px);
    line-height: 1.15;
    color: #fff;
    overflow-wrap: anywhere;
}

.co-fit .co-boss > .co-mail {
    margin-top: 8px;
}

.co-fit .co-boss-sec {
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    margin-top: 12px;
    padding-top: 12px;
    text-align: center;
}

.co-fit .co-boss-sec .co-avatar-sec {
    width: 52px;
    height: 52px;
    margin: 0 auto 8px;
    background: #fff;
    color: #1a4e9c;
}

.co-fit .co-boss-sec .co-role {
    font-family: Montserrat, "Segoe UI", sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: #fff;
}

.co-fit .co-boss-sec .co-name {
    font-size: 18px;
    color: #fff;
    margin-top: 2px;
}

.co-fit .co-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    overflow: hidden;
    background: #e7f3fb;
    color: var(--co-blue-deep);
    box-shadow: 0 0 0 2px #d7ebf8;
}

.co-fit .co-avatar svg {
    width: 24px;
    height: 24px;
    display: block;
}

.co-fit .co-avatar-lg {
    width: 64px;
    height: 64px;
    background: #fff;
    color: var(--co-blue-deep);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28);
}

.co-fit .co-avatar-lg svg {
    width: 34px;
    height: 34px;
}

.co-fit .co-avatar img,
.co-fit .co-photo {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.co-fit .co-mail {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    max-width: 100%;
    color: var(--co-mail);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
}

.co-fit .co-mail svg {
    width: 14px;
    height: 14px;
    flex: none;
    margin-top: 1px;
}

.co-fit .co-mail span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.co-fit .co-mail:hover {
    text-decoration: underline;
}

.co-fit .co-mail:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
    border-radius: 4px;
}

.co-fit .co-boss .co-mail {
    color: #fff;
}

.co-fit .co-boss > .co-mail,
.co-fit .co-boss-sec .co-mail,
.co-fit .co-sat-foot .co-mail {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Connectors are only drawn when three poles fit on one row. */

.co-fit .co-connect {
    display: none;
}

/* Poles */

.co-fit .co-lanes {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    margin-top: 8px;
    align-items: stretch;
}

.co-fit .co-lane {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: auto;
}

.co-fit .co-col {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: auto;
    margin-top: 26px;
    border-radius: 20px;
    background: var(--co-sky);
    border: 1px solid #d4e7f6;
    box-shadow: 0 8px 22px rgba(24, 78, 140, 0.05);
    position: relative;
}

.co-fit .co-theme-gold.co-col {
    background: var(--co-gold-soft);
    border-color: #f0dd9e;
}

.co-fit .co-theme-navy.co-col {
    background: #f4f7fb;
    border-color: #d5deea;
}

.co-fit .co-col-head {
    position: relative;
    text-align: center;
    color: #fff;
    background: linear-gradient(180deg, #3b8ad4 0%, #2b74be 100%);
    border-radius: 19px 19px 0 0;
    padding: 34px 12px 12px;
}

.co-fit .co-theme-gold .co-col-head {
    background: linear-gradient(180deg, #ffe14a 0%, #f5c400 100%);
    color: var(--co-navy);
}

.co-fit .co-theme-navy .co-col-head {
    background: linear-gradient(180deg, #2458ad 0%, #1a4e9c 100%);
    color: #fff;
}

.co-fit .co-col-head h3 {
    font-family: Montserrat, "Segoe UI", sans-serif;
    font-weight: 800;
    font-size: 18px;
    font-size: clamp(16px, 3.2cqi, 22px);
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: inherit;
    text-wrap: balance;
}

.co-fit .co-col-icon {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 50%;
    width: 52px;
    height: 52px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #fff;
    color: #2c74be;
    display: grid;
    place-items: center;
    box-shadow: 0 0 0 4px #fff, 0 4px 12px rgba(16, 60, 120, 0.12);
}

.co-fit .co-theme-gold .co-col-icon,
.co-fit .co-theme-navy .co-col-icon {
    color: var(--co-navy);
}

.co-fit .co-col-icon svg {
    width: 26px;
    height: 26px;
    display: block;
}

.co-fit .co-col-icon img,
.co-fit .co-icon-img {
    width: 68% !important;
    height: 68% !important;
    max-width: none !important;
    object-fit: contain;
    display: block;
}

.co-fit .co-col-body {
    flex: 1 1 auto;
    min-width: 0;
}

.co-fit .co-theme-blue { --co-line: #d5e6f5; }
.co-fit .co-theme-gold { --co-line: #f0e2b0; }
.co-fit .co-theme-navy { --co-line: #d5deea; }

.co-fit .co-person {
    min-width: 0;
    max-width: 100%;
}

.co-fit .co-person-text {
    min-width: 0;
    max-width: 100%;
}

.co-fit .co-job {
    margin-top: 3px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--co-muted);
    overflow-wrap: break-word;
}

.co-fit .co-person .co-mail {
    margin-top: 6px;
}

.co-fit .co-people-grid,
.co-fit .co-people-stack {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.co-fit .co-person-grid,
.co-fit .co-person-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 14px 12px 16px;
    gap: 4px;
}

.co-fit .co-people-grid .co-person + .co-person,
.co-fit .co-people-stack .co-person + .co-person {
    border-top: 1px solid var(--co-line);
}

.co-fit .co-person-stack {
    padding: 18px 16px;
}

.co-fit .co-featured-list .co-person-featured {
    border-bottom: 1px solid var(--co-line);
}

.co-fit .co-person-featured,
.co-fit .co-person-nested {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    text-align: left;
    width: 100%;
    padding: 14px 14px 12px;
}

.co-fit .co-person-featured .co-person-text,
.co-fit .co-person-nested .co-person-text {
    text-align: left;
}

.co-fit .co-nested-stack {
    position: static;
    width: min(100%, 440px);
    max-width: 100%;
    margin: 12px 0 0 auto;
    transform: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.co-fit .co-person-nested {
    background: #fff;
    border: 2px solid #8ec4ef;
    border-radius: 16px;
    box-shadow: 0 8px 18px rgba(24, 84, 150, 0.08);
    padding: 12px 14px;
}

/* Footer */

.co-fit .co-foot {
    margin: 20px calc(var(--co-pad) * -1) 0;
}

.co-fit .co-slogan {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 8px 0 12px;
    padding: 0 12px;
    color: var(--co-navy);
    font-family: Montserrat, "Segoe UI", sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.4;
}

.co-fit .co-slogan span {
    min-width: 0;
    text-wrap: balance;
}

.co-fit .co-slogan::before,
.co-fit .co-slogan::after {
    content: none;
}

.co-fit .co-wave {
    display: block;
    width: 100%;
    height: 54px;
}

/* Very narrow phones: stack profile rows so names are not squeezed. */

@container organigramme (max-width: 380px) {
    .co-fit .co-boss-main,
    .co-fit .co-person-featured,
    .co-fit .co-person-nested,
    .co-fit .co-sat-head {
        flex-direction: column;
        text-align: center;
    }

    .co-fit .co-boss-id,
    .co-fit .co-person-featured .co-person-text,
    .co-fit .co-person-nested .co-person-text,
    .co-fit .co-sat .co-role {
        text-align: center;
    }

    .co-fit .co-person-featured .co-mail,
    .co-fit .co-person-nested .co-mail {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Large phones and small tablets: two people side by side inside a full-width pole. */

@container organigramme (min-width: 540px) {
    .co-fit .co-people-grid:not(.is-single) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .co-fit .co-people-grid .co-person + .co-person {
        border-top: 0;
    }

    .co-fit .co-people-grid .co-person:nth-child(2n) {
        border-left: 1px solid var(--co-line);
    }

    .co-fit .co-people-grid .co-person:nth-child(n + 3) {
        border-top: 1px solid var(--co-line);
    }

    .co-fit .co-slogan::before,
    .co-fit .co-slogan::after {
        content: "";
        height: 2px;
        background: var(--co-navy);
        flex: 1 1 20px;
        max-width: 88px;
    }

    .co-fit .co-slogan {
        letter-spacing: 0.12em;
        font-size: 12px;
    }
}

/* Tablet: title between the logos, proviseur full width, side roles in two columns. */

@container organigramme (min-width: 720px) {
    .co-fit .co-org {
        --co-pad: 22px;
        padding-top: 24px;
        border-radius: 24px;
    }

    .co-fit .co-header {
        grid-template-columns: minmax(96px, 160px) minmax(0, 1fr) minmax(110px, 190px);
        grid-template-areas: "left title right";
        gap: 12px 18px;
        margin-bottom: 22px;
    }

    .co-fit .co-logo-left,
    .co-fit .co-logo-right {
        justify-self: center;
    }

    .co-fit .co-logo img,
    .co-fit .co-logo-img {
        max-height: 92px !important;
    }

    .co-fit .co-brand { max-width: 180px; }
    .co-fit .co-brand-mark svg { width: 64px; height: 64px; }
    .co-fit .co-brand strong { font-size: 18px; }
    .co-fit .co-brand-aefe strong { font-size: 30px; }
    .co-fit .co-aefe-row svg { width: 36px; height: 36px; }
    .co-fit .co-brand small,
    .co-fit .co-brand em { font-size: 8px; }
    .co-fit .co-brand-aefe em { max-width: 160px; font-size: 9px; }

    .co-fit .co-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .co-fit .co-slot.is-boss {
        grid-column: 1 / -1;
    }

    .co-fit .co-sat {
        height: 100%;
    }

    .co-fit .co-slot-stem {
        display: none;
    }

    .co-fit .co-avatar-lg {
        width: 72px;
        height: 72px;
    }

    .co-fit .co-boss {
        padding: 20px 22px 16px;
    }

    .co-fit .co-lanes {
        gap: 28px;
    }

    .co-fit .co-wave {
        height: 68px;
    }

    .co-fit .co-slogan::before,
    .co-fit .co-slogan::after {
        max-width: 140px;
    }
}

/* Extra poles can sit two-up once each card has room. The three-pole poster stays stacked until it fits. */

@container organigramme (min-width: 860px) {
    .co-fit .co-count-2 .co-lanes,
    .co-fit .co-count-4 .co-lanes,
    .co-fit .co-count-5 .co-lanes,
    .co-fit .co-count-6 .co-lanes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 18px;
    }
}

/* Poster: three leadership cards over three poles, with the connector tree. */

@container organigramme (min-width: 960px) {
    .co-fit .co-org {
        --co-pad: 28px;
        --co-gap: 18px;
        padding-top: 28px;
    }

    .co-fit .co-header {
        margin-bottom: 26px;
    }

    .co-fit .co-top {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--co-gap);
        align-items: stretch;
    }

    .co-fit .co-slot.is-boss,
    .co-fit .co-slot.is-side {
        grid-column: auto;
        grid-row: auto;
    }

    .co-fit .co-slot.is-boss { grid-column: 2; grid-row: 1; }
    .co-fit .co-slot.is-side:nth-child(2) { grid-column: 1; grid-row: 1; }
    .co-fit .co-slot.is-side:nth-child(3) { grid-column: 3; grid-row: 1; }

    .co-fit .co-count-3 .co-slot {
        display: grid;
        grid-template-rows: minmax(8px, 1fr) auto minmax(16px, 1fr);
        align-items: stretch;
        height: 100%;
    }

    .co-fit .co-count-3 .co-slot.is-empty {
        display: grid;
    }

    .co-fit .co-count-3 .co-slot-pad {
        display: block;
    }

    .co-fit .co-count-3 .co-slot-stem {
        display: block;
        width: 2px;
        height: auto;
        align-self: stretch;
        justify-self: center;
        background: var(--co-link);
        position: relative;
        z-index: 1;
    }

    .co-fit .co-count-3 .co-sat {
        min-height: 132px;
        height: 100%;
        border-radius: 18px;
        padding: 16px 16px 14px;
    }

    .co-fit .co-count-3 .co-boss {
        width: calc(100% + 20px);
        max-width: none;
        margin-left: -10px;
        position: relative;
        z-index: 2;
        border-radius: 20px;
    }

    .co-fit .co-count-3 .co-connect {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--co-gap);
        height: 40px;
        margin-top: -1px;
        position: relative;
        z-index: 1;
    }

    .co-fit .co-count-3 .co-connect div {
        position: relative;
        height: 100%;
    }

    .co-fit .co-count-3 .co-connect .co-stem {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 2px;
        transform: translateX(-50%);
        background: var(--co-link);
    }

    .co-fit .co-count-3 .co-connect div:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        width: calc(100% + var(--co-gap));
        height: 2px;
        background: var(--co-link);
    }

    .co-fit .co-count-3 .co-lanes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--co-gap);
        margin-top: 0;
    }

    .co-fit .co-count-4 .co-lanes,
    .co-fit .co-count-5 .co-lanes,
    .co-fit .co-count-6 .co-lanes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .co-fit .co-count-3 .co-col-head h3 {
        font-size: 18px;
    }

    .co-fit .co-count-3.has-float .co-lanes {
        margin-bottom: 124px;
    }

    .co-fit .co-count-3 .co-nested-stack {
        position: absolute;
        right: 0;
        top: 100%;
        bottom: auto;
        width: min(86%, 300px);
        margin: 10px 0 0;
        transform: none;
        z-index: 3;
    }

    .co-fit .co-slogan {
        font-size: 13px;
        letter-spacing: 0.16em;
        margin-bottom: 8px;
    }

    .co-fit .co-wave {
        height: 78px;
    }
}

@container organigramme (min-width: 1100px) {
    .co-fit .co-count-4 .co-lanes {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.co-fit .co-card {
    cursor: pointer;
}

.co-fit .co-sat.co-card:hover,
.co-fit .co-sat.co-card.is-active,
.co-fit .co-person.co-card:hover,
.co-fit .co-person.co-card.is-active,
.co-fit .co-person-nested.co-card:hover,
.co-fit .co-person-nested.co-card.is-active {
    box-shadow: 0 12px 26px rgba(20, 60, 120, 0.16);
}

.co-fit .co-boss.co-card:hover,
.co-fit .co-boss.co-card.is-active {
    box-shadow: 0 16px 34px rgba(20, 60, 140, 0.28);
}

.co-fit .co-card:focus-visible {
    outline: 3px solid #1c3d8f;
    outline-offset: 3px;
}

.co-modal[hidden] {
    display: none !important;
}

.co-modal.is-follow {
    display: block;
    padding: 0;
    pointer-events: none;
}

.co-modal.is-follow .co-modal-backdrop,
.co-modal.is-follow .co-modal-close {
    display: none;
}

.co-modal.is-follow .co-modal-dialog {
    position: fixed;
    z-index: 1;
    width: min(340px, calc(100vw - 20px));
    max-height: min(72vh, 520px);
    margin: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 22px 18px 18px;
    pointer-events: none;
}

.co-modal.is-follow .co-modal-photo {
    width: 128px;
    height: 128px;
}

.co-modal.is-follow .co-modal-copy,
.co-modal.is-follow .co-modal-extra {
    width: 100%;
}

.co-modal.is-follow .co-modal-extra {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.co-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    padding: 20px 14px;
    box-sizing: border-box;
}

.co-modal *,
.co-modal *::before,
.co-modal *::after {
    box-sizing: border-box;
}

.co-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 36, 74, 0.48);
}

.co-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(640px, 100%);
    max-height: min(90vh, 720px);
    overflow: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 36px 22px 26px;
    text-align: center;
    color: #1a365d;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 24px 64px rgba(12, 32, 72, 0.28);
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
}

.co-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #eef4fb;
    color: #1c3d8f;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.co-modal-close:hover,
.co-modal-close:focus-visible {
    background: #1c3d8f;
    color: #fff;
}

.co-modal-photo {
    position: relative;
    width: 148px;
    height: 148px;
    flex: 0 0 auto;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: #e7f3fb;
    color: #1a4e9c;
    box-shadow: 0 0 0 6px #e7f3fb;
}

.co-modal-photo img,
.co-modal-photo .co-avatar {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    border-radius: 50%;
    object-fit: cover !important;
    object-position: center 18%;
    box-shadow: none;
}

.co-modal-photo .co-avatar {
    display: grid;
    place-items: center;
}

.co-modal-photo .co-avatar svg {
    width: 72px;
    height: 72px;
}

.co-modal-copy {
    min-width: 0;
    width: 100%;
}

.co-modal-role,
.co-modal-name,
.co-modal-job,
.co-modal-mail {
    margin: 0;
}

.co-modal-role {
    font-family: Montserrat, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #2d78c2;
}

.co-modal-name {
    margin-top: 4px;
    font-family: Montserrat, "Segoe UI", sans-serif;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.15;
    color: #1c3d8f;
}

.co-modal-job {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    white-space: pre-line;
    color: #4e6888;
}

.co-modal-mail {
    display: inline-block;
    margin-top: 12px;
    color: #1a4e9c;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.co-modal-mail:hover {
    text-decoration: underline;
}

.co-modal-extra {
    width: 100%;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #d5e6f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.co-modal-sec-photo {
    position: relative;
    width: 84px;
    height: 84px;
    flex: 0 0 auto;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: #e7f3fb;
    color: #1a4e9c;
}

.co-modal-sec-photo img,
.co-modal-sec-photo .co-avatar {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    border-radius: 50%;
    object-fit: cover !important;
    object-position: center 18%;
    box-shadow: none;
}

.co-modal-sec-copy {
    min-width: 0;
}

.co-modal-extra .co-modal-name {
    font-size: 22px;
}

@media (min-width: 640px) {
    .co-modal-dialog {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 26px;
        padding: 32px 32px 28px 28px;
    }

    .co-modal-photo {
        width: 180px;
        height: 180px;
    }

    .co-modal-copy {
        width: auto;
        flex: 1 1 auto;
    }

    .co-modal-extra {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
}

@media print {
    .co-fit {
        max-width: none;
    }

    .co-fit .co-org,
    .co-fit .co-boss,
    .co-fit .co-col,
    .co-fit .co-col-head,
    .co-fit .co-wave,
    .co-fit .co-person-nested {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .co-fit .co-org {
        box-shadow: none;
        border: 0;
    }
}
