/* ═══════════════════════════════════════════════════════════════
   Öztürk "Hangi süpürge size uygun?" — values 1:1 from Main.dc.html
   (.card, .photo-slider, .photo-slider-track, photo-slide-N keyframes)
   ═══════════════════════════════════════════════════════════════ */

.cc_ybyxcwmt_TLGWub8iR6 .oz-need {
  background: var(--color-bg);
  padding: var(--oz-section-y) var(--oz-gutter); /* 56–112px */
}

.cc_ybyxcwmt_TLGWub8iR6 .oz-need__inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem; /* 40px */
}

.cc_ybyxcwmt_TLGWub8iR6 .oz-need__head {
  max-width: 40rem; /* 640px */
}

.cc_ybyxcwmt_TLGWub8iR6 .oz-need__heading {
  margin-bottom: 0.75rem;
}

.cc_ybyxcwmt_TLGWub8iR6 .oz-need__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* ─── Card ─────────────────────────────────────────────────── */

.cc_ybyxcwmt_TLGWub8iR6 .oz-need__card {
  flex: 1 1 18.75rem; /* 300px */
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.75rem 0.75rem 1.5rem; /* 12px 12px 24px */
  border: 1px solid var(--color-border);
  border-radius: var(--oz-radius-md);
  color: var(--color-text-primary);
  text-decoration: none;
}

.cc_ybyxcwmt_TLGWub8iR6 .oz-need__card:hover {
  color: var(--color-text-primary);
}

.cc_ybyxcwmt_TLGWub8iR6 .oz-need__card:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.cc_ybyxcwmt_TLGWub8iR6 .oz-need__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 0.75rem;
}

.cc_ybyxcwmt_TLGWub8iR6 .oz-need__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.625rem; /* 26px */
  letter-spacing: -0.01em;
}

.cc_ybyxcwmt_TLGWub8iR6 .oz-need__text {
  margin: 0;
  font-size: var(--text-body);
  color: var(--color-text-secondary);
}

.cc_ybyxcwmt_TLGWub8iR6 .oz-need__cta {
  margin-top: 0.25rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* ─── Photo slider ─────────────────────────────────────────── */

.cc_ybyxcwmt_TLGWub8iR6 .oz-need__slider {
  aspect-ratio: 4 / 5; /* design: ~370×480px card photo on desktop */
  overflow: hidden;
  border-radius: var(--oz-radius-sm);
  background: var(--color-surface-alt);
}

.cc_ybyxcwmt_TLGWub8iR6 .oz-need__track {
  display: flex;
  width: 100%;
  height: 100%;
  animation-iteration-count: infinite;
  /* Always slides (also on touch screens, where there is no hover). */
  animation-play-state: running;
}

.cc_ybyxcwmt_TLGWub8iR6 .oz-need__track img {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 4 s per photo, as in the design (8 s / 12 s / 16 s). */
.cc_ybyxcwmt_TLGWub8iR6 .oz-need__slider--n2 .oz-need__track { animation-name: cc_ybyxcwmt_TLGWub8iR6_oz-need-slide-2; animation-duration: 8s; }
.cc_ybyxcwmt_TLGWub8iR6 .oz-need__slider--n3 .oz-need__track { animation-name: cc_ybyxcwmt_TLGWub8iR6_oz-need-slide-3; animation-duration: 12s; }
.cc_ybyxcwmt_TLGWub8iR6 .oz-need__slider--n4 .oz-need__track { animation-name: cc_ybyxcwmt_TLGWub8iR6_oz-need-slide-4; animation-duration: 16s; }
.cc_ybyxcwmt_TLGWub8iR6 .oz-need__slider--n5 .oz-need__track { animation-name: cc_ybyxcwmt_TLGWub8iR6_oz-need-slide-5; animation-duration: 20s; }
.cc_ybyxcwmt_TLGWub8iR6 .oz-need__slider--n6 .oz-need__track { animation-name: cc_ybyxcwmt_TLGWub8iR6_oz-need-slide-6; animation-duration: 24s; }

/* n2–n4: keyframes copied from Main.dc.html; n5–n6 follow the same rhythm. */
@keyframes cc_ybyxcwmt_TLGWub8iR6_oz-need-slide-2 {
  0%, 40% { transform: translateX(0); }
  50%, 90% { transform: translateX(-100%); }
  100% { transform: translateX(-100%); }
}

@keyframes cc_ybyxcwmt_TLGWub8iR6_oz-need-slide-3 {
  0%, 26% { transform: translateX(0); }
  33%, 59% { transform: translateX(-100%); }
  66%, 92% { transform: translateX(-200%); }
  100% { transform: translateX(-200%); }
}

@keyframes cc_ybyxcwmt_TLGWub8iR6_oz-need-slide-4 {
  0%, 18% { transform: translateX(0); }
  23%, 43% { transform: translateX(-100%); }
  48%, 68% { transform: translateX(-200%); }
  73%, 93% { transform: translateX(-300%); }
  100% { transform: translateX(-300%); }
}

@keyframes cc_ybyxcwmt_TLGWub8iR6_oz-need-slide-5 {
  0%, 14% { transform: translateX(0); }
  19%, 34% { transform: translateX(-100%); }
  39%, 54% { transform: translateX(-200%); }
  59%, 74% { transform: translateX(-300%); }
  79%, 94% { transform: translateX(-400%); }
  100% { transform: translateX(-400%); }
}

@keyframes cc_ybyxcwmt_TLGWub8iR6_oz-need-slide-6 {
  0%, 12% { transform: translateX(0); }
  16%, 28% { transform: translateX(-100%); }
  32%, 45% { transform: translateX(-200%); }
  49%, 62% { transform: translateX(-300%); }
  66%, 78% { transform: translateX(-400%); }
  82%, 95% { transform: translateX(-500%); }
  100% { transform: translateX(-500%); }
}

@media (prefers-reduced-motion: reduce) {
  .cc_ybyxcwmt_TLGWub8iR6 .oz-need__track { animation: none !important; }
}
