/* =========================================================
   VYTAUTAS EVENT – case-study (project detail) sections
   ========================================================= */

.ve-case {
	max-width: 1224px;
	margin: 0 auto;
	padding: 0 24px;
	--case-ink: rgb(28, 36, 64);
	--case-muted: #5b617a;
	--case-line: rgba(28, 36, 71, 0.15);
	--case-card: #f6f6fb;
	--case-radius: 14px;
}

.ve-case-section {
	padding: 28px 0;
}

.ve-case-label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #7c8199;
}

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

.ve-site .ve-case-h2 {
	margin: 0 0 16px;
	font-family: var(--ve-font-serif);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.5px;
	color: var(--case-ink);
}

.ve-site .ve-case-h3 {
	margin: 0 0 10px;
	font-family: var(--ve-font-serif);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--case-ink);
}

.ve-case-intro,
.ve-case-copy p,
.ve-case-columns p,
.ve-case .ve-rich p {
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.65;
}

.ve-case-copy p:last-child,
.ve-case .ve-rich p:last-child {
	margin-bottom: 0;
}

.ve-case-intro {
	max-width: 760px;
	margin-bottom: 24px;
}

/* pill buttons */
.ve-case-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 999px;
	border: 1px solid var(--ve-primary);
	background: var(--ve-primary);
	color: #fff !important;
	font-family: var(--ve-font);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

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

.ve-case-btn--ghost {
	background: transparent;
	color: var(--ve-primary) !important;
	border-color: rgba(28, 36, 71, 0.3);
}

.ve-case-btn--ghost:hover {
	background: #fff;
}

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

.ve-case-hero {
	padding: 24px 0 8px;
}

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

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

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

.ve-case-crumbs__current {
	font-weight: 400;
}

.ve-case-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 464px;
	gap: 64px;
	align-items: center;
	padding-bottom: 40px;
}

.ve-site .ve-case-hero__title {
	margin: 0 0 20px;
	font-family: var(--ve-font-serif);
	font-size: 52px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -1.5px;
	color: var(--case-ink);
}

.ve-case-hero__lead {
	max-width: 560px;
	margin: 0 0 28px;
	font-size: 15px;
	line-height: 1.6;
}

.ve-site .ve-case-hero__img {
	display: block;
	width: 100%;
	height: 340px;
	object-fit: cover;
	border-radius: 16px;
	box-shadow: 0 24px 60px rgba(28, 36, 71, 0.18);
}

/* ---------- facts ---------- */

.ve-case-facts {
	padding: 0 0 24px;
}

.ve-case-facts__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0;
	border-top: 1px solid var(--case-line);
	border-bottom: 1px solid var(--case-line);
}

.ve-case-facts__cell {
	padding: 20px 24px;
	border-left: 1px solid var(--case-line);
}

.ve-case-facts__cell:first-child {
	border-left: 0;
	padding-left: 0;
}

.ve-case-facts dt {
	margin-bottom: 6px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #8a8fa6;
}

.ve-case-facts dd {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--case-ink);
}

/* ---------- text variants ---------- */

.ve-case-copy {
	max-width: 820px;
}

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

.ve-case-result {
	padding: 24px 28px;
	background: var(--case-card);
	border-radius: var(--case-radius);
	box-shadow: 0 12px 30px rgba(28, 36, 71, 0.08);
}

.ve-case-section--result {
	padding-bottom: 40px;
}

/* ---------- work cards / steps ---------- */

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

.ve-case-work__card {
	padding: 22px 24px;
	border: 1px solid rgba(28, 36, 71, 0.16);
	border-radius: var(--case-radius);
}

.ve-case-work__marker {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	margin-bottom: 12px;
	padding: 0 6px;
	border: 1px solid rgba(28, 36, 71, 0.2);
	border-radius: 999px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--case-ink);
}

.ve-case-work__card p,
.ve-case-steps p {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--case-muted);
}

.ve-case-work__card .ve-case-h3 {
	font-size: 18px;
}

.ve-case-steps {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
	border-top: 1px solid var(--case-line);
}

.ve-case-steps li {
	display: flex;
	gap: 28px;
	align-items: flex-start;
	padding: 18px 0;
	border-bottom: 1px solid var(--case-line);
}

.ve-case-steps__num {
	flex: 0 0 32px;
	font-size: 13px;
	font-weight: 600;
	color: var(--case-ink);
}

.ve-case-steps .ve-case-h3 {
	margin-bottom: 4px;
	font-size: 18px;
}

/* ---------- gallery ---------- */

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

.ve-case-gallery--first-large .ve-case-gallery__item:first-child {
	grid-column: 1 / -1;
}

