/**
 * Phantom Cabinets Public Styles
 *
 * Styles for frontend cabinet display pages.
 *
 * @package Phantom\Cabinets
 */

/* ==========================================================================
   Global Background - Full page coverage with background image
   ========================================================================== */

/* When any Phantom Cabinets content is present, set background on body */
body:has(.phantom-cabinet-single-page),
body:has(.phantom-arcade-showcase-page),
body:has(.phantom-showcase),
body:has(.phantom-hero-section),
body:has(.phantom-footer-section) {
	background-color: #0a0a0a !important;
	background-image: url('../images/background-plain.png') !important;
	background-size: cover !important;
	background-position: center top !important;
	background-repeat: no-repeat !important;
	background-attachment: fixed !important;
}

/* Fallback for browsers that don't support :has() - add body class via PHP */
body.phantom-cabinets-page {
	background-color: #0a0a0a !important;
	background-image: url('../images/background-plain.png') !important;
	background-size: cover !important;
	background-position: center top !important;
	background-repeat: no-repeat !important;
	background-attachment: fixed !important;
}

/* Override Divi theme header/content wrapper backgrounds */
body:has(.phantom-cabinet-single-page) #main-content,
body:has(.phantom-arcade-showcase-page) #main-content,
body:has(.phantom-showcase) #main-content,
body:has(.phantom-hero-section) #main-content,
body:has(.phantom-footer-section) #main-content,
body.phantom-cabinets-page #main-content,
body:has(.phantom-cabinet-single-page) #page-container,
body:has(.phantom-arcade-showcase-page) #page-container,
body:has(.phantom-showcase) #page-container,
body:has(.phantom-hero-section) #page-container,
body:has(.phantom-footer-section) #page-container,
body.phantom-cabinets-page #page-container,
body:has(.phantom-cabinet-single-page) .et_pb_section,
body:has(.phantom-arcade-showcase-page) .et_pb_section,
body:has(.phantom-showcase) .et_pb_section,
body:has(.phantom-hero-section) .et_pb_section,
body:has(.phantom-footer-section) .et_pb_section,
body.phantom-cabinets-page .et_pb_section {
	background-color: transparent !important;
	background-image: none !important;
}

/* Remove any borders/lines from Divi header elements */
body:has(.phantom-cabinet-single-page) #main-header,
body:has(.phantom-arcade-showcase-page) #main-header,
body:has(.phantom-showcase) #main-header,
body:has(.phantom-hero-section) #main-header,
body:has(.phantom-footer-section) #main-header,
body.phantom-cabinets-page #main-header,
body:has(.phantom-cabinet-single-page) #et-main-area,
body:has(.phantom-arcade-showcase-page) #et-main-area,
body:has(.phantom-showcase) #et-main-area,
body:has(.phantom-hero-section) #et-main-area,
body:has(.phantom-footer-section) #et-main-area,
body.phantom-cabinets-page #et-main-area {
	background-color: transparent !important;
	border-bottom: none !important;
	box-shadow: none !important;
}

/* ==========================================================================
   Single Cabinet Page Layout
   ========================================================================== */

.phantom-cabinet-single-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	position: relative;
	z-index: 1;
}

/* Background now set on body - see Global Background section above */

.phantom-cabinet-single {
	margin: 0 auto;
}

/* Hero Section */
.phantom-cabinet-header {
	margin-bottom: 2rem;
}

.phantom-cabinet-hero {
	margin-bottom: 1.5rem;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.phantom-cabinet-hero-image {
	width: 100%;
	height: auto;
	display: block;
}

.phantom-cabinet-header-content {
	text-align: center;
}

.phantom-cabinet-title {
	font-size: 2.5rem;
	font-weight: 700;
	margin: 0 0 0.5rem;
	color: #1a1a1a;
}

.phantom-cabinet-subtitle {
	font-size: 1.2rem;
	color: #666;
	margin: 0;
}

.phantom-cabinet-subtitle strong {
	color: #333;
}

/* Content Grid Layout */
.phantom-cabinet-grid {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 2.5rem;
	align-items: start;
}

.phantom-cabinet-main {
	min-width: 0;
}

/* Sidebar */
.phantom-cabinet-sidebar {
	position: sticky;
	top: 2rem;
}

.phantom-cabinet-sidebar-inner {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	overflow: hidden;
}

/* Section Styles */
.phantom-cabinet-section {
	margin-bottom: 2.5rem;
}

.phantom-cabinet-section .section-title {
	font-size: 1.4rem;
	font-weight: 600;
	margin: 0 0 1rem;
	color: #1a1a1a;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid #667eea;
}

/* ==========================================================================
   Configuration Summary
   ========================================================================== */

.phantom-cabinet-config-summary {
	padding: 1.5rem;
	border-bottom: 1px solid #e5e5e5;
}

.phantom-cabinet-config-summary .config-summary-title {
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0 0 1rem;
	color: #1a1a1a;
}

.phantom-cabinet-config-summary .config-item {
	margin-bottom: 1rem;
}

.phantom-cabinet-config-summary .config-label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 0.025em;
	margin-bottom: 0.25rem;
}

.phantom-cabinet-config-summary .config-value {
	display: block;
	font-size: 1.1rem;
	font-weight: 500;
	color: #1a1a1a;
}

.phantom-cabinet-config-summary .config-options {
	margin-top: 1rem;
}

.phantom-cabinet-config-summary .config-options-list {
	margin: 0.5rem 0 0;
	padding: 0;
	list-style: none;
}

.phantom-cabinet-config-summary .config-option-item {
	padding: 0.5rem 0;
	border-bottom: 1px solid #f0f0f0;
	font-size: 0.95rem;
	color: #444;
}

.phantom-cabinet-config-summary .config-option-item:last-child {
	border-bottom: none;
}

.phantom-cabinet-config-summary .config-option-item::before {
	content: "✓";
	color: #00a32a;
	font-weight: bold;
	margin-right: 0.5rem;
}

/* ==========================================================================
   Action Buttons / CTA Section
   ========================================================================== */

.phantom-cabinet-actions {
	padding: 1.5rem;
}

.phantom-cabinet-cta {
	text-align: center;
}

.phantom-cabinet-cta .cta-title {
	font-size: 1.2rem;
	font-weight: 600;
	margin: 0 0 0.5rem;
	color: #1a1a1a;
}

.phantom-cabinet-cta .cta-description {
	font-size: 0.95rem;
	color: #666;
	margin: 0 0 1.25rem;
	line-height: 1.5;
}

.phantom-cabinet-cta .cta-buttons {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

/* Button Styles */
.phantom-cabinet-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 1rem 1.5rem;
	font-size: 1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-decoration: none;
	border: 2px solid transparent;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.phantom-cabinet-btn-primary {
	color: #fff;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-color: #667eea;
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.phantom-cabinet-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.phantom-cabinet-btn-secondary {
	color: #667eea;
	background: transparent;
	border-color: #667eea;
}

.phantom-cabinet-btn-secondary:hover {
	background: rgba(102, 126, 234, 0.1);
}

.phantom-cabinet-btn.loading {
	opacity: 0.7;
	cursor: not-allowed;
}

/* No Config State */
.phantom-cabinet-no-config {
	text-align: center;
	padding: 1rem;
	color: #666;
}

/* Legacy button support */
.phantom-cabinet-handoff-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.875rem 2rem;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	color: #fff;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.phantom-cabinet-handoff-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.phantom-cabinet-handoff-button.loading {
	opacity: 0.7;
	cursor: not-allowed;
}

/* ==========================================================================
   Gallery Styles
   ========================================================================== */

.phantom-cabinet-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
}

.phantom-cabinet-gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
}

.phantom-cabinet-gallery-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.phantom-cabinet-gallery-item img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 4/3;
	object-fit: cover;
}

/* ==========================================================================
   Description & Details
   ========================================================================== */

.phantom-cabinet-description {
	line-height: 1.7;
	color: #444;
}

.phantom-cabinet-description p {
	margin: 0 0 1rem;
}

.phantom-cabinet-description p:last-child {
	margin-bottom: 0;
}

