/**
 * Drive-EV Header Utilities Styles
 * Purpose: Styles for language switcher and login icon in header
 */

/* Hide GTranslate's floating widget - we use our own header toggle */
.gtranslate_wrapper,
.gt_float_switcher {
    position: fixed;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}
#gt-nvframe {
    display: none;
}

/* Global paragraph and content text - uniform 15px/400 */
.page_content_wrap p,
.page_content_wrap .sc_icons_item_description,
.page_content_wrap .sc_testimonials_item_content,
.page_content_wrap .elementor-widget-text-editor p,
.drive-ev-testimonials-section p,
.drive-ev-about-section p,
.drive-ev-latest-news-section p {
	font-size: 15px;
	font-weight: 400;
}

/* Link hover color — override orange to blue */
.post_item_single a.post_meta_item:hover,
.post_item_single .post_meta_item > a:hover,
.post_item_single .socials_caption:hover,
.post_item_single .post_edit a:hover {
	color: #002255;
}

/* =============================================
   Menu style overrides
   ============================================= */

/* Remove all menu underlines */
.menu_hover_zoom_line > ul > li:not(.menu-collapse) > a:after,
.menu_hover_zoom_line > ul > li:not(.menu-collapse) > a:hover:after,
.menu_hover_zoom_line > ul > li:not(.menu-collapse).sfHover > a:after,
.menu_hover_zoom_line > ul > li:not(.menu-collapse).current-menu-item > a:after,
.menu_hover_zoom_line > ul > li:not(.menu-collapse).current-menu-parent > a:after,
.menu_hover_zoom_line > ul > li:not(.menu-collapse).current-menu-ancestor > a:after,
.menu_hover_zoom_line .sc_layouts_menu_nav > li:not(.menu-collapse) > a:after,
.menu_hover_zoom_line .sc_layouts_menu_nav > li:not(.menu-collapse) > a:hover:after,
.menu_hover_zoom_line .sc_layouts_menu_nav li li:not(.menu-collapse) > a > span:after {
	display: none;
	width: 0;
	height: 0;
	background-color: transparent;
}

/* Selected menu item (current page only) — blue text */
.sc_layouts_menu .sc_layouts_menu_nav > li.current-menu-item > a,
.sc_layouts_menu .sc_layouts_menu_nav > li.current-menu-item > a > span,
.menu_hover_zoom_line .sc_layouts_menu_nav > li.current-menu-item > a,
.menu_hover_zoom_line .sc_layouts_menu_nav > li.current-menu-item > a > span {
	color: #00337a;
}

/* Parent/ancestor menu items — NOT blue by default, only on hover */
.sc_layouts_menu .sc_layouts_menu_nav > li.current-menu-parent > a,
.sc_layouts_menu .sc_layouts_menu_nav > li.current-menu-parent > a > span,
.sc_layouts_menu .sc_layouts_menu_nav > li.current-menu-ancestor > a,
.sc_layouts_menu .sc_layouts_menu_nav > li.current-menu-ancestor > a > span {
	color: inherit;
}

/* Menu items with submenus — blue text on hover */
.sc_layouts_menu .sc_layouts_menu_nav > li.menu-item-has-children:hover > a,
.sc_layouts_menu .sc_layouts_menu_nav > li.menu-item-has-children:hover > a > span,
.sc_layouts_menu .sc_layouts_menu_nav > li.menu-item-has-children.sfHover > a,
.sc_layouts_menu .sc_layouts_menu_nav > li.menu-item-has-children.sfHover > a > span {
	color: #00337a;
}

/* Swap cart icon (basket) with wishlist icon (heart-empty) */
.sc_layouts_row_type_compact .sc_layouts_cart .sc_layouts_cart_icon:before {
	content: '\e8a8';
}

/* Utility items */
.drive-ev-header-util {
	display: inline-flex !important;
	align-items: center;
	flex-shrink: 0;
	height: 28px;
}

/* Language switcher */
.drive-ev-lang-switcher {
	gap: 4px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.3px;
	white-space: nowrap;
}

