.wellness-calendar-toolbar,
.wellness-calendar-widget,
.wellness-event-detail {
	--wellness-accent: currentColor;
	--wellness-accent: var(--e-global-color-primary, currentColor);
	--wellness-muted: rgba(0, 0, 0, 0.62);
	--wellness-muted: color-mix(in srgb, currentColor 55%, transparent);
	--wellness-border: rgba(0, 0, 0, 0.12);
	--wellness-border: color-mix(in srgb, currentColor 12%, transparent);
	box-sizing: border-box;
	color: inherit;
	font-family: inherit;
	letter-spacing: 0;
}

.wellness-calendar-toolbar *,
.wellness-calendar-widget *,
.wellness-event-detail * {
	box-sizing: border-box;
	letter-spacing: 0;
}

body.single-wellness_event .entry-meta,
body.single-wellness_event .post-meta,
body.single-wellness_event .post-meta-wrapper,
body.single-wellness_event .posted-on,
body.single-wellness_event .byline,
body.single-wellness_event .author.vcard,
body.single-wellness_event .post-date,
body.single-wellness_event .entry-date,
body.single-wellness_event .post-author,
body.single-wellness_event .ast-single-post-order .entry-meta,
body.single-wellness_event .nv-meta-list,
body.single-wellness_event .generate-post-meta,
body.single-wellness_event .elementor-post-info {
	display: none !important;
}

.wellness-calendar-toolbar {
	margin: 0 0 32px;
	padding: 20px;
	border: 1px solid var(--wellness-border);
	border-radius: 8px;
	background: transparent;
}

.wellness-calendar-toolbar-row {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--wellness-border);
}

.wellness-calendar-search {
	flex: 1 1 280px;
}

.wellness-calendar-search input,
.wellness-calendar-toolbar select {
	width: 100%;
	min-height: 44px;
	border: 1px solid var(--wellness-border);
	border-radius: 8px;
	background: transparent;
	color: inherit;
	font: inherit;
}

.wellness-calendar-search input {
	padding: 0 16px;
}

.wellness-calendar-toolbar select {
	width: auto;
	min-width: 150px;
	padding: 0 36px 0 14px;
}

.wellness-calendar-view-buttons {
	display: inline-flex;
	gap: 4px;
	padding: 4px;
	border: 1px solid var(--wellness-border);
	border-radius: 8px;
	background: #fff;
}

.wellness-calendar-view-buttons button,
.wellness-calendar-categories button {
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: inherit;
	cursor: pointer;
	font: inherit;
}

.wellness-calendar-view-buttons button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	padding: 0;
	background: #fff;
	line-height: 1;
}

.wellness-view-icon {
	display: block;
	width: 17px;
	height: 17px;
	margin: auto;
	color: currentColor;
}

.wellness-view-icon-grid {
	background:
		linear-gradient(currentColor 0 0) 0 0 / 7px 7px no-repeat,
		linear-gradient(currentColor 0 0) 10px 0 / 7px 7px no-repeat,
		linear-gradient(currentColor 0 0) 0 10px / 7px 7px no-repeat,
		linear-gradient(currentColor 0 0) 10px 10px / 7px 7px no-repeat;
}

.wellness-view-icon-list {
	background:
		linear-gradient(currentColor 0 0) 0 2px / 17px 2px no-repeat,
		linear-gradient(currentColor 0 0) 0 8px / 17px 2px no-repeat,
		linear-gradient(currentColor 0 0) 0 14px / 17px 2px no-repeat;
}

.wellness-view-icon-calendar {
	border: 2px solid currentColor;
	border-radius: 3px;
	position: relative;
}

.wellness-view-icon-calendar::before {
	content: "";
	position: absolute;
	top: 4px;
	left: 0;
	right: 0;
	border-top: 2px solid currentColor;
}

.wellness-calendar-view-buttons button.is-active {
	background: #1e73be;
	color: #fff;
}

