/*
 * WVRC Digital — presentation layer.
 *
 * Everything here is something theme.json cannot express (font-stretch, hairline
 * rules on list items, hover/focus states, Gravity Forms fields, CSS counters).
 * Every value references a theme.json token (--wp--preset--*) so the Customizer
 * and theme.json stay the single source of truth. No content lives in this file.
 *
 * Sections
 *   1. Type details (display width, labels, text links)
 *   2. Focus, motion, skip link
 *   3. Chapter bars
 *   4. Service rows (Query Loop in the "Services, grouped" pattern)
 *   5. Figures row, family tiles, client proof
 *   6. Hero strip
 *   7. Contact block + Gravity Forms fields on cyan
 *   8. Header and footer (Blocksy builder rows)
 *   9. Interior pages (service single)
 */

/* 1. Type details ------------------------------------------------------- */

/* The extended width echoes the wide letterforms of the WVRC logos. */
h1,
h2,
.wvrc-display {
	font-stretch: var(--wp--custom--font-stretch--display);
}

/* Section labels: "02 / Services". Apply the class to a paragraph. */
.wvrc-label {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 700;
	letter-spacing: var(--wp--custom--letter-spacing--label);
	text-transform: uppercase;
	line-height: 1.2;
}

/* Tracked-caps text link with an arrow drawn by CSS. */
.wvrc-tlink a,
a.wvrc-tlink {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
}
.wvrc-tlink a::after,
a.wvrc-tlink::after {
	content: "";
	width: 1.1em;
	height: 1.1em;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 6l6 6-6 6'/></svg>") center / contain no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 6l6 6-6 6'/></svg>") center / contain no-repeat;
	transition: transform 0.15s;
}
.wvrc-tlink a:hover::after,
a.wvrc-tlink:hover::after {
	transform: translateX(4px);
}

/* Body copy on dark sections. */
.wvrc-on-dark p,
.wvrc-on-dark li {
	color: var(--wp--preset--color--text-on-dark);
}
.wvrc-on-dark h1,
.wvrc-on-dark h2,
.wvrc-on-dark h3,
.wvrc-on-dark h4 {
	color: var(--wp--preset--color--white);
}

/* 2. Focus, motion, skip link ------------------------------------------ */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.wp-block-button__link:focus-visible {
	outline: 3px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
}
.wvrc-on-cyan a:focus-visible,
.wvrc-on-cyan button:focus-visible,
.wvrc-on-cyan input:focus-visible,
.wvrc-on-cyan textarea:focus-visible {
	outline-color: var(--wp--preset--color--primary);
}

/* Scoped to this theme's own hover/transition effects so Blocksy's off-canvas menu, which
   relies on its own transitions, keeps working for people who prefer reduced motion. */
@media (prefers-reduced-motion: reduce) {
	.entry-content *,
	.wvrc-site-footer *,
	.wp-block-button__link {
		transition: none !important;
		animation: none !important;
	}
	html {
		scroll-behavior: auto !important;
	}
}

/* Full-bleed sections sit flush: Blocksy adds content spacing as a bottom margin on every
   top-level block and WordPress adds a top margin; both are removed for alignfull sections. */
.entry-content > .alignfull,
.wvrc-site-footer > .alignfull {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* 3. Chapter bars ------------------------------------------------------- */

/* A Group with class "wvrc-chapter": hairline on top, label left, running head right. */
.wvrc-chapter {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--wp--preset--spacing--lg);
	padding-top: var(--wp--preset--spacing--lg);
	border-top: 1px solid var(--wp--preset--color--mist);
}
.wvrc-chapter > * {
	margin: 0;
}
.wvrc-on-dark .wvrc-chapter {
	border-top-color: var(--wp--preset--color--line-dark);
}
.wvrc-on-cloud .wvrc-chapter {
	border-top-color: var(--wp--preset--color--mist-dark);
}
.wvrc-on-cyan .wvrc-chapter {
	border-top-color: rgba(11, 20, 25, 0.35);
}
@media (max-width: 600px) {
	.wvrc-chapter .wvrc-runhead {
		display: none;
	}
}

