/**
 * Hussain Digital Tools - Unified Frontend SaaS Design System
 * 
 * Design Tokens:
 * Primary Purple: #6D45D9
 * Accent Purple: #8B5CF6
 * Light Purple: #F5F3FF
 * Main Background: #FFFFFF
 * Section Background: #F8F8FC
 * Hover Background: #FAF9FF
 * Main Text: #171923
 * Secondary Text: #6B7280
 * Border: #EAE8F0
 * Typography: 'Inter', sans-serif
 *
 * Scoped with .hdt- prefixes to prevent CSS bleed into Astra and Elementor.
 * @package HussainDigitalTools
 * @version 1.2.0
 */

/* ====================================================
   0. DESIGN SYSTEM VARIABLES & FOUNDATION
   ==================================================== */
:root {
	--hdt-primary: #6D45D9;
	--hdt-primary-hover: #5B37BF;
	--hdt-accent: #8B5CF6;
	--hdt-primary-light: #F5F3FF;
	--hdt-primary-subtle: #EDE9FE;
	--hdt-bg-main: #FFFFFF;
	--hdt-bg-section: #F8F8FC;
	--hdt-bg-hover: #FAF9FF;
	--hdt-text-main: #171923;
	--hdt-text-secondary: #6B7280;
	--hdt-border: #EAE8F0;
	--hdt-border-hover: #6D45D9;
	--hdt-card-radius: 16px;
	--hdt-cat-radius: 16px;
	--hdt-font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	--hdt-shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
	--hdt-shadow-hover: 0 10px 25px -5px rgba(109, 69, 217, 0.1), 0 8px 10px -6px rgba(109, 69, 217, 0.05);
	--hdt-shadow-focus: 0 0 0 3px rgba(109, 69, 217, 0.18);
	--hdt-transition-fast: all 180ms ease;
	--hdt-transition-normal: all 220ms ease;
}

/* Global Reset for HDT Components */
.hdt-container,
.hdt-tools-wrapper,
.hdt-featured-tools-wrapper,
.hdt-categories-wrapper,
.hdt-search-container,
.hdt-category-archive-wrap,
.hdt-single-tool-wrapper {
	font-family: var(--hdt-font-family);
	color: var(--hdt-text-main);
	line-height: 1.55;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
}

.hdt-container *,
.hdt-tools-wrapper *,
.hdt-featured-tools-wrapper *,
.hdt-categories-wrapper *,
.hdt-search-container *,
.hdt-category-archive-wrap *,
.hdt-single-tool-wrapper * {
	box-sizing: border-box;
}

.hdt-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	width: 100%;
}

.hdt-tools-wrapper,
.hdt-featured-tools-wrapper,
.hdt-categories-wrapper {
	width: 100%;
	margin-bottom: 40px;
}

/* ====================================================
   1. RESPONSIVE TOOLS GRID SYSTEM
   Breakpoints:
   - Large Desktop (1200px+): 4 cols
   - Desktop (992px–1199px): 3 cols
   - Tablet (768px–991px): 2 cols
   - Mobile (421px–767px): 2 cols
   - Small Mobile (up to 420px): 1 col
   ==================================================== */
.hdt-tools-grid {
	display: grid;
	gap: 20px;
	align-items: stretch;
	width: 100%;
	box-sizing: border-box;
}

/* Base columns */
.hdt-cols-4 { grid-template-columns: repeat(4, 1fr); }
.hdt-cols-3 { grid-template-columns: repeat(3, 1fr); }
.hdt-cols-2 { grid-template-columns: repeat(2, 1fr); }
.hdt-cols-1 { grid-template-columns: 1fr; }
.hdt-cols-6 { grid-template-columns: repeat(6, 1fr); }

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
	.hdt-cols-4 {
		grid-template-columns: repeat(4, 1fr) !important;
	}
}

/* Desktop (992px - 1199px) -> 3 cols */
@media (min-width: 992px) and (max-width: 1199px) {
	.hdt-cols-4,
	.hdt-cols-6 {
		grid-template-columns: repeat(3, 1fr) !important;
		gap: 18px !important;
	}
}

