/* =========================================================
   VYTAUTAS EVENT – single blog post
   ========================================================= */

.ve-post {
	--post-ink: rgb(28, 36, 64);
	--post-muted: #5b617a;
	--post-line: rgba(28, 36, 71, 0.15);
	--post-card: #f6f6fb;
	--post-radius: 18px;
	padding: 24px 0 90px;
}

.ve-post__container {
	max-width: 1224px;
	margin: 0 auto;
	padding: 0 24px;
}

/* small uppercase labels */
.ve-post-label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--ve-font);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #7c8199;
}

.ve-post-label--line::before {
	content: "";
	width: 24px;
	height: 1px;
	background: var(--ve-primary);
}

.ve-post-num {
	display: block;
	margin-bottom: 8px;
	font-family: var(--ve-font);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	color: #8a8fa6;
}

/* ---------- breadcrumb ---------- */

.ve-post__crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 64px;
	font-size: 12px;
	font-weight: 600;
	color: #8a8fa6;
}

.ve-post__crumbs a {
	color: var(--ve-primary);
	text-decoration: none;
}

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

.ve-post__crumbs-current {
	font-weight: 400;
}

/* ---------- hero ---------- */

.ve-post__hero {
	max-width: 760px;
	margin: 0 auto 40px;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--post-line);
}

.ve-post__hero-text .ve-post-label {
	margin-bottom: 18px;
}

.ve-site .ve-post__headline {
	margin: 0 0 32px;
	font-family: var(--ve-font-serif);
	font-size: 72px;
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -2.5px;
	color: var(--post-ink);
}

.ve-post__lead {
	margin: 0 0 18px;
	max-width: 720px;
	font-size: 19px;
	line-height: 1.6;
}

.ve-post__meta {
	margin: 0;
	font-size: 14px;
	color: var(--post-muted);
}
.ve-post__meta span { margin: 0 8px; }

.ve-post__cover { margin: 0; }
.ve-site .ve-post__cover img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 14px;
}

.ve-post__card {
	position: relative;
	overflow: hidden;
	padding: 40px 34px;
	background: var(--post-card);
	border-radius: 20px;
	box-shadow: 0 24px 60px rgba(28, 36, 71, 0.12);
}

.ve-post__card::before {
	content: "";
	position: absolute;
	top: -110px;
	right: -60px;
	width: 220px;
	height: 220px;
	border: 1px solid rgba(28, 36, 71, 0.12);
	border-radius: 50%;
}

.ve-post__card-num {
	display: block;
	margin-bottom: 96px;
	font-family: var(--ve-font-serif);
	font-size: 22px;
	font-weight: 700;
	color: var(--post-ink);
}

.ve-site .ve-post__card-title {
	margin: 0 0 12px;
	font-family: var(--ve-font-serif);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--post-ink);
}

.ve-post__card p {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
}

/* ---------- layout: TOC + body ---------- */

.ve-post__layout {
	max-width: 760px;
	margin: 0 auto;
}

.ve-post__toc { display: none; }

.ve-post__toc ul {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
}

.ve-post__toc li {
	margin: 0 0 14px;
}

.ve-post__toc a {
	display: block;
	padding-left: 14px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--post-muted);
	text-decoration: none;
	transition: color .2s ease;
}

.ve-post__toc a:hover,
.ve-post__toc a.is-active {
	color: var(--post-ink);
	font-weight: 600;
}

.ve-post__body {
	max-width: none;
}

.ve-post__section {
	padding-bottom: 40px;
	margin-bottom: 40px;
	border-bottom: 1px solid var(--post-line);
}

.ve-post__section:last-child {
	border-bottom: 0;
	margin-bottom: 0;
}

.ve-site .ve-post__h2 {
	margin: 0 0 24px;
	font-family: var(--ve-font-serif);
	font-size: 42px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -1px;
	color: var(--post-ink);
}

.ve-post__prose p {
	margin: 0 0 20px;
	font-size: 17px;
	line-height: 1.75;
}