/* 4. Service rows ------------------------------------------------------- */

/* The Query Loops inside ".wvrc-services" render one numbered, ruled row per service. */
.wvrc-services {
	counter-reset: wvrc-service;
}
.wvrc-services .wp-block-post-template {
	margin: 0;
	padding: 0;
	list-style: none;
}
.wvrc-services .wp-block-post {
	counter-increment: wvrc-service;
	display: grid;
	grid-template-columns: 3rem minmax(0, 1fr) 2.5rem;
	gap: 0 var(--wp--preset--spacing--lg);
	align-items: start;
	padding: var(--wp--preset--spacing--lg) 0;
	margin: 0;
	border-top: 1px solid var(--wp--preset--color--line-dark);
}
/* Number in column 1, title and text stacked in column 2, arrow in column 3. */
.wvrc-services .wp-block-post::before {
	grid-column: 1;
	grid-row: 1;
}
.wvrc-services .wp-block-post > * {
	grid-column: 2;
}
.wvrc-services .wp-block-post::after {
	grid-column: 3;
	grid-row: 1;
	justify-self: end;
}
.wvrc-services .wp-block-post-template > .wp-block-post:last-child {
	border-bottom: 1px solid var(--wp--preset--color--line-dark);
}
.wvrc-services .wp-block-post::before {
	content: counter(wvrc-service, decimal-leading-zero);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 700;
	letter-spacing: var(--wp--custom--letter-spacing--label);
	color: var(--wp--preset--color--accent);
	padding-top: 0.55em;
}
.wvrc-services .wp-block-post::after {
	content: "";
	width: 1.5rem;
	height: 1.5rem;
	margin-top: 0.35rem;
	background-color: var(--wp--preset--color--muted-on-dark);
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 6l6 6-6 6'/></svg>") center / contain no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 6l6 6-6 6'/></svg>") center / contain no-repeat;
	transition: transform 0.15s, background-color 0.15s;
}
.wvrc-services .wp-block-post:hover::after {
	background-color: var(--wp--preset--color--accent);
	transform: translateX(4px);
}
.wvrc-services .wp-block-post > * {
	margin: 0;
}
.wvrc-services .wp-block-post-title {
	font-size: var(--wp--preset--font-size--xl);
	font-weight: 600;
	letter-spacing: var(--wp--custom--letter-spacing--tight);
	line-height: 1.2;
	margin-bottom: var(--wp--preset--spacing--sm);
}
.wvrc-services .wp-block-post-title a {
	color: var(--wp--preset--color--white);
	text-decoration: none;
	transition: color 0.15s;
}
/* Make the whole row the hit target for the title link. */
.wvrc-services .wp-block-post {
	position: relative;
}
.wvrc-services .wp-block-post-title a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.wvrc-services .wp-block-post:hover .wp-block-post-title a {
	color: var(--wp--preset--color--accent);
}
.wvrc-services .wp-block-post p {
	color: var(--wp--preset--color--text-on-dark);
	font-size: var(--wp--preset--font-size--sm);
}
.wvrc-services .wvrc-group-label {
	padding: var(--wp--preset--spacing--xl) 0 var(--wp--preset--spacing--md) 0;
}
.wvrc-services > .wvrc-group-label:first-child,
.wvrc-services .wp-block-group:first-child > .wvrc-group-label {
	padding-top: 0;
}
@media (min-width: 782px) {
	.wvrc-services .wvrc-group-label {
		padding-left: calc(3rem + var(--wp--preset--spacing--lg));
	}
	/* Keep the heading column in view while the list scrolls. */
	.wvrc-services-intro {
		position: sticky;
		top: calc(var(--wvrc-sticky-offset, 76px) + 2rem);
	}
}
@media (max-width: 600px) {
	.wvrc-services .wp-block-post {
		grid-template-columns: 2.25rem minmax(0, 1fr) 1.5rem;
		gap: var(--wp--preset--spacing--sm);
	}
	.wvrc-services .wp-block-post-title {
		font-size: var(--wp--preset--font-size--lg);
	}
}

