/* Chinese careers page: presentation only; shared header/footer untouched. */
body.ui-careers { background:#151a17; background-image:none; }
.ui-careers .wrapper > .section:not(.site-footer) { background:#fff; padding:75px 40px; color:#354035; }
.ui-careers .wrapper > .section:not(.site-footer) > .row { max-width:1240px; margin-left:auto!important; margin-right:auto!important; }
.ui-careers .wrapper > .section:not(.site-footer) > .row > .col-lg-8 { flex:0 0 100%; max-width:100%; margin-left:0; }
.ui-careers .wrapper > .section-banner { background:#151a17!important; padding:170px 40px 65px!important; }
.ui-careers .section-banner > .careers-heading-row > div:first-child { flex:0 0 80%; max-width:80%; margin-left:0; }
.ui-careers .section-banner h1 { font-size:64px; line-height:1.3; letter-spacing:-.04em; font-family:var(--font-sans); font-style:normal; font-weight:400; color:#fff; }
.ui-careers .section-banner .text-green-md { color:#ee6269!important; }
.ui-careers .section-banner .banner-text { position:static; margin:0; padding:0; background:transparent; color:#b9c3b8; font-size:20px; }
.ui-careers .section-banner > .careers-heading-row { margin-top:0!important; margin-bottom:20px!important; }
.ui-careers .section-banner > .row > .col-lg-6 { padding:0; }
.ui-careers .section-banner .banner-text > div { max-width:100%; margin-left:0; padding-left:0!important; }
.ui-careers .section-banner .banner-text h2.fs-12 { font-size:30px!important; line-height:1.5; letter-spacing:0; color:#b9c3b8; }
.ui-careers .section-banner .vertical-line { display:none; }
.ui-careers .wrapper > .section:not(.site-footer) h2 { font-family:var(--font-sans); font-style:normal; letter-spacing:-.025em; }
.ui-careers .wrapper > .section:not(.site-footer):not(.section-banner) h2 { font-size:36px; line-height:1.4; color:#263126; }
.ui-careers .wrapper > .section:not(.site-footer) h3 { font-family:var(--font-sans); font-size:22px; line-height:1.5; letter-spacing:0; color:#b7323b!important; }
.ui-careers .wrapper > .section:not(.site-footer) h4 { color:#29372c; }
.ui-careers .wrapper > .section:not(.site-footer) p { font-size:16px; line-height:1.9; color:#53614f; }
.ui-careers .wrapper > .section.bg-blue { background:#f4f6f7!important; }
.ui-careers .wrapper > .section.bg-blue .text-white { color:#354035!important; }
.ui-careers .wrapper > .section:not(.site-footer) .text-green,.ui-careers .wrapper > .section:not(.site-footer):not(.section-banner) .text-green-md { color:#b7323b!important; }
.ui-careers .wrapper > .section:not(.site-footer) figure { overflow:hidden; border-left:4px solid #bc343d; }
.ui-careers .wrapper > .section:not(.site-footer) figure img { display:block; width:100%; height:auto; object-fit:contain; object-position:center; }
.ui-careers .wrapper > .section:not(.site-footer) .row-border { border-bottom:1px solid #dce1da; color:#364432!important; }
.ui-careers .wrapper > .section:not(.site-footer) .row-border a { color:#b7323b!important; }
.ui-careers .wrapper > .section:not(.site-footer) a:focus-visible { outline:3px solid #d86970; outline-offset:4px; }
@media(max-width:767px) {
 .ui-careers .wrapper > .section:not(.site-footer) { padding:40px 24px; }
 .ui-careers .wrapper > .section-banner { padding:120px 24px 40px!important; }
 .ui-careers .section-banner > .careers-heading-row > div:first-child { max-width:100%; flex-basis:100%; }
 .ui-careers .section-banner h1 { font-size:40px; }
 .ui-careers .wrapper > .section:not(.site-footer):not(.section-banner) h2 { font-size:28px; }
 .ui-careers .wrapper > .section:not(.site-footer) figure img { height:auto; }
 .ui-careers .section.bg-blue .col-6 { flex:0 0 100%; max-width:100%; }
 .ui-careers .section.bg-blue .col-6 > div { padding-right:0!important; }
}

/* Native disclosure keeps job descriptions collapsed until selected. */
.ui-careers .career-job:first-of-type { border-top:1px solid #dce1da; }
.ui-careers .career-job > summary { cursor:pointer; list-style:none; }
.ui-careers .career-job > summary::-webkit-details-marker { display:none; }
.ui-careers .career-job > summary:hover,
.ui-careers .career-job[open] > summary { color:#b7323b; }
.ui-careers .career-job > summary:focus-visible { outline:3px solid #d86970; outline-offset:4px; }
.ui-careers .career-job-content { padding:0 0 28px; overflow-wrap:anywhere; }
.ui-careers .career-job-content h4 { font-size:18px; line-height:1.7; margin:24px 0 12px; }
.ui-careers .career-job-content p { margin-bottom:12px; }

.ui-careers .career-job > summary { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.ui-careers .career-job-apply { flex-shrink:0; font-weight:400; }

#career-application { width:min(560px, calc(100% - 32px)); max-height:90vh; overflow:auto; border:0; padding:36px; color:#354035; background:#fff; }
#career-application::backdrop { background:rgba(15,24,20,.65); }
#career-application h2 { font-size:28px; margin:0 32px 12px 0; }
#career-application-job { color:#b7323b; margin-bottom:24px; }
.career-application-close { position:absolute; top:12px; right:16px; border:0; background:none; font-size:28px; cursor:pointer; }
#career-application label { display:block; margin-bottom:8px; }
#career-application input[type=file] { display:block; max-width:100%; font-size:14px; }
#resume-help, .career-application-privacy { font-size:13px; line-height:1.7; color:#657063; margin-top:10px; }
.career-application-submit { background:#b7323b; border:0; color:#fff; padding:12px 28px; cursor:pointer; }
.career-application-submit:disabled { opacity:.65; cursor:default; }
#career-application-status { margin:16px 0 0; font-size:14px; line-height:1.7; }
#career-application :focus-visible { outline:3px solid #d86970; outline-offset:3px; }
@media(max-width:767px) { #career-application { padding:28px 24px; } }

/* Give the team photograph more width and reduce the surrounding whitespace. */
.ui-careers .wrapper > .section.careers-team-section { padding:40px 40px 36px; }
.ui-careers .wrapper > .section.careers-team-section > .row { max-width:1600px; }
.ui-careers .careers-team-photo { margin:24px 0 0; }
@media(max-width:767px) {
 .ui-careers .wrapper > .section.careers-team-section { display:none; }
 .ui-careers .careers-team-photo { margin-top:18px; }
}

.careers-hero-photo { display:none; }
@media(max-width:767px) {
 .ui-careers .wrapper > .section-banner { position:relative; overflow:hidden; isolation:isolate; aspect-ratio:1238 / 1271; padding:0!important; }
 .ui-careers .careers-hero-photo { display:block; position:absolute; inset:0; z-index:-2; background:none; }
 .ui-careers .careers-hero-photo img { width:100%; height:100%; object-fit:contain; object-position:center bottom; transform-origin:50% 86%; }
 .ui-careers .section-banner.hero-photo-ready .careers-hero-photo img { animation:careers-pull-back 8s cubic-bezier(.22,.61,.36,1) both; }
 .ui-careers .section-banner::after { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background:linear-gradient(180deg,rgba(7,23,28,.42),rgba(7,23,28,.18) 65%,transparent); }
 .ui-careers .section-banner h1,
 .ui-careers .section-banner .text-green-md,
 .ui-careers .section-banner .banner-text h2.fs-12 { color:#fff!important; text-shadow:0 2px 12px rgba(0,0,0,.5); }
}
@keyframes careers-pull-back {
 from { transform:translateY(-32%) scale(4); }
 to { transform:translateY(0) scale(1); }
}
@media(max-width:767px) and (prefers-reduced-motion:reduce) {
 .ui-careers .section-banner.hero-photo-ready .careers-hero-photo img { animation:none; transform:none; }
}

@media(max-width:767px) {
 .ui-careers .section-banner > .row { position:absolute; left:24px; right:24px; top:55%; margin:0!important; }
 .ui-careers .section-banner > .row:first-of-type { top:27%; }
 .ui-careers .section-banner h1 { font-size:clamp(30px, 8.5vw, 40px); margin:0; }
 .ui-careers .section-banner .banner-text > div { padding-top:0!important; }
 .ui-careers .section-banner .banner-text h2.fs-12 { font-size:clamp(20px, 5.6vw, 26px)!important; margin:0; }
}
