﻿.banner-title2 {
    max-width: 100% !important;
    color: var(--Background, #EFEFEF);
    font-family: "NVN Auxilia",sans-serif;
    font-size: 42px !important;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: "▸"; /* Ký tự tam giác đen */
    color: black; /* Màu đen */
    font-size: 19px; /* Tăng kích thước */
    font-weight: bold; /* Làm đậm nếu cần */
    display: inline-block;
}

.breadcrumb .breadcrumb-item a {
    color: var(--Black, #000);
    text-align: center;
    font-family: "NVN Auxilia",sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.breadcrumb .breadcrumb-item a:hover {
    color: red;
}

.new-post-detail {
    background: #F5F5F3;
}

.post-main {
    --bs-gutter-x: 4rem !important;
}

/* col-left */
.left-col {
    padding: 30px;
    background: #fff;
    border: 1px solid #ddd;
}

.left-col div div p iframe{
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
}
.content {
    padding: 20px;
}
.tags {
    font-size: 14px;
    color: #666;
    display: flex;
    gap: 20px;
}
.tags a {
    color: #666;
    text-decoration: none;
}
.tags a:hover {
    text-decoration: underline;
}

.post-like a{
    display: flex;
    align-items: center;
}

.social-icon-like {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 36px;
    width: 36px;
    border-radius: 99px;
    border: 0.5px solid var(--Black, #000);
    background: var(--White, #FFF);
}

.social-icons {
    display: flex;
    gap: 20px;
    align-items: center !important;
}

.social-icons a {
    color: #666;
    margin-right: 10px;
}
.social-icons a:hover {
    color: #000;
}

.social-icon-elements {
    display: flex;
    justify-content: end;
    align-items: normal;
    height: 36px;
    width: 36px;
    border-radius: 99px;
    border: 0.5px solid var(--Black, #000);
    background: var(--White, #FFF);
}

.mt--24 {
    margin-top: 24px !important;
}

.like-comment {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 20px;
}
.like-comment i {
    margin-right: 5px;
}
.bookmark {
    float: right;
    color: #d9534f;
}
.bookmark:hover {
    color: #c9302c;
}

.post-name {
    margin-top: 24px !important;
    margin-bottom: 0px !important;
    color: var(--Black, #000);
    font-family: "NVN Auxilia", sans-serif;
    font-size: 42px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.tag1 {
    background-color: rgba(224, 172, 0, 0.10);
    display: flex;
    width: 28px;
    justify-content: center;
    align-items: center;
    padding: 6px;
}

.tag2 {
    background-color: rgba(237, 28, 36, 0.10);
    display: flex;
    width: 36px;
    justify-content: center;
    align-items: center;
    padding: 8px;
}

.tag-title {
    color: var(--Black, #000);
    font-family: "NVN Auxilia",sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.tag-elements {
    color: var(--Black, #000);
    font-family: "NVN Auxilia",sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.post-overview {
    color: var(--Black, #000);
    font-family: "NVN Auxilia";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.post-content p {
    margin-bottom: 24px !important;
    text-align: start !important;
}

.post-content p span span a span img {
    width: 100% !important;
    height: auto !important;
}

.post-content p span span strong {
    color: var(--Black, #000);
    text-align: justify;
    font-family: "NVN Auxilia",sans-serif;
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
    line-height: normal;
}

.post-content p strong span span em span {
    font-weight: bold !important;
}

.post-content p span span span img {
    height: auto !important;
    width: 100% !important;
}

.post-content p span span strong em span {
    font-weight: bold !important;
}

.post-content p span span span{
    color: var(--Black, #000) !important;
    font-family: "NVN Auxilia",sans-serif !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
}

.post-content p span span strong span {
    font-weight: bold !important;
}

.post-content p span span a span{
    color : #0c63e4 !important;
    font-size: 16px !important;
}

.post-content p span span em span {
    font-weight: bold !important;
}

.post-content p span span span img {
    width: 100% !important;
}

.pdf-container iframe {
    width: 100%;
    height: 800px;
}

/* col-right */
.left-post-container {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background-color: white;
    padding: 30px;
    top: 20px;
    border: 1px solid #ddd;
}

/* Search Box */
.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    overflow: hidden;
    height: 56px;
}

.search-box input {
    flex: 1;
    /*padding: 10px;*/
    border: none;
    outline: none;
}

.search-box button {
    background: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}
.fa-search:before {
    color: #808080;
}

/* Recent Posts */
.recent-post-title {
    border-bottom: 1px solid #D8D4CE;
}
.recent-post-title h3 {
    color: var(--Black, #000);
    font-family: "NVN Auxilia",sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.recent-posts h3,
.tags h3,
.categories h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 0px !important;
    border-bottom: 2px solid #D8D4CE;
    height: 49px !important;
}
.recent-posts{
    display: flex;
    gap:24px;
    flex-direction: column;
}
.post-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-item img {
    width: 85px;
    height: 85px;
    object-fit: cover;
    max-width: none !important;
}

.post-info {
    display: flex;
    flex-direction: column;
    gap:10px;
}

.post-title {
    font-size: 18px;
    font-weight: 700;
    color:black;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-date {
    font-size: 16px;
    color: gray;
}

/* comment */
.comment-card {
    margin-top: 20px;
    border-top: 1px solid #D8D4CE;
    border-bottom: 1px solid #D8D4CE;
}

.comment-title {
    color: black;
    font-family: "NVN Auxilia",sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 20px 0;
}

.comment-box {
    width: 100%;
    background: white !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 20px !important;
    height: 80px !important;
    margin-bottom: 20px;
    font-size: 18px;
}
.send-button {
    background-color: red;
    color: white;
    display: flex;
    padding: 14px 28px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: none;
    font-family: "NVN Auxilia",sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 20px;
}

/* list-comment */

.comment-list-item {
    border-bottom: 1px solid #D8D4CE;
    flex-direction: column;
}

.comment-list-item-nametime {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.comment-list-item-name {
    color: black !important;
    font-family: "NVN Auxilia",sans-serif !important;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 14px;
}

.comment-list-item-name a {
    color: black !important;
}

.comment-list-item-des {
    color: black;
    font-family: "NVN Auxilia",sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.text-muted {
    color: #666;
    font-family: "NVN Auxilia",sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* the earth */
.view-all {
    padding: 16px 28px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 1px solid #D8D4CE;
    color: #000 !important;
    font-family: "NVN Auxilia",sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    width: fit-content;
    display: inline-block;
}

.view-all:hover {
    background: var(--color-primary);
    color: #fff !important;
}

.pagination {
    margin-bottom: 0px !important;
    display: flex;
    justify-content: start;
    list-style: none;
    padding: 0;
}

.page-item {
    margin: 0 5px;
}

.page-link {
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--black-60, rgba(0, 0, 0, 0.50));
    text-align: center;
    font-family: "NVN Auxilia",sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.page-link:hover {
    color: #ED1C24;
}

.page-item.active .page-link {
    background-color: red;
    color: white;
    border: none;
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    cursor: not-allowed;
}

#postCommentInput {
    padding: 20px;
    width: 100%;
    height: 80px;
    background-color: white;
    color: #666;
    text-align: justify;
    font-family: "NVN Auxilia",sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

#btnSubmitPostComment {
    border-radius: 0px !important;
}

#comment-area {
    border-bottom: 1px solid #D8D4CE;
    margin: 20px 0;
}

#commentTitle {
    border-top: 1px solid #D8D4CE;
}

.video-player-wrapper {
    position: relative;
}

.video-player-wrapper video {
    width: 100%;
    height: 100%;
}

/* Nút Play lớn ở giữa */
.plyr__control--overlaid {
    background-color: #ff5733 !important;
    color: white !important;
}

/* Nút Play/Pause nhỏ ở thanh điều khiển */

/* Thanh thời gian */
.plyr__progress input[type=range] {
    color: #ED1C24 !important; /* Màu của phần đã xem */
}

/* Thanh thời gian buffer */
.plyr__progress__buffer {
    background-color: #e0e0e0 !important;
}

/* Thanh thời gian đã xem */
.plyr__progress__filled {
    background-color: #ED1C24 !important;
}

/* Hover các nút control */
.plyr__control:hover {
    background-color: #ED1C24 !important;
}

/* Tùy chỉnh màu icon nếu cần */
.plyr__control svg {
    fill: white !important;
}

.plyr__volume input[type=range]{
    color: #ED1C24 !important;
}


@media screen and (max-width: 768px){
    .post-main {
        flex-direction: column;
    }
    
    .post-main .col-md-8 {
        width: 100% !important;
    }
    
    .post-name {
        color: var(--Black, #000);
        font-family: "NVN Auxilia",sans-serif;
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }
    
    .post-overview {
        color: var(--Black, #000);
        font-family: "NVN Auxilia",sans-serif;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }
    
    .post-content {
        color: var(--Black, #000);
        font-family: "NVN Auxilia",sans-serif;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    .pdf-container iframe {
        width: 100%;
        height: 510px;
    }
    
    .post-content p{
        text-align: start !important;
    }
    
    .post-main .col-md-4 {
        width: 100% !important;
    }
    
    #pagination {
        margin-bottom: 40px !important;
    } 
}




