/*
 * Shared components added with the SEO work (Nov 2026): location cards,
 * FAQ, WhatsApp button, trial CTA band, footer contact block, and the
 * try-out / city / Persian pages. Plain CSS because main.css (Tailwind)
 * can't be rebuilt. Classes are prefixed vg-.
 */

.vg-pb-0 { padding-bottom: 0 !important; }
.vg-narrow { max-width: 56rem; }

.vg-lead {
	max-width: 48rem;
	margin: .75rem 0 2rem;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--color-fg-muted);
}
.vg-note {
	margin-top: 1.25rem;
	font-size: .9rem;
	color: var(--color-fg-muted);
}

/* ---------- Locations ---------- */

.vg-loc-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	margin-top: 1.5rem;
}
.vg-loc-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vg-loc { padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.vg-loc:hover { transform: none; }
.vg-loc__city {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--text-display-sm);
	line-height: 1.1;
	color: var(--color-primary);
}
.vg-loc__city svg { color: var(--color-secondary); flex-shrink: 0; }
.vg-loc__city a { color: inherit; text-decoration: none; }
.vg-loc__city a:hover { text-decoration: underline; }
.vg-loc__venue { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--color-fg-muted); }
.vg-loc__venue strong { color: var(--color-fg); }
.vg-loc__schedule {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--color-border);
}
.vg-loc__schedule li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: .55rem 0;
	border-bottom: 1px solid var(--color-border);
	font-size: .95rem;
}
.vg-loc__schedule li span:first-child { font-weight: 700; color: var(--color-fg); }
.vg-loc__schedule li span:last-child { color: var(--color-fg-muted); white-space: nowrap; }
.vg-loc__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: .5rem 1rem;
	margin: auto 0 0;
	font-size: .85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
}
.vg-loc__links a { color: var(--color-primary); text-decoration: none; }
.vg-loc__links a:hover { text-decoration: underline; }

.vg-city-loc {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 1.5rem;
	margin-top: 1.5rem;
	align-items: start;
}
.vg-map {
	position: relative;
	min-height: 340px;
	height: 100%;
	overflow: hidden;
	border-radius: var(--radius-xl);
	border: 1px solid var(--color-border);
	background: var(--color-surface-2);
}
.vg-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.vg-hero-facts {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
}
.vg-hero-facts li {
	padding: .35rem .8rem;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 9999px;
	font-size: .9rem;
	color: #fff;
}

/* ---------- Programs by age ---------- */

.vg-prog-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
	margin-top: 1.5rem;
}
.vg-prog { padding: 1.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.vg-prog h3 { margin: .25rem 0 0; font-family: var(--font-display); font-size: var(--text-display-xs); color: var(--color-fg); }
.vg-prog h3 a { color: inherit; text-decoration: none; }
.vg-prog p { margin: 0; color: var(--color-fg-muted); font-size: .95rem; line-height: 1.55; }
.vg-prog__more {
	margin-top: auto;
	padding-top: .5rem;
	font-size: .85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--color-primary);
	text-decoration: none;
}

/* ---------- Lists, steps ---------- */

.vg-two {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2.5rem;
	margin-top: 3.5rem;
}
.section > .vg-two:first-child { margin-top: 0; }
.vg-checks { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.vg-checks--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; }
.vg-checks li {
	position: relative;
	padding-left: 1.75rem;
	font-weight: 600;
	color: var(--color-fg);
}
.vg-checks li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 800;
	color: var(--color-secondary);
}
.vg-steps { margin: 1rem 0 0; padding: 0; list-style: none; counter-reset: vgstep; display: grid; gap: 1rem; }
.vg-steps li {
	counter-increment: vgstep;
	position: relative;
	padding-left: 3rem;
	min-height: 2.25rem;
}
.vg-steps li::before {
	content: counter(vgstep);
	position: absolute;
	left: 0;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 9999px;
	background: var(--color-brand-orange-500);
	color: #fff;
	font-family: var(--font-display);
	font-size: 1.1rem;
}
.vg-steps strong { display: block; color: var(--color-fg); }
.vg-steps span { color: var(--color-fg-muted); font-size: .95rem; }

.vg-facts { margin: 1.5rem 0 0; display: grid; gap: .75rem; font-size: .9rem; }
.vg-facts div { display: grid; grid-template-columns: 4.5rem 1fr; gap: .5rem; }
.vg-facts dt { font-weight: 700; color: var(--color-fg); }
.vg-facts dd { margin: 0; color: var(--color-fg-muted); }
.vg-facts a { color: var(--color-primary); }
.vg-contact-card:hover { transform: none; }

/* ---------- WhatsApp button ---------- */

.vg-wa {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	padding: .55rem 1.15rem .55rem .9rem;
	border-radius: 9999px;
	background: #25d366;
	color: #0b2e17 !important;
	font-weight: 800;
	line-height: 1.1;
	text-decoration: none;
	transition: transform .15s ease, background .15s ease;
}
.vg-wa:hover { background: #1fbe5b; transform: translateY(-1px); }
.vg-wa span { display: flex; flex-direction: column; }
.vg-wa small { font-size: .75rem; font-weight: 600; opacity: .85; }
.vg-wa__icon { flex-shrink: 0; }
.vg-wa--block { display: flex; width: 100%; justify-content: center; }

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

.vg-faq { margin-top: 1.5rem; display: grid; gap: .75rem; }
.vg-faq__item {
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	background: var(--color-bg);
}
.vg-faq__item summary {
	position: relative;
	padding: 1rem 3rem 1rem 1.25rem;
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--color-fg);
	cursor: pointer;
	list-style: none;
}
.vg-faq__item summary::-webkit-details-marker { display: none; }
.vg-faq__item summary::after {
	content: "+";
	position: absolute;
	right: 1.25rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	font-weight: 400;
	color: var(--color-secondary);
}
.vg-faq__item[open] summary::after { content: "–"; }
.vg-faq__item p { margin: 0; padding: 0 1.25rem 1.1rem; line-height: 1.65; color: var(--color-fg-muted); }

