/* Novo Lite Core - widget styles (Banner, Gallery, Testimonials, Blog) */

.novo-lite-banner .container,
.novo-lite-blog .blog-item,
.novo-lite-gallery {
	box-sizing: border-box;
}

.novo-lite-banner *,
.novo-lite-blog *,
.novo-lite-gallery *,
.testimonials-slider * {
	box-sizing: border-box;
}

/* Shared responsive grid used by the Cols group control -------------- */

.col,
[class^="col-"] {
	width: 100%;
	padding: 0 10px;
}

.col-1 { width: 8.3333%; } .col-2 { width: 16.6667%; } .col-3 { width: 25%; }
.col-4 { width: 33.3333%; } .col-5 { width: 20%; } .col-6 { width: 50%; }
.col-7 { width: 58.3333%; } .col-8 { width: 66.6667%; } .col-9 { width: 75%; }
.col-10 { width: 83.3333%; } .col-11 { width: 91.6667%; } .col-12 { width: 100%; }

@media (min-width: 576px) {
	.col-sm-1 { width: 8.3333%; } .col-sm-2 { width: 16.6667%; } .col-sm-3 { width: 25%; }
	.col-sm-4 { width: 33.3333%; } .col-sm-5 { width: 20%; } .col-sm-6 { width: 50%; }
	.col-sm-7 { width: 58.3333%; } .col-sm-8 { width: 66.6667%; } .col-sm-9 { width: 75%; }
	.col-sm-10 { width: 83.3333%; } .col-sm-11 { width: 91.6667%; } .col-sm-12 { width: 100%; }
}

@media (min-width: 768px) {
	.col-md-1 { width: 8.3333%; } .col-md-2 { width: 16.6667%; } .col-md-3 { width: 25%; }
	.col-md-4 { width: 33.3333%; } .col-md-5 { width: 20%; } .col-md-6 { width: 50%; }
	.col-md-7 { width: 58.3333%; } .col-md-8 { width: 66.6667%; } .col-md-9 { width: 75%; }
	.col-md-10 { width: 83.3333%; } .col-md-11 { width: 91.6667%; } .col-md-12 { width: 100%; }
}

@media (min-width: 992px) {
	.col-lg-1 { width: 8.3333%; } .col-lg-2 { width: 16.6667%; } .col-lg-3 { width: 25%; }
	.col-lg-4 { width: 33.3333%; } .col-lg-5 { width: 20%; } .col-lg-6 { width: 50%; }
	.col-lg-7 { width: 58.3333%; } .col-lg-8 { width: 66.6667%; } .col-lg-9 { width: 75%; }
	.col-lg-10 { width: 83.3333%; } .col-lg-11 { width: 91.6667%; } .col-lg-12 { width: 100%; }
}

@media (min-width: 1200px) {
	.col-xl-1 { width: 8.3333%; } .col-xl-2 { width: 16.6667%; } .col-xl-3 { width: 25%; }
	.col-xl-4 { width: 33.3333%; } .col-xl-5 { width: 20%; } .col-xl-6 { width: 50%; }
	.col-xl-7 { width: 58.3333%; } .col-xl-8 { width: 66.6667%; } .col-xl-9 { width: 75%; }
	.col-xl-10 { width: 83.3333%; } .col-xl-11 { width: 91.6667%; } .col-xl-12 { width: 100%; }
}

/* Shared slider nav ---------------------------------------------------- */

.novo-lite-nav-prev,
.novo-lite-nav-next {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	cursor: pointer;
	z-index: 5;
	transition: border-color 0.25s ease, opacity 0.25s ease;
}

.novo-lite-nav-prev:before,
.novo-lite-nav-next:before {
	content: "";
	display: block;
	width: 8px;
	height: 8px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
}

.novo-lite-nav-prev:before { transform: translateX(15%) rotate(-135deg); }
.novo-lite-nav-next:before { transform: translateX(-15%) rotate(45deg); }

.novo-lite-nav-prev:hover,
.novo-lite-nav-next:hover { border-color: currentColor; }

.novo-lite-nav.swiper-button-disabled { opacity: 0.35; pointer-events: none; }

/* Banner ---------------------------------------------------------------- */

.banner-wrapper {
	position: relative;
}

.banner-items {
	position: relative;
	overflow: hidden;
	color: #fff;
}

.banner-items.full-height {
	height: 100vh;
	height: 100dvh;
	height: calc(100dvh - var(--novolite-header-offset, 0px));
	min-height: 540px;
}

.banner-items .swiper,
.banner-items .swiper-wrapper,
.banner-items .swiper-slide {
	height: 100%;
}

.banner-item {
	position: relative;
	display: flex;
	align-items: flex-end;
}

.banner-item .bg-image {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
}

.banner-item .bg-overlay {
	position: absolute;
	inset: 0;
}

