/**
 * Veltiara V-Story shell — minimal, shell-specific spacing only (spec §4.3).
 * Loaded only on active V-Story responses. Typography, colors, and fonts come
 * from Kadence global styles; this file owns layout rhythm and the gallery grid.
 */

/**
 * Shared FAQ Q&A hierarchy — public V-Story shell + wizard preview.
 * Wrapper-specific classes (veltiara-vstory__faq*, vstory-final-step__faq*) stay for layout context.
 */
.vstory-faq-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.vstory-faq-item {
	margin: 0;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.vstory-faq-item:first-child {
	padding-top: 0;
	border-top: none;
}

.vstory-faq-question {
	margin: 0 0 0.625rem;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.01em;
}

.vstory-faq-answer {
	margin: 0;
	font-weight: 400;
	line-height: 1.65;
}

.vstory-faq-answer p {
	margin: 0 0 0.75rem;
}

.vstory-faq-answer p:last-child {
	margin-bottom: 0;
}

.vstory-faq-answer--pending {
	font-style: italic;
	opacity: 0.72;
}

.veltiara-vstory {
	--vstory-max: 48rem;
	--vstory-gap: 1.5rem;
	--vstory-radius: 14px;
	margin: 0 auto;
	padding: 2rem 1.25rem 3rem;
	max-width: var(--vstory-max);
}

.veltiara-vstory__owner-nav {
	margin: 0 0 1rem;
}

.veltiara-vstory__inner {
	display: flex;
	flex-direction: column;
	gap: var(--vstory-gap);
}

.veltiara-vstory__hero {
	margin: 0;
}

.veltiara-vstory__hero-img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--vstory-radius);
}

.veltiara-vstory__header {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.veltiara-vstory__badge {
	display: inline-block;
	align-self: flex-start;
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	background: #f2e7ff;
	color: #5b2a86;
}

.veltiara-vstory__headline {
	margin: 0;
	font-size: 1.85rem;
	line-height: 1.2;
	font-weight: 600;
}

.veltiara-vstory__body > p {
	margin: 0 0 1rem;
}

.veltiara-vstory__body > p:last-child {
	margin-bottom: 0;
}

.veltiara-vstory__faq-title {
	margin: 0 0 1rem;
	font-size: 1.35rem;
}

.veltiara-vstory__faq .vstory-faq-question {
	font-size: 1.05rem;
}

.veltiara-vstory__content {
	display: flex;
	flex-direction: column;
	gap: var(--vstory-gap);
}

.veltiara-vstory__language-badge {
	display: inline-block;
	align-self: flex-start;
	padding: 0.15em 0.6em;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	opacity: 0.7;
}

.veltiara-vstory__gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.veltiara-vstory__gallery-item {
	margin: 0;
}

.veltiara-vstory__gallery-img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: calc(var(--vstory-radius) - 4px);
}

.veltiara-vstory__gallery-item figcaption {
	margin-top: 0.35rem;
	font-size: 0.85rem;
	opacity: 0.85;
}

.vstory-shell-gallery {
	margin-top: 1.5rem;
}

.vstory-shell-gallery__title {
	margin: 0 0 0.75rem;
	font-size: 1.125rem;
	font-weight: 600;
}

.vstory-shell-gallery__list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.vstory-shell-gallery__item {
	margin: 0;
}

.vstory-shell-gallery__image,
.vstory-shell-gallery__video {
	display: block;
	width: 100%;
	border-radius: calc(var(--vstory-radius) - 4px);
}

.vstory-shell-gallery__image {
	height: auto;
}

.vstory-shell-gallery__video {
	max-height: 20rem;
	background-color: #1a1a1a;
}

.vstory-shell-gallery__caption {
	margin-top: 0.35rem;
	font-size: 0.85rem;
	opacity: 0.85;
}

.veltiara-vstory__meta {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.veltiara-vstory__meta-lang {
	display: inline-block;
	padding: 0.15em 0.6em;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	opacity: 0.7;
}

@media (min-width: 600px) {
	.veltiara-vstory__gallery {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 768px) {
	.veltiara-vstory__headline {
		font-size: 2.4rem;
		line-height: 1.15;
	}

	.vstory-shell-gallery__list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.75rem;
	}
}
