/*
Theme Name: homepagedaily
Author: Arden Vale Studio
Description: A classic PHP WordPress theme with dynamic categories, editable colors, editable intro copy, and a dark SaaS-inspired editorial layout.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: hpd-theme
*/

:root {
	--hpd-bg: #030303;
	--hpd-bg-soft: #070809;
	--hpd-surface: #0d0f10;
	--hpd-surface-strong: #151718;
	--hpd-text: #f6f7f1;
	--hpd-muted: #a7aca4;
	--hpd-border: rgba(255, 255, 255, 0.12);
	--hpd-border-strong: rgba(255, 255, 255, 0.2);
	--hpd-accent: #c7ff00;
	--hpd-accent-ink: #071000;
	--hpd-font-body: "Inter", "Inter Placeholder", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--hpd-font-heading: "Inter", "Inter Placeholder", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--hpd-radius-sm: 12px;
	--hpd-radius-md: 18px;
	--hpd-radius-lg: 28px;
	--hpd-container: 1180px;
	--hpd-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

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

html {
	scroll-behavior: smooth;
}

body.hpd-site-body {
	margin: 0;
	background:
		radial-gradient(circle at 50% -12%, rgba(199, 255, 0, 0.12), transparent 32rem),
		radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08), transparent 22rem),
		var(--hpd-bg);
	color: var(--hpd-text);
	font-family: var(--hpd-font-body);
	font-size: 16px;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover,
a:focus-visible {
	color: var(--hpd-accent);
}

button,
input,
textarea,
select {
	font: inherit;
}

.hpd-screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.hpd-skip-link {
	position: absolute;
	left: 16px;
	top: -80px;
	z-index: 999;
	padding: 10px 14px;
	border-radius: 999px;
	background: var(--hpd-accent);
	color: var(--hpd-accent-ink);
	font-weight: 700;
	transition: top 0.2s ease;
}

.hpd-skip-link:focus {
	top: 16px;
}

.hpd-site-header {
	position: sticky;
	top: 0;
	z-index: 80;
	padding: 14px 16px;
	background: linear-gradient(180deg, rgba(3, 3, 3, 0.92), rgba(3, 3, 3, 0.68));
	backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hpd-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	max-width: var(--hpd-container);
	margin: 0 auto;
}

