/*
Theme Name: SocSvit 2026
Theme URI: https://socsvit.org/
Author: NGO Social Universe (ГО «Соціальний всесвіт»)
Author URI: https://socsvit.org/
Description: Custom bilingual (UA/EN) donor-ready WordPress theme for NGO "Social Universe" (ГО «Соціальний всесвіт», EDRPOU 36985389). Built for PHP 7.4+, Polylang, and Gutenberg.
Version: 1.2.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: socsvit-2026
*/

:root {
	--sv-navy: #1B3B8C;
	--sv-blue: #1D4ED8;
	--sv-coral: #FF6B4A;
	--sv-gold: #FFB800;
	--sv-teal: #00A896;
	--sv-ink: #1E293B;
	--sv-muted: #475569;
	--sv-bg: #F8FAFC;
	--sv-white: #FFFFFF;
	--sv-border: #E2E8F0;
	--sv-ribbon: linear-gradient(90deg, #FF6B4A 0% 25%, #FFB800 25% 50%, #1D4ED8 50% 75%, #00A896 75% 100%);
	--sv-font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--sv-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--sv-radius: 12px;
	--sv-radius-lg: 18px;
	--sv-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
	--sv-shadow-md: 0 10px 25px -5px rgba(27, 59, 140, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
	--sv-shadow-lg: 0 20px 40px -12px rgba(27, 59, 140, 0.18);
	--sv-container: 1200px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--sv-font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--sv-ink);
	background-color: var(--sv-bg);
	-webkit-font-smoothing: antialiased;
}

img,
svg {
	max-width: 100%;
	height: auto;
	display: block;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--sv-font-heading);
	color: var(--sv-navy);
	line-height: 1.22;
	margin-top: 0;
	margin-bottom: 0.75rem;
	font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 2vw, 1.375rem); font-weight: 700; }
h4 { font-size: 1.0625rem; font-weight: 700; }

p {
	margin-top: 0;
	margin-bottom: 1rem;
}

a {
	color: var(--sv-blue);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.18s ease;
}

a:hover,
a:focus-visible {
	color: var(--sv-navy);
}

:focus-visible {
	outline: 3px solid var(--sv-gold);
	outline-offset: 2px;
}

.sr-only,
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 9999;
	background: var(--sv-navy);
	color: var(--sv-white);
	padding: 10px 18px;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
}

.skip-link:focus {
	top: 12px;
	color: var(--sv-white);
}

.sv-container {
	width: 100%;
	max-width: var(--sv-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}

.sv-container--narrow {
	max-width: 860px;
}

.sv-ribbon {
	height: 4px;
	width: 100%;
	background: var(--sv-ribbon);
	display: block;
}

/* Header & Navigation */
.sv-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.97);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--sv-border);
	transition: box-shadow 0.2s ease;
}

.sv-header.is-scrolled {
	box-shadow: var(--sv-shadow-md);
}

.sv-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 76px;
}

.sv-logo {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	text-decoration: none;
}

.sv-logo img {
	height: 48px;
	width: auto;
}

.sv-nav {
	display: flex;
	align-items: center;
}

.sv-nav__list {
	display: flex;
	align-items: center;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sv-nav__list a {
	font-family: var(--sv-font-heading);
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--sv-ink);
	text-decoration: none;
	padding: 6px 2px;
	position: relative;
}

.sv-nav__list a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	background: var(--sv-blue);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.2s ease;
}

.sv-nav__list a:hover,
.sv-nav__list a:focus-visible,
.sv-nav__list .current-menu-item > a,
.sv-nav__list .current_page_item > a {
	color: var(--sv-blue);
}

.sv-nav__list a:hover::after,
.sv-nav__list .current-menu-item > a::after,
.sv-nav__list .current_page_item > a::after {
	transform: scaleX(1);
}

.sv-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

/* Language Switcher */
.sv-lang-switcher {
	display: inline-flex;
	align-items: center;
	background: var(--sv-bg);
	border: 1px solid var(--sv-border);
	border-radius: 999px;
	padding: 3px;
	gap: 2px;
}

.sv-lang-switcher__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 10px;
	border-radius: 999px;
	font-family: var(--sv-font-heading);
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none;
	color: var(--sv-muted);
	letter-spacing: 0.03em;
	transition: all 0.18s ease;
}

