.letter-grid-wrapper {
  padding: 1rem;
  max-width: 1100px;
  margin: auto;
  font-family: system-ui, sans-serif;
  background-color: #0d0d0d;
  color: #eee;
}

/* Intro Grid */
.letter-intro-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.intro-headline {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.3;
  color: #ffe100;
  margin: 0;
  max-width: 100%;
}
.intro-right {
  width: 100%;
  max-width: calc((100% - 2rem) / 2);
  flex-shrink: 0;
}
.intro-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;      /* quadratisch, Text bleibt visuell dominant */
  object-fit: cover;
  border-radius: 23px;
  border: 0px solid #ccc;
}

/* Mission Text (Zentral & dynamisch) */
.letter-mission-text {
  max-width: 100%;
  text-align: center;
  padding: 1rem 1rem 2rem;
  margin-bottom: 1rem;
}
.letter-mission-text p {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  color: #ccc;
  margin: 0;
  min-height: calc(1.5rem * 1.4 * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Cards — List-View (stacked, full-width) — Grid-Variante 2/3-col kommt später */
.letter-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.letter-card {
  position: relative;
  padding: 1.8rem;
  background-color: #1a1a1a;
  border-radius: 23px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.03);
  transition: transform 0.2s, background-color 0.2s;
}
.letter-card:hover {
  transform: scale(1.003); /* minimal lift */
  background-color: #1e1e1e;
}
.letter-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.85rem;
  color: #bbb;
  margin-bottom: 0.8rem;
  font-weight: 600;
  gap: 1rem;
}

.letter-card-header .left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.letter-card-header .right {
  display: flex;
  flex-wrap: wrap;      /* fallback wenn zu viele Pills (Edge Case EP #000) */
  gap: 6px;
  justify-content: flex-end;
  text-align: right;
}

.letter-tag {
  background: #333;
  color: #ddd;
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
}
.letter-headline {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.8rem;
  max-height: 4.5em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.letter-subline {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.5;
  color: #aaa;
  margin-bottom: 1.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}
.letter-card:hover .letter-subline {
  color: #007aff;
}
.letter-card footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: #888;
  padding-top: 1rem;
  border-top: 1px solid #2a2a2a;
}
.letter-footer-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.letter-cta {
  color: #007aff;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s;
}
.letter-card:hover .letter-cta {
  color: #3394ff;
}
.letter-link-overlay {
  position: absolute;
  inset: 0;
  z-index: 0 !important;  /* darf niemals über den Header */
}
.letter-pagination {
  text-align: center;
  margin-top: 3rem;
}
.load-more-button {
  background-color: #000;
  color: #fff;
  padding: 0.8rem 1.5rem;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
}
.load-more-button:hover {
  background-color: #222;
}

/* MONNINGHOFF Letter Headline Styling — gleiche Größe wie Body-Text (.mpf-body-light) */
.byma-tag {
  display: block;
  font-size: 1.5rem;       /* 24px mobile */
  font-weight: 800;
  color: gold;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.byma-sub {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
}
.byma-sunrise {
  display: block;
  font-size: 1.5rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.3;
  color: #fff;
}
@media (min-width: 768px) {
  .byma-tag,
  .byma-sub,
  .byma-sunrise {
    font-size: 1.875rem;   /* 30px desktop, matcht md:text-3xl */
  }
}
.byma-copyright {
  font-size: 0.5em;
  transform: translateY(-14px);
  margin-left: 0.01rem;
  display: inline-block;
  opacity: 0.8;
}

/* Newsletter-Karte (jede 7.) */
.newsletter-card {
  background-color: #2a2a2a;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  border-radius: 23px;
}

.newsletter-content h3 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 0.3rem;
}

.newsletter-content p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
  color: #ccc;
}

.newsletter-button {
  display: inline-block;
  margin-top: 0.3rem;
  padding: 0.6rem 1.2rem;
  background-color: #007aff;
  color: white;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}

.newsletter-button:hover {
  background-color: #005ecb;
}

/* Basis-Styling für Tags */
.letter-tag {
  background: #333;
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
}

/* Farbcodes je Kategorie (Themen) — Farb-Psychologie */
.tag-mindset          { color: #a855f7; } /* purple — Weisheit, Tiefe */
.tag-time             { color: #94a3b8; } /* slate — Struktur, Neutralität (heller fürs dunkle BG) */
.tag-health           { color: #ef4444; } /* red — Vitalität */
.tag-skills           { color: #f59e0b; } /* amber/gold — Meisterschaft */
.tag-social-capital   { color: #10b981; } /* green — Networth, Wachstum */

/* Format / Produkt-Pillen (gefüllt — klares "Produkt"-Signal) */
.tag-app {
  background: #007AFF;  /* Apple System Blue */
  color: #fff;
  font-weight: 600;
}
.tag-book {
  background: #78350f;  /* Warm Brown — Leder/Buch */
  color: #fff;
  font-weight: 600;
}

.newsletter-headline {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.newsletter-subline {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ccc;
  margin-bottom: 0.3rem;
  line-height: 1.4;
}

.newsletter-note {
  font-size: 0.9rem;
  font-style: italic;
  color: #aaa;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
}

.newsletter-input {
  padding: 0.75rem 1.5rem;
  width: 100%;
  max-width: 320px;
  border: none;
  border-radius: 9999px; /* ✅ Pille */
  font-size: 0.95rem;
  text-align: center;
  background-color: #fff;
  color: #111;
  height: 48px; /* ✅ gleiche Höhe wie Button */
}

.newsletter-input::placeholder {
  color: #999;
}

.newsletter-button {
  display: inline-block;
  width: 100%;
  max-width: 320px;
  height: 48px;
  padding: 0 1.2rem;
  background-color: #007aff;
  color: white;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.newsletter-button:hover {
  background-color: #005ecb;
}
