/* KS LP Hero — shared styles (editor + frontend) */

.kslp-hero-block {
	--kslp-bg: #0d4429;
	--kslp-accent: #f5d76e;
	--kslp-text: #ffffff;
	--kslp-width: 1180px;

	position: relative;
	overflow: hidden;
	padding: 64px 24px 80px;
	background-color: var(--kslp-bg);
	color: var(--kslp-text);
	font-family: inherit;
}

.kslp-hero-block.has-grid::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
	background-size: 38px 38px;
	pointer-events: none;
}

.kslp-hero-block__inner {
	position: relative;
	z-index: 1;
	max-width: var(--kslp-width);
	margin: 0 auto;
	text-align: center;
}

/* Badges */
.kslp-badges {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.kslp-badge-top {
	display: inline-flex;
	align-items: center;
	padding: 8px 18px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1.2;
}

.kslp-badge-top.is-neutral {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #fff;
}

.kslp-badge-top.is-danger {
	background: #d7262b;
	color: #fff;
}

.kslp-badge-top.is-accent {
	background: transparent;
	border: 1px solid var(--kslp-accent);
	color: var(--kslp-accent);
}

.kslp-badge-free {
	display: inline-flex;
	align-items: center;
	padding: 8px 18px;
	border-radius: 999px;
	background: var(--kslp-accent);
	color: #123a26;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
}

.kslp-badges--free {
	margin-top: 22px;
}

/* Heading */
.kslp-hero-block__title {
	max-width: 22ch;
	margin: 26px auto 0;
	font-size: clamp(2rem, 4.6vw, 3.75rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--kslp-text);
}

.kslp-hero-block__title mark,
.kslp-hero-block__title .kslp-highlight {
	background: none;
	color: var(--kslp-accent);
}

.kslp-hero-block__desc {
	max-width: 62ch;
	margin: 26px auto 0;
	font-size: clamp(0.95rem, 1.2vw, 1.06rem);
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.8);
}

/* Price card */
.kslp-price-card {
	max-width: 900px;
	margin: 34px auto 0;
	padding: 30px 26px 26px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.03);
}

.kslp-price-card__label {
	margin: 0;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.75);
}

.kslp-price-card__price {
	margin: 14px 0 26px;
	font-size: clamp(2.25rem, 5vw, 4rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--kslp-accent);
}

.kslp-features {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.kslp-feature {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	padding: 7px 15px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	font-size: 13.5px;
	font-weight: 600;
	color: #fff;
	line-height: 1.3;
}

.kslp-feature__check {
	color: var(--kslp-accent);
	font-weight: 700;
}

/* Notice bar */
.kslp-notice {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 26px;
	padding: 16px 20px;
	border-radius: 14px;
	background: var(--kslp-accent);
	color: #123a26;
	text-align: left;
}

.kslp-notice__text {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 17px;
	font-weight: 700;
}

.kslp-notice__tag {
	padding: 7px 15px;
	border-radius: 999px;
	background: rgba(18, 58, 38, 0.12);
	font-size: 13px;
	font-weight: 600;
}

/* CTA */
.kslp-hero-block__cta {
	margin-top: 28px;
}

.kslp-cta {
	display: inline-flex;
	align-items: center;
	padding: 15px 34px;
	border-radius: 999px;
	background: var(--kslp-accent);
	color: #123a26;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none !important;
}

.kslp-cta:hover,
.kslp-cta:focus {
	color: #123a26;
	filter: brightness(1.05);
	text-decoration: none !important;
}

@media (max-width: 600px) {
	.kslp-hero-block {
		padding: 48px 18px 56px;
	}

	.kslp-notice {
		justify-content: center;
		text-align: center;
	}
}

/* Repeater item icon + text */
.kslp-item__icon {
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

.kslp-badge-top,
.kslp-badge-free,
.kslp-feature {
	gap: 7px;
}

/* Features mobile columns */
@media (max-width: 600px) {
	.kslp-features.is-mobile-cols-2,
	.kslp-features.is-mobile-cols-3 {
		display: grid;
		justify-content: stretch;
	}

	.kslp-features.is-mobile-cols-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.kslp-features.is-mobile-cols-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.kslp-features.is-mobile-cols-2 .kslp-feature,
	.kslp-features.is-mobile-cols-3 .kslp-feature {
		justify-content: center;
		text-align: center;
		font-size: 12px;
		padding: 7px 8px;
	}
}

/* CTA icon */
.kslp-cta {
	gap: 9px;
}

.kslp-cta__icon {
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

/* Badge groups: default 2 columns + centered on mobile */
@media (max-width: 600px) {
	.kslp-badges--top,
	.kslp-badges--free {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		justify-content: center;
		justify-items: center;
		gap: 8px;
	}

	.kslp-badges--top .kslp-badge-top,
	.kslp-badges--free .kslp-badge-free {
		width: 100%;
		justify-content: center;
		text-align: center;
		padding: 8px 10px;
		font-size: 11.5px;
	}

	.kslp-badges--free .kslp-badge-free {
		font-size: 13px;
	}
}

/* Bootstrap icons inherit sizing */
.kslp-item__icon.bi,
.kslp-cta__icon.bi {
	font-size: inherit;
	line-height: 1;
}
