/* ============================================================
   Hero Slider — frontend
   Background (cover) + left image + right text + button
   Rules are scoped under .pt-hero-slider for specificity so the
   theme's default heading styles don't override the hierarchy.
   ============================================================ */

.pt-hero-slider {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #eceeef;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.pt-hero-track { position: relative; width: 100%; }

.pt-hero-slide {
	position: absolute;
	inset: 0;
	width: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	visibility: hidden;
	transition: opacity .6s ease;
	display: flex;
	align-items: center;
}
.pt-hero-slide.is-active {
	position: relative;
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

/* Soft readability scrim so text stays crisp over busy backgrounds */
.pt-hero-slide::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .25) 45%, rgba(255, 255, 255, 0) 100%);
	z-index: 0;
}

/* Inner layout: image left, text right */
.pt-hero-slider .pt-hero-inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 50px;
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
	padding: 60px 70px;
	box-sizing: border-box;
}

.pt-hero-slider .pt-hero-figure {
	flex: 0 0 40%;
	max-width: 40%;
	text-align: center;
}
.pt-hero-slider .pt-hero-img {
	max-width: 100%;
	height: auto;
	display: inline-block;
}

.pt-hero-slider .pt-hero-content {
	flex: 1;
	min-width: 0;
}

/* Eyebrow — small accent label above the title */
.pt-hero-slider .pt-hero-eyebrow {
	display: block;
	font-size: 15px !important;
	font-weight: 700;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: #c08a2d;
	line-height: 1.3;
	margin: 0 0 12px;
}

/* Title — the dominant heading */
.pt-hero-slider .pt-hero-title {
	font-size: clamp(36px, 5vw, 48px) !important;
	font-weight: 800;
	line-height: 1.05;
	margin: 0 0 14px !important;
	padding: 0;
	color: #1d2327;
	letter-spacing: -.5px;
}

/* Description */
.pt-hero-slider .pt-hero-desc {
	font-size: clamp(17px, 1.8vw, 22px) !important;
	font-weight: 400;
	line-height: 1.45;
	color: #51606a;
	margin: 0 0 30px !important;
	padding: 0;
}

/* Button */
.pt-hero-slider .pt-hero-btn {
	display: inline-block;
	background: #1d2327;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	padding: 15px 30px;
	border-radius: 8px;
	max-width: 100%;
	box-shadow: 0 8px 20px rgba(29, 35, 39, .22);
	transition: background .2s ease, transform .12s ease, box-shadow .2s ease;
}
.pt-hero-slider .pt-hero-btn:hover {
	background: #c08a2d;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(192, 138, 45, .32);
}
.pt-hero-slider .pt-hero-btn:active { transform: translateY(0); }
.pt-hero-slider .pt-hero-btn-ico {
	color: #f0c14b;
	font-size: 13px;
	margin-right: 8px;
	vertical-align: 1px;
}
.pt-hero-slider .pt-hero-btn:hover .pt-hero-btn-ico { color: #fff; }

/* Arrows */
.pt-hero-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: rgba(29, 35, 39, .55);
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(2px);
	transition: background .2s ease;
}
.pt-hero-arrow:hover { background: rgba(29, 35, 39, .9); }
.pt-hero-prev { left: 18px; }
.pt-hero-next { right: 18px; }

/* Dots */
.pt-hero-dots {
	position: absolute;
	bottom: 18px;
	left: 0;
	right: 0;
	z-index: 5;
	display: flex;
	justify-content: center;
	gap: 9px;
}
.pt-hero-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 0;
	background: rgba(29, 35, 39, .3);
	cursor: pointer;
	padding: 0;
	transition: background .2s ease, transform .2s ease, width .2s ease;
}
.pt-hero-dot.is-active { background: #c08a2d; width: 26px; border-radius: 6px; }

/* Single slide: no arrows/dots (also enforced server-side) */
.pt-hero-slider:not(.has-multiple) .pt-hero-arrow,
.pt-hero-slider:not(.has-multiple) .pt-hero-dots { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
	.pt-hero-slider .pt-hero-inner {
		flex-direction: column;
		text-align: center;
		gap: 26px;
		padding: 44px 50px 54px;
	}
	.pt-hero-slide::before {
		background: linear-gradient(180deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .2) 100%);
	}
	.pt-hero-slider .pt-hero-figure { flex: none; max-width: 64%; }
	.pt-hero-arrow { width: 40px; height: 40px; font-size: 22px; }
	.pt-hero-prev { left: 8px; }
	.pt-hero-next { right: 8px; }
}
@media (max-width: 480px) {
	.pt-hero-slider .pt-hero-inner { padding: 34px 22px 50px; }
	.pt-hero-slider .pt-hero-figure { max-width: 80%; }
	.pt-hero-slider .pt-hero-btn { font-size: 15px; padding: 13px 24px; }
}