.ve-site .ve-case-gallery__item {
	margin: 0;
	overflow: hidden;
	border-radius: var(--case-radius);
}

.ve-case-gallery__item a {
	display: block;
}

.ve-site .ve-case-gallery__item img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	transition: transform .3s ease;
}

.ve-case-gallery--first-large .ve-case-gallery__item:first-child img {
	aspect-ratio: 16 / 9;
}

.ve-case-gallery__item a:hover img {
	transform: scale(1.02);
}

/* ---------- related ---------- */

.ve-case-related {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 24px 28px;
	border: 1px solid rgba(28, 36, 71, 0.16);
	border-radius: var(--case-radius);
}

.ve-case-related .ve-case-h3 {
	margin-bottom: 6px;
}

.ve-case-related .ve-case-btn {
	flex: 0 0 auto;
}

.ve-case-more {
	margin: 24px 0 0;
	text-align: center;
}

/* ---------- FAQ rows variant ---------- */

.ve-faq--rows .ve-faq__inner {
	max-width: 1176px;
	margin: 0 auto;
}

.ve-faq--rows .ve-faq__item {
	margin: 0;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--case-line);
	border-radius: 0;
}

.ve-faq--rows .ve-faq__item:first-of-type {
	border-top: 1px solid var(--case-line);
}

.ve-faq--rows .ve-faq__question {
	padding: 20px 0;
	font-size: 15px;
}

.ve-faq--rows .ve-faq__icon {
	width: 30px;
	height: 30px;
	border: 1px solid rgba(28, 36, 71, 0.25);
	border-radius: 50%;
	font-size: 16px;
}

.ve-faq--rows .ve-faq__answer {
	padding: 0 0 22px;
	max-width: 760px;
}

.ve-faq--rows .ve-faq__answer p {
	font-size: 14px;
	line-height: 1.65;
	color: var(--case-muted);
}

/* ---------- CTA card variant ---------- */

.ve-cta--card {
	max-width: 1176px;
	margin: 24px auto 64px;
	padding: 56px 40px;
	border-radius: 20px;
	background: #f6f6fb;
	border-color: rgba(28, 36, 71, 0.07);
	box-shadow: 0 24px 60px rgba(28, 36, 71, 0.10);
}

.ve-cta--card::before,
.ve-cta--card::after {
	background: transparent;
	border: 1px solid rgba(28, 36, 71, 0.12);
}

.ve-cta--card .ve-case-label {
	justify-content: center;
}

.ve-site .ve-cta--card .ve-cta__title {
	margin-bottom: 10px;
	font-family: var(--ve-font-serif);
	font-size: 36px;
	font-weight: 700;
	letter-spacing: -1px;
	color: rgb(28, 36, 64);
}

.ve-cta--card .ve-cta__text {
	font-size: 15px;
	margin-bottom: 24px;
}

.ve-cta__buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

/* =========================================================
   Portfolio (Projektai page)
   ========================================================= */
.ve-pf__inner {
	max-width: 1224px;
	margin: 0 auto;
	padding: 0 24px;
}

