/* Artikel-Detailseite Styles */
.article-detail {
  padding: 120px 0 80px;
}

.article-header {
  margin-bottom: 40px;
  text-align: center;
}

.article-meta {
  margin-bottom: 15px;
}

.article-meta .post-category {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-right: 15px;
}

.article-meta .post-date {
  color: var(--text-light);
  font-size: 0.9rem;
}

.article-title {
  font-size: 2.8rem;
  margin-bottom: 25px;
  line-height: 1.3;
}

.article-author {
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.author-info {
  text-align: left;
}

.author-name {
  display: block;
  font-weight: 600;
  color: var(--text-color);
}

.author-title {
  font-size: 0.9rem;
  color: var(--text-light);
}

.article-featured-image {
  margin-bottom: 40px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.article-featured-image img {
  width: 100%;
  height: auto;
}

.article-content {
  max-width: 800px;
  margin: 0 auto 60px;
  line-height: 1.8;
}

.article-intro {
  font-size: 1.2rem;
  color: var(--text-color);
  margin-bottom: 30px;
  font-weight: 500;
}

.article-content h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: var(--primary-color);
}

.article-content h3 {
  font-size: 1.4rem;
  margin: 30px 0 15px;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.article-content li {
  margin-bottom: 10px;
}

.superfood-item {
  margin-bottom: 40px;
  border-left: 3px solid var(--primary-light);
  padding-left: 20px;
}

.superfood-image {
  margin-top: 15px;
  border-radius: 10px;
  overflow: hidden;
}

.article-tags {
  margin-bottom: 30px;
}

.article-tags span {
  font-weight: 600;
  margin-right: 10px;
}

.article-tags a {
  display: inline-block;
  background-color: var(--background-alt);
  padding: 5px 12px;
  border-radius: 20px;
  margin-right: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  transition: var(--transition);
}

.article-tags a:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

.article-share {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
}

.article-share span {
  font-weight: 600;
  margin-right: 15px;
}

.article-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--background-alt);
  border-radius: 50%;
  margin-right: 10px;
  transition: var(--transition);
}

.article-share a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.article-author-bio {
  display: flex;
  background-color: var(--background-alt);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 50px;
}

.article-author-bio .author-image {
  width: 100px;
  height: 100px;
  margin-right: 30px;
}

.author-bio-content h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.author-bio-content p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.comments-section {
  margin-bottom: 60px;
}

.comments-section h2 {
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.comment {
  display: flex;
  margin-bottom: 30px;
}

.comment-reply {
  margin-left: 60px;
  background-color: var(--background-alt);
  padding: 20px;
  border-radius: 10px;
}

.comment-author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 20px;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.comment-author {
  font-weight: 600;
}

.comment-date {
  color: var(--text-light);
  font-size: 0.9rem;
}

.comment p {
  margin-bottom: 15px;
  line-height: 1.7;
}

.comment-reply-btn {
  background: none;
  border: none;
  color: var(--primary-color);
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  font-family: "Poppins", sans-serif;
  transition: var(--transition);
}

.comment-reply-btn:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.comment-form {
  background-color: var(--background-alt);
  padding: 30px;
  border-radius: 10px;
  margin-top: 40px;
}

.comment-form h3 {
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.related-posts {
  margin-top: 80px;
}

.related-posts h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}

/* Artikel-Übersichtsseite Styles */
.articles-hero {
  padding: 150px 0 80px;
  background-color: var(--background-alt);
  text-align: center;
}

.articles-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.articles-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-light);
}

.articles-filter {
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
}

.filter-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-categories {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.filter-categories span {
  margin-right: 15px;
  font-weight: 600;
}

.filter-btn {
  padding: 8px 15px;
  margin-right: 10px;
  margin-bottom: 10px;
  border-radius: 20px;
  background-color: var(--background-alt);
  color: var(--text-color);
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  color: white;
}

.search-form {
  display: flex;
  align-items: center;
}

.search-input {
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: 20px 0 0 20px;
  font-family: "Poppins", sans-serif;
  width: 200px;
}

.search-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 0 20px 20px 0;
  cursor: pointer;
  transition: var(--transition);
}

.search-btn:hover {
  background-color: var(--primary-dark);
}

.articles-grid {
  padding: 60px 0;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.pagination a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 5px;
  border-radius: 50%;
  background-color: var(--background-alt);
  color: var(--text-color);
  transition: var(--transition);
}

.pagination a.active,
.pagination a:hover {
  background-color: var(--primary-color);
  color: white;
}

.pagination a.next-page {
  width: auto;
  padding: 0 20px;
  border-radius: 20px;
}

.pagination a.next-page i {
  margin-left: 5px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .article-title {
    font-size: 2.2rem;
  }

  .article-author-bio {
    flex-direction: column;
    text-align: center;
  }

  .article-author-bio .author-image {
    margin: 0 auto 20px;
  }
}

@media (max-width: 768px) {
  .filter-container {
    flex-direction: column;
  }

  .filter-categories {
    margin-bottom: 20px;
  }

  .comment-reply {
    margin-left: 30px;
  }
}

@media (max-width: 576px) {
  .article-share {
    flex-wrap: wrap;
  }

  .article-share span {
    width: 100%;
    margin-bottom: 10px;
  }

  .comment {
    flex-direction: column;
  }

  .comment-author-image {
    margin-bottom: 15px;
  }

  .comment-reply {
    margin-left: 15px;
  }
}

/* Breadcrumb Styles */
.breadcrumb-container {
  background-color: var(--background-alt);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
  margin-top: 75px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin: 0 10px;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.breadcrumb li:last-child {
  color: var(--text-light);
  font-weight: 500;
}

/* FAQ Section Styles */
.faq-section {
  padding: 60px 0;
  background-color: var(--background-alt);
  border-radius: 10px;
  margin: 60px 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--background-color);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  font-family: "Poppins", sans-serif;
}

.faq-question:hover {
  color: var(--primary-color);
}

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.faq-icon::before {
  top: 9px;
  left: 0;
  width: 100%;
  height: 2px;
}

.faq-icon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 100%;
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-question[aria-expanded="true"] {
  color: var(--primary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 25px;
}

.faq-answer p,
.faq-answer ul {
  padding-bottom: 20px;
  line-height: 1.7;
}

.faq-answer ul {
  padding-left: 20px;
}

.faq-answer li {
  margin-bottom: 8px;
}

/* Enhanced Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.scrolled {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left.scrolled {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right.scrolled {
  opacity: 1;
  transform: translateX(0);
}

.zoom-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.zoom-in.scrolled {
  opacity: 1;
  transform: scale(1);
}

/* Delay classes for staggered animations */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

.delay-6 {
  transition-delay: 0.6s;
}

/* Responsive styles for new elements */
@media (max-width: 768px) {
  .breadcrumb-container {
    margin-top: 80px;
  }

  .breadcrumb li {
    font-size: 0.8rem;
  }

  .faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 20px;
  }
}

@media (max-width: 576px) {
  .breadcrumb-container {
    margin-top: 75px;
  }

  .breadcrumb li:not(:last-child)::after {
    margin: 0 5px;
  }

  .faq-section {
    padding: 40px 0;
  }
}