.sv-lang-switcher__item:hover {
	color: var(--sv-navy);
}

.sv-lang-switcher__item.is-active {
	background: var(--sv-navy);
	color: var(--sv-white);
}

/* Buttons */
.sv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 10px;
	font-family: var(--sv-font-heading);
	font-size: 0.9375rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	border: 2px solid transparent;
	transition: transform 0.16s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
	line-height: 1.25;
}

.sv-btn:hover {
	transform: translateY(-1px);
	box-shadow: var(--sv-shadow-md);
}

.sv-btn--sm {
	padding: 9px 16px;
	font-size: 0.875rem;
}

.sv-btn--primary {
	background: var(--sv-blue);
	color: var(--sv-white);
}

.sv-btn--primary:hover,
.sv-btn--primary:focus-visible {
	background: var(--sv-navy);
	color: var(--sv-white);
}

.sv-btn--coral {
	background: var(--sv-coral);
	color: #0F172A;
}

.sv-btn--coral:hover,
.sv-btn--coral:focus-visible {
	background: #F25A38;
	color: #0F172A;
}

.sv-btn--gold {
	background: var(--sv-gold);
	color: #0F172A;
}

.sv-btn--gold:hover,
.sv-btn--gold:focus-visible {
	background: #E6A600;
	color: #0F172A;
}

.sv-btn--outline-white {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.72);
	color: var(--sv-white);
}

.sv-btn--outline-white:hover,
.sv-btn--outline-white:focus-visible {
	background: rgba(255, 255, 255, 0.14);
	border-color: var(--sv-white);
	color: var(--sv-white);
}

.sv-btn--outline {
	background: transparent;
	border-color: var(--sv-navy);
	color: var(--sv-navy);
}

.sv-btn--outline:hover,
.sv-btn--outline:focus-visible {
	background: var(--sv-navy);
	color: var(--sv-white);
}

/* Mobile Menu Button & Drawer */
.sv-burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	border: 1px solid var(--sv-border);
	background: var(--sv-white);
	color: var(--sv-navy);
	cursor: pointer;
}

.sv-mobile-drawer {
	position: fixed;
	inset: 0;
	z-index: 1200;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.22s ease, visibility 0.22s ease;
}

.sv-mobile-drawer.is-open {
	visibility: visible;
	opacity: 1;
}

.sv-mobile-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
}

.sv-mobile-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	width: min(340px, 88vw);
	height: 100%;
	background: var(--sv-white);
	padding: 20px 24px 32px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform 0.24s ease;
	box-shadow: var(--sv-shadow-lg);
}

.sv-mobile-drawer.is-open .sv-mobile-drawer__panel {
	transform: translateX(0);
}

.sv-mobile-drawer__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--sv-border);
	padding-bottom: 14px;
}

.sv-mobile-drawer__close {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	border: 1px solid var(--sv-border);
	background: var(--sv-bg);
	color: var(--sv-navy);
	font-size: 1.25rem;
	cursor: pointer;
}

.sv-mobile-nav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.sv-mobile-nav a {
	display: block;
	padding: 12px 10px;
	border-radius: 8px;
	font-family: var(--sv-font-heading);
	font-weight: 600;
	color: var(--sv-ink);
	text-decoration: none;
}

.sv-mobile-nav a:hover,
.sv-mobile-nav .current-menu-item > a {
	background: var(--sv-bg);
	color: var(--sv-blue);
}

/* Hero Sections */
.sv-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--sv-navy) 0%, var(--sv-blue) 100%);
	color: var(--sv-white);
	padding: 72px 0 64px;
}

.sv-hero--page {
	padding: 52px 0 48px;
}

.sv-hero__watermark {
	position: absolute;
	right: -60px;
	top: 50%;
	transform: translateY(-50%);
	width: 420px;
	height: 420px;
	opacity: 0.08;
	pointer-events: none;
}

/* Animated Hero Logo Stage */
.sv-hero__logo-stage {
	position: absolute;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
	will-change: transform, opacity;
}

.sv-hero__logo-stage--front {
	width: 368px;
	height: 368px;
	top: 84px;
	right: max(20px, calc((100% - var(--sv-container)) / 2 + 24px));
	opacity: 1;
	pointer-events: auto;
}

