/**
 * Souwuliu visual parity layer.
 *
 * Every selector is guarded by a body class added only on the logistics home,
 * listing archive/service taxonomy, or single listing. Vendor files and the
 * current single-listing template remain untouched.
 */

body.swl-logistics-parity {
	--swl-logistics-primary: #0690ff;
	--swl-logistics-primary-rgb: 6, 144, 255;
	--primary-color: #0690ff;
	--listeo-primary-color: #0690ff;
	--listeo-primary-color-rgb: 6, 144, 255;
	--listeo-primary-color-light: rgba(6, 144, 255, 0.1);
	--msf-color-primary: #0690ff;
	--msf-color-primary-light-bg: rgba(6, 144, 255, 0.1);
	--wp-components-color-accent: #0690ff;
	--e-global-color-primary: #0690ff;
}

body.swl-logistics-parity .headline.headline-box::after,
body.swl-logistics-parity .headline.headline-box span::before,
body.swl-logistics-parity .headline.headline-box span::after,
body.swl-logistics-parity .listing-item-content span.tag,
body.swl-logistics-parity .loader-ajax-container {
	background-color: var(--swl-logistics-primary);
}

body.swl-logistics-parity .listing-item-container {
	color: #707070;
}

body.swl-logistics-parity .listing-item-container:hover {
	color: #707070;
}

/* Homepage: retain the current Elementor widget and Listeo form behavior. */
body.swl-logistics-home div[data-elementor-type="wp-page"] {
	overflow: visible;
}

body.swl-logistics-home .elementor-section.elementor-section-boxed > .elementor-container {
	max-width: 1140px;
}

body.swl-logistics-home #header .container,
body.swl-logistics-archive #header .container,
body.swl-logistics-taxonomy #header .container,
body.swl-logistics-single #header .container {
	display: block !important;
	max-width: none;
}

body.swl-logistics-home #header .container,
body.swl-logistics-archive #header .container,
body.swl-logistics-taxonomy #header .container {
	width: min(1210px, calc(100% - 30px));
}

body.swl-logistics-home .container:not(.elementor-container),
body.swl-logistics-archive .container,
body.swl-logistics-taxonomy .container {
	width: min(1210px, calc(100% - 30px));
	max-width: none;
}

body.swl-logistics-home .elementor-widget-listeo-homebanner .main-search-container,
body.swl-logistics-home .main-search-container.elementor-main-search-container,
body.swl-logistics-home .main-search-container {
	display: flex;
	height: 610px;
	min-height: 610px;
	align-items: center;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

body.swl-logistics-home .elementor-widget-listeo-homebanner .main-search-container::before,
body.swl-logistics-home .main-search-container.elementor-main-search-container::before,
body.swl-logistics-home .main-search-container::before {
	background: rgba(33, 37, 41, 0.48);
}

body.swl-logistics-home .main-search-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	text-align: center;
}

body.swl-logistics-home .main-search-inner h2 {
	margin: 20px 0 10px;
	color: #fff;
	font-family: Raleway, "Microsoft YaHei", sans-serif;
	font-size: 44px;
	font-weight: 500;
	line-height: 50px;
}

body.swl-logistics-home .main-search-inner h4 {
	margin: 10px 0;
	color: rgba(255, 255, 255, 0.65);
	font-family: Raleway, "Microsoft YaHei", sans-serif;
	font-size: 24px;
	font-weight: 300;
	line-height: 32px;
}

body.swl-logistics-home #listeo_core-search-form,
body.swl-logistics-home .listeo-form-search_on_home_page {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
}

body.swl-logistics-home .main-search-input {
	border-radius: 50px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.16);
}

body.swl-logistics-home .main-search-input button.button,
body.swl-logistics-home .main-search-input input[type="submit"] {
	background: var(--swl-logistics-primary);
	box-shadow: none;
}

body.swl-logistics-home .category-small-box:hover,
body.swl-logistics-home .category-small-box:hover h4 {
	border-color: var(--swl-logistics-primary);
	color: var(--swl-logistics-primary);
}

