/*
Theme Name: Drop-top Child Theme
Theme URI: https://drop-top.themerex.net/
Description: Drop-top is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
Author: ThemeREX
Author URI: https://themerex.net/
Version: 1.5.0
Tested up to: 6.7
Requires at least: 5.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
Text Domain: drop-top
Template: drop-top
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */


/* ===== Global Color Override — Logo Blue ===== */
/* Replace parent theme orange (#FF8615) with Drive EV blue.
   Target light-background schemes only — dark/extra schemes keep their
   own palette so the footer and dark sections remain readable. */
.scheme_default,
body.scheme_default,
.scheme_light,
body.scheme_light,
.scheme_dealer,
body.scheme_dealer,
.scheme_dealer-light,
body.scheme_dealer-light,
.scheme_red,
body.scheme_red,
.scheme_red-light,
body.scheme_red-light {
    --theme-color-text_link: #00337a;
    --theme-color-text_hover: #002255;
    --theme-color-text_link2: #00337a;
    --theme-color-text_hover2: #002255;
    --theme-color-text_link3: #00337a;
    --theme-color-text_hover3: #002255;
    --theme-color-alter_link: #00337a;
    --theme-color-alter_hover: #002255;
    --theme-color-alter_link2: #00337a;
    --theme-color-alter_hover2: #002255;
    --theme-color-alter_link3: #00337a;
    --theme-color-alter_hover3: #002255;
    --theme-color-extra_link: #00337a;
    --theme-color-extra_hover: #002255;
    --theme-color-extra_link2: #00337a;
    --theme-color-extra_hover2: #002255;
    --theme-color-extra_link3: #00337a;
    --theme-color-extra_hover3: #002255;
    --theme-color-inverse_link: #ffffff;
    --theme-color-inverse_hover: #ffffff;

    /* Background & border — neutral white/grey instead of warm cream */
    --theme-color-bg_color: #ffffff;
    --theme-color-bd_color: #e8e8e8;
    --theme-color-alter_bg_color: #f5f5f3;
    --theme-color-alter_bg_hover: #ebebeb;
    --theme-color-alter_bd_color: #e8e8e8;
    --theme-color-alter_bd_hover: #d5d5d5;

    /* Text — neutral grey instead of warm grey */
    --theme-color-text: #666666;
    --theme-color-text_light: #999999;
    --theme-color-text_dark: #1d1d1d;

    /* Background rgba variants (white-based) */
    --theme-color-bg_color_0: rgba(255, 255, 255, 0);
    --theme-color-bg_color_02: rgba(255, 255, 255, 0.2);
    --theme-color-bg_color_07: rgba(255, 255, 255, 0.7);
    --theme-color-bg_color_08: rgba(255, 255, 255, 0.8);
    --theme-color-bg_color_09: rgba(255, 255, 255, 0.9);

    /* Alter background rgba variants */
    --theme-color-alter_bg_color_00: rgba(245, 245, 243, 0);
    --theme-color-alter_bg_color_02: rgba(245, 245, 243, 0.2);
    --theme-color-alter_bg_color_04: rgba(245, 245, 243, 0.4);
    --theme-color-alter_bg_color_07: rgba(245, 245, 243, 0.7);

    /* Alter border rgba */
    --theme-color-alter_bd_color_02: rgba(232, 232, 232, 0.2);

    /* Text link rgba variants — blue instead of orange */
    --theme-color-text_link_007: rgba(0, 51, 122, 0.07);
    --theme-color-text_link_02: rgba(0, 51, 122, 0.2);
    --theme-color-text_link_03: rgba(0, 51, 122, 0.3);
    --theme-color-text_link_04: rgba(0, 51, 122, 0.4);
    --theme-color-text_link_07: rgba(0, 51, 122, 0.7);

    /* Alter link rgba variants — blue instead of orange */
    --theme-color-alter_link_02: rgba(0, 51, 122, 0.2);
    --theme-color-alter_link_03: rgba(0, 51, 122, 0.3);
    --theme-color-alter_link_07: rgba(0, 51, 122, 0.7);

    /* Extra link rgba variants */
    --theme-color-extra_link_02: rgba(0, 51, 122, 0.2);
    --theme-color-extra_link_07: rgba(0, 51, 122, 0.7);

    /* Text hover rgba variants */
    --theme-color-text_hover_02: rgba(0, 34, 85, 0.2);
    --theme-color-text_hover_07: rgba(0, 34, 85, 0.7);

    /* Text dark rgba variants */
    --theme-color-text_dark_003: rgba(29, 29, 29, 0.03);
    --theme-color-text_dark_005: rgba(29, 29, 29, 0.05);
    --theme-color-text_dark_008: rgba(29, 29, 29, 0.08);
    --theme-color-text_dark_015: rgba(29, 29, 29, 0.15);
    --theme-color-text_dark_02: rgba(29, 29, 29, 0.2);
    --theme-color-text_dark_03: rgba(29, 29, 29, 0.3);
    --theme-color-text_dark_05: rgba(29, 29, 29, 0.5);
    --theme-color-text_dark_07: rgba(29, 29, 29, 0.7);
    --theme-color-text_dark_08: rgba(29, 29, 29, 0.8);

    /* Alter dark rgba variants */
    --theme-color-alter_dark_015: rgba(29, 29, 29, 0.15);
    --theme-color-alter_dark_02: rgba(29, 29, 29, 0.2);
    --theme-color-alter_dark_05: rgba(29, 29, 29, 0.5);
    --theme-color-alter_dark_08: rgba(29, 29, 29, 0.8);

    /* Blend colors — slightly shifted hue for gradients/overlays */
    --theme-color-text_link_blend: #073887;
    --theme-color-alter_link_blend: #073887;
    --theme-color-text_dark_blend: #222222;
}

body {
    --wp--preset--color--text-link: #00337a;
    --wp--preset--color--text-hover: #002255;
}

/* Services We Offer section - hidden */
[data-id="1e5eecc"] {
    display: none;
}

/* Service cards - white background */
[data-id="1e5eecc"] .sc_icons_item {
    background-color: #ffffff !important;
}

