/**
 * Minimal Theme - Global Utility Classes
 *
 * Reusable CSS patterns extracted from component-specific files
 * These classes provide consistent styling across the theme
 *
 * @package Minimal Theme
 */

/* ========================================
   CONTAINER UTILITIES
   ======================================== */

/* Standard container with max-width and centering */
.scp-container-global {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Archive wrapper (container without flex) */
.scp-archive-wrapper-global {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ========================================
   SEARCH COMPONENTS
   ======================================== */

/* Search box with rounded styling */
.scp-search-box-global {
	display: flex;
	gap: 12px;
	background: var(--white);
	padding: 8px;
	border-radius: 9999px;
	box-shadow: var(--shadow-lg);
}

/* Search input */
.scp-search-input-global {
	flex: 1;
	border: none;
	padding: 12px 20px;
	font-size: 16px;
	border-radius: 9999px;
	outline: none;
}

/* Search button */
.scp-search-btn-global {
	background: var(--navy);
	color: var(--white);
	border: none;
	padding: 12px 28px;
	border-radius: 9999px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 180ms var(--ease);
}

.scp-search-btn-global:hover {
	background: var(--teal);
}

/* Clear search button */
.scp-clear-search-global {
	display: none;
	background: var(--gray-100);
	color: var(--gray-600);
	border: none;
	padding: 8px 16px;
	border-radius: 9999px;
	font-size: 14px;
	cursor: pointer;
	transition: all 180ms var(--ease);
}

.scp-clear-search-global.visible {
	display: inline-block;
}

.scp-clear-search-global:hover {
	background: var(--gray-200);
}

/* ========================================
   ARCHIVE STATS
   ======================================== */

/* Archive stats container */
.scp-archive-stats-global {
	display: flex;
	gap: 24px;
	justify-content: center;
	flex-wrap: wrap;
}

/* Individual stat item */
.scp-archive-stat-global {
	text-align: center;
}

/* Stat number */
.scp-archive-stat-num-global {
	font-size: 32px;
	font-weight: 700;
	color: var(--white);
	margin-bottom: 4px;
}

/* Stat label */
.scp-archive-stat-lbl-global {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   EMPTY STATE
   ======================================== */

/* Empty state container */
.scp-empty-state-global {
	text-align: center;
	padding: 80px 24px;
}

/* Empty state icon */
.scp-empty-icon-global {
	font-size: 64px;
	margin-bottom: 24px;
	line-height: 1;
}

/* Empty state title */
.scp-empty-title-global {
	font-family: 'Sora', sans-serif;
	font-size: 24px;
	font-weight: 700;
	color: var(--navy);
	margin-bottom: 12px;
}

/* Empty state description */
.scp-empty-desc-global {
	font-size: 16px;
	color: var(--gray-500);
	margin-bottom: 24px;
	line-height: 1.6;
}

/* ========================================
   HERO TYPOGRAPHY (ARCHIVE & VERIFICATION)
   ======================================== */

/* Hero title (standardized for archive/verification pages) */
.scp-hero-title-global {
	font-family: 'Sora', sans-serif;
	font-size: clamp(36px, 5vw, 52px);
	font-weight: 800;
	line-height: 1.1;
	color: var(--white);
	margin: 0 0 16px;
}

/* Hero description (standardized for archive/verification pages) */
.scp-hero-desc-global {
	font-size: 18px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.65);
	margin: 0 0 32px;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

/* ========================================
   HERO BACKGROUND ELEMENTS
   ======================================== */

/* Hero background wrapper */
.scp-hero-bg-global {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

/* Hero blob (gradient circle) */
.scp-hero-blob-global {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

/* Hero dots pattern */
.scp-hero-dots-global {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
	background-size: 32px 32px;
}

/* ========================================
   PAGINATION
   ======================================== */

/* Pagination container */
.scp-pagination-global {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 40px;
	flex-wrap: wrap;
}

/* WordPress paginate_links() compatibility */
.scp-pagination-global .page-numbers,
.scp-pagination-global a,
.scp-pagination-global span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	background: var(--white);
	border: 1.5px solid var(--gray-200);
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--gray-700);
	text-decoration: none;
	transition: all 200ms var(--ease);
}

.scp-pagination-global .page-numbers:hover,
.scp-pagination-global a:hover {
	border-color: var(--teal);
	color: var(--teal);
	transform: translateY(-2px);
	box-shadow: var(--shadow-sm);
}

.scp-pagination-global .page-numbers.current,
.scp-pagination-global .page-numbers.active {
	background: var(--navy);
	color: var(--white);
	border-color: var(--navy);
}

.scp-pagination-global .page-numbers.prev,
.scp-pagination-global .page-numbers.next {
	padding: 0 16px;
}

/* Custom pagination link (for category-hub.php) */
.scp-pagination-link-global {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	background: var(--white);
	border: 1.5px solid var(--gray-200);
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--gray-700);
	text-decoration: none;
	transition: all 200ms var(--ease);
}

.scp-pagination-link-global:hover {
	border-color: var(--teal);
	color: var(--teal);
	transform: translateY(-2px);
	box-shadow: var(--shadow-sm);
}

.scp-pagination-link-global.active {
	background: var(--navy);
	color: var(--white);
	border-color: var(--navy);
}

/* ========================================
   RESPONSIVE UTILITIES
   ======================================== */

@media (max-width: 640px) {
	.scp-container-global,
	.scp-archive-wrapper-global {
		padding: 0 16px;
	}

	.scp-search-box-global {
		flex-direction: column;
		padding: 12px;
		border-radius: 16px;
	}

	.scp-search-input-global {
		width: 100%;
		padding: 14px 16px;
	}

	.scp-search-btn-global {
		width: 100%;
		padding: 14px 20px;
		margin-top: 8px;
	}

	.scp-clear-search-global {
		width: 100%;
	}

	.scp-pagination-global {
		gap: 6px;
		margin-top: 32px;
	}

	.scp-pagination-global .page-numbers,
	.scp-pagination-global a,
	.scp-pagination-global span,
	.scp-pagination-link-global {
		min-width: 36px;
		height: 36px;
		font-size: 13px;
	}
}
