/**
 * Trending and Latest landing pages.
 * Scoped beneath .ihh-landing to protect all existing theme layouts.
 */

.ihh-landing {
	--landing-bg: #08090a;
	--landing-panel: #111315;
	--landing-panel-soft: #0d0f10;
	--landing-rule: #292b2e;
	--landing-gold: #f4b41b;
	--landing-text: #f5f3ef;
	--landing-muted: #aaa7a1;
	background: var(--landing-bg);
	color: var(--landing-text);
	min-height: 70vh;
	overflow: clip;
}

.ihh-landing *,
.ihh-landing *::before,
.ihh-landing *::after {
	box-sizing: border-box;
}

.ihh-landing a {
	color: inherit;
	text-decoration: none;
}

.ihh-landing-shell {
	width: min(1180px, calc(100% - 48px));
	margin-inline: auto;
}

.ihh-landing-hero {
	border-bottom: 1px solid var(--landing-rule);
	background:
		radial-gradient(circle at 82% 42%, rgba(244, 180, 27, .11), transparent 23%),
		linear-gradient(135deg, #101214 0%, #090a0b 70%);
	padding: clamp(54px, 7vw, 92px) 0 clamp(48px, 6vw, 76px);
}

.ihh-landing-breadcrumb {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 32px;
	color: var(--landing-muted);
	font: 600 12px/1.3 'Inter', sans-serif;
}

.ihh-landing-breadcrumb a:hover,
.ihh-landing-breadcrumb a:focus-visible {
	color: var(--landing-gold);
}

.ihh-landing-kicker,
.ihh-landing-eyebrow {
	color: var(--landing-gold);
	font: 700 11px/1.35 'IBM Plex Mono', monospace;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.ihh-landing-hero h1 {
	max-width: 900px;
	margin: 10px 0 16px;
	font: 400 clamp(54px, 8vw, 92px)/.96 'Anton', sans-serif;
	letter-spacing: .01em;
	text-transform: uppercase;
}

.ihh-landing-hero > .ihh-landing-shell > p {
	max-width: 680px;
	margin: 0;
	color: #c3c0ba;
	font: 400 17px/1.7 'Inter', sans-serif;
}

.ihh-landing-content {
	padding-block: clamp(42px, 6vw, 76px) 90px;
}

.ihh-trending-lead-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.8fr) minmax(320px, .8fr);
	gap: 24px;
	align-items: stretch;
}

.ihh-trending-lead {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr);
	min-width: 0;
	background: var(--landing-panel);
	border: 1px solid var(--landing-rule);
}

.ihh-trending-lead__media,
.ihh-landing-card__media {
	position: relative;
	display: block;
	min-width: 0;
	overflow: hidden;
	background: #050505;
}

.ihh-trending-lead__media {
	min-height: 430px;
}

.ihh-trending-lead__media img,
.ihh-landing-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .25s ease, opacity .25s ease;
}

.ihh-trending-lead:hover .ihh-trending-lead__media img,
.ihh-landing-card:hover .ihh-landing-card__media img {
	transform: scale(1.025);
	opacity: .9;
}

.ihh-trending-lead__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: clamp(24px, 3vw, 38px);
}

.ihh-trending-lead__body h2 {
	margin: 10px 0 14px;
	font: 400 clamp(34px, 3.4vw, 54px)/1 'Anton', sans-serif;
	text-transform: uppercase;
}

.ihh-trending-lead__excerpt {
	margin: 0 0 18px;
	color: #c3c0ba;
	font: 400 15px/1.65 'Inter', sans-serif;
}

.ihh-trending-lead__rank,
.ihh-landing-card__rank {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 32px;
	padding: 0 9px;
	background: var(--landing-gold);
	color: #080808;
	font: 800 14px/1 'IBM Plex Mono', monospace;
}

.ihh-landing-play {
	position: absolute;
	left: 14px;
	bottom: 14px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, .78);
	border-radius: 50%;
	background: rgba(0, 0, 0, .68);
	color: #fff;
	font-size: 13px;
}

.ihh-landing-duration {
	position: absolute;
	right: 10px;
	bottom: 10px;
	z-index: 2;
	padding: 4px 6px;
	background: rgba(0, 0, 0, .86);
	color: #fff;
	font: 700 10px/1 'IBM Plex Mono', monospace;
}

.ihh-landing-meta {
	margin: 10px 0 0;
	color: var(--landing-muted);
	font: 500 12px/1.5 'Inter', sans-serif;
}

.ihh-landing-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	align-self: flex-start;
	min-height: 46px;
	margin-top: 24px;
	padding: 0 20px;
	background: var(--landing-gold);
	color: #090909 !important;
	font: 800 12px/1 'Inter', sans-serif;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.ihh-landing-button:hover,
.ihh-landing-button:focus-visible {
	background: #ffd05a;
}

.ihh-trending-support {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
}

.ihh-landing-card {
	min-width: 0;
}

.ihh-landing-card__media {
	aspect-ratio: 16 / 9;
	border: 1px solid var(--landing-rule);
}

.ihh-landing-card__body {
	min-width: 0;
	padding-top: 13px;
}

.ihh-landing-card h2 {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	margin: 7px 0 0;
	font: 700 17px/1.3 'Inter', sans-serif;
}

