/* ==========================================================================
   Suyog Electricals - Global Unified Blog Details Stylesheet (custom/blog.css)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Gudea:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

/* Force Visibility for Images & Reveal Containers */
.reveal,
.image-anime {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
  width: 100% !important;
}

.post-image figure,
.section-image figure {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
  width: 100% !important;
}

.post-image img,
.section-image img {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

/* Suppress stray pseudo-element dots/bullets */
.post-tag-links ul li::before,
.post-tag-links ul li::after,
.post-social-sharing ul li::before,
.post-social-sharing ul li::after,
.blog-nav-bar ul li::before,
.blog-nav-bar ul li::after {
  display: none !important;
  content: none !important;
}

/* Remove double border lines above tags */
.post-entry {
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 20px !important;
}

.post-tag-links {
  border-top: none !important;
  border-bottom: none !important;
  padding-top: 10px !important;
  margin-top: 15px !important;
}

/* Top Meta & Engagement Bar (Start of Article) */
.blog-top-meta-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 15px !important;
  padding: 14px 20px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  margin-bottom: 30px !important;
}

.blog-top-meta-left {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 0.9rem !important;
  color: #475569 !important;
}

.blog-top-meta-right {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.meta-btn {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: #475569 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.meta-btn:hover {
  border-color: #0f2b92 !important;
  color: #0f2b92 !important;
  background: #ffffff !important;
  transform: translateY(-1px) !important;
}

.medium-like-btn.liked {
  background-color: #fef2f2 !important;
  border-color: #fca5a5 !important;
  color: #ef4444 !important;
}

.medium-like-btn.liked i {
  color: #ef4444 !important;
}

/* Share Dropdown System */
.share-container {
  position: relative !important;
  display: inline-block !important;
}

.share-dropdown {
  display: none !important;
  position: absolute !important;
  right: 0 !important;
  top: calc(100% + 8px) !important;
  background: #ffffff !important;
  min-width: 190px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  border-radius: 10px !important;
  z-index: 9999 !important;
  border: 1px solid #e2e8f0 !important;
  padding: 6px 0 !important;
}

.share-dropdown.active {
  display: block !important;
}

.share-dropdown .dropdown-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 16px !important;
  color: #334155 !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  background: none !important;
  border: none !important;
  width: 100% !important;
  text-align: left !important;
  cursor: pointer !important;
  transition:
    background 0.15s ease,
    color 0.15s ease !important;
}

.share-dropdown .dropdown-item:hover {
  background-color: #f1f5f9 !important;
  color: #0f2b92 !important;
}

/* Responsive 16:9 YouTube Video Container Fix */
.blog-video-container {
  position: relative !important;
  padding-bottom: 56.25% !important;
  height: 0 !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  margin: 30px 0 !important;
  background-color: #000000 !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

.blog-video-container iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}

/* Clean Modern Tag Links & Social Sharing Bar */
.post-tag-links {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  padding: 20px 0 !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  margin: 32px 0 !important;
}

