.bavor-single-expert,
.bavor-single-expert * {
    box-sizing: border-box;
}

.bavor-single-expert {
    --expert-green: #164f3d;
    --expert-green-dark: #0d3e30;
    --expert-gold: #d7aa42;
    --expert-slider-hover: #25d85f;
    --expert-cream: #fbf8ef;
    --expert-cream-two: #f7f5ef;
    --expert-text: #1b221f;
    --expert-muted: #66716c;
    width: 100%;
    overflow: hidden;
    color: var(--color-base,#1A1A1A);
    background: var(--expert-cream);
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-weight: 400;
}

.bavor-single-expert h1,
.bavor-single-expert h2,
.bavor-single-expert h3,
.bavor-single-expert h4,
.bavor-single-expert h5,
.bavor-single-expert h6,
.bavor-single-expert strong,
.bavor-single-expert b {
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-weight: 700;
}

.bavor-single-expert__inner {
    width: calc(100% - 40px);
    max-width: 1320px;
    margin-right: auto;
    margin-left: auto;
}

.bavor-single-expert__hero {
    display: flex;
    align-items: flex-end;
    min-height: 360px;
    padding: 55px 0;
    color: #fff;
    background-color: var(--color-brand);
    background-image:
        linear-gradient(
            90deg,
            rgba(10, 61, 46, 0.98) 0%,
            rgba(10, 61, 46, 0.84) 25%,
            rgba(10, 61, 46, 0.2) 65%,
            rgba(10, 61, 46, 0.03) 100%
        ),
        var(--expert-banner);
    background-position: center;
    background-size: cover;
}

.bavor-single-expert__hero-copy {
    max-width: 760px;
}

.bavor-single-expert__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 13px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    line-height: 1.5;
}

.bavor-single-expert__breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.bavor-single-expert__breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
}

.bavor-single-expert__hero h1 {
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    line-height: 1.3em;
}

.bavor-single-expert__hero-description {
    max-width: 640px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    line-height: 1.65;
}

.bavor-single-expert__title {
    margin: 0 0 48px;
    padding: 0;
    color: var(--color-brand);
    font-size: clamp(26px, 3vw, 30px);
    font-weight: 700;
    line-height: 1.3em;
}

.qua_huong_nghe_nghiep {
    margin: 0 0 28px !important;

}

.bavor-single-expert__title {

    font-size: clamp(26px, 3vw, 30px);

}

.bavor-single-expert__titleaa {
    margin: 0 0 48px;
    padding: 0;
    color: var(--color-brand);
    font-size: clamp(26px, 3vw, 30px);
    font-weight: 700;
    line-height: 1.3em;
}

.bavor-single-expert__title--center {
    text-align: center;
}

.bavor-single-expert__profile {
    padding: 76px 0 88px;
    background:
        radial-gradient(
            circle at 0 45%,
            rgba(22, 79, 61, 0.055) 0 100px,
            transparent 101px
        ),
        var(--expert-cream);
}

.bavor-single-expert__profile-layout {
    display: flex;
    align-items: center;
    gap: clamp(42px, 8vw, 96px);
}

.bavor-single-expert__profile-media {
    position: relative;
    flex: 0 0 42%;
    min-width: 0;
}

.bavor-single-expert__profile-media::before {
    position: absolute;
    top: -18px;
    left: -18px;
    width: 72%;
    height: 72%;
    border-radius: 12px;
    background: rgba(215, 170, 66, 0.18);
    content: "";
}

.bavor-single-expert__profile-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1.08 / 1;
    margin: 0;
    border-radius: 12px;
    object-fit: cover;
}

.bavor-single-expert__profile-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.bavor-single-expert__eyebrow {
    margin: 0 0 9px;
    color: var(--color-brand);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3em;
}

