/**
 * Derpixon Discovery Hub - Primary Theme Stylesheet
 * Version: 1.0.0
 * Pure Vanilla CSS - Zero external frameworks
 */

/* ==========================================================================
   1. CSS Custom Properties / Design Tokens
   ========================================================================== */
:root {
	--dh-primary: #4f46e5;
	--dh-primary-hover: #3730a3;
	--dh-primary-light: #eef2ff;
	--dh-primary-border: #c7d2fe;

	--dh-bg: #f8fafc;
	--dh-surface: #ffffff;
	--dh-surface-muted: #f1f5f9;
	--dh-border: #e2e8f0;
	--dh-border-hover: #cbd5e1;

	--dh-text-main: #0f172a;
	--dh-text-body: #334155;
	--dh-text-muted: #64748b;
	--dh-text-inverse: #ffffff;

	--dh-rating-mature: #e11d48;
	--dh-rating-general: #059669;

	--dh-font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--dh-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

	--dh-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--dh-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
	--dh-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
	--dh-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.03);

	--dh-radius-sm: 6px;
	--dh-radius-md: 10px;
	--dh-radius-lg: 16px;
	--dh-radius-full: 9999px;

	--dh-container-max: 1200px;
}

/* ==========================================================================
   2. Reset & Base Typography
   ========================================================================== */
*, *::before, *::after {
	box-sizing: border-box;
}

html {
	font-family: var(--dh-font-body);
	line-height: 1.6;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	background-color: var(--dh-bg);
	color: var(--dh-text-body);
}

body {
	margin: 0;
	padding: 0;
	background-color: var(--dh-bg);
	color: var(--dh-text-body);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--dh-font-heading);
	color: var(--dh-text-main);
	line-height: 1.25;
	font-weight: 700;
	margin-top: 0;
}

p {
	margin-top: 0;
	margin-bottom: 1rem;
}

a {
	color: var(--dh-primary);
	text-decoration: none;
	transition: color 0.15s ease;
}

a:hover {
	color: var(--dh-primary-hover);
}

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

/* Accessible Screen Reader Text & Skip Link */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.dh-skip-link:focus {
	background-color: #0f172a;
	clip-path: none;
	clip: auto;
	color: #ffffff;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 10px;
	padding: 12px 18px;
	position: fixed !important;
	top: 10px;
	width: auto;
	z-index: 100000;
	border-radius: var(--dh-radius-sm);
	box-shadow: var(--dh-shadow-lg);
}

:focus-visible {
	outline: 2px solid var(--dh-primary);
	outline-offset: 2px;
}

/* ==========================================================================
   3. Container & Layout Utilities
   ========================================================================== */
.dh-container {
	width: 100%;
	max-width: var(--dh-container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.dh-section {
	padding: 4rem 0;
}

.dh-site-main {
	flex-grow: 1;
}

/* ==========================================================================
   4. Top Advisory Notice Banner
   ========================================================================== */
.dh-top-advisory-bar {
	background: #0f172a;
	color: #f1f5f9;
	font-size: 0.8rem;
	padding: 8px 0;
	position: relative;
	z-index: 100;
	border-bottom: 1px solid #1e293b;
}

.dh-advisory-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.dh-top-advisory-bar,
.dh-logo-tagline {
	display: none !important;
	height: 0 !important;
	overflow: hidden !important;
	visibility: hidden !important;
}

/* ==========================================================================
   5. Global Header & Navigation
   ========================================================================== */
.dh-site-header {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--dh-border);
	position: sticky;
	top: 0;
	z-index: 90;
	transition: box-shadow 0.2s ease;
}

.dh-site-header.is-scrolled {
	box-shadow: var(--dh-shadow-md);
}

.dh-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
	gap: 1.5rem;
}

/* Site Branding */
.dh-text-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.dh-logo-mark {
	width: 38px;
	height: 38px;
	background: linear-gradient(135deg, var(--dh-primary) 0%, var(--dh-primary-hover) 100%);
	color: #ffffff;
	font-family: var(--dh-font-heading);
	font-weight: 800;
	font-size: 1.3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--dh-radius-md);
	box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.25);
}

.dh-logo-words {
	display: flex;
	flex-direction: column;
}

.dh-logo-title {
	font-family: var(--dh-font-heading);
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--dh-text-main);
	line-height: 1.1;
	letter-spacing: -0.02em;
	transition: color 0.15s ease;
}

.dh-text-logo:hover .dh-logo-title {
	color: var(--dh-primary);
}

/* Primary Nav Menu */
.dh-primary-nav {
	display: flex;
	align-items: center;
}

.dh-nav-menu {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 1.5rem;
}

.dh-nav-menu > li {
	position: relative;
}

.dh-nav-menu a {
	color: var(--dh-text-body);
	font-size: 0.95rem;
	font-weight: 600;
	padding: 6px 0;
	position: relative;
	transition: color 0.15s ease;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.dh-menu-caret {
	font-size: 0.7rem;
	color: var(--dh-text-muted);
	transition: transform 0.2s ease;
	line-height: 1;
}

.dh-nav-menu li:hover > a .dh-menu-caret,
.dh-nav-menu li:focus-within > a .dh-menu-caret {
	transform: rotate(180deg);
	color: var(--dh-primary);
}

.dh-nav-menu a:hover,
.dh-nav-menu .current-menu-item > a {
	color: var(--dh-primary);
}

.dh-nav-menu > .current-menu-item > a::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--dh-primary);
	border-radius: 2px;
}

/* Accessible Dropdown Sub-menu */
.dh-nav-menu .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 280px;
	background: #ffffff;
	border: 1px solid var(--dh-border);
	border-radius: var(--dh-radius-md);
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
	padding: 0.6rem 0;
	margin: 0;
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	z-index: 1000;
}

/* Invisible bridge so mouse does not leave the trigger */
.dh-nav-menu .menu-item-has-children::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: 12px;
}

.dh-nav-menu li:hover > .sub-menu,
.dh-nav-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.dh-nav-menu .sub-menu li {
	padding: 0;
	margin: 0;
}

