/* Clear Energy homepage and shared footer refresh.
   Loaded after the child stylesheet; existing interior page rules stay in style.css. */

.cebc-container {
    box-sizing: border-box;
    width: calc(100% - 96px);
    max-width: 1160px;
    margin: 0 auto;
}

body.template-front-page #primary.cebc-home {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.cebc-home #content {
    width: 100%;
    margin: 0;
    padding: 0;
}

.cebc-home .cebc-section {
    padding: 72px 0;
}

.cebc-home h1,
.cebc-home h2,
.cebc-home h3 {
    color: #002244;
    font-family: 'Tenor Sans', Arial, sans-serif;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    overflow-wrap: break-word;
    hyphens: none;
}

.cebc-home p {
    color: #14212B;
    font-family: 'Source Sans 3', Calibri, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.65;
}

.cebc-home .cebc-section-title {
    margin: 0 0 36px;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.2;
}

.cebc-home .cebc-section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 18px;
    background: #00A3D9;
}

/* Preserve the current hero content and remove its empty title and article spacing. */
.cebc-home-hero > article {
    margin: 0;
    padding: 0;
    border: 0;
}

.cebc-home-hero > article > .entry-header,
.cebc-home-hero > article > footer,
.cebc-home-hero .edit-link {
    display: none;
}

.cebc-home-hero .entry-content,
.cebc-home-hero .entry-page-image {
    margin: 0;
    padding: 0;
}

body .cebc-home-hero .responsive-slider.flexslider {
    margin: 0 !important;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #002244;
}

body .cebc-home-hero .responsive-slider.flexslider .slides img {
    display: block;
    width: 100%;
    height: clamp(340px, 38vw, 560px);
    object-fit: cover;
}

body .cebc-home-hero .responsive-slider.flexslider .slide-title a,
body .cebc-home-hero .responsive-slider.flexslider .slide-title a:hover {
    box-sizing: border-box;
    padding: 16px 24px;
    color: #FFFFFF;
    line-height: 1.3;
    hyphens: none !important;
    word-break: normal;
    overflow-wrap: normal;
    text-shadow: none !important;
}

body .cebc-home-hero .responsive-slider.flexslider .flex-control-nav {
    bottom: 24px !important;
    line-height: 1;
}

body .cebc-home-hero .responsive-slider.flexslider .flex-control-nav li {
    display: inline-block;
    width: auto;
    margin: 0 6px;
}

body .cebc-home-hero .responsive-slider.flexslider .flex-control-nav li a,
body .cebc-home-hero .responsive-slider.flexslider .flex-control-nav li a:hover {
    display: block;
    box-sizing: border-box;
    width: 14px !important;
    height: 14px !important;
    padding: 0;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 1px #002244;
    text-indent: -9999px;
    overflow: hidden;
}

body .cebc-home-hero .responsive-slider.flexslider .flex-control-nav li a.active,
body .cebc-home-hero .responsive-slider.flexslider .flex-control-nav li a.flex-active,
body .cebc-home-hero .responsive-slider.flexslider .flex-control-nav li a:hover {
    background: #002244 !important;
    border-color: #00A3D9;
}

/* Introduction */
.cebc-home .cebc-intro {
    background: #FFFFFF;
}

.cebc-home .cebc-eyebrow {
    margin: 0 0 22px;
    color: #2F6DB5;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.cebc-home .cebc-intro h1 {
    max-width: 850px;
    margin: 0 0 24px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.18;
}

.cebc-home .cebc-intro-copy {
    max-width: 940px;
    margin: 0;
    font-size: 20px;
}

/* Five service cards: three above two, with one-column mobile layout. */
.cebc-services {
    background: #F5F8FA;
}

.cebc-service-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;
}

.cebc-service-card {
    display: flex;
    flex-direction: column;
    grid-column: span 2;
    min-width: 0;
    box-sizing: border-box;
    padding: 30px;
    border: 1px solid #D1DDE8;
    background: #FFFFFF;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.cebc-service-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.cebc-service-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.cebc-service-card:hover,
.cebc-service-card:focus-within {
    border-color: #2F6DB5;
    box-shadow: 0 6px 20px rgba(0, 34, 68, .07);
}

.cebc-service-icon {
    display: block;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    color: #002244;
}

.cebc-icon-accent {
    stroke: #00A3D9;
}

.cebc-home .cebc-service-card h3 {
    margin: 0 0 16px;
    font-size: 23px;
    line-height: 1.25;
}

.cebc-home .cebc-service-card p {
    margin: 0 0 24px;
    font-size: 17px;
    line-height: 1.55;
}

.cebc-home a.cebc-text-link,
.cebc-home a.cebc-text-link:visited {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 10px;
    min-height: 44px;
    color: #2F6DB5;
    font-family: 'Source Sans 3', Calibri, Arial, sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
}

.cebc-home .cebc-service-card .cebc-text-link {
    margin-top: auto;
}

.cebc-home a.cebc-text-link:hover {
    color: #002244;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cebc-home .cebc-text-link span {
    font-size: 24px;
}

.cebc-home a:focus-visible,
.cebc-footer a:focus-visible {
    outline: 2px solid #2F6DB5;
    outline-offset: 5px;
}

/* Company experience */
.cebc-stats {
    padding: 48px 0;
    background: #002244;
}

.cebc-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cebc-stats-grid > div {
    padding: 0 32px;
    border-left: 1px solid #00A3D9;
}

.cebc-stats-grid > div:first-child {
    padding-left: 0;
    border: 0;
}

.cebc-home .cebc-stats p {
    margin: 0;
    color: #FFFFFF;
    font-size: 18px;
}

.cebc-home .cebc-stats .cebc-stat-number {
    font-family: 'Tenor Sans', Arial, sans-serif;
    font-size: clamp(36px, 4.5vw, 54px);
    line-height: 1.1;
}

.cebc-stat-number::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    margin: 16px 0;
    background: #00A3D9;
}

/* Recent posts use live WordPress titles, dates, and permalinks. */
.cebc-insights {
    background: #FFFFFF;
}

.cebc-insights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.cebc-insight-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0 28px;
    border-left: 1px solid #D1DDE8;
}

