/* =============================================
   Blog Details Page Custom CSS
   ============================================= */

.blog-details-section {
  padding: 80px 0;
  background-color: #f8fbf9;
  position: relative;
}

/* ---------------------------------------------
   Left Column: Blog Content Styles
   --------------------------------------------- */
.blog-details-content {
  background-color: var(--ayur-white-color, #ffffff);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid rgba(4, 138, 5, 0.05);
  box-shadow: 0 10px 40px rgba(15, 42, 15, 0.03);
}

/* 1. Featured Image */
.blog-details-featured-img {
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15, 42, 15, 0.06);
  margin-bottom: 28px;
  background-color: #eaefe9;
}

.blog-details-featured-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 600ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-details-featured-img:hover img {
  transform: scale(1.02);
}

/* 2. Blog Meta */
.blog-details-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(4, 138, 5, 0.08);
}

.blog-details-meta-item {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: var(--ayur-para-color, #556052);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-details-meta-item i {
  color: var(--ayur-primary-color, #048a05);
  font-size: 15px;
}

/* 3. Blog Title */
.blog-details-title {
  font-family: "Archivo", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ayur-banheading-color, #0f2a0f);
  margin-bottom: 28px;
}

/* 4. Blog Body Content */
.blog-details-body {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ayur-para-color, #556052);
}

.blog-details-body p {
  margin-bottom: 24px;
}

.blog-details-body h3 {
  font-family: "Archivo", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ayur-banheading-color, #0f2a0f);
  margin-top: 36px;
  margin-bottom: 16px;
}

.blog-details-body ul {
  margin-bottom: 28px;
  padding-left: 24px;
}

.blog-details-body ul li {
  margin-bottom: 12px;
  position: relative;
  list-style-type: none;
}

.blog-details-body ul li strong {
  color: var(--ayur-banheading-color, #0f2a0f);
}

.blog-details-body ul li::before {
  content: "\f00c"; /* check icon */
  font-family: "FontAwesome";
  position: absolute;
  left: -24px;
  top: 2px;
  color: var(--ayur-primary-color, #048a05);
  font-size: 13px;
}

/* Blockquote */
.blog-details-quote {
  position: relative;
  background-color: rgba(4, 138, 5, 0.04);
  border-left: 4px solid var(--ayur-primary-color, #048a05);
  padding: 30px 40px;
  border-radius: 0 16px 16px 0;
  margin: 36px 0;
  font-family: "Archivo", sans-serif;
  font-size: 18px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.6;
  color: var(--ayur-banheading-color, #0f2a0f);
}

.blog-details-quote i {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 24px;
  color: rgba(4, 138, 5, 0.08);
}

/* Important Note Box */
.blog-details-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: rgba(255, 193, 7, 0.06);
  border-left: 4px solid #ffc107;
  padding: 20px 24px;
  border-radius: 0 16px 16px 0;
  margin: 36px 0 12px;
}

.blog-details-note i {
  color: #c98e00;
  font-size: 20px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.blog-details-note span {
  font-size: 14.5px;
  color: #664d03;
  line-height: 1.5;
}

/* 5. Share Section */
.blog-details-share {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(4, 138, 5, 0.08);
}

.blog-details-share h4 {
  font-family: "Archivo", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ayur-banheading-color, #0f2a0f);
  margin-bottom: 16px;
}

.blog-details-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.blog-details-share-btn {
  font-family: "Archivo", sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 300ms ease;
  border: 1px solid rgba(4, 138, 5, 0.1);
  background-color: var(--ayur-white-color, #ffffff);
  color: var(--ayur-banheading-color, #0f2a0f);
  cursor: pointer;
}

.blog-details-share-btn i {
  font-size: 14px;
}

/* Share Specific Hovers */
.blog-details-share-btn.share-facebook:hover {
  background-color: #3b5998;
  color: #ffffff;
  border-color: #3b5998;
}

.blog-details-share-btn.share-whatsapp:hover {
  background-color: #25d366;
  color: #ffffff;
  border-color: #25d366;
}

.blog-details-share-btn.share-twitter:hover {
  background-color: #1da1f2;
  color: #ffffff;
  border-color: #1da1f2;
}

.blog-details-share-btn.share-copy:hover {
  background-color: var(--ayur-primary-color, #048a05);
  color: #ffffff;
  border-color: var(--ayur-primary-color, #048a05);
}

.blog-details-copy-feedback {
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  color: var(--ayur-primary-color, #048a05);
  font-weight: 600;
  margin-top: 10px;
  display: none;
}

/* ---------------------------------------------
   Right Column: Sidebar Styles
   --------------------------------------------- */
.blog-details-sidebar {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  z-index: 10;
}

.blog-details-widget {
  background-color: var(--ayur-white-color, #ffffff);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(4, 138, 5, 0.05);
  box-shadow: 0 10px 40px rgba(15, 42, 15, 0.03);
}

.blog-details-widget-title {
  font-family: "Archivo", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ayur-banheading-color, #0f2a0f);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(4, 138, 5, 0.1);
  position: relative;
}

/* Popular Posts Widget */
.blog-details-popular-posts-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-details-popular-post {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(4, 138, 5, 0.06);
}

.blog-details-popular-post:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.popular-post-thumb {
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #eaefe9;
}

.popular-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-post-info {
  flex-grow: 1;
}

.popular-post-info h4 {
  font-family: "Archivo", sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
}

.popular-post-info h4 a {
  color: var(--ayur-banheading-color, #0f2a0f);
  text-decoration: none;
  transition: color 300ms ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.popular-post-info h4 a:hover {
  color: var(--ayur-primary-color, #048a05);
}

.popular-post-date {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: var(--ayur-para-color, #556052);
}

/* Tags Widget */
.blog-details-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-details-tags a {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--ayur-para-color, #556052);
  background-color: #f3f7f4;
  padding: 8px 16px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 300ms ease;
  border: 1px solid transparent;
}

.blog-details-tags a:hover {
  background-color: var(--ayur-primary-color, #048a05);
  color: var(--ayur-white-color, #ffffff);
  border-color: var(--ayur-primary-color, #048a05);
  box-shadow: 0 4px 12px rgba(4, 138, 5, 0.15);
}

/* ---------------------------------------------
   Responsive Styles
   --------------------------------------------- */
@media (max-width: 991px) {
  .blog-details-section {
    padding: 60px 0;
  }

  .blog-details-content {
    padding: 30px 24px;
  }

  .blog-details-title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .blog-details-sidebar {
    position: static;
    margin-top: 40px;
  }
}

@media (max-width: 575px) {
  .blog-details-content {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .blog-details-meta {
    gap: 16px;
  }

  .blog-details-body {
    font-size: 15px;
  }

  .blog-details-quote {
    padding: 24px 28px;
    font-size: 16px;
  }
}
