/*
 * LayoutClass launcher (shortcode, block and Elementor widget).
 * Every selector starts with .lc-launch and repeats the class where themes are aggressive, so
 * theme / Elementor kit rules for headings, paragraphs, lists and links do not leak in.
 */
.lc-launch {
	--lc-blue: #2448ff;
	--lc-blue-dark: #1631c9;
	--lc-ink: #141a33;
	--lc-muted: #55607d;
	--lc-line: #dfe4f2;
	box-sizing: border-box;
	display: flex;
	width: 100%;
	margin: 1.5em 0;
	font-family: "Poppins", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	text-align: left;
	color: var(--lc-ink);
}
.lc-launch *, .lc-launch *::before, .lc-launch *::after { box-sizing: border-box; }
.lc-launch.lc-launch--align-left { justify-content: flex-start; }
.lc-launch.lc-launch--align-center { justify-content: center; }
.lc-launch.lc-launch--align-right { justify-content: flex-end; }
.lc-launch.lc-launch--card { flex-wrap: wrap; }

/* ---------- card ---------- */
.lc-launch .lc-launch__card {
	position: relative;
	width: 100%;
	max-width: 560px;
	margin: 0;
	padding: 28px 28px 22px;
	background: #ffffff;
	border: 1px solid var(--lc-line);
	border-radius: 18px;
	box-shadow: 0 1px 2px rgba(20, 26, 51, .06), 0 12px 32px -12px rgba(20, 26, 51, .22);
	overflow: hidden;
}
.lc-launch .lc-launch__card::before {
	content: "";
	position: absolute;
	left: 0; right: 0; top: 0;
	height: 6px;
	background: linear-gradient(90deg, #2448ff 0%, #2448ff 62%, #ff5a3c 62%, #ff5a3c 100%);
}
.lc-launch .lc-launch__head { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; }
.lc-launch .lc-launch__logo { display: block; flex: 0 0 auto; width: 56px; height: 56px; max-width: none; border-radius: 14px; }
.lc-launch .lc-launch__titles { min-width: 0; }
/* Teachers' own wording can contain very long words or links: wrap them instead of overflowing the card. */
.lc-launch .lc-launch__title,
.lc-launch .lc-launch__text,
.lc-launch .lc-launch__btn-text {
	min-width: 0;
	word-wrap: break-word;
	overflow-wrap: anywhere;
}
.lc-launch p.lc-launch__title {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
	text-transform: none;
	color: var(--lc-ink);
}
.lc-launch p.lc-launch__by {
	margin: 2px 0 0;
	padding: 0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--lc-blue);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .35em;
	line-height: 16px;
}
/* "by [DesignClass mark] DesignClass": the mark is drawn in currentColor (the blue of this line) */
.lc-launch .lc-launch__maker { display: inline-flex; align-items: center; gap: .35em; color: inherit; }
.lc-launch svg.lc-launch__dcmark {
	display: block;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	max-width: none;
	margin: 0;
	color: inherit;
}
.lc-launch svg.lc-launch__dcmark path { fill: currentColor; }
.lc-launch p.lc-launch__text { margin: 0 0 14px; padding: 0; font-size: 16px; line-height: 1.55; color: var(--lc-muted); }
.lc-launch ul.lc-launch__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; }
.lc-launch ul.lc-launch__chips li {
	margin: 0;
	padding: 3px 10px;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.5;
	color: #26304f;
	background: #eef1fb;
	border-radius: 999px;
	list-style: none;
}
.lc-launch ul.lc-launch__chips li::before, .lc-launch ul.lc-launch__chips li::marker { content: none; }
.lc-launch .lc-launch__actions { margin: 0; }
.lc-launch p.lc-launch__hint { margin: 12px 0 0; padding: 0; font-size: 13px; line-height: 1.45; color: var(--lc-muted); }

/* ---------- button ---------- */
.lc-launch a.lc-launch__btn,
.lc-launch span.lc-launch__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	margin: 0;
	padding: 12px 26px;
	font-family: inherit;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	color: #ffffff;
	background: var(--lc-blue);
	border: 0;
	border-radius: 12px;
	box-shadow: 0 2px 0 var(--lc-blue-dark), 0 8px 20px -8px rgba(36, 72, 255, .7);
	cursor: pointer;
	transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.lc-launch.lc-launch--card a.lc-launch__btn { width: 100%; }
.lc-launch a.lc-launch__btn:hover,
.lc-launch a.lc-launch__btn:focus {
	color: #ffffff;
	text-decoration: none;
	background: var(--lc-blue-dark);
	transform: translateY(-1px);
}
.lc-launch a.lc-launch__btn:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--lc-blue-dark); }
.lc-launch a.lc-launch__btn:focus-visible { outline: 3px solid #ffb703; outline-offset: 3px; }
.lc-launch .lc-launch__btn-text { color: inherit; }
.lc-launch svg.lc-launch__btn-icon { display: block; flex: 0 0 auto; width: 20px; height: 20px; max-width: none; color: inherit; }

/* screen-reader-only text (does not rely on the theme's .screen-reader-text) */
.lc-launch .lc-launch__sr {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* admin-only warning (shown when the app file is missing) */
.lc-launch p.lc-launch__warn {
	flex: 1 0 100%;
	max-width: 560px;
	margin: 10px 0 0;
	padding: 8px 12px;
	font-size: 13px;
	color: #7a1d00;
	background: #fff1ec;
	border: 1px solid #ffc7b5;
	border-radius: 8px;
}
.lc-launch.lc-launch--align-center p.lc-launch__warn { margin-left: auto; margin-right: auto; }

/* small screens */
@media (max-width: 480px) {
	.lc-launch .lc-launch__card { padding: 22px 18px 18px; border-radius: 14px; }
	.lc-launch p.lc-launch__title { font-size: 22px; }
	.lc-launch .lc-launch__logo { width: 46px; height: 46px; }
}

/* no movement for people who ask for reduced motion */
@media (prefers-reduced-motion: reduce) {
	.lc-launch a.lc-launch__btn { transition: none; }
	.lc-launch a.lc-launch__btn:hover, .lc-launch a.lc-launch__btn:focus, .lc-launch a.lc-launch__btn:active { transform: none; }
}
