/**
 * Iltizam Charitable Addons - Campaign Meta Styles
 * Author: Zahid Hijazi
 * Version: 1.0.4
 */

.iltizam-campaign-meta-wrapper {
	--brand-green: #24a599;
	--brand-green-hover: #1e8c81;
	--light-mint: #2fc28b;
	--mint-bg: #f1fbf9;
	--mint-border: #ace7d1;
	--dark-green: #10403e;
	--text-muted: #64748b;
	--border-color: #e2e8f0;
	--icon-color: #24a599;

	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding: 0;
	margin-bottom: 20px;
	font-family: inherit;
	box-sizing: border-box;
}

/* Preset: Clean (Default - No bottom border to avoid double-line clash with Tabs) */
.iltizam-campaign-meta-wrapper.layout-clean {
	border-bottom: none;
	padding-bottom: 0;
}

/* Preset: Card Banner (Contained Box above Tabs) */
.iltizam-campaign-meta-wrapper.layout-card {
	background-color: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 12px 18px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

/* Preset: Pills (Individual chip badges) */
.iltizam-campaign-meta-wrapper.layout-pills .iltizam-meta-item {
	background-color: #f8fafc;
	border: 1px solid #e2e8f0;
	padding: 5px 13px;
	border-radius: 9999px;
	transition: all 0.2s ease;
}

.iltizam-campaign-meta-wrapper.layout-pills .iltizam-meta-item:hover {
	border-color: var(--mint-border);
	background-color: #ffffff;
}

/* Preset: Line (Classic Divider) */
.iltizam-campaign-meta-wrapper.layout-line,
.iltizam-campaign-meta-wrapper.has-divider {
	border-bottom: 1px solid var(--border-color);
	padding-bottom: 16px;
}

.iltizam-campaign-meta-items {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 13px;
	color: var(--text-muted);
}

.iltizam-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-weight: 500;
	line-height: 1.4;
}

.iltizam-meta-item .meta-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	color: var(--icon-color);
	flex-shrink: 0;
}

.iltizam-meta-item .meta-icon svg {
	width: 15px;
	height: 15px;
	stroke: currentColor;
	vertical-align: middle;
	display: block;
}

.iltizam-meta-badge {
	background-color: var(--mint-bg);
	color: var(--brand-green);
	border: 1px solid var(--mint-border);
	padding: 4px 14px;
	border-radius: 9999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	display: inline-flex;
	align-items: center;
	line-height: 1.4;
}

