

/* Keep the photo flush with the executive section and give the copy its own inset. */
body.page-template-tpl-executive-outplacement .left-right-container .wider-lr-container .left-right-block:has(> .block-image img) {
    padding-block: 0;
}
body.page-template-tpl-executive-outplacement .left-right-container .wider-lr-container .left-right-block:has(> .block-image img) > .block-text {
    padding-block: 20px;
}
@media (max-width: 650px) {
    body.page-template-tpl-executive-outplacement .left-right-container .wider-lr-container .left-right-block:has(> .block-image img) {
        row-gap: 0;
    }
    body.page-template-tpl-executive-outplacement .left-right-container .wider-lr-container .left-right-block:has(> .block-image img) > .block-text {
        padding-block: 40px;
    }
}

.cm-executive-service .package_box .blocks_icons .package-card-dark .packag_middle p { color: #d7e7f0; }
.cm-executive-service .package_box .blocks_icons .block_icon.package-card-dark .packag_middle { border-color: #5e6580; }
.cm-executive-service .package_box .blocks_icons .block_icon.package-card-dark .read-more:after { border-color: #fff; }
.cm-executive-service .cm-list-card { background: #f3faff; }
.cm-executive-service .cm-list-card ul { display: flex; flex-direction: column; gap: 24px; }
.cm-executive-service .cm-list-card ul li {
    position: relative;
    padding-left: 34px;
    margin: 0;
    color: #5e6580;
}
.cm-executive-service .cm-list-card ul li:before {
    position: absolute;
    left: 0;
    content: url(../img/Tick.svg);
    opacity: .7;
}
.cm-executive-service .blocks_icon_column .blocks_icons .block_icon.cm-media-card { padding-left: 0; min-width: 0; }
.cm-executive-service .blocks_icon_column .blocks_icons .block_icon.cm-media-card > div:first-child {
    position: static;
    flex: none;
    width: 100%;
    margin: 0;
}
.cm-executive-service .blocks_icon_column .blocks_icons .block_icon.cm-media-card figure,
.cm-executive-service .blocks_icon_column .blocks_icons .block_icon.cm-media-card img { display: block; width: 100%; height: auto; }
.cm-executive-service .cm-media-card h3 { padding-top: 32px; }
.cm-executive-service .title-image-block { padding: 120px 96px; }
.cm-executive-service #executive-support { scroll-margin-top: 120px; }
.cm-executive-service .testimonials-block .custom-card .swiper-slide { height: auto; }
.cm-executive-service .testimonials-block .swiper-wrapper { align-items: flex-start; }
.cm-executive-service .charcoal-blue .podcast_btns_two { justify-content: center; flex-wrap: wrap; padding-inline: 0; }
@media (max-width: 1024px) {
    .cm-executive-service .title-image-block { padding: 80px 40px; }
}
@media (max-width: 1023px) {
    .cm-executive-service .title-image-block { padding: 64px 20px; }
    .cm-executive-service .package_box .blocks_icons { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .cm-executive-service .cm-media-card h3 { padding-top: 24px; }
    .cm-executive-service .testimonials-block .client-desc { align-items: flex-start; }
    .cm-executive-service .testimonials-block .client-desc > svg { width: 36px; height: auto; flex-shrink: 0; }
}

/* Executive stats: equal columns, with each number and label aligned as one unit.
   The older service template treats its last stat as an inset callout; numeric
   executive stats must not inherit that callout's padding or full-width row. */
body.cm-executive-service.page-template-tpl-service-flexible .opportunity-block .blocks_icons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
}
body.cm-executive-service.page-template-tpl-service-flexible .opportunity-block .blocks_icons > .block_icon,
body.cm-executive-service.page-template-tpl-service-flexible .opportunity-block .blocks_icons > .block_icon:nth-child(3):last-child {
    display: block;
    width: auto;
    min-width: 0;
    padding: 0;
    margin: 0;
    grid-column: auto;
    text-align: center;
}
body.cm-executive-service.page-template-tpl-service-flexible .opportunity-block .blocks_icons .block_icon h4,
body.cm-executive-service.page-template-tpl-service-flexible .opportunity-block .blocks_icons .block_icon p {
    text-align: center;
}
body.cm-executive-service.page-template-tpl-service-flexible .opportunity-block .blocks_icons .block_icon p {
    max-width: 24ch;
    margin-inline: auto;
}
@media (max-width: 767px) {
    body.cm-executive-service.page-template-tpl-service-flexible .opportunity-block .blocks_icons {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }
}
body.cm-executive-service.page-template-tpl-service-flexible .opportunity-block > .row {
    width: calc(100% - 192px);
    max-width: 1320px;
    margin-inline: auto;
}
@media (max-width: 1024px) {
    body.cm-executive-service.page-template-tpl-service-flexible .opportunity-block > .row { width: calc(100% - 80px); }
}
@media (max-width: 1023px) {
    body.cm-executive-service.page-template-tpl-service-flexible .opportunity-block > .row { width: calc(100% - 40px); }
}
@media (max-width: 767px) {
    body.cm-executive-service.page-template-tpl-service-flexible .opportunity-block .blocks_icons { grid-auto-rows: 1fr; }
}

/* The visible hero title uses one shared rule, regardless of rich-text heading tag. */
.cm-executive-service .main-hero-content .cm-executive-hero-title {
    display: block;
    font-family: TTTalent-Bold;
    font-size: 67px;
    line-height: 64px;
    font-weight: 400;
    text-transform: none;
    padding-bottom: 16px;
    color: #fff;
}
@media (min-width: 1024px) and (max-width: 1440px) {
    .cm-executive-service .main-hero-content .cm-executive-hero-title { font-size: 47px; line-height: 49px; }
}
@media (max-width: 1023px) {
    .cm-executive-service .main-hero-content .cm-executive-hero-title { font-size: 34px; line-height: 35px; }
}
/* Optional plain support list: same section spacing and type as the executive grids. */
.cm-executive-service .cm-executive-checklist .blocks_icons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
}
.cm-executive-service .cm-executive-checklist .blocks_icons .block_icon {
    width: auto;
    min-width: 0;
    padding: 0;
    margin: 0;
    background: transparent;
}
@media (max-width: 1023px) {
    .cm-executive-service .cm-executive-checklist .blocks_icons { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
/* Keep a single-button hero row the same height as a two-button row. */
.cm-executive-service .main-hero-content .podcast_btns_two > .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
}
@media (max-width: 1023px) {
    .cm-executive-service .main-hero-content .podcast_btns_two > .button { min-height: 48px; }
}

/* Executive CTA blocks own their alignment; rich text need not supply inline styles. */
.cm-executive-service .charcoal-blue .info-content,
.cm-executive-service .charcoal-blue .info-content > :is(h1, h2, h3, p) {
    text-align: center;
}

/* Executive headings retain the same mobile scale even when a legacy locale sheet is present. */
@media (max-width: 1023px) {
    .cm-executive-service .blocks_icon_column .block-text h2 {
        font-size: 34px;
        line-height: 34px;
    }
}
/* Uppercase the executive hero and CTA headings. */
.cm-executive-service .main-hero-content .cm-executive-hero-title,
body.cm-executive-service .charcoal-blue .info-content :is(h1, h2, h3) {
    text-transform: uppercase;
}

/* Keep the text panel and its buttons in view on tall desktop screens. */
@media (min-width: 1024px) {
    .cm-executive-service .main-hero-wrap { display: grid; align-items: end; }
    .cm-executive-service .main-hero-image,
    .cm-executive-service .main-hero-content { grid-area: 1 / 1; }
    .cm-executive-service .main-hero-image {
        height: 100%;
        min-height: clamp(32rem, calc(100vh - 88px), 45rem);
        background-position: center 36%;
    }
    .cm-executive-service .main-hero-content {
        position: relative;
        z-index: 1;
        bottom: auto;
        align-self: end;
        margin-block: 24px;
    }
}

/* Match the shared call-to-action heading, including its highlighted words. */
body.cm-executive-service .charcoal-blue .info-content h2,
body.cm-executive-service .charcoal-blue .info-content h2 span {
    font-family: TTTalent-Bold, sans-serif;
}
