/* Community directory controls. Keep these rules scoped to this page. */
.js-enthusiasts-page .enthusiast-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 20px;
}
.js-enthusiasts-page .enthusiast-heading { min-width: 0; }
.js-enthusiasts-page .enthusiast-heading h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.4px;
}
.js-enthusiasts-page .enthusiast-pagination {
  clear: both;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0;
  padding: 0;
}
.js-enthusiasts-page .enthusiast-page-summary {
  color: #666;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
}
.js-enthusiasts-page .enthusiast-page-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.js-enthusiasts-page .enthusiast-page-links:empty { display: none; }
.js-enthusiasts-page .enthusiast-toolbar {
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.75);
}
.js-enthusiasts-page .enthusiast-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.js-enthusiasts-page .enthusiast-pagination .button,
.js-enthusiasts-page .enthusiast-toolbar .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 40px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
  color: #333;
  font-size: 13px;
  font-weight: 600;
  line-height: 22px;
  text-shadow: none;
  white-space: nowrap;
}
.js-enthusiasts-page .enthusiast-pagination .button:hover,
.js-enthusiasts-page .enthusiast-toolbar .button:hover { background: #f0f0f0; }
.js-enthusiasts-page .enthusiast-groups .button[aria-current="page"],
.js-enthusiasts-page .enthusiast-toolbar .js-update-filters {
  border-color: #333;
  background: #333;
  color: #fff;
}
.js-enthusiasts-page .enthusiast-groups .button[aria-current="page"]:hover,
.js-enthusiasts-page .enthusiast-toolbar .js-update-filters:hover { background: #191919; }
.js-enthusiasts-page .enthusiast-filter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  max-width: 640px;
  margin: 0;
}
.js-enthusiasts-page .enthusiast-field { min-width: 0; }
.js-enthusiasts-page .enthusiast-field label {
  display: block;
  margin: 0 0 5px;
  color: #555;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.js-enthusiasts-page .enthusiast-field select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 40px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #bbb;
  border-radius: 4px;
  background: #fff;
  color: #333;
  font: inherit;
  font-size: 14px;
}
.js-enthusiasts-page .enthusiast-toolbar :focus-visible,
.js-enthusiasts-page .enthusiast-pagination :focus-visible {
  outline: 2px solid #b34e12;
  outline-offset: 3px;
}
.js-enthusiasts-page .enthusiast-invitation {
  margin: 10px 0 22px;
  color: #666;
  font-size: 13px;
  line-height: 1.6;
  text-align: right;
}
.js-enthusiasts-page .enthusiast-invitation a {
  color: #a7470f;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.js-enthusiasts-page .enthusiast-pagination-footer {
  clear: both;
  margin: 8px 0 24px;
  padding-top: 16px;
  border-top: 1px solid #ddd;
}
.js-enthusiasts-page .enthusiast-empty { clear: both; padding: 20px 0; }
.js-enthusiasts-page .js-enthusiast .module > div:first-child { margin-bottom: 8px; }
.js-enthusiasts-page .js-enthusiast .module > div:first-child a {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #111;
}
.js-enthusiasts-page .js-enthusiast .module > div:first-child img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 767px) {
  .js-enthusiasts-page .enthusiast-header { align-items: stretch; flex-direction: column; gap: 14px; }
  .js-enthusiasts-page .enthusiast-heading h2 { font-size: 25px; }
  .js-enthusiasts-page .enthusiast-toolbar { padding: 12px; }
  .js-enthusiasts-page .enthusiast-filter-form { grid-template-columns: minmax(0, 1fr); }
  .js-enthusiasts-page .enthusiast-groups .button { flex: 1 1 calc(50% - 8px); }
  .js-enthusiasts-page .enthusiast-invitation { text-align: left; }
}
