/*
Theme Name: 3D Viewer
Theme URI: https://my.ventiis.de/
Description: Standalone block theme for the 3D Viewer website (landing page and info pages), based on Twenty Twenty-Five: all of its templates, template parts, patterns, fonts and style options are included. Everything is edited with blocks in Appearance > Editor. The viewer itself (viewer.html) is not part of WordPress.
Author: 3D Viewer
Version: 2.67.0
Requires at least: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: threedviewer
*/

/* Colors, fonts, sizes and spacing come from theme.json (Appearance > Editor > Styles).
   The rules below add what blocks cannot express on their own. */

/* Base rules from Twenty Twenty-Five --------------------------------------------------- */

a
{
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

:where(.wp-site-blocks *:focus)
{
	outline-width: 2px;
	outline-style: solid;
}

.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child)
{
	margin-bottom: 3px;
}

.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content
{
	outline-offset: 4px;
}

.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content
{
	outline-offset: 0;
}

h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p
{
	text-wrap: pretty;
}

.more-link
{
	display: block;
}

:where(pre)
{
	overflow-x: auto;
}

/* Header ------------------------------------------------------------------------------- */

.vw-header
{
	position: sticky;
	top: 0;
	z-index: 50;
	background: transparent;
	border-bottom: 1px solid var(--wp--preset--color--border);
}

/* The frosted background is a layer of its own: a blur on the header itself would trap the mobile menu
   (fixed elements inside a filtered element stay inside it). */
.vw-header::before
{
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: color-mix(in srgb, var(--wp--preset--color--base) 90%, transparent);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

body.admin-bar .vw-header
{
	top: var(--wp-admin--admin-bar--height, 32px);
}

.vw-header .wp-block-site-title a
{
	text-decoration: none;
	font-weight: 700;
}

.vw-header .vw-logo img
{
	width: 30px;
	height: 30px;
}

/* Same height as the slim app header (demo page, /viewer/). */
.vw-header .wp-block-site-title
{
	font-size: 1.05rem;
}

.vw-header .vw-header-actions .wp-block-button__link
{
	padding: 0.5rem 1rem;
	font-size: 0.9rem;
}

.vw-header .wp-block-navigation
{
	font-size: 0.94rem;
}

.vw-header .wp-block-navigation a:hover
{
	color: var(--wp--preset--color--accent);
}

/* Eyebrow labels, lead text, notes ----------------------------------------------------- */

:is(.vw-eyebrow, .is-style-vw-eyebrow)
{
	display: inline-block;
	padding: 0.3rem 0.8rem;
	border-radius: 999px;
	background: var(--wp--preset--color--accent-soft);
	color: var(--wp--preset--color--accent);
	font-size: 0.8rem;
	font-weight: 600;
	margin-bottom: 0 !important;
}

:is(.vw-lead, .is-style-vw-lead)
{
	font-size: 1.2rem;
	color: var(--wp--preset--color--muted);
}

:is(.vw-note, .is-style-vw-note)
{
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
}

.vw-accent
{
	color: var(--wp--preset--color--accent);
}

.vw-center
{
	text-align: center;
}

/* Sections ----------------------------------------------------------------------------- */

:is(.vw-hero, .is-style-vw-hero)
{
	background: radial-gradient(1100px 520px at 78% 0%, color-mix(in srgb, var(--wp--preset--color--accent) 16%, transparent), transparent 60%);
}

:is(.vw-alt, .is-style-vw-alt)
{
	background: var(--wp--preset--color--base-alt);
}

:is(.vw-formats, .is-style-vw-formats)
{
	border-top: 1px solid var(--wp--preset--color--border);
	border-bottom: 1px solid var(--wp--preset--color--border);
}

/* Format chips: a paragraph where every word in <code> is a chip */
:is(.vw-chips, .is-style-vw-chips) code
{
	display: inline-block;
	margin: 0.2rem 0.15rem;
	padding: 0.2rem 0.65rem;
	border-radius: 6px;
	border: 1px solid var(--wp--preset--color--border);
	background: var(--wp--preset--color--base);
	font-family: inherit;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.03em;
}

/* Cards (features, plans) -------------------------------------------------------------- */

:is(.vw-card, .is-style-vw-card)
{
	height: 100%;
	box-sizing: border-box;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 14px;
	background: var(--wp--preset--color--base);
	padding: 1.75rem;
}

:is(.vw-card, .is-style-vw-card) h3
{
	margin-top: 1rem;
	margin-bottom: 0.5rem;
}

:is(.vw-card, .is-style-vw-card) p
{
	color: var(--wp--preset--color--muted);
	font-size: 0.97rem;
}

:is(.vw-icon, .is-style-vw-icon) img
{
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--wp--preset--color--accent-soft);
	padding: 12px;
	box-sizing: border-box;
}

/* Steps ---------------------------------------------------------------------------------- */

.vw-steps
{
	position: relative;
}

:is(.vw-step, .is-style-vw-step)
{
	text-align: center;
}

:is(.vw-step-number, .is-style-vw-step-number)
{
	width: 56px;
	height: 56px;
	line-height: 52px;
	margin: 0 auto 1.2rem !important;
	border-radius: 50%;
	border: 2px solid var(--wp--preset--color--accent);
	color: var(--wp--preset--color--accent);
	background: var(--wp--preset--color--base);
	font-size: 1.25rem;
	font-weight: 700;
	text-align: center;
	box-sizing: border-box;
}

:is(.vw-step, .is-style-vw-step):first-child :is(.vw-step-number, .is-style-vw-step-number)
{
	background: var(--wp--preset--color--accent);
	color: #ffffff;
}

:is(.vw-step, .is-style-vw-step) p:not(:is(.vw-step-number, .is-style-vw-step-number))
{
	color: var(--wp--preset--color--muted);
	font-size: 0.97rem;
}

/* Examples ------------------------------------------------------------------------------- */

:is(.vw-example, .is-style-vw-example)
{
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 12px;
	overflow: hidden;
	background: var(--wp--preset--color--base);
	transition: transform 0.15s, box-shadow 0.15s;
}

:is(.vw-example, .is-style-vw-example):hover
{
	transform: translateY(-3px);
	box-shadow: 0 18px 50px rgba(21, 51, 74, 0.12);
}

:is(.vw-example, .is-style-vw-example) figure
{
	margin: 0;
	background: var(--wp--preset--color--base-alt);
}

:is(.vw-example, .is-style-vw-example) img
{
	aspect-ratio: 16 / 10;
	object-fit: cover;
	width: 100%;
}

:is(.vw-example, .is-style-vw-example) p
{
	padding: 0.7rem 0.9rem;
	margin: 0;
	font-weight: 600;
	font-size: 0.95rem;
}

/* Call to action ------------------------------------------------------------------------- */

:is(.vw-cta, .is-style-vw-cta)
{
	border-radius: 18px;
	color: #ffffff;
	text-align: center;
}

:is(.vw-cta, .is-style-vw-cta) h2,
:is(.vw-cta, .is-style-vw-cta) p
{
	color: #ffffff;
}

:is(.vw-cta, .is-style-vw-cta) .wp-block-button__link
{
	background: #ffffff !important;
	color: #1f6f93 !important;
}

/* Footer --------------------------------------------------------------------------------- */

.vw-footer
{
	border-top: 1px solid var(--wp--preset--color--border);
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
}

.vw-footer a
{
	color: inherit;
	text-decoration: none;
}

.vw-footer a:hover
{
	color: var(--wp--preset--color--contrast);
}

/* Live parts (shortcodes): 3D preview and plans ---------------------------------------- */

.vw-preview
{
	border-radius: 14px;
	overflow: hidden;
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border);
	box-shadow: 0 18px 50px rgba(21, 51, 74, 0.12);
}

.vw-preview-bar
{
	display: flex;
	align-items: center;
	gap: 7px;
	height: 38px;
	padding: 0 14px;
	border-bottom: 1px solid var(--wp--preset--color--border);
	background: var(--wp--preset--color--base-alt);
	font-size: 13px;
	color: var(--wp--preset--color--muted);
}

.vw-preview-bar i
{
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--wp--preset--color--border);
}

.vw-preview-bar b
{
	margin-left: 10px;
	font-weight: 600;
}

.vw-preview-stage
{
	position: relative;
	aspect-ratio: 16 / 10.5;
	background-color: var(--wp--preset--color--base-alt);
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}

.vw-preview-stage iframe
{
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	opacity: 0;
	transition: opacity 0.4s;
}

.vw-preview-stage iframe.ready
{
	opacity: 1;
}

.vw-preview-hint
{
	position: absolute;
	left: 14px;
	bottom: 12px;
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.55);
	color: #ffffff;
	font-size: 12px;
	pointer-events: none;
}

.vw-plans
{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 1.4rem;
}

.vw-plan
{
	display: flex;
	flex-direction: column;
}

.vw-plan.featured
{
	border-color: var(--wp--preset--color--accent);
	box-shadow: 0 18px 50px rgba(21, 51, 74, 0.12);
}

.vw-plan h3
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem;
	margin-top: 0;
}

.vw-plan .vw-badge
{
	font-size: 0.75rem;
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
	background: var(--wp--preset--color--accent-soft);
	color: var(--wp--preset--color--accent);
}

.vw-plan ul
{
	list-style: none;
	padding: 0;
	margin: 1rem 0 1.6rem;
	display: grid;
	gap: 0.6rem;
	color: var(--wp--preset--color--contrast);
}

.vw-plan li::before
{
	content: '\2713';
	color: var(--wp--preset--color--accent);
	font-weight: 700;
	margin-right: 0.6rem;
}

.vw-plan .wp-block-button
{
	margin-top: auto;
}

.vw-plan .wp-block-button__link
{
	display: block;
	text-align: center;
}

/* Small screens -------------------------------------------------------------------------- */

@media (max-width: 781px)
{
	.vw-header .vw-hide-mobile
	{
		display: none;
	}
}

/* Layout helpers used by the patterns ------------------------------------------------------ */

.vw-header-inner
{
	padding-top: 0.55rem;
	padding-bottom: 0.55rem;
	gap: 1.5rem;
}

.vw-brand
{
	gap: 0.6rem;
}

.vw-header-actions
{
	gap: 0.6rem;
}

.vw-header-actions .wp-block-button.is-style-outline .wp-block-button__link
{
	border-color: transparent;
	background: transparent;
}

:is(.vw-section, .is-style-vw-section)
{
	padding-top: 5.5rem;
	padding-bottom: 5.5rem;
}

:is(.vw-hero, .is-style-vw-hero):is(.vw-section, .is-style-vw-section)
{
	padding-top: 4.5rem;
	padding-bottom: 4rem;
}