/* Service icons - replace font icons with outline SVGs */
[data-id="1e5eecc"] .sc_icons_icon::before,
[data-id="1e5eecc"] .sc_icons_icon span::before {
    content: none;
}
[data-id="1e5eecc"] .sc_icons_icon span {
    display: none;
}
[data-id="1e5eecc"] .sc_icons_icon {
    width: 64px;
    height: 64px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
/* Insurance icon */
[data-id="1e5eecc"] .sc_icons_icon.icon-shield {
    background-image: url('/wp-content/themes/drop-top-child/images/insurance-icon.png');
}
/* Charging icon */
[data-id="1e5eecc"] .sc_icons_icon.icon-flash {
    background-image: url('/wp-content/themes/drop-top-child/images/charging-icon.png');
}
/* Finance icon */
[data-id="1e5eecc"] .sc_icons_icon.icon-dollar {
    background-image: url('/wp-content/themes/drop-top-child/images/finance-icon.png');
}
/* Car Service icon */
[data-id="1e5eecc"] .sc_icons_icon.icon-wrench {
    background-image: url('/wp-content/themes/drop-top-child/images/service-icon.png');
}

[data-id="1e5eecc"] a,
[data-id="1e5eecc"] a:hover,
[data-id="1e5eecc"] .sc_icons_icon,
[data-id="1e5eecc"] .sc_icons_item:hover .sc_icons_icon,
[data-id="1e5eecc"] .sc_button,
[data-id="1e5eecc"] .sc_title_subtitle,
[data-id="1e5eecc"] .sc_icons_item_title a,
[data-id="1e5eecc"] .sc_icons_item_link,
[data-id="1e5eecc"] .sc_icons_item_readmore {
    color: #00337a !important;
}
/* ===== Unified Button Style ===== */
/* All homepage CTA buttons: blue bg, white text, Barlow Condensed, uppercase */
/* Targets: View All Services, Load More, Learn More, Submit */

/* View all services button - default: blue bg, white text */
[data-id="1e5eecc"] .sc_button.sc_button_default {
    color: #ffffff !important;
    background-color: #00337a !important;
    border: 2px solid #00337a !important;
    border-radius: 4px !important;
    padding: 10px 30px !important;
    font-family: "Barlow Condensed", sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease !important;
}
[data-id="1e5eecc"] .sc_button.sc_button_default .sc_button_title,
[data-id="1e5eecc"] .sc_button.sc_button_default .sc_button_text {
    color: #ffffff !important;
    font-family: "Barlow Condensed", sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}
/* View all services button - hover: blue bg, semi-transparent white text */
[data-id="1e5eecc"] .sc_button.sc_button_default:hover {
    background-color: #00337a !important;
    border-color: #00337a !important;
    color: rgba(255, 255, 255, 0.7) !important;
}
[data-id="1e5eecc"] .sc_button.sc_button_default:hover .sc_button_title,
[data-id="1e5eecc"] .sc_button.sc_button_default:hover .sc_button_text {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Recommendation section - padding + white background */
[data-id="11a7d8d"],
.elementor-element.elementor-element-11a7d8d,
.elementor-element.elementor-element-11a7d8d:not(.elementor-motion-effects-element-type-background) {
    padding-top: 40px;
    padding-bottom: 60px;
    background-color: #ffffff;
    background: #ffffff;
}

[data-id="11a7d8d"] .sc_title_subtitle,
[data-id="11a7d8d"] .post_featured .mask {
    color: #00337a !important;
}
/* Clean car cards — name grey, button white text */
[data-id="11a7d8d"] .ev-compare-card__name a,
[data-id="11a7d8d"] .ev-compare-card__name a:hover {
    color: #424242 !important;
}
[data-id="11a7d8d"] a.ev-compare-card__btn {
    color: #fff !important;
}
[data-id="11a7d8d"] a.ev-compare-card__btn:hover {
    color: rgba(255, 255, 255, 0.7) !important;
}
/* Sale label - white text on blue bg */
[data-id="11a7d8d"] .sc_cars_item_labels a {
    color: #ffffff !important;
    background-color: #00337a !important;
}
/* Load more button - default: blue bg, white text */
[data-id="11a7d8d"] .nav-links-more .nav-links {
    color: #ffffff !important;
    background-color: #00337a !important;
    border: 2px solid #00337a !important;
    border-radius: 4px !important;
    padding: 10px 30px !important;
    font-family: "Barlow Condensed", sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease !important;
}
[data-id="11a7d8d"] .nav-links-more .nav-links span {
    color: #ffffff !important;
    font-family: inherit !important;
    font-weight: inherit !important;
    letter-spacing: inherit !important;
}
/* Load more button - hover: blue bg, semi-transparent white text */
[data-id="11a7d8d"] .nav-links-more .nav-links:hover {
    background-color: #00337a !important;
    border-color: #00337a !important;
    color: rgba(255, 255, 255, 0.7) !important;
}
[data-id="11a7d8d"] .nav-links-more .nav-links:hover span {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Brand logos section - hidden on home and FYV pages */
[data-id="9bb9a7d"],
.elementor-element-9bb9a7d {
    display: none;
}

/* EV Categories section - top padding */
[data-id="1dbf6ad"] {
    padding-top: 60px;
}

/* EV Category cards - padding and text logo blue */
[data-id="8808b82"] {
    padding-bottom: 60px;
}

[data-id="8870a23"]{
    padding: 10px 55px 10px 55px;
}

[data-id="8808b82"] .elementor-heading-title,
[data-id="8808b82"] a,
[data-id="8808b82"] p,
[data-id="8808b82"] span {
    color: #00337a;
}

/* Section 38aa0777 - text logo blue */
[data-id="38aa0777"] p,
[data-id="38aa0777"] span,
[data-id="38aa0777"] a,
[data-id="38aa0777"] .elementor-text-editor,
[data-id="38aa0777"] .elementor-heading-title {
    color: #00337a;
}

/* Section 4851fc13 - social names hover grey (icons locked by theme !important) */
.sc_layouts_panel_menu [data-id="4851fc13"] .sc_socials.sc_socials_icons_names .socials_wrap .social_item:hover .social_name {
    color: #424242;
}

/* Footer Services dropdown */
.footer-services-dropdown {
    position: absolute;
    bottom: 100%;
    left: 0;
    background: #ffffff;
    list-style: none;
    margin: 0;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 10;
    min-width: 180px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.footer-services-dropdown .custom_links_list_item {
    padding: 6px 20px;
}

.footer-services-dropdown {
    --theme-color-text_dark: #1d1d1d;
    --theme-color-text: #1d1d1d;
}

.widget_custom_links .footer-services-dropdown > li.custom_links_list_item .custom_links_list_item_link {
    color: #1d1d1d;
    text-decoration: none;
    border-bottom: none;
}

.widget_custom_links .footer-services-dropdown > li.custom_links_list_item .custom_links_list_item_title::after {
    display: none;
}

.widget_custom_links .footer-services-dropdown > li.custom_links_list_item .custom_links_list_item_link:hover,
.widget_custom_links .footer-services-dropdown > li.custom_links_list_item:hover .custom_links_list_item_link {
    color: #00337a;
    margin-left: 0;
}

/* Footer content row — three equal columns */
.elementor-32222 .elementor-element.elementor-element-effbad2,
footer .elementor-element.elementor-element-effbad2,
.elementor-element.elementor-element-effbad2,
[data-id="effbad2"] {
    padding-bottom: 20px;
}
[data-id="effbad2"] > .elementor-container,
[data-id="effbad2"] > .elementor-container > .elementor-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 40px;
}
[data-id="effbad2"] .elementor-column {
    flex: 1;
    width: auto;
    max-width: none;
}

/* About Us column — override JS-set fixed width */
[data-id="dde7476"] {
    width: auto;
    max-width: none;
    flex-basis: 0;
    flex: 1;
}

/* Footer responsive — stack columns on mobile */
@media (max-width: 767px) {
    /* The footer section itself — contain everything */
    .elementor-32222 .elementor-element.elementor-element-effbad2,
    footer.footer_wrap [data-id="effbad2"],
    [data-id="effbad2"] {
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 20px;
        overflow: hidden;
        box-sizing: border-box;
    }

    /* Stack the three footer columns vertically */
    [data-id="effbad2"] > .elementor-container,
    [data-id="effbad2"] > .elementor-container > .elementor-row,
    footer.footer_wrap [data-id="effbad2"] > .elementor-container {
        flex-wrap: wrap;
        gap: 30px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Each column full-width — override Elementor inline widths */
    [data-id="effbad2"] .elementor-column,
    [data-id="effbad2"] > .elementor-container > .elementor-row > .elementor-column,
    [data-id="effbad2"] > .elementor-container > .elementor-column {
        flex: none;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    [data-id="dde7476"],
    footer.footer_wrap [data-id="dde7476"] {
        flex-basis: 100%;
        flex: none;
        width: 100%;
    }

    /* Prevent any horizontal overflow in footer */
    .footer_wrap,
    .footer_wrap .elementor-container,
    .footer_wrap .elementor-column-wrap,
    .footer_wrap .elementor-widget-wrap,
    .footer_wrap .elementor-widget-container {
        overflow: hidden;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Center-align footer text */
    .footer_wrap,
    .footer_wrap p,
    .footer_wrap .widget,
    .footer_wrap .elementor-widget-container {
        text-align: center;
    }

    /* Founder card — center and constrain width */
    .drive-ev-founder-card {
        align-items: center;
        text-align: center;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    .drive-ev-founder-quote {
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0 4px;
    }
    .drive-ev-founder-photo-wrap {
        margin-left: auto;
        margin-right: auto;
    }
    .drive-ev-founder-btn {
        margin-left: auto;
        margin-right: auto;
    }

    /* Footer heading */
    .footer_wrap h2.sc_item_title_tag:not(.sc_align_center) {
        margin-left: 0;
        text-align: center;
    }
    [data-id="fdfec5e"] {
        width: 100%;
        text-align: center;
    }

    /* Links — single column on mobile for readability */
    [data-id="d337dc3"] .custom_links_list,
    footer.footer_wrap [data-id="d337dc3"] .custom_links_list {
        columns: 1;
        text-align: center;
    }
    [data-id="d337dc3"] .custom_links_list_item {
        text-align: center;
    }

    /* Footer contact form full width */
    .footer_wrap .sc_form,
    .footer_wrap .wpcf7,
    .footer_wrap .sc_form_form,
    .footer_wrap form {
        width: 100%;
        max-width: 100%;
    }
    .footer_wrap .sc_form_field,
    .footer_wrap .wpcf7-form-control-wrap {
        width: 100%;
    }
    .footer_wrap input[type="text"],
    .footer_wrap input[type="email"],
    .footer_wrap input[type="tel"],
    .footer_wrap textarea,
    .footer_wrap select {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .footer_wrap .sc_form_field_button,
    .footer_wrap .wpcf7-submit-style {
        width: 100%;
    }
    .footer_wrap .sc_form_field_button button,
    .footer_wrap .wpcf7-submit {
        width: 100%;
    }
}

/* Footer links - two-column layout */
[data-id="d337dc3"] .custom_links_list {
    columns: 2;
    column-gap: 30px;
    width: 100% !important;
}
[data-id="d337dc3"] .custom_links_list_item {
    break-inside: avoid;
}
[data-id="d337dc3"] .custom_links_list_item_link {
    font-size: 14px;
    padding: 0.2em 0.3em;
}

/* Footer — logo grey background instead of black */
.footer_wrap.scheme_dark {
    --theme-color-bg_color: #424242;
    background-color: #424242;
}

/* Footer divider line — white */
[data-id="98006f3"],
.elementor-element-98006f3 {
    --divider-color: #ffffff;
}
[data-id="98006f3"] .elementor-divider-separator {
    border-color: #ffffff;
}

/* Footer - override dark scheme orange links to match header blue */
.footer_wrap a {
    color: #00337a;
}
.footer_wrap a:hover {
    color: #002255;
}
.footer_wrap,
.footer_wrap p,
.footer_wrap .widget,
.footer_wrap .elementor-widget-container {
    text-align: left;
}

/* Footer heading - padding and no margin */
[data-id="fdfec5e"] {
    padding-top: 30px;
    padding-bottom: 20px;
    margin: 0;
    width: max-content;
    max-width: 100%;
    height: fit-content;
}
[data-id="fdfec5e"] .sc_title {
    margin: 0;
}
[data-id="fdfec5e"] h2 {
    margin: 0;
}

/* Footer title alignment fix */
.footer_wrap h2.sc_item_title_tag:not(.sc_align_center) {
    margin-left: -16px;
}

/* Slide-out panel - white background (all pages) */
.sc_layouts_panel#header-popup,
#header-popup.sc_layouts_panel,
body .sc_layouts_panel#header-popup {
    --theme-color-bg_color: #ffffff;
    background-color: #ffffff;
    --theme-color-text: #232323;
    --theme-color-text_light: #555555;
    color: #232323;
}

/* Slide-out panel - social icons hover logo blue */
#header-popup .sc_socials .social_item a:hover,
#header-popup .sc_socials .social_item a:hover .social_name {
    color: #00337a;
}

/* Section 5a8e62e - padding */
[data-id="5a8e62e"] {
    padding-top: 40px;
    padding-bottom: 60px;
}

/* All pages - Barlow Condensed and capitalize for all titles */
h1,
h2,
h3,
h4,
h5,
h6,
.sc_item_title_text,
.sc_item_subtitle,
.sc_icons_item_title,
.sc_icons_item_title a,
.elementor-heading-title,
.sc_title_subtitle,
.sc_button_title,
.drive-ev-section-title,
.drive-ev-section-label,
.drive-ev-about-title,
.drive-ev-about-label,
.drive-ev-about-author strong {
    font-family: "Barlow Condensed", sans-serif;
    text-transform: capitalize;
}
/* Footer headings — normal case across all pages */
.home footer h1,
.home footer h2,
.home footer h3,
.home footer h4,
.home footer h5,
.home footer h6,
.home footer .elementor-heading-title {
    text-transform: none;
}
/* Uniform footer headings across ALL pages */
footer.footer_wrap h1,
footer.footer_wrap h2,
footer.footer_wrap h3,
footer.footer_wrap h4,
footer.footer_wrap h5,
footer.footer_wrap h6,
footer.footer_wrap .elementor-heading-title {
    font-family: "Barlow Condensed", sans-serif;
    text-transform: none;
}

/* Footer Founder Card */
.drive-ev-founder-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    text-align: left;
}
.drive-ev-founder-photo-wrap {
    margin-bottom: 16px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
}
.drive-ev-founder-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #00337a;
    clip-path: circle(50%);
}
p.drive-ev-founder-name,
.footer_wrap .drive-ev-founder-name,
.footer_wrap.scheme_dark .drive-ev-founder-name,
.footer_wrap.scheme_dark .drive-ev-founder-card .drive-ev-founder-name {
    color: #ffffff;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 4px;
}
.drive-ev-founder-title {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 400;
    margin: 0 0 16px;
}
.drive-ev-founder-quote {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-style: italic;
    line-height: 1.7;
    margin: 0 0 20px;
}
.drive-ev-founder-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 29px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff;
    background: #00337a;
    border: 2px solid #00337a;
    border-radius: 4px;
    transition: background .3s, color .3s;
    width: fit-content;
}
a.drive-ev-founder-btn:hover,
.footer_wrap a.drive-ev-founder-btn:hover {
    background-color: #00337a;
    border-color: #00337a;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

/* Remove padding bottom from footer section ad50e5e */
[data-id="ad50e5e"] {
    padding-top: 0;
    padding-bottom: 0;
}
[data-id="1795a1a"] {
    padding-top: 0;
    padding-bottom: 0;
}
[data-id="1795a1a"] > .elementor-container {
    padding-top: 15px;
}

/* Hide car image marquee section */
[data-id="5a926a57"] {
    display: none;
}

/* Test Drive CTA section — About Us page replaced content */
.drive-ev-testdrive-replaced {
    padding: 30px 0 20px;
}
.drive-ev-testdrive-replaced__heading {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #424242;
    margin: 0 0 16px;
    line-height: 1.2;
}
.drive-ev-testdrive-cta {
    margin-top: 16px;
}
.drive-ev-testdrive-desc {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    color: #666666;
    line-height: 1.7;
    margin: 0 0 24px;
}

/* Test Drive / FYV CTA button */
.drive-ev-testdrive-cta-btn,
.drive-ev-fyv-cta-btn {
    display: inline-block;
    padding: 12px 36px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    background: #00337a;
    border: 2px solid #00337a;
    border-radius: 4px;
    cursor: pointer;
    transition: background .3s, color .3s;
}
.drive-ev-testdrive-cta-btn:hover,
.drive-ev-fyv-cta-btn:hover {
    background-color: #00337a;
    border-color: #00337a;
    color: rgba(255, 255, 255, 0.7);
}

/* Test Drive Modal */
.drive-ev-testdrive-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.drive-ev-testdrive-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}
.drive-ev-testdrive-modal__content {
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    padding: 40px;
    max-width: 520px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1;
}
.drive-ev-testdrive-modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: #424242;
    cursor: pointer;
    line-height: 1;
}
.drive-ev-testdrive-modal__close:hover {
    color: #00337a;
}
.drive-ev-testdrive-modal__title {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #424242;
    margin: 0 0 20px;
    text-transform: uppercase;
}

/* About Us page - reduce top padding after banner removal */
[data-id="099024d"] {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Services/Recommended EVs — 3 columns */
.post-type-archive-cpt_services .sc_services_columns_wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.post-type-archive-cpt_services .sc_services_columns_wrap > .trx_addons_column-1_2 {
    width: 100%;
    max-width: 100%;
}
.post-type-archive-cpt_services .sc_services_item .post_featured {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.post-type-archive-cpt_services .sc_services_item .post_featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Services grid — tablet: 2 cols, mobile: 1 col */
@media (max-width: 1024px) {
    .post-type-archive-cpt_services .sc_services_columns_wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .post-type-archive-cpt_services .sc_services_columns_wrap {
        grid-template-columns: 1fr;
    }
}

/* Hide page banners on all non-homepage pages */
.drive-ev-page-banner,
.dev-banner,
.cars-archive-banner,
.car-single-banner,
.fyv-banner,
.drive-ev-research-banner {
    display: none;
}

.drive-ev-side-buttons {
    display: none;
}

/* Charging Info page: hide Latest News widget in sidebar */
.page-charging-info .sidebar .widget_recent_posts {
    display: none;
}



/* Service single pages: show banner but hide breadcrumbs */
.single-cpt_services .dev-banner {
    display: block;
}
.single-cpt_services .dev-banner__breadcrumb {
    display: none;
}
.single-cpt_services .dev-banner {
    padding: 32px 0;
}
.single-cpt_services .dev-banner .dev-banner__title {
    font-size: 48px;
    margin: 0;
}

/* Footer Feedback Form */
.drive-ev-feedback-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 100%;
}

.drive-ev-feedback-form input[type="text"],
.drive-ev-feedback-form input[type="email"],
.drive-ev-feedback-form textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    padding: 8px 0;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.drive-ev-feedback-form input[type="text"]:focus,
.drive-ev-feedback-form input[type="email"]:focus,
.drive-ev-feedback-form textarea:focus {
    border-bottom-color: #ffffff;
}

.drive-ev-feedback-form input::placeholder,
.drive-ev-feedback-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.drive-ev-feedback-form textarea {
    resize: vertical;
    min-height: 50px;
}

.drive-ev-feedback-form button[type="submit"] {
    background-color: #00337a;
    color: #ffffff;
    border: 2px solid #00337a;
    border-radius: 4px;
    padding: 10px 30px;
    font-size: 14px;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    align-self: flex-start;
    margin-top: 4px;
}

.drive-ev-feedback-form button[type="submit"]:hover {
    background-color: #00337a;
    border-color: #00337a;
    color: rgba(255, 255, 255, 0.7);
}

.drive-ev-feedback-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.drive-ev-feedback-msg {
    font-size: 13px;
    margin-top: 4px;
}

.drive-ev-feedback-msg.success {
    color: #4caf50;
}

.drive-ev-feedback-msg.error {
    color: #ff6b6b;
}

/* About Us page - column d5014ae uniform text size and alignment */
[data-id="d5014ae"] p,
[data-id="d5014ae"] li,
[data-id="d5014ae"] span,
[data-id="d5014ae"] b,
[data-id="d5014ae"] strong {
    font-size: 16px;
    line-height: 1.7;
    color: inherit;
    text-align: left;
}
[data-id="d5014ae"] ol {
    padding-left: 20px;
    margin: 10px 0;
}
[data-id="d5014ae"] ol li {
    margin-bottom: 6px;
    padding-left: 4px;
}
[data-id="d5014ae"] p {
    margin-bottom: 12px;
}
[data-id="d5014ae"] b,
[data-id="d5014ae"] strong {
    font-weight: 700;
}

/* About Us - Founder avatar replacing icon-turbo-1 (widget 93d117e, post 8554) */

/* Hide the font icon character — it lives on the inner span */
[data-id="93d117e"] .sc_icons_icon.icon-turbo-1 span::before {
    content: none;
}
[data-id="93d117e"] .sc_icons_icon.icon-turbo-1 span {
    display: block;
    width: 0;
    height: 0;
}

/* Style the icon wrapper div as a circular avatar */
[data-id="93d117e"] .sc_icons_icon.icon-turbo-1 {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(255,255,255,0.7)'%3E%3Cpath d='M12 12c2.7 0 4.8-2.1 4.8-4.8S14.7 2.4 12 2.4 7.2 4.5 7.2 7.2 9.3 12 12 12zm0 2.4c-3.2 0-9.6 1.6-9.6 4.8v2.4h19.2v-2.4c0-3.2-6.4-4.8-9.6-4.8z'/%3E%3C/svg%3E");
    background-size: 55%;
    background-repeat: no-repeat;
    background-position: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin: 0 auto 0 0;
}

/* "A Letter from the Founder" label — injected before the details block */
[data-id="93d117e"] .sc_icons_item_details::before {
    content: 'A Letter from the Founder';
    display: block;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* About Us page - column cebbb1d vertical center */
[data-id="cebbb1d"].elementor-column {
    display: flex;
    align-items: stretch;
}
[data-id="cebbb1d"] > .elementor-widget-wrap {
    justify-content: center;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
}



/* ===== Single Car Page — Banner (matches FYV page) ===== */
body.single-cpt_cars .page_content_wrap {
    margin-top: 0;
    padding-top: 60px;
    padding-bottom: 60px;
}
body.tax-cpt_cars_type .page_content_wrap {
    padding-top: 60px;
    padding-bottom: 60px;
}
.car-single-banner {
    background-color: #00337a;
    padding: 90px 20px;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
.car-single-banner-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 3.167em;
    font-weight: 600;
    font-style: normal;
    line-height: 1em;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff;
    margin: 0;
}
.car-single-breadcrumb {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 12px;
}
.car-single-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}
.car-single-breadcrumb a:hover {
    color: #ffffff;
}
.car-single-breadcrumb-sep {
    margin: 0 8px;
}

@media (max-width: 767px) {
    .car-single-banner {
        padding: 16px;
    }
    .car-single-banner-title {
        font-size: 2em;
    }
}

/* ===== Single Car Page — layout: white bg, grey cards, #424242 titles ===== */
/* Override CSS variables for the car single page */
body.single-cpt_cars {
    --theme-color-bg_color: #ffffff;
    --theme-color-text_dark: #424242;
    --theme-color-alter_bg_color: #f5f5f3;
    --theme-color-alter_bg_hover: #F4EDDA;
    background-color: #ffffff;
}

/* White page content background */
body.single-cpt_cars .page_content_wrap {
    background-color: #ffffff;
}

body.single-cpt_cars .comments_form_wrap {
    display: none;
}

/* Featured image + gallery side by side */
.cars_page .cars_page_image_wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}
.cars_page .cars_page_image_wrap .cars_page_featured {
    width: 50%;
    flex-shrink: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 6px;
}
.cars_page .cars_page_image_wrap .cars_page_featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cars_page .cars_page_image_wrap .cars_page_gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 50%;
    max-height: 350px;
    overflow-y: auto;
}
.cars_page .cars_page_image_wrap .cars_page_gallery::-webkit-scrollbar {
    width: 3px;
}
.cars_page .cars_page_image_wrap .cars_page_gallery::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}
.cars_page .cars_page_image_wrap .cars_page_gallery .cars_page_gallery_item {
    display: block;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
    width: calc(33.333% - 6px);
    aspect-ratio: 1 / 1;
}
.cars_page .cars_page_image_wrap .cars_page_gallery .cars_page_gallery_item_active {
    border-color: #00337a;
}
.cars_page .cars_page_image_wrap .cars_page_gallery .cars_page_gallery_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 767px) {
    .cars_page .cars_page_image_wrap {
        flex-direction: column;
        max-width: 100%;
    }
    .cars_page .cars_page_image_wrap .cars_page_gallery {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        max-height: none;
    }
    .cars_page .cars_page_image_wrap .cars_page_gallery .cars_page_gallery_item {
        width: 60px;
        flex-shrink: 0;
    }
}

