.sdcl-service-page {
    padding-bottom: clamp(48px, 6vw, 96px);
}

.sdcl-service-hero {
    padding: clamp(28px, 4vw, 56px) 0 clamp(14px, 2vw, 24px);
}

.sdcl-service-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: #7d8088;
    font-size: 13px;
}

.sdcl-service-breadcrumb a {
    color: #0d2456;
    font-weight: 600;
    text-decoration: none;
}

.sdcl-service-breadcrumb a:hover {
    text-decoration: underline;
}

.sdcl-service-head {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 34px);
    padding: clamp(24px, 3.5vw, 40px);
    border: 1px solid rgba(13, 36, 86, 0.1);
    border-radius: 28px;
    background: linear-gradient(135deg, #ffffff 0%, #f1f7ff 100%);
    box-shadow: 0 24px 60px -46px rgba(13, 36, 86, 0.45);
}

.sdcl-service-head .sdcl-service-icon {
    flex: 0 0 auto;
}

.sdcl-service-eyebrow {
    margin: 0 0 8px;
    color: #5f6673;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.sdcl-service-head h1 {
    margin: 0;
    color: #0d2456;
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.sdcl-service-lede {
    max-width: 720px;
    margin: 12px 0 0;
    color: #536176;
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.7;
}

.sdcl-service-intro {
    padding: 8px 0 0;
}

.sdcl-service-richtext {
    padding: clamp(20px, 3vw, 32px);
    border: 1px solid rgba(13, 36, 86, 0.08);
    border-radius: 24px;
    background: #fff;
    color: #3c4a5f;
    font-size: 16px;
    line-height: 1.8;
}

.sdcl-service-richtext > :first-child { margin-top: 0; }
.sdcl-service-richtext > :last-child { margin-bottom: 0; }
.sdcl-service-richtext p { margin: 0 0 14px; }
.sdcl-service-richtext ul,
.sdcl-service-richtext ol { margin: 0 0 14px; padding-left: 24px; }
.sdcl-service-richtext a { color: #245db5; text-decoration: underline; }

.sdcl-service-staff,
.sdcl-service-others {
    padding-top: clamp(28px, 4vw, 48px);
}

.sdcl-service-staff h2,
.sdcl-service-others h2 {
    margin: 0 0 20px;
    color: #0d2456;
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.sdcl-service-empty {
    margin: 0;
    padding: 28px;
    border: 1px dashed rgba(13, 36, 86, 0.2);
    border-radius: 20px;
    background: #fff;
    color: #667085;
    text-align: center;
}

.sdcl-staff-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.sdcl-staff-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 26px 18px 24px;
    border: 1px solid rgba(13, 36, 86, 0.1);
    border-radius: 24px;
    background: #fff;
    text-align: center;
    box-shadow: 0 22px 46px -40px rgba(13, 36, 86, 0.5);
    transition: transform .22s ease, box-shadow .22s ease;
}

.sdcl-staff-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 58px -36px rgba(13, 36, 86, 0.6);
}

.sdcl-staff-photo {
    position: relative;
    width: 150px;
    height: 150px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 6px solid #ffffff;
    border-radius: 50%;
    background: linear-gradient(145deg, #d7e6f8 0%, #f7fbff 100%);
    box-shadow: 0 18px 36px -24px rgba(12, 30, 70, 0.6);
    color: #174aa6;
    font-size: 40px;
    font-weight: 850;
}

.sdcl-staff-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.sdcl-staff-card h3 {
    margin: 16px 0 0;
    color: #0d2456;
    font-family: Manrope, Inter, sans-serif;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
}

.sdcl-staff-designation {
    margin: 6px 0 0;
    color: #536176;
    font-size: 14px;
    line-height: 1.5;
}

.sdcl-staff-email {
    margin-top: 10px;
    color: #245db5;
    font-size: 13px;
    font-weight: 700;
    word-break: break-word;
    text-decoration: none;
}

.sdcl-staff-email:hover {
    text-decoration: underline;
}

.sdcl-service-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sdcl-service-chips a {
    padding: 10px 20px;
    border: 1px solid rgba(13, 36, 86, 0.16);
    border-radius: 999px;
    background: #fff;
    color: #0d2456;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.sdcl-service-chips a:hover,
.sdcl-service-chips a:focus-visible {
    background: #0d2456;
    color: #fff;
}

@media (max-width: 1100px) {
    .sdcl-staff-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .sdcl-staff-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .sdcl-service-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .sdcl-staff-photo {
        width: 120px;
        height: 120px;
        font-size: 32px;
    }
}

@media (max-width: 460px) {
    .sdcl-staff-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Team chart (top - under the top - middle - team), same look as the faculty Management Team.
   Each row is made of one or more lines; extra people wrap onto an evenly filled line. */
.sdcl-org {
    --org-gap: clamp(18px, 2vw, 28px);
    --org-row-gap: clamp(34px, 4vw, 54px);
    position: relative;
    display: grid;
    gap: var(--org-row-gap);
}

.sdcl-org-row {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: clamp(22px, 2.6vw, 34px);
}

.sdcl-org-row:not(:first-child)::before {
    content: "";
    position: absolute;
    top: calc(var(--org-row-gap) * -0.62);
    left: 50%;
    height: calc(var(--org-row-gap) * 0.55);
    border-left: 2px dashed rgba(217, 31, 45, 0.56);
}

.sdcl-org-row--leaders::after,
.sdcl-org-row--programs::after,
.sdcl-org-row--support::after {
    content: "";
    position: absolute;
    top: calc(var(--org-row-gap) * -0.62);
    left: 12%;
    right: 12%;
    border-top: 2px dashed rgba(217, 31, 45, 0.5);
}

/* The first row has nothing above it to connect to. */
.sdcl-org-row:first-child::after {
    display: none;
}

.sdcl-org-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: var(--org-gap);
}

.sdcl-org-card {
    position: relative;
    flex: 0 0 calc((100% - (var(--cols, 1) - 1) * var(--org-gap)) / var(--cols, 1));
    max-width: 310px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 54px;
}

.sdcl-org-row--dean .sdcl-org-card {
    max-width: 340px;
}

.sdcl-org-avatar {
    position: absolute;
    top: 0;
    z-index: 2;
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 8px solid #ffffff;
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.72), transparent 28%),
        linear-gradient(145deg, #dce8f7, #f5f9ff);
    box-shadow: 0 18px 34px -24px rgba(12, 30, 70, 0.62);
    color: #174aa6;
    font-size: 23px;
    font-weight: 850;
    letter-spacing: 0.02em;
}

.sdcl-org-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.sdcl-org-card--dean .sdcl-org-avatar {
    width: 112px;
    height: 112px;
    color: #ffffff;
    background: linear-gradient(135deg, #0b2b67, #2b61c7);
}

.sdcl-org-body {
    width: 100%;
    flex: 1;
    padding: 58px 18px 20px;
    border: 1px solid rgba(13, 36, 86, 0.13);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 52px -44px rgba(12, 30, 70, 0.7);
    text-align: center;
    transition: transform .22s ease, box-shadow .22s ease;
}

.sdcl-org-card:hover .sdcl-org-body {
    transform: translateY(-3px);
    box-shadow: 0 30px 58px -38px rgba(12, 30, 70, 0.75);
}

.sdcl-org-card--dean .sdcl-org-body {
    padding-top: 70px;
    border-color: rgba(23, 74, 166, 0.22);
}

.sdcl-org-role {
    margin: 0 0 7px;
    color: #d91f2d;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sdcl-org-body h3 {
    margin: 0;
    color: #0a347b;
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(16px, 1.28vw, 20px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.sdcl-org-card--dean .sdcl-org-body h3 {
    color: #08285f;
    font-size: clamp(18px, 1.45vw, 23px);
}

.sdcl-org-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    margin-top: 14px;
    padding: 0 18px;
    border: 1px solid rgba(23, 74, 166, 0.18);
    border-radius: 999px;
    background: #f4f8ff;
    color: #0b3478;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: transform .22s ease, background-color .22s ease, color .22s ease, box-shadow .22s ease;
}

.sdcl-org-email:hover,
.sdcl-org-email:focus-visible {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #0b2b67, #174aa6);
    color: #ffffff;
    box-shadow: 0 14px 24px -18px rgba(23, 74, 166, 0.7);
}

.sdcl-org-email svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
    flex: 0 0 auto;
}

@media (max-width: 1100px) {
    .sdcl-org-card {
        flex-basis: calc((100% - var(--org-gap)) / 2);
        max-width: none;
    }

    .sdcl-org-row--dean .sdcl-org-card {
        flex-basis: min(100%, 340px);
    }

    /* A line with one person keeps the normal card width instead of stretching to half the row. */
    .sdcl-org-line[style*="--cols: 1"] .sdcl-org-card {
        flex-basis: min(100%, 310px);
    }
}

@media (max-width: 640px) {
    .sdcl-org {
        gap: 20px;
    }

    .sdcl-org-row:not(:first-child)::before,
    .sdcl-org-row::after {
        display: none;
    }

    .sdcl-org-line {
        gap: 18px;
    }

    .sdcl-org-card,
    .sdcl-org-row--dean .sdcl-org-card {
        flex: 1 1 100%;
        max-width: none;
    }
}
