/* Văn phòng: gallery, intro, careers and responsive layout. */
audio, canvas, progress, video { display: inline-block; vertical-align: baseline; }

.carousel-inner > .item > a > img, .carousel-inner > .item > img, .img-responsive, .thumbnail a > img, .thumbnail > img { display: block; max-width: 100%; height: auto; }

.h4, .h5, .h6, h4, h5, h6 { margin-top: 10px; margin-bottom: 10px; }

.h4, h4 { font-size: 18px; }

.container { padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; }

@media (min-width: 768px){
.container { width: 750px; }
}

@media (min-width: 992px){
.container { width: 970px; }
}

@media (min-width: 1200px){
.container { width: 1170px; }
}

.container-fluid { padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; }

.row { margin-right: -15px; margin-left: -15px; }

.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 { position: relative; min-height: 1px; padding-right: 15px; padding-left: 15px; }

@media (min-width: 992px){
.col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9 { float: left; }
.col-md-12 { width: 100%; }
}

.btn-group-vertical > .btn-group::after, .btn-group-vertical > .btn-group::before, .btn-toolbar::after, .btn-toolbar::before, .clearfix::after, .clearfix::before, .container-fluid::after, .container-fluid::before, .container::after, .container::before, .dl-horizontal dd::after, .dl-horizontal dd::before, .form-horizontal .form-group::after, .form-horizontal .form-group::before, .modal-footer::after, .modal-footer::before, .modal-header::after, .modal-header::before, .nav::after, .nav::before, .navbar-collapse::after, .navbar-collapse::before, .navbar-header::after, .navbar-header::before, .navbar::after, .navbar::before, .pager::after, .pager::before, .panel-body::after, .panel-body::before, .row::after, .row::before { display: table; content: " "; }

.btn-group-vertical > .btn-group::after, .btn-toolbar::after, .clearfix::after, .container-fluid::after, .container::after, .dl-horizontal dd::after, .form-horizontal .form-group::after, .modal-footer::after, .modal-header::after, .nav::after, .navbar-collapse::after, .navbar-header::after, .navbar::after, .pager::after, .panel-body::after, .row::after { clear: both; }

.slick-list, .slick-slider, .slick-track { position: relative; display: block; }

.slick-slider { box-sizing: border-box; user-select: none; -webkit-tap-highlight-color: transparent; }

.slick-list { overflow: hidden; margin: 0px; padding: 0px; }

.slick-list:focus { outline: 0px; }

.slick-slider .slick-list, .slick-slider .slick-track { transform: translate3d(0px, 0px, 0px); }

.slick-track { top: 0px; left: 0px; margin-left: auto; margin-right: auto; }

.slick-track::after, .slick-track::before { display: table; content: ""; }

.slick-track::after { clear: both; }

.slick-slide { display: none; float: left; height: 100%; min-height: 1px; }

.slick-initialized .slick-slide { display: block; }

.slick-slider { position: relative; display: block; box-sizing: border-box; user-select: none; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }

.slick-list { position: relative; display: block; overflow: hidden; margin: 0px; padding: 0px; }

.slick-list:focus { outline: none; }

.slick-slider .slick-track, .slick-slider .slick-list { transform: translate3d(0px, 0px, 0px); }

.slick-track { position: relative; top: 0px; left: 0px; display: block; }

.slick-track::before, .slick-track::after { display: table; content: ""; }

.slick-slide { display: none; float: left; height: 100%; min-height: 1px; outline: none !important; }

.background-gold, .background-gold-hover:hover, .background-gold-before::before, .background-gold-after::after { background-color: rgb(210, 182, 108) !important; }

.container-default { width: 100%; }

@media (min-width: 768px){
.container-default { width: 750px !important; }
}

@media (min-width: 992px){
.container-default { width: 970px !important; }
}

@media (min-width: 1200px){
.container-default { width: 1170px !important; }
}

@media (min-width: 1800px){
.page_title_line_left { top: 260px; }
.page-banner canvas { height: 440px !important; }
}

@media (min-width: 1301px){
.container { width: 1270px !important; }
}

main { position: relative; }

.page-banner { position: relative; }

.page-banner::after { content: ""; display: block; width: 100%; height: 437px; position: absolute; z-index: 0; top: 0px; left: 0px; background: linear-gradient(rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%); }

.page-banner canvas { display: block; background-repeat: no-repeat; background-position: center top; background-attachment: fixed; width: 100%; transition: none; background-size: 100vw; min-height: 420px; }