.wellness-calendar-view-buttons button:not(.is-active):hover,
.wellness-calendar-view-buttons button:not(.is-active):focus {
	background: #fff;
	color: inherit;
}

.wellness-calendar-view-buttons button.is-active:hover,
.wellness-calendar-view-buttons button.is-active:focus {
	background: #1e73be;
	color: #fff;
}

.wellness-calendar-categories button.is-active {
	background: #1e73be;
	color: #fff;
}

.wellness-calendar-categories {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	padding-top: 16px;
}

.wellness-calendar-categories span {
	font-size: 0.82em;
	text-transform: uppercase;
	color: var(--wellness-muted);
}

.wellness-calendar-categories button {
	min-height: 34px;
	padding: 0 16px;
	border: 1px solid var(--wellness-border);
}

.wellness-calendar-view {
	display: none;
}

.wellness-calendar-view.is-active {
	display: grid;
}

.wellness-calendar-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.wellness-calendar-list {
	grid-template-columns: 1fr;
	gap: 18px;
}

.wellness-event-card {
	overflow: hidden;
	border: 1px solid var(--wellness-border);
	border-radius: 8px;
	background: transparent;
	color: inherit;
}

.wellness-event-card-list {
	display: grid;
	grid-template-columns: minmax(180px, 32%) 1fr;
}

.wellness-event-card-media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
}

.wellness-event-card-media img,
.wellness-event-hero-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wellness-event-badge {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 14px;
	border-radius: 8px;
	background: #fff;
	color: inherit;
}

.wellness-event-badges {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.wellness-event-card-media .wellness-event-badges {
	position: absolute;
	top: 16px;
	left: 16px;
	right: 16px;
}

.wellness-event-card-body {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 24px;
}

.wellness-event-card-date {
	color: var(--wellness-muted);
}

.wellness-event-card-title {
	margin: 0;
	color: inherit;
}

.wellness-event-card-title a {
	color: inherit !important;
	text-decoration: none !important;
}

.wellness-event-card-title a:hover,
.wellness-event-card-title a:focus {
	text-decoration: none !important;
}

.wellness-event-card-excerpt {
	margin: 0;
	color: inherit;
}

.wellness-event-card-button,
.wellness-event-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: fit-content;
	min-height: 42px;
	border-radius: 8px;
	color: var(--wellness-accent);
	font-weight: 700;
	text-decoration: none !important;
	text-transform: uppercase;
}

.wellness-event-card-button:hover,
.wellness-event-card-button:focus,
.wellness-event-button:hover,
.wellness-event-button:focus,
.wellness-event-card-button span,
.wellness-event-button span {
	text-decoration: none !important;
}

.wellness-event-button {
	width: 100%;
	margin-top: 18px;
	padding: 14px 20px;
	background: #1e73be;
	color: #fff;
}

.wellness-event-button:hover,
.wellness-event-button:focus {
	background: #1e73be;
	color: #fff;
}

.wellness-calendar-month {
	grid-template-columns: 1fr;
	gap: 16px;
}

.wellness-calendar-month-title {
	font-size: 1.4rem;
	font-weight: 700;
}

.wellness-calendar-month-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	border: 1px solid var(--wellness-border);
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
}

.wellness-calendar-weekday,
.wellness-calendar-day {
	min-height: 96px;
	padding: 10px;
	border-right: 1px solid var(--wellness-border);
	border-bottom: 1px solid var(--wellness-border);
}

.wellness-calendar-day {
	background: #fff;
}

.wellness-calendar-weekday {
	min-height: auto;
	font-weight: 700;
	background: color-mix(in srgb, currentColor 5%, transparent);
}

.wellness-calendar-day a {
	display: block;
	margin-top: 8px;
	font-size: 0.86em;
	color: inherit;
}

.wellness-calendar-empty {
	margin-top: 20px;
	color: var(--wellness-muted);
}

