/* Additional styles for blog detail page */

/* Blog Detail Content */
.blog-detail-content {
  margin-top: 20px;
  line-height: 1.6;
  color: var(--text);
  padding-bottom: 30px;
}

.blog-detail-content p {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

.blog-detail-content h3 {
  font-size: 1.5rem;
  color: var(--text);
  margin: 1.8rem 0 1rem;
  font-weight: 600;
}

.blog-detail-content blockquote {
  border-left: 3px solid var(--green);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text);
  font-size: 1.2rem;
}

/* Section Title for Other Articles */
.section-title3 {
  font-size: 1.8rem;
  color: var(--green);
  margin: 2rem 0 1.5rem;
  font-weight: 600;
  text-align: left;
}

/* Other Articles Container */
.other-articles-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* For Firefox */
  -ms-overflow-style: none; /* For Internet Explorer and Edge */
  gap: 1.5rem;
  padding: 0.5rem 0;
}

.other-articles-container::-webkit-scrollbar {
  display: none; /* For Chrome, Safari, and Opera */
}

/* Article Card in Other Articles Section */
.article-card {
  min-width: 50%;
  /* max-width: 260px; */
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.article-image {
  width: 100%;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-content {
  padding: 1rem;
}

.article-content h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  display: flex;
  align-items: center;
  color: var(--text);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

/* Navigation buttons for Other Articles */
.navigation-buttons {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 1rem;
}

.nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--white);
  border: 1px solid var(--green);
  color: var(--green);
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background-color: var(--green);
  color: var(--white);
}

.nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  border: 1px solid #ccc;
  color: #ccc;
}

.nav-btn:disabled:hover {
  background-color: var(--white);
  color: #ccc;
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 768px) {
  .blog-detail-content h3 {
    font-size: 1.3rem;
  }

  .blog-detail-content p {
    font-size: 1rem;
  }

  .blog-detail-content blockquote {
    font-size: 1.1rem;
  }

  .section-title3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
  }

  .article-card {
    min-width: 220px;
    max-width: 220px;
  }
}

@media screen and (max-width: 480px) {
  .blog-detail-content h3 {
    font-size: 1.2rem;
  }

  .blog-detail-content p {
    font-size: 0.95rem;
  }

  .blog-detail-content blockquote {
    font-size: 1rem;
    padding-left: 1rem;
  }

  .section-title3 {
    font-size: 1.3rem;
  }

  .article-card {
    min-width: 200px;
    max-width: 200px;
  }

  .article-image {
    height: 140px;
  }

  .article-content h3 {
    font-size: 0.9rem;
  }

  .article-meta {
    font-size: 0.75rem;
  }

  .navigation-buttons {
    margin-top: 1rem;
  }

  .nav-btn {
    width: 36px;
    height: 36px;
  }
}

.share-cont {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  color: var(--green);
  cursor: pointer;
}

.share-icon {
  padding-right: 0.5rem;
}
/* Updates for the Other Articles Section */
.other-articles-section {
  position: relative;
  padding: 0 50px; /* Add padding to make room for the side buttons */
}

/* Reposition navigation buttons to the sides */
.navigation-buttons {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 0;
  transform: translateY(-50%);
  pointer-events: none; /* This allows clicks to pass through to article cards */
}

.nav-btn {
  position: relative;
  pointer-events: auto; /* Re-enable clicks for the buttons */
  z-index: 10;
}

.prev-btn {
  margin-left: -20px;
}

.next-btn {
  margin-right: -20px;
}

/* Article card adjustments */
/* .article-card {
  min-width: calc(33.333% - 1rem);
  max-width: none;
} */

/* Media queries updates */
@media screen and (max-width: 768px) {
  .other-articles-section {
    padding: 0;
  }

  .navigation-buttons {
    display: none;
  }
}
@media screen and (max-width: 480px) {
}
