/*
Theme Name: Vitalis | Healthcare & Medical Clinic Divi Theme
Theme URI: https://vitalis.divi-layouts-pro.com/
Description: Vitalis is a bold Divi 5 child theme for healthcare: medical clinics, dental practices, family doctors, mental health, pediatrics and physical therapy. Six ready-made home pages, services, clinicians and patient stories post types, a three-step appointment booking form with time slots, a clinician directory with live filters, a care navigator, colour schemes per specialty, an accessibility toolbar and structured data for medical practices.
Author: Divi Layouts Pro
Author URI: https://www.elegantthemes.com/marketplace/author/divi-layouts/
Template: Divi
Version: 1.0.0
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: medical, healthcare, clinic, dental, doctor, mental health, pediatrics, physiotherapy, accessibility, modern
Text Domain: vitalis
*/

/* =========================================================================
   1. DESIGN TOKENS
   Modules are styled in the Divi Design tab. These variables only feed the
   few effects the Design tab cannot produce and the theme components
   (see assets/css/vitalis.css). They follow the Divi global colours, so a
   colour scheme or a change in the Visual Builder recolours them too.
   They are declared on body as well: a variable resolves where it is
   declared, and the colour schemes override the Divi colours on body.
   ========================================================================= */

:root,
body {
	--vitalis-primary: var(--gcid-primary-color, #1f4dff);
	--vitalis-accent: var(--gcid-secondary-color, #c8f560);
	--vitalis-ink: var(--gcid-heading-color, #0b1830);
	--vitalis-body: var(--gcid-body-color, #44516a);
	--vitalis-deep: var(--gcid-vitalis-deep, #08142b);
	--vitalis-soft: var(--gcid-vitalis-soft, #eef3fb);
	--vitalis-tint: var(--gcid-vitalis-tint, #dbe5ff);
	--vitalis-line: var(--gcid-vitalis-line, #dde4ef);
	--vitalis-muted: var(--gcid-vitalis-muted, #66738a);
	--vitalis-coral: var(--gcid-vitalis-coral, #ff5a3c);
	--vitalis-mint: var(--gcid-vitalis-mint, #19a463);
	--vitalis-white: #fff;
	--vitalis-line-strong: rgba(11, 24, 48, 0.16);

	--vitalis-font-heading: var(--et_global_heading_font, "Instrument Sans"), "Helvetica Neue", Arial, sans-serif;
	--vitalis-font-body: var(--et_global_body_font, "Geist"), "Helvetica Neue", Arial, sans-serif;
	--vitalis-font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	--vitalis-radius: 18px;
	--vitalis-radius-lg: 28px;
	--vitalis-radius-pill: 999px;
	--vitalis-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--vitalis-shadow: 0 28px 56px -30px rgba(8, 20, 43, 0.38);
	--vitalis-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M38 6h24a6 6 0 0 1 6 6v20h20a6 6 0 0 1 6 6v24a6 6 0 0 1-6 6H68v20a6 6 0 0 1-6 6H38a6 6 0 0 1-6-6V68H12a6 6 0 0 1-6-6V38a6 6 0 0 1 6-6h20V12a6 6 0 0 1 6-6Z'/%3E%3C/svg%3E");
}

/* =========================================================================
   2. BASE
   ========================================================================= */

/* Anchor links (#dental-care, #fees…) land below the sticky header. */
html {
	scroll-padding-top: 116px;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

::selection {
	background: var(--vitalis-accent);
	color: var(--vitalis-ink);
	text-shadow: none;
}

/* Balanced lines: headings never end on a lonely word, paragraphs avoid
   short last lines. The Design tab has no setting for line wrapping. */
.et_pb_module_header,
.et_pb_text h1,
.et_pb_text h2,
.et_pb_text h3,
.et_pb_text h4,
.et_pb_heading .et_pb_module_header,
.et_pb_post .entry-title,
.et_pb_number_counter .title,
.vitalis-finder__question,
.vitalis-finder__title {
	text-wrap: balance;
}

.et_pb_text p,
.et_pb_text li {
	text-wrap: pretty;
}

/* Headings typed in text and post content follow the heading font. The
   demo modules set it in their Design tab. */
body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
	font-family: var(--vitalis-font-heading);
	letter-spacing: -0.02em;
}

/* Divi's mobile menu: show a close icon while the menu is open. */
.mobile_nav.opened .mobile_menu_bar:before {
	content: "\4d";
}

/* =========================================================================
   3. HEADER NAVIGATION
   Class vitalis-nav on the Menu module, vitalis-header-bar on the Group
   holding the brand, the menu and the actions. Fonts and colours are set in
   the Design tab; the hover pill, the dropdown card and the mobile panel
   shape are not exposed there.
   ========================================================================= */

@media (min-width: 981px) {
	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et-menu-nav > ul {
		align-items: center;
		gap: 2px;
	}

	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et-menu-nav > ul > li {
		margin: 0;
		padding: 0;
	}

	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et-menu-nav > ul > li > a {
		position: relative;
		display: flex;
		align-items: center;
		padding: 10px 15px;
		border-radius: 12px;
		line-height: 1.4;
		white-space: nowrap;
		opacity: 1;
		transition: background-color 0.25s ease, color 0.25s ease;
	}

	/* A soft pill marks the hovered item; the current section gets a small
	   accent plus under its label. */
	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et-menu-nav > ul > li:hover > a {
		background-color: var(--vitalis-soft);
	}

	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et-menu-nav > ul > li > a::before {
		content: "";
		position: absolute;
		bottom: -3px;
		left: 50%;
		width: 9px;
		height: 9px;
		margin-left: -4.5px;
		background-color: var(--vitalis-primary);
		-webkit-mask: var(--vitalis-plus) center / contain no-repeat;
		mask: var(--vitalis-plus) center / contain no-repeat;
		opacity: 0;
		transform: scale(0) rotate(-90deg);
		transition: transform 0.35s var(--vitalis-ease), opacity 0.2s ease;
	}

	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et-menu-nav > ul > li.current-menu-item > a::before,
	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et-menu-nav > ul > li.current-menu-ancestor > a::before,
	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et-menu-nav > ul > li.current_page_item > a::before,
	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et-menu-nav > ul > li.current_page_ancestor > a::before {
		opacity: 1;
		transform: scale(1) rotate(0deg);
	}

	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et-menu-nav > ul > li.current-menu-ancestor > a,
	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et-menu-nav > ul > li.current_page_ancestor > a {
		color: var(--vitalis-primary) !important;
	}

	/* Chevron of the items with a dropdown; their plus stays under the label. */
	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et-menu-nav > ul > li.menu-item-has-children > a {
		padding-right: 34px;
	}

	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et-menu-nav > ul > li.menu-item-has-children > a::before {
		left: calc(50% - 10px);
	}

	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et-menu-nav > ul > li.menu-item-has-children > a::after {
		top: 50%;
		right: 13px;
		font-size: 15px;
		font-weight: 400;
		line-height: 1;
		transform: translateY(-50%);
		transition: transform 0.35s var(--vitalis-ease);
	}

	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et-menu-nav > ul > li.menu-item-has-children:hover > a::after {
		transform: translateY(-50%) rotate(180deg);
	}

	/* Dropdown card, centred under its item. */
	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et-menu-nav > ul > li > ul.sub-menu {
		top: calc(100% + 12px);
		left: 50%;
		width: 248px;
		padding: 8px;
		border: 1px solid var(--vitalis-line);
		border-top: 3px solid var(--vitalis-primary);
		border-radius: 18px;
		background-color: var(--vitalis-white);
		box-shadow: 0 30px 60px -28px rgba(8, 20, 43, 0.42), 0 2px 8px rgba(8, 20, 43, 0.05);
		transform: translate(-50%, 8px);
		transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.35s var(--vitalis-ease);
	}

	/* Invisible bridge so the pointer can travel from the item to the card. */
	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et-menu-nav > ul > li > ul.sub-menu::before {
		content: "";
		position: absolute;
		top: -16px;
		right: 0;
		left: 0;
		height: 16px;
	}

	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et-menu-nav > ul > li:hover > ul.sub-menu,
	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et-menu-nav > ul > li.et-show-dropdown > ul.sub-menu {
		transform: translate(-50%, 0);
	}

	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et-menu-nav li li {
		width: 100%;
		padding: 0;
		line-height: 1.4;
	}

	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et-menu-nav li li a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		padding: 10px 14px;
		border-radius: 11px;
		opacity: 1;
		transition: background-color 0.25s ease, color 0.25s ease;
	}

	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et-menu-nav li li a::after {
		content: "";
		width: 8px;
		height: 8px;
		background-color: currentColor;
		-webkit-mask: var(--vitalis-plus) center / contain no-repeat;
		mask: var(--vitalis-plus) center / contain no-repeat;
		opacity: 0;
		transform: rotate(-90deg);
		transition: opacity 0.25s ease, transform 0.35s var(--vitalis-ease);
	}

	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et-menu-nav li li a:hover {
		background-color: var(--vitalis-soft);
		opacity: 1;
	}

	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et-menu-nav li li a:hover::after,
	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et-menu-nav li li.current-menu-item > a::after {
		opacity: 1;
		transform: rotate(0deg);
	}

	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et-menu-nav li li.current-menu-item > a {
		background-color: var(--vitalis-soft);
		color: var(--vitalis-primary) !important;
	}
}

/* Small laptops and tablets in landscape: a tighter bar keeps the brand and
   the actions clear of the menu. */
@media (min-width: 981px) and (max-width: 1199px) {
	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et-menu-nav > ul > li > a {
		padding: 9px 10px;
		font-size: 14px;
	}

	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et-menu-nav > ul > li.menu-item-has-children > a {
		padding-right: 28px;
	}

	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et-menu-nav > ul > li.menu-item-has-children > a::after {
		right: 9px;
		font-size: 14px;
	}

	.vitalis-header-phone {
		display: none !important;
	}
}

@media (max-width: 980px) {
	/* The mobile panel opens under the whole bar, not under the burger. */
	.vitalis-header-bar {
		position: relative;
	}

	html body #page-container #et-boc .et-l .et_pb_section .vitalis-header-bar .vitalis-nav,
	html body #page-container #et-boc .et-l .et_pb_section .vitalis-header-bar .vitalis-nav .et_pb_menu_inner_container,
	html body #page-container #et-boc .et-l .et_pb_section .vitalis-header-bar .vitalis-nav .et_pb_menu__wrap,
	html body #page-container #et-boc .et-l .et_pb_section .vitalis-header-bar .vitalis-nav .et_mobile_nav_menu,
	html body #page-container #et-boc .et-l .et_pb_section .vitalis-header-bar .vitalis-nav .mobile_nav {
		position: static;
	}

	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et_mobile_nav_menu {
		margin: 0;
	}

	/* Burger: the icon centred in a 46px touch target. */
	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .mobile_nav .mobile_menu_bar {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 46px;
		height: 46px;
		border-radius: 14px;
		background-color: var(--vitalis-soft);
		transform: none;
	}

	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .mobile_nav .mobile_menu_bar::before {
		position: static;
		line-height: 1;
	}

	/* Rounded panel. */
	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et_mobile_menu {
		top: calc(100% + 12px);
		padding: 10px 14px 16px;
		border: 1px solid var(--vitalis-line);
		border-top: 3px solid var(--vitalis-primary);
		border-radius: 22px;
		box-shadow: 0 34px 60px -30px rgba(8, 20, 43, 0.42);
	}

	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et_mobile_menu li a {
		padding: 12px 14px;
		border-bottom: 0;
		border-radius: 12px;
	}

	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et_mobile_menu .menu-item-has-children > a {
		background-color: transparent;
		font-weight: 600;
	}

	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et_mobile_menu li ul {
		margin: 2px 0 8px 20px;
		padding-left: 8px;
		border-left: 2px solid var(--vitalis-line);
	}

	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et_mobile_menu li li {
		padding-left: 0;
	}

	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et_mobile_menu li li a {
		padding-top: 10px;
		padding-bottom: 10px;
		font-size: 15px;
		opacity: 0.88;
	}

	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et_mobile_menu li.current-menu-item > a,
	html body #page-container #et-boc .et-l .et_pb_section .vitalis-nav .et_mobile_menu li.current_page_item > a {
		background-color: var(--vitalis-soft);
		color: var(--vitalis-primary) !important;
	}
}

/* =========================================================================
   4. TYPOGRAPHIC ACCENTS
   Added by the Design tab helpers of the demo: wrap a word in <mark> inside
   a Heading module with one of these classes (Advanced › CSS Classes).
   ========================================================================= */

/* Marker stroke behind the word, e.g. Care for every <mark>chapter</mark>. */
.vitalis-hl--marker mark {
	padding: 0 0.06em;
	background: linear-gradient(transparent 56%, var(--vitalis-accent) 56%, var(--vitalis-accent) 90%, transparent 90%);
	color: inherit;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

/* On dark backgrounds the word itself takes the accent colour. */
.vitalis-hl--text mark {
	background: none;
	color: var(--vitalis-accent);
}

.vitalis-hl--primary mark {
	background: none;
	color: var(--vitalis-primary);
}

/* A solid accent block behind the word, for display headlines. */
.vitalis-hl--block mark {
	padding: 0 0.12em;
	border-radius: 0.14em;
	background: var(--vitalis-accent);
	color: var(--vitalis-ink);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

/* Plus sign before an eyebrow label (class vitalis-eyebrow). */
.vitalis-eyebrow p::before {
	content: "";
	display: inline-block;
	width: 0.95em;
	height: 0.95em;
	margin: 0 0.6em 0.16em 0;
	background-color: currentColor;
	-webkit-mask: var(--vitalis-plus) center / contain no-repeat;
	mask: var(--vitalis-plus) center / contain no-repeat;
	vertical-align: middle;
}

/* Live dot before a chip label (class vitalis-chip--dot). */
.vitalis-chip--dot p::before {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin: 0 8px 1px 0;
	border-radius: 50%;
	background: var(--vitalis-mint);
	box-shadow: 0 0 0 4px rgba(25, 164, 99, 0.18);
	vertical-align: middle;
	animation: vitalis-beat 2.2s ease-in-out infinite;
}

/* =========================================================================
   5. DIVI MODULE COMPLEMENTS
   Effects that the Design tab does not expose, scoped to a class added in
   Advanced › CSS Classes.
   ========================================================================= */

/* Photo cut into the rounded Vitalis plus (Image module, class vitalis-mask-cross). */
.vitalis-mask-cross .et_pb_image_wrap,
.vitalis-mask-cross img {
	-webkit-mask: var(--vitalis-plus) center / contain no-repeat;
	mask: var(--vitalis-plus) center / contain no-repeat;
}

/* Group used as a card that lifts on hover (class: vitalis-lift). */
.vitalis-lift {
	transition: transform 0.5s var(--vitalis-ease), box-shadow 0.5s var(--vitalis-ease) !important;
}

.vitalis-lift:hover {
	transform: translateY(-6px);
	box-shadow: var(--vitalis-shadow);
}

/* Image that zooms slowly inside its rounded frame (class: vitalis-zoom). */
.vitalis-zoom .et_pb_image_wrap {
	overflow: hidden;
}

.vitalis-zoom img {
	transition: transform 1.2s var(--vitalis-ease);
}

.vitalis-zoom:hover img,
.vitalis-lift:hover .vitalis-zoom img {
	transform: scale(1.05);
}

/* Infinite ticker (Text module, class vitalis-marquee): the content is
   written twice so the loop is seamless. */
.vitalis-marquee {
	overflow: hidden;
	-webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.vitalis-marquee p {
	display: flex;
	width: max-content;
	padding: 0;
	white-space: nowrap;
	animation: vitalis-marquee 48s linear infinite;
}

.vitalis-marquee:hover p {
	animation-play-state: paused;
}

.vitalis-marquee span {
	display: inline-flex;
	align-items: center;
	gap: 0.9em;
	padding-right: 0.9em;
}

.vitalis-marquee i {
	display: inline-block;
	width: 0.62em;
	height: 0.62em;
	background-color: var(--vitalis-accent);
	-webkit-mask: var(--vitalis-plus) center / contain no-repeat;
	mask: var(--vitalis-plus) center / contain no-repeat;
}

/* The ECG trace of the SVG module stretches to its container and draws
   itself in a loop. */
.vitalis-pulse svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.vitalis-pulse svg path {
	stroke-dasharray: 1500;
	stroke-dashoffset: 0;
	animation: vitalis-trace 5s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}

/* Breathing guide (SVG module, class vitalis-breathe): the circles swell
   and settle on a calm eight-second rhythm. */
.vitalis-breathe svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.vitalis-breathe svg circle {
	transform-box: fill-box;
	transform-origin: center;
	animation: vitalis-breathe 8s ease-in-out infinite;
}

.vitalis-breathe svg circle + circle {
	animation-delay: 0.4s;
}

/* Buttons. Every Button module of the demo carries vitalis-btn plus its
   variant (vitalis-btn--primary, --ink, --accent, --outline, --light or
   --ghost), vitalis-btn--icon when it shows the arrow and vitalis-btn--sm
   when it is compact. Colours, font, border and padding come from the
   Design tab; the arrow chip, the depth and the motion are drawn here. The
   Contact Form and Comments modules get the same chip with
   vitalis-form-button. */
html body #page-container #et-boc .et-l .et_pb_section .vitalis-btn.et_pb_button,
html body #page-container #et-boc .et-l .et_pb_section .vitalis-form-button .et_pb_button {
	position: relative;
	transition: background-color 0.35s var(--vitalis-ease), border-color 0.35s var(--vitalis-ease), color 0.35s var(--vitalis-ease), box-shadow 0.35s var(--vitalis-ease), transform 0.35s var(--vitalis-ease);
}

html body #page-container #et-boc .et-l .et_pb_section .vitalis-btn.et_pb_button:not(.vitalis-arrow-link):hover,
html body #page-container #et-boc .et-l .et_pb_section .vitalis-form-button .et_pb_button:hover {
	transform: translateY(-2px);
}

html body #page-container #et-boc .et-l .et_pb_section .vitalis-btn.et_pb_button:focus-visible,
html body #page-container #et-boc .et-l .et_pb_section .vitalis-form-button .et_pb_button:focus-visible {
	outline: 3px solid var(--vitalis-accent);
	outline-offset: 3px;
}

/* The arrow sits in a rounded chip, tilted at rest and straight on hover. */
html body #page-container #et-boc .et-l .et_pb_section .vitalis-btn--icon.et_pb_button::after,
html body #page-container #et-boc .et-l .et_pb_section .vitalis-btn--icon.et_pb_button:hover::after,
html body #page-container #et-boc .et-l .et_pb_section .vitalis-form-button .et_pb_button::after,
html body #page-container #et-boc .et-l .et_pb_section .vitalis-form-button .et_pb_button:hover::after {
	position: absolute;
	top: 50%;
	right: 10px;
	left: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	margin: -13px 0 0 !important;
	border-radius: 7px;
	background-color: var(--vitalis-chip-bg, var(--vitalis-accent));
	color: var(--vitalis-chip-fg, var(--vitalis-ink));
	font-size: 14px !important;
	line-height: 1 !important;
	-webkit-text-stroke: 0.6px currentColor;
	opacity: 1;
	transform: rotate(-45deg);
	transition: transform 0.45s var(--vitalis-ease), background-color 0.35s var(--vitalis-ease), color 0.35s var(--vitalis-ease), border-radius 0.45s var(--vitalis-ease);
}

html body #page-container #et-boc .et-l .et_pb_section .vitalis-btn--icon.et_pb_button:hover::after,
html body #page-container #et-boc .et-l .et_pb_section .vitalis-btn--icon.et_pb_button:focus-visible::after,
html body #page-container #et-boc .et-l .et_pb_section .vitalis-form-button .et_pb_button:hover::after {
	border-radius: 50%;
	background-color: var(--vitalis-chip-bg-hover, var(--vitalis-chip-bg, var(--vitalis-accent)));
	color: var(--vitalis-chip-fg-hover, var(--vitalis-chip-fg, var(--vitalis-ink)));
	transform: rotate(0deg);
}

html body #page-container #et-boc .et-l .et_pb_section .vitalis-btn--sm.vitalis-btn--icon.et_pb_button::after,
html body #page-container #et-boc .et-l .et_pb_section .vitalis-btn--sm.vitalis-btn--icon.et_pb_button:hover::after {
	right: 8px;
	width: 24px;
	height: 24px;
	margin-top: -12px !important;
	border-radius: 6px;
	font-size: 13px !important;
}

/* Variants: chip colours and depth. */
html body #page-container #et-boc .et-l .et_pb_section .vitalis-btn--primary.et_pb_button,
html body #page-container #et-boc .et-l .et_pb_section .vitalis-form-button .et_pb_button {
	box-shadow: 0 16px 30px -18px var(--vitalis-primary);
}

html body #page-container #et-boc .et-l .et_pb_section .vitalis-btn--ink.et_pb_button {
	box-shadow: 0 16px 30px -18px rgba(8, 20, 43, 0.7);
}

html body #page-container #et-boc .et-l .et_pb_section .vitalis-btn--accent.et_pb_button {
	--vitalis-chip-bg: var(--vitalis-ink);
	--vitalis-chip-fg: var(--vitalis-accent);
}

html body #page-container #et-boc .et-l .et_pb_section .vitalis-btn--outline.et_pb_button {
	--vitalis-chip-bg: var(--vitalis-primary);
	--vitalis-chip-fg: var(--vitalis-white);
	--vitalis-chip-bg-hover: var(--vitalis-accent);
	--vitalis-chip-fg-hover: var(--vitalis-ink);
}

html body #page-container #et-boc .et-l .et_pb_section .vitalis-btn--light.et_pb_button {
	--vitalis-chip-bg: var(--vitalis-primary);
	--vitalis-chip-fg: var(--vitalis-white);
	--vitalis-chip-bg-hover: var(--vitalis-ink);
}

