/*
|||||||||||||||||||||||||||||||||
///   Homepage Dashboard (hp-) //
|||||||||||||||||||||||||||||||||
*/

/* ---- Global Shadow Tokens ---- */

:root {
	--hp-shadow-card: var(--shadow-xs);
	--hp-shadow-card-hover: var(--shadow-md);
	--hp-shadow-widget-hover: var(--shadow-md);
}

/* ---- Main Area ---- */

.hp-main {
	background-color: var(--page-background) !important;
	padding: 3rem 2rem !important;
	min-height: 100vh;
	max-width: var(--layout-content-max);
}

/* ---- Dashboard Grid ---- */

.hp-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

/* ---- Shared Widget Card ---- */

.hp-widget {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--hp-shadow-card);
	padding: var(--space-6);
	font-family: var(--font-sans);
	transition:
		box-shadow var(--transition-base),
		transform var(--transition-fast);
}

.hp-widget h3 {
	font-family: var(--font-sans);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--card-foreground);
	margin: 0;
}

.hp-widget p {
	font-family: var(--font-sans);
	font-size: 0.9rem;
	color: var(--muted-foreground);
	font-weight: 600;
	line-height: 1.45;
	flex: 1;
	padding-block: 1rem;
}

.hp-widget__link-text {
	font-family: var(--font-sans);
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--muted-foreground);
}

.hp-widget:hover .hp-widget__link-text {
	color: var(--foreground);
}

.hp-widget__link-text i {
	font-size: 10px;
	padding-left: 3px;
	transition: transform 0.2s;
}

/* ===========================
   BANNER (full-width hero)
   =========================== */

.hp-banner {
	grid-column: 1 / -1;
	background-color: var(--sidebar);
	border-radius: var(--radius);
	padding: 1.5rem 0 0.25rem 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	overflow: hidden;
	position: relative;
}

.hp-banner__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}

.hp-banner__label {
	display: inline-block;
	font-family: var(--font-sans);
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: var(--text-inverse-subtle);
	margin-bottom: 0.25rem;
}

.hp-banner__title {
	font-family: var(--font-sans);
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--text-inverse);
	line-height: 1.1;
	margin: 0 0 20px;
	letter-spacing: 0.5px;
}

.hp-banner__btn {
	font-family: var(--font-sans);
	font-size: 13px;
	font-weight: 700;
	color: var(--accent-foreground);
	background: var(--card);
	border-color: var(--card);
	padding: 10px 24px;
	border-radius: var(--radius);
	text-decoration: none;
	transition:
		background var(--transition-base),
		transform var(--transition-fast);
}

.hp-banner__btn:hover {
	background: var(--accent);
	border-color: var(--accent);
	transform: translateY(-1px);
	text-decoration: none;
	color: var(--accent-foreground);
}

.hp-banner__btn i {
	padding-left: 6px;
	font-size: 11px;
}

.hp-banner__visual {
	display: flex;
	gap: 24px;
	opacity: 0.15;
	font-size: 64px;
	color: var(--text-inverse);
	flex-shrink: 0;
}

/* ===========================
   STAT WIDGETS
   =========================== */

.hp-widget--stat {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 24px 28px;
	background-color: #ebeff5;
	/* Passive stats, not actions: stay flat so they don't read as clickable cards
	   like the elevated About widgets below them. */
	border: none;
	box-shadow: none;
}

.hp-widget__stat-num {
	font-family: var(--font-sans);
	font-size: 36px;
	font-weight: 700;
	color: var(--foreground);
	line-height: 1;
}

.hp-widget__stat-text {
	font-family: var(--font-sans);
	font-size: 0.9rem;
	color: var(--muted-foreground);
	font-weight: 600;
	line-height: 1.25;
	margin-top: 0.65rem;
	flex: 1;
}

.hp-widget__stat-bg {
	position: absolute;
	right: 16px;
	top: 12px;
	font-size: 52px;
	color: #445e8512;
	pointer-events: none;
	transform: none !important;
}

/* ===========================
   STATS COLUMN WRAPPER
   =========================== */

