/**
 * Ghost Production SEO – Page styling for The Ghost Production (theghostproduction.com)
 * Dark theme: light text, readable on dark backgrounds. Tailored to site design.
 */

.gpseo-content {
	max-width: 800px;
	margin: 0 auto 2em;
	line-height: 1.65;
	/* Dark theme: light text for theghostproduction.com */
	color: #e8e8e8;
}

.gpseo-content h1 {
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	margin: 0 0 0.6em 0;
	line-height: 1.25;
	font-weight: 700;
	color: #ffffff;
}

.gpseo-content h2 {
	font-size: clamp(1.35rem, 3vw, 1.6rem);
	margin: 1.8em 0 0.5em 0;
	padding-bottom: 0.25em;
	border-bottom: 2px solid rgba(255, 255, 255, 0.25);
	color: #f0f0f0;
	font-weight: 600;
}

.gpseo-content h3 {
	font-size: clamp(1.1rem, 2.5vw, 1.25rem);
	margin: 1.2em 0 0.4em 0;
	color: #e8e8e8;
	font-weight: 600;
}

.gpseo-content p {
	margin: 0 0 1em 0;
}

.gpseo-content p:last-child {
	margin-bottom: 0;
}

.gpseo-content ul,
.gpseo-content ol {
	margin: 0 0 1em 1.5em;
	padding: 0;
}

.gpseo-content li {
	margin: 0.35em 0;
}

/* Links: visible on dark background */
.gpseo-content a {
	color: #7eb8ff;
	text-decoration: none;
}

.gpseo-content a:hover {
	color: #a8d4ff;
	text-decoration: underline;
}

/* In-content images */
.gpseo-content .gpseo-figure {
	margin: 1.5em 0;
	padding: 0;
}

.gpseo-content .gpseo-inline-img,
.gpseo-content .gpseo-figure img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Tables – dark theme */
.gpseo-content .gpseo-table,
.gpseo-content table.gpseo-table {
	width: 100%;
	max-width: 100%;
	margin: 1.5em 0;
	border-collapse: collapse;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	overflow: hidden;
}

.gpseo-content .gpseo-table th,
.gpseo-content .gpseo-table td {
	padding: 0.75em 1em;
	text-align: left;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	color: #e8e8e8;
}

.gpseo-content .gpseo-table thead th {
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	font-weight: 600;
	font-size: 0.95em;
}

.gpseo-content .gpseo-table tbody tr:nth-child(even) {
	background: rgba(255, 255, 255, 0.03);
}

.gpseo-content .gpseo-table tbody tr:hover {
	background: rgba(255, 255, 255, 0.06);
}

.gpseo-content .gpseo-table tbody tr:last-child td {
	border-bottom: none;
}

/* CTA / contact link – stands out on dark */
.gpseo-content strong {
	font-weight: 600;
	color: #f0f0f0;
}

.gpseo-content p a[href*="contact"] {
	display: inline-block;
	margin-top: 0.5em;
	padding: 0.5em 1.2em;
	background: #7eb8ff;
	color: #0d1117 !important;
	border-radius: 6px;
	font-weight: 600;
}

.gpseo-content p a[href*="contact"]:hover {
	background: #a8d4ff;
	color: #0d1117 !important;
	text-decoration: none !important;
}

/* External links – subtle distinction */
.gpseo-content a[href^="http"]:not([href*="theghostproduction.com"]) {
	color: #9ec8ff;
}

/* FAQ section */
.gpseo-content h2 + h3,
.gpseo-content h3 + p {
	margin-top: 0.5em;
}

/* ── Breadcrumbs ────────────────────────────────────────────────────────── */
.gpseo-breadcrumbs {
	max-width: 800px;
	margin: 2rem auto 1.2em 0;
	padding: 0;
}

.gpseo-breadcrumbs-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.1em;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.38);
}

.gpseo-bc-item {
	margin: 0 !important;
	display: flex;
	align-items: center;
}

.gpseo-bc-link {
	color: rgba(255, 255, 255, 0.48) !important;
	text-decoration: none !important;
	transition: color 0.15s;
}

.gpseo-bc-link:hover {
	color: rgba(255, 255, 255, 0.8) !important;
	text-decoration: none !important;
}

.gpseo-bc-sep {
	margin: 0 0.3em;
	color: rgba(255, 255, 255, 0.22);
	font-size: 0.9em;
	list-style: none !important;
}

.gpseo-bc-current {
	color: rgba(255, 255, 255, 0.6);
	font-weight: 500;
}

/* ── Last Updated date ──────────────────────────────────────────────────── */
.gpseo-updated-date {
	font-size: 0.8rem;
	color: #6b7280;
	margin: 0 0 2em;
	letter-spacing: 0.02em;
}