.ve-post__prose p:last-child {
	margin-bottom: 0;
}

.ve-post__prose ul:not([class]) {
	margin: 0 0 20px;
	padding-left: 22px;
	font-size: 17px;
	line-height: 1.7;
}

.ve-post__prose a {
	color: var(--ve-primary);
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ve-post__prose img {
	max-width: 100%;
	height: auto;
	border-radius: var(--post-radius);
}

.ve-site .ve-post__prose h3 {
	margin: 32px 0 12px;
	font-family: var(--ve-font-serif);
	font-size: 24px;
	font-weight: 700;
	color: var(--post-ink);
}

/* highlight card (+ icon) */
.ve-post-highlight {
	display: flex;
	gap: 22px;
	align-items: flex-start;
	margin: 32px 0 8px;
	padding: 28px 32px;
	background: var(--post-card);
	border-radius: var(--post-radius);
	box-shadow: 0 18px 45px rgba(28, 36, 71, 0.10);
}

.ve-post-highlight__icon {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--ve-primary);
	color: #fff;
	font-size: 22px;
	line-height: 1;
}

.ve-post-highlight strong {
	display: block;
	margin-bottom: 6px;
	font-family: var(--ve-font-serif);
	font-size: 20px;
	font-weight: 700;
	color: var(--post-ink);
}

.ve-post-highlight p {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--post-muted);
}

/* big callout */
.ve-post-callout {
	position: relative;
	overflow: hidden;
	margin: 32px 0 8px;
	padding: 48px 52px;
	background: var(--post-card);
	border-radius: 20px;
	box-shadow: 0 24px 60px rgba(28, 36, 71, 0.12);
}

.ve-post-callout::after {
	content: "";
	position: absolute;
	right: -70px;
	bottom: -120px;
	width: 220px;
	height: 220px;
	border: 1px solid rgba(28, 36, 71, 0.12);
	border-radius: 50%;
}

.ve-post-callout .ve-post-label {
	margin-bottom: 20px;
}

.ve-post__prose .ve-post-callout__title {
	margin: 0 0 16px;
	font-family: var(--ve-font-serif);
	font-size: 34px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.8px;
	color: var(--post-ink);
}

.ve-post-callout p:not(.ve-post-callout__title) {
	margin: 0;
	max-width: 620px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--post-muted);
}

/* check-grid cards */
.ve-post-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 32px 0 8px;
}

.ve-post-grid__card {
	min-height: 168px;
	padding: 22px 26px;
	border: 1px solid rgba(28, 36, 71, 0.16);
	border-radius: var(--post-radius);
}

.ve-site .ve-post-grid__card h3 {
	margin: 12px 0 8px;
	font-family: var(--ve-font-serif);
	font-size: 20px;
	font-weight: 700;
	color: var(--post-ink);
}

.ve-post-grid__card p {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--post-muted);
}

/* process rows */
.ve-post-process {
	list-style: none;
	margin: 32px 0 8px;
	padding: 0;
	border-top: 1px solid var(--post-line);
}

.ve-post-process li {
	display: flex;
	gap: 32px;
	align-items: flex-start;
	padding: 22px 0;
	border-bottom: 1px solid var(--post-line);
}

.ve-post-process__num {
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(28, 36, 71, 0.25);
	border-radius: 50%;
	font-size: 10px;
	font-weight: 600;
	color: var(--post-ink);
}

.ve-post-process strong {
	display: block;
	margin-bottom: 6px;
	font-family: var(--ve-font-serif);
	font-size: 20px;
	font-weight: 700;
	color: var(--post-ink);
}

.ve-post-process p {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--post-muted);
}

/* useful links */
.ve-post__links .ve-post-label {
	margin-bottom: 14px;
}

.ve-post__link-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.ve-post__link-card {
	position: relative;
	display: block;
	min-height: 170px;
	padding: 22px 24px 60px;
	border: 1px solid rgba(28, 36, 71, 0.16);
	border-radius: var(--post-radius);
	text-decoration: none;
	color: var(--post-ink);
	transition: background-color .2s ease, transform .2s ease;
}