.hp-stats-col {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.hp-stats-col .hp-widget--stat {
	flex: 1;
}

/* ===========================
   DATA CATEGORY CARDS ROW
   =========================== */

.hp-cats-row {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
}

.hp-cat-card {
	display: flex;
	flex-direction: column;
	background: rgba(255, 255, 255, 0.1);
	border-radius: var(--radius);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	padding: 24px 22px 20px;
	text-decoration: none;
	transition:
		background var(--transition-base),
		border-color var(--transition-base),
		box-shadow var(--transition-base),
		transform var(--transition-fast);
}

.hp-cat-card:hover {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.24);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
	transform: translateY(-4px);
	text-decoration: none;
}

.hp-cat-card.is-linked-hover {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.24);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
	transform: translateY(-4px);
	text-decoration: none;
}

a.hp-cat-card:active {
	background: rgba(255, 255, 255, 0.1);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	transform: translateY(1px) scale(0.998);
	text-decoration: none;
}

.hp-cat-card__icon {
	width: 46px;
	height: 46px;
	border-radius: var(--radius);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	color: var(--text-inverse);
	margin-bottom: 16px;
}

.hp-cat-card__title {
	font-family: var(--font-sans);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--text-inverse);
	margin: 0 0 6px;
	letter-spacing: 0.5px;
}

.hp-cat-card__desc {
	font-family: var(--font-sans);
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.6);
	font-weight: 600;
	line-height: 1.45;
	margin: 0 0 1rem;
	flex: 1;
}

.hp-cat-card__link {
	font-family: var(--font-sans);
	font-size: 0.8rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.5);
}

.hp-cat-card__link i {
	font-size: 0.9rem;
	padding-left: 3px;
	transition: transform 0.2s;
}

.hp-cat-card:hover .hp-cat-card__link {
	color: var(--text-inverse-muted);
}

.hp-cat-card.is-linked-hover .hp-cat-card__link {
	color: var(--text-inverse-muted);
}

.hp-cat-card:hover .hp-cat-card__link i {
	transform: translateX(3px);
}

.hp-cat-card.is-linked-hover .hp-cat-card__link i {
	transform: translateX(3px);
}

a.hp-cat-card:active .hp-cat-card__link i {
	transform: translateX(0);
}

/* ===========================
   CVI SPOTLIGHT
   =========================== */

.hp-widget--spotlight {
	position: relative;
	overflow: hidden;
	grid-column: span 2;
	background-color: #ffffff;
	background-image: linear-gradient(to right, #d7e3f1 0%, #eaeff7 52%, #ffffff 100%);
	border: none;
	padding: 28px 32px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: var(--space-5);
}

/* ---- "New" corner ribbon ---- */
.hp-spotlight-ribbon {
	position: absolute;
	top: 12px;
	right: -38px;
	z-index: 3;
	transform: rotate(45deg);
	background: #e8a44a;
	color: #000;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	padding: 10px 52px;
	box-shadow: none;
}

.hp-spotlight-header {
	position: relative;
	min-width: 0;
}

/* ---- Badge Row ---- */

.hp-spotlight-badges {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
}

.hp-spotlight-badges .hp-widget__badge {
	margin-bottom: 0;
}

.hp-widget__badge.hp-badge-cat {
	background: var(--chart-4);
	color: #0b2735;
}

/* ---- 50/50 Split Row ---- */

.hp-spotlight-split {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 0.6fr 0.4fr;
	gap: 3rem;
	align-items: center;
	height: 100%;
}

/* Left narrative column spacing */
.hp-spotlight-header .hp-spotlight-btn {
	margin-top: 5px;
}

/* ---- Right score panel (card-in-card) ---- */
.hp-spotlight-panel {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 22px 0 0;
	background: transparent;
	border: none;
	box-shadow: none;
	height: 280px;
}

/* ---- Three signals combine into one score (visual equation) ---- */
.hp-spotlight-panel .hp-spotlight-body__label {
	margin-bottom: 0;
	text-align: center;
}

/* ---- Three measurements feed into one score ---- */
.hp-bqs-flow {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.hp-bqs-inputs {
	display: flex;
}

.hp-bqs-input {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
}

.hp-bqs-input i {
	font-size: 1.3rem;
	line-height: 1;
	color: var(--gray-400);
}

.hp-bqs-input span {
	font-family: var(--font-sans);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.25;
	text-align: center;
	color: var(--foreground);
}

.hp-bqs-input--down {
	--sig: var(--chart-2);
}

.hp-bqs-input--up {
	--sig: var(--chart-1);
}

.hp-bqs-input--lat {
	--sig: var(--chart-4);
}

/* converging streams feeding the score */
.hp-bqs-streams {
	display: block;
	width: 100%;
	flex: 1;
	min-height: 58px;
	margin-top: 10px;
}

.hp-bqs-streams path {
	fill: none;
	stroke: var(--gray-400);
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-dasharray: 5 7;
	vector-effect: non-scaling-stroke;
	animation: hp-bqs-flow 1s linear infinite;
}

@keyframes hp-bqs-flow {
	to {
		stroke-dashoffset: -24;
	}
}

/* score icon steadily grows and shrinks as the streams feed it */
@keyframes hp-bqs-pulse {
	0%,
	100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.14);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hp-bqs-streams path {
		animation: none;
		stroke-dasharray: none;
		opacity: 0.55;
	}

	.hp-bqs-output__node i {
		animation: none;
	}
}

/* output score node */
.hp-bqs-output {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 9px;
	margin-bottom: 15px;
	margin-top: -30px;
}

.hp-bqs-output__node {
	width: 62px;
	height: 62px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: #ffffff;
	font-size: 1.55rem;
	background: var(--chart-4);
}

.hp-bqs-output__node i {
	font-size: 2.15rem;
	color: #995d0d;
	animation: hp-bqs-pulse 1.8s ease-in-out infinite;
}

.hp-bqs-output__label {
	font-family: var(--font-sans);
	font-size: 0.9rem;
	font-weight: 700;
	color: #2c3747;
	text-align: center;
}

/* ---- Data Variables Body ---- */

.hp-spotlight-body {
	padding: 0;
}

.hp-spotlight-body__label {
	display: block;
	font-family: var(--font-sans);
	font-size: 0.675rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #757575;
	margin-bottom: 14px;
}

/* ---- Variable Checklist ---- */

.hp-spotlight-checklist {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.hp-spotlight-checklist li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-sans);
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--foreground);
}

