/* ============================================= */
/* Blog Top 3 Section (Posts 2-4 nach Hero)    */
/* Hero-ähnliche Cards im 3-Spalten-Grid       */
/* ============================================= */

.blog-top-3 {
  width: 100%;
  margin: 2rem 0 3rem 0;
}

/* Grid Container: 3 Spalten, zentriert */
.blog-top-3__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* Tablet+: 3 Spalten */
@media (min-width: 700px) {
  .blog-top-3__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========== Blog Top Card (Hero-Struktur) ========== */
.blog-top-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-alt, #f8f9fa);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-top-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* Bild oben (Hero-Style) */
.blog-top-card-image {
  position: relative;
  overflow: hidden;
  background: #000;
  width: 100%;
  aspect-ratio: 2/1;
}

.blog-top-card-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.blog-top-card-image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-top-card:hover .blog-top-card-image img {
  transform: scale(1.05);
}

/* Content-Bereich unten */
.blog-top-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1;
}

/* Titel */
.blog-top-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  line-height: var(--line-height-heading, 1.2);
}

.blog-top-card-title a {
  color: var(--color-text, #2b2b2b);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-top-card-title a:hover {
  color: var(--color-primary-dark, #8c8c15);
}

/* Autor (strong/fett) */
.blog-top-card-author {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text, #2b2b2b);
  margin-bottom: 0.5rem;
}

/* Datum (dezent) */
.blog-top-card-date {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-text-light, #888);
  margin-bottom: 0.75rem;
}

/* Teaser */
.blog-top-card-teaser {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-light, #444);
  margin: 0 0 1rem 0;
  flex: 1;
}

/* "Lies weiter" Link */
.blog-top-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary-dark, #8c8c15);
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: auto;
}

.blog-top-card-link:hover {
  color: var(--color-primary, #b3b31a);
}

/* Responsive: Mobile */
@media (max-width: 699px) {
  .blog-top-3 {
    margin: 1.5rem 0 2rem 0;
  }

  .blog-top-card-content {
    padding: 1.25rem;
  }

  .blog-top-card-title {
    font-size: 1.125rem;
  }

  .blog-top-card-teaser {
    font-size: 0.875rem;
  }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  .blog-top-card {
    background: var(--color-bg-alt, #232527);
  }

  .blog-top-card-title a {
    color: var(--color-text, #f5f5dc);
  }

  .blog-top-card-title a:hover {
    color: var(--color-primary-dark, #e3e357);
  }

  .blog-top-card-author {
    color: var(--color-text, #f5f5dc);
    font-size: 0.875rem;
  }

  .blog-top-card-date {
    color: var(--color-text-light, #999);
    font-size: 0.75rem;
  }

  .blog-top-card-teaser {
    color: var(--color-text-light, #bbbb99);
  }

  .blog-top-card-link {
    color: var(--color-primary-dark, #e3e357);
  }

  .blog-top-card-link:hover {
    color: var(--color-primary, #b3b31a);
  }
}