/* 5. Figures row, family tiles, client proof ---------------------------- */

/* Columns block with class "wvrc-figures": rules above, below and between. */
.wvrc-figures {
	border-top: 1px solid var(--wp--preset--color--mist-dark);
	border-bottom: 1px solid var(--wp--preset--color--mist-dark);
	gap: 0 !important;
}
.wvrc-figures .wp-block-column {
	padding: var(--wp--preset--spacing--xl) var(--wp--preset--spacing--lg);
}
.wvrc-figures .wp-block-column:first-child {
	padding-left: 0;
}
.wvrc-figures .wp-block-column:last-child {
	padding-right: 0;
}
.wvrc-figures .wp-block-column + .wp-block-column {
	border-left: 1px solid var(--wp--preset--color--mist-dark);
}
.wvrc-figures .wvrc-figure {
	font-family: var(--wp--preset--font-family--display);
	font-stretch: var(--wp--custom--font-stretch--display);
	font-weight: 800;
	font-size: var(--wp--preset--font-size--xxxxl);
	letter-spacing: var(--wp--custom--letter-spacing--display);
	line-height: 0.95;
	margin: 0 0 var(--wp--preset--spacing--sm);
}
.wvrc-figures .wvrc-figure em {
	font-style: normal;
	color: var(--wp--preset--color--secondary);
}
.wvrc-figures .wvrc-figure small {
	font-size: 0.45em;
	font-weight: 600;
	font-stretch: 100%;
	letter-spacing: 0;
	color: var(--wp--preset--color--secondary);
}
@media (max-width: 781px) {
	.wvrc-figures .wp-block-column {
		padding: var(--wp--preset--spacing--lg) 0;
		border-left: 0 !important;
		border-top: 1px solid var(--wp--preset--color--mist-dark);
	}
	.wvrc-figures .wp-block-column:first-child {
		border-top: 0;
	}
}

/* Family tiles: image + ruled caption; whole tile is the link target. */
.wvrc-tile {
	position: relative;
}
.wvrc-tile img {
	transition: opacity 0.15s;
}
.wvrc-tile:hover img {
	opacity: 0.85;
}
.wvrc-tile .wvrc-tile-caption {
	border-top: 1px solid var(--wp--preset--color--mist-dark);
	padding-top: var(--wp--preset--spacing--md);
}
.wvrc-tile h3 a {
	text-decoration: none;
	color: inherit;
}
.wvrc-tile h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.wvrc-tile:hover h3 a {
	color: var(--wp--preset--color--secondary);
}
.wvrc-tile .wvrc-tile-text {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 800 / 385;
	border-radius: 2px;
	background: var(--wp--preset--color--graphite);
	font-family: var(--wp--preset--font-family--display);
	font-stretch: 118%;
	font-weight: 900;
	font-size: var(--wp--preset--font-size--xxl);
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--white);
}
.wvrc-tile .wvrc-tile-text em {
	font-style: normal;
	color: var(--wp--preset--color--accent);
}

/* Giant client-result figure. */
.wvrc-giant {
	font-family: var(--wp--preset--font-family--display);
	font-stretch: var(--wp--custom--font-stretch--display);
	font-weight: 800;
	font-size: var(--wp--preset--font-size--giant);
	letter-spacing: var(--wp--custom--letter-spacing--display);
	line-height: 0.85;
	margin: 0;
}
.wvrc-giant em {
	font-style: normal;
	font-size: 0.5em;
	color: var(--wp--preset--color--secondary);
}

/* Ruled quote list (secondary testimonials). */
.wvrc-quotes {
	border-top: 1px solid var(--wp--preset--color--mist);
}
.wvrc-quotes > .wp-block-quote {
	padding: var(--wp--preset--spacing--xl) 0;
	margin: 0;
	border-bottom: 1px solid var(--wp--preset--color--mist);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--lg);
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: 0;
}
.wvrc-quotes > .wp-block-quote cite,
.wvrc-cite {
	display: block;
	font-style: normal;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 700;
	margin-top: var(--wp--preset--spacing--md);
}
.wvrc-quotes > .wp-block-quote cite span,
.wvrc-cite span {
	font-family: var(--wp--preset--font-family--body);
	font-weight: 400;
	color: var(--wp--preset--color--neutral-mid);
	margin-left: 0.5em;
}