/* Tablet (768px - 991px) -> 2 cols */
@media (min-width: 768px) and (max-width: 991px) {
	.hdt-cols-4,
	.hdt-cols-3,
	.hdt-cols-6 {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 16px !important;
	}
}

/* Mobile (421px - 767px) -> 2 cols */
@media (min-width: 421px) and (max-width: 767px) {
	.hdt-cols-4,
	.hdt-cols-3,
	.hdt-cols-2,
	.hdt-cols-6 {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 14px !important;
	}
}

/* Small Mobile (up to 420px) -> 1 col */
@media (max-width: 420px) {
	.hdt-cols-4,
	.hdt-cols-3,
	.hdt-cols-2,
	.hdt-cols-6 {
		grid-template-columns: 1fr !important;
		gap: 12px !important;
	}
}

/* ====================================================
   2. PROFESSIONAL TOOL CARDS
   Modern SaaS aesthetics with purple accenting
   ==================================================== */
.hdt-tool-card-item {
	background: #FFFFFF !important;
	border: 1px solid var(--hdt-border) !important;
	border-radius: var(--hdt-card-radius) !important;
	box-shadow: var(--hdt-shadow-subtle) !important;
	transition: var(--hdt-transition-normal) !important;
	position: relative !important;
	display: flex !important;
	flex-direction: column !important;
	height: 100% !important;
	overflow: hidden !important;
	box-sizing: border-box !important;
}

.hdt-tool-card-item:hover {
	transform: translateY(-3px) !important;
	border-color: var(--hdt-primary) !important;
	box-shadow: var(--hdt-shadow-hover) !important;
	background: var(--hdt-bg-hover) !important;
}

/* Entire card is clickable */
.hdt-card-link {
	text-decoration: none !important;
	color: inherit !important;
	display: flex !important;
	flex-direction: column !important;
	flex-grow: 1 !important;
	padding: 20px 22px !important;
	height: 100% !important;
	box-sizing: border-box !important;
	position: relative !important;
}

.hdt-card-link:focus-visible {
	outline: 2px solid var(--hdt-primary) !important;
	outline-offset: 2px !important;
	border-radius: var(--hdt-card-radius) !important;
}

/* Card Header: Icon & Badges */
.hdt-card-top {
	display: flex !important;
	justify-content: space-between !important;
	align-items: flex-start !important;
	margin-bottom: 16px !important;
	gap: 12px !important;
}

/* 48px x 48px Light Purple Container */
.hdt-card-icon-wrapper {
	width: 48px !important;
	height: 48px !important;
	border-radius: 12px !important;
	background: var(--hdt-primary-light) !important;
	color: var(--hdt-primary) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
	transition: var(--hdt-transition-fast) !important;
}

.hdt-tool-card-item:hover .hdt-card-icon-wrapper {
	background: var(--hdt-primary-subtle) !important;
	color: var(--hdt-primary-hover) !important;
	transform: scale(1.04) !important;
}

.hdt-card-icon-wrapper .dashicons {
	font-size: 24px !important;
	width: 24px !important;
	height: 24px !important;
	line-height: 24px !important;
	color: inherit !important;
}

.hdt-card-icon-img {
	width: 28px !important;
	height: 28px !important;
	object-fit: contain !important;
}

/* Badges */
.hdt-card-badges {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-end !important;
	gap: 5px !important;
	flex-shrink: 0 !important;
}

.hdt-card-badge-featured {
	background: #FAF5FF !important;
	color: #6D45D9 !important;
	border: 1px solid #E9D5FF !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	padding: 2px 8px !important;
	border-radius: 20px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	white-space: nowrap !important;
	line-height: 1.4 !important;
}

.hdt-card-badge-cat {
	font-size: 11px !important;
	font-weight: 500 !important;
	color: var(--hdt-text-secondary) !important;
	background: #F8F8FC !important;
	padding: 2px 7px !important;
	border-radius: 6px !important;
	white-space: nowrap !important;
	border: 1px solid #F1F0F5 !important;
	line-height: 1.4 !important;
}

