.tt-profile {
    --tt-red: #810d09;
    --tt-dark: #242424;
    color: var(--tt-dark);
    background: #fff;
    font: 16px/1.8 'Montserrat-Regular',Arial,sans-serif;
    overflow: visible;
    overflow-x: clip
}

    .tt-profile * {
        box-sizing: border-box
    }

.tt-profile__wrap {
    width: calc(100% - 48px);
    max-width: 1206px;
    margin-inline: auto
}

.tt-profile figure {
    margin: 0;
    min-width: 0
}

.tt-profile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.tt-profile a {
    color: inherit;
    text-decoration: none
}

    .tt-profile a:focus-visible {
        outline: 3px solid #c68461;
        outline-offset: 5px
    }

.tt-profile h1, .tt-profile h2 {
    margin: 0 0 14px;
    color: var(--tt-red);
    font-family: 'BlackerSansText-Bold',Georgia,serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em
}

.tt-profile h1 {
    font-size: 32px;
}

.tt-profile h2 {
    font-size: 27px;
}

.tt-profile p {
    margin: 0 0 15px;
    text-align: justify;
}

.tt-profile__script {
    color: var(--tt-red);
    font: 400 26px/1.8 'NVN-Motherland-Signature-1',cursive;
    margin-bottom: 5px !important;
}

.tt-profile__hero {
    padding: 28px 0 70px;
    background: linear-gradient(120deg,#f8f4f1,#fff 65%);
    padding-top: 130px;
}

.tt-profile__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 48px;
    font-size: 13px;
    display: none;
}

    .tt-profile__breadcrumb a:hover {
        color: var(--tt-red)
    }

.tt-profile__hero-grid, .tt-profile__story {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 64px
}

.tt-profile .tt-profile__section .tt-profile__story.is-reveal-pending.is-revealed {
    display: flex;
    flex-direction: row-reverse;
    gap: 35px;
}

.tt-profile__hero-grid {
    align-items: stretch
}

.tt-profile__intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 0
}

.tt-profile__company {
    font: 500 26px/1.5 'BlackerSansText-Medium',Georgia,serif;
}

.tt-profile__lead {
    max-width: 590px;
    font-size: 17px;
}

.tt-profile__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-top: 30px
}

.tt-profile__text-link {
    font-family: 'Montserrat-Medium',sans-serif
}

.tt-profile .tt-profile__button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 28px;
    background: var(--tt-red);
    color: #fff;
    font: 500 15px/1.5 'Montserrat-Medium',sans-serif;
    transition: background-color .25s,transform .25s,box-shadow .25s
}

.tt-profile__visual {
    position: relative;
    aspect-ratio: 5/6;
    border-radius: 120px 12px 12px 12px;
    background: #eee;
    box-shadow: 0 20px 55px rgba(57,20,16,.12)
}

    .tt-profile__visual > img {
        border-radius: inherit
    }

    .tt-profile__visual figcaption {
        position: absolute;
        bottom: -50px;
        left: -28px;
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 13px 30px;
        border-radius: 8px;
        background: var(--tt-red);
        color: #fff;
        box-shadow: 0 16px 40px rgba(75,16,11,.25)
    }

    .tt-profile__visual strong {
        font: 700 54px/1 'BlackerSansText-Bold',Georgia,serif
    }

    .tt-profile__visual span {
        font-size: 13px;
        line-height: 1.5
    }

.tt-profile__visual {
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    isolation: isolate
}

.tt-profile__visual-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
    contain: layout paint
}

    .tt-profile__visual-slider:after {
        position: absolute;
        z-index: 2;
        inset: 0;
        content: "";
        pointer-events: none;
        background: linear-gradient(180deg,transparent 58%,rgba(22,8,6,.26))
    }

    .tt-profile__visual-slider .swiper-wrapper, .tt-profile__visual-slider .swiper-slide {
        height: 100%;
        transform: translateZ(0)
    }

    .tt-profile__visual-slider .swiper-slide {
        overflow: hidden;
        background: #e7e2de;
        backface-visibility: hidden
    }

        .tt-profile__visual-slider .swiper-slide img {
            transform: translateZ(0) scale(1.035);
            transition: transform 4.8s ease-out;
            backface-visibility: hidden
        }

    .tt-profile__visual-slider .swiper-slide-active img {
        transform: translateZ(0) scale(1)
    }