/* CTA Action Bar — Enquire, Check Availability, Request Price */
.cars_page .cars_page_cta_bar {
    padding: 20px 0;
}
.cars_page .cars_cta_buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.cars_page .cars_cta_btn {
    padding: 12px 28px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    border: 2px solid transparent;
    line-height: 1.4;
}
.cars_page .cars_cta_btn--primary,
.cars_page .cars_cta_btn--secondary,
.cars_page .cars_cta_btn--outline {
    background-color: #00337a;
    color: #ffffff;
    border-color: #00337a;
    text-decoration: none;
}
.cars_page .cars_cta_btn--primary:hover,
.cars_page .cars_cta_btn--secondary:hover,
.cars_page .cars_cta_btn--outline:hover {
    background-color: #00337a;
    color: rgba(255, 255, 255, 0.7);
    border-color: #00337a;
}
.cars_page .cars_cta_note {
    width: 100%;
    font-size: 13px;
    color: #6b7280;
    margin-top: 0;
}
@media (max-width: 600px) {
    .cars_page .cars_cta_buttons {
        flex-direction: column;
    }
    .cars_page .cars_cta_btn {
        width: 100%;
        text-align: center;
        display: block;
        box-sizing: border-box;
    }
}

/* Hide Latest News widget in sidebar — keep banner ad */
aside.widget.widget_recent_posts {
    display: none !important;
}

/* Like + Share bar on car single page */
.cars_page_share_bar.post_item_single .post_meta_single {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 20px;
    border-top: none;
}
.cars_page .cars_page_share_bar {
    border-top: 1px solid var(--theme-color-bd_color);
    border-bottom: 1px solid var(--theme-color-bd_color);
    padding: 20px 0 0;
    margin: 30px 0;
}
/* WhatsApp icon green background */
.post_item_single .post_meta_single .post_share .socials_share.socials_type_block .social_item .social_icon[class*="whatsapp"] {
    background-color: #25D366 !important;
    color: #fff !important;
}
/* Share label above icons in car share bar */
.cars_page_share_bar .post_meta_item.post_share .socials_share {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cars_page_share_bar .drive-ev-share-label {
    display: block;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 1px;
    color: #424242;
    margin-bottom: 10px;
}

/* Card-style background on highlighted sections */
.cars_page .cars_page_section.cars_page_details,
.cars_page .cars_page_section.cars_page_features,
.cars_page .cars_page_section.cars_page_video,
.cars_page .cars_page_section.cars_page_agent {
    background-color: #f5f5f3;
    padding: 1.5em 2em;
    border-radius: 4px;
    margin-top: 0;
}

/* Car single page title — match article title style */
.cars_page .cars_page_title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 32px;
    color: #424242;
    margin: 0 0 24px;
}

/* Title color */
.cars_page .cars_page_title,
.cars_page .cars_page_section_title,
.cars_page h2,
.cars_page h3,
.cars_page h4,
.cars_page .cars_page_agent_info .cars_page_agent_info_name {
    color: #424242;
}

/* ===== Single Car Page — button hover: white bg, blue border & text ===== */
/* Agent contact form — default (sc_form) button */
.cars_page .cars_page_agent_form .sc_form_field_button button,
.cars_page .cars_page_agent_form .sc_form_form button,
.cars_page .cars_page_agent_form form button {
    color: #ffffff;
    background-color: #00337a;
    border: 2px solid #00337a;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.cars_page .cars_page_agent_form .sc_form_field_button button:hover,
.cars_page .cars_page_agent_form .sc_form_form button:hover,
.cars_page .cars_page_agent_form form button:hover {
    color: rgba(255, 255, 255, 0.7);
    background-color: #00337a;
    border-color: #00337a;
}
/* Agent contact form — Contact Form 7 submit
   The theme JS wraps .wpcf7-submit in a .wpcf7-submit-style span and renders
   the visual button via .submit-style-in (z-index:0, visible bg) while the
   actual input is transparent (z-index:1, visible text only).
   We target .submit-style-in for bg/border and .wpcf7-submit for text color.
   Higher specificity needed because CF7 CSS loads after child theme CSS. */
/* Hover — visual background: blue bg, semi-transparent text */
.cars_page .cars_page_agent_form .wpcf7 .wpcf7-submit-style:hover .wpcf7-submit + .submit-style-in {
    background-color: #00337a;
    color: rgba(255, 255, 255, 0.7);
    border: 2px solid #00337a;
    border-radius: 4px;
}
/* Hover — input text semi-transparent */
.cars_page .cars_page_agent_form .wpcf7 .wpcf7-submit-style:hover .wpcf7-submit {
    color: rgba(255, 255, 255, 0.7);
}
/* General theme buttons on car page (exclude CF7 submit — it uses .submit-style-in) */
body.single-cpt_cars .page_content_wrap form button:not(.components-button):hover,
body.single-cpt_cars .page_content_wrap input[type="submit"]:not(.wpcf7-submit):hover,
body.single-cpt_cars .page_content_wrap .sc_button_default:hover,
body.single-cpt_cars .page_content_wrap .sc_button:not(.sc_button_simple):not(.sc_button_bordered):not(.sc_button_bg_image):hover,
body.single-cpt_cars .page_content_wrap .theme_button:hover,
body.single-cpt_cars .page_content_wrap .more-link:hover {
    color: rgba(255, 255, 255, 0.7);
    background-color: #00337a;
    border-color: #00337a;
}
body.single-cpt_cars .page_content_wrap .sc_button:hover .sc_button_title,
body.single-cpt_cars .page_content_wrap form button:hover .sc_button_title {
    color: rgba(255, 255, 255, 0.7);
}
/* Status badges in car title — need nth-child to beat parent specificity */
.cars_page_title .cars_page_status > a:hover,
.cars_page_title .cars_page_status > a:nth-child(n):hover {
    color: #00337a;
    background-color: #ffffff;
    border: 1px solid #00337a;
}
/* Car listing label badges */
.sc_cars_default .sc_cars_item .sc_cars_item_thumb .sc_cars_item_labels > a:hover {
    color: #00337a;
    background-color: #ffffff;
    border: 1px solid #00337a;
}

/* ===== About Us Page — CF7 submit button hover ===== */
/* Default state — blue bg, white text */
.page-template-default .wpcf7 .wpcf7-submit-style .submit-style-in,
.page-template-default .wpcf7 .wpcf7-submit-style .wpcf7-submit + .submit-style-in {
    background-color: #00337a;
    color: #ffffff;
    border: 2px solid #00337a;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.page-template-default .wpcf7 .wpcf7-submit-style .wpcf7-submit {
    color: #ffffff;
    transition: color 0.3s ease;
}
/* Hover — blue bg, semi-transparent white text */
.page-template-default .wpcf7 .wpcf7-submit-style:hover .wpcf7-submit + .submit-style-in {
    background-color: #00337a;
    color: rgba(255, 255, 255, 0.7);
    border: 2px solid #00337a;
    border-radius: 4px;
}
.page-template-default .wpcf7 .wpcf7-submit-style:hover .wpcf7-submit {
    color: rgba(255, 255, 255, 0.7);
}

/* Footer custom links — reduce title font size */
.widget_custom_links ul > li.custom_links_list_item .custom_links_list_item_title {
    font-size: 14px;
}

/* ===== Cars Archive Page — pagination ===== */
.post-type-archive-cpt_cars .nav-links {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 20px 0 40px;
}
.post-type-archive-cpt_cars .nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 4px;
    color: #00337a;
    background: transparent;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.post-type-archive-cpt_cars .nav-links .page-numbers.current {
    background-color: #00337a;
    color: #ffffff;
    border-color: #00337a;
}
.post-type-archive-cpt_cars .nav-links a.page-numbers:hover {
    border-color: #00337a;
    background-color: rgba(0, 51, 122, 0.08);
    color: #00337a;
}
.post-type-archive-cpt_cars .nav-links .page-numbers.dots {
    border: none;
    background: none;
    cursor: default;
    color: #999999;
}
/* Pagination arrows — center the icon inside the box */
.post-type-archive-cpt_cars .nav-links .page-numbers.prev,
.post-type-archive-cpt_cars .nav-links .page-numbers.next,
.post-type-archive-cpt_cars .nav-links .page-numbers.first,
.post-type-archive-cpt_cars .nav-links .page-numbers.last {
    position: relative;
}
.post-type-archive-cpt_cars .nav-links .page-numbers.prev:before,
.post-type-archive-cpt_cars .nav-links .page-numbers.next:before,
.post-type-archive-cpt_cars .nav-links .page-numbers.first:before,
.post-type-archive-cpt_cars .nav-links .page-numbers.last:before {
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
}

/* ===== Cars Archive Page — blue banner ===== */
body.post-type-archive-cpt_cars .page_content_wrap {
    padding-top: 0;
}
.cars-archive-banner {
    background-color: #00337a;
    padding: 90px 20px;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0;
}

/* Cars archive — compare bar (back button on compare page) */
.cars-archive-compare-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    clear: both;
}
.cars-archive-compare-btn {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 10px 28px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff;
    background-color: #00337a;
    border: 2px solid #00337a;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.cars-archive-compare-btn:hover {
    color: rgba(255, 255, 255, 0.7);
    background-color: #00337a;
}

.cars-archive-btn-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 10px;
}

.cars-archive-clear-btn {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 10px 22px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    background-color: #999999;
    border: 2px solid #999999;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.cars-archive-clear-btn:hover {
    background-color: #999999;
    border-color: #999999;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Cars Archive — How to Compare Section ===== */
.cars-how-to-compare {
    width: 100%;
    padding: 50px 0 20px;
    clear: both;
}
/* Hide "How to Compare" only on the All EVs page, keep it on /cars/ */
body.all-evs-page .cars-how-to-compare,
body.page-id-38366 .cars-how-to-compare {
    display: none;
}
.cars-how-to-compare__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 40px;
    font-weight: 550;
    text-transform: capitalize;
    line-height: 1.2;
    color: #424242;
    margin: 0 0 20px;
}
.cars-how-to-compare__steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}
.cars-how-to-compare__step {
    display: flex;
    align-items: center;
    gap: 14px;
}
.cars-how-to-compare__step-num {
    flex-shrink: 0;
    color: #00337a;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}
.cars-how-to-compare__step-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cars-how-to-compare__step-text strong {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #333333;
}
.cars-how-to-compare__step-text span {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #666666;
    line-height: 1.5;
}

/* Category dropdown + Compare button row */
.cars-category-select-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: nowrap;
}
.cars-category-select-row .select_container {
    width: max-content;
    flex-shrink: 0;
}
.cars-category-select-row .select_container:before {
    display: none;
}
.cars-category-select-row .select_container:after {
    right: 14px;
}
.cars-category-select {
    width: max-content;
    padding: 10px 44px 10px 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: #333333;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 4px;
    cursor: pointer;
}
.cars-category-select:focus {
    outline: none;
    border-color: #00337a;
}

/* ===== Cars Archive Sidebar — About Compare EV ===== */
.cars-sidebar-about {
    margin-bottom: 24px;
    padding: 20px;
}
.cars-sidebar-about__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #424242;
    margin: 0 0 14px;
}
.cars-sidebar-about p {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    color: #666666;
    margin: 0 0 10px;
}
.cars-sidebar-about p:last-child {
    margin-bottom: 0;
}

/* Back button on compare results page */
.cars-archive-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 28px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff;
    background-color: #00337a;
    border: 2px solid #00337a;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.cars-archive-back-btn:hover {
    color: rgba(255, 255, 255, 0.7);
    background-color: #00337a;
}
.cars-archive-banner-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 3.167em;
    font-weight: 600;
    font-style: normal;
    line-height: 1em;
    text-transform: capitalize;
    text-decoration: none;
    color: #ffffff;
    margin: 0;
}
.cars-archive-breadcrumb {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 12px;
}
.cars-archive-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}
.cars-archive-breadcrumb a:hover {
    color: #ffffff;
}
.cars-archive-breadcrumb-sep {
    margin: 0 8px;
}

/* Cars archive — hide Sale/Rent labels and price overlay on thumbnails */
.post-type-archive-cpt_cars .sc_cars_default .sc_cars_item .sc_cars_item_thumb .sc_cars_item_labels,
.post-type-archive-cpt_cars .sc_cars_default .sc_cars_item .sc_cars_item_thumb .sc_cars_item_price {
    display: none;
}

/* Cars archive — make info section flex column so Compare button sits at the bottom */
.post-type-archive-cpt_cars .sc_cars_default .sc_cars_item .sc_cars_item_info {
    display: flex;
    flex-direction: column;
}
.post-type-archive-cpt_cars .sc_cars_default .sc_cars_item .sc_cars_item_info .sc_cars_item_footer {
    margin-top: auto;
}

