/* ============================================
   Feature Cards — أزرار مصوّرة (الرئيسية + أنواع القراءة)
   ============================================ */

.feature-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  margin-top: 18px;
  padding: 0 4px;
}

.feature-cards-row-single .feature-card {
  grid-column: 1 / -1;
  aspect-ratio: 3 / 1;
}

.feature-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
}

.feature-card-grid .feature-card {
  aspect-ratio: 1 / 1;
}

.feature-card-span2 {
  grid-column: span 2;
}

.feature-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  cursor: pointer;
  background: #111;
  padding: 0;
  transition: var(--transition);
}

.feature-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.05) 100%);
}

.feature-card-title {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 8px 6px 10px;
  z-index: 2;
  text-align: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(11px, 3.2vw, 14px);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
  line-height: 1.3;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold-strong);
}

.feature-card:active {
  transform: translateY(0) scale(0.97);
}
