/* Guide filters: soft rectangular controls aligned with the approved UI system. */
.guide-index-page .guide-index-filter {
  gap: 10px !important;
}

.guide-index-page .guide-index-filter .button,
.guide-index-page .guide-index-filter .button:first-child {
  min-height: 48px !important;
  padding: 0 16px !important;
  border: 1px solid #d7deea !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #142b58 !important;
  box-shadow: 0 3px 8px rgba(20, 43, 88, 0.04) !important;
}

.guide-index-page .guide-index-filter .button:hover,
.guide-index-page .guide-index-filter .button:focus-visible {
  border-color: #8290ab !important;
  background: #fff !important;
  color: #142b58 !important;
}

.guide-index-page .guide-index-filter .button.is-active,
.guide-index-page .guide-index-filter .button:first-child.is-active,
.guide-index-page .guide-index-filter .button[data-resource-filter="all"].is-active,
.guide-index-page .guide-index-filter .button[data-resource-filter="junior"].is-active,
.guide-index-page .guide-index-filter .button[data-resource-filter="school"].is-active,
#main .guide-index-filter button.button.is-active,
#main .guide-index-filter button.button[data-resource-filter].is-active {
  border: 2px solid #263a66 !important;
  background: #fff !important;
  color: #142b58 !important;
  box-shadow: none !important;
}

.guide-index-page .guide-index-filter .button span,
.guide-index-page .guide-index-filter .button.is-active span {
  background: rgba(20, 43, 88, 0.08) !important;
  color: #142b58 !important;
}

@media (max-width: 620px) {
  .guide-index-page .guide-index-filter .button,
  .guide-index-page .guide-index-filter .button:first-child {
    min-height: 44px !important;
    padding-inline: 14px !important;
    border-radius: 9px !important;
  }
}
