section.team_hero {
    background: linear-gradient(rgba(10, 10, 10, 0.75) 0%, rgba(10, 10, 10, 0.88) 100%),
        url('../../assets/img/gift/poly-bg.jpg') no-repeat center center / cover;
    text-align: center;

    h1 {
        font-family: 'Gilroy', sans-serif;
        font-weight: 800;
        font-size: clamp(2.2rem, 5vw, 3.5rem);
        line-height: 1.1;
        margin-bottom: 20px;
    }

    .hero_sub {
        color: rgba(255, 255, 255, 0.6);
        font-size: 1.05rem;
        line-height: 1.75;
        max-width: 600px;
        margin: 0 auto;
    }
}

section.team_grid {
    background-color: rgb(27, 28, 29);

    .team_section_label {
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 2.5px;
        text-transform: uppercase;
        color: #c59b32;
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(197, 155, 50, 0.2);
    }
}

.team_card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    -webkit-border-radius: 16px;
    overflow: hidden;
    height: 100%;
    position: relative;
    transition: border-color 0.3s ease, transform 0.3s ease;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, #c59b32, transparent);
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 1;
    }

    &:hover {
        border-color: rgba(197, 155, 50, 0.35);
        transform: translateY(-4px);
    }

    &:hover::before {
        opacity: 1;
    }
}

.team_photo {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.03);

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        display: block;
        transition: transform 0.5s ease;
    }

    .team_card:hover & img {
        transform: scale(1.04);
    }
}

.team_photo_placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(197, 155, 50, 0.05) 0%, rgba(27, 28, 29, 0.8) 100%);
    border-bottom: 1px solid rgba(197, 155, 50, 0.1);

    p {
        color: rgba(255, 255, 255, 0.25);
        font-size: 0.78rem;
        letter-spacing: 1px;
        text-transform: uppercase;
        margin: 0;
    }
}

.team_info {
    padding: 24px 24px 28px;

    .team_name {
        font-family: 'Gilroy', sans-serif;
        font-size: 1.15rem;
        font-weight: 800;
        margin-bottom: 4px;
        line-height: 1.2;
    }

    .team_title {
        font-size: 0.8rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.45);
        text-transform: uppercase;
        letter-spacing: 0.8px;
        line-height: 1.5;
        margin-bottom: 14px;
    }

    .team_bio {
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.88rem;
        line-height: 1.7;
        margin-bottom: 18px;
    }
}

.team_actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
	justify-content: space-between;
}

.team_learn_more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #c59b32;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;

    svg {
        flex-shrink: 0;
        transition: transform 0.2s ease;
		position: relative;
		top: 1.5px;
    }

    &:hover {
        color: #fff;

        svg {
            transform: translateX(4px);
        }
    }
}

.team_linkedin {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: white;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;

    &:hover {
        color: #c59b32;
    }

    svg {
        flex-shrink: 0;
    }
}

@media (max-width: 767px) {
    .team_photo {
        height: 240px;
    }
}