.tour-page {
  --tour-cream: #faf5eb;
  --tour-gold: #f4ce69;
  background: #fffefa;
}

.tour-page .icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.tour-page .icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tour-page :focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 4px;
}

.tour-page .skip-link {
  position: absolute;
  z-index: 40;
  top: 8px;
  left: 12px;
  transform: translateY(calc(-100% - 8px));
  padding: 10px 16px;
  color: #fff;
  background: var(--wine-deep);
  border-radius: 6px;
}

.tour-page .skip-link:focus {
  transform: translateY(0);
}

.tour-breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 21px 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}

.tour-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tour-breadcrumb .icon {
  width: 12px;
  height: 12px;
  color: var(--gold-deep);
}

.tour-breadcrumb a:hover {
  color: var(--wine);
  text-decoration: underline;
}

.tour-breadcrumb [aria-current="page"] {
  color: var(--wine-deep);
  font-weight: 650;
}

.tour-cover {
  min-height: 0;
  padding-block: clamp(34px, 4.2vw, 62px) clamp(45px, 6vw, 84px);
}

.tour-cover-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: 57% center;
  border-radius: 18px;
  box-shadow: 0 19px 40px rgba(66, 43, 32, .16);
}

.tour-cover h1 {
  margin: 0;
  font-size: clamp(36px, 4.1vw, 58px);
}

.tour-cover-name {
  display: block;
  color: var(--wine);
  text-wrap: balance;
}

.tour-cover p {
  max-width: 455px;
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.tour-cover-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 16px;
  padding: 0;
  list-style: none;
}

.tour-cover-facts li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fffaf1;
  color: var(--wine-deep);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.tour-cover-facts .icon,
.tour-booking-phone .icon {
  width: 16px;
  height: 16px;
}

.tour-cover-facts .icon {
  color: var(--wine);
}

.tour-booking-phone .icon {
  color: var(--tour-gold);
}

.tour-button-gold {
  border: 1px solid transparent;
  background: var(--tour-gold);
  color: #331c24;
}

.tour-button-gold:hover {
  background: #ffdc91;
}

.tour-booking :focus-visible {
  outline-color: #fff8e0;
}

.tour-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 8vw, 112px);
  align-items: center;
}

.tour-intro-copy h2 {
  max-width: 9.5em;
}

.tour-intro-copy p {
  max-width: 54ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.tour-intro-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1.43;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 9px 9px 0 #edce80;
}

.old-town-intro-photo {
  aspect-ratio: 1;
  object-position: center 35%;
}

.birthday-tour .tour-intro-copy h2,
.red-wolf-tour .tour-intro-copy h2,
.picture-hunt-tour .tour-intro-copy h2 {
  max-width: 14em;
}

.birthday-tour .tour-intro-photo {
  object-position: center 22%;
}

.red-wolf-tour .tour-cover h1 {
  margin-bottom: 22px;
}

.red-wolf-tour .tour-cover-photo,
.red-wolf-tour .red-wolf-treasure {
  object-position: center bottom;
}

.red-wolf-tour .red-wolf-guardian {
  object-position: center 76%;
}

.picture-hunt-tour .tour-cover-photo {
  object-position: center 53%;
}

.picture-hunt-tour .tour-intro-photo {
  object-position: center 43%;
}

@media (min-width: 721px) {
  .birthday-tour .tour-intro-layout,
  .tour-intro-layout--photo-first {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  }

  .birthday-tour .tour-intro-photo,
  .tour-intro-layout--photo-first > .tour-intro-photo {
    order: -1;
  }
}

.emotion-grid.tour-photo-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: none;
}

.tour-photo-grid .gallery-tile {
  aspect-ratio: 3 / 4;
}

@media (min-width: 861px) {
  .emotion-grid.tour-photo-grid--five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .emotion-grid.tour-photo-grid--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tour-photo-grid--five .gallery-tile:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 15px) / 2);
  }
}

@media (max-width: 700px) {
  .emotion-grid.tour-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tour-photo-grid--five .gallery-tile:last-child {
    width: calc((100% - 10px) / 2);
  }
}

.tour-stories,
.tour-planning {
  background: var(--tour-cream);
  border-block: 1px solid var(--border);
}

.tour-stories-grid,
.tour-includes-grid {
  display: grid;
  margin: 33px 0 0;
  padding: 0;
  list-style: none;
  gap: 15px;
}

.tour-stories-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.tour-story {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 214px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(145deg, #fffdf7 12%, #f6e7d0);
}

.tour-story:nth-child(n + 5) {
  grid-column: span 4;
}

.tour-story-copy {
  min-width: 0;
  padding: 19px 19px 0;
}

.tour-story-photo {
  align-self: end;
  width: min(62%, 224px);
  height: 111px;
  margin: 10px -13px -9px 0;
  border-radius: 55% 43% 0 0 / 86% 67% 0 0;
  object-fit: cover;
}

.tour-story-photo--street {
  object-position: center 28%;
}

.tour-page .tour-feature-icon {
  box-sizing: content-box;
  width: 22px;
  height: 22px;
  padding: 10px;
  border-radius: 10px;
  background: #f6ead0;
  color: var(--wine-deep);
}

.tour-story h3,
.tour-includes-grid h3 {
  margin: 0 0 5px;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -.025em;
}

.tour-story p,
.tour-includes-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.tour-includes-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 50px);
}