.post-tags-wrapper {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.tag-label {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

.tag-list {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.tag-list a,
.post-tags .tag-links a {
  background-color: #393185 !important;
  color: #ffffff !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  padding: 6px 14px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: all 0.2s ease !important;
}

.tag-list a:hover,
.post-tags .tag-links a:hover {
  background-color: #292268 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

/* Custom Social Sharing Buttons */
.post-social-sharing {
  display: flex !important;
  align-items: center !important;
}

.post-social-sharing ul li a i,
.ft-social li a i,
.footer-social-links li a i,
.fa-instagram,
.fa-linkedin-in,
.fa-facebook-f,
.fa-youtube {
  font-family:
    "Font Awesome 6 Brands", "Font Awesome 5 Brands", "FontAwesome" !important;
  font-weight: 400 !important;
  font-style: normal !important;
  display: inline-block !important;
}

.post-social-sharing ul {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.post-social-sharing ul li {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.post-social-sharing ul li a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 8px !important;
  background-color: #393185 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 0.95rem !important;
  transition: all 0.2s ease !important;
}

.post-social-sharing ul li a:hover {
  background-color: #292268 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(57, 49, 133, 0.3) !important;
}

@media (max-width: 767.98px) {
  .post-tag-links {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
    padding: 16px 0 !important;
  }
  .post-tags-wrapper,
  .post-social-sharing {
    width: 100% !important;
  }
  .post-social-sharing ul {
    justify-content: flex-start !important;
  }
}

/* Bottom Article Navigation Bar */
.blog-nav-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 15px !important;
  margin-top: 40px !important;
  padding-top: 25px !important;
  border-top: 1px solid #e2e8f0 !important;
}

.blog-nav-item {
  flex: 1 !important;
  max-width: 42% !important;
}

.blog-nav-item a {
  display: flex !important;
  flex-direction: column !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.blog-nav-item .nav-label {
  font-size: 0.75rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  font-weight: 700 !important;
  color: #0f2b92 !important;
  margin-bottom: 4px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.blog-nav-next .nav-label {
  justify-content: flex-end !important;
}

.blog-nav-item .nav-title {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  transition: color 0.2s ease !important;
}

.blog-nav-item a:hover .nav-title {
  color: #0f2b92 !important;
}

/* Center Listing Navigation Grid SVG Icon & White Hover Effect */
.blog-nav-center {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.blog-nav-grid {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  border: 2px solid #e2e8f0 !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #0f2b92 !important;
  font-size: 1.15rem !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 2px 8px rgba(15, 43, 146, 0.08) !important;
  text-decoration: none !important;
}

.blog-nav-grid svg {
  width: 22px !important;
  height: 22px !important;
  transition: transform 0.25s ease !important;
}

.blog-nav-grid svg path {
  fill: #0f2b92 !important;
  transition: fill 0.25s ease !important;
}

.blog-nav-grid:hover {
  background: #0f2b92 !important;
  border-color: #0f2b92 !important;
  transform: scale(1.12) !important;
  box-shadow: 0 6px 20px rgba(15, 43, 146, 0.35) !important;
}

.blog-nav-grid:hover svg path {
  fill: #ffffff !important;
}

/* Public Blog Details Article Links - Theme Color #393185 without underline */
.post-entry a,
.post-single-body a,
.blog-details a,
.section-text-content a,
.blog-details-excerpt a {
  color: #393185 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: color 0.2s ease !important;
}

.post-entry a:hover,
.post-single-body a:hover,
.blog-details a:hover,
.section-text-content a:hover,
.blog-details-excerpt a:hover {
  color: #292268 !important;
  text-decoration: none !important;
}

/* Bullet & Numbered List Alignment & Marker Styling */
.post-entry ul,
.section-text-content ul,
.blog-details ul {
  padding-left: 25px !important;
  margin-left: 0 !important;
  margin-bottom: 16px !important;
}

.post-entry ol,
.section-text-content ol,
.blog-details ol {
  padding-left: 25px !important;
  margin-left: 0 !important;
  margin-bottom: 16px !important;
}

.post-entry li,
.section-text-content li,
.blog-details li {
  margin-bottom: 8px !important;
  line-height: 1.6 !important;
}

/* Bullet list dots color black */
.post-entry ul li::marker,
.section-text-content ul li::marker,
.blog-details ul li::marker {
  color: #0f172a !important;
  font-weight: 700 !important;
}

/* Numbered list numbers bold & dark black highlighted */
.post-entry ol li::marker,
.section-text-content ol li::marker,
.blog-details ol li::marker {
  color: #0f172a !important;
  font-weight: 700 !important;
}

/* Bold Text Color Black (#0f172a) */
.post-entry strong,
.post-entry b,
.section-text-content strong,
.section-text-content b,
.blog-details strong,
.blog-details b {
  color: #0f172a !important;
  font-weight: 700 !important;
}

/* ==========================================================================
   Modern Clean Blog Card Listing UI (Reference Design Matched)
   ========================================================================== */
.modern-blog-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer !important;
}

a.modern-blog-card {
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer !important;
}

a.modern-blog-card:hover {
  text-decoration: none !important;
  color: inherit !important;
}

.modern-blog-card:hover {
  transform: translateY(-6px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 32px rgba(57, 49, 133, 0.12);
}

.modern-blog-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #f1f5f9;
  display: block;
}

.modern-blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.modern-blog-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.modern-blog-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 14px;
  line-height: 1.4;
}

.modern-blog-meta-dot {
  color: #cbd5e1;
  font-size: 14px;
}

.modern-blog-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.modern-blog-meta-author {
  color: #0f172a;
  font-weight: 700 !important;
}

.modern-blog-title {
  font-size: 20px;
  font-weight: 700 !important;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 12px;
  letter-spacing: -0.2px;
  transition: color 0.2s ease;
}

.modern-blog-title a {
  color: #0f172a !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.modern-blog-card:hover .modern-blog-title,
.modern-blog-card:hover .modern-blog-title a {
  color: #393185 !important;
}

.modern-blog-desc {
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.modern-blog-footer {
  margin-top: auto;
}

.modern-blog-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #393185 !important;
  text-decoration: none !important;
  transition:
    gap 0.25s ease,
    color 0.25s ease !important;
}

.modern-blog-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.25s ease;
}

.modern-blog-card:hover .modern-blog-btn {
  color: #292268 !important;
  gap: 12px !important;
}

.modern-blog-card:hover .modern-blog-btn svg {
  transform: translateX(4px);
}

/* Homepage Section Header Styles (Reference Image Matched) */
.section-sub-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #393185;
  margin-bottom: 12px;
}

.section-sub-badge .badge-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #393185;
  border-radius: 50%;
}

.section-main-title {
  font-size: 38px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 0;
  letter-spacing: -0.5px;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  background-color: #393185;
  color: #ffffff !important;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(57, 49, 133, 0.25);
  transition: all 0.3s ease !important;
}

.btn-view-all:hover {
  background-color: #292268;
  box-shadow: 0 6px 20px rgba(41, 34, 104, 0.35);
  transform: translateY(-2px);
}

.btn-view-all i {
  transition: transform 0.25s ease;
}

.btn-view-all:hover i {
  transform: translateX(4px);
}

.post-tag-links {
  display: none !important;
}

/* Disable reveal & text-anime animations on blog details elements */
.blog-details .wow,
.blog-details [data-wow-delay],
.blog-details .text-anime-style-3,
.blog-details-main-title {
  animation: none !important;
  transition: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
.tag-list a {
  color: #fff !important;
  font-size: 16px !important;
  padding: 6px 12px !important;
}

@media (max-width: 991.98px) {
  .section-main-title {
    font-size: 30px;
    margin-bottom: 16px;
  }
  .home-blog-header-right {
    align-items: flex-start !important;
    margin-top: 10px;
  }
  .btn-view-all {
    margin-bottom: 14px;
  }
  .post-social-sharing ul {
    padding: 0px !important;
    margin: 0px !important;
  }
  .post-tag-links {
    flex-direction: column !important;
    gap: 6px !important;
  }
  .tag-list a {
    color: #fff !important;
    font-size: 14px !important;
    padding: 5px 15px !important;
  }
}

@media (max-width: 767.98px) {
  .modern-blog-body {
    padding: 18px;
  }
  .modern-blog-title {
    font-size: 18px;
  }
  .modern-blog-desc {
    font-size: 14px;
    margin-bottom: 18px;
  }
  .modern-blog-meta {
    font-size: 10px;
    gap: 6px;
  }
}

@media (max-width: 575.98px) {
  .section-main-title {
    font-size: 24px;
  }
  .btn-view-all {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Boxed Container & Compact Smaller Section Titles for Blog Details Page
   ========================================================================== */
/* .blog-details-box-wrapper {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 44px 48px !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03) !important;
} */

.blog-details-main-title,
.section-title h2.blog-details-main-title,
.section-title h1.blog-details-main-title {
  font-family: "Source Sans 3", sans-serif !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.25 !important;
  margin-top: 0px !important;
  margin-bottom: 20px !important;
  letter-spacing: -0.5px !important;
}

.blog-details-main-title span,
.section-title h2.blog-details-main-title span,
.section-title h1.blog-details-main-title span {
  font-family: "Source Sans 3", sans-serif !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

/* Blog Details Short Excerpt / Summary Typography (Dark Charcoal #0f172a) */
.blog-details-excerpt,
.blog-details-excerpt p {
  font-family: "Gudea", sans-serif !important;
  font-size: 19px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  line-height: 1.65 !important;
  margin-bottom: 24px !important;
}

.blog-details-excerpt a {
  font-family: "Gudea", sans-serif !important;
  color: #393185 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.blog-details-excerpt a:hover {
  color: #292268 !important;
  text-decoration: none !important;
}

/* Readable Base Article Typography (18px) */
.post-entry,
.post-entry p,
.section-text-content,
.section-text-content p,
.blog-details,
.blog-details p,
.blog-details li,
.post-entry li,
.post-entry blockquote,
.blog-details blockquote,
.modern-blog-desc,
.clean-header-desc {
  font-family: "Gudea", sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  color: #1e293b !important;
  line-height: 1.75 !important;
  margin-bottom: 20px !important;
}

.post-entry h2,
.section-text-content h2,
.blog-details h2 {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin-top: 32px !important;
  margin-bottom: 14px !important;
  line-height: 1.35 !important;
  letter-spacing: -0.3px !important;
}

.post-entry h3,
.section-text-content h3,
.blog-details h3 {
  font-size: 19px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin-top: 24px !important;
  margin-bottom: 12px !important;
  line-height: 1.4 !important;
}

@media (max-width: 767.98px) {
  /* .blog-details-box-wrapper {
    padding: 24px 18px !important;
    border-radius: 16px !important;
  } */
  .blog-details-main-title {
    font-size: 24px !important;
    margin-bottom: 18px !important;
  }
  .post-entry h2,
  .section-text-content h2,
  .blog-details h2 {
    font-size: 20px !important;
    margin-top: 24px !important;
  }
}

/* ==========================================================================
   Clean Modern Page Header (Left Aligned matching Reference Image)
   ========================================================================== */
.clean-page-header {
  background-color: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 50px 0 !important;
  /* margin-bottom: 30px !important; */
}

.clean-breadcrumb {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 12px 0 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.clean-breadcrumb li a {
  color: #64748b !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.clean-breadcrumb li a:hover {
  color: #393185 !important;
}

.clean-breadcrumb li.separator {
  color: #94a3b8 !important;
  font-size: 13px !important;
}

.clean-breadcrumb li.active {
  color: #393185 !important;
  font-weight: 700 !important;
}

.clean-header-title {
  font-size: 38px !important;
  font-weight: 800 !important;
  color: #393185 !important;
  line-height: 1.25 !important;
  margin-bottom: 14px !important;
  letter-spacing: -0.5px !important;
}

.clean-header-desc {
  font-size: 16px !important;
  color: #475569 !important;
  line-height: 1.6 !important;
  max-width: 820px !important;
}

@media (max-width: 991.98px) {
  .post-social-sharing ul {
    justify-content: flex-start !important;
    margin-top: 12px !important;
  }
}

@media (max-width: 767.98px) {
  .clean-page-header {
    padding: 35px 0 !important;
  }
  .clean-header-title {
    font-size: 28px !important;
  }
  .clean-header-desc {
    font-size: 14.5px !important;
  }

  /* Responsive Top Meta Bar (Header of Article) */
  .blog-top-meta-bar {
    padding: 14px 16px !important;
    gap: 12px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .blog-top-meta-left {
    width: 100% !important;
    font-size: 0.85rem !important;
    gap: 6px 10px !important;
    flex-wrap: wrap !important;
  }

  .blog-top-meta-right {
    width: 100% !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .meta-btn {
    padding: 6px 12px !important;
    font-size: 0.82rem !important;
  }
}

.post-image figure,
.blog-video-container {
  border-radius: 25px !important;
}
@media only screen and (max-width: 767px) {
}
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .post-tag-links {
    flex-direction: row !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
}
