﻿.team-facelift {
    --fx-primary: #e67e22;
    --fx-bg: #080a0d;
    --fx-text: #d3d9df;
    --fx-border: rgba(230, 126, 34, 0.28);
    isolation: auto;
}

.team-facelift .hero-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.team-facelift .hero-actions .confer-btn {
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(185, 86, 0, 0.34);
}

.team-facelift .hero-actions .hero-link {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid rgba(230, 126, 34, 0.9);
    padding-bottom: 2px;
}

.team-facelift .team-section {
    padding: 94px 0 100px;
}

.team-facelift .team-group {
    margin-bottom: 58px;
}

.team-facelift .team-group:last-child {
    margin-bottom: 0;
}

.team-facelift .team-group-head {
    margin-bottom: 20px;
}

.team-facelift .team-group-head h3 {
    color: #ffffff;
    margin-bottom: 8px;
    font-size: clamp(28px, 3vw, 36px);
}

.team-facelift .team-group-head p {
    margin-bottom: 0;
    color: #b8bfc5;
    max-width: 800px;
    line-height: 1.6;
}

.team-facelift .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.team-facelift .team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 18px;
    border-radius: 16px;
    border: 1px solid var(--fx-border);
    background: linear-gradient(165deg, rgba(22, 24, 30, 0.94), rgba(16, 19, 24, 0.78));
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
    transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.team-facelift .team-card:hover,
.team-facelift .team-card:focus-within {
    transform: translateY(-6px);
    border-color: var(--team-primary);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.32);
}

.team-facelift .team-avatar {
    width: 98px;
    height: 98px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(230, 126, 34, 0.44);
    margin-bottom: 14px;
}

.team-facelift .team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-facelift .team-meta h5 {
    margin-bottom: 6px;
    color: #ffffff;
    font-size: 21px;
    word-break: break-word;
}

.team-facelift .team-meta p {
    margin-bottom: 14px;
    color: #afb7be;
    min-height: 44px;
    line-height: 1.4;
}

.team-facelift .team-btn {
    border-radius: 999px;
    min-width: 140px;
    margin-top: auto;
}

.team-facelift .team-empty {
    border: 1px dashed rgba(230, 126, 34, 0.35);
    border-radius: 14px;
    padding: 14px 16px;
    color: #adb5bc;
    background: rgba(230, 126, 34, 0.06);
}

.teaminfos-modal .modal-header,
.teaminfos-modal .modal-body,
.teaminfos-modal .modal-footer {
    background-color: #17181b;
    color: #ffffff;
}

.teaminfos-modal .modal-content {
    border: 1px solid rgba(230, 126, 34, 0.3);
    background: #17181b;
    border-radius: 14px;
}

.teaminfos-modal .close,
.teaminfos-modal .btn {
    color: #ffffff;
    text-shadow: none;
}

.teaminfos-modal .modal-header,
.teaminfos-modal .modal-footer {
    border-color: rgba(230, 126, 34, 0.22);
}

.teaminfos-modal #profildata {
    color: #d3d9df;
}

.teaminfos-modal .teamprofile-fragment {
    display: grid;
    gap: 16px;
}

.teaminfos-modal .teamprofile-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(230, 126, 34, 0.22);
}

.teaminfos-modal .teamprofile-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 2px solid rgba(230, 126, 34, 0.5);
    object-fit: cover;
}

.teaminfos-modal .teamprofile-title h4 {
    margin: 0 0 4px;
    color: #ffffff;
}

.teaminfos-modal .teamprofile-title p {
    margin: 0;
    color: #aeb7be;
}

.teaminfos-modal .teamprofile-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr 1fr;
}

.teaminfos-modal .teamprofile-card {
    border: 1px solid rgba(230, 126, 34, 0.22);
    border-radius: 12px;
    background: rgba(10, 12, 15, 0.38);
    padding: 14px;
}

.teaminfos-modal .teamprofile-card h6 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.teaminfos-modal .teamprofile-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 7px;
}

.teaminfos-modal .teamprofile-list li {
    color: #d3d9df;
    line-height: 1.45;
}

.teaminfos-modal .teamprofile-list .label {
    color: #afb7be;
    margin-right: 6px;
}

.teaminfos-modal .teamprofile-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.teaminfos-modal .teamprofile-contact a,
.teaminfos-modal .teamprofile-contact span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(230, 126, 34, 0.34);
    border-radius: 999px;
    padding: 6px 12px;
    color: #ffffff;
    text-decoration: none;
    background: rgba(230, 126, 34, 0.1);
}

.teaminfos-modal .teamprofile-description {
    max-height: 320px;
    overflow-y: auto;
    line-height: 1.6;
    color: #d3d9df;
}

.teaminfos-modal .teamprofile-empty {
    border: 1px dashed rgba(230, 126, 34, 0.34);
    border-radius: 12px;
    padding: 12px;
    color: #b8c0c7;
}

body .teaminfos-modal {
    position: fixed !important;
    z-index: 200010 !important;
}

body .modal-backdrop {
    z-index: 200000 !important;
}

@media only screen and (max-width: 991px) {
}

@media only screen and (max-width: 767px) {
    .team-facelift .team-section {
        padding-top: 78px;
        padding-bottom: 82px;
    }

    .teaminfos-modal .teamprofile-grid {
        grid-template-columns: 1fr;
    }
}

