/* Allgemeines Styling */
body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: #f8f9fa;
}

.main-container {
  display: flex;
  padding-left: 20px;
  padding-right: 20px;
}

/* Container für den Inhalt */
.container {
  display: flex;
  width: 90%;
  max-width: 1500px;
  margin: 30px auto;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Sidebar */
.sidebar {
  width: 250px;
  padding: 20px;
  background: #f0f2f5;
  border-radius: 8px;
  margin-right: 20px;
}
.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  padding: 5px 0;
}

.sidebar ul .subcategories {
  margin-left: 15px;
  font-size: 0.9em;
}

.sidebar ul .subcategories li {
  padding: 2px 0;
}

.sidebar h2 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
}

.sidebar a {
  display: block;
  text-decoration: none;
  color: #156082;
  padding: 6px 0;
  font-size: 16px;
}

.sidebar a:hover {
  text-decoration: underline;
}

/* Hauptinhalt */
.content {
  flex: 1;
  padding: 20px;
  background: white;
  border-radius: 8px;
}

/* Überschrift */
.content h1 {
  font-size: 28px;
  font-weight: bold;
  color: #000;
  margin-bottom: 10px;
}

/* Sektionen für Artikel & Cases */
.section-title {
  font-size: 22px;
  font-weight: bold;
  color: #156082;
  margin-top: 30px;
  border-bottom: 2px solid #156082;
  padding-bottom: 5px;
}

/* Flexbox für Artikel & Cases */
.items-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 15px;
}

/* Einzelne Artikel- oder Case-Karten */
.item-card {
  flex: 1 1 calc(33.333% - 20px);
  background: #156082;
  color: white;
  padding: 15px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 250px;
}

.item-card h2 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}

.item-card p {
  font-size: 14px;
  opacity: 0.9;
}

.item-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* Responsive Anpassung */
@media (max-width: 1024px) {
  .item-card {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    padding: 15px;
  }

  .sidebar {
    display: none;
  }

  .content {
    width: 100%;
    padding: 15px;
  }

  .items-grid {
    flex-direction: column;
  }

  .item-card {
    flex: 1 1 100%;
  }
}