.cebc-insight-card:first-child {
    padding-left: 0;
    border: 0;
}

.cebc-insight-card time {
    display: block;
    margin-bottom: 16px;
    color: #4D4F53;
    font-family: 'Source Sans 3', Calibri, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

.cebc-home .cebc-insight-card h3 {
    margin: 0 0 18px;
    font-size: 23px;
    line-height: 1.3;
}

.cebc-home .cebc-insight-card h3 a,
.cebc-home .cebc-insight-card h3 a:visited {
    color: #002244;
    text-decoration: none;
}

.cebc-home .cebc-insight-card h3 a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cebc-home .cebc-insight-card > .cebc-text-link {
    margin-top: auto;
}

.cebc-home .cebc-all-insights {
    margin-top: 32px;
}

/* Homepage contact invitation */
.cebc-contact-cta {
    background: #E4ECF4;
    text-align: center;
}

.cebc-home .cebc-contact-cta .cebc-section-title {
    margin-bottom: 24px;
}

.cebc-contact-cta .cebc-section-title::after {
    margin-right: auto;
    margin-left: auto;
}

.cebc-home .cebc-contact-cta p {
    margin: 0 0 26px;
}

.cebc-home a.cebc-button,
.cebc-home a.cebc-button:visited {
    display: inline-block;
    box-sizing: border-box;
    padding: 14px 24px;
    border: 1px solid #002244;
    border-radius: 3px;
    background: #002244;
    color: #FFFFFF;
    font-family: 'Source Sans 3', Calibri, Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

.cebc-home a.cebc-button:hover {
    background: #2F6DB5;
    border-color: #2F6DB5;
}

/* Shared footer, independent of legacy entry-meta and site-info styles. */
footer#colophon.cebc-footer {
    clear: both;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 56px 0 24px;
    border: 0;
    border-top: 3px solid #00A3D9;
    background: #002244;
    color: #E4ECF4;
    text-align: left;
    font-family: 'Source Sans 3', Calibri, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

.cebc-footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1.2fr .7fr 1fr;
    gap: 36px;
}

.cebc-footer-grid > * {
    min-width: 0;
}

#colophon.cebc-footer h2 {
    margin: 0 0 20px;
    color: #FFFFFF;
    font-family: 'Tenor Sans', Arial, sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.4;
}

#colophon.cebc-footer p {
    margin: 0 0 18px;
    color: #E4ECF4;
    font-size: 15px;
    line-height: 1.65;
}

.cebc-footer-brand img {
    display: block;
    width: 245px;
    max-width: 100%;
    height: auto;
    margin: 0 0 22px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.cebc-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cebc-footer li {
    margin: 0 0 12px;
    line-height: 1.5;
}

#colophon.cebc-footer a,
#colophon.cebc-footer a:visited {
    color: #E4ECF4;
    font-size: 15px;
    text-decoration: none;
    overflow-wrap: break-word;
}

#colophon.cebc-footer a:hover {
    color: #FFFFFF;
    text-decoration: underline;
    text-underline-offset: 4px;
}

#colophon.cebc-footer a:focus-visible {
    outline-color: #00A3D9;
}

.cebc-footer address {
    margin: 0 0 18px;
    font-size: 15px;
    font-style: normal;
    line-height: 1.65;
}

.cebc-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
}

.cebc-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px 32px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid rgba(228, 236, 244, .25);
}

#colophon.cebc-footer .cebc-footer-bottom p {
    margin: 0;
    font-size: 13px;
}

#colophon.cebc-footer .cebc-footer-bottom a {
    font-size: 13px;
}

/* Tablet and mobile */
@media screen and (max-width: 960px) {
    .cebc-container {
        width: calc(100% - 48px);
    }
    .cebc-home .cebc-section {
        padding: 52px 0;
    }
    .cebc-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .cebc-service-card,
    .cebc-service-card:nth-child(4),
    .cebc-service-card:nth-child(5) {
        grid-column: auto;
    }
    .cebc-service-card:last-child {
        grid-column: 1 / -1;
    }
    .cebc-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px;
    }
    .cebc-stats-grid > div {
        padding: 0 20px;
    }
    .cebc-home .cebc-insight-card h3 {
        font-size: 21px;
    }
}

@media screen and (max-width: 600px) {
    .cebc-container {
        width: calc(100% - 40px);
    }
    .cebc-home .cebc-section {
        padding: 40px 0;
    }
    .cebc-home .cebc-intro-copy {
        font-size: 18px;
    }
    .cebc-service-grid,
    .cebc-insights-grid,
    .cebc-stats-grid,
    .cebc-footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .cebc-service-card {
        padding: 26px;
    }
    .cebc-home .cebc-service-card h3 {
        font-size: 24px;
    }
    .cebc-stats {
        padding: 36px 0;
    }
    .cebc-stats-grid > div,
    .cebc-stats-grid > div:first-child {
        padding: 24px 0;
        border-left: 0;
        border-top: 1px solid rgba(228, 236, 244, .25);
    }
    .cebc-stats-grid > div:first-child {
        padding-top: 0;
        border: 0;
    }
    .cebc-stats-grid > div:last-child {
        padding-bottom: 0;
    }
    .cebc-insight-card,
    .cebc-insight-card:first-child {
        padding: 24px 0;
        border-left: 0;
        border-bottom: 1px solid #D1DDE8;
    }
    .cebc-insight-card:first-child {
        padding-top: 0;
    }
    .cebc-insight-card:last-child {
        padding-bottom: 0;
        border: 0;
    }
    .cebc-home .cebc-insight-card h3 {
        font-size: 24px;
    }
    body .cebc-home-hero .responsive-slider.flexslider .slides img {
        height: 310px;
    }
    body .cebc-home-hero .responsive-slider.flexslider .slide-title a,
    body .cebc-home-hero .responsive-slider.flexslider .slide-title a:hover {
        right: 0;
        left: auto;
        width: 90%;
        padding: 14px 18px;
        font-size: 22px !important;
    }
    footer#colophon.cebc-footer {
        padding-top: 40px;
    }
    .cebc-footer-grid {
        gap: 28px;
    }
    #colophon.cebc-footer li a {
        display: inline-block;
        padding: 5px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cebc-service-card {
        transition: none;
    }
    body .cebc-home-hero .responsive-slider.flexslider .slides > li {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}