:is(.vw-formats, .is-style-vw-formats):is(.vw-section, .is-style-vw-section)
{
	padding-top: 1.6rem;
	padding-bottom: 1.6rem;
}

.vw-formats-row
{
	gap: 1.2rem;
	align-items: center;
}

.vw-section-head
{
	max-width: 680px;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-bottom: 3rem !important;
	text-align: center;
}

.vw-section-head h2
{
	margin-top: 0.75rem;
	margin-bottom: 0.75rem;
}

.vw-hero-columns
{
	gap: 3.5rem;
}

:is(.vw-cta, .is-style-vw-cta)
{
	padding: 3.5rem 2.5rem;
}

:is(.vw-cta, .is-style-vw-cta) .wp-block-buttons
{
	justify-content: center;
}

.vw-footer-inner
{
	padding-top: 1.75rem;
	padding-bottom: 1.75rem;
	gap: 0.6rem 1.5rem;
}

.vw-footer-inner p
{
	margin: 0;
}

/* Sections of the front page sit directly below each other (no block gap between them). */
.home .wp-site-blocks > main,
.home .wp-site-blocks > footer,
.home .wp-site-blocks > .wp-block-template-part + *,
.page-template-page-no-title .wp-site-blocks > main,
.page-template-page-no-title .wp-site-blocks > footer,
.page-template-page-no-title .wp-site-blocks > .wp-block-template-part + *
{
	margin-block-start: 0;
}

.wp-block-post-content > .alignfull
{
	margin-block-start: 0;
	margin-block-end: 0;
}

/* Outline buttons written by shortcodes (plans) look like outline button blocks. */
.vw-plan .wp-block-button.is-style-outline .wp-block-button__link
{
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	border: 1px solid var(--wp--preset--color--border);
}

.vw-plan .wp-block-button.is-style-outline .wp-block-button__link:hover
{
	border-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--accent);
}

/* "Show to" (block sidebar): visitors (vw-guest-only) or users signed in to the viewer (vw-member-only).
   The body class vw-signed-in is set at the start of the page. The editor always shows every block. */
body.vw-signed-in .vw-guest-only,
body:not(.vw-signed-in):not(.editor-styles-wrapper) .vw-member-only
{
	display: none !important;
}

.editor-styles-wrapper .vw-member-only
{
	opacity: 0.6;
}

/* Sign-in popup block in the editor (on the page it is invisible). */
.vw-auth-popup-placeholder
{
	padding: 0.6rem 0.9rem;
	border: 1px dashed var(--wp--preset--color--border);
	border-radius: 8px;
	background: var(--wp--preset--color--base-alt);
	color: var(--wp--preset--color--muted);
	font-size: 0.85rem;
}

.vw-auth-popup-placeholder strong
{
	color: var(--wp--preset--color--contrast);
}

/* Blue hero (Group style "Blue hero"): full-width blue background with light diagonal shapes, white text. */
.is-style-vw-hero-blue,
.vw-hero-blue
{
	color: #ffffff;
	background:
		linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.05) 42% 58%, transparent 58%),
		linear-gradient(65deg, transparent 0 62%, rgba(255, 255, 255, 0.06) 62% 74%, transparent 74%),
		linear-gradient(100deg, #0e4a6c 0%, #1b6e9c 45%, #2f9fd4 80%, #3db3e8 100%);
	padding-top: 4.5rem !important;
	padding-bottom: 9.5rem !important;
}

.is-style-vw-hero-blue :where(h1, h2, h3, p),
.vw-hero-blue :where(h1, h2, h3, p)
{
	color: inherit;
}

.is-style-vw-hero-blue h1,
.vw-hero-blue h1
{
	font-size: clamp(2.3rem, 4.6vw, 3.6rem);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.01em;
}

.is-style-vw-hero-blue .vw-lead,
.vw-hero-blue .vw-lead
{
	color: rgba(255, 255, 255, 0.86);
}

.is-style-vw-hero-blue .vw-note,
.vw-hero-blue .vw-note
{
	color: rgba(255, 255, 255, 0.75);
}

/* Raised card (Group style): a white card that overlaps the section above, like on 3D platforms' landing pages. */
.is-style-vw-raised,
.vw-raised
{
	position: relative;
	z-index: 2;
	margin-top: -7rem !important;
	background: var(--wp--preset--color--base);
	border-radius: 6px;
	box-shadow: 0 20px 60px rgba(21, 51, 74, 0.14);
	padding: 3rem 2.5rem !important;
}

.vw-raised-item
{
	text-align: center;
}

.vw-raised-item img
{
	width: 210px;
	max-width: 100%;
	height: auto;
}

.vw-raised-item h3
{
	font-size: 1.25rem;
	margin: 0.8rem 0 0.5rem 0;
}

.vw-raised-item p
{
	color: var(--wp--preset--color--muted);
	font-size: 0.97rem;
}

.vw-raised-item .wp-block-buttons
{
	justify-content: center;
}

/* File icons (Image style "File icon"): a soft shadow under the icon. */
.is-style-vw-file-icon img,
.vw-file-icon img
{
	width: 84px;
	height: auto;
	filter: drop-shadow(-10px 10px 12px rgba(21, 51, 74, 0.16));
}

.vw-file-grid
{
	gap: 2rem 1.5rem !important;
	justify-items: center;
}

.vw-file-grid figure
{
	margin: 0;
}

/* 3D preview without the window frame: the model sits on the section background. */
.vw-preview.vw-preview-plain
{
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	overflow: visible;
}

.vw-preview.vw-preview-plain .vw-preview-stage
{
	aspect-ratio: 5 / 4;
	background-color: transparent;
}

.vw-preview.vw-preview-plain .vw-preview-hint
{
	background: rgba(0, 0, 0, 0.35);
}

/* List style "Columns": a list in up to three columns (e.g. file formats). */
.is-style-vw-columns
{
	columns: 3 150px;
	column-gap: 1.5rem;
	list-style: none;
	padding-left: 0;
}

.is-style-vw-columns
{
	margin-top: 1rem;
}

.is-style-vw-columns li
{
	break-inside: avoid;
	margin: 0;
	padding: 0.12rem 0;
}

/* Plans: the free viewer without account, and items that are not included. */
.vw-plans
{
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.vw-plan.vw-plan-viewer
{
	background: var(--wp--preset--color--base-alt);
	border-style: dashed;
}

.vw-plan li.vw-no
{
	color: var(--wp--preset--color--muted);
}

.vw-plan li.vw-no::before
{
	content: '\2715';
	color: var(--wp--preset--color--muted);
}

@media (max-width: 781px)
{
	.is-style-vw-raised,
	.vw-raised
	{
		margin-top: -4rem !important;
		padding: 2rem 1.25rem !important;
	}
}

/* Buttons on the blue hero: a light button (class vw-btn-light) and white outline buttons. */
.vw-btn-light .wp-block-button__link:not(.has-background)
{
	background: #ffffff;
	color: var(--wp--preset--color--accent-dark);
}

.vw-btn-light .wp-block-button__link:not(.has-background):hover
{
	background: var(--wp--preset--color--accent-soft);
}

:where(.is-style-vw-hero-blue, .vw-hero-blue) .wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color)
{
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.75);
	background: transparent;
}

:where(.is-style-vw-hero-blue, .vw-hero-blue) .wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color):hover
{
	background: rgba(255, 255, 255, 0.12);
	border-color: #ffffff;
}

.vw-raised-wrap
{
	padding-bottom: 1rem;
}

.vw-formats-columns
{
	gap: 4rem;
}

.vw-more a
{
	font-weight: 600;
	text-decoration: none;
}

/* Light hero (Group style "Light hero"): almost white with faint diagonal lines, like CAD viewer pages. */
.is-style-vw-hero-light,
.vw-hero-light
{
	background:
		linear-gradient(118deg, transparent 0 60%, rgba(21, 51, 74, 0.035) 60% 60.15%, transparent 60.15%),
		linear-gradient(62deg, transparent 0 30%, rgba(21, 51, 74, 0.035) 30% 30.15%, transparent 30.15%),
		linear-gradient(180deg, #f6f8fa 0%, #eef2f5 100%);
	padding-top: 4.5rem !important;
	padding-bottom: 9.5rem !important;
}

.is-style-vw-hero-light h1,
.vw-hero-light h1
{
	font-size: clamp(2.3rem, 4.6vw, 3.6rem);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.01em;
}

/* Raised blue card (Group style): like "Raised card", in blue with white text. */
.is-style-vw-raised-blue
{
	position: relative;
	z-index: 2;
	margin-top: -7rem !important;
	color: #ffffff;
	background:
		linear-gradient(115deg, transparent 0 55%, rgba(255, 255, 255, 0.06) 55% 72%, transparent 72%),
		linear-gradient(100deg, #12557c 0%, #1f78a8 50%, #2f9fd4 100%);
	border-radius: 8px;
	box-shadow: 0 24px 60px rgba(21, 51, 74, 0.22);
	padding: 3rem 2.5rem !important;
}

.is-style-vw-raised-blue :where(h2, h3, p)
{
	color: inherit;
}

.is-style-vw-raised-blue .vw-raised-item p
{
	color: rgba(255, 255, 255, 0.85);
}

.is-style-vw-raised-blue .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background)
{
	background: #ffffff;
	color: var(--wp--preset--color--accent-dark);
}

.is-style-vw-raised-blue .wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color)
{
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.75);
	background: transparent;
}

@media (max-width: 781px)
{
	.is-style-vw-raised-blue
	{
		margin-top: -4rem !important;
		padding: 2rem 1.25rem !important;
	}
}

/* Compare plans block ------------------------------------------------------------------ */

.vw-compare
{
	max-width: 1000px;
	margin-left: auto !important;
	margin-right: auto !important;
}

.vw-compare-cards
{
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.25rem;
}

.is-style-vw-overlap .vw-compare-cards
{
	margin-top: -7rem;
}

.vw-compare-card
{
	display: flex;
	flex-direction: column;
	text-align: center;
	padding: 2rem 1.6rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 10px;
	background: var(--wp--preset--color--base);
	box-shadow: 0 12px 40px rgba(21, 51, 74, 0.08);
}

.vw-compare-card p
{
	margin: 0;
}