/* Card Content */
.hdt-card-content {
	flex-grow: 1 !important;
	margin-bottom: 16px !important;
}

.hdt-card-title {
	font-family: var(--hdt-font-family) !important;
	font-size: 17px !important;
	font-weight: 600 !important;
	color: var(--hdt-text-main) !important;
	margin: 0 0 6px 0 !important;
	line-height: 1.4 !important;
	transition: color 180ms ease !important;
}

.hdt-tool-card-item:hover .hdt-card-title {
	color: var(--hdt-primary) !important;
}

.hdt-card-description {
	font-family: var(--hdt-font-family) !important;
	font-size: 13.5px !important;
	color: var(--hdt-text-secondary) !important;
	margin: 0 !important;
	line-height: 1.55 !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
}

/* Card Footer */
.hdt-card-footer {
	margin-top: auto !important;
	padding-top: 14px !important;
	border-top: 1px solid #F1F0F5 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
}

.hdt-card-btn-text {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	font-family: var(--hdt-font-family) !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	color: var(--hdt-primary) !important;
	transition: gap 200ms ease, color 200ms ease !important;
}

.hdt-arrow-icon {
	stroke: var(--hdt-primary) !important;
	transition: transform 200ms ease !important;
	flex-shrink: 0 !important;
}

.hdt-tool-card-item:hover .hdt-card-btn-text {
	gap: 9px !important;
	color: var(--hdt-primary-hover) !important;
}

.hdt-tool-card-item:hover .hdt-arrow-icon {
	transform: translateX(4px) !important;
}

/* Mobile adjustments for tool cards in standard grids */
@media (max-width: 767px) {
	.hdt-card-link {
		padding: 16px 14px !important;
	}
	.hdt-card-icon-wrapper {
		width: 42px !important;
		height: 42px !important;
		border-radius: 10px !important;
	}
	.hdt-card-icon-wrapper .dashicons {
		font-size: 22px !important;
		width: 22px !important;
		height: 22px !important;
		line-height: 22px !important;
	}
	.hdt-card-title {
		font-size: 15px !important;
		margin-bottom: 4px !important;
	}
	.hdt-card-description {
		font-size: 12.5px !important;
		line-height: 1.5 !important;
	}
	.hdt-card-footer {
		padding-top: 10px !important;
	}
	.hdt-card-btn-text {
		font-size: 12px !important;
	}
}

@media (max-width: 420px) {
	.hdt-card-link {
		padding: 18px 16px !important;
	}
}

/* ====================================================
   3. PROFESSIONAL CATEGORY CARDS
   ==================================================== */
.hdt-categories-grid {
	display: grid;
	gap: 20px;
	width: 100%;
	box-sizing: border-box;
}

.hdt-category-card {
	background: #FFFFFF !important;
	border: 1px solid var(--hdt-border) !important;
	border-radius: var(--hdt-cat-radius) !important;
	box-shadow: var(--hdt-shadow-subtle) !important;
	transition: var(--hdt-transition-normal) !important;
	overflow: hidden !important;
	display: flex !important;
	flex-direction: column !important;
	height: 100% !important;
	box-sizing: border-box !important;
	position: relative !important;
}

.hdt-category-card:hover {
	transform: translateY(-3px) !important;
	box-shadow: var(--hdt-shadow-hover) !important;
	border-color: var(--hdt-primary) !important;
	background: var(--hdt-bg-hover) !important;
}

.hdt-category-card-link {
	display: flex !important;
	flex-direction: column !important;
	flex-grow: 1 !important;
	padding: 22px !important;
	height: 100% !important;
	text-decoration: none !important;
	color: inherit !important;
	box-sizing: border-box !important;
}

.hdt-category-card-link:focus-visible {
	outline: 2px solid var(--hdt-primary) !important;
	outline-offset: 2px !important;
	border-radius: var(--hdt-cat-radius) !important;
}

