/* =========================================
   BLOG DETAIL PAGE  —  blog-detail.css
   Matches screenshot exactly
   ========================================= */

:root {
    --bd-cyan:    #29C3D4;
    --bd-cyan-dk: #1FA8B8;
    --bd-dark:    #1a1a1a;
    --bd-text:    #333;
    --bd-muted:   #666;
    --bd-bg:      #f0f0f0;
    --bd-white:   #ffffff;
    --bd-border:  #e5e9f0;
    --bd-shadow:  0 2px 14px rgba(0,0,0,.07);
    --bd-radius:  8px;
}

/* ============================================
   BLOG DETAIL PAGE STYLES
   ============================================ */

/* Hero Section */
.blog-detail-hero {
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-category {
    display: inline-block;
    background: #F9AF40;
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px;
    line-height: 1.2;
    max-width: 800px;
}

.hero-meta {
    color: #ccc;
    font-size: 16px;
}

.hero-meta .separator {
    margin: 0 10px;
    color: #FBB040;
}

/* Main Layout */
.bd-page {
    padding: 60px 0;
    background: #f9f9f9;
}

.bd-outer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bd-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

/* Article Content */
.bd-body {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    font-size: 16px;
    line-height: 1.8;
    color: #000;
}

.bd-body p {
    margin-bottom: 2px;
}

.bd-body h2 {
    color: #000000;
    margin-top: 15px;
    margin-bottom: 5px;
}
.bd-body h3{
    color: #000000;
    margin-top: 0px;
    margin-bottom: 0px;
}

/* FAQ Section */
.bd-faq {
    margin-top: 40px;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.bd-faq-heading {
    font-size: 28px;
    color: #6b2d9e;
    margin: 0 0 30px;
}

.bd-faq-item {
    border-bottom: 1px solid #eee;
}

.bd-faq-item:last-child {
    border-bottom: none;
}

.bd-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-size: 16spx;
    font-weight: 400;
    color: #333;
    transition: color 0.3s;
}

.bd-faq-question:hover {
    color: #6b2d9e;
}

.faq-icon {
    transition: transform 0.3s;
    stroke: #FBB040;
}

.bd-faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.bd-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: #555;
    line-height: 1.7;
}

.bd-faq-item.active .bd-faq-answer {
    max-height: 500px;
    padding-bottom: 20px;
}

/* Sidebar */
.bd-sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
}

.bd-widget {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.bd-widget-title {
    font-size: 20px;
    font-weight: 700;
    color: #6b2d9e;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FBB040;
}

.bd-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bd-category-list li {
    margin-bottom: 10px;
}

.bd-category-list a {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    background: #f8f8f8;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: all 0.3s;
}

.bd-category-list a:hover {
    background: #6b2d9e;
    color: #fff;
}

.bd-category-list a span {
    background: #FBB040;
    color: #000;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.bd-related-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bd-related-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.bd-related-item:hover {
    color: #6b2d9e;
}

.bd-related-thumb {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
}

.bd-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bd-thumb-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: #eee;
}

.bd-related-label {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    display: flex;
    align-items: center;
}

.bd-empty-note {
    color: #888;
    font-size: 14px;
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
    .bd-layout {
        grid-template-columns: 1fr;
    }
    .bd-sidebar {
        position: static;
    }
    .hero-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .blog-detail-hero {
        min-height: 300px;
        padding-bottom: 40px;
    }
    .hero-title {
        font-size: 26px;
    }
    .bd-body, .bd-faq, .bd-widget {
        padding: 25px;
    }
}


/* Blog Content Links */


.blog-content a {
    color: #6b2d9e;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}



.blog-content a:hover {
    color: #FBB040;
    border-bottom-color: #FBB040;
}
.bd-body a{
   color: #6b2d9e;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;   
}

img {
    width: 100%;
}

ul,ol{
    margin-left: 20px;
}

table
{
    border: 2px solid black;
    border-collapse: collapse;
    padding: 10px;
}

th,td{
    padding: 5px;
    border: 2px solid black;
    
}