html body #page-container #et-boc .et-l .et_pb_section .vitalis-btn--ghost.et_pb_button {
	--vitalis-chip-bg: var(--vitalis-accent);
	--vitalis-chip-fg: var(--vitalis-ink);
	--vitalis-chip-bg-hover: var(--vitalis-ink);
	--vitalis-chip-fg-hover: var(--vitalis-accent);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

/* Text link with an arrow that slides and a line that draws in on hover
   (vitalis-arrow-link, the "link" styles of the demo buttons). */
html body #page-container #et-boc .et-l .et_pb_section .vitalis-arrow-link.et_pb_button {
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 0 2px;
	transition: background-size 0.4s var(--vitalis-ease), color 0.3s var(--vitalis-ease);
}

html body #page-container #et-boc .et-l .et_pb_section .vitalis-arrow-link.et_pb_button:hover,
html body #page-container #et-boc .et-l .et_pb_section .vitalis-lift:hover .vitalis-arrow-link.et_pb_button {
	background-size: calc(100% - 30px) 2px;
}

/* Divi centres the arrow with a transform: it slides with the separate
   translate property, so it never leaves its line. Divi forces a 0.3em
   gap: the arrow gets the same 9px as the "Read article" of the blog. */
html body #page-container #et-boc .et-l .et_pb_section .vitalis-arrow-link.et_pb_button::after {
	margin-left: 9px !important;
	transition: translate 0.35s var(--vitalis-ease) !important;
}

