/* ═══════════════════════════════════════════════════════════════
   RELATED READING COMPONENT
   ═══════════════════════════════════════════════════════════════ */

.related-reading {
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  padding: 2rem;
  margin: 3rem 0;
}

.related-reading__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.related-reading__title i {
  width: 24px;
  height: 24px;
  color: var(--gold);
  flex-shrink: 0;
}

.related-reading__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .related-reading__grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

@media (max-width: 480px) {
  .related-reading__grid {
    grid-template-columns: 1fr;
  }
}

.related-reading__card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 10px;
  padding: 1.25rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

.related-reading__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.related-reading__card:hover {
  border-color: var(--gold);
  background: var(--bg-card);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.2);
  transform: translateY(-4px);
}

.related-reading__card:hover::before {
  opacity: 1;
}

.related-reading__card:hover .related-reading__name {
  color: var(--gold);
}

.related-reading__category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: rgba(201, 169, 110, 0.15);
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  width: fit-content;
  transition: all 0.2s ease;
}

.related-reading__card:hover .related-reading__category {
  background: rgba(201, 169, 110, 0.25);
}

.related-reading__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  transition: color 0.2s ease;
}

/* ═══════════════════════════════════════════════════════════════
   RELATED READING WITH DESCRIPTION (Optional Extended Version)
   ═══════════════════════════════════════════════════════════════ */

.related-reading__card--extended {
  padding: 1.5rem;
}

.related-reading__description {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  line-height: 1.4;
}

.related-reading__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE ADJUSTMENTS
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .related-reading {
    padding: 1.5rem;
  }

  .related-reading__title {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
  }

  .related-reading__card {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .related-reading {
    padding: 1.25rem;
    margin: 2rem 0;
  }

  .related-reading__title {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .related-reading__grid {
    gap: 1rem;
  }

  .related-reading__card {
    padding: 0.875rem;
  }

  .related-reading__name {
    font-size: 0.9rem;
  }
}
