.bd-wrap {
    background: #f4f5f7;
    padding-bottom: 10px;
}

.bd-ad-strip {
    text-align: center;
    padding: 14px 0;
}

.bd-article {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    padding: 26px 28px;
    margin-top: 20px;
}

@media (max-width: 767px) {
    .bd-article {
        padding: 18px 16px;
    }
}

.bd-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.bd-cat-pill {
    background: rgba(217,35,45,.1);
    color: #d9232d;
    font-weight: 700;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
}

    .bd-cat-pill:hover {
        color: #a8171f;
        text-decoration: none;
    }

.bd-date {
    color: #6c757d;
    font-size: .82rem;
}

    .bd-date i {
        margin-right: 4px;
        color: #d9232d;
    }

.bd-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #212529;
    font-size: 1.7rem;
    line-height: 1.35;
    margin: 0 0 10px;
}

@media (max-width: 767px) {
    .bd-title {
        font-size: 1.3rem;
    }
}

.bd-byline {
    color: #6c757d;
    font-size: .85rem;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid #eee;
}

    .bd-byline a {
        color: #d9232d;
        font-weight: 600;
    }

.bd-content {
    font-size: 1rem;
    line-height: 1.85;
    color: #333;
    word-wrap: break-word;
}

    .bd-content img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 10px 0;
    }

    .bd-content table {
        max-width: 100%;
        display: block;
        overflow-x: auto;
    }

    .bd-content h2, .bd-content h3, .bd-content h4 {
        color: #d9232d;
        font-weight: 700;
        margin-top: 22px;
    }

    .bd-content a {
        color: #a8171f;
        text-decoration: underline;
    }

.bd-view-count {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(217,35,45,.08);
    color: #d9232d;
    font-weight: 700;
    font-size: .82rem;
    padding: 6px 14px;
    border-radius: 20px;
}

.bd-share-box {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #eee;
}

.bd-section-title {
    font-weight: 700;
    color: #d9232d;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f1f1;
}

.bd-related-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: transform .2s ease, box-shadow .2s ease;
    height: 100%;
}

    .bd-related-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 20px rgba(0,0,0,.13);
    }

    .bd-related-card img {
        width: 100%;
        height: 120px;
        object-fit: cover;
    }

    .bd-related-card p {
        padding: 10px 12px;
        margin: 0;
        font-size: .88rem;
    }

        .bd-related-card p a {
            color: #212529;
        }

            .bd-related-card p a:hover {
                color: #d9232d;
                text-decoration: none;
            }

.bd-comment-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,.07);
    overflow: hidden;
}

    .bd-comment-card .card-header {
        background: #d9232d;
        color: #fff;
        border: none;
    }

        .bd-comment-card .card-header .card-title {
            margin: 0;
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            font-size: 1rem;
        }

.bd-sidebar-box {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    overflow: hidden;
    margin-bottom: 20px;
}

.bd-sidebar-title {
    background: #d9232d;
    color: #fff;
    margin: 0;
    padding: 14px 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
}

.bd-cat-list {
    list-style: none;
    margin: 0;
    padding: 8px;
}

    .bd-cat-list li {
        border-bottom: 1px solid #f1f1f1;
    }

        .bd-cat-list li:last-child {
            border-bottom: none;
        }

    .bd-cat-list a {
        display: block;
        padding: 10px 10px;
        color: #444;
        font-size: .9rem;
        border-radius: 6px;
        transition: background .2s ease, color .2s ease, padding-left .2s ease;
    }

        .bd-cat-list a i {
            color: #d9232d;
            margin-right: 8px;
        }

        .bd-cat-list a:hover {
            background: rgba(217,35,45,.08);
            color: #d9232d;
            padding-left: 16px;
            text-decoration: none;
        }

#bindComment .commentContainer {
    transition: background .2s ease;
}

    #bindComment .commentContainer:hover {
        background: #fafafa;
    }

    #bindComment .commentContainer:last-child {
        border-bottom: none !important;
    }

#bindComment .CommentBoxProfile, #bindComment .replyCommentProfile {
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
}

#bindComment .CommentBoxText, #bindComment .replyCommentText {
    display: block;
    margin: 4px 0;
    color: #333;
}
