/* Related Treatments — internal-link cards. */

.hmt-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hmt-rel { display: flex; }
.hmt .hmt-rel__link {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--hm-line);
  border-radius: 20px;
  background: var(--hm-paper);
  color: var(--hm-ink);
  text-decoration: none;
  box-shadow: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.hmt .hmt-rel__link:hover {
  transform: translateY(-3px);
  border-color: var(--hm-hair);
  box-shadow: 0 24px 50px -36px rgba(26, 26, 24, 0.5);
}

.hmt-rel__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--hm-gold-tint); }
.hmt .hmt-rel__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.hmt .hmt-rel__link:hover .hmt-rel__media img { transform: scale(1.04); }

.hmt-rel__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 22px 24px 24px; }
.hmt-rel__title { font-family: var(--hm-display); font-weight: 900; font-size: 1.25rem; line-height: 1.15; color: var(--hm-ink); }
.hmt-rel__text { font-size: 14px; line-height: 1.55; color: var(--hm-ink-soft); }
.hmt-rel__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hm-gold-dark);
}
.hmt-rel__arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--hm-gold-tint);
}
.hmt-rel__arrow svg { width: 12px; height: 12px; }

@media (prefers-reduced-motion: reduce) {
  .hmt .hmt-rel__link,
  .hmt .hmt-rel__media img { transition: none; }
  .hmt .hmt-rel__link:hover,
  .hmt .hmt-rel__link:hover .hmt-rel__media img { transform: none; }
}
