.mil-team-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.mil-team-card-link .mil-team-card {
    border-radius: 40px;
    padding: 18px 16px 20px;
    transition: transform 0.35s cubic-bezier(0, 0, 0.3642, 1), box-shadow 0.35s cubic-bezier(0, 0, 0.3642, 1), background-color 0.35s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-team-card-link:hover .mil-team-card,
.mil-team-card-link:focus-visible .mil-team-card {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 48px rgba(13, 81, 82, 0.18);
}

.mil-team-card-link:focus-visible {
    outline: none;
}

.mil-team-card-link:focus-visible .mil-team-card {
    box-shadow: 0 24px 48px rgba(13, 81, 82, 0.2), 0 0 0 3px rgba(35, 219, 224, 0.35);
}

.mil-team-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    color: #0d5152;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.mil-team-card-cta i {
    font-size: 12px;
    transition: transform 0.25s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-team-card-link:hover .mil-team-card-cta i,
.mil-team-card-link:focus-visible .mil-team-card-cta i {
    transform: translateX(3px);
}

.mil-team-portrait-placeholder {
    background: linear-gradient(145deg, #1c6360 0%, #0d5152 100%);
}

.mil-team-portrait-placeholder span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f2fafa;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 2px;
}

.mil-team-profile-banner {
    height: auto;
    padding: 0;
}

.mil-team-profile-wrap {
    padding-bottom: 130px;
}

.mil-team-profile-hero {
    margin-top: 40px;
    padding: 50px;
    border-radius: 40px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(237, 248, 248, 0.97) 100%);
    border: 1px solid rgba(13, 81, 82, 0.12);
    box-shadow: 0 26px 60px rgba(13, 81, 82, 0.16);
}

.mil-team-profile-media {
    min-height: 360px;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    background-color: #f2fafa;
    border: 1px solid rgba(13, 81, 82, 0.12);
}

.mil-team-profile-media img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    object-position: top center;
}

.mil-team-profile-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #f2fafa;
    text-align: center;
    background: linear-gradient(160deg, #1c6360 0%, #0d5152 100%);
}

.mil-team-profile-placeholder span {
    font-size: 58px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 3px;
}

.mil-team-profile-role {
    color: #0d5152;
    font-weight: 600;
    font-size: 22px;
}

.mil-team-profile-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mil-team-profile-chip {
    background-color: rgba(13, 81, 82, 0.08);
    color: #0d5152;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 14px;
    line-height: 1.3;
}

.mil-team-profile-chip a {
    color: inherit;
    text-decoration: none;
}

.mil-team-profile-chip a:hover {
    color: #03a6a6;
}

.mil-team-grid-gap {
    margin-top: 50px;
}

.mil-team-stat-card {
    height: 100%;
    border-radius: 24px;
    border: 1px solid rgba(13, 81, 82, 0.12);
    background: #ffffff;
    padding: 26px 24px;
    box-shadow: 0 14px 34px rgba(13, 81, 82, 0.08);
}

.mil-team-stat-value {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    color: #0d5152;
    margin-bottom: 8px;
}

.mil-team-stat-label {
    color: #6f747f;
    font-size: 15px;
    line-height: 1.4;
}

.mil-team-panel {
    border-radius: 28px;
    border: 1px solid rgba(13, 81, 82, 0.12);
    background: #ffffff;
    padding: 35px;
    box-shadow: 0 12px 30px rgba(13, 81, 82, 0.06);
    height: 100%;
}

.mil-team-overview p:last-child {
    margin-bottom: 0;
}

.mil-team-contact-list {
    padding: 0;
    margin: 0;
}

.mil-team-contact-list li {
    list-style: none;
    margin-bottom: 14px;
    color: #6f747f;
}

.mil-team-contact-list li:last-child {
    margin-bottom: 0;
}

.mil-team-contact-list strong {
    color: #0d5152;
    display: inline-block;
    min-width: 90px;
}

.mil-team-contact-list a {
    color: #0d5152;
    text-decoration: none;
}

.mil-team-contact-list a:hover {
    color: #03a6a6;
}

.mil-team-timeline {
    margin: 0;
    padding: 0;
}

.mil-team-timeline-item {
    position: relative;
    list-style: none;
    padding-left: 36px;
    margin-bottom: 26px;
}

.mil-team-timeline-item:last-child {
    margin-bottom: 0;
}

.mil-team-timeline-item:before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #23dbe0;
    box-shadow: 0 0 0 6px rgba(35, 219, 224, 0.18);
}

.mil-team-timeline-item:after {
    content: "";
    position: absolute;
    left: 5px;
    top: 24px;
    width: 2px;
    height: calc(100% + 14px);
    background-color: rgba(13, 81, 82, 0.15);
}

.mil-team-timeline-item:last-child:after {
    display: none;
}

.mil-team-timeline-period {
    display: inline-block;
    margin-bottom: 8px;
    color: #03a6a6;
    font-size: 14px;
    font-weight: 600;
}

.mil-team-timeline-role {
    color: #0d5152;
    margin-bottom: 6px;
}

.mil-team-timeline-company {
    color: #40444c;
    font-size: 16px;
    margin-bottom: 6px;
}

.mil-team-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.mil-team-tag-list li {
    list-style: none;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 14px;
    line-height: 1.3;
    background-color: rgba(3, 166, 166, 0.1);
    color: #0d5152;
}

.mil-team-simple-list {
    margin: 0;
    padding: 0;
}

.mil-team-simple-list li {
    list-style: none;
    margin-bottom: 14px;
    padding: 0 0 14px;
    border-bottom: 1px solid rgba(13, 81, 82, 0.12);
}

.mil-team-simple-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.mil-team-simple-list strong {
    color: #0d5152;
}

.mil-team-empty-note {
    border-radius: 20px;
    border: 1px dashed rgba(13, 81, 82, 0.25);
    background-color: rgba(242, 250, 250, 0.85);
    padding: 18px;
    color: #6f747f;
    margin: 0;
}

.mil-btn.mil-team-outline {
    background: transparent;
    border: 1px solid rgba(13, 81, 82, 0.35);
    color: #0d5152;
}

.mil-btn.mil-team-outline:hover {
    border-color: #0d5152;
    background-color: rgba(13, 81, 82, 0.06);
    filter: none;
}

@media (max-width: 1200px) {
    .mil-team-profile-hero {
        padding: 42px;
    }

    .mil-team-profile-media {
        min-height: 320px;
    }
}

@media (max-width: 992px) {
    .mil-team-profile-wrap {
        padding-bottom: 100px;
    }

    .mil-team-profile-hero {
        margin-top: 20px;
        padding: 34px;
    }

    .mil-team-profile-media {
        min-height: 300px;
    }

    .mil-team-panel {
        padding: 28px;
    }
}

@media (max-width: 767px) {
    .mil-team-profile-hero {
        padding: 24px;
        border-radius: 28px;
    }

    .mil-team-profile-role {
        font-size: 20px;
    }

    .mil-team-profile-media {
        min-height: 260px;
        border-radius: 22px;
    }

    .mil-team-panel,
    .mil-team-stat-card {
        padding: 22px;
        border-radius: 22px;
    }

    .mil-team-stat-value {
        font-size: 28px;
    }

    .mil-team-timeline-item {
        padding-left: 30px;
    }
}
