/* Vedic Art 108 Testimonials — editorial layout */

.vat {
	--vat-gold: #f9a11d;                 /* logo / theme orange */
	--vat-gold-text: #a8650a;            /* same hue, darkened for legible small text (4.6:1 on white) */
	--vat-gold-line: rgba(249, 161, 29, .38);
	--vat-cream: #fff9e9;                /* the site's cream row colour */
	--vat-ink: #625c55;                  /* warm grey, a touch darker than the theme's #777 headings */
	--vat-muted: #8c857c;
	--vat-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--vat-sans: Lato, 'Open Sans', sans-serif;
	/* Up to 1080px wide. Between 1201 and 1599px the theme pads the content column by 240px a side
	 * (leaving ~785px), which would squeeze two columns of serif text; the section widens into that
	 * padding instead, centred, never past the viewport minus 48px a side. */
	--vat-w: min(1080px, max(100%, calc(100vw - 96px)));
	width: var(--vat-w);
	margin-left: calc((100% - var(--vat-w)) / 2);
	text-align: left;
}

/* Small ornament under the section heading: two hairlines and a gold diamond. */
.vat-ornament {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: 0 auto 44px;
}
.vat-ornament span {
	width: 56px;
	height: 1px;
	background: var(--vat-gold-line);
}
.vat-ornament i {
	width: 7px;
	height: 7px;
	background: var(--vat-gold);
	transform: rotate(45deg);
}

.vat-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
	gap: 56px;
	align-items: stretch;
}
.vat-grid.vat-solo { grid-template-columns: minmax(0, 760px); justify-content: center; }

.vat-item {
	margin: 0;
	padding: 0;
}

/* ---- quote text ---- */
.vat .vat-quote {
	margin: 0;
	padding: 0;
	border: 0;
	quotes: none;
	font-family: var(--vat-serif);
	font-style: italic;
	font-weight: 400;
	font-size: 18px;
	line-height: 1.75;
	letter-spacing: .005em;
	color: var(--vat-ink);
}
.vat .vat-quote::before,
.vat .vat-quote::after { content: none; }
.vat .vat-quote p {
	margin: 0 0 1em;
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
}
.vat .vat-quote p:last-child { margin-bottom: 0; }

/* ---- attribution ---- */
.vat-cite {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	margin-top: 22px;
	font-family: var(--vat-sans);
	font-style: normal;
	font-size: 13px;
	line-height: 1.4;
}
.vat-cite::before {
	content: '';
	width: 28px;
	height: 1px;
	background: var(--vat-gold);
}
.vat-name {
	color: var(--vat-gold-text);
	text-transform: uppercase;
	letter-spacing: .16em;
}
.vat-place {
	color: var(--vat-muted);
	letter-spacing: .04em;
}
.vat-place::before {
	content: '·';
	margin-right: 12px;
	color: var(--vat-gold);
}

/* ---- featured: cream panel with a fine inset rule, like a mounted print ---- */
.vat-featured {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 78px 56px 52px;
	background: var(--vat-cream);
	outline: 1px solid var(--vat-gold-line);
	outline-offset: -14px;
}
.vat-featured::before {
	content: '\201C';
	position: absolute;
	top: 18px;
	left: 40px;
	font-family: var(--vat-serif);
	font-style: normal;
	font-size: 120px;
	line-height: 1;
	color: var(--vat-gold);
	opacity: .32;
	pointer-events: none;
}
.vat-featured .vat-quote { position: relative; }

/* ---- supporting quotes: separated by gold hairlines, column stretched to the panel's height ---- */
.vat-list {
	display: flex;
	flex-direction: column;
}
.vat-list .vat-item {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 30px 0;
	border-top: 1px solid var(--vat-gold-line);
}
.vat-list .vat-item:first-child { padding-top: 6px; border-top: 0; }
.vat-list .vat-item:last-child { padding-bottom: 6px; }

/* Many testimonials: the supporting quotes flow into two balanced columns under the featured one. */
.vat-many .vat-grid { grid-template-columns: 1fr; }
.vat-many .vat-list {
	display: block;
	columns: 2;
	column-gap: 56px;
}
.vat-many .vat-list .vat-item {
	break-inside: avoid;
	border-top: 0;
	border-bottom: 1px solid var(--vat-gold-line);
	padding: 24px 0;
}

/* ---- "Continue reading" (phones only) ---- */
.vat .vat-more {
	all: unset;
	display: none;
	align-self: flex-start;
	margin-top: 16px;
	cursor: pointer;
	font-family: var(--vat-sans);
	font-size: 12px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--vat-gold-text);
	border-bottom: 1px solid var(--vat-gold-line);
	padding-bottom: 2px;
}
.vat .vat-more:hover { border-bottom-color: var(--vat-gold); }
.vat .vat-more:focus-visible { outline: 2px solid var(--vat-gold); outline-offset: 3px; }

/* ---- responsive ---- */
@media (max-width: 1000px) {
	.vat-grid { gap: 40px; }
	.vat-featured { padding: 72px 40px 44px; }
}
@media (max-width: 767px) {
	.vat-ornament { margin-bottom: 32px; }
	.vat-grid { grid-template-columns: 1fr; gap: 28px; }
	.vat .vat-quote { font-size: 17px; line-height: 1.7; }
	.vat-featured { padding: 64px 26px 36px; outline-offset: -10px; }
	.vat-featured::before { top: 12px; left: 22px; font-size: 96px; }
	.vat-list .vat-item:first-child { padding-top: 6px; }
	.vat-many .vat-list { columns: 1; }
	.vat-js .vat-collapsible .vat-more { display: inline-block; }
	.vat-js .vat-collapsible:not(.is-open) .vat-rest { display: none; }
}
