/* North Dakota U-pick farms. Load after the shared site stylesheet. */
body.nd-upick {
    --up-ink: #153d3c;
    --up-berry: #8b2544;
    --up-line: #cad7d4;
    --up-muted: #4c6461;
    --indigo: #8b2544;
    --indigo-deep: #641b32;
    --fleece-bay: #153d3c;
    --fleece-brown: #4c6461;
    --fleece-silver: #526966;
    --fleece-beige: #cad7d4;
    --fleece-card: #ffffff;
    --wrap: 78rem;
    background: #ffffff;
    color: var(--up-ink);
}

.nd-upick .site-header {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--up-line);
}

.nd-upick .wordmark {
    color: var(--up-berry);
}

.nd-upick .nav-links a:hover {
    background: #153d3c;
    color: #ffffff;
}

.nd-upick .site-footer {
    background: #153d3c;
    color: #ffffff;
    border: 0;
}

.nd-upick .site-footer a {
    color: #ffffff;
}

.ndu-page {
    padding: 0 0 5rem;
}

.ndu-shell {
    max-width: 78rem;
    padding-inline: 1.5rem;
    margin-inline: auto;
}

.ndu-page h1,
.ndu-page h2,
.ndu-page h3,
.ndu-page h4 {
    color: var(--up-ink);
}

.ndu-page h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.65rem, 2.5vw, 2.2rem);
    line-height: 1.2;
}

.ndu-page p {
    margin: 0 0 1rem;
}

.ndu-page a {
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

.ndu-page a:focus-visible,
.ndu-page summary:focus-visible {
    outline: 3px solid var(--up-berry);
    outline-offset: 4px;
}

.ndu-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding-block: 1.25rem 2rem;
    font-size: 0.8rem;
    color: var(--up-muted);
}

.ndu-hero {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}

.ndu-page .ndu-eyebrow {
    margin-bottom: 0.9rem;
    color: var(--up-berry);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ndu-hero h1 {
    margin-bottom: 1.5rem;
    font-size: clamp(2.65rem, 4.8vw, 4.2rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1.06;
}

.ndu-hero .ndu-lede {
    color: var(--up-berry);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    line-height: 1.4;
}

.ndu-hero-copy > p:last-child {
    max-width: 29rem;
    color: var(--up-muted);
    margin-bottom: 0;
}

.ndu-photo {
    margin: 0;
    min-width: 0;
}

.ndu-photo picture {
    display: block;
    overflow: hidden;
    border-radius: 6.5rem 0.6rem 0.6rem 0.6rem;
    background: #153d3c;
}

.ndu-photo img {
    width: 100%;
    height: 25rem;
    object-fit: cover;
    object-position: center;
}

.ndu-photo figcaption {
    padding-top: 0.6rem;
    color: var(--up-muted);
    font-size: 0.7rem;
    line-height: 1.5;
}

.ndu-crop-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 1.1rem 0;
    border-block: 1px solid var(--up-line);
    color: var(--up-berry);
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
}

.ndu-crop-strip span + span {
    border-left: 1px solid var(--up-line);
}

.ndu-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18rem;
    gap: 3.5rem;
    align-items: start;
    padding-top: 3rem;
}

.ndu-main,
.ndu-sidebar {
    min-width: 0;
}

.ndu-intro > p:not(.ndu-eyebrow),
.ndu-farm-body,
.ndu-pack p,
.ndu-next p {
    color: var(--up-muted);
}

.ndu-intro .ndu-season {
    margin-top: 1.5rem;
    padding: 1rem 0 1rem 1.25rem;
    border-left: 3px solid var(--up-berry);
    font-size: 0.9rem;
}

.ndu-group {
    margin-top: 3.25rem;
}

.ndu-section-heading {
    padding-bottom: 0.75rem;
}

.ndu-section-heading > p:last-child {
    font-size: 0.9rem;
    color: var(--up-muted);
}

.ndu-farm {
    border-top: 1px solid var(--up-line);
}

.ndu-farm:last-child {
    border-bottom: 1px solid var(--up-line);
}

.ndu-farm > summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(8rem, 0.65fr) 1.5rem;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 0.25rem;
    cursor: pointer;
    list-style: none;
}

.ndu-page summary::-webkit-details-marker {
    display: none;
}

.ndu-farm > summary:hover .ndu-name {
    color: var(--up-berry);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.ndu-town,
.ndu-name,
.ndu-crop span,
.ndu-crop strong {
    display: block;
}

.ndu-town {
    margin-bottom: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.075em;
    text-transform: uppercase;
    color: var(--up-muted);
}

.ndu-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.4rem;
    line-height: 1.25;
}

.ndu-crop {
    padding-left: 1rem;
    border-left: 2px solid var(--up-berry);
    color: var(--up-berry);
    line-height: 1.4;
}

