/* ============================================================
   s3nf-net — Custom-Layer über Dawn
   Post-Karten-Grid (3 Spalten, kompakt) für Home / Tag / Autor
   ============================================================ */

.s3nf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 24px 4vw 56px;
  box-sizing: border-box;
}

.s3nf-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #17191f;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.s3nf-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  border-color: rgba(124, 252, 0, 0.45);
}

/* Bild – kompakt (16:9). position:relative, damit Dawns
   .u-object-fit (position:absolute) nur DIESE Box füllt, nicht die ganze Karte. */
.s3nf-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0d0f13;
  overflow: hidden;
}

.s3nf-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.s3nf-card:hover .s3nf-card-image img {
  transform: scale(1.045);
}

.s3nf-card-image.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1d24, #262b34);
}

.s3nf-card-image.is-empty svg {
  width: 30px;
  height: 30px;
  color: rgba(124, 252, 0, 0.5);
}

/* Text: Titel, darunter Datum · Lesedauer */
.s3nf-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 14px 16px 16px;
}

.s3nf-card-title {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.32;
  color: #f2f4f8;
}

.s3nf-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #7cfc00;
}

.s3nf-card-length {
  color: #9aa0aa;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

/* Klick-Overlay über die ganze Karte */
.s3nf-card-permalink {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Infinite-Scroll: „Load more"-Rest ausblenden, falls vorhanden */
.load-more,
.gh-loadmore {
  display: none !important;
}

/* Responsive: 2 Spalten Tablet, 1 Spalte Mobil */
@media (max-width: 900px) {
  .s3nf-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

@media (max-width: 600px) {
  .s3nf-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px 20px 40px;
  }
}

/* ============================================================
   Footer — zentriert, Copyright über Impressum, kein "Powered by"
   ============================================================ */
.s3nf-foot {
  display: flex !important;   /* Dawn setzt hier display:grid (3 Spalten) -> überschreiben, damit gestapelt */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
}

.s3nf-foot .gh-social-links:empty {
  display: none;
}

.s3nf-foot .gh-copyright {
  margin: 0;
}

.s3nf-foot .gh-foot-menu ul,
.s3nf-foot .gh-foot-menu .nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