.dh-nav-menu .sub-menu a {
	display: block;
	padding: 0.65rem 1.25rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--dh-text-body);
	white-space: normal;
	transition: background 0.15s ease, color 0.15s ease;
	gap: 0;
}

.dh-nav-menu .sub-menu a:hover,
.dh-nav-menu .sub-menu a:focus {
	background: var(--dh-surface-muted);
	color: var(--dh-primary);
}

.dh-nav-menu .sub-menu a::after {
	display: none !important;
}

.sub-menu-divider {
	height: 1px;
	background: var(--dh-border);
	margin: 0.4rem 0 !important;
}

/* Header Actions */
.dh-header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.dh-header-search-btn {
	background: var(--dh-surface-muted);
	border: 1px solid var(--dh-border);
	color: var(--dh-text-muted);
	width: 38px;
	height: 38px;
	border-radius: var(--dh-radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.15s ease;
}

.dh-header-search-btn:hover {
	background: #e2e8f0;
	color: var(--dh-text-main);
	border-color: var(--dh-border-hover);
}

.dh-header-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--dh-primary);
	color: #ffffff;
	font-size: 0.875rem;
	font-weight: 600;
	padding: 0.55rem 1rem;
	border-radius: var(--dh-radius-md);
	transition: background 0.15s ease, transform 0.15s ease;
}

.dh-header-cta:hover {
	background: var(--dh-primary-hover);
	color: #ffffff;
	transform: translateY(-1px);
}

.dh-mobile-menu-toggle {
	display: none;
	background: var(--dh-surface-muted);
	border: 1px solid var(--dh-border);
	width: 40px;
	height: 40px;
	border-radius: var(--dh-radius-md);
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--dh-text-main);
}

@media (max-width: 900px) {
	.dh-primary-nav,
	.dh-header-cta {
		display: none;
	}
	.dh-mobile-menu-toggle {
		display: flex;
	}
}

/* ==========================================================================
   6. Mobile Menu Drawer & Search Modal
   ========================================================================== */
.dh-mobile-drawer {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	display: none;
}

.dh-mobile-drawer.is-open {
	display: block;
}

.dh-drawer-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(15, 23, 42, 0.6);
	backdrop-filter: blur(4px);
}

.dh-drawer-panel {
	position: absolute;
	top: 0;
	right: 0;
	width: 85%;
	max-width: 360px;
	height: 100%;
	background: var(--dh-surface);
	box-shadow: var(--dh-shadow-xl);
	display: flex;
	flex-direction: column;
	padding: 1.5rem;
	transform: translateX(100%);
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dh-mobile-drawer.is-open .dh-drawer-panel {
	transform: translateX(0);
}

.dh-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--dh-border);
	margin-bottom: 1.25rem;
}

.dh-drawer-title {
	font-family: var(--dh-font-heading);
	font-weight: 700;
	color: var(--dh-text-main);
}

.dh-drawer-close {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--dh-text-muted);
}

.dh-drawer-search {
	margin-bottom: 1.5rem;
}

.dh-drawer-search input[type="search"] {
	width: 100%;
	padding: 0.65rem 1rem;
	border: 1px solid var(--dh-border);
	border-radius: var(--dh-radius-sm);
	background: var(--dh-surface-muted);
}

.dh-drawer-menu-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.dh-drawer-menu-list a {
	display: block;
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--dh-text-main);
	padding: 6px 0;
}

.dh-drawer-has-sub {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.dh-drawer-sub-header a {
	color: var(--dh-primary);
	font-weight: 700;
}

.dh-drawer-sub-menu {
	list-style: none;
	padding-left: 1rem;
	margin: 0.25rem 0 0.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	border-left: 2px solid var(--dh-primary-border);
}

.dh-drawer-sub-menu a {
	font-size: 0.92rem;
	font-weight: 500;
	color: var(--dh-text-body);
	padding: 4px 0;
}

.dh-drawer-sub-menu a:hover {
	color: var(--dh-primary);
}

.dh-drawer-footer {
	margin-top: auto;
	padding-top: 1.5rem;
}

.dh-btn-drawer-cta {
	display: block;
	text-align: center;
	background: var(--dh-primary);
	color: #ffffff;
	padding: 0.75rem 1rem;
	border-radius: var(--dh-radius-md);
	font-weight: 700;
}

/* Header Search Modal */
.dh-search-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
	display: none;
	align-items: flex-start;
	justify-content: center;
	padding-top: 10vh;
}

.dh-search-modal.is-open {
	display: flex;
}

.dh-search-modal-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(15, 23, 42, 0.7);
	backdrop-filter: blur(4px);
}

.dh-search-modal-box {
	position: relative;
	background: var(--dh-surface);
	border-radius: var(--dh-radius-lg);
	width: 90%;
	max-width: 600px;
	padding: 2rem;
	box-shadow: var(--dh-shadow-xl);
	z-index: 2;
}

.dh-search-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.25rem;
}

.dh-search-modal-header h3 {
	margin: 0;
	font-size: 1.25rem;
}

.dh-search-modal-close {
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: var(--dh-text-muted);
}

.dh-search-modal-body input[type="search"] {
	width: 100%;
	padding: 0.85rem 1.25rem;
	border: 1px solid var(--dh-border);
	border-radius: var(--dh-radius-md);
	font-size: 1rem;
	background: var(--dh-surface-muted);
}

.dh-search-modal-shortcuts {
	margin-top: 1.25rem;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
	font-size: 0.8rem;
}

.dh-shortcut-label {
	color: var(--dh-text-muted);
	font-weight: 500;
	margin-right: 4px;
}

.dh-search-modal-shortcuts a {
	background: var(--dh-surface-muted);
	border: 1px solid var(--dh-border);
	padding: 3px 8px;
	border-radius: var(--dh-radius-sm);
	color: var(--dh-text-body);
}

/* ==========================================================================
   7. Homepage Hero Section
   ========================================================================== */
