/* ==========================================================================
   ProjecXive Pro — Homepage, Secondary Pages & Fallback Sections Styles
   ========================================================================== */

.pxt-container {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}

.pxt-kicker {
	font-family: 'Sora', sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #0b3954;
	margin: 0 0 8px;
}

.pxt-section-h2 {
	font-family: 'Sora', sans-serif;
	font-size: clamp(28px, 3.6vw, 48px);
	line-height: 1.15;
	font-weight: 700;
	color: #0b3954;
	margin: 0 0 18px;
}

.pxt-section-h3 {
	font-family: 'Sora', sans-serif;
	font-size: clamp(22px, 2.5vw, 32px);
	line-height: 1.2;
	font-weight: 700;
	color: #0b3954;
	margin: 0 0 22px;
}

.pxt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: 'Sora', sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	padding: 15px 35px;
	border-radius: 80px;
	border: none;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pxt-btn-amber {
	background-color: #ffb128;
	color: #ffffff !important;
}

.pxt-btn-amber:hover {
	background-color: #225471;
	color: #ffffff !important;
}

.pxt-btn-dark {
	background-color: #0b3954;
	color: #ffffff !important;
}

.pxt-btn-dark:hover {
	background-color: #f9f9f9;
	color: #0b3954 !important;
	box-shadow: inset 0 0 0 1px #0b3954;
}

.pxt-btn-sm {
	padding: 10px 22px;
	font-size: 13px;
}

/* Section 0: Hero Banner */
.pxt-home-hero {
	background-color: #ffffff;
	padding: 12px 0 0;
}

.pxt-hero-container {
	max-width: 1220px;
}

.pxt-hero-fallback-img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	object-fit: cover;
}

/* Section 1: Stats & 12-Category Grid */
.pxt-home-categories {
	padding: 72px 0 48px;
	background-color: #ffffff;
}

.pxt-stats-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 42px;
}

.pxt-stats-title-row {
	display: flex;
	align-items: baseline;
	gap: 14px;
	flex-wrap: wrap;
}

.pxt-counter-num {
	font-family: 'Sora', sans-serif;
	font-size: clamp(32px, 3.6vw, 48px);
	font-weight: 600;
	line-height: 1.1;
	color: #ffb128;
}

.pxt-home-h1 {
	font-family: 'Sora', sans-serif;
	font-size: clamp(32px, 3.6vw, 48px);
	font-weight: 700;
	line-height: 1.1;
	color: #0b3954;
	margin: 0;
}

.pxt-stats-counters-col {
	display: flex;
	align-items: center;
	gap: 44px;
	flex-wrap: wrap;
}

.pxt-stat-box {
	display: flex;
	align-items: center;
	gap: 12px;
}

.pxt-stat-val {
	display: block;
	font-family: 'Sora', sans-serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.1;
	color: #0b3954;
}

.pxt-stat-lbl {
	display: block;
	font-size: 14px;
	color: #5c676d;
}

.pxt-cat-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 18px;
}

.pxt-cat-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background-color: #f9f9f9;
	border-radius: 16px;
	padding: 20px 14px;
	text-decoration: none;
	transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.pxt-cat-card:hover {
	background-color: #f5f5f5;
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(11, 57, 84, 0.08);
}

.pxt-cat-card-img {
	width: 100%;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
	overflow: hidden;
}

.pxt-cat-card-img img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.pxt-cat-card-title {
	font-family: 'Sora', sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	color: #0b3954;
	margin: 0;
}

/* Section 2: Spotlight + Grid + Carousels */
.pxt-home-showcase {
	padding: 36px 0 60px;
}

.pxt-spotlight-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 48px;
	background-color: #f9f9f9;
	border-radius: 24px;
	padding: 40px 48px;
	margin-bottom: 64px;
}

.pxt-spotlight-media {
	display: flex;
	justify-content: center;
}

.pxt-spotlight-media img {
	max-height: 420px;
	width: auto;
	object-fit: contain;
}

.pxt-spotlight-desc {
	font-size: 17px;
	line-height: 1.6;
	color: #5c676d;
	margin: 0 0 24px;
}

.pxt-home-grid-block {
	margin-bottom: 64px;
}

.pxt-section-heading-center {
	text-align: center;
	margin-bottom: 32px;
}

.pxt-center-cta {
	text-align: center;
	margin-top: 32px;
}

/* Horizontal Category Carousels */
.pxt-carousel-block {
	margin-bottom: 48px;
}

.pxt-carousel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
	border-bottom: 2px solid #f5f5f5;
	padding-bottom: 10px;
}