.drive-ev-lang-switcher .drive-ev-lang-link {
	color: var(--theme-color-text, #1d1d1d);
	text-decoration: none;
	opacity: 0.4;
	transition: opacity 0.3s ease;
}

.drive-ev-lang-switcher .drive-ev-lang-link:hover,
.drive-ev-lang-switcher .drive-ev-lang-link.active {
	opacity: 1;
	color: var(--theme-color-text, #1d1d1d);
}

.drive-ev-lang-switcher .drive-ev-lang-sep {
	opacity: 0.3;
	color: var(--theme-color-text, #1d1d1d);
}

/* Login icon */
.drive-ev-login {
	display: inline-flex !important;
	align-items: center;
}

.drive-ev-login .drive-ev-login-link {
	color: var(--theme-color-text, #1d1d1d);
	text-decoration: none;
	line-height: 0;
	display: inline-flex;
	align-items: center;
	transition: opacity 0.3s ease;
}

.drive-ev-login .drive-ev-login-link svg {
	display: block;
}

.drive-ev-login .drive-ev-login-link:hover {
	opacity: 0.6;
	color: var(--theme-color-text, #1d1d1d);
}

/* Give menu column more width so all items fit in one line */
.top_panel .sc_layouts_row .elementor-row,
.top_panel .sc_layouts_row > .elementor-container {
	flex-wrap: nowrap !important;
}
/* Logo column — shrink to fit content, no fixed width */
.top_panel .elementor-col-25:first-child {
	flex: 0 0 auto !important;
	width: auto !important;
	max-width: none !important;
}

/* Nav column — fill all remaining space between logo and utilities */
.top_panel .elementor-col-50 {
	flex: 1 1 0 !important;
	width: auto !important;
	max-width: none !important;
	overflow: visible;
}

/* Remove Elementor column-gap padding from nav column inner wrap */
.top_panel .elementor-col-50 > .elementor-element-populated {
	padding-left: 0;
	padding-right: 0;
}

/* Right utilities column — fixed enough width for EN/icon/grid */
.top_panel .elementor-col-25:last-child {
	flex: 0 0 auto !important;
	width: auto !important;
	max-width: none !important;
}

/* Force all header right-column items into aligned single row */
.top_panel .elementor-col-25:last-child .elementor-widget-wrap {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	flex-wrap: nowrap !important;
	gap: 18px;
	justify-content: flex-end;
}

.top_panel .elementor-col-25:last-child .elementor-widget-wrap > .sc_layouts_item {
	flex-shrink: 0;
	display: inline-flex !important;
	align-items: center;
}

/* Hide Elementor RevSlider widgets inside page content (not our hero) */
.home .page_content_wrap .elementor-widget-revslider {
	display: none !important;
	height: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
}

/* =============================================
   Car Search/Filter Bar — grey background
   ============================================= */
.cars_search {
	background-color: #f5f5f3 !important;
	padding: 30px 20px !important;
}

.cars_search .cars_search_form {
	max-width: 1200px;
	margin: 0 auto;
}

/* Search form input fields, dropdowns, checkboxes — white background */
.cars_search_form input[type="text"],
.cars_search_form input[type="search"],
.cars_search_form input[type="number"],
.cars_search_form select,
.cars_search_form select option,
.cars_search_form .select_container select,
.cars_search_form .select_container,
.cars_search_form .sc_form_field .sc_form_field_wrap,
.cars_search_form input[type="checkbox"],
.cars_search_form .sc_form_field_checkbox label::before {
	background-color: #fff !important;
}
.cars_search_form [class*="sc_form_field_cars_features"] label {
	background-color: #f5f5f3 !important;
	color: #1d1d1d !important;
}

/* Search form text — black */
.cars_search_form input[type="text"],
.cars_search_form input[type="search"],
.cars_search_form input[type="number"],
.cars_search_form select,
.cars_search_form .select_container select,
.cars_search_form input::placeholder,
.cars_search_form select option {
	color: #1d1d1d !important;
}

/* Search submit button — blue */
.cars_search_form .cars_search_button,
.cars_search_form button[type="submit"],
.cars_search_form .sc_form_field_submit button {
	background-color: #00337a !important;
	border-color: #00337a !important;
	display: inline-block;
}
.cars_search_form .cars_search_button:hover,
.cars_search_form button[type="submit"]:hover {
	background-color: #002255 !important;
	border-color: #002255 !important;
}

/* Advanced search toggle icon — blue */
.cars_search_form .cars_search_advanced_link,
.cars_search_form .cars_search_advanced_link:before,
.cars_search_form .cars_search_advanced_link svg,
.cars_search_form .cars_search_advanced_link i,
.cars_search_form .cars_search_advanced_link span,
.cars_search_opened .cars_search_form .cars_search_basic .cars_search_show_advanced {
	color: #00337a !important;
	fill: #00337a !important;
	stroke: #00337a !important;
}

/* Go to top button — blue */
.trx_addons_scroll_to_top,
.scroll_to_top {
	background-color: #00337a !important;
	border-color: #00337a !important;
}
.trx_addons_scroll_to_top:hover,
.scroll_to_top:hover {
	background-color: #002255 !important;
	border-color: #002255 !important;
}

/* Full-width grey band behind the search section */
.elementor-widget:has(.cars_search),
.elementor-element:has(.cars_search) {
	background-color: #f5f5f3 !important;
}

.page_content_wrap .cars_search {
	background-color: #f5f5f3 !important;
	margin-left: calc(-50vw + 50%) !important;
	margin-right: calc(-50vw + 50%) !important;
	padding: 30px calc(50vw - 50%) !important;
}

/* =============================================
   Testimonials + Car Review Section
   ============================================= */
.drive-ev-testimonials-section {
	background-color: #ffffff;
	padding: 60px 0;
	margin-top: 0;
	position: relative;
}

.drive-ev-testimonials-section::after {
	content: '';
	display: block;
	width: 60%;
	height: 2px;
	background-color: #ccc;
	margin: 0 auto;
	position: absolute;
	bottom: 0;
	left: 20%;
}

/* Hide slider arrow buttons */
.drive-ev-testimonials-section .slider_controls_wrap,
.drive-ev-testimonials-section .sc_slider_controls {
	display: none;
}

.drive-ev-testimonials-grid {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	align-items: stretch;
}

.drive-ev-testimonials-grid > div {
	min-width: 0;
}

.drive-ev-testimonials-left {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.drive-ev-section-label {
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 2px;
	color: #00337a;
	text-transform: capitalize;
	margin-bottom: 8px;
}

/* Section title colors - global */
.sc_item_title {
	font-size: 40px;
	font-weight: 550;
	color: #424242;
	text-transform: capitalize;
}

.sc_item_subtitle {
	font-size: 18px;
	color: #00337a;
}

.drive-ev-section-subtitle {
	font-size: 15px;
	font-style: italic;
	color: #e65100;
	margin: 0 0 8px;
}

.drive-ev-section-title {
	font-size: 40px;
	font-weight: 550;
	text-transform: capitalize;
	color: #424242;
	margin: 0 0 30px;
	line-height: 1.2;
}

.drive-ev-section-title .drive-ev-accent {
	color: #e65100;
	font-weight: 700;
}

/* Video right column */
.drive-ev-testimonials-right {
	display: flex;
	align-items: stretch;
}

/* Video thumbnail with play button overlay */
.drive-ev-video-thumb {
	width: 100%;
	height: 100%;
	min-height: 400px;
	position: relative;
	border-radius: 4px;
	overflow: hidden;
	cursor: pointer;
	background: #111;
}

.drive-ev-video-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: opacity 0.3s ease;
}

.drive-ev-video-thumb:hover img {
	opacity: 0.8;
}

.drive-ev-video-thumb .drive-ev-video-play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80px;
	height: 80px;
	background: rgba(255,255,255,0.2);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	transition: background 0.3s ease;
}

.drive-ev-video-thumb:hover .drive-ev-video-play-btn {
	background: rgba(255,255,255,0.35);
}

/* Video popup overlay */
.drive-ev-video-popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.85);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.drive-ev-video-popup-inner {
	position: relative;
	width: 80%;
	max-width: 900px;
	aspect-ratio: 16/9;
}

.drive-ev-video-popup-inner iframe {
	width: 100%;
	height: 100%;
	border-radius: 4px;
}

.drive-ev-video-popup-close {
	position: absolute;
	top: -40px;
	right: 0;
	color: #fff;
	font-size: 36px;
	cursor: pointer;
	line-height: 1;
	transition: opacity 0.3s ease;
}

.drive-ev-video-popup-close:hover {
	opacity: 0.7;
}

.drive-ev-video-placeholder {
	width: 100%;
	height: 100%;
	min-height: 400px;
	background: linear-gradient(135deg, #333 0%, #111 100%);
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	cursor: pointer;
}

.drive-ev-video-play-btn {
	width: 80px;
	height: 80px;
	background: rgba(255,255,255,0.15);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	transition: background 0.3s ease;
}

.drive-ev-video-placeholder:hover .drive-ev-video-play-btn {
	background: rgba(255,255,255,0.25);
}

.drive-ev-video-placeholder p {
	color: rgba(255,255,255,0.5);
	font-size: 13px;
	margin: 0;
}

/* Testimonials widget override inside our section */
.drive-ev-testimonials-section .sc_testimonials {
	margin: 0 !important;
	padding: 0 !important;
}

@media (max-width: 1023px) {
	.drive-ev-testimonials-grid {
		grid-template-columns: 1fr;
	}
	.drive-ev-video-embed iframe {
		min-height: 300px;
	}
	.drive-ev-video-placeholder {
		min-height: 300px;
	}
}

/* =============================================
   Latest News Section (moved Elementor section)
   ============================================= */
.drive-ev-latest-news-section {
	background-color: #ffffff !important;
}

/* Latest News slider dots — blue */
.drive-ev-latest-news-section .swiper-pagination-bullet,
.drive-ev-latest-news-section .slider_pagination_wrap .swiper-pagination-bullet {
	background-color: #c0c0c0 !important;
	opacity: 1 !important;
}
.drive-ev-latest-news-section .swiper-pagination-bullet-active,
.drive-ev-latest-news-section .slider_pagination_wrap .swiper-pagination-bullet-active,
.drive-ev-latest-news-section .swiper-pagination-bullet:hover,
.drive-ev-latest-news-section .slider_pagination_wrap .swiper-pagination-bullet:hover {
	background-color: #00337a !important;
	border-color: #00337a !important;
}

/* Hide original Elementor "Welcome to Drop-Top" section */
.elementor-element-0db625b {
	display: none !important;
}

/* =============================================
   About Drive EV Section
   ============================================= */
.drive-ev-about-section {
	background-color: #f5f5f3;
	padding: 60px 20px;
	text-align: center;
}

.drive-ev-about-inner {
	max-width: 900px;
	margin: 0 auto;
}

.drive-ev-about-label {
	display: block;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: capitalize;
	color: #00337a;
	margin-bottom: 30px;
}

.drive-ev-about-title {
	font-size: 40px;
	font-weight: 550;
	text-transform: capitalize;
	line-height: 1.2;
	margin: 0 0 40px;
	color: #999;
	background-color: #999;
	background-image: radial-gradient(closest-side, #1d1d1d 78%, transparent 0);
	background-repeat: no-repeat;
	background-position: 50%;
	background-size: 0 0;
	-webkit-background-clip: text !important;
	background-clip: text !important;
	-webkit-text-fill-color: transparent;
}

.drive-ev-about-author {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.drive-ev-about-author strong {
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: capitalize;
	color: #00337a;
}

.drive-ev-about-author span {
	font-size: 15px;
	color: #999;
}

.drive-ev-load-more-btn {
	display: inline-block;
	margin-top: 30px;
	padding: 6px 29px;
	border: 2px solid #00337a;
	color: #00337a;
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	background-color: #ffffff;
	transition: background 0.3s, color 0.3s;
}
.drive-ev-load-more-btn:hover {
	background: #00337a;
	color: #fff;
}

/* Hamburger side panel — transparent background */
#header-popup.sc_layouts_panel,
#header-popup.sc_layouts_panel .sc_layouts_panel_inner {
	background-color: rgba(217, 217, 217, 0.5) !important;
	--theme-color-bg_color: rgba(217, 217, 217, 0.5);
}
#header-popup .social_item a,
#header-popup .social_item .social_name {
	color: #00337a !important;
}
.socials_wrap:not(.socials_type_list) .social_item .social_icon,
.socials_wrap:not(.socials_type_list) .social_item .social_icon i {
	color: #00337a !important;
}
.sc_layouts_panel_close.trx_addons_button_close {
	background-color: transparent !important;
	border: 2px solid #00337a !important;
	color: #00337a !important;
	transition: background-color 0.3s, color 0.3s;
}
.sc_layouts_panel_close.trx_addons_button_close:hover {
	background-color: #00337a !important;
	color: #fff !important;
}

@media (max-width: 767px) {
	.drive-ev-about-title {
		font-size: 26px;
	}
}

/* =============================================
   Floating Sidebar Action Buttons
   ============================================= */
.drive-ev-side-buttons {
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.drive-ev-side-btn {
	display: flex;
	align-items: stretch;
	text-decoration: none !important;
	position: relative;
	height: 48px;
	overflow: visible;
}

/* Icon square — always visible on right edge */
.drive-ev-side-btn-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: #00337a;
	color: #fff;
	flex-shrink: 0;
	position: relative;
	z-index: 2;
	transition: background 0.3s ease;
}

.drive-ev-side-btn:hover .drive-ev-side-btn-icon {
	background: #002255;
}

/* Text label — hidden off-screen, slides in on hover */
.drive-ev-side-btn-label {
	position: absolute;
	right: 48px;
	top: 0;
	height: 100%;
	display: flex;
	align-items: center;
	background: #002255;
	color: #fff !important;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.8px;
	white-space: nowrap;
	padding: 0 18px;
	opacity: 0;
	transform: translateX(100%);
	transition: transform 0.3s ease, opacity 0.3s ease;
	pointer-events: none;
}

.drive-ev-side-btn:hover .drive-ev-side-btn-label {
	opacity: 1;
	transform: translateX(0);
	pointer-events: auto;
}

/* Testimonial avatar quote badge — blue */
.sc_testimonials_default .sc_testimonials_item_author_avatar:before {
	background-color: #00337a !important;
}

/* Cart badge — blue */
.top_panel .sc_layouts_cart_icon .sc_layouts_cart_items_short,
.top_panel .sc_layouts_cart .sc_layouts_cart_items_short {
	background-color: #00337a !important;
	border-color: #00337a !important;
}

/* =============================================
   Video Section — "Car of the Week" overlay
   ============================================= */
.elementor-element-712be052 {
	position: relative;
}

.elementor-element-712be052 .drive-ev-cotw-label {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 40px;
	font-weight: 550;
	letter-spacing: 4px;
	color: #ffffff;
	text-transform: capitalize;
	z-index: 1;
	pointer-events: none;
	text-align: center;
	white-space: nowrap;
	margin: 0;
}

.elementor-element-712be052::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.3);
	z-index: 0;
	pointer-events: none;
}

.elementor-element-712be052 > .elementor-container {
	position: relative;
	z-index: 2;
}

/* =============================================
   EV Buyer Search Form — 4-column grid layout
   ============================================= */

/* Search heading */
.drive-ev-search-heading {
	color: #00337a;
	font-family: "Barlow Condensed", sans-serif;
	font-size: 40px;
	font-weight: 550;
	margin: 0 auto 20px;
	text-transform: none;
	max-width: 1200px;
	width: 100%;
	display: block;
}

/* Hide the old basic search bar */
.cars_search .cars_search_basic {
	display: none !important;
}

/* Force advanced grid always visible */
.cars_search_form .cars_search_advanced.drive-ev-search-grid {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px 16px;
	padding-top: 0;
	margin: 0 !important;
	height: auto !important;
	overflow: visible !important;
	opacity: 1 !important;
	visibility: visible !important;
}

/* Override ThemeREX: display:inline-block, width:25%, padding, and
   critically position:absolute on Type/Maker/City/Status fields */
.cars_search_form .drive-ev-search-grid .sc_form_field,
.cars_search_form .drive-ev-search-grid > .sc_form_field,
.cars_search_horizontal .cars_search_form .drive-ev-search-grid .sc_form_field,
.cars_search_horizontal .cars_search_form .drive-ev-search-grid .sc_form_field_cars_type,
.cars_search_horizontal .cars_search_form .drive-ev-search-grid .sc_form_field_cars_maker,
.cars_search_horizontal .cars_search_form .drive-ev-search-grid .sc_form_field_cars_city,
.cars_search_horizontal .cars_search_form .drive-ev-search-grid .sc_form_field_cars_status {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	vertical-align: unset !important;
	min-width: 0;
	top: auto !important;
	right: auto !important;
	left: auto !important;
	bottom: auto !important;
	z-index: auto !important;
}

/* Price slider wrapper — single column, not full width */
.drive-ev-search-grid .drive-ev-price-wrap {
	min-width: 0;
	overflow: visible !important;
}

/* Price wrap inside search section 2e316a2 */
[data-id="2e316a2"] .drive-ev-price-wrap {
	padding-inline-end: 6px;
}

/* Ensure slider labels don't get clipped */
.drive-ev-price-wrap .sc_form_field,
.drive-ev-price-wrap .sc_form_field_wrap,
.drive-ev-price-wrap .trx_addons_range_slider_wrap {
	overflow: visible !important;
}

/* Max value label needs space */
.drive-ev-price-wrap .trx_addons_range_slider_label_max {
	white-space: nowrap;
}

.drive-ev-price-wrap .sc_form_field {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Uniform select styling inside the grid */
.drive-ev-search-grid .sc_form_field select,
.drive-ev-search-grid .select_container,
.drive-ev-search-grid .select_container select {
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

/* Ensure the field_wrap fills the grid cell */
.drive-ev-search-grid .sc_form_field .sc_form_field_wrap {
	width: 100% !important;
	display: block !important;
}

/* Range slider label styling */
.drive-ev-price-wrap .sc_form_field_title {
	font-size: 14px;
	font-weight: 600;
	color: #1d1d1d;
	margin-bottom: 6px;
}

/* FIND YOUR VEHICLE button — matches homepage outlined style */
.drive-ev-find-vehicle-btn {
	display: inline-block;
	padding: 6px 29px;
	border: 2px solid #00337a;
	color: #00337a;
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	background-color: #ffffff;
	cursor: pointer;
	transition: background 0.3s, color 0.3s;
}
.drive-ev-find-vehicle-btn:hover {
	background: #00337a;
	color: #fff;
}

/* CTA layout — text left, button right */
.drive-ev-search-cta {
	display: flex;
	align-items: center;
	gap: 60px;
	width: 100%;
}
.drive-ev-search-cta .drive-ev-search-heading {
	margin: 0 0 12px;
	max-width: none;
	width: auto;
}
.drive-ev-search-cta-text {
	flex: 1;
	max-width: 900px;
}
.drive-ev-search-cta-text p {
	font-family: 'DM Sans', sans-serif;
	font-size: 15px;
	line-height: 1.7;
	color: #666666;
	margin: 0 0 6px;
	text-align: justify;
}
.drive-ev-search-cta-btn {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Tablet / Mobile: stack vertically */
@media (max-width: 767px) {
	.drive-ev-search-cta {
		flex-direction: column;
		gap: 20px;
		text-align: center;
	}
	.drive-ev-search-cta-btn {
		margin-left: 0;
	}
}

/* =============================================
   Header nav — fit all items in one line
   ============================================= */

/* Reduce menu item font size and padding to fit all items */
/* Specificity (0,2,2) — beats theme default without !important */
.top_panel .sc_layouts_menu_nav > li > a {
	font-size: 14px;
	padding: 0.6em 0.7em !important;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 0.3px;
}

/* Nav links font size override for [data-id="d02b41c"] */
/* Specificity (0,3,2) — higher than global rule above, no !important needed */
.top_panel [data-id="d02b41c"] {
	width: auto;
	overflow: visible;
}

.top_panel [data-id="d02b41c"] .elementor-widget-container {
	overflow: visible;
}

.top_panel [data-id="d02b41c"] .sc_layouts_menu_nav {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	overflow: visible;
}

.top_panel [data-id="d02b41c"] .sc_layouts_menu_nav > li {
	flex-shrink: 0;
	white-space: nowrap;
}

.top_panel [data-id="d02b41c"] .sc_layouts_menu_nav > li > a {
	font-size: 15px;
	white-space: nowrap;
}

/* Hide the collapse "more" button if still rendered */
.sc_layouts_menu_nav > li.menu-collapse {
	display: none !important;
}

/* Ensure any items previously collapsed are shown */
.sc_layouts_menu_nav > li {
	display: list-item !important;
}

/* Laptop: tighter spacing to fit all items */
@media (max-width: 1399px) {
	.top_panel .sc_layouts_menu_nav > li > a {
		font-size: 13px;
		padding: 0.5em 0.55em !important;
		letter-spacing: 0.2px;
	}
}

/* =============================================
   User icon badge (notification count)
   ============================================= */
.elementor-element-ec9bdba,
.elementor-element-22ed47b {
	position: relative;
}
.elementor-element-ec9bdba .elementor-icon,
.elementor-element-22ed47b .elementor-icon {
	position: relative;
}
.elementor-element-ec9bdba .elementor-icon::after,
.elementor-element-22ed47b .elementor-icon::after {
	content: '0';
	position: absolute;
	top: 12px;
	right: -6px;
	background: #00337a;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	font-family: 'DM Sans', sans-serif;
}

/* About Us page title — match banner heading font */
.elementor-element-dcc3644 .elementor-heading-title {
	font-family: "Barlow Condensed", sans-serif !important;
	font-size: 70px !important;
	font-weight: 600 !important;
	text-transform: uppercase;
	letter-spacing: -1px;
	line-height: 1;
}

/* About Us page — white background */
.page-id-3738 .body_wrap,
.page-id-3738 .page_wrap,
.page-id-3738 .content_wrap,
.page-id-3738 {
	background-color: #ffffff !important;
}

/* About Us breadcrumb below title */
.elementor-element-dcc3644 .elementor-heading-title::after {
	content: "HOME / ABOUT US";
	display: block;
	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;
}

/* About Us — "More Featured Articles" slider dots — logo blue */
.elementor-element-05ecf16 .sc_blogger_default.sc_blogger_default_classic .slider_outer.slider_outer_pagination_pos_bottom_outside .swiper-pagination-bullets .swiper-pagination-bullet,
.elementor-element-05ecf16 .sc_blogger_default.sc_blogger_default_classic .slider_outer .slider_pagination_wrap .swiper-pagination-bullet {
	background-color: #c0c0c0;
	border-color: #c0c0c0;
	opacity: 1;
}
.elementor-element-05ecf16 .sc_blogger_default.sc_blogger_default_classic .slider_outer .slider_pagination_wrap .swiper-pagination-bullet.swiper-pagination-bullet-active,
.elementor-element-05ecf16 .sc_blogger_default.sc_blogger_default_classic .slider_outer .slider_pagination_wrap .swiper-pagination-bullet:hover {
	background-color: #00337a;
	border-color: #00337a;
}

/* Hide on mobile */
@media (max-width: 767px) {
	.drive-ev-header-util {
		display: none !important;
	}
	.drive-ev-side-buttons {
		display: none;
	}
}