/* ── Related Guides block ───────────────────────────────────────────────── */
.gpseo-related-guides {
	max-width: 800px;
	margin: 2.5em auto 1em;
	padding: 1.4rem 1.6rem;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
}

.gpseo-related-heading {
	font-size: 1rem !important;
	font-weight: 600 !important;
	color: #ffffff !important;
	margin: 0 0 0.8em !important;
	padding: 0 !important;
	border: none !important;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.gpseo-related-list {
	margin: 0 0 1rem !important;
	padding: 0 !important;
	list-style: none !important;
	display: flex;
	flex-direction: column;
	gap: 0.45em;
}

.gpseo-related-list li {
	margin: 0 !important;
}

.gpseo-related-list a {
	color: #a0c4ff !important;
	font-size: 0.95rem;
	text-decoration: none;
	transition: color 0.15s;
}

.gpseo-related-list a::before {
	content: '→ ';
	color: #7eb8ff;
	font-size: 0.85em;
}

.gpseo-related-list a:hover {
	color: #c5d9ff !important;
	text-decoration: underline;
}

.gpseo-related-hub-link {
	display: inline-block;
	font-size: 0.82rem;
	color: #7eb8ff !important;
	font-weight: 500;
	text-decoration: none;
	border: 1px solid rgba(126, 184, 255, 0.25);
	padding: 0.3em 0.8em;
	border-radius: 6px;
	transition: background 0.15s, color 0.15s;
}

.gpseo-related-hub-link:hover {
	background: rgba(126, 184, 255, 0.1);
	color: #c5d9ff !important;
	text-decoration: none !important;
}

/* ── Conversion CTA box ─────────────────────────────────────────────────── */
.gpseo-cta-box {
	max-width: 800px;
	margin: 2em auto 2.5em;
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(126, 184, 255, 0.12) 0%, rgba(168, 85, 247, 0.1) 100%);
	border: 1px solid rgba(126, 184, 255, 0.2);
	padding: 2rem 2rem;
	text-align: center;
}

.gpseo-cta-heading {
	font-size: clamp(1.15rem, 2.5vw, 1.4rem) !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	margin: 0 0 0.5em !important;
	padding: 0 !important;
	border: none !important;
}

.gpseo-cta-text {
	font-size: 0.95rem;
	color: #b8c8d8;
	margin: 0 0 1.4em !important;
	line-height: 1.55;
	max-width: 540px;
	margin-left: auto !important;
	margin-right: auto !important;
}

.gpseo-cta-btns {
	display: flex;
	gap: 0.75rem;
	justify-content: center;
	flex-wrap: wrap;
}

.gpseo-cta-btn {
	display: inline-block;
	padding: 0.65em 1.5em;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none !important;
	transition: opacity 0.15s, transform 0.1s;
	border: 1px solid rgba(126, 184, 255, 0.35);
	color: #c5d9ff !important;
	background: rgba(255, 255, 255, 0.06);
}

.gpseo-cta-btn-primary {
	background: #7eb8ff !important;
	color: #0d1117 !important;
	border-color: transparent !important;
}

.gpseo-cta-btn:hover {
	opacity: 0.85;
	transform: translateY(-1px);
}

/* ── Author bio box ─────────────────────────────────────────────────────── */
.gpseo-content .gpseo-author-box {
	display: flex;
	align-items: flex-start;
	gap: 1.1rem;
	margin: 2.5em 0 1.5em;
	padding: 1.4rem 1.6rem;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-left: 3px solid #7eb8ff;
	border-radius: 12px;
}

.gpseo-content .gpseo-author-avatar {
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: linear-gradient(135deg, #7eb8ff 0%, #a855f7 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
	font-weight: 700;
	color: #fff;
	line-height: 1;
}

.gpseo-content .gpseo-author-info {
	flex: 1;
	min-width: 0;
}

.gpseo-content .gpseo-author-name {
	margin: 0 0 0.15em;
	font-size: 0.95rem;
	color: #ffffff;
}

.gpseo-content .gpseo-author-role {
	margin: 0 0 0.5em;
	font-size: 0.82rem;
	color: #7eb8ff;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.gpseo-content .gpseo-author-bio {
	margin: 0;
	font-size: 0.9rem;
	color: #b0b8c4;
	line-height: 1.55;
}

.gpseo-content .gpseo-author-bio a {
	color: #7eb8ff;
}

/* Responsive */
@media (max-width: 640px) {
	.gpseo-content {
		padding: 0 1rem;
	}

	.gpseo-content .gpseo-table th,
	.gpseo-content .gpseo-table td {
		padding: 0.5em 0.6em;
		font-size: 0.9em;
	}
}
