/* ============================================================
   LSQ CS Card (Editorial)
   Figma node 14:452 — Patient Appointment Reminder / New Sections
   ============================================================ */

/* --- Design tokens ---------------------------------------- */
#top .lsq-cs-card-editorial {
	--lsq-cse-teal-950:  #0e2424;
	--lsq-cse-teal-900:  #193636;
	--lsq-cse-teal-500:  #3d8181;
	--lsq-cse-teal-300:  #8bbdbb;
	--lsq-cse-cream-500: #f4ecd4;
	--lsq-cse-ink:       #122120;
	--lsq-cse-slate:     #4a5b59;
	--lsq-cse-body:      rgba(43,58,58,0.82);
	--lsq-cse-body-90:   rgba(43,58,58,0.90);
	--lsq-cse-border:    #ddefe9;
	--lsq-cse-cream-dim: rgba(244,236,212,0.78);

	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	width: 100%;
	box-sizing: border-box;
	padding-bottom: 56px;
}

#top .lsq-cs-card-editorial *,
#top .lsq-cs-card-editorial *::before,
#top .lsq-cs-card-editorial *::after {
	box-sizing: border-box;
}

/* --- Two-column inner layout ------------------------------ */
#top .lsq-cs-card-editorial__inner {
	display: grid;
	grid-template-columns: minmax(0, 722fr) minmax(0, 546fr);
	column-gap: 160px;
	align-items: start;
	width: 100%;
}

/* --- LEFT column ------------------------------------------ */
#top .lsq-cs-card-editorial__left {
	display: flex;
	flex-direction: column;
	gap: 28px;
	min-width: 0;
	overflow: hidden;
}

/* Company header */
#top .lsq-cs-card-editorial__company {
	display: flex;
	align-items: center;
	gap: 16px;
	overflow: hidden;
}

#top .lsq-cs-card-editorial__logo-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 246px;
	height: 82px;
	background: #ffffff;
	border: 1px solid var(--lsq-cse-border);
	border-radius: 8px;
	overflow: hidden;
	padding: 12px 24px;
}

#top .lsq-cs-card-editorial__logo-wrap img {
	max-width: 156px;
	height: 33px;
	width: auto;
	object-fit: contain;
	display: block;
}

#top .lsq-cs-card-editorial__company-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

#top .lsq-cs-card-editorial__company-name {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--lsq-cse-teal-900);
	line-height: normal;
	white-space: nowrap;
}

#top .lsq-cs-card-editorial__company-category {
	margin: 0;
	font-size: 13.5px;
	font-weight: 400;
	color: #505d5c;
	line-height: normal;
	white-space: nowrap;
}

/* Narrative sections */
#top .lsq-cs-card-editorial__section {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	width: 100%;
}

#top .lsq-cs-card-editorial__section-title {
	margin: 0;
	padding: 0;
	font-size: 16px;
	font-weight: 700;
	color: var(--lsq-cse-teal-900);
	line-height: normal;
	white-space: nowrap;
}

#top .lsq-cs-card-editorial__section-body {
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	color: var(--lsq-cse-body);
	line-height: 1.65;
	word-break: break-word;
}

/* --- RIGHT column ----------------------------------------- */
#top .lsq-cs-card-editorial__right {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-width: 0;
}

/* Impact block */
#top .lsq-cs-card-editorial__impact {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 100%;
}

/* Checklist */
#top .lsq-cs-card-editorial__checklist {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 100%;
}

#top .lsq-cs-card-editorial__check-item {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	width: 100%;
}

#top .lsq-cs-card-editorial__check-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	background: var(--lsq-cse-teal-500);
	border-radius: 999px;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

/* Image variant — transparent background, image fills the icon slot */
#top .lsq-cs-card-editorial__check-icon--img {
	background: transparent;
	border-radius: 0;
	overflow: visible;
	padding: 0;
}

#top .lsq-cs-card-editorial__check-icon--img img {
	display: block;
	width: 20px;
	height: 20px;
	object-fit: contain;
}

#top .lsq-cs-card-editorial__check-item > span:last-child {
	flex: 1 0 0;
	font-size: 15.5px;
	font-weight: 400;
	color: var(--lsq-cse-body-90);
	line-height: 1.5;
	min-width: 1px;
}

