/**
 * Hero Slider (ACF) – Premium full-width slider
 * Topbar, vertical pagination, curved content box, bottom-right arrows.
 */

/* ========== Top bar ========== */
.hero--acf .hero__topbar {
	background-color: #2E7D32;
	color: #fff;
	padding: 0.75rem 0;
	position: relative;
	z-index: 10;
}

.hero__topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.hero__nav {
	flex: 1;
}

.hero__menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hero__menu-link {
	color: rgba(255, 255, 255, 0.95);
	text-decoration: none;
	padding: 0.4rem 0.9rem;
	border-radius: 999px;
	font-size: 0.9rem;
	transition: background-color 0.2s, color 0.2s;
}

.hero__menu-link:hover {
	color: #fff;
	background-color: rgba(255, 255, 255, 0.15);
}

.hero__menu-item--active .hero__menu-link {
	background-color: #9CCC65;
	color: #F9A825;
	border: 1px solid #FFD700;
	font-weight: 500;
}

/* Social icons */
.hero__social {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.hero__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.2);
	color: #fff;
	text-decoration: none;
	transition: background-color 0.2s, transform 0.2s;
}

.hero__social-link:hover {
	background-color: rgba(255, 255, 255, 0.35);
	transform: scale(1.05);
}

.hero__social-icon {
	width: 18px;
	height: 18px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.hero__social-link--facebook .hero__social-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E"); }
.hero__social-link--twitter .hero__social-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.73 6.197L18.244 2.25zm-1.342 17.52L17.5 17.25h-2.39l-4.11-5.25 1.65-2.11 3.46 4.46z'/%3E%3C/svg%3E"); }
.hero__social-link--email .hero__social-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E"); }
.hero__social-link--instagram .hero__social-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z'/%3E%3C/svg%3E"); }
.hero__social-link--youtube .hero__social-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E"); }

/* ========== Slider container ========== */
.hero__slider {
	position: relative;
    width: 100%;
    left: 0;
    padding-left: 100px;
    height: 100%;
    overflow: hidden;
    background: #fff;
}

.hero__slider::after {
	content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 130px);
    background: #1f5f17;
    pointer-events: none;
    z-index: 0;
}

body.admin-bar .hero {
	height: calc(100vh - 132px);
}

.swiper-wrapper {
	height: 100%;
}

/* ========== Slide ========== */
.hero__slide {
	height: 100%;
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	padding: 2rem 2rem 4rem 6rem;
	box-sizing: border-box;
}

.hero__slide--left-bottom { align-items: flex-end; justify-content: flex-start; padding: 2rem 2rem 4rem 6rem; }
.hero__slide--left-center { align-items: center; justify-content: flex-start; padding: 2rem 2rem 2rem 6rem; }
.hero__slide--center { align-items: center; justify-content: center; padding: 2rem 4rem; text-align: center; }

