/* Chip block for the "areas we cover" section.
   Lifted from the master Elementor template, with two fixes:
   - the toggle selector now accounts for .wbbf-toggle-wrap
   - the collapsed tail is inline-block, so wrapped rows sit correctly */

.wbbf-areas .wbbf-intro {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #54595F;
  max-width: 900px;
  margin: 0 auto 14px;
  text-align: center;
}

.wbbf-areas .wbbf-chips { text-align: center; }

.wbbf-areas a,
.wbbf-areas a:visited {
  display: inline-block;
  margin: 6px 5px;
  padding: 13px 22px;
  border: 2px solid #1A4883;
  border-radius: 10px;
  background: #FFFFFF !important;
  color: #1A4883 !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  transition: background-color .2s ease, color .2s ease;
}

.wbbf-areas a:hover,
.wbbf-areas a:focus {
  background: #1A4883 !important;
  color: #FFFFFF !important;
}

.wbbf-areas .wbbf-cb {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.wbbf-areas .wbbf-extra { display: none; }
.wbbf-areas .wbbf-cb:checked ~ .wbbf-chips .wbbf-extra { display: inline-block; }

.wbbf-areas .wbbf-toggle-wrap { text-align: center; }

.wbbf-areas .wbbf-toggle {
  display: inline-block;
  margin: 18px auto 0;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1A4883;
  text-decoration: underline;
  text-underline-offset: 4px;
  background: none;
  border: 0;
  padding: 6px 10px;
  border-radius: 6px;
}

.wbbf-areas .wbbf-toggle:hover { color: #143A6C; }

/* Fixed: the label lives inside .wbbf-toggle-wrap, so the sibling
   combinator has to hop the wrapper before descending to the label. */
.wbbf-areas .wbbf-cb:focus-visible ~ .wbbf-toggle-wrap .wbbf-toggle {
  outline: 2px solid #1A4883;
  outline-offset: 2px;
}
.wbbf-areas .wbbf-cb:checked ~ .wbbf-toggle-wrap .wbbf-toggle .wbbf-show { display: none; }
.wbbf-areas .wbbf-cb:not(:checked) ~ .wbbf-toggle-wrap .wbbf-toggle .wbbf-hide { display: none; }

.wbbf-areas .wbbf-note {
  padding: 12px 16px;
  background: #FFF6E5;
  border-left: 4px solid #D9A21B;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
}

@media (max-width: 767px) {
  .wbbf-areas a,
  .wbbf-areas a:visited { font-size: 15px; padding: 11px 16px; margin: 5px 3px; }
  .wbbf-areas .wbbf-intro { font-size: 16px; }
}