.dh-hero-section {
	padding: 5rem 0 3.5rem;
	background: radial-gradient(circle at 50% 0%, #eef2ff 0%, #f8fafc 65%);
	text-align: center;
	border-bottom: 1px solid var(--dh-border);
}

.dh-hero-inner {
	max-width: 860px;
}

.dh-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #ffffff;
	border: 1px solid var(--dh-primary-border);
	color: var(--dh-primary);
	font-size: 0.8rem;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: var(--dh-radius-full);
	margin-bottom: 1.5rem;
	box-shadow: var(--dh-shadow-sm);
}

.dh-pulse-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--dh-primary);
	animation: dh-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes dh-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.4; transform: scale(0.85); }
}

.dh-hero-h1 {
	font-size: clamp(2.2rem, 4.5vw, 3.5rem);
	font-weight: 800;
	color: var(--dh-text-main);
	line-height: 1.15;
	margin-bottom: 1.25rem;
	letter-spacing: -0.03em;
}

.dh-hero-lead {
	font-size: clamp(1rem, 2vw, 1.25rem);
	color: var(--dh-text-body);
	line-height: 1.6;
	margin-bottom: 2rem;
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

/* Hero Search Form */
.dh-hero-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
	margin-bottom: 3rem;
}

.dh-hero-search-form {
	width: 100%;
	max-width: 580px;
}

.dh-hero-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
	box-shadow: var(--dh-shadow-lg);
	border-radius: var(--dh-radius-md);
	background: #ffffff;
	padding: 4px;
	border: 1px solid var(--dh-border);
}

.dh-hero-search-icon {
	position: absolute;
	left: 16px;
	color: var(--dh-text-muted);
}

.dh-hero-input-wrap input[type="search"] {
	flex: 1;
	border: none;
	padding: 0.85rem 1rem 0.85rem 3rem;
	font-size: 1rem;
	color: var(--dh-text-main);
	background: transparent;
}

.dh-hero-input-wrap input[type="search"]:focus {
	outline: none;
}

.dh-hero-search-btn {
	background: var(--dh-primary);
	color: #ffffff;
	border: none;
	font-weight: 700;
	font-size: 0.95rem;
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.dh-hero-search-btn:hover {
	background: var(--dh-primary-hover);
}

.dh-hero-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.dh-btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--dh-primary);
	color: #ffffff;
	font-weight: 700;
	font-size: 0.95rem;
	padding: 0.75rem 1.5rem;
	border-radius: var(--dh-radius-md);
	transition: all 0.2s ease;
	box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.25);
}

.dh-btn-primary:hover {
	background: var(--dh-primary-hover);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 6px 12px -2px rgba(79, 70, 229, 0.35);
}

.dh-btn-outline {
	display: inline-flex;
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--dh-border);
	color: var(--dh-text-main);
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0.75rem 1.5rem;
	border-radius: var(--dh-radius-md);
	transition: all 0.2s ease;
}

.dh-btn-outline:hover {
	background: var(--dh-surface-muted);
	border-color: var(--dh-border-hover);
	color: var(--dh-text-main);
}

/* Hero Stats Bar */
.dh-hero-stats {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 2rem;
	background: #ffffff;
	border: 1px solid var(--dh-border);
	padding: 1rem 2rem;
	border-radius: var(--dh-radius-lg);
	box-shadow: var(--dh-shadow-sm);
}

@media (max-width: 640px) {
	.dh-hero-stats {
		flex-direction: column;
		gap: 1rem;
		padding: 1rem;
	}
	.dh-stat-divider {
		display: none;
	}
}

.dh-stat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.dh-stat-num {
	font-family: var(--dh-font-heading);
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--dh-text-main);
	line-height: 1;
}

.dh-stat-desc {
	font-size: 0.75rem;
	color: var(--dh-text-muted);
	font-weight: 600;
	margin-top: 4px;
}

.dh-stat-divider {
	width: 1px;
	height: 32px;
	background: var(--dh-border);
}

/* ==========================================================================
   8. Section Headers & Reusable Card Grids
   ========================================================================== */
.dh-section-header {
	margin-bottom: 2.5rem;
}

.dh-section-header.flex-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.dh-section-badge {
	display: inline-block;
	background: var(--dh-primary-light);
	color: var(--dh-primary);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 4px 10px;
	border-radius: var(--dh-radius-full);
	margin-bottom: 0.5rem;
}

.dh-section-title {
	font-size: clamp(1.6rem, 3vw, 2.25rem);
	color: var(--dh-text-main);
	margin: 0 0 0.5rem 0;
	letter-spacing: -0.02em;
}

.dh-section-subtitle {
	font-size: 1rem;
	color: var(--dh-text-muted);
	margin: 0;
	max-width: 680px;
}

.dh-view-all-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--dh-primary);
}

.dh-view-all-link:hover {
	color: var(--dh-primary-hover);
}

/* Tools Showcase Grid */
.dh-tools-showcase-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 1.75rem;
}

.dh-tool-feature-card {
	background: var(--dh-surface);
	border: 1px solid var(--dh-border);
	border-radius: var(--dh-radius-lg);
	padding: 2rem;
	display: flex;
	flex-direction: column;
	box-shadow: var(--dh-shadow-sm);
	transition: all 0.2s ease;
}

.dh-tool-feature-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--dh-shadow-lg);
	border-color: var(--dh-border-hover);
}

.dh-tcard-icon {
	width: 52px;
	height: 52px;
	border-radius: var(--dh-radius-md);
	background: var(--dh-primary-light);
	color: var(--dh-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.25rem;
}

.dh-tcard-badge {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--dh-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.4rem;
}

.dh-tcard-title {
	font-size: 1.25rem;
	margin: 0 0 0.75rem 0;
}

.dh-tcard-desc {
	font-size: 0.9rem;
	color: var(--dh-text-muted);
	line-height: 1.6;
	margin: 0 0 1.5rem 0;
	flex-grow: 1;
}

.dh-tcard-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--dh-primary);
}

