.tpm-home-tours {
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 7vw, 96px) 0 clamp(66px, 7vw, 98px);
  background: #ffffff;
  color: var(--tpm-ink);
  isolation: isolate;
}

.tpm-home-tours::before,
.tpm-home-tours::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(520px, 46vw);
  height: min(520px, 46vw);
  background-image: radial-gradient(rgba(3, 139, 165, 0.22) 1.25px, transparent 1.45px);
  background-size: 18px 18px;
  pointer-events: none;
}

.tpm-home-tours::before {
  top: -72px;
  left: -90px;
  mask-image: radial-gradient(circle at top left, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at top left, #000 0%, transparent 72%);
}

.tpm-home-tours::after {
  right: -120px;
  bottom: -130px;
  opacity: 0.74;
  mask-image: radial-gradient(circle at bottom right, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at bottom right, #000 0%, transparent 70%);
}

.tpm-home-tour-row {
  --tpm-tour-gap: 30px;
}

.tpm-home-tour-row + .tpm-home-tour-row {
  margin-top: clamp(50px, 6vw, 76px);
}

.tpm-home-tour-row__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
}

.tpm-home-tour-row__kicker {
  margin: 0 0 7px;
  color: var(--tpm-pink) !important;
  font-size: 12px !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tpm-home-tour-row h2 {
  margin: 0;
  color: var(--tpm-teal) !important;
  font-family: var(--tpm-font-body);
  font-size: clamp(30px, 3.6vw, 43px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
  text-transform: none !important;
}

.tpm-home-tour-row__nav {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.tpm-home-tour-row__nav button,
.tpm-matriz .tpm-home-tour-row__nav button {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: grid !important;
  width: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  place-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(3, 139, 165, 0.28) !important;
  border-radius: 50% !important;
  background: var(--tpm-white) !important;
  color: var(--tpm-pink) !important;
  line-height: 1 !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.tpm-home-tour-row__nav button:hover,
.tpm-home-tour-row__nav button:focus-visible,
.tpm-matriz .tpm-home-tour-row__nav button:hover,
.tpm-matriz .tpm-home-tour-row__nav button:focus-visible {
  border-color: var(--tpm-pink) !important;
  background: var(--tpm-pink) !important;
  color: var(--tpm-white) !important;
}

.tpm-home-tour-row__nav button:disabled,
.tpm-matriz .tpm-home-tour-row__nav button:disabled {
  opacity: 0.42;
  cursor: default;
}

.tpm-home-tour-row__viewport {
  min-width: 0;
  overflow: hidden;
}

.tpm-home-tour-row__track {
  gap: var(--tpm-tour-gap);
}

.tpm-home-tour-row--slider .tpm-home-tour-row__track {
  display: flex;
  align-items: stretch;
  backface-visibility: hidden;
  touch-action: pan-y pinch-zoom;
}

.tpm-home-tour-row--static .tpm-home-tour-row__track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

.tpm-home-tour-row--slider .tpm-tour-card,
.tpm-home-tour-row--static .tpm-tour-card {
  flex: 0 0 calc((100% - (var(--tpm-tour-gap) * 2)) / 3);
  min-width: 0;
}

.tpm-home-tours .tpm-tour-card {
  display: flex;
  height: 100%;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  padding: 0 !important;
  border: 1px solid rgba(3, 139, 165, 0.16);
  border-radius: 8px;
  background: var(--tpm-white);
  box-shadow: none !important;
  transition: border-color 180ms ease;
}

.tpm-home-tours .tpm-tour-card:hover,
.tpm-home-tours .tpm-tour-card:focus-within {
  border-color: rgba(239, 0, 67, 0.9);
  box-shadow: none !important;
}

.tpm-tour-card__media {
  position: relative;
  aspect-ratio: 16 / 9.2;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  overflow: hidden;
  background: #e9f3f3;
}

.tpm-tour-card__media img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(0.98);
  transform: none;
  transition: filter 180ms ease;
}

.tpm-tour-card:hover .tpm-tour-card__media img,
.tpm-tour-card:focus-within .tpm-tour-card__media img {
  filter: saturate(0.86) contrast(1);
}

.tpm-tour-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 20px 22px 21px;
}

.tpm-tour-card__eyebrow {
  margin: 0 0 9px;
  color: var(--tpm-teal-dark) !important;
  font-size: 10px !important;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.tpm-tour-card__title,
.tpm-tour-card h3.tpm-tour-card__title,
.tpm-matriz .tpm-tour-card__title {
  min-height: 58px;
  margin: 0;
  color: var(--tpm-pink) !important;
  font-family: var(--tpm-font-body);
  font-size: 23px !important;
  font-weight: 800;
  letter-spacing: 0 !important;
  line-height: 1.16;
  text-transform: none !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none;
  text-wrap: balance;
}

.tpm-tour-card__title--medium,
.tpm-tour-card h3.tpm-tour-card__title--medium,
.tpm-matriz .tpm-tour-card__title--medium {
  font-size: 21px !important;
  line-height: 1.18;
}

.tpm-tour-card__title--long,
.tpm-tour-card h3.tpm-tour-card__title--long,
.tpm-matriz .tpm-tour-card__title--long {
  min-height: 72px;
  font-size: 19px !important;
  line-height: 1.18;
}

.tpm-tour-card__facts {
  display: grid;
  gap: 8px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.tpm-tour-card__facts li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  color: #53656a;
  font-size: 13px;
  line-height: 1.38;
}

.tpm-tour-card__facts i {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(3, 139, 165, 0.1);
  color: var(--tpm-teal) !important;
  font-size: 10px;
  line-height: 1;
}

.tpm-tour-card__facts strong {
  color: var(--tpm-ink);
  font-weight: 800;
}

.tpm-tour-card__link,
.tpm-matriz a.tpm-tour-card__link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
  padding: 0;
  color: var(--tpm-pink) !important;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none !important;
  transition: color 180ms ease, gap 180ms ease;
}

.tpm-tour-card__link:hover,
.tpm-tour-card__link:focus-visible,
.tpm-matriz a.tpm-tour-card__link:hover,
.tpm-matriz a.tpm-tour-card__link:focus-visible {
  gap: 11px;
  color: var(--tpm-teal-dark) !important;
}

.tpm-tour-card__link i {
  color: currentColor !important;
  font-size: 12px;
  line-height: 1;
}

@media (max-width: 1024px) {
  .tpm-home-tour-row {
    --tpm-tour-gap: 24px;
  }

  .tpm-home-tour-row--slider .tpm-tour-card,
  .tpm-home-tour-row--static .tpm-tour-card {
    flex-basis: calc((100% - var(--tpm-tour-gap)) / 2);
  }
}

@media (max-width: 860px) {
  .tpm-home-tours {
    padding: 56px 0 70px;
  }

  .tpm-home-tours::before,
  .tpm-home-tours::after {
    width: 340px;
    height: 340px;
    background-size: 16px 16px;
  }

  .tpm-home-tour-row__head {
    align-items: flex-start;
    margin-bottom: 20px;
  }
}

@media (max-width: 640px) {
  .tpm-home-tour-row {
    --tpm-tour-gap: 18px;
  }

  .tpm-home-tour-row + .tpm-home-tour-row {
    margin-top: 46px;
  }

  .tpm-home-tour-row__head {
    display: grid;
    gap: 14px;
  }

  .tpm-home-tour-row__nav {
    justify-self: start;
  }

  .tpm-home-tour-row--slider .tpm-tour-card,
  .tpm-home-tour-row--static .tpm-tour-card {
    flex-basis: 100%;
  }

  .tpm-tour-card__body {
    padding: 19px 19px 20px;
  }

  .tpm-tour-card__title,
  .tpm-tour-card h3.tpm-tour-card__title,
  .tpm-matriz .tpm-tour-card__title {
    min-height: auto;
    font-size: 22px !important;
    line-height: 1.17;
  }

  .tpm-tour-card__title--medium,
  .tpm-tour-card h3.tpm-tour-card__title--medium,
  .tpm-tour-card__title--long,
  .tpm-tour-card h3.tpm-tour-card__title--long,
  .tpm-matriz .tpm-tour-card__title--medium,
  .tpm-matriz .tpm-tour-card__title--long {
    min-height: auto;
    font-size: 20px !important;
  }
}
