/* Clinical Studies Elementor Widget — v2 */
.csew-study-widget {
	--csew-primary: #0E4B2F;
	--csew-accent: #D8890B;
	--csew-text: #18231E;
	--csew-muted: #626B66;
	--csew-border: #E2E6E3;
	--csew-bg: #FFFFFF;
	width: 100%;
	color: var(--csew-text);
	background: var(--csew-bg);
	font-family: inherit;
}
.csew-study-widget *, .csew-study-widget *::before, .csew-study-widget *::after { box-sizing: border-box; }

.csew-header { text-align:center; margin:0 auto 18px; }
.csew-main-heading {
	margin:0;
	color:var(--csew-primary);
	font-family: Georgia, "Times New Roman", serif;
	font-weight:700;
	font-size:56px;
	line-height:.98;
	letter-spacing:-1.5px;
}
.csew-main-heading span { color:var(--csew-accent); }
.csew-subheading {
	margin-top:9px;
	color:var(--csew-text);
	font-size:18px;
	line-height:1.4;
}

.csew-tabs {
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:24px;
	margin-bottom:20px;
}
.csew-tab-button {
	position:relative;
	display:flex;
	align-items:center;
	justify-content:center;
	gap:14px;
	min-height:70px;
	padding:14px 20px;
	border:1px solid var(--csew-border);
	border-radius:14px;
	background:#fff;
	color:var(--csew-text);
	font:inherit;
	font-weight:600;
	line-height:1.2;
	cursor:pointer;
	transition:.2s ease;
}
.csew-tab-button:hover { border-color:var(--csew-primary); background:var(--csew-primary); transform:translateY(-1px); }
.csew-tab-button:focus-visible { outline:3px solid rgba(216,137,11,.3); outline-offset:2px; }
.csew-tab-button.is-active { background:var(--csew-primary); border-color:var(--csew-primary); color:#fff; }
.csew-tab-button.is-active::after {
	content:"";
	position:absolute;
	left:50%;
	bottom:-11px;
	width:0;height:0;
	border-left:11px solid transparent;
	border-right:11px solid transparent;
	border-top:11px solid var(--csew-primary);
	transform:translateX(-50%);
}
.csew-tab-icon { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; line-height:1; }
.csew-tab-icon svg { width:36px; height:36px; }
.csew-tab-icon i { font-size:36px; }
.csew-tab-title { white-space:normal; }

.csew-panel[hidden] { display:none !important; }
.csew-content-grid {
	display:grid;
	grid-template-columns:minmax(310px,.78fr) minmax(0,2.22fr);
	border:1px solid var(--csew-border);
	border-radius:16px;
	overflow:hidden;
	background:#fff;
}
.csew-study-panel { min-width:0; padding:28px; border-right:1px solid var(--csew-border); }
.csew-chart-panel { min-width:0; padding:24px; }
.csew-study-heading {
	margin:0 0 20px;
	color:var(--csew-primary);
	font-family:Georgia,"Times New Roman",serif;
	font-size:31px;
	line-height:1.08;
	font-weight:700;
}
.csew-study-title { font-size:15px; line-height:1.65; }
.csew-study-title p, .csew-conclusion-text p { margin:0; }
.csew-study-title strong { font-weight:700; }

.csew-details { margin-top:21px; padding-top:17px; border-top:1px solid var(--csew-border); }
.csew-detail-row { display:flex; align-items:center; gap:12px; padding:8px 0; font-size:15px; line-height:1.35; }
.csew-detail-icon {
	display:inline-flex; align-items:center; justify-content:center; flex:0 0 40px;
	width:40px;height:40px;border-radius:50%;background:var(--csew-primary);color:#fff;
	font-size:16px;
}
.csew-detail-icon svg { width:18px;height:18px; }
.csew-detail-copy { display:flex; flex-wrap:wrap; gap:4px; }
.csew-detail-copy strong { font-weight:700; }

.csew-conclusion { margin-top:20px; padding-top:19px; border-top:1px solid var(--csew-border); }
.csew-conclusion h4 { margin:0 0 8px; color:var(--csew-accent); font-size:17px; line-height:1.3; font-weight:700; }
.csew-conclusion-text { font-size:14px; line-height:1.58; }

.csew-chart-header {
	display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:14px;
}
.csew-chart-header h3 { margin:0; color:var(--csew-primary); font-size:20px; line-height:1.25; font-weight:700; }
.csew-legends { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:14px; font-size:13px; }
.csew-legend { display:inline-flex; align-items:center; gap:7px; white-space:nowrap; }
.csew-legend i { display:inline-block; width:12px; height:12px; border-radius:1px; }

.csew-charts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.csew-chart { margin:0; min-width:0; overflow:hidden; border:1px solid var(--csew-border); border-radius:12px; background:#fff; }
.csew-chart img { display:block; width:100%; height:auto; max-width:100%; }

.csew-bottom-notice {
	display:flex; align-items:center; justify-content:center; gap:12px;
	margin-top:12px; padding:11px 15px;
	border:1px solid var(--csew-border); border-radius:12px;
	background:#F6F7F5; color:var(--csew-primary);
	font-size:14px; font-weight:600; line-height:1.4; text-align:center;
}
.csew-notice-icon { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; }
.csew-notice-icon svg { width:30px;height:30px; }
.csew-no-charts,.csew-empty { padding:20px; border:1px dashed var(--csew-border); border-radius:12px; color:var(--csew-muted); text-align:center; }

@media (max-width:1024px) {
	.csew-main-heading { font-size:48px; }
	.csew-tabs { gap:14px; }
	.csew-tab-button { padding:12px 14px; gap:9px; }
	.csew-content-grid { grid-template-columns:minmax(250px,.9fr) minmax(0,1.8fr); }
	.csew-study-panel { padding:22px; }
	.csew-chart-panel { padding:20px; }
	.csew-charts { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width:767px) {
	.csew-header { margin-bottom:12px; }
	.csew-main-heading { font-size:37px; letter-spacing:-.8px; }
	.csew-subheading { font-size:15px; }
	.csew-tabs {
		display:flex; overflow-x:auto; gap:8px; padding:2px 2px 10px;
		scrollbar-width:thin; -webkit-overflow-scrolling:touch;
	}
	.csew-tab-button { flex:0 0 auto; min-height:54px; padding:10px 14px; border-radius:11px; }
	.csew-tab-button.is-active::after { display:none; }
	.csew-tab-icon i { font-size:25px; }
	.csew-tab-icon svg { width:25px;height:25px; }
	.csew-content-grid { display:block; border-radius:13px; }
	.csew-study-panel { border-right:0; border-bottom:1px solid var(--csew-border); padding:20px; }
	.csew-chart-panel { padding:16px; }
	.csew-study-heading { font-size:28px; }
	.csew-chart-header { display:block; }
	.csew-chart-header h3 { margin-bottom:11px; font-size:18px; }
	.csew-legends { justify-content:flex-start; }
	.csew-charts { grid-template-columns:1fr; gap:10px; }
	.csew-bottom-notice { align-items:flex-start; justify-content:flex-start; text-align:left; }
}