/* Bond Street Mortgage — State Topic Card
   Scoped embed styles. Load after the live-site styles. */
.bsm-stc {
  --bsm-stc-green: #00634a;
  --bsm-stc-green-deep: #0a6951;
  --bsm-stc-mint: #f0f7f5;
  --bsm-stc-mint-strong: #dff3eb;
  --bsm-stc-ink: #143d33;
  --bsm-stc-muted: #5f786f;
  --bsm-stc-line: #d8e6e0;
  color: var(--bsm-stc-ink);
  font-family: 'Montserrat', Arial, sans-serif;
}
.bsm-stc *, .bsm-stc *::before, .bsm-stc *::after { box-sizing: border-box; }
.bsm-stc__card {
  border: 1px solid var(--bsm-stc-line);
  background: #fff;
  padding: clamp(24px, 3.2vw, 42px);
}
.bsm-stc__eyebrow {
  display: flex; align-items: center; gap: 9px;
  color: var(--bsm-stc-green);
  font-size: 11px; font-weight: 800; letter-spacing: .12em; line-height: 1.2; text-transform: uppercase;
}
.bsm-stc__eyebrow::before { content: ''; width: 25px; height: 2px; background: #20a280; }
.bsm-stc__title {
  margin: 10px 0 10px; color: var(--bsm-stc-ink);
  font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; letter-spacing: -.035em; line-height: 1.12;
}
.bsm-stc__description { max-width: 880px; margin: 0; color: var(--bsm-stc-muted); font-size: 15px; line-height: 1.65; }
.bsm-stc__filter { margin-top: 27px; padding: 18px 19px 15px; border: 1px solid #d5e7df; background: var(--bsm-stc-mint); }
.bsm-stc__filter-label { display: block; margin-bottom: 11px; color: #2a5e51; font-size: 11px; font-weight: 800; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase; }
.bsm-stc__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.bsm-stc__pill {
  appearance: none; margin: 0; cursor: pointer; border: 1px solid #c4ddd3; border-radius: 999px; background: #fff; color: var(--bsm-stc-green);
  padding: 9px 13px; font: inherit; font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap;
  transition: transform 160ms cubic-bezier(.23, 1, .32, 1), background 160ms cubic-bezier(.23, 1, .32, 1), border-color 160ms cubic-bezier(.23, 1, .32, 1), color 160ms cubic-bezier(.23, 1, .32, 1);
}
.bsm-stc__pill:hover { border-color: #53ae95; background: #e8f7f0; }
.bsm-stc__pill:active { transform: scale(.97); }
.bsm-stc__pill:focus-visible, .bsm-stc__news-link:focus-visible { outline: 3px solid rgba(0, 99, 74, .28); outline-offset: 3px; }
.bsm-stc__pill[aria-pressed='true'] { border-color: var(--bsm-stc-green); background: var(--bsm-stc-green); color: #fff; box-shadow: 0 3px 9px rgba(0, 89, 67, .18); }
.bsm-stc__content { display: grid; grid-template-columns: 1.08fr .92fr; gap: 22px; margin-top: 22px; }
.bsm-stc__news { min-height: 257px; padding: 28px; background: linear-gradient(135deg, #063e33 0%, var(--bsm-stc-green-deep) 100%); color: #fff; }
.bsm-stc__news-label { color: #a2e2cd; font-size: 10px; font-weight: 800; letter-spacing: .13em; line-height: 1.2; text-transform: uppercase; }
.bsm-stc__news-title { margin: 11px 0 10px; color: #fff; font-size: clamp(25px, 2.8vw, 32px); font-weight: 700; letter-spacing: -.027em; line-height: 1.15; }
.bsm-stc__news-copy { max-width: 430px; margin: 0; color: #d8eee6; font-size: 14px; line-height: 1.6; }
.bsm-stc__news-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 25px; padding-bottom: 4px; border-bottom: 1px solid #8edac1; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.bsm-stc__news-link::after { content: '→'; color: #a2e2cd; font-size: 17px; line-height: .7; }
.bsm-stc__topics { min-height: 257px; padding: 28px; border: 1px solid var(--bsm-stc-line); background: #fbfdfc; }
.bsm-stc__topics-title { margin: 0 0 10px; color: var(--bsm-stc-ink); font-size: 18px; font-weight: 700; letter-spacing: -.018em; line-height: 1.25; }
.bsm-stc__topics-copy { margin: 0; padding-bottom: 16px; border-bottom: 1px solid #dce8e2; color: #6d847c; font-size: 12px; line-height: 1.5; }
.bsm-stc__topic-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.bsm-stc__topic-link { display: block; padding: 8px 10px; border: 1px solid #c5ddd4; background: #fff; color: #315b50; font-size: 12px; font-weight: 700; line-height: 1.3; text-decoration: none; transition: border-color 160ms cubic-bezier(.23, 1, .32, 1), background 160ms cubic-bezier(.23, 1, .32, 1), color 160ms cubic-bezier(.23, 1, .32, 1); }
.bsm-stc__topic-link:hover { border-color: #53ae95; background: #e8f7f0; color: #075e4a; }
.bsm-stc__topic-link:focus-visible, .bsm-stc__county-link:focus-visible { outline: 3px solid rgba(0, 99, 74, .28); outline-offset: 3px; }
.bsm-stc__county { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 21px; padding-top: 17px; border-top: 1px solid #dce8e2; }
.bsm-stc__county[hidden] { display: none; }
.bsm-stc__county-label { color: #698178; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bsm-stc__county-link { color: var(--bsm-stc-green); font-size: 12px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.bsm-stc__county-link::after { content: ' →'; }
.bsm-stc__topics--no-counties { display: flex; flex-direction: column; justify-content: center; }
.bsm-stc__topics--no-counties .bsm-stc__topic-list { margin-bottom: 0; }
.bsm-stc__note { display: flex; gap: 9px; align-items: flex-start; margin: 19px 0 0; color: #658077; font-size: 11px; line-height: 1.55; }
.bsm-stc__note-icon { flex: 0 0 15px; margin-top: 1px; color: #13816a; }
.bsm-stc__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 760px) {
  .bsm-stc__card { padding: 28px 20px; }
  .bsm-stc__filter { margin-inline: -2px; padding: 17px 14px 14px; }
  .bsm-stc__pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; scrollbar-width: thin; }
  .bsm-stc__content { grid-template-columns: 1fr; gap: 16px; }
  .bsm-stc__news, .bsm-stc__topics { min-height: auto; padding: 24px; }
  .bsm-stc__county { align-items: flex-start; flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .bsm-stc__pill { transition: none; } }
