/*
 buckground color for submit button for contact form
 */
.wpforms-submit-container .wpforms-submit{
	background-color: #ffffff !important;
	color: #757575;
}

#page{
	overflow: hidden;
}


/* start blog details page  */

/* ==========================================================================
   WordPress Single Blog - Hero Banner Header CSS
   ========================================================================== */

/* 1. Global Page Wrapper targetting WordPress single post body */
body.single-post {
  background-color: #f8fafc;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  padding: 0;
}

/* 2. Main Header Container */
body.single-post .entry-header {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  min-height: 480px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
     padding: 0px 40px 40px;
  box-sizing: border-box;
  /* box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); */
}

/* 3. Featured Image & Dark Overlay Container */
body.single-post .entry-header .post-thumb-img-content {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
      height: 400px;
    z-index: 1;
    margin: 0;
}

body.single-post .entry-header .post-thumb-img-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    border-radius: 20px;
}

/* Smooth zoom effect on hover */
/* body.single-post .entry-header:hover .post-thumb-img-content img {
  transform: scale(1.03);
} */

/* Dark Gradient for Text Readability */
/* body.single-post .entry-header .post-thumb-img-content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.4) 0%,
    rgba(15, 23, 42, 0.88) 100%
  );
} */

/* 4. Text Content Stack (Brings layer over image) */
body.single-post .entry-header .ast-breadcrumbs-wrapper,
body.single-post .entry-header .entry-title,
body.single-post .entry-header .entry-meta {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

/* 5. Breadcrumbs Layout (Top Layer) */
body.single-post .entry-header .ast-breadcrumbs-wrapper {
  order: 1;
  margin-bottom: 12px;
}

body.single-post .entry-header .trail-items {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  font-weight: 500;
}

body.single-post .entry-header .trail-items a,
body.single-post .entry-header .trail-items span {
  color: #000;
  text-decoration: none;
  transition: color 0.2s ease;
}

body.single-post .entry-header .trail-items a:hover {
  color: #f59e0b;
}

/* 6. Metadata Layout (Category Badge + Author + Date) */
body.single-post .entry-header .entry-meta {
    order: 2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
    color: #f59e0b;
    margin-bottom: 8px;
}

/* Category Badge Styling */
body.single-post .entry-header .ast-terms-link a {
  display: inline-block;
  background-color: #f59e0b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

body.single-post .entry-header .ast-terms-link a:hover {
  background-color: #d97706;
}

/* Author Link Styling */
body.single-post .entry-header .entry-meta a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

body.single-post .entry-header .entry-meta a:hover {
  color: #f59e0b;
}

/* 7. Main Title Styling */
body.single-post .entry-header .entry-title {
    order: 1;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    margin: 8px 0 0 0;
    /* text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4); */
    text-align: left;
    color: #000;
    padding-bottom: 18px;
    padding-top: 19px;
}

/* tabele content */

/* ==========================================================================
   Custom Table of Contents Widget Layout (Matching Reference Screenshot)
   ========================================================================== */

/* Main Outer Container Box */
div.ez-toc-widget-sticky-container {
    border: 2px solid #ff9800 !important;
    border-radius: 6px !important;
    background-color: #ffffff !important;
    padding: 16px 12px 16px 16px !important;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: none !important;
    box-sizing: border-box;
        top: 635px !important;
}
/* Header Title (Centered & Bold) */
body.single-post .ez-toc-widget-sticky-title-container {
  display: flex;
  justify-content: left;
  align-items: center;
  margin-bottom: 12px;
  width: 100%;
}

body.single-post  div#content {
    padding-top: 119px;
}
.ast-single-entry-banner[data-post-type="page"] {
    justify-content: center;
    width: 100%;
    padding-top: 3em;
    padding-right: 3em;
    padding-bottom: 3em;
    padding-left: 3em;
    display: none;
}
 .ast-page-builder-template.single-post .site-content > .ast-container {
    max-width: 1300px !important;
    padding: 0px 20px;
}
div.ez-toc-widget-sticky-container.is_stuck {
    position: fixed!important;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    background: #fff;
    border-radius: 4px;
    max-height: 80vh;
    overflow-y: unset !important;
    top: 145px !important;
}

body.single-post .ez-toc-widget-sticky-title {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #000000 !important;
  text-align: center;
  font-family: inherit;
}

/* Hide Default Toggle Buttons & Extra Icons */
body.single-post .ez-toc-widget-sticky-btn,
body.single-post .ez-toc-widget-sticky-title-toggle svg {
  display: none !important;
}

/* Scrollable Navigation List Wrapper */
body.single-post .ez-toc-widget-sticky-container nav {
  overflow-y: auto !important;
  padding-right: 8px;
}

/* Custom Scrollbar Styling (Matching Image) */
body.single-post .ez-toc-widget-sticky-container nav::-webkit-scrollbar {
  width: 6px;
}

body.single-post .ez-toc-widget-sticky-container nav::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

body.single-post .ez-toc-widget-scrollbar nav::-webkit-scrollbar-thumb,
body.single-post .ez-toc-widget-sticky-container nav::-webkit-scrollbar-thumb {
  background: #757575; /* Dark grey scrollbar thumb */
  border-radius: 4px;
}

/* Navigation List Items Styling */
body.single-post ul.ez-toc-widget-sticky-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-post ul.ez-toc-widget-sticky-list li {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid #eaeaea; /* Light Separator Lines */
}

body.single-post ul.ez-toc-widget-sticky-list li:last-child {
  border-bottom: none;
}

/* List Links Styling */
body.single-post ul.ez-toc-widget-sticky-list li a {
  display: block;
  padding: 10px 4px;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #2c3e50 !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

/* Hover & Active State Links */
body.single-post ul.ez-toc-widget-sticky-list li a:hover,
body.single-post ul.ez-toc-widget-sticky-list li.active > a {
  color: #ff9800 !important; /* Orange highlight */
  background-color: transparent !important;
}

/* Sub-items (Hierarchy padding removal/adjustment) */
body.single-post ul.ez-toc-widget-sticky-list-level-3 {
  padding-left: 12px !important;
  list-style: none !important;
}

/* ==========================================================================
   Single Post Body Formatting CSS (H2, H3, H4, P, UL, LI, Links, Images)
   ========================================================================== */

/* Main Blog Body Text Settings */
body.single-post .entry-content {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #334155;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: -0.01em;
}

/* 1. Paragraph (P Tag) Formatting */
body.single-post .entry-content p {
  margin-top: 0;
  margin-bottom: 22px;
  color: #334155;
  font-size: 16px;
  line-height: 1.8;
}

/* 2. Heading 2 (H2 Tag) with Bottom Accent Border */
body.single-post .entry-content h2 {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-top: 0px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f59e0b; /* Orange Accent Line under H2 */
  letter-spacing: -0.02em;
}
 .single.ast-page-builder-template .entry-header {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/* 3. Heading 3 (H3 Tag) Styling */
body.single-post .entry-content h3 {
  font-size: 21px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  margin-top: 32px;
  margin-bottom: 14px;
}

/* 4. Heading 4 (H4 Tag) Styling */
body.single-post .entry-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: #334155;
  line-height: 1.4;
  margin-top: 24px;
  margin-bottom: 10px;
}

/* 5. Unordered List (UL & LI) Styling */
body.single-post .entry-content ul {
  margin: 0 0 24px 0;
  padding-left: 20px;
  list-style: none; /* Custom Bullets */
}

body.single-post .entry-content ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 16px;
  color: #334155;
  line-height: 1.6;
}

/* Orange Square/Bullet Indicator */
body.single-post .entry-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: #f59e0b; /* Orange Bullet */
  border-radius: 2px;
}