.vg-faq--dark .vg-faq__item { background: #241138; border-color: #613883; }
.vg-faq--dark .vg-faq__item summary { color: #fff; }
.vg-faq--dark .vg-faq__item p { color: #d0c3d8; }
.hm-faq { background: #100720; }
.hm-faq .vg-faq { max-width: 900px; }

/* ---------- Trial CTA band ---------- */

.vg-cta {
	padding: 3.5rem 0;
	background: linear-gradient(100deg, var(--color-brand-purple-700), #4b1f7a);
	color: #fff;
}
.vg-cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 2.5rem;
}
.vg-cta__title { margin: 0; font-family: var(--font-display); font-size: var(--text-display-lg); line-height: 1.05; }
.vg-cta__text { max-width: 40rem; margin: .6rem 0 0; color: var(--color-brand-lavender-100); }
.vg-cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* ---------- Footer contact (NAP) ---------- */

.vg-footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, .9fr);
	gap: 2.5rem;
}
.vg-nap {
	margin-top: 1.25rem;
	font-style: normal;
	font-size: .875rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, .85);
}
.vg-nap a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.vg-footer-locs { margin: 0; padding: 0; list-style: none; display: grid; gap: 1rem; font-size: .85rem; }
.vg-footer-locs li { display: flex; flex-direction: column; gap: .15rem; color: rgba(255, 255, 255, .72); }
.vg-footer-locs a { font-weight: 700; color: #fff; text-decoration: none; font-size: .95rem; }
.vg-footer-locs a:hover { text-decoration: underline; }

/* ---------- Home additions (dark theme) ---------- */

.hm-hero__h1 { margin: 0; font: inherit; }
.hm-hero__h1 .hm-hero__title { display: block; }
.hm-loc h3 a { color: inherit; }
.hm-loc h3 a:hover { text-decoration: underline; }
.hm-loc__times { margin: 14px 0 0; padding: 0; list-style: none; border-top: 1px solid #4a2a68; }
.hm-loc__times li {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid #4a2a68;
	font-size: 14px;
	color: #d0c3d8;
}
.hm-loc__times li span:first-child { font-weight: 700; color: #fff; }
.hm-loc__more { display: inline-block; margin-top: 16px; font-weight: 800; color: #ff9435 !important; }

/* ---------- Program pages: content typography (no Tailwind prose build) ---------- */

.single-vgsa_program #program-details article > * + * { margin-top: 1rem; }
.single-vgsa_program #program-details article h2 {
	margin-top: 2rem;
	font-family: var(--font-display);
	font-size: var(--text-display-md);
	line-height: 1.1;
	color: var(--color-primary);
}
.single-vgsa_program #program-details article h3 {
	margin-top: 1.5rem;
	font-family: var(--font-display);
	font-size: var(--text-display-xs);
	color: var(--color-primary);
}
.single-vgsa_program #program-details article ul { padding-left: 1.25rem; list-style: disc; }
.single-vgsa_program #program-details article li + li { margin-top: .35rem; }
.single-vgsa_program #program-details article p,
.single-vgsa_program #program-details article li { line-height: 1.7; color: var(--color-fg); }
.single-vgsa_program #program-details article a { color: var(--color-primary); text-decoration: underline; }

/* ---------- Persian page ---------- */

.vg-fa,
.vg-fa .font-display,
.vg-fa .vg-cta__title,
.vg-fa .vg-loc__city,
.vg-fa .btn { font-family: "Vazirmatn", Tahoma, "Segoe UI", system-ui, sans-serif; }
.vg-fa .vg-prog h3 { font-family: var(--font-display); }
.vg-fa__eyebrow { display: inline-block; font-size: .95rem; font-weight: 700; color: var(--color-brand-orange-300); }
.vg-fa__h1 { margin: .5rem 0 0; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; line-height: 1.35; }
.vg-fa__lead { max-width: 46rem; margin: 1rem 0 0; font-size: 1.1rem; line-height: 2; color: var(--color-brand-lavender-100); }
.vg-fa__h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; line-height: 1.4; color: var(--color-primary); }
.vg-fa .vg-lead,
.vg-fa .vg-faq__item p { line-height: 2; }
.vg-fa .vg-faq__item summary { padding: 1rem 1.25rem 1rem 3rem; }
.vg-fa .vg-faq__item summary::after { right: auto; left: 1.25rem; }
.vg-fa .vg-loc__venue { text-align: left; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
	.vg-prog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vg-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.vg-loc-grid,
	.vg-loc-grid--2,
	.vg-city-loc,
	.vg-two { grid-template-columns: 1fr; }
	.vg-map { min-height: 300px; }
}
@media (max-width: 600px) {
	.vg-prog-grid,
	.vg-footer-grid,
	.vg-checks--cols { grid-template-columns: 1fr; }
	.vg-cta__title { font-size: var(--text-display-md); }
}
