/* Basisbox für Tweets */
.twitter-tweet {
  max-width: 100% !important;
  margin: 1.5rem auto !important;
  padding: 0.9rem 1.1rem !important;
  border-radius: 0.75rem !important;
  border: 1px solid #ddd !important;
  background-color: #fff !important;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 0.95rem !important;
  line-height: 1.4 !important;
  position: relative !important;
}

/* Standard: alle Absätze gleich */
.twitter-tweet p {
  margin: 0.25rem 0 !important;
  font-size: 1rem !important;
}

/* Nur der letzte Absatz = Meta (Autor/Datum) */
.twitter-tweet p:last-of-type {
  margin-top: 0.75rem !important;
  font-size: 0.8rem !important;
  color: #555 !important;
}

/* Links im Tweet */
.twitter-tweet a {
  color: #1d9bf0 !important;
  text-decoration: none !important;
}

.twitter-tweet a:hover,
.twitter-tweet a:focus {
  text-decoration: underline !important;
}

/* Optional: Dark-Mode-Variante */
@media (prefers-color-scheme: dark) {
  .twitter-tweet {
    background-color: #111 !important;
    border-color: #333 !important;
    color: #eee !important;
  }

  .twitter-tweet p:last-of-type {
    color: #aaa !important;
  }

  .twitter-tweet a {
    color: #8ecbff !important;
  }
}
