/* HWT Blog Teaser – Berichte Styling Upgrade */

.hwt-bt {
  --hwt-bt-text: #2d313c;
  --hwt-bt-box: #ffffff; /* weiß statt grau → moderner */
  --hwt-bt-border: rgba(0, 0, 0, 0.06);
  --hwt-bt-link: rgba(26, 34, 51, 0.65);
  --hwt-bt-padding: 1.75rem;
  --hwt-bt-gap: 1.75rem;

  color: var(--hwt-bt-text);
}

/* GRID statt Liste */
.hwt-bt__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--hwt-bt-gap);
}

/* CARD */
.hwt-bt__item {
  display: flex;
  flex-direction: column;
  background: var(--hwt-bt-box);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--hwt-bt-border);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.hwt-bt__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Bild oben */
.hwt-bt__media {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
}

/* Content */
.hwt-bt__content {
  padding: var(--hwt-bt-padding);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* TAG (Vereinsbericht / Zeitungsbericht) */
.hwt-bt__tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #5e6a7d;
  margin-bottom: 0.5rem;
  display: block;
}

/* Datum */
.hwt-bt__date {
  font-size: 0.875rem;
  color: #7a8494;
  margin-bottom: 0.25rem;
}

/* Titel */
.hwt-bt__title {
  font-size: 1.2rem;
  line-height: 1.4;
  margin: 0.4rem 0;
}

/* Text */
.hwt-bt__excerpt {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #5e6a7d;
}

/* Link */
.hwt-bt__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-weight: 500;
  transition: all 0.2s ease;
  fill: var(--e-global-color-primary);
  color: var(--e-global-color-primary);
}

.hwt-bt__item .hwt-bt__link svg {
  width: 18px;
  height: 18px;
  fill: var(--e-global-color-primary);
  color: var(--e-global-color-primary);
}
.hwt-bt__list * {
  text-decoration: none !important;
}
/* RESPONSIVE */
@media (max-width: 1100px) {
  .hwt-bt__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .hwt-bt__list {
    grid-template-columns: 1fr;
  }

  .hwt-bt__media {
    height: 180px;
  }
}
