/* === EV refinements (added via Claude) === */

/* 1) Social icons — neutral by default, brand blue on hover, no motion */
.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; }
.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; }

/* 2) Mega-menu fade + 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; } }

/* 3) Metadata labels — contrast & size floor */
.ev-about-founder-eyebrow{ color:#5e5e63 !important; font-size:11px !important; }
.ev-about-section-header .count{ color:#5e5e63 !important; font-size:12px !important; }
.entry-date{ color:#5b6270 !important; }
.ev-contact-form-section label, .ev-contact-form-section .grunion-field-label{ color:#5b6270 !important; }
.ev-fr-contact-label{ color:#dbe4f8 !important; }

/* 4) Newsletter icon (custom NL) — footer (white) & contact (blue). Header icon intentionally NOT shown (left-side CTA covers it). */
.ev-fr-social a[href^="mailto"] svg{ display:none !important; }
.ev-fr-social a[href^="mailto"]{ background-image:url(https://eletric-vehicles.com/wp-content/uploads/2026/06/NL_icon_white.svg) !important; background-size:18px 18px; background-repeat:no-repeat; background-position:center; }
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; }

/* 5) Contact rows — icons stay put on hover; only the text shifts */
.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; }



/* In-content links — brand blue + visible underline; hover only dims opacity */
.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;color:#2659d7 !important;text-decoration:underline !important;text-decoration-color:#2659d7 !important;text-decoration-thickness:1px !important}


/* Article title links — underline on hover (coherent: cards + rails) */
.entry-title a:hover, .post-thumbnail:hover ~ .entry-wrapper .entry-title a, .ev-rail__item:hover .ev-rail__headline{color:#2659d7 !important;text-decoration:underline !important;text-decoration-color:#2659d7 !important;text-decoration-thickness:1px !important;text-underline-offset:2px}
/* === end EV refinements === */
/* === EV drawer 2-col + mega caret (Claude) === */
.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}
.main-menu-wrap .ev-card__h a{display:inline !important;padding:0 !important}
/* === end EV drawer 2-col === */

/* === a11y contrast (WCAG AA) === */
.ev-rail__time,.ev-rail__meta,.ev-rail__live{color:#5f6368 !important}
.ev-cnrail__author,.ev-cnrail__date,.ev-cnrail__sep{color:#565d6b !important}
.ev-fr-tagline,.ev-fr-carba,.ev-fr-masthead p,.ev-fr-news em{color:#e6edfa !important}
.ev-fr-eyebrow,.ev-fr-masthead h4,.ev-fr-masthead h4 span,.ev-fr-colophon-left span,.ev-fr-colophon-left a,.ev-fr-news-meta{color:#dae3f8 !important}
.ev-exrail__author,.ev-exrail__date,.ev-exrail__sep{color:#565d6b !important}
.ev-fr-colophon-right a,.ev-fr-colophon-right span{color:#dae3f8 !important}
.ev-fr-masthead .ev-fr-col h4,.ev-fr-masthead .ev-fr-col h4 span{color:#dae3f8 !important}
.ev-fr-col h4,.ev-fr-col h4 span,.ev-fr-masthead h4{color:#dae3f8 !important;opacity:1 !important}
/* === end a11y contrast === */

/* === EV article details: credits + meta + readbar (Claude) === */
.single-meta-info .meta-info-el.ev-meta-upd:before,.single-meta-info .meta-info-el.ev-meta-rt:before{content:'·';margin:0 7px;opacity:.7}
.ev-meta-upd,.ev-meta-rt{opacity:.9}
.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}
#ev-readbar{position:fixed;top:0;left:0;right:0;height:48px;background:#fff;border-bottom:1px solid #ececef;z-index:99990;display:flex;align-items:center;gap:14px;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:782px){body.admin-bar #ev-readbar{top:46px}}
#ev-readbar .ev-rb-logo img{height:20px;width:auto;display:block}
#ev-readbar .ev-rb-title{flex:1;font-family:Georgia,serif;font-size:14px;line-height:1.3;color:#0a0000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ev-readbar .ev-rb-share{display:flex;gap:4px;align-items:center}
#ev-readbar .ev-rb-share a{display:flex;align-items:center;justify-content:center;width:30px;height:30px;color:#15171c;border-bottom:0!important;box-shadow:none!important;padding:0!important}
#ev-readbar .ev-rb-share a:hover{color:#2659d7}
#ev-readbar .ev-rb-share svg{width:15px;height:15px}
#ev-readbar .ev-rb-prog{position:absolute;left:0;bottom:-1px;height:2px;background:#2659d7;width:0}
@media(max-width:781px){#ev-readbar{height:44px;padding:0 12px;gap:10px}#ev-readbar .ev-rb-title{font-size:13px}}
.single-left-share .ev-share-copy svg{width:15px;height:15px;display:block;margin:auto}
.single-left-share .ev-share-copy.is-copied,#ev-readbar .ev-rb-share a.is-copied{color:#2659d7!important}

/* hide Flourish credit line (design review: credit leaks to readers) */
.flourish-embed .flourish-credit{display:none!important}

/* readbar: desktop only + ticker chip */
@media(max-width:1023px){#ev-readbar{display:none!important}}
#ev-readbar .ev-rb-tick{font:600 12px/1 "Open Sans",sans-serif;color:#15171c;white-space:nowrap;display:flex;gap:6px;align-items:center;letter-spacing:.2px}
#ev-readbar .ev-rb-tick b{font-weight:600}
#ev-readbar .ev-rb-tick .up{color:#1e8e3e}
#ev-readbar .ev-rb-tick .down{color:#d93025}

/* readbar v2 sizing: taller bar, bigger logo+title, ticker next to headline */
#ev-readbar{height:58px;gap:16px}
#ev-readbar .ev-rb-logo img{height:26px}
#ev-readbar .ev-rb-title{flex:0 1 auto;font-size:16px;max-width:56%}
#ev-readbar .ev-rb-share{margin-left:auto}
#ev-readbar .ev-rb-tick{font-size:13px}
#ev-readbar .ev-rb-px{font-weight:400;color:#3c4043}
#ev-readbar .ev-rb-mkt{font:400 11px/1 "Open Sans",sans-serif;color:#5f6368;margin-left:6px;letter-spacing:.3px}

/* readbar v3: newsletter CTA + linked ticker; share rail recolor */
#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{text-decoration:none;border-bottom:0!important;box-shadow:none!important;color:#15171c}
#ev-readbar a.ev-rb-tick:hover .ev-rb-px{color:#2659d7}
#ev-readbar .ev-rb-share{display:none}
.single-left-share a.share-action,.single-left-share a.share-action i{color:#15171c!important}
.single-left-share a.share-action:hover,.single-left-share a.share-action:hover i{color:#2659d7!important}
.single-left-share a.ev-share-copy.is-copied,.single-left-share a.ev-share-copy.is-copied svg{color:#2659d7!important}

/* share rail recolor v2: cover share-icon class (whatsapp etc) */
.single-left-share a.share-icon,.single-left-share a.share-icon i{color:#15171c!important}
.single-left-share a.share-icon:hover,.single-left-share a.share-icon:hover i{color:#2659d7!important}
.single-left-share a.ev-share-copy.is-copied,.single-left-share a.ev-share-copy.is-copied svg{color:#2659d7!important}

/* rail offset + trim: clear the reading bar, drop telegram + read next */
@media(min-width:1024px){body.single-post .section-inner{top:78px!important}}
.single-left-share .share-telegram{display:none!important}
.single-left-article{display:none!important}

/* admin-bar rail offset */
@media(min-width:1024px){body.admin-bar.single-post .section-inner{top:110px!important}}

/* single post H2 strengthen — scoped to article body only (not homepage) */
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}

/* flourish thumb dedupe: hide static thumbnail once live chart loads */
.flourish-embed:has(iframe)>img{display:none!important}

/* footer newsletter card color */
.ev-fr-newsletter{background:#82aaf9!important}