.page-banner .page-border { height: 100%; top: 0px; left: 0px; right: 0px; z-index: 2; font-size: 0px; }

.page-banner .page-border::after { content: ""; display: inline-block; height: 100%; vertical-align: middle; transition: 1.5s ease-in-out; }

.page_title_line_left { top: 98px; left: 5.5%; width: 245px; height: 105px; }

.page_title_line_left::before, .page_title_line_left::after { content: ""; display: block; position: absolute; top: 0px; left: 0px; }

.page_title_line_left::before { width: 100%; height: 21px; }

.page_title_line_left::after { width: 21px; height: 100%; }

.page_title_line_right { left: 15.5%; bottom: 45px; width: 245px; height: 105px; }

.page_title_line_right::before, .page_title_line_right::after { content: ""; display: block; position: absolute; bottom: 0px; right: 0px; }

.page_title_line_right::before { width: 100%; height: 21px; }

.page_title_line_right::after { width: 21px; height: 100%; }

.page-banner .page-title { left: 0px; right: 0px; bottom: 45%; transform: translateY(50%); text-align: center; z-index: 3; font-size: 16px; }

.page-title .titlewrapper { position: relative; display: inline-block; margin-left: 30px; text-align: left; }

.page-title .titlewrapper .entry-title::before, .sec-one-about-content .entry-title::before, .center-heading .entry-title::before, .error404 .entry-title::before { display: block; text-align: left; color: rgb(153, 153, 153); margin-bottom: 10px; text-transform: uppercase; font-size: 24px; line-height: 1; font-family: var(--sl-font-body); font-weight: 400; position: absolute; bottom: 100%; left: -5px; }

.page-title h1, .sec-one-about-content h1, .center-heading h1, .error404 h1 { position: relative; color: rgb(255, 255, 255); font-weight: 700; font-size: 66px; letter-spacing: -0.7px; text-transform: uppercase; line-height: 1.26; border-left: 4px solid rgb(203, 170, 69); padding-left: 16px; text-align: left; font-family: var(--sl-font-heading); }

.page-border.d-block { display: none !important; }

nav.rank-math-breadcrumb p * { transition: color 0.3s; font-size: 12px !important; color: rgb(255, 255, 255) !important; }

nav.rank-math-breadcrumb p { position: relative; z-index: 3; font-family: var(--sl-font-body); text-transform: uppercase; padding: 0px 5px; margin: 0px !important; text-align: left !important; }

.breadcrumbs-container { display: block; padding: 5px 0px; background: transparent; position: absolute; bottom: 0px; text-align: left; z-index: 4; }

main p { font-size: 1.25em; line-height: 1.6em; }

.page-logo { position: absolute; top: 59%; left: 50%; transform: translate(-50%, -50%); z-index: 1; }

.page-logo img { max-width: 420px; transform: translateZ(0px); }

@media (max-width: 1440px){
.page-banner canvas { background-size: 111vw; }
.page-title h1, .sec-one-about-content h1 { font-size: 60px; }
}

@media (max-width: 1366px){
.page-banner canvas { background-size: 117vw; }
}

@media (max-width: 1280px){
.page-banner canvas { background-size: 140vw; }
}

@media (max-width: 1024px){
.page-banner canvas { background-size: 180vw; }
}

@media (max-width: 991px){
.page-title .titlewrapper .entry-title::before, .sec-one-about-content .entry-title::before, .center-heading .entry-title::before, .error404 .entry-title::before { font-size: 18px; }
.page-title h1, .sec-one-about-content h1 { font-size: 35px; }
.page-logo img { display: none; }
.page-banner { }
.page-banner::after { height: 300px; }
.page-banner canvas { background-size: cover; background-attachment: initial; }
.page_title_line_left { top: 30px; }
.page-banner canvas { height: 260px; }
.page-banner .page-title { transform: translateY(50%); }
.page-banner .page-title .titlewrapper { margin-left: 0px; }
.page-banner .page-title h1 { font-size: 3em; }
}

@media (max-width: 767px){
.page-banner .page-title { bottom: 50%; }
.page_title_line_left { height: 85px; }
.page_title_line_right { height: 85px; }
.page_title_line_left::before { width: 100%; height: 15px; }
.page_title_line_left::after { width: 15px; height: 100%; }
.page_title_line_right::before { width: 100%; height: 15px; }
.page_title_line_right::after { width: 15px; height: 100%; }
.page-banner .page-title h1 { font-size: 1.8em; text-align: left; }
.page-banner { padding-bottom: 0px; margin-bottom: 0px; }
.page-banner > canvas { height: 180px; min-height: 250px !important; }
.page_title_line_left, .page_title_line_right { display: none !important; }
.page-banner::after { height: 180px; }
}