/* Category Tags */
.phantom-cabinet-category-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.phantom-cabinet-category-tag {
	display: inline-block;
	padding: 0.5rem 1rem;
	font-size: 0.9rem;
	color: #667eea;
	background: rgba(102, 126, 234, 0.1);
	border: 1px solid rgba(102, 126, 234, 0.2);
	border-radius: 20px;
	text-decoration: none;
	transition: all 0.2s ease;
}

.phantom-cabinet-category-tag:hover {
	background: #667eea;
	color: #fff;
	border-color: #667eea;
}

/* Legacy Details */
.phantom-cabinet-details {
	margin: 20px 0;
}

.phantom-cabinet-subject,
.phantom-cabinet-categories {
	margin-bottom: 10px;
	font-size: 1.1em;
}

.phantom-cabinet-subject strong,
.phantom-cabinet-categories strong {
	font-weight: 600;
	margin-right: 8px;
}

/* ==========================================================================
   Navigation & Footer
   ========================================================================== */

.phantom-cabinet-footer {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid #e5e5e5;
}

.phantom-cabinet-navigation {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: 2rem;
}

.phantom-cabinet-navigation .nav-previous,
.phantom-cabinet-navigation .nav-next {
	flex: 1;
	max-width: 45%;
}

.phantom-cabinet-navigation .nav-next {
	text-align: right;
}

.phantom-cabinet-navigation a {
	display: block;
	padding: 1rem;
	text-decoration: none;
	color: inherit;
	background: #f9f9f9;
	border-radius: 8px;
	transition: background 0.2s ease;
}

.phantom-cabinet-navigation a:hover {
	background: #f0f0f0;
}

.phantom-cabinet-navigation .nav-label {
	display: block;
	font-size: 0.85rem;
	color: #666;
	margin-bottom: 0.25rem;
}

.phantom-cabinet-navigation .nav-title {
	display: block;
	font-weight: 600;
	color: #1a1a1a;
}

.phantom-cabinet-navigation a:hover .nav-title {
	color: #667eea;
}

.phantom-cabinet-back-link {
	text-align: center;
}

.phantom-cabinet-back-link a {
	color: #666;
	text-decoration: none;
	font-size: 0.95rem;
}

.phantom-cabinet-back-link a:hover {
	color: #667eea;
}

/* ==========================================================================
   Archive Grid
   ========================================================================== */

.phantom-cabinet-archive {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 2rem;
	margin: 2rem 0;
}

.phantom-cabinet-card {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phantom-cabinet-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.phantom-cabinet-card-image {
	position: relative;
	padding-top: 75%;
	overflow: hidden;
	background: linear-gradient(135deg, #f5f5f5 0%, #e5e5e5 100%);
}

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

.phantom-cabinet-card:hover .phantom-cabinet-card-image img {
	transform: scale(1.05);
}

.phantom-cabinet-card-content {
	padding: 1.5rem;
}

.phantom-cabinet-card-title {
	margin: 0 0 0.5rem;
	font-size: 1.25rem;
	font-weight: 600;
	color: #1a1a1a;
}

.phantom-cabinet-card-subject {
	color: #666;
	margin-bottom: 0.75rem;
	font-size: 0.95rem;
}

.phantom-cabinet-card-categories {
	font-size: 0.85rem;
	color: #999;
}

.phantom-cabinet-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.phantom-cabinet-card-link:hover {
	text-decoration: none;
	color: inherit;
}

.phantom-cabinet-no-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	font-size: 0.9rem;
}

/* Category Navigation (Archive) */
.phantom-cabinet-category-nav {
	margin-top: 1rem;
	color: #666;
	font-size: 0.95rem;
}

.phantom-cabinet-category-nav a {
	color: #667eea;
	text-decoration: none;
}

.phantom-cabinet-category-nav a:hover {
	text-decoration: underline;
}

.phantom-cabinet-category-nav .category-separator {
	margin: 0 0.75rem;
	color: #ccc;
}

/* No Results */
.no-cabinets {
	text-align: center;
	padding: 4rem 2rem;
	color: #666;
}

.no-cabinets a {
	color: #667eea;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 992px) {
	.phantom-cabinet-grid {
		grid-template-columns: 1fr;
	}

	.phantom-cabinet-sidebar {
		position: static;
	}

	.phantom-cabinet-sidebar-inner {
		max-width: 500px;
		margin: 0 auto;
	}
}

@media (max-width: 768px) {
	.phantom-cabinet-single-page {
		padding: 0 15px;
	}

	.phantom-cabinet-title {
		font-size: 1.8rem;
	}

	.phantom-cabinet-subtitle {
		font-size: 1rem;
	}

	.phantom-cabinet-section .section-title {
		font-size: 1.2rem;
	}

	.phantom-cabinet-gallery {
		grid-template-columns: repeat(2, 1fr);
	}

	.phantom-cabinet-archive {
		grid-template-columns: 1fr;
	}

	.phantom-cabinet-navigation {
		flex-direction: column;
		gap: 1rem;
	}

	.phantom-cabinet-navigation .nav-previous,
	.phantom-cabinet-navigation .nav-next {
		max-width: 100%;
	}

	.phantom-cabinet-navigation .nav-next {
		text-align: left;
	}
}

@media (max-width: 480px) {
	.phantom-cabinet-gallery {
		grid-template-columns: 1fr;
	}

	.phantom-cabinet-hero {
		border-radius: 0;
		margin-left: -15px;
		margin-right: -15px;
	}
}

/* ==========================================================================
   Arcade Showcase - Archive Page
   ========================================================================== */

.phantom-arcade-showcase-page {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0;
	position: relative;
	z-index: 1;
}

/* Background now set on body - see Global Background section above */

/* Archive Header - Logo Style */
.phantom-arcade-header.phantom-arcade-logo-header {
	padding: 0 !important;
	background: transparent !important;
	overflow: visible;
}

.phantom-arcade-header.phantom-arcade-logo-header::before {
	display: none !important;
}

.phantom-arcade-logo-container {
	position: relative;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

.phantom-arcade-header-logo-img {
	width: 100%;
	height: auto;
	display: block;
}

/* Archive Title - Positioned in bottom band of header image */
.phantom-arcade-logo-container .phantom-arcade-title {
	position: absolute !important;
	bottom: 8% !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	margin: 0 !important;
	padding: 0 2rem !important;
	font-size: 2.5rem !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	text-transform: uppercase !important;
	letter-spacing: 0.1em !important;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5) !important;
	white-space: nowrap;
	z-index: 2;
}

/* Responsive archive title sizing */
@media (max-width: 992px) {
	.phantom-arcade-logo-container .phantom-arcade-title {
		font-size: 2rem !important;
		bottom: 6% !important;
	}
}

@media (max-width: 768px) {
	.phantom-arcade-logo-container .phantom-arcade-title {
		font-size: 1.5rem !important;
		bottom: 5% !important;
		letter-spacing: 0.05em !important;
	}
}

@media (max-width: 480px) {
	.phantom-arcade-logo-container .phantom-arcade-title {
		font-size: 1.1rem !important;
		bottom: 4% !important;
		padding: 0 1rem !important;
	}
}

/* Legacy Archive Header (fallback) */
.phantom-arcade-header:not(.phantom-arcade-logo-header) {
	text-align: center;
	padding: 3rem 2rem;
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
	position: relative;
	overflow: hidden;
}

.phantom-arcade-header:not(.phantom-arcade-logo-header)::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background:
		radial-gradient(circle at 20% 80%, rgba(255, 165, 0, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 80% 20%, rgba(255, 165, 0, 0.08) 0%, transparent 50%);
	pointer-events: none;
}

.phantom-arcade-header-inner {
	position: relative;
	z-index: 1;
}

.phantom-arcade-title-frame {
	display: inline-block;
	padding: 1rem 3rem;
	border: 3px solid #d4a24c;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.3);
	box-shadow:
		0 0 20px rgba(212, 162, 76, 0.3),
		inset 0 0 20px rgba(212, 162, 76, 0.1);
	margin-bottom: 1rem;
}

.phantom-arcade-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin: 0;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.phantom-arcade-subtitle {
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.8);
	margin: 0;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

/* Category Filter Navigation - Gold Separator Style */
.phantom-arcade-filters {
	background: transparent !important;
	padding: 1.5rem 2rem !important;
	border-bottom: none !important;
}

.phantom-arcade-filters-inner {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 0 !important;
	max-width: 1200px !important;
	margin: 0 auto !important;
}

.phantom-filter-btn {
	display: inline-flex !important;
	align-items: center !important;
	padding: 0.5rem 1.5rem !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.05em !important;
	text-transform: uppercase !important;
	color: #d4a24c !important;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	text-decoration: none !important;
	transition: all 0.25s ease !important;
	position: relative !important;
}

/* Vertical gold separator between items */
.phantom-filter-btn:not(:last-child)::after {
	content: '' !important;
	position: absolute !important;
	right: 0 !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 2px !important;
	height: 1.2em !important;
	background: #d4a24c !important;
}

.phantom-filter-btn:hover {
	color: #fff !important;
	background: transparent !important;
	text-shadow: 0 0 10px rgba(212, 162, 76, 0.6) !important;
}

.phantom-filter-btn.active {
	color: #fff !important;
	background: transparent !important;
	text-shadow: 0 0 15px rgba(212, 162, 76, 0.8) !important;
	box-shadow: none !important;
}

/* Archive Grid Section */
.phantom-arcade-grid-section {
	padding: 3rem 2rem;
	background: transparent !important;
}

.phantom-arcade-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

/* Archive Card - Styled to match showcase cards */
.phantom-arcade-card {
	background: rgba(0, 0, 0, 0.1) !important;
	border-radius: 10px !important;
	overflow: visible !important;
	box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08) !important;
	transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.phantom-arcade-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.phantom-arcade-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

/* Archive Card Image Container - Matches showcase styling */
.phantom-arcade-card-image {
	position: relative !important;
	padding-top: 100% !important;
	overflow: visible !important;
	background-color: rgba(52, 52, 52, 0.3) !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	box-shadow:
		-8px 0 20px rgba(212, 162, 76, 0.5),
		8px 0 20px rgba(212, 162, 76, 0.5),
		0 -8px 20px rgba(212, 162, 76, 0.5) !important;
	border-radius: 8px 8px 0 0 !important;
}

/* Archive Frame Variations */
.phantom-arcade-card-image.phantom-frame-1 {
	background-image: url('../images/frame-1.png') !important;
}

.phantom-arcade-card-image.phantom-frame-2 {
	background-image: url('../images/frame-2.png') !important;
}

.phantom-arcade-card-img {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: contain !important;
	transition: transform 0.4s ease;
	display: block !important;
}

.phantom-arcade-card:hover .phantom-arcade-card-img {
	transform: scale(1.08);
}

.phantom-arcade-no-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(52, 52, 52, 0.5);
	color: rgba(255, 255, 255, 0.3);
}

