/* ============================================
   АМИСТ — Sight/Attraction Page (Level 4c)
   Extends tour.css shared components
   ============================================ */

/* Description content from API may contain <p>, <strong>, etc. */
.sight-desc p {
  font-size: var(--text-base);
  color: var(--color-gray-600);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.sight-desc p:last-child {
  margin-bottom: 0;
}

.sight-desc strong {
  color: var(--color-primary-700);
  font-weight: var(--font-semibold);
}

.sight-desc a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sight-desc a:hover {
  color: var(--color-accent-hover);
}

.sight-desc ul,
.sight-desc ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

.sight-desc li {
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-gray-600);
  line-height: var(--leading-relaxed);
}

/* ── Catalog grid ────────────────────────── */

.sight-catalog {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .sight-catalog {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sight-catalog {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sight-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  background: var(--color-white);
  transition: all var(--transition-base);
  text-decoration: none;
  color: inherit;
}

.sight-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.sight-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.sight-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.sight-card:hover .sight-card__img img {
  transform: scale(1.05);
}

.sight-card__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sight-card__location {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.sight-card__location svg {
  width: 12px;
  height: 12px;
}

.sight-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--color-primary-700);
  margin-bottom: var(--space-2);
  line-height: var(--leading-snug);
}

.sight-card__desc {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  line-height: var(--leading-relaxed);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sight-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border-light);
}

.sight-card__photos {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: var(--color-gray-400);
}

.sight-card__photos svg {
  width: 14px;
  height: 14px;
}

.sight-card__arrow {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--color-gray-50);
  color: var(--color-gray-400);
  transition: all var(--transition-fast);
}

.sight-card:hover .sight-card__arrow {
  background: var(--color-accent);
  color: var(--color-white);
}

.sight-card__arrow svg {
  width: 16px;
  height: 16px;
}

/* ── Catalog filters ─────────────────────── */

.sight-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.sight-filter {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-gray-600);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sight-filter:hover,
.sight-filter--active {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