.vw-compare-name
{
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.vw-compare-price
{
	font-size: 2.1rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 0.8rem 0 0.6rem 0 !important;
	color: var(--wp--preset--color--accent);
}

.vw-compare-text
{
	flex: 1;
	font-size: 0.92rem;
	color: var(--wp--preset--color--muted);
	margin-bottom: 1.5rem !important;
}

.vw-compare-card .wp-block-button__link,
.vw-compare-table .wp-block-button__link
{
	display: block;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
}

.vw-compare-card.featured
{
	color: #ffffff;
	border-color: transparent;
	background: linear-gradient(140deg, #12557c 0%, #1f78a8 55%, #2f9fd4 100%);
	box-shadow: 0 24px 60px rgba(21, 51, 74, 0.25);
}

.vw-compare-card.featured :where(.vw-compare-name, .vw-compare-price, .vw-compare-text)
{
	color: #ffffff;
}

.vw-compare-card.featured .vw-compare-text
{
	opacity: 0.85;
}

.vw-compare .vw-compare-card.featured .wp-block-button .wp-block-button__link
{
	background: #ffffff;
	color: var(--wp--preset--color--accent-dark);
	border-color: #ffffff;
}

.vw-compare .wp-block-button.is-style-outline .wp-block-button__link
{
	background: transparent;
	color: var(--wp--preset--color--accent);
	border: 1px solid var(--wp--preset--color--accent);
}

.vw-compare-title
{
	text-align: center;
	margin: 4rem 0 1.5rem 0;
	font-size: 1.6rem;
}

.vw-compare-scroll
{
	overflow-x: auto;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 10px;
}

.vw-compare-table
{
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	font-size: 0.92rem;
}

.vw-compare-table th,
.vw-compare-table td
{
	padding: 0.7rem 1rem;
	border-bottom: 1px solid var(--wp--preset--color--border);
	text-align: center;
}

.vw-compare-table tbody th
{
	text-align: left;
	font-weight: 500;
}

.vw-compare-table thead th
{
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: var(--wp--preset--color--base-alt);
}

.vw-compare-table .featured
{
	background: color-mix(in srgb, var(--wp--preset--color--accent) 7%, transparent);
}

.vw-compare-table thead th.featured
{
	color: #ffffff;
	background: var(--wp--preset--color--accent);
}

.vw-compare-table .vw-compare-section th
{
	text-align: left;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	background: var(--wp--preset--color--base-alt);
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

.vw-compare-table .vw-yes
{
	color: #2a9d6f;
	font-weight: 700;
}

.vw-compare-table .vw-dash
{
	color: var(--wp--preset--color--muted);
	opacity: 0.6;
}

.vw-compare-table tr:last-child th,
.vw-compare-table tr:last-child td
{
	border-bottom: 0;
}

.vw-compare-buttons td
{
	padding-top: 1.2rem;
	padding-bottom: 1.2rem;
}

@media (max-width: 781px)
{
	.is-style-vw-overlap .vw-compare-cards
	{
		margin-top: -4rem;
	}
}


/* Format wheel (Group style "Format wheel"): the first image is the center (our logo),
   every further image is placed on a circle around it. Add or remove images and the wheel re-spaces itself. */
.is-style-vw-format-wheel
{
	position: relative;
	container-type: inline-size;
	width: 100%;
	max-width: 560px;
	aspect-ratio: 1;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 0 !important;
}

.is-style-vw-format-wheel::before
{
	content: '';
	position: absolute;
	inset: 4%;
	border-radius: 50%;
	background:
		radial-gradient(circle, rgba(51, 147, 189, 0.16) 0 13%, transparent 30%),
		radial-gradient(circle, transparent 0 29.6%, rgba(51, 147, 189, 0.16) 29.8% 30.1%, transparent 30.3%),
		radial-gradient(circle, transparent 0 49.4%, rgba(51, 147, 189, 0.12) 49.6% 49.9%, transparent 50.1%),
		radial-gradient(circle, rgba(244, 247, 250, 0.9) 0 50%, transparent 70%);
	pointer-events: none;
}

.is-style-vw-format-wheel::after
{
	content: '';
	position: absolute;
	inset: 23%;
	border-radius: 50%;
	border: 1.5px dashed rgba(51, 147, 189, 0.35);
	animation: vw-wheel-turn 60s linear infinite;
	pointer-events: none;
}

@keyframes vw-wheel-turn
{
	to { transform: rotate(360deg); }
}

.is-style-vw-format-wheel > figure
{
	--a: 0deg;
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 1;
	width: 13.5cqw;
	margin: 0 !important;
	transform: translate(-50%, -50%) translate(calc(cos(var(--a)) * 39cqw), calc(sin(var(--a)) * 39cqw));
}

.is-style-vw-format-wheel > figure img
{
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(-6px 8px 10px rgba(21, 51, 74, 0.16));
	transition: transform 0.25s ease, filter 0.25s ease;
}

.is-style-vw-format-wheel > figure:hover img
{
	transform: translateY(-4px) scale(1.07);
	filter: drop-shadow(-8px 14px 14px rgba(21, 51, 74, 0.22));
}

/* Ray from each icon towards the center */
.is-style-vw-format-wheel > figure::before
{
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: -1;
	width: 13cqw;
	height: 1.5px;
	background: linear-gradient(90deg, rgba(51, 147, 189, 0.1), rgba(51, 147, 189, 0.55));
	transform-origin: 0 50%;
	transform: rotate(calc(var(--a) + 180deg)) translateX(10cqw);
	pointer-events: none;
}

/* The center: the first image */
.is-style-vw-format-wheel > figure:first-of-type
{
	z-index: 2;
	width: 25cqw;
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--wp--preset--color--base);
	box-shadow: 0 18px 50px rgba(21, 51, 74, 0.16), 0 0 0 10px rgba(51, 147, 189, 0.07);
	transform: translate(-50%, -50%);
}

.is-style-vw-format-wheel > figure:first-of-type::before
{
	display: none;
}

.is-style-vw-format-wheel > figure:first-of-type::after
{
	content: '';
	position: absolute;
	inset: -10px;
	border-radius: 50%;
	border: 2px solid rgba(51, 147, 189, 0.35);
	animation: vw-wheel-pulse 3.2s ease-out infinite;
	pointer-events: none;
}

@keyframes vw-wheel-pulse
{
	0% { transform: scale(1); opacity: 0.9; }
	100% { transform: scale(1.35); opacity: 0; }
}

.is-style-vw-format-wheel > figure:first-of-type img
{
	width: 58%;
	filter: none;
}

.is-style-vw-format-wheel > figure:first-of-type:hover img
{
	transform: none;
	filter: none;
}

@media (prefers-reduced-motion: reduce)
{
	.is-style-vw-format-wheel::after,
	.is-style-vw-format-wheel > figure:first-of-type::after
	{
		animation: none;
	}
}

.is-style-vw-format-wheel > figure:nth-of-type(2):nth-last-of-type(4) { --a: -90.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(3):nth-last-of-type(3) { --a: 0.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(4):nth-last-of-type(2) { --a: 90.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(5):nth-last-of-type(1) { --a: 180.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(2):nth-last-of-type(5) { --a: -90.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(3):nth-last-of-type(4) { --a: -18.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(4):nth-last-of-type(3) { --a: 54.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(5):nth-last-of-type(2) { --a: 126.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(6):nth-last-of-type(1) { --a: 198.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(2):nth-last-of-type(6) { --a: -90.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(3):nth-last-of-type(5) { --a: -30.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(4):nth-last-of-type(4) { --a: 30.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(5):nth-last-of-type(3) { --a: 90.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(6):nth-last-of-type(2) { --a: 150.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(7):nth-last-of-type(1) { --a: 210.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(2):nth-last-of-type(7) { --a: -90.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(3):nth-last-of-type(6) { --a: -38.571deg; }
.is-style-vw-format-wheel > figure:nth-of-type(4):nth-last-of-type(5) { --a: 12.857deg; }
.is-style-vw-format-wheel > figure:nth-of-type(5):nth-last-of-type(4) { --a: 64.286deg; }
.is-style-vw-format-wheel > figure:nth-of-type(6):nth-last-of-type(3) { --a: 115.714deg; }
.is-style-vw-format-wheel > figure:nth-of-type(7):nth-last-of-type(2) { --a: 167.143deg; }
.is-style-vw-format-wheel > figure:nth-of-type(8):nth-last-of-type(1) { --a: 218.571deg; }
.is-style-vw-format-wheel > figure:nth-of-type(2):nth-last-of-type(8) { --a: -90.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(3):nth-last-of-type(7) { --a: -45.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(4):nth-last-of-type(6) { --a: 0.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(5):nth-last-of-type(5) { --a: 45.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(6):nth-last-of-type(4) { --a: 90.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(7):nth-last-of-type(3) { --a: 135.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(8):nth-last-of-type(2) { --a: 180.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(9):nth-last-of-type(1) { --a: 225.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(2):nth-last-of-type(9) { --a: -90.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(3):nth-last-of-type(8) { --a: -50.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(4):nth-last-of-type(7) { --a: -10.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(5):nth-last-of-type(6) { --a: 30.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(6):nth-last-of-type(5) { --a: 70.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(7):nth-last-of-type(4) { --a: 110.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(8):nth-last-of-type(3) { --a: 150.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(9):nth-last-of-type(2) { --a: 190.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(10):nth-last-of-type(1) { --a: 230.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(2):nth-last-of-type(10) { --a: -90.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(3):nth-last-of-type(9) { --a: -54.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(4):nth-last-of-type(8) { --a: -18.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(5):nth-last-of-type(7) { --a: 18.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(6):nth-last-of-type(6) { --a: 54.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(7):nth-last-of-type(5) { --a: 90.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(8):nth-last-of-type(4) { --a: 126.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(9):nth-last-of-type(3) { --a: 162.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(10):nth-last-of-type(2) { --a: 198.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(11):nth-last-of-type(1) { --a: 234.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(2):nth-last-of-type(11) { --a: -90.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(3):nth-last-of-type(10) { --a: -57.273deg; }
.is-style-vw-format-wheel > figure:nth-of-type(4):nth-last-of-type(9) { --a: -24.545deg; }
.is-style-vw-format-wheel > figure:nth-of-type(5):nth-last-of-type(8) { --a: 8.182deg; }
.is-style-vw-format-wheel > figure:nth-of-type(6):nth-last-of-type(7) { --a: 40.909deg; }
.is-style-vw-format-wheel > figure:nth-of-type(7):nth-last-of-type(6) { --a: 73.636deg; }
.is-style-vw-format-wheel > figure:nth-of-type(8):nth-last-of-type(5) { --a: 106.364deg; }
.is-style-vw-format-wheel > figure:nth-of-type(9):nth-last-of-type(4) { --a: 139.091deg; }
.is-style-vw-format-wheel > figure:nth-of-type(10):nth-last-of-type(3) { --a: 171.818deg; }
.is-style-vw-format-wheel > figure:nth-of-type(11):nth-last-of-type(2) { --a: 204.545deg; }
.is-style-vw-format-wheel > figure:nth-of-type(12):nth-last-of-type(1) { --a: 237.273deg; }
.is-style-vw-format-wheel > figure:nth-of-type(2):nth-last-of-type(12) { --a: -90.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(3):nth-last-of-type(11) { --a: -60.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(4):nth-last-of-type(10) { --a: -30.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(5):nth-last-of-type(9) { --a: 0.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(6):nth-last-of-type(8) { --a: 30.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(7):nth-last-of-type(7) { --a: 60.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(8):nth-last-of-type(6) { --a: 90.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(9):nth-last-of-type(5) { --a: 120.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(10):nth-last-of-type(4) { --a: 150.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(11):nth-last-of-type(3) { --a: 180.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(12):nth-last-of-type(2) { --a: 210.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(13):nth-last-of-type(1) { --a: 240.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(2):nth-last-of-type(13) { --a: -90.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(3):nth-last-of-type(12) { --a: -62.308deg; }
.is-style-vw-format-wheel > figure:nth-of-type(4):nth-last-of-type(11) { --a: -34.615deg; }
.is-style-vw-format-wheel > figure:nth-of-type(5):nth-last-of-type(10) { --a: -6.923deg; }
.is-style-vw-format-wheel > figure:nth-of-type(6):nth-last-of-type(9) { --a: 20.769deg; }
.is-style-vw-format-wheel > figure:nth-of-type(7):nth-last-of-type(8) { --a: 48.462deg; }
.is-style-vw-format-wheel > figure:nth-of-type(8):nth-last-of-type(7) { --a: 76.154deg; }
.is-style-vw-format-wheel > figure:nth-of-type(9):nth-last-of-type(6) { --a: 103.846deg; }
.is-style-vw-format-wheel > figure:nth-of-type(10):nth-last-of-type(5) { --a: 131.538deg; }
.is-style-vw-format-wheel > figure:nth-of-type(11):nth-last-of-type(4) { --a: 159.231deg; }
.is-style-vw-format-wheel > figure:nth-of-type(12):nth-last-of-type(3) { --a: 186.923deg; }
.is-style-vw-format-wheel > figure:nth-of-type(13):nth-last-of-type(2) { --a: 214.615deg; }
.is-style-vw-format-wheel > figure:nth-of-type(14):nth-last-of-type(1) { --a: 242.308deg; }
.is-style-vw-format-wheel > figure:nth-of-type(2):nth-last-of-type(14) { --a: -90.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(3):nth-last-of-type(13) { --a: -64.286deg; }
.is-style-vw-format-wheel > figure:nth-of-type(4):nth-last-of-type(12) { --a: -38.571deg; }
.is-style-vw-format-wheel > figure:nth-of-type(5):nth-last-of-type(11) { --a: -12.857deg; }
.is-style-vw-format-wheel > figure:nth-of-type(6):nth-last-of-type(10) { --a: 12.857deg; }
.is-style-vw-format-wheel > figure:nth-of-type(7):nth-last-of-type(9) { --a: 38.571deg; }
.is-style-vw-format-wheel > figure:nth-of-type(8):nth-last-of-type(8) { --a: 64.286deg; }
.is-style-vw-format-wheel > figure:nth-of-type(9):nth-last-of-type(7) { --a: 90.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(10):nth-last-of-type(6) { --a: 115.714deg; }
.is-style-vw-format-wheel > figure:nth-of-type(11):nth-last-of-type(5) { --a: 141.429deg; }
.is-style-vw-format-wheel > figure:nth-of-type(12):nth-last-of-type(4) { --a: 167.143deg; }
.is-style-vw-format-wheel > figure:nth-of-type(13):nth-last-of-type(3) { --a: 192.857deg; }
.is-style-vw-format-wheel > figure:nth-of-type(14):nth-last-of-type(2) { --a: 218.571deg; }
.is-style-vw-format-wheel > figure:nth-of-type(15):nth-last-of-type(1) { --a: 244.286deg; }
.is-style-vw-format-wheel > figure:nth-of-type(2):nth-last-of-type(15) { --a: -90.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(3):nth-last-of-type(14) { --a: -66.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(4):nth-last-of-type(13) { --a: -42.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(5):nth-last-of-type(12) { --a: -18.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(6):nth-last-of-type(11) { --a: 6.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(7):nth-last-of-type(10) { --a: 30.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(8):nth-last-of-type(9) { --a: 54.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(9):nth-last-of-type(8) { --a: 78.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(10):nth-last-of-type(7) { --a: 102.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(11):nth-last-of-type(6) { --a: 126.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(12):nth-last-of-type(5) { --a: 150.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(13):nth-last-of-type(4) { --a: 174.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(14):nth-last-of-type(3) { --a: 198.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(15):nth-last-of-type(2) { --a: 222.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(16):nth-last-of-type(1) { --a: 246.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(2):nth-last-of-type(16) { --a: -90.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(3):nth-last-of-type(15) { --a: -67.5deg; }
.is-style-vw-format-wheel > figure:nth-of-type(4):nth-last-of-type(14) { --a: -45.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(5):nth-last-of-type(13) { --a: -22.5deg; }
.is-style-vw-format-wheel > figure:nth-of-type(6):nth-last-of-type(12) { --a: 0.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(7):nth-last-of-type(11) { --a: 22.5deg; }
.is-style-vw-format-wheel > figure:nth-of-type(8):nth-last-of-type(10) { --a: 45.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(9):nth-last-of-type(9) { --a: 67.5deg; }
.is-style-vw-format-wheel > figure:nth-of-type(10):nth-last-of-type(8) { --a: 90.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(11):nth-last-of-type(7) { --a: 112.5deg; }
.is-style-vw-format-wheel > figure:nth-of-type(12):nth-last-of-type(6) { --a: 135.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(13):nth-last-of-type(5) { --a: 157.5deg; }
.is-style-vw-format-wheel > figure:nth-of-type(14):nth-last-of-type(4) { --a: 180.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(15):nth-last-of-type(3) { --a: 202.5deg; }
.is-style-vw-format-wheel > figure:nth-of-type(16):nth-last-of-type(2) { --a: 225.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(17):nth-last-of-type(1) { --a: 247.5deg; }
.is-style-vw-format-wheel > figure:nth-of-type(2):nth-last-of-type(17) { --a: -90.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(3):nth-last-of-type(16) { --a: -68.824deg; }
.is-style-vw-format-wheel > figure:nth-of-type(4):nth-last-of-type(15) { --a: -47.647deg; }
.is-style-vw-format-wheel > figure:nth-of-type(5):nth-last-of-type(14) { --a: -26.471deg; }
.is-style-vw-format-wheel > figure:nth-of-type(6):nth-last-of-type(13) { --a: -5.294deg; }
.is-style-vw-format-wheel > figure:nth-of-type(7):nth-last-of-type(12) { --a: 15.882deg; }
.is-style-vw-format-wheel > figure:nth-of-type(8):nth-last-of-type(11) { --a: 37.059deg; }
.is-style-vw-format-wheel > figure:nth-of-type(9):nth-last-of-type(10) { --a: 58.235deg; }
.is-style-vw-format-wheel > figure:nth-of-type(10):nth-last-of-type(9) { --a: 79.412deg; }
.is-style-vw-format-wheel > figure:nth-of-type(11):nth-last-of-type(8) { --a: 100.588deg; }
.is-style-vw-format-wheel > figure:nth-of-type(12):nth-last-of-type(7) { --a: 121.765deg; }
.is-style-vw-format-wheel > figure:nth-of-type(13):nth-last-of-type(6) { --a: 142.941deg; }
.is-style-vw-format-wheel > figure:nth-of-type(14):nth-last-of-type(5) { --a: 164.118deg; }
.is-style-vw-format-wheel > figure:nth-of-type(15):nth-last-of-type(4) { --a: 185.294deg; }
.is-style-vw-format-wheel > figure:nth-of-type(16):nth-last-of-type(3) { --a: 206.471deg; }
.is-style-vw-format-wheel > figure:nth-of-type(17):nth-last-of-type(2) { --a: 227.647deg; }
.is-style-vw-format-wheel > figure:nth-of-type(18):nth-last-of-type(1) { --a: 248.824deg; }
.is-style-vw-format-wheel > figure:nth-of-type(2):nth-last-of-type(18) { --a: -90.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(3):nth-last-of-type(17) { --a: -70.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(4):nth-last-of-type(16) { --a: -50.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(5):nth-last-of-type(15) { --a: -30.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(6):nth-last-of-type(14) { --a: -10.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(7):nth-last-of-type(13) { --a: 10.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(8):nth-last-of-type(12) { --a: 30.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(9):nth-last-of-type(11) { --a: 50.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(10):nth-last-of-type(10) { --a: 70.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(11):nth-last-of-type(9) { --a: 90.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(12):nth-last-of-type(8) { --a: 110.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(13):nth-last-of-type(7) { --a: 130.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(14):nth-last-of-type(6) { --a: 150.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(15):nth-last-of-type(5) { --a: 170.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(16):nth-last-of-type(4) { --a: 190.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(17):nth-last-of-type(3) { --a: 210.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(18):nth-last-of-type(2) { --a: 230.0deg; }
.is-style-vw-format-wheel > figure:nth-of-type(19):nth-last-of-type(1) { --a: 250.0deg; }

/* Feature tabs (Group style "Feature tabs") -------------------------------------------------
   Without the script (and in the editor) the features are shown as cards. */
.is-style-vw-feature-tabs
{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.5rem;
}

.is-style-vw-feature-tabs > .vw-feature
{
	position: relative;
	margin: 0 !important;
	padding: 1.2rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 14px;
	background: var(--wp--preset--color--base);
}

.is-style-vw-feature-tabs .vw-feature-shot
{
	margin: 0 0 1rem 0 !important;
}

.is-style-vw-feature-tabs .vw-feature-shot img
{
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.is-style-vw-feature-tabs .vw-feature-icon
{
	margin: 0 !important;
}

.is-style-vw-feature-tabs .vw-feature-icon img
{
	width: 40px;
	height: 40px;
	padding: 8px;
	box-sizing: border-box;
	border-radius: 10px;
	background: var(--wp--preset--color--accent-soft);
}

.is-style-vw-feature-tabs .vw-feature h3
{
	font-size: 1.05rem;
	margin: 0.6rem 0 0.3rem 0;
}

.is-style-vw-feature-tabs .vw-feature p
{
	margin: 0;
	font-size: 0.95rem;
	color: var(--wp--preset--color--muted);
}

/* With the script: picture with title and text on the left, list on the right. */
.is-style-vw-feature-tabs.vw-ft-ready
{
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	gap: 3rem;
	align-items: center;
}

.vw-ft-stage
{
	border-radius: 16px;
	overflow: hidden;
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border);
	box-shadow: 0 30px 70px rgba(21, 51, 74, 0.14);
}

.vw-ft-bar
{
	display: flex;
	gap: 7px;
	align-items: center;
	height: 34px;
	padding: 0 14px;
	background: var(--wp--preset--color--base-alt);
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.vw-ft-bar i
{
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--wp--preset--color--border);
}

.vw-ft-shots
{
	position: relative;
	aspect-ratio: 1600 / 1160;
	background: #ffffff;
}

.vw-ft-shots > figure
{
	position: absolute;
	inset: 0;
	margin: 0 !important;
	opacity: 0;
	transform: scale(1.025);
	transition: opacity 0.55s ease, transform 0.9s ease;
}

.vw-ft-shots > figure.is-active
{
	opacity: 1;
	transform: none;
}

.vw-ft-shots > figure img
{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

.vw-ft-list
{
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.vw-ft-ready .vw-ft-list > .vw-feature
{
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.8rem 1rem;
	border: 1px solid transparent;
	border-radius: 12px;
	background: transparent;
	cursor: pointer;
	transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.vw-ft-ready .vw-ft-list > .vw-feature:hover
{
	background: color-mix(in srgb, var(--wp--preset--color--base) 60%, transparent);
}

.vw-ft-ready .vw-ft-list > .vw-feature.is-active
{
	background: var(--wp--preset--color--base);
	border-color: var(--wp--preset--color--border);
	box-shadow: 0 12px 30px rgba(21, 51, 74, 0.08);
}

.vw-ft-ready .vw-ft-list > .vw-feature:focus-visible
{
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}









.vw-ft-ready .vw-feature h3
{
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	color: var(--wp--preset--color--muted);
	transition: color 0.25s;
}

.vw-ft-ready .vw-feature.is-active h3
{
	color: var(--wp--preset--color--contrast);
	font-weight: 700;
}

@media (max-width: 960px)
{
	.is-style-vw-feature-tabs.vw-ft-ready
	{
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

/* Light / dark mode -----------------------------------------------------------------------
   html[data-theme="dark"] is set from the ov_theme_id cookie (shared with the viewer) or the system setting. */
html[data-theme="dark"]
{
	color-scheme: dark;
	--wp--preset--color--base: #11171d;
	--wp--preset--color--base-alt: #182029;
	--wp--preset--color--contrast: #e6edf2;
	--wp--preset--color--muted: #9cabb7;
	--wp--preset--color--accent: #3d9fcb;
	--wp--preset--color--accent-dark: #7cc3e3;
	--wp--preset--color--accent-soft: #163a4c;
	--wp--preset--color--border: #26323d;
	--wp--preset--color--accent-1: #3d9fcb;
	--wp--preset--color--accent-2: #163a4c;
	--wp--preset--color--accent-3: #7cc3e3;
	--wp--preset--color--accent-4: #9cabb7;
	--wp--preset--color--accent-5: #182029;
	--wp--preset--color--accent-6: #26323d;
}

html[data-theme="dark"] .is-style-vw-hero-light,
html[data-theme="dark"] .vw-hero-light
{
	background:
		linear-gradient(118deg, transparent 0 60%, rgba(255, 255, 255, 0.035) 60% 60.15%, transparent 60.15%),
		linear-gradient(62deg, transparent 0 30%, rgba(255, 255, 255, 0.035) 30% 30.15%, transparent 30.15%),
		linear-gradient(180deg, #151d25 0%, #11171d 100%);
}

html[data-theme="dark"] .is-style-vw-format-wheel::before
{
	background:
		radial-gradient(circle, rgba(61, 159, 203, 0.2) 0 13%, transparent 30%),
		radial-gradient(circle, transparent 0 29.6%, rgba(61, 159, 203, 0.25) 29.8% 30.1%, transparent 30.3%),
		radial-gradient(circle, transparent 0 49.4%, rgba(61, 159, 203, 0.18) 49.6% 49.9%, transparent 50.1%),
		radial-gradient(circle, rgba(24, 32, 41, 0.9) 0 50%, transparent 70%);
}

html[data-theme="dark"] .vw-ft-stage,
html[data-theme="dark"] .vw-compare-card,
html[data-theme="dark"] .vw-card
{
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.vw-theme-toggle
{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--wp--preset--color--contrast);
	cursor: pointer;
	transition: background 0.2s;
}

.vw-theme-toggle:hover
{
	background: var(--wp--preset--color--base-alt);
}

.vw-theme-toggle svg
{
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.vw-theme-toggle .vw-theme-sun,
html[data-theme="dark"] .vw-theme-toggle .vw-theme-moon
{
	display: none;
}

html[data-theme="dark"] .vw-theme-toggle .vw-theme-sun
{
	display: block;
}

.vw-header-right
{
	gap: 0.4rem;
}

/* Footer --------------------------------------------------------------------------------- */
.vw-footer
{
	border-top: 0;
	color: rgba(255, 255, 255, 0.78);
	background: #0e2c40;
	font-size: 0.95rem;
	padding-top: 4rem;
	padding-bottom: 1.5rem;
}

html[data-theme="dark"] .vw-footer
{
	background: #0a1016;
	border-top: 1px solid var(--wp--preset--color--border);
}

.vw-footer a
{
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	transition: color 0.2s;
}

.vw-footer a:hover
{
	color: #ffffff;
}

.vw-footer .wp-block-site-title a
{
	color: #ffffff;
	font-weight: 700;
}

.vw-footer-columns
{
	gap: 2.5rem;
}

.vw-footer-brand p
{
	max-width: 340px;
	margin: 1rem 0 1.4rem 0;
}

.vw-footer .vw-footer-brand .wp-block-button__link
{
	color: #ffffff;
	background: var(--wp--preset--color--accent);
}

.vw-footer-title
{
	display: inline-block;
	margin: 0.4rem 0 1rem 0;
	padding-bottom: 0.45rem;
	border-bottom: 2px solid var(--wp--preset--color--accent);
	color: #ffffff;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.vw-footer-links
{
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.55rem;
}

.vw-footer-bottom
{
	margin-top: 3rem !important;
	padding-top: 1.4rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.6);
}

.vw-footer-bottom p
{
	margin: 0;
}

.vw-compare-more
{
	margin: 2rem 0 0 0;
	text-align: center;
	font-weight: 600;
}

.vw-compare-more a
{
	text-decoration: none;
}

/* The 3D preview stays transparent in dark mode (the embedded viewer page has its own light scheme). */
.vw-preview-stage iframe
{
	color-scheme: light;
}

/* White buttons keep dark-blue text in both modes. */
.vw-compare .vw-compare-card.featured .wp-block-button .wp-block-button__link,
.vw-btn-light .wp-block-button__link:not(.has-background),
.is-style-vw-raised-blue .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background)
{
	color: #146a8f;
}

.vw-theme-toggle:focus:not(:focus-visible)
{
	outline: none;
}

/* Short pages: the footer stays at the bottom of the window. */
.wp-site-blocks
{
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.wp-site-blocks > footer:last-of-type
{
	margin-top: auto;
}

@media (max-width: 781px)
{
	.vw-header .wp-block-site-title
	{
		white-space: nowrap;
	}

	.vw-header .vw-header-actions .wp-block-button__link
	{
		padding: 0.55rem 0.85rem;
		font-size: 0.85rem;
		white-space: nowrap;
	}

	.vw-header-inner
	{
		gap: 0.6rem;
	}
}

@media (max-width: 420px)
{
	.vw-header .wp-block-site-title
	{
		display: none;
	}
}

/* Feature icons: plain two-colour drawings, faded until the feature is chosen. */
.is-style-vw-feature-tabs .vw-feature-icon img
{
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 0;
	background: none;
}

.vw-ft-ready .vw-feature-icon
{
	flex: none;
	width: 44px;
	height: 44px;
}

.vw-ft-ready .vw-feature-icon img
{
	opacity: 0.45;
	filter: grayscale(0.7);
	transition: opacity 0.25s, filter 0.25s;
}

.vw-ft-ready .vw-feature:hover .vw-feature-icon img,
.vw-ft-ready .vw-feature.is-active .vw-feature-icon img
{
	opacity: 1;
	filter: none;
}

/* Title and text lie on the picture, on a translucent band. All captions share one cell
   at the bottom, so the picture never changes size. */
.vw-ft-frame
{
	position: relative;
}

.vw-ft-captions
{
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: grid;
	padding: 1rem 1.6rem 1.15rem 1.6rem;
	background: color-mix(in srgb, var(--wp--preset--color--base) 84%, transparent);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--border) 70%, transparent);
}

.vw-ft-caption
{
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease;
}

.vw-ft-caption.is-active
{
	opacity: 1;
	visibility: visible;
}

.vw-ft-caption p
{
	margin: 0;
	font-size: 0.95rem;
	color: var(--wp--preset--color--muted);
}

.vw-ft-caption p.vw-ft-caption-title
{
	margin-bottom: 0.2rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--wp--preset--color--contrast);
}

/* Contact form block */
.vw-contact
{
	padding: 2rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 16px;
	background: var(--wp--preset--color--base);
	box-shadow: 0 20px 50px rgba(21, 51, 74, 0.08);
}

.vw-contact-form p
{
	margin: 0 0 1rem 0;
}

.vw-contact-row
{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 1rem;
}

.vw-contact-form label
{
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.9rem;
	font-weight: 600;
}

.vw-contact-form input[type="text"],
.vw-contact-form input[type="email"],
.vw-contact-form select,
.vw-contact-form textarea
{
	width: 100%;
	box-sizing: border-box;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 8px;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	font: inherit;
	font-size: 0.95rem;
}

.vw-contact-form input:focus,
.vw-contact-form select:focus,
.vw-contact-form textarea:focus
{
	outline: none;
	border-color: var(--wp--preset--color--accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wp--preset--color--accent) 20%, transparent);
}

.vw-contact-form .vw-contact-consent label
{
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	font-weight: 500;
	color: var(--wp--preset--color--muted);
}

.vw-contact-form .vw-contact-consent input
{
	margin-top: 0.3rem;
}

.vw-contact-form .wp-block-button__link
{
	border: 0;
	cursor: pointer;
}

.vw-contact-trap
{
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.vw-contact-notice
{
	padding: 0.8rem 1rem;
	border-radius: 8px;
	font-weight: 600;
}

.vw-contact-notice.is-success
{
	background: color-mix(in srgb, #2a9d6f 14%, transparent);
	color: #1f7a56;
}

.vw-contact-notice.is-error
{
	background: color-mix(in srgb, #e0475f 12%, transparent);
	color: #c22f47;
}

html[data-theme="dark"] .vw-contact-notice.is-success { color: #6fd3a8; }
html[data-theme="dark"] .vw-contact-notice.is-error { color: #ff8a9b; }

.vw-contact-info h3
{
	font-size: 1.05rem;
	margin: 1.6rem 0 0.3rem 0;
}

.vw-contact-info p
{
	margin: 0;
	color: var(--wp--preset--color--muted);
}

@media (max-width: 600px)
{
	.vw-contact { padding: 1.25rem; }
	.vw-contact-row { grid-template-columns: 1fr; }
}

.vw-contact-hero
{
	padding-bottom: 4.5rem !important;
}

.vw-contact-columns
{
	gap: 3.5rem;
}

/* Caption band: more see-through. */
.vw-ft-captions
{
	background: color-mix(in srgb, var(--wp--preset--color--base) 62%, transparent);
	backdrop-filter: blur(10px) saturate(1.2);
	-webkit-backdrop-filter: blur(10px) saturate(1.2);
	border-bottom-left-radius: inherit;
	border-bottom-right-radius: inherit;
}

/* The picture frame clips everything inside it to its corners (also the blurred band, no white corners). */
.vw-ft-frame
{
	border-radius: inherit;
	overflow: hidden;
	isolation: isolate;
}

.vw-ft-shots,
html[data-theme="dark"] .vw-ft-shots
{
	background: var(--wp--preset--color--base-alt);
}

/* No ring around the chosen feature when clicked with the mouse (keyboard focus keeps a ring). */
.vw-ft-ready .vw-ft-list > .vw-feature:focus:not(:focus-visible)
{
	outline: none;
}

/* Corners: calm, continuous ("squircle") corners like current Apple designs where the browser supports
   them, otherwise moderate round corners. One scale for the whole site. */
:root
{
	--vw-r-lg: 12px;
	--vw-r-md: 10px;
	--vw-r-sm: 7px;
}

@supports (corner-shape: squircle)
{
	:root
	{
		--vw-r-lg: 22px;
		--vw-r-md: 17px;
		--vw-r-sm: 12px;
	}
}

.vw-ft-stage,
.vw-preview,
.vw-card,
.vw-compare-card,
.vw-compare-scroll,
.vw-contact,
.vw-example,
.vw-cta,
.is-style-vw-raised,
.is-style-vw-raised-blue,
.vw-popup-box,
.is-style-vw-feature-tabs > .vw-feature
{
	border-radius: var(--vw-r-lg) !important;
	corner-shape: squircle;
}

.vw-ft-ready .vw-ft-list > .vw-feature,
.vw-contact-notice,
.vw-popup-close,
.vw-theme-toggle
{
	border-radius: var(--vw-r-md) !important;
	corner-shape: squircle;
}

.wp-element-button,
.wp-block-button__link,
.vw-contact-form input[type="text"],
.vw-contact-form input[type="email"],
.vw-contact-form select,
.vw-contact-form textarea,
.is-style-vw-feature-tabs .vw-feature-shot img
{
	border-radius: var(--vw-r-sm) !important;
	corner-shape: squircle;
}

.vw-ft-shots > figure img
{
	border-radius: 0 !important;
}

/* Feature picture: one shape. The stage draws border and shadow; the frame inside clips the screenshot
   and the blurred caption band to exactly the same (squircle) corners. Nothing else is rounded. */
.vw-ft-stage
{
	overflow: visible;
}

.vw-ft-frame
{
	border-radius: calc(var(--vw-r-lg) - 1px);
	corner-shape: squircle;
	overflow: hidden;
	isolation: isolate;
	-webkit-mask-image: linear-gradient(#000 0 0);
	mask-image: linear-gradient(#000 0 0);
}

.vw-ft-captions,
.vw-ft-shots,
.vw-ft-shots > figure,
.vw-ft-bar
{
	border-radius: 0 !important;
}

.is-style-vw-feature-tabs .vw-ft-shots .vw-feature-shot,
.is-style-vw-feature-tabs .vw-ft-shots .vw-feature-shot img
{
	border-radius: 0 !important;
	corner-shape: round;
}

/* Plans: monthly / yearly switch (prices from Stripe) */
.vw-interval-toggle
{
	display: flex;
	width: max-content;
	gap: 4px;
	margin: 0 auto 2rem auto;
	padding: 4px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 999px;
	background: var(--wp--preset--color--base);
	position: relative;
	z-index: 3;
}

.vw-interval-toggle button
{
	padding: 0.5rem 1.2rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--wp--preset--color--muted);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.vw-interval-toggle button.is-active
{
	background: var(--wp--preset--color--accent);
	color: #ffffff;
}

.vw-interval-toggle button span
{
	margin-left: 0.3rem;
	padding: 0.05rem 0.45rem;
	border-radius: 999px;
	background: color-mix(in srgb, #3ddc97 22%, transparent);
	color: #1f9e68;
	font-size: 0.75rem;
}

.vw-interval-toggle button.is-active span
{
	background: rgba(255, 255, 255, 0.22);
	color: #ffffff;
}

.vw-compare-price small
{
	font-size: 0.95rem;
	font-weight: 600;
	opacity: 0.75;
	margin-left: 0.15rem;
}

.vw-compare .vw-price-y,
.vw-compare.vw-interval-year .vw-price-m
{
	display: none;
}

.vw-compare.vw-interval-year .vw-price-y
{
	display: inline;
}

.is-style-vw-overlap .vw-interval-toggle
{
	margin-top: -8.5rem;
	margin-bottom: 1.5rem;
}

.is-style-vw-overlap .vw-interval-toggle + .vw-compare-cards
{
	margin-top: 0;
}

/* App page (template "App page"): slim full-width top bar, no footer, like a web app. */
body.vw-app-shell
{
	background: var(--wp--preset--color--base-alt);
}

body.vw-app-shell .wp-site-blocks
{
	padding: 0;
}

body.vw-app-shell .wp-site-blocks > *
{
	margin-block-start: 0;
}

.vw-header.vw-header-app
{
	padding: 0.55rem clamp(1rem, 2vw, 2rem);
	gap: 1rem;
}

.vw-header-app .wp-block-site-title
{
	font-size: 1.05rem;
}

.vw-header-app .vw-logo img
{
	width: 30px;
	height: 30px;
}

.vw-header-app .vw-header-actions .wp-block-button__link
{
	padding: 0.5rem 1rem;
	font-size: 0.9rem;
}

.vw-app-page-content
{
	padding: 1.75rem clamp(1rem, 2vw, 2rem) 3rem;
}

.vw-app-page-content .entry-content > *,
.vw-app-page-content .wp-block-post-content > *
{
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}

.vw-app-page-content .wp-block-post-content > * + *
{
	margin-top: 1.75rem;
}

/* Start page /viewer/ (block "Get started"): the dashboard's empty state in the middle of the window. */
/* The page is exactly the window: header on top, the start screen fills the rest, no scrolling. */
body.vw-app-shell:has(.vw-get-started, .vw-sign-in-page) .wp-site-blocks
{
	display: flex;
	flex-direction: column;
	height: 100vh;
	height: 100dvh;
	min-height: 0;
}

body.admin-bar.vw-app-shell:has(.vw-get-started, .vw-sign-in-page) .wp-site-blocks
{
	height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
	height: calc(100dvh - var(--wp-admin--admin-bar--height, 32px));
}

body.vw-app-shell:has(.vw-get-started, .vw-sign-in-page) .wp-site-blocks > header
{
	flex: none;
}

body.vw-app-shell:has(.vw-get-started, .vw-sign-in-page) .vw-app-page-content
{
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
	padding-top: 0;
	padding-bottom: 0;
}

body.vw-app-shell:has(.vw-get-started, .vw-sign-in-page) .vw-app-page-content > .wp-block-post-content
{
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
}

.vw-get-started
{
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	overflow: auto;
	padding: 1rem 0;
	box-sizing: border-box;
}

.vw-get-started div.ov_gallery_empty
{
	max-width: none;
	margin: 0 auto;
}

.vw-get-started div.ov_gallery_empty div.ov_gallery_empty_text
{
	font-size: 1.05rem;
}

/* The sentence stays on one line where there is room. */
@media (min-width: 640px)
{
	.vw-get-started div.ov_gallery_empty div.ov_gallery_empty_text
	{
		white-space: nowrap;
	}
}

.vw-get-started a.ov_gallery_empty_button
{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 178px;
	min-height: 44px;
	padding: 8px 16px;
	border: 1px solid var(--wp--preset--color--accent);
	border-radius: var(--vw-r-sm, 7px);
	corner-shape: squircle;
	background: var(--wp--preset--color--accent);
	color: #fff;
	font-size: 1rem;
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
}

.vw-get-started a.ov_gallery_empty_button:hover
{
	background: color-mix(in srgb, var(--wp--preset--color--accent) 82%, #000000);
	color: #fff;
}

.vw-get-started a.ov_gallery_empty_button.outline
{
	background: transparent;
	color: var(--wp--preset--color--accent);
}

.vw-get-started a.ov_gallery_empty_button.outline:hover
{
	background: var(--wp--preset--color--accent-soft);
	color: var(--wp--preset--color--accent);
}

/* Sign-in page template: exactly the window, no header, logo + form in the middle, status bar at the bottom. */
body.vw-auth-shell
{
	background: var(--wp--preset--color--base-alt);
}

body.vw-auth-shell .wp-site-blocks
{
	display: flex;
	flex-direction: column;
	height: 100vh;
	height: 100dvh;
	min-height: 0;
	padding: 0;
}

body.admin-bar.vw-auth-shell .wp-site-blocks
{
	height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
	height: calc(100dvh - var(--wp-admin--admin-bar--height, 32px));
}

body.vw-auth-shell .wp-site-blocks > *
{
	margin-block-start: 0;
}

body.vw-auth-shell .vw-auth-content
{
	flex: 1;
	min-height: 0;
	overflow: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.25rem;
	padding: 1rem clamp(1rem, 2vw, 2rem);
	box-sizing: border-box;
}

body.vw-auth-shell .vw-auth-content > .wp-block-post-content
{
	width: 100%;
	margin: 0;
}

body.vw-auth-shell .vw-auth-content > .wp-block-post-content > *
{
	max-width: none;
	margin: 0;
}

.vw-auth-brand
{
	gap: 0.6rem;
	margin: 0;
}

.vw-auth-brand .vw-logo
{
	margin: 0;
}

.vw-auth-brand .vw-logo img
{
	width: 34px;
	height: 34px;
	display: block;
}

.vw-auth-brand .wp-block-site-title
{
	font-size: 1.2rem;
	font-weight: 700;
}

.vw-auth-brand .wp-block-site-title a
{
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

body.vw-auth-shell .vw-sign-in-page
{
	flex: none;
	padding: 0;
	overflow: visible;
}

/* The page's status bar has the policy links: not again under the form. */
body.vw-auth-shell .vw-sign-in-page .ov_login_footer
{
	display: none;
}

.vw-status-footer
{
	justify-content: center;
	column-gap: 1.75rem;
	row-gap: 0.25rem;
	flex: none;
	min-height: 34px;
	padding: 0 clamp(1rem, 2vw, 2rem);
	gap: 1rem;
	font-size: 0.8rem;
	color: var(--wp--preset--color--muted);
	background: var(--wp--preset--color--base);
	border-top: 1px solid var(--wp--preset--color--border);
	box-sizing: border-box;
}

.vw-status-footer p
{
	margin: 0;
	white-space: nowrap;
}

.vw-status-right
{
	gap: 0.75rem;
	min-width: 0;
}

.vw-status-links
{
	display: flex;
	gap: 1.1rem;
	overflow: hidden;
}

/* Links are shown in the accent colour (no underline); a darker shade on hover. */
.vw-status-links a
{
	color: var(--wp--preset--color--accent);
	text-decoration: none;
	transition: color 0.15s;
}

.vw-status-links a:hover,
.vw-status-links a:focus-visible
{
	color: var(--wp--preset--color--accent-dark);
	text-decoration: none;
}

.vw-status-footer .vw-theme-toggle
{
	width: 26px;
	height: 26px;
}

.vw-status-footer .vw-theme-toggle svg
{
	width: 15px;
	height: 15px;
}

@media (max-width: 600px)
{
	.vw-status-links a:nth-child(n+3)
	{
		display: none;
	}

	.vw-status-footer
	{
		padding-top: 0.35rem;
		padding-bottom: 0.35rem;
	}
}

/* No focus ring after clicking the light / dark button with the mouse (keyboard focus still shows it). */
.vw-theme-toggle:focus:not(:focus-visible)
{
	outline: none;
}

/* Sign-in pages: a drawing of survey and design data (terrain, building, point cloud, bridge, drone,
   measured site) around the form. */
body.vw-auth-shell .vw-auth-content
{
	background: url("assets/images/auth-scene-light.svg") center 52% / min(1500px, 125vw) auto no-repeat;
}

html[data-theme="dark"] body.vw-auth-shell .vw-auth-content
{
	background-image: url("assets/images/auth-scene-dark.svg");
}

@media (max-width: 720px)
{
	body.vw-auth-shell .vw-auth-content
	{
		background: none;
	}
}

/* Form header: title in the middle, light / dark mode on the right. */
.vw-sign-in-page .ov_login_dialog .ov_login_header.ov_login_header_page
{
	display: grid;
	grid-template-columns: 40px 1fr 40px;
	align-items: center;
	gap: 0.5rem;
	padding-left: 16px;
	padding-right: 16px;
}

.vw-sign-in-page .ov_login_dialog .ov_login_header_page .ov_login_title
{
	text-align: center;
}

/* No line under the title on the page: the form follows right away. */
.vw-sign-in-page .ov_login_dialog .ov_login_header.ov_login_header_page
{
	border-bottom: 0;
	padding-top: 18px;
	padding-bottom: 2px;
	grid-template-columns: 44px 1fr 44px;
}

.vw-sign-in-page .ov_login_header .vw-theme-toggle
{
	width: 44px;
	height: 44px;
}

.vw-sign-in-page .ov_login_header .vw-theme-toggle svg
{
	width: 25px;
	height: 25px;
}

.vw-sign-in-page .ov_login_header_side
{
	display: flex;
	justify-content: flex-end;
}

/* Tooltip of the light / dark mode button, like the viewer's tooltips. */
.vw-tooltip
{
	/* The same look as every other tooltip of the site and the app (.ov_tooltip, .vw-tip). */
	position: fixed;
	z-index: 100003;
	padding: 5px 10px;
	border: 1px solid rgba(127, 140, 155, 0.22);
	border-radius: 5px;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	box-shadow: 0 4px 14px rgba(15, 30, 45, 0.16);
	font-family: var(--wp--preset--font-family--quicksand, inherit);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
	white-space: nowrap;
	pointer-events: none;
}

/* Short windows (small laptops): a tighter form so the page still fits without scrolling. */
@media (max-height: 780px)
{
	body.vw-auth-shell .vw-auth-content
	{
		gap: 0.75rem;
		padding-top: 0.5rem;
		padding-bottom: 0.5rem;
	}

	.vw-auth-brand .vw-logo img
	{
		width: 28px;
		height: 28px;
	}

	body.vw-auth-shell .ov_login_dialog .ov_login_header
	{
		padding-top: 12px;
		padding-bottom: 12px;
	}

	body.vw-auth-shell .ov_login_dialog .ov_login_body
	{
		padding-bottom: 16px;
	}

	body.vw-auth-shell .ov_login_dialog .ov_login_section_title
	{
		margin-top: 12px;
		margin-bottom: 8px;
	}

	body.vw-auth-shell .ov_login_dialog input.ov_login_input
	{
		padding-top: 8px;
		padding-bottom: 8px;
	}

	body.vw-auth-shell .ov_login_dialog button.ov_login_submit
	{
		margin-top: 10px;
	}
}

/* Sign-in and sign-up pages (block "Sign-in form"): the form as a card in the middle of the window. */
.vw-sign-in-page
{
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	overflow: auto;
	padding: 1.5rem 0;
	box-sizing: border-box;
}

.vw-sign-in-page > .ov_dialog.ov_login_dialog
{
	position: static;
	width: 460px;
	max-width: 100%;
	max-height: none;
	margin: auto;
	overflow: visible;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--vw-r-lg, 12px);
	corner-shape: squircle;
	box-shadow: 0 18px 50px rgba(15, 30, 45, 0.12), 0 2px 8px rgba(15, 30, 45, 0.06);
}

html[data-theme="dark"] .vw-sign-in-page > .ov_dialog.ov_login_dialog
{
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.25);
}

.vw-sign-in-loading span
{
	display: block;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 3px solid var(--wp--preset--color--border);
	border-top-color: var(--wp--preset--color--accent);
	animation: vw-spin 0.8s linear infinite;
}

@keyframes vw-spin
{
	to { transform: rotate(360deg); }
}

/* Pill button with an icon, like "New dataset" in project apps (Button style class vw-pill). */
.vw-pill .wp-block-button__link
{
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border-radius: 999px !important;
	padding: 0.55rem 1.15rem;
	font-size: 0.92rem;
}

.vw-pill .wp-block-button__link::before
{
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg 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'%3E%3Cpath d='M12 2 3 7v10l9 5 9-5V7z'/%3E%3Cpath d='M3 7l9 5 9-5M12 12v10'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg 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'%3E%3Cpath d='M12 2 3 7v10l9 5 9-5V7z'/%3E%3Cpath d='M3 7l9 5 9-5M12 12v10'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Demo projects (block "Demo projects"): a full-width grid of project cards. An empty link covers the whole
   card; the (i) and the source link sit above it. (i) swaps file name / date | author for license / source. */
.vw-demos
{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
	gap: 1rem;
}

.vw-demo
{
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--wp--preset--color--base);
	border-radius: var(--vw-r-sm);
	corner-shape: squircle;
	box-shadow: 0 0 0 1px var(--wp--preset--color--border);
	transition: box-shadow 0.15s;
}

html[data-theme="dark"] .vw-demo
{
	background: #232d38;
	box-shadow: none;
}

.vw-demo:hover,
.vw-demo:has(.vw-demo-link:focus-visible)
{
	box-shadow: 0 0 0 2px var(--wp--preset--color--accent), 0 8px 24px rgba(15, 30, 45, 0.14);
}

.vw-demo-link
{
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
	outline: none;
}

.vw-demo-thumb
{
	position: relative;
	display: block;
	aspect-ratio: 2.2 / 1;
	background: #e4e9ee;
	overflow: hidden;
	border-radius: var(--vw-r-sm) var(--vw-r-sm) 0 0;
	corner-shape: squircle;
}

html[data-theme="dark"] .vw-demo-thumb
{
	background: #3a444f;
}

.vw-demo-thumb img
{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 0.4rem 0;
	box-sizing: border-box;
	transition: transform 0.3s;
}

.vw-demo:hover .vw-demo-thumb img
{
	transform: scale(1.05);
}

.vw-demo-pill
{
	position: absolute;
	top: 0.55rem;
	padding: 0.1rem 0.45rem;
	border-radius: 4px;
	background: rgba(17, 23, 29, 0.55);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.03em;
}

.vw-demo-format
{
	left: 0.55rem;
}

.vw-demo-badge
{
	right: 0.55rem;
}

.vw-demo-body
{
	display: flex;
	align-items: flex-start;
	gap: 0.4rem;
	padding: 0.9rem 0.7rem 0 1rem;
	min-width: 0;
}

.vw-demo-text
{
	display: grid;
	flex: 1;
	min-width: 0;
}

/* Both faces share one grid cell, so the card keeps its height when they swap. */
.vw-demo-face
{
	grid-area: 1 / 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
	transition: opacity 0.18s, transform 0.18s;
}

.vw-demo-back
{
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
}

.vw-demo.is-info .vw-demo-front
{
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
}

.vw-demo.is-info .vw-demo-back
{
	opacity: 1;
	visibility: visible;
	transform: none;
}

.vw-demo-title
{
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.35;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.vw-demo-meta
{
	margin-top: 0.15rem;
	color: var(--wp--preset--color--muted);
	font-size: 0.85rem;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.vw-demo-back a
{
	position: relative;
	z-index: 2;
	color: var(--wp--preset--color--accent);
	text-decoration: none;
}

.vw-demo-back a:hover
{
	text-decoration: underline;
}

.vw-demo-info
{
	position: relative;
	z-index: 2;
	flex-shrink: 0;
	display: flex;
	width: 28px;
	height: 28px;
	margin-top: -2px;
	padding: 0;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--wp--preset--color--muted);
	cursor: pointer;
	outline: none;
	box-shadow: none;
	-webkit-tap-highlight-color: transparent;
}

.vw-demo-info:focus,
.vw-demo-info:focus-visible,
.vw-demo-info:active
{
	outline: none;
	box-shadow: none;
}

.vw-demo-info:hover,
.vw-demo-info:focus-visible,
.vw-demo.is-info .vw-demo-info
{
	color: var(--wp--preset--color--accent);
	background: color-mix(in srgb, var(--wp--preset--color--accent) 14%, transparent);
}

.vw-demo-info svg
{
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
}

.vw-demo-open
{
	align-self: flex-start;
	margin: 1.3rem 1rem 0.85rem;
	padding: 0.3rem 1rem;
	border: 1.5px solid var(--wp--preset--color--border);
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 700;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

html[data-theme="dark"] .vw-demo-open
{
	border-color: #56626e;
}

.vw-demo:hover .vw-demo-open
{
	background: var(--wp--preset--color--accent);
	border-color: var(--wp--preset--color--accent);
	color: #fff;
}

/* Format pills (demo cards and model cards in the dashboard): one color per format. */
[data-format].vw-format-pill,
html body div.ov_gallery_thumb div.ov_gallery_format[data-format]
{
	background: #5d6b78;
	color: #fff;
}

[data-format="ifc"].vw-format-pill, html body div.ov_gallery_format[data-format="ifc"] { background: #2563eb; }
[data-format="bim"].vw-format-pill, html body div.ov_gallery_format[data-format="bim"] { background: #0891b2; }
[data-format="step"].vw-format-pill, html body div.ov_gallery_format[data-format="step"],
[data-format="stp"].vw-format-pill, html body div.ov_gallery_format[data-format="stp"] { background: #7c3aed; }
[data-format="iges"].vw-format-pill, html body div.ov_gallery_format[data-format="iges"],
[data-format="igs"].vw-format-pill, html body div.ov_gallery_format[data-format="igs"] { background: #9333ea; }
[data-format="brep"].vw-format-pill, html body div.ov_gallery_format[data-format="brep"] { background: #a855f7; }
[data-format="fcstd"].vw-format-pill, html body div.ov_gallery_format[data-format="fcstd"] { background: #c2410c; }
[data-format="3dm"].vw-format-pill, html body div.ov_gallery_format[data-format="3dm"] { background: #4f46e5; }
[data-format="dwg"].vw-format-pill, html body div.ov_gallery_format[data-format="dwg"],
[data-format="dxf"].vw-format-pill, html body div.ov_gallery_format[data-format="dxf"] { background: #dc2626; }
[data-format="pdf"].vw-format-pill, html body div.ov_gallery_format[data-format="pdf"] { background: #b91c1c; }
[data-format="gltf"].vw-format-pill, html body div.ov_gallery_format[data-format="gltf"],
[data-format="glb"].vw-format-pill, html body div.ov_gallery_format[data-format="glb"] { background: #16a34a; }
[data-format="fbx"].vw-format-pill, html body div.ov_gallery_format[data-format="fbx"] { background: #0d9488; }
[data-format="dae"].vw-format-pill, html body div.ov_gallery_format[data-format="dae"] { background: #ca8a04; }
[data-format="obj"].vw-format-pill, html body div.ov_gallery_format[data-format="obj"] { background: #ea580c; }
[data-format="stl"].vw-format-pill, html body div.ov_gallery_format[data-format="stl"] { background: #db2777; }
[data-format="3mf"].vw-format-pill, html body div.ov_gallery_format[data-format="3mf"] { background: #059669; }
[data-format="3ds"].vw-format-pill, html body div.ov_gallery_format[data-format="3ds"] { background: #0284c7; }
[data-format="amf"].vw-format-pill, html body div.ov_gallery_format[data-format="amf"] { background: #65a30d; }
[data-format="ply"].vw-format-pill, html body div.ov_gallery_format[data-format="ply"] { background: #e11d48; }
[data-format="off"].vw-format-pill, html body div.ov_gallery_format[data-format="off"] { background: #64748b; }
[data-format="wrl"].vw-format-pill, html body div.ov_gallery_format[data-format="wrl"] { background: #d97706; }
[data-format="las"].vw-format-pill, html body div.ov_gallery_format[data-format="las"],
[data-format="laz"].vw-format-pill, html body div.ov_gallery_format[data-format="laz"],
[data-format="e57"].vw-format-pill, html body div.ov_gallery_format[data-format="e57"] { background: #15803d; }

/* Plans: a discounted price shows the price before the discount struck through and the discount. */
.vw-compare-was
{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	margin-top: 0.2rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--wp--preset--color--muted);
}

.vw-compare-card.featured .vw-compare-was
{
	color: rgba(255, 255, 255, 0.8);
}

.vw-compare-table .vw-compare-was
{
	font-size: 0.85rem;
}

.vw-compare-discount-badge
{
	display: inline-block;
	padding: 1px 8px;
	border-radius: 999px;
	background: #15803d;
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.5;
}

/* Plans: price with a Month / Year dropdown (all dropdowns of the block switch together). */
.vw-price-line
{
	display: inline-flex;
	align-items: baseline;
	justify-content: center;
	gap: 0.3rem;
}

.vw-compare-price select.vw-interval-select
{
	appearance: none;
	-webkit-appearance: none;
	padding: 0.15rem 1.5rem 0.15rem 0.5rem;
	border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
	border-radius: 999px;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.45rem center / 0.8rem;
	color: inherit;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
}

.vw-compare-price select.vw-interval-select:hover
{
	border-color: currentColor;
}

.vw-compare-price select.vw-interval-select option
{
	color: #11171d;
	background: #ffffff;
}

.vw-compare-card.featured select.vw-interval-select
{
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

.vw-compare-price .vw-compare-was.vw-price-m,
.vw-compare.vw-interval-year .vw-compare-price .vw-compare-was.vw-price-y
{
	display: flex;
}

.vw-compare.vw-interval-year .vw-compare-price .vw-compare-was.vw-price-m
{
	display: none;
}

/* Discount: the original price struck through, readable next to the "Save …" badge. */
.vw-compare-price .vw-compare-was
{
	margin-top: 0.35rem;
	font-size: 1.05rem;
}

.vw-compare-price .vw-compare-was .vw-compare-discount-badge
{
	padding: 2px 10px;
	font-size: 0.8rem;
}


/* Phones: logo on the left, light / dark and the buttons on the right, the menu button at the very end. */
@media (max-width: 781px)
{
	.vw-header .vw-header-inner
	{
		gap: 0.5rem;
	}

	.vw-header .vw-header-inner > .wp-block-navigation
	{
		order: 3;
		flex: 0 0 auto;
	}

	.vw-header .vw-header-inner > .vw-header-right
	{
		order: 2;
		margin-left: auto;
		gap: 0.4rem;
	}

	.vw-header .wp-block-navigation__responsive-container-open
	{
		display: flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		border-radius: 10px;
	}

	.vw-header .wp-block-navigation__responsive-container-open svg
	{
		width: 26px;
		height: 26px;
	}

	.vw-header .vw-header-actions .wp-block-button__link
	{
		padding: 0.55rem 0.9rem;
		font-size: 0.9rem;
		white-space: nowrap;
	}

	/* The open menu: full screen, large links. */
	.vw-header .wp-block-navigation__responsive-container.is-menu-open
	{
		position: fixed;
		inset: 0;
		z-index: 100000;
		padding: 1.25rem 1.5rem 2rem 1.5rem;
		color: var(--wp--preset--color--contrast);
		background: var(--wp--preset--color--base);
		overflow-y: auto;
	}

	.vw-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close
	{
		top: 1.1rem;
		right: 1.1rem;
		width: 40px;
		height: 40px;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 10px;
	}

	.vw-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content
	{
		padding-top: 3.5rem;
		align-items: stretch;
	}

	.vw-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container
	{
		gap: 0;
		width: 100%;
		align-items: stretch;
	}

	.vw-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item
	{
		width: 100%;
		border-bottom: 1px solid var(--wp--preset--color--border);
	}

	.vw-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content
	{
		display: block;
		width: 100%;
		padding: 1rem 0.25rem;
		font-size: 1.25rem;
		font-weight: 600;
		color: var(--wp--preset--color--contrast);
		text-decoration: none;
	}

	html.has-modal-open .vw-header
	{
		z-index: 100000;
	}
}

/* "Sign in" in the menu only on phones (the header button is hidden there). */
.vw-header .wp-block-navigation-item.vw-nav-mobile-only
{
	display: none;
}

@media (max-width: 781px)
{
	.vw-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.vw-nav-mobile-only
	{
		display: block;
	}

	.vw-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.vw-nav-mobile-only .wp-block-navigation-item__content
	{
		color: var(--wp--preset--color--accent);
	}

	.vw-header .wp-block-navigation__responsive-container.is-menu-open a:focus:not(:focus-visible),
	.vw-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog:focus
	{
		outline: none;
	}
}

/* Installed as an app: no page zoom (only scrolling), no tap flash, no long-press menus or text selection on
   controls; text fields and content stay selectable. */
html.vw-standalone,
html.vw-standalone body
{
	touch-action: pan-x pan-y;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;
	overscroll-behavior: none;
}

html.vw-standalone a,
html.vw-standalone button,
html.vw-standalone [role="button"],
html.vw-standalone img,
html.vw-standalone .wp-block-button__link,
html.vw-standalone .vw-app-side,
html.vw-standalone .ov_gallery_card,
html.vw-standalone .ov_lib_row
{
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	user-select: none;
}

html.vw-standalone input,
html.vw-standalone textarea,
html.vw-standalone select
{
	font-size: max(16px, 1em);
}

/* Installed app: the logo is not a link to the website (no tap highlight, no pointer). */
html.vw-standalone .vw-auth-brand a,
html.vw-standalone .vw-logo a,
html.vw-standalone .wp-block-site-title a
{
	cursor: default;
	-webkit-tap-highlight-color: transparent;
}

/* Installed app, sign-in pages: no links to the website or to Support at the bottom. */
html.vw-standalone .vw-status-links a[href="/"],
html.vw-standalone .vw-status-links a[href="/contact/"]
{
	display: none;
}

/* Touch screens: no hover colour left on the light / dark button after a tap. */
@media (hover: none)
{
	.vw-theme-toggle:hover
	{
		background: transparent;
	}
}

/* Installed app started in dark mode draws under the phone's status bar: other pages (sign-in) start below it;
   switched to light mode during the session, a dark strip keeps the white status bar text readable. */
html.vw-standalone body:not(.vw-app-page)
{
	padding-top: env(safe-area-inset-top, 0px);
}

/* (Not in the iPhone / iPad app: it shows the clock dark on a light page itself.) */
html.vw-standalone[data-theme="light"]:not(.ov-native-app)::before
{
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: env(safe-area-inset-top, 0px);
	background: #182029;
	z-index: 2147483646;
	pointer-events: none;
}

/* Sign-in and sign-up pages on phones and tablets: no Cookies Policy and Help links in the footer (only Explore
   and Support, and the copyright). Computers keep all links. */
@media (max-width: 1023px), (hover: none) and (pointer: coarse)
{
	body.vw-auth-shell .vw-status-links a:nth-child(n+3)
	{
		display: none;
	}
}