/* 6. Hero strip --------------------------------------------------------- */

.wvrc-hero .wp-block-cover__inner-container {
	width: 100%;
}
.wvrc-hero-strip {
	border-top: 1px solid rgba(255, 255, 255, 0.28);
	padding-top: var(--wp--preset--spacing--lg);
	gap: 0 !important;
}
.wvrc-hero-strip .wp-block-column {
	padding: 0 var(--wp--preset--spacing--lg);
}
.wvrc-hero-strip .wp-block-column:first-child {
	padding-left: 0;
}
.wvrc-hero-strip .wp-block-column + .wp-block-column {
	border-left: 1px solid rgba(255, 255, 255, 0.28);
}
.wvrc-hero-strip p {
	margin: 0;
	font-size: var(--wp--preset--font-size--sm);
	line-height: 1.5;
	color: var(--wp--preset--color--text-on-dark);
}
.wvrc-hero-strip strong {
	color: var(--wp--preset--color--white);
}
@media (max-width: 781px) {
	.wvrc-hero-strip .wp-block-column {
		padding: var(--wp--preset--spacing--sm) 0;
		border-left: 0 !important;
	}
}

/* Core buttons: Blocksy's button stylesheet loads after theme.json, so the button element
   from theme.json is restated here with the same tokens. */
.wp-block-button .wp-block-button__link,
.wp-block-button__link.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	padding: 1.05rem var(--wp--preset--spacing--lg);
	border-radius: 2px;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
}
.wp-block-button:not(.is-style-wvrc-ghost):not(.is-style-wvrc-ink) .wp-block-button__link {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--primary);
}
.wp-block-button:not(.is-style-wvrc-ghost):not(.is-style-wvrc-ink) .wp-block-button__link:hover {
	background: var(--wp--preset--color--accent-hover);
	color: var(--wp--preset--color--primary);
}
.wvrc-tile .wvrc-tile-text {
	font-size: var(--wp--preset--font-size--xl);
	white-space: nowrap;
}
.wvrc-tile .wvrc-tile-text > * {
	margin: 0;
}

/* Ghost button on photos and dark grounds: Button block style "Ghost". */
.wp-block-button.is-style-wvrc-ghost .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--white);
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5);
}
.wp-block-button.is-style-wvrc-ghost .wp-block-button__link:hover {
	box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--white);
}
/* Ink button for the cyan contact block: Button block style "Ink". */
.wp-block-button.is-style-wvrc-ink .wp-block-button__link {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
}
.wp-block-button.is-style-wvrc-ink .wp-block-button__link:hover {
	background: var(--wp--preset--color--black);
	color: var(--wp--preset--color--white);
}

/* 7. Contact block + Gravity Forms on cyan ------------------------------ */

.wvrc-on-cyan,
.wvrc-on-cyan p,
.wvrc-on-cyan h2,
.wvrc-on-cyan h3,
.wvrc-on-cyan a {
	color: var(--wp--preset--color--primary);
}
.wvrc-contact-details {
	border-top: 1px solid rgba(11, 20, 25, 0.35);
	padding-top: var(--wp--preset--spacing--lg);
}
.wvrc-contact-details a {
	text-decoration: none;
}
.wvrc-phone-big {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--xl);
	font-weight: 700;
	letter-spacing: var(--wp--custom--letter-spacing--tight);
}