.dh-tcard-cta:hover {
	gap: 9px;
}

/* Creator Status Section */
.dh-creator-card {
	background: #ffffff;
	border: 1px solid var(--dh-border);
	border-radius: var(--dh-radius-lg);
	padding: 2.5rem;
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 2.5rem;
	box-shadow: var(--dh-shadow-sm);
}

@media (max-width: 860px) {
	.dh-creator-card {
		grid-template-columns: 1fr;
		padding: 1.5rem;
	}
}

.dh-creator-heading {
	font-size: 1.6rem;
	margin-bottom: 1rem;
}

.dh-creator-body {
	color: var(--dh-text-body);
	line-height: 1.65;
	margin-bottom: 1.5rem;
}

.dh-hiatus-box {
	background: #fffbeb;
	border: 1px solid #fef3c7;
	border-left: 4px solid #f59e0b;
	padding: 1rem 1.25rem;
	border-radius: var(--dh-radius-sm);
}

.dh-hiatus-label {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #b45309;
	margin-bottom: 4px;
	font-size: 0.85rem;
}

.dh-hiatus-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #f59e0b;
}

.dh-hiatus-text {
	font-size: 0.875rem;
	color: #78350f;
	margin: 0;
	line-height: 1.5;
}

.dh-links-side-title {
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 1rem 0;
	color: var(--dh-text-main);
}

.dh-side-links-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.dh-side-links-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.75rem 1rem;
	background: var(--dh-surface-muted);
	border: 1px solid var(--dh-border);
	border-radius: var(--dh-radius-md);
	font-size: 0.875rem;
	color: var(--dh-text-main);
	transition: all 0.15s ease;
}

.dh-side-links-list a:hover {
	background: #ffffff;
	border-color: var(--dh-primary);
	color: var(--dh-primary);
}

/* ==========================================================================
   9. Blog Grid & Cards
   ========================================================================== */
.dh-blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
	gap: 2rem;
}

.dh-blog-card {
	background: var(--dh-surface);
	border: 1px solid var(--dh-border);
	border-radius: var(--dh-radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--dh-shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dh-blog-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--dh-shadow-md);
}

.dh-blog-card-media {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	background: var(--dh-surface-muted);
	overflow: hidden;
}

.dh-blog-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.dh-blog-card:hover .dh-blog-img {
	transform: scale(1.03);
}

.dh-blog-placeholder {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
	color: var(--dh-text-muted);
	gap: 6px;
}

.dh-blog-placeholder-cat {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--dh-text-body);
}

.dh-blog-cat-pill {
	position: absolute;
	top: 12px;
	left: 12px;
	background: rgba(15, 23, 42, 0.85);
	backdrop-filter: blur(4px);
	color: #ffffff;
	font-size: 0.7rem;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 4px;
	text-transform: uppercase;
}

.dh-blog-card-body {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.dh-blog-meta {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.8rem;
	color: var(--dh-text-muted);
	margin-bottom: 0.6rem;
}

.dh-blog-readtime {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.dh-blog-title {
	font-size: 1.25rem;
	line-height: 1.35;
	margin: 0 0 0.75rem 0;
}

.dh-blog-title a {
	color: var(--dh-text-main);
	text-decoration: none;
}

.dh-blog-title a:hover {
	color: var(--dh-primary);
}

.dh-blog-excerpt {
	font-size: 0.9rem;
	color: var(--dh-text-body);
	line-height: 1.55;
	margin-bottom: 1.25rem;
	flex-grow: 1;
}

.dh-blog-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 1rem;
	border-top: 1px solid var(--dh-surface-muted);
}

.dh-blog-author {
	font-size: 0.8rem;
	color: var(--dh-text-muted);
	font-weight: 600;
}

.dh-blog-read-more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--dh-primary);
}

/* Blog Layout & Sidebar */
.dh-blog-layout {
	display: grid;
	grid-template-columns: 2.2fr 1fr;
	gap: 2.5rem;
	padding-top: 3rem;
	padding-bottom: 4rem;
}

@media (max-width: 960px) {
	.dh-blog-layout {
		grid-template-columns: 1fr;
	}
}

.dh-category-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 1.25rem;
}

.dh-cat-pill {
	display: inline-block;
	background: #ffffff;
	border: 1px solid var(--dh-border);
	padding: 5px 12px;
	border-radius: var(--dh-radius-full);
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--dh-text-body);
	transition: all 0.15s ease;
}

.dh-cat-pill:hover,
.dh-cat-pill.is-active {
	background: var(--dh-primary);
	color: #ffffff;
	border-color: var(--dh-primary);
}

/* Sidebar Widgets */
.dh-sidebar {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.dh-widget {
	background: var(--dh-surface);
	border: 1px solid var(--dh-border);
	border-radius: var(--dh-radius-lg);
	padding: 1.5rem;
}

.dh-widget-title {
	font-size: 1.15rem;
	margin: 0 0 1rem 0;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--dh-surface-muted);
}

.dh-sidebar-tools-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.dh-sidebar-tools-list a {
	display: block;
	padding: 0.6rem 0.85rem;
	background: var(--dh-surface-muted);
	border-radius: var(--dh-radius-sm);
	color: var(--dh-text-main);
	transition: background 0.15s ease;
}

.dh-sidebar-tools-list a:hover {
	background: #e2e8f0;
}

.dh-sidebar-tools-list strong {
	display: block;
	font-size: 0.9rem;
}

.dh-sidebar-tools-list span {
	font-size: 0.75rem;
	color: var(--dh-text-muted);
}

/* Trust Section Grid */
.dh-trust-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
}

.dh-trust-box {
	background: var(--dh-surface);
	border: 1px solid var(--dh-border);
	border-radius: var(--dh-radius-lg);
	padding: 2rem;
	box-shadow: var(--dh-shadow-sm);
}

