@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Merriweather:wght@700;900&display=swap");

:root {
	--svg-primary: #6b3cc8;
	--svg-primary-dark: #4f2ca2;
	--svg-accent: #6b3cc8;
	--svg-bg: #faf2e9;
	--svg-card-bg: #fff9f2;
	--svg-card-border: #eadfce;
	--svg-text: #2a2730;
	--svg-muted: #6a6572;
	--svg-soft: #f6eee2;
	--svg-font-base: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--svg-font-display: "Merriweather", Georgia, "Times New Roman", serif;
}

.svg-campaign-page,
.svg-campaign-page * {
	font-family: var(--svg-font-base);
}

body.single-product .site-content > .ast-container,
body.single-product .ast-container {
	max-width: 100% !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.single-product #secondary,
body.single-product .widget-area,
body.single-product aside.sidebar-main {
	display: none !important;
}

body.single-product .ast-right-sidebar #primary,
body.single-product .ast-left-sidebar #primary,
body.single-product #primary,
body.single-product .content-area {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 100% !important;
	float: none !important;
	margin: 0 auto !important;
}

body.single-product .site-content .ast-container {
	display: block !important;
}

body.single-product .site-content,
body.single-product .ast-single-post .entry-content,
body.single-product .ast-woocommerce-container {
	background: transparent !important;
}

.svg-campaign-page {
	padding: 17px 56px 56px;
    background: #FAF1E9;
}

.svg-campaign-shell {
	max-width: 1160px;
	width: 100%;
	margin: 0 auto;
}

.svg-campaign-shell > section {
	/* Consistent vertical gap between sections */
	margin-bottom: 32px;
}

.svg-campaign-shell > section:last-child {
	margin-bottom: 0;
}

.svg-hero-full {
	margin-bottom: 24px;
	position: relative;
	overflow: hidden;
	/* Remove gradient: let blurred background image show alone */
	background: transparent;
}

/* Same lavender/blue overlay + opacity as Support Education section */
.svg-hero-full::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
	linear-gradient(135deg, rgba(246, 235, 232, 0.78) 0%, rgba(246, 235, 232, 0.78) 100%),
		var(--svg-hero-bg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0.9;
	z-index: 0;
}

.svg-hero-full > * {
	position: relative;
	z-index: 1;
}

.svg-hero-full.svg-main-card {
	background-color: #faf2e9;
	border: 1px solid var(--svg-card-border);
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
	border-radius: 6px;
	padding: 48px 32px 32px;
	min-height: 300px;
	display: flex;
	align-items: center;
}

.svg-hero-inner {
	/* max-width: 960px; */
	width: 100%;
}

.svg-main-card,
.svg-donate-card,
.svg-story-card,
.svg-meta-card,
.svg-tabs-card {
	background-color: var(--svg-card-bg);
	border: 1px solid var(--svg-card-border);
	border-radius: 6px;
	/* Slightly roomier, consistent inner padding for all cards */
	padding: 32px 32px 36px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

.svg-image-section {
	background-size: cover;
	background-position: center;
}

.svg-kicker {
	margin: 0 0 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 14px;
	border-radius: 6px;
	background: #E0D7F4;
	border: 0;
	color: #272525;
	font-weight: 400;
	font-size: 14px;
	/* letter-spacing: 0.05em; */
	text-transform: uppercase;
}

.svg-title {
	margin: 0 0 40px;
	font-family: "Poppins", Sans-serif;
    font-size: 45px;
    font-weight: 600;
	/* letter-spacing: -0.02em; */
	/* background: linear-gradient(90deg, #5f34c7 0%, #e74a8a 25%, #f08a5b 100%); */
	background: linear-gradient(90deg, #5B21B6 0%, #7C3AED 0%, #EC4899 40%, #FB923C 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.svg-subtitle {
	margin: 0 0 16px;
	font-size: 16px;
	/* font-weight: 500; */
	color: #111111;
	line-height: 1.5;
	font-family: "Poppins", Sans-serif;
}

.svg-meta-inline {
	margin: -4px 0 18px;
	font-size: 14px;
	color: #475569;
	display: none;
}

.svg-academic-year-pill {
	/* display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 14px;
	border-radius: 6px;
	background: #E0D7F4;
	border: 0;
	color: #272525;
	font-weight: 400;
	font-size: 14px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	margin-bottom: 20px; */
	margin: 0 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 6px;
    background: #E0D7F4;
    border: 0;
    color: #272525;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
}

.svg-academic-year-pill .svg-academic-year-value {
	font-weight: 400;
	color: #272525;
}

.svg-gallery-wrap .woocommerce-product-gallery {
	margin-bottom: 0;
	opacity: 0;
	height: 0;
	overflow: hidden;
}

.svg-hero-full {
	position: relative;
}

.svg-hero-background-note {
	margin-top: 18px;
	padding: 16px 18px;
	border-radius: 10px;
	background: #D0C3EE;
}

.svg-hero-background-note p {
	margin: 0;
	color: #111111;
	font-size: 15px;
	line-height: 1.6;
	/* font-weight: 500; */
	font-family: "Poppins", Sans-serif;
}

html {
	scroll-behavior: smooth;
}

.svg-hero-share-wrap {
	margin: 18px 0 0;
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.svg-donate-hero-btn {
	display: inline-flex;
	align-items: center;
	padding: 11px 22px;
	border-radius: 8px;
	border: 2px solid #6b3cc8;
	background: #6b3cc8;
	color: #ffffff;
	font-weight: 600;
	text-decoration: none;
	line-height: 24px;
	transition: background 0.18s, color 0.18s;
}

.svg-donate-hero-btn:hover {
	background: #4f2ca2;
	border-color: #4f2ca2;
	color: #ffffff;
}

.svg-share-btn {
	border: 2px solid #6b3cc8;
	background: transparent;
	color: #6b3cc8;
}

.svg-donate-card {
	position: static;
	background-color: var(--svg-card-bg);
}

.svg-progress-card {
	background: linear-gradient(135deg, #fff6ec 0%, #f4e8ff 100%);
}

.svg-row-section {
	margin-bottom: 26px;
}

/* Increase vertical height for main sections (except Approved Education Cost and Updates) */
.svg-progress-section,
.svg-documents-section,
.svg-support-education-section,
.svg-supporters-section {
	padding-top: 56px;
	padding-bottom: 56px;
}

.svg-card-title {
	margin: 0 0 12px;
	font-family: var(--svg-font-display);
	font-size: clamp(34px, 2.9vw, 42px);
	line-height: 1.15;
	background: linear-gradient(90deg, #5B21B6 0%, #7C3AED 0%, #EC4899 30%, #FB923C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* .svg-progress-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 14px;
} */

.svg-progress-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 14px;
	align-items: center;
}

/* Foundation Support Progress: center amount + label in each block */
.svg-progress-section .svg-progress-row {
	justify-items: center;
}

.svg-progress-section .svg-progress-row > div {
	text-align: center;
}

.svg-progress-section .svg-card-title,
.svg-progress-section .svg-note {
	text-align: left;
}

.svg-amount {
	margin: 0;
    font-family: "Poppins", Sans-serif;
    font-size: 40px;
    font-weight: 500;
    color: #111111;
}

.svg-label {
	/* margin: 4px 0 0; */
	font-family: "Poppins", Sans-serif;
	font-size: 16px;
	font-family: "Poppins", Sans-serif;
    font-weight: 500;
	color: #111111;
}

.svg-progress-bar-row {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 10px 0 18px;
}

.svg-progress-wrap {
	flex: 1;
	height: 20px;
	background: #cbc2e5;
	border-radius: 999px;
	overflow: hidden;
}

.svg-progress-bar {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, #6b3cc8 0%, #7f4fda 100%);
	border-radius: 999px;
}

.svg-percent {
	margin: 0;
	font-size: 22px;
	color: #2a2238;
	font-weight: 600;
	white-space: nowrap;
	flex-shrink: 0;
}

.svg-goal-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	padding-top: 10px;
	border-top: 1px solid #e7dece;
	margin-bottom: 14px;
}

.svg-goal-value {
	margin: 0;
	color: #111111;
    font-family: "Poppins", Sans-serif;
    font-size: 40px;
    font-weight: 500;
}

.svg-goal-label {
	margin: 4px 0 0;
	font-size: 12px;
	color: #6e6876;
}

.svg-note {
	/* margin: 0 0 14px; */
	font-size: 16px;
	font-family: "Poppins", Sans-serif;
	/* color: var(--svg-muted); */
	/* line-height: 1.5; */
	/* margin-top: 35px; */
}

/* Documents footer note: match reference purple strip with better spacing */
.svg-documents-section .svg-note {
	margin-top: 18px;
	margin-bottom: 0;
	padding: 14px 18px;
	border-radius: 10px;
	background: #D0C3EE;
	color: #111111;
	font-size: 15px;
	font-family: "Poppins", Sans-serif;
}

/* Supporters footer note: same purple strip treatment */
.svg-supporters-section .svg-note:last-child {
	margin-top: 18px;
	margin-bottom: 0;
	padding: 14px 18px;
	border-radius: 10px;
	background: #c7b8e8;
	color: #111111;
	/* font-size: 15px; */
	font-family: "Poppins", Sans-serif;
}

.svg-cost-breakup {
	margin-top: 30px;
	padding: 0;
	border: 1px solid #e7dccb;
	border-radius: 10px;
	background: #fbf2e7;
	overflow: hidden;
}

.svg-cost-breakup ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.svg-cost-breakup li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 14px;
	border-bottom: 1px solid #e4d9c8;
	color: #4a4358;
	font-size: 17px;
}

.svg-cost-breakup li:last-child {
	border-bottom: none;
	padding-bottom: 2px;
}

.svg-breakup-total {
	/* border-top: 2px solid #d4c5e8 !important; */
	margin-top: 2px;
	background: #FBF2E7;
}

.svg-breakup-total strong {
	font-size: 17px;
	font-weight: 700;
	color: #111111;
}

/* Regular rows: normal weight. Only .svg-breakup-total uses bold */
.svg-cost-breakup li:not(.svg-breakup-total) span {
	font-weight: 400;
	color: #111111;
	font-family: "Poppins", Sans-serif;
}

.svg-cost-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
	gap: 26px;
	align-items: start;
}

.svg-cost-summary-col .svg-card-title,
.svg-cost-breakup-col .svg-card-title {
	margin-top: 0;
	/* margin-bottom: 8px; */
	font-size: 20px;
	text-align: justify;
}

/* Cost Summary: center amounts, labels, and descriptions */
.svg-cost-summary-col {
	text-align: center;
}

.svg-cost-summary-col .svg-progress-row {
	justify-items: center;
}

.svg-cost-summary-col .svg-progress-row > div,
.svg-cost-summary-col > div:last-of-type {
	text-align: center;
}

.svg-cost-summary-col .svg-goal-value,
.svg-cost-summary-col .svg-label,
.svg-cost-summary-col .svg-note {
	text-align: center;
}

.svg-cost-summary-col .svg-note {
	margin-top: -1.25em;
	margin-bottom: 2.75em
}

.svg-highlight-note {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-top: 18px;
	padding: 16px 20px;
	border-radius: 12px;
	background: #ddd4f5;
}


.svg-highlight-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	/* background: #D0C3EE; */
    width: 100%;
    padding: 15px;
    border-radius: 10px;
}

.svg-highlight-note p {
	margin: 0;
    color: #000000;
    font-size: 15px;
	font-family: "Poppins", Sans-serif;
	/* line-height: 1.5; */
}

.svg-start-link {
	display: inline-block;
	color: #1f1b2d;
	font-weight: 700;
	text-decoration: none;
}

.svg-start-link:hover {
	color: #6b3cc8;
}

.svg-cta-line {
	margin: 0 0 10px;
	font-size: 18px;
	font-weight: 700;
	color: var(--svg-text);
}

.svg-cta-row {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 4px;
}

.svg-cta-row .svg-donate-form {
	margin: 0;
}

.svg-share-btn {
	display: inline-flex;
	align-items: center;
	padding: 11px 22px;
	border-radius: 8px;
	font-weight: 600;
	/* font-size: 15px; */
	text-decoration: none;
	line-height: 24px;
	transition: background 0.18s, color 0.18s;
}

.svg-share-btn:hover {
	background: #6b3cc8;
	color: #ffffff;
}

.svg-share-modal[hidden] {
	display: none !important;
}

.svg-share-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
}

