.blog-detail-page {
    background: #f7f7f7;
}

.container-1200 {
    max-width: 1240px;
    margin: 0 auto;
    padding-left: 18px;
    padding-right: 18px;
}

.section-padding {
    padding-top: 40px;
    padding-bottom: 60px;
}

.bd-main-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 255px;
    gap: 18px;
    align-items: flex-start;
}

/* Main card */
.bd-content-area {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 14px;
    overflow: hidden;
}

/* Featured image card */
.bd-featured-card {
    position: relative;
    height: 307px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 14px;
}

.bd-featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dark bottom overlay like screenshot */
.bd-featured-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 42%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
    z-index: 1;
}

.bd-featured-overlay {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 17px;
    z-index: 2;
}

.bd-featured-overlay h1 {
    font-size: 17px;
    line-height: 1.35;
    color: #ffffff;
    font-weight: 700;
    margin: 0 0 8px;
}

.bd-category-pill {
    display: inline-block;
    background: #ffffff;
    color: #22aeea;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 13px;
    border-radius: 20px;
}

/* Article body */
.bd-article-body {
    padding: 12px 14px 4px;
    color: #000;
    font-size: 13px;
    line-height: 1.65;
}

.bd-article-body p {
    margin-bottom: 14px;
}

.bd-article-body h2,
.bd-article-body h3 {
    color: #000;
    font-weight: 700;
    margin: 20px 0 10px;
    line-height: 1.35;
}

.bd-article-body h2 {
    font-size: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid #2bb8ed;
}

.bd-article-body h3 {
    font-size: 16px;
}

.bd-article-body ul,
.bd-article-body ol {
    padding-left: 18px;
    margin-bottom: 14px;
}

.bd-article-body li {
    margin-bottom: 8px;
}

.bd-article-body li::marker {
    color: #22aeea;
}

.bd-article-body a {
    color: #128bc6;
    text-decoration: none;
}

.bd-article-body a:hover {
    text-decoration: underline;
}

/* FAQ */
.bd-faq-section {
    margin: 25px 14px;
}

.bd-faq-section h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.bd-faq-item {
    background: #f7f9fb;
    border: 1px solid #e5edf3;
    border-radius: 6px;
    padding: 14px;
    margin-bottom: 12px;
}

.bd-faq-item strong {
    display: block;
    font-size: 15px;
    color: #000;
    margin-bottom: 8px;
}

.bd-faq-answer {
    font-size: 13px;
    line-height: 1.6;
}

/* Right related sidebar */
.bd-related-sidebar {
    width: 100%;
}

.bd-sidebar-title {
    font-size: 15px;
    font-weight: 700;
    color: #000;
    margin: 25px 0 12px;
}

.bd-related-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 9px;
    margin-bottom: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.bd-related-img {
    display: block;
    width: 100%;
    height: 118px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 12px;
}

.bd-related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.bd-related-card:hover .bd-related-img img {
    transform: scale(1.04);
}

.bd-related-content {
    padding: 0 2px 2px;
}

.bd-related-content h4 {
    margin: 0 0 7px;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
}

.bd-related-content h4 a {
    color: #000;
    text-decoration: none;
}

.bd-related-content h4 a:hover {
    color: #168fc8;
}

.bd-related-content p {
    font-size: 11px;
    line-height: 1.55;
    color: #000;
    margin: 0 0 8px;
}

.bd-read-more {
    display: inline-block;
    font-size: 11px;
    color: #22aeea;
    text-decoration: none;
    font-weight: 500;
}

.bd-read-more:hover {
    color: #057eb8;
}

.bd-no-related {
    font-size: 13px;
    color: #777;
}

/* Responsive */
@media (max-width: 991px) {
    .bd-main-layout {
        grid-template-columns: 1fr;
    }

    .bd-related-sidebar {
        margin-top: 20px;
    }

    .bd-sidebar-title {
        margin-top: 0;
    }
}

@media (max-width: 575px) {
    .section-padding {
        padding-top: 25px;
    }

    .bd-content-area {
        padding: 10px;
    }

    .bd-featured-card {
        height: 235px;
    }

    .bd-featured-overlay h1 {
        font-size: 15px;
    }

    .bd-article-body {
        padding: 10px 6px 4px;
    }
}