/* 6. Inline Anchor Links Styling */
body.single-post .entry-content a {
  color: #d97706;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

body.single-post .entry-content a:hover {
  color: #b45309;
}

/* 7. Article Images & Captions Styling */
body.single-post .entry-content figure,
body.single-post .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 32px 0;
  display: block;
}

body.single-post .entry-content figure.aligncenter {
  margin-left: auto;
  margin-right: auto;
}

    body.single-post  .ast-right-sidebar #secondary {
    border: 0;
}
 body.single-post  .ez-toc-widget-sticky-container.is_stuck .widgettitle {
    padding: 0px;
    margin: 0 0 0px;
    border-radius: 4px 4px 0 0;
}
 body.single-post .ez-toc-widget-sticky .is_stuck .ez-toc-widget-sticky-title-container {
    padding-left: 7px;
    padding-top: 0px;
}
.single.ast-page-builder-template .ast-single-related-posts-container {
    width: 100% !IMPORTANT;
    max-width: 100%;
    padding: 50px 40px;
    background: #efecec;
    margin: 0;
}


/* ==========================================================================
   Scoped Related Posts Styling (Restricted to .ast-related-posts-wrapper)
   ========================================================================== */

/* Main Parent Grid Section */
.ast-related-posts-wrapper {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  margin-top: 40px;
  margin-bottom: 40px;
  max-width: 1300px;
    margin: auto;
}

