/* Mississippi petting zoos. Keep all custom rules within .ms-petting. */
.ms-petting {
  --mp-teal: #14676d;
  --mp-plum: #633f61;
  --mp-copper: #a34924;
  --mp-ink: #263f43;
  --mp-muted: #52666a;
  --mp-line: #d9e1e0;
  background: #fff;
  color: var(--mp-ink);
}

.ms-petting .mp-page {
  padding-bottom: 4rem;
}

.ms-petting .mp-shell {
  width: min(80rem, calc(100% - 4rem));
  margin-inline: auto;
}

.ms-petting .mp-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-block: 1.25rem;
  color: var(--mp-muted);
  font-size: 0.8rem;
}

.ms-petting .mp-breadcrumb a {
  color: var(--mp-teal);
  text-underline-offset: 0.2em;
}

.ms-petting .mp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 2.5rem;
  padding-top: 0.75rem;
}

.ms-petting .mp-photo {
  margin: 0;
  min-width: 0;
}

.ms-petting .mp-photo picture,
.ms-petting .mp-photo img {
  display: block;
}

.ms-petting .mp-photo picture {
  padding-bottom: 0.65rem;
  border-bottom: 5px solid var(--mp-copper);
}

.ms-petting .mp-photo img {
  width: 100%;
  height: auto;
}

.ms-petting .mp-photo figcaption {
  margin-top: 0.55rem;
  font-size: 0.68rem;
  color: var(--mp-muted);
  line-height: 1.7;
}

.ms-petting .mp-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--mp-copper);
  font-size: 0.7rem;
  line-height: 1.6;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ms-petting .mp-hero h1 {
  margin: 0 0 1.4rem;
  color: var(--mp-plum);
  font-size: clamp(2.6rem, 4.7vw, 4.8rem);
  line-height: 1.03;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.ms-petting .mp-hero-copy > p:not(.mp-eyebrow) {
  max-width: 27rem;
  margin: 0;
  color: var(--mp-muted);
  font-size: 1rem;
  line-height: 1.9;
}

.ms-petting .mp-hero-line {
  display: block;
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--mp-line);
  font-size: 0.75rem;
  line-height: 1.8;
  font-weight: 650;
  color: var(--mp-teal);
}

.ms-petting .mp-intro {
  display: grid;
  grid-template-columns: 0.9fr 1.7fr;
  gap: 3rem;
  margin-top: 2.5rem;
  padding-block: 2.5rem;
  border-block: 1px solid var(--mp-line);
}

.ms-petting .mp-intro h2,
.ms-petting .mp-group-heading h2,
.ms-petting .mp-faq h2,
.ms-petting .mp-explore h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--mp-plum);
}

.ms-petting .mp-intro p:not(.mp-eyebrow) {
  margin: 0;
  font-size: 0.95rem;
  color: var(--mp-muted);
  line-height: 1.9;
}

.ms-petting .mp-intro .mp-research {
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--mp-teal);
  font-size: 0.81rem;
}

.ms-petting .mp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17rem;
  gap: 2.5rem;
  align-items: start;
  margin-top: 3rem;
}

.ms-petting .mp-main,
.ms-petting .mp-sidebar {
  min-width: 0;
}

.ms-petting .mp-group {
  --mp-accent: var(--mp-teal);
  margin-bottom: 2.8rem;
}

.ms-petting .mp-group--seasonal,
.ms-petting .mp-group--viewing {
  --mp-accent: var(--mp-copper);
}

.ms-petting .mp-group--guided,
.ms-petting .mp-group--mobile {
  --mp-accent: var(--mp-plum);
}

.ms-petting .mp-group-heading {
  margin-bottom: 1.2rem;
}

.ms-petting .mp-group-heading .mp-eyebrow {
  color: var(--mp-accent);
}

.ms-petting .mp-group-heading h2 {
  color: var(--mp-ink);
  font-size: 1.9rem;
}