body.swl-logistics-home .category-small-box:hover i {
	color: var(--swl-logistics-primary);
}

body.swl-logistics-home .category-small-box i,
body.swl-logistics-home .category-small-box svg {
	color: var(--swl-logistics-primary);
}

body.swl-logistics-home .category-small-box:hover {
	border-color: var(--swl-logistics-primary);
	background-color: var(--swl-logistics-primary);
	color: #fff;
}

body.swl-logistics-home .category-small-box:hover h4,
body.swl-logistics-home .category-small-box:hover i {
	color: #fff;
}

body.swl-logistics-home .headline,
body.swl-logistics-home .elementor-heading-title {
	font-family: Raleway, "Microsoft YaHei", sans-serif;
}

body.swl-logistics-parity #navigation.style-1 > ul > li.current-menu-item > a,
body.swl-logistics-parity #navigation.style-1 > ul > li.current-menu-ancestor > a {
	background-color: var(--swl-logistics-primary) !important;
	color: #fff !important;
}

body.swl-logistics-parity .menu-icon-toggle,
body.swl-logistics-home .category-box,
body.swl-logistics-home .category-box-content,
body.swl-logistics-home .category-box-background {
	border-color: var(--swl-logistics-primary) !important;
	color: var(--swl-logistics-primary) !important;
}

body.swl-logistics-home .blog-compact-item-container,
body.swl-logistics-home .blog-compact-item,
body.swl-logistics-home .blog-compact-item-content {
	border-color: var(--swl-logistics-primary) !important;
	color: var(--swl-logistics-primary) !important;
}

body.swl-logistics-home .blog-item-tag {
	background-color: var(--swl-logistics-primary) !important;
}

body.swl-logistics-home .elementor-widget-listeo-posts-grid .button.border {
	border-color: var(--swl-logistics-primary) !important;
	background: transparent !important;
	color: var(--swl-logistics-primary) !important;
}

body.swl-logistics-parity .footer-new-bottom-left a,
body.swl-logistics-parity .mm-listview .current-menu-item > a {
	color: var(--swl-logistics-primary) !important;
}

@media (min-width: 1241px) {
	body.swl-logistics-parity #header .left-side {
		float: left !important;
		display: inline-block !important;
		width: 60% !important;
	}

	body.swl-logistics-parity #header .right-side {
		float: right !important;
		display: inline-block !important;
		width: 40% !important;
	}
}

body.swl-logistics-home .elementor-widget-listeo-listings-carousel .simple-fw-slick-carousel .slick-track {
	padding-bottom: 0 !important;
}

body.swl-logistics-home .elementor-widget-listeo-listings-carousel .listing-item-container {
	max-height: 322px;
}

/* Archive and logistics-taxonomy results: use the official legacy Bootstrap grid. */
body.swl-logistics-archive #listeo-listings-container,
body.swl-logistics-taxonomy #listeo-listings-container {
	display: block !important;
	grid-template-columns: none !important;
	gap: 0 !important;
	margin-right: -15px !important;
	margin-left: -15px !important;
	padding: 0 !important;
}

body.swl-logistics-archive #listeo-listings-container::after,
body.swl-logistics-taxonomy #listeo-listings-container::after {
	display: table;
	clear: both;
	content: "";
}

body.swl-logistics-archive #listeo-listings-container .listing-item-container,
body.swl-logistics-taxonomy #listeo-listings-container .listing-item-container {
	max-height: 322px;
}

body.swl-logistics-archive .listeo-form-search_on_home_page,
body.swl-logistics-taxonomy .listeo-form-search_on_home_page {
	margin-bottom: 40px;
}

