.swiper-container {
    width: 100%;
    overflow:hidden;
    padding: 20px 0;
}

.swiper-slide {
    text-align: center;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
    display: flex;
    height: auto;
}

.swiper-slide:hover {
transform: translateY(-5px);
background-color: #f5f5f5; /* Egy árnyalattal sötétebb fehér */
}

.instructor-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    text-decoration: none;
    color: #333;
    padding: 15px;
    transition: color 0.3s ease-in-out;
}

.instructor-card__meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.instructor-card:hover img {
    transform: scale(1.02);
    transition: transform 0.3s ease-in-out;
}
.instructor-card img {
width: 100%;
height: auto;
transition: transform 0.3s ease-in-out;
}

.instructor-card h3 {
margin: 10px 0 5px;
font-size: 18px;
font-weight: bold;
transition: color 0.1s;
}

.instructor-card p {
font-size: 14px;
color: #777;
transition: color 0.1s ease-in-out;
}

.swiper-slide:hover .instructor-card h3,
.swiper-slide:hover .instructor-card p {
color: var(--primary);
}


@media (min-width: 1024px) {
    .swiper-slide {
        width: 30%;
    }
}

@media (max-width: 1023px) and (min-width: 768px) {
    .swiper-slide {
        width: 45%;
    }
}

@media (max-width: 767px) {
    .swiper-slide {
        width: 90%;
    }
}

.instructor-avatar{
    max-height: 250px;
    max-width: 250px !important;
    object-fit: contain;
    border-radius: 100% !important;
    aspect-ratio: 1 / 1;
}
