/* Doyle Hero Image Slider - frontend styles */

.dhs-hero {
	position: relative;
	width: 100%;
	min-height: 640px;
	overflow: hidden;
	font-family: inherit;
}

/* ---- Slides ---- */
.dhs-slides {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.dhs-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 1.2s ease-in-out;
}

.dhs-slide.active {
	opacity: 1;
	z-index: 1;
}

/* ---- Left diagonal green text panel (stays fixed, text never changes) ---- */
.dhs-overlay-panel {
	position: absolute;
	inset: 0;
	z-index: 3;
	width: 58%;
	height: 100%;
/* 	background: linear-gradient(120deg, rgba(11, 43, 31, 0.97) 55%, rgba(11, 43, 31, 0.75) 100%);
	clip-path: polygon(0 0, 100% 0, 78% 100%, 0% 100%); */
	display: flex;
	align-items: center;
}

.dhs-content {
	/*max-width: 620px;*/
	padding: 60px 110px 60px 11%;
	color: #ffffff;
}

.dhs-overline {
	display: inline-block;
    font-family: "Rubik", Sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #00A859;
}

.dhs-heading {
    font-family: "Rubik", Sans-serif;
    font-size: 62px;
    font-weight: 500;
    line-height: 66px;
    color: #FFFFFF;
}

.dhs-description {
font-family: "DM Sans", Sans-serif;
    font-size: 19px;
    font-weight: 500;
    line-height: 33px;
    color: #FFFFFF;
	max-width: 545px;
}

.dhs-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.dhs-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 4px;
	transition: all 0.25s ease;
	border: 2px solid transparent;
}

.dhs-btn-solid {
background-color: #0A9555;
    font-family: "DM Sans", Sans-serif;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    fill: #FFFFFF;
    color: #FFFFFF;
    border-radius: 6px 6px 6px 6px;
    padding: 17px 25px 17px 25px;
}

.dhs-btn-solid:hover {
	background: #2e8548;
	color: #ffffff;
}

.dhs-btn-outline {
background-color: #0A955500;
    font-family: "DM Sans", Sans-serif;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    fill: #FFFFFF;
    color: #FFFFFF;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-radius: 6px 6px 6px 6px;
    padding: 17px 40px 17px 40px;
    border-color: #fff !important;
}

.dhs-btn-outline:hover {
	background: #ffffff;
	color: #0b2b1f;
}

.dhs-arrow-icon {
	display: inline-block;
	transition: transform 0.2s ease;
}

.dhs-btn-solid:hover .dhs-arrow-icon {
	transform: translateX(4px);
}

/* ---- Arrow navigation ---- */
.dhs-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.85);
	color: #0b2b1f;
	font-size: 16px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, transform 0.2s ease;
}

.dhs-nav:hover {
	background: #3AA35C;
	color: #ffffff;
}

.dhs-prev {
	left: 30px;
}

.dhs-next {
	right: 30px;
}

/* ---- Dot pagination ---- */
.dhs-dots {
	position: absolute;
	bottom: 26px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 5;
	display: flex;
	gap: 10px;
}

.dhs-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid #ffffff;
	background: transparent;
	padding: 0;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.dhs-dot.active {
	background: #3AA35C;
	border-color: #3AA35C;
	transform: scale(1.15);
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
	.dhs-overlay-panel {
		width: 100%;
		clip-path: none;
		background: rgba(11, 43, 31, 0.88);
	}
	.dhs-content {
		padding: 50px 6%;
		max-width: 100%;
	}
	.dhs-heading {
		font-size: 32px;
	}
	.dhs-nav {
		width: 38px;
		height: 38px;
	}
	.dhs-prev {
		right: 70px;
	}
}

@media (max-width: 600px) {
	.dhs-hero {
		min-height: 320px;
	}
	.dhs-slides {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
	}
	.dhs-overlay-panel {
		position: absolute;
		inset: auto;
		top: 20px;
		left: 16px;
		width: auto;
		max-width: 72%;
		height: auto;
		background: transparent;
		clip-path: none;
		border-radius: 10px;
		align-items: flex-start;
	}
	.dhs-content {
		padding: 18px 0px;
	}
	.dhs-overline {
		font-size: 12px;
	}
	.dhs-heading {
		font-size: 19px;
		line-height: 24px;
	}
	.dhs-description {
		font-size: 13px;
		line-height: 20px;
	}
	.dhs-buttons {
		gap: 10px;
	}
	.dhs-btn-solid,
	.dhs-btn-outline {
		font-size: 12px;
		padding: 10px 16px;
	}
	.dhs-dots {
		bottom: 16px;
	}
	.dhs-nav {
		display: none;
	}
}

/* ---- Admin settings page image list ---- */
#dhs-image-list {
	margin: 10px 0;
	padding: 0;
	list-style: none;
}

.dhs-image-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
	background: #fff;
	padding: 4px 8px 4px 4px;
	border: 1px solid #dcdcde;
	border-radius: 3px;
}

.dhs-drag-handle {
	cursor: move;
	font-size: 18px;
	color: #787c82;
	padding: 0 4px;
	user-select: none;
}

.dhs-image-row.ui-sortable-helper {
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.dhs-image-row-placeholder {
	border: 1px dashed #b4b9be;
	background: #f0f0f1;
	margin-bottom: 8px;
	height: 68px;
	border-radius: 3px;
}