.ms-petting .mp-places {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.ms-petting .mp-place {
  min-width: 0;
  border: 1px solid var(--mp-line);
  border-left: 4px solid var(--mp-accent);
  box-shadow: 0 3px 10px rgb(38 63 67 / 4%);
  background: #fff;
}

.ms-petting .mp-place:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.ms-petting .mp-place summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
  min-height: 10.6rem;
  padding: 1.3rem;
  cursor: pointer;
  list-style: none;
}

.ms-petting .mp-place:last-child:nth-child(odd) summary {
  min-height: 0;
}

.ms-petting .mp-place summary::-webkit-details-marker,
.ms-petting .mp-faq summary::-webkit-details-marker {
  display: none;
}

.ms-petting .mp-place summary::marker,
.ms-petting .mp-faq summary::marker {
  content: "";
}

.ms-petting .mp-heading {
  min-width: 0;
}

.ms-petting .mp-location {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--mp-muted);
  font-size: 0.72rem;
  line-height: 1.7;
}

.ms-petting .mp-name {
  display: block;
  color: var(--mp-ink);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.2;
}

.ms-petting .mp-kind {
  display: inline-block;
  margin-top: 0.9rem;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid var(--mp-accent);
  color: var(--mp-accent);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-transform: uppercase;
}

.ms-petting .mp-toggle {
  position: relative;
  width: 1.8rem;
  height: 1.8rem;
  flex: 0 0 1.8rem;
  border: 1px solid var(--mp-line);
  color: var(--mp-accent);
}

.ms-petting .mp-toggle::before,
.ms-petting .mp-toggle::after {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  width: 0.65rem;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.ms-petting .mp-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.ms-petting .mp-place[open] .mp-toggle::after {
  display: none;
}

.ms-petting .mp-place summary:hover,
.ms-petting .mp-place[open] summary {
  background: #f7f9f9;
}

.ms-petting .mp-place-body {
  padding: 1.3rem;
  border-top: 1px solid var(--mp-line);
}

.ms-petting .mp-place-body h3 {
  margin: 0 0 0.7rem;
  color: var(--mp-accent);
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.3;
  font-weight: 600;
}

.ms-petting .mp-place-body p {
  margin: 0;
  color: var(--mp-muted);
  font-size: 0.88rem;
  line-height: 1.9;
}

.ms-petting .mp-note {
  margin-top: 1.2rem;
  padding: 1rem 0 0 1rem;
  border-top: 1px solid var(--mp-line);
  border-left: 2px solid var(--mp-accent);
}

.ms-petting .mp-note h4 {
  margin: 0 0 0.45rem;
  color: var(--mp-ink);
  font-size: 0.8rem;
  font-weight: 750;
}

.ms-petting .mp-note p {
  font-size: 0.82rem;
}

.ms-petting .mp-official {
  display: inline-block;
  margin-top: 1.1rem;
  padding-block: 0.4rem;
  color: var(--mp-accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-underline-offset: 0.25em;
}

.ms-petting .mp-sidebar h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.2;
}

.ms-petting .mp-other {
  padding: 1.6rem;
  border-top: 5px solid #e2b477;
  background: var(--mp-teal);
  color: #fff;
}

.ms-petting .mp-other .mp-eyebrow {
  color: #f8dda7;
}

.ms-petting .mp-other h2 {
  color: #fff;
}

.ms-petting .mp-other nav a {
  display: block;
  padding: 0.8rem 0;
  border-top: 1px solid #6b9da0;
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.6;
  text-decoration: none;
}

.ms-petting .mp-other nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.ms-petting .mp-first-visit {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--mp-line);
  border-top: 5px solid var(--mp-plum);
}

.ms-petting .mp-first-visit .mp-eyebrow,
.ms-petting .mp-first-visit h2 {
  color: var(--mp-plum);
}