.dh-trust-icon {
	width: 44px;
	height: 44px;
	background: var(--dh-primary-light);
	color: var(--dh-primary);
	border-radius: var(--dh-radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
}

.dh-trust-box h3 {
	font-size: 1.15rem;
	margin-bottom: 0.5rem;
}

.dh-trust-box p {
	font-size: 0.9rem;
	color: var(--dh-text-body);
	line-height: 1.6;
	margin-bottom: 1rem;
}

.dh-trust-box a {
	font-size: 0.85rem;
	font-weight: 700;
}

/* ==========================================================================
   10. Single Post & Single Work Detail Styling
   ========================================================================== */
.dh-page-hero {
	padding: 3rem 0;
	background: #ffffff;
	border-bottom: 1px solid var(--dh-border);
}

.dh-page-hero-title {
	font-size: clamp(1.8rem, 3.5vw, 2.75rem);
	margin-bottom: 0.5rem;
}

.dh-page-hero-subtitle {
	font-size: 1.05rem;
	color: var(--dh-text-muted);
	max-width: 780px;
	margin: 0;
}

.dh-breadcrumbs {
	margin-bottom: 1rem;
	font-size: 0.85rem;
}

.dh-breadcrumb-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.dh-breadcrumb-item::after {
	content: '/';
	margin-left: 6px;
	color: var(--dh-text-muted);
}

.dh-breadcrumb-item:last-child::after {
	content: '';
}

.dh-breadcrumb-item.is-active {
	color: var(--dh-text-muted);
}

/* Single Post Article */
.dh-single-post-wrapper {
	padding: 3rem 0 5rem;
}

.dh-single-post-container {
	max-width: 840px;
}

.dh-article-cat-pill {
	display: inline-block;
	background: var(--dh-primary-light);
	color: var(--dh-primary);
	font-size: 0.75rem;
	font-weight: 800;
	padding: 4px 10px;
	border-radius: var(--dh-radius-full);
	text-transform: uppercase;
	margin-bottom: 0.75rem;
}

.dh-article-title {
	font-size: clamp(2rem, 4vw, 3rem);
	margin-bottom: 1rem;
	line-height: 1.2;
}

.dh-article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 0.875rem;
	color: var(--dh-text-muted);
	margin-bottom: 2rem;
}

.dh-meta-author {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--dh-text-main);
	font-weight: 600;
}

.dh-author-avatar {
	border-radius: 50%;
}

.dh-article-featured-media {
	margin: 2rem 0;
	border-radius: var(--dh-radius-lg);
	overflow: hidden;
	box-shadow: var(--dh-shadow-md);
}

/* Entry Content Typography */
.entry-content {
	font-size: 1.1rem;
	line-height: 1.75;
	color: var(--dh-text-body);
}

.entry-content p {
	margin-top: 0;
	margin-bottom: 1.5rem;
	line-height: 1.75;
}

.entry-content h2 {
	font-size: 1.85rem;
	margin-top: 2.5rem;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--dh-border);
}

.entry-content h3 {
	font-size: 1.4rem;
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.5rem;
	margin-bottom: 1.5rem;
}

.entry-content li {
	margin-bottom: 0.5rem;
}

.entry-content blockquote {
	margin: 2rem 0;
	padding: 1rem 1.5rem;
	border-left: 4px solid var(--dh-primary);
	background: var(--dh-surface-muted);
	border-radius: 0 var(--dh-radius-sm) var(--dh-radius-sm) 0;
	font-style: italic;
	color: var(--dh-text-main);
}

/* Single Work Detail Layout */
.dh-single-work-wrapper {
	padding: 3rem 0 5rem;
}

.dh-work-detail-grid {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 3rem;
	margin-top: 1.5rem;
}

@media (max-width: 900px) {
	.dh-work-detail-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

.dh-work-poster-wrap {
	position: relative;
	border-radius: var(--dh-radius-lg);
	overflow: hidden;
	box-shadow: var(--dh-shadow-lg);
	background: #f1f5f9;
}

.dh-work-main-img {
	width: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
}

.dh-work-hero-placeholder {
	width: 100%;
	aspect-ratio: 16/9;
	background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 100%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: var(--dh-text-muted);
	gap: 8px;
}

.dh-work-poster-badges {
	position: absolute;
	top: 14px;
	left: 14px;
	display: flex;
	gap: 8px;
}

.dh-work-cta-card {
	background: #ffffff;
	border: 1px solid var(--dh-border);
	border-radius: var(--dh-radius-md);
	padding: 1.5rem;
	margin-top: 1.5rem;
	box-shadow: var(--dh-shadow-sm);
}

.dh-work-cta-card h4 {
	margin: 0 0 0.4rem 0;
	font-size: 1rem;
}

.dh-work-cta-card p {
	font-size: 0.85rem;
	color: var(--dh-text-muted);
	margin-bottom: 1rem;
}

.dh-btn-primary.full-width {
	width: 100%;
	justify-content: center;
}

.dh-link-verified-tag {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.75rem;
	color: var(--dh-rating-general);
	margin-top: 0.75rem;
	font-weight: 600;
}

.dh-work-advisory-box {
	background: #fff1f2;
	border: 1px solid #fecdd3;
	border-left: 4px solid var(--dh-rating-mature);
	padding: 1rem 1.25rem;
	border-radius: var(--dh-radius-sm);
	margin-top: 1.5rem;
	font-size: 0.85rem;
	color: #9f1239;
}

.dh-advisory-box-header {
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	margin-bottom: 4px;
}

.dh-work-detail-title {
	font-size: clamp(2rem, 3.5vw, 2.75rem);
	margin: 0.5rem 0 1.25rem 0;
}

.dh-work-specs-table {
	background: #ffffff;
	border: 1px solid var(--dh-border);
	border-radius: var(--dh-radius-md);
	margin-bottom: 2rem;
	overflow: hidden;
}

.dh-spec-row {
	display: flex;
	justify-content: space-between;
	padding: 0.75rem 1.25rem;
	border-bottom: 1px solid var(--dh-surface-muted);
	font-size: 0.9rem;
}

.dh-spec-row:last-child {
	border-bottom: none;
}

.dh-spec-label {
	color: var(--dh-text-muted);
	font-weight: 500;
}

.dh-spec-val {
	color: var(--dh-text-main);
	text-align: right;
}

.dh-work-tools-box {
	background: var(--dh-surface-muted);
	border-radius: var(--dh-radius-md);
	padding: 1.25rem;
	margin: 2rem 0;
}

.dh-tools-box-title {
	font-size: 0.9rem;
	margin: 0 0 0.75rem 0;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--dh-text-muted);
}

