.infinity_slider {
  width: 90%;
  max-width: 1250px;
  margin: auto;
  position: relative;
  box-sizing: border-box;
  padding: 1.5rem 0;
  overflow: hidden;
  background-color: transparent;
}

/* Fade overlay elementleri */
.slider_fade {
  position: absolute;
  top: 0;
  width: 70px;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.slider_fade_left {
  left: 0;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.slider_fade_right {
  right: 0;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.infinity_slider .slider_viewport {
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.infinity_slider .slider_track {
  display: flex;
  gap: 2.5rem;
  align-items: stretch;
  will-change: transform;
  position: relative;
  padding: 10px;
}

.infinity_slider .slider_card {
  flex: 0 0 auto;
  width: 320px;
  text-decoration: none;
  color: #222;
  background: #ffffff;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
}

.infinity_slider .slider_card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.infinity_slider .slider_img_box {
  width: 100%; 
  aspect-ratio: 733 / 521;
  overflow: hidden;
  border-radius: 3px;
}

.infinity_slider .slider_img_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  border-radius: 3px;
}

.infinity_slider .slider_img_box img:hover {
  transform: scale(1.03);
}

.infinity_slider .slider_card article {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.infinity_slider .slider_card article h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.2;
  flex: 0 0 auto;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.infinity_slider .slider_card:hover article h2 {
  color: rgb(32, 166, 255);
}

.infinity_slider .slider_card article p {
  font-size: 1rem;
  font-family: 'Nunito';
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.infinity_slider .slider_card:focus {
  outline: 3px solid rgba(0, 123, 255, 0.15);
  outline-offset: 3px;
}

@media (max-width: 1200px) {
  .infinity_slider .slider_card {
    width: 300px;
  }
}

@media (max-width: 991px) {

  .infinity_slider .slider_card {
    width: 280px;
  }

  .infinity_slider {
    padding: 1rem 0;
  }
}

@media (max-width: 700px) {
  .infinity_slider {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .infinity_slider .slider_card {
    width: 240px;
  }

  .infinity_slider .slider_img_box {
    aspect-ratio: 4/3;
  }
}