.ms-petting .mp-first-visit p:not(.mp-eyebrow),
.ms-petting .mp-booking p {
  margin: 0 0 1rem;
  color: var(--mp-muted);
  font-size: 0.85rem;
  line-height: 1.9;
}

.ms-petting .mp-first-visit p:last-child {
  margin-bottom: 0;
}

.ms-petting .mp-booking {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 3px solid var(--mp-copper);
}

.ms-petting .mp-faq {
  margin-top: 3rem;
}

.ms-petting .mp-faq h2 {
  margin-bottom: 1.3rem;
}

.ms-petting .mp-faq details {
  border-top: 1px solid var(--mp-line);
}

.ms-petting .mp-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  color: var(--mp-teal);
  font-size: 0.95rem;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.ms-petting .mp-faq summary::after {
  content: "+";
  color: var(--mp-plum);
}

.ms-petting .mp-faq details[open] summary::after {
  content: "−";
}

.ms-petting .mp-faq p,
.ms-petting .mp-explore p {
  margin: 0 0 1rem;
  color: var(--mp-muted);
  font-size: 0.9rem;
  line-height: 1.85;
}

.ms-petting .mp-explore {
  margin-top: 2rem;
  padding-top: 1.8rem;
  border-top: 3px solid var(--mp-plum);
}

.ms-petting .mp-explore h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.ms-petting .mp-explore a {
  color: var(--mp-teal);
  font-weight: 650;
  text-underline-offset: 0.25em;
}

.ms-petting .mp-page :focus-visible {
  outline: 3px solid #b87512;
  outline-offset: 4px;
}

@media (max-width: 70rem) {
  .ms-petting .mp-shell {
    width: calc(100% - 3rem);
  }

  .ms-petting .mp-layout {
    grid-template-columns: minmax(0, 1fr) 15rem;
    gap: 1.5rem;
  }

  .ms-petting .mp-places {
    grid-template-columns: 1fr;
  }

  .ms-petting .mp-place summary {
    min-height: 0;
  }

  .ms-petting .mp-hero {
    gap: 1.8rem;
    grid-template-columns: 1.2fr 1fr;
  }
}

@media (max-width: 52rem) {
  .ms-petting .mp-hero,
  .ms-petting .mp-intro,
  .ms-petting .mp-layout {
    grid-template-columns: 1fr;
  }

  .ms-petting .mp-hero-copy {
    order: -1;
    max-width: 38rem;
  }

  .ms-petting .mp-hero h1 {
    font-size: clamp(2.7rem, 7vw, 4rem);
  }

  .ms-petting .mp-intro {
    gap: 1.4rem;
  }

  .ms-petting .mp-intro h2 br {
    display: none;
  }

  .ms-petting .mp-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
    margin-top: 1.2rem;
  }

  .ms-petting .mp-first-visit,
  .ms-petting .mp-booking {
    margin-top: 0;
  }

  .ms-petting .mp-booking {
    grid-column: 1 / -1;
  }
}

@media (max-width: 40rem) {
  .ms-petting .mp-shell {
    width: calc(100% - 2rem);
  }

  .ms-petting .mp-hero {
    gap: 1.5rem;
  }

  .ms-petting .mp-hero h1 {
    font-size: clamp(2.5rem, 10vw, 3.4rem);
  }

  .ms-petting .mp-photo picture {
    width: min(100%, 22rem);
    margin-inline: auto;
  }

  .ms-petting .mp-intro {
    margin-top: 2rem;
    padding-block: 1.8rem;
  }

  .ms-petting .mp-layout {
    margin-top: 2rem;
  }

  .ms-petting .mp-group-heading h2 {
    font-size: 1.6rem;
  }

  .ms-petting .mp-place summary,
  .ms-petting .mp-place-body {
    padding: 1.2rem;
  }

  .ms-petting .mp-sidebar {
    display: block;
  }

  .ms-petting .mp-first-visit,
  .ms-petting .mp-booking {
    margin-top: 1.5rem;
  }
}