/* Interior banners: remove inherited top margins and the hidden page-title gap. */
body.page:not(.home) #primary,
body.blog #primary,
body.single-post #primary {
    margin-top: 0;
}

body.page:not(.home) #primary > #content > article > .entry-header {
    display: none;
}

/* Optional video / still-image hero. Slider mode keeps its original markup. */
.cebc-media-hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: clamp(340px, 38vw, 560px);
    overflow: hidden;
    background: #002244;
}

.cebc-media-hero .cebc-hero-poster,
.cebc-media-hero .cebc-hero-video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
    box-shadow: none;
}

.cebc-media-hero .cebc-hero-video {
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.cebc-media-hero.cebc-video-playing .cebc-hero-video {
    opacity: 1;
}

.cebc-hero-message {
    position: absolute;
    z-index: 1;
    top: 35%;
    right: 0;
    box-sizing: border-box;
    width: 46%;
    max-width: 700px;
    padding: 20px 28px;
    background: rgba(0, 34, 68, .92);
    text-align: right;
}

.cebc-home .cebc-media-hero .cebc-hero-headline {
    margin: 0;
    color: #FFFFFF;
    font-family: 'Tenor Sans', Arial, sans-serif;
    font-size: clamp(24px, 2.4vw, 34px);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0;
    hyphens: none;
    overflow-wrap: break-word;
}

.cebc-home .cebc-media-hero .cebc-hero-supporting {
    margin: 12px 0 0;
    color: #FFFFFF;
    font-size: 18px;
    line-height: 1.5;
}

.cebc-media-hero .cebc-hero-playback {
    position: absolute;
    z-index: 2;
    right: 24px;
    bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 50%;
    background: rgba(0, 34, 68, .65);
    background-image: none;
    color: #FFFFFF;
    box-shadow: none;
    text-shadow: none;
    line-height: 1;
    cursor: pointer;
}

.cebc-media-hero .cebc-hero-playback[hidden] {
    display: none;
}

.cebc-media-hero .cebc-hero-playback:hover {
    background: #2F6DB5;
}

.cebc-media-hero .cebc-hero-playback:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 4px;
}

@media screen and (max-width: 960px) {
    .cebc-hero-message {
        width: 65%;
    }
}