.tt-profile__visual-pagination {
    position: absolute !important;
    z-index: 4 !important;
    top: 30px !important;
    right: 24px !important;
    bottom: auto !important;
    left: auto !important;
    width: auto !important;
    display: flex;
    gap: 7px
}

    .tt-profile__visual-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 !important;
        background: #fff;
        opacity: .58;
        box-shadow: 0 0 0 1px rgba(0,0,0,.12);
        transition: width .3s,opacity .3s
    }

    .tt-profile__visual-pagination .swiper-pagination-bullet-active {
        width: 26px;
        border-radius: 8px;
        opacity: 1
    }

.tt-profile__visual-slider--single .tt-profile__visual-pagination {
    display: none
}

.tt-profile__visual figcaption {
    z-index: 5
}

.tt-profile__section {
    padding: 80px 0
}

.tt-profile__story-copy {
    max-width: 595px;
}

.tt-profile__story-image {
    overflow: hidden;
    border-radius: 100px 10px;
    box-shadow: 0 18px 44px rgba(46,20,17,.1)
}

    .tt-profile__story-image img {
        object-fit: contain;
        transition: transform .8s cubic-bezier(.22,1,.36,1);
        border-radius: 50px 10px;
    }

.tt-profile__detail {
    background: #f7f5f3
}

.tt-profile__editorial {
    display: grid;
    grid-template-columns: 0.8fr 1.65fr;
    gap: 40px;
}

    .tt-profile__editorial aside {
        align-self: start;
        position: sticky;
        top: 30px
    }

.tt-profile__rich {
    min-width: 0;
    overflow-wrap: anywhere
}

    .tt-profile__rich h2, .tt-profile__rich h3 {
        margin: 16px 0 16px;
        color: var(--tt-red);
        font: 500 26px/1.4 'BlackerSansText-Medium',Georgia,serif
    }

        .tt-profile__rich h2:first-child, .tt-profile__rich h3:first-child {
            margin-top: 0
        }

    .tt-profile__rich p {
        margin-bottom: 18px
    }

    .tt-profile__rich img {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        border-radius: 8px
    }

    .tt-profile__rich table {
        display: block;
        max-width: 100%;
        overflow-x: auto
    }

    .tt-profile__rich iframe, .tt-profile__rich video {
        max-width: 100%
    }

    .tt-profile__rich ul, .tt-profile__rich ol {
        padding-left: 24px
    }

.tt-profile__editorial {
    align-items: stretch
}

    .tt-profile__editorial aside {
        min-width: 0;
        align-self: stretch;
        position: relative
    }

.tt-profile__sticky {
    position: relative
}

    .tt-profile__sticky.is-sticky {
        position: fixed;
        z-index: 10;
        top: 110px;
        left: var(--sticky-left);
        width: var(--sticky-width)
    }

    .tt-profile__sticky.is-sticky-end {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        width: auto
    }

.tt-profile__contact {
    padding: 32px 0;
    color: #fff;
    background: url(/Design/img/XayDungTT/figma-home/bg-contact.png);
    background-size: 100% 100%;
}

    .tt-profile__contact > .tt-profile__wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 48px
    }

    .tt-profile__contact h2, .tt-profile__contact .tt-profile__script {
        color: #fff
    }

    .tt-profile__contact .tt-profile__button {
        flex-shrink: 0;
        background: #fff;
        color: var(--tt-red)
    }

    .tt-profile__contact p:last-child {
        margin-bottom: 0
    }

