.ahura-starter-home {
	color: #101828;
}

.ah-starter-hero {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 40px;
	align-items: end;
	padding-top: 56px;
	padding-bottom: 52px;
}

.ah-starter-hero-title {
	margin: 0 0 12px;
	font-size: clamp(2rem, 4vw, 3.2rem);
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: -0.03em;
}

.ah-starter-hero-text {
	margin: 0;
	max-width: 36ch;
	color: #667085;
	font-size: 16px;
	line-height: 1.6;
}

.ah-starter-search {
	width: 100%;
}

.ah-starter-search-field {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 56px;
	padding: 6px 6px 6px 16px;
	border: 1px solid #e4e7ec;
	border-radius: 16px;
	background: #fff;
	box-shadow:
		0 1px 2px rgba(16, 24, 40, 0.04),
		0 12px 28px rgba(16, 24, 40, 0.06);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rtl .ah-starter-search-field {
	padding: 6px 16px 6px 6px;
}

.ah-starter-search-field:focus-within {
	border-color: #98a2b3;
	box-shadow:
		0 1px 2px rgba(16, 24, 40, 0.04),
		0 16px 36px rgba(16, 24, 40, 0.1);
}

.ah-starter-search-icon {
	display: inline-flex;
	flex-shrink: 0;
	color: #98a2b3;
	line-height: 0;
}

.ah-starter-search-icon svg,
.ah-starter-search-icon img {
	width: 20px;
	height: 20px;
}

.ah-starter-search-field input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #101828;
	font-size: 15px;
	outline: none;
	box-shadow: none;
	-webkit-appearance: none;
}

.ah-starter-search-field input[type="search"]::placeholder {
	color: #98a2b3;
}

.ah-starter-search-field input[type="search"]::-webkit-search-decoration,
.ah-starter-search-field input[type="search"]::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.ah-starter-search-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	padding: 0 18px;
	border: 0;
	border-radius: 12px;
	background: #101828;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.2s ease, transform 0.15s ease;
}

.ah-starter-search-btn:hover {
	background: #1d2939;
}

.ah-starter-search-btn:active {
	transform: scale(0.98);
}

.ah-starter-search-btn-icon {
	display: inline-flex;
	line-height: 0;
}

.ah-starter-search-btn-icon svg,
.ah-starter-search-btn-icon img {
	width: 16px;
	height: 16px;
}

.ah-starter-search-btn-icon svg path,
.ah-starter-search-btn-icon svg [stroke] {
	stroke: currentColor;
}

.ah-starter-search-btn-icon svg [fill]:not([fill="none"]) {
	fill: currentColor;
}

.ah-starter-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	padding-bottom: 32px;
	border-bottom: 1px solid #eceef2;
	margin-bottom: 35px;
}

.ah-starter-cats a {
	color: #667085;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	padding-bottom: 10px;
	border-bottom: 2px solid transparent;
}

.ah-starter-cats a.is-active,
.ah-starter-cats a:hover {
	color: #101828;
	border-bottom-color: #101828;
}

.ah-starter-posts {
	padding-top: 8px;
}

.ah-starter-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 36px 24px;
}

.ah-starter-post-thumb {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 14px;
	aspect-ratio: 16 / 10;
	background: #f2f4f7;
	margin-bottom: 16px;
}

.ah-starter-post-thumb img,
.ah-starter-post-thumb-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ah-starter-post-thumb-fallback {
	background: linear-gradient(135deg, #e4e7ec, #f2f4f7 55%, #d0d5dd);
}

.ah-starter-post-meta {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	padding: 28px 14px 12px;
	background: linear-gradient(transparent, rgba(16, 24, 40, .72));
	color: #fff;
	font-size: 12px;
}

.ah-starter-post-cat {
	margin-inline-start: auto;
	opacity: .95;
}

.ah-starter-post-title {
	margin: 0 0 8px;
	font-size: 1.15rem;
	line-height: 1.35;
}

.ah-starter-post-title a {
	color: #101828;
	text-decoration: none;
}

.ah-starter-post-excerpt {
	margin: 0 0 12px;
	color: #667085;
	font-size: 15px;
	line-height: 1.6;
}

.ah-starter-post-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #101828;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
}

.ah-starter-post-more-icon {
	display: inline-flex;
	line-height: 0;
}

.ah-starter-post-more-icon svg,
.ah-starter-post-more-icon img {
	width: 16px;
	height: 16px;
}

.ah-starter-post-more-icon svg path,
.ah-starter-post-more-icon svg [stroke] {
	stroke: currentColor;
}

.ah-starter-post-more-icon svg [fill]:not([fill="none"]) {
	fill: currentColor;
}

.ah-starter-load-more-wrap {
	display: flex;
	justify-content: center;
	padding: 40px 0 20px;
}

.ah-starter-load-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 22px;
	border-radius: 999px;
	background: #101828;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
}

.ah-starter-cta {
	margin-top: 48px;
	margin-bottom: 48px;
	padding: 0;
	background: transparent;
}

.ah-starter-cta-inner {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 56px 40px;
	box-sizing: border-box;
	background: #0c111d;
	color: #fff;
	border-radius: 24px; /* match footer-3 card */
	text-align: center;
}

.ah-starter-cta h2 {
	margin: 0 auto 10px;
	max-width: 28ch;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	letter-spacing: -0.02em;
}

.ah-starter-cta p {
	margin: 0 auto 28px;
	max-width: 42ch;
	color: #98a2b3;
}

.ah-starter-cta-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

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

.ah-starter-cta-btn:active {
	transform: scale(0.98);
}

.ah-starter-cta-btn-primary {
	background: #fff;
	color: #0c111d;
}

.ah-starter-cta-btn-primary:hover {
	background: #f2f4f7;
	color: #0c111d;
}

.ah-starter-cta-btn-secondary {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.28);
}

.ah-starter-cta-btn-secondary:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.45);
	color: #fff;
}

.ah-starter-cta-btn-icon {
	display: inline-flex;
	line-height: 0;
}

.ah-starter-cta-btn-icon svg,
.ah-starter-cta-btn-icon img {
	width: 16px;
	height: 16px;
}

.ah-starter-cta-btn-icon svg path,
.ah-starter-cta-btn-icon svg [stroke] {
	stroke: currentColor;
}

.ah-starter-cta-btn-icon svg [fill]:not([fill="none"]) {
	fill: currentColor;
}

.ah-starter-empty {
	color: #667085;
	text-align: center;
	padding: 40px 0;
}

@media (max-width: 1024px) {
	.ah-starter-posts-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 797.98px) {
	.ah-starter-hero {
		grid-template-columns: 1fr;
		padding-top: 36px;
		padding-bottom: 40px;
	}
	.ah-starter-cats {
		margin-bottom: 40px;
	}
	.ah-starter-posts-grid {
		grid-template-columns: 1fr;
	}
	.ah-starter-search-field {
		flex-wrap: wrap;
		padding: 12px;
	}
	.ah-starter-search-field input[type="search"] {
		flex: 1 1 calc(100% - 36px);
	}
	.ah-starter-search-btn {
		width: 100%;
	}
	.ah-starter-cta-actions {
		flex-direction: column;
		align-items: stretch;
	}
	.ah-starter-cta-btn {
		width: 100%;
	}
	.ah-starter-cta-inner {
		padding: 40px 20px;
		border-radius: 24px;
	}
}
