/* Policy pages: banner, sticky sidebar, numbered document.
   Site tokens only - cream page, navy headings and icons, gold rules. */

.vvt-policy {
	--pol-line: var(--vv-line);

	background: var(--vv-cream);
	color: var(--vv-muted);
}

.vvt-policy .vvt-divider { color: var(--vv-gold); }

/* ----------------------------------------------------------- banner --- */

.vvt-pol-hero { position: relative; display: grid; text-align: center; }

/* Both children occupy the same grid cell: the artwork sets the band's height
   at its own aspect ratio - so it is never cropped - and the copy floats over
   it, centred inside the arch. A <picture> swaps in the square crop on phones. */
.vvt-pol-hero__art,
.vvt-pol-hero__inner { grid-area: 1 / 1; }

.vvt-pol-hero__art { z-index: 1; align-self: start; }
.vvt-pol-hero__art picture,
.vvt-pol-hero__art img { display: block; width: 100%; height: auto; }

.vvt-pol-hero__inner { z-index: 2; align-self: center; padding: 1rem 0; }

.vvt-pol-hero .vvt-divider { justify-content: center; margin: .8rem 0 .9rem; }
.vvt-pol-hero .vvt-divider svg { width: var(--vv-divider-w); }

.vvt-pol-hero__title {
	margin: 0;
	font-family: var(--vv-serif); font-weight: 700;
	font-size: var(--vv-h1);
	line-height: 1.16;
	color: var(--vv-ink);
}

.vvt-pol-hero__lede {
	max-width: 56ch; margin: 0 auto;
	font-size: .95rem; line-height: 1.85;
	color: var(--vv-ink);
}

/* -------------------------------------------------- sidebar + doc ----- */

.vvt-pol-body { padding: clamp(2rem, 4vw, 3rem) 0 clamp(2rem, 4vw, 3rem); }

.vvt-pol-body__grid {
	display: grid; grid-template-columns: minmax(0, 15.5rem) minmax(0, 1fr);
	gap: clamp(1.25rem, 2.5vw, 2rem);
	align-items: start;
}

/* ---- sidebar ---- */

.vvt-pol-side { position: sticky; top: 7.5rem; display: grid; gap: 1.25rem; }

.vvt-pol-nav,
.vvt-pol-help {
	background: #fffdf8;
	border: 1px solid var(--pol-line); border-radius: var(--vv-radius);
}

.vvt-pol-nav { padding: 1.6rem 0 .9rem; text-align: center; }

.vvt-pol-nav__title {
	margin: 0;
	font-family: var(--vv-serif); font-size: 1.12rem; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase;
	color: var(--vv-ink);
}

.vvt-pol-nav .vvt-divider { justify-content: center; margin: .5rem 0 1.1rem; }
.vvt-pol-nav .vvt-divider svg { width: 90px; }

.vvt-pol-nav ul { margin: 0; padding: 0; list-style: none; text-align: left; }

.vvt-pol-nav a {
	display: grid; grid-template-columns: 24px minmax(0, 1fr);
	gap: .8rem; align-items: center;
	padding: .8rem 1.25rem;
	border-left: 3px solid transparent;
	font-size: .88rem; font-weight: 500;
	color: var(--vv-ink);
	transition: background .2s var(--vv-ease), color .2s var(--vv-ease);
}

.vvt-pol-nav__ico { display: grid; place-items: center; color: var(--vv-navy); }
.vvt-pol-nav__ico svg { width: 21px; height: 21px; }

.vvt-pol-nav a:hover { background: var(--vv-cream); }

.vvt-pol-nav a.is-here {
	background: var(--vv-cream);
	border-left-color: var(--vv-gold);
	font-weight: 700; color: var(--vv-navy);
}

.vvt-pol-nav a.is-here .vvt-pol-nav__ico { color: var(--vv-gold-deep); }

/* ---- need help card ---- */

.vvt-pol-help { position: relative; overflow: hidden; padding: 1.5rem 1.4rem 0; }

.vvt-pol-help > *:not(.vvt-pol-help__art) { position: relative; z-index: 2; }

.vvt-pol-help h2 {
	margin: 0 0 .6rem;
	font-family: var(--vv-serif); font-size: var(--vv-h3); font-weight: 700;
	color: var(--vv-ink);
}

