/* Hub pages: Bail Bond Services + Areas We Serve. Markup: page-bail-bond-services.php, page-areas-we-serve.php. */
.acbb-hub {
  --hub-maroon: #640d0f;
  --hub-red: #971b20;
  --hub-blue: #066a94;
  --hub-tile: #eef7fc;
  --hub-grey: #f5f5f5;
  --hub-line: #d6d6d6;
  --hub-text: #212121;
  --hub-muted: #5a5a5a;
  color: var(--hub-text);
  font-family: "Nunito Sans", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 28px 0 56px;
}
.acbb-hub-page .site-inner { padding-top: 0; }
.acbb-hub-page .entry { margin-bottom: 0; padding: 0; background: none; box-shadow: none; }
.acbb-hub-page .entry-content .acbb-hub a { color: var(--hub-blue); text-decoration: none; }
.acbb-hub-page .entry-content .acbb-hub a strong { color: inherit; }
.acbb-hub-page .entry-content .acbb-hub-note a, .acbb-hub-page .entry-content .acbb-hub-note a strong { color: var(--hub-blue) !important; }
.acbb-hub-page .entry-content .acbb-areas-body { display: flex; flex-direction: column; gap: 40px; }
.acbb-hub-page .entry-content .acbb-hub a:hover { color: var(--hub-maroon); text-decoration: underline; }
.acbb-hub-page .entry-content .acbb-hub :where(h1, h2, h3, p, ul, dl, dt, dd) { margin: 0; padding: 0; }
.acbb-hub-page .entry-content .acbb-hub :where(p, li, dd) { line-height: 1.55; }
.acbb-hub-page .entry-content .acbb-hub :where(h1, h2, h3) { color: var(--hub-text); }
.acbb-hub-page .entry-content .acbb-hub ul { list-style: none; }
.acbb-hub-page .entry-content .acbb-hub ul li { margin: 0; padding: 0; }
.acbb-hub-page .entry-content .acbb-hub ul li::before { content: none !important; display: none !important; }

