/* =========================================
   BLOG DETAIL PREMIUM STYLES
   ========================================= */

/* Header Meta Text */
.bd-meta-subtitle {
    margin-top: 10px;
    color: var(--text-body);
    font-size: 16px;
    font-weight: 500;
}

/* Featured Image Wrapper */
.bd-featured-wrap {
    width: 100%;
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.03);
}
.bd-featured-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* Content Typography */
.bd-entry-content {
    color: #000000;
    font-size: 16px;
    line-height: 1.8;
    border: 3px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 30px;
}

.bd-entry-content h2, .bd-entry-content h3 {
    color: var(--text-dark);
    font-weight: 800;
    margin: 40px 0 20px;
    line-height: 1.3;
}

.bd-entry-content h2 { font-size: 28px; }
.bd-entry-content h3 { font-size: 22px; }

.bd-entry-content p { margin-bottom: 25px; }

.bd-entry-content ul, .bd-entry-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.bd-entry-content li { margin-bottom: 12px; }

.bd-entry-content a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}



.bd-faq-heading {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 30px !important;
}

.bd-faq-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.bd-faq-q {
    display: block;
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.bd-faq-a {
    color: #000000;
    font-size: 15px;
    line-height: 1.6;
}

/* Sidebar sticky behavior for desktop */
@media (min-width: 992px) {
    .bi-sidebar {
        position: sticky;
        top: 20px;
    }
}

.blog-detail-page {
    background: #ffffff;
    padding: 28px 0 70px;
}

.bd-title-wrap {
    margin-bottom: 34px;
}

.bd-main-title {
    font-size: 30px;
    line-height: 1.25;
    font-weight: 900;
    color: #1d1d1d;
    margin: 0;
    font-family: Georgia, serif;
}

.bd-figma-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 36px;
    align-items: start;
}

.bd-figma-content {
    min-width: 0;
}

.bd-featured-wrap {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 28px;
    background: #e8f8ff;
}

.bd-featured-wrap img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

.bd-content-card {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    padding: 28px 28px;
    margin-bottom: 28px;
}

.bd-entry-content h2 {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 900;
    color: #000;
    margin: 28px 0 14px;
    /* font-family: Georgia, serif; */
}

.bd-entry-content h3 {
    font-size: 18px;
    font-weight: 900;
    color: #000;
    margin: 24px 0 10px;
}

.bd-entry-content p {
    font-size: 15px;
    line-height: 1.9;
    color: #111;
    margin-bottom: 18px;
}

.bd-entry-content ul,
.bd-entry-content ol {
    margin: 0 0 20px 22px;
    padding: 0;
}

.bd-entry-content li {
    font-size: 15px;
    line-height: 1.8;
    color: #111;
    margin-bottom: 8px;
}

.bd-figma-sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: sticky;
    top: 100px;
}

.bi-widget {
    background: #fff;
    border: 1px solid #eeeeee;
    padding: 26px 22px;
}

.bi-widget-title {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #111;
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e8f4f2;
}

.bi-widget-title span {
    color: #38b2ac;
}

.bi-category-list,
.bi-recent-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bi-category-list li {
    margin-bottom: 13px;
}

.bi-category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #111;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.bi-category-list a:hover,
.bi-category-list a.is-active {
    color: #38b2ac;
}

.bi-category-list span {
    min-width: 18px;
    height: 18px;
    border-radius: 20px;
    background: #e6fffc;
    color: #38b2ac;
    font-size: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bi-recent-list li {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.bi-recent-list li:last-child {
    margin-bottom: 0;
}

.bi-recent-thumb {
    display: block;
    width: 70px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    background: #f1f1f1;
}

.bi-recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bi-recent-info a {
    color: #111;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 800;
    text-decoration: none;
}

.bi-recent-info a:hover {
    color: #38b2ac;
}

.bi-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bi-tags-cloud a {
    background: #f7f7f7;
    color: #666;
    padding: 6px 8px;
    font-size: 9px;
    line-height: 1.3;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.bi-tags-cloud a:hover {
    background: #38b2ac;
    color: #fff;
}

.bd-faq-block {
    background: #e6fffc;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    padding: 28px;
    margin-bottom: 28px;
}

.bd-faq-heading {
    font-size: 24px;
    font-weight: 900;
    margin: 0 0 18px;
    color: #000;
    /* font-family: Georgia, serif; */
}

.bd-faq-card {
    border-top: 1px solid #eee;
    padding: 20px 20px;
}

.bd-faq-q {
    display: block;
    font-size: 15px;
    font-weight: 900;
    color: #000;
    margin-bottom: 8px;
}

.bd-faq-a {
    font-size: 15px;
    line-height: 1.8;
    color: #111;
}

@media (max-width: 991px) {
    .bd-figma-layout {
        grid-template-columns: 1fr;
    }

    .bd-figma-sidebar {
        position: static;
    }

    .bd-featured-wrap img {
        height: 280px;
    }
}

@media (max-width: 575px) {
    .blog-detail-page {
        padding-top: 20px;
    }

    .bd-main-title {
        font-size: 24px;
    }

    .bd-featured-wrap img {
        height: 220px;
    }

    .bd-content-card,
    .bd-faq-block {
        padding: 20px 16px;
    }

    .bd-entry-content h2,
    .bd-faq-heading {
        font-size: 21px;
    }
}