/**
 * UK Team slide – About Us tab
 * Background: uk_background, left content + right team slider
 */

.uk-team-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.uk-team-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0.15) 75%,
        transparent 100%
    );
    pointer-events: none;
}

.uk-team-layout {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1600px;
    padding: 60px 80px 60px 140px;
    gap: 60px;
    box-sizing: border-box;
}

/* 50% content (left), 50% slider (right) */
.uk-team-content {
    flex: 0 0 calc(50% - 30px);
    min-width: 0;
    max-width: calc(50% - 30px);
}

.uk-team-slider-wrap {
    flex: 0 0 calc(50% - 30px);
    min-width: 0;
    max-width: calc(50% - 30px);
}

.uk-team-title {
    font-family: "Helvetica Neue LT Pro 93 BlEx", sans-serif;
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.uk-team-paragraph {
    font-size: 15px;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 18px;
}

.uk-team-cta-btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #e31837 0%, #c73a7e 100%);
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    margin-top: 8px;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(227, 24, 55, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.uk-team-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(227, 24, 55, 0.45);
    color: #fff;
}

.uk-team-cta-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.uk-team-contact-heading {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.uk-team-contact-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.uk-team-contact-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 6px;
}

.uk-team-contact-email {
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition: border-color 0.2s, color 0.2s;
}

.uk-team-contact-email:hover {
    color: #00d4ff;
    border-bottom-color: #00d4ff;
}

/* Team slider - width set above (50%) */
.uk-team-slider-wrap {
    position: relative;
}

.uk-team-owl-carousel {
    position: relative;
    overflow: hidden;
}

.uk-team-owl-carousel .owl-stage-outer {
    overflow: hidden;
}

.uk-team-owl-carousel .owl-item {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.uk-team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 12px;
    width: 100%;
}

.uk-team-member-frame {
    position: relative;
    width: 100%;
    max-width: 280px;
    border-left: 3px solid rgba(227, 24, 55, 0.8);
    border-right: 3px solid rgba(227, 24, 55, 0.8);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.uk-team-member-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.uk-team-member-info {
    margin-top: 16px;
    text-align: center;
    width: 100%;
    max-width: 280px;
}

.uk-team-linkedin {
    display: inline-block;
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.uk-team-linkedin:hover {
    color: #00d4ff;
}

.uk-team-member-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.uk-team-member-title {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 6px;
}

.uk-team-member-email {
    font-size: 12px;
    color: #fff;
    text-decoration: none;
}

.uk-team-member-email:hover {
    text-decoration: underline;
    color: #00d4ff;
}

.uk-team-slider-prev,
.uk-team-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}

.uk-team-slider-prev:hover,
.uk-team-slider-next:hover {
    background: rgba(227, 24, 55, 0.4);
    border-color: rgba(255, 255, 255, 0.8);
}

.uk-team-slider-prev {
    left: -24px;
}

.uk-team-slider-next {
    right: -24px;
}

@media screen and (max-width: 1200px) {
    .uk-team-layout {
        padding: 50px 50px 50px 100px;
        gap: 40px;
    }
    .uk-team-member-img {
        height: 320px;
    }
}

@media screen and (max-width: 1024px) {
    .uk-team-layout {
        flex-direction: column;
        padding: 50px 60px 60px 60px;
        gap: 40px;
    }
    .uk-team-content {
        flex: 0 0 auto;
        max-width: 100%;
    }
    .uk-team-slider-wrap {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
    }
    .uk-team-slider-prev {
        left: 0;
    }
    .uk-team-slider-next {
        right: 0;
    }
}

/* Mobile scroll view */
.mobile-scroll-view .uk-team-slide {
    min-height: 100vh;
}

.mobile-scroll-view .uk-team-layout {
    flex-direction: column;
    padding: 80px 24px 60px;
}

.mobile-scroll-view .uk-team-slider-wrap {
    width: 100%;
}

.mobile-scroll-view .uk-team-member-frame {
    max-width: 100%;
}

.mobile-scroll-view .uk-team-member-img {
    height: 320px;
}
