/* layout */
.recommended {
  padding: var(--spacing-sides);
  background-color: var(--color-black);
}

.recommended-item {
  color: inherit;
  gap: 0.5rem;
  display: flex;
  flex-direction: column;
  text-align: left;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
  text-decoration: none;
  margin-bottom: 3rem;
}

.recommended-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0;
  border-radius: 0.5rem;
}

.recommended-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* text */
.recommended-section-title {
  font-size: var(--title-h2);
  font-weight: var(--weight-normal);
  color: var(--color-black-primary);
  margin-bottom: 1rem;
}

.recommended-title,
.recommended-desc {
  text-decoration: none;
  border-bottom: none;
}

.recommended-title {
  font-size: 1.5rem;
  font-weight: var(--weight-normal);
  margin: 0.5rem 0 0 0;
}

.recommended-desc {
  font-size: 1rem;
  margin: 0;
}

/* tag */
.recommended-tag {
  background-color: var(--color-tag-primary);
  padding: 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-black-primary);
  font-weight: 500;
}

/* responsive */
@media (max-width: 768px) {
  .recommended {
    padding: 2rem 1rem;
  }

  .recommended-section-title {
    font-size: 2rem;
  }

  .recommended-title {
    font-size: 1.5rem;
  }

  .recommended-desc {
    font-size: 0.8rem;
  }
}