.hp-spotlight-checklist i {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--chart-4);
	color: #0b2735;
	font-size: 0.625rem;
	flex-shrink: 0;
}

/* ---- Dashboard Button ---- */

.hp-spotlight-btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	flex-shrink: 0;
	align-self: flex-start;
	font-family: var(--font-sans);
	font-size: 0.9rem;
	font-weight: 700;
	color: #0b2735;
	background: var(--chart-4);
	padding: 13px 26px;
	border-radius: var(--radius);
	text-decoration: none;
	transition:
		background var(--transition-base),
		transform var(--transition-fast),
		box-shadow var(--transition-base);
}

.hp-spotlight-btn:hover {
	background: #d4923a;
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
	text-decoration: none;
	color: #0b2735;
}

.hp-spotlight-btn:active {
	transform: translateY(0) scale(0.998);
	box-shadow: var(--shadow-xs);
}

.hp-spotlight-btn i {
	font-size: 0.8rem;
	transition: transform var(--transition-fast);
}

.hp-spotlight-btn:hover i {
	transform: translateX(3px);
}

.hp-widget__badge {
	display: inline-block;
	width: fit-content;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--primary-foreground);
	background: var(--primary);
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	margin-bottom: 14px;
}

.hp-widget__spotlight-title {
	font-family: var(--font-sans);
	font-size: 1.75rem !important;
	font-weight: 850;
	color: var(--foreground);
	margin: 0 0 10px;
}

.hp-widget .hp-widget__spotlight-desc {
	max-width: none;
	color: #4a525d;
	padding-block-start: 0;
}

/* ---- Nested Spotlight Cards ---- */

.hp-spotlight-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-4);
	margin-top: var(--space-4);
}

.hp-spotlight-card {
	display: flex;
	align-items: center;
	gap: var(--space-4);
	padding: var(--space-5);
	background: var(--card);
	text-decoration: none;
	transition:
		box-shadow var(--transition-base),
		transform var(--transition-fast);
}

.hp-spotlight-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
	text-decoration: none;
}

a.hp-spotlight-card:active {
	box-shadow: var(--shadow-xs);
	transform: translateY(1px) scale(0.998);
	text-decoration: none;
}

.hp-spotlight-card__icon {
	width: 44px;
	height: 44px;
	border-radius: var(--radius);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: var(--text-inverse);
	flex-shrink: 0;
}