.hdt-cat-icon-wrap {
	width: 48px !important;
	height: 48px !important;
	border-radius: 12px !important;
	background: var(--hdt-primary-light) !important;
	color: var(--hdt-primary) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin-bottom: 14px !important;
	transition: var(--hdt-transition-fast) !important;
	flex-shrink: 0 !important;
}

.hdt-category-card:hover .hdt-cat-icon-wrap {
	background: var(--hdt-primary-subtle) !important;
	color: var(--hdt-primary-hover) !important;
	transform: scale(1.04) !important;
}

.hdt-cat-icon-wrap .dashicons {
	font-size: 24px !important;
	width: 24px !important;
	height: 24px !important;
	line-height: 24px !important;
}

.hdt-cat-name {
	font-family: var(--hdt-font-family) !important;
	font-size: 17px !important;
	font-weight: 600 !important;
	color: var(--hdt-text-main) !important;
	margin: 0 0 6px 0 !important;
	line-height: 1.4 !important;
	transition: color 180ms ease !important;
}

.hdt-category-card:hover .hdt-cat-name {
	color: var(--hdt-primary) !important;
}

.hdt-cat-desc {
	font-family: var(--hdt-font-family) !important;
	font-size: 13px !important;
	color: var(--hdt-text-secondary) !important;
	margin: 0 0 16px 0 !important;
	line-height: 1.5 !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
	flex-grow: 1 !important;
}

.hdt-cat-footer {
	margin-top: auto !important;
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	padding-top: 12px !important;
	border-top: 1px solid #F1F0F5 !important;
}

.hdt-cat-count-badge {
	font-family: var(--hdt-font-family) !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	color: var(--hdt-primary) !important;
	background: var(--hdt-primary-light) !important;
	padding: 3px 10px !important;
	border-radius: 20px !important;
	line-height: 1.4 !important;
}

.hdt-cat-explore {
	font-family: var(--hdt-font-family) !important;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	color: var(--hdt-primary) !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 4px !important;
	transition: gap 200ms ease, color 200ms ease !important;
}

.hdt-category-card:hover .hdt-cat-explore {
	gap: 7px !important;
	color: var(--hdt-primary-hover) !important;
}

.hdt-category-card:hover .hdt-cat-explore .hdt-arrow-icon {
	transform: translateX(3px) !important;
}

/* Category Grid Breakpoints */
@media (min-width: 992px) {
	.hdt-categories-grid.hdt-cols-4 {
		grid-template-columns: repeat(4, 1fr) !important;
	}
}

@media (min-width: 421px) and (max-width: 991px) {
	.hdt-categories-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 16px !important;
	}
	.hdt-category-card-link {
		padding: 18px 16px !important;
	}
}

@media (max-width: 420px) {
	.hdt-categories-grid {
		grid-template-columns: 1fr !important;
		gap: 12px !important;
	}
	.hdt-category-card-link {
		padding: 16px !important;
	}
}

/* ====================================================
   4. RESPONSIVE LIVE SEARCH SYSTEM
   ==================================================== */
.hdt-search-container {
	width: 100%;
	max-width: 680px;
	margin: 0 auto 30px;
	position: relative;
	box-sizing: border-box;
}

.hdt-search-input-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	background: #FFFFFF;
	border: 1.5px solid var(--hdt-border);
	border-radius: 50px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	padding: 6px 18px;
	transition: border-color 200ms ease, box-shadow 200ms ease;
}

.hdt-search-input-wrapper:focus-within {
	border-color: var(--hdt-primary);
	box-shadow: 0 0 0 4px rgba(109, 69, 217, 0.12);
}

.hdt-search-icon {
	color: var(--hdt-accent);
	display: flex;
	align-items: center;
	margin-right: 12px;
	flex-shrink: 0;
}

.hdt-search-input {
	border: none !important;
	outline: none !important;
	background: transparent !important;
	width: 100% !important;
	font-family: var(--hdt-font-family) !important;
	font-size: 15px !important;
	color: var(--hdt-text-main) !important;
	padding: 10px 0 !important;
	box-shadow: none !important;
	line-height: 1.5 !important;
}

.hdt-search-input::placeholder {
	color: #94A3B8;
	font-size: 14.5px;
}