.phantom-arcade-no-image .dashicons {
	font-size: 48px;
	width: 48px;
	height: 48px;
}

/* Archive Card Name - Matches showcase styling */
.phantom-arcade-card-name {
	padding: 1rem !important;
	text-align: center !important;
	background: rgba(0, 0, 0, 0.6) !important;
}

.phantom-arcade-card-name span {
	font-size: 0.95rem !important;
	font-weight: 600 !important;
	color: #ffffff !important;
}

/* Archive Empty State */
.phantom-arcade-empty {
	text-align: center;
	padding: 4rem 2rem;
	max-width: 400px;
	margin: 0 auto;
}

.phantom-arcade-empty p {
	color: #666;
	margin-bottom: 1.5rem;
}

.phantom-arcade-btn {
	display: inline-flex;
	align-items: center;
	padding: 0.875rem 2rem;
	font-size: 1rem;
	font-weight: 600;
	color: #fff;
	background: linear-gradient(135deg, #d4a24c 0%, #b8892a 100%);
	border: none;
	border-radius: 8px;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(212, 162, 76, 0.3);
}

.phantom-arcade-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(212, 162, 76, 0.4);
	color: #fff;
}

/* Archive Pagination */
.phantom-arcade-pagination {
	margin-top: 3rem;
	display: flex;
	justify-content: center;
	gap: 0.5rem;
}

.phantom-arcade-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.75rem;
	font-size: 0.95rem;
	color: #555;
	background: #fff;
	border: 2px solid #ddd;
	border-radius: 6px;
	text-decoration: none;
	transition: all 0.2s ease;
}

.phantom-arcade-pagination .page-numbers:hover {
	border-color: #d4a24c;
	color: #d4a24c;
}

.phantom-arcade-pagination .page-numbers.current {
	background: linear-gradient(135deg, #d4a24c 0%, #b8892a 100%);
	border-color: #d4a24c;
	color: #fff;
}

/* Archive CTA Footer - Transparent background to show site background */
.phantom-arcade-cta-section {
	padding: 3rem 2rem;
	background: transparent !important;
	position: relative;
}

/* Wrapper for logo + content layout */
.phantom-arcade-cta-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

/* Logo on left */
.phantom-arcade-cta-logo {
	flex-shrink: 0;
}

.phantom-cta-logo-img {
	max-width: 200px;
	height: auto;
	display: block;
}

/* Content on right */
.phantom-arcade-cta-content {
	position: relative;
	z-index: 1;
	text-align: center;
	flex: 1;
	max-width: 700px;
}

/* Title image */
.phantom-arcade-cta-title-img {
	margin-bottom: 1rem;
}

.phantom-arcade-cta-title-img img {
	max-width: 100%;
	height: auto;
	display: inline-block;
}

/* Keep text title as fallback */
.phantom-arcade-cta-title {
	font-size: 2rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 1rem;
	font-style: italic;
}

.phantom-arcade-cta-text {
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.9);
	margin: 0 0 1.5rem;
	line-height: 1.6;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Button as image */
.phantom-arcade-cta-btn-img {
	display: inline-block;
	text-decoration: none;
	transition: transform 0.3s ease, filter 0.3s ease;
}

.phantom-arcade-cta-btn-img img {
	max-width: 350px;
	height: auto;
	display: block;
}

.phantom-arcade-cta-btn-img:hover {
	transform: translateY(-3px) scale(1.02);
	filter: brightness(1.1);
}

/* Legacy button fallback */
.phantom-arcade-cta-btn {
	display: inline-flex;
	align-items: center;
	padding: 1rem 2.5rem;
	font-size: 1.1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #1a1a2e;
	background: linear-gradient(135deg, #d4a24c 0%, #f0c674 50%, #d4a24c 100%);
	border: none;
	border-radius: 8px;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 4px 20px rgba(212, 162, 76, 0.4);
}

.phantom-arcade-cta-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 30px rgba(212, 162, 76, 0.5);
	color: #1a1a2e;
}

/* Responsive CTA section */
@media (max-width: 768px) {
	.phantom-arcade-cta-wrapper {
		flex-direction: column;
		text-align: center;
	}

	.phantom-cta-logo-img {
		max-width: 150px;
	}

	.phantom-arcade-cta-btn-img img {
		max-width: 280px;
	}
}

/* ==========================================================================
   Single Cabinet Page - New Layout
   ========================================================================== */

/* Single Header - Logo Header Style */
.phantom-cabinet-header {
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
}

.phantom-cabinet-header-inner {
	text-align: center;
	max-width: 100%;
	margin: 0 auto;
	padding: 0;
}

/* Logo Header Container - Image with overlaid title */
.phantom-cabinet-logo-header {
	position: relative;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

.phantom-header-logo-img {
	width: 100%;
	height: auto;
	display: block;
}

/* Cabinet Title - Positioned in bottom band of header image */
.phantom-cabinet-logo-header .phantom-cabinet-title {
	position: absolute !important;
	bottom: 8% !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	margin: 0 !important;
	padding: 0 2rem !important;
	font-size: 2.5rem !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	text-transform: uppercase !important;
	letter-spacing: 0.1em !important;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5) !important;
	white-space: nowrap;
	z-index: 2;
}

/* Responsive title sizing */
@media (max-width: 992px) {
	.phantom-cabinet-logo-header .phantom-cabinet-title {
		font-size: 2rem !important;
		bottom: 6% !important;
	}
}

@media (max-width: 768px) {
	.phantom-cabinet-logo-header .phantom-cabinet-title {
		font-size: 1.5rem !important;
		bottom: 5% !important;
		letter-spacing: 0.05em !important;
	}
}

@media (max-width: 480px) {
	.phantom-cabinet-logo-header .phantom-cabinet-title {
		font-size: 1.1rem !important;
		bottom: 4% !important;
		padding: 0 1rem !important;
		white-space: normal;
		max-width: 90%;
		text-align: center;
	}
}

/* Hide old categories display (no longer used in single page header) */
.phantom-cabinet-categories-display {
	display: none !important;
}

/* Two-Column Content Layout */
.phantom-cabinet-content {
	padding: 3rem 2rem;
	background: transparent !important;
}

.phantom-cabinet-content-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	max-width: 1200px;
	margin: 0 auto;
	align-items: start;
}

