/* Montana U-pick farms: lake teal and raspberry, scoped to this page. */
.montana-upick {
  --up-teal: #075b60;
  --up-deep: #123d43;
  --up-berry: #a32950;
  --up-ink: #293b3d;
  --up-line: #d3dfe0;
  background: #fff;
  color: var(--up-ink);
}
.up-page,
.up-page * {
  box-sizing: border-box;
}
.up-page {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
}
.up-shell {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
  padding-bottom: 70px;
}
.up-page a {
  color: var(--up-berry);
  text-underline-offset: 4px;
}
.up-page a:hover {
  color: var(--up-teal);
  text-decoration-thickness: 2px;
}
.up-page a:focus-visible,
.up-page summary:focus-visible {
  outline: 3px solid var(--up-berry);
  outline-offset: 5px;
}
.up-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0;
  font-size: 0.85rem;
}
.up-hero {
  margin-bottom: 46px;
}
.up-photo {
  margin: 0;
}
.up-photo picture,
.up-photo img {
  display: block;
  width: 100%;
}
.up-photo img {
  height: auto;
  border-radius: 12px 12px 0 0;
}
.up-photo figcaption {
  background: #fff;
  font-size: 0.74rem;
  padding: 10px 15px;
  line-height: 1.5;
  color: #5d6b6d;
}
.up-title-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr);
  align-items: center;
  gap: 32px;
  padding: 30px 36px;
  color: #fff;
  background: var(--up-teal);
  border-bottom: 7px solid var(--up-berry);
}
.up-kicker {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.up-page h1,
.up-page h2,
.up-page h3,
.up-page h4 {
  font-family: Georgia, 'Times New Roman', serif;
  color: inherit;
}
.up-page h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0;
}
.up-title-panel > p {
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.7;
}
.up-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 42px;
  align-items: start;
}
.up-main {
  min-width: 0;
}
.up-page h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  line-height: 1.25;
  margin: 0 0 15px;
  color: var(--up-deep);
}
.up-page p {
  margin-top: 0;
}
.up-intro .up-kicker,
.up-next .up-kicker {
  color: var(--up-berry);
}
.up-season-note {
  border-left: 5px solid var(--up-berry);
  border-top: 1px solid var(--up-line);
  border-bottom: 1px solid var(--up-line);
  padding: 20px 24px;
  margin: 25px 0 38px;
}
.up-season-note strong {
  display: block;
  margin-bottom: 7px;
  color: var(--up-berry);
}
.up-season-note p {
  margin-bottom: 0;
}
.up-listings {
  margin-bottom: 42px;
}
.up-section-heading {
  border-bottom: 3px solid var(--up-teal);
  padding-bottom: 18px;
  margin-bottom: 18px;
}
.up-section-heading p {
  color: #5d6b6d;
  margin-bottom: 0;
}
.up-card {
  border: 1px solid var(--up-line);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 13px;
}
.up-card > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.7fr) 30px;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  list-style: none;
  cursor: pointer;
}
.up-card > summary::-webkit-details-marker {
  display: none;
}
.up-card > summary::marker {
  content: '';
}
.up-card > summary:hover {
  background: #f7faf9;
}
.up-card-heading {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.up-region {
  color: #5d6b6d;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.5;
}
.up-name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.4rem;
  line-height: 1.3;
  color: var(--up-deep);
}
.up-crop {
  display: block;
  border-left: 3px solid var(--up-berry);
  padding: 5px 0 5px 13px;
  color: var(--up-berry);
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.5;
}
.up-crop > span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.up-toggle {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid var(--up-teal);
  border-radius: 50%;
}
.up-toggle::before,
.up-toggle::after {
  content: '';
  position: absolute;
  top: 13px;
  left: 8px;
  width: 12px;
  height: 2px;
  background: var(--up-teal);
}
.up-toggle::after {
  transform: rotate(90deg);
}
.up-card[open] .up-toggle::after {
  display: none;
}
.up-card[open] > summary {
  border-bottom: 1px solid var(--up-line);
}
.up-details {
  padding: 24px;
  max-width: 78ch;
}
.up-details .up-location {
  color: #5d6b6d;
  font-size: 0.82rem;
}
.up-details h3 {
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 0 0 15px;
}
.up-note {
  padding: 18px 0;
  border-top: 1px solid var(--up-line);
  border-bottom: 1px solid var(--up-line);
  margin: 22px 0;
}
.up-note h4 {
  font-size: 1.08rem;
  margin: 0 0 8px;
  color: var(--up-teal);
}
.up-note p {
  margin-bottom: 0;
}
.up-website {
  font-weight: 700;
  overflow-wrap: anywhere;
}
.up-next {
  border-top: 3px solid var(--up-teal);
  padding-top: 26px;
}
.up-sidebar section {
  margin-bottom: 28px;
}
.up-sidebar h2 {
  font-size: 1.5rem;
}
.up-activities {
  background: var(--up-berry);
  color: #fff;
  padding: 26px;
  border-radius: 8px;
}
.up-activities h2,
.up-activities a {
  color: #fff;
}
.up-activities ul {
  margin: 22px 0 0;
  list-style: none;
  padding: 0;
}
.up-activities li + li {
  border-top: 1px solid #c96583;
}
.up-activities a {
  display: block;
  padding: 13px 0;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}
.up-activities a:hover {
  color: #fff;
  text-decoration: underline;
}
.up-activities a:focus-visible {
  outline-color: #fff;
}
.up-planner {
  padding: 20px 6px;
}
.up-planner .up-kicker {
  color: var(--up-teal);
}
.up-planner h3 {
  font-size: 1.1rem;
  margin: 23px 0 8px;
}
.up-planner p {
  font-size: 0.92rem;
}
.up-faq {
  border-top: 3px solid var(--up-teal);
  padding: 22px 6px;
}
.up-faq details {
  border-bottom: 1px solid var(--up-line);
  padding: 15px 0;
}
.up-faq summary {
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
}
.up-faq p {
  padding-top: 15px;
  margin-bottom: 0;
  font-size: 0.92rem;
}
@media (max-width: 64rem) {
  .up-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 28px;
  }
  .up-card > summary {
    grid-template-columns: minmax(0, 1fr) 30px;
    gap: 12px 20px;
  }
  .up-crop {
    grid-column: 1;
    grid-row: 2;
  }
  .up-toggle {
    grid-column: 2;
    grid-row: 1 / 3;
  }
}
@media (max-width: 48rem) {
  .up-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .up-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
  .up-faq {
    grid-column: 1 / -1;
  }
  .up-title-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}
@media (max-width: 40rem) {
  .up-shell {
    width: calc(100% - 28px);
    padding-bottom: 36px;
  }
  .up-breadcrumb {
    padding: 18px 0;
    font-size: 0.8rem;
  }
  .up-photo picture {
    max-width: 480px;
    margin: 0 auto;
  }
  .up-title-panel {
    padding: 26px 22px;
  }
  .up-page h1 {
    font-size: clamp(2.1rem, 9vw, 3rem);
  }
  .up-hero {
    margin-bottom: 32px;
  }
  .up-sidebar {
    display: block;
  }
  .up-card > summary,
  .up-details {
    padding: 20px;
  }
  .up-page h2 {
    font-size: 1.7rem;
  }
}