html body #page-container #et-boc .et-l .et_pb_section .vitalis-arrow-link.et_pb_button:hover::after,
html body #page-container #et-boc .et-l .et_pb_section .vitalis-lift:hover .vitalis-arrow-link.et_pb_button::after {
	translate: 4px 0;
}

/* Search module (class: vitalis-search). Colours, fonts and the field
   padding come from the Design tab, which has no shape options for the
   submit button: it becomes a rounded button set inside the field. */
html body #page-container #et-boc .et-l .et_pb_section .vitalis-search input.et_pb_searchsubmit {
	align-self: stretch;
	min-height: 0 !important;
	margin: 6px;
	padding: 0 24px;
	border-radius: 12px;
	transition: background-color 0.35s var(--vitalis-ease), transform 0.35s var(--vitalis-ease);
}

html body #page-container #et-boc .et-l .et_pb_section .vitalis-search input.et_pb_searchsubmit:hover {
	transform: translateY(-1px);
}

html body #page-container #et-boc .et-l .et_pb_section .vitalis-search input.et_pb_s:focus {
	outline: none;
}

.vitalis-search:focus-within {
	border-color: var(--vitalis-primary) !important;
}

/* Large pull quote set in a Text module (class: vitalis-quote). Divi gives
   every blockquote a left border and padding; the quote is set free here. */
