.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* Nav hover underline — Tailwind can't do negative margin tricks cleanly */
.nav-link {
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    text-decoration: none;
}
.nav-link:hover {
    border-bottom-color: #1a5d3a;
    color: #1a5d3a;
    text-decoration: none;
}

/* Breadcrumb separators */
.crumb-list { list-style: none; }
.crumb-sep::before {
    content: '>';
    margin: 0 6px;
    color: #bbb;
    font-size: 11px;
}

/* "Be at Parkside" link hover */
.bar-link {
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
}
.bar-link:hover {
    border-bottom-color: white;
    text-decoration: none;
}

/* Footer link */
.footer-link {
    display: block;
    font-size: 12px;
    color: #999;
    line-height: 2.1;
    text-decoration: none;
}
.footer-link:hover {
    color: white;
    text-decoration: underline;
}

/* Social icon circles */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #2a5030;
    color: #999;
    text-decoration: none;
    transition: color .15s, border-color .15s;
}
.social-icon:hover {
    color: white;
    border-color: #5a9060;
    text-decoration: none;
}

/* Hide default details arrow */
details summary::-webkit-details-marker { display: none; }
details summary { list-style: none; }

/* ── Partners Marquee ──
   A horizontal strip of partner chips that scrolls continuously to the left.
   Two identical .marquee-track groups sit side by side and the pair is shifted
   by -50%, so when the first group has fully scrolled off, the second is in the
   exact same place — a seamless infinite loop.
   --t = scroll period (lower = faster). */
.marquee {
    --t: 28s;
    position: relative;
    display: flex;
    width: 100%;
    overflow: hidden;
    /* fade the left/right edges so chips slide in and out softly */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0 14px;
    list-style: none;
    animation: marquee-scroll var(--t) linear infinite;
}

/* Each chip is a white card; it holds either a logo <img> or filler text. */
.marquee-chip > span,
.marquee-chip > img {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 84px;
    min-width: 168px;
    padding: 0 28px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #d7d7d2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
    font-size: 18px;
    font-weight: 700;
    color: #1a5d3a;
    white-space: nowrap;
}

/* The logo image itself sits inside the card padding. */
.marquee-chip > img {
    object-fit: contain;
    max-width: 100%;
}

.marquee-chip--filler > span {
    color: #9a9a93;
    font-weight: 600;
    background: #fafaf8;
    border-style: dashed;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-100% - 28px)); } /* width of one group + the gap */
}

/* Pause scrolling on hover so names can be read */
.marquee:hover .marquee-track {
    animation-play-state: paused;
}

/* Respect reduced-motion: hold the strip still */
@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }
}

/* Slightly smaller chips on phones */
@media (max-width: 640px) {
    .marquee-chip > span {
        height: 68px;
        min-width: 132px;
        padding: 0 20px;
        font-size: 16px;
    }
    .marquee-track { gap: 20px; }
}
