/*
 * Businesswelt-Journal – Editorial 2027, Phasen 2–4: Artikelkonzept „Premium-Wirtschaftsmagazin“,
 * Kupferglanz-Akzente, Startseiten-/Archiv-Feinschliff.
 * Nur Präsentation. Keine Inhalte, Überschriften oder Texte werden verändert.
 * Vorlage: Artifact „Artikelseiten 2027“, Tab Businesswelt-Journal.
 * Benötigt die Tokens aus fonts-2027.css.
 */

/* ---------- Kicker (Rubrik) ---------- */

.kicker {
	font-family: var(--font-ui);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	color: var(--acc-ink);
}

/* ---------- Artikelkopf ---------- */

.article__title em {
	font-style: italic;
	font-weight: 500;
	color: var(--acc-large);
}

.article__standfirst {
	max-width: 60ch;
	font-size: clamp(20px, 1.05rem + 0.55vw, 24px);
	line-height: 1.5;
	color: #2c3446;
}

.article__head .meta {
	position: relative;
	padding-block: 12px;
	border-top: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
	font-family: var(--font-ui);
	font-size: 13px;
}

.article__head .meta::after {
	content: "";
	position: absolute;
	left: 0;
	top: -1px;
	width: 64px;
	height: 1px;
	background: var(--acc-gloss);
}

.article__figure figcaption,
.prose figcaption,
.prose .wp-element-caption {
	font-family: var(--font-ui);
	font-size: 12.5px;
	line-height: 1.45;
	color: var(--muted);
}

/* ---------- Fließtext ---------- */

.prose {
	line-height: 1.72;
}

/* Initiale in Kupferglanz */
.prose--dropcap > p:first-of-type::first-letter {
	float: left;
	margin: 0;
	padding: 0.06em 0.1em 0 0;
	font-family: var(--font-display);
	font-size: 4.2em;
	font-weight: 600;
	line-height: 0.8;
	color: var(--acc-large);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.prose--dropcap > p:first-of-type::first-letter {
		background: var(--acc-gloss);
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
	}
}

/* H2 mit kurzer Kupferlinie */
.prose h2 {
	margin-top: 1.7em;
}

.prose h2::before {
	content: "";
	display: block;
	width: 40px;
	height: 2px;
	margin-bottom: 14px;
	background: var(--acc-gloss);
}

/* ---------- „Das Wichtigste in Kürze“: Executive Summary ---------- */

.prose .bwj-takeaways {
	position: relative;
	margin-block: 0.5em 1.75em;
	padding: 18px 22px 12px;
	background: #fff;
	border: 1px solid var(--rule);
	border-top: 0;
}

.prose .bwj-takeaways::before {
	content: "";
	position: absolute;
	left: -1px;
	right: -1px;
	top: 0;
	height: 2px;
	background: var(--acc-gloss);
}

.prose .bwj-takeaways h2 {
	margin: 0 0 12px;
	font-family: var(--font-ui);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--acc-ink);
}

.prose .bwj-takeaways h2::before {
	display: none;
}

.prose .bwj-takeaways ul {
	max-width: none;
	font-size: 16.5px;
	line-height: 1.55;
}

.prose .bwj-takeaways li + li {
	margin-top: 0.55em;
}

.prose .bwj-takeaways ul > li::before {
	background: var(--acc-ink);
}

/* ---------- Blockstil „Kennzahl“ (nur wenn die Redaktion ihn setzt) ---------- */

.prose .is-style-bwj-kennzahl {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 6px 18px;
	max-width: none;
	margin-block: 0.4em 1.4em;
	padding: 6px 0 6px 18px;
	border-left: 2px solid var(--acc-ink);
	font-size: 15px;
	line-height: 1.45;
	color: #2c3446;
}

.prose .is-style-bwj-kennzahl > strong:first-child,
.prose .is-style-bwj-kennzahl > b:first-child {
	font-family: var(--font-display);
	font-size: clamp(40px, 2rem + 1.6vw, 58px);
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	color: var(--acc-large);
}

/* ---------- Zitat zwischen Kupferlinien ---------- */

.prose blockquote,
.prose .wp-block-pullquote {
	position: relative;
	max-width: 560px;
	margin: 34px auto;
	padding: 20px 0;
	border: 0;
	text-align: center;
}

.prose blockquote::before,
.prose blockquote::after,
.prose .wp-block-pullquote::before,
.prose .wp-block-pullquote::after {
	content: "";
	position: absolute;
	left: 25%;
	right: 25%;
	height: 1px;
	background: var(--acc-gloss);
}

.prose blockquote::before,
.prose .wp-block-pullquote::before {
	top: 0;
}