.banner-item .container {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px 100px;
}

.banner-item .sub-heading {
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-size: 13px;
	margin-bottom: 14px;
	opacity: 0.85;
}

.banner-item .h {
	font-size: clamp(32px, 5vw, 64px);
	line-height: 1.15;
	margin: 0 0 20px;
	max-width: 780px;
}

.banner-item .h span {
	color: var(--novolite-accent, #c48f56);
}

.banner-item .description {
	font-size: 14px;
	line-height: 1.5;
	margin: 0 0 24px;
	max-width: 480px;
	opacity: 0.85;
}

.banner-item .button-style2 {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: inherit;
	text-decoration: none;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	transition: opacity 0.25s ease;
}

.banner-item .button-style2:hover { opacity: 0.7; }

.banner-item .button-style2:after {
	content: "";
	width: 6px;
	height: 6px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: translateY(-1px) rotate(45deg);
}

/*
 * Elementor bundles its own Swiper CSS (elementor/assets/lib/swiper/v8/css/swiper.min.css)
 * which Swiper's pagination JS also matches against, via
 * ".swiper-pagination-bullets.swiper-pagination-horizontal { bottom: 10px; left: 0; width: 100% }".
 * That's 2 classes (0,2,0) - higher specificity than our single-class
 * selector - so the positioning below must win explicitly.
 */
.novo-lite-numbered-nav {
	position: absolute;
	left: 0 !important;
	right: 0;
	bottom: 45px !important;
	z-index: 5;
	max-width: 1200px !important;
	width: auto !important;
	margin: 0 auto !important;
	padding: 0 40px !important;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	pointer-events: none;
}

.novo-lite-numbered-nav .swiper-pagination-bullet {
	pointer-events: auto;
	margin: 0 !important;
}

.novo-lite-numbered-nav .swiper-pagination-bullet {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.2);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	opacity: 1;
	cursor: pointer;
	transition: border-color 0.3s ease;
}