/* intro + filter */
.ve-pf-intro { padding: 40px 0 8px; }
.ve-pf-intro__inner {
	max-width: 1224px;
	margin: 0 auto;
	padding: 0 24px 8px;
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.ve-site .ve-pf-intro__title { margin: 0 0 14px; }
.ve-site .ve-pf-intro__lead { margin: 0; max-width: 720px; }
.ve-pf-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.ve-pf-filter__btn {
	padding: 9px 14px;
	border: 1px solid rgba(28, 36, 71, 0.25);
	background: transparent;
	color: var(--ve-primary);
	font-family: var(--ve-font);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.ve-pf-filter__btn:hover { border-color: var(--ve-primary); }
.ve-pf-filter__btn.is-active { background: var(--ve-primary); border-color: var(--ve-primary); color: #fff; }

/* project row */
.ve-pf { padding: 56px 0; border-bottom: 1px solid rgba(28, 36, 71, 0.15); }
.ve-pf__inner { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 56px; align-items: start; }
.ve-pf__sticky { position: sticky; top: 96px; }
.ve-pf__index {
	display: block;
	margin-bottom: 14px;
	font-family: var(--ve-font-serif);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #8a8fa6;
}
.ve-site .ve-pf__title { margin: 0 0 18px; font-size: 30px; line-height: 1.2; }
.ve-pf__facts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 20px;
	margin: 0 0 20px;
	padding: 16px 0;
	border-top: 1px solid rgba(28, 36, 71, 0.15);
	border-bottom: 1px solid rgba(28, 36, 71, 0.15);
}
.ve-pf__facts dt {
	font-family: var(--ve-font);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #8a8fa6;
	margin-bottom: 3px;
}
.ve-pf__facts dd { margin: 0; font-size: 14px; font-weight: 500; color: rgb(28, 36, 64); }
.ve-site .ve-pf__text p { font-size: 15px; line-height: 1.65; margin: 0 0 14px; }
.ve-site .ve-pf__text p:last-child { margin: 0; }
.ve-pf__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 20px;
	padding-bottom: 2px;
	border-bottom: 1px solid rgba(28, 36, 71, 0.3);
	font-family: var(--ve-font);
	font-size: 14px;
	font-weight: 600;
	color: var(--ve-primary);
	text-decoration: none;
	transition: border-color .2s ease, gap .2s ease;
}
.ve-pf__link:hover { border-color: var(--ve-primary); gap: 12px; }

/* gallery tiles */
.ve-pf__gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}
.ve-site .ve-pf__tile { margin: 0; position: relative; overflow: hidden; border-radius: 10px; background: rgba(28, 36, 71, 0.06); }
.ve-pf__tile--lead { grid-column: 1 / -1; }
.ve-pf__tile a { display: block; height: 100%; }
.ve-site .ve-pf__tile img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform .35s ease;
}
.ve-pf__tile--lead img { aspect-ratio: 16 / 9; }
.ve-pf__tile a:hover img { transform: scale(1.03); }
.ve-pf__more {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: rgba(28, 36, 71, 0.62);
	color: #fff;
	font-family: var(--ve-font-serif);
	font-size: 34px;
	font-weight: 700;
	line-height: 1;
}
.ve-pf__more small { margin-top: 6px; font-family: var(--ve-font); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.ve-pf__hidden { display: none; }

@media (max-width: 1024px) {
	.ve-pf__inner { grid-template-columns: 300px minmax(0, 1fr); gap: 32px; }
	.ve-pf-intro__inner { grid-template-columns: 1fr; }
	.ve-pf-filter { justify-self: start; }
}
@media (max-width: 767px) {
	.ve-pf { padding: 36px 0; }
	.ve-pf__inner { grid-template-columns: 1fr; gap: 22px; padding: 0 18px; }
	.ve-pf__sticky { position: static; }
	.ve-site .ve-pf__title { font-size: 24px; }
	.ve-pf__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.ve-pf__more { font-size: 26px; }
	.ve-pf-intro__inner { padding: 0 18px 24px; }
}

/* ---------- project cards ---------- */
.ve-pg { padding: 32px 0 80px; }
.ve-pg__inner { max-width: 1224px; margin: 0 auto; padding: 0 24px; }
.ve-pg__grid { display: grid; gap: 28px 24px; }
.ve-pg__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ve-pg__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ve-pg__card { display: flex; flex-direction: column; }
.ve-pg__cover {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 12px;
	background: rgba(28, 36, 71, 0.06);
}
.ve-site .ve-pg__cover img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform .35s ease;
}
.ve-pg__cover:hover img { transform: scale(1.03); }
.ve-pg__count {
	position: absolute;
	right: 12px;
	bottom: 12px;
	padding: 5px 9px;
	background: rgba(28, 36, 71, 0.75);
	color: #fff;
	font-family: var(--ve-font);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: 4px;
}
.ve-pg__body { padding: 18px 4px 0; display: flex; flex-direction: column; flex: 1; }
.ve-pg__cat {
	margin-bottom: 8px;
	font-family: var(--ve-font);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #7c8199;
}
.ve-site .ve-pg__title { margin: 0 0 6px; font-family: var(--ve-font-serif); font-size: 22px; font-weight: 700; line-height: 1.25; color: rgb(28, 36, 64); }
.ve-pg__meta { margin: 0 0 10px; font-family: var(--ve-font); font-size: 13px; font-weight: 500; color: #5b617a; }
.ve-site .ve-pg__text {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ve-pg__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ve-pg__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding-bottom: 2px;
	border-bottom: 1px solid rgba(28, 36, 71, 0.3);
	font-family: var(--ve-font);
	font-size: 14px;
	font-weight: 600;
	color: var(--ve-primary);
	text-decoration: none;
	transition: border-color .2s ease;
}
.ve-pg__link:hover { border-color: var(--ve-primary); }
@media (max-width: 1024px) { .ve-pg__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .ve-pg { padding: 20px 0 48px; } .ve-pg__inner { padding: 0 18px; } .ve-pg__grid--3, .ve-pg__grid--2 { grid-template-columns: 1fr; gap: 28px; } }