.hpd-brand {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.hpd-brand-mark {
	display: grid;
	place-items: center;
	width: 42px;
	min-width: 42px;
}

.hpd-brand-image {
	width: 34px;
	height: 34px;
	object-fit: contain;
}

.hpd-brand-caption {
	display: block;
	margin-top: 2px;
	color: var(--hpd-muted);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
}

.hpd-brand-title {
	display: block;
	max-width: 220px;
	overflow: hidden;
	color: var(--hpd-text);
	font-family: var(--hpd-font-heading);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.05;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hpd-brand-tagline {
	display: block;
	max-width: 240px;
	overflow: hidden;
	color: var(--hpd-muted);
	font-size: 12px;
	line-height: 1.2;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hpd-desktop-nav {
	display: none;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

.hpd-category-list,
.hpd-primary-menu {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.hpd-category-list a,
.hpd-primary-menu a,
.hpd-category-empty {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	padding: 8px 12px;
	border: 1px solid transparent;
	border-radius: 999px;
	color: rgba(246, 247, 241, 0.78);
	font-size: 13px;
	font-weight: 650;
	line-height: 1;
	transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.hpd-category-list a:hover,
.hpd-category-list a:focus-visible,
.hpd-primary-menu a:hover,
.hpd-primary-menu a:focus-visible {
	border-color: var(--hpd-border);
	background: rgba(255, 255, 255, 0.06);
	color: var(--hpd-text);
}

.hpd-primary-menu .current-menu-item > a,
.hpd-primary-menu .current-menu-ancestor > a {
	border-color: var(--hpd-border);
	background: rgba(255, 255, 255, 0.06);
	color: var(--hpd-text);
}

.hpd-primary-menu .menu-item-has-children {
	position: relative;
}

.hpd-primary-menu .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	z-index: 120;
	display: grid;
	min-width: 210px;
	gap: 6px;
	padding: 10px;
	margin: 0;
	list-style: none;
	border: 1px solid var(--hpd-border);
	border-radius: var(--hpd-radius-md);
	background: rgba(10, 11, 11, 0.98);
	box-shadow: var(--hpd-shadow);
	opacity: 0;
	pointer-events: none;
	transform: translateY(-6px);
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.hpd-primary-menu .menu-item-has-children:hover > .sub-menu,
.hpd-primary-menu .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.hpd-primary-menu .sub-menu a {
	justify-content: flex-start;
	width: 100%;
	border-color: transparent;
}

.hpd-category-count {
	display: inline-grid;
	place-items: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--hpd-muted);
	font-size: 10px;
	font-weight: 800;
}

.hpd-header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.hpd-header-search {
	display: none;
	align-items: center;
	gap: 8px;
	padding: 4px 4px 4px 12px;
	border: 1px solid var(--hpd-border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
}

.hpd-search-field {
	width: 118px;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--hpd-text);
	font-size: 13px;
}

.hpd-search-field::placeholder {
	color: var(--hpd-muted);
}

.hpd-icon-button,
.hpd-menu-toggle {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--hpd-border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--hpd-text);
	cursor: pointer;
	transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.hpd-icon-button:hover,
.hpd-menu-toggle:hover,
.hpd-icon-button:focus-visible,
.hpd-menu-toggle:focus-visible {
	border-color: var(--hpd-accent);
	background: rgba(199, 255, 0, 0.12);
	transform: translateY(-1px);
}

.hpd-mobile-panel {
	max-width: var(--hpd-container);
	margin: 12px auto 0;
	padding: 14px;
	border: 1px solid var(--hpd-border);
	border-radius: var(--hpd-radius-md);
	background: rgba(10, 11, 11, 0.96);
	box-shadow: var(--hpd-shadow);
}

.hpd-mobile-panel[hidden] {
	display: none;
}

.hpd-mobile-panel .hpd-category-list,
.hpd-mobile-panel .hpd-primary-menu {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
}

.hpd-mobile-panel .hpd-category-list a,
.hpd-mobile-panel .hpd-primary-menu a,
.hpd-mobile-panel .hpd-category-empty {
	justify-content: space-between;
	width: 100%;
	min-height: 46px;
	border-color: var(--hpd-border);
	background: rgba(255, 255, 255, 0.04);
}

.hpd-mobile-panel .hpd-primary-menu .sub-menu {
	position: static;
	display: grid;
	gap: 8px;
	min-width: 0;
	padding: 8px 0 0 16px;
	border: 0;
	background: transparent;
	box-shadow: none;
	opacity: 1;
	pointer-events: auto;
	transform: none;
}

.hpd-mobile-panel .hpd-primary-menu .sub-menu a {
	min-height: 40px;
}

.hpd-main {
	min-height: 60vh;
}

.hpd-hero {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 650px;
	padding: 112px 18px 70px;
	overflow: hidden;
	background: #020202;
	isolation: isolate;
}

.hpd-hero::before {
	position: absolute;
	inset: 0;
	z-index: -3;
	background:
		var(--hpd-hero-image, none) center top / cover no-repeat,
		radial-gradient(ellipse at 50% 28%, rgba(255, 255, 255, 0.36) 0, rgba(255, 255, 255, 0.16) 18%, transparent 46%),
		radial-gradient(circle at 50% 42%, rgba(199, 255, 0, 0.12), transparent 17rem),
		#020202;
	content: "";
	filter: saturate(0.65) contrast(1.12);
	opacity: 0.72;
}

.hpd-hero::after {
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		linear-gradient(180deg, rgba(3, 3, 3, 0.45), rgba(3, 3, 3, 0.12) 34%, rgba(3, 3, 3, 0.76) 76%, var(--hpd-bg)),
		radial-gradient(circle at 50% 24%, transparent 0, transparent 15rem, rgba(3, 3, 3, 0.64) 30rem);
	content: "";
}

.hpd-hero-stars {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		radial-gradient(circle, rgba(255, 255, 255, 0.74) 1px, transparent 1px),
		radial-gradient(circle, rgba(199, 255, 0, 0.58) 1px, transparent 1px);
	background-position: 0 0, 34px 46px;
	background-size: 120px 120px, 170px 170px;
	opacity: 0.26;
}

.hpd-hero-inner {
	width: min(100%, 960px);
	margin: 0 auto;
	text-align: center;
}

.hpd-kicker {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	max-width: 100%;
	padding: 7px 12px;
	border: 1px solid var(--hpd-border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	color: rgba(246, 247, 241, 0.78);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}

.hpd-kicker-dot {
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: var(--hpd-accent);
	box-shadow: 0 0 18px rgba(199, 255, 0, 0.8);
}

.hpd-hero-title {
	max-width: 850px;
	margin: 22px auto 0;
	color: var(--hpd-text);
	font-family: var(--hpd-font-heading);
	font-size: clamp(42px, 9vw, 92px);
	font-weight: 850;
	letter-spacing: 0;
	line-height: 0.95;
}

.hpd-hero-copy {
	max-width: 660px;
	margin: 22px auto 0;
	color: rgba(246, 247, 241, 0.72);
	font-size: clamp(16px, 2.8vw, 18px);
	line-height: 1.7;
}

.hpd-hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 28px;
}

.hpd-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 48px;
	padding: 13px 20px;
	border: 1px solid var(--hpd-border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--hpd-text);
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.hpd-button:hover,
.hpd-button:focus-visible {
	transform: translateY(-2px);
}

.hpd-button-primary {
	border-color: var(--hpd-accent);
	background: var(--hpd-accent);
	color: var(--hpd-accent-ink);
}

.hpd-button-secondary {
	background: #f6f7f1;
	color: #050505;
}

.hpd-section {
	padding: 68px 18px;
}

.hpd-section-compact {
	padding-top: 34px;
}

.hpd-container {
	width: min(100%, var(--hpd-container));
	margin: 0 auto;
}

.hpd-section-head {
	display: grid;
	gap: 12px;
	max-width: 760px;
	margin-bottom: 28px;
}

.hpd-section-label {
	display: inline-flex;
	width: fit-content;
	align-items: center;
	gap: 8px;
	color: var(--hpd-accent);
	font-size: 12px;
	font-weight: 850;
	letter-spacing: 0;
	text-transform: uppercase;
}

.hpd-section-title {
	margin: 0;
	color: var(--hpd-text);
	font-family: var(--hpd-font-heading);
	font-size: clamp(30px, 6vw, 56px);
	font-weight: 840;
	letter-spacing: 0;
	line-height: 1;
}

.hpd-section-copy {
	margin: 0;
	color: var(--hpd-muted);
	font-size: 16px;
	line-height: 1.75;
}

.hpd-marquee {
	overflow: hidden;
	border-block: 1px solid var(--hpd-border);
	background: rgba(255, 255, 255, 0.03);
}

.hpd-marquee-track {
	display: flex;
	width: max-content;
	gap: 10px;
	padding: 18px 0;
	animation: hpd-marquee-move 32s linear infinite;
}

.hpd-marquee:hover .hpd-marquee-track {
	animation-play-state: paused;
}

.hpd-marquee-item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: max-content;
	padding: 12px 18px;
	border: 1px solid var(--hpd-border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	color: rgba(246, 247, 241, 0.7);
	font-size: 14px;
	font-weight: 750;
}

.hpd-marquee-mark {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--hpd-accent);
}

@keyframes hpd-marquee-move {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

.hpd-post-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.hpd-post-card {
	position: relative;
	display: grid;
	min-height: 100%;
	overflow: hidden;
	border: 1px solid var(--hpd-border);
	border-radius: var(--hpd-radius-lg);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
		var(--hpd-surface);
	box-shadow: 0 16px 50px rgba(0, 0, 0, 0.26);
}

.hpd-post-card:hover .hpd-post-image img,
.hpd-post-card:focus-within .hpd-post-image img {
	transform: scale(1.045);
}

.hpd-post-image {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background:
		radial-gradient(circle at 50% 35%, rgba(199, 255, 0, 0.2), transparent 12rem),
		linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.hpd-post-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.88) contrast(1.05);
	transition: transform 0.35s ease;
}

.hpd-post-image-fallback {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: rgba(246, 247, 241, 0.5);
}

.hpd-post-image-fallback::before {
	width: min(54%, 150px);
	aspect-ratio: 1;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	background:
		radial-gradient(circle at 38% 32%, rgba(199, 255, 0, 0.38), transparent 25%),
		radial-gradient(circle at 58% 58%, rgba(255, 255, 255, 0.18), transparent 40%),
		rgba(255, 255, 255, 0.04);
	content: "";
}

.hpd-post-content {
	display: grid;
	gap: 14px;
	padding: 22px;
}

.hpd-post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	color: var(--hpd-muted);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}

.hpd-post-meta a {
	color: rgba(246, 247, 241, 0.74);
}

.hpd-post-meta-dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: rgba(246, 247, 241, 0.34);
}

.hpd-post-title {
	margin: 0;
	color: var(--hpd-text);
	font-family: var(--hpd-font-heading);
	font-size: clamp(21px, 3vw, 28px);
	font-weight: 820;
	letter-spacing: 0;
	line-height: 1.12;
}

.hpd-post-title a {
	display: inline;
}

.hpd-post-excerpt {
	margin: 0;
	color: var(--hpd-muted);
	font-size: 15px;
	line-height: 1.7;
}

.hpd-post-link {
	display: inline-flex;
	width: fit-content;
	align-items: center;
	gap: 8px;
	color: var(--hpd-accent);
	font-size: 13px;
	font-weight: 850;
	line-height: 1;
}

.hpd-post-link svg {
	transition: transform 0.18s ease;
}

.hpd-post-link:hover svg,
.hpd-post-link:focus-visible svg {
	transform: translateX(3px);
}

.hpd-feature-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
}

.hpd-spotlight {
	display: grid;
	overflow: hidden;
	border: 1px solid var(--hpd-border);
	border-radius: var(--hpd-radius-lg);
	background:
		radial-gradient(circle at 75% 15%, rgba(199, 255, 0, 0.12), transparent 18rem),
		var(--hpd-surface);
}

.hpd-spotlight-media {
	aspect-ratio: 16 / 9;
	background: rgba(255, 255, 255, 0.04);
}

.hpd-spotlight-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.85) contrast(1.08);
}