.novo-lite-numbered-nav .swiper-pagination-bullet-active {
	border-color: var(--novolite-accent, #c48f56);
}

.banner-social-buttons {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 70px;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.banner-social-buttons .links {
	display: flex;
	align-items: center;
	gap: 12px;
	white-space: nowrap;
	transform: rotate(-90deg);
}

.banner-social-buttons .item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	font-size: 12px;
	text-transform: lowercase;
	text-decoration: none;
	opacity: 0.85;
	transition: opacity 0.25s ease;
	pointer-events: auto;
}

.banner-social-buttons .item svg,
.banner-social-buttons .item i {
	width: 12px;
	height: 12px;
	font-size: 12px;
	fill: currentColor;
}

.banner-social-buttons .item:hover { opacity: 1; }

.banner-social-buttons .sep {
	display: inline-block;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--novolite-accent, #c48f56);
	flex: 0 0 auto;
}

@media (max-width: 767px) {
	.banner-items.full-height { min-height: 480px; }
	.banner-social-buttons { display: none; }
}

/* Gallery ---------------------------------------------------------------- */

.novo-lite-gallery {
	--novo-lite-gallery-gap: 20px;
	display: flex;
	flex-wrap: wrap;
	margin: calc(var(--novo-lite-gallery-gap) / -2);
}

.novo-lite-gallery-item {
	position: relative;
	margin: 0;
	padding: calc(var(--novo-lite-gallery-gap) / 2);
	overflow: hidden;
}

.novo-lite-gallery-item > a,
.novo-lite-gallery-item > img {
	aspect-ratio: var(--novo-lite-gallery-ratio, auto);
}

.novo-lite-gallery-item a,
.novo-lite-gallery-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.novo-lite-gallery-item figcaption {
	position: absolute;
	left: calc(var(--novo-lite-gallery-gap) / 2 + 16px);
	right: calc(var(--novo-lite-gallery-gap) / 2 + 16px);
	bottom: calc(var(--novo-lite-gallery-gap) / 2 + 16px);
	color: #fff;
	font-size: 13px;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.25s ease, transform 0.25s ease;
	pointer-events: none;
}

.novo-lite-gallery-item:hover figcaption {
	opacity: 1;
	transform: translateY(0);
}

/* Testimonials ------------------------------------------------------------ */

.testimonials-slider {
	position: relative;
}

.testimonials-slider .swiper {
	overflow: hidden;
}

.testimonial-item {
	display: flex;
	flex-wrap: wrap;
	min-height: 560px;
	background-color: #111315;
	color: #fff;
}

.testimonial-item .testimonial-photo {
	flex: 0 0 46%;
	max-width: 46%;
	min-height: 320px;
	background-position: center;
	background-size: cover;
}

.testimonial-item .testimonial-content {
	position: relative;
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 60px 70px 60px 90px;
}

.testimonial-item:not(.with-photo) .testimonial-content {
	padding-left: 70px;
}

.testimonial-item .quote-icon {
	display: block;
	font-family: inherit;
	font-size: 160px;
	font-weight: 700;
	line-height: 1;
	color: var(--novolite-accent, #c48f56);
	opacity: 0.35;
	margin: 0 0 -55px;
	pointer-events: none;
	user-select: none;
}

.testimonial-item .quote-icon:before {
	content: "\201C";
}

.testimonial-item .quote {
	position: relative;
	font-size: 19px;
	line-height: 1.7;
	margin: 0 0 24px;
}

.testimonial-item .divider {
	width: 40px;
	height: 2px;
	margin-bottom: 22px;
	background: var(--novolite-accent, #c48f56);
}

.testimonial-item h4 {
	margin: 0 0 6px;
	font-size: 26px;
	font-weight: 700;
}

.testimonial-item .role {
	font-size: 14px;
	font-style: italic;
	opacity: 0.65;
}

.testimonials-slider .novo-lite-nav {
	position: absolute;
	right: 30px;
	bottom: 26px;
	display: flex;
	gap: 2px;
	margin: 0;
	color: #fff;
	z-index: 5;
}
.testimonials-slider .novo-lite-nav-prev,
.testimonials-slider .novo-lite-nav-next {
	position: static;
	width: 32px;
	height: 32px;
	margin: 0;
	border: none;
	opacity: 0.6;
}
.testimonials-slider .novo-lite-nav-prev:before,
.testimonials-slider .novo-lite-nav-next:before {
	width: 11px;
	height: 11px;
	border-width: 3px;
}
.testimonials-slider .novo-lite-nav-prev:hover,
.testimonials-slider .novo-lite-nav-next:hover {
	border-color: transparent;
	opacity: 1;
}

.testimonials-slider .swiper-pagination {
	position: absolute;
	left: 30px;
	bottom: 26px;
	width: auto;
	display: flex;
	align-items: center;
	gap: 8px;
	z-index: 5;
}
.testimonials-slider .swiper-pagination-bullet {
	display: block;
	width: 8px;
	height: 8px;
	margin: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	opacity: 1;
	cursor: pointer;
	transition: background-color 0.25s ease, transform 0.25s ease;
}
.testimonials-slider .swiper-pagination-bullet-active {
	background: var(--novolite-accent, #c48f56);
	transform: scale(1.25);
}

@media (max-width: 767px) {
	.testimonial-item {
		flex-direction: column !important;
		min-height: 0 !important;
	}

	.testimonial-item .testimonial-photo {
		flex: 0 0 auto;
		max-width: 100% !important;
		width: 100%;
		height: 260px;
		min-height: 260px;
	}

	.testimonial-item .testimonial-content,
	.testimonial-item:not(.with-photo) .testimonial-content {
		padding: 60px 24px 80px;
	}

	.testimonial-item .quote-icon {
		font-size: 100px;
		margin-bottom: -34px;
	}

	.testimonials-slider .swiper-pagination {
		display: none;
	}

	.testimonials-slider .novo-lite-nav {
		right: 20px;
		bottom: 20px;
	}
}

/* Blog ---------------------------------------------------------------- */

.blog-grid {
	display: flex;
	flex-wrap: wrap;
	margin: -15px;
}

.blog-item {
	padding: 15px;
}

.blog-item .wrap {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.blog-item .img {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
}

.blog-item .img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.blog-item .img:hover img {
	transform: scale(1.04);
}

.blog-item .content {
	padding-top: 18px;
}

.blog-item .title {
	display: block;
	font-size: 19px;
	line-height: 1.3;
	margin: 0 0 10px;
	text-decoration: none;
	color: inherit;
}

.blog-item .meta {
	font-size: 12px;
	opacity: 0.6;
	margin-bottom: 10px;
	display: flex;
	gap: 12px;
}

.blog-item .desc {
	font-size: 14px;
	line-height: 1.6;
	opacity: 0.8;
	margin-bottom: 14px;
}

.blog-item .button-style2 {
	display: inline-block;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-decoration: none;
	color: var(--novolite-accent, #c48f56);
	transition: color 0.25s ease;
}

.blog-item .button-style2:hover {
	color: #fff;
}

.blog-item .comments {
	display: block;
	margin-top: 10px;
	font-size: 13px;
	opacity: 0.6;
	text-decoration: none;
	color: inherit;
}

.blog-pagination {
	margin-top: 30px;
	display: flex;
	gap: 8px;
}

.blog-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 6px;
	text-decoration: none;
	color: inherit;
	border: 1px solid var(--novolite-border, rgba(255, 255, 255, 0.25));
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
	background: var(--novolite-accent, #c48f56);
	color: #fff;
	border-color: var(--novolite-accent, #c48f56);
}
