/* Wyoming petting zoos. Scoped to avoid changing other activity pages. */
.wy-petting {
  --wp-teal: #155965;
  --wp-ink: #243d42;
  --wp-rust: #a3451e;
  --wp-line: #cfdddd;
  background: #fff;
  color: var(--wp-ink);
}

.wy-petting .wp-page {
  padding-block: 0 64px;
}

.wy-petting .wp-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.wy-petting .wp-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-block: 24px;
  font-size: .8rem;
}

.wy-petting .wp-hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: 40px;
  padding-block: 16px 35px;
  border-bottom: 1px solid var(--wp-line);
}

.wy-petting .wp-eyebrow {
  margin: 0 0 12px;
  color: var(--wp-rust);
  font: 700 .72rem/1.5 var(--font-body);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.wy-petting h1 {
  margin: 0 0 22px;
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.035em;
  color: var(--wp-teal);
}

.wy-petting .wp-deck {
  max-width: 29rem;
  font-size: 1.12rem;
  line-height: 1.75;
}

.wy-petting .wp-hero-line {
  border-top: 3px solid var(--wp-rust);
  padding-top: 17px;
  margin-top: 25px;
  font-size: .8rem;
  font-weight: 700;
}

.wy-petting .wp-photo {
  margin: 0;
}

.wy-petting .wp-photo picture,
.wy-petting .wp-photo img {
  display: block;
  width: 100%;
}

.wy-petting .wp-photo img {
  height: auto;
  border-radius: 7px;
}

.wy-petting .wp-photo figcaption {
  margin-top: 8px;
  color: #52696b;
  font-size: .72rem;
}

.wy-petting .wp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 44px;
  align-items: start;
  margin-top: 40px;
}

.wy-petting .wp-main,
.wy-petting .wp-sidebar {
  min-width: 0;
}

.wy-petting h2 {
  margin: 0 0 18px;
  color: var(--wp-teal);
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 500;
  line-height: 1.2;
}

.wy-petting p {
  margin: 0 0 18px;
}

.wy-petting .wp-intro {
  max-width: 760px;
  margin-bottom: 36px;
}

.wy-petting .wp-section-head {
  margin-bottom: 24px;
}

.wy-petting .wp-place {
  margin-bottom: 18px;
  border: 1px solid var(--wp-line);
  border-left: 5px solid var(--wp-teal);
  border-radius: 4px;
  background: #fff;
}

.wy-petting .wp-place summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
  cursor: pointer;
  list-style: none;
}

.wy-petting summary::-webkit-details-marker {
  display: none;
}

.wy-petting .wp-place summary:hover {
  background: #f2f7f7;
}

.wy-petting .wp-place-heading {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.wy-petting .wp-location {
  color: var(--wp-rust);
  font-size: .75rem;
  font-weight: 700;
}

.wy-petting .wp-name {
  color: var(--wp-teal);
  font: 500 1.65rem/1.2 var(--font-display);
}

.wy-petting .wp-teaser {
  color: #4f6569;
  font-size: .86rem;
}

.wy-petting .wp-toggle {
  position: relative;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  color: var(--wp-teal);
}

.wy-petting .wp-toggle::before,
.wy-petting .wp-toggle::after {
  position: absolute;
  content: '';
  inset: 12px 3px auto;
  height: 2px;
  background: currentColor;
}

.wy-petting .wp-toggle::after {
  transform: rotate(90deg);
}

.wy-petting .wp-place[open] .wp-toggle::after {
  transform: rotate(0);
}

.wy-petting .wp-details {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
  border-top: 1px solid var(--wp-line);
  font-size: .9rem;
  line-height: 1.8;
}

.wy-petting .wp-description p:last-child {
  margin-bottom: 0;
}

.wy-petting .wp-visit-note {
  border-left: 2px solid var(--wp-rust);
  padding-left: 20px;
}

.wy-petting .wp-visit-note h3 {
  margin: 0 0 10px;
  font: 700 .85rem/1.4 var(--font-body);
}

.wy-petting .wp-official {
  color: var(--wp-teal);
  font-weight: 700;
  font-size: .83rem;
  overflow-wrap: anywhere;
}

.wy-petting .wp-fairs {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 3px solid var(--wp-rust);
}

.wy-petting .wp-fairs .wp-place {
  border-left-color: var(--wp-rust);
}

.wy-petting .wp-next {
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid var(--wp-line);
}

.wy-petting .wp-activities {
  padding: 26px;
  background: var(--wp-teal);
  color: #fff;
  border-radius: 5px;
}

.wy-petting .wp-activities h2 {
  color: #fff;
  font-size: 1.65rem;
}

.wy-petting .wp-activities .wp-eyebrow {
  color: #ffcd93;
}

.wy-petting .wp-activities ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wy-petting .wp-activities li + li {
  border-top: 1px solid #55858d;
}

.wy-petting .wp-activities a {
  display: block;
  padding-block: 12px;
  color: #fff;
  font-size: .92rem;
  text-decoration: none;
}

.wy-petting .wp-activities a:hover {
  color: #ffcd93;
  text-decoration: underline;
}

.wy-petting .wp-planner,
.wy-petting .wp-faq {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid var(--wp-rust);
  font-size: .89rem;
}

.wy-petting .wp-planner h2,
.wy-petting .wp-faq h2 {
  font-size: 1.6rem;
}

.wy-petting .wp-planner h3 {
  margin: 24px 0 8px;
  font: 700 .9rem/1.4 var(--font-body);
}

.wy-petting .wp-faq details {
  border-bottom: 1px solid var(--wp-line);
}

.wy-petting .wp-faq summary {
  padding-block: 15px;
  font-weight: 700;
  cursor: pointer;
}

.wy-petting a:focus-visible,
.wy-petting summary:focus-visible {
  outline: 3px solid var(--wp-rust);
  outline-offset: 4px;
}

@media (max-width: 64rem) {
  .wy-petting .wp-hero {
    gap: 26px;
  }

  .wy-petting .wp-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 26px;
  }

  .wy-petting .wp-details {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 48rem) {
  .wy-petting .wp-hero,
  .wy-petting .wp-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .wy-petting .wp-hero-copy {
    grid-row: 1;
  }

  .wy-petting .wp-photo {
    max-width: 600px;
  }

  .wy-petting .wp-layout {
    gap: 38px;
  }
}

@media (max-width: 40rem) {
  .wy-petting .wp-shell {
    width: calc(100% - 32px);
  }

  .wy-petting .wp-photo {
    width: min(100%, 320px);
    margin-inline: auto;
  }

  .wy-petting .wp-place summary,
  .wy-petting .wp-details {
    padding: 20px;
  }

  .wy-petting .wp-name {
    font-size: 1.4rem;
  }
}