.bavor-single-expert__profile-title {
    margin: 0 0 20px;
    padding: 0;
    color: var(--color-base,#1A1A1A);
    font-size: clamp(25px, 3vw, 30px);
    font-weight: 700;
    line-height: 1.3em;
}

.bavor-single-expert__richtext {
    color: var(--color-base,#1A1A1A);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3em;
}

.bavor-single-expert__richtext > :first-child {
    margin-top: 0;
}

.bavor-single-expert__richtext > :last-child {
    margin-bottom: 0;
}

.bavor-single-expert__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 43px;
    margin-top: 23px;
    padding: 10px 19px;
    border: 1px solid var(--color-brand);
    border-radius: 12px;
    color: #fff;
    background: var(--color-brand);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3em;
    text-decoration: none;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.bavor-single-expert__button:hover {
    color: #fff;
    background: var(--expert-green-dark);
    transform: translateY(-1px);
}

.bavor-single-expert__button svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bavor-single-expert__experience {
    padding: 72px 0 82px;
    background: #F6F5F2;
}

.bavor-single-expert__timeline-shell {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    gap: 15px;
}

.bavor-single-expert__timeline-arrow {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--color-brand);
    border-radius: 50%;
    color: var(--color-brand);
    background: transparent;
    cursor: pointer;
    box-shadow: none;
    line-height: 1;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    z-index: 3;
    transition:
        color 0.22s ease,
        border-color 0.22s ease,
        background-color 0.22s ease,
        transform 0.22s ease;
}

.bavor-single-expert__timeline-arrow::before,
.bavor-single-expert__timeline-arrow::after {
    display: none !important;
    content: none !important;
}

.bavor-single-expert__timeline-arrow:hover,
.bavor-single-expert__timeline-arrow:focus-visible {
    border-color: var(--expert-slider-hover);
    color: var(--color-brand);
    background: var(--expert-slider-hover);
    transform: translateY(-1px);
}

.bavor-single-expert__timeline-arrow:focus-visible {
    outline: 2px solid rgba(22, 79, 61, 0.28);
    outline-offset: 3px;
}

.bavor-single-expert__timeline-arrow svg {
    display: block;
    width: 29px;
    height: 29px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.bavor-single-expert__timeline {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    overflow-x: auto;
    overflow-y: hidden;
    min-width: 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
}

.bavor-single-expert__timeline::-webkit-scrollbar {
    display: none;
}

.bavor-single-expert__timeline-item {
    position: relative;
    display: flex;
    flex: 0 0 25%;
    flex-direction: column;
    width: 25%;
    min-width: 0;
    min-height: 225px;
    padding: 0 18px;
    overflow: hidden;
    text-align: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/*
    * Vẽ line trên từng item thay vì trên vùng nhìn thấy của slider.
    * Nhờ vậy line luôn chạy hết toàn bộ scrollWidth, kể cả khi có
    * nhiều mốc kinh nghiệm hơn chiều rộng màn hình.
    */
.bavor-single-expert__timeline-item::before {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    z-index: 0;
    height: 1px;
    background: rgba(22, 79, 61, 0.45);
    content: "";
    pointer-events: none;
}

.bavor-single-expert__timeline-item.is-top {
    justify-content: flex-start;
}

.bavor-single-expert__timeline-item.is-bottom {
    justify-content: flex-end;
}

.bavor-single-expert__timeline-copy {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 103px;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.bavor-single-expert__timeline-item.is-top
.bavor-single-expert__timeline-copy {
    padding-bottom: 27px;
}

.bavor-single-expert__timeline-item.is-bottom
.bavor-single-expert__timeline-copy {
    order: 2;
    padding-top: 27px;
}

.bavor-single-expert__timeline-copy h3 {
    margin: 0 0 9px;
    padding: 0;
    color: var(--color-brand);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3em;
    text-transform: none;
}

.bavor-single-expert__timeline-position {
    margin: 0 0 7px;
    color: var(--color-cam,#E9AD3D);
    font-size: 14px;
    line-height: 1.3em;
}

.bavor-single-expert__timeline-company {
    margin: 0;
    color: var(--color-base,#1A1A1A);
    font-size: 14px;
    line-height: 1.3em;
}

.bavor-single-expert__timeline-dot {
    position: absolute;
    top: calc(50% - 9px);
    left: calc(50% - 9px);
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(22, 79, 61, 0.42);
    z-index: 2;
}

.bavor-single-expert__timeline-item:first-child
.bavor-single-expert__timeline-dot {
    background: var(--color-brand);
}

.bavor-single-expert__consulting {
    padding: 72px 0 82px;
    background:
        linear-gradient(
            180deg,
            var(--expert-cream) 0%,
            var(--expert-cream) 75%,
            rgba(219, 247, 221, 0.5) 100%
        );
}

.bavor-single-expert__slider-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 60px;
}

.bavor-single-expert__slider-heading
.bavor-single-expert__title {
    margin-bottom: 0;
}

.bavor-single-expert__slider-controls {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
}

.bavor-single-expert__consulting-arrow {
    display: inline-flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--color-brand);
    border-radius: 50%;
    color: var(--color-brand);
    background: transparent;
    cursor: pointer;
    box-shadow: none;
    line-height: 1;
    appearance: none;
    -webkit-appearance: none;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.bavor-single-expert__consulting-arrow::before,
.bavor-single-expert__consulting-arrow::after {
    display: none !important;
    content: none !important;
}

.bavor-single-expert__consulting-arrow:hover,
.bavor-single-expert__consulting-arrow:focus-visible {
    border-color: var(--expert-slider-hover);
    color: var(--color-brand);
    background: var(--expert-slider-hover);
    transform: translateY(-1px);
}

.bavor-single-expert__consulting-arrow:focus-visible {
    outline: 2px solid rgba(22, 79, 61, 0.28);
    outline-offset: 3px;
}

.bavor-single-expert__consulting-arrow svg {
    display: block;
    width: 29px;
    height: 29px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.bavor-single-expert__consulting-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 22px;
    overflow-x: auto;
    padding: 1px 1px 6px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.bavor-single-expert__consulting-grid::-webkit-scrollbar {
    display: none;
}

.bavor-single-expert__consulting-card {
    display: flex;
    flex: 0 0 calc((100% - 44px) / 3);
    flex-direction: column;
    min-width: 0;
    min-height: 330px;
    padding: 18px;
    border: 1px solid rgba(22, 79, 61, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.32);
    scroll-snap-align: start;
}

.bavor-single-expert__consulting-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 50%;
    color: var(--color-cam,#E9AD3D);
    background: var(--color-brand);
}

.bavor-single-expert__consulting-icon svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bavor-single-expert__consulting-icon img {
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    border-radius: 100%;
}

.bavor-single-expert__consulting-copy {
    margin-top: auto;
    padding: 19px 17px;
    border-radius: 6px;
    background: #F6F5F2;;
}

.bavor-single-expert__consulting-copy h3 {
    margin: 0 0 12px;
    padding: 0;
    color: var(--color-brand);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: none;
}

.bavor-single-expert__consulting-copy
.bavor-single-expert__richtext {
    font-size: 12px;
    line-height: 1.65;
}

.bavor-single-expert__education {
    padding: 68px 0;
    color: #fff;
    background: var(--color-brand);
}

.bavor-single-expert__education-layout {
    display: flex;
    align-items: stretch;
    gap: clamp(45px, 8vw, 110px);
}

.bavor-single-expert__education-copy {
    flex: 1 1 58%;
    min-width: 0;
}

.bavor-single-expert__education-media {
    flex: 0 0 38%;
    min-width: 0;
}

.bavor-single-expert__education-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    margin: 0;
    border-radius: 12px;
    object-fit: cover;
}

.bavor-single-expert__light-title {
    margin: 0 0 22px;
    padding: 0;
    color: #fff;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-size: clamp(31px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-transform: none;
}

.bavor-single-expert__light-title.is-certificate {
    margin-top: 46px;
}

.bavor-single-expert__education-list {
    display: flex;
    flex-direction: column;
}

.bavor-single-expert__education-row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.bavor-single-expert__education-row:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.bavor-single-expert__education-row span {
    flex: 0 0 38%;
    color: var(--color-white,#fff);
    font-size: 16px;
}

.bavor-single-expert__education-row strong {
    flex: 1 1 auto;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3em;
}

.bavor-single-expert__education-row strong {
    font-size: 18px;
}

.bavor-single-expert__certificate span {
    font-size: 18px;
    font-weight: 700;
}

.bavor-single-expert__certificate-list {
    display: flex;
    flex-direction: column;
}

.bavor-single-expert__certificate {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.bavor-single-expert__certificate:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.bavor-single-expert__certificate svg {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    margin-top: 1px;
    fill: none;
    stroke: var(--color-cam,#E9AD3D);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bavor-single-expert__achievements {
    padding: 82px 0 105px;
    background: var(--expert-cream);
}

.bavor-single-expert__achievement-layout {
    display: flex;
    align-items: center;
    gap: clamp(50px, 8vw, 105px);
}

.bavor-single-expert__achievement-media {
    position: relative;
    flex: 0 0 50%;
    min-width: 0;
}

.bavor-single-expert__achievement-media::before {
    position: absolute;
    top: -82px;
    left: 50%;
    width: 1px;
    height: 82px;
    background: var(--color-cam,#E9AD3D);
    content: "";
}

.bavor-single-expert__achievement-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1.22 / 1;
    margin: 0;
    border-radius: 12px;
    object-fit: cover;
}

.bavor-single-expert__achievement-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.bavor-single-expert__section-description {
    margin: -15px 0 25px;
    color: var(--color-base, #1A1A1A);
    font-size: 16px;
    line-height: 1.6;
}

.bavor-single-expert__achievement-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.bavor-single-expert__achievement-card {
    display: flex;
    flex: 1 1 calc(50% - 9px);
    flex-direction: column;
    justify-content: center;
    min-width: 180px;
    min-height: 150px;
    padding: 18px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 7px 23px rgba(18, 51, 41, 0.05);
}

.bavor-single-expert__achievement-card.is-featured {
    color: #fff;
    background: var(--color-brand);
}

.bavor-single-expert__achievement-card svg {
    width: 28px;
    height: 28px;
    margin-bottom: 12px;
    fill: none;
    stroke: var(--color-brand);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bavor-single-expert__achievement-card.is-featured svg {
    stroke: #fff;
}

.bavor-single-expert__achievement-card h3 {
    margin: 0;
    padding: 0;
    color: var(--color-base,#1A1A1A);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3em;
    text-transform: none;
}

.bavor-single-expert__achievement-card.is-featured h3 {
    color: #fff;
}

.bavor-single-expert__career {
    padding: 80px 0 105px;
    background: var(--expert-cream);
}

.bavor-single-expert__career-layout {
    display: flex;
    align-items: center;
    gap: clamp(55px, 9vw, 125px);
}

.bavor-single-expert__career-copy {
    flex: 1 1 50%;
    min-width: 0;
}

.bavor-single-expert__career-media {
    position: relative;
    flex: 0 0 45%;
    min-width: 0;
}

.bavor-single-expert__career-media::before {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 74%;
    height: 74%;
    border-radius: 10px;
    background: rgba(215, 170, 66, 0.17);
    content: "";
}

.bavor-single-expert__career-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1.25 / 1;
    margin: 0;
    border-radius: 10px;
    object-fit: cover;
}

@media (max-width: 991px) {
    .bavor-single-expert__profile-layout,
    .bavor-single-expert__education-layout,
    .bavor-single-expert__achievement-layout,
    .bavor-single-expert__career-layout {
        gap: 42px;
    }

    .bavor-single-expert__consulting-card {
        flex-basis: calc((100% - 22px) / 2);
    }

    .bavor-single-expert__timeline-item {
        flex-basis: 50%;
        width: 50%;
    }
}

@media (max-width: 767px) {
    .bavor-single-expert__inner {
        width: calc(100% - 30px);
        max-width: 1320px;
    }

    .bavor-single-expert__hero {
        min-height: 310px;
        padding: 42px 0;
        background-image:
            linear-gradient(
                90deg,
                rgba(10, 61, 46, 0.94),
                rgba(10, 61, 46, 0.58)
            ),
            var(--expert-banner);
    }

    .bavor-single-expert__profile,
    .bavor-single-expert__experience,
    .bavor-single-expert__consulting,
    .bavor-single-expert__education,
    .bavor-single-expert__achievements,
    .bavor-single-expert__career {
        padding-top: 55px;
        padding-bottom: 60px;
    }

    .bavor-single-expert__profile-layout,
    .bavor-single-expert__education-layout,
    .bavor-single-expert__achievement-layout,
    .bavor-single-expert__career-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 35px;
    }

    .bavor-single-expert__profile-media,
    .bavor-single-expert__education-copy,
    .bavor-single-expert__education-media,
    .bavor-single-expert__achievement-media,
    .bavor-single-expert__career-copy,
    .bavor-single-expert__career-media {
        flex: 0 0 100%;
        width: 100%;
    }

    .bavor-single-expert__education-image {
        min-height: 0;
        aspect-ratio: 1 / 1;
    }

    .bavor-single-expert__achievement-copy {
        order: -1;
    }

    .bavor-single-expert__achievement-media::before {
        display: none;
    }

    .bavor-single-expert__consulting-card {
        flex-basis: 78%;
    }
}

@media (max-width: 575px) {
    .bavor-single-expert__hero h1 {
        font-size: 29px;
    }

    .bavor-single-expert__title,
    .bavor-single-expert__profile-title {
        font-size: 27px;
    }

    .bavor-single-expert__profile-media::before,
    .bavor-single-expert__career-media::before {
        display: none;
    }

    .bavor-single-expert__timeline-shell {
        gap: 6px;
    }

    .bavor-single-expert__timeline {
        padding-right: 5px;
        padding-left: 5px;
    }

    .bavor-single-expert__timeline-item {
        flex: 0 0 100%;
        width: 100%;
    }

    .bavor-single-expert__achievement-grid {
        flex-direction: column;
    }

    .bavor-single-expert__achievement-card {
        flex-basis: auto;
        width: 100%;
        min-width: 0;
    }

    .bavor-single-expert__consulting-card {
        flex-basis: 86%;
        width: auto;
        min-width: 0;
    }

    .bavor-single-expert__slider-heading {
        align-items: flex-end;
        gap: 15px;
    }

    .bavor-single-expert__education-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .bavor-single-expert__education-row span {
        flex-basis: auto;
    }

    .bavor-single-expert__light-title {
        font-size: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bavor-single-expert *,
    .bavor-single-expert *::before,
    .bavor-single-expert *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}