.sv-hero__logo-stage--page {
	width: 264px;
	height: 264px;
	top: 0;
	bottom: 0;
	margin: auto 0;
	right: max(20px, calc((100% - var(--sv-container)) / 2 + 24px));
	opacity: 0.2;
}

.sv-hero__logo-halo {
	position: absolute;
	inset: -18%;
	border-radius: 50%;
	pointer-events: none;
	will-change: transform, opacity;
	animation: sv-halo-pulse 3.6s ease-in-out infinite;
	transition: filter 0.45s ease, opacity 0.45s ease;
}

.sv-hero__logo-stage--front .sv-hero__logo-halo {
	background: radial-gradient(
		circle,
		rgba(255, 255, 255, 0.24) 0%,
		rgba(56, 189, 248, 0.17) 34%,
		rgba(255, 184, 0, 0.09) 56%,
		rgba(27, 59, 140, 0) 74%
	);
}

.sv-hero__logo-stage--page .sv-hero__logo-halo {
	background: radial-gradient(
		circle,
		rgba(255, 255, 255, 0.2) 0%,
		rgba(255, 255, 255, 0.06) 48%,
		rgba(255, 255, 255, 0) 72%
	);
}

.sv-hero__logo-frame {
	position: relative;
	width: 100%;
	height: 100%;
	will-change: transform, opacity, filter;
	animation:
		sv-logo-enter 0.8s cubic-bezier(0.22, 1, 0.36, 1) both,
		sv-logo-float 4.5s ease-in-out 0.8s infinite;
	transition: filter 0.45s ease;
}

.sv-hero__logo-stage--front .sv-hero__logo-frame {
	filter: drop-shadow(0 14px 28px rgba(10, 22, 62, 0.36));
}

.sv-hero-logo {
	width: 100%;
	height: 100%;
	max-width: none;
	display: block;
	overflow: visible;
	transform-origin: 50% 50%;
	will-change: transform;
	animation: sv-logo-orbit 14s linear infinite;
}

.sv-hero-logo__petal {
	transform-box: view-box;
	transform-origin: 100px 100px;
	will-change: transform, opacity;
	animation: sv-petal-breathe 3.2s ease-in-out infinite;
}

.sv-hero-logo__petal--1 { animation-delay: 0s; }
.sv-hero-logo__petal--2 { animation-delay: 0.8s; }
.sv-hero-logo__petal--3 { animation-delay: 1.6s; }
.sv-hero-logo__petal--4 { animation-delay: 2.4s; }

.sv-hero__logo-stage--front .sv-hero-logo__petal path,
.sv-hero__logo-stage--front .sv-hero-logo__petal circle {
	stroke: rgba(255, 255, 255, 0.22);
	stroke-width: 0.75;
	paint-order: stroke fill;
}

.sv-hero-logo__core {
	color: rgba(255, 255, 255, 0.84);
}

.sv-hero-logo__core-dot {
	transform-box: view-box;
	transform-origin: 100px 100px;
	will-change: transform;
	animation: sv-core-pulse 2.2s ease-in-out infinite;
}

.sv-hero__logo-stage--front .sv-hero-logo__core-dot {
	fill: #FFE082;
}

.sv-hero-logo__core-ring {
	transform-box: view-box;
	transform-origin: 100px 100px;
	will-change: transform;
	animation: sv-logo-orbit 10s linear infinite reverse;
}

@media (hover: hover) {
	.sv-hero:hover .sv-hero__logo-stage--front,
	.sv-hero__logo-stage--front:hover {
		transform: scale(1.055);
	}

	.sv-hero:hover .sv-hero__logo-stage--front .sv-hero__logo-frame,
	.sv-hero__logo-stage--front:hover .sv-hero__logo-frame {
		filter: drop-shadow(0 18px 36px rgba(10, 22, 62, 0.48)) drop-shadow(0 0 22px rgba(255, 184, 0, 0.24));
	}

	.sv-hero:hover .sv-hero__logo-stage--front .sv-hero__logo-halo,
	.sv-hero__logo-stage--front:hover .sv-hero__logo-halo {
		filter: brightness(1.22);
	}
}