.dh-tools-pill-group {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.dh-tool-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #ffffff;
	border: 1px solid var(--dh-border);
	padding: 6px 12px;
	border-radius: var(--dh-radius-full);
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--dh-text-main);
	transition: all 0.15s ease;
}

.dh-tool-pill:hover {
	background: var(--dh-primary-light);
	border-color: var(--dh-primary-border);
	color: var(--dh-primary);
}

/* ==========================================================================
   11. Global Footer Layout
   ========================================================================== */
.dh-site-footer {
	background: #ffffff;
	border-top: 1px solid var(--dh-border);
	margin-top: auto;
}

.dh-footer-top {
	padding: 4rem 1.5rem 3rem;
}

.dh-footer-grid {
	display: grid;
	grid-template-columns: 1.8fr 1fr 1.2fr 1.4fr;
	gap: 3rem;
}

@media (max-width: 1024px) {
	.dh-footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
	}
}

@media (max-width: 640px) {
	.dh-footer-grid {
		grid-template-columns: 1fr;
	}
}

.dh-footer-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 1rem;
}

.dh-footer-site-title {
	font-family: var(--dh-font-heading);
	font-weight: 800;
	font-size: 1.2rem;
	color: var(--dh-text-main);
}

.dh-footer-about {
	font-size: 0.875rem;
	color: var(--dh-text-muted);
	line-height: 1.6;
	margin-bottom: 1rem;
}

.dh-footer-disclaimer-callout {
	background: var(--dh-surface-muted);
	border: 1px solid var(--dh-border);
	padding: 0.75rem 1rem;
	border-radius: var(--dh-radius-sm);
	font-size: 0.75rem;
	color: var(--dh-text-muted);
	line-height: 1.5;
}

.dh-footer-col-title {
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 1.25rem 0;
	color: var(--dh-text-main);
}

.dh-footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.dh-footer-links a {
	font-size: 0.875rem;
	color: var(--dh-text-body);
	transition: color 0.15s ease;
}

.dh-footer-links a:hover {
	color: var(--dh-primary);
}

.dh-footer-verified-box {
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--dh-surface-muted);
}

.dh-footer-box-title {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--dh-text-muted);
	text-transform: uppercase;
	margin-bottom: 6px;
}

.dh-footer-pill-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.dh-footer-pill-links a {
	font-size: 0.75rem;
	padding: 3px 8px;
	background: var(--dh-surface-muted);
	border-radius: 4px;
	color: var(--dh-text-main);
	font-weight: 600;
}

.dh-footer-bottom {
	background: #0f172a;
	color: #94a3b8;
	font-size: 0.8rem;
	padding: 1.25rem 0;
}

.dh-footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.dh-back-to-top {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #1e293b;
	color: #f1f5f9;
	border: 1px solid #334155;
	padding: 6px 12px;
	border-radius: var(--dh-radius-sm);
	font-size: 0.75rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease;
}

.dh-back-to-top:hover {
	background: #334155;
}

/* ==========================================================================
   12. 404 & Contact Page Styles
   ========================================================================== */
.dh-404-wrapper {
	padding: 6rem 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dh-404-card {
	background: #ffffff;
	border: 1px solid var(--dh-border);
	border-radius: var(--dh-radius-lg);
	padding: 3.5rem 2rem;
	max-width: 600px;
	text-align: center;
	box-shadow: var(--dh-shadow-md);
}

.dh-404-num {
	font-size: 5rem;
	font-weight: 900;
	color: var(--dh-primary);
	line-height: 1;
	letter-spacing: -0.05em;
	margin-bottom: 0.5rem;
}

.dh-404-title {
	font-size: 1.75rem;
	margin-bottom: 0.75rem;
}

.dh-404-desc {
	color: var(--dh-text-muted);
	margin-bottom: 2rem;
}

.dh-404-search {
	margin-bottom: 2rem;
}

.dh-404-quick-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: 0.75rem;
}

/* Contact Page Layout */
.dh-contact-layout {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 3rem;
}

@media (max-width: 860px) {
	.dh-contact-layout {
		grid-template-columns: 1fr;
	}
}

.dh-contact-form-card {
	background: #ffffff;
	border: 1px solid var(--dh-border);
	border-radius: var(--dh-radius-lg);
	padding: 2.5rem;
	box-shadow: var(--dh-shadow-sm);
}

.dh-contact-heading {
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
}

.dh-form-group {
	margin-bottom: 1.25rem;
}

.dh-form-group label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--dh-text-main);
}

.dh-form-group input,
.dh-form-group select,
.dh-form-group textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--dh-border);
	border-radius: var(--dh-radius-sm);
	font-size: 0.95rem;
	background: var(--dh-surface-muted);
	color: var(--dh-text-main);
}