/* Gravity Forms fields inside any ".wvrc-on-cyan" block: underline inputs. */
.wvrc-on-cyan .gform_wrapper.gravity-theme .gfield_label,
.wvrc-on-cyan .gform_wrapper.gravity-theme legend.gfield_label {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 700;
	letter-spacing: var(--wp--custom--letter-spacing--label);
	text-transform: uppercase;
	color: var(--wp--preset--color--primary);
	margin-bottom: 0.25rem;
}
.wvrc-on-cyan .gform_wrapper.gravity-theme input[type="text"],
.wvrc-on-cyan .gform_wrapper.gravity-theme input[type="email"],
.wvrc-on-cyan .gform_wrapper.gravity-theme input[type="tel"],
.wvrc-on-cyan .gform_wrapper.gravity-theme textarea {
	background: transparent;
	border: 0;
	border-bottom: 1.5px solid rgba(11, 20, 25, 0.55);
	border-radius: 0;
	padding: 0.75rem 0;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--lg);
	font-weight: 500;
	color: var(--wp--preset--color--primary);
	transition: border-color 0.15s;
}
.wvrc-on-cyan .gform_wrapper.gravity-theme input::placeholder,
.wvrc-on-cyan .gform_wrapper.gravity-theme textarea::placeholder {
	color: rgba(11, 20, 25, 0.5);
}
.wvrc-on-cyan .gform_wrapper.gravity-theme input:focus,
.wvrc-on-cyan .gform_wrapper.gravity-theme textarea:focus {
	border-bottom-color: var(--wp--preset--color--primary);
	outline: none;
}
.wvrc-on-cyan .gform_wrapper.gravity-theme textarea {
	min-height: 3.5rem;
	resize: vertical;
}
.wvrc-on-cyan .gform_wrapper.gravity-theme .gform_footer {
	margin-top: var(--wp--preset--spacing--md);
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--wp--preset--spacing--lg);
}
.wvrc-on-cyan .gform_wrapper.gravity-theme .gform_footer input[type="submit"],
.wvrc-on-cyan .gform_wrapper.gravity-theme .gform_footer button {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
	border: 0;
	border-radius: 2px;
	padding: 1.1rem 1.75rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.15s;
}
.wvrc-on-cyan .gform_wrapper.gravity-theme .gform_footer input[type="submit"]:hover {
	background: var(--wp--preset--color--black);
}
.wvrc-on-cyan .gform_wrapper.gravity-theme .gfield_required {
	color: var(--wp--preset--color--primary);
}
.wvrc-on-cyan .gform_wrapper.gravity-theme .gform_validation_errors,
.wvrc-on-cyan .gform_wrapper.gravity-theme .validation_message {
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--neutral-dark);
	border: 0;
	border-radius: 2px;
	padding: 0.5rem 0.75rem;
	font-size: var(--wp--preset--font-size--sm);
}

/* 8. Header and footer (Blocksy builder rows) --------------------------- */

/* Sticky header without Blocksy Pro: the whole header sticks, offset by the 36px family bar
   so that row scrolls away and the main row pins to the top. */
#header.ct-header {
	position: sticky;
	top: -36px;
	z-index: 50;
}
@media (max-width: 999px) {
	#header.ct-header {
		top: 0;
	}
}
.admin-bar #header.ct-header {
	top: calc(32px - 36px);
}
@media (max-width: 999px) {
	.admin-bar #header.ct-header {
		top: 46px;
	}
}

/* Family bar: top row of the header. Uppercase tracked links. */
#header [data-row="top"] .menu > li > a,
#header [data-row="top"] .ct-header-text,
#header [data-row="top"] a {
	font-family: var(--wp--preset--font-family--display);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
#header [data-row="top"] .ct-header-text p {
	margin: 0;
}
#header [data-row="top"] .ct-header-text strong {
	font-weight: 700;
	color: var(--wp--preset--color--muted-on-dark);
	opacity: 0.8;
	margin-right: 1.25rem;
}
/* Primary nav: uppercase tracked, cyan underline on the current item. */
#header [data-row="middle"] .menu > li > a {
	font-family: var(--wp--preset--font-family--display);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