/* Cars archive — compare icon → "Compare" button */
.post-type-archive-cpt_cars .sc_cars_default .sc_cars_item .sc_cars_item_info .sc_cars_item_compare {
    position: static;
    order: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 14px;
    padding: 10px 20px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #ffffff;
    background-color: #00337a;
    border: 2px solid #00337a;
    border-radius: 4px;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
/* Hide the fontello icon */
.post-type-archive-cpt_cars .sc_cars_default .sc_cars_item .sc_cars_item_info .sc_cars_item_compare:before {
    content: none;
}
/* Show "ADD TO COMPARE" text */
.post-type-archive-cpt_cars .sc_cars_default .sc_cars_item .sc_cars_item_info .sc_cars_item_compare:after {
    content: 'ADD TO COMPARE';
}
/* Hover state */
.post-type-archive-cpt_cars .sc_cars_default .sc_cars_item .sc_cars_item_info .sc_cars_item_compare:hover {
    background-color: #00337a;
    color: rgba(255, 255, 255, 0.7);
    border-color: #00337a;
}
/* Active/in-compare state — solid blue bg, no hover change */
.post-type-archive-cpt_cars .sc_cars_default .sc_cars_item .sc_cars_item_info .sc_cars_item_compare.in_compare_list,
.post-type-archive-cpt_cars .sc_cars_default .sc_cars_item .sc_cars_item_info .sc_cars_item_compare.in_compare_list:hover {
    background-color: #00337a;
    color: #ffffff;
    border-color: #00337a;
    cursor: default;
}
.post-type-archive-cpt_cars .sc_cars_default .sc_cars_item .sc_cars_item_info .sc_cars_item_compare.in_compare_list:after {
    content: 'ADDED TO COMPARE';
}

/* Cars archive — compare button inside clean card */
.post-type-archive-cpt_cars .ev-compare-card .sc_cars_item_compare {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: auto;
    padding: 10px 20px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #ffffff;
    background-color: #00337a;
    border: 2px solid #00337a;
    border-radius: 4px;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.post-type-archive-cpt_cars .ev-compare-card .sc_cars_item_compare:before {
    content: none;
}
.post-type-archive-cpt_cars .ev-compare-card .sc_cars_item_compare:after {
    content: 'ADD TO COMPARE';
}
.post-type-archive-cpt_cars .ev-compare-card .sc_cars_item_compare:hover {
    background-color: #00337a;
    color: rgba(255, 255, 255, 0.7);
    border-color: #00337a;
}
.post-type-archive-cpt_cars .ev-compare-card .sc_cars_item_compare.in_compare_list,
.post-type-archive-cpt_cars .ev-compare-card .sc_cars_item_compare.in_compare_list:hover {
    background-color: #00337a;
    color: #ffffff;
    border-color: #00337a;
    cursor: default;
}
.post-type-archive-cpt_cars .ev-compare-card .sc_cars_item_compare.in_compare_list:after {
    content: 'ADDED TO COMPARE';
}

/* ALL EVs page — same compare button styling as cars archive */
.all-evs-page .ev-compare-card .sc_cars_item_compare {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: auto;
    padding: 10px 20px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #ffffff;
    background-color: #00337a;
    border: 2px solid #00337a;
    border-radius: 4px;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.all-evs-page .ev-compare-card .sc_cars_item_compare:before {
    content: none;
}
.all-evs-page .ev-compare-card .sc_cars_item_compare:after {
    content: 'ADD TO COMPARE';
}
.all-evs-page .ev-compare-card .sc_cars_item_compare:hover {
    background-color: #00337a;
    color: rgba(255, 255, 255, 0.7);
    border-color: #00337a;
}
.all-evs-page .ev-compare-card .sc_cars_item_compare.in_compare_list,
.all-evs-page .ev-compare-card .sc_cars_item_compare.in_compare_list:hover {
    background-color: #00337a;
    color: #ffffff;
    border-color: #00337a;
    cursor: default;
}
.all-evs-page .ev-compare-card .sc_cars_item_compare.in_compare_list:after {
    content: 'ADDED TO COMPARE';
}

/* ALL EVs page — pagination */
.all-evs-page .nav-links {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 20px 0 40px;
}
.all-evs-page .nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 4px;
    color: #00337a;
    background: transparent;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.all-evs-page .nav-links .page-numbers.current {
    background-color: #00337a;
    color: #ffffff;
    border-color: #00337a;
}
.all-evs-page .nav-links a.page-numbers:hover {
    border-color: #00337a;
    background-color: rgba(0, 51, 122, 0.08);
    color: #00337a;
}
.all-evs-page .nav-links .page-numbers.dots {
    border: none;
    background: none;
    cursor: default;
    color: #999999;
}
.all-evs-page .nav-links .page-numbers.prev,
.all-evs-page .nav-links .page-numbers.next,
.all-evs-page .nav-links .page-numbers.first,
.all-evs-page .nav-links .page-numbers.last {
    position: relative;
}
.all-evs-page .nav-links .page-numbers.prev:before,
.all-evs-page .nav-links .page-numbers.next:before,
.all-evs-page .nav-links .page-numbers.first:before,
.all-evs-page .nav-links .page-numbers.last:before {
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
}

/* ALL EVs page — content wrap spacing */
body.all-evs-page .page_content_wrap {
    padding-top: 0;
    padding-bottom: 60px;
}
body.all-evs-page .page_content_wrap .content {
    padding-top: 60px;
}

/* Sidebar — override parent theme 4.1em padding */
.sidebar_default[class*="scheme_"] .sidebar_inner {
    padding: 40px 0 45px;
}

/* Cars archive sidebar — hide all default widgets except banner */
.post-type-archive-cpt_cars .sidebar .widget,
.all-evs-page .sidebar .widget {
    display: none;
}
.post-type-archive-cpt_cars .sidebar .widget_banner,
.all-evs-page .sidebar .widget_banner {
    display: block;
}

/* ===== Cars Archive Sidebar — EV Type List ===== */
.drive-ev-sidebar-ev-types {
    margin-bottom: 30px;
    padding: 20px;
}
.drive-ev-sidebar-ev-types-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #424242;
    margin: 0 0 16px;
}

/* --- Sidebar car search --- */
.drive-ev-sidebar-car-search {
    padding: 20px 20px 0;
    margin-bottom: 24px;
}
.drive-ev-car-search-wrap {
    position: relative;
}
.drive-ev-car-search-input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background: #fff;
    outline: none;
    transition: border-color 0.15s;
}
.drive-ev-car-search-input:focus {
    border-color: #00337a;
    box-shadow: 0 0 0 3px rgba(0, 51, 122, 0.15);
}
.drive-ev-car-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid #d1d5db;
    border-top: none;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
    max-height: 280px;
    overflow-y: auto;
}
.drive-ev-car-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}
.drive-ev-car-search-item:last-child {
    border-bottom: none;
}
.drive-ev-car-search-item:hover {
    background: #f5f7fa;
}
.drive-ev-car-search-item__img {
    width: 60px;
    height: 45px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #f0f0f0;
}
.drive-ev-car-search-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.drive-ev-car-search-item__no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #999;
}
.drive-ev-car-search-item__name {
    font-size: 13px;
    font-weight: 600;
    color: #00337a;
    line-height: 1.3;
}
.drive-ev-car-search-empty {
    padding: 14px;
    text-align: center;
    color: #999;
    font-size: 13px;
}
.drive-ev-sidebar-ev-types-list {
    list-style: disc;
    margin: 0;
    padding: 0 0 0 20px;
}
.drive-ev-sidebar-ev-types-list li {
    padding: 6px 0;
    color: #424242;
}
.drive-ev-sidebar-ev-types-list a {
    text-decoration: none;
    color: #424242;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.25s ease;
}
.drive-ev-sidebar-ev-types-list a:hover {
    color: #00337a;
}
.drive-ev-sidebar-ev-types-list li.active a {
    color: #00337a;
    font-weight: 600;
}

@media (max-width: 767px) {
    .cars-archive-banner {
        padding: 16px;
    }
    .cars-archive-banner-title {
        font-size: 2em;
    }
    .cars-archive-compare-bar {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 16px 15px;
    }
    .cars-how-to-compare__steps {
        gap: 12px;
    }
    .cars-category-select-row {
        flex-direction: column;
        align-items: stretch;
    }
    .cars-category-select {
        max-width: 100%;
    }
}

/* All EVs page — sidebar above content on mobile */
@media (max-width: 1023px) {
    .all-evs-page [class*="content_wrap"] {
        display: flex;
        flex-direction: column;
    }
    .all-evs-page [class*="content_wrap"] > .sidebar {
        order: 1;
        margin-top: 0;
        margin-bottom: 24px;
    }
    .all-evs-page [class*="content_wrap"] > .content {
        order: 2;
    }
}

/* ===== Single Service Page ===== */
body.single-cpt_services .page_content_wrap {
    padding-top: 0;
    padding-bottom: 0;
}

/* ===== Services Archive Page ===== */
body.post-type-archive-cpt_services .page_content_wrap {
    padding-top: 60px;
    padding-bottom: 60px;
}
.post-type-archive-cpt_services .sc_services_item_title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}
.post-type-archive-cpt_services .sc_services_item_title a {
    color: #00337a;
}
.post-type-archive-cpt_services .sc_services_item_title a:hover {
    color: #00337a;
    opacity: 0.8;
}
.post-type-archive-cpt_services .sc_services_item_subtitle,
.post-type-archive-cpt_services .sc_services_item_subtitle a {
    font-family: 'DM Sans', sans-serif;
    color: #718096;
    font-style: normal;
    font-weight: 400;
}
.post-type-archive-cpt_services .sc_services_item_content,
.post-type-archive-cpt_services .sc_services_item_content p {
    font-family: 'DM Sans', sans-serif;
    color: #424242;
    font-weight: 400;
    line-height: 1.7;
}
.post-type-archive-cpt_services .sc_services_item {
    border-radius: 4px;
    overflow: hidden;
}
.post-type-archive-cpt_services .sc_services_item_info {
    padding: 20px;
}
.post-type-archive-cpt_services .nav-links {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 20px 0 40px;
}
.post-type-archive-cpt_services .nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 4px;
    color: #00337a;
    background: transparent;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.post-type-archive-cpt_services .nav-links .page-numbers.current {
    background-color: #00337a;
    color: #ffffff;
    border-color: #00337a;
}
.post-type-archive-cpt_services .nav-links a.page-numbers:hover {
    border-color: #00337a;
    background-color: rgba(0, 51, 122, 0.08);
    color: #00337a;
}
.post-type-archive-cpt_services .nav-links .page-numbers.dots {
    border: none;
    background: none;
    cursor: default;
    color: #999999;
}
.post-type-archive-cpt_services .nav-links .page-numbers.prev,
.post-type-archive-cpt_services .nav-links .page-numbers.next {
    position: relative;
}
.post-type-archive-cpt_services .nav-links .page-numbers.prev:before,
.post-type-archive-cpt_services .nav-links .page-numbers.next:before {
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
}

/* ===== Partner Auth Pages ===== */
body.page-partner-login .page_content_wrap,
body.page-partner-register .page_content_wrap {
    padding-top: 0;
    padding-bottom: 0;
    background-color: #ffffff;
}

/* Share this article label */
.post_meta_single .post_meta_item.post_share .socials_share {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.drive-ev-share-label {
    display: block;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 1px;
    color: #424242;
    margin-bottom: 10px;
}
/* WhatsApp icon in article share bar */
.drive-ev-share-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #25D366;
    color: #ffffff;
    transition: transform 0.15s, opacity 0.15s;
    text-decoration: none;
}
.drive-ev-share-wa:hover {
    transform: scale(1.1);
    opacity: 0.85;
    color: #ffffff;
}

.dev-banner {
    background-color: #00337a;
    padding: 80px 0;
    text-align: center;
}

.dev-banner .dev-banner__title {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 70px;
    font-weight: 600;
    color: #ffffff;
    text-transform: capitalize;
    letter-spacing: -1px;
    line-height: 1;
    margin: 0 0 16px;
}

.dev-banner__breadcrumb {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
}

.dev-banner__breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.dev-banner__breadcrumb a:hover {
    color: #ffffff;
}

.dev-banner__breadcrumb .sep {
    margin: 0 6px;
}

@media (max-width: 1024px) {
    .dev-banner .dev-banner__title,
    .single-cpt_services .dev-banner .dev-banner__title {
        font-size: 40px;
    }
}
@media (max-width: 767px) {
    .dev-banner {
        padding: 48px 20px;
    }
    .dev-banner .dev-banner__title,
    .single-cpt_services .dev-banner .dev-banner__title {
        font-size: 26px;
    }
    .single-cpt_services .dev-banner {
        padding: 28px 16px;
    }
}

/* ===== Partner Dashboard Page — hide theme chrome ===== */
body.page-partner-dashboard header.top_panel,
body.page-partner-dashboard .top_panel_fixed_wrap,
body.page-partner-dashboard footer.footer_wrap,
body.page-partner-dashboard .footer_widgets_wrap,
body.page-partner-dashboard .vc_row.wpb_row.vc_row-fluid[class*="footer"],
body.page-partner-dashboard #footer_skip_link_anchor {
    display: none;
}

body.page-partner-dashboard .page_content_wrap {
    padding-top: 0;
    padding-bottom: 0;
}

body.page-partner-dashboard .page_wrap {
    padding-top: 0;
}

body.page-partner-dashboard .content_wrap,
body.page-partner-dashboard .page_content_wrap .content_wrap {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

body.page-partner-dashboard .content {
    width: 100%;
}

/* ===== Blog Grid (News) Page ===== */
body.page-blog-grid .page_content_wrap,
body.page-id-344 .page_content_wrap,
body.page-template-blog .page_content_wrap {
    padding-top: 60px;
    padding-bottom: 60px;
}

.dev-blog-heading-row {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}
.dev-blog-heading-row:not(:first-child) {
    margin-top: 40px;
}
.dev-blog-filter-wrap {
    width: auto;
    display: inline-block;
}
.dev-blog-filter-wrap:before {
    display: none;
}
.dev-blog-filter-wrap:after {
    right: 14px;
}
.dev-blog-filter-wrap .dev-blog-filter-select {
    padding: 10px 44px 10px 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 4px;
    cursor: pointer;
}
.dev-blog-filter-wrap .dev-blog-filter-select:focus {
    outline: none;
    border-color: #00337a;
}

.dev-blog-row-heading {
    margin: 0;
    padding: 0;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 40px;
    font-weight: 550;
    text-transform: capitalize;
    color: #00337a;
    line-height: 1.2;
}


.dev-blog-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--theme-var-grid_gap, 30px);
}

.dev-blog-row > [class*="post_layout_"],
.dev-blog-row > .dev-blog-card {
    flex: 0 0 calc(33.3333% - var(--theme-var-grid_gap, 30px) * 2 / 3);
    max-width: calc(33.3333% - var(--theme-var-grid_gap, 30px) * 2 / 3);
    box-sizing: border-box;
}

.dev-blog-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s ease;
    cursor: pointer;
}
.dev-blog-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}
.dev-blog-card-thumb img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.dev-blog-card-body {
    padding: 16px;
}
.dev-blog-card-title {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.4;
}
.dev-blog-card-title a {
    color: inherit;
    text-decoration: none;
}
.dev-blog-card-title a:hover {
    color: var(--theme-color-text_link, #003d79);
}
.dev-blog-card-date {
    font-size: 13px;
    color: #888;
}

@media (max-width: 1023px) {
    .dev-blog-row > [class*="post_layout_"],
    .dev-blog-row > .dev-blog-card {
        flex: 0 0 calc(50% - var(--theme-var-grid_gap, 30px) / 2);
        max-width: calc(50% - var(--theme-var-grid_gap, 30px) / 2);
    }
}

@media (max-width: 767px) {
    .dev-blog-row > [class*="post_layout_"],
    .dev-blog-row > .dev-blog-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ===== Single Post Page ===== */
/* Hide category badge and admin author in post banner */
.single-post .post_header_wrap .post_meta_categories,
.single-post .post_header_wrap .post_author {
    display: none;
}

/* Leave a comment button - border radius */
.single-post .comment-form .form-submit .submit {
    border-radius: 4px;
}

/* Hide "You May Also Like" related posts/cars section */
.single-post .related_wrap,
.single-cpt_cars .cars_page_related {
    display: none;
}

/* Remove dot separator before date in sidebar Latest News widget */
.sidebar .post_item .post_info .post_info_item + .post_info_item:before {
    display: none;
}

/* Sidebar banner — logo on light background */
.sidebar .widget_banner .image_wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f0f2f5;
    min-height: 200px;
}
.sidebar .widget_banner .image_wrap > img:not(.drive-ev-banner-logo) {
    display: none;
}
.sidebar .widget_banner .drive-ev-banner-logo {
    width: 65%;
    max-width: 200px;
    z-index: 2;
}

/* ===== Single Service Page ===== */
/* Comparison table wrapper */
.service-single-compare {
    padding: 30px 0 40px;
}

/* Hide default service page header (image + title) — we use dev-banner instead */
.services_page_header {
    display: none;
}

/* Narrative section — full-width background */
.service-narrative {
    background: #f5f5f3;
    padding: 36px 40px;
    margin-top: 40px;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50% + 40px);
    padding-right: calc(50vw - 50% + 40px);
}

.service-narrative__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #00337a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px;
}

.service-narrative__content,
.service-narrative__placeholder {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #424242;
    margin: 0;
}

.service-narrative__content p:last-child {
    margin-bottom: 0;
}

/* Single service responsive */
@media (max-width: 768px) {
    .service-narrative {
        padding: 28px 24px;
    }
}

@media (max-width: 520px) {
    .service-single-compare {
        padding: 20px 0 30px;
    }
    .service-narrative {
        padding: 24px 18px;
        margin-top: 28px;
    }
    .service-narrative__title {
        font-size: 20px;
    }
}


