/* "Ne İşe Yarar?" (rehber) sekmesi: hızlı taranabilir katalog satır kartları.
   Renk token'ları (--kutu, --kutu-2, --cizgi, --metin, --soluk, --cok-soluk, .renk-*) stil.css'ten gelir. */

.rehber-liste {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rehber-satir {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 24px;
  padding: 20px 22px;
  border-radius: 20px;
  border: 1px solid var(--cizgi);
  background: var(--kutu);
  box-shadow: var(--golge);
  transition: border-color .2s var(--egri), transform .2s var(--egri);
}
.rehber-satir:hover {
  border-color: color-mix(in srgb, var(--r, var(--vurgu-1)) 45%, var(--cizgi));
}

/* 1. Kimlik sütunu */
.rehber-kimlik {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}
.rehber-ikon-grup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: none;
}
.rehber-no {
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--cok-soluk);
  font-variant-numeric: tabular-nums;
}
.rehber-baslik {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}
.rehber-baslik h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.rehber-baslik .durum {
  margin-top: 2px;
}

/* 2. Gövde sütunu: tam açıklama + öne çıkanlar */
.rehber-govde {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.rehber-ozet {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--soluk);
}
.rehber-ozellikler {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.rehber-ozellik-baslik {
  font-size: 11.5px;
  font-weight: 650;
  color: var(--cok-soluk);
  white-space: nowrap;
}

/* 3. Eylem sütunu */
.rehber-eylem {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: none;
}
.rehber-ac {
  white-space: nowrap;
  padding: 0 16px;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.rehber-ac:hover,
.rehber-ac:focus-visible {
  background: var(--r);
  border-color: var(--r);
  color: var(--r-ust);
}
.rehber-ac-ikon {
  display: inline-flex;
  align-items: center;
}
.rehber-ac-ikon svg.i {
  width: 16px;
  height: 16px;
}

/* Tablet ve mobil: dikey akış */
@media (max-width: 959px) {
  .rehber-satir {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 14px;
    padding: 18px;
  }
  .rehber-ikon-grup {
    flex-direction: row;
    gap: 10px;
  }
  .rehber-eylem {
    justify-content: flex-start;
    padding-top: 2px;
  }
}

@media (max-width: 719px) {
  .rehber-liste {
    margin-top: 16px;
    gap: 10px;
  }
  .rehber-satir {
    padding: 16px;
    border-radius: 18px;
  }
  .rehber-baslik h2 {
    font-size: 18px;
  }
  .rehber-ozet {
    font-size: 14px;
  }
  .rehber-ac {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rehber-satir,
  .rehber-ac {
    transition: none;
  }
}
