/*
Theme Name: CXD Battery
Theme URI: https://cxdbattery.test
Author: CXD New Energy
Description: Custom theme for CXD Battery corporate site. Assets loaded from /html/assets blueprint.
Version: 1.0.4
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: cxdbattery
*/

/* Match static html/index.html header edge (no extra top gap / hairline) */
html,
body {
	margin: 0;
	padding: 0;
}

.bn-header.transparent-header {
	top: 0;
	margin: 0;
	border-bottom-color: rgba(211, 211, 211, 0.1);
}

/* WP admin bar vs sticky header */
body.admin-bar .bn-header.header-sticky.sticky {
	top: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar .bn-header.header-sticky.sticky {
		top: 46px;
	}
}

/* Contact inquiry alerts */
.contact-area .alert {
	border-radius: 4px;
	padding: 14px 18px;
	margin-bottom: 28px;
}
.contact-area .alert-success {
	background: #e8f6ee;
	color: #1b5e3b;
	border: 1px solid #b7e0c7;
}
.contact-area .alert-danger {
	background: #fdeeee;
	color: #8a1f1f;
	border: 1px solid #f0c2c2;
}

/* Product cards: image + news-like hover zoom */
.team-area-2 .bn-team-box-img {
	overflow: hidden;
	border-radius: 10px;
}
.team-area-2 .bn-team-box-img a {
	display: block;
}
.bn-team-box-img img,
.bn-services-details-content-img img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}
.team-area-2 .bn-team-box-img img {
	-webkit-transition: all 0.8s linear 0s;
	-moz-transition: all 0.8s linear 0s;
	-ms-transition: all 0.8s linear 0s;
	-o-transition: all 0.8s linear 0s;
	transition: all 0.8s linear 0s;
	transform: scale(1);
}
.team-area-2 .bn-team-box:hover .bn-team-box-img img {
	transform: scale(1.2);
}

/* Archive pagination */
.navigation.pagination,
.nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
	margin: 10px 0 30px;
}
.navigation.pagination .page-numbers,
.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	color: inherit;
	text-decoration: none;
}
.navigation.pagination .page-numbers.current,
.nav-links .page-numbers.current {
	background: #0b5fff;
	border-color: transparent;
	color: #fff;
}
.navigation.pagination ul.page-numbers,
.cxd-news-pagination ul.page-numbers {
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
	list-style: none;
	margin: 10px 0 30px;
	padding: 0;
}
.navigation.pagination ul.page-numbers li,
.cxd-news-pagination ul.page-numbers li {
	margin: 0;
}

/* Contact native select (avoid nice-select breaking required) */
.bn-contact-form select {
	width: 100%;
	height: 55px;
	padding: 0 20px;
	border: 1px solid #e5e5e5;
	background: #fff;
	margin-bottom: 20px;
}