.hp-spotlight-card__body {
	flex: 1;
	min-width: 0;
}

.hp-spotlight-card__title {
	font-family: var(--font-sans);
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--card-foreground);
	margin: 0 0 var(--space-1);
}

.hp-spotlight-card__desc {
	font-family: var(--font-sans);
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--muted-foreground);
	line-height: 1.4;
	margin: 0;
	padding: 0;
}

.hp-spotlight-card__arrow {
	color: var(--muted-foreground);
	font-size: 0.75rem;
	flex-shrink: 0;
	transition:
		transform var(--transition-fast),
		color var(--transition-fast);
}

.hp-spotlight-card:hover .hp-spotlight-card__arrow {
	color: var(--primary);
	transform: translateX(3px);
}

a.hp-spotlight-card:active .hp-spotlight-card__arrow {
	transform: translateX(0);
}

.hp-widget__spotlight-links {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.hp-pill {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--accent-foreground);
	background: var(--card);
	border-color: var(--border);
	padding: 11px 20px;
}

.hp-pill:hover {
	background: var(--accent);
	border-color: var(--primary);
	text-decoration: none;
	color: var(--accent-foreground);
}

.hp-pill i {
	font-size: 12px;
}

/* ===========================
   GEO / QUICKSTART / SOURCES
   =========================== */

.hp-widget--geo,
.hp-widget--quickstart,
.hp-widget--sources {
	text-decoration: none;
	display: block;
	cursor: pointer;
	/* Condensed: these are secondary "About" tiles, so trim the vertical
	   padding to keep the trio slim beneath the primary dashboard widgets. */
	padding: 16px 20px;
}

/* Tighten the inter-element spacing inside the About tiles so the slimmer
   padding isn't undone by roomy internal gaps. */
.hp-widget--geo .hp-widget__badge,
.hp-widget--quickstart .hp-widget__badge,
.hp-widget--sources .hp-widget__badge {
	margin-bottom: 8px;
}

.hp-widget--geo p,
.hp-widget--quickstart p,
.hp-widget--sources p {
	padding-block: 0.4rem;
}

/* Match About tile tags to the About nav accent color. */
.hp-widget--geo .hp-widget__badge.badge-secondary,
.hp-widget--quickstart .hp-widget__badge.badge-secondary,
.hp-widget--sources .hp-widget__badge.badge-secondary {
	background: #8ab88a;
	color: var(--text-inverse);
}

.hp-widget--geo .hp-widget__header,
.hp-widget--quickstart .hp-widget__header,
.hp-widget--sources .hp-widget__header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}

.hp-widget--geo .hp-widget__header h3,
.hp-widget--quickstart .hp-widget__header h3,
.hp-widget--sources .hp-widget__header h3 {
	margin: 0;
}

.hp-widget--geo:hover,
.hp-widget--quickstart:hover,
.hp-widget--sources:hover {
	box-shadow: var(--hp-shadow-widget-hover);
	transform: translateY(-2px);
	text-decoration: none;
}

a.hp-widget--geo:active,
a.hp-widget--quickstart:active,
a.hp-widget--sources:active {
	box-shadow: var(--hp-shadow-card);
	transform: translateY(1px) scale(0.998);
	text-decoration: none;
}

.hp-widget__geo-icon,
.hp-widget__qs-icon,
.hp-widget__src-icon {
	width: 42px;
	height: 42px;
	border-radius: var(--radius);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: var(--muted-foreground);
	background: var(--muted);
	flex-shrink: 0;
}

/* ===========================
   POPULAR PAGES NAV
   =========================== */

.hp-widget--nav {
	padding: 24px;
}

.hp-widget__nav-title {
	font-size: 15px;
	font-weight: 700;
	color: var(--foreground);
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--border);
}

.hp-widget__nav-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.hp-widget__nav-list li {
	margin-bottom: 4px;
}

.hp-widget__nav-list a {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-sans);
	font-size: 13px;
	font-weight: 500;
	color: var(--foreground);
	text-decoration: none;
	padding: 8px 10px;
	border-radius: var(--radius);
	transition: background var(--transition-fast);
}

.hp-widget__nav-list a:hover {
	background: var(--muted);
	text-decoration: none;
	color: var(--foreground);
}

.hp-widget__nav-list a i {
	font-size: 14px;
	width: 18px;
	text-align: center;
}

