/* Brazoban site chrome: header, ticker, menus, listing search, footer. */
:root {
	--brz-tan: #997F63;
	--brz-tan-lt: #C9B49B;
	--brz-line: #E2E4E8;
	--brz-tint: #F4F5F7;
	--brz-serif: 'DM Serif Display', Georgia, serif;
	--brz-sans: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
	--brz-adminbar: 0px;
	--brz-head-h: 64px;
}
.admin-bar { --brz-adminbar: 32px; }
@media (max-width: 782px) { .admin-bar { --brz-adminbar: 46px; } }
@media (max-width: 600px) { .admin-bar { --brz-adminbar: 0px; } }
body.brz-site { margin: 0; background: #fff; }
#brz-main { outline: none; }
#brz-main:focus { outline: none; }

.brz-skip { position: absolute; left: -9999px; top: 8px; z-index: 100001; background: #000; color: #fff; padding: 10px 14px; border-radius: 6px; font: 600 14px var(--brz-sans); }
.brz-skip:focus { left: 8px; }

.brz-tick, .brz-hdr-main, .brz-hdr-search, .brz-ftr { font-family: var(--brz-sans); line-height: 1.5; letter-spacing: normal; text-transform: none; box-sizing: border-box; }
.brz-tick *, .brz-hdr-main *, .brz-hdr-search *, .brz-ftr * { box-sizing: border-box; }
.brz-tick a, .brz-hdr-main a, .brz-hdr-search a, .brz-ftr a { text-decoration: none; }

/* ---------- Ticker + news bar ---------- */
.brz-tick { background: #000; color: #fff; font-size: 13px; line-height: 1; display: flex; flex-wrap: wrap; align-items: stretch; border-bottom: 1px solid #222; position: relative; z-index: 1001; }
.brz-tick-main { flex: 1 1 560px; min-width: 0; display: flex; align-items: stretch; height: 40px; }
.brz-tick-badge { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #141414; border-right: 1px solid #333; white-space: nowrap; }
.brz-pulse { width: 8px; height: 8px; border-radius: 50%; background: #2E9E5B; box-shadow: 0 0 0 3px rgba(46,158,91,.25); animation: brzPulse 1.6s ease-in-out infinite; }
.brz-tick-src { font-weight: 600; letter-spacing: 1.5px; }
.brz-asof { color: #999; font-size: 12px; }
.brz-tick-win { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); outline: none; }
.brz-track { display: inline-flex; align-items: center; white-space: nowrap; animation: brzTick 60s linear infinite; will-change: transform; }
.brz-tick-win:hover .brz-track, .brz-tick-win:focus .brz-track { animation-play-state: paused; }
.brz-tk-set, .brz-tk-group, .brz-tk-item { display: inline-flex; align-items: center; white-space: nowrap; }
.brz-tk-group { padding-right: 6px; }
.brz-tick .brz-tk-name { font-weight: 600; letter-spacing: 1px; color: #000; background: var(--brz-tan); padding: 4px 7px; border-radius: 3px; margin: 0 2px 0 10px; }
.brz-tk-item { gap: 5px; padding: 0 8px; }
.brz-tk-lab { color: #CCC; }
.brz-tk-item b { font-weight: 600; color: #fff; }
.brz-tk-dot { color: #555; }
.brz-tk-chg { font-weight: 600; }
.brz-tk-chg.is-up { color: #2E9E5B; }
.brz-tk-chg.is-down { color: #E5484D; }
.brz-tk-chg.is-flat { color: #BBB; }
.brz-tick .brz-news { flex: 1 1 300px; max-width: 100%; min-width: 0; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; background: var(--brz-tan); color: #000; }
.brz-tick .brz-news:hover { background: #A88E72; color: #000; }
.brz-news-tag { flex: 0 0 auto; background: #C8102E; color: #fff; font-weight: 700; font-size: 11px; letter-spacing: 1px; padding: 5px 9px; border-radius: 4px; }
.brz-tick .brz-news:hover .brz-news-tag { background: #A50D26; }
.brz-news-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
@keyframes brzTick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes brzPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (max-width: 700px) { .brz-asof { display: none; } }
@media (prefers-reduced-motion: reduce) {
	.brz-track, .brz-pulse { animation: none !important; }
	.brz-tick-win { overflow-x: auto !important; }
}

/* ---------- Main bar (sticky) ---------- */
.brz-hdr-main { position: sticky; top: var(--brz-adminbar); z-index: 1000; background: #fff; border-bottom: 1px solid var(--brz-line); color: #000; }
.brz-hdr-row { max-width: 1680px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--brz-head-h); }
.brz-hdr-main .brz-logo { display: flex; align-items: center; flex: 0 0 auto; color: #000; font: 600 18px var(--brz-sans); }
.brz-logo img { height: 42px; width: auto; display: block; }
.brz-nav { display: flex; gap: 18px; flex-wrap: nowrap; align-items: center; font-size: 15px; font-weight: 500; }
.brz-hdr-main .brz-nav a, .brz-hdr-main .brz-nav-dd { color: #000; white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; }
.brz-hdr-main .brz-nav a:hover, .brz-hdr-main .brz-nav a[aria-current], .brz-hdr-main .brz-nav-dd:hover, .brz-hdr-main .brz-nav-dd[aria-expanded="true"] { border-bottom-color: var(--brz-tan); color: #000; }
.brz-hdr-main button { font: inherit; background: none; border: 0; margin: 0; cursor: pointer; color: #000; box-shadow: none; text-transform: none; letter-spacing: normal; line-height: inherit; min-height: 0; height: auto; }
.brz-hdr-main .brz-nav-dd { font-size: 15px; font-weight: 500; padding: 6px 0; display: flex; align-items: center; gap: 6px; }
.brz-nav-dd span { font-size: 11px; transition: transform .2s; }
.brz-nav-dd[aria-expanded="true"] span { transform: rotate(180deg); }
.brz-hdr-acts { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.brz-hdr-main .brz-hdr-tel, .brz-hdr-main .brz-hdr-in { font-size: 15px; font-weight: 500; color: #000; white-space: nowrap; }
.brz-hdr-main .brz-hdr-cta { background: #000; color: #fff; padding: 11px 18px; border-radius: 6px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.brz-hdr-main .brz-hdr-cta:hover { background: #333; color: #fff; }
.brz-hdr-mob { display: none; gap: 8px; align-items: center; }
.brz-hdr-main .brz-hdr-call { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--brz-line); display: flex; align-items: center; justify-content: center; color: #000; }
.brz-hdr-main .brz-menu-btn { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; background: #000; color: #fff; font-size: 15px; font-weight: 600; }
.brz-menu-btn .i-close { display: none; }
.brz-menu-btn[aria-expanded="true"] .i-open { display: none; }
.brz-menu-btn[aria-expanded="true"] .i-close { display: block; }

/* Neighborhoods mega menu (desktop) */
.brz-areas { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--brz-line); border-bottom: 1px solid var(--brz-line); box-shadow: 0 24px 40px rgba(0,0,0,.08); }
.brz-areas-in { max-width: 1680px; margin: 0 auto; padding: 24px 32px 28px; display: grid; grid-template-columns: 1fr 1fr 1fr 1.3fr; gap: 32px; }
.brz-areas-col { display: flex; flex-direction: column; gap: 10px; }
.brz-areas-col > span { font-size: 12px; font-weight: 600; letter-spacing: 2px; color: #000; }
.brz-hdr-main .brz-areas-col a { color: #000; font-size: 15px; }
.brz-hdr-main .brz-areas-col a:hover { text-decoration: underline; text-decoration-color: var(--brz-tan); text-underline-offset: 3px; }
.brz-hdr-main .brz-areas-card { background: var(--brz-tint); border-radius: 12px; padding: 20px; color: #000; display: flex; flex-direction: column; gap: 8px; grid-column: -2; }
.brz-areas-card .bar { width: 28px; height: 3px; background: var(--brz-tan); }
.brz-areas-card .t { font-family: var(--brz-serif); font-size: 26px; line-height: 1.1; }
.brz-areas-card .d { font-size: 14px; color: #333; }
.brz-areas-card .l { font-weight: 600; border-bottom: 2px solid var(--brz-tan); align-self: flex-start; }

/* Mobile menu */
.brz-mega { background: #fff; border-top: 1px solid var(--brz-line); max-height: calc(100vh - var(--brz-head-h) - var(--brz-adminbar)); overflow-y: auto; overscroll-behavior: contain; padding: 16px 16px 28px; display: flex; flex-direction: column; gap: 16px; }
.brz-mega[hidden], .brz-areas[hidden] { display: none; }
.brz-mega-groups { display: flex; flex-direction: column; }
.brz-mg { border-bottom: 1px solid var(--brz-line); }
.brz-hdr-main .brz-mg > button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 4px; min-height: 60px; font-family: var(--brz-serif); font-weight: 400; font-size: 26px; color: #000; text-align: left; }
.brz-mg > button span::after { content: "+"; font: 400 24px var(--brz-sans); }
.brz-mg > button[aria-expanded="true"] span::after { content: "−"; }
.brz-mg > div { display: flex; flex-direction: column; padding: 0 4px 14px; }
.brz-mg > div[hidden] { display: none; }
.brz-hdr-main .brz-mg a { font-size: 18px; font-weight: 500; color: #000; padding: 12px 0; border-top: 1px solid #ECEEF1; }
.brz-mega-cta { display: flex; flex-direction: column; gap: 10px; }
.brz-hdr-main .brz-mega-cta a { text-align: center; border: 1px solid #000; color: #000; font-size: 17px; font-weight: 600; padding: 15px; border-radius: 10px; }
.brz-hdr-main .brz-mega-cta a.is-dark { background: #000; color: #fff; }

/* ---------- Listing search ---------- */
.brz-hdr-search { background: var(--brz-tint); border-bottom: 1px solid var(--brz-line); }
.brz-hdr-search-in { max-width: 1680px; margin: 0 auto; padding: 10px 32px; }
.brz-sf { display: flex; align-items: flex-end; gap: 10px; margin: 0; flex-wrap: nowrap; }
.brz-sf label { display: flex; flex-direction: column; gap: 2px; font: 600 11px var(--brz-sans); color: #555; margin: 0; text-transform: none; letter-spacing: normal; }
.brz-sf .brz-sf-q { flex: 1 1 320px; min-width: 0; }
.brz-sf input, .brz-sf select { font: 400 14px var(--brz-sans); height: 40px; padding: 0 10px; border: 1px solid #CFD3D9; border-radius: 6px; background: #fff; color: #000; margin: 0; box-shadow: none; width: 100%; min-width: 0; }
.brz-sf select { padding-right: 26px; }
.brz-sf input[type=search], .brz-sf input[type=search]::placeholder { text-align: left !important; font-style: normal !important; }
.brz-sf input { -webkit-appearance: none; appearance: none; }
.brz-sf input:focus, .brz-sf select:focus { outline: 2px solid var(--brz-tan); outline-offset: 1px; border-color: #000; }
.brz-sf button { font: 600 14px var(--brz-sans); background: #000; color: #fff; border: 0; border-radius: 6px; padding: 0 20px; height: 40px; cursor: pointer; white-space: nowrap; text-transform: none; letter-spacing: normal; }
.brz-sf button:hover { background: #333; }
.brz-sf > a { font-size: 13px; font-weight: 600; color: #000; white-space: nowrap; align-self: center; }
.brz-sf > a:hover { text-decoration: underline; text-decoration-color: var(--brz-tan); }
.brz-sf--mobile { flex-wrap: wrap; }
.brz-sf--mobile label { flex: 1 1 calc(50% - 5px); }
.brz-sf--mobile .brz-sf-q { flex-basis: 100%; }
.brz-sf--mobile input, .brz-sf--mobile select { height: 48px; font-size: 16px; }
.brz-sf--mobile button { flex: 1 1 100%; height: 52px; font-size: 16px; border-radius: 10px; }
.brz-sf--mobile > a { display: none; }

@media (max-width: 1720px) {
	.brz-hdr-main .brz-hdr-in { display: none; }
}
@media (max-width: 1580px) {
	.brz-hdr-main .brz-hdr-tel { display: none; }
	.brz-hdr-row { padding: 0 24px; gap: 16px; }
}
@media (max-width: 1360px) {
	.brz-nav { gap: 14px; font-size: 14px; }
	.brz-hdr-main .brz-nav-dd { font-size: 14px; }
	.brz-logo img { height: 36px; }
	.brz-hdr-main .brz-hdr-cta { padding: 10px 14px; font-size: 14px; }
}
@media (max-width: 1239px) {
	.brz-nav, .brz-hdr-acts, .brz-hdr-search, .brz-areas { display: none !important; }
	.brz-hdr-mob { display: flex; }
	.brz-hdr-row { padding: 10px 16px; min-height: 64px; }
	.brz-logo img { height: 34px; }
}

/* ---------- Footer ---------- */
.brz-ftr { background: #000; color: #CCC; font-size: 14px; }
.brz-ftr-in { max-width: 1320px; margin: 0 auto; padding: 48px 32px 24px; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.brz-ftr-co, .brz-ftr-col { display: flex; flex-direction: column; gap: 8px; }
.brz-ftr-co img { height: 40px; width: auto; align-self: flex-start; margin-bottom: 6px; }
.brz-ftr-co .brz-ftr-seal { width: 72px; height: 72px; border-radius: 50%; background: #fff; }
.brz-ftr-co > span { color: #CCC; }
.brz-ftr .brz-ftr-co a { color: #fff; }
.brz-ftr-col > span { color: #fff; font-weight: 600; }
.brz-ftr .brz-ftr-col a { color: #CCC; }
.brz-ftr a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--brz-tan); text-underline-offset: 3px; }
.brz-ftr-legal { max-width: 1320px; margin: 0 auto; padding: 0 32px 32px; font-size: 12px; color: #999; }
@media (max-width: 1000px) { .brz-ftr-in { grid-template-columns: repeat(2, 1fr); } .brz-ftr-co { grid-column: 1 / -1; } }
@media (max-width: 520px) { .brz-ftr-in { grid-template-columns: 1fr; padding: 40px 20px 20px; } .brz-ftr-legal { padding: 0 20px 28px; } }

/* Area pages: sticky jump bars and the hub map sit under the new 64px bar. */
.brz-area .brz-jump { top: calc(var(--brz-adminbar) + var(--brz-head-h)) !important; }
body.brz-site .brz-area--hub .brz-hub-mapcol,
body.brz-site .brz-area--hub .brz-hub-split:not(.is-table) .brz-hubmap { top: calc(var(--brz-adminbar) + var(--brz-head-h) + 72px); }
body.brz-site .brz-story-stage { top: calc(var(--brz-adminbar) + var(--brz-head-h)); height: calc(100vh - var(--brz-adminbar) - var(--brz-head-h)); }

/* Search bar: every field the same 40px height, bottom-aligned, links centered on the fields. */
.brz-hdr-search .brz-sf { align-items: flex-end; }
.brz-hdr-search .brz-sf label { justify-content: flex-end; }
.brz-sf input[type=search], .brz-sf input[type=text], .brz-sf select { height: 40px !important; min-height: 40px !important; max-height: 40px; line-height: 38px !important; margin: 0 !important; padding: 0 10px !important; box-sizing: border-box !important; font-size: 14px !important; vertical-align: bottom; }
.brz-sf select { padding-right: 26px !important; }
.brz-sf > a { align-self: flex-end; line-height: 40px; height: 40px; }
.brz-sf--mobile input[type=search], .brz-sf--mobile select { height: 48px !important; min-height: 48px !important; max-height: 48px; line-height: 46px !important; font-size: 16px !important; }

/* ---------- IDX Plugin search widgets in the header and mobile menu ---------- */
.brz-idxw { position: relative; z-index: 5; min-width: 0; }
.brz-idxw:focus-within, .brz-idxw:has([class*="--open"]), .brz-idxw:has(.is-open) { z-index: 60; }
.brz-idxw:empty, .brz-idxw > div:empty { min-height: 40px; }
.brz-hdr-sbar { display: flex; align-items: center; gap: 24px; }
.brz-hdr-sbar .brz-idxw { flex: 0 1 760px; }
.brz-hdr-sbar > a { font: 600 13px var(--brz-sans); color: #000; white-space: nowrap; }
.brz-hdr-sbar > a:hover { text-decoration: underline; text-decoration-color: var(--brz-tan); }
.brz-mega .brz-idxw--mobile { margin-bottom: 16px; }
.brz-mega .brz-idxw--mobile > div:empty { min-height: 52px; }

/* ---------- IDX Broker wrapper pages (homes.brazoban.com) ---------- */
.brz-idx-wrap { max-width: 1440px; margin: 0 auto; padding: 24px 20px 72px; min-height: 50vh; }
@media (min-width: 768px) { .brz-idx-wrap { padding: 32px 32px 88px; } }
