@charset "UTF-8";
:root {
  --primary: #16a34a;
  --primary-600: #208a52;
  --primary-700: #15803d;
  --secondary: #dcfce7;
  --text: #374151;
  --accent: #6b7280;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f7faf9;
  --radius-card: 14px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
}

/* ===== Utilities ===== */
.u-flex {
  display: flex;
  align-items: center;
}

.u-between {
  justify-content: space-between;
}

.u-col {
  display: flex;
  flex-direction: column;
}

.u-gap-12 {
  gap: 12px;
}

.u-gap-16 {
  gap: 16px;
}

.u-gap-24 {
  gap: 24px;
}

.u-mb-16 {
  margin-bottom: 16px;
}

.u-mb-24 {
  margin-bottom: 24px;
}

/* ===== Komponenten: Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 9px;
  font-weight: 600;
  text-decoration: none;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--primary-700);
}

.btn--outline {
  border: 1px solid var(--primary);
  color: var(--primary) !important;
  background: #fff;
}

.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}

/* Elementor-Button-Defaults neutralisieren */
.elementor .elementor-button,
.elementor a.elementor-button {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* Deine Button-Varianten innerhalb von Elementor */
.elementor .elementor-button.btn {
  /* Basis */
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

/* ===== Komponenten: Cards ===== */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.card--soft {
  background: var(--bg-soft);
}

[data-topic-type].is-active {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 2px rgba(47, 165, 103, 0.15);
  background-color: #f0fdf4;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: #e8f5ee;
  color: #1d6a3c;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ===== Komponenten: Tag-Pills ===== */
.tag-pill {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  margin: 0.25rem 0.3rem 0 0;
  font-size: 0.9rem;
  color: #374151;
  text-decoration: none;
}

.tag-pill:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Page 362 only */
.page-id-601 .u-hide {
  display: none !important;
}

/* Neutralize bbPress margins inside slots */
.page-id-601 #slot-title > p,
.page-id-601 #slot-content > p {
  margin: 0;
}

/* Inputs look consistent */
.page-id-601 #bbp_topic_title,
.page-id-601 #slot-content textarea#bbp_topic_content {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
  font-size: 15px;
  line-height: 1.4;
}

.page-id-601 #slot-content textarea#bbp_topic_content {
  min-height: 260px;
}

.page-id-601 #slot-content .bbp-the-content-wrapper {
  margin: 0;
}

/* Focus state */
.page-id-601 #bbp_topic_title:focus,
.page-id-601 #slot-content textarea#bbp_topic_content:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47, 165, 103, 0.15);
}

/* Title counter */
.page-id-601 .title-counter {
  text-align: right;
  color: #6b7280;
  font-size: 12px;
  margin-top: 6px;
}

/* Hide bbPress extras if they slip through */
.page-id-601 .bbp-form > fieldset > legend,
.page-id-601 .bbp-breadcrumb,
.page-id-601 #bbpress-forums > .bbp-pagination {
  display: none !important;
}

/* ===== Forum-Liste (bbPress) – Kartenlook ===== */
.bbpress #bbpress-forums li.bbp-body ul.topic {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  margin: 12px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

#bbpress-forums .bbp-topic-title a {
  font-weight: 600;
  color: var(--text);
}

#bbpress-forums .bbp-topic-title a:hover {
  color: var(--primary);
}

.bbp-topic-tags a {
  background: #e8f5ee;
  color: #2e7d32;
  border-radius: 9999px;
  padding: 2px 8px;
  margin: 2px;
  display: inline-block;
}

/* ===== Page: Forum (optional, scoping per Body/Page-ID) ===== */
/* Beispiel: nur auf /forum/ Seite (ersetze .page-id-XXX durch deine ID) */
/*
.page-id-XXX .filters a { ... }
*/
/* ===== Page: Forum (optional, scoping per Body/Page-ID) ===== */
/* Beispiel: nur auf /forum/ Seite (ersetze .page-id-XXX durch deine ID) */
/*
.page-id-XXX .filters a { ... }
*/

/*# sourceMappingURL=build.min.css.map */
