/* EV — Additional CSS, cleaned October 27, 2026. One rule per job, grouped by template. */

/* ---------- Type ---------- */
/* Buttons, submit inputs, breadcrumb and side-menu newsletter at weight 500 */
.wp-block-button__link,
.ev-snm-nl-eyebrow,
.ev-snm-nl button,
.breadcrumb.breadcrumb-yoast,
input.search-submit,
input[type="submit"],
input[type="button"]{font-weight:500 !important}
/* Hub and list headlines: Georgia light, same as the homepage cards */
.rbc-content-section .entry-title,
.rbc-content-section .entry-title a{font-family:Georgia,"Times New Roman",serif !important;font-weight:300 !important;line-height:1.3 !important}
/* Article H2 */
body.single-post .entry-content h2{font-family:Georgia,serif;font-size:26px;font-weight:400;line-height:1.3;color:#0a0000;margin:38px 0 14px}
body.single-post .entry-content h2:first-child{margin-top:0}

/* ---------- Links ---------- */
/* In-content links: brand blue, underlined, hover dims */
.single .entry-content p a,
.single .entry-content li a{color:#2659d7 !important;text-decoration:underline !important;text-decoration-color:#2659d7 !important;text-decoration-thickness:1px !important;text-underline-offset:2px;transition:opacity .15s ease}
.single .entry-content p a:hover,
.single .entry-content li a:hover{opacity:.65 !important}
/* Headline links: blue + underline on hover, cards, rails and archives alike */
.entry-title a:hover,
.post-thumbnail:hover ~ .entry-wrapper .entry-title a,
.ev-rail__item:hover .ev-rail__headline,
html body .p-wrap .entry-title a.p-url:hover,
html body .p-grid .entry-title a.p-url:hover,
html body .p-list .entry-title a.p-url:hover,
html body .p-classic .entry-title a.p-url:hover{color:#2659d7 !important;text-decoration:underline !important;text-decoration-color:#2659d7 !important;text-decoration-thickness:1px !important;text-underline-offset:2px !important}

/* ---------- Header and menus ---------- */
/* Header social icons: neutral, brand colour on hover, no motion, 32px anchor with a 20px glyph */
.navbar-social a{filter:grayscale(1) brightness(.45) contrast(1.05);transition:filter .2s ease !important;animation:none !important}
.navbar-social a:hover{filter:none !important;transform:none !important}
html body .navbar-social a[class*="social-link"]{width:32px !important}
html body .navbar-social a[class*="social-link"] img.ev-soc-ico{width:20px !important;height:20px !important}
/* Mega menu: fade and slide on open */
@keyframes evMenuIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.main-menu-wrap .menu-item-has-children:hover > .sub-menu{animation:evMenuIn .22s cubic-bezier(.2,.6,.2,1) both}
@media (prefers-reduced-motion:reduce){.main-menu-wrap .menu-item-has-children:hover > .sub-menu{animation:none !important}}
.main-menu-wrap .ev-card__h a{display:inline !important;padding:0 !important}
/* Side menu drawer: two columns, sub-lists in one */
.ev-snm-section{column-count:2;column-gap:18px}
.ev-snm-section .ev-snm-label{column-span:all;-webkit-column-span:all}
.ev-snm-section:has(.ev-snm-sub-list){column-count:1}
.ev-snm-util,.ev-snm-top{break-inside:avoid;-webkit-column-break-inside:avoid}

/* ---------- Article page ---------- */
/* Photo credit overlay */
.image-caption.is-overlay{background:rgba(12,14,18,.38) !important;color:rgba(255,255,255,.85) !important;font-family:"Open Sans",sans-serif !important;font-size:10px !important;font-weight:400 !important;letter-spacing:.5px;text-transform:uppercase;padding:3px 9px !important;border-radius:0 !important}
.image-caption:not(.is-overlay){color:#5f6368;font-size:12px}
/* Left share rail: dark icons, blue on hover, copied state blue, no Telegram, no "read next", clears the reading bar */
.single-left-share a.share-action,.single-left-share a.share-action i,
.single-left-share a.share-icon,.single-left-share a.share-icon i{color:#15171c !important}
.single-left-share a.share-action:hover,.single-left-share a.share-action:hover i,
.single-left-share a.share-icon:hover,.single-left-share a.share-icon:hover i{color:#2659d7 !important}
.single-left-share .ev-share-copy svg{width:15px;height:15px;display:block;margin:auto}
.single-left-share a.ev-share-copy.is-copied,.single-left-share a.ev-share-copy.is-copied svg{color:#2659d7 !important}
.single-left-share .share-telegram{display:none !important}
.single-left-article{display:none !important}
@media (min-width:1024px){body.single-post .section-inner{top:78px !important}body.admin-bar.single-post .section-inner{top:110px !important}}
/* Reading bar (desktop only): logo, headline, ticker chip, newsletter link, progress line */
#ev-readbar{position:fixed;top:0;left:0;right:0;height:58px;background:#fff;border-bottom:1px solid #ececef;z-index:99990;display:flex;align-items:center;gap:16px;padding:0 18px;transform:translateY(-110%);transition:transform .25s ease}
#ev-readbar.is-on{transform:none}
body.admin-bar #ev-readbar{top:32px}
@media (max-width:1023px){#ev-readbar{display:none !important}}
#ev-readbar .ev-rb-logo img{height:26px;width:auto;display:block}
#ev-readbar .ev-rb-title{flex:0 1 auto;max-width:56%;min-width:0;font-family:Georgia,serif;font-size:16px;line-height:1.3;color:#0a0000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ev-readbar .ev-rb-share{display:none}
#ev-readbar .ev-rb-prog{position:absolute;left:0;bottom:-1px;height:3px;background:#2659d7;width:0}
#ev-readbar .ev-rb-cta{margin-left:auto;font:400 11px/1 "Open Sans",sans-serif;letter-spacing:1.8px;text-transform:uppercase;text-decoration:underline;text-underline-offset:3px;color:#2659d7;white-space:nowrap;border-bottom:0 !important;box-shadow:none !important}
#ev-readbar .ev-rb-cta:hover{color:#0a0000}
#ev-readbar a.ev-rb-tick{display:inline-flex;align-items:center;gap:8px;background:#f7f7f5;border:1px solid rgba(0,0,0,.1);padding:6px 11px;font:500 13px/1 "Open Sans",sans-serif;letter-spacing:.2px;color:#111;text-decoration:none;border-bottom:0 !important;box-shadow:none !important;font-variant-numeric:tabular-nums;position:relative;white-space:nowrap;transition:background .15s ease;cursor:pointer}
#ev-readbar a.ev-rb-tick:hover,#ev-readbar a.ev-rb-tick:focus-visible{background:#efefec}
#ev-readbar a.ev-rb-tick:focus-visible{outline:2px solid #2659d7;outline-offset:2px}
#ev-readbar a.ev-rb-tick:hover .ev-rb-px{color:#2659d7}
#ev-readbar .ev-rb-px{color:#4a4a48;font-weight:400}
#ev-readbar .ev-rb-tick,#ev-readbar .ev-rb-tick b,#ev-readbar a.ev-rb-tick,#ev-readbar .ev-rbx-cta{font-weight:500 !important}
#ev-readbar a.ev-rb-tick b.up{color:#137333}
#ev-readbar a.ev-rb-tick b.down{color:#b3261e}
#ev-readbar .ev-rb-mkt{font-size:13px;font-weight:400;color:#5c5f62;margin-left:6px;letter-spacing:.3px}
#ev-readbar .ev-rb-ext{font-size:13px;font-weight:400;color:#5c5f62;margin-left:4px;padding-left:12px;border-left:1px solid #c9ccd1}
#ev-readbar a.ev-rb-tick::after{content:attr(data-more);position:absolute;top:calc(100% + 8px);right:0;background:#2a2a28;color:#fff;font-size:12px;font-weight:400;padding:5px 10px;border-radius:6px;white-space:nowrap;opacity:0;transform:translateY(-2px);pointer-events:none;transition:opacity .15s ease,transform .15s ease;z-index:10}
#ev-readbar a.ev-rb-tick:hover::after,#ev-readbar a.ev-rb-tick:focus-visible::after{opacity:1;transform:none}
#ev-readbar a.ev-rb-tick[data-more=""]::after,#ev-readbar a.ev-rb-tick:not([data-more])::after{display:none}
/* Author box */
.author-box{padding:20px 26px !important}
.author-box .author-header{display:flex !important;justify-content:space-between !important;align-items:center !important;gap:12px}
.author-box .author-header .author-social{margin:0 !important;display:inline-flex !important;align-items:center}
.author-box .author-more.block-view-more{display:inline-flex !important;align-items:center;margin-top:12px !important}
.author-box .author-footer{display:none !important}
/* Flourish charts: no credit line, no duplicate thumbnail, tidy spacing */
.flourish-embed .flourish-credit{display:none !important}
.flourish-embed:has(iframe) > img{display:none !important}
.flourish-embed iframe{display:block !important;margin-bottom:0 !important}
.flourish-embed.flourish-chart{margin:0 0 30px !important}

/* ---------- Archives and brand hubs ---------- */
.entry-date{color:#5b6270 !important}
html body .ev-bhub{margin-top:0 !important}
.archive .rbc-sidebar .sidebar-inner{padding-top:12px}
/* Category sidebar newsletter panel (desktop only; below 992px the footer panel takes over) */
.rbc-sidebar .ev-snl{background:#f7f9fc;padding:18px 22px}
.rbc-sidebar .ev-snl p{font-family:"Open Sans",sans-serif;color:#1a1a1a}
.rbc-sidebar .ev-snl p.ev-snl-eyebrow{font-size:11px;line-height:1.55;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#2659d7;margin:0 0 8px}
.rbc-sidebar .ev-snl p.ev-snl-title{font-size:19px;line-height:1.25;font-weight:400;margin:0 0 6px}
.rbc-sidebar .ev-snl p.ev-snl-meta{font-size:12px;line-height:1.55;font-weight:400;color:#6b7280;margin:0 0 14px}
.rbc-sidebar .ev-snl-form{margin:0;height:64px;overflow:hidden}
.rbc-sidebar .ev-snl-form > div,.rbc-sidebar .ev-snl-form > div > div{height:64px !important;overflow:hidden}
.rbc-sidebar .ev-snl-form iframe{display:block;width:100%;height:64px !important}
@media (max-width:991px){.rbc-sidebar .ev-snl{display:none}}

/* ---------- Homepage rails ---------- */
.ev-rail__time,.ev-rail__meta,.ev-rail__live{color:#5f6368 !important}
.ev-cnrail__author,.ev-cnrail__date,.ev-cnrail__sep,
.ev-exrail__author,.ev-exrail__date,.ev-exrail__sep{color:#565d6b !important}
.ev-exrail__media img,.ev-cnrail__media img{width:100% !important;height:100% !important;object-fit:cover !important;display:block}

/* ---------- Footer ---------- */
.ev-fr-newsletter{background:#82aaf9 !important}
.ev-fr-social a,.ev-fr-social a svg{transition:opacity .18s ease,fill .18s ease !important;animation:none !important}
.ev-fr-social a:hover{transform:none !important;opacity:1 !important}
.ev-fr-social a:hover svg{fill:#ffffff !important}
.ev-fr-tagline,.ev-fr-carba,.ev-fr-masthead p,.ev-fr-news em{color:#e6edfa !important}
.ev-fr-eyebrow,.ev-fr-news-meta,.ev-fr-colophon-left span,.ev-fr-colophon-left a,.ev-fr-colophon-right a,.ev-fr-colophon-right span{color:#dae3f8 !important}
.ev-fr-masthead h4,.ev-fr-masthead h4 span,.ev-fr-col h4,.ev-fr-col h4 span{color:#dae3f8 !important;opacity:1 !important}
.ev-fr-contact-label{color:#dbe4f8 !important}

/* ---------- About and Contact ---------- */
.ev-about-founder-eyebrow{color:#5e5e63 !important;font-size:11px !important}
.ev-about-section-header .count{color:#5e5e63 !important;font-size:12px !important}
a.ev-about-link[href^="mailto:"]{text-transform:lowercase !important}
.ev-contact-form-section label,.ev-contact-form-section .grunion-field-label{color:#5b6270 !important}
.grunion-field-label{font-size:12px !important;color:#3c4043 !important;letter-spacing:1.4px !important}
.wp-block-jetpack-contact-form input:focus-visible,.wp-block-jetpack-contact-form textarea:focus-visible,.wp-block-jetpack-contact-form select:focus-visible,.wp-block-jetpack-contact-form button:focus-visible{outline:2px solid #2659d7 !important;outline-offset:2px !important}
.wp-block-jetpack-contact-form input:focus,.wp-block-jetpack-contact-form textarea:focus{border-color:#2659d7 !important;border-width:2px !important}
a.ev-contact-method[href^="mailto"] .ev-contact-method-icon svg{display:none !important}
a.ev-contact-method[href^="mailto"] .ev-contact-method-icon{background-image:url(https://eletric-vehicles.com/wp-content/uploads/2026/06/NL_icon.svg) !important;background-size:24px 24px;background-repeat:no-repeat;background-position:center}
.ev-contact-method:hover{padding-left:4px !important}
.ev-contact-method-body{transition:transform .2s ease}
.ev-contact-method:hover .ev-contact-method-body{transform:translateX(10px) !important}