﻿.navbar {
    height: 80px;
    max-width: 2520px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 80px;
    padding-left: 80px;
    border-bottom: 1px solid #ebebeb;
}

.logo img {
    height: 40px;
}

body {
    font-size: 18px;
    line-height: 1.55556;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    color: var(--air-gray-color-900);
    font-weight: 350;
}

.navbar-nav .nav-item {
    margin-left: 8px;
    height: 79px;
    display: flex;
    align-items: center;
}

    .navbar-nav .nav-item.active {
        border-bottom: 2px solid #222;
    }

    .navbar-nav .nav-item a {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
        padding: 10px 12px;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.25;
        position: relative;
        display: block;
        text-decoration: none;
        border-radius: 8px;
        color: #222;
    }

.navbar-light .navbar-nav .nav-link {
    color: #222;
}

    .navbar-light .navbar-nav .nav-link:hover {
        background-color: #f2f2f2;
    }

.container-fluid {
    padding: 0px;
}

@media (min-width: 1400px) {
    .container {
        max-width: 2520px;
        width: 100%;
        margin-right: auto;
        margin-left: auto;
        padding-right: 80px;
        padding-left: 80px;
    }
}

/******News banner*/
.news-banner {
    margin-top: 60px;
    margin-bottom: 60px;
}

    .news-banner img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        aspect-ratio: auto 1100 / 725;
        border-radius: 16px;
    }

.news-banner-title {
    height: 100%;
    grid-column-start: 1;
    grid-column-end: 4;
    grid-row: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.btn-save {
    padding-top: 10px;
    padding-bottom: 10px;
    background: #f5811e;
}

.postTeaser {
    border-top: 2px solid #ddd;
    padding-top: 32px;
    margin-bottom: 40px;
}

    .postTeaser .card {
        border: none;
    }

    .postTeaser img {
        border-radius: 12px;
        height: 350px;
    }

    .postTeaser .header-title {
        margin-bottom: 0px;
        line-height: 30px;
    }

    .postTeaser .card-body {
        padding: 16px 0px;
    }

    .postTeaser a {
        text-decoration: none;
    }

    .postTeaser a:hover {
        text-decoration: underline;
    }

    .text-muted, .detail-sub-title {
        font-size: 14px;
        color: #717171;
    }

.postGrid {
    padding-top: 48px;
}

    .postGrid .header-title {
        font-size: 18px;
    }

.btn-category {
    font-size: 14px;
    border-radius: 50px;
    border: 1px solid #b0b0b0;
    padding: 12px 20px;
    margin-right: 8px;
    margin-bottom: 8px;
    background-color: transparent;
    color: #222;
    font-weight: 600;
}

    .btn-category:hover {
        text-decoration: underline;
    }

    .btn-category.active {
        text-decoration: underline;
        pointer-events: none;
    }

.btn-category-group {
    padding: 0px 0px 36px 0px;
}

.splide__slide {
    padding: 0px 16px;
}

    .splide__slide img {
        border-top-left-radius: 12px !important;
        border-top-right-radius: 12px !important;
        /*height: 420px;*/
        object-fit: cover;
    }

    .splide__slide .card {
        background-color: #ffffff;
        border-radius: 12px;
    }

    .splide__slide .header-title {
        margin-bottom: 0px;
    }

.cau-chuyen-kinh-doanh {
    background-color: #f7f7f7;
    padding: 60px 80px;
}

.splide {
    position: relative;
    left: -16px;
}

.splide__arrow--prev {
    left: 2em !important;
}

.splide__arrow--next {
    right: 2em !important;
}

.news-banner .btn-white, .btn-xem-them {
    display: inline-block;
    color: #222;
    background-color: #fff;
    border: 1px solid #222;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.28571;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    padding: 11px 20px;
}

.post {
    margin-bottom: 120px;
}

.post__entryContent > :not(.alignfull):not(.alignwide), .post__header {
    width: calc(50% - 12px);
    margin-right: auto;
    margin-left: auto;
    margin-top: 80px;
    margin-bottom: 48px
}

@media (max-width: 1439.98px) {
    .post__entryContent > :not(.alignfull):not(.alignwide), .post__header {
        width: calc(66.66667% - 8px)
    }
}

@media (max-width: 743.98px) {
    .post__entryContent > :not(.alignfull):not(.alignwide), .post__header {
        width: 100%
    }
}

.post__title {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.13043;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    margin-bottom: 24px;
    color: var(--air-gray-color-900);
}

.socialShare {
    line-height: 1
}

.socialShare__link {
    display: inline-block;
    cursor: pointer
}

    .socialShare__link:not(:last-child) {
        margin-right: 24px
    }

.copied .socialShare__copyChain, .socialShare__copyCheck {
    display: none
}

.copied .socialShare__copyCheck {
    display: inline
}

.socialShare button {
    background-color: transparent;
    border: none;
    padding: 0
}

.socialShare svg {
    display: block;
    width: 24px;
    height: auto
}

.post__meta {
    font-size: 14px;
    line-height: 1.28571;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    margin-bottom: 24px;
}

.post__metaWrap > * {
    display: inline;
}

.post__termsList {
    font-weight: 600;
}

a {
    color: #222;
    text-decoration: underline;
    font-weight: 600;
}

.socialShare {
    height: 24px;
}

    .socialShare img {
        display: block;
        width: 24px;
        height: auto;
        display: inline-block;
        cursor: pointer;
        margin-right: 24px;
    }

    .socialShare .icon {
        float: left;
    }

.post__headerBullets, .post__headerSubheader, .threeColumnText {
    margin-top: 48px;
    margin-bottom: 48px;
}

.post__headerBullets {
    width: calc(50% - 12px);
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 949.98px) {
    .post__header {
        margin-top: 64px;
        margin-bottom: 32px
    }
}

@media (max-width: 743.98px) {
    .post__header {
        margin-top: 32px
    }
}

@media (max-width: 1439.98px) {
    .post__headerBullets {
        width: calc(66.66667% - 8px)
    }
}

@media (max-width: 743.98px) {
    .post__headerBullets {
        width: 100%
    }
}

.post__headerBulletsHeader {
    font-size: 18px;
    line-height: 1.33333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    margin-bottom: 18px;
    font-weight: 500;
}

.post__headerBullets > ul, .threeColumnText > ol, .threeColumnText > ul {
    padding-left: 30px;
    margin-bottom: 0px;
}

    .post__headerBullets > ul li:not(:last-child), .post-main ul li {
        margin-bottom: 16px;
    }

.post__featuredMedia {
    width: calc(83.33333% - 4px);
    margin: 64px auto;
}

@media (max-width: 743.98px) {
    .post__featuredMedia {
        width: 100%
    }
}

@media (max-width: 949.98px) {
    .post__featuredMedia {
        margin-top: 48px;
        margin-bottom: 48px
    }
}

@media (max-width: 743.98px) {
    .post__featuredMedia {
        margin-top: 32px;
        margin-bottom: 32px
    }
}

.post__featuredImage img {
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 12px;
    height: 100%;
}

iframe, img {
    max-width: 100%;
}

.post__headerBulletsHeader {
    font-size: 1.125rem;
    line-height: 1.33333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    margin-bottom: 18px;
    font-weight: 500;
}

.pageFeaturedImage {
    position: relative;
    height: 0;
    padding-bottom: 43%;
}

    .pageFeaturedImage img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        -o-object-fit: cover;
        object-fit: cover;
    }

