/*
 * Vitare global CSS.
 * ui.js handles: position:fixed header, hero image bottom alignment.
 */

/* =========================================================== Foundations */

html {
	scroll-behavior: smooth;
	overflow-x: clip;
}

.wp-site-blocks {
	overflow-x: visible !important;
}

::selection {
	background: #38b6ff;
	color: #ffffff;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	max-width: 100%;
	height: auto;
}

/* =========================================================== Header */

.vitare-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 9999;
	padding-top: var(--wp--preset--spacing--40);
	padding-bottom: var(--wp--preset--spacing--40);
	padding-left: var(--wp--preset--spacing--50);
	padding-right: var(--wp--preset--spacing--50);
	background-color: #ffffff;
	transition: background-color 250ms ease, box-shadow 250ms ease;
}

.vitare-header.is-scrolled {
	background-color: rgba(255, 255, 255, 0.92) !important;
	backdrop-filter: saturate(180%) blur(12px);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	box-shadow: 0 2px 16px rgba(13, 27, 61, 0.06);
}

.vitare-header-inner {
	width: 100%;
}

.vitare-header-brand {
	gap: var(--wp--preset--spacing--40);
}

.vitare-header-brand .wp-block-site-title {
	font-family: var(--wp--preset--font-family--fredoka);
	font-size: 1.5rem;
	font-weight: 600;
	margin: 0;
}

.vitare-header-brand .wp-block-site-title a {
	color: var(--wp--preset--color--vitare-deep);
	text-decoration: none;
}

/* =========================================================== Navigation */

.vitare-nav {
	font-family: var(--wp--preset--font-family--fredoka);
	font-weight: 500;
	font-size: 1.0625rem;
	gap: var(--wp--preset--spacing--40);
}

.vitare-nav .wp-block-navigation-item__content {
	color: var(--wp--preset--color--vitare-deep);
	transition: color 180ms ease, background-color 180ms ease;
	padding: 0.5rem 0.875rem;
	border-radius: 8px;
	text-decoration: none;
}

.vitare-nav .wp-block-navigation-item__content:hover,
.vitare-nav .wp-block-navigation-item__content:focus,
.vitare-nav .current-menu-item > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--vitare-blue);
	background: var(--wp--preset--color--vitare-sky);
}

.vitare-nav .wp-block-navigation__submenu-container {
	background: #ffffff;
	border: 1px solid var(--wp--preset--color--mist);
	border-radius: 16px;
	box-shadow: var(--wp--preset--shadow--lifted);
	padding: 0.5rem;
	min-width: 220px;
	margin-top: 0.5rem;
}

.vitare-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	border-radius: 10px;
	padding: 0.625rem 0.875rem;
	display: block;
}

.vitare-nav .wp-block-navigation__submenu-icon {
	margin-left: 0.25rem;
	transition: transform 200ms ease;
}

.vitare-nav .has-child:hover > .wp-block-navigation-item__content .wp-block-navigation__submenu-icon {
	transform: rotate(180deg);
}

/* =========================================================== Header buttons */

.vitare-account-buttons {
	gap: 0.5rem;
}

.vitare-btn-signin .wp-block-button__link {
	background: transparent !important;
	color: var(--wp--preset--color--vitare-deep) !important;
	border: 2px solid var(--wp--preset--color--mist) !important;
	border-radius: 999px;
	padding: 0.625rem 1.25rem;
	font-family: var(--wp--preset--font-family--fredoka);
	font-weight: 500;
	transition: all 180ms ease;
}

.vitare-btn-signin .wp-block-button__link:hover,
.vitare-btn-signin .wp-block-button__link:focus {
	background: var(--wp--preset--color--vitare-sky) !important;
	border-color: var(--wp--preset--color--vitare-blue) !important;
	color: var(--wp--preset--color--vitare-blue-dark) !important;
}

.vitare-btn-join .wp-block-button__link {
	box-shadow: var(--wp--preset--shadow--blue-glow);
	transition: all 180ms ease;
	padding: 0.625rem 1.5rem;
}

.vitare-btn-join .wp-block-button__link:hover {
	transform: translateY(-1px);
	box-shadow: 0 16px 40px rgba(56, 182, 255, 0.4);
}