@media (max-width: 640px) {
	.iltizam-campaign-meta-wrapper {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
	.iltizam-campaign-meta-items {
		gap: 10px;
		font-size: 12px;
	}
}

/* ==========================================================================
   Option B: Iltizam Underline Tabs Preset (Matches elementor-671 exactly)
   Classes: .iltizam-underline-tabs, .iltizam-button-tabs
   Default Colors from elementor-671:
   - Active Tab (--primary-green): #24a599
   - Inactive Tab (--text-muted):  #64748b
   - Hover Tab (--primary-hover):  #1e8c81
   - Bottom Border (--border-color): 2px solid #e2e8f0
   - Padding: 10px 18px | Gap: 16px | Font: 15px / 700
   ========================================================================== */

/* 1. Elementor Nested Tabs (e-n-tabs) */
.iltizam-underline-tabs .e-n-tabs,
.iltizam-button-tabs .e-n-tabs {
	--n-tabs-title-color: #64748b;
	--n-tabs-title-color-hover: #24a599;
	--n-tabs-title-color-active: #24a599;
	--n-tabs-title-background-color: transparent;
	--n-tabs-title-background-color-hover: transparent;
	--n-tabs-title-background-color-active: transparent;
	--n-tabs-gap: 16px;
}

.iltizam-underline-tabs .e-n-tabs-heading,
.iltizam-button-tabs .e-n-tabs-heading {
	display: flex !important;
	gap: 16px !important;
	border: none !important;
	border-bottom: 2px solid #e2e8f0 !important;
	margin-bottom: 24px !important;
	padding: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
}

.iltizam-underline-tabs .e-n-tab-title,
.iltizam-button-tabs .e-n-tab-title {
	background: transparent !important;
	background-color: transparent !important;
	color: #64748b !important;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	padding: 10px 18px !important;
	margin: 0 !important;
	margin-bottom: -2px !important; /* Overlaps the 2px bottom border */
	border: none !important;
	border-bottom: 3px solid transparent !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.iltizam-underline-tabs .e-n-tab-title .e-n-tab-title-text,
.iltizam-button-tabs .e-n-tab-title .e-n-tab-title-text {
	color: inherit !important;
}

.iltizam-underline-tabs .e-n-tab-title:hover,
.iltizam-button-tabs .e-n-tab-title:hover {
	color: #24a599 !important;
	background: transparent !important;
	background-color: transparent !important;
}

.iltizam-underline-tabs .e-n-tab-title[aria-selected="true"],
.iltizam-underline-tabs .e-n-tab-title.e-active,
.iltizam-button-tabs .e-n-tab-title[aria-selected="true"],
.iltizam-button-tabs .e-n-tab-title.e-active {
	background: transparent !important;
	background-color: transparent !important;
	color: #24a599 !important;
	border-bottom: 3px solid #24a599 !important;
	font-weight: 700;
}

.iltizam-underline-tabs .e-n-tab-title[aria-selected="true"] .e-n-tab-title-text,
.iltizam-underline-tabs .e-n-tab-title.e-active .e-n-tab-title-text,
.iltizam-button-tabs .e-n-tab-title[aria-selected="true"] .e-n-tab-title-text,
.iltizam-button-tabs .e-n-tab-title.e-active .e-n-tab-title-text {
	color: #24a599 !important;
}

.iltizam-underline-tabs .e-n-tab-title::after,
.iltizam-underline-tabs .e-n-tab-title::before,
.iltizam-button-tabs .e-n-tab-title::after,
.iltizam-button-tabs .e-n-tab-title::before {
	display: none !important;
	content: none !important;
}

/* 2. Classic Elementor Tabs */
.iltizam-underline-tabs .elementor-tabs-wrapper,
.iltizam-button-tabs .elementor-tabs-wrapper {
	display: flex !important;
	gap: 16px !important;
	border: none !important;
	border-bottom: 2px solid #e2e8f0 !important;
	margin-bottom: 24px !important;
	padding: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
}

.iltizam-underline-tabs .elementor-tabs-wrapper::after,
.iltizam-underline-tabs .elementor-tabs-wrapper::before,
.iltizam-button-tabs .elementor-tabs-wrapper::after,
.iltizam-button-tabs .elementor-tabs-wrapper::before {
	display: none !important;
	content: none !important;
}

.iltizam-underline-tabs .elementor-tab-desktop-title,
.iltizam-button-tabs .elementor-tab-desktop-title {
	background: transparent !important;
	background-color: transparent !important;
	color: #64748b !important;
	font-size: 15px;
	font-weight: 700;
	padding: 10px 18px !important;
	margin: 0 !important;
	margin-bottom: -2px !important;
	border: none !important;
	border-bottom: 3px solid transparent !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
}

.iltizam-underline-tabs .elementor-tab-desktop-title > a,
.iltizam-button-tabs .elementor-tab-desktop-title > a {
	color: inherit !important;
	text-decoration: none !important;
}

.iltizam-underline-tabs .elementor-tab-desktop-title:hover:not(.elementor-active),
.iltizam-button-tabs .elementor-tab-desktop-title:hover:not(.elementor-active) {
	color: #24a599 !important;
	background: transparent !important;
	background-color: transparent !important;
}

.iltizam-underline-tabs .elementor-tab-desktop-title.elementor-active,
.iltizam-button-tabs .elementor-tab-desktop-title.elementor-active {
	background: transparent !important;
	background-color: transparent !important;
	color: #24a599 !important;
	border-bottom: 3px solid #24a599 !important;
	font-weight: 700;
}

.iltizam-underline-tabs .elementor-tab-desktop-title.elementor-active > a,
.iltizam-button-tabs .elementor-tab-desktop-title.elementor-active > a {
	color: #24a599 !important;
}

.iltizam-underline-tabs .elementor-tab-content,
.iltizam-button-tabs .elementor-tab-content {
	border: none !important;
	padding: 16px 0 0 0;
}

/* 3. Custom HTML Template Tabs (.iltizam-tabs-nav / .iltizam-tab-btn) */
.iltizam-tabs-nav,
div.iltizam-tabs-nav {
	display: flex !important;
	gap: 16px !important;
	border: none !important;
	border-bottom: 2px solid #e2e8f0 !important;
	margin-bottom: 24px !important;
	padding: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
}

.iltizam-tab-btn,
button.iltizam-tab-btn,
#iltizam-tab-story,
#iltizam-tab-updates {
	padding: 10px 18px !important;
	background: transparent !important;
	background-color: transparent !important;
	color: #64748b !important;
	border: none !important;
	border-bottom: 3px solid transparent !important;
	margin: 0 !important;
	margin-bottom: -2px !important;
	border-radius: 0 !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-shadow: none !important;
	outline: none !important;
	line-height: 1.5 !important;
}

.iltizam-tab-btn:hover:not(.active),
button.iltizam-tab-btn:hover:not(.active) {
	color: #24a599 !important;
	background: transparent !important;
	background-color: transparent !important;
}

.iltizam-tab-btn.active,
button.iltizam-tab-btn.active,
#iltizam-tab-story.active,
#iltizam-tab-updates.active {
	background: transparent !important;
	background-color: transparent !important;
	color: #24a599 !important;
	border-bottom: 3px solid #24a599 !important;
	font-weight: 700 !important;
}

/* ==========================================================================
   Option A: Solid Button Tabs Preset (.iltizam-solid-button-tabs)
   Optional segmented button style with green active button and gray inactive button
   ========================================================================== */
.iltizam-solid-button-tabs .e-n-tabs-heading,
.iltizam-solid-button-tabs .elementor-tabs-wrapper {
	border: none !important;
	gap: 16px !important;
	display: flex !important;
	flex-wrap: wrap !important;
	margin-bottom: 24px !important;
	padding: 0 !important;
}

.iltizam-solid-button-tabs .e-n-tab-title,
.iltizam-solid-button-tabs .elementor-tab-desktop-title {
	background-color: #f1f2f3 !important;
	color: #54595f !important;
	padding: 14px 28px !important;
	border: none !important;
	border-radius: 2px !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
}

.iltizam-solid-button-tabs .e-n-tab-title[aria-selected="true"],
.iltizam-solid-button-tabs .e-n-tab-title.e-active,
.iltizam-solid-button-tabs .elementor-tab-desktop-title.elementor-active {
	background-color: #61cf70 !important;
	color: #ffffff !important;
}

/* ==========================================================================
   Campaign Updates — Style #1 & Style #4 + Smart Photo Grid + YouTube Player
   ========================================================================== */

/* Shared Reset & Typography */
.iltizam-campaign-updates-list {
	width: 100%;
	box-sizing: border-box;
	font-family: inherit;
}

.iltizam-update-title {
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 6px 0;
	line-height: 1.4;
}

.iltizam-update-body {
	font-size: 14px;
	color: #334155;
	line-height: 1.65;
	margin-bottom: 4px;
}