.tour-includes-grid li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.tour-planning-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: start;
  gap: clamp(36px, 7vw, 110px);
}

.tour-route-summary {
  max-width: 45ch;
  margin: 16px 0 24px;
  color: var(--muted);
}

.tour-route {
  margin: 0 0 0 12px;
  padding: 0 0 0 22px;
  border-left: 1px solid #c7a357;
  list-style: none;
}

.tour-route.tour-program {
  margin-top: 33px;
}

.tour-route li {
  position: relative;
  padding-bottom: 20px;
}

.tour-route li:last-child {
  padding-bottom: 0;
}

.tour-route li::before {
  position: absolute;
  top: 8px;
  left: -28px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--tour-cream);
  border-radius: 50%;
  background: var(--wine);
  content: "";
}

.tour-route strong,
.tour-route span {
  display: block;
}

.tour-route span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.tour-details {
  padding: clamp(20px, 3.5vw, 40px);
  border: 1px solid var(--border);
  border-radius: 15px;
  background: #fffdfa;
}

.tour-details h2 {
  font-size: clamp(23px, 2.45vw, 35px);
  letter-spacing: -.04em;
}

.tour-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
}

.tour-details-grid > div {
  padding: 14px 12px;
  border-radius: 9px;
  background: #f9f2e4;
}

.tour-details dt {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #69574d;
  font-size: 11px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.tour-details .icon {
  width: 16px;
  height: 16px;
  color: var(--wine);
}

.tour-details dd {
  margin: 5px 0 0;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
}

.tour-route-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  margin-top: 18px;
  border-radius: 13px;
  object-fit: cover;
  object-position: center 56%;
}

.tour-photo-grid .picture-hunt-game {
  object-position: 55% center;
}

.tour-details-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.tour-booking {
  padding-bottom: 84px;
}

.tour-booking-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: clamp(28px, 5.2vw, 70px);
  border-radius: 19px;
  background: linear-gradient(115deg, var(--wine-ink), var(--wine));
  color: #fff7ee;
}

.tour-booking h2 {
  color: #fffaf5;
}

.tour-booking p {
  max-width: 46ch;
  margin: 13px 0 0;
  font-size: 16px;
}

.tour-booking-actions {
  flex: none;
  display: grid;
  justify-items: start;
  gap: 13px;
}

.tour-booking-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  font-weight: 650;
}

.tour-booking-phone:hover {
  text-decoration: underline;
}

.related-tours {
  padding-block: clamp(34px, 5vw, 64px);
}

.related-tours h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 3vw, 32px);
}

.related-tours-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.related-tour-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 10px 12px 10px 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.related-tour-card img {
  display: block;
  width: 64px;
  height: 58px;
  border-radius: 7px;
  object-fit: cover;
}

.related-tour-card:is(:hover, :focus-visible) {
  background: var(--parchment);
  color: var(--wine);
}

.related-tour-arrow {
  color: var(--wine);
}

@media (max-width: 720px) {
  .related-tours-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1050px) {
  .tour-planning-grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 32px;
  }
}

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

  .tour-story,
  .tour-story:nth-child(n + 5) {
    grid-column: auto;
  }

  .tour-story:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 850px) {
  .tour-includes-grid {
    gap: 20px;
  }

  .tour-includes-grid li {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 720px) {
  .tour-cover-photo {
    aspect-ratio: 3 / 2;
    border-radius: 15px;
  }

  .tour-cover h1 {
    font-size: clamp(28px, 8.3vw, 52px);
  }

  .tour-cover p {
    margin-bottom: 17px;
    font-size: 14px;
    line-height: 1.55;
  }

  .tour-cover-facts {
    gap: 4px;
    margin: 14px 0;
  }

  .tour-cover-facts li {
    gap: 4px;
    padding: 4px 5px;
    font-size: 11px;
  }

  .tour-cover-facts .icon {
    width: 13px;
    height: 13px;
  }

  .tour-cover .btn {
    min-height: 47px;
  }

  .tour-intro-layout,
  .tour-planning-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tour-intro-layout {
    gap: 27px;
  }

  .tour-intro-copy h2 {
    max-width: none;
  }

  .tour-intro-photo {
    box-shadow: 5px 5px 0 #edce80;
  }

  .tour-booking {
    padding-bottom: 61px;
  }

  .tour-booking-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .tour-stories-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .tour-story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(100px, 32vw, 148px);
    min-height: 120px;
  }

  .tour-story:last-child {
    grid-column: auto;
  }

  .tour-story-copy {
    align-self: center;
    padding: 14px 5px 14px 15px;
  }

  .tour-story-photo {
    justify-self: end;
    width: 100%;
    height: 109px;
    margin-top: 0;
  }

  .tour-story h3 {
    font-size: 16px;
  }

  .tour-story p {
    font-size: 13px;
  }
}

@media (max-width: 440px) {
  .tour-breadcrumb ol {
    gap: 4px 6px;
    padding: 15px 0;
    font-size: 11px;
  }

  .tour-breadcrumb li {
    gap: 5px;
  }

  .tour-includes-grid {
    grid-template-columns: 1fr;
  }

  .tour-includes-grid li {
    flex-direction: row;
  }

  .tour-details {
    padding: 17px 12px;
  }

  .tour-details-grid > div {
    padding-inline: 8px;
  }

  .tour-booking-panel {
    padding: 23px 16px;
  }
}

