/* Kompakte Beitragskarte – an das Floorballheroes-Beispiel angelehnt. */
.fhba-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 10px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  border-radius: 13px;
  background: #fff;
  color: #17202b;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(20, 30, 45, .07);
  transition: transform .18s ease, box-shadow .18s ease;
}
.fhba-card:hover {
  color: #17202b;
  text-decoration: none !important;
  transform: translateY(-2px);
  box-shadow: 0 7px 22px rgba(20, 30, 45, .12);
}
.fhba-card.fhba-image-right { flex-direction: row-reverse; }
.fhba-image-link {
  display: block;
  flex: 0 0 clamp(104px, 19%, 150px);
  width: clamp(104px, 19%, 150px);
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  line-height: 0;
}
.fhba-image {
  display: block;
  width: 100%;
  height: 86px;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  transition: transform .25s ease;
}
.fhba-card:hover .fhba-image { transform: scale(1.04); }
.fhba-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  min-width: 0;
  padding: 0 4px 0 0;
  box-sizing: border-box;
}
.fhba-image-right .fhba-content { padding: 0 0 0 4px; }
.fhba-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  width: 100%;
  margin: 0 0 6px;
}
.fhba-categories a, .fhba-categories span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 3px 8px;
  border: 1px solid #ffc4c4;
  border-radius: 999px;
  background: #fff4f4;
  color: #b3262d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .035em;
  line-height: 1.25;
  text-decoration: none;
  text-transform: uppercase;
}
.fhba-title {
  display: -webkit-box;
  width: 100%;
  max-width: 100%;
  margin: 0 0 4px;
  overflow: hidden;
  color: #111820;
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.fhba-description {
  display: -webkit-box;
  width: 100%;
  max-width: 72ch;
  margin: 0;
  overflow: hidden;
  color: #66717d;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: break-word;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.fhba-author {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  color: #77818b;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}
.fhba-avatar { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.fhba-editor-preview { min-width: 0; }
.fhba-editor-preview .fhba-card { cursor: default; }
.fhba-editor-preview .fhba-card:hover { transform: none; }
.fhba-editor-preview .fhba-card > img.fhba-image {
  flex: 0 0 clamp(104px, 19%, 150px);
  width: clamp(104px, 19%, 150px);
  height: 86px;
}
.fhba-editor-preview .fhba-card.fhba-image-right { flex-direction: row-reverse; }
@media (max-width: 520px) {
  .fhba-card { gap: 10px; padding: 8px; }
  .fhba-image-link { flex-basis: 94px; width: 94px; }
  .fhba-image { height: 76px; }
  .fhba-title { font-size: 14px; }
  .fhba-categories { gap: 4px; margin-bottom: 4px; }
  .fhba-categories a, .fhba-categories span { padding: 2px 6px; font-size: 8px; }
  .fhba-description { font-size: 11px; -webkit-line-clamp: 2; }
  .fhba-editor-preview .fhba-card > img.fhba-image { flex-basis: 94px; width: 94px; height: 76px; }
}