body.swl-logistics-archive .listeo-form-search_on_home_page .main-search-input,
body.swl-logistics-taxonomy .listeo-form-search_on_home_page .main-search-input {
	border: 1px solid #e8e8e8;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

body.swl-logistics-archive .listeo-form-search_on_home_page button.button,
body.swl-logistics-taxonomy .listeo-form-search_on_home_page button.button,
body.swl-logistics-archive .pagination ul li a.current,
body.swl-logistics-taxonomy .pagination ul li a.current {
	background: var(--swl-logistics-primary);
}

body.swl-logistics-archive .layout-switcher a.active,
body.swl-logistics-taxonomy .layout-switcher a.active {
	border-color: var(--swl-logistics-primary);
	color: var(--swl-logistics-primary);
}

/* Single listing: presentation only; current template and callbacks stay intact. */
body.single-listing.swl-logistics-single .listing-slider,
body.single-listing.swl-logistics-single #single-listing-grid-gallery {
	height: 400px;
	min-height: 400px;
}

body.single-listing.swl-logistics-single .listing-slider img,
body.single-listing.swl-logistics-single #single-listing-grid-gallery img {
	height: 100%;
	object-fit: cover;
}

body.single-listing.swl-logistics-single #titlebar.listing-titlebar span.listing-tag {
	border-color: #888;
	background: var(--swl-logistics-primary);
	color: #fff;
}

body.single-listing.swl-logistics-single #titlebar.listing-titlebar span.listing-tag a {
	border-color: #888;
	color: #fff;
}

body.single-listing.swl-logistics-single .listing-titlebar-tags > span.listing-tag:nth-of-type(3) {
	display: none !important;
}

body.single-listing.swl-logistics-single .listing-nav li:first-child a,
body.single-listing.swl-logistics-single .listing-nav li a.active,
body.single-listing.swl-logistics-single .listing-nav li a:hover {
	border-color: var(--swl-logistics-primary) !important;
	color: var(--swl-logistics-primary) !important;
}

body.single-listing.swl-logistics-single .listing-details > li > i.fas.fa-check {
	background: var(--swl-logistics-primary);
	color: #fff;
}

body.single-listing.swl-logistics-single .hosted-by-title a.hosted-by-link,
body.single-listing.swl-logistics-single .hosted-by-title a.hosted-by-link:hover,
body.single-listing.swl-logistics-single .hosted-by-title a.hosted-by-link:focus,
body.single-listing.swl-logistics-single .booking-widget button.button,
body.single-listing.swl-logistics-single #add-review button.button,
body.single-listing.swl-logistics-single .booking-sticky-footer button,
body.single-listing.swl-logistics-single .booking-sticky-footer .button {
	border-color: var(--swl-logistics-primary) !important;
	background: var(--swl-logistics-primary) !important;
	color: #fff !important;
}

body.single-listing.swl-logistics-single .book-now-notloggedin,
body.single-listing.swl-logistics-single .hosted-by-title .sign-in.button,
body.single-listing.swl-logistics-single .widget_listing_owner .sign-in.button,
body.single-listing.swl-logistics-single button.like-button-notlogged,
body.single-listing.swl-logistics-single button.like-button-notloggedin {
	border-color: var(--swl-logistics-primary) !important;
	background: var(--swl-logistics-primary) !important;
	color: #fff !important;
}

body.single-listing.swl-logistics-single .claim-badge a i,
body.single-listing.swl-logistics-single .listing-details-sidebar li a,
body.single-listing.swl-logistics-single .star-rating .rating-counter a:hover {
	color: var(--swl-logistics-primary) !important;
}

body.single-listing.swl-logistics-single .boxed-widget {
	border-radius: 4px;
}

