.ecw-card-grid {
	--ecw-columns: 3;
	--ecw-card-hover-translate-y: 2px;
	display: grid;
	grid-template-columns: repeat(var(--ecw-columns), minmax(0, 1fr));
	gap: 24px;
	max-width: 1100px;
	font-family: Inter, sans-serif;
}

.ecw-info-card {
	background-color: #ffffff;
	border-radius: 20px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ecw-info-card:hover {
	transform: translateY(calc(var(--ecw-card-hover-translate-y) * -1));
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.ecw-card-badge-wrapper {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 12px;
}

.ecw-card-badge {
	background-color: #f1f5f9;
	color: #64748b;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	padding: 6px 12px;
	border-radius: 20px;
}

.ecw-card-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 16px;
}

.ecw-card-image {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	flex-shrink: 0;
	overflow: hidden;
	background-color: var(--ecw-theme-bg, #f1f5f9);
}

.ecw-card-image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.ecw-card-title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: #1e293b;
}

.ecw-card-description {
	font-size: 14px;
	color: #64748b;
	line-height: 1.6;
	margin: 0 0 28px;
	flex-grow: 1;
}

.ecw-card-action {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	color: var(--ecw-theme-color, #64748b);
	margin-top: auto;
	transition: opacity 0.2s ease;
}

.ecw-card-action:hover {
	opacity: 0.8;
}

.ecw-card-action svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
}

.ecw-theme-red {
	--ecw-theme-color: #ef4444;
	--ecw-theme-bg: #fee2e2;
}

.ecw-theme-blue {
	--ecw-theme-color: #3b82f6;
	--ecw-theme-bg: #dbeafe;
}

.ecw-theme-green {
	--ecw-theme-color: #10b981;
	--ecw-theme-bg: #d1fae5;
}

.ecw-theme-indigo {
	--ecw-theme-color: #6366f1;
	--ecw-theme-bg: #e0e7ff;
}

.ecw-theme-orange {
	--ecw-theme-color: #f59e0b;
	--ecw-theme-bg: #fef3c7;
}

.ecw-theme-teal {
	--ecw-theme-color: #14b8a6;
	--ecw-theme-bg: #ccfbf1;
}

.ecw-story-grid {
	--ecw-story-columns: 3;
	display: grid;
	grid-template-columns: repeat(var(--ecw-story-columns), minmax(0, 1fr));
	gap: 20px;
}

.ecw-story-card {
	padding: 32px;
	border-radius: 20px;
	border: 1px solid var(--ecw-story-border, #e0f4e8);
	background: var(--ecw-story-bg, #f5fbf7);
	display: flex;
	flex-direction: column;
	height: 100%;
}

.ecw-story-title {
	margin: 0 0 16px;
	font-size: 20px;
	line-height: 1.3;
	letter-spacing: -0.01em;
	font-weight: 600;
	color: #1a2f50;
}

.ecw-story-description {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.5;
	font-weight: 400;
	color: #718096;
}

.ecw-story-highlight {
	margin: 0 0 24px;
	font-size: 15px;
	line-height: 1.6;
	font-weight: 400;
	color: #1a2f50;
}

.ecw-story-action {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	line-height: 1;
	font-weight: 500;
	text-decoration: none;
	color: var(--ecw-story-link, #1aae5d);
	margin-top: auto;
	transition: opacity 0.2s ease;
}

.ecw-story-action:hover {
	opacity: 0.8;
}

.ecw-story-action svg {
	width: 1.3em;
	height: 1.3em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1;
}

.ecw-story-theme-green {
	--ecw-story-bg: #f4faf6;
	--ecw-story-border: #e2f1e8;
	--ecw-story-link: #14b85d;
}

.ecw-story-theme-red {
	--ecw-story-bg: #fff8f8;
	--ecw-story-border: #fce4e6;
	--ecw-story-link: #ef4c66;
}

.ecw-story-theme-blue {
	--ecw-story-bg: #f8faff;
	--ecw-story-border: #e2e8f5;
	--ecw-story-link: #315bcc;
}

@media (max-width: 1024px) {
	.ecw-story-title {
		font-size: 18px;
	}

	.ecw-story-action {
		font-size: 14px;
	}
}

@media (max-width: 767px) {
	.ecw-story-card {
		min-height: auto;
	}

	.ecw-story-title {
		font-size: 18px;
	}

	.ecw-story-highlight {
		font-size: 14px;
	}

	.ecw-story-action {
		font-size: 14px;
	}
}

/* Badge Cards Widget */
.ecw-badge-grid {
--ecw-badge-columns: 2;
display: grid;
grid-template-columns: repeat(var(--ecw-badge-columns), minmax(0, 1fr));
gap: 24px;
}

.ecw-badge-card {
padding: 32px;
border-radius: 16px;
border: 1px solid #f0f2f5;
background: #ffffff;
display: flex;
flex-direction: column;
text-decoration: none;
height: 100%;
transition: box-shadow 0.3s ease, border-color 0.3s ease;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
}

a.ecw-badge-card:hover {
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
border-color: #e2e8f0;
}

.ecw-badge-header {
display: flex;
justify-content: flex-end;
margin-bottom: 32px;
}

.ecw-badge-tag {
display: inline-flex;
align-items: center;
padding: 6px 12px;
margin: 0;
font-size: 13px;
line-height: 1;
font-weight: 600;
color: #64748b;
background: #f1f5f9;
border-radius: 30px;
}

.ecw-badge-title {
margin: 0 0 12px;
font-size: 22px;
line-height: 1.35;
letter-spacing: -0.01em;
font-weight: 600;
color: #1a2336;
}

.ecw-badge-desc {
margin: 0;
font-size: 15px;
line-height: 1.5;
font-weight: 400;
color: #718096;
}

@media (max-width: 1024px) {
.ecw-badge-title {
font-size: 20px;
}
}

@media (max-width: 767px) {
.ecw-badge-title {
font-size: 18px;
}
.ecw-badge-desc {
font-size: 14px;
}
.ecw-badge-card {
padding: 24px;
}
}

/* Numbered List Widget */
.ecw-numlist {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: 32px;
max-width: 480px;
}

.ecw-numlist-item {
display: flex;
align-items: flex-start;
gap: 16px;
}

.ecw-numlist-number {
flex-shrink: 0;
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
border-radius: 50%;
background: #e6f4ef;
color: #1a2336;
font-size: 12px;
font-weight: 600;
line-height: 1;
margin-top: 4px;
}

.ecw-numlist-content {
flex: 1 1 auto;
min-width: 0;
}

.ecw-numlist-title {
margin: 0 0 8px;
font-size: 20px;
line-height: 1.3;
letter-spacing: -0.01em;
font-weight: 700;
color: #1a2336;
}

.ecw-numlist-desc {
margin: 0;
font-size: 15px;
line-height: 1.55;
font-weight: 400;
color: #718096;
}

@media (max-width: 767px) {
.ecw-numlist-title {
font-size: 18px;
}
.ecw-numlist-desc {
font-size: 14px;
}
}

/* Newsletter Widget */
.ecw-newsletter {
max-width: 640px;
margin-left: auto;
margin-right: auto;
text-align: center;
font-family: Inter, system-ui, -apple-system, sans-serif;
}

.ecw-newsletter-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 56px;
height: 56px;
border-radius: 14px;
background: #dbeafe;
color: #1e3a8a;
margin: 0 auto 24px;
}

.ecw-newsletter-icon svg,
.ecw-newsletter-icon i {
width: 22px;
height: 22px;
font-size: 22px;
line-height: 1;
}

.ecw-newsletter-title {
margin: 0 0 12px;
font-size: 32px;
line-height: 1.2;
letter-spacing: -0.02em;
font-weight: 700;
color: #1a2336;
}

.ecw-newsletter-desc {
margin: 0 0 32px;
font-size: 16px;
line-height: 1.6;
font-weight: 400;
color: #718096;
}

.ecw-newsletter-form {
margin: 0 0 20px;
}

.ecw-newsletter-form-inner {
display: flex;
align-items: center;
gap: 8px;
background: #ffffff;
border: 1px solid #e2e8f0;
border-radius: 999px;
padding: 8px 8px 8px 20px;
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ecw-newsletter-form-inner:focus-within {
border-color: #e2e8f0;
box-shadow: none;
}

.ecw-newsletter-input-icon {
display: inline-flex;
align-items: center;
justify-content: center;
color: #cbd5e1;
flex-shrink: 0;
}

.ecw-newsletter-input-icon svg {
width: 18px;
height: 18px;
display: block;
}

.ecw-newsletter .ecw-newsletter-input,
.ecw-newsletter-form-inner input[type="email"].ecw-newsletter-input {
flex: 1 1 auto;
min-width: 0;
border: 0;
border-width: 0;
border-style: none;
border-color: transparent;
outline: 0;
box-shadow: none;
background: transparent;
background-color: transparent;
padding: 10px 4px;
margin: 0;
font: inherit;
font-size: 15px;
color: #1a2336;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}

.ecw-newsletter .ecw-newsletter-input:focus,
.ecw-newsletter .ecw-newsletter-input:focus-visible,
.ecw-newsletter .ecw-newsletter-input:focus-within,
.ecw-newsletter .ecw-newsletter-input:active,
.ecw-newsletter .ecw-newsletter-input:hover,
.ecw-newsletter-form-inner input[type="email"].ecw-newsletter-input:focus,
.ecw-newsletter-form-inner input[type="email"].ecw-newsletter-input:focus-visible {
border: 0 !important;
border-width: 0 !important;
border-color: transparent !important;
outline: 0 !important;
outline-width: 0 !important;
outline-style: none !important;
box-shadow: none !important;
background: transparent !important;
background-color: transparent !important;
}

.ecw-newsletter-input::placeholder {
color: #94a3b8;
opacity: 1;
}

.ecw-newsletter-button {
flex-shrink: 0;
display: inline-flex;
align-items: center;
justify-content: center;
border: 0;
cursor: pointer;
background: #1a2336;
color: #ffffff;
padding: 12px 24px;
border-radius: 999px;
font-size: 15px;
font-weight: 600;
line-height: 1;
white-space: nowrap;
transition: background-color 0.2s ease, opacity 0.2s ease;
font-family: inherit;
}

.ecw-newsletter-button:hover {
background: #111827;
}

.ecw-newsletter-button.is-loading,
.ecw-newsletter-button[disabled] {
opacity: 0.6;
cursor: not-allowed;
}

.ecw-newsletter-message {
min-height: 20px;
margin: 12px 0 0;
font-size: 14px;
line-height: 1.4;
}

.ecw-newsletter-message.is-success {
color: #047857;
}

.ecw-newsletter-message.is-error {
color: #dc2626;
}

.ecw-newsletter-terms {
margin: 20px 0 32px;
font-size: 13px;
line-height: 1.5;
color: #94a3b8;
}

.ecw-newsletter-features {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 40px;
font-size: 14px;
font-weight: 500;
color: #1a2336;
}

.ecw-newsletter-feature {
display: inline-flex;
align-items: center;
}

@media (max-width: 640px) {
.ecw-newsletter {
padding: 0 4px;
}
.ecw-newsletter-icon {
width: 48px;
height: 48px;
margin-bottom: 20px;
}
.ecw-newsletter-title {
font-size: 22px;
line-height: 1.25;
}
.ecw-newsletter-desc {
font-size: 14px;
margin-bottom: 24px;
}
.ecw-newsletter-form {
margin-bottom: 8px;
}

/* Break out of the pill on mobile — two clean stacked rounded fields */
.ecw-newsletter-form-inner,
.ecw-newsletter-form-inner:focus-within {
position: relative;
display: block;
background: transparent;
background-color: transparent;
border: 0;
border-radius: 0;
padding: 0;
box-shadow: none;
}

.ecw-newsletter-input-icon {
position: absolute;
left: 31px;
top: 28%;
transform: translateY(-50%);
z-index: 2;
pointer-events: none;
display: inline-flex;
align-items: center;
justify-content: center;
width: 20px;
height: 20px;
color: #94a3b8;
}

.ecw-newsletter-input-icon svg {
width: 18px;
height: 18px;
display: block;
stroke: currentColor;
stroke-width: 1.75;
}

.ecw-newsletter .ecw-newsletter-input,
.ecw-newsletter-form-inner input[type="email"].ecw-newsletter-input {
display: block;
width: 100%;
flex: none;
box-sizing: border-box;
padding: 14px 16px 14px 44px;
margin: 0 0 10px;
font-size: 16px;
line-height: 1.3;
border: 1px solid #e2e8f0 !important;
border-radius: 12px !important;
background: #ffffff !important;
background-color: #ffffff !important;
color: #1a2336;
}

.ecw-newsletter .ecw-newsletter-input:focus,
.ecw-newsletter .ecw-newsletter-input:focus-visible,
.ecw-newsletter-form-inner input[type="email"].ecw-newsletter-input:focus,
.ecw-newsletter-form-inner input[type="email"].ecw-newsletter-input:focus-visible {
border-color: #cbd5e1 !important;
background: #ffffff !important;
background-color: #ffffff !important;
outline: 0 !important;
box-shadow: none !important;
}

.ecw-newsletter-button {
order: initial;
display: block;
width: 100%;
flex: none;
box-sizing: border-box;
padding: 14px 20px;
border-radius: 12px;
font-size: 15px;
}

.ecw-newsletter-message {
margin-top: 10px;
}

.ecw-newsletter-terms {
margin: 20px 0 24px;
font-size: 12.5px;
line-height: 1.55;
}

.ecw-newsletter-features {
flex-direction: column;
align-items: center;
gap: 10px;
font-size: 14px;
}
}

@media (max-width: 380px) {
.ecw-newsletter-title {
font-size: 20px;
}
.ecw-newsletter-desc {
font-size: 13.5px;
}
}
