/* Cinethursday Extras – „Zitat einbetten“ */

/* Menüeintrag im Teilen-Menü (sieht aus wie die anderen Einträge) */
.entry-content button.ct-share__embed {
	display: block;
	width: 100%;
	margin: 0 !important;
	padding: 0.45em 1em !important;
	border: 0 !important;
	border-top: 1px solid rgba(253, 152, 0, 0.3) !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #fff !important;
	font-size: 0.9em;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}

.entry-content button.ct-share__embed::before {
	content: "</> ";
	color: #FD9800;
}

.entry-content button.ct-share__embed:hover,
.entry-content button.ct-share__embed:focus-visible {
	background: rgba(253, 152, 0, 0.18) !important;
	color: #FD9800 !important;
	outline: none;
}

/* Fenster */
.ct-embed {
	width: min(640px, calc(100vw - 2em));
	max-height: calc(100vh - 2em);
	overflow: auto;
	padding: 1.2em 1.4em;
	border: 1px solid #FD9800;
	border-radius: 10px;
	background: #0F172A;
	color: #fff;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	font-size: 16px;
	line-height: 1.5;
}

.ct-embed::backdrop {
	background: rgba(0, 0, 0, 0.6);
}

.ct-embed__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1em;
}

.ct-embed__title {
	margin: 0 !important;
	font-size: 1.25em;
	font-weight: 700;
	color: #FD9800;
}

.ct-embed button.ct-embed__close {
	width: 2em;
	height: 2em;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	color: #fff;
	font-size: 1.4em;
	line-height: 1;
	cursor: pointer;
}

.ct-embed button.ct-embed__close:hover,
.ct-embed button.ct-embed__close:focus-visible {
	background: rgba(253, 152, 0, 0.2);
}

.ct-embed__intro {
	margin: 0.4em 0 1em !important;
	font-size: 0.9em;
	opacity: 0.85;
}

.ct-embed__label {
	display: block;
	margin: 0.8em 0 0.3em !important;
	font-size: 0.75em;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.7;
}

.ct-embed__preview {
	padding: 0.2em 0.8em;
	border-radius: 6px;
	background: #fff;
	color: #111;
}

.ct-embed__preview a {
	color: #b35f00;
}

.ct-embed__code {
	width: 100%;
	box-sizing: border-box;
	padding: 0.7em;
	border: 1px solid rgba(253, 152, 0, 0.45);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.05);
	color: #fff;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.8em;
	line-height: 1.45;
	resize: vertical;
}

.ct-embed__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.8em;
	margin-top: 1em;
}

.ct-embed__note {
	font-size: 0.8em;
	opacity: 0.75;
}

.ct-embed button.ct-embed__copy {
	margin: 0;
	padding: 0.55em 1.2em;
	border: 0;
	border-radius: 999px;
	background: #FD9800;
	box-shadow: none;
	color: #0F172A;
	font-size: 0.95em;
	font-weight: 700;
	cursor: pointer;
}

.ct-embed button.ct-embed__copy:hover,
.ct-embed button.ct-embed__copy:focus-visible {
	background: #E98C00;
}