.dh-form-group input:focus,
.dh-form-group select:focus,
.dh-form-group textarea:focus {
	outline: none;
	border-color: var(--dh-primary);
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.dh-form-help {
	font-size: 0.75rem;
	color: var(--dh-text-muted);
	margin-top: 4px;
	display: block;
}

.dh-alert-success {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
	padding: 1.25rem;
	border-radius: var(--dh-radius-md);
}

.dh-alert-error {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
	padding: 0.85rem 1rem;
	border-radius: var(--dh-radius-sm);
	margin-bottom: 1.25rem;
	font-size: 0.875rem;
}

.dh-contact-info-card {
	background: #ffffff;
	border: 1px solid var(--dh-border);
	border-radius: var(--dh-radius-lg);
	padding: 2rem;
	box-shadow: var(--dh-shadow-sm);
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.dh-contact-bullet {
	display: flex;
	gap: 12px;
}

.dh-bullet-icon {
	font-size: 1.2rem;
	flex-shrink: 0;
}

/* ==========================================================================
   2-Column Hero Layout & Studio Artwork Showcase
   ========================================================================== */
.dh-hero-layout {
	display: grid;
	grid-template-columns: 1.2fr 0.9fr;
	gap: 3.5rem;
	align-items: center;
	text-align: left;
}

.dh-hero-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.dh-hero-visual {
	display: flex;
	justify-content: center;
	position: relative;
}

.dh-hero-artwork-card {
	position: relative;
	background: #ffffff;
	border: 1px solid var(--dh-border);
	border-radius: var(--dh-radius-lg);
	padding: 1.25rem;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
	width: 100%;
	max-width: 520px;
}

.dh-hero-art-img {
	width: 100%;
	height: auto;
	border-radius: var(--dh-radius-md);
	display: block;
}

.dh-hero-floating-tag {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 10px;
	background: #ffffff;
	border: 1px solid var(--dh-border);
	box-shadow: var(--dh-shadow-lg);
	border-radius: var(--dh-radius-full);
	padding: 8px 16px;
	font-size: 0.85rem;
	z-index: 2;
}

.dh-hero-floating-tag strong {
	display: block;
	color: var(--dh-text-main);
	line-height: 1.2;
}

.dh-hero-floating-tag span {
	font-size: 0.75rem;
	color: var(--dh-text-muted);
}

.dh-hero-floating-tag.tag-fps {
	top: -15px;
	left: -20px;
}

.dh-hero-floating-tag.tag-verified {
	bottom: -15px;
	right: -20px;
}

.dh-floating-icon {
	font-size: 1.1rem;
	line-height: 1;
}

@media (max-width: 992px) {
	.dh-hero-layout {
		grid-template-columns: 1fr;
		gap: 2.5rem;
		text-align: center;
	}
	.dh-hero-content {
		align-items: center;
	}
	.dh-hero-lead {
		margin-left: auto;
		margin-right: auto;
	}
	.dh-hero-actions {
		align-items: center;
	}
	.dh-hero-ctas {
		justify-content: center;
	}
}

@media (max-width: 640px) {
	.dh-hero-floating-tag {
		position: static;
		margin: 8px auto 0;
		display: inline-flex;
	}
	.dh-hero-artwork-card {
		padding: 0.75rem;
	}
}

/* ==========================================================================
   Tool Documentation, Educational Articles & Rich Layouts
   ========================================================================== */
.dh-tool-doc-section {
	margin-top: 3.5rem;
	border-top: 1px solid var(--dh-border);
	padding-top: 3rem;
}

.dh-doc-intro-box {
	background: #ffffff;
	border: 1px solid var(--dh-border);
	border-radius: var(--dh-radius-lg);
	padding: 2.25rem;
	margin-bottom: 2.5rem;
	box-shadow: var(--dh-shadow-sm);
}

.dh-doc-heading {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 800;
	color: var(--dh-text-main);
	line-height: 1.25;
	margin-bottom: 1.25rem;
}

.dh-doc-block {
	margin-bottom: 3.5rem;
}

.dh-doc-block h3 {
	font-size: clamp(1.35rem, 2.5vw, 1.7rem);
	font-weight: 700;
	color: var(--dh-text-main);
	margin-top: 0;
	margin-bottom: 1rem;
	letter-spacing: -0.015em;
}

.dh-doc-block p {
	font-size: 1.05rem;
	line-height: 1.75;
	margin-bottom: 1.5rem;
	color: var(--dh-text-body);
}

/* Responsive Comparison Tables */
.dh-table-responsive {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 1.5rem 0 2rem;
	border: 1px solid var(--dh-border);
	border-radius: var(--dh-radius-md);
	background: #ffffff;
	box-shadow: var(--dh-shadow-sm);
}

.dh-comparison-table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
	font-size: 0.95rem;
}

.dh-comparison-table th {
	background: var(--dh-surface-muted);
	color: var(--dh-text-main);
	font-weight: 700;
	padding: 1rem 1.25rem;
	border-bottom: 1px solid var(--dh-border);
	white-space: nowrap;
}

.dh-comparison-table td {
	padding: 1rem 1.25rem;
	border-bottom: 1px solid var(--dh-border);
	color: var(--dh-text-body);
	vertical-align: top;
	line-height: 1.55;
}

.dh-comparison-table tr:last-child td {
	border-bottom: none;
}

.dh-comparison-table tr:hover td {
	background: #f8fafc;
}

/* Feature Card Grids (Two & Three Columns) */
.dh-card-grid-two {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	margin: 1.75rem 0;
}

.dh-card-grid-three {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin: 1.75rem 0;
}

@media (max-width: 900px) {
	.dh-card-grid-three {
		grid-template-columns: 1fr;
	}
	.dh-card-grid-two {
		grid-template-columns: 1fr;
	}
}

.dh-feature-card {
	background: #ffffff;
	border: 1px solid var(--dh-border);
	border-radius: var(--dh-radius-md);
	padding: 1.75rem;
	box-shadow: var(--dh-shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dh-feature-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--dh-shadow-md);
}

.dh-feature-card h4 {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--dh-text-main);
	margin-top: 0.5rem;
	margin-bottom: 0.75rem;
}

.dh-feature-card p {
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: 1rem;
	color: var(--dh-text-body);
}

.dh-card-pill {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 4px 10px;
	border-radius: var(--dh-radius-full);
	margin-bottom: 0.75rem;
}

