/* Globals → Werbung: yellow ad box (file is not called ad.css, ad blockers block that name). Thrive sets typography with !important, so font sizes here need it too. */

.fp-ad {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	padding: 30px 26px;
	border-radius: 5px;
	background: #ffd500;
	color: #121212;
	font-family: 'Prompt', sans-serif;
}

.fp-ad .fp-ad__title {
	margin: 0 !important;
	font-size: 20px !important;
	font-weight: 500 !important;
	line-height: 1.3 !important;
	letter-spacing: 0.2px !important;
	color: #121212 !important;
}

.fp-ad .fp-ad__text {
	margin: 0 !important;
	font-size: 16px !important;
	line-height: 26px !important;
	letter-spacing: 0.16px !important;
	color: #121212 !important;
}

.fp-ad .fp-ad__button {
	display: inline-flex;
	align-items: center;
	margin-top: 4px;
	padding: 12px 24px;
	border-radius: 100px;
	background: #121212;
	font-size: 16px !important;
	line-height: 1 !important;
	color: #fff !important;
	text-decoration: none !important;
	transition: background-color 0.2s, color 0.2s;
}

.fp-ad .fp-ad__button:hover,
.fp-ad .fp-ad__button:focus-visible {
	background: #fff;
	color: #121212 !important;
}

/* School of Flex entry: last box in the left column, follows the reader until the end of the article,
   vertically centred in the window. --sof-sticky-top (centred, at least below the sticky Thrive header + admin bar)
   is set by school-of-flex-entry.js. */

.fp-ad--aside {
	position: sticky;
	top: var(--sof-sticky-top, 24px);
	margin: 18px calc(-1 * var(--sof-column-gap, 48px)) 0 25px; /* as in Figma: indented on the left, touches the article */
	border-radius: 20px 2px 2px 20px;
}

/* Mobile: the left column is hidden, a copy follows the article text */
.fp-ad--inline {
	display: none;
}

@media (max-width: 900px) {
	.fp-ad--inline {
		display: flex;
		margin-top: 40px;
	}
}
