/* ============================================================
 BREADCRUMBS - reusable component
 Uses brand tokens: --color-navy (#1B2A4A), --color-accent (#D4A843)
 Sits below main nav. Subtle, small, single-line.
 ============================================================ */

.bc {
 position: sticky;
 top: 0;
 z-index: 50;
 background: rgba(250, 248, 245, 0.94);
 -webkit-backdrop-filter: saturate(140%) blur(8px);
 backdrop-filter: saturate(140%) blur(8px);
 border-bottom: 1px solid rgba(27, 42, 74, 0.08);
 font-family: 'Inter', system-ui, -apple-system, sans-serif;
 font-size: 12.5px;
 line-height: 1;
 letter-spacing: 0.01em;
 color: rgba(27, 42, 74, 0.62);
}

/* If nav is fixed, offset breadcrumb sticky to clear the MLS bar (~40px) + nav (~70px).
 These pages set the offset inline if needed. Default is 0. */
.bc--offset-nav { top: 110px; }
.bc--offset-mls { top: 40px; }

.bc__list {
 display: flex;
 align-items: center;
 flex-wrap: nowrap;
 gap: 0;
 list-style: none;
 margin: 0 auto;
 padding: 10px 24px;
 max-width: 1400px;
 height: 36px;
 overflow: hidden;
 white-space: nowrap;
}

.bc__list li {
 display: inline-flex;
 align-items: center;
 min-width: 0;
}

.bc__list li + li::before {
 content: "";
 display: inline-block;
 width: 6px;
 height: 6px;
 margin: 0 10px;
 border-right: 1.5px solid rgba(27, 42, 74, 0.32);
 border-top: 1.5px solid rgba(27, 42, 74, 0.32);
 transform: rotate(45deg);
 flex-shrink: 0;
}

.bc__list a {
 color: rgba(27, 42, 74, 0.72);
 text-decoration: none;
 transition: color 0.18s ease;
 overflow: hidden;
 text-overflow: ellipsis;
 white-space: nowrap;
 max-width: 240px;
}

.bc__list a:hover,
.bc__list a:focus-visible {
 color: var(--color-accent, #D4A843);
 text-decoration: none;
 outline: none;
}

.bc__list [aria-current="page"] {
 color: var(--color-navy, #1B2A4A);
 font-weight: 600;
 overflow: hidden;
 text-overflow: ellipsis;
 white-space: nowrap;
 max-width: 320px;
}

/* Mobile: keep just the last 2 items (parent + current page) */
@media (max-width: 640px) {
 .bc__list { padding: 8px 16px; height: 34px; font-size: 12px; }
 .bc__list li:not(:nth-last-child(-n+2)) { display: none; }
 .bc__list li:nth-last-child(2)::before { display: none; }
 .bc__list a { max-width: 140px; }
 .bc__list [aria-current="page"] { max-width: 200px; }
}

@media (prefers-reduced-motion: reduce) {
 .bc a { transition: none; }
}