.vitalis-quote blockquote {
	margin: 0;
	padding: 0;
	border: 0;
}

.vitalis-quote blockquote p {
	padding-bottom: 0;
}

/* Links of the footer columns, one per line (class: vitalis-links). */
.vitalis-links a {
	display: block;
	width: fit-content;
}

/* Footer links: the colour fades and the column links slide. Divi gives
   the links of a text a colour transition only, hence the higher
   specificity. */
body .et-l--footer a,
body .vitalis-links .et_pb_text_inner a {
	transition-property: color, opacity, transform;
	transition-duration: 0.3s;
	transition-timing-function: var(--vitalis-ease);
}

.vitalis-links a:hover {
	transform: translateX(4px);
}

/* Row of pill links (Text module, class vitalis-chips): jump links to the
   sections of a page, or the blog categories. The Design tab sets the font;
   it has no shape options for the links of a text. */
.vitalis-chips p {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding-bottom: 0;
}

.vitalis-chips--center p {
	justify-content: center;
}

.vitalis-chips a {
	display: inline-flex;
	align-items: center;
	padding: 10px 16px;
	border: 1.5px solid var(--vitalis-line);
	border-radius: var(--vitalis-radius-pill);
	background-color: var(--vitalis-white);
	text-decoration: none;
	transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.vitalis-chips a:hover,
.vitalis-chips a:focus-visible {
	border-color: var(--vitalis-ink);
	background-color: var(--vitalis-ink);
	color: var(--vitalis-white) !important;
}

/* FAQ accordion (class: vitalis-faq): the open item gets a primary edge. */
.vitalis-faq .et_pb_toggle_open {
	box-shadow: inset 4px 0 0 var(--vitalis-primary);
}

.vitalis-faq .et_pb_toggle_title::before {
	right: 0;
	transition: transform 0.35s var(--vitalis-ease);
}

/* Blog module used as a card grid (class: vitalis-blog). Divi does not
   expose the inner spacing of grid posts, so it is set here. */
.vitalis-blog .et_pb_post {
	display: flex;
	flex-direction: column;
	padding: 0 !important;
	overflow: hidden;
	transition: transform 0.5s var(--vitalis-ease), box-shadow 0.5s var(--vitalis-ease);
}

.vitalis-blog .et_pb_post:hover {
	transform: translateY(-6px);
	box-shadow: var(--vitalis-shadow);
}

.vitalis-blog .et_pb_post .et_pb_image_container,
.vitalis-blog .et_pb_post > .entry-featured-image-url {
	order: -2;
	margin: 0 0 22px !important;
}

.vitalis-blog .et_pb_post .entry-featured-image-url {
	margin: 0;
}

/* Entries without a featured image (pages in search results too) get a
   soft placeholder with the plus, so every card keeps the same rhythm. */
.vitalis-blog .et_pb_post:not(.has-post-thumbnail) {
	position: relative;
}

.vitalis-blog .et_pb_post:not(.has-post-thumbnail)::before {
	content: "";
	order: -2;
	aspect-ratio: 4 / 3;
	margin-bottom: 22px;
	background: radial-gradient(120% 90% at 15% 0%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 60%), linear-gradient(135deg, var(--vitalis-soft), var(--vitalis-tint));
}

.vitalis-blog .et_pb_post:not(.has-post-thumbnail)::after {
	content: "";
	visibility: visible;
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: auto;
	aspect-ratio: 4 / 3;
	background-color: var(--vitalis-primary);
	opacity: 0.22;
	pointer-events: none;
	-webkit-mask: var(--vitalis-plus) center / 72px no-repeat;
	mask: var(--vitalis-plus) center / 72px no-repeat;
}

@media (max-width: 767px) {
	.vitalis-blog .et_pb_post:not(.has-post-thumbnail)::before,
	.vitalis-blog .et_pb_post:not(.has-post-thumbnail)::after {
		aspect-ratio: 3 / 1;
	}

	.vitalis-blog .et_pb_post:not(.has-post-thumbnail)::after {
		-webkit-mask-size: 48px;
		mask-size: 48px;
	}
}

.vitalis-blog .et_pb_post .entry-title,
.vitalis-blog .et_pb_post .post-meta {
	padding: 0 26px;
}

.vitalis-blog .et_pb_post .post-meta {
	order: -1;
	margin: 0 0 10px;
}

.vitalis-blog .et_pb_post .entry-title {
	margin: 0 0 6px;
}

.vitalis-blog .et_pb_post .post-content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	padding: 8px 26px 28px;
}

