/* ------------------------------------------------------
   HERO SECTION – kein Gradient mehr, nur Hintergrund-Farbe + Linie
--------------------------------------------------------- */
.class-hero {
  position: relative;
  background-color: #0e0e0e;
  padding: 60px 0 30px;              /* oben/unten etwas enger */
  color: #fff;
}
.class-hero .container { position: relative; z-index:1; }
.class-hero-img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}
.class-hero-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

/* ------------------------------------------------------
   1) Klassen-Navigation (Kacheln)
--------------------------------------------------------- */
.poe2-class-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 40px 0;
}
.poe2-class-nav-item {
  position: relative;
  width: 240px;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.poe2-class-nav-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.5);
}
.poe2-class-nav-img-wrapper { width:100%; height:320px; overflow:hidden; }
.poe2-class-nav-img { width:100%; height:100%; object-fit:cover; display:block; }
.poe2-class-nav-overlay {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  box-sizing: border-box;
}
.poe2-class-nav-overlay h3 {
  margin: 0;
  font-size: 1.4em;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}
.poe2-class-nav-overlay span {
  display: block;
  margin-top: 6px;
  font-size: 0.9em;
  color: #e4d5c0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ------------------------------------------------------
   2) Featured-Grid auf Klassen-Landingpage
      (Starter & Endgame Builds)
--------------------------------------------------------- */
.class-archive {
  padding-bottom: 60px;
}
.class-archive-header {
  text-align: center;
  margin: 40px 0 20px;
}
.class-archive-header h1 {
  font-size: 2rem;
  margin: 0;
}
.section h2.h4 {
  border-bottom: 1px solid #333;
  padding-bottom: 8px;
}

/* Hover-Effekt für jede Build-Box identisch zu den Kacheln */
.class-archive .nk-featured-post {
  transition: transform .2s, box-shadow .2s;
}
.class-archive .nk-featured-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.5);
}

/* Abstand unter jedem Abschnitt */
.class-archive .mb-4 {
  margin-bottom: 2rem !important;
}


/* Linie direkt unter dem Hero-Container, nicht außenrum */
.class-hero .container > hr.class-hero-separator {
  border: 0;
  border-top: 1px solid #333;
  margin: 30px 0;
}

/* Abstand zwischen Überschrift und Build-Grid */
.class-archive section h2 + .row {
  margin-top: 20px;
}