.acbb-hub-page .entry-content .acbb-hub-head { display: flex; flex-direction: column; gap: 12px; }
.acbb-hub-page .entry-content .acbb-hub-crumbs { font-size: 14px; color: var(--hub-muted); display: flex; gap: 8px; }
.acbb-hub-page .entry-content .acbb-hub-title { font-family: Poppins, sans-serif; font-weight: 600; font-size: 40px !important; line-height: 1.15; color: var(--hub-maroon); text-transform: none; letter-spacing: 0; }
.acbb-hub-page .entry-content .acbb-hub-intro { max-width: 820px; color: #424242; font-size: 17px; }
.acbb-hub-page .entry-content .acbb-hub .acbb-hub-phone { color: var(--hub-red); font-weight: 700; white-space: nowrap; }
.acbb-hub-page .entry-content .acbb-hub-section { display: flex; flex-direction: column; gap: 18px; }
.acbb-hub-page .entry-content .acbb-hub-h2 { padding-bottom: 10px !important; border-bottom: 1px solid var(--hub-line); font-family: Poppins, sans-serif; font-weight: 600; font-size: 24px; line-height: 1.3; color: var(--hub-text); text-transform: none; letter-spacing: 0; }
.acbb-hub-page .entry-content .acbb-hub-note { font-size: 15px; color: #424242; }
/* Link rows (shared) */
.acbb-hub-page .entry-content .acbb-hub-links { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 15px; }
.acbb-hub-page .entry-content .acbb-hub-links--strong a, .acbb-hub-page .entry-content .acbb-hub-links--bold a { font-weight: 600; }
.acbb-hub-page .entry-content .acbb-hub-links--bold a { font-weight: 700; }
.acbb-hub-page .entry-content .acbb-hub-links--stack { flex-direction: column; gap: 4px; font-size: 14px; }
.acbb-hub-page .entry-content .acbb-hub-links .is-extra { display: none; }
.acbb-hub-page .entry-content .acbb-hub-links.is-expanded .is-extra { display: list-item; }
.acbb-hub-page .entry-content .acbb-hub-links.is-expanded .acbb-hub-more { display: none; }
.acbb-hub-page .entry-content .acbb-hub-more__btn { background: none; border: 0; padding: 0; color: var(--hub-blue); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; }
/* Services: charge cards */
.acbb-hub-page .entry-content .acbb-charge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.acbb-hub-page .entry-content .acbb-charge-card { border: 1px solid var(--hub-line); border-radius: 6px; padding: 20px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.acbb-hub-page .entry-content .acbb-charge-card__top { display: flex; align-items: center; gap: 12px; }
.acbb-hub-page .entry-content .acbb-icon-tile { width: 44px; height: 44px; border-radius: 6px; background: var(--hub-tile); color: var(--hub-blue); display: flex; align-items: center; justify-content: center; flex: none; }
.acbb-hub-page .entry-content .acbb-charge-card__name { font-family: Poppins, sans-serif; font-weight: 600; font-size: 18px; line-height: 1.3; color: var(--hub-text); text-transform: none; }
.acbb-hub-page .entry-content .acbb-charge-card__blurb { font-size: 14px; color: var(--hub-muted); }
/* Services: jail tiles */
.acbb-hub-page .entry-content .acbb-jail-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.acbb-hub-page .entry-content .acbb-jail-tile { border: 1px solid var(--hub-line); border-radius: 6px; padding: 16px 12px; display: flex; flex-direction: column; gap: 10px; }
.acbb-hub-page .entry-content .acbb-jail-tile__top { display: flex; align-items: center; gap: 8px; }
.acbb-hub-page .entry-content .acbb-jail-tile__icon { color: var(--hub-blue); display: flex; flex: none; }
.acbb-hub-page .entry-content .acbb-jail-tile__name { display: flex; flex-direction: column; line-height: 1.25; font-size: 15px; }
.acbb-hub-page .entry-content .acbb-jail-tile__name span { font-size: 13px; color: var(--hub-muted); }
.acbb-hub-page .entry-content .acbb-hub .acbb-jail-tile__link { font-weight: 600; font-size: 14px; }
/* Services: start here */
.acbb-hub-page .entry-content .acbb-help-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.acbb-hub-page .entry-content .acbb-hub .acbb-help-card { border: 1px solid var(--hub-line); border-radius: 6px; padding: 16px; display: flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 700; font-size: 15px; }
.acbb-hub-page .entry-content .acbb-help-card__icon { color: var(--hub-blue); display: flex; flex: none; }
/* Areas: hero */
.acbb-hub-page .entry-content .acbb-areas-hero { position: relative; isolation: isolate; margin-top: -28px; padding: 28px 0 36px; }
.acbb-hub-page .entry-content .acbb-areas-hero::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); background: var(--hub-grey); border-bottom: 1px solid var(--hub-line); }
.acbb-hub-page .entry-content .acbb-areas-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 32px 56px; align-items: start; }
.acbb-hub-page .entry-content .acbb-areas-hero__text { display: flex; flex-direction: column; gap: 14px; }
.acbb-hub-page .entry-content .acbb-market-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 560px; padding-top: 4px; }
.acbb-hub-page .entry-content .acbb-market-pick { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px; background: var(--hub-grey); border: 1px solid var(--hub-line); border-radius: 4px; cursor: pointer; text-align: left; font: inherit; color: var(--hub-text); }
.acbb-hub-page .entry-content .acbb-market-pick:hover { border-color: #b0b0b0; background: #fff; }
.acbb-hub-page .entry-content .acbb-market-pick[aria-pressed="true"] { background: #fff; border-color: var(--hub-maroon); box-shadow: inset 0 0 0 1px var(--hub-maroon); }
.acbb-hub-page .entry-content .acbb-market-pick:focus-visible { outline: 2px solid var(--hub-blue); outline-offset: 2px; }
.acbb-hub-page .entry-content .acbb-market-pick__text { display: flex; flex-direction: column; line-height: 1.2; }
.acbb-hub-page .entry-content .acbb-market-pick__text strong { font-size: 16px; }
.acbb-hub-page .entry-content .acbb-market-pick__text span { font-size: 14px; color: var(--hub-muted); }
.acbb-hub-page .entry-content .acbb-num { width: 26px; height: 26px; border-radius: 50%; background: var(--hub-red); color: #fff; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.acbb-hub-page .entry-content .acbb-num--lg { width: 30px; height: 30px; font-size: 14px; }
.acbb-hub-page .entry-content .acbb-hub-call { font-size: 15px; color: #424242; }

.acbb-hub-page .entry-content .acbb-map-card { background: #fff; border: 1px solid var(--hub-line); border-radius: 6px; overflow: hidden; }
.acbb-hub-page .entry-content .acbb-map-card__map { padding: 16px 20px 8px; border-bottom: 1px solid var(--hub-line); }
.acbb-hub-page .entry-content .acbb-map { display: block; width: 100%; height: auto; }
.acbb-hub-page .entry-content .acbb-map__pin { cursor: pointer; }
.acbb-hub-page .entry-content .acbb-map__ring { opacity: 0; transition: opacity .15s; }
.acbb-hub-page .entry-content .acbb-map__pin.is-selected .acbb-map__ring { opacity: 1; }
.acbb-hub-page .entry-content .acbb-map path[data-market].is-selected { fill: #a9daf2; }
.acbb-hub-page .entry-content .acbb-map-panel { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 10px; }
.acbb-hub-page .entry-content .acbb-map-panel[hidden] { display: none; }
.acbb-hub-page .entry-content .acbb-map-panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.acbb-hub-page .entry-content .acbb-map-panel__title { font-family: Poppins, sans-serif; font-weight: 600; font-size: 20px; line-height: 1.2; text-transform: none; }
.acbb-hub-page .entry-content .acbb-map-panel__sub { font-size: 14px; color: var(--hub-muted); }
.acbb-hub-page .entry-content .acbb-hub .acbb-map-panel__jail { font-weight: 700; font-size: 15px; }
.acbb-hub-page .entry-content .acbb-hub .acbb-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: var(--hub-blue); color: #fff; font-weight: 700; font-size: 14px; border-radius: 3px; white-space: nowrap; text-decoration: none; flex: none; }
.acbb-hub-page .entry-content .acbb-hub .acbb-btn:hover { background: #05587b; color: #fff; text-decoration: none; }
/* Areas: market cards */
.acbb-hub-page .entry-content .acbb-market-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.acbb-hub-page .entry-content .acbb-market-card { border: 1px solid var(--hub-line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.acbb-hub-page .entry-content .acbb-market-card__head { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--hub-line); background: #fafafa; }
.acbb-hub-page .entry-content .acbb-market-card__titles { flex: 1; min-width: 0; }
.acbb-hub-page .entry-content .acbb-market-card__titles h3 { font-family: Poppins, sans-serif; font-weight: 600; font-size: 20px; line-height: 1.2; text-transform: none; color: var(--hub-text); }
.acbb-hub-page .entry-content .acbb-market-card__titles p { font-size: 14px; color: var(--hub-muted); }
.acbb-hub-page .entry-content .acbb-market-card__rows { padding: 6px 20px 4px; }
.acbb-hub-page .entry-content .acbb-market-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid #ececec; }
.acbb-hub-page .entry-content .acbb-market-row:last-child { border-bottom: 0; }
.acbb-hub-page .entry-content .acbb-market-row dt { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--hub-muted); padding-top: 3px; }
.acbb-hub-page .entry-content .acbb-market-card__office { margin-top: auto !important; padding: 10px 20px 14px; font-size: 14px; color: var(--hub-muted); border-top: 1px solid #ececec; }
/* Areas: towns + offices */
.acbb-hub-page .entry-content .acbb-town-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; font-size: 15px; }
.acbb-hub-page .entry-content .acbb-town-grid li { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid #e6e6e6; }
.acbb-hub-page .entry-content .acbb-town-grid li span { font-size: 14px; color: var(--hub-muted); }
.acbb-hub-page .entry-content .acbb-office-strip { display: flex; flex-wrap: wrap; gap: 16px 40px; padding: 20px 24px; background: var(--hub-grey); border-radius: 6px; font-size: 15px; }
.acbb-hub-page .entry-content .acbb-office-strip > div { flex: 1 1 260px; }
/* Tablet */
@media (max-width: 1199.98px) {
  .acbb-hub-page .entry-content .acbb-charge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acbb-hub-page .entry-content .acbb-jail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .acbb-hub-page .entry-content .acbb-help-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acbb-hub-page .entry-content .acbb-areas-hero__in { grid-template-columns: minmax(0, 1fr); }
  .acbb-hub-page .entry-content .acbb-map-card { max-width: 560px; }
  .acbb-hub-page .entry-content .acbb-town-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .acbb-hub-page .entry-content .acbb-market-grid { grid-template-columns: minmax(0, 1fr); }
}
/* Phone */
@media (max-width: 767.98px) {
  .acbb-hub-page .entry-content .acbb-hub { gap: 32px; padding-top: 20px; }
  .acbb-hub-page .entry-content .acbb-areas-hero { margin-top: -20px; padding-top: 20px; }
  .acbb-hub-page .entry-content .acbb-hub-title { font-size: 30px !important; }
  .acbb-hub-page .entry-content .acbb-hub-intro { font-size: 16px; }
  .acbb-hub-page .entry-content .acbb-charge-grid, .acbb-hub-page .entry-content .acbb-help-grid { grid-template-columns: minmax(0, 1fr); }
  .acbb-hub-page .entry-content .acbb-jail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acbb-hub-page .entry-content .acbb-market-picker { grid-template-columns: minmax(0, 1fr); }
  .acbb-hub-page .entry-content .acbb-market-card__head, .acbb-hub-page .entry-content .acbb-map-panel__head { flex-wrap: wrap; }
  .acbb-hub-page .entry-content .acbb-market-card__head .acbb-btn, .acbb-hub-page .entry-content .acbb-map-panel__head .acbb-btn { width: 100%; justify-content: center; }
  .acbb-hub-page .entry-content .acbb-market-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .acbb-hub-page .entry-content .acbb-town-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Visual QA A2: no TOC on hub pages, so the content column is centred; hide its leftovers just in case. */
body.acbb-hub-page #blogSidebar { display: none !important; }
body.acbb-hub-page main.content.toc-active { padding-left: 0 !important; }

/* Areas We Serve: the grey hero band starts right under the menu (no white strip above it). */
.acbb-hub-page .entry-content .acbb-hub--areas { padding-top: 0 !important; }
.acbb-hub-page .entry-content .acbb-hub--areas .acbb-areas-hero { margin-top: 0 !important; }