/* ==========================================================================
   EV Compare — Cards + Instructions + Checkbox Table
   ========================================================================== */

.ev-compare-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 0;
    overflow-x: clip;
}

/* On service pages, match the narrative section's full width */
.service-single-compare .ev-compare-wrapper {
    max-width: none;
}

/* --- Section A: Car Cards --- */
.ev-compare-cards {
    display: grid;
    grid-template-columns: repeat(var(--ev-card-count, 3), 1fr);
    gap: 24px;
    margin-bottom: 36px;
}

.ev-compare-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
}

.ev-compare-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}
.ev-compare-card__image a {
    position: relative;
    z-index: 1;
}

.ev-compare-card__favourite {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #00337a;
    padding: 0;
    transition: background 0.3s ease, transform 0.2s ease;
}
.ev-compare-card__favourite svg,
.ev-compare-card__favourite path {
    pointer-events: none;
}
.ev-compare-card__favourite:hover {
    background: #fff;
    transform: scale(1.1);
}
.ev-compare-card__favourite.active {
    color: #00337a;
}
.ev-compare-card__favourite.active svg {
    fill: #00337a;
}

.ev-compare-card__image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.ev-compare-card:hover .ev-compare-card__image img {
    transform: scale(1.1);
}

.ev-compare-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.35s ease-in-out;
    pointer-events: none;
}

.ev-compare-card:hover .ev-compare-card__image::after {
    opacity: 1;
}

.ev-compare-card__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ev-compare-card__name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: capitalize;
    color: #1a1a2e;
    margin: 0 0 4px;
    line-height: 1.25;
}

.ev-compare-card__meta {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: #777;
    margin: 0 0 14px;
}

.ev-compare-card__btn {
    display: block;
    padding: 12px 16px;
    background: #00337a;
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    margin-top: auto;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.ev-compare-card__btn:hover {
    background: #00337a;
    color: rgba(255, 255, 255, 0.7);
}

/* Clickable compare cards */
.ev-compare-card--clickable {
    position: relative;
    cursor: pointer;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.ev-compare-card--clickable:hover {
    box-shadow: 0 8px 24px rgba(0, 51, 122, 0.12);
    transform: translateY(-2px);
}
.ev-compare-card__overlay-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    text-decoration: none;
}
.ev-compare-card--clickable .ev-compare-card__btn {
    position: relative;
    z-index: 2;
}
.ev-compare-card--clickable .ev-compare-card__favourite {
    z-index: 5;
}

/* --- Section B: Instructions --- */
.ev-compare-instructions {
    text-align: center;
    background: #f5f5f3;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 32px max(24px, calc((100vw - 1100px) / 2));
    margin-bottom: 4px;
}
.fyv-page-wrap .ev-compare-instructions {
    background: #ffffff;
    margin-bottom: 4px;
}

.ev-compare-instructions__heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 40px;
    font-weight: 550;
    text-transform: capitalize;
    color: #424242;
    text-align: center;
    margin: 0 0 4px;
    line-height: 1.2;
}

.ev-compare-instructions__box p.ev-compare-instructions__subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #424242;
    margin: 0;
    line-height: 1.5;
    width: 100%;
}

.ev-compare-instructions__box {
    text-align: left;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.ev-compare-instructions__box p {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #424242;
    margin: 0 0 8px;
    line-height: 1.6;
}

.ev-compare-instructions__inline {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 24px 32px;
}
.ev-compare-instructions__inline .ev-compare-instructions__subtitle {
    flex: 1;
    margin: 0;
}
.ev-compare-instructions__inline .ev-compare-more-btn {
    flex-shrink: 0;
    margin-top: 0;
    padding: 12px 36px;
}

.ev-compare-step {
    font-weight: 700;
    color: #00337a;
}
.ev-compare-step-action {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
    white-space: nowrap;
}
.ev-compare-step-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}
.ev-compare-step-row p {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    color: #424242;
    margin: 0;
    line-height: 1.6;
}
.ev-compare-step-num {
    flex-shrink: 0;
    color: #00337a;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
}

.ev-compare-more-btn {
    display: inline-block;
    vertical-align: middle;
    padding: 10px 30px;
    background: #00337a;
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: 14px;
}

.ev-compare-more-btn:hover {
    background: #00337a;
    color: rgba(255, 255, 255, 0.7);
}

/* --- Section C: Comparison Table --- */
.ev-compare-table-wrap {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.ev-compare-table {
    width: 100%;
    border-collapse: collapse;
}

.ev-compare-table tr:nth-child(odd) {
    background: #f5f5f3;
}

.ev-compare-table tr:nth-child(even) {
    background: #fff;
}

.ev-compare-table td {
    padding: 12px 14px;
    vertical-align: middle;
    border-bottom: 1px solid #e8e8e8;
}

.ev-compare-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #424242;
    text-align: left;
    white-space: nowrap;
    width: 130px;
    min-width: 130px;
}

.ev-compare-check {
    width: 36px;
    min-width: 36px;
    text-align: center;
}

/* Override parent theme's input[type="checkbox"] { position: absolute !important; clip: rect(1px,1px,1px,1px) } */
input[type="checkbox"].ev-compare-checkbox {
    position: static !important;
    clip: auto !important;
    width: 16px;
    height: 16px;
    margin: 0 !important;
    cursor: pointer;
    accent-color: #00337a;
}

.ev-compare-value {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #424242;
    text-align: center;
}

.ev-compare-car-link {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #00337a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ev-compare-car-link:hover {
    color: #002255;
}

.ev-compare-table tr.ev-compare-row-name td {
    background: #00337a;
    color: #fff;
}

.ev-compare-table tr.ev-compare-row-name td.ev-compare-label,
.ev-compare-table tr.ev-compare-row-name td.ev-compare-value,
.ev-compare-table tr.ev-compare-row-name td.ev-compare-value a.ev-compare-car-link {
    color: #fff;
}

.ev-compare-table tr.ev-compare-row-name td.ev-compare-value a.ev-compare-car-link:hover {
    color: #ccd9ec;
}

/* --- Test Drive Row --- */
.ev-compare-row-testdrive {
    background: #f0f4f8;
}

.ev-compare-row-testdrive .ev-compare-label {
    font-weight: 700;
    text-transform: uppercase;
}

.ev-compare-testdrive-btn {
    display: inline-block;
    background: #00337a;
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.ev-compare-testdrive-btn:hover {
    background: #00337a;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .ev-compare-testdrive-btn {
        white-space: normal;
        font-size: 11px;
        padding: 8px 10px;
    }
    .ev-compare-row-testdrive .ev-compare-label {
        font-size: 10px;
        max-width: 100px;
    }
}

/* --- Test Drive Modal --- */
.ev-testdrive-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ev-testdrive-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.ev-testdrive-modal .ev-testdrive-modal__content {
    position: relative;
    background: #fff;
    border-radius: 4px;
    padding: 32px;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.ev-testdrive-modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.ev-testdrive-modal__close:hover {
    color: #000;
}

.ev-testdrive-modal__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 24px;
    font-weight: 600;
    text-transform: capitalize;
    color: #1d1d1d;
    margin: 0 0 4px;
}

.ev-testdrive-modal__car {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: #555;
    margin: 0 0 20px;
}

.ev-testdrive-form__row {
    display: flex;
    gap: 16px;
    margin-bottom: 0;
}
.ev-testdrive-form__row .ev-testdrive-form__field {
    flex: 1;
}

.ev-testdrive-form__field {
    margin-bottom: 14px;
}

.ev-testdrive-form__field label {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.ev-testdrive-form__field label span {
    color: #c00;
}

.ev-testdrive-modal .ev-testdrive-form__field input[type="text"],
.ev-testdrive-modal .ev-testdrive-form__field input[type="tel"],
.ev-testdrive-modal .ev-testdrive-form__field input[type="email"],
.ev-testdrive-modal .ev-testdrive-form__field input[type="date"],
.ev-testdrive-modal .ev-testdrive-form__field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.ev-testdrive-modal .ev-testdrive-form__field input:focus,
.ev-testdrive-modal .ev-testdrive-form__field textarea:focus {
    border-color: #00337a;
    outline: none;
}

.ev-testdrive-form__field--readonly {
    background-color: #f5f5f3;
    cursor: not-allowed;
    color: #666;
}

.ev-testdrive-modal button.ev-testdrive-form__submit {
    display: block;
    width: 100%;
    padding: 12px;
    background: #00337a;
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: 8px;
}

.ev-testdrive-modal button.ev-testdrive-form__submit:hover {
    background: #00337a;
    color: rgba(255, 255, 255, 0.7);
}

.ev-testdrive-modal button.ev-testdrive-form__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ev-testdrive-modal .ev-testdrive-form__feedback {
    padding: 10px 14px;
    border-radius: 4px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    margin-top: 8px;
}

.ev-testdrive-form__feedback--success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.ev-testdrive-form__feedback--error {
    background: #fce4ec;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* --- Test drive thank you popup --- */
.ev-testdrive-success {
    text-align: center;
    padding: 2rem 1rem;
}
.ev-testdrive-success__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: #00337a;
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
.ev-testdrive-success h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #00337a;
    margin: 0 0 0.5rem;
}
.ev-testdrive-success p {
    color: #555;
    font-size: 0.9375rem;
    margin: 0;
}

/* --- Test drive phone input with country code prefix --- */
.ev-testdrive-phone-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.ev-testdrive-phone-wrap:focus-within {
    border-color: #00337a;
    box-shadow: 0 0 0 3px rgba(0, 51, 122, 0.2);
}
.ev-testdrive-phone-prefix {
    padding: 0.625rem 0.75rem;
    background: #f3f4f6;
    color: #00337a;
    font-weight: 600;
    font-size: 0.9375rem;
    border-right: 1.5px solid #d1d5db;
    white-space: nowrap;
    user-select: none;
}
.ev-testdrive-phone-wrap input[type="tel"] {
    border: none;
    padding: 0.625rem 0.75rem;
    font-size: 0.9375rem;
    color: #00337a;
    width: 100%;
    outline: none;
    background: #ffffff;
}
.ev-testdrive-phone-wrap input[type="tel"]:focus {
    box-shadow: none;
}

/* --- Test drive form rows — stack on mobile --- */
@media (max-width: 600px) {
    .ev-testdrive-form__row {
        flex-direction: column;
        gap: 0;
    }
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .ev-compare-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ev-compare-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ev-compare-instructions__heading {
        font-size: 20px;
    }

    .ev-compare-instructions {
        margin-left: 0;
        margin-right: 0;
        padding: 24px 16px;
    }

    .ev-compare-instructions__box {
        width: 100%;
        padding: 0;
    }

    .ev-compare-instructions__box p.ev-compare-instructions__subtitle {
        width: 100%;
        font-size: 15px;
    }

    .ev-compare-step-action {
        flex-direction: column;
        align-items: flex-start;
        white-space: normal;
    }

    .ev-compare-instructions__inline {
        flex-direction: column;
        align-items: flex-start;
    }
    .ev-compare-instructions__inline .ev-compare-more-btn {
        width: 100%;
        text-align: center;
        margin-top: 12px;
    }

    .ev-compare-step-row {
        flex-wrap: wrap;
    }

    .ev-compare-step-row p {
        font-size: 14px;
    }

    .ev-compare-more-btn {
        width: 100%;
        text-align: center;
        margin-top: 12px;
    }

    .ev-compare-wrapper {
        padding: 20px 0;
    }

    .ev-compare-table-wrap {
        overflow-x: auto;
    }
}

/* --- Compare Limit Toast Notice --- */
.ev-compare-limit-notice {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #1a1a2e;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    padding: 14px 28px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.ev-compare-limit-notice.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* --- Car Cards inside sc_cars grid (homepage + archive) --- */
.sc_cars .ev-compare-card {
    height: 100%;
}

.sc_cars .ev-compare-card__image a {
    display: block;
}

.sc_cars .ev-compare-card .ev-compare-card__name {
    color: #424242;
}

.sc_cars .ev-compare-card .ev-compare-card__name a,
.sc_cars .ev-compare-card .ev-compare-card__name a:visited {
    color: #424242;
    text-decoration: none;
}

.sc_cars .ev-compare-card .ev-compare-card__name a:hover {
    color: #00337a;
}

.sc_cars .ev-compare-card a.ev-compare-card__btn,
.sc_cars .ev-compare-card a.ev-compare-card__btn:visited,
.sc_cars .ev-compare-card a.ev-compare-card__btn:hover {
    color: #fff;
}

/* ===== ForumWP Discussion Section on News Posts ===== */

/* Discussion wrapper */
.drive-ev-post-discussion {
    margin-top: 40px;
    padding-top: 0;
}

.drive-ev-post-discussion__heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 26px;
    font-weight: 700;
    text-transform: capitalize;
    color: #1a1a2e;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8e8e8;
}

/* Hide About Author box on single posts */
body.single-post .author_info.author.vcard {
    display: none;
}

/* Hide the initial auto-generated topic post */
.drive-ev-post-discussion .fmwp-topic-content > .fmwp-topic-base,
.drive-ev-post-discussion .fmwp.fmwp-topic-main-wrapper .fmwp-topic-base,
.drive-ev-post-discussion div.fmwp-topic-base {
    display: none;
}

/* Remove extra separator lines */
.drive-ev-post-discussion .fmwp-topic-wrapper {
    border-top: none;
}
.drive-ev-post-discussion .fmwp-reply-row .fmwp-reply-base {
    border-bottom: none;
}
.drive-ev-post-discussion .fmwp-topic-content .fmwp-topic-base {
    border-top: none;
}

/* Main wrapper */
.drive-ev-post-discussion .fmwp-topic-main-wrapper {
    padding: 0;
}

.drive-ev-post-discussion .fmwp-topic-content {
    padding: 0;
}

/* Reply cards */
.drive-ev-post-discussion .fmwp-reply-base-header {
    padding: 14px 0;
}

/* Avatar */
.drive-ev-post-discussion .fmwp-reply-avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

/* Author name */
.drive-ev-post-discussion .fmwp-reply-data-head a {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #1a1a2e;
    text-decoration: none;
}

/* Timestamp */
.drive-ev-post-discussion .fmwp-reply-subdata {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: #aaa;
}

/* Reply content text */
.drive-ev-post-discussion .fmwp-reply-data-content {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

/* Sub-reply indicator */
.drive-ev-post-discussion .fmwp-reply-subreplies-count {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: #00337a;
}

/* "This topic is closed" notice */
.drive-ev-post-discussion .fmwp-topic-closed-notice {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: #999;
    font-style: italic;
}

/* Dropdown actions menu */
.drive-ev-post-discussion .fmwp-dropdown-menu {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 6px 0;
}

.drive-ev-post-discussion .fmwp-dropdown-menu a {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    padding: 6px 16px;
    color: #333;
    display: block;
    text-decoration: none;
}

.drive-ev-post-discussion .fmwp-dropdown-menu a:hover {
    background: #f5f5f5;
}

/* Hide the default REPLY button and closed notice in footer */
.drive-ev-post-discussion .fmwp-topic-footer {
    display: none;
}

/* Hide the ForumWP reply popup — replaced by inline input */
.drive-ev-post-discussion #fmwp-reply-popup-wrapper {
    display: none;
}

/* Inline comment input — replaces the REPLY button */
.drive-ev-discussion-input {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.drive-ev-discussion-input__field {
    flex: 1;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    padding: 12px 16px;
    border: none;
    border-bottom: 1px solid #ddd;
    background: transparent;
    color: #333;
    outline: none;
    transition: border-color 0.3s ease;
}

.drive-ev-discussion-input__field:focus {
    border-bottom-color: #00337a;
}

.drive-ev-discussion-input__field::placeholder {
    color: #bbb;
}

.drive-ev-discussion-input__btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #00337a;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.drive-ev-discussion-input__btn:hover {
    background: #002255;
}

.drive-ev-discussion-input__btn svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.drive-ev-discussion-input__btn.is-sending {
    opacity: 0.6;
    pointer-events: none;
}

.drive-ev-discussion-input__status {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: #d32f2f;
    margin-top: 8px;
    padding: 0;
}

a.drive-ev-discussion-input__login {
    color: #00337a;
    text-decoration: none;
    cursor: pointer;
    padding-left: 0;
}

a.drive-ev-discussion-input__login:hover {
    color: #000;
}

/* Inline reply input shown below a specific reply */
.drive-ev-discussion-input--inline {
    margin: 8px 0 12px 48px;
    padding-top: 8px;
    border-top: none;
}

/* ===== Research Page — hide spacer empty space ===== */
.page-id-3029 .elementor-element-c702e6a {
    display: none;
}


/* ===== Research Page Banner (matches site-wide banner pattern) ===== */
.drive-ev-research-banner {
    background-color: #00337a;
    padding: 90px 20px;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0;
}

.drive-ev-research-banner__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 3.167em;
    font-weight: 600;
    font-style: normal;
    line-height: 1em;
    text-transform: capitalize;
    text-decoration: none;
    color: #ffffff;
    margin: 0;
}

