/* CT Hub Filter Bar – collapsible filter panel (honeycomb-style) */

.ct-hub-filter-outer.filter-outer {
  margin-top: var(--wp--preset--spacing--30, 1rem);
  margin-bottom: var(--wp--preset--spacing--40, 1.5rem);
}

.ct-hub-filter-show-button.filter-show-button {
  display: inline-flex;
  align-items: center;
  padding: var(--wp--preset--spacing--30, 0.75rem) var(--wp--preset--spacing--40, 1rem);
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  color: inherit;
}

.ct-hub-filter-show-button:hover,
.ct-hub-filter-show-button:focus {
  opacity: 0.9;
}

.ct-hub-filter-inner.filter-inner {
  margin-top: var(--wp--preset--spacing--30, 1rem);
  padding: var(--wp--preset--spacing--40, 1rem);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: var(--wp--preset--color--base, #fff);
}

.ct-hub-filter-inner[aria-hidden="true"] {
  display: none;
}

.ct-hub-filter-inner[aria-hidden="false"] {
  display: block;
}

.ct-hub-filter.filter {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--wp--preset--spacing--40, 1rem);
}

.ct-hub-filter-block.filter-block {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 140px;
}

.ct-hub-filter-block.filter-block label {
  font-size: 0.875rem;
  font-weight: 500;
}

.ct-hub-filter-field.filter-field {
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  min-width: 160px;
}

.ct-hub-filter-block.actions {
  flex-direction: row;
  gap: var(--wp--preset--spacing--30, 0.75rem);
  min-width: auto;
}

.ct-hub-filter-submit.filter-submit,
.ct-hub-filter-reset.filter-reset {
  cursor: pointer;
}


/* ================================
   CT Hub – Filter bar button styles
   ================================ */

/* Show filters button */
.ct-hub-filter-show-button.filter-show-button {
	color: #e2515b;
	border-color: #e2515b;
}

.ct-hub-filter-show-button.filter-show-button:hover,
.ct-hub-filter-show-button.filter-show-button:focus {
	background: rgba(226, 81, 91, 0.08);
}

/* Search / Apply filters button */
.ct-hub-filter-submit.filter-submit {
	background: #e2515b;
	border: 1px solid #e2515b;
	color: #fff;
	padding: 0.6rem 1.1rem;
	border-radius: 8px;
	font-weight: 600;
}

.ct-hub-filter-submit.filter-submit:hover,
.ct-hub-filter-submit.filter-submit:focus {
	filter: brightness(0.95);
}

/* Clear / Reset filters – text link style */
.ct-hub-filter-reset.filter-reset {
	background: none;
	border: none;
	padding: 0;
	color: #e2515b;
	font-weight: 500;
	text-decoration: underline;
	cursor: pointer;
}

.ct-hub-filter-reset.filter-reset:hover,
.ct-hub-filter-reset.filter-reset:focus {
	text-decoration: none;
	opacity: 0.85;
}