/* Blog & Programlar — kart listesi */
.eka-listing-page {
  padding-bottom: 72px;
}

.eka-listing-hero {
  padding: 36px 0 32px;
  text-align: center;
  background: linear-gradient(165deg, var(--Color-1) 0%, var(--White) 60%);
}

.eka-listing-hero .badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--Primary);
  background: rgba(244, 209, 24, 0.35);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.eka-listing-hero h1 {
  font-size: clamp(26px, 3vw, 34px);
  color: var(--Primary);
  margin-bottom: 10px;
}

.eka-listing-hero .lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--Color-3);
  max-width: 560px;
  margin: 0 auto;
}

.eka-listing-section {
  padding: 40px 0 0;
}

.eka-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.eka-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--White);
  border: 1px solid rgba(60, 33, 14, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.eka-card:hover {
  box-shadow: 0 14px 32px rgba(60, 33, 14, 0.1);
  transform: translateY(-4px);
  border-color: rgba(60, 33, 14, 0.12);
}

.eka-card__link-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.eka-card__media {
  flex: 0 0 auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--Color-1);
  position: relative;
}

.eka-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.35s ease;
}

.eka-card:hover .eka-card__media img {
  transform: scale(1.04);
}

.eka-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 22px;
  min-height: 200px;
}

.eka-card__tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--Color-3);
  margin-bottom: 10px;
}

.eka-card__title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--Primary);
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.eka-card__excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--Color-3);
  margin: 0 0 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.65em;
}

.eka-card__more {
  font-size: 14px;
  font-weight: 600;
  color: var(--Primary);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.eka-card__more i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.eka-card:hover .eka-card__more i {
  transform: translateX(4px);
}

.eka-listing-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--Color-3);
  grid-column: 1 / -1;
}

@media (max-width: 1100px) {
  .eka-listing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .eka-listing-grid {
    grid-template-columns: 1fr;
  }

  .eka-card__body {
    min-height: 0;
  }

  .eka-card__title,
  .eka-card__excerpt {
    min-height: 0;
  }
}
