/* Utah petting zoos: scoped styles for the animal-outings page. */
.ut-petting {
  --up-ink: #183e40;
  --up-teal: #075c61;
  --up-orange: #ad421f;
  --up-gold: #f3bb3d;
  --up-paper: #fffdf7;
  --up-line: #ccd7d3;
}
.ut-petting .up-page {
  background: var(--up-paper);
  color: var(--up-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  padding: 24px 0 64px;
}
.up-page *, .up-page *::before, .up-page *::after { box-sizing: border-box; }
.up-page .up-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.up-page a { color: var(--up-teal); text-underline-offset: .2em; }
.up-page a:hover { text-decoration-thickness: 2px; }
.up-page :focus-visible { outline: 3px solid var(--up-orange); outline-offset: 5px; }
.up-page h1, .up-page h2, .up-page h3, .up-page h4 { line-height: 1.2; color: inherit; }
.up-page p { margin: 0 0 1em; }
.up-page .up-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: .85rem; margin-bottom: 24px; }
.up-page .up-hero { border-radius: 18px; overflow: hidden; background: var(--up-teal); color: white; }
.up-page .up-hero-heading { padding: 32px 40px 28px; }
.up-page .up-eyebrow { font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.up-page h1 { font-size: clamp(2.3rem, 5.3vw, 4.4rem); letter-spacing: -.045em; margin: 0 0 12px; color: white; }
.up-page .up-hero-heading > p:last-child { font-size: 1.12rem; margin-bottom: 0; max-width: 680px; }
.up-page .up-hero-image { margin: 0; position: relative; }
.up-page .up-hero-image picture { display: block; }
.up-page .up-hero-image img { display: block; width: 100%; height: 300px; object-fit: cover; object-position: center 55%; }
.up-page .up-hero-image figcaption { position: absolute; bottom: 12px; left: 16px; padding: 5px 10px; background: #183e40; color: white; font-size: .72rem; border-radius: 4px; max-width: calc(100% - 32px); }
.up-page .up-hero-footer { display: flex; justify-content: space-between; gap: 18px; padding: 16px 40px; background: var(--up-gold); color: #283c31; }
.up-page .up-hero-footer p { margin: 0; font-size: .86rem; font-weight: 750; }
.up-page .up-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 44px; margin-top: 48px; }
.up-page .up-main, .up-page .up-sidebar { min-width: 0; }
.up-page h2 { font-size: clamp(1.6rem, 2.7vw, 2.25rem); letter-spacing: -.035em; margin: 0 0 20px; }
.up-page .up-intro { margin-bottom: 38px; }
.up-page .up-intro .up-eyebrow { color: var(--up-orange); }
.up-page .up-list-heading { border-top: 3px solid var(--up-ink); padding-top: 24px; margin-bottom: 22px; }
.up-page .up-list-heading h2 { margin-bottom: 8px; }
.up-page .up-list-heading p { font-size: .9rem; }
.up-page .up-places { display: grid; gap: 14px; }
.up-page .up-place { border: 1px solid var(--up-line); border-left: 5px solid var(--up-teal); border-radius: 0 12px 12px 0; background: white; overflow: hidden; }
.up-page .up-place:nth-child(even) { border-left-color: var(--up-orange); }
.up-page .up-place > summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; cursor: pointer; list-style: none; }
.up-page .up-place > summary::-webkit-details-marker { display: none; }
.up-page .up-place > summary:hover { background: #f2f6f3; }
.up-page .up-summary-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.up-page .up-location { flex-basis: 100%; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.up-page .up-place-name { flex-basis: 100%; font-size: 1.4rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.25; }
.up-page .up-type { color: var(--up-orange); font-size: .8rem; font-weight: 700; }
.up-page .up-toggle { flex: 0 0 32px; width: 32px; height: 32px; border: 1px solid var(--up-line); border-radius: 50%; position: relative; }
.up-page .up-toggle::before, .up-page .up-toggle::after { content: ""; position: absolute; background: var(--up-teal); width: 12px; height: 2px; top: 14px; left: 9px; }
.up-page .up-toggle::after { transform: rotate(90deg); }
.up-page .up-place[open] .up-toggle::after { transform: rotate(0); }
.up-page .up-place[open] > summary { border-bottom: 1px solid var(--up-line); }
.up-page .up-place-body { padding: 26px 24px 28px; }
.up-page .up-place-body h3 { margin: 0 0 14px; font-size: 1.2rem; }
.up-page .up-visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 20px 0; border-block: 1px solid var(--up-line); margin: 22px 0; }
.up-page .up-place-body h4 { font-size: .85rem; margin: 0 0 10px; }
.up-page .up-visit-grid p, .up-page .up-family-note p { font-size: .92rem; margin-bottom: 0; }
.up-page .up-family-note { margin-bottom: 24px; }
.up-page a.up-button { display: inline-block; padding: 11px 18px; color: white; background: var(--up-teal); border-radius: 6px; font-size: .88rem; font-weight: 750; text-decoration: none; }
.up-page a.up-button:hover { background: #08494d; text-decoration: underline; }
.up-page .up-list-note { margin: 20px 0 0; font-size: .83rem; }
.up-page .up-outings { background: var(--up-orange); color: white; border-radius: 12px; padding: 26px; }
.up-page .up-sidebar h2 { font-size: 1.45rem; }
.up-page .up-outings ul { list-style: none; padding: 0; margin: 0; }
.up-page .up-outings li + li { border-top: 1px solid #ffffff55; }
.up-page .up-outings a { display: block; color: white; padding: 13px 0; font-size: .95rem; text-decoration: none; }
.up-page .up-outings a:hover { text-decoration: underline; }
.up-page .up-field-note { border-top: 7px solid var(--up-gold); padding-top: 24px; margin-top: 32px; }
.up-page .up-field-note p, .up-page .up-faq p { font-size: .91rem; }
.up-page .up-faq { margin-top: 30px; }
.up-page .up-faq details { border-bottom: 1px solid var(--up-line); padding: 14px 0; }
.up-page .up-faq summary { cursor: pointer; font-weight: 700; font-size: .91rem; }
.up-page .up-faq details p { margin: 14px 0 0; }
.up-page .up-next { margin-top: 40px; padding: 30px 0 0; border-top: 3px solid var(--up-gold); }
.up-page .up-next h2 { font-size: 1.8rem; }
@media (max-width: 960px) {
  .up-page .up-layout { grid-template-columns: minmax(0, 1fr) 245px; gap: 28px; }
  .up-page .up-outings { padding: 22px; }
  .up-page .up-visit-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 760px) {
  .up-page .up-layout { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .up-page .up-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
  .up-page .up-field-note, .up-page .up-faq { margin-top: 0; }
  .up-page .up-faq { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .ut-petting .up-page { padding-top: 18px; }
  .up-page .up-shell { width: calc(100% - 28px); }
  .up-page .up-breadcrumb { font-size: .75rem; gap: 8px; margin-bottom: 18px; }
  .up-page .up-hero-heading { padding: 28px 23px 25px; }
  .up-page .up-hero-heading > p:last-child { font-size: 1rem; }
  .up-page .up-hero-image img { height: 300px; object-position: center 48%; }
  .up-page .up-hero-footer { flex-wrap: wrap; gap: 6px 18px; padding: 15px 23px; }
  .up-page .up-hero-footer p { font-size: .77rem; }
  .up-page .up-place > summary { padding: 20px 18px; gap: 12px; }
  .up-page .up-place-name { font-size: 1.25rem; }
  .up-page .up-place-body { padding: 23px 18px; }
  .up-page .up-sidebar { grid-template-columns: 1fr; }
  .up-page .up-faq { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .up-page *, .up-page *::before, .up-page *::after { scroll-behavior: auto !important; transition: none !important; }
}
