/* =========================================================
   VYTAUTAS EVENT – header, footer, classic (non-Elementor) content
   ========================================================= */

/* ---------- header ---------- */

.ve-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--ve-page-bg);
	border-bottom: 1px solid transparent;
	transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.ve-header.is-scrolled {
	background: rgba(213, 214, 242, 0.97);
	border-bottom-color: rgba(28, 36, 71, 0.10);
	box-shadow: 0 10px 30px rgba(28, 36, 71, 0.06);
}

.ve-header__inner {
	max-width: 1248px;
	margin: 0 auto;
	padding: 26px 24px;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 40px;
	transition: padding .25s ease;
}

.ve-header.is-scrolled .ve-header__inner {
	padding-top: 12px;
	padding-bottom: 12px;
}

.ve-header__logo img {
	display: block;
	width: auto;
	height: 52px;
	transition: height .25s ease;
}

.ve-header.is-scrolled .ve-header__logo img {
	height: 40px;
}

/* nav */
.ve-nav {
	justify-self: center;
}

.ve-menu,
.ve-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ve-menu {
	display: flex;
	align-items: center;
	gap: 6px;
}

.ve-menu > li {
	position: relative;
}

.ve-menu a {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 10px 14px;
	font-family: var(--ve-font);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.01em;
	color: var(--ve-primary);
	text-decoration: none;
	border-radius: 0;
	transition: color .2s ease;
}

.ve-menu > li > a::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 4px;
	height: 1.5px;
	background: var(--ve-primary);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s ease;
}

.ve-menu > li:hover > a::after,
.ve-menu > li.current-menu-item > a::after,
.ve-menu > li.current-menu-ancestor > a::after {
	transform: scaleX(1);
}

.ve-menu .menu-item-has-children > a::before {
	content: "";
	order: 2;
	width: 5px;
	height: 5px;
	margin: -3px 0 0 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform .2s ease;
}

.ve-menu .menu-item-has-children:hover > a::before {
	transform: rotate(225deg);
	margin-top: 3px;
}