@media(hover: hover) and (pointer:fine) {
    .tt-profile__button:hover {
        transform: translateY(-3px);
        background: #650c0c;
        box-shadow: 0 10px 24px rgba(74,15,11,.2)
    }

    .tt-profile__contact .tt-profile__button:hover {
        background: #f8ecea
    }

    .tt-profile__story-image:hover img {
        transform: scale(1.035)
    }
}

@media(max-width: 1000px) {
    .tt-profile__hero-grid, .tt-profile__story {
        gap: 32px
    }

    .tt-profile__editorial {
        grid-template-columns: 1fr;
        gap: 36px
    }

        .tt-profile__editorial aside, .tt-profile__sticky, .tt-profile__sticky.is-sticky, .tt-profile__sticky.is-sticky-end {
            position: static;
            width: auto
        }

    .tt-profile__visual figcaption {
        left: 12px;
        right: 12px;
        padding: 16px;
        gap: 12px
    }

    .tt-profile__visual-pagination {
        top: 20px !important;
        right: 18px !important
    }

    .tt-profile__contact > .tt-profile__wrap {
        display: block
    }

    .tt-profile__contact .tt-profile__button {
        margin-top: 24px
    }
}

@media(max-width: 700px) {
    .tt-profile__wrap {
        width: calc(100% - 32px)
    }

    .tt-profile__hero-grid, .tt-profile__story {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .tt-profile__breadcrumb {
        margin-bottom: 28px
    }

    .tt-profile__hero {
        padding-bottom: 40px;
        padding-top: 30px;
    }

    .tt-profile__intro {
        padding: 0
    }

    .tt-profile h1, .tt-profile__company {
        font-size: 22px;
    }

    .tt-profile__visual {
        height: auto;
        aspect-ratio: 4/3;
        border-top-left-radius: 64px
    }

        .tt-profile__visual figcaption {
            bottom: 12px
        }

        .tt-profile__visual strong {
            font-size: 42px
        }

    .tt-profile h2 {
        font-size: 20px;
    }

    .tt-profile__script {
        font-size: 20px;
    }

    .tt-profile__section {
        padding: 25px 0;
    }

    .tt-profile .tt-profile__section .tt-profile__story.is-reveal-pending.is-revealed {
        display: block;
    }

    .tt-profile__rich h2, .tt-profile__rich h3 {
        font-size: 20px;
    }

    .tt-profile__actions {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 10px;
    }

    .tt-profile__contact {
        padding: 21px 0;
        background-size: cover;
    }
}

@media(prefers-reduced-motion:no-preference) {
    .tt-profile .is-reveal-pending {
        opacity: 0;
        transform: translateY(24px)
    }

        .tt-profile .is-reveal-pending.is-revealed {
            animation: tt-profile-enter .85s cubic-bezier(.22,1,.36,1) both
        }

    @keyframes tt-profile-enter {
        from {
            opacity: 0;
            transform: translateY(24px)
        }

        to {
            opacity: 1;
            transform: none
        }
    }
}

@media(prefers-reduced-motion:reduce) {
    .tt-profile * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important
    }

    .tt-profile__visual-slider .swiper-slide img {
        transform: none
    }
}

/* Mobile Safari can resolve an absolutely positioned slider to zero height
   when the parent relies only on an automatic aspect-ratio. Give the visual
   an explicit responsive box so the first image is always paintable. */
@media(max-width:700px) {
    .tt-profile__visual {
        display: block;
        width: 100%;
        height: clamp(280px, 78vw, 430px);
        min-height: 280px;
        aspect-ratio: auto;
        overflow: visible;
    }

    .tt-profile__visual-slider {
        position: absolute;
        display: block;
        width: 100%;
        height: 100%;
        min-height: 280px;
        inset: 0;
        overflow: hidden;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .tt-profile__visual-slider .swiper-wrapper,
    .tt-profile__visual-slider .swiper-slide,
    .tt-profile__visual-slider .swiper-slide img {
        width: 100%;
        height: 100%;
        min-height: 280px;
    }

    .tt-profile__visual-slider .swiper-slide img {
        display: block;
        object-fit: cover;
    }
}