@media (hover: hover) and (min-width: 1025px) {
	.sv-hero:hover .sv-hero__logo-stage--page {
		transform: scale(1.04);
		opacity: 0.28;
	}
}

@keyframes sv-logo-enter {
	0% {
		opacity: 0;
		transform: scale(0.84);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes sv-logo-float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
}

@keyframes sv-logo-orbit {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

@keyframes sv-petal-breathe {
	0%,
	100% {
		transform: scale(0.95);
		opacity: 0.88;
	}
	50% {
		transform: scale(1.10);
		opacity: 1;
	}
}

@keyframes sv-core-pulse {
	0%,
	100% {
		transform: scale(0.85);
	}
	50% {
		transform: scale(1.35);
	}
}

@keyframes sv-halo-pulse {
	0%,
	100% {
		transform: scale(0.90);
		opacity: 0.65;
	}
	50% {
		transform: scale(1.14);
		opacity: 1;
	}
}

.sv-hero__content {
	position: relative;
	z-index: 2;
	max-width: 780px;
}

.sv-hero:not(.sv-hero--page) .sv-hero__content {
	max-width: 680px;
}

.sv-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.28);
	color: var(--sv-white);
	font-family: var(--sv-font-heading);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	margin-bottom: 18px;
}

.sv-pill--light {
	background: rgba(29, 78, 216, 0.1);
	border-color: rgba(29, 78, 216, 0.22);
	color: var(--sv-navy);
}

.sv-hero h1 {
	color: var(--sv-white);
	margin-bottom: 18px;
}

.sv-hero__lead {
	font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
	color: rgba(255, 255, 255, 0.92);
	margin-bottom: 28px;
	max-width: 680px;
}

.sv-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 40px;
}

.sv-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	position: relative;
	z-index: 2;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.sv-stat {
	background: rgba(255, 255, 255, 0.09);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--sv-radius);
	padding: 16px 18px;
}

.sv-stat__num {
	font-family: var(--sv-font-heading);
	font-size: 1.75rem;
	font-weight: 800;
	color: var(--sv-gold);
	line-height: 1.1;
	margin-bottom: 4px;
}

.sv-stat__label {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.9);
}

/* Sections & Grids */
.sv-section {
	padding: 64px 0;
}

.sv-section--white {
	background: var(--sv-white);
}

.sv-section--tinted {
	background: #EEF2FF;
}

.sv-section-head {
	max-width: 720px;
	margin-bottom: 36px;
}

.sv-section-head__eyebrow {
	display: inline-block;
	font-family: var(--sv-font-heading);
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--sv-blue);
	margin-bottom: 8px;
}

.sv-section-head p {
	color: var(--sv-muted);
	font-size: 1.0625rem;
	margin-bottom: 0;
}

.sv-grid {
	display: grid;
	gap: 24px;
}

.sv-grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sv-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sv-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Cards */
.sv-card {
	background: var(--sv-white);
	border: 1px solid var(--sv-border);
	border-radius: var(--sv-radius);
	padding: 28px;
	box-shadow: var(--sv-shadow-sm);
	display: flex;
	flex-direction: column;
	transition: transform 0.18s ease, box-shadow 0.2s ease;
}

.sv-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--sv-shadow-md);
}

.sv-pillar {
	border-top: 5px solid var(--sv-blue);
}

.sv-pillar--coral {
	border-top-color: var(--sv-coral);
}

.sv-pillar--teal {
	border-top-color: var(--sv-teal);
}

.sv-pillar--gold {
	border-top-color: var(--sv-gold);
}

.sv-pillar__tag {
	display: inline-block;
	align-self: flex-start;
	padding: 4px 10px;
	border-radius: 6px;
	font-family: var(--sv-font-heading);
	font-size: 0.75rem;
	font-weight: 700;
	margin-bottom: 14px;
}

.sv-pillar--coral .sv-pillar__tag {
	background: rgba(255, 107, 74, 0.14);
	color: #9A2B13;
}

.sv-pillar--teal .sv-pillar__tag {
	background: rgba(0, 168, 150, 0.14);
	color: #065F54;
}

.sv-pillar--gold .sv-pillar__tag {
	background: rgba(255, 184, 0, 0.22);
	color: #713F12;
}