.hdt-search-clear {
	background: #EAE8F0 !important;
	border: none !important;
	border-radius: 50% !important;
	width: 24px !important;
	height: 24px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	color: #64748B !important;
	font-size: 16px !important;
	line-height: 1 !important;
	padding: 0 !important;
	transition: background 150ms ease, color 150ms ease !important;
	margin-left: 6px !important;
	flex-shrink: 0 !important;
}

.hdt-search-clear:hover {
	background: #CBD5E1 !important;
	color: #1E293B !important;
}

.hdt-search-spinner {
	width: 18px;
	height: 18px;
	border: 2px solid #EAE8F0;
	border-top-color: var(--hdt-primary);
	border-radius: 50%;
	animation: hdt-spin 0.6s linear infinite;
	margin-left: 8px;
	flex-shrink: 0;
}

@keyframes hdt-spin {
	to { transform: rotate(360deg); }
}

.hdt-search-results-area {
	margin-top: 24px;
	width: 100%;
}

.hdt-search-results-header {
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.hdt-results-count {
	font-size: 13px;
	font-weight: 600;
	color: var(--hdt-text-secondary);
	background: #F8F8FC;
	padding: 4px 12px;
	border-radius: 20px;
	border: 1px solid #EAE8F0;
}

/* Empty / No Results State */
.hdt-no-results {
	text-align: center;
	padding: 44px 20px;
	background: #FFFFFF;
	border: 1.5px dashed var(--hdt-border);
	border-radius: var(--hdt-card-radius);
	grid-column: 1 / -1;
	width: 100%;
	box-sizing: border-box;
}

.hdt-no-results-icon {
	color: var(--hdt-accent);
	margin-bottom: 14px;
	display: inline-block;
}

.hdt-no-results h3 {
	font-family: var(--hdt-font-family);
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 8px 0;
	color: var(--hdt-text-main);
}

.hdt-no-results p {
	font-size: 13.5px;
	color: var(--hdt-text-secondary);
	max-width: 440px;
	margin: 0 auto 18px;
	line-height: 1.55;
}

.hdt-no-results strong {
	color: var(--hdt-primary);
}

.hdt-btn-reset-search {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--hdt-primary-light);
	color: var(--hdt-primary);
	border: 1px solid var(--hdt-border);
	padding: 8px 18px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: var(--hdt-transition-fast);
}

.hdt-btn-reset-search:hover {
	background: var(--hdt-primary);
	color: #FFFFFF;
	border-color: var(--hdt-primary);
}

.hdt-search-error {
	padding: 20px;
	text-align: center;
	background: #FEF2F2;
	border: 1px solid #FCA5A5;
	border-radius: 12px;
	color: #B91C1C;
	font-size: 13.5px;
	grid-column: 1 / -1;
}

/* ====================================================
   MOBILE COMPACT SEARCH RESULT ROWS (Section 5)
   On screens under 768px, live search results adapt into
   sleek horizontal rows with icon, text, and arrow.
   ==================================================== */