.wellness-event-hero {
	position: relative;
	display: grid;
	align-items: end;
	min-height: 360px;
	overflow: hidden;
	border-radius: 8px;
	background: color-mix(in srgb, currentColor 5%, transparent);
	color: inherit;
}

.wellness-event-hero.is-without-image {
	min-height: auto;
	padding: 48px;
	color: inherit;
}

.wellness-event-hero-image {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.wellness-event-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.58));
}

.wellness-event-hero.is-without-image::after {
	display: none;
}

.wellness-event-hero-content {
	position: relative;
	z-index: 2;
	max-width: 760px;
	padding: 48px;
}

.wellness-event-hero h1 {
	margin: 16px 0 0;
	color: inherit;
}

.wellness-event-hero:not(.is-without-image) h1 {
	color: #fff;
}

.wellness-event-detail-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 32%);
	gap: 56px;
	margin-top: 56px;
}

.wellness-event-main h2 {
	margin: 0 0 20px;
}

.wellness-event-content {
	color: inherit;
}

.wellness-event-section-line {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: -4px 0 24px;
	font-weight: 600;
}

.wellness-event-section-line span {
	display: inline-block;
	width: 0.48em;
	height: 0.48em;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
	flex: 0 0 auto;
}

.wellness-event-additional-section {
	margin-top: 48px;
}

.wellness-event-section-image {
	display: block;
	aspect-ratio: 16 / 9;
	margin: 0 0 24px;
	overflow: hidden;
	border-radius: 8px;
}

.wellness-event-section-image-1-1 {
	aspect-ratio: 1 / 1;
}

.wellness-event-section-image-media {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.wellness-event-sidebar {
	display: grid;
	align-content: start;
	gap: 24px;
}

@media (min-width: 901px) {
	.wellness-event-sidebar {
		position: sticky;
		top: 32px;
		align-self: start;
	}

	body.admin-bar .wellness-event-sidebar {
		top: 64px;
	}
}

.wellness-event-info-card,
.wellness-event-author-card {
	padding: 28px;
	border: 1px solid var(--wellness-border);
	border-radius: 8px;
	background: transparent;
}

.wellness-event-info-row {
	display: grid;
	grid-template-columns: minmax(88px, 34%) 1fr;
	gap: 12px;
	align-items: baseline;
	margin-bottom: 18px;
}

.wellness-event-info-row span {
	color: var(--wellness-muted);
	text-transform: uppercase;
}

.wellness-event-info-row strong,
.wellness-event-info-row a {
	color: inherit;
	text-decoration: none;
}

.wellness-event-note {
	color: var(--wellness-accent);
	text-align: right;
}

.wellness-event-author-head {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 16px;
	align-items: start;
}

.wellness-event-author-photo-frame {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: color-mix(in srgb, currentColor 8%, transparent);
	flex: 0 0 auto;
}

.wellness-event-author-photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.wellness-event-author-card h3 {
	margin: 0 0 8px;
	line-height: 1.15;
}

.wellness-event-author-title,
.wellness-event-author-bio {
	margin: 0 0 8px;
	line-height: 1.45;
}

.wellness-event-author-bio {
	grid-column: 1 / -1;
	margin-top: 10px;
	font-size: 14px;
}

.wellness-event-author-card p:last-child,
.wellness-event-author-bio:last-child {
	margin-bottom: 0;
}

@media (max-width: 900px) {
	.wellness-calendar-grid,
	.wellness-event-detail-layout {
		grid-template-columns: 1fr;
	}

	.wellness-event-card-list {
		grid-template-columns: 1fr;
	}

	.wellness-calendar-month-grid {
		grid-template-columns: 1fr;
	}

	.wellness-calendar-weekday {
		display: none;
	}

}

@media (max-width: 600px) {
	.wellness-event-hero-content,
	.wellness-event-hero.is-without-image {
		padding: 28px;
	}

	.wellness-calendar-toolbar select,
	.wellness-calendar-view-buttons,
	.wellness-event-card-button {
		width: 100%;
	}

}