.sv-pillar p {
	color: var(--sv-muted);
}

.sv-list {
	margin: 12px 0 0;
	padding-left: 18px;
	color: var(--sv-ink);
}

.sv-list li {
	margin-bottom: 6px;
}

/* Leadership / Quote Highlight */
.sv-split {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 32px;
	align-items: center;
}

.sv-quote-card {
	background: var(--sv-navy);
	color: var(--sv-white);
	border-radius: var(--sv-radius-lg);
	padding: 32px;
	position: relative;
	overflow: hidden;
}

.sv-quote-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: var(--sv-ribbon);
}

.sv-quote-card blockquote {
	margin: 0 0 18px;
	font-size: 1.125rem;
	line-height: 1.6;
	font-style: italic;
}

.sv-quote-card__author {
	font-family: var(--sv-font-heading);
	font-weight: 700;
	color: var(--sv-gold);
}

.sv-quote-card__role {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.85);
}

/* Document Download Cards */
.sv-doc-card {
	background: var(--sv-white);
	border: 1px solid var(--sv-border);
	border-radius: var(--sv-radius);
	padding: 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 16px;
	box-shadow: var(--sv-shadow-sm);
}

.sv-doc-card__badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 6px;
	font-family: var(--sv-font-heading);
	font-size: 0.75rem;
	font-weight: 800;
	background: #EEF2FF;
	color: var(--sv-navy);
	width: fit-content;
}

.sv-doc-card__meta {
	font-size: 0.875rem;
	color: var(--sv-muted);
	margin: 0;
}

/* Support / CTA Banner */
.sv-cta-banner {
	background: linear-gradient(135deg, var(--sv-navy) 0%, #10265E 100%);
	color: var(--sv-white);
	border-radius: var(--sv-radius-lg);
	padding: 40px 36px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	position: relative;
	overflow: hidden;
}

.sv-cta-banner h2,
.sv-cta-banner h3 {
	color: var(--sv-white);
}

.sv-cta-banner p {
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 0;
	max-width: 620px;
}

.sv-cta-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	flex-shrink: 0;
}

/* Registry Table / Definition Grid */
.sv-registry {
	background: var(--sv-white);
	border: 1px solid var(--sv-border);
	border-radius: var(--sv-radius);
	overflow: hidden;
	box-shadow: var(--sv-shadow-sm);
}

.sv-registry__row {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 16px;
	padding: 16px 24px;
	border-bottom: 1px solid var(--sv-border);
}

.sv-registry__row:last-child {
	border-bottom: 0;
}

.sv-registry__label {
	font-family: var(--sv-font-heading);
	font-weight: 700;
	color: var(--sv-navy);
	font-size: 0.9375rem;
}

.sv-registry__value {
	color: var(--sv-ink);
}

/* Badges */
.sv-badge-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.sv-compliance-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 10px;
	background: var(--sv-white);
	border: 1px solid var(--sv-border);
	font-family: var(--sv-font-heading);
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--sv-navy);
	box-shadow: var(--sv-shadow-sm);
}

.sv-compliance-badge__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--sv-teal);
	flex-shrink: 0;
}

/* Timeline */
.sv-timeline {
	display: grid;
	gap: 18px;
}

.sv-timeline__item {
	background: var(--sv-white);
	border: 1px solid var(--sv-border);
	border-left: 5px solid var(--sv-blue);
	border-radius: var(--sv-radius);
	padding: 20px 24px;
}

.sv-timeline__year {
	font-family: var(--sv-font-heading);
	font-weight: 800;
	color: var(--sv-blue);
	font-size: 1rem;
	margin-bottom: 4px;
}

/* Posts & Archive Cards */
.sv-post-card {
	background: var(--sv-white);
	border: 1px solid var(--sv-border);
	border-radius: var(--sv-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--sv-shadow-sm);
	transition: transform 0.18s ease, box-shadow 0.2s ease;
}

.sv-post-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--sv-shadow-md);
}

.sv-post-card__media {
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, #EEF2FF 0%, #E0F2FE 100%);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sv-post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sv-post-card__placeholder {
	width: 64px;
	opacity: 0.55;
}