.pill-ones { background: #fee2e2; color: #991b1b; }
.pill-twos { background: #e0e7ff; color: #3730a3; }
.pill-threes { background: #fef3c7; color: #92400e; }

/* Callout Box */
.dh-callout-box {
	display: flex;
	gap: 1.25rem;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-left: 5px solid var(--dh-primary);
	border-radius: var(--dh-radius-md);
	padding: 1.5rem 1.75rem;
	margin: 2rem 0;
}

.dh-callout-icon {
	font-size: 1.75rem;
	line-height: 1;
	flex-shrink: 0;
}

.dh-callout-content h4 {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--dh-text-main);
	margin-top: 0;
	margin-bottom: 0.5rem;
}

.dh-callout-content p {
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--dh-text-body);
	margin-bottom: 0;
}

/* Numbered Steps List */
.dh-steps-list {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin: 1.75rem 0;
}

.dh-step-item {
	display: flex;
	gap: 1.5rem;
	background: #ffffff;
	border: 1px solid var(--dh-border);
	border-radius: var(--dh-radius-md);
	padding: 1.5rem;
	box-shadow: var(--dh-shadow-sm);
}

.dh-step-num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--dh-primary-light);
	color: var(--dh-primary);
	font-weight: 800;
	font-size: 1.1rem;
	flex-shrink: 0;
}

.dh-step-body h4 {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--dh-text-main);
	margin-top: 0;
	margin-bottom: 0.5rem;
}

.dh-step-body p {
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: 0;
}

/* Shot Scales Grid */
.dh-shot-scales-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1.25rem;
	margin: 1.75rem 0;
}

.dh-shot-card {
	background: #ffffff;
	border: 1px solid var(--dh-border);
	border-radius: var(--dh-radius-md);
	padding: 1.5rem;
	box-shadow: var(--dh-shadow-sm);
}

.dh-shot-abbr {
	display: inline-block;
	background: var(--dh-primary);
	color: #ffffff;
	font-weight: 800;
	font-size: 0.85rem;
	padding: 3px 10px;
	border-radius: var(--dh-radius-sm);
	margin-bottom: 0.75rem;
}

.dh-shot-card h4 {
	font-size: 1.05rem;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 0.5rem;
}

.dh-shot-card p {
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--dh-text-body);
	margin-bottom: 0;
}

/* Code Formula Box */
.dh-code-formula-box {
	background: #0f172a;
	color: #f8fafc;
	padding: 1.5rem;
	border-radius: var(--dh-radius-md);
	overflow-x: auto;
	margin: 1.5rem 0;
	box-shadow: var(--dh-shadow-md);
}

.dh-code-formula-box pre {
	margin: 0;
	font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
	font-size: 0.9rem;
	line-height: 1.6;
}

.dh-code-formula-box code {
	color: #93c5fd;
}

/* Accordion FAQs */
.dh-faq-section {
	margin-top: 3.5rem;
}

.dh-accordion {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	margin: 1.75rem 0;
}

.dh-accordion-item {
	background: #ffffff;
	border: 1px solid var(--dh-border);
	border-radius: var(--dh-radius-md);
	overflow: hidden;
	transition: border-color 0.15s ease;
}

.dh-accordion-item:hover {
	border-color: var(--dh-primary-border);
}

.dh-accordion-trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 1.5rem;
	background: transparent;
	border: none;
	cursor: pointer;
	text-align: left;
	font-family: var(--dh-font-heading);
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--dh-text-main);
	gap: 1rem;
	transition: background 0.15s ease;
}

.dh-accordion-trigger:hover {
	background: #f8fafc;
}

.dh-accordion-trigger:focus-visible {
	outline: 2px solid var(--dh-primary);
	outline-offset: -2px;
}

.dh-accordion-icon {
	flex-shrink: 0;
	transition: transform 0.25s ease;
	color: var(--dh-text-muted);
}

.dh-accordion-trigger[aria-expanded="true"] .dh-accordion-icon {
	transform: rotate(180deg);
	color: var(--dh-primary);
}

.dh-accordion-panel {
	padding: 0 1.5rem 1.5rem;
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--dh-text-body);
}

.dh-accordion-panel p {
	margin-bottom: 0;
}

/* Related Tools Navigation */
.dh-related-tools-box {
	background: #ffffff;
	border: 1px solid var(--dh-border);
	border-radius: var(--dh-radius-lg);
	padding: 2.25rem;
	margin-top: 3.5rem;
	box-shadow: var(--dh-shadow-sm);
}

.dh-related-tools-box h3 {
	font-size: 1.35rem;
	margin-top: 0;
	margin-bottom: 0.5rem;
}

.dh-related-tools-links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1rem;
	margin-top: 1.5rem;
}

.dh-rel-tool-card {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	background: var(--dh-surface-muted);
	border: 1px solid var(--dh-border);
	border-radius: var(--dh-radius-md);
	padding: 1.25rem;
	text-decoration: none;
	color: var(--dh-text-main);
	transition: all 0.2s ease;
}

.dh-rel-tool-card:hover {
	background: #ffffff;
	border-color: var(--dh-primary);
	transform: translateY(-2px);
	box-shadow: var(--dh-shadow-md);
	color: var(--dh-primary);
}

.dh-rel-tool-icon {
	font-size: 1.75rem;
	line-height: 1;
	flex-shrink: 0;
}

.dh-rel-tool-card strong {
	display: block;
	font-size: 1rem;
	margin-bottom: 4px;
	color: var(--dh-text-main);
}

.dh-rel-tool-card span {
	font-size: 0.85rem;
	color: var(--dh-text-muted);
	line-height: 1.4;
	display: block;
}

/* List Checks */
.dh-list-checks {
	list-style: none;
	padding-left: 0;
	margin: 1rem 0 1.5rem;
}

.dh-list-checks li {
	position: relative;
	padding-left: 1.75rem;
	margin-bottom: 0.75rem;
	line-height: 1.6;
}

.dh-list-checks li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--dh-primary);
	font-weight: 800;
}

/* Artwork Fallback Image */
.dh-artwork-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	background: #f1f5f9;
}

/* Study Critique Block in Single Work */
.dh-study-critique-block h4 {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--dh-text-main);
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
}

.dh-study-critique-block p {
	font-size: 1rem;
	line-height: 1.7;
	margin-bottom: 1.25rem;
	color: var(--dh-text-body);
}

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

