.banner-detail-role {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.team-directory-intro p {
    margin: 0;
    font-size: 18px;
    line-height: 1.8;
    color: #5e6a82;
}

.team-directory-card {
    height: 100%;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(198, 212, 228, 0.55);
    isolation: isolate;
    contain: paint;
    transform: translateZ(0);
    backface-visibility: hidden;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    will-change: transform;
}

.team-directory-photo {
    display: block;
    aspect-ratio: 4 / 4.2;
    overflow: hidden;
    isolation: isolate;
    contain: paint;
}

.team-directory-photo:hover,
.team-directory-photo:focus,
.team-directory-photo:focus-visible {
    display: block !important;
}

.team-directory-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateZ(0);
    backface-visibility: hidden;
    transition: transform .28s ease, opacity .25s ease;
}

.team-directory-card:hover,
.team-directory-card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 28px 64px rgba(15, 23, 42, 0.14);
    border-color: rgba(160, 204, 230, 0.75);
}

.team-directory-card:hover .team-directory-photo img,
.team-directory-card:focus-within .team-directory-photo img {
    transform: translateZ(0) scale(1.015);
    opacity: 0.99;
}

.team-directory-body {
    padding: 28px 28px 30px;
}

.team-directory-meta {
    margin-bottom: 12px;
}

.team-directory-meta span {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: #eff9ff;
    color: #00bde0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.team-directory-body h4 {
    margin-bottom: 12px;
    font-size: 30px;
    line-height: 1.2;
}

.team-directory-body h4 a {
    color: #031b4e;
}

.team-directory-body p {
    margin-bottom: 22px;
    color: #667085;
    line-height: 1.8;
}

.team-directory-actions .durubtn2.small {
    font-size: 13px;
    padding: 14px 24px;
}

.team-member-media {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 28px 65px rgba(7, 20, 43, 0.16);
}

.team-member-media img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.team-member-position {
    margin-bottom: 18px;
    color: #00bde0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.team-member-content {
    color: #5e6a82;
}

.team-member-content h2,
.team-member-content h3,
.team-member-content h4 {
    margin: 30px 0 14px;
    color: #031b4e;
}

.team-member-content p {
    margin-bottom: 18px;
    line-height: 1.9;
}

.team-member-content ul {
    margin: 18px 0 22px;
    padding-left: 0;
    list-style: none;
}

.team-member-content li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}

.team-member-content li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 1px;
    color: #00bde0;
    font-weight: 700;
}

.team-member-social {
    margin-top: 28px;
}

.team-member-social h6 {
    margin-bottom: 14px;
    color: #031b4e;
    font-size: 16px;
    font-weight: 700;
}

.team-member-social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.team-member-social-links a {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eff9ff;
    color: #00bde0;
    transition: transform .25s ease, background .25s ease, color .25s ease;
}

.team-member-social-links a:hover,
.team-member-social-links a:focus {
    background: #00bde0;
    color: #fff;
    transform: translateY(-2px);
}

.team-member-back {
    margin-top: 30px;
}

.team-related-section {
    position: relative;
}

.team-related-separator {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 34px;
}

.team-related-separator-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(8, 28, 74, 0.04) 0%, rgba(8, 28, 74, 0.18) 50%, rgba(8, 28, 74, 0.04) 100%);
}

.team-related-separator-badge {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ffffff 0%, #f0fbff 100%);
    border: 1px solid rgba(175, 214, 232, 0.55);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
    color: #00bde0;
    font-size: 20px;
}

.team-related-header {
    margin-bottom: 10px;
}

.team-related-header h3 {
    margin: 14px 0 0;
    color: #031b4e;
    font-size: 44px;
    line-height: 1.06;
}

.team-related .owl-stage-outer {
    padding: 6px 0 20px;
}

.team-related .item {
    height: 100%;
    padding: 4px;
}

.team-related .team-directory-card {
    margin: 0;
}

[dir="rtl"] .team-member-content ul {
    padding-right: 0;
}

[dir="rtl"] .team-member-content li {
    padding-right: 28px;
    padding-left: 0;
}

[dir="rtl"] .team-member-content li::before {
    right: 0;
    left: auto;
}

[dir="rtl"] .team-related-separator-line {
    background: linear-gradient(90deg, rgba(8, 28, 74, 0.04) 0%, rgba(8, 28, 74, 0.18) 50%, rgba(8, 28, 74, 0.04) 100%);
}

[dir="rtl"] .team-directory-meta span,
[dir="rtl"] .team-member-position {
    letter-spacing: 0;
}

@media screen and (max-width: 767px) {
    .team-directory-body {
        padding: 22px 22px 24px;
    }

    .team-directory-body h4 {
        font-size: 24px;
    }

    .team-directory-intro p {
        font-size: 16px;
    }

    .team-related-separator {
        gap: 12px;
        margin-bottom: 26px;
    }

    .team-related-separator-badge {
        width: 48px;
        height: 48px;
        font-size: 17px;
    }

    .team-related-header h3 {
        font-size: 30px;
    }
}
