@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400;1,700&display=swap');

/* Section banner */
html {
    scroll-padding-top: 80px;
    scroll-behavior: smooth;
}
.section-banner  {
    min-height: 400px;
    background: url('../images/post/bai-post-banner-02.jpg') top center / cover no-repeat;
}

.section-banner  a {
    min-height: 400px;
    cursor: pointer;
}

.banner img {
    aspect-ratio: 1920/400;
}

.title-post {
    min-height: 92px;
    border-radius: 30px;
    background: url('../images/post/OLO2DT0.webp') top center / cover no-repeat;
    padding: 20px 150px 20px 25px;
    color: var(--white);
    font-family: 'SVNGilroyBold';
    font-size: 22px;
}

.title-post h1 {
    color: var(--white);
    font-family: 'SVNGilroyBold';
    font-size: 22px;
}

.title-post .img {
    bottom: 0;
    right: 20px;
}

.title-post img {
    width: 154px;
}

.wrapper-content {
    gap: 20px;
}

.list-social img {
    width: 45px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.list-social img:hover {
    transform: translateY(-3px);
}

.content-post {
    flex: 1;
    padding: 28px 20px;
    border-radius: 30px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    margin-bottom: 30px;
}

.content-post b, .content-post strong, .content-post h1, .content-post h2, .content-post h3, .content-post h4 {
    font-family: "SVNGilroyBold";
    font-weight: bold;
}

.content-post ol, .content-post ul {
    padding-left: 2rem;
}

.content-post ul {
    list-style-type: square;
}

.content-post ol {
    list-style-type: auto;
}

.content-post p::selection, .content-post div::selection {
    background-color: #3298fd;
    color: white;
}

.table-of-contents {
    padding: 12px;
    border: 1px solid var(--color-primary);
    border-radius: 10px;
    margin-bottom: 12px;
}

.table-of-contents ul {
    padding: 0;
}
.toc-hierarchy ul {
    list-style-type: none;
    padding-left: 20px;
}

.toc-hierarchy > ul {
    padding-left: 0;
}

.toc-hierarchy li {
    margin: 5px 0;
}

.toc-h2 {
    font-weight: bold;
    cursor: pointer;
}

.toc-link {
    text-decoration: none;
    color: #333;
    display: inline-block;
}



.toggle-submenu {
    cursor: pointer;
    margin-left: 5px;
}

.submenu {
    list-style-type: none;
    padding-left: 20px;
}

.submenu {
    list-style-type: none;
    padding-left: 20px;
}

.toc-link {
    text-decoration: none;
    color: #333;
}

.toc-link:hover, .toc-link.active {
    text-decoration: underline;
}

.toc-subsection {
    display: none;
}

.content-post .table-of-contents .title {
    font-family: 'SVNGilroyBold';
    font-size: 18px;
    color: var(--black);
    margin-bottom: 8px;
}

.content-post p, .content-post ul li {
    font-size: 16px;
}

.content-post .table-of-contents ul {
    list-style-type: square;
}

.content-post .table-of-contents ul ul {
    list-style-type: circle;
}

.content-post .table-of-contents ul ul ul {
    list-style-type: disc;
}

.content-post .table-of-contents li {
    margin-bottom: 0 !important;
}

.content-post .table-of-contents li > * {
    vertical-align: text-top;
}

.content-post .table-of-contents span, .content-post .table-of-contents li {
    font-size: 15px;
    color: var(--black);
}

.content-post .table-of-contents span {
    font-style: normal;
}

.content-post .table-of-contents a:active {
    text-decoration: underline;
}

.content-post h2 {
    font-size: 20px;
    margin: 25px 0 20px 0;
    color: #D32128;
}

.content-post h3 {
    font-size: 18px;
    margin: 20px 0 15px 0;
}

.content-post h4 {
    font-size: 18px;
    margin: 20px 0 15px 0;
}

.content-post img {
    max-width: 100%;
    height: auto !important;
}

.content-post img {
    /*height: auto !important;
    aspect-ratio: 600/333;*/
}

.content-post ul li {
    margin-bottom: 10px;
}

.content-post .form-post {
    max-width: 600px;
    border: 3px solid #c51d1e;
    margin: auto;
    border-radius: 25px;
    overflow: hidden;
}


.content-post blockquote {
    width: 90%;
    margin: 25px auto;
    position: relative;
    display: flex;
}
/*.content-post blockquote h1 {
    font-size: 4rem;
}*/
.content-post blockquote p {
    font-style: italic;
    margin-bottom: 0;
    padding-left: 10px;
}

.content-post blockquote p::before {
    content: "“";
    top: -50px;
    left: -50px;
}

.content-post blockquote p::before,
.content-post blockquote p::after {
    /*content: "“";
    margin: -2rem 0 0 -4rem;*/

    font-family: Georgia;
    font-size: 8rem;
    position: absolute;
    opacity: 0.5;
    width: 35px;
    height: 35px;
}

.content-post blockquote p::after {
    content: "”";
    /*margin: -1rem -4rem 0 0;*/
    bottom: 35px;
    right: -5px;
}

.content-post blockquote cite {
    font-size: 1.5rem;
}



.toc-hierarchy {
    display: block; /* Luôn hiển thị nội dung */
}

.list-social img {
    display: block;
    margin: auto; /* Đảm bảo các icon được căn giữa */
}

.form-post .title-form {
    padding-top: 20px;
    background-color: white;
}

.form-post .title-form p {
    color: #c51d1e;
    font-size: 25px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 0;
}

.form-post .content-form {
    padding: 2rem;
    position: relative;
    background-color: white;
}

.form-post button {
    width: 100%;
    justify-content: center;
    display: flex;
    left: 0;
    right: 0;
    margin: auto;
    background-color: #d52326;
    border: none;
    color: white;
    padding: 10px;
    border-radius: 7px;
}
iframe {
    width: 100%;
}
.post-meta span {
    font-weight: bold;
}

@keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
    50% {
        -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1);
    }
    100% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
}

