/**
 * FSE Magazine Pro - Single Article Editorial Stylesheet
 *
 * @package FSE_Magazine_Pro
 * @version 1.0.0
 */

/* Reading Progress Bar */
#fse-reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	background: var(--fse-accent-primary, #2563eb);
	width: 0%;
	z-index: 99999;
	transition: width 0.1s linear;
}

/* Article Typography */
.fse-article-body {
	font-size: 1.125rem;
	line-height: 1.8;
	color: var(--fse-text-primary, #1e293b);
}

.fse-article-body p {
	margin-bottom: 1.6rem;
}

.fse-article-body h2 {
	font-size: 1.85rem;
	font-weight: 800;
	margin-top: 2.5rem;
	margin-bottom: 1rem;
	line-height: 1.3;
	color: var(--fse-text-primary, #0f172a);
}

.fse-article-body h3 {
	font-size: 1.45rem;
	font-weight: 700;
	margin-top: 2rem;
	margin-bottom: 0.85rem;
	line-height: 1.35;
	color: var(--fse-text-primary, #0f172a);
}

.fse-article-body blockquote {
	margin: 2rem 0;
	padding: 1.25rem 2rem;
	border-left: 4px solid var(--fse-accent-primary, #2563eb);
	background: var(--fse-surface-secondary, #f8fafc);
	border-radius: 0 8px 8px 0;
	font-style: italic;
	font-size: 1.2rem;
	color: var(--fse-text-primary, #334155);
}

/* Table of Contents */
.fse-toc-box {
	background: var(--fse-surface-secondary, #f8fafc);
	border: 1px solid var(--fse-border-color, #e2e8f0);
	border-radius: 10px;
	padding: 1.25rem 1.75rem;
	margin: 2rem 0;
}

.fse-toc-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	user-select: none;
}

.fse-toc-header h4 {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--fse-text-primary, #0f172a);
}

.fse-toc-list {
	list-style: none;
	margin: 1rem 0 0 0;
	padding-left: 0;
}

.fse-toc-list li {
	margin-bottom: 0.6rem;
}

.fse-toc-list li.fse-toc-level-3 {
	padding-left: 1.25rem;
}

.fse-toc-list a {
	color: var(--fse-text-secondary, #475569);
	text-decoration: none;
	font-size: 0.95rem;
	transition: color 0.15s ease;
}

.fse-toc-list a:hover {
	color: var(--fse-accent-primary, #2563eb);
}

/* Sticky Share Bar */
.fse-sticky-share-desktop {
	position: sticky;
	top: 100px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.fse-share-btn {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	text-decoration: none;
	font-size: 14px;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.fse-share-btn:hover {
	transform: translateY(-2px);
	opacity: 0.9;
}

.fse-share-twitter { background: #0f172a; }
.fse-share-facebook { background: #1877f2; }
.fse-share-linkedin { background: #0a66c2; }
.fse-share-whatsapp { background: #25d366; }
.fse-share-telegram { background: #229ed9; }
.fse-share-reddit { background: #ff4500; }
.fse-share-pinterest { background: #e60023; }

/* Sticky Mobile Share Bar */
.fse-mobile-share-bar {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--fse-surface-primary, #ffffff);
	border-top: 1px solid var(--fse-border-color, #e2e8f0);
	padding: 8px 16px;
	z-index: 9999;
	box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
	.fse-mobile-share-bar {
		display: flex;
		justify-content: space-around;
		align-items: center;
	}
	.fse-sticky-share-desktop {
		display: none;
	}
}
