.news-detail__photos-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  max-width: 100%;
}

.news-detail__photos-container.active {
  cursor: grabbing;
  user-select: none;
}

.news-detail__photos-container::-webkit-scrollbar {
  display: none;
}

.news-detail__photos-card {
  min-width: 300px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  max-height: 360px;
  min-height: 300px;
  width: 100%;
  transition: transform 0.3s ease;
}

.news-detail__photos-card:hover {
  transform: scale(1.01);
}

.news-detail__photos-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-detail__photos-card:hover .news-detail__photos-image {
  transform: scale(1.05);
}

.news-detail__photos-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 1));
  color: var(--color-white);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-detail__photos-category {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-white);
  padding: 5px 12px;
  background-color: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(15px);
  border-radius: 100px;
  max-width: fit-content;
}

.news-detail__photos-card-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-detail__photos-date {
  font-size: var(--font-size-base);
  color: var(--color-secondary);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-tight);
}

.news-detail__photos-card-title {
  font-size: var(--font-size-xl);
  color: var(--color-white);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-normal);
}

@media (max-width: 1024px) {
  .news-detail__photos-container {
    gap: 10px;
  }

  .news-detail__photos-card-title {
  font-size: 16px;
}
}