.vitalis-blog .et_pb_post .post-content-inner {
	margin-bottom: 16px;
}

.vitalis-blog .et_pb_post .post-content p {
	padding: 0;
}

/* The link sits at the bottom so every card of a row lines up. */
.vitalis-blog .et_pb_post .more-link {
	margin-top: auto;
	text-decoration: none;
}

/* Divi shows the link as a block: the arrow keeps its distance with a
   margin, and inline-block lets it slide on hover. */
.vitalis-blog .et_pb_post .more-link::after {
	content: "\24";
	display: inline-block;
	margin-left: 9px;
	font-family: "ETmodules", sans-serif;
	font-weight: 400;
	vertical-align: -0.12em;
	transition: transform 0.35s var(--vitalis-ease);
}

.vitalis-blog .et_pb_post:hover .more-link::after {
	transform: translateX(4px);
}

.vitalis-blog .pagination,
.vitalis-blog .wp-pagenavi {
	padding-top: 40px;
}

/* Comments (class: vitalis-comments). Fonts, fields and the button are
   styled in the Design tab; the thread layout is not exposed there. */
.vitalis-comments #comment-wrap {
	padding: 0;
}

.vitalis-comments .commentlist {
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.vitalis-comments .commentlist > li,
.vitalis-comments .commentlist .children li {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.vitalis-comments .comment-body {
	display: grid;
	grid-template-columns: 52px 1fr;
	column-gap: 18px;
	row-gap: 6px;
	margin: 0;
	padding: 24px 26px;
	border: 1px solid var(--vitalis-line);
	border-radius: 20px;
	background: var(--vitalis-white);
}

.vitalis-comments .comment_avatar {
	position: static;
	grid-row: span 2;
	width: 52px;
	height: 52px;
	margin: 0;
}

.vitalis-comments .comment_avatar img.avatar {
	display: block;
	width: 52px !important;
	max-width: none;
	height: 52px !important;
	border-radius: 14px;
	object-fit: cover;
}

.vitalis-comments .comment_postinfo {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	margin: 4px 0 0;
	padding: 0;
}

.vitalis-comments .comment_postinfo .fn,
.vitalis-comments .comment_postinfo .fn a {
	font-style: normal;
	text-decoration: none;
}

.vitalis-comments .comment_postinfo .comment_date {
	font-size: 13px;
	color: var(--vitalis-muted);
}

.vitalis-comments .comment_area {
	grid-column: 2;
	min-width: 0;
}

.vitalis-comments .comment-content p {
	margin: 0 0 12px;
	padding: 0;
}

.vitalis-comments .comment_area .reply-container {
	display: block;
	margin-top: 12px;
	text-align: left;
}

.vitalis-comments .comment_area .comment-reply-link,
.vitalis-comments .comment_area .comment-reply-link.et_pb_button {
	position: static !important;
	display: inline-flex !important;
	float: none !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--vitalis-primary) !important;
	font-size: 14px !important;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.vitalis-comments .comment_area .comment-reply-link::after {
	display: none !important;
}

.vitalis-comments .commentlist .children {
	margin: 16px 0 0 44px;
	padding: 0;
	list-style: none;
}

.vitalis-comments .commentlist .children .comment-body {
	border-color: transparent;
	background: var(--vitalis-soft);
}

.vitalis-comments #comment-wrap #respond {
	margin-top: 40px;
	padding: 34px;
	border-radius: 24px;
	background: var(--vitalis-soft);
}

.vitalis-comments .comment-reply-title {
	margin: 0 0 8px;
	padding: 0;
}

.vitalis-comments .comment-notes,
.vitalis-comments .logged-in-as {
	margin: 0 0 22px;
	padding: 0;
	font-size: 14px;
	color: var(--vitalis-body);
}

.vitalis-comments #commentform {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.vitalis-comments #commentform > p,
.vitalis-comments #commentform > .form-submit {
	grid-column: 1 / -1;
	margin: 0;
	padding: 0;
}