@media (max-width: 991px) {
	body.swl-logistics-home .main-search-input .main-search-input-item.select {
		vertical-align: top;
	}

	body.swl-logistics-home .categories-boxes-container {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	body.swl-logistics-home .categories-boxes-container .category-small-box {
		width: auto !important;
		min-width: 0;
		margin: 0 !important;
	}
}

@media (max-width: 767px) {
	body.swl-logistics-home .elementor-widget-listeo-homebanner .main-search-container,
	body.swl-logistics-home .main-search-container.elementor-main-search-container,
	body.swl-logistics-home .main-search-container {
		display: block;
		height: 729px;
		min-height: 729px;
		padding: 0;
	}

	body.swl-logistics-home .main-search-inner {
		box-sizing: border-box;
		padding-top: 180px;
		padding-bottom: 80px;
		text-align: left;
	}

	body.swl-logistics-home.slim-mobile-menu.transparent-header .main-search-container .main-search-inner {
		padding: 180px 0 80px;
	}

	body.swl-logistics-parity #header .container,
	body.swl-logistics-home .main-search-container .container,
	body.single-listing.swl-logistics-single .container.service {
		width: 100% !important;
		max-width: 100% !important;
		margin-right: 0;
		margin-left: 0;
	}

	body.swl-logistics-home .main-search-inner h2 {
		font-size: 38px;
		line-height: 1.2;
	}

	body.swl-logistics-home .main-search-inner h4 {
		margin-bottom: 26px;
		font-size: 17px;
		line-height: 1.55;
	}

	body.swl-logistics-home .main-search-input {
		display: block;
		padding: 0;
		background: transparent;
		box-shadow: none;
		text-align: left;
	}

	body.swl-logistics-home .main-search-input .main-search-input-item {
		display: block;
		width: 100%;
		min-height: 55px;
		margin: 0 0 10px;
		border: 0;
		border-radius: 4px;
		background: #fff;
	}

	body.swl-logistics-home .main-search-input .select2-container {
		width: 100% !important;
	}

	body.swl-logistics-home .main-search-input button.button,
	body.swl-logistics-home .main-search-input input[type="submit"] {
		display: block;
		width: 116px !important;
		height: 50px;
		margin: 10px 0 0;
		padding: 0 24px;
	}

	body.swl-logistics-archive #listeo-listings-container,
	body.swl-logistics-taxonomy #listeo-listings-container {
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	body.swl-logistics-archive #listeo-listings-container > [class*="col-"],
	body.swl-logistics-taxonomy #listeo-listings-container > [class*="col-"] {
		width: 100%;
		padding-right: 0;
		padding-left: 0;
	}

	body.swl-logistics-archive #listeo-listings-container .listing-item-container,
	body.swl-logistics-taxonomy #listeo-listings-container .listing-item-container {
		max-height: none;
	}

	body.single-listing.swl-logistics-single .listing-slider,
	body.single-listing.swl-logistics-single #single-listing-grid-gallery {
		height: 400px;
		min-height: 400px;
	}

	body.single-listing.swl-logistics-single .listeo-single-listing-content,
	body.single-listing.swl-logistics-single .listeo-single-listing-sidebar {
		width: 100%;
		padding-right: 15px;
		padding-left: 15px;
	}

	body.single-listing.swl-logistics-single .booking-sticky-footer {
		z-index: 1000;
		border-top: 1px solid #e8e8e8;
		background: #fff;
		box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
	}
}

@media (min-width: 480px) and (max-width: 767px) {
	body.swl-logistics-parity.slim-mobile-menu.user_not_logged_in #header .right-side {
		display: inline-block !important;
		width: auto !important;
		margin-top: -65px !important;
		padding: 0;
		position: relative !important;
		top: auto !important;
		right: 75px !important;
		transform: none !important;
	}

	body.swl-logistics-parity.slim-mobile-menu.user_not_logged_in #header .header-widget {
		padding: 0;
		border-top: 0;
	}

	body.swl-logistics-parity.slim-mobile-menu.user_not_logged_in #header .header-widget a.sign-in,
	body.swl-logistics-parity.slim-mobile-menu.user_not_logged_in #header .header-widget a.sign-in:hover {
		display: inline-block;
		width: auto;
		height: auto;
		margin: 0;
		padding: 2px;
		background: transparent !important;
		font-size: 16px !important;
		line-height: normal;
	}

	body.swl-logistics-parity.slim-mobile-menu.user_not_logged_in #header .header-widget a.sign-in i {
		font-size: 15px !important;
	}

	body.swl-logistics-home.slim-mobile-menu.user_not_logged_in #header .header-widget a.sign-in,
	body.swl-logistics-home.slim-mobile-menu.user_not_logged_in #header .header-widget a.sign-in:hover {
		color: #fff;
	}
}