.vvt-pol-help p { margin: 0 0 1.2rem; font-size: .86rem; line-height: 1.75; }

.vvt-pol-help__btn {
	display: inline-flex; align-items: center; gap: .55rem;
	padding: .7rem 1.3rem;
	border: 1px solid var(--vv-gold); border-radius: var(--vv-radius);
	background: #fff;
	font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--vv-navy);
	transition: background .22s var(--vv-ease), color .22s var(--vv-ease);
}

.vvt-pol-help__btn:hover { background: var(--vv-navy); border-color: var(--vv-navy); color: #fff; }

/* Skyline sits under the card, as the reference does. */
.vvt-pol-help__art { display: block; margin-top: 1.25rem; opacity: .35; pointer-events: none; }
.vvt-pol-help__art img { width: 100%; height: auto; }

/* ---- the document ---- */

.vvt-pol-doc {
	padding: clamp(.5rem, 1.5vw, 1rem) clamp(1.25rem, 2.5vw, 2.25rem);
	background: #fffdf8;
	border: 1px solid var(--pol-line); border-radius: var(--vv-radius);
}

.vvt-pol-secs { margin: 0; padding: 0; list-style: none; }

.vvt-pol-secs > li {
	display: grid; grid-template-columns: 52px minmax(0, 1fr);
	gap: 1.1rem;
	padding: clamp(1.25rem, 2.2vw, 1.75rem) 0;
	border-bottom: 1px solid var(--pol-line);
}

.vvt-pol-secs > li:last-child { border-bottom: 0; }

.vvt-pol-secs__ico {
	display: grid; place-items: center;
	width: 52px; height: 52px;
	background: var(--vv-cream);
	border: 1px solid var(--vv-gold); border-radius: 50%;
	color: var(--vv-navy);
}

.vvt-pol-secs__ico svg { width: 23px; height: 23px; }

.vvt-pol-secs h2 {
	margin: 0 0 .5rem;
	font-family: var(--vv-serif); font-size: var(--vv-h3); font-weight: 700;
	line-height: 1.3;
	color: var(--vv-ink);
}

.vvt-pol-secs__body > p { margin: 0; font-size: .88rem; line-height: 1.75; }

.vvt-pol-bullets { margin: .7rem 0 0; padding: 0; list-style: none; display: grid; gap: .45rem; }

.vvt-pol-bullets li { position: relative; padding-left: 1.15rem; font-size: .86rem; line-height: 1.6; }

.vvt-pol-bullets li::before {
	content: ""; position: absolute; left: 0; top: .55em;
	width: 5px; height: 5px; border-radius: 50%;
	background: var(--vv-gold);
}

/* Contact rows in the closing section. */
.vvt-pol-reach { margin: .8rem 0 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.vvt-pol-reach li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: .7rem; align-items: center; font-size: .86rem; }
.vvt-pol-reach span { display: grid; place-items: center; color: var(--vv-gold-deep); }
.vvt-pol-reach svg { width: 17px; height: 17px; }
.vvt-pol-reach__wa { color: #25d366 !important; }
.vvt-pol-reach a { color: var(--vv-ink); }
.vvt-pol-reach a:hover { color: var(--vv-navy); }

/* ------------------------------------------------------ responsive ---- */

@media (max-width: 900px) {
	.vvt-pol-body__grid { grid-template-columns: 1fr; }
	.vvt-pol-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
	.vvt-pol-help__art { display: none; }
}

@media (max-width: 720px) {
	/* The square crop is tall enough to hold the copy, so the overlay stays. */
	.vvt-pol-hero .vvt-divider { margin: .6rem 0 .7rem; }
	.vvt-pol-hero .vvt-divider svg { width: 130px; }
	.vvt-pol-hero__lede { font-size: .86rem; line-height: 1.7; }

	.vvt-pol-side { grid-template-columns: 1fr; }
	.vvt-pol-secs > li { grid-template-columns: 42px minmax(0, 1fr); gap: .85rem; }
	.vvt-pol-secs__ico { width: 42px; height: 42px; }
	.vvt-pol-secs__ico svg { width: 19px; height: 19px; }
}