.form-post #send-personal-info {
    animation-name: pulse;
    -webkit-animation-name: pulse;
    animation-delay: 0s;
    -webkit-animation-delay: 0s;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
}

.box-related-contents {
    background-color: #f8f8f8;
    padding: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 2px dashed #d32128;
    margin: 10px 0;
}

.box-related-contents .title {
    font-size: 20px;
    font-weight: bold;
    color: #0078af;
    padding-left: 5px;
    margin-bottom: 10px;
}

.box-related-contents ul {
    list-style-type: none;
}

.box-related-contents a, .box-related-contents ul i {
    display: inline;
}

.box-related-contents a {
    color: #289DCC;
}

.box-related-contents ul i {
    color: #d32128;
}

.content-post span, .content-post a,  .content-post i {
    display: inline;
    text-align: center;
}

.table-of-contents span {
    color: rgba(0, 0, 0, .6);
}
.rating-title {
    font-size: 18px;
    margin: 0;
    font-weight: 600;
    color: #000;
}
@media screen and (max-width: 991.98px) {
    .content-post h2,
    .content-post p,
    .content-post .table-of-contents span {
        font-size: 16px;
    }
}

@media (max-width: 425.98px) {
    .section-banner  {
        min-height: 550px;
        background: url('../images/post/bai-post-banner-03.png') top center / cover no-repeat;
    }

    .banner img {
        aspect-ratio: 420/600;
    }
}
@media (max-width: 393px) {
    #box-cta .cta-tags {
        flex-direction: column;
    }
}
@media (max-width: 375.98px) {
    .section-banner  {
        min-height: 487px;
        background: url('../images/post/bai-post-banner-03.png') top center / cover no-repeat;
    }
}

@media (max-width: 320.98px) {
    .section-banner  {
        min-height: 416px;
        background: url('../images/post/bai-post-banner-03.png') top center / cover no-repeat;
    }
}


@media (max-width: 991.98px) {
    .title-post {
        padding: 20px 80px;
    }

    .title-post {
        text-align: center;
    }

    .wrapper-content {
        gap: 0;
    }

    .list-social {
        gap: 12px;
        padding: 0 30px;
        margin-bottom: 12px;
    }

    .list-social img {
        margin-bottom: 0;
    }
}

@media (max-width: 767.98px) {
    .title-post {
        padding: 20px;
    }

    .title-post {
        font-size: 24px;
    }

    .table-of-contents {
        margin: 20px 0 28px;
    }

    .list-social img {
        width: 40px;
        height: 40px;
    }

    .list-slide-banner {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .title-post {
        border-radius: 0;
        margin-left: -16px;
        margin-right: -16px;
    }

    .title-post {
        font-size: 24px;
    }

    .content-post {
        padding: 12px 16px;
    }
    .mobile-title {
       display: block;
    }
    .mobile-title-2 {
        display: none !important;
    }
}

@media (min-width: 576px) {
    .mobile-title {
        display: none !important;
    }

    .list-social img {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 360.98px) {
    .title-post {
        font-size: 20px;
    }

    .content-post p {
        font-size: 14px;
    }
}

