/* ========================================= BLOG DETAIL PAGE CUSTOM STYLES ========================================= */
:root {
    --primary:    #004893;   /* primary blue */
    --secondary:  #0092EF;   /* secondary blue */
    --bg-light:   #E6F5FF;   /* background */
    --grad-1:     #E1F3FF;   /* radial gradient start */
    --grad-2:     #0092EF;   /* radial gradient end */
    --container-max: 1200px;
    --container-pad: 20px;
}
.blog-detail-page {
  background-color: var(--bg-page);
  min-height: 100vh;
  padding-left: 10px;
  padding-right: 10px;
}
.section-padding {
  padding: 50px 0;
}
.bd-header-banner {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 35px 0;
}
/* HEADER CSS BLOG NEW */
/* ============================================
   BLOG HERO SECTION STYLES
   ============================================ */

/* Section 1 Start - Blog Hero Section */
.blog-hero-section {
    position: relative;
    padding: 100px 20px 80px;
    background-image: url('../img/downloaded/Blogs.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 300px;
    display: flex;
    align-items: center;
}

.blog-hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.blog-hero-section .hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.blog-hero-section .hero-content {
    text-align: left;
}

.blog-hero-section h1,
.blog-hero-section .hero-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 auto 15px;
    max-width: 900px;
    text-align: center;
}

.blog-hero-section .breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-hero-section .breadcrumb-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.blog-hero-section .breadcrumb-link:hover {
    color: #004893;
}

.blog-hero-section .breadcrumb-separator {
    display: flex;
    align-items: center;
}

.blog-hero-section .breadcrumb-current {
    color: #004893;
    font-size: 14px;
    font-weight: 600;
}
/* Section 1 End */

/* Responsive */
@media (max-width: 768px) {
    .blog-hero-section {
        padding: 32px 0;
    }

    .blog-hero-section h1,
    .blog-hero-section .hero-title {
        font-size: 26px;
        line-height: 1.3;
    }

    .bd-article-body h2,
    .bd-faq-section h2 {
        font-size: 22px;
    }

    .bd-article-body h3 {
        font-size: 18px;
    }

    .bd-article-body p,
    .bd-article-body li,
    .bd-faq-item strong {
        font-size: 15px;
    }

    .bd-widget-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .blog-hero-section .hero-title {
        font-size: 24px;
    }
}
.bd-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bd-page-title {
  margin: 0 0 5px;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
}
.bd-page-subtitle {
  margin: 0;
  color: #0F0F0F;
  font-size: 15px;
}
.bd-breadcrumb {
  font-size: 13px;
  color: #888;
  font-weight: 500;
}
.bd-breadcrumb a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s;
}
.bd-breadcrumb a:hover {
  color: var(--primary);
}
.bd-breadcrumb span {
  color: #666;
}
.bd-main-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 50px;
  align-items: start;
}
.bd-featured-image {
  width: 100%;
  margin-bottom: 35px;
  
}
.bd-featured-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.bd-article-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 40px 0 15px;
  line-height: 1.3;
}
.bd-article-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 30px 0 15px;
}
.bd-article-body p {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.bd-article-body strong,
.bd-article-body b {
  color: var(--text-dark);
  font-weight: 700;
}
.bd-article-body ul,
.bd-article-body ol {
  margin-bottom: 20px;
  padding-left: 20px;
  color: var(--text-body);
}
.bd-article-body li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 15px;
}
.bd-article-body a {
  color: #004893;

  
}
.bd-article-body a:hover {
  text-decoration: none;
}
.bd-faq-section {
    background: #E6F5FF;
  border: 1px solid #004893;
  padding: 30px;
  margin: 40px 0;
}
.bd-faq-section h2 {
  margin-top: 0;
  font-size: 22px;
  margin-bottom: 20px;
}
.bd-faq-item {
  margin-bottom: 20px;
}
.bd-faq-item strong {
  display: block;
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.bd-sidebar {
  background-color: var(--sidebar-bg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  height: 100%;
}

.bd-widget{
  
    background: #E6F5FF;
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 4px;

}
.bd-widget-title {
  font-size: 15px;
  font-weight: 800;
  color:  #004893;
  margin: 0 0 15px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.bd-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bd-category-list li {
  margin-bottom: -1px;
}
.bd-category-list a {
  display: block;
  padding: 12px 16px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.bd-category-list a:hover,
.bd-category-list a.is-active {
  color:  #004893;

  background-color: #E6F5FF;
}
.bd-recent-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.bd-recent-list li {
  display: flex;
  align-items: center;
  gap: 15px;
}
.bd-recent-list img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border: 1px solid var(--border-color);
  background-color: #fff;
  padding: 2px;
}
.bd-thumb-placeholder {
  width: 65px;
  height: 65px;
  background: #e9ecef;
  border: 1px solid var(--border-color);
}
.bd-recent-list a {
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.3s;
}
.bd-recent-list a:hover {
  color: #004893;

}
.bd-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bd-tags-cloud a {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  color: #666;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
}
.bd-tags-cloud a:hover {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}
@media (max-width: 1024px) {
  .bd-main-layout {
    grid-template-columns: 1fr 280px;
    gap: 30px;
  }
}
@media (max-width: 991px) {
  .bd-header-flex {
    flex-direction: column;
    text-align: left;
    gap: 15px;
  }
  .bd-main-layout {
    grid-template-columns: 1fr;
  }
  .bd-sidebar {
    order: 2;
    padding: 0px;
  }
}
@media (max-width: 767px) {
  .bd-page-title {
    font-size: 24px;
  }
  .section-padding {
    padding: 40px 0;
  }
  
}

img {
    width: 100%;
}
/* ===== Blog hero responsive heights ===== */
@media (max-width: 1024px){
    .blog-hero-section{
        height: 320px;
        min-height: 320px;
    }
}
@media (max-width: 820px){
    .blog-hero-section{
        height: 280px;
        min-height: 280px;
    }
}
@media (max-width: 786px){
    .blog-hero-section{
        height: 240px;
        min-height: 240px;
    }
}
@media (max-width: 500px){
    .blog-hero-section{
        height: 160px;
        min-height: 160px;
    }
}

@media (max-width: 330px) {
    .blog-hero-section {
        height: auto;
        min-height: 0;
        padding: 28px 0;
    }

    .blog-hero-section .container-1200 {
        padding: 0 12px;
    }

    .blog-hero-section h1,
    .blog-hero-section .hero-title {
        font-size: 18px;
        line-height: 1.3;
        margin-bottom: 10px;
        max-width: 100%;
    }

    .blog-hero-section ul,
    .page-hero ul {
        gap: 4px;
    }

    .blog-hero-section ul li,
    .page-hero ul li {
        font-size: 9px;
        letter-spacing: 0.4px;
    }

    .blog-detail-page {
        padding-left: 0;
        padding-right: 0;
    }

    .blog-detail-page .section-padding {
        padding: 28px 0;
    }

    .bd-main-layout {
        gap: 28px;
    }

    .bd-featured-image {
        margin-bottom: 20px;
    }

    .bd-article-body h2 {
        font-size: 20px;
        margin: 24px 0 12px;
    }

    .bd-article-body h3 {
        font-size: 17px;
        margin: 20px 0 10px;
    }

    .bd-article-body p,
    .bd-article-body li {
        font-size: 14px;
        line-height: 1.6;
    }

    .bd-faq-section h2 {
        font-size: 20px;
    }

    .bd-sidebar {
        padding: 16px;
    }
}