/* Names Section */
.names {
    padding: 100px 0;
}

.names .section-title {
    margin-bottom: 56px;
}

.names-swiper {
    max-width: 1145px;
    margin: 0 auto;
    padding: 0 50px;
}

.names-swiper .swiper-slide {
    height: auto;
}

.names-swiper .swiper-slide .name-card {
    height: 100%;
    aspect-ratio: 2 / 3;
}

.name-card {
    background: #FFFFFA;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 562px;
    backdrop-filter: blur(7px);

    display: flex;
    align-items: flex-end;
}

.card-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #666, #333);
    position: absolute;
    top: 0;
    left: 0;
    filter: grayscale(1);
    transition: filter 0.5s ease;
}

.card-image:hover{
    filter: grayscale(0);
}



.card-content {
    position: relative;
    z-index: 2;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 16px 24px;
    color: #FFFFFF;
    background: linear-gradient(to top, rgb(0 0 0) 0%, rgb(0 0 0 / 0%) 100%);
}

.card-name {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.1;
    color: #F2F2F2;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #FBF5F3;
    opacity: 0.7;
    margin-bottom: 8px;
}

.card-description {
    font-size: 16px;
    font-weight: 500;
    color: #F2F2F2;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-link {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    border: none;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-link:hover {
    background: rgba(0, 0, 0, 0.6);
}

/* Names Section Responsive */
@media (max-width: 1024px) {
    .names-swiper {
        padding: 0 40px;
    }
    
    .name-card {
        height: 480px;
    }
    
    .card-name {
        font-size: 20px;
    }
    
    .card-description {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .names {
        padding: 60px 0;
    }
    
    .names .section-title {
        margin-bottom: 40px;
    }
    
    .names-swiper {
        padding: 0 20px;
    }
    
    .name-card {
        height: 400px;
    }
    
    .card-content {
        padding: 12px 12px 16px;
    }
    
    .card-name {
        font-size: 18px;
        margin-bottom: 6px;
    }
    
    .card-subtitle {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .card-description {
        font-size: 13px;
        line-height: 1.3;
    }
    
    .card-link {
        width: 32px;
        height: 32px;
        top: 12px;
        right: 12px;
    }
}

@media (max-width: 480px) {
    .names {
        padding: 40px 0;
    }
    
    .names-swiper {
        padding: 0 16px;
    }
    
    .name-card {
        height: 350px;
        border-radius: 16px;
    }
    
    .card-content {
        padding: 10px 10px 14px;
    }
    
    .card-name {
        font-size: 16px;
    }
    
    .card-subtitle {
        font-size: 11px;
    }
    
    .card-description {
        font-size: 12px;
    }
    
    .card-link {
        width: 28px;
        height: 28px;
        top: 10px;
        right: 10px;
    }
}