.vfb {
  --vfb-navy: #122544;
  --vfb-ink: #0e1b3e;
  --vfb-blue: #154b9b;
  --vfb-blue-light: #2d71d5;
  --vfb-accent: #a2c2e6;
  --vfb-red: #c8102e;
  --vfb-muted: #5b6c82;
  --vfb-line: #e2e8f2;
  --vfb-bg-alt: #f4f7fb;
  --vfb-radius: 10px;
  --vfb-shadow: 0 2px 6px rgba(18, 37, 68, .06);
  --vfb-ease: cubic-bezier(.22, .68, .36, 1);

  color: var(--vfb-ink);
  background-color: #fff;
}

.vfb *,
.vfb *::before,
.vfb *::after { box-sizing: border-box; }

.vfb-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .vfb-container { padding: 0 2rem; }
}

.vfb-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--vfb-navy);
}

.vfb-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vfb-hero__overlay {
  position: relative;
  padding: 3.5rem 0 3rem;
  background: linear-gradient(100deg, rgba(18, 37, 68, .93) 0%, rgba(18, 37, 68, .8) 45%, rgba(18, 37, 68, .5) 100%);
}

@media (min-width: 768px) {
  .vfb-hero__overlay { padding: 5.5rem 0 4.5rem; }
}

.vfb-hero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
  font-size: .8125rem;
  color: rgba(255, 255, 255, .7);
}

.vfb-hero__breadcrumb a {
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
  transition: color .2s var(--vfb-ease);
}

.vfb-hero__breadcrumb a:hover { color: #fff; }

.vfb-hero__title {
  max-width: 22ch;
  margin: 0;
  color: #fff;
  font-size: clamp(1.75rem, 1.15rem + 2.6vw, 3.25rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.01em;
  font-family:'Montserrat',sans-serif;
}

.vfb-hero__lead {
  max-width: 52ch;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
}

.vfb-hero__rule {
  width: 72px;
  height: 3px;
  margin-top: 1.5rem;
  background-color: var(--vfb-accent);
}

.vfb-section { padding: 2.5rem 0 4rem; }

@media (min-width: 768px) {
  .vfb-section { padding: 3.5rem 0 5rem; }
}

.vfb-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: .75rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--vfb-line);
}

.vfb-field {
  display: flex;
  flex-direction: column;
  flex: 1 1 200px;
  min-width: 0;
}

.vfb-field--search { flex: 2 1 280px; }

.vfb-field label {
  margin-bottom: .35rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--vfb-muted);
}

.vfb-input,
.vfb-select {
  width: 100%;
  height: 46px;
  padding: 0 .875rem;
  font-family: inherit;
  font-size: .9375rem;
  color: var(--vfb-ink);
  background-color: #fff;
  border: 1px solid var(--vfb-line);
  border-radius: 8px;
  outline: none;
  transition: border-color .2s var(--vfb-ease), box-shadow .2s var(--vfb-ease);
}

.vfb-select {
  appearance: none;
  padding-right: 2.25rem;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235b6c82' stroke-width='1.8'%3E%3Cpath d='M4 6.5 8 10.5 12 6.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .875rem center;
}

.vfb-input:focus,
.vfb-select:focus {
  border-color: var(--vfb-blue-light);
  box-shadow: 0 0 0 3px rgba(45, 113, 213, .15);
}

.vfb-reset {
  height: 46px;
  padding: 0 1.125rem;
  font-family: inherit;
  font-size: .875rem;
  font-weight: 500;
  color: var(--vfb-navy);
  background-color: #fff;
  border: 1px solid var(--vfb-line);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color .2s var(--vfb-ease), border-color .2s var(--vfb-ease), color .2s var(--vfb-ease);
}

.vfb-reset:hover {
  color: #fff;
  background-color: var(--vfb-navy);
  border-color: var(--vfb-navy);
}

.vfb-count {
  flex: 0 0 auto;
  margin-left: auto;
  padding-bottom: .75rem;
  font-size: .875rem;
  color: var(--vfb-muted);
}

.vfb-count strong {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--vfb-navy);
}

.vfb-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .vfb-layout {
    grid-template-columns: minmax(320px, 400px) 1fr;
    gap: 1.5rem;
    align-items: start;
  }
}

.vfb-mapwrap { order: -1; }

@media (min-width: 1024px) {
  .vfb-mapwrap {
    order: 0;
    position: sticky;
    top: 100px;
  }
}