.svg-share-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 17, 17, 0.55);
}

.svg-share-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(860px, 100%);
	background: #fff;
	border-radius: 14px;
	padding: 24px 20px 20px;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.svg-share-modal__close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: #f3ecff;
	color: #5b21b6;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.svg-share-modal__title {
	margin: 0 0 8px;
	font-family: "Poppins", Sans-serif;
	font-size: 24px;
	font-weight: 600;
	color: #111111;
}

.svg-share-modal__subtitle {
	margin: 0 0 16px;
	font-size: 15px;
	color: #4b5563;
}

.svg-share-modal__link-row {
	display: flex;
	align-items: stretch;
	gap: 0;
	margin-bottom: 18px;
}

.svg-share-modal__link-input {
	flex: 1;
	height: 48px;
	border: 1px solid #d9c9ec;
	border-right: 0;
	border-radius: 24px 0 0 24px;
	padding: 0 18px;
	font-size: 16px;
	color: #3a3154;
	background: #fff;
}

.svg-share-modal__copy-btn {
	height: 40px;
	border: 1px solid #6237C8;
	border-radius: 0 24px 24px 0;
	padding: 0 24px;
	background: #6237C8;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}

.svg-share-modal__actions {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.svg-share-platform {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	min-height: 86px;
	padding: 14px 16px;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #111111;
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.15s ease, background 0.15s ease;
}

.svg-share-platform:hover {
	background: #f9f5ff;
	transform: translateY(-1px);
}

.svg-share-platform__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 999px;
	background: #e9ddff;
	color: #4c1d95;
	font-size: 22px;
	font-weight: 700;
	text-transform: uppercase;
}

.svg-share-platform__icon svg {
	width: 20px;
	height: 20px;
	display: block;
}

.svg-share-platform__icon--facebook svg,
.svg-share-platform__icon--whatsapp svg {
	fill: currentColor;
}

.svg-share-platform__icon--instagram svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.85;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.svg-share-modal__hint {
	margin: 14px 0 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: #f9f5ff;
	color: #4c1d95;
	font-size: 14px;
}

@media (max-width: 768px) {
	.svg-share-modal__dialog {
		width: min(520px, 100%);
	}

	.svg-share-modal__actions {
		grid-template-columns: 1fr;
	}

	.svg-share-modal__link-row {
		flex-direction: column;
		gap: 8px;
	}

	.svg-share-modal__link-input {
		border-right: 1px solid #d9c9ec;
		border-radius: 12px;
	}

	.svg-share-modal__copy-btn {
		border-radius: 12px;
	}
}

.svg-pay-note {
	margin: 14px 0 8px;
	/* font-size: 13px; */
	color: #272525;
}

.svg-donate-form .wpneo-single-sidebar {
	margin: 0;
}

/* Form row: flex, each element is independent */
.svg-donate-form .cart.AA {
	display: flex;
	/* align-items: center; */
	/* gap: 10px; */
	flex-wrap: wrap;
	background: none;
	border: none;
}

/* Hide predefined pledge amounts, tooltip, and hidden inputs */
.svg-donate-form .wpcf_predefined_pledge_amount,
.svg-donate-form .wpneo-pledge-amount,
.svg-donate-form .wpneo_donate_amount_field_btn,
.svg-donate-form .wpcf-predefined-pledge-amount,
.svg-donate-form .wpneo-tooltip,
.svg-donate-form input[type="hidden"],
.svg-donate-form .wpneo_donate_amount_field,
.svg-donate-form input[type="number"],
.svg-donate-form input[type="text"] {
	display: none !important;
}

/* ₹ + amount input together as one bordered field */
.svg-amount-group {
	display: flex;
	align-items: center;
	border: 2px solid #c5b3e8;
	border-radius: 10px;
	background: #fff;
	padding: 0 4px 0 14px;
	gap: 2px;
}

.svg-currency {
	font-size: 16px;
	font-weight: 600;
	color: #4a2da8;
	line-height: 1;
	flex-shrink: 0;
}

.svg-amount-group input.wpneo_donate_amount_field,
.svg-amount-group input[type="number"],
.svg-amount-group input[type="text"] {
	display: block !important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	background: transparent;
	padding: 11px 10px;
	font-size: 15px;
	font-weight: 500;
	color: #2a1f4a;
	width: 100px;
	min-width: 70px;
	height: auto;
}

.svg-amount-group input[type="number"]::-webkit-inner-spin-button,
.svg-amount-group input[type="number"]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Donate Now — standalone button */
.svg-donate-form .wpneo_donate_button {
	display: inline-flex;
	align-items: center;
	background: #4a2da8;
	border-radius: 10px;
	padding: 12px 26px;
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	border: none;
	cursor: pointer;
	line-height: 1;
	transition: background 0.18s;
	white-space: nowrap;
}

.svg-donate-form .wpneo_donate_button:hover {
	background: #3a2090;
}

.svg-two-col {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 24px;
	margin-bottom: 24px;
}

.svg-support-grid {
	align-items: start;
}

/* .svg-section-title {
	margin: 0 0 12px;
	font-family: "Poppins", Sans-serif;
	font-size: 45px;
	font-weight: 600;
} */

.svg-story-card.svg-support-education-section {
	position: relative;
	overflow: hidden;
	background: transparent !important;
	/* Make this section truly full-width (100vw) inside centered shell */
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
	border-radius: 0;
	border: 0;
	box-shadow: none;
	/* Taller hero-style banner */
	padding-top: 80px;
	padding-bottom: 80px;
}

/* Full-bleed (100vw) background layer for this section */
.svg-story-card.svg-support-education-section::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	/* Soft tint matching reference tone (#f6ebe8) */
	background-color: #f6ebe8;
	background-image:
		/* Lighter wash to match reference (more airy) */
		linear-gradient(135deg, rgba(246, 235, 232, 0.78) 0%, rgba(246, 235, 232, 0.78) 100%),
		var(--svg-support-education-bg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	/* Make image more visible: less blur, slightly bright, near-normal contrast */
	/* filter: blur(3px) brightness(1.14) contrast(0.92) saturate(0.98); */
	opacity: 0.9;
	z-index: 0;
}

.svg-story-card.svg-support-education-section > * {
	position: relative;
	z-index: 1;
	max-width: 1160px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 28px;
	padding-right: 28px;
}

/* Mobile responsiveness closer to the reference (<= 768px) */
@media (max-width: 768px) {
	.svg-campaign-page {
		padding: 16px 16px 32px;
		overflow-x: hidden;
	}

	.svg-campaign-shell {
		max-width: 100%;
	}

	.svg-campaign-shell > section {
		margin-bottom: 22px;
	}

	/* Hero */
	.svg-hero-full.svg-main-card {
		padding: 26px 18px 22px;
		min-height: 220px;
	}

	.svg-hero-inner {
		max-width: 100%;
	}

	/* .svg-kicker {
		font-size: 10px;
		padding: 4px 10px;
	} */

	.svg-title,
	.woocommerce-js h2,
	.svg-progress-section .svg-card-title{
		font-size: 25px;
	}

	/* Mobile: Documents / Updates / Supporters headings */
	.svg-gradient-title,
	.svg-meta-card .svg-section-title,
	.svg-tabs-card .svg-section-title {
		font-size: 25px !important;
	}

	.svg-meta-inline {
		font-size: 13px;
	}

	.svg-hero-background-note {
		padding: 14px 14px;
	}

	/* Cards */
	.svg-main-card,
	.svg-donate-card,
	.svg-story-card,
	.svg-meta-card,
	.svg-tabs-card {
		padding: 18px;
	}

	/* .svg-section-title,
	.svg-card-title {
		font-size: 30px;
	} */

	/* Approved cost / grids stack */
	.svg-progress-row,
	.svg-goal-grid,
	.svg-cost-layout {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	/* Documents */
	.svg-doc-list {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.svg-doc-list a {
		min-height: 78px;
		padding: 16px 16px;
		font-size: 16px;
	}

	/* Support education section: full width but safe padding */
	.svg-story-card.svg-support-education-section {
		padding-top: 44px;
		padding-bottom: 44px;
	}

	.svg-story-card.svg-support-education-section > * {
		max-width: 100%;
		padding-left: 18px;
		padding-right: 18px;
	}

	/* CTA row wraps on small screens */
	.svg-cta-row {
		flex-wrap: wrap;
	}

	/* Amount group takes more space on mobile */
	.svg-amount-group {
		flex: 1;
		min-width: 120px;
	}

	.svg-amount-group input[type="number"],
	.svg-amount-group input.wpneo_donate_amount_field {
		width: 100%;
		min-width: 50px;
	}

	/* Highlight card */
	.svg-highlight-note {
		padding: 14px;
	}

	/* Supporters table: fixed layout, no horizontal overflow */
	.svg-supporter-table {
		display: table;
		width: 100%;
		table-layout: fixed;
	}

	.svg-supporter-table th,
	.svg-supporter-table td {
		padding: 14px 12px;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}

	/* Updates section: single-column timeline on mobile */
	.svg-updates-section .svg-note {
		margin-bottom: 24px;
		padding-right: 0;
		font-family: "Poppins", Sans-serif;
	}

	.svg-updates-section .svg-section-title {
		font-size: clamp(26px, 6vw, 34px);
	}
}

/* Approved Education Cost section background */
.svg-approved-cost-section {
	background-image: linear-gradient(rgba(255, 249, 242, 0.75), rgba(255, 249, 242, 0.95)), var(--svg-approved-cost-bg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* Ensure image backgrounds win over base card color */
.svg-main-card.svg-approved-cost-section,
.svg-donate-card.svg-approved-cost-section {
	background-color: transparent !important;
	background-image: linear-gradient(rgba(255, 249, 242, 0.75), rgba(255, 249, 242, 0.95)), var(--svg-approved-cost-bg) !important;
}

/* Foundation Support, Documents, Updates, Supporters: soft pastel gradient */
.svg-progress-section,
.svg-documents-section,
.svg-updates-section,
.svg-supporters-section {
	/* background: linear-gradient(135deg, #ede8ff 0%, #fce8f5 100%); */
	 background-image: linear-gradient(180deg, #f6dfe8 0%, #faf2e9 100%);
}

.svg-inline-action {
	display: none !important;
	padding: 9px 15px;
	border-radius: 8px;
	background: linear-gradient(90deg, #6b3cc8 0%, #7a4ed1 100%);
	color: #fff;
	font-weight: 700;
	font-size: 15px;
}

.svg-gradient-title {
	background: linear-gradient(90deg, #5B21B6 0%, #7C3AED 0%, #EC4899 40%, #FB923C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
	font-family: "Poppins", Sans-serif;
	font-size: 45px;
	font-weight: 600;
}

.svg-meta-card .svg-section-title,
.svg-tabs-card .svg-section-title {
	background: linear-gradient(90deg, #5B21B6 0%, #7C3AED 0%, #EC4899 40%, #FB923C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
	font-family: "Poppins", Sans-serif;
	font-size: 45px;
	font-weight: 600;
}

.svg-story-content p:last-child {
	margin-bottom: 0;
}

.svg-story-card,
.svg-meta-card,
.svg-tabs-card {
	background: #fff9f2;
}

.svg-meta-card {
	background: linear-gradient(180deg, #fff7ee 0%, #fff2f9 100%);
}

.svg-tabs-card {
	background: linear-gradient(180deg, #f6dfe8 0%, #faf2e9 100%);
}

.svg-updates-section {
	background: linear-gradient(135deg, #fef5e8 0%, #f5dff0 100%) !important;
}

.svg-doc-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 20px;
}

.svg-doc-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 110px;
	padding: 22px 20px;
	background: #fff8ef;
	border: 1px solid #dbcdee;
	border-top: 5px solid #6b3cc8;
	border-radius: 10px;
	color: #111111;
	font-family: "Poppins", Sans-serif;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
}

.svg-doc-list a:hover {
	border-color: #7a4ed1;
	color: var(--svg-primary-dark);
}

.svg-doc-list .svg-doc-eye {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	color: #6b3cc8;
}

.svg-doc-list a:hover .svg-doc-eye {
	color: var(--svg-primary-dark);
}

.svg-updates-section .svg-note {
	margin-bottom: 32px;
}

.svg-updates-list {
	margin: 0;
	padding: 0;
	list-style: none;
	position: relative;
}

.svg-updates-list::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 2px;
	background: #c8bcdf;
	transform: translateX(-50%);
}

.svg-updates-list li {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	/* gap: 52px; */
	padding: 32px 0;
	align-items: start;
}

.svg-updates-list li:first-child {
	/* padding-top: 8px; */
}

/* Dot on the vertical line — vertically centered with content */
.svg-updates-list li::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 44px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #6b3cc8;
	transform: translateX(-50%);
	box-shadow: 0 0 0 3px #ede8ff;
	z-index: 1;
}

/* Horizontal branch line from dot to content */
.svg-updates-list li::after {
	content: "";
	position: absolute;
	top: 50px;
	height: 2px;
	background: #c8bcdf;
	width: 40px;
}

/* Odd: content on LEFT → branch extends leftward from center */
.svg-updates-list li:nth-child(odd)::after {
	right: 50%;
	margin-right: 6px;
}

/* Even: content on RIGHT → branch extends rightward from center */
.svg-updates-list li:nth-child(even)::after {
	left: 50%;
	margin-left: 6px;
}

.svg-updates-list li:nth-child(odd) .svg-update-date,
.svg-updates-list li:nth-child(odd) .svg-update-title,
.svg-updates-list li:nth-child(odd) .svg-update-body {
	grid-column: 1;
	text-align: right;
	padding-right: 56px;
}

.svg-updates-list li:nth-child(even) .svg-update-date,
.svg-updates-list li:nth-child(even) .svg-update-title,
.svg-updates-list li:nth-child(even) .svg-update-body {
	grid-column: 2;
	text-align: left;
	padding-left: 56px;
}

.svg-updates-list li:last-child {
	padding-bottom: 16px;
}

.svg-update-date {
	margin: 0 0 6px;
	font-family: "Poppins", Sans-serif;
	font-size: 16px;
	font-weight: 500;
	color: #111111;
}

.svg-update-title {
	margin: 0 0 6px;
	font-family: "Poppins", Sans-serif;
	font-size: 15px;
	font-weight: 400;
	color: #111111;
}

.svg-update-body p {
	margin: 0;
	color: #4a4458;
	font-size: 16px;
}

.svg-supporter-list {
	margin: 0;
	padding-left: 20px;
}

.svg-supporter-list li {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 14px;
	padding: 8px 0;
	border-bottom: 1px solid #e9dfd2;
}

.svg-supporter-list li:last-child {
	border-bottom: none;
}

.svg-supporter-name {
	color: #2d2541;
}

.svg-supporter-amount {
	color: #5f34c7;
	font-weight: 600;
}

.svg-supporter-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 8px;
	background: #fff8ef;
	border: 1px solid #e5dccf;
	border-radius: 10px;
	overflow: hidden;
}

.svg-supporter-table th,
.svg-supporter-table td {
	padding: 12px 14px;
	text-align: left;
	border-bottom: 1px solid #e9dfd2;
}

.svg-supporter-table thead th {
	background: #f2e8ff;
	font-weight: 700;
	color: #3a3154;
	display: none;
}

.svg-supporter-table tbody tr:last-child td {
	border-bottom: none;
}

/* Hide Amount column in Supporters table */
.svg-supporter-table th:nth-child(2),
.svg-supporter-table td:nth-child(2) {
	display: none;
}

@media (max-width: 1024px) {
	.svg-two-col {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.svg-campaign-page {
		padding: 18px 18px 32px;
	}

	.svg-progress-row,
	.svg-goal-grid {
		grid-template-columns: 1fr;
	}

	.svg-main-card,
	.svg-donate-card,
	.svg-story-card,
	.svg-meta-card,
	.svg-tabs-card {
		padding: 18px;
	}

	.svg-doc-list {
		grid-template-columns: 1fr;
	}

	.svg-doc-list a {
		min-height: 76px;
		font-size: 16px;
	}

	.svg-updates-list::before {
		left: 10px;
		transform: none;
	}

	.svg-updates-list li {
		grid-template-columns: 1fr;
		gap: 0;
		padding: 10px 0 22px 55px;
	}

	.svg-updates-list li::before {
		left: 10px;
		transform: none;
		top: 18px;
	}

	/* On mobile, branch line always goes right from the left-side dot */
	.svg-updates-list li::after {
		left: 16px;
		right: auto;
		margin-left: 6px;
		margin-right: 0;
		top: 24px;
		width: 24px;
	}

	.svg-updates-list li:nth-child(odd)::after,
	.svg-updates-list li:nth-child(even)::after {
		left: 16px;
		right: auto;
		margin-left: 6px;
		margin-right: 0;
	}

	.svg-updates-list li:nth-child(odd) .svg-update-date,
	.svg-updates-list li:nth-child(odd) .svg-update-title,
	.svg-updates-list li:nth-child(odd) .svg-update-body,
	.svg-updates-list li:nth-child(even) .svg-update-date,
	.svg-updates-list li:nth-child(even) .svg-update-title,
	.svg-updates-list li:nth-child(even) .svg-update-body {
		grid-column: 1;
		text-align: left;
		padding: 0;
	}

	.svg-update-date {
		/* font-size: 25px; */
	}

	.svg-update-title,
	.svg-update-body,
	.svg-update-body p {
		font-size: 15px;
	}

	/* Supporters: mobile table fit */
	.svg-supporter-table {
		table-layout: fixed;
	}

	.svg-supporter-table th,
	.svg-supporter-table td {
		padding: 12px 10px;
		font-size: 16px;
		font-family: "Poppins", Sans-serif;
	}

	.svg-supporters-section .svg-note:last-child {
		padding: 12px 14px;
		font-size: 14px;
	}

	.svg-cost-layout {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}