@media (max-width: 767px) {
	.hdt-search-results-area .hdt-tools-grid {
		display: flex !important;
		flex-direction: column !important;
		gap: 10px !important;
	}

	.hdt-search-results-area .hdt-tool-card-item {
		border-radius: 14px !important;
		height: auto !important;
	}

	.hdt-search-results-area .hdt-card-link {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		padding: 12px 14px !important;
		gap: 12px !important;
		height: auto !important;
	}

	.hdt-search-results-area .hdt-card-top {
		margin-bottom: 0 !important;
		align-items: center !important;
		flex-shrink: 0 !important;
	}

	.hdt-search-results-area .hdt-card-icon-wrapper {
		width: 40px !important;
		height: 40px !important;
		border-radius: 10px !important;
	}

	.hdt-search-results-area .hdt-card-icon-wrapper .dashicons {
		font-size: 20px !important;
		width: 20px !important;
		height: 20px !important;
		line-height: 20px !important;
	}

	.hdt-search-results-area .hdt-card-badges {
		display: none !important;
	}

	.hdt-search-results-area .hdt-card-content {
		margin-bottom: 0 !important;
		flex-grow: 1 !important;
		min-width: 0 !important;
	}

	.hdt-search-results-area .hdt-card-title {
		font-size: 14.5px !important;
		font-weight: 600 !important;
		margin: 0 0 2px 0 !important;
		white-space: nowrap !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
	}

	.hdt-search-results-area .hdt-card-description {
		font-size: 12px !important;
		color: var(--hdt-text-secondary) !important;
		display: -webkit-box !important;
		-webkit-line-clamp: 1 !important;
		-webkit-box-orient: vertical !important;
		overflow: hidden !important;
		line-height: 1.4 !important;
	}

	.hdt-search-results-area .hdt-card-footer {
		border-top: none !important;
		padding-top: 0 !important;
		margin-top: 0 !important;
		flex-shrink: 0 !important;
		display: flex !important;
		align-items: center !important;
	}

	.hdt-search-results-area .hdt-card-btn-text {
		font-size: 0 !important;
		gap: 0 !important;
	}

	.hdt-search-results-area .hdt-arrow-icon {
		width: 18px !important;
		height: 18px !important;
	}
}

/* ====================================================
   5. CATEGORY ARCHIVE PAGES
   ==================================================== */
.hdt-category-archive-wrap {
	padding: 30px 0 60px;
}

.hdt-category-hero {
	text-align: center;
	margin-bottom: 36px;
}

.hdt-category-hero-inner {
	margin-bottom: 24px;
}

.hdt-cat-hero-icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: var(--hdt-primary-light);
	color: var(--hdt-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
}

.hdt-cat-hero-icon .dashicons {
	font-size: 28px;
	width: 28px;
	height: 28px;
	line-height: 28px;
}

.hdt-cat-hero-title {
	font-family: var(--hdt-font-family);
	font-size: 32px;
	font-weight: 700;
	color: var(--hdt-text-main);
	margin: 0 0 8px 0;
	line-height: 1.3;
}

.hdt-cat-hero-desc {
	font-size: 15px;
	color: var(--hdt-text-secondary);
	max-width: 600px;
	margin: 0 auto 14px;
	line-height: 1.55;
}

.hdt-hero-count {
	display: inline-block;
	background: var(--hdt-primary-light);
	color: var(--hdt-primary);
	font-size: 12.5px;
	font-weight: 600;
	padding: 4px 14px;
	border-radius: 20px;
}

.hdt-breadcrumbs {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	color: var(--hdt-text-secondary);
	margin-bottom: 20px;
	gap: 6px;
	flex-wrap: wrap;
}

.hdt-breadcrumbs a {
	color: var(--hdt-text-secondary);
	text-decoration: none;
	transition: color 150ms ease;
}

.hdt-breadcrumbs a:hover {
	color: var(--hdt-primary);
}

.hdt-bc-sep {
	color: #CBD5E1;
}

.hdt-bc-current {
	color: var(--hdt-text-main);
	font-weight: 600;
}

/* ====================================================
   6. SINGLE TOOL PAGE & RECOMMENDED TOOLS
   ==================================================== */
.hdt-single-tool-wrapper {
	padding: 24px 0 60px;
}

.hdt-single-tool-wrapper .hdt-breadcrumbs {
	justify-content: flex-start;
	margin-bottom: 20px;
}

.hdt-tool-render-area {
	width: 100%;
}

/* Recommended Tools Section */
.hdt-related-container {
	margin-top: 48px !important;
	padding-top: 36px !important;
	border-top: 1px solid var(--hdt-border) !important;
}

.hdt-related-header {
	text-align: center;
	margin-bottom: 28px;
}

.hdt-related-title {
	font-family: var(--hdt-font-family);
	font-size: 24px;
	font-weight: 700;
	color: var(--hdt-text-main);
	margin: 8px 0 6px 0;
}

.hdt-related-subtitle {
	font-size: 14px;
	color: var(--hdt-text-secondary);
	margin: 0;
}

