/* Montana petting zoos: cobalt, marigold and generous editorial spacing. */
.montana-petting {
  --mp-blue: #244ac4;
  --mp-deep: #18307c;
  --mp-yellow: #f4bd37;
  --mp-ink: #202b3c;
  --mp-line: #d7dce5;
  background: #fbfbf8;
  color: var(--mp-ink);
}
.mp-page,
.mp-page * {
  box-sizing: border-box;
}
.mp-page {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
}
.mp-shell {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding-bottom: 72px;
}
.mp-page a {
  color: var(--mp-deep);
  text-underline-offset: 4px;
}
.mp-page a:hover {
  text-decoration-thickness: 2px;
}
.mp-page a:focus-visible,
.mp-page summary:focus-visible {
  outline: 3px solid var(--mp-blue);
  outline-offset: 5px;
}
.mp-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0;
  font-size: 0.85rem;
}
.mp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: stretch;
  margin-bottom: 48px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--mp-blue);
}
.mp-photo {
  margin: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mp-photo picture {
  display: block;
}
.mp-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 13px;
}
.mp-photo figcaption {
  margin: 10px 4px 0;
  color: #fff;
  font-size: 0.72rem;
  line-height: 1.5;
}
.mp-hero-copy {
  padding: 42px 32px 42px 22px;
  color: #fff;
  align-self: center;
}
.mp-kicker {
  margin: 0 0 12px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.mp-hero-copy .mp-kicker {
  color: var(--mp-yellow);
}
.mp-page h1,
.mp-page h2,
.mp-page h3,
.mp-page h4 {
  font-family: Georgia, 'Times New Roman', serif;
  color: inherit;
}
.mp-page h1 {
  font-size: clamp(2.35rem, 4vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
}
.mp-hero-copy > p:not(.mp-kicker) {
  font-size: 1.08rem;
  margin-bottom: 26px;
  max-width: 30ch;
}
.mp-page .mp-jump {
  display: inline-block;
  padding: 12px 20px;
  color: var(--mp-ink);
  background: var(--mp-yellow);
  font-weight: 700;
  text-decoration: none;
  border-radius: 7px;
}
.mp-page .mp-jump:focus-visible {
  outline-color: #fff;
}
.mp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 48px;
  align-items: start;
}
.mp-main {
  min-width: 0;
}
.mp-page h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.2;
  margin: 0 0 15px;
}
.mp-page p {
  margin-top: 0;
}
.mp-intro {
  padding: 0 0 12px;
}
.mp-intro .mp-kicker,
.mp-next .mp-kicker {
  color: var(--mp-blue);
}
.mp-season-note {
  border-left: 5px solid var(--mp-yellow);
  padding: 16px 20px;
  background: #fff;
  margin: 15px 0 38px;
}
.mp-season-note strong {
  display: block;
  margin-bottom: 5px;
}
.mp-season-note p {
  margin-bottom: 0;
}
.mp-listings {
  margin-bottom: 44px;
}
.mp-section-heading {
  border-top: 3px solid var(--mp-blue);
  padding-top: 22px;
  margin-bottom: 22px;
}
.mp-section-heading h2 {
  scroll-margin-top: 25px;
}
.mp-section-heading p {
  color: #526071;
  margin-bottom: 0;
}
.mp-card {
  background: #fff;
  border: 1px solid var(--mp-line);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
}
.mp-card > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 26px;
  cursor: pointer;
}
.mp-card > summary::-webkit-details-marker {
  display: none;
}
.mp-card > summary::marker {
  content: '';
}
.mp-card > summary:hover {
  background: #f6f7fc;
}
.mp-card-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}
.mp-region {
  color: #566278;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.035em;
}
.mp-name {
  color: var(--mp-deep);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.55rem;
  line-height: 1.25;
}
.mp-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #5b420b;
  background: #fff0bd;
  border-radius: 4px;
  padding: 3px 9px;
}
.mp-toggle {
  position: relative;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mp-blue);
}
.mp-toggle::before,
.mp-toggle::after {
  content: '';
  position: absolute;
  background: #fff;
  width: 12px;
  height: 2px;
  left: 10px;
  top: 15px;
}
.mp-toggle::after {
  transform: rotate(90deg);
}
.mp-card[open] .mp-toggle::after {
  display: none;
}
.mp-card[open] > summary {
  border-bottom: 1px solid var(--mp-line);
}
.mp-details {
  padding: 25px 26px 29px;
}
.mp-details .mp-location {
  color: #596578;
  font-size: 0.85rem;
  margin-bottom: 15px;
}
.mp-details h3 {
  font-size: 1.35rem;
  line-height: 1.35;
  margin: 0 0 14px;
}
.mp-note {
  margin: 22px 0;
  padding-left: 17px;
  border-left: 3px solid var(--mp-yellow);
}
.mp-note h4 {
  font-size: 1.06rem;
  margin: 0 0 6px;
}
.mp-note p {
  margin-bottom: 0;
}
.mp-website {
  font-weight: 700;
  overflow-wrap: anywhere;
}
.mp-next {
  border-top: 1px solid var(--mp-line);
  padding-top: 28px;
}
.mp-sidebar section {
  margin-bottom: 26px;
}
.mp-sidebar h2 {
  font-size: 1.55rem;
}
.mp-activities {
  padding: 26px;
  background: var(--mp-yellow);
  border-radius: 12px;
}
.mp-activities ul {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.mp-activities li + li {
  border-top: 1px solid #c89523;
}
.mp-activities a {
  display: block;
  padding: 12px 0;
  color: var(--mp-ink);
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}
.mp-activities a:hover {
  text-decoration: underline;
}
.mp-planner {
  padding: 25px 6px;
}
.mp-planner h3 {
  font-size: 1.12rem;
  margin: 24px 0 8px;
}
.mp-planner p {
  font-size: 0.93rem;
}
.mp-faq {
  border-top: 3px solid var(--mp-blue);
  padding: 22px 6px;
}
.mp-faq details {
  border-bottom: 1px solid var(--mp-line);
  padding: 15px 0;
}
.mp-faq summary {
  cursor: pointer;
  font-weight: 700;
  line-height: 1.5;
}
.mp-faq p {
  padding-top: 15px;
  margin-bottom: 0;
  font-size: 0.92rem;
}
@media (max-width: 62rem) {
  .mp-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 28px;
  }
  .mp-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  }
  .mp-hero-copy {
    padding: 28px 24px;
  }
  .mp-page h1 {
    font-size: 2.6rem;
  }
}
@media (max-width: 48rem) {
  .mp-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .mp-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
  .mp-faq {
    grid-column: 1 / -1;
  }
}
@media (max-width: 40rem) {
  .mp-shell {
    width: calc(100% - 28px);
    padding-bottom: 36px;
  }
  .mp-breadcrumb {
    font-size: 0.8rem;
    padding: 18px 0;
  }
  .mp-hero {
    display: flex;
    flex-direction: column-reverse;
    border-radius: 17px;
    margin-bottom: 32px;
  }
  .mp-hero-copy {
    padding: 28px 24px 16px;
    align-self: stretch;
  }
  .mp-page h1 {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }
  .mp-hero-copy > p:not(.mp-kicker) {
    max-width: none;
  }
  .mp-photo {
    padding: 14px;
  }
  .mp-photo picture {
    max-width: 420px;
    margin: 0 auto;
  }
  .mp-sidebar {
    display: block;
  }
  .mp-card > summary,
  .mp-details {
    padding: 20px;
  }
  .mp-name {
    font-size: 1.3rem;
  }
  .mp-card > summary {
    gap: 12px;
  }
  .mp-page h2 {
    font-size: 1.75rem;
  }
}
