/* ChargePoint site styles.
   Site-wide fixes that were injected through mega menu items 1411 (US) and 21243 (UK).
   Loaded on every language by inc/enqueue-assets.php, after main.css.
   Kept outside build/ because the webpack build empties build/ each time it runs. */

.wp-block-button.is-style-link>.wp-block-button__link:hover{background-image:linear-gradient(90deg,#8866CC 0%,#FF7A14 100%)!important}@media (min-width:782px){.wp-block-button>.wp-block-button__link{white-space:nowrap}}/* cp-logo-strip-fix */.container > .wp-block-an-logo-marquee img[src*="white"]{filter:brightness(0);opacity:.78}/* cp-logo-size */.section-container .wp-block-an-logo-marquee img{height:40px !important;max-height:40px !important;width:auto !important;max-width:none !important;object-fit:contain}.section-container .wp-block-an-logo-marquee img[src*="da-emobil"]{height:56px !important;max-height:56px !important}/* cp-story-logos */.social-proof-testimonial__logo img,.social-proof-stat__logo img{filter:brightness(0)}/* cp-story-cards */.social-proof-stat{background-color:#0f1215 !important;background-image:none !important}.social-proof-stat::before,.social-proof-stat::after{display:none !important}.social-proof-testimonial{background-color:#fff !important;background-image:none !important}.social-proof-stat__logo img{filter:brightness(0) invert(1) !important}/* cp-story-quote */.social-proof-testimonial__quote{background-color:transparent !important;padding-left:0 !important;padding-right:0 !important}
/* cp-specs-dialog */
.cp-specs-dialog{display:none}.cp-specs-dialog.is-open{display:block;position:fixed;inset:0;z-index:100000;background:rgba(15,18,21,.72);overflow-y:auto;padding:6vh 16px;margin:0!important;max-width:none!important}.cp-specs-dialog>.cp-specs-panel{background:#fff;color:#0f1215;border-radius:24px;max-width:1040px;margin:0 auto!important;padding:40px 40px 32px;position:relative}.cp-specs-dialog .cp-specs-close{position:absolute;top:20px;right:20px;width:40px;height:40px;border-radius:50%;border:1px solid #d5d8dc;background:#fff;font-size:22px;line-height:1;cursor:pointer;color:#0f1215}.cp-specs-dialog .product-specs__aside{display:none}@media(max-width:640px){.cp-specs-dialog>.cp-specs-panel{padding:56px 20px 24px;border-radius:16px}}
.cp-specs-dialog .product-specs__module{display:block}.cp-specs-dialog h3{margin:0 48px 16px 0}

/* cp-center */
.flexible-columns.cp-center{justify-content:center}

/* cp-closing-read */
.wp-block-an-frame:not(.has-white-color)[style*="cp-final-all-pages-cta-except-fleet"],.wp-block-an-frame:not(.has-white-color)[style*="cp-final-fleet-pages-closing-cta"]{position:relative;overflow:hidden;color:#fff}.wp-block-an-frame:not(.has-white-color)[style*="cp-final-all-pages-cta-except-fleet"]::before,.wp-block-an-frame:not(.has-white-color)[style*="cp-final-fleet-pages-closing-cta"]::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,18,21,.8) 0%,rgba(15,18,21,.58) 40%,rgba(15,18,21,.18) 75%);pointer-events:none;z-index:0}.wp-block-an-frame:not(.has-white-color)[style*="cp-final-all-pages-cta-except-fleet"]>*,.wp-block-an-frame:not(.has-white-color)[style*="cp-final-fleet-pages-closing-cta"]>*{position:relative;z-index:1}.wp-block-an-frame:not(.has-white-color)[style*="cp-final-all-pages-cta-except-fleet"] :is(h1,h2,h3,p),.wp-block-an-frame:not(.has-white-color)[style*="cp-final-fleet-pages-closing-cta"] :is(h1,h2,h3,p){color:#fff!important}.wp-block-an-frame:not(.has-white-color)[style*="cp-final-all-pages-cta-except-fleet"] .wp-block-button:not(.is-style-link) .wp-block-button__link,.wp-block-an-frame:not(.has-white-color)[style*="cp-final-fleet-pages-closing-cta"] .wp-block-button:not(.is-style-link) .wp-block-button__link{background:#fff!important;color:#0f1215!important}.wp-block-an-frame:not(.has-white-color)[style*="cp-final-all-pages-cta-except-fleet"] .wp-block-button.is-style-link .wp-block-button__link,.wp-block-an-frame:not(.has-white-color)[style*="cp-final-fleet-pages-closing-cta"] .wp-block-button.is-style-link .wp-block-button__link{color:#fff!important}@media(max-width:781px){.wp-block-an-frame:not(.has-white-color)[style*="cp-final-all-pages-cta-except-fleet"]::before,.wp-block-an-frame:not(.has-white-color)[style*="cp-final-fleet-pages-closing-cta"]::before{background:rgba(15,18,21,.64)}}
/* cp-dark-tone */
@media(max-width:781px){.media-cover.has-overlay{--media-cover-overlay-opacity:.58!important}.hero-carousel-slide.has-overlay{--hero-carousel-slide-overlay-opacity:.62!important}.wp-block-an-frame.has-white-color[style*="background-image"]{position:relative;overflow:hidden}.wp-block-an-frame.has-white-color[style*="background-image"]::before{content:"";position:absolute;inset:0;background:rgba(15,18,21,.5);pointer-events:none;z-index:0}.wp-block-an-frame.has-white-color[style*="background-image"]>*{position:relative;z-index:1}}

/* cp-hero-video */
.wp-block-video.cp-hero-video{margin:0}.wp-block-video.cp-hero-video video{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:var(--wp--preset--border-radius--medium);display:block}@media(max-width:781px){.wp-block-video.cp-hero-video video{aspect-ratio:16/10}}

/* cp-hero-overlay */
@media(min-width:782px){.hero-carousel-slide.has-overlay{--hero-carousel-slide-overlay-opacity:.58!important}}

/* cp-nav-fit */
@media(min-width:1100px) and (max-width:1720px){.site-header__navigation{gap:10px!important}.site-header__navigation .menu>li>a,.site-header__navigation .menu>li>button{padding-left:9px!important;padding-right:9px!important}}

/* cp-closing-desktop */
@media(min-width:782px){.wp-block-an-frame.has-white-color[style*="cp-final-all-pages-cta-except-fleet"],.wp-block-an-frame.has-white-color[style*="cp-final-fleet-pages-closing-cta"]{position:relative;overflow:hidden}.wp-block-an-frame.has-white-color[style*="cp-final-all-pages-cta-except-fleet"]::before,.wp-block-an-frame.has-white-color[style*="cp-final-fleet-pages-closing-cta"]::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,18,21,.62) 0%,rgba(15,18,21,.42) 38%,rgba(15,18,21,0) 68%);pointer-events:none;z-index:0}.wp-block-an-frame.has-white-color[style*="cp-final-all-pages-cta-except-fleet"]>*,.wp-block-an-frame.has-white-color[style*="cp-final-fleet-pages-closing-cta"]>*{position:relative;z-index:1}}
/* cp-closing-link */
.wp-block-an-frame.has-white-color[style*="cp-final-all-pages-cta-except-fleet"] .wp-block-button.is-style-link .wp-block-button__link,.wp-block-an-frame.has-white-color[style*="cp-final-fleet-pages-closing-cta"] .wp-block-button.is-style-link .wp-block-button__link{color:#fff!important}

/* cp-qa-fixes */
@media(min-width:782px){.wp-block-an-frame[style*="cp-final-all-pages-cta-except-fleet"]{background-size:max(104.5%,132vh) auto!important;background-position:100% 50%!important;background-repeat:no-repeat!important}}
main .container>.wp-block-buttons:not(:first-child),main .wp-block-group:not(.is-layout-flex)>.wp-block-buttons:not(:first-child){margin-top:var(--wp--preset--spacing--small,24px)}
main .container>.wp-block-buttons+*{margin-top:var(--wp--preset--spacing--small,24px)}
main .container>.flexible-columns+.flexible-columns{margin-top:20px}
main .container>.cta-bar+.cta-bar{margin-top:8px}
main .wp-block-image img[src*="cp-screen-"],main .wp-block-image img[src*="-brandc"]{object-fit:contain!important;background:#F1F2F3}
/* cp-qa-fixes-2 */
main .container>.media-content+.flexible-columns{margin-top:var(--wp--preset--spacing--medium,32px)}
main .wp-block-an-frame .wp-block-buttons[style*="margin-top:0"]:not(:first-child){margin-top:18px!important}
/* cp-qa-fixes-3 */
main img[src*="cp-screen-"],main img[src*="-brandc"]{object-fit:contain!important;background:#F1F2F3}
main ol+.wp-block-buttons,main ul+.wp-block-buttons{margin-top:20px!important}
/* cp-qa-fixes-4 */
main .container>.wp-block-group:has(>.wp-block-buttons:only-child):not(:first-child){margin-top:var(--wp--preset--spacing--small,24px)}
/* cp-qa-fixes-5 card title sits with its text, as in Figma */
main .wp-block-an-frame.is-vertical>.wp-block-group:first-child:has(>h3:last-child):not(:only-child){display:contents}
main .wp-block-an-frame.is-vertical:has(>.wp-block-group:first-child:not(:only-child)>h3:last-child){justify-content:flex-start!important;gap:8px!important}
main .wp-block-an-frame.is-vertical>.wp-block-group:first-child:not(:only-child)>:first-child:not(h3){margin-bottom:auto;padding-bottom:28px}
/* cp-hf-cta */
.wp-block-an-frame.cp-hf-cta{background:url("/app/uploads/2026/11/29-hero-home-flex-cutout_1200x1200.webp") right 8% bottom -40px/auto 118% no-repeat,linear-gradient(100deg,#FF7A1A 0%,#FF8A3D 48%,#8866CC 125%)!important}
.wp-block-an-frame.cp-hf-cta::before{display:none!important}
.wp-block-an-frame.cp-hf-cta .wp-block-button:not(.is-style-link) .wp-block-button__link{background:#0F1215!important;color:#fff!important}
@media(max-width:781px){.wp-block-an-frame.cp-hf-cta{background:linear-gradient(100deg,#FF7A1A 0%,#FF8A3D 48%,#8866CC 125%)!important}}
/* cp-article: migrated long-form pages */
main .wp-block-an-text-content img[src$=".svg"]{max-width:72px!important;height:auto!important}
main .wp-block-an-text-content img:not([src$=".svg"]){max-width:min(100%,640px);height:auto;border-radius:12px}
/* cp-toc-fix (Nik Misharev, 1 Dec): the old rule matched every link in the article body because the body wrapper is "text-content js-has-toc". Now only the table-of-contents links. */
main .wp-block-an-text-content .toc-items a.toc-item{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* cp-story-v2: colour logos on quote cards; black number cards with the logo in colour on a white chip (1 Dec) */
.social-proof-testimonial__logo img{filter:none!important}
.social-proof-stat{background-color:#0F1215!important;background-image:none!important;color:#fff!important}
.social-proof-stat *{color:#fff!important}
.social-proof-stat__logo img{filter:none!important;background:#fff;padding:8px 12px;border-radius:8px;box-sizing:content-box}
.social-proof-stat__logo img[src*="logo-colour-citrix"]{padding:4px}

/* cp-hero-thumb: neutral ring on hero thumbnails (1 Dec) */
.hero-carousel__thumbs.swiper .hero-carousel__thumb:before{background:rgba(255,255,255,.9) border-box!important}

/* cp-screens: software screens always shown whole, never cropped; transparent screens sit on the section colour (1 Dec) */
img[src*="/cp-screen-"],img[src*="chargepoint-suite-dashboard-brand"]{object-fit:contain!important}
main img[src*="/cp-screen-"],main .wp-block-image img[src*="/cp-screen-"]{background:transparent!important}
.wp-block-image img[src*="/cp-screen-"]{aspect-ratio:auto 4/3!important;height:auto!important;contain-intrinsic-size:none!important}
.wp-block-image img[src*="/cp-screen-driver-app"]{max-height:560px;width:auto!important;max-width:100%;display:block;margin-inline:auto}
.wp-block-image img[src*="chargepoint-suite-dashboard-brand"]{aspect-ratio:4/3!important;height:auto!important}

/* cp-zoom: slow zoom on tab images (1 Dec) */
.tabpanel .media-content-media--image figure{overflow:hidden;border-radius:var(--wp--preset--border-radius--medium)}
@media(prefers-reduced-motion:no-preference){.tabpanel.is-active .media-content-media--image img{animation:cpZoom 14s ease-out both}}
@keyframes cpZoom{from{transform:scale(1)}to{transform:scale(1.06)}}

/* cp-footer-cols: Commercial Charging Solutions on one line with two columns under it (1 Dec) */
@media(min-width:992px){.site-footer__main-menu .menu{--footer-cols:5!important}.site-footer__main-menu .menu>li{grid-column:auto!important}.site-footer__main-menu .menu>li:first-child{grid-column:span 2!important}.site-footer__main-menu .menu>li:first-child>.menu-item__heading{white-space:nowrap}.site-footer__main-menu .menu>li:first-child>.sub-menu.depth-0{display:grid;grid-template-columns:1fr 1fr;column-gap:var(--spacing-medium,2rem);align-items:start}}

/* cp-hero-video-rounded: rounded hero videos (1 Dec) */
.cp-hero-video{margin:0}.cp-hero-video video{display:block;width:100%;height:auto;border-radius:var(--wp--preset--border-radius--medium,16px)}

/* cp-phone-tiles: smaller phone screens inside three-column tiles so the row stays level (1 Dec) */
.has-3-columns .wp-block-image img[src*="/cp-screen-driver-app"]{max-height:300px}

/* cp-screen-fit (1 Dec, later): screens and phones inside the software accordion were taller than the 4:3 media box and got cut off. Scale them to fit. */
.media-accordion__media .wp-block-image:has(img[src*="/cp-screen-"]){height:100%;display:flex;align-items:center;justify-content:center;margin:0}
.media-accordion__media img[src*="/cp-screen-"]{max-height:100%!important;max-width:100%!important;width:auto!important;height:auto!important}
.media-accordion__media img[src*="/cp-screen-driver-app"]{max-height:92%!important;height:92%!important}
@media(max-width:991px){.media-accordion img[src*="/cp-screen-driver-app"]{max-height:380px!important;height:auto!important}}

/* cp-hero-instant */
.hero-carousel .hero-carousel-slide__media{background-color:#0F1215}
.hero-carousel .hero-carousel-slide__media:has(source[src*="Homepage-Hero"]){background:#0F1215 url(/app/uploads/2026/12/homepage-hero-v13b-desktop-poster-1600.webp) center/cover no-repeat}
@media(max-width:767px){.hero-carousel .hero-carousel-slide__media:has(source[src*="Homepage-Hero"]){background-image:url(/app/uploads/2026/12/homepage-hero-v13-mobile-poster.webp)}}

/* cp-tabs-button-wrap: long translated labels wrap inside tab cards instead of spilling out (de-de, es-es, it-it, nl-nl) */
.wp-block-an-tabs .tabpanel .wp-block-button__link{white-space:normal;max-width:100%;height:auto;text-align:center}