.iltizam-update-body p {
	margin: 0 0 8px 0;
}

.iltizam-update-body p:last-child {
	margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Campaign Updates Toolbar & Interactive Sorting Controls
   -------------------------------------------------------------------------- */
.iltizam-updates-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding: 10px 16px;
	margin-bottom: 20px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
}

.iltizam-updates-count-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	font-weight: 700;
	color: #0f172a;
	letter-spacing: -0.01em;
}

.iltizam-updates-count-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #24a599;
	box-shadow: 0 0 0 3px rgba(36, 165, 153, 0.22);
}

.iltizam-updates-sort-control {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.iltizam-sort-label {
	font-size: 12px;
	font-weight: 700;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* Compact Dropdown Filter Pill */
.iltizam-sort-select-wrapper {
	position: relative !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 7px !important;
	background: #ffffff !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 8px !important;
	padding: 5px 12px 5px 10px !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
	cursor: pointer !important;
	transition: all 0.18s ease !important;
	white-space: nowrap !important;
	width: auto !important;
	max-width: fit-content !important;
}

.iltizam-sort-select-wrapper:hover {
	border-color: #24a599 !important;
	box-shadow: 0 2px 6px rgba(36, 165, 153, 0.12) !important;
}

.iltizam-sort-select-wrapper:focus-within {
	border-color: #24a599 !important;
	box-shadow: 0 0 0 3px rgba(36, 165, 153, 0.2) !important;
}

.iltizam-sort-icon {
	color: #475569 !important;
	flex-shrink: 0 !important;
	display: inline-block !important;
}

.iltizam-sort-select-wrapper .iltizam-sort-label {
	font-size: 13px !important;
	font-weight: 700 !important;
	color: #334155 !important;
	white-space: nowrap !important;
	margin: 0 !important;
	padding: 0 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	line-height: 1 !important;
	display: inline !important;
}

select.iltizam-sort-dropdown,
.iltizam-sort-select-wrapper select.iltizam-sort-dropdown,
.iltizam-updates-toolbar select.iltizam-sort-dropdown {
	display: inline-block !important;
	width: auto !important;
	min-width: unset !important;
	max-width: unset !important;
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	font-family: inherit !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	color: #10403e !important;
	cursor: pointer !important;
	padding: 0 20px 0 2px !important;
	margin: 0 !important;
	line-height: 1.4 !important;
	height: auto !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
}

select.iltizam-sort-dropdown:focus {
	outline: none !important;
	box-shadow: none !important;
}

select.iltizam-sort-dropdown option {
	background: #ffffff !important;
	color: #0f172a !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	padding: 6px 10px !important;
}

.iltizam-chevron-icon {
	position: absolute !important;
	right: 10px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	pointer-events: none !important;
	color: #10403e !important;
	stroke-width: 2.8 !important;
	display: inline-block !important;
}

/* App-Style Segmented Pill Container (for toggle buttons) */
.iltizam-sort-toggle {
	display: inline-flex;
	align-items: center;
	background: #e2e8f0;
	border: none;
	border-radius: 10px;
	padding: 3px;
	gap: 2px;
}

/* Strict resets overriding Hello Elementor's [type=button] red #c36 styles */
.iltizam-updates-toolbar button,
.iltizam-updates-toolbar [type="button"],
.iltizam-sort-btn,
button.iltizam-sort-btn,
[type="button"].iltizam-sort-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	padding: 6px 14px !important;
	border: 1px solid transparent !important;
	border-radius: 8px !important;
	background-color: transparent !important;
	background: transparent !important;
	color: #64748b !important;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	cursor: pointer !important;
	transition: all 0.15s ease !important;
	font-family: inherit !important;
	box-shadow: none !important;
	outline: none !important;
	text-decoration: none !important;
	margin: 0 !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}

.iltizam-updates-toolbar button.iltizam-sort-btn:hover:not(.is-active),
.iltizam-updates-toolbar [type="button"].iltizam-sort-btn:hover:not(.is-active),
button.iltizam-sort-btn:hover:not(.is-active),
[type="button"].iltizam-sort-btn:hover:not(.is-active) {
	color: #0f172a !important;
	background-color: rgba(255, 255, 255, 0.6) !important;
	background: rgba(255, 255, 255, 0.6) !important;
	border-color: transparent !important;
}

/* Active Segmented Card */
.iltizam-updates-toolbar button.iltizam-sort-btn.is-active,
.iltizam-updates-toolbar [type="button"].iltizam-sort-btn.is-active,
button.iltizam-sort-btn.is-active,
[type="button"].iltizam-sort-btn.is-active {
	background-color: #ffffff !important;
	background: #ffffff !important;
	color: #10403e !important;
	border-color: rgba(0, 0, 0, 0.05) !important;
	font-weight: 700 !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

/* Active and Hover Focus Overrides */
.iltizam-updates-toolbar button.iltizam-sort-btn:focus,
.iltizam-updates-toolbar [type="button"].iltizam-sort-btn:focus,
button.iltizam-sort-btn:focus,
[type="button"].iltizam-sort-btn:focus {
	outline: none !important;
}

.iltizam-sort-btn svg {
	color: currentColor !important;
	stroke: currentColor !important;
	flex-shrink: 0;
	transition: color 0.15s ease;
}

.iltizam-sort-btn.is-active svg {
	color: #24a599 !important;
	stroke: #24a599 !important;
}

.iltizam-campaign-updates-list {
	transition: opacity 0.18s ease;
}

/* --------------------------------------------------------------------------
   STYLE #1: Scroll-Animated Vertical Connected Timeline + 2-Col Photo Grid
   - Zero excess line above first dot or below last dot
   - Two-tone scroll-driven progress line (pale mint track -> deep brand teal fill)
   - Animated dot activation with subtle pulse ring
   -------------------------------------------------------------------------- */
.iltizam-campaign-updates-list.iltizam-updates-style-1 {
	position: relative;
	padding: 4px 0 4px 34px;
	border-left: none !important;
	margin-left: 4px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	width: calc(100% - 4px);
}

.iltizam-timeline-track {
	position: absolute;
	left: 10.5px;
	top: 34px;
	bottom: 34px;
	width: 3px;
	background-color: #d5f3ec;
	border-radius: 999px;
	z-index: 1;
	overflow: hidden;
	pointer-events: none;
}

.iltizam-timeline-progress {
	width: 100%;
	height: 0;
	background: linear-gradient(180deg, #10403e 0%, #24a599 100%);
	border-radius: 999px;
	transition: height 0.15s ease-out;
}

.iltizam-updates-style-1 .iltizam-update-item {
	position: relative;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 12px;
	padding: 0;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
	transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.iltizam-updates-style-1 .iltizam-update-item.is-active {
	border-color: #24a599;
	box-shadow: 0 4px 14px rgba(36, 165, 153, 0.08);
}

.iltizam-updates-style-1 .iltizam-update-item:hover {
	border-color: #24a599;
	box-shadow: 0 6px 18px rgba(36, 165, 153, 0.12);
}

.iltizam-update-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	background-color: #f1fbf9;
	border-bottom: 1px solid #ace7d1;
	border-radius: 11px 11px 0 0;
}

.iltizam-updates-style-1 .iltizam-update-item.no-body .iltizam-update-card-header {
	border-bottom: none;
	border-radius: 11px;
}

.iltizam-update-header-left {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.iltizam-update-date-badge {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	color: #334155;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 9px;
	border-radius: 6px;
	white-space: nowrap;
	line-height: 1.4;
}

.iltizam-update-card-header .iltizam-update-title {
	font-size: 14.5px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 !important;
	line-height: 1.4;
}

.iltizam-update-card-body {
	padding: 16px 18px;
	background: #ffffff;
	border-radius: 0 0 11px 11px;
}

/* Unreached Dot (Below Scroll Line) */
.iltizam-updates-style-1 .iltizam-timeline-dot {
	position: absolute;
	left: -30px;
	top: 15px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background-color: #d5f3ec;
	border: 3px solid #ffffff;
	box-shadow: 0 0 0 2px #ace7d1;
	box-sizing: border-box;
	z-index: 2;
	transform: scale(0.9);
	transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reached / Active Dot (Lit up as Scroll Line touches it) */
.iltizam-updates-style-1 .iltizam-timeline-dot.is-active {
	background-color: #24a599;
	border: 3px solid #f1fbf9;
	box-shadow: 0 0 0 2.5px #24a599, 0 0 0 6px rgba(36, 165, 153, 0.16);
	transform: scale(1.06);
	animation: iltizamTimelinePulse 2.4s infinite ease-in-out;
}

@keyframes iltizamTimelinePulse {
	0%, 100% {
		box-shadow: 0 0 0 2.5px #24a599, 0 0 0 5px rgba(36, 165, 153, 0.14);
	}
	50% {
		box-shadow: 0 0 0 2.5px #24a599, 0 0 0 8px rgba(36, 165, 153, 0.24);
	}
}

/* --------------------------------------------------------------------------
   STYLE #4: Accordion / Expandable Update Log (Space-Saving)
   -------------------------------------------------------------------------- */
.iltizam-campaign-updates-list.iltizam-updates-style-4 {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 4px 0;
}

.iltizam-update-accordion-item {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.iltizam-update-accordion-item:hover {
	border-color: #ace7d1;
}

.iltizam-update-accordion-item.is-open {
	border-color: #24a599;
	box-shadow: 0 4px 14px rgba(36, 165, 153, 0.08);
}

.iltizam-update-accordion-bar,
button.iltizam-update-accordion-bar {
	width: 100%;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 13px 16px !important;
	background: #f8fafc !important;
	background-color: #f8fafc !important;
	color: #0f172a !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	cursor: pointer;
	text-align: left;
	font-family: inherit;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.iltizam-update-accordion-bar:hover,
.iltizam-update-accordion-bar:focus,
button.iltizam-update-accordion-bar:hover,
button.iltizam-update-accordion-bar:focus {
	background: #f1fbf9 !important;
	background-color: #f1fbf9 !important;
	color: #0f172a !important;
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
}

.iltizam-update-accordion-bar:hover .iltizam-update-accordion-status,
button.iltizam-update-accordion-bar:hover .iltizam-update-accordion-status {
	color: #24a599 !important;
}

.iltizam-update-accordion-bar:hover .iltizam-update-accordion-date,
button.iltizam-update-accordion-bar:hover .iltizam-update-accordion-date {
	border-color: #ace7d1 !important;
	color: #24a599 !important;
}

.iltizam-update-accordion-item.is-open .iltizam-update-accordion-bar,
.iltizam-update-accordion-item.is-open .iltizam-update-accordion-bar:hover,
.iltizam-update-accordion-item.is-open button.iltizam-update-accordion-bar,
.iltizam-update-accordion-item.is-open button.iltizam-update-accordion-bar:hover {
	background: #f1fbf9 !important;
	background-color: #f1fbf9 !important;
	border-bottom: 1px solid #ace7d1 !important;
}

.iltizam-update-accordion-left {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.iltizam-update-accordion-date {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	color: #334155;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 9px;
	border-radius: 6px;
	white-space: nowrap;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.iltizam-update-accordion-title {
	font-size: 14.5px;
	font-weight: 700;
	color: #0f172a !important;
}

.iltizam-update-accordion-status {
	font-size: 11.5px;
	font-weight: 700;
	color: #64748b;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.iltizam-update-accordion-item.is-open .iltizam-update-accordion-status {
	color: #24a599 !important;
}

.iltizam-update-accordion-content {
	padding: 16px 18px;
	background: #ffffff;
}

/* --------------------------------------------------------------------------
   Smart Photo Grids (2-Col for Style #1, 3-Col for Style #4)
   Prevents multiple photos from stretching full-width and huge
   -------------------------------------------------------------------------- */
.iltizam-update-photos-grid {
	display: grid;
	gap: 10px;
	margin-top: 12px;
}

.iltizam-update-photos-grid.iltizam-photos-cols-2 {
	grid-template-columns: repeat(2, 1fr);
}

.iltizam-update-photos-grid.iltizam-photos-cols-3 {
	grid-template-columns: repeat(3, 1fr);
}

.iltizam-update-photo-item {
	display: block;
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	line-height: 0;
}

.iltizam-photos-cols-2 .iltizam-update-photo-item img {
	width: 100%;
	height: 175px;
	object-fit: cover;
	display: block;
	margin: 0;
	border-radius: 0;
	transition: transform 0.25s ease;
}

.iltizam-photos-cols-3 .iltizam-update-photo-item img {
	width: 100%;
	height: 130px;
	object-fit: cover;
	display: block;
	margin: 0;
	border-radius: 0;
	transition: transform 0.25s ease;
}

.iltizam-update-photo-item:hover img {
	transform: scale(1.03);
}

/* --------------------------------------------------------------------------
   Responsive 16:9 YouTube Video Player inside Updates
   -------------------------------------------------------------------------- */
.iltizam-update-video-wrap {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
	height: 0;
	margin-top: 12px;
	border-radius: 12px;
	overflow: hidden;
	background: #0f172a;
	border: 1px solid #e2e8f0;
}

.iltizam-update-video-wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* --------------------------------------------------------------------------
   Full-Size Photo Lightbox Overlay
   -------------------------------------------------------------------------- */
.iltizam-photo-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999999;
	background: rgba(15, 23, 42, 0.88);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	cursor: zoom-out;
}

.iltizam-photo-lightbox.is-active {
	display: flex;
}

.iltizam-photo-lightbox img {
	max-width: min(92vw, 1080px);
	max-height: 86vh;
	border-radius: 12px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
	object-fit: contain;
}

.iltizam-lightbox-close {
	position: absolute;
	top: 20px;
	right: 24px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	color: #ffffff;
	border: none;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.iltizam-lightbox-close:hover {
	background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 640px) {
	.iltizam-updates-toolbar {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		flex-wrap: wrap;
		gap: 10px;
		padding: 10px 14px;
	}
	.iltizam-updates-sort-control {
		display: flex;
		justify-content: flex-end;
	}
	.iltizam-sort-select-wrapper {
		padding: 5px 10px 5px 8px;
	}
	.iltizam-sort-toggle {
		flex: 1;
		display: flex;
	}
	.iltizam-sort-btn {
		flex: 1;
		justify-content: center;
		padding: 6px 8px;
		font-size: 12px;
	}
	.iltizam-campaign-updates-list.iltizam-updates-style-1 {
		padding-left: 26px;
		margin-left: 2px;
		width: calc(100% - 2px);
	}
	.iltizam-timeline-track {
		left: 8.5px;
	}
	.iltizam-updates-style-1 .iltizam-timeline-dot {
		left: -24px;
	}
	.iltizam-update-photos-grid.iltizam-photos-cols-2,
	.iltizam-update-photos-grid.iltizam-photos-cols-3 {
		grid-template-columns: 1fr 1fr;
	}
	.iltizam-photos-cols-2 .iltizam-update-photo-item img,
	.iltizam-photos-cols-3 .iltizam-update-photo-item img {
		height: 125px;
	}
}

.iltizam-campaign-updates-empty {
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 14px;
	padding: 24px;
	text-align: center;
	color: #64748b;
	font-size: 13px;
	width: 100%;
}

.iltizam-campaign-updates-empty p {
	margin: 0;
}

/* ==========================================================================
   Campaign Story Typography (.iltizam-story-body)
   Matches elementor-671 narrative typography
   ========================================================================== */
.iltizam-story-body {
	font-size: 15px;
	line-height: 1.75;
	color: #334155;
	width: 100%;
}

.iltizam-story-body h2 {
	font-size: 22px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 16px 0;
	line-height: 1.35;
}

.iltizam-story-body h3 {
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
	margin: 24px 0 12px 0;
}

.iltizam-story-body p {
	margin: 0 0 16px 0;
}

.iltizam-story-body p:last-child {
	margin-bottom: 0;
}

.iltizam-story-body img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

/* Standard List Cleanup */
.iltizam-story-body ul {
	margin: 16px 0 20px 0;
	padding-left: 20px;
}

.iltizam-story-body ul li {
	margin-bottom: 8px;
	color: #475569;
}

.iltizam-story-body ul li:empty {
	display: none !important;
}

/* ==========================================================================
   Story Aid Cards Grid (.iltizam-story-grid)
   Automatically activated when aid items with emojis/titles are detected
   ========================================================================== */
.iltizam-story-body ul.iltizam-story-grid,
.iltizam-story-body ul:has(.iltizam-story-card),
.iltizam-story-grid {
	list-style: none !important;
	padding: 0 !important;
	margin: 20px 0 28px 0 !important;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

@media (max-width: 640px) {
	.iltizam-story-body ul.iltizam-story-grid,
	.iltizam-story-body ul:has(.iltizam-story-card),
	.iltizam-story-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
}

.iltizam-story-body ul li.iltizam-story-card,
.iltizam-story-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 16px 18px;
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
	list-style: none !important;
}

.iltizam-story-body ul li.iltizam-story-card:hover,
.iltizam-story-card:hover {
	transform: translateY(-2px);
	border-color: #24a599;
	background: #ffffff;
	box-shadow: 0 6px 18px rgba(36, 165, 153, 0.12);
}

.iltizam-story-card-head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
}

.iltizam-story-card-head strong {
	color: #0f172a;
	font-weight: 700;
}

.iltizam-story-card-icon {
	font-size: 19px;
	line-height: 1;
	flex-shrink: 0;
}

.iltizam-story-card-desc {
	font-size: 13.5px;
	line-height: 1.55;
	color: #64748b;
	margin: 0;
}

/* ==========================================================================
   Story Callout Box (.iltizam-story-callout)
   "Your Donation Can Make a Difference"
   ========================================================================== */
.iltizam-story-callout {
	background: #f1fbf9;
	border: 1px solid #ace7d1;
	border-left: 4px solid #24a599;
	border-radius: 14px;
	padding: 22px 24px;
	margin: 28px 0;
	box-shadow: 0 4px 16px rgba(36, 165, 153, 0.08);
}

.iltizam-story-callout h2,
.iltizam-story-callout h3 {
	color: #0f172a !important;
	font-size: 19px !important;
	font-weight: 800 !important;
	margin: 0 0 12px 0 !important;
	display: flex;
	align-items: center;
	gap: 8px;
}

.iltizam-story-callout h2::before,
.iltizam-story-callout h3::before {
	content: "✨";
	font-size: 18px;
	line-height: 1;
}

.iltizam-story-callout p {
	font-size: 14.5px;
	line-height: 1.7;
	color: #334155;
	margin-bottom: 12px;
}

.iltizam-story-callout p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   Story CTA Banner (.iltizam-story-cta-banner)
   "Give Today. Help Someone Tomorrow."
   ========================================================================== */
.iltizam-story-cta-banner {
	background: linear-gradient(135deg, #10403e 0%, #175e5b 100%);
	border-radius: 16px;
	padding: 26px 28px;
	margin: 30px 0 16px 0;
	color: #ffffff;
	box-shadow: 0 8px 24px rgba(16, 64, 62, 0.18);
	position: relative;
	overflow: hidden;
}

.iltizam-story-cta-banner::after {
	content: "";
	position: absolute;
	right: -30px;
	bottom: -40px;
	width: 140px;
	height: 140px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
	pointer-events: none;
}

.iltizam-story-cta-banner h2,
.iltizam-story-cta-banner h3 {
	color: #ffffff !important;
	font-size: 20px !important;
	font-weight: 800 !important;
	margin: 0 0 10px 0 !important;
	display: flex;
	align-items: center;
	gap: 8px;
}

.iltizam-story-cta-banner h2::before,
.iltizam-story-cta-banner h3::before {
	content: "🤲";
	font-size: 19px;
	line-height: 1;
}

.iltizam-story-cta-banner p {
	font-size: 14.5px;
	line-height: 1.65;
	color: #e2e8f0;
	margin-bottom: 12px;
}

.iltizam-story-cta-banner p:last-child {
	margin-bottom: 0;
}

.iltizam-story-cta-banner strong {
	color: #5eead4;
	font-weight: 700;
}

/* ==========================================================================
   ENHANCED CAMPAIGN STORY & CRISIS APPEAL COMPONENTS (Gaza & Crisis Appeals)
   Pure CSS class-based components - immune to WordPress wp_kses and wpautop
   ========================================================================== */

.iltizam-gaza-campaign {
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: #1e293b;
	line-height: 1.7;
	font-size: 16px;
	margin: 0 0 32px 0;
}

.iltizam-gaza-campaign p {
	font-size: 16px;
	line-height: 1.75;
	color: #334155;
	margin: 0 0 16px 0;
}

.iltizam-gaza-campaign h2,
.iltizam-gaza-campaign h3,
.iltizam-gaza-campaign h4 {
	font-family: 'Plus Jakarta Sans', sans-serif;
	color: #0f172a;
	font-weight: 800;
	letter-spacing: -0.3px;
	margin: 0 0 14px 0;
}

.iltizam-gaza-campaign h3 {
	font-size: 22px;
	line-height: 1.3;
}

.iltizam-gaza-campaign h4 {
	font-size: 18px;
	line-height: 1.4;
	margin-bottom: 8px;
}

/* Red Critical Emergency Alert Top Banner */
.igc-alert-banner {
	background: linear-gradient(135deg, #fef2f2 0%, #fff5f5 100%);
	border-left: 5px solid #dc2626;
	border-radius: 14px;
	padding: 18px 22px;
	margin-bottom: 28px;
	box-shadow: 0 4px 15px rgba(220, 38, 38, 0.05);
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.igc-alert-icon {
	background: #dc2626;
	color: #ffffff;
	border-radius: 50%;
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 18px;
	flex-shrink: 0;
	margin-top: 2px;
}

.igc-alert-content {
	flex: 1;
}

.igc-alert-title {
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: #dc2626;
	margin-bottom: 4px;
}

.igc-alert-desc {
	font-size: 15px;
	font-weight: 600;
	color: #991b1b;
	line-height: 1.45;
}

/* Impact Stats 4-Grid */
.igc-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 14px;
	margin-bottom: 32px;
}

.igc-stat-box {
	background: #f0fdf9;
	border: 1.5px solid #a7f3d0;
	border-radius: 14px;
	padding: 16px 14px;
	text-align: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.igc-stat-box:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(13, 148, 136, 0.1);
}

.igc-stat-val {
	font-size: 26px;
	font-weight: 800;
	color: #0d9488;
	line-height: 1.1;
}

.igc-stat-lbl {
	font-size: 11.5px;
	font-weight: 700;
	color: #0f766e;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-top: 5px;
}

/* Intro Paragraph */
.igc-intro-lead {
	font-size: 17px;
	line-height: 1.75;
	color: #334155;
	margin-bottom: 28px;
}

/* Section Header Badge */
.igc-section-header {
	margin-top: 36px;
	margin-bottom: 22px;
}

.igc-section-badge {
	background: #fee2e2;
	color: #dc2626;
	font-size: 12px;
	font-weight: 800;
	padding: 5px 14px;
	border-radius: 20px;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	display: inline-block;
	margin-bottom: 8px;
}

.igc-section-badge.teal {
	background: #ccfbf1;
	color: #0f766e;
}

.igc-section-badge.blue {
	background: #dbeafe;
	color: #1d4ed8;
}

/* Appeal Card Components */
.igc-card {
	background: #ffffff;
	border: 1.5px solid #e2e8f0;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
	margin-bottom: 26px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.igc-card:hover {
	border-color: #cbd5e1;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
}

.igc-card-header {
	padding: 16px 22px;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
	display: flex;
	align-items: center;
	gap: 12px;
}

.igc-card-header .igc-icon {
	font-size: 22px;
	line-height: 1;
}

.igc-card-title {
	font-size: 17px;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
}

.igc-card-body {
	padding: 22px;
}

.igc-card-desc {
	color: #475569;
	margin-bottom: 16px;
	font-size: 15px;
	line-height: 1.65;
}

.igc-card-action-box {
	background: #f8fafc;
	border-left: 4px solid #24a599;
	padding: 14px 18px;
	border-radius: 0 8px 8px 0;
	font-size: 14.5px;
	color: #1e293b;
	line-height: 1.6;
	margin-bottom: 18px;
}

.igc-card-action-box strong {
	color: #0f766e;
}

/* Image Grids */
.igc-card-img-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	border-radius: 12px;
	overflow: hidden;
}

.igc-card-img-grid.single {
	grid-template-columns: 1fr;
}

.igc-card-img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
	border-radius: 10px;
	background: #e2e8f0;
	transition: transform 0.3s ease;
}

.igc-card-img:hover {
	transform: scale(1.02);
}

/* Spiritual / Hadith Quote Banner */
.igc-quote-banner {
	background: linear-gradient(135deg, #042f2e 0%, #115e59 100%);
	color: #ffffff;
	border-radius: 16px;
	padding: 28px 24px;
	margin: 36px 0;
	box-shadow: 0 8px 24px rgba(4, 47, 46, 0.2);
	position: relative;
	overflow: hidden;
}

.igc-quote-text {
	font-size: 17px;
	font-style: italic;
	line-height: 1.65;
	margin-bottom: 12px;
	color: #ccfbf1;
}

.igc-quote-cite {
	font-size: 13.5px;
	font-weight: 700;
	color: #5eead4;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Phase Timeline Component */
.igc-phases-wrap {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 24px 0 32px;
}

.igc-phase-card {
	background: #ffffff;
	border: 1.5px solid #e2e8f0;
	border-radius: 14px;
	padding: 18px 20px;
	transition: all 0.2s ease;
}

.igc-phase-card.is-active {
	border-color: #24a599;
	background: #f0fdfa;
	box-shadow: 0 4px 14px rgba(36, 165, 153, 0.1);
}

.igc-phase-card.is-urgent {
	border-color: #f87171;
	background: #fef2f2;
	box-shadow: 0 4px 14px rgba(220, 38, 38, 0.08);
}

.igc-phase-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 10px;
}

.igc-phase-title {
	font-size: 16px;
	font-weight: 800;
	color: #0f172a;
	margin: 0;
}

.igc-phase-pill {
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 4px 10px;
	border-radius: 20px;
	white-space: nowrap;
}

.igc-phase-pill.completed {
	background: #d1fae5;
	color: #065f46;
}

.igc-phase-pill.in-progress {
	background: #ccfbf1;
	color: #0f766e;
}

.igc-phase-pill.urgent {
	background: #fee2e2;
	color: #991b1b;
}

.igc-phase-desc {
	font-size: 14px;
	color: #475569;
	line-height: 1.6;
	margin: 0;
}

/* Call to Action Footer Box */
.igc-story-cta {
	background: linear-gradient(135deg, #10403e 0%, #1e8c81 100%);
	color: #ffffff;
	border-radius: 16px;
	padding: 26px 24px;
	margin-top: 36px;
	box-shadow: 0 8px 24px rgba(16, 64, 62, 0.18);
	text-align: center;
}

.igc-story-cta h3 {
	color: #ffffff !important;
	font-size: 22px;
	margin-bottom: 10px;
}

.igc-story-cta p {
	color: #ccfbf1 !important;
	font-size: 15px;
	line-height: 1.65;
	margin-bottom: 0;
}

@media (max-width: 768px) {
	.igc-alert-banner {
		padding: 14px 16px;
		flex-direction: column;
		gap: 10px;
	}
	.igc-stats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	.igc-card-img-grid {
		grid-template-columns: 1fr;
	}
	.igc-card-img {
		height: 180px;
	}
	.igc-phase-top {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}
}


/* ==========================================================================
   Story Custom Layout (.iltizam-story-wrap)
   Pure CSS class-based components - immune to WordPress wp_kses stripping
   ========================================================================== */
.iltizam-story-wrap {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #334155;
	line-height: 1.75;
	font-size: 15.5px;
}

/* 1. Hero Header Card */
.iltizam-story-wrap > div:first-child,
.iltizam-story-hero-card {
	background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%) !important;
	border-left: 4px solid #f59e0b !important;
	padding: 20px 24px !important;
	border-radius: 14px !important;
	margin-bottom: 28px !important;
}
.iltizam-story-wrap > div:first-child > div:first-child,
.iltizam-story-hero-card > div:first-child {
	font-size: 11px !important;
	font-weight: 800 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.08em !important;
	color: #b45309 !important;
	margin-bottom: 4px !important;
}
.iltizam-story-wrap > div:first-child h2,
.iltizam-story-hero-card h2 {
	font-size: 23px !important;
	font-weight: 800 !important;
	color: #78350f !important;
	margin: 0 0 10px 0 !important;
	line-height: 1.3 !important;
}

/* 2. Crisis & Solution Sections */
.iltizam-story-wrap > div:nth-child(2),
.iltizam-story-crisis {
	margin-bottom: 28px !important;
}
.iltizam-story-wrap > div:nth-child(3),
.iltizam-story-solution-box {
	background: #f8fafc !important;
	border: 1.5px solid #e2e8f0 !important;
	border-radius: 16px !important;
	padding: 22px 24px !important;
	margin-bottom: 28px !important;
}
.iltizam-story-wrap > div:nth-child(3) h3,
.iltizam-story-solution-box h3 {
	color: #065f46 !important;
	font-size: 19px !important;
	font-weight: 800 !important;
	margin: 0 0 12px 0 !important;
}

/* 3. Stat Grid (4-box metrics) */
.iltizam-story-wrap > div:nth-child(4) {
	margin-bottom: 28px !important;
}
.iltizam-story-wrap > div:nth-child(4) > div,
.iltizam-story-stat-grid {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 14px !important;
	margin: 16px 0 28px 0 !important;
}
@media (max-width: 768px) {
	.iltizam-story-wrap > div:nth-child(4) > div,
	.iltizam-story-stat-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 10px !important;
	}
}
@media (max-width: 480px) {
	.iltizam-story-wrap > div:nth-child(4) > div,
	.iltizam-story-stat-grid {
		grid-template-columns: 1fr !important;
	}
}
.iltizam-story-wrap > div:nth-child(4) > div > div,
.iltizam-story-stat-grid > div,
.iltizam-story-stat-item {
	background: #ffffff !important;
	border: 1.5px solid #cbd5e1 !important;
	border-radius: 14px !important;
	padding: 16px 12px !important;
	text-align: center !important;
	box-shadow: 0 1px 3px rgba(0,0,0,0.03) !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
}
.iltizam-story-wrap > div:nth-child(4) > div > div > div:nth-child(1),
.iltizam-story-stat-grid > div > div:nth-child(1),
.iltizam-story-stat-num {
	font-size: 26px !important;
	font-weight: 800 !important;
	color: #059669 !important;
	font-family: monospace !important;
	line-height: 1.1 !important;
}
.iltizam-story-wrap > div:nth-child(4) > div > div:nth-child(2) > div:nth-child(1),
.iltizam-story-stat-grid > div:nth-child(2) > div:nth-child(1) {
	color: #0284c7 !important;
}
.iltizam-story-wrap > div:nth-child(4) > div > div:nth-child(3) > div:nth-child(1),
.iltizam-story-stat-grid > div:nth-child(3) > div:nth-child(1) {
	color: #ea580c !important;
}
.iltizam-story-wrap > div:nth-child(4) > div > div:nth-child(4) > div:nth-child(1),
.iltizam-story-stat-grid > div:nth-child(4) > div:nth-child(1) {
	color: #7c3aed !important;
}
.iltizam-story-wrap > div:nth-child(4) > div > div > div:nth-child(2),
.iltizam-story-stat-grid > div > div:nth-child(2),
.iltizam-story-stat-label {
	font-size: 12.5px !important;
	font-weight: 700 !important;
	color: #334155 !important;
	margin-top: 4px !important;
}
.iltizam-story-wrap > div:nth-child(4) > div > div > div:nth-child(3),
.iltizam-story-stat-grid > div > div:nth-child(3),
.iltizam-story-stat-sub {
	font-size: 11px !important;
	color: #64748b !important;
	margin-top: 2px !important;
}

/* 4. Section 4: Giving Tiers Card */
.iltizam-story-wrap > div:nth-child(5),
.iltizam-story-tiers-card {
	background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%) !important;
	border: 1.5px solid #a7f3d0 !important;
	border-radius: 16px !important;
	padding: 24px !important;
	margin-bottom: 24px !important;
}
.iltizam-story-wrap > div:nth-child(5) h3,
.iltizam-story-tiers-card h3 {
	font-size: 19px !important;
	font-weight: 800 !important;
	color: #065f46 !important;
	margin: 0 0 8px 0 !important;
}
.iltizam-story-wrap > div:nth-child(5) > div,
.iltizam-story-tiers-card > div,
.iltizam-story-tiers-list {
	display: flex !important;
	flex-direction: column !important;
	gap: 10px !important;
	margin-top: 14px !important;
}
.iltizam-story-wrap > div:nth-child(5) > div > div,
.iltizam-story-tiers-card > div > div,
.iltizam-story-tier-row {
	background: #ffffff !important;
	border-radius: 10px !important;
	padding: 12px 16px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
}
.iltizam-story-wrap > div:nth-child(5) > div > div:last-child,
.iltizam-story-tiers-card > div > div:last-child,
.iltizam-story-tier-row.is-featured {
	border: 2px solid #059669 !important;
	box-shadow: 0 3px 8px rgba(5,150,105,0.12) !important;
}