.vitalis-comments #commentform > .comment-form-author,
.vitalis-comments #commentform > .comment-form-email {
	grid-column: span 1;
}

.vitalis-comments #commentform > .comment-form-url {
	display: none;
}

.vitalis-comments #commentform input[type="text"],
.vitalis-comments #commentform input[type="email"],
.vitalis-comments #commentform textarea {
	box-sizing: border-box;
	width: 100%;
}

.vitalis-comments .comment-form-cookies-consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14px;
}

.vitalis-comments .comment-form-cookies-consent input {
	margin-top: 3px;
	accent-color: var(--vitalis-primary);
}

.vitalis-comments .nocomments {
	display: none;
}

.vitalis-comments #comment-wrap:has(> #comment-section.nocomments) > .page_title {
	display: none;
}

.vitalis-comments #comment-wrap:has(> #comment-section.nocomments) #respond {
	margin-top: 0;
}

@media (max-width: 767px) {
	.vitalis-comments .comment-body {
		grid-template-columns: 42px 1fr;
		column-gap: 14px;
		padding: 20px 18px;
	}

	.vitalis-comments .comment_avatar,
	.vitalis-comments .comment_avatar img.avatar {
		width: 42px !important;
		height: 42px !important;
	}

	.vitalis-comments .commentlist .children {
		margin-left: 18px;
	}

	.vitalis-comments #comment-wrap #respond {
		padding: 24px 18px;
	}

	.vitalis-comments #commentform {
		grid-template-columns: 1fr;
	}
}