/* ====================================================
   7. ABOUT CARD & INTERACTIVE FAQ ACCORDION
   ==================================================== */
.hdt-tool-about-card,
.hdt-tool-faq-card {
	background: #FFFFFF !important;
	border: 1px solid var(--hdt-border) !important;
	border-radius: var(--hdt-card-radius) !important;
	box-shadow: var(--hdt-shadow-subtle) !important;
	padding: 28px !important;
	margin-top: 24px !important;
	margin-bottom: 24px !important;
	box-sizing: border-box !important;
}

.hdt-seo-card-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid #F1F0F5;
}

.hdt-seo-header-icon {
	color: var(--hdt-primary) !important;
	background: var(--hdt-primary-light) !important;
	width: 36px !important;
	height: 36px !important;
	border-radius: 10px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 20px !important;
	line-height: 20px !important;
	flex-shrink: 0 !important;
}

.hdt-seo-card-title {
	font-family: var(--hdt-font-family) !important;
	font-size: 19px !important;
	font-weight: 600 !important;
	color: var(--hdt-text-main) !important;
	margin: 0 !important;
}

.hdt-prose {
	font-size: 14.5px;
	line-height: 1.65;
	color: #374151;
}

.hdt-prose p {
	margin: 0 0 14px 0;
}

.hdt-prose p:last-child {
	margin-bottom: 0;
}

/* Interactive FAQ Accordion */
.hdt-faq-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.hdt-faq-item {
	border: 1px solid var(--hdt-border);
	border-radius: 12px;
	background: #FFFFFF;
	overflow: hidden;
	transition: border-color 150ms ease, box-shadow 150ms ease;
}

.hdt-faq-item[open] {
	border-color: var(--hdt-primary);
	box-shadow: 0 2px 8px rgba(109, 69, 217, 0.06);
}

.hdt-faq-question {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	padding: 14px 18px !important;
	font-family: var(--hdt-font-family) !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	color: var(--hdt-text-main) !important;
	cursor: pointer !important;
	list-style: none !important;
	user-select: none !important;
	transition: color 150ms ease, background 150ms ease !important;
}

.hdt-faq-question::-webkit-details-marker {
	display: none !important;
}

.hdt-faq-question:hover {
	color: var(--hdt-primary) !important;
	background: var(--hdt-bg-hover) !important;
}

.hdt-faq-chevron {
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--hdt-text-secondary);
	border-bottom: 2px solid var(--hdt-text-secondary);
	transform: rotate(45deg);
	transition: transform 200ms ease, border-color 200ms ease;
	flex-shrink: 0;
	margin-left: 12px;
}

.hdt-faq-item[open] .hdt-faq-chevron {
	transform: rotate(-135deg);
	border-color: var(--hdt-primary);
}

.hdt-faq-answer {
	padding: 0 18px 16px 18px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--hdt-text-secondary);
	border-top: 1px solid #F8F8FC;
}

.hdt-faq-answer p {
	margin: 12px 0 0 0;
}

/* ====================================================
   8. AD MONETIZATION CONTAINERS
   ==================================================== */
.hdt-ad-container {
	margin: 24px auto !important;
	text-align: center !important;
	max-width: 100% !important;
	overflow: hidden !important;
	box-sizing: border-box !important;
	display: block !important;
}

.hdt-ad-container iframe,
.hdt-ad-container ins {
	max-width: 100% !important;
	margin: 0 auto !important;
	display: block !important;
}

.hdt-ad-label {
	font-size: 11px !important;
	color: #94A3B8 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	margin-bottom: 6px !important;
	display: block !important;
}

/* ====================================================
   9. ACCESSIBILITY & FOCUS STATES
   ==================================================== */
.hdt-tool-card-item a:focus,
.hdt-category-card a:focus,
.hdt-btn:focus,
.hdt-search-input:focus {
	outline-offset: 2px;
}

/* Print styles */
@media print {
	.hdt-ad-container,
	.hdt-search-container,
	.hdt-card-btn-text,
	.hdt-arrow-icon {
		display: none !important;
	}
}
