/* einfach-herumgurken.at – Rezepte: Filter-Chips und Kartenraster (ohne WordPress-Ajax). */
.wh-rezept-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6em;
  margin: 0 0 2.5em;
  padding: 0;
  list-style: none;
}
.wh-rezept-filter li { margin: 0; padding: 0; }
.wh-rezept-chip {
  appearance: none;
  cursor: pointer;
  padding: 0.6em 1.4em;
  border: 1.5px solid rgba(122, 139, 143, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--theme-color-text_dark, #1f242e);
  font: inherit;
  font-size: 0.95em;
  line-height: 1.2;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.wh-rezept-chip:hover,
.wh-rezept-chip:focus-visible {
  border-color: var(--theme-color-text_link, #7a8b8f);
  background: rgba(253, 248, 182, 0.5);
  box-shadow: 0 10px 24px rgba(31, 36, 46, 0.14);
  transform: translateY(-2px);
}
.wh-rezept-chip:focus-visible {
  outline: 2px solid var(--theme-color-text_dark, #1f242e);
  outline-offset: 2px;
}
.wh-rezept-chip.is-active {
  border-color: #7a8b8f;
  background: #FDF8B6;
  color: var(--theme-color-text_dark, #1f242e);
}

.wh-rezept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2em;
}
.wh-rezept-grid > .trx_addons_column-1_3 {
  width: auto;
  float: none;
  margin: 0;
  padding: 0;
}
.wh-rezept-grid > [hidden] { display: none; }
.wh-rezept-grid .sc_blogger_item {
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(122, 139, 143, 0.35);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(31, 36, 46, 0.07);
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}
.wh-rezept-grid .sc_blogger_item:hover {
  transform: translateY(-6px);
  border-color: #9bada5;
  box-shadow: 0 18px 40px rgba(31, 36, 46, 0.14);
}
.wh-rezept-grid .sc_blogger_item_body { height: 100%; }
.wh-rezept-grid .sc_blogger_item_featured {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.wh-rezept-grid .sc_blogger_item_featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wh-rezept-grid .sc_blogger_item_content { padding: 1.2em 1.4em 1.5em; }
.wh-rezept-grid .sc_blogger_item_title { margin: 0.4em 0 0; }

@media (max-width: 1023px) {
  .wh-rezept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .wh-rezept-grid { grid-template-columns: 1fr; gap: 1.5em; }
  .wh-rezept-filter { gap: 0.5em; margin-bottom: 1.8em; }
  .wh-rezept-chip { padding: 0.55em 1.1em; }
}
@media (prefers-reduced-motion: reduce) {
  .wh-rezept-chip,
  .wh-rezept-grid .sc_blogger_item { transition: none; }
  .wh-rezept-grid .sc_blogger_item:hover { transform: none; }
}