.pxt-carousel-title {
	font-family: 'Sora', sans-serif;
	font-size: 20px;
	font-weight: 700;
	margin: 0;
}

.pxt-carousel-title a {
	color: #0b3954;
	text-decoration: none;
}

.pxt-carousel-title a:hover {
	color: #ffb128;
}

.pxt-carousel-controls {
	display: flex;
	gap: 8px;
}

.pxt-carousel-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid #d5dce0;
	background: #ffffff;
	color: #0b3954;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.pxt-carousel-btn:hover {
	background-color: #0b3954;
	color: #ffffff;
	border-color: #0b3954;
}

ul.products.pxt-carousel-track {
	display: flex !important;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 4px 2px 12px;
	margin: 0;
	list-style: none;
	scrollbar-width: thin;
}

ul.products.pxt-carousel-track > li.product {
	flex: 0 0 calc(25% - 15px);
	min-width: 240px;
	scroll-snap-align: start;
}

/* Secondary Pages, Pill Banner & Solution Fallbacks */
.pxt-page-banner {
	padding: 28px 0 12px;
}

.pxt-pill-banner {
	background-color: #233e4b;
	color: #ffffff;
	border-radius: 32px;
	padding: 36px 40px;
	text-align: center;
}

.pxt-pill-kicker {
	display: inline-block;
	font-family: 'Sora', sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: #ffb128;
	margin-bottom: 8px;
}

.pxt-pill-banner-title {
	font-family: 'Sora', sans-serif;
	font-size: clamp(26px, 3vw, 35px);
	line-height: 1.25;
	font-weight: 700;
	color: #ffffff;
	margin: 0;
}

.pxt-pill-banner-desc {
	max-width: 780px;
	margin: 12px auto 0;
	font-size: 16px;
	color: #e2e8f0;
}

.pxt-page-content-wrap,
.pxt-wc-page-wrap {
	padding-top: 28px;
	padding-bottom: 56px;
}

.pxt-solution-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-bottom: 48px;
}

.pxt-solution-card {
	background-color: #f5f5f5;
	border-radius: 16px;
	padding: 28px 24px;
	border: 1px solid #e9eef2;
}

.pxt-solution-card-title {
	font-family: 'Sora', sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: #0b3954;
	margin: 0 0 10px;
}

.pxt-solution-card-text {
	font-size: 15px;
	line-height: 1.6;
	color: #5c676d;
	margin: 0 0 14px;
}

.pxt-solution-card-link {
	font-family: 'Sora', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #ffb128;
	text-decoration: none;
}

.pxt-solution-card-link:hover {
	color: #0b3954;
}

.pxt-solution-cta-box {
	background-color: #0b3954;
	color: #ffffff;
	border-radius: 24px;
	padding: 36px 40px;
	margin-top: 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.pxt-solution-cta-box h3 {
	font-family: 'Sora', sans-serif;
	font-size: 24px;
	color: #ffffff;
	margin: 0 0 8px;
}

.pxt-solution-cta-box p {
	margin: 0;
	color: #dbe6ed;
}

.pxt-solution-cta-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

/* Posts & Search Grid */
.pxt-posts-grid,
.pxt-search-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.pxt-post-card {
	background: #f5f5f5;
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.pxt-post-card-body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.pxt-post-card-title {
	font-family: 'Sora', sans-serif;
	font-size: 18px;
	margin: 0;
}

.pxt-post-card-title a {
	color: #0b3954;
	text-decoration: none;
}

.pxt-empty-state {
	background: #f9f9f9;
	border-radius: 16px;
	padding: 48px 24px;
	text-align: center;
}

.pxt-wphtml-scope-root {
	width: 100%;
	overflow-x: hidden;
}

@media (max-width: 959px) {
	.pxt-cat-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	.pxt-spotlight-split,
	.pxt-solution-grid,
	.pxt-posts-grid,
	.pxt-search-grid {
		grid-template-columns: 1fr 1fr;
	}
	ul.products.pxt-carousel-track > li.product {
		flex: 0 0 calc(50% - 10px);
		min-width: 200px;
	}
}

@media (max-width: 767px) {
	.pxt-home-categories {
		padding: 40px 0 28px;
	}
	.pxt-cat-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
	.pxt-spotlight-split {
		grid-template-columns: 1fr;
		padding: 24px 20px;
		gap: 24px;
	}
	.pxt-solution-grid,
	.pxt-posts-grid,
	.pxt-search-grid {
		grid-template-columns: 1fr;
	}
	.pxt-pill-banner {
		padding: 24px 18px;
		border-radius: 20px;
	}
}
