/* Only the filter bar is styled. Blocksy's news cards remain untouched. */
.wcfyl-news-filter {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 0 0 26px;
  padding: 15px 18px;
  color: #f4f9fc;
  background: #102735;
  border-left: 3px solid #29b8d1;
  border-radius: 5px;
  font-family: inherit;
}
.wcfyl-news-filter[hidden] { display: none !important; }
.wcfyl-news-filter__intro {
  color: #f4f9fc;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}
.wcfyl-news-filter__control {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}
.wcfyl-news-filter__control label {
  color: #c4d7e2;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}
/* Force readable native select + popup colours even when Blocksy changes
   controls on focus. The white select deliberately uses a light OS popup. */
html body .wcfyl-news-filter select#wcfyl-news-category-select,
html body .wcfyl-news-filter select#wcfyl-news-category-select:hover,
html body .wcfyl-news-filter select#wcfyl-news-category-select:focus,
html body .wcfyl-news-filter select#wcfyl-news-category-select:active {
  appearance: auto;
  -webkit-appearance: menulist;
  color-scheme: light;
  box-sizing: border-box;
  display: block;
  width: 250px;
  max-width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid #9ebccc;
  border-radius: 4px;
  background-color: #ffffff !important;
  color: #102735 !important;
  -webkit-text-fill-color: #102735;
  box-shadow: none !important;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
}
html body .wcfyl-news-filter select#wcfyl-news-category-select option {
  background-color: #ffffff !important;
  color: #102735 !important;
}
html body .wcfyl-news-filter select#wcfyl-news-category-select:focus-visible {
  outline: 3px solid #29b8d1;
  outline-offset: 2px;
}
@media (max-width: 600px) {
  .wcfyl-news-filter { padding: 13px 15px; }
  .wcfyl-news-filter__control { width: 100%; }
  html body .wcfyl-news-filter select#wcfyl-news-category-select { width: 100%; }
}