.page-banner { margin-bottom: 0px; }

.page-title .titlewrapper { display: none; }

.page-banner canvas { min-height: 400px; opacity: 0.6; }

.section-main-wrapper { position: relative; display: block; z-index: 1; }

.section-main-wrapper::before { content: ""; position: absolute; top: 0px; left: -25%; width: 88%; height: 100%; background-image: url("../images/he-thong/overlay-logo-02.png"); background-size: contain; background-position: center top -10px; background-repeat: no-repeat; z-index: -1; opacity: 0.65; display: none; }

.page-banner::after { opacity: 0.7; background: linear-gradient(rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 50%); }

.office-section { font-size: 0px; position: relative; }

.office-gallery-inner-wrapper { max-width: 1470px; margin: 93px auto 0px; padding: 0px 15px; }

.office-gallery-main-slide-wrapper, .office-gallery-thumbnail-slide-wrapper { position: relative; }

.office-gallery-thumbnail-slide-wrapper { margin: 18px -5px 0px; }

.office-gallery-main-slide-arrows { position: absolute; top: 50%; left: 0px; transform: translateY(-50%); width: 100%; z-index: 1; pointer-events: none; }

.office-gallery-main-slide-arrows span { display: inline-block; vertical-align: top; font-size: 41px; color: rgb(255, 255, 255); text-align: center; width: 77px; height: 193px; padding: 75px 0px; background-color: rgba(0, 0, 0, 0.5); cursor: pointer; transition: 0.4s ease-in-out; pointer-events: auto; }

.office-gallery-main-slide-arrows span:hover { background-color: rgba(0, 0, 0, 0.7); }

.office-gallery-main-slide-arrows span.next { float: right; }

.office-gallery-main-slide-item, .office-gallery-thumbnail-slide-item { position: relative; }

.office-gallery-thumbnail-slide-item { padding: 0px 5px; cursor: pointer; }

.office-gallery-main-slide-item canvas, .office-gallery-thumbnail-slide-item canvas { display: block; width: 100%; background-size: cover; background-position: center center; background-repeat: no-repeat; }

@media only screen and (max-width: 991px){
.office-gallery-inner-wrapper { margin: 30px auto 0px; }
}

@media only screen and (max-width: 767px){
.office-gallery-main-slide-arrows span { width: 60px; height: 63px; padding: 16px 0px; font-size: 28px; }
}

/* =========================================================================
   TUYỂN DỤNG — lưới ô vị trí ở cuối trang Văn phòng/Liên hệ
   ========================================================================= */
