.dv-card-grid {
  gap: 20px;
  margin-block-start: 18px;
}

.dv-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--color-line);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
  transform: translateY(0);
  transition-duration: var(--motion-medium), var(--motion-medium), var(--motion-medium);
  transition-property: transform, box-shadow, border-color;
  transition-timing-function: var(--motion-ease);
}

.dv-card:hover {
  border-color: rgba(42, 41, 38, 0.18);
  box-shadow: 0 22px 58px rgba(42, 41, 38, 0.11);
  transform: translateY(-4px);
}

.dv-info-card,
.dv-quote {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--color-line);
  box-sizing: border-box;
  min-height: 100%;
  padding: 26px;
}

.dv-info-card h3,
.dv-quote strong {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.dv-info-card p,
.dv-quote p {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 12px;
  overflow-wrap: anywhere;
}

.dv-card figure {
  aspect-ratio: 4 / 3;
  background: #dedad2;
  overflow: hidden;
}

.dv-card img,
.dv-materials__media img,
.dv-showcase__item img {
  transform: scale(1);
  transition-duration: var(--motion-slow);
  transition-property: transform;
  transition-timing-function: var(--motion-ease-heavy);
}

.dv-card:hover img,
.dv-showcase__item:hover img {
  transform: scale(1.035);
}

.dv-card h3,
.dv-card p {
  padding-inline: 22px;
}

.dv-card h3 {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 22px;
}

.dv-page .dv-card h3 {
  margin: 22px 0 0;
}

.dv-card h3 a {
  align-items: center;
  color: inherit;
  display: inline-flex;
  min-height: 44px;
  min-width: 44px;
  text-decoration: none;
}

.dv-card h3 a::after {
  content: "";
  inset: 0;
  position: absolute;
  z-index: 2;
}

.dv-card:has(h3 a) {
  cursor: pointer;
}

.dv-card h3 a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  position: relative;
  z-index: 3;
}

.dv-card p {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 24px;
  margin-top: 14px;
  text-wrap: pretty;
}

.dv-page .dv-card p {
  margin: 14px 0 24px;
}

.dv-catalog .dv-card h3 {
  margin-top: 20px;
}

.dv-catalog .dv-card h3 a {
  min-height: 0;
}

.dv-catalog .dv-card p {
  margin-top: 12px;
  margin-bottom: 0;
  padding-bottom: 24px;
}

/* Responsive */
@media (max-width: 430px) {
  .dv-card h3 {
  margin-top: 18px;
  }

  .dv-card p {
  margin-bottom: 20px;
  }
}
