:root {
  --teal-950: #123f40;
  --teal-900: #124e50;
  --teal-800: #176b68;
  --teal-700: #1f7a76;
  --teal-600: #248f89;
  --teal-500: #3b9c94;
  --teal-200: #c5dfdc;
  --teal-100: #e8f3f1;
  --teal-50: #f5faf9;
  --teal-ink: #263d3d;
  --teal-muted: #526a69;
  --teal-border: #d8e6e3;
}

::selection {
  background: #c5dfdc;
  color: #123f40;
}

:focus-visible {
  outline: 2px solid #248f89;
  outline-offset: 2px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.detail-card {
  position: relative;
  display: block;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.detail-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.72), rgba(0,0,0,0));
}

.detail-title {
  color: white;
  font-weight: 600;
  font-size: 1rem;
}

@media (max-width: 1000px) {
  .details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .details-grid {
    grid-template-columns: 1fr;
  }
}