.office-careers-wrapper {
    max-width: 1180px;
    margin: 40px auto 80px;
    padding: 0 24px;
}
.office-careers-heading {
    font-family: var(--sl-font-body);
    font-size: 22px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sl-teal, #00bfb3) !important;
    margin-bottom: 8px;
}
.office-careers-heading div {
    font-family: var(--sl-font-heading);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--sl-gold-light, #e2af81) !important;
    border-left: 4px solid var(--sl-gold, #e2af81);
    padding-left: 16px;
    margin-top: 6px;
}
.office-careers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 44px;
}
.office-careers-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    padding: 46px 30px 34px;
    border: 1px solid rgba(212, 175, 55, .28);
    border-radius: 6px;
    background: linear-gradient(155deg, #00332f 0%, #004d4a 60%, #00615c 100%);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.office-careers-item a:hover {
    transform: translateY(-6px);
    border-color: var(--sl-gold, #e2af81);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .42);
}
.office-careers-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    color: var(--sl-gold-light, #e2af81);
}
.office-careers-item-icon svg {
    width: 100%;
    height: 100%;
}
.office-careers-item-eyebrow {
    font-family: var(--sl-font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #9fd8d1 !important;
    margin-top: 22px;
}
.office-careers-item-title {
    font-family: var(--sl-font-heading);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--sl-gold-light, #e2af81) !important;
    margin-top: 10px;
    padding-bottom: 20px;
    position: relative;
}
.office-careers-item-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 54px;
    height: 2px;
    background: var(--sl-gold, #e2af81);
    opacity: .8; /* decorative separator */
}
.office-careers-item-link {
    font-family: var(--sl-font-body);
    font-size: 15px;
    letter-spacing: .5px;
    color: var(--sl-gold, #e2af81) !important;
    margin-top: 20px;
}
.office-careers-item-link .arrow {
    display: inline-block;
    transition: transform .25s ease;
}
.office-careers-item a:hover .office-careers-item-link .arrow {
    transform: translateX(5px);
}
@media (max-width: 900px) {
    .office-careers-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: visible;
        grid-template-columns: none;
        max-width: 100%;
        margin-left: -24px;
        margin-right: -24px;
        padding: 4px 24px 16px;
        gap: 16px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    .office-careers-item {
        flex: 0 0 78%;
        max-width: 300px;
        scroll-snap-align: start;
    }
    .office-careers-heading div { font-size: 36px; }
}

/* =========================================================================
   GALLERY VĂN PHÒNG — cố định chiều cao hero ~50% màn hình để cân đối
   (mặc định canvas tự do theo tỉ lệ 1440x653 nên quá cao).
   ========================================================================= */
.sunland-template--our-office .office-gallery-main-slide,
.sunland-template--our-office .office-gallery-main-slide .slick-list,
.sunland-template--our-office .office-gallery-main-slide .slick-track,
.sunland-template--our-office .office-gallery-main-slide-item,
.sunland-template--our-office .office-gallery-main-slide-item canvas {
    height: 50vh !important;
    min-height: 340px;
    max-height: 640px;
}
.sunland-template--our-office .office-gallery-main-slide-item canvas {
    width: 100% !important;
    background-size: cover !important;
    background-position: center !important;
}
/* Mũi tên điều hướng nằm trên cùng và bấm được */
.sunland-template--our-office .office-gallery-main-slide-arrows { pointer-events: none; z-index: 3; }
.sunland-template--our-office .office-gallery-main-slide-arrows span { pointer-events: auto; }

/* =========================================================================
   KHỐI GIỚI THIỆU VĂN PHÒNG — bố cục 2 cột giống section "Giới thiệu" trang chủ
   (chữ trái trên khối teal bo tròn, ảnh phải).
   ========================================================================= */
.sunland-template--our-office .office-intro-wrapper {
    width: min(var(--sl-content-width, 1320px), calc(100% - 48px));
    max-width: none;
    margin: 30px auto 70px;
    padding: 0;
}
.sunland-template--our-office .office-intro-inner {
    display: block;
    position: relative;
}
.sunland-template--our-office .office-intro-text {
    position: relative;
    padding: 40px 0 40px 0;
    z-index: 1;
}
/* ảnh nổi bên phải, chữ bo quanh ảnh (kiểu tạp chí) */
.sunland-template--our-office .office-intro-text .office-intro-photo {
    float: right;
    width: 42%;
    max-width: 560px;
    margin: 6px 0 24px 44px;
    shape-margin: 44px;
}
.sunland-template--our-office .office-intro-text .office-intro-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .38);
}
.sunland-template--our-office .office-intro-inner::after {
    content: "";
    display: block;
    clear: both;
}
.sunland-template--our-office .office-intro-heading {
    font-family: var(--sl-font-body);
    font-size: 20px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #d9f2ef !important;
}
.sunland-template--our-office .office-intro-heading div {
    font-family: var(--sl-font-heading);
    font-size: 46px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--sl-gold, #e2af81) !important;
    border-left: 4px solid var(--sl-gold, #e2af81);
    padding-left: 16px;
    margin-top: 10px;
}
.sunland-template--our-office .office-intro-excerpt { margin-top: 28px; }
.sunland-template--our-office .office-intro-excerpt p {
    font-family: var(--sl-font-body);
    font-size: 16px;
    line-height: 1.7;
    color: #f4f4f4 !important;
    margin-bottom: 16px;
}
.sunland-template--our-office .office-intro-excerpt h4 {
    font-family: var(--sl-font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--sl-gold-light, #e2af81) !important;
    margin: 24px 0 10px;
    letter-spacing: .3px;
}
@media (max-width: 900px) {
    .sunland-template--our-office .office-intro-text { padding: 24px 0; }
    .sunland-template--our-office .office-intro-text .office-intro-photo {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 24px 0;
    }
    .sunland-template--our-office .office-intro-text .office-intro-photo img { aspect-ratio: 16 / 10; }
    .sunland-template--our-office .office-intro-heading div { font-size: 34px; }
}