/* =========================================================== Mobile header */

@media (max-width: 781px) {
	.vitare-header {
		padding-top: var(--wp--preset--spacing--30);
		padding-bottom: var(--wp--preset--spacing--30);
	}

	.vitare-account-buttons,
	.wp-block-buttons.vitare-account-buttons {
		display: none !important;
	}

	.vitare-header-inner {
		justify-content: space-between !important;
	}
}

/* =========================================================== Main areas */

.vitare-main-page {
	padding-top: var(--wp--preset--spacing--70);
	padding-bottom: var(--wp--preset--spacing--80);
}

.vitare-main-blog,
.vitare-main-archive {
	padding-top: var(--wp--preset--spacing--70);
	padding-bottom: var(--wp--preset--spacing--70);
}

.vitare-main-single {
	padding-top: var(--wp--preset--spacing--70);
	padding-bottom: var(--wp--preset--spacing--80);
}

.vitare-page-heading {
	font-size: var(--wp--preset--font-size--xx-large);
	margin-bottom: var(--wp--preset--spacing--60);
}

.vitare-page-title {
	font-size: var(--wp--preset--font-size--huge);
	margin-bottom: var(--wp--preset--spacing--60);
}

.vitare-term-description {
	font-size: 1.125rem;
	margin-bottom: var(--wp--preset--spacing--60);
	color: var(--wp--preset--color--slate);
}

/* =========================================================== Blog cards */

.wp-block-post-template.vitare-post-grid {
	gap: 2rem !important;
	list-style: none;
	padding: 0;
}

.vitare-post-grid > li,
.vitare-post-grid > .wp-block-post {
	list-style: none;
	margin: 0;
}

.wp-block-group.vitare-blog-card {
	background: #ffffff;
	border: 1px solid var(--wp--preset--color--mist);
	border-radius: 24px;
	padding: 0;
	box-shadow: 0 8px 24px rgba(13, 27, 61, 0.06), 0 2px 4px rgba(13, 27, 61, 0.03);
	transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.wp-block-group.vitare-blog-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px rgba(13, 27, 61, 0.12), 0 4px 8px rgba(13, 27, 61, 0.06);
	border-color: var(--wp--preset--color--vitare-blue);
}

.vitare-blog-card-image {
	margin: 0;
	background: var(--wp--preset--color--vitare-sky);
}

.vitare-blog-card-image img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
}

.vitare-blog-card-image:empty {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, #e6f5ff 0%, #38b6ff 100%);
}

