.home-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .9rem;
}
.home-link {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.home-link:hover {
  border-color: #ac8259;
  box-shadow: 0 .35rem .9rem #48232c18;
}
.home-link img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.home-link-title {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 56px;
  padding: .55rem .8rem;
  font-weight: 700;
  line-height: 1.35;
}
.home-link-arrow {
  flex: 0 0 auto;
  width: .47rem;
  height: .47rem;
  border-block-start: 2px solid currentColor;
  border-inline-end: 2px solid currentColor;
  transform: rotate(45deg);
  margin-inline-end: .12rem;
}
[dir="rtl"] .home-link-arrow { transform: rotate(-45deg); }

@media (max-width: 1000px) {
  .home-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .home-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .home-link-title { padding-inline: .6rem; font-size: .94rem; }


}
@media (prefers-reduced-motion: reduce) {
  .home-link { transition: none; }
}