a {
    text-decoration: underline;
    font-weight: 450;
}

    a:focus, a:hover {
        color: #000;
    }

.btn-save:hover {
    border: none;
    background: #f57a12;
    text-decoration: none;
    color: white;
    font-weight: normal;
}

@media (min-width: 744px) {
    .post__title {
        font-size: 46px;
    }

    .post__headerBullets--desktopOnly {
        display: block;
    }
}

@media (max-width: 949.98px) {
    .post__title {
        font-size: 2rem;
        line-height: 1.125;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility
    }
}

@media (max-width: 743.98px) {
    .post__title {
        font-size: 1.625rem;
        line-height: 1.15385;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
        margin-bottom: 16px
    }
}

.footer-content a, footer a {
    font-weight: unset;
}

    .footer-content a:hover, footer a:hover {
        text-decoration: unset;
        color: unset;
    }

blockquote {
    line-height: 1.667;
    padding-left: 32px;
    border-left: 5px solid #ebebeb
}

    blockquote, blockquote b {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility
    }

        blockquote b {
            font-weight: 500;
        }

        blockquote > :last-child {
            margin-bottom: 0
        }

p {
    margin: 0 0 1.5rem;
}

.post__headerBullets_hr {
    padding-top: 48px;
    border-top: 1px solid #ddd;
}

@media (min-width: 576px) {
    .container, .container-sm {
        max-width: unset;
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 743.98px) {
    .container {
        padding-right: 24px;
        padding-left: 24px;
    }
}

/* Đảm bảo Flexbox quản lý chiều cao */
.postTeaser .card {
    display: flex;
    flex-direction: column;
    height: 100%; /* Giữ thẻ card đầy chiều cao */
}

.postTeaser .image-wrapper {
    position: relative;
    width: 100%; /* Chiếm toàn bộ chiều rộng */
    padding-top: 56.25%; /* Đặt tỷ lệ 16:9 (có thể thay đổi thành 75% cho 4:3) */
    overflow: hidden; /* Giữ ảnh trong vùng hiển thị */
}

    .postTeaser .image-wrapper img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%; /* Ảnh luôn đầy chiều rộng */
        height: 100%; /* Đảm bảo ảnh luôn đầy chiều cao */
        object-fit: cover; /* Duy trì tỷ lệ ảnh và cắt bớt nếu cần */
    }

.postTeaser .card-body {
    flex-grow: 1; /* Đẩy nội dung xuống */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/*responsive*/

@media (max-width: 767px) {

    /* Mobile */
    .header-title {
        font-size: 20px !important;
    }
    .header-title-card {
        font-size: 12px !important;
    }
    .btn-save {
        font-size: medium !important;
    }
    .cau-chuyen-kinh-doanh {
        padding: 16px 16px;
    }
    .card-body .header-title {
        font-size: 12px !important;
    }
    .splide__slide {
        padding: 0px 8px !important;
    }
    
}

@media (min-width: 768px) and (max-width: 911px) {

    /* Tablet old */
    .header-title {
        font-size: 20px !important;
    }
    .header-title-card {
        font-size: 12px !important;
    }
    .btn-save{
        font-size:medium !important;
    }
    .splide__slide {
        padding: 0px 8px !important;
    }
    
}

/*ipad pro vs suface*/
@media (min-width: 912px) and (max-width: 1368px) {
    .header-title {
        font-size: 20px !important;
    }
    .header-title-card {
        font-size: 12px !important;
    }
    
}

/*desk*/
@media (min-width: 1369px) {
   
}