.ve-post__link-card:hover {
	background: rgba(255, 255, 255, 0.45);
	transform: translateY(-2px);
}

.ve-post__link-card .ve-post-label {
	margin-bottom: 10px;
}

.ve-post__link-card strong {
	display: block;
	font-family: var(--ve-font-serif);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.ve-post__link-arrow {
	position: absolute;
	right: 24px;
	bottom: 22px;
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(28, 36, 71, 0.25);
	border-radius: 50%;
	font-size: 12px;
}

/* ---------- FAQ ---------- */

.ve-post__faq {
	margin-top: 40px;
	padding: 72px 0 24px;
	border-top: 1px solid var(--post-line);
}

.ve-post__faq .ve-post-label {
	margin-bottom: 14px;
}

.ve-post__faq-intro {
	margin: 0 0 40px;
	font-size: 15px;
	color: var(--post-muted);
}

.ve-post__faq-list {
	max-width: 760px;
	margin: 0 auto;
	border-top: 1px solid var(--post-line);
}

.ve-post__faq .ve-post__faq-item {
	margin: 0;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--post-line);
	border-radius: 0;
}

.ve-post__faq-q {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 24px 0;
	border: 0;
	background: transparent;
	font-family: var(--ve-font);
	font-size: 16px;
	font-weight: 600;
	color: var(--post-ink);
	text-align: left;
	cursor: pointer;
}

.ve-post__faq-icon {
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(28, 36, 71, 0.25);
	border-radius: 50%;
	font-size: 18px;
	font-weight: 400;
	background: transparent;
	transition: transform .25s ease, background-color .25s ease;
}

.ve-faq__item.is-open .ve-post__faq-icon {
	background: #fff;
	transform: rotate(45deg);
}

.ve-post__faq-a {
	padding: 0 0 28px;
	max-width: 720px;
}

.ve-post__faq-a p {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	color: var(--post-muted);
}

/* ---------- CTA ---------- */

.ve-post__cta {
	position: relative;
	overflow: hidden;
	margin-top: 72px;
	padding: 72px 40px;
	text-align: center;
	background: var(--post-card);
	border-radius: 20px;
	box-shadow: 0 24px 60px rgba(28, 36, 71, 0.10);
}

.ve-post__cta::before,
.ve-post__cta::after {
	content: "";
	position: absolute;
	width: 200px;
	height: 200px;
	border: 1px solid rgba(28, 36, 71, 0.12);
	border-radius: 50%;
}

.ve-post__cta::before { top: -120px; right: -60px; }
.ve-post__cta::after { bottom: -130px; left: -70px; }

.ve-site .ve-post__cta h2 {
	margin: 18px 0 14px;
	font-family: var(--ve-font-serif);
	font-size: 42px;
	font-weight: 700;
	letter-spacing: -1px;
	color: var(--post-ink);
}

.ve-post__cta p {
	margin: 0 0 32px;
	font-size: 15px;
	color: var(--post-muted);
}

.ve-post__cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px;
	border-radius: 999px;
	background: var(--ve-primary);
	color: #fff !important;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none !important;
	transition: transform .2s ease;
}

.ve-post__cta-btn:hover {
	transform: translateY(-2px);
}

/* reading layout: FAQ and CTA follow the same column */
.ve-post__faq .ve-post__container > .ve-post-label,
.ve-post__faq .ve-post__container > .ve-post__h2,
.ve-post__faq-intro { max-width: 760px; margin-left: auto; margin-right: auto; }
.ve-post__faq .ve-post__container > .ve-post-label { display: flex; }
.ve-post__cta { max-width: 760px; margin-left: auto; margin-right: auto; }
.ve-post__crumbs { max-width: 760px; margin-left: auto; margin-right: auto; margin-bottom: 40px; }
