/* Blog Übersicht */
.blog-overview {
  padding: 0;
}

.blog-overview .intro {
  max-width: 800px;
  margin: 2rem 0 3rem;
  font-size: 1.1rem;
  color: #555;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.blog-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.blog-image {
  display: block;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: #666;
}

.category {
  background: #283273;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
}
.btn {
    background: #283273;
    color: white !important;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-size: 1rem;
    margin-right: 1rem;
    transition: .5s;
}
.btn:hover {
    background: #64b4e6;
    color: white !important;
    transition: .5s;
}
.blog-content h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  line-height: 1.3;
}

.blog-content h2 a {
  color: inherit;
  text-decoration: none;
}

.blog-content h2 a:hover {
  color: #64b4e6;
}

.blog-content p {
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.read-more {
  color: #283273;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.read-more:hover {
  text-decoration: underline;
}

.no-articles {
  text-align: center;
  padding: 3rem;
  color: #666;
  font-size: 1.1rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid #e0e0e0;
}

.pagination a {
  color: #283273;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border: 2px solid #283273;
  border-radius: 6px;
  transition: all 0.2s;
}

.pagination a:hover {
  background: #64b4e6;
  color: white;
}

.pagination-info {
  color: #666;
}

/* Blog Artikel Detail */
.blog-article {
  padding:  0;
}

.article-header {
  max-width: 800px;
  margin: 0 auto 2rem;
}

.article-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  color: #666;
}

.reading-time {
  color: #999;
}

.article-header h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.article-header .intro {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
}

.author {
  color: #666;
  font-style: italic;
}

.article-cover {
  margin: 2rem 0 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.article-cover img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.article-content {
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  font-size: 1.05rem;
}

.article-tags {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 6px;
}

.tag {
  display: inline-block;
  /* background: white; */
  padding: 0.25rem 0.75rem;
  margin: 0.25rem 0;
  border-radius: 4px;
  font-size: 0.9rem;
  /* border: 1px solid #e0e0e0; */
  transition: .5s;
  color: #fff !important;
}
.tag.active,
.tag:hover {
  /* color: #283273;
  border: 1px solid #283273; */
  transition: .5s;
  background: #64b4e6;
}
.article-footer {
  max-width: 800px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid #e0e0e0;
}

.back-link {
  color: #283273;
  text-decoration: none;
  font-weight: 600;
}

.back-link:hover {
  text-decoration: underline;
}

/* Kategorie-Filter (bestehend) */
.category-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  margin: 2rem 0 .5rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.category-filter strong {
  margin-right: 0.5rem;
  color: #666;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  background: white;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: all 0.2s;
  font-weight: 500;  
  transition: .5s;
}

.filter-btn:hover {
  border-color: #64b4e6;
  color: #64b4e6;
  transition: .5s;
}

.filter-btn.active {
  background: #64b4e6;
  color: white;
  border-color: #64b4e6;
}

/* Tag-Filter */
.tag-filter {
  margin: 0 0 .5rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.tag-filter strong {
  display: block;
  margin-bottom: 1rem;
  color: #666;
}

.tag-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag-btn {
  padding: 0.4rem 1rem;
  background: white;
  color: #283273;
  text-decoration: none;
  border-radius: 20px;
  border: 2px solid #e0e0e0;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.tag-btn:hover {
  border-color: #283273;
  background: #e7f3ff;
}

.btn.active,
.tag-btn.active {
  background: #64b4e6;
  color: white;
  border-color: #64b4e6;
}

/* Aktive Filter Badge */
.active-filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 2rem;
  padding: 1rem 1.5rem;
  background: #fff3cd;
  border-radius: 8px;
  border-left: 4px solid #ffc107;
}

.active-filters > span:first-child {
  font-weight: 600;
  color: #856404;
}

.active-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  background: white;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #333;
}

.remove-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #dc3545;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1;
  transition: all 0.2s;
}

.remove-filter:hover {
  background: #c82333;
  transform: scale(1.1);
}

.clear-filters {
  padding: 0.4rem 1rem;
  background: white;
  color: #dc3545;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
  border: 2px solid #dc3545;
}

.clear-filters:hover {
  background: #dc3545;
  color: white;
}

/* Tags in den Artikel-Cards */
.card-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0.75rem 0;
}

.mini-tag {
  padding: 0.25rem 0.6rem;
  background: #e7f3ff;
  color: #283273;
  text-decoration: none;
  border-radius: 12px;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.mini-tag:hover {
  background: #283273;
  color: white;
}

/* No Articles Message */
.no-articles {
  text-align: center;
  padding: 3rem;
  background: #f8f9fa;
  border-radius: 8px;
  margin: 2rem 0;
}

.no-articles p {
  margin-bottom: 1.5rem;
  color: #666;
  font-size: 1.1rem;
}

.no-articles .btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #283273;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s;
}

.no-articles .btn:hover {
  background: #64b4e6;
  transform: translateY(-2px);
}

blockquote {
  margin-bottom: 3rem;
  font-size: 1.2em;
  color: #283273;
  background: #efefef;
  padding: 3rem;
  border-radius: 20px;
}
blockquote footer {
  font-size: .9rem;
  font-style: italic;
  text-align: right;
}

.article-content p + h2 { margin-top: 2em; }
.article-header h1 { color: #283273; margin-top: 1em;  }
.article-content h2 { font-size: 2em; color: #283273; }
.article-content p { margin: 0 0 1em; }
.article-content img { max-width: 100%; margin: 2em 0; }
.hide { display: none; }

.btn-tag { background: transparent; color: #283273 !important; border: solid 1px #283273; }