.drive-ev-research-banner__breadcrumb {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 12px;
}

.drive-ev-research-banner__breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.drive-ev-research-banner__breadcrumb a:hover {
    color: #ffffff;
}

.drive-ev-research-banner__sep {
    margin: 0 8px;
}

/* Research page — welcome section below banner */
.drive-ev-research-welcome {
    text-align: center;
    padding: 60px 20px;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
}

.drive-ev-research-welcome .sc_item_title_text {
    letter-spacing: -0.6px;
}

.drive-ev-research-welcome__desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: #666666;
    max-width: 860px;
    margin: 20px auto 0;
    text-align: center;
}

@media (max-width: 767px) {
    .drive-ev-research-banner {
        padding: 16px;
    }
    .drive-ev-research-banner__title {
        font-size: 2em;
    }
    .drive-ev-research-welcome {
        padding: 40px 15px;
    }
}

/* ===== Privacy Policy Page ===== */
body.page-id-12954 .page_content_wrap,
body.page-id-35684 .page_content_wrap {
    padding-top: 60px;
    padding-bottom: 60px;
}
body.page-id-12954 .page_title,
body.page-id-35684 .page_title {
    display: none;
}
body.page-id-12954 .post_content h5,
body.page-id-35684 .post_content h5 {
    color: #424242;
}

/* ===== Charging Info / Our Services Pages ===== */
.page-charging-info .page_content_wrap,
.page-our-services .page_content_wrap {
    padding-top: 0;
    padding-bottom: 60px;
}

/* Prevent content column overflow from CSS Grid */
.page-charging-info .content,
.page-our-services .content {
    min-width: 0;
    overflow: hidden;
}

.charging-info-page {
    padding: 60px 24px 0;
    margin-top: 0;
    max-width: 100%;
    box-sizing: border-box;
}

/* Cards grid — 2 columns matching Compare EVs card layout */
.charging-info-page .ev-compare-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 36px;
    max-width: 100%;
    min-width: 0;
}

.charging-info-page .ev-compare-card {
    min-width: 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.charging-info-page .ev-compare-card__image img {
    width: 100%;
    height: auto;
}

/* Charging Stations Map card placeholder */
.ev-compare-card__map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e8f0fe 0%, #d4e4fc 100%);
}
.ev-compare-card__map-placeholder svg {
    opacity: 0.7;
}

.charging-info-page .ev-compare-card__name a,
.page-our-services .ev-compare-card__name a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.2s ease;
}

.charging-info-page .ev-compare-card__name a:hover,
.page-our-services .ev-compare-card__name a:hover {
    color: #00337a;
}

/* Topic filter links — Other page sidebar */
.os-topic-links {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.os-topic-links li {
    padding: 6px 0 6px 12px;
    border-left: 3px solid transparent;
    transition: border-color 0.2s ease;
}
.os-topic-links li.active {
    border-left-color: #00337a;
}
.os-topic-links li:hover {
    border-left-color: #00337a;
}

.charging-info-empty {
    text-align: center;
    padding: 60px 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: #718096;
}

@media (max-width: 767px) {
    .charging-info-page .ev-compare-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ===== Single Post — Hide default comments section ===== */
.single-post .comments_wrap {
    display: none;
}

/* ===== Single Post — Contact Form Below Discussion ===== */
/* Post — Take a Test Drive CTA */
.drive-ev-post-testdrive {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
    padding: 60px;
    background: #f5f5f3;
    border-radius: 8px;
}
.drive-ev-post-testdrive__heading {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #424242;
    line-height: 1.2;
    margin: 0 0 16px;
}
.drive-ev-post-testdrive__desc {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    color: #666666;
    line-height: 1.7;
    margin: 0 0 24px;
}
.drive-ev-post-testdrive__image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}

/* ── Single post article page redesign ── */
body.single-post .page_content_wrap {
    padding-top: 0;
}

.drive-ev-article-header {
    margin-bottom: 30px;
    padding-top: 60px;
}

.drive-ev-article-header__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #424242;
    line-height: 1.2;
    margin: 0 0 24px;
    text-transform: capitalize;
}

.drive-ev-article-header__image {
    float: left;
    width: 50%;
    margin: 0 24px 24px 0;
}
.drive-ev-article-header__image img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* ── Article header — mobile: full-width image stacked above content ── */
@media (max-width: 767px) {
    .drive-ev-article-header__image {
        float: none;
        width: 100%;
        margin: 0 0 20px 0;
    }
}

/* ── Footer car image + marquee section — prevent collapse on non-Elementor pages ── */
.elementor-element-5a926a57 > .elementor-container > .elementor-column > .elementor-widget-wrap {
    min-height: 500px;
}
.elementor-element-8daa03e {
    min-height: 80px;
}
.elementor-element-1e30c63 {
    min-height: 270px;
}
.elementor-element-280956a0 {
    min-height: 130px;
}
/* CSS fallback marquee animation for non-Elementor pages (when TweenMax is unavailable) */
.drive-ev-marquee-css .trx_addons_marquee_element {
    animation: drive-ev-marquee-scroll 20s linear infinite;
}
@keyframes drive-ev-marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@media (max-width: 767px) {
    .elementor-element-5a926a57 > .elementor-container > .elementor-column > .elementor-widget-wrap {
        min-height: 300px;
    }
    .elementor-element-8daa03e {
        min-height: 40px;
    }
    .elementor-element-1e30c63 {
        min-height: 150px;
    }
    .elementor-element-280956a0 {
        min-height: 60px;
    }
}

/* ─── Vehicle Review Section ──────────────────────────────────────────────── */

.cars_page_review .review-section {
    margin-bottom: 24px;
}
.cars_page_review .review-section h5 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #222;
}
.cars_page_review .review-section-body p {
    margin: 0 0 12px;
    line-height: 1.7;
    color: #444;
}
.cars_page_review .review-section-body ul {
    margin: 0 0 12px 20px;
    padding: 0;
}
.cars_page_review .review-section-body ul li {
    margin-bottom: 4px;
    line-height: 1.6;
    color: #444;
}

.cars_page_review .review-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 24px 0;
}
.cars_page_review .review-pros,
.cars_page_review .review-cons {
    padding: 20px;
    border-radius: 8px;
}
.cars_page_review .review-pros {
    background: #f5f5f5;
    border-left: 4px solid #00337a;
}
.cars_page_review .review-cons {
    background: #f5f5f5;
    border-left: 4px solid #00337a;
}
.cars_page_review .review-pros h5,
.cars_page_review .review-cons h5 {
    color: #00337a;
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 600;
}
.cars_page_review .review-pros ul,
.cars_page_review .review-cons ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.cars_page_review .review-pros ul li,
.cars_page_review .review-cons ul li {
    padding: 4px 0 4px 20px;
    position: relative;
    line-height: 1.5;
}
.cars_page_review .review-pros ul li::before,
.cars_page_review .review-cons ul li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: #00337a;
    font-weight: 700;
    font-size: 18px;
}

.cars_page_review .review-rating {
    margin-top: 20px;
    padding: 12px 20px;
    background: #f8f8f8;
    border-radius: 8px;
    display: inline-block;
}
.cars_page_review .review-rating-label {
    font-weight: 600;
    margin-right: 8px;
    color: #222;
}
.cars_page_review .review-rating-value {
    font-size: 20px;
    font-weight: 700;
    color: #00337a;
}

