/* Spiritual Way Support — widget styles.
 * Defaults only: every value here can be overridden from Elementor's Style tab.
 */

.sw-support {
	box-sizing: border-box;
	padding: clamp(1.25rem, 4vw, 2.5rem);
	background-color: #f3f4f8;
	color: #1f2436;
	border-radius: 12px;
	text-align: center;
	overflow-wrap: break-word;
}

.sw-support *,
.sw-support *::before,
.sw-support *::after {
	box-sizing: inherit;
}

.sw-support .sw-support__heading {
	margin: 0 0 0.75em;
	color: #1f2436;
	font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
	line-height: 1.25;
}

.sw-support .sw-support__description,
.sw-support .sw-support__additional {
	margin: 0 0 1.25em;
	font-size: 1rem;
	line-height: 1.65;
}

.sw-support .sw-support__description p,
.sw-support .sw-support__additional p {
	margin: 0 0 0.75em;
}

.sw-support .sw-support__description p:last-child,
.sw-support .sw-support__additional p:last-child {
	margin-bottom: 0;
}

.sw-support .sw-support__action {
	margin: 0;
}

.sw-support .sw-support__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	max-width: 100%;
	min-height: 44px; /* comfortable touch target */
	padding: 0.85em 1.75em;
	border: 0 solid transparent;
	border-radius: 999px;
	background-color: #2e3a6b;
	color: #ffffff;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sw-support .sw-support__button:hover,
.sw-support .sw-support__button:focus-visible {
	background-color: #1e2749;
	color: #ffffff;
	text-decoration: none;
}

.sw-support .sw-support__button:focus {
	outline: none;
}

.sw-support .sw-support__button:focus-visible {
	outline: 3px solid #2e3a6b;
	outline-offset: 3px;
}

.sw-support .sw-support__icon {
	display: inline-flex;
	align-items: center;
	line-height: 1;
	flex-shrink: 0;
}

.sw-support .sw-support__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.sw-support .sw-support__button--placeholder {
	cursor: default;
	opacity: 0.6;
}

.sw-support .sw-support__editor-note {
	margin: 0.75em 0 0;
	font-size: 0.875rem;
	font-style: italic;
}

.sw-support .sw-support__disclaimer {
	margin: 1.25em 0 0;
	color: #4f5568;
	font-size: 0.875rem;
	line-height: 1.5;
}

.sw-support .sw-support__sr-only,
.sw-support-compact .sw-support__sr-only,
.sw-support-link .sw-support__sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* ------------------------------------------------------------------
 * Spiritual Way Support – Homepage (compact panel)
 * Brand defaults: Paper #FAF6F1, Ink #423244, Gold #D9A664.
 * Fonts are inherited from the site so headings match the rest of the page.
 * ------------------------------------------------------------------ */

.sw-support-compact {
	box-sizing: border-box;
	padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1.25rem, 4vw, 2rem);
	background-color: #faf6f1;
	color: #423244;
	border: 1px solid rgba(217, 166, 100, 0.45);
	border-radius: 14px;
	text-align: center;
	overflow-wrap: break-word;
}

.sw-support-compact *,
.sw-support-compact *::before,
.sw-support-compact *::after {
	box-sizing: inherit;
}

.sw-support-compact .sw-support-compact__inner {
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
}

.sw-support-compact .sw-support-compact__heading {
	margin: 0 0 0.6em;
	color: #423244;
	font-size: clamp(1.3rem, 1.15rem + 0.7vw, 1.65rem);
	font-weight: 500;
	line-height: 1.3;
}

.sw-support-compact .sw-support-compact__text {
	margin: 0 0 1.4em;
	font-size: 1rem;
	line-height: 1.65;
}

.sw-support-compact .sw-support-compact__text p {
	margin: 0 0 0.75em;
}

.sw-support-compact .sw-support-compact__text p:last-child {
	margin-bottom: 0;
}

.sw-support-compact .sw-support-compact__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	min-height: 44px; /* comfortable touch target */
	padding: 0.65em 1.6em;
	border: 1px solid #423244;
	border-radius: 999px;
	background-color: transparent;
	color: #423244;
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sw-support-compact .sw-support-compact__button:hover,
.sw-support-compact .sw-support-compact__button:focus-visible {
	background-color: #423244;
	border-color: #423244;
	color: #faf6f1;
	text-decoration: none;
}

.sw-support-compact .sw-support-compact__button:focus {
	outline: none;
}

.sw-support-compact .sw-support-compact__button:focus-visible {
	outline: 2px solid #423244;
	outline-offset: 3px;
}

.sw-support-compact .sw-support-compact__button--placeholder {
	cursor: default;
	opacity: 0.6;
}

/* ------------------------------------------------------------------
 * Spiritual Way Support – Footer (links row)
 * Inherits the footer's font and colour unless set in Elementor.
 * Arrangement is switched per device with CSS variables set by Elementor.
 * ------------------------------------------------------------------ */

.sw-support-link {
	display: flex;
	flex-direction: var(--sw-links-direction, row);
	flex-wrap: nowrap; /* never break the row mid-way, which leaves a separator dangling */
	justify-content: center;
	align-items: center;
	gap: 0.4em 0;
	text-align: center;
	line-height: inherit;
}

.sw-support-link .sw-support-link__anchor {
	white-space: nowrap;
	color: inherit;
	font: inherit;
	text-decoration: none;
	text-underline-offset: 0.2em;
	transition: color 0.2s ease;
}

.sw-support-link--underline-yes .sw-support-link a.sw-support-link__anchor:hover,
.sw-support-link--underline-yes .sw-support-link a.sw-support-link__anchor:focus-visible {
	text-decoration: underline;
}

.sw-support-link .sw-support-link__anchor:focus {
	outline: none;
}

.sw-support-link .sw-support-link__anchor:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
	border-radius: 2px;
}

.sw-support-link .sw-support-link__sep {
	display: var(--sw-links-sep-display, inline-block);
	margin-left: 0.6em;
	margin-right: 0.6em;
	color: inherit;
}

/* Editor only: links that still need a page/URL. */
.sw-support-link .sw-support-link__anchor--missing {
	opacity: 0.55;
	text-decoration: underline dashed;
	cursor: help;
}

/* Editor-only notes for the Homepage and Footer widgets. */
.sw-support-compact .sw-support-editor-note {
	margin: 0.75em 0 0;
	font-size: 0.875rem;
	font-style: italic;
	opacity: 0.8;
}

@media (prefers-reduced-motion: reduce) {
	.sw-support .sw-support__button,
	.sw-support-compact .sw-support-compact__button,
	.sw-support-link .sw-support-link__anchor {
		transition: none;
	}
}