/* Stats row */
#top .lsq-cs-card-editorial__stats {
	display: flex;
	overflow: hidden;
	border-radius: 19px;
	width: 100%;
}

#top .lsq-cs-card-editorial__stat {
	flex: 1 0 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	padding: 26px 24px 26px 34px;
	background: var(--lsq-cse-teal-950);
	border: 1px solid var(--lsq-cse-teal-900);
}

#top .lsq-cs-card-editorial__stat + .lsq-cs-card-editorial__stat {
	border-left: none;
}

#top .lsq-cs-card-editorial__stat-value {
	font-size: 42px;
	font-weight: 800;
	color: #ffffff;
	letter-spacing: -1.26px;
	line-height: 1;
	white-space: nowrap;
}

#top .lsq-cs-card-editorial__stat-label {
	font-size: 14px;
	font-weight: 400;
	color: var(--lsq-cse-cream-dim);
	line-height: 1.45;
	max-width: 212px;
}

/* Quote card */
#top .lsq-cs-card-editorial__quote-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	background: var(--lsq-cse-cream-500);
	border-radius: 28px;
	padding: 36px 40px;
	box-shadow: 0 8px 24px -8px rgba(18,33,32,0.18);
	width: 100%;
}

#top .lsq-cs-card-editorial__quote-mark {
	font-family: 'Instrument Sans', 'Inter', sans-serif;
	font-size: 72px;
	font-weight: 700;
	color: var(--lsq-cse-teal-300);
	line-height: 0.6;
	height: 44px;
	user-select: none;
}

#top .lsq-cs-card-editorial__quote-text {
	margin: 0;
	font-size: 20px;
	font-weight: 500;
	color: var(--lsq-cse-teal-900);
	line-height: 1.4;
	letter-spacing: -0.22px;
	word-break: break-word;
}

#top .lsq-cs-card-editorial__quote-attrib {
	display: flex;
	align-items: center;
	gap: 14px;
}

#top .lsq-cs-card-editorial__quotee-avatar {
	flex-shrink: 0;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	overflow: hidden;
}

#top .lsq-cs-card-editorial__quotee-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

#top .lsq-cs-card-editorial__quotee-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

#top .lsq-cs-card-editorial__quotee-name {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--lsq-cse-ink);
	line-height: normal;
	white-space: nowrap;
}

#top .lsq-cs-card-editorial__quotee-company {
	margin: 0;
	font-size: 13.5px;
	font-weight: 400;
	color: var(--lsq-cse-slate);
	line-height: normal;
	white-space: nowrap;
}
/* ---- Responsive: tablet (≤ 1200px) ----------------------- */
@media only screen and (max-width: 1200px) {
	#top .lsq-cs-card-editorial__inner {
		column-gap: 60px;
	}

	#top .lsq-cs-card-editorial__section-title {
		white-space: normal;
	}

	#top .lsq-cs-card-editorial__stat-value {
		font-size: 36px;
	}
}

/* ---- Responsive: small tablet / large mobile (≤ 900px) --- */
@media only screen and (max-width: 900px) {
	#top .lsq-cs-card-editorial__inner {
		grid-template-columns: 1fr;
		row-gap: 40px;
	}

	#top .lsq-cs-card-editorial__logo-wrap {
		width: 180px;
	}

	#top .lsq-cs-card-editorial__quote-card {
		width: 100%;
	}
}

/* ---- Responsive: mobile (≤ 600px) ------------------------ */
@media only screen and (max-width: 600px) {
	#top .lsq-cs-card-editorial {
		padding-bottom: 32px;
	}

	#top .lsq-cs-card-editorial__company {
		flex-direction: column;
		align-items: flex-start;
	}

	#top .lsq-cs-card-editorial__logo-wrap {
		width: 160px;
		height: 64px;
	}

	#top .lsq-cs-card-editorial__stats {
		flex-direction: column;
		border-radius: 16px;
	}

	#top .lsq-cs-card-editorial__stat {
		padding: 20px 24px;
	}

	#top .lsq-cs-card-editorial__stat-value {
		font-size: 32px;
	}

	#top .lsq-cs-card-editorial__quote-text {
		font-size: 18px;
	}

	#top .lsq-cs-card-editorial__quote-card {
		padding: 28px 24px;
		border-radius: 20px;
	}

	#top .lsq-cs-card-editorial__divider {
		margin-top: 32px;
	}
}