#header [data-row="middle"] .menu > li.current-menu-item > a,
#header [data-row="middle"] .menu > li.current_page_item > a {
	box-shadow: inset 0 -2px 0 var(--wp--preset--color--accent);
}
/* Header button item follows the theme.json button. */
#header .ct-button,
#header .ct-header-cta .ct-button {
	border-radius: 2px;
	font-family: var(--wp--preset--font-family--display);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
/* Mobile offcanvas links keep the same voice at a larger size. */
#offcanvas .menu > li > a {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Footer content (the editable "Site Footer" page) renders inside .wvrc-site-footer. */
.wvrc-site-footer {
	background: var(--wp--preset--color--black);
	color: var(--wp--preset--color--white);
}
.wvrc-site-footer a {
	color: var(--wp--preset--color--text-on-dark);
	text-decoration: none;
}
.wvrc-site-footer a:hover {
	color: var(--wp--preset--color--white);
}
.wvrc-site-footer .wvrc-label {
	color: var(--wp--preset--color--white);
}
.wvrc-site-footer p {
	color: var(--wp--preset--color--text-on-dark);
}
.wvrc-site-footer .wvrc-footer-bottom {
	border-top: 1px solid var(--wp--preset--color--line-dark);
	padding-top: var(--wp--preset--spacing--lg);
}
.wvrc-site-footer .wvrc-footer-bottom p {
	color: var(--wp--preset--color--muted-on-dark);
	font-size: var(--wp--preset--font-size--sm);
}
.wvrc-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--wp--preset--color--line-dark);
	border-radius: 2px;
	color: var(--wp--preset--color--white);
}
.wvrc-social a:hover {
	border-color: var(--wp--preset--color--accent);
}

/* 5b. Pillars (Who we are), figure glyphs, logo tiles, photo captions -- */

.wvrc-pillars {
	border-top: 1px solid var(--wp--preset--color--mist);
}
.wvrc-pillar {
	display: grid;
	grid-template-columns: 3rem minmax(0, 1fr);
	gap: var(--wp--preset--spacing--lg);
	padding: var(--wp--preset--spacing--lg) 0;
	border-bottom: 1px solid var(--wp--preset--color--mist);
}
.wvrc-pillar > * {
	margin: 0;
}
.wvrc-pillar > .wvrc-label {
	padding-top: 0.45em;
}
.wvrc-figure sub {
	vertical-align: baseline;
	line-height: 0;
	font-size: 0.45em;
	font-weight: 600;
	font-stretch: 100%;
	letter-spacing: 0;
	color: var(--wp--preset--color--secondary);
}
.wvrc-tile-logo {
	aspect-ratio: 800 / 385;
	display: flex;
	align-items: center;
}
.wvrc-tile-logo .wp-block-image,
.wvrc-tile-logo figure {
	margin: 0;
	width: 100%;
}
.wvrc-photo figcaption,
.wp-block-image figcaption.wp-element-caption {
	text-align: left;
	margin-top: var(--wp--preset--spacing--md);
	font-size: var(--wp--preset--font-size--sm);
	color: var(--wp--preset--color--muted-on-dark);
}
@media (max-width: 600px) {
	.wvrc-hero .has-scrim-gradient-background {
		min-height: 600px !important;
	}
}

/* 9. Interior pages ----------------------------------------------------- */

/* Service single: featured image sits beside the content at desktop. */
.single-wvrc_service .entry-content {
	max-width: var(--wp--style--global--wide-size);
}
.wvrc-page-hero .wvrc-label {
	color: var(--wp--preset--color--accent);
}
.wvrc-prose ul {
	padding-left: 1.25em;
}
.wvrc-prose li + li {
	margin-top: 0.35em;
}