.ndu-crop span {
    margin-bottom: 0.25rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ndu-crop strong {
    font-size: 0.85rem;
    font-weight: 700;
}

.ndu-toggle {
    position: relative;
    width: 1.5rem;
    height: 1.5rem;
    color: var(--up-berry);
}

.ndu-toggle::before,
.ndu-toggle::after {
    content: "";
    position: absolute;
    top: calc(50% - 1px);
    left: 0.25rem;
    width: 1rem;
    height: 2px;
    background: currentColor;
}

.ndu-toggle::after {
    transform: rotate(90deg);
}

.ndu-farm[open] .ndu-toggle::after {
    display: none;
}

.ndu-farm[open] > summary {
    border-bottom: 1px dashed var(--up-line);
}

.ndu-farm-body {
    padding: 1.5rem 0.25rem 1.75rem;
    font-size: 0.95rem;
}

.ndu-farm-body .ndu-kind {
    color: var(--up-berry);
    font-weight: 700;
    font-size: 0.8rem;
}

.ndu-address {
    font-size: 0.85rem;
}

.ndu-visit {
    margin-block: 1.25rem;
    padding-left: 1rem;
    border-left: 2px solid var(--up-line);
}

.ndu-visit h4 {
    margin: 0 0 0.4rem;
    font-size: 0.85rem;
}

.ndu-visit p {
    font-size: 0.88rem;
}

.ndu-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.ndu-links a {
    padding-block: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.ndu-orchard {
    padding: 2rem;
    margin-block: 3rem;
    color: #ffffff;
    background: #153d3c;
    border-radius: 0.6rem 3rem 0.6rem 0.6rem;
}

.ndu-orchard h2,
.ndu-orchard .ndu-eyebrow,
.ndu-orchard a {
    color: #ffffff;
}

.ndu-orchard p {
    font-size: 0.95rem;
}

.ndu-orchard .ndu-orchard-crop {
    font-weight: 700;
    font-size: 0.85rem;
}

.ndu-orchard a {
    display: inline-block;
    padding-block: 0.5rem;
    font-weight: 700;
    font-size: 0.88rem;
}

.ndu-orchard a:focus-visible {
    outline-color: #ffffff;
}

.ndu-pack,
.ndu-next {
    margin-top: 3rem;
}

.ndu-next {
    padding-top: 2rem;
    border-top: 1px solid var(--up-line);
}

.ndu-sidebar > section + section {
    margin-top: 2.5rem;
}

.ndu-sidebar h2 {
    font-size: 1.5rem;
}

.ndu-other {
    padding: 1.5rem;
    border: 1px solid var(--up-berry);
    border-top: 5px solid var(--up-berry);
}

.ndu-other ul {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.ndu-other li + li {
    border-top: 1px solid var(--up-line);
}

.ndu-other a {
    display: block;
    padding-block: 0.85rem;
    font-size: 0.9rem;
    font-weight: 650;
    text-decoration: none;
}

.ndu-other a:hover {
    text-decoration: underline;
}

.ndu-crop-guide dl {
    margin: 1.5rem 0 0;
}

.ndu-crop-guide dt {
    margin-top: 1.25rem;
    color: var(--up-berry);
    font-size: 0.9rem;
    font-weight: 750;
}

.ndu-crop-guide dd {
    margin: 0.3rem 0 0;
    color: var(--up-muted);
    font-size: 0.88rem;
}

.ndu-faq details {
    border-top: 1px solid var(--up-line);
}

.ndu-faq summary {
    padding: 1rem 0;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 700;
}

.ndu-faq summary::marker {
    color: var(--up-berry);
}

.ndu-faq p {
    color: var(--up-muted);
    font-size: 0.85rem;
}

@media (max-width: 65rem) {
    .ndu-layout {
        grid-template-columns: minmax(0, 1fr) 15rem;
        gap: 2rem;
    }

    .ndu-hero {
        gap: 1.75rem;
    }

    .ndu-photo img {
        height: 23rem;
    }

    .ndu-farm > summary {
        gap: 0.8rem;
    }
}

@media (max-width: 52rem) {
    .ndu-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .ndu-hero {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .ndu-hero h1 {
        font-size: 2.7rem;
    }

    .ndu-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        gap: 2rem;
        padding-top: 1rem;
    }

    .ndu-sidebar > section + section {
        margin-top: 0;
    }

    .ndu-faq {
        grid-column: 1 / -1;
    }
}

@media (max-width: 40rem) {
    .ndu-shell {
        padding-inline: 1.15rem;
    }

    .ndu-breadcrumb {
        padding-bottom: 1.5rem;
    }

    .ndu-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.75rem;
        padding-bottom: 1.75rem;
    }

    .ndu-hero h1 {
        font-size: clamp(2.6rem, 10vw, 3.8rem);
    }

    .ndu-hero .ndu-lede {
        font-size: 1.35rem;
    }

    .ndu-photo {
        max-width: 26rem;
        width: 100%;
        margin-inline: auto;
    }

    .ndu-photo picture {
        border-radius: 3.5rem 0.5rem 0.5rem 0.5rem;
    }

    .ndu-photo img {
        height: auto;
        aspect-ratio: 706 / 941;
        max-height: 29rem;
        object-fit: cover;
    }

    .ndu-crop-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem 0;
        font-size: 0.8rem;
    }

    .ndu-crop-strip span:nth-child(3) {
        border-left: 0;
    }

    .ndu-layout {
        padding-top: 2rem;
    }

    .ndu-farm > summary {
        grid-template-columns: minmax(0, 1fr) 1.5rem;
        gap: 0.8rem;
        padding-block: 1.25rem;
    }

    .ndu-crop {
        grid-row: 2;
        grid-column: 1;
    }

    .ndu-toggle {
        grid-column: 2;
        grid-row: 1 / 3;
    }

    .ndu-name {
        font-size: 1.3rem;
    }

    .ndu-orchard {
        padding: 1.5rem;
    }

    .ndu-sidebar {
        display: block;
    }

    .ndu-sidebar > section + section {
        margin-top: 2.5rem;
    }
}