.sv-post-card__body {
	padding: 22px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.sv-post-card__meta {
	font-size: 0.8125rem;
	color: var(--sv-muted);
	margin-bottom: 8px;
}

.sv-post-card__title {
	font-size: 1.125rem;
	margin-bottom: 10px;
}

.sv-post-card__title a {
	color: var(--sv-navy);
	text-decoration: none;
}

.sv-post-card__title a:hover {
	color: var(--sv-blue);
	text-decoration: underline;
}

.sv-post-card__excerpt {
	color: var(--sv-muted);
	font-size: 0.9375rem;
	margin-bottom: 16px;
	flex: 1;
}

.sv-post-card__more {
	font-family: var(--sv-font-heading);
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
}

/* Contact Tabs & Forms */
.sv-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 22px;
	border-bottom: 2px solid var(--sv-border);
	padding-bottom: 8px;
}

.sv-tab-btn {
	padding: 10px 18px;
	border-radius: 8px;
	border: 1px solid transparent;
	background: var(--sv-bg);
	color: var(--sv-muted);
	font-family: var(--sv-font-heading);
	font-size: 0.9rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.18s ease;
}

.sv-tab-btn.is-active {
	background: var(--sv-navy);
	color: var(--sv-white);
}

.sv-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.sv-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.sv-field--full {
	grid-column: 1 / -1;
}

.sv-field label {
	font-family: var(--sv-font-heading);
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--sv-navy);
}

.sv-field input,
.sv-field textarea,
.sv-field select {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #CBD5E1;
	border-radius: 8px;
	font-family: var(--sv-font-body);
	font-size: 0.96rem;
	color: var(--sv-ink);
	background: var(--sv-white);
}

.sv-field input:focus,
.sv-field textarea:focus,
.sv-field select:focus {
	border-color: var(--sv-blue);
	outline: 3px solid rgba(29, 78, 216, 0.18);
	outline-offset: 0;
}

.sv-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.sv-alert {
	padding: 14px 18px;
	border-radius: 10px;
	margin-bottom: 20px;
	font-weight: 600;
}

.sv-alert--success {
	background: #ECFDF5;
	border: 1px solid #10B981;
	color: #065F46;
}

.sv-alert--error {
	background: #FEF2F2;
	border: 1px solid #EF4444;
	color: #991B1B;
}

/* Support & IBAN Box */
.sv-iban-box {
	background: var(--sv-white);
	border: 1px solid var(--sv-border);
	border-radius: var(--sv-radius);
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sv-iban-code {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: var(--sv-bg);
	border: 1px solid var(--sv-border);
	border-radius: 8px;
	padding: 12px 14px;
	font-family: 'Courier New', Courier, monospace;
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--sv-navy);
	word-break: break-all;
}

.sv-copy-btn {
	padding: 7px 14px;
	border-radius: 7px;
	border: 1px solid var(--sv-blue);
	background: var(--sv-white);
	color: var(--sv-blue);
	font-family: var(--sv-font-heading);
	font-size: 0.8125rem;
	font-weight: 700;
	cursor: pointer;
	flex-shrink: 0;
	transition: all 0.18s ease;
}

.sv-copy-btn:hover,
.sv-copy-btn.is-copied {
	background: var(--sv-blue);
	color: var(--sv-white);
}

/* Gutenberg Content & Pagination */
.sv-entry-content {
	background: var(--sv-white);
	border: 1px solid var(--sv-border);
	border-radius: var(--sv-radius);
	padding: 36px;
	box-shadow: var(--sv-shadow-sm);
}

.sv-entry-content .alignwide {
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.sv-entry-content .wp-block-quote {
	border-left: 4px solid var(--sv-coral);
	padding: 12px 20px;
	margin: 24px 0;
	background: var(--sv-bg);
	border-radius: 0 8px 8px 0;
}

.sv-entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
}

.sv-entry-content th,
.sv-entry-content td {
	border: 1px solid var(--sv-border);
	padding: 10px 14px;
	text-align: left;
}

.sv-entry-content th {
	background: #EEF2FF;
	color: var(--sv-navy);
}

.sv-pagination {
	margin-top: 36px;
	display: flex;
	justify-content: center;
}

