/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.2
*/


/* --- Force SportsPress filter dropdowns to align horizontally --- */
#event-blocks-filterable .filters {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap; /* keep on one line */
  gap: 12px;
  margin-bottom: 20px;
  width: 100%;
}

/* make selects look consistent */
#event-blocks-filterable .filters select {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  background-color: #fff;
  min-width: 180px;
  height: auto;
  line-height: 1.4;
  box-shadow: none;
  cursor: pointer;
}

/* prevent theme form styles from forcing block layout */
#event-blocks-filterable .filters select,
#event-blocks-filterable .filters select:focus {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

/* responsive: stack vertically on mobile */
@media (max-width: 600px) {
  #event-blocks-filterable .filters {
    flex-direction: column !important;
    align-items: stretch;
  }
  #event-blocks-filterable .filters select {
    width: 100% !important;
  }
}