/* Long reads (class: vitalis-entry on the Post Content module). The Design
   tab sets the fonts; the space above headings and around quotes is set here. */
.vitalis-entry h2 {
	margin-top: 1.4em;
	padding-bottom: 12px;
}

.vitalis-entry h3 {
	margin-top: 1.1em;
	padding-bottom: 8px;
}

.vitalis-entry > :first-child,
.vitalis-entry .et_pb_post_content > :first-child,
.vitalis-entry h2:first-child {
	margin-top: 0;
}

.vitalis-entry blockquote {
	margin: 1.6em 0;
	padding: 0.2em 0 0.2em 28px;
}

.vitalis-entry blockquote p {
	padding-bottom: 0;
}

.vitalis-entry ul,
.vitalis-entry ol {
	padding-bottom: 1em;
	padding-left: 1.2em;
}

.vitalis-entry li {
	margin-bottom: 0.4em;
}

.vitalis-entry li::marker {
	color: var(--vitalis-primary);
	font-weight: 700;
}

/* =========================================================================
   6. MOTION & PRINT
   ========================================================================= */

@keyframes vitalis-marquee {
	to {
		transform: translateX(-50%);
	}
}

@keyframes vitalis-beat {
	0%,
	100% {
		box-shadow: 0 0 0 4px rgba(25, 164, 99, 0.18);
	}

	50% {
		box-shadow: 0 0 0 7px rgba(25, 164, 99, 0.06);
	}
}

@keyframes vitalis-trace {
	0% {
		stroke-dashoffset: 1500;
		opacity: 1;
	}

	40%,
	86% {
		stroke-dashoffset: 0;
		opacity: 1;
	}

	100% {
		stroke-dashoffset: 0;
		opacity: 0;
	}
}

@keyframes vitalis-breathe {
	0%,
	100% {
		transform: scale(0.72);
	}

	45%,
	55% {
		transform: scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.vitalis-lift,
	.vitalis-zoom img,
	.vitalis-blog .et_pb_post {
		transition: none !important;
	}

	.vitalis-marquee p,
	.vitalis-chip--dot p::before,
	.vitalis-pulse svg path,
	.vitalis-breathe svg circle {
		animation: none;
	}
}

@media print {
	.et-l--header,
	.et-l--footer {
		display: none !important;
	}
}