.hpd-spotlight-body {
	display: grid;
	align-content: center;
	gap: 18px;
	padding: clamp(24px, 5vw, 44px);
}

.hpd-stat-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}

.hpd-stat-card,
.hpd-category-card,
.hpd-widget-wrap {
	border: 1px solid var(--hpd-border);
	border-radius: var(--hpd-radius-lg);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
		var(--hpd-surface);
}

.hpd-stat-card {
	display: grid;
	gap: 8px;
	padding: 24px;
}

.hpd-stat-number {
	color: var(--hpd-text);
	font-family: var(--hpd-font-heading);
	font-size: 48px;
	font-weight: 860;
	letter-spacing: 0;
	line-height: 0.95;
}

.hpd-stat-label {
	color: var(--hpd-muted);
	font-size: 13px;
	font-weight: 760;
	line-height: 1.35;
}

.hpd-category-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}

.hpd-category-card {
	display: grid;
	gap: 12px;
	padding: 22px;
	transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.hpd-category-card:hover,
.hpd-category-card:focus-visible {
	border-color: var(--hpd-accent);
	background: rgba(199, 255, 0, 0.07);
	transform: translateY(-2px);
}

.hpd-category-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.hpd-category-card-name {
	margin: 0;
	color: var(--hpd-text);
	font-family: var(--hpd-font-heading);
	font-size: 20px;
	font-weight: 820;
	line-height: 1.1;
}

.hpd-category-card-count {
	display: inline-grid;
	place-items: center;
	min-width: 36px;
	height: 36px;
	padding: 0 8px;
	border: 1px solid var(--hpd-border);
	border-radius: 50%;
	color: var(--hpd-accent);
	font-size: 13px;
	font-weight: 850;
}

.hpd-category-card-copy {
	margin: 0;
	color: var(--hpd-muted);
	font-size: 14px;
	line-height: 1.6;
}

.hpd-trail-list {
	display: grid;
	gap: 10px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.hpd-trail-item {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	padding: 18px 0;
	border-bottom: 1px solid var(--hpd-border);
}

.hpd-trail-item:first-child {
	border-top: 1px solid var(--hpd-border);
}

.hpd-trail-title {
	margin: 0;
	font-family: var(--hpd-font-heading);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
}

.hpd-trail-date {
	color: var(--hpd-muted);
	font-size: 13px;
	font-weight: 700;
}

.hpd-widget-wrap {
	padding: clamp(20px, 4vw, 36px);
}

.hpd-widget-wrap > * + * {
	margin-top: 16px;
}

.hpd-archive-header {
	padding: 92px 18px 34px;
	text-align: center;
}

.hpd-archive-title {
	margin: 0;
	font-family: var(--hpd-font-heading);
	font-size: clamp(36px, 8vw, 72px);
	font-weight: 850;
	letter-spacing: 0;
	line-height: 0.98;
}

.hpd-pagination {
	margin-top: 36px;
	color: var(--hpd-muted);
}

.hpd-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.hpd-pagination a,
.hpd-pagination span {
	display: inline-grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--hpd-border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
}

.hpd-pagination .current {
	border-color: var(--hpd-accent);
	background: var(--hpd-accent);
	color: var(--hpd-accent-ink);
	font-weight: 850;
}

.hpd-empty {
	display: grid;
	gap: 12px;
	padding: 36px;
	border: 1px solid var(--hpd-border);
	border-radius: var(--hpd-radius-lg);
	background: var(--hpd-surface);
	text-align: center;
}

.hpd-empty-title {
	margin: 0;
	font-family: var(--hpd-font-heading);
	font-size: 28px;
	line-height: 1.1;
}

.hpd-empty-copy {
	margin: 0;
	color: var(--hpd-muted);
}

.hpd-single-shell {
	padding: 104px 18px 72px;
}

.hpd-single {
	width: min(100%, 860px);
	margin: 0 auto;
}

.hpd-single-header {
	display: grid;
	gap: 18px;
	padding-bottom: 34px;
	border-bottom: 1px solid var(--hpd-border);
	text-align: center;
}

.hpd-single-title {
	margin: 0;
	font-family: var(--hpd-font-heading);
	font-size: clamp(38px, 8vw, 76px);
	font-weight: 850;
	letter-spacing: 0;
	line-height: 0.98;
}

.hpd-single-content {
	padding-top: 34px;
	color: rgba(246, 247, 241, 0.88);
	font-size: 18px;
	line-height: 1.85;
}

.hpd-single-content > * {
	margin-top: 0;
	margin-bottom: 1.25em;
}

.hpd-single-content h2,
.hpd-single-content h3,
.hpd-single-content h4 {
	color: var(--hpd-text);
	font-family: var(--hpd-font-heading);
	letter-spacing: 0;
	line-height: 1.12;
}

.hpd-single-content a {
	color: var(--hpd-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hpd-single-content img {
	border-radius: var(--hpd-radius-md);
}

.hpd-single-content blockquote {
	margin-inline: 0;
	padding: 20px 24px;
	border-left: 3px solid var(--hpd-accent);
	border-radius: var(--hpd-radius-sm);
	background: rgba(255, 255, 255, 0.05);
	color: var(--hpd-text);
}

.hpd-post-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 30px;
}

.hpd-post-tags a {
	display: inline-flex;
	padding: 8px 12px;
	border: 1px solid var(--hpd-border);
	border-radius: 999px;
	color: var(--hpd-muted);
	font-size: 13px;
	font-weight: 700;
}

.hpd-post-nav {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin-top: 44px;
}

.hpd-post-nav a {
	display: grid;
	gap: 6px;
	padding: 18px;
	border: 1px solid var(--hpd-border);
	border-radius: var(--hpd-radius-md);
	background: rgba(255, 255, 255, 0.04);
}

.hpd-post-nav span {
	color: var(--hpd-muted);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.hpd-comments {
	margin-top: 48px;
	padding-top: 28px;
	border-top: 1px solid var(--hpd-border);
}

.hpd-site-footer {
	padding: 62px 18px 26px;
	border-top: 1px solid var(--hpd-border);
	background:
		radial-gradient(circle at 50% 0%, rgba(199, 255, 0, 0.1), transparent 24rem),
		var(--hpd-bg-soft);
}

.hpd-footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
}

.hpd-footer-title {
	margin: 0 0 12px;
	font-family: var(--hpd-font-heading);
	font-size: 18px;
	font-weight: 820;
	line-height: 1.1;
}

.hpd-footer-copy {
	max-width: 420px;
	margin: 12px 0 0;
	color: var(--hpd-muted);
	font-size: 14px;
	line-height: 1.7;
}

.hpd-footer-nav .hpd-category-list {
	align-items: flex-start;
	flex-direction: column;
	gap: 6px;
}

.hpd-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 26px;
	margin-top: 36px;
	border-top: 1px solid var(--hpd-border);
	color: var(--hpd-muted);
	font-size: 13px;
}

.hpd-footer-top-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--hpd-text);
	font-weight: 800;
}

@media (min-width: 640px) {
	.hpd-post-grid,
	.hpd-category-grid,
	.hpd-stat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hpd-trail-item {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
	}

	.hpd-post-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 900px) {
	.hpd-desktop-nav {
		display: flex;
	}

	.hpd-menu-toggle {
		display: none;
	}

	.hpd-header-search {
		display: flex;
	}

	.hpd-hero {
		min-height: 780px;
		padding-top: 136px;
	}

	.hpd-post-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.hpd-post-grid .hpd-post-card:first-child {
		grid-column: span 2;
	}

	.hpd-post-grid .hpd-post-card:first-child .hpd-post-image {
		aspect-ratio: 16 / 8;
	}

	.hpd-feature-layout,
	.hpd-spotlight {
		grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
	}

	.hpd-stat-grid {
		grid-template-columns: 1fr;
	}

	.hpd-category-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.hpd-footer-grid {
		grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr) minmax(240px, 0.8fr);
	}
}

@media (min-width: 1120px) {
	.hpd-post-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.hpd-post-grid .hpd-post-card:first-child {
		grid-column: span 2;
		grid-row: span 2;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
