/* Avive Virtual Care: the "Avive Virtual Care · formerly Cloud Clinic" pill above each page's heading. */
.avvc-badge {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	margin: 0;
	padding: 6px 16px 6px 8px;
	background: #fff;
	border-radius: 999px;
	box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.05);
	color: #041e42;
	font-size: 13px;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.avvc-badge img {
	width: 26px;
	height: auto;
	flex: none;
}
.avvc-badge strong {
	font-weight: 600;
}

/* Section menu under the hero: rounded tabs, current page in navy, "Existing patients" links on the right. */
.avvc-subnav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
}
.avvc-subnav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.avvc-subnav__label {
	margin-left: auto;
	padding-left: 16px;
	border-left: 1px solid #e3e9f0;
	color: #041e42;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}
/* "nav.avvc-subnav" outranks the site's global link colours (teal on hover), which made hovered tabs teal on teal. */
nav.avvc-subnav a {
	display: block;
	padding: 8px 16px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: #f0f0f0;
	color: #041e42;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s, border-color 0.15s;
}
nav.avvc-subnav a:hover,
nav.avvc-subnav a:focus-visible {
	border-color: #00c7b1;
	background: #e0f7f4;
	color: #041e42;
}
nav.avvc-subnav a[aria-current="page"],
nav.avvc-subnav a[aria-current="page"]:hover {
	border-color: #041e42;
	background: #041e42;
	color: #fff;
}
/* Phones: one row that scrolls sideways. */
@media (max-width: 767px) {
	.avvc-subnav,
	.avvc-subnav ul {
		flex-wrap: nowrap;
	}
	.avvc-subnav {
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.avvc-subnav::-webkit-scrollbar {
		display: none;
	}
	.avvc-subnav__label {
		margin-left: 0;
	}
	.avvc-subnav ul:last-child {
		padding-right: 20px;
	}
}

/* Telehealth doctor cards ([avive_virtual_care_doctors]): the directory's cards and buttons, without its page padding. */
.avc.avvc-doctor-list {
	padding: 0;
}
