body.ct-section-careers #page #content #primary .site-main .entry-content > .ct-careers {
    max-width: 1160px !important;
    margin-inline: auto;
}
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-careers > .ct-career-hero.ctpb-page-intro {
    position: relative;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 430px;
    padding: clamp(24px,5vw,62px) !important;
    border: 0 !important;
    border-top: 4px solid #b1003b !important;
    border-radius: 20px !important;
    background: linear-gradient(90deg,#171d2b 0%,#171d2bf5 38%,#171d2b38 100%),url("office.jpg") 62% center / cover no-repeat !important;
    text-align: left !important;
}
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-careers .ct-career-hero.ctpb-page-intro::before,
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-careers .ct-career-hero.ctpb-page-intro::after {
    display: none !important;
}
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-career-hero.ctpb-page-intro :is(h1,p) {
    color: #fff !important;
    text-align: left !important;
    margin-inline: 0 !important;
}
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-career-hero.ctpb-page-intro h1:first-of-type {
    max-width: 15ch;
    color: #fff !important;
    font-size: clamp(34px,5.6vw,68px) !important;
    line-height: 1.12 !important;
}
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-career-hero p {
    max-width: 39ch;
}
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-career-jump {
    margin-top: 18px;
    border: 1px solid #b1003b;
}
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-career-open-heading {
    margin: 28px 0 16px !important;
    padding-inline-start: 14px;
    border-inline-start: 4px solid #b1003b;
    text-align: left !important;
    scroll-margin-top: 125px;
}
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-career-open-heading :is(h2,p),
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-career-role :is(h2,h3,p,li),
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-career-apply :is(h2,p) {
    color: #29202a !important;
}
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-career-two-roles {
    grid-template-columns: repeat(2,minmax(0,1fr));
    align-items: stretch;
}
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-career-two-roles > .ct-career-role {
    min-width: 0;
    padding: clamp(16px,3vw,32px);
    background: #fff !important;
    border: 1px solid #e5d6dd !important;
    border-top: 4px solid #b1003b !important;
    border-radius: 15px;
}
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-career-role-meta {
    background: #f5eff2;
    border: 0;
}
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-career-role summary {
    color: #841038 !important;
    min-height: 44px;
}
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-career-apply {
    padding: clamp(18px,3vw,32px);
    background: #fff !important;
    border: 1px solid #e5d6dd !important;
    border-inline-start: 4px solid #b1003b !important;
    text-align: left;
}
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-career-apply .ct-job-actions {
    justify-content: flex-start;
}
body.ct-section-careers #page #content #primary .site-main .entry-content section.ctpb-service-end {
    width: min(100%, 1120px) !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between !important;
    gap: 10px 16px;
}
body.ct-section-careers #page #content #primary .site-main .entry-content .ctpb-service-end > :is(.ctpb-service-share,.ctpb-service-contact) {
    flex: 0 1 auto !important;
    width: auto !important;
    min-width: 0;
}
body.ct-section-careers #page#page#page#page .ctpb-service-end :is(a,summary,button) {
    opacity: 1 !important;
    transition: none !important;
}
@media(max-width: 720px) {
    body.ct-section-careers #page #content #primary .site-main .entry-content .ct-careers > .ct-career-hero.ctpb-page-intro {
        min-height: 310px;
        background-image: linear-gradient(90deg,#171d2bf7,#171d2bbb), url("office.jpg") !important;
    }
    body.ct-section-careers #page #content #primary .site-main .entry-content .ct-career-two-roles {
        grid-template-columns: minmax(0,1fr);
    }
}

#ct-join-positions { scroll-margin-top: 130px; }
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-careers > .ct-career-hero.ctpb-page-intro {
    min-height:0;
    padding:clamp(22px,5vw,52px)!important;
    background:linear-gradient(120deg,#45172b,#211928 75%)!important;
    border:0!important;
    border-inline-start:4px solid #b1003b!important;
}
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-careers .ct-career-hero.ctpb-page-intro::before {
    display:block!important;
    margin:0 0 12px!important;
    border:0!important;
    padding:0!important;
    background:none!important;
    color:#fff!important;
}
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-career-hero.ctpb-page-intro h1:first-of-type {
    max-width:none;
    font-size:clamp(30px,4.8vw,56px)!important;
    margin:0 0 10px!important;
}
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-career-hero p { max-width:none; }
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-career-open-heading {
    display:block!important;
    border:0!important;
    padding:0!important;
    margin:18px 0 12px!important;
}
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-career-two-roles > .ct-career-role {
    padding:clamp(14px,2vw,22px);
    border-radius:12px;
}
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-career-role-meta {
    padding:8px 10px;
    border-radius:8px;
}

/* Full-width careers layout with a consistent 30px section rhythm. */
body.ct-section-careers #page #content #primary .site-main .entry-content > .ct-careers {
    width:calc(100% - clamp(32px,5vw,96px))!important;
    max-width:1440px!important;
    margin:30px auto 56px!important;
    padding:0!important;
    display:grid!important;
    gap:30px!important;
}
body.ct-section-careers #page #content #primary .site-main .entry-content > .ct-careers > * {
    margin-block:0!important;
}
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-career-open-heading {
    margin:0!important;
}
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-career-two-roles {
    gap:30px!important;
    margin:0!important;
}
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-career-details {
    gap:30px!important;
    margin:0!important;
}
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-career-role :is(h2,h3,p) {
    margin-block-start:0!important;
}
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-career-role h2,
body.ct-section-careers #page #content #primary .site-main .entry-content .ct-career-panel h2 {
    margin-bottom:16px!important;
}
@media(max-width:720px) {
    body.ct-section-careers #page #content #primary .site-main .entry-content > .ct-careers {
        width:calc(100% - 32px)!important;
        margin-top:20px!important;
        gap:30px!important;
    }
    body.ct-section-careers #page #content #primary .site-main .entry-content .ct-career-two-roles,
    body.ct-section-careers #page #content #primary .site-main .entry-content .ct-career-details {gap:18px!important}
}
