/* Artikelseite (single.php) – baut auf front.css auf */

/* Top-Leiste */
.ri-topbar {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	gap: 4px;
	height: 56px;
	padding: 0 8px;
	background: var(--ri-bg);
	border-bottom: 1px solid var(--ri-line);
}
.ri-topbar-title {
	flex: 1;
	min-width: 0;
	margin-left: 4px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.ri-app .ri-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 44px;
	height: 44px;
	padding: 0 6px;
	border: 0;
	background: none;
	color: var(--ri-text);
	cursor: pointer;
}
.ri-count {
	color: var(--ri-accent);
	font-size: 18px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

/* Artikel */
.ri-article-body { padding: 16px var(--ri-pad) 8px; }
body.ri-single:not(:has(.ric-composer)) .ri-app { padding-bottom: 40px; }
.ri-app .ri-article-title {
	margin: 0;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
}
.ri-article-meta {
	margin: 12px 0 0;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--ri-line);
	color: var(--ri-muted);
	font-size: 14px;
	font-weight: 500;
}

.ri-lead,
.ri-content.has-auto-lead > p:first-child {
	font-size: 20px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: -0.01em;
}
.ri-content.has-auto-lead > p:first-child strong { font-weight: 500; }
.ri-lead { margin: 18px 0 0; }

.ri-content figure, .ri-content .wp-caption { max-width: 100% !important; margin: 20px 0 0; }
.ri-content figcaption, .ri-content .wp-caption-text { margin-top: 6px; color: var(--ri-muted); font-size: 13px; }
.ri-content blockquote {
	margin: 22px 0 0;
	padding: 2px 0 2px 16px;
	border-left: 3px solid var(--ri-accent);
	font-size: 19px;
	font-weight: 600;
}


/* Hinweis "Link kopiert" */
.ri-toast {
	position: fixed;
	left: 50%;
	bottom: 84px;
	z-index: 30;
	transform: translateX(-50%);
	padding: 10px 16px;
	background: var(--ri-navy);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}
.ri-toast[hidden] { display: none; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Dugout/Onefootball-Player (über Ad Inserter): Platz von Anfang an reservieren,
   sonst liegt der Ladebildschirm beim Laden über dem folgenden Text */
.ri-content .dugout-video {
	position: relative;
	aspect-ratio: 16 / 9;
	margin: 20px 0 0;
	background: #000;
}
.ri-content .code-block { margin: 20px 0 !important; }
