/**
 * @file
 * MLT Modern — Related reading cards.
 *
 * Block-style links with a left blue accent that switches to yellow on
 * hover. Used at the foot of long articles to point to related guides.
 *
 * Markup:
 *   <div class="mlt-related-grid">
 *     <a href="..." class="mlt-related-card">
 *       <div class="mlt-related-card__title">When to replace a wooden-backed fusebox</div>
 *       <div class="mlt-related-card__meta">Read more →</div>
 *     </a>
 *     ...
 *   </div>
 */

.mlt-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.mlt-related-card {
  background: #fff;
  border: 1px solid var(--mlt-border);
  border-left: 4px solid var(--mlt-primary);
  padding: 20px 22px;
  border-radius: var(--mlt-radius-md);
  text-decoration: none;
  color: var(--mlt-text);
  transition: transform 0.15s, box-shadow 0.15s, border-left-color 0.15s;
  display: block;
}

.mlt-related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px hsla(var(--mlt-primary-value), 0.1);
  border-left-color: var(--mlt-accent);
  text-decoration: none;
}

.mlt-related-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--mlt-text);
  margin-bottom: 8px;
  line-height: 1.4;
}

.mlt-related-card__meta {
  font-size: 13px;
  color: var(--mlt-primary);
  font-weight: 600;
}
