﻿/* === Tổng thể khối bài viết === */
.row {
    margin-right: 0px;
    margin-left: 0px;
}

.container-fluid {
    background-color: #fff;
    padding: 15px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
}

/* === Phần hiển thị nội dung chính (col-9) === */
.col-lg-9, .col-md-9, .col-sm-12 {
    padding: 10px;
    background-color: #fff;
}

/* === Tiêu đề chuyên mục === */
.detailTitle {
    font-size: 22px;
    font-weight: 700;
    color: #b30000;
    margin-bottom: 10px;
}

/* === Ngày đăng và nút chia sẻ === */
.dnewsdateleft, .dnewsdateright {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.dnewsdateright {
    text-align: right;
}

    .dnewsdateright a {
        color: #444;
    }

.glyphicon-print {
    font-size: 20px;
}

/* === Tiêu đề bài viết === */
.dnewstitle {
    font-size: 18px;
    font-weight: bold;
    color: #003366;
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: justify;
}

/* === Hình ảnh, mô tả ngắn và nội dung === */
.shortImg {
    text-align: center;
    margin: 15px 0;
}

    .shortImg img {
        max-width: 100%;
        height: auto;
        border-radius: 5px;
    }

.imgDes {
    font-style: italic;
    color: #666;
    margin-top: 5px;
}

.detailContent {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    margin-top: 20px;
    text-align: justify;
}

    .detailContent img {
        display: block;
        max-width: 100%;
        height: auto;
        margin: 5px auto;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
/* === Tác giả, tag, lỗi === */
.detailAuthor {
    font-size: 14px;
    color: #999;
    margin-top: 10px;
    font-style: italic;
}

.slug {
    margin-top: 20px;
    font-size: 15px;
    color: #555;
    font-style: italic;
}

.errCss {
    color: red;
    font-weight: bold;
}

.videoList {
    padding: 5px 3px;
    text-align: left;
}

    .videoList ul {
        list-style-image: url(../images/bullet.gif);
        list-style-position: inside;
        margin-left: 5px;
    }

        .videoList ul li a {
            text-decoration: none;
            color: #0033cc;
        }

            .videoList ul li a:hover {
                text-decoration: underline;
                color: #ff0033;
            }

.videoMore {
    float: right;
    font-style: italic;
    padding-right: 10px;
}

    .videoMore a {
        color: #666666;
        text-decoration: none;
    }

        .videoMore a:hover {
            color: #ff0033;
            text-decoration: underline;
        }
/* === Video === */
.video {
    margin: 20px auto;
    text-align: center;
}

    .video iframe, .video video {
        max-width: 100%;
        border-radius: 6px;
    }

/* === Khoảng cách các khối === */
.blank-10 {
    height: 15px;
}

.boxright_top {
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    color: #ffffff;
    /* Cùng màu với thanh tiêu đề tin tức/thông báo của cuộc thi. Đỏ chỉ còn
       là màu dự phòng khi trang không nạp ContestTheme. */
    background-image: linear-gradient(var(--contest-section-header-dark, #b80101), var(--contest-section-header, #a50202));
    border-radius: 6px 6px 0px 0px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

    .boxright_top a {
        color: #ffffff;
        text-decoration: none;
    }

        .boxright_top a:hover {
            color: #ffff00;
        }

.boxright_bg {
    box-sizing: border-box;
    width: 100%;
    color: #000000;
    text-align: justify;
    padding: 5px;
    height: auto;
    border: solid 1px #f0f0f0;
    border-radius: 0px 0px 4px 4px;
    box-shadow: 3px 3px 5px #ccc;
}

.boxright_bg_nopadding {
    width: 100%;
    color: #000000;
    text-align: justify;
    padding: 0px;
    height: auto;
    border: solid 1px #f0f0f0;
    border-radius: 0px 0px 4px 4px;
    box-shadow: 3px 3px 5px #ccc;
}
/* === Responsive chỉnh nhẹ === */
@media (max-width: 768px) {
    .dnewsdateright {
        text-align: left;
        margin-top: 10px;
    }

    .dnewstitle {
        font-size: 18px;
    }

    .detailContent {
        font-size: 16px;
    }

        .detailContent img {
            max-width: 100%;
            margin: 2px auto;
        }
}
