

.hub-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;  /* statt center */
  width: 67vw;
  max-width: 1200px;
  margin: 0;                    /* entfernt das Zentrieren */
  box-sizing: border-box;
}


/* Einzelner Beitrag/Teaser */
.hub-card {
  background: #fff;
  width: 19.5vw;                
  min-width: 150px;
  max-width: 450px;
  margin: 0;
  display: flex;
  flex-direction: column;
  /* Keine Border, kein Schatten, keine Rundung */
  box-shadow: none;
  border-radius: 0;
  border: none;
  padding: 0;
}

/* Zeile: Autor, Funktion, Datum */
.hub-meta {
  display: flex;
  align-items: center;
  font-size: 0.8em;
  color: #555;
  gap: 8px;
  padding: 8px 0 0 0;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  /* Kein Abstand zu den Seiten */
}

/* Bild oben, keine Rundung, bündig */
.hub-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 0;
  margin: 0;
}

/* Titel */
.hub-title {
  font-weight: bold;
  font-size: 1.24em;
  margin: 14px 0 2px 0;
  padding: 0;
}

/* Subtitel */
.hub-sub {
  color: black;
  font-weight: bold;
  font-size: 1em;
  margin: 9px 0 9px 0;
  padding: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;  /* Maximal 2 Zeilen */
  overflow: hidden;
  text-overflow: ellipsis; /* ... am Ende */
  word-break: keep-all;    /* Kein Wortumbruch mitten im Wort */
}

/* Textvorschau, 5 Zeilen, bündig */
.hub-text {
  font-size: 1em;
  color: #1a222a;
  margin: 0 0 18px 0;
  padding: 0;
  line-height: 1.6;
  max-height: 8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  min-height: 4em;
}

/* Weiterlesen-Link */
.hub-readmore {
  margin: 0 0 18px 0;
  color: red;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  padding: 0;
}

/* Detailseite */
.hub-detail {
  width: 80vw;
  max-width: 800px;
  margin: 0;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  padding: 0 0 20% 0;
}

/* Detailbild */
.hub-detail-img {
  width: 70%;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
}

.hub-detail-meta {
  display: flex;
  align-items: center;
  font-size: 1em;
  color: #555;           /* Weniger hellgrau als #999 */
  gap: 10px;
  margin: 0;
  padding: 12px 0 0 0;
  font-style: italic;    /* Kursivschrift */
}

/* Detailtitel, Subtitel, Text - bündig */
.hub-detail-title {
  font-weight: bold;
  font-size: 2em;
  margin: 18px 0 10px 0;
  padding: 0;
  line-height: 1.2;
}
.hub-detail-sub {
  font-size: 1.17em;
  font-weight: bold;
  color: #1a222a;
  margin-top: 18px;
  padding: 0;
  line-height: 1.8;
}
.hub-detail-text {
  font-size: 1.17em;
  color: #1a222a;
  margin-top: 18px;
  padding: 0;
  line-height: 1.4;
}

.hub-cms-btn {
        align-self: flex-start;
        background-color: #C3004A;
        color: white;
        border: none;
        border-radius: 3px;
        padding: 10px 20px;
        font-size: 1.1vw;
        cursor: pointer;
        opacity: 0.5;
        width: auto;
}

/* Responsiv (unter 700px auf Spalte, volle Breite) */
@media (max-width: 700px) {
  .hub-container { flex-direction: column; align-items: center; width: 96vw; }
  .hub-card { width: 96vw; min-width: unset; max-width: 500px; }
  .hub-detail { width: 98vw; }
}