@media screen and (max-width: 600px) {
    .cebc-media-hero {
        height: 310px;
    }
    .cebc-hero-message {
        top: 30%;
        width: 90%;
        padding: 16px 20px;
    }
    .cebc-home .cebc-media-hero .cebc-hero-headline {
        font-size: 23px;
    }
    .cebc-home .cebc-media-hero .cebc-hero-supporting {
        font-size: 16px;
    }
    .cebc-media-hero .cebc-hero-playback {
        right: 16px;
        bottom: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cebc-media-hero .cebc-hero-video {
        transition: none;
    }
}


/* About: a shorter clerestory banner balances the larger content typography. */
.header-pic.about {
    height: clamp(280px, 28vw, 380px);
    aspect-ratio: auto;
    margin-top: 0;
    background-image: url('/wp-content/uploads/2014/07/slide1.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #002244;
}

/* Interior copy: improve readability without changing the approved wording. */
body.page:not(.home) .sub-page-content {
    font-family: 'Source Sans 3', Calibri, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    hyphens: none;
    overflow-wrap: break-word;
}

body.page:not(.home) .sub-page-content p,
body.page:not(.home) .sub-page-content ul,
body.page:not(.home) .sub-page-content ol {
    color: #14212B;
    font-size: 18px;
    line-height: 1.7;
}

body.page:not(.home) .sub-page-content p {
    margin-bottom: 24px;
}

body.page:not(.home) .sub-page-content h1,
body.page:not(.home) .sub-page-content h2 {
    color: #002244;
    font-family: 'Tenor Sans', Arial, sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0;
    margin-bottom: 24px;
}

body.page:not(.home) .sub-page-content h4 {
    font-size: 21px;
    line-height: 1.4;
}

/* About uses one clear text column instead of the small floated photograph. */
body.page .sub-page-content.cebc-about-content {
    box-sizing: border-box;
    width: calc(100% - 96px);
    max-width: 940px;
    margin: 0 auto;
    padding: 60px 0 72px;
    float: none;
}

body.page .sub-page-content.cebc-about-content .cebc-about-intro h1 {
    margin: 0 0 26px;
    font-size: clamp(32px, 3.2vw, 40px);
}

body.page .cebc-about-content .cebc-about-intro > p {
    font-size: 20px;
    line-height: 1.7;
}

.cebc-about-content .cebc-about-careers {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid #E4ECF4;
}

.cebc-about-content .cebc-about-careers h2 {
    margin-top: 0;
}

body.page .cebc-about-content a:not(.cebc-linkedin-button) {
    color: #2F6DB5;
    text-underline-offset: 4px;
}

body.page .cebc-about-content a:not(.cebc-linkedin-button):hover {
    color: #002244;
}

body.page .sub-page-content .cebc-linkedin-action {
    margin: 30px 0 0;
}

body.page .sub-page-content a.cebc-linkedin-button,
body.page .sub-page-content a.cebc-linkedin-button:visited {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    box-sizing: border-box;
    padding: 12px 20px;
    border: 1px solid #002244;
    border-radius: 3px;
    background: #002244;
    color: #FFFFFF;
    font-family: 'Source Sans 3', Calibri, Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

body.page .sub-page-content a.cebc-linkedin-button:hover {
    background: #2F6DB5;
    border-color: #2F6DB5;
    color: #FFFFFF;
}

.cebc-linkedin-button svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

body.page .sub-page-content a:focus-visible {
    outline: 2px solid #2F6DB5;
    outline-offset: 4px;
}

/* Contact Form 7: Cloud panels, white fields, and labels above their fields. */
body.page div.wpcf7 {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 28px 0 0;
    padding: 32px;
    border: 0;
    border-top: 3px solid #00A3D9;
    border-radius: 0;
    background: #E4ECF4;
    background-image: none;
    overflow: visible;
}

body.page div.wpcf7::before {
    display: none;
}

body.page div.wpcf7 form {
    display: block;
    margin: 0;
}

body.page div.wpcf7 form > p {
    float: none;
    clear: both;
    width: 100%;
    min-width: 0;
    margin: 0 0 20px;
    color: #002244;
    font-family: 'Source Sans 3', Calibri, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0;
}

body.page div.wpcf7 form > p:nth-of-type(n+3),
body.page div.wpcf7 form > :not(p) {
    grid-column: 1 / -1;
}

body.page div.wpcf7 form label,
body.page div.wpcf7 .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

body.page div.wpcf7 input[type="text"],
body.page div.wpcf7 input[type="email"],
body.page div.wpcf7 input[type="tel"],
body.page div.wpcf7 select,
body.page div.wpcf7 textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 8px 0 0;
    padding: 12px 14px;
    border: 1px solid #4D4F53;
    border-radius: 3px;
    background: #FFFFFF;
    color: #14212B;
    box-shadow: none;
    font-family: 'Source Sans 3', Calibri, Arial, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
}

body.page div.wpcf7 textarea {
    min-height: 160px;
    height: 160px;
    resize: vertical;
}

body.page div.wpcf7 input:focus-visible,
body.page div.wpcf7 textarea:focus-visible,
body.page div.wpcf7 select:focus-visible {
    outline: 2px solid #2F6DB5;
    outline-offset: 2px;
}

body.page div.wpcf7 form > p.send-btn {
    margin-bottom: 0;
    text-align: right;
}

body.page div.wpcf7 input[type="submit"] {
    display: inline-block;
    float: none;
    width: auto;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid #002244;
    border-radius: 3px;
    background: #002244;
    background-image: none;
    color: #FFFFFF;
    box-shadow: none;
    text-shadow: none;
    font-family: 'Source Sans 3', Calibri, Arial, sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0;
    cursor: pointer;
}

body.page div.wpcf7 input[type="submit"]:hover {
    background: #2F6DB5;
    border-color: #2F6DB5;
}

body.page div.wpcf7 .wpcf7-response-output {
    margin: 0;
    padding: 12px 16px;
    font-size: 16px;
}

/* Give older interior content a fluid width on tablets and phones. */
@media screen and (max-width: 960px) {
    body.page:not(.home) .sub-page-content {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 40px 24px 56px;
    }
    body.page .sub-page-content.cebc-about-content {
        width: calc(100% - 48px);
        max-width: 940px;
        margin: 0 auto;
        padding: 40px 0 56px;
    }
    body.page .sub-page-content .sub-page-text,
    body.page .sub-page-content .bio {
        float: none;
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-left: 0;
    }
    body.page .sub-page-content .sidebar {
        float: none;
        width: 100%;
        margin: 32px 0;
    }
    body.page .sub-page-content .sidebar::before {
        display: none;
    }
    body.page .sub-page-content .sidebar h3 {
        box-sizing: border-box;
        display: block;
        width: 100%;
        height: auto;
        margin-left: 0;
        padding: 14px 20px;
    }
    body.page .sub-page-content .links-container {
        height: auto;
        padding: 24px;
    }
    body.page .sub-page-content .sidebar-pic {
        width: 100%;
        background-size: cover;
    }
    body.page .sub-page-content h2.margin-left {
        margin-left: 0;
    }
    body.page .sub-page-content img {
        max-width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 600px) {
    .header-pic.about {
        height: 260px;
    }
    body.page:not(.home) .sub-page-content {
        padding: 32px 20px 44px;
    }
    body.page .sub-page-content.cebc-about-content {
        width: calc(100% - 40px);
        padding: 36px 0 48px;
    }
    body.page .cebc-about-content .cebc-about-intro > p {
        font-size: 18px;
    }
    body.page:not(.home) .sub-page-content h1,
    body.page:not(.home) .sub-page-content h2 {
        font-size: 28px;
    }
    .cebc-about-content .cebc-about-careers {
        margin-top: 40px;
        padding-top: 32px;
    }
    body.page div.wpcf7 {
        padding: 24px 20px;
    }
    body.page div.wpcf7 form {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
    body.page div.wpcf7 form > p {
        grid-column: 1;
    }
    body.page .sub-page-content .contact-box {
        float: none;
        width: 100%;
        margin-bottom: 24px;
    }
}


/* Match widths for both paragraph-wrapped and direct CF7 field markup. */
body.page div.wpcf7 form > .wpcf7-form-control-wrap {
    margin-bottom: 24px;
}

body.page div.wpcf7 input[type="text"],
body.page div.wpcf7 input[type="email"],
body.page div.wpcf7 input[type="tel"],
body.page div.wpcf7 textarea {
    float: none;
    clear: both;
    width: 100%;
}


/* REC hero: iStock 2257547028, watermarked staging-placement preview. */
body.cebc-service-recs .header-pic.services {
    height: clamp(240px, 22vw, 300px);
    background-image: url('/wp-content/uploads/2026/11/clear-energy-recs-2257547028.webp');
    background-size: cover;
    background-position: center 50%;
    background-repeat: no-repeat;
}

@media screen and (max-width: 600px) {
    body.cebc-service-recs .header-pic.services {
        height: 220px;
        background-position: center center;
    }
}

/* Service pages: readable text and compact, reusable icon navigation. */
body.page .sub-page-content.cebc-service-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 56px;
    box-sizing: border-box;
    width: calc(100% - 96px);
    max-width: 1160px;
    margin: 0 auto;
    padding: 64px 0 72px;
}

body.page .sub-page-content.cebc-service-layout > .cebc-service-copy {
    float: none;
    width: auto;
    max-width: none;
    min-width: 0;
    margin: 0;
}

body.page .sub-page-content.cebc-service-layout .cebc-service-copy > h1 {
    margin: 0 0 28px;
    font-size: clamp(28px, 2.8vw, 36px);
    line-height: 1.25;
}

body.page .cebc-service-layout .cebc-service-copy .cebc-service-focus {
    margin: 28px 0 0;
    color: #2F6DB5;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
}

.cebc-other-services {
    box-sizing: border-box;
    min-width: 0;
    padding: 24px;
    border-top: 3px solid #00A3D9;
    background: #F5F8FA;
}

body.page .sub-page-content.cebc-service-layout .cebc-other-services h2 {
    margin: 0 0 12px;
    color: #002244;
    font-family: 'Tenor Sans', Arial, sans-serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0;
}

body.page .cebc-other-services ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.page .cebc-other-services ul li {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.page .cebc-other-services li + li {
    border-top: 1px solid #D1DDE8;
}

body.page .cebc-other-services li a,
body.page .cebc-other-services li a:visited {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 64px;
    padding: 16px 0;
    color: #002244;
    font-family: 'Source Sans 3', Calibri, Arial, sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
}

body.page .cebc-other-services li a:hover {
    color: #2F6DB5;
}

body.page .cebc-other-services li a:hover span {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cebc-other-services .cebc-service-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    margin: 0;
}

.cebc-other-services a > span {
    flex: 1 1 auto;
    min-width: 0;
}

@media screen and (max-width: 1100px) and (min-width: 961px) {
    body.page .sub-page-content.cebc-service-layout {
        grid-template-columns: minmax(0, 1fr) 290px;
        gap: 36px;
    }
}

@media screen and (max-width: 960px) {
    body.page .sub-page-content.cebc-service-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
        width: calc(100% - 48px);
        padding: 40px 0 56px;
    }
}

@media screen and (max-width: 600px) {
    body.page .sub-page-content.cebc-service-layout {
        width: calc(100% - 40px);
        padding: 36px 0 48px;
    }
    .cebc-other-services {
        padding: 22px;
    }
}


/* Canadian service hero: iStock 1413703537, licensed final image. */
body.cebc-service-canadian .header-pic.services {
    height: clamp(240px, 22vw, 300px);
    background-image: url('/wp-content/uploads/2026/11/clear-energy-canadian-credits-1413703537.webp');
    background-size: cover;
    background-position: center 46%;
    background-repeat: no-repeat;
}

@media screen and (max-width: 600px) {
    body.cebc-service-canadian .header-pic.services {
        height: 260px;
        background-position: center center;
    }
}


/* Sulfur and benzene hero: iStock 2163085492, licensed final image. */
body.cebc-service-sulfur .header-pic.services {
    height: clamp(240px, 22vw, 300px);
    background-image: url('/wp-content/uploads/2026/11/clear-energy-sulfur-benzene-2163085492.webp');
    background-size: cover;
    background-position: center 58%;
    background-repeat: no-repeat;
}

@media screen and (max-width: 600px) {
    body.cebc-service-sulfur .header-pic.services {
        height: 240px;
        background-position: center center;
    }
}


/* Power service hero: iStock 2290911293, licensed final image. */
body.cebc-service-power .header-pic.services {
    height: clamp(240px, 22vw, 300px);
    background-image: url('/wp-content/uploads/2026/11/clear-energy-power-2290911293.webp');
    background-size: cover;
    background-position: center 38%;
    background-repeat: no-repeat;
}

@media screen and (max-width: 600px) {
    body.cebc-service-power .header-pic.services {
        height: 260px;
        background-position: 40% center;
    }
}


/* Service detail subheadings sit below the page title in the visual hierarchy. */
body.page .sub-page-content.cebc-service-layout .cebc-service-copy > h2 {
    margin: 32px 0 12px;
    font-size: 24px;
    line-height: 1.3;
}


/* Consulting hero: iStock 2268580160, licensed final image. */
body.cebc-service-consulting .header-pic.services {
    height: clamp(240px, 22vw, 300px);
    background-image: url('/wp-content/uploads/2026/11/clear-energy-consulting-2268580160.webp');
    background-size: cover;
    background-position: center 52%;
    background-repeat: no-repeat;
}

/* Service lists use the same readable spacing as the surrounding paragraphs. */
body.page .sub-page-content.cebc-service-layout .cebc-service-copy > ul {
    margin: 0 0 24px;
    padding-left: 24px;
    list-style: disc;
}

body.page .sub-page-content.cebc-service-layout .cebc-service-copy > ul > li {
    margin: 0 0 12px;
    padding-left: 4px;
    font-size: 18px;
    line-height: 1.65;
}

@media screen and (max-width: 600px) {
    body.cebc-service-consulting .header-pic.services {
        height: 240px;
        background-position: 42% center;
    }
}

/* Team: rectangular portraits and clear contact links, ready for new headshots. */
body.page .sub-page-content.cebc-team-content {
    box-sizing: border-box;
    width: calc(100% - 96px);
    max-width: 1160px;
    margin: 0 auto;
    padding: 60px 0 72px;
}

body.page .sub-page-content.cebc-team-content > h1 {
    margin: 0 0 44px;
    font-size: clamp(32px, 3.2vw, 42px);
    line-height: 1.2;
}

.cebc-team-profile {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: start;
    gap: 48px;
    padding: 0 0 44px;
    margin: 0 0 44px;
    border-bottom: 1px solid #E4ECF4;
}

.cebc-team-profile:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.cebc-team-portrait,
.cebc-team-bio {
    min-width: 0;
}

.cebc-team-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 235 / 315;
    overflow: hidden;
    background-color: var(--portrait-bg, #002244);
    background-image: linear-gradient(to bottom, var(--portrait-top, #002244), var(--portrait-bottom, #002244));
    background-position: top left;
    background-size: 52px 52px;
    background-repeat: no-repeat;
}

body.page .sub-page-content.cebc-team-content .cebc-team-photo img {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    object-fit: cover;
    object-position: center center;
    box-shadow: none;
}

/* Match each portrait background through its transparent cut corner.
   Keep the complete original image, with no zoom or face cropping. */
.cebc-team-photo .cebc-portrait-legacy {
    transform: none;
}

body.page .sub-page-content.cebc-team-content .cebc-team-bio > h2 {
    margin: 0 0 10px;
    color: #002244;
    font-size: 29px;
    line-height: 1.25;
}

body.page .sub-page-content.cebc-team-content .cebc-team-role {
    margin: 0 0 12px;
    color: #4D4F53;
    font-size: 17px;
    font-style: normal;
    line-height: 1.5;
}

body.page .sub-page-content.cebc-team-content .cebc-team-phone {
    margin: 0 0 26px;
    font-size: 17px;
    line-height: 1.5;
}

.cebc-team-phone a,
.cebc-team-phone a:visited {
    color: #002244;
    text-decoration: none;
}

.cebc-team-phone a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

body.page .sub-page-content.cebc-team-content a.cebc-team-email,
body.page .sub-page-content.cebc-team-content a.cebc-team-email:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    margin-top: 14px;
    padding: 12px 16px;
    border: 1px solid #002244;
    border-radius: 3px;
    background: #002244;
    color: #FFFFFF;
    font-family: 'Source Sans 3', Calibri, Arial, sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
}

body.page .sub-page-content.cebc-team-content a.cebc-team-email:hover {
    background: #2F6DB5;
    border-color: #2F6DB5;
}

@media screen and (max-width: 960px) {
    body.page .sub-page-content.cebc-team-content {
        width: calc(100% - 48px);
        padding: 40px 0 56px;
    }
    .cebc-team-profile {
        grid-template-columns: 200px minmax(0, 1fr);
        gap: 32px;
    }

}

@media screen and (max-width: 700px) {
    .cebc-team-profile {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding-bottom: 36px;
        margin-bottom: 36px;
    }
    .cebc-team-portrait {
        width: 230px;
        max-width: 100%;
    }

}

@media screen and (max-width: 600px) {
    body.page .sub-page-content.cebc-team-content {
        width: calc(100% - 40px);
        padding: 36px 0 48px;
    }
    body.page .sub-page-content.cebc-team-content > h1 {
        margin-bottom: 32px;
    }
}

/* Contact: a connection to the industry, with clear routes to the right people. */
.header-pic.contact {
    height: clamp(220px, 21vw, 280px);
    margin-top: 0;
    background: #002244 url('/wp-content/uploads/2026/11/clear-energy-contact-1067262138.webp') center 55% / cover no-repeat;
}
body.page .sub-page-content.cebc-contact-content {
    box-sizing: border-box;
    width: calc(100% - 96px);
    max-width: 1160px;
    margin: 0 auto;
    padding: 60px 0 72px;
    float: none;
}
body.page .cebc-contact-intro h1 {
    margin: 0 0 24px;
    font-size: clamp(30px, 3vw, 38px);
}
.cebc-contact-intro {
    max-width: 940px;
    margin-bottom: 40px;
}
.cebc-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}
.cebc-contact-grid > section { min-width: 0; }
body.page .cebc-contact-grid h2 {
    margin: 0 0 16px;
    font-size: 24px;
}
.cebc-contact-details address {
    margin: 0 0 32px;
    color: #14212B;
    font-style: normal;
    font-size: 18px;
    line-height: 1.7;
}
body.page .cebc-contact-content a {
    color: #002244;
    overflow-wrap: anywhere;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.cebc-contact-brokers {
    box-sizing: border-box;
    padding: 28px;
    border-top: 2px solid #00A3D9;
    background: #F5F8FA;
}
body.page .cebc-contact-content a.cebc-contact-button,
body.page .cebc-contact-content a.cebc-contact-button:visited {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-height: 46px;
    box-sizing: border-box;
    padding: 12px 20px;
    border-radius: 3px;
    background: #002244;
    color: #FFFFFF;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}
body.page .cebc-contact-content a.cebc-contact-button:hover {
    background: #2F6DB5;
}
@media screen and (max-width: 960px) {
    body.page .sub-page-content.cebc-contact-content {
        width: calc(100% - 48px);
        padding: 40px 0 56px;
    }
    .cebc-contact-grid { gap: 32px; }
}
@media screen and (max-width: 700px) {
    .cebc-contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media screen and (max-width: 600px) {
    .header-pic.contact { height: 200px; background-position: center 55%; }
    body.page .sub-page-content.cebc-contact-content {
        width: calc(100% - 40px);
        padding: 36px 0 48px;
    }
    .cebc-contact-intro { margin-bottom: 32px; }
    .cebc-contact-brokers { padding: 24px; }
}

/* Media and archive listings: shared editorial layout, no automatic excerpts. */
body #primary.cebc-media-primary {
    float: none;
    width: 100%;
    margin: 0;
}
body #content.cebc-media-index::before { display: none; }
.cebc-insights-banner {
    height: clamp(220px, 21vw, 280px);
    margin: 0;
    background-position: center;
    background-size: cover;
}
.cebc-insights-container {
    box-sizing: border-box;
    max-width: 1160px;
    width: calc(100% - 96px);
    margin: 0 auto;
    padding: 56px 0 72px;
    color: #14212B;
    font-family: 'Source Sans 3', Calibri, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.65;
}
.cebc-insights-heading { margin-bottom: 36px; }
.cebc-insights-heading h1 {
    margin: 0 0 20px;
    color: #002244;
    font-family: 'Tenor Sans', Arial, sans-serif;
    font-size: clamp(30px, 3vw, 38px);
    font-weight: 400;
    line-height: 1.25;
}
.cebc-insights-back { display: inline-block; margin-bottom: 20px; }
.cebc-insights-description { max-width: 800px; }
.cebc-insights-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 56px;
    align-items: start;
}
.cebc-insights-list { min-width: 0; }
body .cebc-media-index article.cebc-insight-item {
    box-sizing: border-box;
    float: none;
    width: 100%;
    margin: 0;
    padding: 30px 0 32px;
    border: 0;
    border-top: 1px solid #E4ECF4;
    overflow-wrap: anywhere;
    hyphens: none;
    box-shadow: none;
}
body .cebc-media-index article.cebc-insight-item:first-child { padding-top: 0; border-top: 0; }
.cebc-insight-date {
    margin: 0 0 10px;
    color: #4D4F53;
    font-size: 16px;
    line-height: 1.5;
}
.cebc-insight-header h2 {
    margin: 0 0 18px;
    color: #002244;
    font-family: 'Tenor Sans', Arial, sans-serif;
    font-size: clamp(23px, 2.2vw, 29px);
    font-weight: 400;
    line-height: 1.35;
}
.cebc-insights-container a,
.cebc-insights-container a:visited { color: #002244; }
.cebc-insight-header h2 a { text-decoration: none; }
.cebc-insight-header h2 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.cebc-insight-excerpt p { margin: 0 0 20px; font-size: 18px; line-height: 1.65; }
.cebc-insight-read {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
}
.cebc-insight-read:hover { text-decoration: underline; }
.cebc-insights-archives {
    padding: 24px;
    border-top: 2px solid #00A3D9;
    background: #F5F8FA;
}
.cebc-insights-archives h2 {
    margin: 0 0 16px;
    color: #002244;
    font-family: 'Tenor Sans', Arial, sans-serif;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 400;
}
.cebc-insights-archives ul { margin: 0; padding: 0; list-style: none; }
.cebc-insights-archives li { margin: 0; padding: 0; }
.cebc-insights-archives a { display: inline-flex; align-items: center; min-height: 44px; }
.cebc-media-index .pagination { margin: 28px 0 0; padding-top: 24px; border-top: 1px solid #E4ECF4; }
.cebc-media-index .nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cebc-media-index .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 8px; box-sizing: border-box; }
.cebc-media-index .page-numbers.current { background: #002244; color: #FFFFFF; }
.cebc-insights-container a:focus-visible { outline: 3px solid #2F6DB5; outline-offset: 4px; }
@media screen and (max-width: 960px) {
    .cebc-insights-container { width: calc(100% - 48px); padding: 40px 0 56px; }
    .cebc-insights-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .cebc-insights-archives { grid-row: 1; }
    .cebc-insights-archives ul { display: flex; flex-wrap: wrap; gap: 4px 24px; }
}
@media screen and (max-width: 600px) {
    .cebc-insights-banner { height: 200px; }
    .cebc-insights-container { width: calc(100% - 40px); padding: 36px 0 48px; }
    .cebc-insights-heading { margin-bottom: 28px; }
    .cebc-insights-archives { padding: 20px; }
}

/* Keep editable Media introduction paragraphs visually distinct. */
.cebc-insights-description p {
    margin: 0 0 20px;
    font-size: 18px;
    line-height: 1.7;
}
.cebc-insights-description p:last-child {
    margin-bottom: 0;
}

/* Separate the page introduction from the editorial listing below it. */
.cebc-insights-heading {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #E4ECF4;
}
.cebc-insights-description {
    max-width: none;
}
.cebc-insights-list > .cebc-insights-section-title {
    margin: 0 0 28px;
    color: #002244;
    font-family: 'Tenor Sans', Arial, sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.35;
}
body .cebc-media-index .cebc-insights-section-title + article.cebc-insight-item {
    padding-top: 0;
    border-top: 0;
}
@media screen and (max-width: 600px) {
    .cebc-insights-heading { padding-bottom: 28px; margin-bottom: 28px; }
    .cebc-insights-list > .cebc-insights-section-title { font-size: 22px; }
}

/* A single report icon gives the Media introduction its own visual identity. */
.cebc-insights-heading.cebc-insights-intro-panel {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    margin-bottom: 40px;
    padding: 36px;
    border: 0;
    border-left: 3px solid #00A3D9;
    background: #F5F8FA;
}
.cebc-insights-heading-copy { min-width: 0; }
.cebc-insights-mark {
    display: block;
    width: 112px;
    height: 112px;
    margin-top: 4px;
    color: #002244;
}
.cebc-insights-mark-accent { stroke: #00A3D9; }
.cebc-insights-intro-panel .cebc-insights-description { max-width: 800px; }
@media screen and (max-width: 700px) {
    .cebc-insights-heading.cebc-insights-intro-panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding: 24px;
        margin-bottom: 32px;
    }
    .cebc-insights-mark { width: 72px; height: 72px; margin-top: 0; }
}

/* Single articles: replace legacy fixed widths and thumbnail offsets. */
body.single-post #primary { width: 100%; float: none; margin: 0; }
body.single-post #content > article {
    box-sizing: border-box;
    width: calc(100% - 96px);
    max-width: 1040px;
    margin: 0 auto;
    padding: 48px 0 64px;
    float: none;
    overflow-wrap: anywhere;
    hyphens: none;
}
body.single-post article .entry-header { margin: 0 0 28px; }
body.single-post article .entry-header .entry-title {
    font-size: clamp(27px, 3vw, 36px);
    line-height: 1.3;
    letter-spacing: 0;
}
body.single-post article .entry-text { box-sizing: border-box; width: 100%; min-width: 0; float: none; }
body.single-post article .entry-content { width: 100%; min-width: 0; }
body.single-post article .excerpt-thumb { position: static; top: auto; }
body.single-post article .entry-content p,
body.single-post article .entry-content li { font-size: 18px; line-height: 1.7; }
body.single-post article .entry-content p { margin-bottom: 24px; }
body.single-post article .entry-content img,
body.single-post article .entry-content video,
body.single-post article .entry-content iframe { max-width: 100%; }
body.single-post article .entry-content img { height: auto; }
body.single-post article .entry-content figure { max-width: 100%; box-sizing: border-box; }
body.single-post article .entry-content pre { max-width: 100%; overflow-x: auto; }
body.single-post article .entry-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
body.single-post article .entry-content .back-btn { margin-left: 0; }
@media screen and (max-width: 960px) {
    body.single-post #content > article { width: calc(100% - 48px); padding: 36px 0 48px; }
}
@media screen and (max-width: 700px) {
    body.single-post article .market-pricing-float,
    body.single-post article .cfr-market-pricing,
    body.single-post article .tier-price-snapshot {
        box-sizing: border-box;
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 24px;
    }
    body.single-post article .excerpt-thumb img { float: none; margin: 0 0 24px; }
}
@media screen and (max-width: 600px) {
    body.single-post #content > article { width: calc(100% - 40px); padding-top: 32px; }
    body.single-post #content::before { height: 200px; margin-bottom: 0; }
}

/* A useful, branded 404 with no stock-image dependency. */
body.error404 #primary.cebc-not-found-primary { width: 100%; margin: 0; float: none; }
.cebc-not-found {
    box-sizing: border-box;
    width: calc(100% - 96px);
    max-width: 1160px;
    margin: 0 auto;
    padding: 80px 0;
    color: #14212B;
    font-family: 'Source Sans 3', Calibri, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.65;
}
.cebc-not-found-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.cebc-not-found-copy, .cebc-not-found-panel { min-width: 0; }
.cebc-not-found-label { margin: 0 0 16px; color: #2F6DB5; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; font-size: 14px; }
.cebc-not-found h1 { margin: 0 0 24px; color: #002244; font-family: 'Tenor Sans', Arial, sans-serif; font-size: clamp(32px, 4vw, 48px); font-weight: 400; line-height: 1.2; }
.cebc-not-found-copy > p:not(.cebc-not-found-label) { margin: 0 0 28px; }
.cebc-not-found a, .cebc-not-found a:visited { color: #002244; }
.cebc-not-found a.cebc-not-found-home, .cebc-not-found a.cebc-not-found-home:visited {
    display: inline-flex; align-items: center; gap: 16px; box-sizing: border-box; min-height: 48px; padding: 12px 20px;
    background: #002244; color: #FFFFFF; border-radius: 3px; font-weight: 600; text-decoration: none;
}
.cebc-not-found a.cebc-not-found-home:hover { background: #2F6DB5; }
.cebc-not-found-links { display: flex; flex-direction: column; align-items: flex-start; margin-top: 24px; }
.cebc-not-found-links a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.cebc-not-found-panel { box-sizing: border-box; background: #F5F8FA; border-top: 2px solid #00A3D9; padding: 32px; }
.cebc-not-found-number { margin: 0 0 32px; color: #002244; font-family: 'Tenor Sans', Arial, sans-serif; font-size: clamp(100px, 12vw, 160px); line-height: 1.1; }
.cebc-not-found-number span { display: block; width: 56px; height: 3px; margin-top: 20px; background: #00A3D9; }
.cebc-not-found-search label { display: block; margin-bottom: 12px; font-weight: 600; color: #002244; }
.cebc-not-found-search-row { display: flex; flex-wrap: wrap; gap: 10px; }
.cebc-not-found-search input[type="search"] { box-sizing: border-box; flex: 1 1 180px; width: 100%; min-width: 0; min-height: 48px; border: 1px solid #4D4F53; background: #FFFFFF; color: #14212B; padding: 10px 12px; border-radius: 3px; font: inherit; }
.cebc-not-found-search button { min-height: 48px; padding: 10px 18px; border: 1px solid #002244; border-radius: 3px; background: #002244; background-image: none; color: #FFFFFF; font: inherit; font-weight: 600; text-shadow: none; box-shadow: none; cursor: pointer; }
.cebc-not-found-search button:hover { background: #2F6DB5; border-color: #2F6DB5; }
.cebc-not-found a:focus-visible, .cebc-not-found input:focus-visible, .cebc-not-found button:focus-visible { outline: 3px solid #2F6DB5; outline-offset: 4px; }
@media screen and (max-width: 960px) {
    .cebc-not-found { width: calc(100% - 48px); padding: 56px 0; }
    .cebc-not-found-layout { gap: 32px; }
}
@media screen and (max-width: 700px) {
    .cebc-not-found-layout { grid-template-columns: minmax(0, 1fr); }
    .cebc-not-found-number { font-size: 96px; margin-bottom: 24px; }
}
@media screen and (max-width: 600px) {
    .cebc-not-found { width: calc(100% - 40px); padding: 40px 0 48px; }
    .cebc-not-found-panel { padding: 24px; }
}

/* Round II Media: white introduction; Paper Gray on article titles only. */
.cebc-insights-heading.cebc-insights-intro-panel {
    background: #FFFFFF;
}
.cebc-insight-header h2 {
    box-sizing: border-box;
    padding: 16px 20px;
    background: #F5F8FA;
}
@media screen and (max-width: 600px) {
    .cebc-insight-header h2 { padding: 14px 16px; }
}

/* Approved Team banner: licensed offered-hand image, iStock 1742821482. */
.header-pic.team {
    height: clamp(280px, 28vw, 400px);
    background-image: url('/wp-content/uploads/2026/11/clear-energy-team-welcome-cool-1742821482.webp');
    background-position: center 78%;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #002244;
}
@media screen and (max-width: 600px) {
    .header-pic.team {
        height: 240px;
        background-position: 62% center;
    }
}

/* Licensed Media photography, shared by listings, archives and full articles. */
.header-pic.cebc-insights-banner,
body.single-post #content::before {
    background-image: url('/wp-content/uploads/2026/11/clear-energy-media-1332793343.webp');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Approved Team introduction and recruiting invitation. */
.cebc-team-option-intro { max-width: 940px; margin: 0 0 44px; padding: 0 0 32px; border-bottom: 1px solid #E4ECF4; }
body.page .cebc-team-content .cebc-team-option-intro h2 { margin: 0 0 16px; font-family: 'Tenor Sans', Arial, sans-serif; font-size: 26px; line-height: 1.3; font-weight: 400; color: #002244; }
body.page .cebc-team-content .cebc-team-option-intro p { font-size: 20px; line-height: 1.7; margin: 0; color: #14212B; }
body.page .cebc-team-content .cebc-team-option-intro .cebc-team-recruiting { margin-top: 20px; font-size: 18px; }
.cebc-team-recruiting a { display: inline-block; min-height: 44px; line-height: 1.6; padding: 8px 0; box-sizing: border-box; color: #002244; font-weight: 600; text-underline-offset: 4px; }
@media screen and (max-width: 600px) {
    .cebc-team-option-intro { margin-bottom: 32px; padding-bottom: 28px; }
    body.page .cebc-team-content .cebc-team-option-intro h2 { font-size: 23px; }
    body.page .cebc-team-content .cebc-team-option-intro p { font-size: 18px; }
}
