/* Public browse pages (/Auctions). Everything is scoped under .bap. */

.bap { background: #fff; color: #333; font-size: 14px; }
.bap a:not(.btn) { color: #2a6db0; text-decoration: none; }
.bap a:not(.btn):hover { color: #1d4f86; text-decoration: underline; }
.bap p { margin: 0; }
.bap h1, .bap h2 { font-family: inherit; }

.bap-container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.bap-band { background: #1f4e8c; }
.bap-band .bap-container { padding-top: 26px; padding-bottom: 28px; }
.bap-breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; font-size: 12px; color: #9fb5d6; }
.bap .bap-breadcrumb a, .bap .bap-breadcrumb a:hover { color: #cfdcf0; }
.bap-breadcrumb-current { color: #fff; }
.bap h1 { margin: 0 0 6px 0; font-size: clamp(24px, 3.6vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -0.6px; color: #fff; text-wrap: balance; }
.bap-intro { max-width: 720px; font-size: 15px; line-height: 1.5; color: #cfdcf0; }
.bap-hero { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; }
.bap-hero-text { min-width: 0; }
.bap-hero-figures { display: flex; flex-wrap: wrap; gap: 14px 32px; }
.bap-hero-figure { display: flex; flex-direction: column; gap: 2px; }
.bap-hero-figure strong { font-size: 22px; font-weight: 800; line-height: 1.15; color: #fff; }
.bap-hero-figure span { font-size: 12px; line-height: 1.3; color: #cfdcf0; }
.bap .bap-band a.bap-band-link, .bap .bap-band a.bap-band-link:hover { color: #fff; text-decoration: underline; }

.bap-sections { background: #fff; border-bottom: 1px solid #e3e8ee; }
.bap-sections .bap-container { display: flex; gap: 30px; overflow-x: auto; scrollbar-width: none; }
.bap .bap-sections a { flex: none; padding: 14px 0; font-size: 14px; font-weight: 600; color: #333; white-space: nowrap; }
.bap .bap-sections a:hover { color: #1f4e8c; text-decoration: none; }
.bap .bap-kind-filter { flex: none; margin: 0; padding: 14px 0 12px; background: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0; font: inherit; font-size: 14px; font-weight: 600; color: #333; white-space: nowrap; cursor: pointer; }
.bap .bap-kind-filter:hover { color: #1f4e8c; }
.bap .bap-kind-filter:focus { outline: none; }
.bap .bap-kind-filter[aria-pressed="true"], .bap .bap-kind-filter:focus-visible { color: #1f4e8c; border-bottom-color: #1f4e8c; }
/* Metro pages: the area tags in place of the bar (Content/area-chips.css), scrolling out to the page's edges on phones, tabs on
   the strip's bottom line on desktop. */
.bap-areas { padding: 16px 0; background: #fff; border-bottom: 1px solid #e3e8ee; }
.bap-areas .rg-chips { margin: 0 -20px; padding: 0 20px; }
@media (min-width: 900px) {
    .bap-areas { padding: 0; }
    .bap-areas .rg-chips { margin: 0; padding: 0; }
}

.bap-preview { position: fixed; left: 12px; bottom: 12px; z-index: 1000; display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #222; border-radius: 6px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); font-size: 13px; color: #fff; }
.bap-preview-label { color: #aaa; }
.bap .bap-preview a, .bap .bap-preview a:hover { color: #9cc7ff; }
@media (prefers-reduced-motion: no-preference) {
    html:has(.bap-sections) { scroll-behavior: smooth; }
}
.bap-place section[id] { scroll-margin-top: 16px; }

.bap-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; padding-top: 24px; padding-bottom: 48px; }
.bap-grid-full { grid-template-columns: minmax(0, 1fr); }
.bap-main { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.bap-rail { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.bap .bap-h2 { margin: 0 0 12px 0; font-size: 18px; font-weight: 800; color: #222; }
.bap-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.bap-section-head .bap-h2 { margin-bottom: 0; }
.bap a.bap-section-link { font-size: 13px; font-weight: 700; }

.bap-paging { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; font-size: 13px; }
.bap-paging a, .bap-paging span { padding: 4px 9px; border: 1px solid #e3e8ee; border-radius: 4px; }
.bap-paging .is-current { background: #1f4e8c; border-color: #1f4e8c; color: #fff; font-weight: 700; }

.bap-directory { border-top: 1px solid #e3e8ee; }
.bap-province { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 6px 20px; align-items: start; padding: 14px 0; border-bottom: 1px solid #e3e8ee; }
.bap-province-head { display: flex; flex-direction: column; gap: 2px; }
.bap a.bap-province-name { font-size: 15px; font-weight: 800; line-height: 1.3; color: #1f4e8c; }
.bap-province-count { font-size: 12px; color: #777; }
.bap-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; }
.bap a.bap-chip { display: inline-flex; align-items: center; padding: 3px 9px; font-weight: 400; background: #fafbfd; border: 1px solid #e3e8ee; border-radius: 99px; color: #2a6db0; transition: border-color 150ms ease, background 150ms ease; }
.bap a.bap-chip:hover { background: #eef3fb; border-color: #2a6db0; text-decoration: none; }
.bap a.bap-see-all { margin-left: 4px; font-size: 13px; font-weight: 400; color: #5b7290; white-space: nowrap; }

.bap-citybars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; }
.bap a.bap-citybar { display: block; padding: 12px 0 11px; border-bottom: 1px solid #e3e6ea; }
.bap a.bap-citybar:nth-child(-n+2) { border-top: 1px solid #e3e6ea; }
.bap a.bap-citybar:hover { text-decoration: none; }
.bap a.bap-citybar:hover .bap-citybar-name { text-decoration: underline; }
.bap-citybar-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.bap-citybar-name { min-width: 0; font-size: 15px; font-weight: 700; line-height: 1.3; color: #2a6db0; }
.bap-citybar-count { font-size: 15px; font-weight: 700; color: #222; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bap-citybar-alert { font-size: 13px; font-weight: 600; color: #e67e22; }
.bap-citybar-track { display: block; height: 4px; margin-top: 8px; background: #eceff3; border-radius: 2px; overflow: hidden; }
.bap-citybar-fill { display: block; height: 100%; background: #1f4e8c; border-radius: 2px; }

.bap-office-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; border-top: 1px solid #e3e8ee; }
.bap-grid-full .bap-office-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bap a.bap-office { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 8px 4px; border-bottom: 1px solid #e3e8ee; font-size: 14px; color: #2a6db0; }
.bap a.bap-office:hover { background: #f5f8fc; text-decoration: none; }
.bap-office-name { min-width: 0; font-weight: 600; }
.bap-office-count { flex: none; min-width: 28px; padding: 1px 9px; background: #eef3fb; border-radius: 99px; font-size: 12px; font-weight: 600; text-align: center; color: #1f4e8c; white-space: nowrap; }
.bap-office-none { background: #fff4e8; color: #c9640f; font-weight: 500; }
.bap-office-more { display: contents; }
.bap-office-more[hidden] { display: none; }

.bap-guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bap-grid-full .bap-guides { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bap a.bap-guide { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: #fff; border: 1px solid #dfe5ec; border-radius: 6px; color: #333; transition: border-color 150ms ease, box-shadow 150ms ease; }
.bap a.bap-guide:hover { border-color: #2a6db0; box-shadow: 0 6px 18px rgba(31, 78, 140, 0.1); color: #333; text-decoration: none; }
.bap-guide-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: #e0861a; }
.bap-guide-title { font-size: 15px; font-weight: 700; line-height: 1.35; color: #1f4e8c; }
.bap-guide-blurb { font-size: 13px; line-height: 1.5; color: #666; }
.bap-guide-time { margin-top: 4px; font-size: 12px; color: #888; }

.bap-seo { padding-top: 22px; border-top: 1px solid #e3e8ee; }
.bap-seo .bap-h2 { margin-bottom: 8px; }
.bap-seo p { font-size: 14px; line-height: 1.65; color: #555; text-wrap: pretty; }
.bap-seo p + p { margin-top: 10px; }

.bap-section-note { font-size: 13px; color: #777; }
.bap a.bap-btn-orange { flex: none; padding: 10px 18px; background: #e8961f; border-radius: 4px; font-size: 14px; font-weight: 700; color: #fff; white-space: nowrap; }
.bap a.bap-btn-orange:hover, .bap a.bap-btn-orange:focus { background: #d4840f; color: #fff; text-decoration: none; }

.bap-rows { border-top: 1px solid #e3e6ea; }
.bap-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 4px; border-bottom: 1px solid #e3e6ea; }
.bap-row:hover { background: #f5f8fc; }
.bap-row[hidden] { display: none; }
.bap a.bap-row-link { min-width: 0; font-size: 14px; line-height: 1.4; color: #555; }
.bap a.bap-row-link:hover { color: #555; text-decoration: none; }
.bap a.bap-row-link:hover .bap-row-title { text-decoration: underline; }
.bap-row-title { font-weight: 700; color: #2a6db0; }
.bap-row-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.bap-row-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 6px; margin-left: auto; }
.bap-badge { display: inline-block; padding: 1px 7px; background: #f3f7fc; border: 1px solid #cddbec; border-radius: 3px; font-size: 12px; font-weight: 400; line-height: 1.5; color: #1f4e8c; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bap-row-past .bap-badge { background: #f8f9fb; border-color: #e3e7ec; color: #7a8494; }
.bap-row-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 3px; font-size: 13px; color: #555; }
.bap-row-upcoming { gap: 16px; padding: 13px 4px; }
.bap-row-upcoming .bap-row-title { display: block; font-size: 16px; line-height: 1.35; }
.bap-row-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 4px; }
.bap-row-upcoming .bap-row-desc { min-width: 0; margin-top: 0; font-size: 14px; color: #666; }
.bap-row-chip { padding: 2px 8px; background: #e9f1fb; border-radius: 4px; font-size: 12px; line-height: 1.5; color: #2a5f9e; white-space: nowrap; }
.bap-row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.bap-row-facts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.bap-fact { display: inline-flex; align-items: baseline; gap: 5px; padding: 3px 10px; background: #fff; border: 1px solid #d6dde6; border-radius: 4px; font-size: 13px; line-height: 1.4; color: #555; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bap-fact-value { font-weight: 700; color: #222; }
.bap-row-when { font-size: 13px; font-weight: 700; color: #9a5b14; white-space: nowrap; }
.bap .bap-row-past a.bap-row-link { color: #666; }
.bap-row-past .bap-row-title { color: #4a5d78; }
.bap-row-ended { padding: 2px 7px; background: #eef1f5; border-radius: 3px; font-size: 11px; font-weight: 700; color: #8a94a3; white-space: nowrap; }
.bap .bap-show-more { display: block; width: 100%; margin-top: 14px; padding: 10px 20px; background: #fff; border: 1px solid #2a6db0; border-radius: 4px; font-size: 14px; font-weight: 700; color: #2a6db0; cursor: pointer; }
.bap .bap-show-more:hover, .bap .bap-show-more:focus { background: #eef3fb; }
.bap .bap-show-more[hidden] { display: none; }
.bap .bap-past-note { margin-top: 12px; font-size: 13px; line-height: 1.5; color: #666; }
.bap .bap-past-note a { font-weight: 700; }

.bap-locked { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; padding: 14px 16px; background: #fff7ec; border: 1px solid #f3d6ae; border-radius: 6px; }
.bap-locked[hidden] { display: none; }
.bap-locked p { flex: 1 1 260px; min-width: 0; font-size: 14px; line-height: 1.5; color: #6b4a1f; }

.bap-quiet { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding: 20px 22px; background: #f3f7fd; border: 1px solid #d6e2f3; border-radius: 8px; }
.bap-quiet-text { flex: 1 1 300px; min-width: 0; }
.bap .bap-quiet-title { margin-bottom: 4px; font-size: 17px; font-weight: 800; color: #1f4e8c; }
.bap-quiet-text p:not(.bap-quiet-title) { font-size: 14px; line-height: 1.55; color: #444; }
.bap .bap-quiet .bap-btn-orange { padding: 11px 20px; }

/* City, sheriff office and suburb pages: larger section headings, and under the upcoming auctions the reserve prices and then
   the alert prompt with the testimonial (logged-out visitors), all order 1 so the HTML order holds on mobile too. */
.bap-place .bap-h2 { font-size: 22px; line-height: 1.2; letter-spacing: -0.3px; color: #1f4e8c; text-wrap: balance; }
.bap-place .bap-section-head { align-items: flex-end; }

.bap-alert { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; padding: 16px 16px 16px 18px; background: #f2f6fc; border-radius: 6px; }
.bap-alert-text { flex: 1 1 260px; min-width: 0; }
.bap .bap-alert-title { margin-bottom: 2px; font-size: 15px; font-weight: 800; color: #222; }
.bap-alert-text p:not(.bap-alert-title) { font-size: 13px; line-height: 1.45; color: #555; }
.bap a.bap-btn-blue { flex: none; padding: 10px 18px; background: #2b4f8a; border-radius: 4px; font-size: 14px; font-weight: 700; color: #fff; white-space: nowrap; }
.bap a.bap-btn-blue:hover, .bap a.bap-btn-blue:focus { background: #1f3f72; color: #fff; text-decoration: none; }
.bap-quote .sr-testimonial { padding: 2px 0 2px 16px; background: none; border: 0; border-left: 3px solid #d6dde6; border-radius: 0; color: #444; }

.bap .bap-stats > p { font-size: 14px; line-height: 1.6; color: #333; text-wrap: pretty; }
.bap-range-card { margin-top: 16px; padding: 20px; background: #fff; border: 1px solid #dfe5ec; border-radius: 8px; }
.bap-range-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.bap-range-head > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bap-range-label, .bap-range-caption { font-size: 12px; line-height: 1.4; color: #555; }
.bap-range-caption { padding-bottom: 6px; text-align: right; }
.bap .bap-range-value { font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: -0.5px; color: #1f4e8c; }
.bap-range { position: relative; margin: 20px 0 10px 0; padding: 22px 0 22px 0; }
.bap-range-track { position: relative; height: 10px; background: #eef1f5; border-radius: 5px; }
.bap-range-band { position: absolute; top: 0; bottom: 0; background: #cfdcf0; transition: left 200ms ease, width 200ms ease; }
.bap-range-marker { position: absolute; top: -5px; width: 2px; height: 20px; margin-left: -1px; background: #1f3a66; transition: left 200ms ease; }
.bap-range-marker-label, .bap-range-end { position: absolute; transform: translateX(-50%); white-space: nowrap; font-size: 11px; line-height: 1.3; transition: left 200ms ease; }
.bap-range-marker-label { top: 0; font-weight: 700; color: #222; }
.bap-range-end { bottom: 0; color: #555; }
.bap .bap-range-note { font-size: 12px; line-height: 1.5; color: #555; }
.bap .bap-range-group { margin: 20px 0 10px 0; font-size: 14px; font-weight: 800; line-height: 1.3; color: #222; }
.bap-range-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.bap .bap-range-tile { display: flex; flex-direction: column; gap: 4px; width: 100%; height: 100%; padding: 10px 12px; background: #fff; border: 1px solid #dfe5ec; border-radius: 6px; font: inherit; text-align: left; color: #333; cursor: pointer; transition: border-color 150ms ease, background 150ms ease; }
.bap .bap-range-tile:hover { border-color: #2a6db0; }
.bap .bap-range-tile:focus-visible { outline: 2px solid #2a6db0; outline-offset: 2px; }
.bap .is-chosen .bap-range-tile { background: #eaf1fb; border-color: #2a6db0; }
.bap-range-tile-label { font-size: 12px; line-height: 1.35; color: #555; }
.bap-range-tile-value { font-size: 16px; font-weight: 800; line-height: 1.2; color: #222; font-variant-numeric: tabular-nums; }
.bap .bap-stats p.bap-past-note { margin-top: 12px; font-size: 12px; line-height: 1.5; color: #666; }

.bap-links { display: flex; flex-direction: column; gap: 20px; }
.bap .bap-h3 { margin: 0 0 10px 0; font-size: 16px; font-weight: 800; color: #222; }
.bap-link-list { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; }

.bap-article-meta { margin-top: 10px; font-size: 12px; color: #9fb5d6; }
.bap-article-tag { margin-right: 6px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: #f2b45a; }

.bap .bap-article { max-width: 720px; font-size: 16px; line-height: 1.7; color: #333; }
.bap .bap-article p { margin: 0 0 16px 0; font-size: 16px; line-height: 1.7; text-align: left; text-wrap: pretty; }
.bap .bap-article h2 { margin: 28px 0 10px 0; font-size: 18px; line-height: 1.3; font-weight: 800; letter-spacing: -0.2px; color: #222; }
.bap .bap-article h3 { margin: 20px 0 8px 0; font-size: 17px; line-height: 1.4; font-weight: 700; color: #222; }
.bap .bap-article > :first-child { margin-top: 0; }
.bap .bap-article ul, .bap .bap-article ol { margin: 0 0 16px 0; padding-left: 22px; }
.bap .bap-article li { margin-bottom: 6px; }
.bap .bap-article li:last-child { margin-bottom: 0; }
.bap .bap-article strong, .bap .bap-article b { font-weight: 700; }
.bap .bap-article img { max-width: 100%; height: auto; }
.bap .bap-article .blue-pane { margin: 0 0 18px 0; padding: 16px 20px; background: #f3f7fd; border-left: 3px solid #2a6db0; border-radius: 0 6px 6px 0; }
.bap .bap-article .blue-pane > :last-child { margin-bottom: 0; }
.bap .bap-article ul.blue-pane, .bap .bap-article ol.blue-pane { padding-left: 40px; }
.bap .bap-article .bap-callout-label { margin: 24px 0 8px 0; font-size: 12px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: #e0861a; }

.bap .bap-article .bap-article-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin: 24px 0; padding: 20px 22px; background: #f3f7fd; border: 1px solid #d6e2f3; border-radius: 8px; }
.bap-article-cta-text { flex: 1 1 300px; min-width: 0; }
.bap .bap-article .bap-article-cta-title { margin: 0 0 6px 0; font-size: 17px; line-height: 1.4; font-weight: 800; color: #1f4e8c; }
.bap .bap-article .bap-article-cta ul { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.55; color: #444; }
.bap .bap-article .bap-article-cta li { margin-bottom: 2px; }
.bap .bap-article .bap-article-cta .bap-btn-orange { padding: 11px 20px; }

.bap .bap-article .guide-wrapper h2 { margin: 32px 0 10px 0; padding: 0; font-size: 18px; font-weight: 800; color: #222; text-transform: none; text-align: left; border: 0; }
.bap .bap-article .guide-wrapper h2 span { font-weight: inherit; }
.bap .bap-article .guide-wrapper h3 { font-size: 17px; }
.bap .bap-article .guide-wrapper .text-center { text-align: left !important; }
.bap .bap-article .guide-image { display: block; width: 100%; max-width: 160px; margin: 28px auto 4px auto; border-radius: 8px; }
.bap .bap-article .box-style-1 { padding: 0; background: none; border: 0; box-shadow: none; }
.bap .bap-article .guide-wrapper .col-12.blue-pane { flex: 0 0 calc(100% - 30px); max-width: calc(100% - 30px); margin-left: 15px; margin-right: 15px; }
.bap .bap-article .guide-wrapper .blue-pane .col-md-2 { display: none; }
.bap .bap-article .guide-wrapper .blue-pane .col-md-10 { flex: 0 0 100%; max-width: 100%; }
.bap .bap-article .guide-wrapper .testi-pane .w-25 { width: 64px !important; }
.bap .bap-article .guide-wrapper table { width: 100%; font-size: 13px; }
.bap .bap-article .guide-wrapper .quote { font-style: italic; }
.bap-guide-mobile-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 99; padding: 10px 16px; background: #fff; border-top: 1px solid #e3e8ee; box-shadow: 0 -4px 14px rgba(31, 78, 140, 0.08); transition: transform 200ms ease; }
.bap-guide-mobile-cta.bap-guide-mobile-cta-away { transform: translateY(110%); }
.bap .bap-guide-mobile-cta .bap-btn-orange { display: block; width: 100%; text-align: center; }

.bap .bap-article-browse { font-size: 14px; color: #555; }
.bap .bap-article-browse a { font-weight: 700; }

.bap-guides-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.bap-browse-card { padding: 20px; background: #f3f7fd; border: 1px solid #d6e2f3; border-radius: 8px; }
.bap-browse-card p { font-size: 14px; line-height: 1.55; color: #444; }
.bap .bap-browse-card .bap-browse-card-title { margin-bottom: 6px; font-size: 17px; font-weight: 800; color: #1f4e8c; }
.bap .bap-browse-card .bap-btn-orange { display: block; margin-top: 14px; text-align: center; }

.bap-kb-tips { display: flex; flex-direction: column; gap: 10px; }
.bap-kb-tip { background: #fff; border: 1px solid #dfe5ec; border-radius: 6px; }
.bap-kb-tip-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; font-size: 15px; font-weight: 700; line-height: 1.4; color: #1f4e8c; cursor: pointer; user-select: none; }
.bap-kb-tip-head:hover { color: #1d4f86; }
.bap-kb-tip-head::after { content: "+"; flex: none; font-size: 20px; font-weight: 400; line-height: 1; color: #2a6db0; }
.bap-kb-tip-head.js-hide-hint::after { content: "\2212"; }
.bap-kb-tip-body { padding: 0 16px 16px 16px; font-size: 14px; line-height: 1.65; color: #444; }
.bap .bap-kb-tip-body p, .bap .bap-kb-tip-body li { font-size: 14px; line-height: 1.65; }
.bap-kb-tip-body p { margin-bottom: 10px; }
.bap-kb-tip-body p:last-child { margin-bottom: 0; }
.bap-kb-tip-body ul, .bap-kb-tip-body ol { margin: 0 0 10px 0; padding-left: 20px; }
.bap-kb-tip-body li { margin-bottom: 6px; }
.bap-kb-tip-body li ul { margin: 6px 0 0 0; }
.bap-kb-tip-body strong { font-weight: 700; color: #333; }

.bap-kb-categories { display: flex; flex-direction: column; gap: 28px; }

.bap-results { padding: 22px; background: #f5f7fa; border: 1px solid #e3e8ee; border-radius: 8px; }
.bap .bap-results-title { margin: 0 0 4px 0; font-size: 18px; font-weight: 800; color: #222; }
.bap .bap-results-intro { margin-bottom: 16px; font-size: 14px; color: #666; }
.bap-results-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bap-result { padding: 16px; background: #fff; border: 1px solid #e3e8ee; border-radius: 6px; }
.bap .bap-result-amount { margin-bottom: 4px; font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -0.3px; color: #1f4e8c; }
.bap .bap-result-title { margin-bottom: 8px; font-size: 14px; font-weight: 700; color: #222; }
.bap .bap-result-text { font-size: 13px; line-height: 1.55; color: #555; }
.bap .bap-results-more { margin-top: 14px; font-size: 13px; color: #555; }
.bap .bap-results-more a { font-weight: 700; }

.bap-calc-embed { margin: 28px 0; }
.bap-calc-embed .calculator { border-radius: 8px; }
.bap-calc-embed .results { margin-left: 0; margin-right: 0; border-radius: 6px; }

.bap-kb-faq { border-top: 1px solid #e3e8ee; }
.bap-kb-faq-item { padding: 14px 0; border-bottom: 1px solid #e3e8ee; }
.bap .bap-kb-faq-q { margin: 0 0 6px 0; font-size: 15px; font-weight: 700; line-height: 1.4; color: #222; }
.bap .bap-kb-faq-item p { font-size: 14px; line-height: 1.65; color: #555; }

.bap-faq-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.bap-faq-chip { padding: 7px 14px; background: #fff; border: 1px solid #ccd3db; border-radius: 99px; font-family: inherit; font-size: 13px; font-weight: 700; color: #2a6db0; cursor: pointer; transition: border-color 150ms ease, background 150ms ease; }
.bap-faq-chip:hover { border-color: #2a6db0; }
.bap-faq-chip.is-active { background: #1f4e8c; border-color: #1f4e8c; color: #fff; }

.bap-faq-groups { display: flex; flex-direction: column; gap: 36px; }
.bap-faq-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 4px; padding-bottom: 8px; border-bottom: 2px solid #1f4e8c; }
.bap .bap-faq-head .bap-h2 { margin: 0; }
.bap-faq-tag { font-size: 13px; color: #777; }

.bap-faq-item { border-bottom: 1px solid #e3e8ee; }
.bap-faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-size: 16px; font-weight: 700; line-height: 1.4; color: #222; cursor: pointer; list-style: none; }
.bap-faq-q::-webkit-details-marker { display: none; }
.bap-faq-q:hover { color: #1f4e8c; }
.bap-faq-q::after { content: "+"; flex: none; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 1px solid #ccd3db; border-radius: 50%; font-size: 16px; font-weight: 400; line-height: 1; color: #2a6db0; }
.bap-faq-item[open] > .bap-faq-q::after { content: "\2212"; }
.bap-faq-a { max-width: 720px; padding-bottom: 18px; }
.bap .bap-faq-a p, .bap .bap-faq-a li { font-size: 15px; line-height: 1.7; color: #444; text-wrap: pretty; }
.bap .bap-faq-a p { margin: 0 0 10px 0; }
.bap-faq-a ul { margin: 0 0 10px 0; padding-left: 20px; }
.bap-faq-a li { margin-bottom: 5px; }
.bap .bap-faq-a .bap-faq-tip { margin: 4px 0 10px 0; padding: 12px 14px; background: #fff7ec; border: 1px solid #f3d6ae; border-radius: 6px; font-size: 14px; line-height: 1.55; color: #6b4a1f; }
.bap-faq-tip strong { color: #b8621b; }
.bap a.bap-faq-link { font-size: 14px; font-weight: 700; }

.bap-faq-contact { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 40px; padding: 22px 24px; background: #f4f6f9; border: 1px solid #e3e8ee; border-radius: 8px; }
.bap .bap-faq-contact-title { margin-bottom: 3px; font-size: 17px; font-weight: 800; color: #222; }
.bap-faq-contact p:not(.bap-faq-contact-title) { font-size: 14px; color: #666; }
.bap a.bap-btn-outline { flex: none; padding: 11px 20px; background: #fff; border: 1px solid #2a6db0; border-radius: 4px; font-size: 14px; font-weight: 700; color: #2a6db0; white-space: nowrap; }
.bap a.bap-btn-outline:hover { background: #eef3fb; text-decoration: none; }

.bap-further { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; background: #fff; border: 1px solid #dfe5ec; border-radius: 8px; font-size: 14px; font-weight: 600; }
.bap .bap-further-label { font-size: 12px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: #3a76a8; }
.bap a.bap-further-all { color: #777; }

.bap-order-1 { order: 1; }
.bap-order-3 { order: 3; }
.bap-order-4 { order: 4; }
.bap-order-5 { order: 5; }

@media (max-width: 879px) {
    .bap-grid { display: flex; flex-direction: column; align-items: stretch; }
    .bap-main { display: contents; }
    .bap-rail { position: static; order: 2; }
    /*after the past auctions, which share order 3 and come first in the HTML*/
    .bap-rail.bap-rail-late { order: 3; }
    .bap-grid-full .bap-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bap-office-list, .bap-grid-full .bap-office-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    body:has(.bap-guide-mobile-cta) { padding-bottom: 66px; }
    .bap .bap-article .hidden-xs, .bap .bap-article .related-sales-pointer, .bap .bap-article .chart-pointer { display: none !important; }
    .bap .bap-article .guide-wrapper table { font-size: 12px; }
    .bap .bap-article .guide-wrapper table th, .bap .bap-article .guide-wrapper table td { padding: 6px 4px; }
    .bap .bap-article .guide-wrapper .mb-5 { margin-bottom: 24px !important; }
}

@media (max-width: 699px) {
    .bap .bap-guides-3, .bap-results-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 559px) {
    .bap .bap-guides { grid-template-columns: minmax(0, 1fr); }
    .bap-citybars { grid-template-columns: minmax(0, 1fr); }
    .bap a.bap-citybar:nth-child(2) { border-top: 0; }
    .bap-office-list, .bap-grid-full .bap-office-list { grid-template-columns: minmax(0, 1fr); }
    .bap-province { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .bap-province-head { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 8px; }
    .bap-row { grid-template-columns: minmax(0, 1fr); row-gap: 4px; }
    .bap-row-side, .bap-row-ended { grid-column: 1; grid-row: 2; justify-self: start; }
    .bap-row-side { flex-direction: row; flex-wrap: wrap; align-items: center; }
    /*the link and its sub-line lend their pieces to the row's grid, so the sales badge can sit under the reserve*/
    .bap .bap-row-upcoming a.bap-row-link, .bap-row-upcoming .bap-row-sub { display: contents; }
    .bap-row-upcoming { row-gap: 6px; }
    .bap-row-upcoming .bap-row-side { grid-row: auto; }
    .bap-row-upcoming .bap-row-chip { order: 1; justify-self: start; }
    .bap-row-facts { justify-content: flex-start; }
    .bap-fact { white-space: normal; }
    .bap-row-badges { flex-basis: 100%; justify-content: flex-start; margin-left: 0; }
    .bap-badge { white-space: normal; }
}
