.tourist-page,
.tourist-single {
  background: #f7f4ef;
  color: #2f2a28;
}

/* =========================
   archive
========================= */
.tourist-hero {
  padding: 230px 20px 56px;
}

.tourist-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.tourist-hero__sub {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #9c8f84;
}

.tourist-hero__title {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.3;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.tourist-hero__text {
  max-width: 720px;
  margin: 20px auto 0;
  font-size: 15px;
  line-height: 2;
  color: #5f5651;
}

.tourist-list-section {
  padding: 0 20px 100px;
}

.tourist-list-section__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.tourist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.tourist-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(47, 42, 40, 0.08);
  box-shadow: 0 12px 30px rgba(47, 42, 40, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.tourist-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(47, 42, 40, 0.1);
}

.tourist-card__image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ddd;
}

.tourist-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.tourist-card:hover .tourist-card__image img {
  transform: scale(1.05);
}

.tourist-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: 24px 22px 22px;
}

.tourist-card__title {
  margin: 0;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.tourist-card__title a {
  color: inherit;
  text-decoration: none;
}

.tourist-card__location {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #8a7f77;
  letter-spacing: 0.06em;
}

.tourist-card__comment {
  margin: 0;
  font-size: 14px;
  line-height: 1.95;
  color: #4f4844;
}

.tourist-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.tourist-card__map,
.tourist-card__link,
.tourist-single__map,
.tourist-single__back a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(47, 42, 40, 0.16);
  color: #2f2a28;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
}

.tourist-card__map:hover,
.tourist-card__link:hover,
.tourist-single__map:hover,
.tourist-single__back a:hover {
  background: #2f2a28;
  border-color: #2f2a28;
  color: #fff;
}

.tourist-empty {
  text-align: center;
  color: #7a7068;
  font-size: 14px;
  padding: 40px 0;
}

/* =========================
   single
========================= */
.tourist-single__hero {
  padding: 120px 20px 100px;
}

.tourist-single__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.tourist-single__head {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.tourist-single__sub {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #9c8f84;
}

.tourist-single__title {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.3;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.tourist-single__location {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: #8a7f77;
  letter-spacing: 0.06em;
}

.tourist-single__comment {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 2;
  color: #4f4844;
}

.tourist-single__actions {
  margin-top: 24px;
}

.tourist-single__image {
  overflow: hidden;
  border-radius: 28px;
  margin-bottom: 40px;
  box-shadow: 0 16px 40px rgba(47, 42, 40, 0.08);
}

.tourist-single__image img {
  display: block;
  width: 100%;
  height: auto;
}

.tourist-single__content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 2.1;
  color: #3f3936;
}

.tourist-single__content p {
  margin: 0 0 1.4em;
}

.tourist-single__back {
  margin-top: 40px;
  text-align: center;
}

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

@media (max-width: 767px) {
  .tourist-hero,
  .tourist-single__hero {
    padding: 150px 16px 72px;
  }

  .tourist-list-section {
    padding: 0 16px 72px;
  }

  .tourist-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tourist-card__body {
    padding: 20px 18px 18px;
  }

  .tourist-card__title {
    font-size: 20px;
  }

  .tourist-card__map,
  .tourist-card__link,
  .tourist-single__map,
  .tourist-single__back a {
    width: 100%;
  }

  .tourist-card__footer {
    flex-direction: column;
  }

  .tourist-single__image {
    border-radius: 20px;
    margin-bottom: 28px;
  }

  .tourist-single__content {
    font-size: 14px;
    line-height: 2;
  }
}