.prose blockquote::after,
.prose .wp-block-pullquote::after {
	bottom: 0;
}

.prose .wp-block-pullquote blockquote {
	margin: 0;
	padding: 0;
	max-width: none;
}

.prose .wp-block-pullquote blockquote::before,
.prose .wp-block-pullquote blockquote::after {
	display: none;
}

.prose blockquote p,
.prose .wp-block-pullquote p {
	margin: 0 0 8px;
	font-family: var(--font-display);
	font-size: clamp(24px, 1.2rem + 1.1vw, 34px);
	font-style: italic;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: 0;
}

.prose blockquote cite,
.prose .wp-block-pullquote cite {
	font-family: var(--font-ui);
	font-size: 12.5px;
	font-weight: 400;
	letter-spacing: 0.04em;
	color: var(--muted);
}

/* ---------- Tabellen im Finanzbericht-Stil ---------- */

.prose .wp-block-table {
	max-width: none;
	overflow-x: auto;
	margin-block: 1.2em 1.6em;
}

.prose table {
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.45;
	font-variant-numeric: tabular-nums;
}

.prose .wp-block-table table {
	min-width: 480px;
	border: 0;
}

.prose th,
.prose .wp-block-table th,
.prose .wp-block-table thead th {
	padding: 0 12px 8px;
	border: 0;
	border-bottom: 2px solid var(--acc-ink);
	font-family: var(--font-ui);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-align: left;
	color: var(--acc-ink);
}

.prose td,
.prose .wp-block-table td {
	padding: 10px 12px;
	border: 0;
	border-bottom: 1px solid var(--rule);
	vertical-align: top;
}

.prose .wp-block-table thead {
	border-bottom: 0;
}

.prose tbody tr:nth-child(even) td {
	background: var(--paper-2);
}

/* ---------- Bilder ---------- */

@media (min-width: 1100px) {
	.prose .alignwide {
		width: auto;
		max-width: none;
		margin-inline: -36px;
	}
}

/* ---------- Seitenleiste ---------- */

.rail-title {
	padding-top: 10px;
	margin-bottom: 6px;
	border-top: 2px solid var(--ink);
	font-family: var(--font-ui);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ranked__item::before {
	font-family: var(--font-display);
	font-size: 30px;
	font-style: italic;
	font-weight: 500;
	line-height: 1;
	color: var(--acc-large);
}

.ranked__title {
	font-family: var(--font-display);
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.3;
}

.ranked__title:hover {
	text-decoration-color: var(--acc-ink);
}

.side-block--pitch {
	padding: 18px;
	background: #fff;
	border: 1px solid var(--rule);
	border-top: 2px solid var(--acc-ink);
}

.side-block__lead {
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.25;
}

/* ---------- Endkarte „Ihr Unternehmen im Businesswelt-Journal“ ---------- */

.bwj-endcard {
	margin-top: 32px;
	padding: 22px 24px;
	background: var(--navy);
	color: #e8ebf1;
	border: 1px solid transparent;
	border-image: var(--acc-gloss) 1;
	font-size: 16px;
}

.bwj-endcard .kicker {
	display: block;
	margin: 0 0 6px;
	color: var(--gold-light);
}

.bwj-endcard__title {
	display: block;
	margin: 0 0 12px;
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.25;
	color: #fff;
}

.bwj-endcard__link {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid var(--gold-light);
	font-family: var(--font-ui);
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
}

.bwj-endcard__link:hover,
.bwj-endcard__link:focus-visible {
	background: rgba(224, 178, 90, 0.14);
}

.bwj-endcard__link:focus-visible {
	outline: 2px solid var(--gold-light);
	outline-offset: 2px;
}

/* ---------- Lesefortschritt (2 px, nur CSS) ---------- */

@supports (animation-timeline: scroll()) {
	body.single-post::after {
		content: "";
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 200;
		height: 2px;
		background: var(--acc-gloss);
		transform: scaleX(0);
		transform-origin: 0 50%;
		pointer-events: none;
		animation: bwj-progress linear both;
		animation-timeline: scroll(root);
	}

	.admin-bar.single-post::after {
		top: 32px;
	}

	@keyframes bwj-progress {
		to {
			transform: scaleX(1);
		}
	}
}

@media (prefers-reduced-motion: reduce) {
	body.single-post::after {
		display: none;
	}
}

/* ---------- Startseite und Archive ---------- */

.teaser__title a:hover {
	text-decoration-color: var(--acc-ink);
}

.teaser:focus-within .teaser__title a {
	text-decoration: underline;
	text-decoration-color: var(--acc-ink);
	text-underline-offset: 3px;
}