.vfb-map {
  width: 100%;
  height: 360px;
  background-color: var(--vfb-bg-alt);
  border: 1px solid var(--vfb-line);
  border-radius: var(--vfb-radius);
  overflow: hidden;
  z-index: 0;
}

@media (min-width: 640px)  { .vfb-map { height: 460px; } }
@media (min-width: 1024px) { .vfb-map { height: 620px; } }

.vfb-maphint {
  margin: .5rem 0 0;
  font-size: .75rem;
  line-height: 1.5;
  color: var(--vfb-muted);
}

.vfb-list {
  max-height: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 1024px) {
  .vfb-list {
    max-height: 620px;
    overflow-y: auto;
    padding-right: .5rem;
    scrollbar-width: thin;
  }
}

.vfb-item { margin-bottom: .625rem; }

.vfb-item[hidden] { display: none; }

.vfb-item__btn {
  display: block;
  width: 100%;
  padding: .875rem 1rem;
  font-family: inherit;
  font-size: inherit;
  text-align: left;
  background-color: #fff;
  border: 1px solid var(--vfb-line);
  border-left: 3px solid transparent;
  border-radius: 8px;
  box-shadow: var(--vfb-shadow);
  cursor: pointer;
  transition: transform .3s var(--vfb-ease), border-color .3s var(--vfb-ease),
              box-shadow .3s var(--vfb-ease), background-color .3s var(--vfb-ease);
}

.vfb-item__btn:hover,
.vfb-item__btn:focus-visible {
  transform: translateX(3px);
  border-color: #d3ddec;
  border-left-color: var(--vfb-blue-light);
  box-shadow: 0 10px 24px rgba(18, 37, 68, .12);
  outline: none;
}

.vfb-item.is-active .vfb-item__btn {
  background-color: var(--vfb-bg-alt);
  border-color: #cddcf0;
  border-left-color: var(--vfb-red);
}

.vfb-item__name {
  margin: 0;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--vfb-navy);
}

.vfb-item__addr {
  margin: .3rem 0 0;
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--vfb-muted);
}

.vfb-item__county {
  display: inline-block;
  margin-top: .5rem;
  padding: .15rem .5rem;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--vfb-blue);
  background-color: #eaf1fb;
  border-radius: 999px;
}

.vfb-empty {
  padding: 2rem 1rem;
  text-align: center;
  font-size: .9375rem;
  color: var(--vfb-muted);
  background-color: var(--vfb-bg-alt);
  border: 1px dashed var(--vfb-line);
  border-radius: var(--vfb-radius);
}

.vfb-empty[hidden] { display: none; }

.vfb-pin {
  display: block;
  filter: drop-shadow(0 2px 3px rgba(18, 37, 68, .35));
  transition: transform .25s var(--vfb-ease);
}

.vfb-pin svg { display: block; }

.vfb-marker--active .vfb-pin { transform: scale(1.25) translateY(-2px); }

.vfb-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: .8125rem;
  font-weight: 600;
  color: #fff;
  background-color: var(--vfb-navy);
  border: 3px solid rgba(162, 194, 230, .65);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(18, 37, 68, .3);
}

.vfb-cluster--lg { width: 48px; height: 48px; font-size: .875rem; }

.vfb .leaflet-popup-content-wrapper {
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(18, 37, 68, .25);
}

.vfb .leaflet-popup-content {
  margin: .875rem 1rem;
  font-family: inherit;
  line-height: 1.5;
}

.vfb-popup__name {
  margin: 0 0 .25rem;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--vfb-navy);
}

.vfb-popup__addr {
  margin: 0;
  font-size: .8125rem;
  color: var(--vfb-muted);
}

.vfb-popup__note {
  margin: .35rem 0 0;
  font-size: .6875rem;
  font-style: italic;
  color: #8595aa;
}

.vfb-popup__link {
  display: inline-block;
  margin-top: .6rem;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--vfb-blue);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.vfb-popup__link:hover { color: var(--vfb-blue-light); }

.vfb-nojs .vfb-mapwrap,
.vfb-nojs .vfb-toolbar { display: none; }

@media (prefers-reduced-motion: reduce) {
  .vfb-item__btn,
  .vfb-pin { transition-duration: .01ms; }
  .vfb-item__btn:hover,
  .vfb-item__btn:focus-visible { transform: none; }
}