/* ===========================
   PARTNERS STRIP
   =========================== */

.hp-partners-strip {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 48px;
	padding: 3rem 24px 4px;
	opacity: 0.1;
	filter: grayscale(50%);
	pointer-events: none;
}

.hp-partners-strip__logo img {
	height: auto;
	width: 225px;
	object-fit: contain;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media only screen and (max-width: 1024px) {
	.hp-main {
		padding: 18px !important;
	}

	.hp-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	/* Zero the banner's side padding so the category tiles span the full
	   content width — flush with the spotlight/about cards below. The hero
	   text keeps its inset via .hp-banner__top padding (below). */
	.hp-banner {
		padding: 32px 0;
	}

	.hp-banner__top {
		padding-left: 28px;
		padding-right: 28px;
	}

	.hp-banner__title {
		font-size: 1.9rem;
	}

	.hp-banner__visual {
		display: none;
	}

	.hp-widget--spotlight {
		grid-column: span 1;
	}

	.hp-spotlight-split {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.hp-spotlight-checklist {
		grid-template-columns: repeat(2, 1fr);
	}

	.hp-stats-col {
		grid-column: span 1;
	}

	.hp-cats-row {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media only screen and (max-width: 768px) {
	.hp-main {
		padding: 14px !important;
	}

	.hp-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	/* Row layer (see .hp-cats-row below) sits flush to the banner's lower
	   edge — drop the banner's bottom padding so no dark gap trails the rows. */
	.hp-banner {
		padding: 28px 0 0;
	}

	.hp-banner__top {
		padding-left: 0;
		padding-right: 0;
	}

	.hp-banner__title {
		font-size: 1.7rem;
	}

	/* Keep the promo widget heading a clear step below the hero H1, not above
	   it — its base 1.75rem otherwise out-sizes the shrunk hero on mobile. */
	.hp-widget__spotlight-title {
		font-size: 1.5rem !important;
	}

	.hp-widget--spotlight {
		grid-column: span 1;
		gap: var(--space-5);
	}

	.hp-spotlight-split {
		grid-template-columns: 1fr;
	}

	.hp-spotlight-btn {
		align-self: stretch;
		justify-content: center;
	}

	.hp-stats-col {
		grid-column: span 1;
		flex-direction: row;
	}

	/* The flow diagram is desktop ornamentation; the narrative + CTA carry
	   the spotlight on a phone. Hide it so the card stays compact. */
	.hp-spotlight-panel {
		display: none;
	}

	/* ---- Category cards: list rows, not a grid ----
	   One full-width row each: icon · (title over description) · chevron.
	   The four flat children are composed with grid template areas, so no
	   markup changes and the desktop column card is untouched. */
	.hp-cats-row {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.hp-cat-card {
		display: grid;
		grid-template-columns: auto 1fr auto;
		grid-template-areas:
			"icon title chevron"
			"icon desc  chevron";
		column-gap: 16px;
		row-gap: 2px;
		align-items: center;
		padding: 18px 18px;
	}

	.hp-cat-card__icon {
		grid-area: icon;
		width: 44px;
		height: 44px;
		margin-bottom: 0;
	}

	.hp-cat-card__title {
		grid-area: title;
		align-self: end;
		margin: 0;
	}

	.hp-cat-card__desc {
		grid-area: desc;
		align-self: start;
		margin: 0;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	/* The whole row is the tap target, so "Explore" is redundant — collapse
	   the link to its trailing chevron, vertically centred at the right. */
	.hp-cat-card__link {
		grid-area: chevron;
		align-self: center;
		font-size: 0;
	}

	.hp-cat-card__link i {
		font-size: 1rem;
		padding-left: 0;
	}
}

@media only screen and (max-width: 480px) {
	.hp-main {
		padding: 10px !important;
	}

	.hp-grid {
		gap: 10px;
	}

	.hp-banner {
		padding: 24px 0 0;
	}

	.hp-banner__top {
		padding-left: 0;
		padding-right: 0;
	}

	.hp-banner__title {
		font-size: 1.5rem;
	}

	.hp-widget {
		padding: 18px;
	}

	.hp-widget__spotlight-title {
		font-size: 1.3rem !important;
	}

	.hp-widget__stat-num {
		font-size: 26px;
	}

	.hp-cats-row {
		grid-template-columns: 1fr;
	}
}
