/**
 * /student-discounts/ pSEO hub (aligned with retailers hub layout).
 */

body.wpv-student-hub-page {
	overflow-x: clip;
}

body.wpv-student-hub-page #page {
	overflow-x: clip;
	max-width: 100%;
}

body.wpv-student-hub-page .site-content .content-area {
	max-width: none;
	width: 100%;
}

body.wpv-student-hub-page .inside-article.wpv-shell {
	padding-left: 0;
	padding-right: 0;
}

.wpv-student-hub-page {
	scroll-behavior: smooth;
	overflow-x: clip;
}

.wpv-student-hub {
	--wpv-student-hub-container: 1280px;
}

.wpv-student-hub-page .wpv-shell.wpv-student-hub {
	max-width: none;
	margin: 0;
	padding: 0;
}

.wpv-student-hub__container {
	max-width: var(--wpv-student-hub-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(1.25rem, 3vw, 1.5rem);
	padding-right: clamp(1.25rem, 3vw, 1.5rem);
	box-sizing: border-box;
	min-width: 0;
}

.wpv-student-hub-hero {
	width: 100%;
	padding: clamp(2rem, 5vw, 3.25rem) 0 clamp(2.25rem, 5vw, 3rem);
	text-align: center;
	background: linear-gradient(180deg, #f0f7f4 0%, #e8f5ee 48%, #f8f9fa 100%);
	border-bottom: 1px solid rgba(31, 109, 65, 0.1);
	overflow: hidden;
}

.wpv-student-hub-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.wpv-student-hub-hero .wpv-tag {
	margin: 0 0 0.85rem;
	background: rgba(31, 109, 65, 0.1);
	color: var(--wpv-cta-hover, #14532d);
	border-color: rgba(31, 109, 65, 0.22);
}

.wpv-student-hub-hero h1 {
	margin: 0 auto 1rem;
	font-size: clamp(1.85rem, 4.5vw, 2.65rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.035em;
	color: var(--wpv-primary-dark, #0d47a1);
	max-width: min(24ch, 100%);
	text-wrap: balance;
}

.wpv-student-hub-hero__lead {
	margin: 0 auto 1.25rem;
	max-width: min(44ch, 100%);
	font-size: clamp(1rem, 2.2vw, 1.08rem);
	line-height: 1.6;
	color: var(--wpv-muted, #6c757d);
}

.wpv-student-hub-hero__pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 0.65rem;
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
}

.wpv-student-hub-hero__pills li {
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--wpv-cta-hover, #14532d);
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(31, 109, 65, 0.14);
}

.wpv-student-hub-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.65rem 0.85rem;
}

.wpv-student-hub__body {
	padding: clamp(1.75rem, 4vw, 2.5rem) 0 2.5rem;
	background: var(--wpv-bg, #f8f9fa);
}

.wpv-student-hub__section-head {
	margin-bottom: 1.15rem;
	max-width: 42rem;
}

.wpv-student-hub__section-head h2 {
	margin: 0 0 0.35rem;
	font-size: 1.35rem;
	font-weight: 800;
}

.wpv-student-hub__section-lead {
	margin: 0;
	max-width: 38rem;
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--wpv-muted, #6c757d);
}

.wpv-student-hub__featured {
	margin-bottom: 2.5rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--wpv-border-soft, #e9ecef);
}

.wpv-pseo-store-grid--student-featured {
	grid-template-columns: repeat(auto-fill, minmax(112px, 140px));
	justify-content: flex-start;
	gap: 0.85rem;
}

.wpv-student-hub__deals-section {
	margin-top: 0.5rem;
}

.wpv-student-hub__deals {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.wpv-student-hub__deal-card {
	display: grid;
	grid-template-columns: minmax(140px, 200px) minmax(0, 1fr) auto;
	gap: 0.85rem 1.25rem;
	align-items: center;
	padding: 1rem 1.1rem;
	background: #fff;
	border: 1px solid var(--wpv-border-soft, #e9ecef);
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(33, 37, 41, 0.05);
}

.wpv-student-hub__deal-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	color: inherit;
	min-width: 0;
}

.wpv-student-hub__deal-mark {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wpv-student-hub__deal-store {
	font-weight: 800;
	font-size: 0.95rem;
	color: var(--wpv-text, #212529);
}

.wpv-student-hub__deal-body {
	min-width: 0;
}

.wpv-student-hub__deal-title {
	margin: 0 0 0.35rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
}

.wpv-student-hub__deal-title a {
	color: var(--wpv-text, #212529);
	text-decoration: none;
}

.wpv-student-hub__deal-title a:hover {
	color: var(--wpv-primary, #1a73e8);
	text-decoration: underline;
}

.wpv-student-hub__deal-desc {
	margin: 0 0 0.35rem;
	font-size: 0.88rem;
	line-height: 1.45;
	color: var(--wpv-muted, #6c757d);
}

.wpv-student-hub__deal-save {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem 0.65rem;
	font-size: 0.88rem;
}

.wpv-student-hub__deal-pill {
	font-size: 0.62rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.18rem 0.42rem;
	border-radius: 999px;
	background: rgba(31, 109, 65, 0.1);
	color: var(--wpv-cta-hover, #14532d);
}

.wpv-student-hub__deal-save strong {
	font-size: 0.95rem;
	color: var(--wpv-primary-dark, #0d47a1);
}

.wpv-student-hub__deal-action {
	display: flex;
	justify-content: flex-end;
}

.wpv-student-hub__deal-cta {
	min-height: 42px;
	padding: 0 1.15rem;
	font-size: 0.88rem;
	white-space: nowrap;
}

@media (max-width: 720px) {
	.wpv-student-hub__deal-card {
		grid-template-columns: 1fr;
		align-items: stretch;
	}

	.wpv-student-hub__deal-action {
		justify-content: stretch;
	}

	.wpv-student-hub__deal-cta {
		width: 100%;
	}
}