.sv-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sv-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 8px;
	border: 1px solid var(--sv-border);
	background: var(--sv-white);
	color: var(--sv-navy);
	font-family: var(--sv-font-heading);
	font-weight: 700;
	text-decoration: none;
}

.sv-pagination .page-numbers.current {
	background: var(--sv-navy);
	border-color: var(--sv-navy);
	color: var(--sv-white);
}

/* Footer */
.sv-footer {
	background: var(--sv-navy);
	color: rgba(255, 255, 255, 0.9);
	margin-top: 48px;
}

.sv-footer__main {
	padding: 56px 0 40px;
	display: grid;
	grid-template-columns: 1.3fr 0.9fr 1fr 1.1fr;
	gap: 32px;
}

.sv-footer__logo img {
	height: 52px;
	width: auto;
	margin-bottom: 16px;
}

.sv-footer h3 {
	color: var(--sv-white);
	font-size: 1rem;
	margin-bottom: 14px;
}

.sv-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sv-footer a {
	color: rgba(255, 255, 255, 0.86);
	text-decoration: none;
}

.sv-footer a:hover,
.sv-footer a:focus-visible {
	color: var(--sv-gold);
	text-decoration: underline;
}

.sv-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	padding: 18px 0;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.78);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
}

/* Responsive */
@media (max-width: 1199px) {
	.sv-hero:not(.sv-hero--page) .sv-hero__content {
		max-width: calc(100% - 356px);
	}

	.sv-hero--page .sv-hero__content {
		max-width: calc(100% - 264px);
	}

	.sv-hero__logo-stage--front {
		width: 312px;
		height: 312px;
		top: 86px;
		right: 24px;
	}

	.sv-hero__logo-stage--page {
		width: 224px;
		height: 224px;
		right: 24px;
		opacity: 0.18;
	}
}

@media (max-width: 1024px) {
	.sv-nav,
	.sv-header__actions .sv-btn {
		display: none;
	}

	.sv-burger {
		display: inline-flex;
	}

	.sv-hero:not(.sv-hero--page) .sv-hero__content {
		max-width: calc(100% - 270px);
	}

	.sv-hero--page .sv-hero__content {
		max-width: calc(100% - 220px);
	}

	.sv-hero__logo-stage--front {
		width: 240px;
		height: 240px;
		top: 56px;
		right: 20px;
		opacity: 1;
		pointer-events: none;
	}

	.sv-hero__logo-stage--page {
		width: 196px;
		height: 196px;
		right: 16px;
		opacity: 0.14;
	}

	.sv-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sv-grid--3,
	.sv-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sv-split {
		grid-template-columns: 1fr;
	}

	.sv-footer__main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.sv-section {
		padding: 48px 0;
	}

	.sv-hero {
		padding: 52px 0 44px;
	}

	.sv-hero:not(.sv-hero--page) .sv-hero__content,
	.sv-hero--page .sv-hero__content {
		max-width: 100%;
	}

	.sv-hero__logo-stage--front {
		position: relative;
		top: auto;
		right: auto;
		width: 200px;
		height: 200px;
		margin: 0 auto 24px;
		opacity: 1;
		pointer-events: auto;
	}

	.sv-hero__logo-stage--page {
		width: 150px;
		height: 150px;
		top: 10px;
		right: -28px;
		bottom: auto;
		margin: 0;
		opacity: 0.13;
	}

	.sv-grid--2,
	.sv-grid--3,
	.sv-grid--4,
	.sv-form-grid,
	.sv-footer__main {
		grid-template-columns: 1fr;
	}

	.sv-registry__row {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.sv-cta-banner {
		flex-direction: column;
		align-items: flex-start;
		padding: 28px 24px;
	}

	.sv-entry-content {
		padding: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sv-hero__logo-halo,
	.sv-hero__logo-frame,
	.sv-hero-logo,
	.sv-hero-logo__petal,
	.sv-hero-logo__core-ring,
	.sv-hero-logo__core-dot {
		animation: none !important;
	}

	.sv-hero__logo-stage,
	.sv-hero__logo-frame,
	.sv-hero__logo-halo {
		transition: none !important;
	}

	.sv-hero__logo-frame,
	.sv-hero-logo__petal,
	.sv-hero-logo__core-dot {
		opacity: 1;
		transform: none;
	}
}