/* Parent Card Target */
.ast-related-posts-wrapper .ast-related-post {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ast-related-posts-wrapper .ast-related-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.09);
}

/* Image Thumb Container */
.ast-related-posts-wrapper .ast-related-post-featured-section {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #3b3b3b;
  overflow: hidden;
}

.ast-related-posts-wrapper .ast-related-post-featured-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Header Content Padding & Meta Order Fix */
.ast-related-posts-wrapper .ast-related-post-content .entry-header {
  padding: 20px 20px 12px 20px;
  display: flex;
  flex-direction: column;
}

/* Category Badge Styling (Orange Sub-heading) */
.ast-related-posts-wrapper .entry-meta {
  order: -1; /* Display Category above Title */
  margin-bottom: 6px;
}

.ast-related-posts-wrapper .entry-meta .ast-taxonomy-container.cat-links a {
  color: #f59e0b !important;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-decoration: none;
}

/* Hide Unnecessary Meta Attributes (Author, Comments) */
.ast-related-posts-wrapper .entry-meta .comments-link,
.ast-related-posts-wrapper .entry-meta .posted-by {
  display: none !important;
}

/* Article Title */
.ast-related-posts-wrapper .ast-related-post-title.entry-title {
  margin: 4px 0 0 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
}

.ast-related-posts-wrapper .ast-related-post-title.entry-title a {
    color: #0f172a;
    text-decoration: none;
    font-size: 21px !important;
    text-shadow: un;
    line-height: 29px !important;
    display: block;
    text-shadow: o !important;
    stroke: 0;
}
body.single-post .entry-header .entry-meta a {
    color: #000;
    font-weight: 600;
    text-decoration: none;
}
.ast-related-posts-wrapper .ast-related-post-title.entry-title a:hover {
  color: #f59e0b;
}

/* Bottom Divider & Arrow Footer */
.ast-related-posts-wrapper .ast-related-post-content .entry-content {
  margin-top: auto;
  padding: 12px 20px 16px 20px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: flex-end;
      display: none;
}


.ast-related-posts-wrapper .ast-related-post-content .entry-header {
    padding: 20px 20px 12px 20px;
    display: flex;
    flex-direction: column;
    height: unset;
    display: unset;
    
}
.ast-related-posts-wrapper .ast-related-post-content .entry-header .entry-meta {
    display: none;
}

.ast-related-posts-wrapper .ast-related-post-content .entry-header h3 {
    text-shadow: 0 0 black;
        padding: 0px 30px;
}
.ast-page-builder-template .site .site-content #primary {
    padding: 0;
    margin: 0;
    border: 0;
}
div#secondary {
    margin: 0;
    padding: 0;
}
.ast-right-sidebar #secondary {
    border: 0;
}
.widget.ez-toc-widget-sticky {
    margin: 0;
    padding: 0;
}
/* 8. Mobile Responsiveness */
@media (max-width: 768px) {
body.single-post  div#content {
    padding-top: 48px;
}
span.comments-link {
    display: none;
}
body.single-post .entry-header .post-thumb-img-content {
    position: relative;
    top: 0;
    left: 0;
    width: 94%;
    height: 100% !important;
    z-index: 1;
    margin: 0;
}
.ez-toc-mobile-toggle-btn {

    background: #ffa138 !important;
   
}
  .ast-related-posts-wrapper .ast-related-post-title.entry-title a {
    color: #0f172a;
    text-decoration: none;
    font-size: 16px !important;
    text-shadow: un;
    line-height: 30px !important;
    display: block;
    text-shadow: o !important;
    stroke: 0;
    margin-bottom: 20px;
}
  .ast-related-posts-wrapper {
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 20px;
  }
    body.single-post .entry-content h2 {
    font-size: 22px;
    margin-top: 32px;
  }

  body.single-post .entry-content h3 {
    font-size: 18px;
    margin-top: 24px;
  }

  body.single-post .entry-content p,
  body.single-post .entry-content ul li {
    font-size: 15px;
  }
  body.single-post .entry-header {
    min-height: 380px;
    padding: 24px 18px;
    margin: 20px 12px;
    border-radius: 12px;
  }



  body.single-post .entry-header .entry-title {
    font-size: 24px;
    line-height: 1.3;
  }

  body.single-post .entry-header .entry-meta {
    font-size: 13px;
    gap: 8px;
  }
}