:root {
    --highlight-sky: #ceedf6;
    --neutral-grey: #e1e1de;
    --dark-grey: #8a8a8a;
    --primary-blue: #00196e;
    --white: #ffffff;
    --black: #222;
    --secondary-gold: #ffad1d;
}

@font-face {
    font-family: 'Halyard Display Light';
    src: url('../css/fonts/HalyardDisplayLight.woff2') format('woff2'),
        url('../css/fonts/HalyardDisplayLight.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Halyard Display Book';
    src: url('../css/fonts/HalyardDisplayBook.woff2') format('woff2'),
        url('../css/fonts/HalyardDisplayBook.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.body__container .row {
    flex-wrap: nowrap;
}

.body__container .row .col-md-8 {
    flex: unset;
    max-width: unset;
}

@media screen and (max-width: 991px) {
    .body__container .row {
        flex-wrap: wrap;
    }
}

/* sidebar */

.sidebar {
    padding-top: 80px;
}

.sidebar .sidebar__sections--item a {
    font-family: 'Halyard Text';
    margin-bottom: 16px;
}



.sidebar .sidebar__scroll {
    overflow-y: auto;
    padding-bottom: 80px;
    height: 100%;
}

.sidebar .sidebar__scroll::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

.sidebar .sidebar__menu {
    list-style: none;
    padding-left: 20px;
}

.sidebar .sidebar__menu li a {
    display: block;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #8a8a8a;
    margin-bottom: 12px;
    cursor: pointer;
    width: fit-content;
    transition: all 0.3s linear;
}

.sidebar .sidebar__custom {
    position: relative;
    height: calc(100% - 150px);
}

.sidebar .sidebar__custom::after {
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 1) 100%);
    content: '';
    display: block;
    height: 80px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

.sidebar .sidebar__custom .sidebar__custom-header {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #8a8a8a;
    margin-bottom: 16px;
    cursor: pointer;
    width: fit-content;
    transition: all 0.3s linear;

    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar .sidebar__custom .sidebar__custom-header img {
    display: none;
    transform: rotate(-90deg);
    transition: all 0.3s linear;
}

.sidebar .sidebar__custom .sidebar__custom-header.show img {
    display: block;
}

.sidebar .sidebar__custom .sidebar__custom-header.active img {
    transform: rotate(90deg);
    transition: all 0.3s linear;
}

.sidebar .sidebar__custom .sidebar__custom-item:not(:first-child) .sidebar__menu {
    display: none;
}

.sidebar .sidebar__sections {
    margin-bottom: 60px;
}

.sidebar .sidebar__sections--wrap .sidebar__sections--item a {
    color: #00196e;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar .sidebar__sections--wrap .sidebar__sections--item ul {
    list-style: none;
    padding-left: 20px;
}

.sidebar .sidebar__sections--wrap .sidebar__sections--item a img {
    display: none;
}

.sidebar .sidebar__sections--wrap .sidebar__sections--item.active a img {
    transform: rotate(-180deg);
    transition: all 0.3s linear;
}

.sidebar .sidebar__sections--wrap .sidebar__sections--item.show a img {
    display: block;
    transition: all 0.3s linear;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #888;
}

.sidebar .sidebar__buttons {
    padding-top: 12px;
    border-top: 1px solid #e1e1e1;
}

figure {
    margin: 0 0 1em;
}

.content__container {
    padding-bottom: 0;
}

.content__container>.section-content .section-content:first-child h2 {
    margin-top: 0px;
}

.amount {
    padding: 40px 0 0;
    margin-top: 160px;
    border-top: 1px solid #e1e1de;
    position: relative;
}

.sidebar .sidebar__buttons {
    padding-top: 12px;
    border-top: 1px solid #e1e1e1;
}

.james_justify_content-between {
    flex-wrap: nowrap;
    justify-content: space-between;
}

.title {
    color: var(--primary-blue, #00196e);
    font-variant-numeric: lining-nums proportional-nums;
    font-family: Garamond Premier Pro;
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 54px;
    margin: 0;
    margin-bottom: 36px;
}

.section-content .text-content {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: rgba(34, 34, 34, 1);
    margin-bottom: 36px;
}

.section-content .desc p {
    font-family: 'Halyard Text', sans-serif;
    margin-bottom: 12px;
}


.section-content .desc h6 {
    margin: 24px 0px;

}

.section-content .text-content__message {
    font-variant-numeric: lining-nums proportional-nums;
    font-family: Garamond Premier Pro;
    color: var(--primary-blue, #00196e);
    font-size: 28px;
    line-height: 32px;
    font-weight: 400;
    margin-top: 36px;
    letter-spacing: 0;
}

.section-content .text-content__author {
    color: var(--primary-blue, #00196e);
    font-size: 24px;
    line-height: 32px;
    font-weight: 350;
    margin-top: 16px;
    font-family: 'Halyard Display Book';
}

.section-content .wrap__link-ytb {
    margin-top: 36px;
}

.section-content .wrap__link-ytb iframe {
    width: 100%;
    height: 450px;
}

.section-content .dropdown-content li {
    margin: 0;
}

.section-content .bannerImg {
    margin-top: 36px;
}

.section-content h2 {
    margin-top: 20px;
    margin-bottom: 36px;
}

.section-content h3 {
    margin-top: 36px;
    margin-bottom: 16px;
    font-size: 24px;
    line-height: 28px;
    font-family: 'Halyard Text';
}

.section-content .bannerImg img {
    width: 100%;
    height: auto;
}

.section-content ul {
    padding: 0 0 0 12px;
}

.section-content ul li::before {
    content: '\2022';
    /* Mã Unicode cho dấu chấm hình tròn (bullet) */
    /* Màu sắc của dấu chấm (có thể điều chỉnh) */
    font-size: 16px;
    /* Kích thước của dấu chấm (có thể điều chỉnh) */
    margin-right: 8px;
    /* Khoảng cách giữa dấu chấm và văn bản (có thể điều chỉnh) */
}

.section-content ul li {
    list-style: none;
    display: flex;
    padding-bottom: 8px;
    /* list-style-type: square; */
}

.section-content li,
.section-content p {
    color: var(--black, #222);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.5px;
}

.section-content p {
    margin-bottom: 12px;
}

.type-block.teaser .block-inner h2 {
    font-size: 48px;
    margin-bottom: 16px;
}

.dropdown-content__header__title p {
    font-size: 24px;
    margin: 0;
    color: var(--dark-grey, #8a8a8a);
}

.dropdown-content_wrap {
    max-width: 643px;
}

.dropdown-content__content .sub-heading {
    color: var(--primary-blue, #00196e);
}

.wrap-contact a .image:hover {
    filter: invert(73%) sepia(91%) saturate(1607%) hue-rotate(342deg) brightness(102%) contrast(101%);
}

/* tablet + mobile */

@media (max-width: 991px) {
    .sidebar {
        padding-top: 0;
    }

    .james__news .james__news--list .james__news--item {
        margin-bottom: 0px;
    }

    .james__news .james__news--list .james_col-4:nth-child(3) {
        display: none;
    }

    .applying__breadcumb li:nth-child(2) {
        display: flex;
    }

    .title {
        font-size: 40px;
        line-height: 48px;
    }

    .section-content .text-content .text-content__message {
        color: var(--primary-blue, #00196e);
        font-size: 22px;
        line-height: 26px;
    }

    .section-content .text-content .text-content__author {
        font-size: 22px;
        line-height: 28px;
    }


    .sidebar__buttons--title {
        width: 100%;
    }

    .sidebar .sidebar__buttons {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        padding-top: 12px;
        border-top: 1px solid #e1e1e1;
        gap: 12px;
    }


    .sidebar__buttons .sidebar__buttons--link {
        width: 48%;
        margin-bottom: 24px;
    }

    /* .sidebar.active {
        top: calc(100% - 540px);
    } */



    .sidebar .sidebar__sections {
        margin-bottom: 0px;
    }


    .sidebar__sections--title {
        padding: 0px 24px;
        margin-bottom: 0px;
    }


    .sidebar .sidebar__sections--wrap .sidebar__sections {
        border-top: none;
    }



    .sidebar .sidebar__sections--wrap {
        position: relative;
    }


    .sidebar .sidebar__sections--wrap::before {
        display: block;
        content: '';
        width: 100%;
        height: 70px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
        position: absolute;
        bottom: 115px;
        left: 0;
    }

    .sidebar .sidebar__sections--wrap.scrolled-hidden::before {
        display: none;
    }



    .sidebar .scroll-mb {
        max-height: calc(454px - 66px);
        overflow-y: auto;
        overflow-x: hidden;
    }

    .sidebar .sidebar__sections {
        max-height: fit-content;
        overflow-y: unset;
        margin-bottom: 0px;
        border-top: 0px;
    }

    .sidebar__sections--title {
        margin-bottom: 0px;
        padding-bottom: 0px;
    }

    .sidebar .sidebar__buttons {
        padding-bottom: 24px;
        padding-top: 24px;
    }



}

@media screen and (max-width: 991px) and (min-width: 576px) {
    .james__connect .james__connect--list .james_col-4 {
        flex-shrink: 0;
        width: 50%;
        max-width: 50%;
        padding-right: 18px;
        padding-left: 18px;
    }

    .james__news .james__news--list .james_col-4 {
        max-width: 50%;
        width: 50%;
    }

    .james__connect .james__connect--list {
        max-width: 85%;
        margin: 0 auto;
    }

    .james__news .james__news--list {
        max-width: 85%;
        margin: 0 auto;
    }

    .sidebar .sidebar__buttons {
        display: flex;
        flex-direction: row;
        gap: 12px;
        flex-wrap: wrap;
    }

    .sidebar__buttons--title {
        width: 100%;
    }

    .sidebar__buttons .sidebar__buttons--link {
        width: 48%;
        margin-bottom: 20px;
    }

    .sidebar__buttons .sidebar__buttons--link:not(:last-child) {
        margin-bottom: 20px;
    }

    .section-content .text-content .wrap__link-ytb iframe {
        height: 400px;
    }
}

@media (max-width: 769px) {
    .content__container {
        /* max-width: 522px; */
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .james_justify_content-between .james_order-1 {
        display: none;
    }
}

@media screen and (max-width: 576px) {
    .title {
        font-size: 36px;
        line-height: 40px;
        margin-bottom: 24px;
    }

    .section-content .text-content .wrap__link-ytb {
        margin-top: 24px;
    }

    .dropdown-content__header__title p {
        font-size: 20px;
        line-height: 26px;
    }

    .dropdown-content__header__title.active p {
        font-size: 20px;
        line-height: 26px;
    }

    div.content__container .content-title,
    div.content__container h3 {
        max-width: 100%;
    }

    .james__news .james__news--list .james__news--item {
        margin-bottom: 30px;
    }

    .section-content .text-content .wrap__link-ytb iframe {
        height: 260px;
    }

    .section-content .wrap__link-ytb iframe {
        width: 100%;
        height: 265px;
    }



    .sidebar__buttons .sidebar__buttons--link {
        width: 100%;
        margin-bottom: 0px !important;
    }

    .sidebar .sidebar__buttons {
        gap: 16px;
    }

    .sidebar.active {
        top: calc(100% - 454px);
    }

    /* .sidebar.active {
        top: calc(100% - 504px) !important;
    } */

    /* .sidebar .sidebar__sections {
        max-height: 130px;
    } */



    .sidebar .sidebar__sections--wrap::before {
        height: 100px;
    }
}