/* News Startseite – Premium 3er-Grid, Elementor-sicher */
.nsh-news-wrapper,
.elementor .nsh-news-wrapper,
.elementor-widget-shortcode .nsh-news-wrapper {
  width: 100% !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

.nsh-news-grid,
.elementor .nsh-news-grid,
.elementor-widget-shortcode .nsh-news-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  align-items: stretch !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.nsh-news-card,
.elementor .nsh-news-card,
.elementor-widget-shortcode .nsh-news-card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.09) !important;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease !important;
}

.nsh-news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.13) !important;
  border-color: rgba(37, 99, 235, 0.2) !important;
}

.nsh-news-card-image {
  position: relative !important;
  width: 100% !important;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
}

.nsh-news-card-image img {
  width: 100% !important;
  height: 210px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

.nsh-news-card-body {
  padding: 24px 24px 26px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  flex: 1 1 auto !important;
}

.nsh-news-title {
  margin: 0 !important;
  font-size: clamp(1.08rem, 0.96rem + 0.35vw, 1.32rem) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.015em !important;
  color: #0f172a !important;
  overflow-wrap: anywhere !important;
}

.nsh-news-subheadline {
  margin: 0 !important;
  font-size: 0.98rem !important;
  font-weight: 700 !important;
  color: #1d4ed8 !important;
  line-height: 1.4 !important;
  overflow-wrap: anywhere !important;
}

.nsh-news-text {
  color: #334155 !important;
  line-height: 1.65 !important;
  font-size: 0.96rem !important;
}

.nsh-news-text p { margin: 0 0 13px !important; }
.nsh-news-text p:last-child { margin-bottom: 0 !important; }

.nsh-news-text ul,
.nsh-news-text ol {
  margin: 0 0 14px 1.25em !important;
  padding: 0 !important;
}

.nsh-news-text li { margin-bottom: 7px !important; }

.nsh-news-text a {
  color: #1d4ed8 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

.nsh-news-text blockquote {
  margin: 4px 0 16px !important;
  padding: 14px 18px !important;
  border-left: 4px solid #1d4ed8 !important;
  background: #f8fafc !important;
  border-radius: 0 14px 14px 0 !important;
  color: #1e293b !important;
}

.nsh-news-meta-row {
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  margin-bottom: 2px !important;
}

.nsh-news-badge,
.nsh-news-date {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  border-radius: 999px !important;
  padding: 6px 10px !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
}

.nsh-news-badge { color: #1d4ed8 !important; background: #eff6ff !important; }
.nsh-news-date { color: #475569 !important; background: #f8fafc !important; border: 1px solid #e2e8f0 !important; }

.nsh-empty {
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 20px 24px !important;
  border-radius: 18px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
}

@media (max-width: 1024px) {
  .nsh-news-wrapper,
  .elementor .nsh-news-wrapper,
  .elementor-widget-shortcode .nsh-news-wrapper { max-width: 100% !important; }

  .nsh-news-grid,
  .elementor .nsh-news-grid,
  .elementor-widget-shortcode .nsh-news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  .nsh-news-card-image img { height: 170px !important; }
  .nsh-news-card-body { padding: 20px !important; }
  .nsh-news-title { font-size: 1.04rem !important; }
  .nsh-news-text { font-size: 0.92rem !important; }
}

@media (max-width: 767px) {
  .nsh-news-wrapper,
  .elementor .nsh-news-wrapper,
  .elementor-widget-shortcode .nsh-news-wrapper { max-width: 560px !important; }

  .nsh-news-grid,
  .elementor .nsh-news-grid,
  .elementor-widget-shortcode .nsh-news-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .nsh-news-card { border-radius: 20px !important; }
  .nsh-news-card:hover { transform: none !important; }
  .nsh-news-card-image img { height: 220px !important; }
  .nsh-news-card-body { padding: 22px !important; }
}