.ihh-landing-card h2 a:hover,
.ihh-landing-card h2 a:focus-visible {
	color: var(--landing-gold);
}

.ihh-landing-card--compact {
	display: grid;
	grid-template-columns: 144px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	min-height: 96px;
	padding: 10px;
	border: 1px solid var(--landing-rule);
	background: var(--landing-panel-soft);
}

.ihh-landing-card--compact .ihh-landing-card__body {
	padding: 0;
}

.ihh-landing-card--compact h2 {
	font-size: 14px;
}

.ihh-landing-card--compact .ihh-landing-eyebrow {
	font-size: 9px;
}

.ihh-landing-card--compact .ihh-landing-meta {
	margin-top: 6px;
	font-size: 10px;
}

.ihh-landing-card--compact .ihh-landing-card__rank {
	top: 5px;
	left: 5px;
	min-width: 30px;
	height: 24px;
	font-size: 11px;
}

.ihh-landing-card--compact .ihh-landing-play {
	left: 8px;
	bottom: 8px;
	width: 28px;
	height: 28px;
	font-size: 10px;
}

.ihh-landing-section {
	margin-top: clamp(58px, 7vw, 88px);
}

.ihh-landing-section__head {
	margin-bottom: 24px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--landing-rule);
}

.ihh-landing-section__head h2 {
	margin: 5px 0 0;
	font: 400 clamp(30px, 4vw, 44px)/1 'Anton', sans-serif;
	text-transform: uppercase;
}

.ihh-landing-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 36px 22px;
}

.ihh-latest-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
}

.ihh-latest-categories a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0 14px;
	border: 1px solid #3a3c3f;
	color: #d9d6d0;
	font: 700 11px/1 'Inter', sans-serif;
}

.ihh-latest-categories a:hover,
.ihh-latest-categories a:focus-visible {
	border-color: var(--landing-gold);
	color: var(--landing-gold);
}

.ihh-landing-empty {
	margin: 0;
	padding: 36px;
	border: 1px solid var(--landing-rule);
	background: var(--landing-panel);
	color: var(--landing-muted);
	font: 500 15px/1.6 'Inter', sans-serif;
}

.ihh-landing-pagination {
	margin-top: 56px;
}

.ihh-landing-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ihh-landing-pagination a,
.ihh-landing-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	padding: 0 13px;
	border: 1px solid var(--landing-rule);
	color: var(--landing-text);
	font: 700 12px/1 'Inter', sans-serif;
}

.ihh-landing-pagination .current,
.ihh-landing-pagination a:hover,
.ihh-landing-pagination a:focus-visible {
	border-color: var(--landing-gold);
	background: var(--landing-gold);
	color: #090909;
}

@media (max-width: 900px) {
	.ihh-trending-lead-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.ihh-trending-support {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ihh-landing-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.ihh-landing-shell {
		width: min(100% - 32px, 1180px);
	}

	.ihh-landing-hero {
		padding-block: 38px 42px;
	}

	.ihh-landing-breadcrumb {
		margin-bottom: 24px;
	}

	.ihh-landing-hero h1 {
		font-size: clamp(48px, 15vw, 64px);
	}

	.ihh-landing-hero > .ihh-landing-shell > p {
		font-size: 15px;
	}

	.ihh-trending-lead {
		grid-template-columns: minmax(0, 1fr);
	}

	.ihh-trending-lead__media {
		min-height: 0;
		aspect-ratio: 16 / 9;
	}

	.ihh-trending-lead__body {
		padding: 24px 20px 28px;
	}

	.ihh-trending-lead__body h2 {
		font-size: 36px;
	}

	.ihh-trending-support,
	.ihh-landing-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.ihh-landing-card,
	.ihh-landing-card--compact {
		display: grid;
		grid-template-columns: 112px minmax(0, 1fr);
		gap: 14px;
		align-items: center;
		min-height: 72px;
		padding: 8px 0;
		border-width: 0 0 1px;
		border-style: solid;
		border-color: var(--landing-rule);
		background: transparent;
	}

	.ihh-landing-card__media {
		width: 112px;
		aspect-ratio: 16 / 9;
	}

	.ihh-landing-card__body,
	.ihh-landing-card--compact .ihh-landing-card__body {
		padding: 0;
	}

	.ihh-landing-card h2,
	.ihh-landing-card--compact h2 {
		font-size: 14px;
		-webkit-line-clamp: 3;
	}

	.ihh-landing-card .ihh-landing-eyebrow {
		font-size: 9px;
	}

	.ihh-landing-card .ihh-landing-meta {
		margin-top: 5px;
		font-size: 10px;
	}

	.ihh-landing-card__rank {
		top: 4px;
		left: 4px;
		min-width: 28px;
		height: 22px;
		font-size: 10px;
	}

	.ihh-landing-play {
		left: 6px;
		bottom: 6px;
		width: 26px;
		height: 26px;
		font-size: 9px;
	}

	.ihh-landing-duration {
		right: 4px;
		bottom: 4px;
		padding: 3px 4px;
		font-size: 8px;
	}

	.ihh-landing-section {
		margin-top: 54px;
	}

	.ihh-landing-pagination {
		margin-top: 40px;
	}
}

