/* =========================================================
   Ekcan Grup — Seçkin Projeler slider
   Left-featured expanding cards carousel. The compiled
   .project-grid stays hidden in the DOM (hydration safety);
   this slider is injected next to it on the homepage.
   ========================================================= */

.psl-nav {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin: 34px 0 18px;
}
.psl-arrow {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.33);
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: background 200ms ease, border-color 200ms ease;
}
.psl-arrow:hover {
  background: var(--red, #c9242c);
  border-color: var(--red, #c9242c);
}
.psl-arrow svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  color: rgba(255, 255, 255, 0.85);
}

.psl-track {
  position: relative;
  height: clamp(420px, 58vh, 620px);
  overflow: hidden;
}
.psl-card {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  overflow: hidden;
  display: block;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-decoration: none;
  will-change: transform, width;
}
.psl-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(13, 38, 31, 0) 38%,
    rgba(13, 38, 31, 0.32) 66%,
    rgba(13, 38, 31, 0.82) 100%);
}
.psl-copy {
  position: absolute;
  left: clamp(18px, 2vw, 30px);
  right: clamp(18px, 2vw, 30px);
  bottom: clamp(18px, 2.2vw, 30px);
}
.psl-copy small {
  display: block;
  color: var(--red, #c9242c);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.psl-copy p {
  margin: 0 0 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}
.psl-copy h3 {
  margin: 0;
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  transition: font-size 400ms ease;
}
.psl-card.is-featured .psl-copy h3 {
  font-size: clamp(26px, 2.6vw, 40px);
}

@media (max-width: 900px) {
  .psl-track { height: 420px; }
  .psl-card:not(.is-featured) .psl-copy p { display: none; }
  .psl-card:not(.is-featured) .psl-copy h3 { font-size: 15px; }
}
@media (max-width: 640px) {
  .psl-track { height: 360px; }
  .psl-nav .psl-arrow { width: 40px; height: 40px; }
  .psl-nav .psl-arrow svg { width: 16px; height: 16px; }
  .psl-copy small { margin-bottom: 8px; }
}
