.ahura-starter-home--layout-4 {
	--ah-s4-primary: var(--ahura-theme-primary, #1d67e8);
	--ah-s4-primary-dark: color-mix(in srgb, var(--ahura-theme-primary, #1d67e8) 82%, #000);
	color: #111111;
	overflow-x: hidden;
}

.ah-s4-hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 72px 20px 40px;
	max-width: 920px;
	margin: 0 auto;
}

.ah-s4-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 10px 6px 6px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid #ebebe8;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
	margin-bottom: 28px;
}

.ah-s4-badge-role {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--ah-s4-primary);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	text-transform: lowercase;
}

.ah-s4-badge-text {
	padding-inline-end: 6px;
	color: #8a8a86;
	font-size: 13px;
	font-weight: 500;
}

.ah-s4-title {
	margin: 0 0 18px;
	font-size: clamp(2.2rem, 5vw, 3.6rem);
	line-height: 1.08;
	font-weight: 700;
	letter-spacing: -0.04em;
	color: #111;
	max-width: 14ch;
}

.ah-s4-lead {
	margin: 0 0 28px;
	max-width: 42ch;
	color: #6b6b67;
	font-size: 16px;
	line-height: 1.65;
}

.ah-s4-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.ah-s4-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}

.ah-s4-btn-primary {
	background: #111;
	color: #fff;
	box-shadow: 0 8px 20px rgba(17, 17, 17, 0.18);
}

.ah-s4-btn-primary:hover {
	background: #000;
	color: #fff;
	transform: translateY(-1px);
}

.ah-s4-btn-ghost {
	background: #fff;
	color: #111;
	border: 1px solid #e4e4e0;
}

.ah-s4-btn-ghost:hover {
	border-color: #cfcfc9;
	color: #111;
}

.ah-s4-btn-arrow {
	font-size: 16px;
	line-height: 1;
}

.ah-s4-showcase {
	padding: 20px 0 10px;
}

.ah-s4-fan {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 10px 24px 28px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}

.ah-s4-card {
	flex: 0 0 auto;
	width: min(180px, 42vw);
	scroll-snap-align: center;
}

.ah-s4-card.is-center {
	width: min(280px, 68vw);
	z-index: 2;
}

.ah-s4-card-media {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 28px;
	aspect-ratio: 3 / 4;
	background: #e8e8e4;
	text-decoration: none;
	box-shadow: 0 12px 30px rgba(17, 17, 17, 0.08);
}

.ah-s4-card.is-center .ah-s4-card-media {
	aspect-ratio: 4 / 5;
}

.ah-s4-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ah-s4-card-fallback {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(145deg, #d9d9d4, #f0f0ec);
}

.ah-s4-card-label {
	position: absolute;
	left: 50%;
	bottom: 16px;
	transform: translateX(-50%);
	max-width: calc(100% - 28px);
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: #111;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.25;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ah-s4-showcase-more {
	text-align: center;
	padding-bottom: 20px;
}

.ah-s4-text-link {
	color: #6b6b67;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.ah-s4-text-link:hover {
	color: #111;
	border-bottom-color: #111;
}

.ah-s4-about {
	max-width: 640px;
	margin: 0 auto;
	padding: 56px 20px 24px;
	text-align: center;
}

.ah-s4-about-title {
	margin: 0 0 12px;
	font-size: clamp(1.5rem, 3vw, 2rem);
	line-height: 1.2;
	letter-spacing: -0.03em;
	font-weight: 700;
}

.ah-s4-about-text {
	margin: 0;
	color: #6b6b67;
	font-size: 16px;
	line-height: 1.7;
}

.ah-s4-section-title {
	margin: 0 0 24px;
	text-align: center;
	font-size: clamp(1.5rem, 3vw, 2rem);
	line-height: 1.2;
	letter-spacing: -0.03em;
	font-weight: 700;
	color: #111;
}

.ah-s4-showcase .ah-s4-section-title {
	margin-bottom: 8px;
}

.ah-s4-experience {
	/* width (not max-width): customizer.css forces max-width !important on .site-container */
	width: min(680px, calc(100% - 40px));
	margin: 0 auto;
	padding: 48px 0 24px;
}

.ah-s4-exp-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.ah-s4-exp-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	background: #fff;
	border: 1px solid #ebebe8;
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.ah-s4-exp-main {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.ah-s4-exp-logo,
.ah-s4-exp-logo img {
	display: block;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	object-fit: cover;
	flex: 0 0 auto;
}

.ah-s4-exp-text {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.ah-s4-exp-role {
	font-size: 15px;
	font-weight: 700;
	color: #111;
}

.ah-s4-exp-company {
	font-size: 13px;
	color: #8a8a86;
}

.ah-s4-exp-dates {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--ah-s4-primary);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
}

.ah-s4-reviews {
	width: min(880px, calc(100% - 40px));
	margin: 0 auto;
	padding: 48px 0 24px;
}

.ah-s4-review-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.ah-s4-review {
	margin: 0;
	padding: 26px 24px;
	background: #fff;
	border: 1px solid #ebebe8;
	border-radius: 24px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.ah-s4-review-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: var(--ah-s4-primary);
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	padding-top: 6px;
}

.ah-s4-review-quote {
	margin: 0 0 18px;
	color: #111;
	font-size: 15px;
	line-height: 1.7;
}

.ah-s4-review-meta {
	display: grid;
	gap: 2px;
	font-size: 13px;
	color: #8a8a86;
}

.ah-s4-review-meta strong {
	color: #111;
	font-size: 14px;
}

.ah-s4-cta {
	padding: 40px 20px 80px;
}

.ah-s4-cta-inner {
	max-width: 640px;
	margin: 0 auto;
	padding: 40px 28px;
	text-align: center;
	background: #fff;
	border: 1px solid #ebebe8;
	border-radius: 24px;
}

.ah-s4-cta-title {
	margin: 0 0 10px;
	font-size: clamp(1.4rem, 2.5vw, 1.85rem);
	letter-spacing: -0.03em;
	font-weight: 700;
}

.ah-s4-cta-text {
	margin: 0 0 22px;
	color: #6b6b67;
	font-size: 15px;
	line-height: 1.65;
}

@media (min-width: 900px) {
	.ah-s4-fan {
		gap: 18px;
		overflow: visible;
		padding-inline: 40px;
	}

	.ah-s4-card {
		width: 200px;
	}

	.ah-s4-card.is-center {
		width: 320px;
	}

	.ah-s4-card:not(.is-center) {
		opacity: 0.92;
	}
}

@media (max-width: 640px) {
	.ah-s4-hero {
		padding-top: 48px;
	}

	.ah-s4-review-grid {
		grid-template-columns: 1fr;
	}

	.ah-s4-exp-item {
		flex-wrap: wrap;
	}

	.ah-s4-title {
		max-width: none;
	}

	.ah-s4-card-label {
		font-size: 9px;
		padding: 8px 10px;
	}
}