/* Featured Image Column */
.phantom-cabinet-featured-column {
	position: sticky;
	top: 2rem;
}

.phantom-cabinet-featured-frame {
	border-radius: 12px;
	overflow: hidden;
	background: transparent;
}

.phantom-cabinet-featured-image {
	line-height: 0;
}

.phantom-featured-img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
}

.phantom-cabinet-no-image {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 400px;
	background: rgba(26, 26, 46, 0.3);
	color: rgba(255, 255, 255, 0.3);
	border-radius: 8px;
}

.phantom-cabinet-no-image .dashicons {
	font-size: 64px;
	width: 64px;
	height: 64px;
}

/* About Column */
.phantom-cabinet-about-column {
	padding-top: 1rem;
}

/* About This Build - Top header + expandable body with bottom background */
.phantom-cabinet-about-frame {
	position: relative !important;
	background: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
	border: none !important;
	display: flex !important;
	flex-direction: column !important;
}

/* Top header image container - fixed, won't distort */
.phantom-cabinet-about-header {
	width: 100% !important;
	height: auto !important;
	line-height: 0 !important;
	font-size: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.phantom-cabinet-about-header img {
	width: 100% !important;
	height: auto !important;
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Body/content area - uses bottom image as background, will grow */
.phantom-cabinet-about-body {
	background-image: url('../images/about-this-build-bottom.png') !important;
	background-size: 100% 100% !important;
	background-position: top center !important;
	background-repeat: no-repeat !important;
	padding: 1.5rem 2.5rem 2.5rem 2.5rem !important;
	margin: 0 !important;
	margin-top: -1px !important; /* Eliminate gap */
	min-height: 150px;
	flex-grow: 1;
}

/* Hide the separate footer since body now uses bottom image */
.phantom-cabinet-about-footer {
	display: none !important;
}

.phantom-about-title {
	display: none !important;
}

.phantom-cabinet-description,
.phantom-cabinet-description *,
.phantom-cabinet-about-frame,
.phantom-cabinet-about-frame * {
	color: #ffffff !important;
}

.phantom-cabinet-description {
	font-size: 0.95rem !important;
	line-height: 1.7 !important;
}

.phantom-cabinet-description p,
.phantom-cabinet-about-frame p {
	margin: 0 0 1rem !important;
	color: #ffffff !important;
}

.phantom-cabinet-description ul,
.phantom-cabinet-description ol,
.phantom-cabinet-about-frame ul,
.phantom-cabinet-about-frame ol {
	margin: 0 0 1rem !important;
	padding-left: 1.5rem !important;
	color: #ffffff !important;
}

.phantom-cabinet-description li,
.phantom-cabinet-about-frame li {
	margin-bottom: 0.5rem !important;
	color: #ffffff !important;
}

.phantom-cabinet-description h1,
.phantom-cabinet-description h2,
.phantom-cabinet-description h3,
.phantom-cabinet-description h4,
.phantom-cabinet-description h5,
.phantom-cabinet-description h6,
.phantom-cabinet-about-frame h1,
.phantom-cabinet-about-frame h2,
.phantom-cabinet-about-frame h3,
.phantom-cabinet-about-frame h4,
.phantom-cabinet-about-frame h5,
.phantom-cabinet-about-frame h6 {
	color: #d4a24c !important;
}

.phantom-cabinet-description strong,
.phantom-cabinet-description b,
.phantom-cabinet-about-frame strong,
.phantom-cabinet-about-frame b {
	color: #d4a24c !important;
}

.phantom-cabinet-description em,
.phantom-cabinet-description i,
.phantom-cabinet-about-frame em,
.phantom-cabinet-about-frame i {
	color: #ffffff !important;
	font-style: italic !important;
}

.phantom-cabinet-description a,
.phantom-cabinet-about-frame a {
	color: #d4a24c !important;
	text-decoration: underline !important;
}

.phantom-cabinet-description a:hover,
.phantom-cabinet-about-frame a:hover {
	color: #f0c674 !important;
}

.phantom-cabinet-description span,
.phantom-cabinet-about-frame span {
	color: #ffffff !important;
}

/* Ultra-high specificity overrides for Divi theme compatibility */
.phantom-cabinet-single-page .phantom-cabinet-about-frame,
.phantom-cabinet-single-page .phantom-cabinet-about-frame *,
.phantom-cabinet-single-page .phantom-cabinet-description,
.phantom-cabinet-single-page .phantom-cabinet-description *,
body .phantom-cabinet-about-frame,
body .phantom-cabinet-about-frame *,
body .phantom-cabinet-description,
body .phantom-cabinet-description *,
#main-content .phantom-cabinet-about-frame,
#main-content .phantom-cabinet-about-frame *,
#main-content .phantom-cabinet-description,
#main-content .phantom-cabinet-description *,
.et_pb_section .phantom-cabinet-about-frame,
.et_pb_section .phantom-cabinet-about-frame *,
.et_pb_section .phantom-cabinet-description,
.et_pb_section .phantom-cabinet-description * {
	color: #ffffff !important;
}

/* Force all paragraph and text elements white */
.phantom-cabinet-about-frame p,
.phantom-cabinet-about-frame div,
.phantom-cabinet-about-frame span,
.phantom-cabinet-about-frame li,
.phantom-cabinet-about-frame ul,
.phantom-cabinet-about-frame ol,
.phantom-cabinet-description p,
.phantom-cabinet-description div,
.phantom-cabinet-description span,
.phantom-cabinet-description li,
.phantom-cabinet-description ul,
.phantom-cabinet-description ol {
	color: #ffffff !important;
}

/* ==========================================================================
   Quote & Video Section
   ========================================================================== */

.phantom-cabinet-media-section {
	padding: 2rem 20px 3rem;
	background: transparent;
}

.phantom-cabinet-media-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	align-items: stretch;
}

/* Full width when only one item present */
.phantom-media-full .phantom-cabinet-quote-wrapper,
.phantom-media-full .phantom-cabinet-video-wrapper {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
}

/* 50/50 split when both present */
.phantom-media-split .phantom-cabinet-quote-wrapper,
.phantom-media-split .phantom-cabinet-video-wrapper {
	flex: 1 1 calc(50% - 1rem);
	min-width: 300px;
}

/* Quote Frame */
.phantom-cabinet-quote-frame {
	padding: 3rem 3.5rem;
	height: 100%;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Quote Blockquote */
.phantom-cabinet-quote {
	margin: 0;
	padding: 0;
	border: none !important;
	border-left: none !important;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 2.8rem;
	line-height: 1.4;
	color: #e8e8e8;
	font-style: italic;
	position: relative;
	text-align: center;
}

.phantom-cabinet-quote p {
	margin: 0 0 0.75rem;
	color: #e8e8e8 !important;
	display: inline;
}

.phantom-cabinet-quote p:last-of-type {
	margin-bottom: 0;
}

/* Decorative Quote Marks - Inline with text */
.phantom-quote-mark {
	font-size: 3rem;
	font-family: Georgia, serif;
	color: #ffffff;
	line-height: 1;
	vertical-align: baseline;
	display: inline;
}

.phantom-quote-open {
	margin-right: 0.15rem;
}

.phantom-quote-close {
	margin-left: 0.15rem;
}

/* Quote Attribution - Right aligned */
.phantom-quote-attribution {
	display: block;
	margin-top: 1.5rem;
	font-style: normal;
	font-size: 2rem;
	color: rgba(212, 162, 76, 0.9);
	font-weight: 600;
	letter-spacing: 0.5px;
	text-align: right;
}

/* Video Frame */
.phantom-cabinet-video-frame {
	background: rgba(0, 0, 0, 0.6);
	border: 2px solid rgba(180, 140, 90, 0.5);
	border-radius: 8px;
	overflow: hidden;
	height: 100%;
	display: flex;
	align-items: center;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.phantom-cabinet-video {
	width: 100%;
	height: auto;
	display: block;
	background: #000;
}

/* Mobile Responsive */
@media (max-width: 768px) {
	.phantom-cabinet-media-inner {
		flex-direction: column;
	}

	.phantom-media-split .phantom-cabinet-quote-wrapper,
	.phantom-media-split .phantom-cabinet-video-wrapper {
		flex: 1 1 100%;
		min-width: unset;
	}

	.phantom-cabinet-quote-frame {
		padding: 2rem 1.5rem;
	}

	.phantom-cabinet-quote {
		font-size: 1.5rem;
	}

	.phantom-quote-mark {
		font-size: 1.75rem;
	}

	.phantom-quote-attribution {
		font-size: 1.25rem;
	}
}

/* Photo Gallery Section */
.phantom-cabinet-gallery-section {
	padding: 3rem 2rem;
	background: transparent;
}

.phantom-cabinet-gallery-inner {
	max-width: 1200px;
	margin: 0 auto;
}

/* Photo Gallery Title with section-header background */
.phantom-gallery-title {
	display: inline-block !important;
	width: 100% !important;
	max-width: 750px !important;
	margin: 0 auto 2rem auto !important;
	padding: 1.25rem 2rem !important;
	font-size: 1.5rem !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	text-align: center !important;
	text-transform: uppercase !important;
	letter-spacing: 0.08em !important;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
	background-image: url('../images/section-header.png') !important;
	background-size: 100% 150% !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
}

/* Center the title container */
.phantom-cabinet-gallery-inner {
	text-align: center;
}

/* Gallery Grid - High specificity to override theme styles */
.phantom-cabinet-gallery-section .phantom-cabinet-gallery-grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
	gap: 1.5rem !important;
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.phantom-cabinet-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
}

/* Gallery Items - Styled like showcase cards */
.phantom-cabinet-gallery-section .phantom-gallery-item,
.phantom-gallery-item {
	position: relative !important;
	border-radius: 10px !important;
	overflow: visible !important;
	background-color: rgba(52, 52, 52, 0.3) !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	transition: transform 0.3s ease, box-shadow 0.3s ease !important;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	padding-top: 100% !important;
	box-shadow:
		-8px 0 20px rgba(212, 162, 76, 0.5),
		8px 0 20px rgba(212, 162, 76, 0.5),
		0 -8px 20px rgba(212, 162, 76, 0.5) !important;
}

/* Gallery Frame Variations */
.phantom-gallery-item.phantom-frame-1 {
	background-image: url('../images/frame-1.png') !important;
}

.phantom-gallery-item.phantom-frame-2 {
	background-image: url('../images/frame-2.png') !important;
}

.phantom-gallery-item:hover {
	transform: translateY(-6px);
	box-shadow:
		-10px 0 25px rgba(212, 162, 76, 0.6),
		10px 0 25px rgba(212, 162, 76, 0.6),
		0 -10px 25px rgba(212, 162, 76, 0.6) !important;
}

.phantom-gallery-link {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	display: block;
	line-height: 0;
	cursor: zoom-in;
}

/* Gallery Images - Styled like showcase card images */
.phantom-cabinet-gallery-section .phantom-gallery-img,
.phantom-gallery-img {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: contain !important;
	transition: transform 0.4s ease;
	border-radius: 8px;
	background: transparent;
	display: block !important;
}

.phantom-gallery-item:hover .phantom-gallery-img {
	transform: scale(1.08);
}

/* ==========================================================================
   Lightbox
   ========================================================================== */

.phantom-lightbox-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.9);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.phantom-lightbox-overlay.active {
	opacity: 1;
	visibility: visible;
}

.phantom-lightbox-content {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
	transform: scale(0.9);
	transition: transform 0.3s ease;
}

.phantom-lightbox-overlay.active .phantom-lightbox-content {
	transform: scale(1);
}

.phantom-lightbox-img {
	max-width: 90vw;
	max-height: 90vh;
	object-fit: contain;
	border-radius: 4px;
	box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.phantom-lightbox-close {
	position: absolute;
	top: -40px;
	right: 0;
	background: none;
	border: none;
	color: #fff;
	font-size: 32px;
	cursor: pointer;
	opacity: 0.7;
	transition: opacity 0.2s ease;
	padding: 0;
	line-height: 1;
}

.phantom-lightbox-close:hover {
	opacity: 1;
}

.phantom-lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: #fff;
	font-size: 24px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	cursor: pointer;
	opacity: 0.7;
	transition: opacity 0.2s ease, background 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.phantom-lightbox-nav:hover {
	opacity: 1;
	background: rgba(255, 255, 255, 0.2);
}

.phantom-lightbox-prev {
	left: -70px;
}

.phantom-lightbox-next {
	right: -70px;
}

@media (max-width: 768px) {
	.phantom-lightbox-nav {
		width: 40px;
		height: 40px;
		font-size: 18px;
	}

	.phantom-lightbox-prev {
		left: 10px;
	}

	.phantom-lightbox-next {
		right: 10px;
	}

	.phantom-lightbox-close {
		top: -35px;
		font-size: 28px;
	}
}

/* CTA Section - Inspired Footer Style */
.phantom-cabinet-cta-section {
	padding: 3rem 2rem !important;
	background: transparent !important;
	position: relative;
}

/* CTA Wrapper - Logo + Content layout */
.phantom-cabinet-cta-wrapper {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 2rem !important;
	max-width: 1200px !important;
	margin: 0 auto !important;
	position: relative;
	z-index: 1;
}

/* Logo on left */
.phantom-cabinet-cta-logo {
	flex-shrink: 0;
}

.phantom-single-cta-logo-img {
	max-width: 180px !important;
	height: auto !important;
	display: block !important;
}

/* Content on right */
.phantom-cabinet-cta-content {
	position: relative;
	z-index: 1;
	text-align: center !important;
	flex: 1;
	max-width: 700px;
}

.phantom-single-cta-title {
	font-size: 1.75rem !important;
	font-weight: 700 !important;
	color: #fff !important;
	margin: 0 0 0.5rem !important;
	font-style: italic !important;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.phantom-single-cta-description {
	font-size: 1.1rem !important;
	color: rgba(255, 255, 255, 0.9) !important;
	margin: 0 0 1.25rem !important;
	line-height: 1.5 !important;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

/* Button as image */
.phantom-single-cta-btn-img {
	display: inline-block !important;
	text-decoration: none !important;
	transition: transform 0.3s ease, filter 0.3s ease !important;
	/* Reset button styles when used as button element */
	background: none !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 auto !important;
	cursor: pointer !important;
	font: inherit !important;
}

.phantom-single-cta-btn-img img {
	max-width: 350px !important;
	height: auto !important;
	display: block !important;
}

.phantom-single-cta-btn-img:hover {
	transform: translateY(-3px) scale(1.02) !important;
	filter: brightness(1.1) !important;
}

/* Loading state for CTA button */
.phantom-single-cta-btn-img.loading {
	opacity: 0.7 !important;
	cursor: wait !important;
}

/* Legacy button styles (kept for fallback) */
.phantom-cta-buttons {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.phantom-cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 280px;
	padding: 1rem 2.5rem;
	font-size: 1.1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border: 2px solid transparent;
	border-radius: 8px;
	text-decoration: none;
	transition: all 0.3s ease;
	cursor: pointer;
}

.phantom-cta-btn-primary {
	color: #1a1a2e;
	background: linear-gradient(135deg, #d4a24c 0%, #f0c674 50%, #d4a24c 100%);
	border-color: #d4a24c;
	box-shadow: 0 4px 20px rgba(212, 162, 76, 0.4);
}

.phantom-cta-btn-primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 30px rgba(212, 162, 76, 0.5);
	color: #1a1a2e;
}

.phantom-cta-btn-secondary {
	color: #d4a24c;
	background: transparent;
	border-color: #d4a24c;
}

.phantom-cta-btn-secondary:hover {
	background: rgba(212, 162, 76, 0.1);
	color: #f0c674;
	border-color: #f0c674;
}

/* Responsive single page CTA */
@media (max-width: 768px) {
	.phantom-cabinet-cta-wrapper {
		flex-direction: column !important;
		text-align: center !important;
	}

	.phantom-cabinet-cta-content {
		text-align: center !important;
	}

	.phantom-single-cta-logo-img {
		max-width: 150px !important;
	}

	.phantom-single-cta-btn-img img {
		max-width: 280px !important;
	}
}

/* Back Navigation */
.phantom-cabinet-nav {
	padding: 2rem;
	text-align: center;
	background: transparent !important;
	border-top: none !important;
}

/* Back Navigation - Below Gallery (left aligned) */
.phantom-cabinet-nav-gallery {
	text-align: left !important;
	padding: 1.5rem 0 0 0 !important;
	margin-top: 2rem;
}

.phantom-back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: #ffffff !important;
	text-decoration: none;
	font-size: 0.95rem;
	transition: color 0.2s ease, opacity 0.2s ease;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.phantom-back-link:hover {
	color: #d4a24c !important;
	opacity: 0.9;
}

.phantom-back-link .dashicons {
	color: #ffffff !important;
}

.phantom-back-link:hover .dashicons {
	color: #d4a24c !important;
}

.phantom-back-link .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
}

/* ==========================================================================
   Shortcode: Arcade Showcase Grid
   ========================================================================== */

.phantom-showcase {
	padding: 2rem 0;
}

.phantom-showcase-header {
	text-align: center;
	margin-bottom: 2rem;
}

/* Shortcode Title with section-header background */
.phantom-showcase-title {
	display: block !important;
	width: 100% !important;
	max-width: 1200px !important;
	margin: 0 auto 0.5rem auto !important;
	padding: 1.5rem 3rem !important;
	font-size: 1.75rem !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	text-transform: uppercase !important;
	letter-spacing: 0.1em !important;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
	background-image: url('../images/section-header.png') !important;
	background-size: 100% 100% !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
}

.phantom-showcase-subtitle {
	font-size: 1.1rem;
	color: #666;
	margin: 0;
}

/* Showcase Grid - High specificity for Divi compatibility */
.phantom-showcase .phantom-showcase-grid {
	display: grid !important;
	gap: 1.5rem !important;
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.phantom-showcase-grid {
	display: grid;
	gap: 1.5rem;
}

/* AJAX Loading State */
.phantom-showcase-loading {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 200px;
	grid-column: 1 / -1;
}

.phantom-loading-spinner {
	width: 40px;
	height: 40px;
	border: 3px solid rgba(255, 255, 255, 0.2);
	border-top-color: #c9a227;
	border-radius: 50%;
	animation: phantom-spin 0.8s linear infinite;
}

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

/* Column variations based on data attribute */
.phantom-showcase[data-columns="2"] .phantom-showcase-grid {
	grid-template-columns: repeat(2, 1fr) !important;
}

.phantom-showcase[data-columns="3"] .phantom-showcase-grid {
	grid-template-columns: repeat(3, 1fr) !important;
}

.phantom-showcase[data-columns="4"] .phantom-showcase-grid {
	grid-template-columns: repeat(4, 1fr) !important;
}

.phantom-showcase[data-columns="5"] .phantom-showcase-grid {
	grid-template-columns: repeat(5, 1fr) !important;
}

.phantom-showcase[data-columns="6"] .phantom-showcase-grid {
	grid-template-columns: repeat(6, 1fr) !important;
}

/* Showcase Card - High specificity for Divi compatibility */
.phantom-showcase .phantom-showcase-card {
	background: rgba(0, 0, 0, 0.1) !important;
	border-radius: 10px !important;
	overflow: hidden !important;
	box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08) !important;
	transition: transform 0.3s ease, box-shadow 0.3s ease !important;
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.phantom-showcase-card {
	background: rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phantom-showcase-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.phantom-showcase-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

/* Card Image Container - Base styles */
.phantom-showcase .phantom-showcase-card-image,
.phantom-showcase-card-image {
	position: relative !important;
	padding-top: 100% !important;
	overflow: visible !important;
	background-color: rgba(52, 52, 52, 0.3) !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	width: 100% !important;
	height: auto !important;
	display: block !important;
	box-shadow:
		-8px 0 20px rgba(212, 162, 76, 0.5),
		8px 0 20px rgba(212, 162, 76, 0.5),
		0 -8px 20px rgba(212, 162, 76, 0.5) !important;
	border-radius: 8px 8px 0 0 !important;
}

/* Frame Variations - 2 different background images randomly assigned */
.phantom-showcase-card-image.phantom-frame-1 {
	background-image: url('../images/frame-1.png') !important;
}

.phantom-showcase-card-image.phantom-frame-2 {
	background-image: url('../images/frame-2.png') !important;
}

/* Card Image - Absolute positioned inside container, show full image */
.phantom-showcase .phantom-showcase-card-img,
.phantom-showcase-card-img {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: contain !important;
	transition: transform 0.4s ease;
	display: block !important;
}

.phantom-showcase-card:hover .phantom-showcase-card-img {
	transform: scale(1.08);
}

.phantom-showcase-card-placeholder {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #e8e8e8 0%, #d5d5d5 100%);
	color: #999;
}

.phantom-showcase-card-placeholder .dashicons {
	font-size: 40px;
	width: 40px;
	height: 40px;
}

/* Card Name Area - 40% transparent black background, white text */
.phantom-showcase .phantom-showcase-card-content,
.phantom-showcase-card-content {
	padding: 1rem !important;
	text-align: center !important;
	background: rgba(0, 0, 0, 0.6) !important;
}

.phantom-showcase .phantom-showcase-card-name,
.phantom-showcase-card-name {
	font-size: 0.95rem !important;
	font-weight: 600 !important;
	color: #ffffff !important;
	margin: 0 !important;
}

.phantom-showcase-empty {
	text-align: center;
	padding: 3rem 1rem;
	color: #666;
}

.phantom-showcase-footer {
	text-align: center;
	margin-top: 2rem;
}

/* View All button with section-header background */
.phantom-showcase-view-all {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	max-width: 750px !important;
	margin: 0 auto !important;
	padding: 1.5rem 3rem !important;
	font-size: 1.5rem !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	text-transform: uppercase !important;
	letter-spacing: 0.1em !important;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
	background-image: url('../images/section-header.png') !important;
	background-size: 100% 100% !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-color: transparent !important;
	border-radius: 0 !important;
	text-decoration: none !important;
	transition: all 0.3s ease !important;
	box-shadow: none !important;
}

.phantom-showcase-view-all:hover {
	transform: translateY(-2px) scale(1.02) !important;
	filter: brightness(1.1) !important;
	color: #ffffff !important;
}

/* ==========================================================================
   Responsive - Archive & Single Updates
   ========================================================================== */

@media (max-width: 1024px) {
	.phantom-cabinet-content-inner {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.phantom-cabinet-featured-column {
		position: static;
		max-width: 600px;
		margin: 0 auto;
	}

	.phantom-arcade-grid {
		grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	}

	.phantom-showcase[data-columns="5"] .phantom-showcase-grid,
	.phantom-showcase[data-columns="6"] .phantom-showcase-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 768px) {
	.phantom-arcade-header {
		padding: 2rem 1rem;
	}

	.phantom-arcade-title {
		font-size: 1.75rem;
	}

	.phantom-arcade-title-frame {
		padding: 0.75rem 1.5rem;
	}

	.phantom-arcade-filters {
		padding: 1rem;
	}

	.phantom-filter-btn {
		padding: 0.5rem 1rem;
		font-size: 0.9rem;
	}

	.phantom-arcade-grid-section {
		padding: 2rem 1rem;
	}

	.phantom-arcade-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}

	.phantom-arcade-card-frame {
		margin: 8px;
		border-width: 2px;
	}

	.phantom-arcade-cta-section {
		padding: 3rem 1rem;
	}

	.phantom-arcade-cta-title {
		font-size: 1.5rem;
	}

	.phantom-cabinet-content {
		padding: 2rem 1rem;
	}

	.phantom-cabinet-about-frame {
		padding: 1.5rem;
	}

	.phantom-cabinet-gallery-section {
		padding: 2rem 1rem;
	}

	.phantom-cabinet-gallery-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}

	.phantom-cabinet-cta-section {
		padding: 3rem 1rem;
	}

	.phantom-cta-title {
		font-size: 1.5rem;
	}

	.phantom-cta-btn {
		min-width: 240px;
		padding: 0.875rem 1.5rem;
		font-size: 1rem;
	}

	.phantom-showcase[data-columns="3"] .phantom-showcase-grid,
	.phantom-showcase[data-columns="4"] .phantom-showcase-grid,
	.phantom-showcase[data-columns="5"] .phantom-showcase-grid,
	.phantom-showcase[data-columns="6"] .phantom-showcase-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.phantom-showcase-title {
		font-size: 1.5rem;
	}
}

@media (max-width: 480px) {
	.phantom-arcade-grid {
		grid-template-columns: 1fr;
	}

	.phantom-cabinet-gallery-grid {
		grid-template-columns: 1fr;
	}

	.phantom-cta-buttons {
		width: 100%;
	}

	.phantom-cta-btn {
		width: 100%;
		min-width: unset;
	}

	.phantom-showcase[data-columns="2"] .phantom-showcase-grid,
	.phantom-showcase[data-columns="3"] .phantom-showcase-grid,
	.phantom-showcase[data-columns="4"] .phantom-showcase-grid,
	.phantom-showcase[data-columns="5"] .phantom-showcase-grid,
	.phantom-showcase[data-columns="6"] .phantom-showcase-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Header Top Section Shortcode
   ========================================================================== */

.phantom-header-top {
	width: 100%;
	padding: 2rem 2rem 1rem;
	background: transparent !important;
	position: relative;
	z-index: 20;
}

.phantom-header-top-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
}

.phantom-header-top-logo-link {
	display: inline-block;
	text-decoration: none;
	transition: transform 0.3s ease, filter 0.3s ease;
}

.phantom-header-top-logo-link:hover {
	transform: scale(1.02);
	filter: brightness(1.1);
}

.phantom-header-top-logo {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 768px) {
	.phantom-header-top {
		padding: 1.5rem 1rem 0.5rem;
	}

	.phantom-header-top-logo {
		max-width: 90% !important;
	}
}

/* ==========================================================================
   Hero Section Shortcode
   ========================================================================== */

.phantom-hero-section {
	width: 100%;
	padding: 3rem 2rem;
	background: transparent !important;
	overflow: visible !important;
	position: relative !important;
	z-index: 1 !important;
}

/* Ensure sections following the hero appear ABOVE the nebula overflow */
.phantom-hero-section + *,
.phantom-hero-section ~ .phantom-showcase,
.phantom-hero-section ~ section,
.phantom-hero-section ~ div,
.phantom-hero-section ~ .et_pb_section,
.phantom-hero-section ~ [class*="section"],
.phantom-showcase,
.phantom-arcade-showcase-page .phantom-arcade-grid-section,
.phantom-showcase-header {
	position: relative !important;
	z-index: 10 !important;
}

.phantom-hero-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
	gap: 2rem;
	border: none !important;
	overflow: visible !important;
	position: relative !important;
}

/* Remove any dividers/lines from hero elements */
.phantom-hero-section *,
.phantom-hero-inner *,
.phantom-hero-content,
.phantom-hero-cabinet {
	border: none !important;
	border-left: none !important;
	border-right: none !important;
	box-shadow: none !important;
}

/* Re-apply drop shadow only to cabinet image */
.phantom-hero-cabinet-img {
	filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4)) !important;
}

/* Left Content Side - 60% width */
.phantom-hero-content {
	flex: 0 0 60%;
	max-width: 60%;
	position: relative !important;
	z-index: 2 !important;
}

.phantom-hero-title {
	font-family: 'Impact', 'Arial Black', 'Helvetica Neue', Helvetica, sans-serif !important;
	font-size: 3.5rem !important;
	font-weight: 700 !important;
	font-style: italic !important;
	color: #ffffff !important;
	line-height: 1.15 !important;
	margin: 0 0 1.5rem 0 !important;
	text-transform: none !important;
	letter-spacing: 0.01em !important;
}

/* Gold highlight for "Golden Era of Arcade Gaming" */
.phantom-hero-title-gold {
	color: #d4a24c !important;
	background: linear-gradient(135deg, #d4a24c 0%, #f0c674 50%, #d4a24c 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.phantom-hero-description {
	font-size: 1.1rem !important;
	line-height: 1.7 !important;
	color: rgba(255, 255, 255, 0.9) !important;
	margin: 0 0 2rem 0 !important;
}

.phantom-hero-cta {
	margin-top: 1.5rem;
}

/* Image Button Style */
.phantom-hero-btn-img {
	display: inline-block !important;
	text-decoration: none !important;
	transition: transform 0.3s ease, filter 0.3s ease !important;
}

.phantom-hero-btn-img img {
	max-width: 350px !important;
	height: auto !important;
	display: block !important;
}

.phantom-hero-btn-img:hover {
	transform: translateY(-3px) scale(1.02) !important;
	filter: brightness(1.1) !important;
}

/* Text Button Style (fallback) */
.phantom-hero-btn {
	display: inline-flex !important;
	align-items: center !important;
	padding: 1rem 2.5rem !important;
	font-size: 1.1rem !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.05em !important;
	color: #ffffff !important;
	background: linear-gradient(135deg, #d4a24c 0%, #f0c674 50%, #d4a24c 100%) !important;
	border: 2px solid #d4a24c !important;
	border-radius: 8px !important;
	text-decoration: none !important;
	transition: all 0.3s ease !important;
	box-shadow: 0 4px 20px rgba(212, 162, 76, 0.4) !important;
}

.phantom-hero-btn:hover {
	transform: translateY(-3px) !important;
	box-shadow: 0 8px 30px rgba(212, 162, 76, 0.5) !important;
	color: #ffffff !important;
}

/* Right Cabinet Side - 40% width */
.phantom-hero-cabinet {
	flex: 0 0 40%;
	max-width: 40%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative !important;
	z-index: 2 !important;
	overflow: visible !important;
}

.phantom-hero-cabinet-wrapper {
	position: relative;
	width: 100%;
	max-width: 600px;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: visible !important;
}

/* Nebula Cloud Background - spans full hero width, hot spot centered on cabinet */
.phantom-hero-nebula {
	position: absolute !important;
	top: 65% !important;
	left: 60% !important;
	transform: translate(-50%, -50%) !important;
	width: 100% !important;
	max-width: none !important;
	height: 150% !important;
	z-index: 0 !important;
	pointer-events: none !important;
	opacity: 0.95 !important;
	object-fit: contain !important;
}

/* Cabinet Image */
.phantom-hero-cabinet-img {
	position: relative !important;
	z-index: 2 !important;
	max-width: 100% !important;
	max-height: 650px !important;
	width: auto !important;
	height: auto !important;
	display: block !important;
	filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4)) !important;
}

/* ==========================================================================
   Hero Section - Responsive
   ========================================================================== */

@media (max-width: 1200px) {
	.phantom-hero-title {
		font-size: 3rem !important;
	}

	.phantom-hero-cabinet-img {
		max-height: 550px !important;
	}
}

@media (max-width: 992px) {
	.phantom-hero-inner {
		flex-direction: column;
		text-align: center;
	}

	.phantom-hero-content {
		flex: 0 0 100%;
		max-width: 100%;
		order: 1;
	}

	.phantom-hero-cabinet {
		flex: 0 0 100%;
		max-width: 100%;
		order: 2;
		margin-top: 2rem;
	}

	.phantom-hero-title {
		font-size: 2.5rem !important;
	}

	.phantom-hero-cabinet-img {
		max-height: 500px !important;
	}

	.phantom-hero-nebula {
		left: 50% !important;
		width: 150% !important;
		top: 70% !important;
	}
}

@media (max-width: 768px) {
	.phantom-hero-section {
		padding: 2rem 1rem;
	}

	.phantom-hero-title {
		font-size: 2rem !important;
	}

	.phantom-hero-description {
		font-size: 1rem !important;
	}

	.phantom-hero-btn-img img {
		max-width: 280px !important;
	}

	.phantom-hero-cabinet-img {
		max-height: 400px !important;
	}

	.phantom-hero-nebula {
		left: 50% !important;
		width: 150% !important;
		top: 75% !important;
	}
}

@media (max-width: 480px) {
	.phantom-hero-title {
		font-size: 1.75rem !important;
	}

	.phantom-hero-cabinet-img {
		max-height: 350px !important;
	}

	.phantom-hero-btn-img img {
		max-width: 240px !important;
	}
}

/* ==========================================================================
   Footer Section Shortcode
   ========================================================================== */

.phantom-footer-section {
	width: 100%;
	padding: 0 2rem 2rem 2rem;
	background: transparent !important;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* Footer Divider - Zero spacing below */
.phantom-footer-divider {
	width: 100%;
	max-width: 700px;
	margin: 0 !important;
	padding: 0 !important;
	text-align: center;
	line-height: 0 !important;
	font-size: 0 !important;
	display: block !important;
}

.phantom-footer-divider img {
	width: 100%;
	height: auto;
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
}

.phantom-footer-inner {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: space-between !important;
	max-width: 1200px !important;
	width: 100%;
	margin: 0 auto !important;
	padding-top: 0.5rem;
	gap: 0 !important;
}

/* Footer Logo */
.phantom-footer-logo {
	flex: 0 0 20% !important;
	max-width: 20% !important;
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
}

.phantom-footer-logo-link {
	display: block;
	text-decoration: none;
	transition: transform 0.3s ease, filter 0.3s ease;
}

.phantom-footer-logo-link:hover {
	transform: scale(1.05);
	filter: brightness(1.1);
}

.phantom-footer-logo-img {
	width: 100%;
	max-width: 100%;
	height: auto;
	display: block;
}

/* Footer Content - Centered */
.phantom-footer-content {
	flex: 0 0 80% !important;
	max-width: 80% !important;
	display: flex;
	flex-direction: column;
	align-items: center !important;
	text-align: center !important;
	gap: 0.5rem;
}

/* Footer Title */
.phantom-footer-title {
	font-family: 'Impact', 'Arial Black', 'Helvetica Neue', Helvetica, sans-serif !important;
	font-size: 2.25rem !important;
	font-weight: 700 !important;
	font-style: italic !important;
	color: #d4a24c !important;
	line-height: 1.2 !important;
	margin: 0 !important;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

/* Footer CTA Button */
.phantom-footer-btn-img {
	display: inline-block !important;
	text-decoration: none !important;
	transition: transform 0.3s ease, filter 0.3s ease !important;
}

.phantom-footer-btn-img img {
	max-width: 380px !important;
	height: auto !important;
	display: block !important;
}

.phantom-footer-btn-img:hover {
	transform: translateY(-2px) scale(1.02) !important;
	filter: brightness(1.1) !important;
}

/* ==========================================================================
   Footer Section - Responsive
   ========================================================================== */

@media (max-width: 1200px) {
	.phantom-footer-title {
		font-size: 2rem !important;
	}
}

@media (max-width: 992px) {
	.phantom-footer-title {
		font-size: 1.75rem !important;
	}

	.phantom-footer-btn-img img {
		max-width: 320px !important;
	}
}

@media (max-width: 768px) {
	.phantom-footer-section {
		padding: 1rem;
	}

	.phantom-footer-inner {
		flex-direction: column !important;
		gap: 1rem !important;
	}

	.phantom-footer-logo,
	.phantom-footer-content {
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}

	.phantom-footer-logo-img {
		max-width: 140px;
	}

	.phantom-footer-divider {
		max-width: 450px;
	}

	.phantom-footer-title {
		font-size: 1.5rem !important;
	}

	.phantom-footer-btn-img img {
		max-width: 300px !important;
	}
}

@media (max-width: 480px) {
	.phantom-footer-logo-img {
		max-width: 120px;
	}

	.phantom-footer-title {
		font-size: 1.25rem !important;
	}

	.phantom-footer-btn-img img {
		max-width: 260px !important;
	}
}

/* ==========================================================================
   Quote Carousel Shortcode
   ========================================================================== */

.phantom-quote-carousel {
	width: 100%;
	overflow: hidden;
	background: transparent;
	padding: 1.5rem 0;
	position: relative;
}

/* Optional edge fades - commented out for transparent background */
/*
.phantom-quote-carousel::before,
.phantom-quote-carousel::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 100px;
	z-index: 2;
	pointer-events: none;
}

.phantom-quote-carousel::before {
	left: 0;
	background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.phantom-quote-carousel::after {
	right: 0;
	background: linear-gradient(to left, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}
*/

.phantom-quote-carousel-track {
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: stretch;
	-webkit-align-items: stretch;
	align-items: stretch;
	gap: 4rem;
	-webkit-animation: phantom-quote-scroll var(--carousel-speed, 120s) linear infinite;
	animation: phantom-quote-scroll var(--carousel-speed, 120s) linear infinite;
	width: -webkit-max-content;
	width: max-content;
}

.phantom-quote-carousel[data-pause="true"]:hover .phantom-quote-carousel-track {
	-webkit-animation-play-state: paused;
	animation-play-state: paused;
}

@-webkit-keyframes phantom-quote-scroll {
	0% {
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}
	100% {
		-webkit-transform: translateX(-50%);
		transform: translateX(-50%);
	}
}

@keyframes phantom-quote-scroll {
	0% {
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}
	100% {
		-webkit-transform: translateX(-50%);
		transform: translateX(-50%);
	}
}

.phantom-quote-carousel-item {
	-webkit-flex-shrink: 0;
	flex-shrink: 0;
	min-width: 500px;
	height: 220px;
	display: block;
}

.phantom-quote-carousel-link {
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	flex-direction: column;
	gap: 0.75rem;
	text-decoration: none;
	-webkit-transition: opacity 0.3s ease;
	transition: opacity 0.3s ease;
	padding: 1rem 1.5rem;
	height: 100%;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
}

.phantom-quote-carousel-link:hover {
	opacity: 0.85;
}

/* Cabinet Name - Left aligned, Gold (matches attribution style) */
.phantom-quote-carousel-cabinet {
	display: block;
	font-style: normal;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 2rem;
	font-weight: 600;
	color: rgba(212, 162, 76, 0.9);
	letter-spacing: 0.5px;
	text-align: left;
	white-space: nowrap;
	-webkit-flex-shrink: 0;
	flex-shrink: 0;
}

/* Quote - Center aligned, White (matches .phantom-cabinet-quote) */
.phantom-quote-carousel-text {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 2.8rem;
	font-style: italic;
	color: #e8e8e8;
	text-align: center;
	line-height: 1.4;
	max-width: 100%;
	/* Clamp to 2 lines max to prevent height variation */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	-webkit-flex: 1;
	flex: 1;
}

/* Owner - Right aligned, Gold (matches attribution style) */
.phantom-quote-carousel-owner {
	display: block;
	font-style: normal;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 2rem;
	font-weight: 600;
	color: rgba(212, 162, 76, 0.9);
	letter-spacing: 0.5px;
	text-align: right;
	white-space: nowrap;
	-webkit-flex-shrink: 0;
	flex-shrink: 0;
}

/* ==========================================================================
   Quote Carousel - Responsive
   ========================================================================== */

@media (max-width: 992px) {
	.phantom-quote-carousel {
		padding: 1.25rem 0;
	}

	.phantom-quote-carousel-track {
		gap: 3rem;
	}

	.phantom-quote-carousel-item {
		min-width: 400px;
		height: 180px;
	}

	.phantom-quote-carousel-cabinet,
	.phantom-quote-carousel-owner {
		font-size: 1.5rem;
	}

	.phantom-quote-carousel-text {
		font-size: 2rem;
	}
}

@media (max-width: 768px) {
	.phantom-quote-carousel {
		padding: 1rem 0;
	}

	.phantom-quote-carousel-track {
		gap: 2.5rem;
	}

	.phantom-quote-carousel-item {
		min-width: 320px;
		height: 150px;
	}

	.phantom-quote-carousel-cabinet,
	.phantom-quote-carousel-owner {
		font-size: 1.25rem;
	}

	.phantom-quote-carousel-text {
		font-size: 1.5rem;
	}
}

@media (max-width: 480px) {
	.phantom-quote-carousel-track {
		gap: 2rem;
	}

	.phantom-quote-carousel-item {
		min-width: 280px;
		height: 130px;
	}

	.phantom-quote-carousel-cabinet,
	.phantom-quote-carousel-owner {
		font-size: 1rem;
	}

	.phantom-quote-carousel-text {
		font-size: 1.25rem;
	}
}