.vitare-blog-card-body {
	padding: 1.5rem 1.5rem 1.75rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.vitare-blog-card-date {
	font-size: 0.75rem;
	color: var(--wp--preset--color--vitare-blue-dark) !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-weight: 700;
	margin: 0 0 0.5rem;
}

.vitare-blog-card-title {
	font-size: 1.375rem !important;
	margin-top: 0 !important;
	margin-bottom: 0.75rem !important;
	line-height: 1.25;
	font-family: var(--wp--preset--font-family--fredoka);
	font-weight: 500;
}

.vitare-blog-card-title a {
	color: var(--wp--preset--color--vitare-deep) !important;
	text-decoration: none;
	background: none !important;
}

.vitare-blog-card-title a:hover {
	color: var(--wp--preset--color--vitare-blue) !important;
}

.vitare-blog-card-excerpt {
	font-size: 0.9375rem;
	color: var(--wp--preset--color--slate);
	line-height: 1.55;
	margin: 0 0 1rem;
}

.vitare-blog-card-excerpt .wp-block-post-excerpt__more-link {
	color: var(--wp--preset--color--vitare-blue-dark);
	font-weight: 600;
	text-decoration: none;
	display: inline-block;
	margin-top: 0.5rem;
}

.vitare-blog-card-excerpt .wp-block-post-excerpt__more-link:hover {
	color: var(--wp--preset--color--vitare-blue);
}

.vitare-pagination {
	margin-top: var(--wp--preset--spacing--70);
	gap: 0.5rem;
}

/* =========================================================== Single post */

.vitare-single-date {
	font-size: 0.875rem;
	color: var(--wp--preset--color--vitare-blue-dark);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-weight: 600;
}

.vitare-single-title {
	font-size: var(--wp--preset--font-size--huge);
	margin-top: var(--wp--preset--spacing--30);
	margin-bottom: var(--wp--preset--spacing--50);
}

.vitare-single-image img {
	border-radius: 24px;
	margin-bottom: var(--wp--preset--spacing--60);
	width: 100%;
	height: auto;
}

.vitare-single-divider {
	margin-top: var(--wp--preset--spacing--80) !important;
	margin-bottom: var(--wp--preset--spacing--50) !important;
}

.vitare-single-nav {
	font-family: var(--wp--preset--font-family--fredoka);
}

/* =========================================================== Footer */

.vitare-footer {
	margin-top: var(--wp--preset--spacing--90);
	padding-top: var(--wp--preset--spacing--80);
	padding-bottom: var(--wp--preset--spacing--60);
	padding-left: var(--wp--preset--spacing--50);
	padding-right: var(--wp--preset--spacing--50);
}

.vitare-footer-columns {
	gap: var(--wp--preset--spacing--70) !important;
}

.vitare-footer-brand .wp-block-site-title {
	font-family: var(--wp--preset--font-family--fredoka);
	font-size: 1.75rem;
	font-weight: 600;
}

.vitare-footer-brand .wp-block-site-title a {
	color: #ffffff;
	text-decoration: none;
}

.vitare-footer-tagline {
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-top: var(--wp--preset--spacing--40);
	color: var(--wp--preset--color--mist);
}

.vitare-footer-social {
	margin-top: var(--wp--preset--spacing--50);
}

.vitare-footer-heading {
	color: #ffffff !important;
	font-size: 1.0625rem !important;
	letter-spacing: 0.04em !important;
	text-transform: uppercase !important;
	margin-bottom: var(--wp--preset--spacing--40);
}

.vitare-footer-links {
	list-style: none;
	padding-left: 0;
	line-height: 2.2;
	margin: 0;
}

.vitare-footer-links li {
	list-style: none;
}

.vitare-footer-links a {
	color: var(--wp--preset--color--mist);
	text-decoration: none;
	transition: color 180ms ease;
}

.vitare-footer-links a:hover {
	color: var(--wp--preset--color--vitare-blue);
}

.vitare-footer-separator {
	background-color: rgba(255, 255, 255, 0.1) !important;
	color: rgba(255, 255, 255, 0.1) !important;
	border: 0;
	height: 1px;
	margin-top: var(--wp--preset--spacing--70) !important;
	margin-bottom: var(--wp--preset--spacing--50) !important;
}

.vitare-footer-bottom {
	gap: var(--wp--preset--spacing--40);
}

.vitare-footer-fineprint {
	font-size: 0.875rem;
	color: #9aa5b8;
	margin: 0;
}

/* =========================================================== Buttons */

.wp-block-button:not(.is-style-outline):not(.vitare-btn-signin) .wp-block-button__link {
	transition: all 180ms ease;
}

.wp-block-button:not(.is-style-outline):not(.vitare-btn-signin) .wp-block-button__link:hover {
	transform: translateY(-1px);
}

/* =========================================================== Hero
 *
 * The hero is display:flex + flex-direction:column so that .vitare-hero-inner
 * can be flex:1 and fill the full height. That in turn lets .vitare-hero-columns
 * be flex:1 and fill the inner. Combined with justify-content:flex-end on the
 * right column, the image reaches the true bottom of the hero with no gap.
 *
 * padding-bottom:0 on the hero — left column gets its own padding-bottom
 * so text has breathing room without pushing the image up.
 */

.vitare-hero {
	position: relative;
	overflow: hidden;
	padding-top: var(--wp--preset--spacing--90);
	padding-bottom: 0;
	padding-left: var(--wp--preset--spacing--50);
	padding-right: var(--wp--preset--spacing--50);
	min-height: 520px;
	background: linear-gradient(135deg, #e6f5ff 0%, #c4e9ff 50%, #38b6ff 100%);
	display: flex;
	flex-direction: column;
}

.vitare-hero::before {
	content: '';
	position: absolute;
	top: -120px;
	right: -60px;
	width: 420px;
	height: 420px;
	background: radial-gradient(circle, #ffd23f 0%, transparent 70%);
	opacity: 0.45;
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
}

.vitare-hero::after {
	content: '';
	position: absolute;
	bottom: -180px;
	left: 12%;
	width: 520px;
	height: 520px;
	background: radial-gradient(circle, #4ecdc4 0%, transparent 70%);
	opacity: 0.35;
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
}

/* Inner wrapper stretches to fill the hero */
.vitare-hero-inner {
	flex: 1;
	display: flex !important;
	flex-direction: column !important;
	width: 100%;
	max-width: 1280px;
	margin-left: auto !important;
	margin-right: auto !important;
	position: relative;
	z-index: 1;
}

.vitare-hero-eyebrow {
	display: inline-block;
	font-family: var(--wp--preset--font-family--fredoka);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--vitare-blue-dark);
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(8px);
	padding: 0.5rem 1rem;
	border-radius: 999px;
	margin-top: 0;
	margin-bottom: 1.5rem;
	width: fit-content;
}

.vitare-hero-title {
	font-family: var(--wp--preset--font-family--fredoka);
	font-size: clamp(2.5rem, 6vw, 5rem) !important;
	line-height: 1.0;
	color: var(--wp--preset--color--vitare-deep);
	margin-top: 0;
	margin-bottom: 1.5rem;
	max-width: 14ch;
	letter-spacing: -0.02em;
	font-weight: 500;
}

.vitare-hero-subtitle {
	font-size: clamp(1.125rem, 2vw, 1.375rem);
	line-height: 1.55;
	color: var(--wp--preset--color--vitare-deep);
	max-width: 36ch;
	margin-top: 0;
	margin-bottom: 2.5rem;
	opacity: 0.85;
}

/* Page hero */
.vitare-hero-page {
	padding-top: var(--wp--preset--spacing--80);
	padding-bottom: var(--wp--preset--spacing--70);
	min-height: 320px;
	background: linear-gradient(135deg, #e6f5ff 0%, #d6f0ff 100%);
}

.vitare-hero-page .vitare-hero-title {
	max-width: none;
	font-size: clamp(2rem, 4.5vw, 3.5rem) !important;
}

/* =========================================================== Hero columns */

/* Columns fill the inner height */
.vitare-hero-columns {
	flex: 1 !important;
	gap: var(--wp--preset--spacing--70) !important;
	align-items: stretch !important; /* JS also enforces this to beat WP inline style */
}

/* Left column: text vertically centred, bottom padding replaces hero's */
.vitare-hero-columns > .wp-block-column:first-child {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-bottom: var(--wp--preset--spacing--90);
}

/* Right column: image pinned to bottom — JS also enforces these */
.vitare-hero-media {
	display: flex !important;
	flex-direction: column !important;
	justify-content: flex-end !important;
	align-self: stretch !important;
	padding: 0 !important;
	margin: 0 !important;
}

.vitare-hero-media .wp-block-image {
	margin: 0;
	width: 100%;
}

.vitare-hero-media .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	object-position: bottom center;
	border-radius: 0 !important;
	box-shadow: none !important;
	transform: none !important;
	transition: none !important;
}

/* Video / embed keep styling */
.vitare-hero-media .wp-block-video video {
	width: 100%;
	height: auto;
	border-radius: 24px;
	box-shadow: 0 24px 60px rgba(13, 27, 61, 0.22);
	display: block;
}

.vitare-hero-media .wp-block-embed {
	width: 100%;
	margin: 0;
}

.vitare-hero-media .wp-block-embed__wrapper {
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(13, 27, 61, 0.22);
}

.vitare-hero-media .wp-block-embed__wrapper iframe {
	display: block;
	width: 100%;
}

@media (max-width: 781px) {
	.vitare-hero-columns {
		flex-direction: column !important;
	}

	.vitare-hero-media .wp-block-image img {
		border-radius: 16px !important;
	}
}

/* =========================================================== Sections */

.vitare-section {
	padding-top: var(--wp--preset--spacing--90);
	padding-bottom: var(--wp--preset--spacing--90);
	padding-left: var(--wp--preset--spacing--50);
	padding-right: var(--wp--preset--spacing--50);
}

.vitare-section-tinted {
	background: var(--wp--preset--color--cloud);
}

.vitare-section-sky {
	background: linear-gradient(180deg, #ffffff 0%, #e6f5ff 100%);
}

.vitare-section-deep {
	background: var(--wp--preset--color--vitare-deep);
	color: var(--wp--preset--color--mist);
}

.vitare-section-deep h1,
.vitare-section-deep h2,
.vitare-section-deep h3,
.vitare-section-deep h4 {
	color: #ffffff;
}

.vitare-section-inner {
	width: 100%;
	max-width: 1280px;
	margin-left: auto !important;
	margin-right: auto !important;
}

.vitare-section-eyebrow {
	display: inline-block;
	font-family: var(--wp--preset--font-family--fredoka);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--vitare-blue-dark);
	margin-top: 0;
	margin-bottom: 1rem;
}

.vitare-section-eyebrow.has-text-align-center {
	display: block;
	width: 100%;
}

.vitare-section-title {
	font-family: var(--wp--preset--font-family--fredoka);
	font-size: clamp(2rem, 4vw, 3rem) !important;
	line-height: 1.1;
	color: var(--wp--preset--color--vitare-deep);
	margin-top: 0;
	margin-bottom: 1rem;
	max-width: 22ch;
	font-weight: 500;
	letter-spacing: -0.01em;
}

.vitare-section-title.has-text-align-center {
	max-width: 22ch;
	margin-left: auto;
	margin-right: auto;
}

.vitare-section-deep .vitare-section-title {
	color: #ffffff;
}

.vitare-section-lead {
	font-size: 1.25rem;
	line-height: 1.55;
	color: var(--wp--preset--color--slate);
	max-width: 60ch;
	margin-top: 0;
	margin-bottom: var(--wp--preset--spacing--70);
}

.vitare-section-lead.has-text-align-center {
	margin-left: auto;
	margin-right: auto;
}

.vitare-section-deep .vitare-section-lead {
	color: var(--wp--preset--color--mist);
}

/* =========================================================== Feature cards */

.vitare-feature-grid {
	gap: 1.5rem !important;
}

.vitare-feature-card {
	background: #ffffff;
	border: 1px solid var(--wp--preset--color--mist);
	border-radius: 24px;
	padding: 2rem 1.75rem !important;
	transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
	height: 100%;
	display: flex !important;
	flex-direction: column;
}

.vitare-feature-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px rgba(13, 27, 61, 0.1);
	border-color: var(--wp--preset--color--vitare-blue);
}

.vitare-feature-icon {
	width: 64px;
	height: 64px;
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.25rem;
	background: var(--wp--preset--color--vitare-sky);
	color: var(--wp--preset--color--vitare-blue-dark);
	flex-shrink: 0;
}

.vitare-feature-icon svg {
	width: 32px;
	height: 32px;
}

.vitare-feature-icon-sun   { background: #fff5cc; color: #d49b00; }
.vitare-feature-icon-coral { background: #ffe0e0; color: #d63838; }
.vitare-feature-icon-mint  { background: #d6f5f1; color: #2a9d96; }
.vitare-feature-icon-deep  { background: #1a2a52; color: #ffffff; }

.vitare-feature-title {
	font-family: var(--wp--preset--font-family--fredoka) !important;
	font-size: 1.25rem !important;
	font-weight: 600;
	color: var(--wp--preset--color--vitare-deep) !important;
	margin-top: 0 !important;
	margin-bottom: 0.5rem !important;
	line-height: 1.3;
}

.vitare-feature-desc {
	font-size: 0.9375rem !important;
	color: var(--wp--preset--color--slate) !important;
	line-height: 1.55 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* =========================================================== CTA band */

.vitare-cta-band {
	padding: var(--wp--preset--spacing--80) var(--wp--preset--spacing--50);
	border-radius: 32px;
	background: linear-gradient(135deg, #38b6ff 0%, #1d8fd6 100%);
	position: relative;
	overflow: hidden;
	color: #ffffff;
	box-shadow: 0 20px 60px rgba(56, 182, 255, 0.3);
	text-align: center;
	max-width: 1180px;
	margin-left: auto !important;
	margin-right: auto !important;
}

.vitare-cta-band::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 70%;
	height: 200%;
	background: radial-gradient(circle, rgba(255, 210, 63, 0.2) 0%, transparent 60%);
	pointer-events: none;
}

.vitare-cta-band > * {
	position: relative;
	z-index: 2;
	max-width: 720px;
	margin-left: auto !important;
	margin-right: auto !important;
}

.vitare-cta-band h2,
.vitare-cta-band .vitare-cta-title {
	font-family: var(--wp--preset--font-family--fredoka);
	font-size: clamp(1.75rem, 3.5vw, 2.5rem) !important;
	color: #ffffff !important;
	margin-top: 0 !important;
	margin-bottom: 1rem !important;
	font-weight: 500;
	line-height: 1.15;
}

.vitare-cta-band p,
.vitare-cta-band .vitare-cta-text {
	font-size: 1.125rem;
	color: #ffffff !important;
	opacity: 0.92;
	margin-top: 0 !important;
	margin-bottom: 2rem !important;
}

.vitare-cta-band .wp-block-button__link {
	background: #ffffff !important;
	color: var(--wp--preset--color--vitare-blue-dark) !important;
	font-weight: 600;
	padding: 1rem 2.5rem;
}

.vitare-cta-band .wp-block-button__link:hover {
	background: var(--wp--preset--color--vitare-sun) !important;
	color: var(--wp--preset--color--vitare-deep) !important;
}

/* =========================================================== Stats strip */

.vitare-stats {
	gap: var(--wp--preset--spacing--60) !important;
	flex-wrap: wrap;
}

.vitare-stat {
	flex: 1;
	min-width: 160px;
	text-align: center;
	padding: 1.5rem !important;
}

.vitare-stat-number {
	font-family: var(--wp--preset--font-family--fredoka) !important;
	font-size: clamp(2.5rem, 5vw, 3.5rem) !important;
	font-weight: 600;
	color: var(--wp--preset--color--vitare-blue) !important;
	line-height: 1 !important;
	margin-top: 0 !important;
	margin-bottom: 0.5rem !important;
}

.vitare-stat-label {
	font-size: 0.875rem !important;
	color: var(--wp--preset--color--slate) !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-weight: 600;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* =========================================================== Split */

.vitare-split {
	gap: var(--wp--preset--spacing--80) !important;
	align-items: center !important;
}

.vitare-split-image img {
	border-radius: 32px;
	box-shadow: 0 20px 60px rgba(13, 27, 61, 0.15);
	width: 100%;
	height: auto;
}

/* =========================================================== Latest News block */

.vitare-latest-news {
	padding: var(--wp--preset--spacing--80) 0;
}

.vitare-latest-news-header {
	display: flex;
	justify-content: space-between;
	align-items: end;
	margin-bottom: var(--wp--preset--spacing--60);
	flex-wrap: wrap;
	gap: 1rem;
}

.vitare-latest-news-header h2 {
	margin: 0;
}

.vitare-latest-news-link {
	font-family: var(--wp--preset--font-family--fredoka);
	font-weight: 600;
	color: var(--wp--preset--color--vitare-blue-dark);
	text-decoration: none;
	font-size: 1rem;
}

.vitare-latest-news-link:hover {
	color: var(--wp--preset--color--vitare-blue);
}

.vitare-news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
}

.vitare-news-card {
	background: #ffffff;
	border: 1px solid var(--wp--preset--color--mist);
	border-radius: 24px;
	overflow: hidden;
	transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
}

.vitare-news-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px rgba(13, 27, 61, 0.1);
	border-color: var(--wp--preset--color--vitare-blue);
}

.vitare-news-card-image {
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, #e6f5ff 0%, #38b6ff 100%);
	overflow: hidden;
}

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

.vitare-news-card-body {
	padding: 1.25rem 1.5rem 1.5rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.vitare-news-card-date {
	font-size: 0.75rem;
	color: var(--wp--preset--color--vitare-blue-dark);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-weight: 700;
	margin: 0 0 0.5rem;
}

.vitare-news-card-title {
	font-family: var(--wp--preset--font-family--fredoka);
	font-size: 1.25rem;
	font-weight: 500;
	color: var(--wp--preset--color--vitare-deep);
	margin: 0 0 0.5rem;
	line-height: 1.3;
}

.vitare-news-card-excerpt {
	font-size: 0.9375rem;
	color: var(--wp--preset--color--slate);
	line-height: 1.55;
	margin: 0;
}

.vitare-news-empty {
	padding: 3rem;
	text-align: center;
	background: var(--wp--preset--color--cloud);
	border-radius: 16px;
	color: var(--wp--preset--color--slate);
}

/* =========================================================== Roadmap block */

.vitare-roadmap {
	padding: var(--wp--preset--spacing--60) 0;
}

.vitare-roadmap-filters {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-bottom: var(--wp--preset--spacing--60);
	padding: 0.75rem;
	background: var(--wp--preset--color--cloud);
	border-radius: 999px;
	width: fit-content;
}

.vitare-roadmap-filter {
	font-family: var(--wp--preset--font-family--fredoka);
	font-weight: 500;
	font-size: 0.9375rem;
	padding: 0.5rem 1.125rem;
	border-radius: 999px;
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--slate);
	cursor: pointer;
	transition: all 180ms ease;
}

.vitare-roadmap-filter:hover {
	color: var(--wp--preset--color--vitare-deep);
}

.vitare-roadmap-filter.is-active {
	background: var(--wp--preset--color--vitare-blue);
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(56, 182, 255, 0.3);
}

.vitare-roadmap-section {
	margin-bottom: var(--wp--preset--spacing--80);
}

.vitare-roadmap-section-header {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: var(--wp--preset--spacing--50);
}

.vitare-roadmap-section-title {
	font-family: var(--wp--preset--font-family--fredoka);
	font-size: 1.75rem;
	font-weight: 600;
	color: var(--wp--preset--color--vitare-deep);
	margin: 0;
}

.vitare-roadmap-section-count {
	font-size: 0.875rem;
	font-weight: 600;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	background: var(--wp--preset--color--cloud);
	color: var(--wp--preset--color--slate);
}

.vitare-roadmap-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 1.25rem;
}

.vitare-roadmap-card {
	background: #ffffff;
	border: 1px solid var(--wp--preset--color--mist);
	border-radius: 20px;
	padding: 1.5rem;
	transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
	position: relative;
	overflow: hidden;
}

.vitare-roadmap-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
	background: var(--vitare-status-color, var(--wp--preset--color--mist));
}

.vitare-roadmap-card[data-status="done"]        { --vitare-status-color: #4ecdc4; }
.vitare-roadmap-card[data-status="in-progress"] { --vitare-status-color: #38b6ff; }
.vitare-roadmap-card[data-status="planned"]     { --vitare-status-color: #ffd23f; }
.vitare-roadmap-card[data-status="idea"]        { --vitare-status-color: #c4c9d4; }
.vitare-roadmap-card[data-status="cancelled"]   { --vitare-status-color: #ff6b6b; }

.vitare-roadmap-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(13, 27, 61, 0.08);
	border-color: var(--vitare-status-color, var(--wp--preset--color--vitare-blue));
}

.vitare-roadmap-card-meta {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-bottom: 0.75rem;
}

.vitare-roadmap-tag {
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.25rem 0.625rem;
	border-radius: 999px;
	letter-spacing: 0.02em;
}

.vitare-roadmap-tag-status {
	background: var(--vitare-status-color, var(--wp--preset--color--mist));
	color: #ffffff;
}

.vitare-roadmap-card[data-status="planned"] .vitare-roadmap-tag-status,
.vitare-roadmap-card[data-status="idea"]    .vitare-roadmap-tag-status {
	color: var(--wp--preset--color--vitare-deep);
}

.vitare-roadmap-tag-category {
	background: var(--wp--preset--color--cloud);
	color: var(--wp--preset--color--slate);
}

.vitare-roadmap-tag-phase {
	background: var(--wp--preset--color--vitare-sky);
	color: var(--wp--preset--color--vitare-blue-dark);
}

.vitare-roadmap-card-title {
	font-family: var(--wp--preset--font-family--fredoka);
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--wp--preset--color--vitare-deep);
	margin: 0 0 0.5rem;
	line-height: 1.3;
}

.vitare-roadmap-card-excerpt {
	font-size: 0.875rem;
	color: var(--wp--preset--color--slate);
	line-height: 1.5;
	margin: 0;
}

.vitare-roadmap-empty {
	padding: 3rem;
	text-align: center;
	background: var(--wp--preset--color--cloud);
	border-radius: 16px;
	color: var(--wp--preset--color--slate);
}

/* =========================================================== Download buttons */

.vitare-download {
	padding: var(--wp--preset--spacing--60) 0;
}

.vitare-download-buttons {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	justify-content: center;
}

.vitare-download-btn {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.75rem;
	background: var(--wp--preset--color--vitare-deep);
	color: #ffffff;
	border-radius: 16px;
	text-decoration: none;
	font-family: var(--wp--preset--font-family--fredoka);
	transition: transform 240ms ease, box-shadow 240ms ease, background 240ms ease;
	box-shadow: 0 8px 24px rgba(13, 27, 61, 0.15);
	min-width: 220px;
}

.vitare-download-btn:hover {
	transform: translateY(-2px);
	background: var(--wp--preset--color--vitare-blue);
	box-shadow: 0 16px 40px rgba(56, 182, 255, 0.4);
	color: #ffffff;
}

.vitare-download-btn-primary {
	background: var(--wp--preset--color--vitare-blue);
	box-shadow: var(--wp--preset--shadow--blue-glow);
}

.vitare-download-btn-icon {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
}

.vitare-download-btn-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.2;
}

.vitare-download-btn-small {
	font-size: 0.75rem;
	opacity: 0.8;
	font-weight: 400;
}

.vitare-download-btn-large {
	font-size: 1.125rem;
	font-weight: 500;
}

.vitare-download-platform-detected {
	display: block;
	text-align: center;
	font-size: 0.875rem;
	color: var(--wp--preset--color--slate);
	margin-bottom: 1rem;
}

.vitare-download-platform-detected strong {
	color: var(--wp--preset--color--vitare-blue-dark);
}

/* =========================================================== Help / FAQ */

.vitare-faq {
	max-width: 760px;
	margin: 0 auto;
}

.vitare-faq details {
	background: #ffffff;
	border: 1px solid var(--wp--preset--color--mist);
	border-radius: 16px;
	padding: 1.25rem 1.5rem;
	margin-bottom: 0.75rem;
	transition: border-color 180ms ease;
}

.vitare-faq details[open] {
	border-color: var(--wp--preset--color--vitare-blue);
	box-shadow: 0 8px 24px rgba(13, 27, 61, 0.06);
}

.vitare-faq summary {
	font-family: var(--wp--preset--font-family--fredoka);
	font-size: 1.0625rem;
	font-weight: 500;
	color: var(--wp--preset--color--vitare-deep);
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}

.vitare-faq summary::-webkit-details-marker { display: none; }

.vitare-faq summary::after {
	content: '+';
	font-size: 1.5rem;
	color: var(--wp--preset--color--vitare-blue);
	transition: transform 200ms ease;
	flex-shrink: 0;
}

.vitare-faq details[open] summary::after {
	transform: rotate(45deg);
}

.vitare-faq details p {
	margin: 1rem 0 0;
	color: var(--wp--preset--color--slate);
	line-height: 1.6;
}

/* =========================================================== Reusable card */

.vitare-card {
	background: #ffffff;
	border: 1px solid var(--wp--preset--color--mist);
	border-radius: 24px;
	padding: var(--wp--preset--spacing--50);
	box-shadow: 0 8px 24px rgba(13, 27, 61, 0.06);
	transition: transform 240ms ease, box-shadow 240ms ease;
}

.vitare-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px rgba(13, 27, 61, 0.1);
}

/* =========================================================== Responsive */

@media (max-width: 600px) {
	.vitare-section,
	.vitare-hero {
		padding-left: var(--wp--preset--spacing--40);
		padding-right: var(--wp--preset--spacing--40);
	}

	.vitare-cta-band {
		margin-left: var(--wp--preset--spacing--40) !important;
		margin-right: var(--wp--preset--spacing--40) !important;
		padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50);
	}

	.vitare-roadmap-filters {
		width: 100%;
		border-radius: 16px;
	}
}