/* dropdown */
.ve-menu .sub-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 280px;
	padding: 8px;
	background: #fff;
	border: 1px solid rgba(28, 36, 71, 0.10);
	box-shadow: 0 18px 40px rgba(28, 36, 71, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.ve-menu .sub-menu::before {
	content: "";
	position: absolute;
	top: -7px;
	left: 0;
	right: 0;
	height: 8px;
}

.ve-menu li:hover > .sub-menu,
.ve-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ve-menu .sub-menu a {
	display: block;
	padding: 11px 14px;
	font-size: 14px;
	font-weight: 500;
}

.ve-menu .sub-menu a::after {
	display: none;
}

.ve-menu .sub-menu a:hover {
	background: var(--ve-lavender-soft);
}

.ve-menu .sub-menu .current-menu-item > a {
	background: var(--ve-lavender-soft);
}

/* "Susisiekite" is the header CTA – drop the duplicate menu entry on desktop */
@media (min-width: 768px) {
	.ve-menu > li.ve-menu-item--cta-duplicate { display: none; }
}

/* actions */
.ve-header__actions {
	display: flex;
	align-items: center;
	gap: 22px;
	justify-self: end;
}

.ve-header__phone {
	font-family: var(--ve-font);
	font-size: 14px;
	font-weight: 500;
	color: var(--ve-primary);
	text-decoration: none;
	white-space: nowrap;
	transition: opacity .2s ease;
}

.ve-header__phone:hover {
	opacity: .7;
}

.ve-site .ve-header__cta {
	min-height: 42px;
	padding: 10px 22px;
	font-size: 13px;
}

.ve-nav__mobile-extra {
	display: none;
}

/* toggles */
.ve-header__toggle,
.ve-nav__close {
	display: none;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 8px;
}

.ve-header__toggle {
	position: relative;
	width: 40px;
	height: 40px;
	padding: 0;
}

.ve-header__toggle span {
	position: absolute;
	left: 9px;
	width: 22px;
	height: 1.5px;
	background: var(--ve-primary);
}

.ve-header__toggle span:nth-child(1) { top: 13px; }
.ve-header__toggle span:nth-child(2) { top: 19px; }
.ve-header__toggle span:nth-child(3) { top: 25px; }

/* ---------- footer ---------- */

.ve-footer {
	background: var(--ve-primary);
	color: rgba(255, 255, 255, 0.88);
}

.ve-footer__inner {
	max-width: var(--ve-container);
	margin: 0 auto;
	padding: 56px 24px 40px;
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr;
	gap: 48px;
}

.ve-footer__logo img {
	display: block;
	height: 44px;
	width: auto;
	margin-bottom: 22px;
	filter: brightness(0) invert(1);
}

.ve-site .ve-footer__title {
	margin: 0 0 12px;
	color: #fff;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
}

.ve-footer__text {
	margin: 0 0 22px;
	max-width: 460px;
	font-size: 15px;
	line-height: 24px;
}

.ve-site .ve-footer__heading {
	margin: 0 0 16px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ve-footer__menu,
.ve-footer__menu ul,
.ve-footer__contacts,
.ve-footer__social {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ve-footer__menu .sub-menu {
	display: none;
}

.ve-footer__menu li {
	margin-bottom: 10px;
}

.ve-footer__menu a {
	color: rgba(255, 255, 255, 0.88);
	font-size: 15px;
	text-decoration: none;
	transition: color .2s ease;
}

.ve-footer__menu a:hover {
	color: #fff;
	text-decoration: underline;
}

.ve-footer__contacts li {
	margin-bottom: 12px;
	font-size: 15px;
	line-height: 22px;
}

.ve-footer__contacts span {
	display: block;
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
}

.ve-footer__contacts a {
	color: #fff;
	text-decoration: none;
}

.ve-footer__contacts a:hover {
	text-decoration: underline;
}

.ve-footer__social {
	display: flex;
	gap: 12px;
	margin-top: 20px;
}

.ve-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #fff;
	transition: background-color .2s ease, color .2s ease;
}

.ve-footer__social a:hover {
	background: #fff;
	color: var(--ve-primary);
}

.ve-footer__bar {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ve-footer__bar-inner {
	max-width: var(--ve-container);
	margin: 0 auto;
	padding: 18px 24px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.6);
}

/* ---------- classic content (blog posts, non-Elementor pages) ---------- */

.ve-article__inner {
	max-width: 820px;
	margin: 0 auto;
	padding: 52px 24px;
}

.ve-article__title {
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 12px;
}

.ve-article__meta {
	margin: 0 0 24px;
	font-size: 14px;
	opacity: .7;
}

.ve-article__thumb {
	margin: 0 0 28px;
}

.ve-article__thumb img {
	display: block;
	width: 100%;
	height: auto;
}

.ve-article__content {
	font-size: 17px;
	line-height: 1.65;
}

.ve-article__content h2 { font-size: 28px; margin: 32px 0 12px; }
.ve-article__content h3 { font-size: 22px; margin: 26px 0 10px; }
.ve-article__content img { max-width: 100%; height: auto; }

.ve-archive__pagination {
	margin-top: 32px;
	text-align: center;
}

.ve-archive__pagination .page-numbers {
	display: inline-block;
	padding: 8px 14px;
	margin: 0 3px;
	border: 1px solid var(--ve-border);
	background: #fff;
	text-decoration: none;
}

.ve-archive__pagination .page-numbers.current {
	background: var(--ve-primary);
	color: #fff;
}

/* ---------- blog list ---------- */

.ve-blog-band {
	padding: 68px 24px 80px;
	text-align: center;
	background: var(--ve-page-bg);
}

.ve-site .ve-blog-band__title {
	margin: 0;
	font-family: var(--ve-font-serif);
	font-size: 64px;
	font-weight: 400;
	line-height: 1.25;
	color: rgb(28, 36, 64);
}

.ve-blog-band__desc {
	max-width: 720px;
	margin: 16px auto 0;
	font-size: 18px;
}

.ve-blog {
	background: #fff;
	padding: 60px 24px 80px;
}

.ve-blog__inner {
	max-width: 1224px;
	margin: 0 auto;
}

.ve-blog__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 48px 32px;
}

.ve-post-card__thumb {
	display: block;
	margin-bottom: 24px;
	overflow: hidden;
}

.ve-site .ve-post-card__thumb img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 5 / 3;
	object-fit: cover;
	transition: transform .3s ease;
}

.ve-post-card:hover .ve-post-card__thumb img {
	transform: scale(1.02);
}

.ve-site .ve-post-card__title {
	margin: 0 0 12px;
	font-family: var(--ve-font-serif);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
	color: rgb(28, 36, 64);
}

.ve-post-card__title a {
	text-decoration: none;
	color: inherit;
}

.ve-post-card__title a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ve-post-card__excerpt {
	margin: 0 0 12px;
	font-family: var(--ve-font-serif);
	font-size: 18px;
	line-height: 1.5;
}

.ve-post-card__meta {
	margin: 0;
	font-family: var(--ve-font-serif);
	font-size: 16px;
	color: rgba(28, 36, 71, 0.7);
}

.ve-post-card__meta span {
	margin: 0 6px;
}

.ve-blog__pagination {
	margin-top: 48px;
	text-align: center;
}

.ve-blog__pagination .page-numbers {
	display: inline-block;
	padding: 8px 14px;
	margin: 0 3px;
	border: 1px solid var(--ve-border);
	background: #fff;
	text-decoration: none;
	color: var(--ve-primary);
}

.ve-blog__pagination .page-numbers.current {
	background: var(--ve-primary);
	color: #fff;
}

.ve-blog__empty {
	text-align: center;
	font-size: 18px;
}
