/** 
====================================================================
  Blog Post Page Section Stylesheet (Option 1 - Classic Editorial)
  Inspired by LezDo TechMed, styled for ZenCorp Healthcare
====================================================================
***/

.post-details-section {
  position: relative;
  padding: 100px 0px;
  background-color: #F8F9FA;
}

.post-main-card {
  position: relative;
  background-color: #ffffff;
  border: 1px solid #E5E8ED;
  border-radius: 12px;
  padding: 45px 40px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.02);
  margin-bottom: 40px;
}

.post-main-image {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 35px;
}

.post-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content Styling */
.post-details-content h1 {
  font-family: var(--title-font, 'Manrope', sans-serif);
  font-size: 34px;
  line-height: 44px;
  font-weight: 800;
  color: var(--secondary-color, #0A0F20);
  margin-bottom: 20px;
}

.post-details-content .post-text p {
  font-family: var(--text-font, 'Inter', sans-serif);
  font-size: 16px;
  line-height: 28px;
  color: #555555;
  margin-bottom: 25px;
}

.post-details-content blockquote {
  position: relative;
  padding: 30px 40px;
  background-color: #F8F9FA;
  border-left: 4px solid var(--theme-color, #EB292C);
  font-family: var(--title-font, 'Manrope', sans-serif);
  font-size: 18px;
  line-height: 30px;
  font-weight: 600;
  color: var(--secondary-color, #0A0F20);
  margin: 35px 0px;
  border-radius: 0px 8px 8px 0px;
}

.post-details-content blockquote i {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 40px;
  color: rgba(235, 41, 44, 0.1);
}

.post-details-content h3 {
  font-family: var(--title-font, 'Manrope', sans-serif);
  font-size: 22px;
  line-height: 32px;
  font-weight: 700;
  color: var(--secondary-color, #0A0F20);
  margin-top: 35px;
  margin-bottom: 15px;
}

.post-details-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.post-details-content ul li {
  position: relative;
  font-family: var(--text-font, 'Inter', sans-serif);
  font-size: 15px;
  line-height: 26px;
  color: #555555;
  padding-left: 25px;
  margin-bottom: 12px;
}

.post-details-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px; /* Vertically centered relative to 26px line-height */
  width: 6px;
  height: 6px;
  background-color: var(--theme-color, #EB292C);
  border-radius: 50%;
}

/* Social Share Widget */
.share-icon-list {
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.share-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #E5E8ED;
  background-color: #F8F9FA;
  color: #555555;
  font-size: 14px;
  transition: all 300ms ease;
}

.share-icon-link:hover {
  color: #ffffff;
  border-color: var(--theme-color, #EB292C);
}

.share-icon-link.facebook-share:hover {
  background-color: #1877F2;
  border-color: #1877F2;
}

.share-icon-link.linkedin-share:hover {
  background-color: #0A66C2;
  border-color: #0A66C2;
}

.share-icon-link.twitter-share:hover {
  background-color: #000000;
  border-color: #000000;
}

/* CTA Sidebar Widget */
.cta-widget {
  position: relative;
  background-color: var(--secondary-color, #0A0F20);
  background-image: radial-gradient(circle at 90% 10%, rgba(235, 41, 44, 0.15) 0%, transparent 50%);
  color: #ffffff;
  padding: 45px 30px;
  text-align: center;
  border-radius: 12px;
  border: 1px solid #0A0F20;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05);
}

.cta-widget h4 {
  font-family: var(--title-font, 'Manrope', sans-serif);
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 15px;
}

.cta-widget p {
  font-family: var(--text-font, 'Inter', sans-serif);
  font-size: 14px;
  line-height: 24px;
  color: #b5bbcd;
  margin-bottom: 30px;
}

.cta-widget .cta-btn {
  display: inline-block;
  padding: 14px 35px;
  background-color: var(--theme-color, #EB292C);
  color: #ffffff !important;
  font-family: var(--title-font, 'Manrope', sans-serif);
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  transition: all 300ms ease;
  box-shadow: 0px 4px 15px rgba(235, 41, 44, 0.2);
}

.cta-widget .cta-btn:hover {
  background-color: #ffffff;
  color: var(--theme-color, #EB292C) !important;
  transform: translateY(-2px);
  box-shadow: 0px 4px 15px rgba(255, 255, 255, 0.1);
}

/* Related Articles Section */
.related-articles-section {
  position: relative;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid #E5E8ED;
}

.related-articles-section h3 {
  font-family: var(--title-font, 'Manrope', sans-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-color, #0A0F20);
  margin-bottom: 30px;
}

.related-card {
  position: relative;
  background-color: #ffffff;
  border: 1px solid #E5E8ED;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  transition: all 400ms ease;
}

.related-card:hover {
  transform: translateY(-5px);
  border-color: var(--theme-color, #EB292C);
  box-shadow: 0px 10px 25px rgba(235, 41, 44, 0.05);
}

.related-card-img {
  height: 180px;
  overflow: hidden;
  background-color: #0A0F20;
}

.related-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

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

.related-card-content {
  padding: 20px;
}

.related-card-content span.date {
  font-family: var(--text-font, 'Inter', sans-serif);
  font-size: 12px;
  color: #888888;
  display: block;
  margin-bottom: 8px;
}

.related-card-content h4 {
  font-family: var(--title-font, 'Manrope', sans-serif);
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: var(--secondary-color, #0A0F20);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card-content h4 a {
  color: inherit;
}

.related-card-content h4 a:hover {
  color: var(--theme-color, #EB292C);
}

.related-read-more {
  font-family: var(--title-font, 'Manrope', sans-serif);
  font-size: 13px;
  font-weight: 700;
  color: var(--theme-color, #EB292C);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.related-read-more:hover {
  color: var(--secondary-color, #0A0F20);
}

/* Responsive */
@media (max-width: 991px) {
  .post-details-section {
    padding: 80px 0px;
  }
  .post-main-card {
    padding: 30px 20px;
  }
  .post-main-image {
    height: 280px;
  }
  .post-details-content h1 {
    font-size: 26px;
    line-height: 36px;
  }
}
@media (max-width: 767px) {
  .post-main-image {
    height: 200px;
  }
  .post-details-content h1 {
    font-size: 22px;
    line-height: 30px;
  }
}