/* 11. Deep variant (wvrcpolitical.com): deep-cyan buttons, light service rows, deep band, prices */
.wp-block-button:not(.is-style-wvrc-ghost):not(.is-style-wvrc-ink) .wp-block-button__link { background: var(--wp--preset--color--secondary); color: var(--wp--preset--color--white); }
.wp-block-button:not(.is-style-wvrc-ghost):not(.is-style-wvrc-ink) .wp-block-button__link:hover { background: #0b6a8c; color: var(--wp--preset--color--white); }
.wvrc-on-cyan .wp-block-button:not(.is-style-wvrc-ghost):not(.is-style-wvrc-ink) .wp-block-button__link,
.wvrc-on-cyan .gform_wrapper .gform_button { background: var(--wp--preset--color--primary); color: var(--wp--preset--color--white); }
.wvrc-services-light .wp-block-post { border-top-color: var(--wp--preset--color--mist); }
.wvrc-services-light .wp-block-post-template > .wp-block-post:last-child { border-bottom-color: var(--wp--preset--color--mist); }
.wvrc-services-light .wp-block-post::before { color: var(--wp--preset--color--secondary); }
.wvrc-services-light .wp-block-post::after { background-color: var(--wp--preset--color--mist-dark); }
.wvrc-services-light .wp-block-post:hover::after { background-color: var(--wp--preset--color--secondary); }
.wvrc-services-light .wp-block-post-title a { color: var(--wp--preset--color--neutral-dark); }
.wvrc-services-light .wp-block-post:hover .wp-block-post-title a { color: var(--wp--preset--color--secondary); }
.wvrc-services-light .wp-block-post p { color: var(--wp--preset--color--neutral-mid); }
.wvrc-on-deep .wvrc-figures, .wvrc-on-deep .wvrc-figures .wp-block-column + .wp-block-column { border-color: rgba(255, 255, 255, 0.35); }
.wvrc-on-deep .wvrc-figure, .wvrc-on-deep .wvrc-figure em, .wvrc-on-deep .wvrc-figure sub { color: var(--wp--preset--color--white); }
.wvrc-on-deep .wvrc-figures p:not(.wvrc-figure) { color: rgba(255, 255, 255, 0.82) !important; }
.wvrc-on-deep .wvrc-label { color: var(--wp--preset--color--white) !important; }
.wvrc-on-deep .wvrc-runhead { color: rgba(255, 255, 255, 0.7) !important; }
.wvrc-on-deep .wp-block-button:not(.is-style-wvrc-ghost) .wp-block-button__link { background: var(--wp--preset--color--white); color: var(--wp--preset--color--secondary); }
.wvrc-on-deep .wp-block-button:not(.is-style-wvrc-ghost) .wp-block-button__link:hover { background: var(--wp--preset--color--primary); color: var(--wp--preset--color--white); }
.wvrc-prices .wp-block-column { display: flex; }
.wvrc-price { background: var(--wp--preset--color--neutral-light); padding: var(--wp--preset--spacing--xl); border-radius: 2px; width: 100%; }
.wvrc-price-amount { font-family: var(--wp--preset--font-family--display); font-stretch: 110%; font-weight: 800; font-size: var(--wp--preset--font-size--xxxl); letter-spacing: -0.03em; line-height: 1; margin: 0; }
.wvrc-price-amount small { font-family: var(--wp--preset--font-family--body); font-stretch: 100%; font-size: var(--wp--preset--font-size--sm); font-weight: 600; letter-spacing: 0; color: var(--wp--preset--color--neutral-mid); margin-left: 0.4em; }
.wvrc-price ul { padding-left: 1.1em; margin: 0; font-size: var(--wp--preset--font-size--sm); color: var(--wp--preset--color--neutral-mid); }
.wvrc-price li + li { margin-top: 0.35em; }
.wvrc-price .wp-block-buttons { margin-top: var(--wp--preset--spacing--lg); }
@media (min-width: 782px) { .wvrc-prices .wp-block-column + .wp-block-column { margin-left: 0; } }

/* ---- 9. Phone header ----------------------------------------------------
   The constructed WVRC POLITICAL wordmark is 15:1, so at Blocksy's 22px phone
   logo height it is ~340px wide and runs under the menu trigger. Cap it. */
@media (max-width: 689px) {
	#header [data-id="logo"] .site-logo-container { --logo-max-height: 15px; }
	#header [data-id="logo"] .site-logo-container img { max-width: min(60vw, 236px); height: auto; }
}