.hero__slide-media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hero__slide-media--image {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.hero__slide-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hero__slide-overlay {
	position: absolute;
	inset: 0;
	background: #000;
	z-index: 1;
	pointer-events: none;
}

.hero__slide-content {
	position: relative;
	z-index: 2;
	max-width: 560px;
}

/* Curved content box (bottom-left bubble style) */
.hero__slide-content-inner {
	/* padding: 1.5rem 2rem 1.5rem 2rem; */
	/* background: rgba(0, 0, 0, 0.5); */
	/* border-radius: 0 24px 24px 0;
	border-top-right-radius: 40px;
	border-bottom-right-radius: 40px;
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px; */
}

.hero__slide--flat .hero__slide-content-inner {
	border-radius: 8px;
}

.hero__slide--center .hero__slide-content-inner {
	border-radius: 16px;
	margin: 0 auto;
}

.hero__slide-kicker {
	margin: 0 0 0.35em;
	font-size: 0.85rem;
	font-weight: 400;
	opacity: 0.95;
	text-transform: none;
}

.hero__slide-title {
	margin: 0 0 0.25em;
	font-size: clamp(1.75rem, 4vw, 3rem);
	font-weight: 700;
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.hero__slide-subtitle {
	margin: 0 0 0.5em;
	font-size: 0.95rem;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	opacity: 0.9;
}

.hero__slide-description {
	margin: 0 0 1rem;
	font-size: 0.95rem;
	line-height: 1.5;
	opacity: 0.95;
}

.hero__slide-description p {
	margin: 0 0 0.5em;
}

.hero__slide-actions {
	margin: 0;
}

.hero__slide-btn {
	display: inline-block;
	padding: 0.6rem 1.25rem;
	background: #FFC107;
	color: #1a1a1a;
	text-decoration: none;
	font-weight: 600;
	border-radius: 6px;
	transition: background 0.2s, transform 0.2s;
}

.hero__slide-btn:hover {
	background: #FFD54F;
	transform: translateY(-1px);
}

/* YouTube slide */
.hero__slide-media--video {
	background-size: cover;
	background-position: center;
}

.hero__video-placeholder {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}

.hero__video-iframe-wrap {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.3s;
}

.hero__video-iframe-wrap.is-active {
	opacity: 1;
}

.hero__video-iframe-wrap iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: auto;
}

/* ========== Pagination (vertical, left) ========== */
.hero__pagination--vertical {
	left: 1.5rem !important;
	right: auto !important;
	width: auto !important;
	height: auto !important;
	top: 50% !important;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.hero__pagination--vertical .swiper-pagination-bullet {
	width: 12px;
	height: 12px;
	margin: 0 !important;
	background: rgba(255, 255, 255, 0.5);
	opacity: 1;
	transition: background 0.2s, box-shadow 0.2s;
}

.hero__pagination--vertical .swiper-pagination-bullet-active {
	background: transparent;
	box-shadow: 0 0 0 2px #FFD700;
	outline: 1px solid rgba(255, 255, 255, 0.5);
}

/* ========== Arrows (bottom-right, square) ========== */
.hero__arrows {
	position: absolute;
	bottom: 20px;
	right: 20px;
	display: flex;
	gap: 0;
	z-index: 5;
	height: 48px;
}

.hero__arrow {
	position: relative;
	inset: 0 !important;
	margin-top: 0;
 	width: 48px;
	height: 100%;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(150, 150, 150, 0.8);
	color: #333;
	transition: background 0.2s, color 0.2s;
}

.swiper-wrapper,
.swiper-slide,
.swiper-slide .hero__slide-media,
.swiper-slide .hero__slide-media * {
	border-bottom-left-radius: 100px;
}

.hero__arrow--next {
	background: #FFC107;
	color: #1a1a1a;
}

.hero__arrow:hover {
	background: rgba(180, 180, 180, 0.95);
	color: #111;
}

.hero__arrow--next:hover {
	background: #FFD54F;
	color: #000;
}

.hero__arrow::after {
	font-size: 1.25rem;
	font-weight: 700;
	color: #fff;
}

.hero__arrow--prev::after {
	content: '‹';
}

.hero__arrow--next::after {
	content: '›';
}

/* Swiper overrides: hide default nav so we use our .hero__arrow */
.hero__slider .swiper-button-prev,
.hero__slider .swiper-button-next {
	display: flex;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
	.hero__slider {
		height: 560px;
	}

	.hero__slide {
		padding: 1.5rem 1.5rem 3rem 4rem;
	}

	.hero__slide--left-center { padding: 1.5rem 1.5rem 1.5rem 4rem; }

	.hero__pagination--vertical {
		left: 0.75rem;
	}

	.hero__slide-content-inner {
		padding: 1.25rem 1.5rem;
	}
}

@media (max-width: 768px) {
	.hero__topbar-inner {
		flex-direction: column;
		align-items: flex-start;
		padding: 0 1rem;
	}

	.hero__menu {
		gap: 0.2rem 0.5rem;
	}

	.hero__menu-link {
		padding: 0.35rem 0.65rem;
		font-size: 0.8rem;
	}

	.hero__slider {
		height: 480px;
	}

	.hero__slide,
	.hero__slide--left-bottom,
	.hero__slide--left-center {
		padding: 1rem 1rem 2rem 3.5rem;
		align-items: flex-end;
	}

	.hero__slide--center {
		padding: 1rem;
	}

	.hero__pagination--vertical {
		flex-direction: row;
		left: 50% !important;
		top: auto !important;
		bottom: 0.5rem !important;
		transform: translateX(-50%);
	}

	.hero__arrows {
		bottom: 0.75rem;
		right: 0.75rem;
	}

	.hero__arrow {
		width: 40px;
		height: 40px;
	}

	.hero__slide-title {
		font-size: clamp(1.35rem, 5vw, 2rem);
	}

	.hero__slide-content-inner {
		padding: 1rem 1.25rem;
		border-radius: 0 16px 16px 0;
		border-top-right-radius: 24px;
		border-bottom-right-radius: 24px;
	}

	.hero__slider::after {
		height: 40px;
		width: 30%;
	}
}

@media (max-width: 480px) {
	.hero__slider {
		height: 420px;
	}

	.hero__slide-content {
		max-width: 100%;
	}
}