@media (max-width: 767px) {
    .cars_page_review .review-pros-cons {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ===== Our Team Page Template ===== */

.page-template-page-our-team .page_content_wrap {
    padding-top: 0;
}

.team-page {
    color: var(--theme-color-text, #333);
}

/* Intro / Mission */
.team-intro {
    padding: 60px 24px;
    background: var(--theme-color-bg_color, #fff);
}

.team-intro__inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.team-intro__title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 20px;
    color: var(--theme-color-text_dark, #1a1a1a);
}

.team-intro__text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--theme-color-text, #555);
}

/* Team Grid — horizontal cards, 2 per row */
.team-grid {
    padding: 60px 24px;
    background: var(--theme-color-alter_bg_color, #f5f7fa);
}

.team-grid__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.team-card {
    display: flex;
    background: #fff;
    overflow: hidden;
    border-bottom: 1px solid #e5e5e5;
}

.team-card__photo {
    flex: 0 0 240px;
    width: 240px;
    min-height: 280px;
    overflow: hidden;
    background: var(--theme-color-alter_bg_color, #eee);
}

.team-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e5ec 0%, #c8cfd8 100%);
}

.team-card__info {
    flex: 1;
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
}

.team-card__name {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--theme-color-text_dark, #1a1a1a);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-card__role {
    font-size: 14px;
    font-weight: 400;
    color: var(--theme-color-text, #777);
    margin: 0 0 14px;
}

.team-card__bio {
    font-size: 14px;
    line-height: 1.7;
    color: var(--theme-color-text, #666);
    margin: 0 0 18px;
}

.team-card__social {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.team-card__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #ccc;
    color: var(--theme-color-text, #555);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.team-card__social-link:hover {
    color: var(--theme-color-text_link, #00337a);
    border-color: var(--theme-color-text_link, #00337a);
}

/* Values Section */
.team-values {
    padding: 60px 24px;
    background: var(--theme-color-bg_color, #fff);
}

.team-values__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.team-values__title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 40px;
    color: var(--theme-color-text_dark, #1a1a1a);
}

.team-values__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

.team-value-card {
    background: var(--theme-color-alter_bg_color, #f5f7fa);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.2s ease;
}

.team-value-card:hover {
    transform: translateY(-3px);
}

.team-value-card__icon {
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--theme-color-text_link, #00337a);
}

.team-value-card__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--theme-color-text_dark, #1a1a1a);
}

.team-value-card__desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--theme-color-text, #666);
    margin: 0;
}

@media (max-width: 1023px) {
    .team-grid__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .team-intro,
    .team-grid,
    .team-values {
        padding: 40px 16px;
    }
    .team-intro__title,
    .team-values__title {
        font-size: 24px;
    }
    .team-grid__inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .team-card {
        flex-direction: column;
    }
    .team-card__photo {
        flex: none;
        width: 100%;
        min-height: 220px;
        max-height: 300px;
    }
    .team-card__info {
        border-top: none;
        border-right: none;
        border-left: 1px solid #e5e5e5;
        padding: 20px;
    }
}

/* Team card link wrapper — no underline, inherit color */
a.team-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
a.team-card-link .team-card {
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
a.team-card-link:hover .team-card {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* ==========================================================================
   Team Single Page — matches Drop Top demo layout
   Photo left with expertise bars right-top, description card overlapping
   photo bottom-right, social icons, biography + contact form.
   ========================================================================== */

body.single-cpt_team .page_content_wrap {
    padding-top: 0;
    padding-bottom: 60px;
}

.team-single {
    color: var(--theme-color-text, #333);
}

/* ── Hero wrapper ── */
.team-single__hero {
    padding: 60px 24px;
    background: #fff;
}

.team-single__hero-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* Role label */
.team-single__role {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--theme-color-text_dark, #1d1d1d);
    margin: 0 0 30px;
}

/* ── Main 2-column layout: photo left, right column (bars + desc) ── */
.team-single__layout {
    display: grid;
    grid-template-columns: 55% 1fr;
    gap: 40px;
    align-items: center;
}

/* Photo — tall, full width of its column */
.team-single__photo {
    grid-row: 1;
    grid-column: 1;
}

.team-single__photo-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Right column — expertise at top, description below (overlaps photo) */
.team-single__right {
    grid-row: 1;
    grid-column: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

/* ── About section (name + text) ── */
.team-single__about {
    padding: 30px;
    background: #f5f5f3;
    border-radius: 8px;
}

.team-single__name {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #00337a;
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-single__about-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--theme-color-text, #666);
}

.team-single__about-text p {
    margin: 0 0 1em;
}

/* ── Expertise Progress Bars (legacy) ── */
.team-single__expertise {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 20px;
}

.team-single__bar-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.team-single__bar-label {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--theme-color-text_dark, #1d1d1d);
}

.team-single__bar-percent {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--theme-color-text_dark, #1d1d1d);
}

.team-single__bar-track {
    width: 100%;
    height: 5px;
    background: #ddd8ce;
    overflow: hidden;
}

.team-single__bar-fill {
    height: 100%;
    background: var(--theme-color-text_link, #00337a);
}

/* ── Description card — overlaps the photo via negative left margin ── */
.team-single__desc {
    margin-top: 40px;
    margin-left: -55%;
    background: rgba(245, 245, 245, 0.95);
    padding: 40px 36px;
    border-top: 2px solid var(--theme-color-text_link, #00337a);
    position: relative;
    z-index: 2;
}

.team-single__desc-inner {
    column-count: 2;
    column-gap: 36px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--theme-color-text, #666);
}

.team-single__desc-inner p {
    margin: 0 0 1em;
}

.team-single__desc-inner p:first-of-type::first-letter {
    font-size: 3.4em;
    float: left;
    line-height: 0.85;
    margin: 4px 10px 0 0;
    font-weight: 700;
    font-family: "Barlow Condensed", sans-serif;
    color: var(--theme-color-text_dark, #1d1d1d);
}

/* ── Social Icons ── */
.team-single__social {
    padding: 0 24px;
    background: #fff;
}

.team-single__social-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 60px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.team-single__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #c5c0b8;
    color: var(--theme-color-text_dark, #1d1d1d);
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.team-single__social-link:hover {
    color: #fff;
    background-color: var(--theme-color-text_link, #00337a);
    border-color: var(--theme-color-text_link, #00337a);
}

/* ── Biography + Contact Form ── */
.team-single .team-single__bottom {
    padding: 60px 24px;
    background: #f5f5f5;
}

.team-single__bottom-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.team-single__section-title {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--theme-color-text_dark, #1d1d1d);
    margin: 0 0 24px;
}

.team-single__bio-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--theme-color-text, #666);
    margin-bottom: 24px;
}

.team-single__contact-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--theme-color-text, #666);
}

.team-single__contact-line svg {
    flex-shrink: 0;
    color: var(--theme-color-text_link, #00337a);
}

.team-single__contact-line a {
    color: var(--theme-color-text, #666);
    text-decoration: none;
    transition: color 0.2s ease;
}

.team-single__contact-line a:hover {
    color: var(--theme-color-text_link, #00337a);
}

/* ── Contact Form ── */
.team-single__form-group {
    margin-bottom: 20px;
}

.team-single__input,
.team-single__textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #c5c0b8;
    background: transparent;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--theme-color-text_dark, #1d1d1d);
    outline: none;
    transition: border-color 0.2s ease;
}

.team-single__input::placeholder,
.team-single__textarea::placeholder {
    color: #999;
}

.team-single__input:focus,
.team-single__textarea:focus {
    border-bottom-color: var(--theme-color-text_link, #00337a);
}

.team-single__textarea {
    resize: vertical;
    min-height: 80px;
}

.team-single__form button.team-single__submit,
button.team-single__submit {
    display: inline-block;
    padding: 12px 36px;
    background-color: #00337a;
    color: #fff;
    border: 2px solid #00337a;
    border-radius: 4px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.team-single__form button.team-single__submit:hover,
button.team-single__submit:hover {
    background-color: #00337a;
    border-color: #00337a;
    color: rgba(255, 255, 255, 0.7);
}

.team-single__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.team-single__form-msg {
    margin-top: 16px;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 14px;
}

.team-single__form-msg--ok {
    background: #e8f5e9;
    color: #2e7d32;
}

.team-single__form-msg--err {
    background: #fce4ec;
    color: #c62828;
}

/* ── Team Single Responsive ── */
@media (max-width: 767px) {
    .team-single__hero {
        padding: 30px 16px 40px;
    }
    .team-single__layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .team-single__desc {
        margin-left: 0;
        padding: 24px 20px;
    }
    .team-single__desc-inner {
        column-count: 1;
    }
    .team-single__social {
        padding: 30px 16px;
    }
    .team-single__bottom {
        padding: 40px 16px;
    }
    .team-single__bottom-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ===== FAQs Page Template ===== */

.page-template-page-faqs .page_content_wrap {
    padding-top: 0;
    padding-bottom: 60px;
}

.faq-page__inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.faq-item:first-child {
    border-top: 1px solid #e0e0e0;
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #00337a;
    line-height: 1.3;
    gap: 16px;
}

.faq-item__question:hover {
    color: #004db3;
}

.faq-item__icon {
    position: relative;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: #00337a;
    transition: transform 0.25s ease;
}

.faq-item__icon::before {
    width: 16px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.faq-item__icon::after {
    width: 2px;
    height: 16px;
    transform: translate(-50%, -50%);
}

.faq-item__question[aria-expanded="true"] .faq-item__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item__answer {
    padding: 0 0 24px;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.faq-item__answer p {
    margin: 0 0 12px;
}

.faq-item__answer p:last-child {
    margin-bottom: 0;
}

.faq-page__empty {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

@media (max-width: 767px) {
    .faq-item__question {
        font-size: 17px;
        padding: 16px 0;
    }
    .faq-item__answer {
        font-size: 15px;
        padding: 0 0 18px;
    }
    .faq-page__inner {
        padding: 30px 16px 0;
    }
}


/* ===== About Us Page — Ad Banner ===== */
.dev-about-ad-banner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.dev-about-ad-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* About Us page — hide section 61e7535 */
.elementor-element[data-id="61e7535"] {
    display: none;
}

/* ── RevSlider hero — force background cover on all slides ── */
.rev_slider .rs-sbg-wrap rs-sbg,
.rev_slider .rs-sbg {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

/* Prevent horizontal overflow on all devices */
html, body {
    overflow-x: hidden;
}

/* RevSlider wrapper — contain within viewport */
rs-fullwidth-wrap,
rs-module-wrap {
    max-width: 100vw;
    overflow: hidden;
}

/* ── Mobile responsive fixes (tablet) ── */
@media (max-width: 767px) {
    .dev-blog-row-heading {
        font-size: 28px;
    }
    .dev-blog-heading-row {
        flex-direction: column;
        gap: 10px;
    }
    .cars-how-to-compare__title {
        font-size: 28px;
    }
    .drive-ev-post-testdrive {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    .drive-ev-post-testdrive__heading {
        font-size: 28px;
    }
    .drive-ev-testdrive-cta-btn {
        display: block;
        margin-top: 12px;
        margin-bottom: 20px;
        padding: 14px 40px;
    }
    .drive-ev-post-testdrive__content {
        padding-bottom: 10px;
    }
    [data-id="fdfec5e"] {
        width: 100%;
    }
    [data-id="fdfec5e"] h2 {
        font-size: 24px;
        word-wrap: break-word;
    }
}

/* ── Mobile responsive fixes (small phones) ── */
@media (max-width: 480px) {
    .dev-blog-row-heading {
        font-size: 24px;
    }
    .cars-how-to-compare__title {
        font-size: 24px;
    }
    .cars-how-to-compare__steps {
        flex-direction: column;
    }
    .drive-ev-post-testdrive__heading {
        font-size: 22px;
    }
    .dev-blog-card-thumb img {
        height: 180px;
    }
    .dev-blog-card-body {
        padding: 12px;
    }
    .dev-blog-card-title {
        font-size: 15px;
    }
}

/* ── Homepage Elementor sections — full width on mobile ── */
@media (max-width: 767px) {
    .page_content_wrap .elementor-section > .elementor-container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page_content_wrap .elementor-section .elementor-row,
    .page_content_wrap .elementor-section > .elementor-container > .elementor-row {
        flex-wrap: wrap;
    }
    .page_content_wrap .elementor-section .elementor-column {
        width: 100%;
        flex-basis: 100%;
    }
    /* FYV CTA section — ensure full width and center on mobile */
    .widget_cars_search {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .drive-ev-search-heading {
        font-size: 28px;
        text-align: center;
    }
    .drive-ev-search-cta-text p {
        text-align: center;
        font-size: 15px;
    }
}

/* Header dropdown submenu — override parent theme extra_bg_color */
.sc_layouts_row .sc_layouts_menu_nav > li ul:not(.sc_item_filters_tabs),
.sc_layouts_row .sc_layouts_menu_nav > li > ul ul,
.sc_layouts_menu_popup .sc_layouts_menu_nav,
.sc_layouts_menu_popup .sc_layouts_menu_nav > li > ul {
    background-color: #00337a;
}
/* Override the CSS variable that the parent theme uses for dropdown bg */
.sc_layouts_row,
.sc_layouts_row[class*="scheme_"] {
    --theme-color-extra_bg_color: #00337a;
}

/* Remove spacer gap between hero slider and FYV CTA on homepage */
.elementor-31542 .elementor-element.elementor-element-a919ddd {
    display: none;
}
/* Remove ALL gaps between hero slider and FYV CTA section */
body.home .drive-ev-hero-slider {
    margin-bottom: 0;
}
body.home .content_wrap_fullscreen,
body.home .content_wrap_fullscreen > .content,
body.home .content_wrap_fullscreen .post_item_single,
body.home .content_wrap_fullscreen .post_content.entry-content,
body.home .elementor.elementor-31542 {
    padding-top: 0;
    margin-top: 0;
}
.elementor-31542 .elementor-element.elementor-element-d79ae27,
.elementor-31542 .elementor-element.elementor-element-d79ae27 > .elementor-container,
.elementor-31542 .elementor-element.elementor-element-9273cf3,
.elementor-31542 .elementor-element.elementor-element-9273cf3 > .elementor-widget-wrap,
.elementor-31542 .elementor-element.elementor-element-2e316a2,
.elementor-31542 .elementor-element.elementor-element-2e316a2 > .elementor-widget-container,
.elementor-31542 .elementor-element.elementor-element-2e316a2 .widget_area,
.elementor-31542 .elementor-element.elementor-element-2e316a2 .widget_cars_search,
.elementor-31542 .elementor-element.elementor-element-2e316a2 .sc_form.cars_search {
    padding-top: 0;
    margin-top: 0;
}

/* ── Clickable service cards (entire card is a link) ── */
.sc_services_item.sc_services_item_clickable {
    position: relative;
    cursor: pointer;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.sc_services_item.sc_services_item_clickable:hover {
    box-shadow: 0 8px 24px rgba(0, 51, 122, 0.12);
    transform: translateY(-2px);
}
.sc_services_item_overlay_link {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    text-decoration: none;
}
/* Keep inner links, buttons above the overlay so they remain individually clickable */
.sc_services_item_clickable .sc_services_item_title a,
.sc_services_item_clickable .sc_services_item_more_link,
.sc_services_item_clickable .sc_services_item_link,
.sc_services_item_clickable .sc_services_item_subtitle a {
    position: relative;
    z-index: 2;
}

/* Hide subscribe popup on homepage */
.sc_layouts_popup.sc_layouts_33648,
.sc_layouts_popup.sc_layouts_33648 .adp-popup-overlay {
    display: none;
}

/* About Us page — move founder card higher */
.founder-section .founder-card {
    bottom: 80px;
}

/* ── About Us page — dynamic section styles ── */
.about-msg-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 40px;
    font-weight: 700;
    text-transform: capitalize;
    color: #424242;
    line-height: 1;
    margin: 0 0 20px 0;
}
.about-msg-body {
    font-size: 15px;
}
/* ── About Us page — tablet responsive ── */
@media (max-width: 1024px) {
    .elementor-3738 .elementor-element.elementor-element-ee5f94c > .elementor-widget-container,
    .elementor-3738 .elementor-element.elementor-element-ac6333c > .elementor-widget-container {
        margin-left: 0;
    }
    .elementor-3738 .elementor-element.elementor-element-6f26bbe .sc_item_title_text,
    .elementor-3738 .elementor-element.elementor-element-d7dcdaf .elementor-heading-title,
    .drive-ev-testdrive-replaced__heading {
        font-size: 32px;
    }
}

/* ── About Us page — mobile responsive ── */
@media (max-width: 767px) {
    /* Founder hero: stack image and card vertically */
    .founder-section {
        min-height: auto;
        max-width: 100%;
    }
    .founder-img {
        position: relative;
        width: 100%;
        height: auto;
    }
    .founder-img img {
        height: auto;
    }
    .founder-card {
        position: relative;
        width: 100%;
        bottom: auto;
        right: auto;
        padding: 28px 20px 32px;
    }
    .founder-section .founder-card {
        bottom: auto;
    }

    /* Message from Founder */
    .about-msg-heading {
        font-size: 26px;
        line-height: 1.2;
    }

    /* Take A Test Drive heading */
    .elementor-3738 .elementor-element.elementor-element-6f26bbe .sc_item_title_text,
    .elementor-3738 .elementor-element.elementor-element-d7dcdaf .elementor-heading-title,
    .drive-ev-testdrive-replaced__heading {
        font-size: 28px;
    }

    /* Who We Help & What We Do — remove left margin */
    .elementor-3738 .elementor-element.elementor-element-ee5f94c > .elementor-widget-container,
    .elementor-3738 .elementor-element.elementor-element-ac6333c > .elementor-widget-container {
        margin-left: 0;
    }

    /* Background-image columns collapse on mobile (no content = 0 height) — give them min-height */
    .elementor-3738 .elementor-element.elementor-element-4793311 > .elementor-element-populated,
    .elementor-3738 .elementor-element.elementor-element-4793311 > .elementor-widget-wrap {
        min-height: 280px;
    }
    .elementor-3738 .elementor-element.elementor-element-3886c6a > .elementor-element-populated,
    .elementor-3738 .elementor-element.elementor-element-3886c6a > .elementor-widget-wrap {
        min-height: 280px;
    }

}

/* ── Mobile menu — ensure dark text on white background ── */
.menu_mobile .menu_mobile_inner {
    --theme-color-alter_text: #424242;
    --theme-color-alter_link: #00337a;
    --theme-color-alter_hover: #002a63;
    --theme-color-alter_dark: #424242;
    background: #ffffff;
}
.menu_mobile .menu_mobile_inner .current-menu-item > a,
.menu_mobile .menu_mobile_inner .current-menu-ancestor > a {
    color: #00337a;
}

/* ── API-Based Vehicle Cards ─────────────────────────────────────────────── */
.driveev-api-cars__toolbar {
    display: none;
}
.driveev-api-cars__filter {
    padding: 10px 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #333;
    background: #fff;
    min-width: 200px;
    cursor: pointer;
}
.driveev-api-cars__grid {
    display: grid;
    gap: 24px;
}
.driveev-api-cars__grid--2 {
    grid-template-columns: repeat(2, 1fr);
}
.driveev-api-cars__grid--3 {
    grid-template-columns: repeat(3, 1fr);
}
.driveev-api-card {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.driveev-api-card:hover {
    border-color: #00337a;
    box-shadow: 0 4px 16px rgba(0, 51, 122, 0.1);
}
.driveev-api-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #f0f0f0;
}
.driveev-featured-card__heart {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #999;
    transition: color 0.2s, background 0.2s;
}
.driveev-featured-card__heart:hover { color: #00337a; }
.driveev-featured-card__heart.active { color: #00337a; background: #fff; }
.driveev-featured-card__heart svg { width: 18px; height: 18px; }
.driveev-api-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.driveev-api-card:hover .driveev-api-card__image img {
    transform: scale(1.05);
}
.driveev-api-card__image a {
    display: block;
    width: 100%;
    height: 100%;
}
.driveev-api-card__no-image,
.driveev-no-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #666666;
}
.driveev-api-card__no-image span,
.driveev-no-image-placeholder span {
    font-size: 48px;
    font-weight: 700;
    color: #424242;
    opacity: 0.5;
}
/* ── Vehicle page loading skeleton ── */
.driveev-loading-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 16px;
}
.driveev-loading-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #e0e0e0;
    border-top-color: #00337a;
    border-radius: 50%;
    animation: driveev-spin 0.8s linear infinite;
}
@keyframes driveev-spin {
    to { transform: rotate(360deg); }
}
.driveev-loading-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #888;
}
.driveev-api-card__body {
    padding: 20px;
}
.driveev-api-card__name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 4px;
    line-height: 1.3;
}
.driveev-api-card__name a {
    color: #1a1a2e;
    text-decoration: none;
}
.driveev-api-card__name a:hover {
    color: #00337a;
}
.driveev-api-card__category {
    font-size: 13px;
    color: #888;
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.driveev-api-card__specs {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.driveev-api-card__spec {
    display: flex;
    flex-direction: column;
}
.driveev-api-card__spec-value {
    font-size: 15px;
    font-weight: 700;
    color: #00337a;
}
.driveev-api-card__spec-label {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
}
.driveev-api-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    box-sizing: border-box;
    background: #00337a;
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s;
}
.driveev-api-card__btn:hover {
    background: #001f4d;
    color: #fff;
}
.driveev-api-card__compare-toggle.in-compare {
    background: #991b1b;
    border-color: #991b1b;
}
.driveev-api-card__compare-toggle.in-compare:hover {
    background: #7f1d1d;
}
.driveev-api-error {
    color: #888;
    font-size: 15px;
    padding: 40px 0;
    text-align: center;
}

/* ── API Cards Responsive ── */
@media (max-width: 768px) {
    .driveev-api-cars__grid--2,
    .driveev-api-cars__grid--3 {
        grid-template-columns: 1fr;
    }
    .driveev-api-card__specs {
        gap: 14px;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .driveev-api-cars__grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ── Vehicle Detail View (evd) ───────────────────────────────────────────── */
.evd { max-width: 100%; }
.evd__back {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 14px;
    color: #00337a;
    text-decoration: none;
}
.evd__back:hover { text-decoration: underline; }
.evd__banner { margin-bottom: 24px; }
.evd__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #00337a;
    margin: 0 0 10px;
}
.evd__meta { display: flex; gap: 8px; flex-wrap: wrap; }
.evd__tag {
    display: inline-block;
    padding: 4px 12px;
    background: #e8eef5;
    color: #00337a;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.evd__hero { margin-bottom: 32px; border-radius: 12px; overflow: hidden; }
.evd__hero img { width: 100%; height: auto; display: block; }
.evd__section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #00337a;
    margin: 0 0 16px;
}
.evd__gallery { margin-bottom: 40px; }
.evd__gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.evd__gallery-item { border-radius: 8px; overflow: hidden; aspect-ratio: 16/10; background: #f0f0f0; }
.evd__gallery-item img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: transform 0.2s; }
.evd__gallery-item img:hover { transform: scale(1.05); }

/* Variant selector */
.evd__variants { margin-bottom: 40px; }
.evd__variant-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.evd__variant-btn {
    padding: 10px 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
}
.evd__variant-btn:hover { border-color: #00337a; color: #00337a; }
.evd__variant-btn--active {
    background: #00337a;
    color: #fff;
    border-color: #00337a;
}
.evd__variant-panel { display: none; }
.evd__variant-panel--active { display: block; }
.evd__specs-grid,
.evd__specs-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 24px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
}
.evd__spec { display: flex; flex-direction: column; }
.evd__spec-value { font-size: 18px; font-weight: 700; color: #00337a; }
.evd__spec-label { font-size: 12px; color: #999; text-transform: uppercase; margin-top: 2px; }
.evd__spec-card { display: flex; flex-direction: column; padding: 12px; background: #f9fafb; border-radius: 8px; }
.evd__spec-card-label { font-size: 12px; color: #6b7280; text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 4px; }
.evd__spec-card-value { font-size: 16px; font-weight: 700; color: #00337a; }

/* Review */
.evd__review { margin-bottom: 40px; }
.evd__review-title { font-size: 20px; font-weight: 600; color: #1a1a2e; margin: 0 0 20px; }
.evd__review-section { margin-bottom: 24px; }
.evd__review-section h4 { font-size: 17px; font-weight: 600; color: #00337a; margin: 0 0 8px; }
.evd__review-section div { font-size: 15px; color: #444; line-height: 1.7; }
.evd__pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0; }
.evd__pros, .evd__cons { padding: 20px; border-radius: 10px; }
.evd__pros { background: #f0fdf4; }
.evd__cons { background: #fef2f2; }
.evd__pros h4 { color: #166534; margin: 0 0 12px; font-size: 16px; }
.evd__cons h4 { color: #991b1b; margin: 0 0 12px; font-size: 16px; }
.evd__pros ul, .evd__cons ul { margin: 0; padding: 0 0 0 18px; }
.evd__pros li, .evd__cons li { font-size: 14px; line-height: 1.6; margin-bottom: 4px; }
.evd__pros li { color: #166534; }
.evd__cons li { color: #991b1b; }
.evd__spec-table-wrap { margin: 24px 0; }
.evd__spec-table-wrap h4 { font-size: 17px; font-weight: 600; color: #00337a; margin: 0 0 12px; }
.evd__spec-table { width: 100%; border-collapse: collapse; }
.evd__spec-table th, .evd__spec-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.evd__spec-table th { color: #666; font-weight: 500; background: #fafafa; }
.evd__spec-table td { color: #1a1a2e; font-weight: 600; }

/* Responsive */
@media (max-width: 768px) {
    .evd__title { font-size: 28px; }
    .evd__gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .evd__specs-grid,
    .evd__specs-grid-3col { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 18px; }
    .evd__pros-cons { grid-template-columns: 1fr; }
    .evd__variant-buttons { gap: 8px; }
    .evd__variant-btn { padding: 8px 14px; font-size: 12px; }
}

/* ── API Pagination ────────────────────────────────────────────────────── */
.driveev-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 32px 0;
}
.driveev-pagination__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    color: #00337a;
    background: #f5f5f5;
    border: 1.5px solid #e5e7eb;
    transition: all 0.2s;
}
.driveev-pagination__item:hover {
    background: #00337a;
    color: #fff;
    border-color: #00337a;
}
.driveev-pagination__item--current {
    background: #00337a;
    color: #fff;
    border-color: #00337a;
}
.driveev-pagination__prev,
.driveev-pagination__next {
    padding: 0 16px;
}

/* =====================================================================
   MOBILE HERO OPTIMIZATION (max-width: 768px)
   Target: iPhone 14 Pro Max (430px), general mobile devices
   - Dark gradient overlay for text readability
   - Full-width stacked CTA buttons
   - Improved header spacing
   - No horizontal scroll
   ===================================================================== */

/* ── Dark gradient overlay on hero background ── */
@media (max-width: 768px) {
    .drive-ev-hero-slider {
        min-height: 85vh;
        min-height: 85dvh;
    }

    /* Gradient overlay for text readability */
    .drive-ev-hero-slider::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(
            to bottom,
            rgba(0, 15, 40, 0.3) 0%,
            rgba(0, 15, 40, 0.55) 40%,
            rgba(0, 15, 40, 0.75) 100%
        );
        z-index: 1;
        pointer-events: none;
    }

    /* Ensure slider content sits above overlay */
    .drive-ev-hero-slider rs-module-wrap,
    .drive-ev-hero-slider rs-module,
    .drive-ev-hero-slider rs-slides,
    .drive-ev-hero-slider rs-slide,
    .drive-ev-hero-slider rs-layer {
        z-index: 2;
    }

    /* ── Hero title — larger and more readable ── */
    rs-layer.dev-hero-title-layer,
    .dev-title-rotator__text {
        font-size: clamp(22px, 6.5vw, 32px);
        line-height: 1.25;
        padding: 0 40px;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    }

    /* ── CTA buttons — compact inline mobile design ── */
    .drive-ev-hero-slider [data-drive-ev-styled],
    .drive-ev-hero-slider rs-layer.rev-btn[data-drive-ev-styled] {
        padding: 4px 16px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        letter-spacing: 1px !important;
        min-height: auto !important;
        height: auto !important;
        border: 1.5px solid #ffffff !important;
        border-radius: 4px !important;
        background: transparent !important;
        color: #ffffff !important;
        margin-left: 8px !important;
        outline: none !important;
        box-shadow: none !important;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    /* ── Header — improved spacing ── */
    .top_panel {
        padding: 0;
    }

    .top_panel .sc_layouts_row {
        padding-left: 12px;
        padding-right: 12px;
    }

    /* Prevent horizontal overflow from header elements */
    .top_panel,
    .top_panel .sc_layouts_row,
    .top_panel .sc_layouts_column {
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* Logo size on mobile */
    .sc_layouts_logo img {
        max-height: 36px;
        width: auto;
    }

    /* Header icons — better touch targets */
    .sc_layouts_iconed_text .sc_layouts_item_icon,
    .sc_layouts_cart .sc_layouts_item_icon,
    .sc_layouts_search .sc_layouts_item_icon {
        font-size: 18px;
        min-width: 40px;
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Language switcher compact */
    .drive-ev-lang-switch {
        font-size: 12px;
        gap: 4px;
    }

    /* ── Prevent horizontal scroll globally ── */
    body.home {
        overflow-x: hidden;
    }
}

/* ── Extra small devices (iPhone SE, 375px and below) ── */
@media (max-width: 430px) {
    .drive-ev-hero-slider {
        min-height: 80vh;
        min-height: 80dvh;
    }

    rs-layer.dev-hero-title-layer,
    .dev-title-rotator__text {
        font-size: clamp(20px, 6vw, 28px);
        padding: 0 36px;
    }

    .drive-ev-hero-slider [data-drive-ev-styled],
    .drive-ev-hero-slider rs-layer.rev-btn[data-drive-ev-styled] {
        padding: 4px 12px !important;
        font-size: 11px !important;
    }

    .sc_layouts_logo img {
        max-height: 32px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   WP-012 — YouTube Video as Featured Media on Articles
   ═══════════════════════════════════════════════════════════════════════════ */
.drive-ev-video-hero {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 24px;
    line-height: 0;
}
.drive-ev-video-hero__thumb {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}
.drive-ev-video-hero:hover .drive-ev-video-hero__thumb {
    transform: scale(1.02);
}
.drive-ev-video-hero__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s;
    pointer-events: none;
}
.drive-ev-video-hero:hover .drive-ev-video-hero__play {
    background: rgba(0, 51, 122, 0.85);
    transform: translate(-50%, -50%) scale(1.1);
}
.drive-ev-video-hero__play svg {
    width: 28px;
    height: 28px;
    margin-left: 4px;
}
.drive-ev-video-hero--playing {
    aspect-ratio: 16 / 9;
    cursor: default;
    border-radius: 8px;
}
.drive-ev-video-hero__iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}
@media (max-width: 768px) {
    .drive-ev-video-hero__play {
        width: 56px;
        height: 56px;
    }
    .drive-ev-video-hero__play svg {
        width: 22px;
        height: 22px;
    }
    .drive-ev-video-hero {
        border-radius: 0;
        margin-bottom: 16px;
    }
    .drive-ev-video-hero--playing,
    .drive-ev-video-hero__iframe {
        border-radius: 0;
    }
}

/* Legal pages (Cookie, Privacy, Terms) — reduce content padding */
body.page .dev-banner + .page_content_wrap {
    padding-top: 50px;
    padding-bottom: 50px;
}
/* All EVs page — no top padding */
body.all-evs-page .dev-banner + .page_content_wrap {
    padding-top: 0;
}

/* ===== Privacy Policy page typography ===== */
body.page-id-12954 article.post_item_single h2,
body.page-id-35684 article.post_item_single h2,
body.page-id-39051 article.post_item_single h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 40px;
    font-weight: 550;
    text-transform: capitalize;
    color: #424242;
    line-height: 1.2;
    letter-spacing: 0.5px;
    margin: 0;
}
body.page-id-12954 article.post_item_single h5,
body.page-id-35684 article.post_item_single h5,
body.page-id-39051 article.post_item_single h5 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #222;
}
body.page-id-12954 .post_content .elementor > .e-con:first-child,
body.page-id-35684 .post_content .elementor > .e-con:first-child,
body.page-id-39051 .post_content .elementor > .e-con:first-child {
    padding: 0;
}
body.page-id-12954 .post_content .elementor > .e-con:first-child > .e-con-inner,
body.page-id-35684 .post_content .elementor > .e-con:first-child > .e-con-inner,
body.page-id-39051 .post_content .elementor > .e-con:first-child > .e-con-inner {
    padding: 0;
}

/* ForumWP reply — disable timestamp link */
.fmwp-reply-date a {
    pointer-events: none;
    text-decoration: none;
    color: inherit;
}

/* ForumWP reply — disable author name and avatar links */
.fmwp-reply-head a[title*="Profile"],
.fmwp-reply-avatar a {
    pointer-events: none;
    text-decoration: none;
    color: inherit;
    cursor: default;
}

/* Phone field with +971 prefix — shared across all forms */
.driveev-phone-wrap {
    display: flex;
    align-items: stretch;
}
.driveev-phone-prefix {
    display: flex;
    align-items: center;
    padding: 0 12px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}
.driveev-phone-wrap input[type="tel"] {
    flex: 1;
    border-radius: 0 4px 4px 0;
    min-width: 0;
}

/* Divider line between share bar and community discussion */
.single-post .post_footer_single.entry-footer {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

/* Hide post navigation and author info on single posts */
.single-post .nav-links-single,
.single-post .author_info.author.vcard {
    display: none;
}

/* RTL fix — mirror Elementor section heading layout for Arabic */
[dir="rtl"] .sc_item_title_wrap {
    direction: rtl;
}
[dir="rtl"] .sc_item_title_text,
[dir="rtl"] .sc_item_subtitle {
    text-align: right;
}
/* Mobile — left align CTA text */
@media (max-width: 768px) {
    .drive-ev-search-cta {
        text-align: left;
    }
    .drive-ev-search-cta-heading {
        text-align: left;
    }
    .drive-ev-search-cta-text {
        text-align: left;
    }
}

[dir="rtl"] .sc_item_button_wrap {
    text-align: left;
}

/* Finance Calculator promo card — full-width 2-column design */
.driveev-fc-promo-card {
    grid-column: 1 / -1;
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    min-height: 340px;
}
.driveev-fc-promo-left {
    background: #00337a;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 32px;
    box-sizing: border-box;
}
.driveev-fc-promo-icon {
    width: 56px;
    height: auto;
    margin-bottom: 20px;
    opacity: 0.95;
}
.driveev-fc-promo-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    margin: 0 0 16px;
}
.driveev-fc-promo-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 24px;
    max-width: 360px;
}
.driveev-fc-promo-btn {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 10px 32px;
    border-radius: 4px;
    transition: all 0.2s;
}
.driveev-fc-promo-card:hover .driveev-fc-promo-btn {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}
.driveev-fc-promo-right {
    flex: 1;
    overflow: hidden;
}
.driveev-fc-promo-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.driveev-fc-promo-card:hover {
    box-shadow: 0 8px 24px rgba(0, 51, 122, 0.3);
}
@media (max-width: 767px) {
    .driveev-fc-promo-card {
        flex-direction: column;
        min-height: auto;
    }
    .driveev-fc-promo-left {
        padding: 32px 20px;
    }
    .driveev-fc-promo-right {
        height: 220px;
    }
}

/* ── CAPTCHA widget (shared across forms) ── */
.driveev-captcha-widget {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}
.driveev-captcha-row {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.driveev-captcha-img {
    height: 40px;
    border-radius: 4px;
    flex-shrink: 0;
}
.driveev-captcha-row > button.driveev-captcha-refresh,
.driveev-captcha-row > button.driveev-captcha-refresh:hover,
.driveev-captcha-row > button.driveev-captcha-refresh:focus,
.driveev-captcha-row > button.driveev-captcha-refresh:active,
.driveev-captcha-row > button.driveev-captcha-refresh:visited,
form button.driveev-captcha-refresh,
form button.driveev-captcha-refresh:hover {
    background: transparent;
    background-color: transparent;
    border: none;
    box-shadow: none;
    outline: none;
    padding: 0;
    margin: 0;
    min-width: auto;
    width: auto;
    height: auto;
    line-height: 1;
    font-size: 20px;
    font-family: inherit;
    font-weight: normal;
    text-transform: none;
    letter-spacing: 0;
    color: #aaa;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
}
.driveev-captcha-row > button.driveev-captcha-refresh:hover,
form button.driveev-captcha-refresh:hover { color: #fff; }
.driveev-captcha-input {
    flex: 1;
    min-width: 0;
    padding: 8px 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}
.driveev-captcha-error {
    color: #d32f2f;
    font-size: 12px;
    margin-top: 2px;
}
.drive-ev-feedback-form .driveev-captcha-widget { margin-bottom: 12px; }
@media (max-width: 480px) {
    .driveev-captcha-widget { flex-wrap: wrap; }
    .driveev-captcha-img { height: 36px; }
    .driveev-captcha-input { flex-basis: 100%; }
}
