/* Global Styles */
body.single-waffe {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.7px;
  line-height: 1.7;
}

.single-waffe .entry-content {
  font-size: 15px;
  line-height: 1.7;
  color: #222;

}

/* ============================
   🔫 Einzelansicht Waffen (Layout & Struktur)
============================ */
.single-waffe {
  max-width: 100%;
  padding: 0;
}

.waffen-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 20px;
}

@media (min-width: 1024px) {
  .waffen-layout {
    display: flex;
    flex-direction: row;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0; /* Kein inneres Padding – lassen wir Content/Sidebar regeln */
  }
}

.waffe-content {
  flex: 1 1 auto;
  padding-right: 40px; /* Abstand zur Sidebar */
}

.waffe-sidebar {
  flex: 0 0 350px;
  max-width: 350px;
  box-sizing: border-box;
}


/* ============================
   🔠 Titel & Bild
============================ */
.waffe-title {
  font-size: 32px;
  margin: 0 0 20px;
  color: #222;
}

.waffe-hero img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* ============================
   ✍️ Beschreibung / Content
============================ */
.waffe-beschreibung {
  font-size: 15px;
  margin-top: 30px;
  line-height: 1.7;
}

.waffe-beschreibung {
  padding-right: 30px;
}

.waffe-beschreibung p {
    margin-bottom: 25px;
    line-height: 1.7;
}

.waffe-beschreibung p:last-of-type {
  font-size: 14px;
  color: #555;
}


.waffe-beschreibung h2,
.waffe-beschreibung h3 {
  margin: 30px 0 10px;
}

.waffe-beschreibung a {
  color: #b538b7;
  text-decoration: underline;
}

.waffe-beschreibung a:hover {
  color: #222;
}

.waffe-beschreibung ul,
.waffe-beschreibung ol,
.waffe-beschreibung li {
  all: revert;
}

/* Optional: Feintuning */
.waffe-beschreibung ul,
.waffe-beschreibung ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.waffe-beschreibung li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}


/* ============================
   📦 Infobox mit Feldern
============================ */
/* Infobox mit violettem Header */
.waffe-infobox.violett-box {
  background: #fdf7fd;
  border: 1px solid #b538b7;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 0 2px #b538b7 inset;
}

/* Violetter Infobox-Titel */
.waffe-infobox.violett-box .infobox-title {
  background-color: #b538b7;
  color: white;
  font-size: 20px;
  font-weight: 600;
  padding: 12px 16px;
  margin: 0;
  border-radius: 8px 8px 0 0;
}

/* Tabelle selbst */
.waffe-infobox table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.waffe-infobox th {
  text-align: left;
  padding: 10px 14px;
  width: 160px;
  background-color: #fafafa;
  font-weight: 600;
  color: #333;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

.waffe-infobox td {
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  color: #222;
}

/* Zebra-Streifen für bessere Lesbarkeit */
.waffe-infobox tbody tr:nth-child(even) td {
  background-color: #fcfcfc;
}


/* ============================
   📜 Waffen-Taxonomie-Box
============================ */
.waffentyp-liste {
  background: #f0f0f0;
  padding: 10px;
  margin-top: 10px;
  border-radius: 5px;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.waffentyp-liste a {
  color: #b538b7;
  text-decoration: none;
}

.waffentyp-liste a:hover {
  text-decoration: underline;
}

/* ============================
   🧾 Meta & Werte
============================ */
.waffe-meta {
  margin: 0 0 20px;
}

.preis {
  background: #222;
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 10px;
}

.waffe-werte {
  margin-top: 20px;
  padding-left: 20px;
}

.waffe-werte li {
  margin-bottom: 8px;
}

/* ============================
   🔁 Pagination
============================ */
.waffen-pagination {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}


  .waffe-sidebar {
    flex: 0 0 350px;
    max-width: 350px;
    box-sizing: border-box;
  }

  .waffe-sidebar .waffe-infobox {
  width: 100%;
  max-width: 100%;
}

.hauptartikel-link {
  background-color: #f4f4f4;
  padding: 16px 20px;
  border-left: 4px solid #b538b7;
  margin-top: 30px;
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.7;
}

.hauptartikel-link a {
  color: #b538b7;
  font-weight: 600;
  text-decoration: underline;
}

.hauptartikel-link a:hover {
  color: #222;
}

@media (max-width: 1023px) {
  .waffen-layout {
    flex-direction: column;
    padding: 0 15px;
  }

  .waffe-content,
  .waffe-sidebar {
    max-width: 100%;
    flex: 1 1 100%;
    padding: 0;
  }
  

}

@media (max-width: 600px) {
  .post-navigation-container .post-nav-item a {
    font-size: 12px !important;
    font-weight: 600 !important;
  }

    .post-nav-item::before,
  .post-nav-item::after {
    content: none !important;
  }
}