.tk-event-hero {
	border-bottom: 1px solid var(--ast-border-color, #e5e5e5);
	display: grid;
	gap: 28px;
	margin-bottom: 32px;
	padding-bottom: 32px;
}

.tk-event-hero__image img {
	aspect-ratio: 16 / 7;
	border-radius: 6px;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.tk-event-hero__date,
.tk-card-meta,
.tk-upcoming-item__time,
.tk-upcoming-item__venue {
	color: var(--ast-global-color-3, #555);
	font-size: 0.95rem;
}

.tk-event-hero__date {
	color: var(--tk-accent, #0274be);
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 2px;
}

.tk-event-hero__title {
	margin-bottom: 0;
}

.tk-event-hero__venue {
	font-size: 1.1rem;
	margin: 0;
}

.tk-schedule {
	border-collapse: collapse;
	margin: 20px 0 0;
	max-width: 520px;
	width: 100%;
}

.tk-schedule th,
.tk-schedule td {
	border-bottom: 1px solid var(--ast-border-color, #e5e5e5);
	padding: 8px 0;
	text-align: left;
}

.tk-schedule th {
	font-weight: 700;
	padding-right: 18px;
	width: 45%;
}

.tk-event-description {
	margin-bottom: 36px;
}

.tk-event-footer {
	border-top: 1px solid var(--ast-border-color, #e5e5e5);
	display: grid;
	gap: 24px;
	padding-top: 28px;
}

.tk-event-footer__details {
	display: grid;
	gap: 22px;
	align-content: start;
}

.tk-event-footer__recurrence {
	border-top: 1px solid var(--ast-border-color, #e5e5e5);
	padding-top: 20px;
}

.tk-event-footer__cost,
.tk-event-footer__place,
.tk-event-footer__map {
	border-radius: 6px;
}

.tk-event-footer__place span {
	display: block;
}

.tk-event-footer strong {
	display: block;
	margin-bottom: 6px;
}

.tk-event-footer__recurrence p {
	margin-bottom: 8px;
}

.tk-event-footer__recurrence-title {
	font-weight: 700;
	margin: 14px 0 4px;
}

.tk-event-footer__recurrence-dates {
	margin-bottom: 0;
}

.tk-map {
	align-items: center;
	border: 1px solid var(--ast-border-color, #e5e5e5);
	border-radius: 6px;
	display: flex;
	min-height: 320px;
	overflow: hidden;
}

.tk-map a {
	margin: auto;
}

.tk-map iframe {
	border: 0;
	height: 320px;
	width: 100%;
}

.tk-card-meta {
	display: inline;
}

.tk-upcoming {
	margin: 24px 0;
}

.tk-upcoming__title {
	margin-bottom: 0.75em;
}

.tk-upcoming__items {
	display: grid;
	gap: 10px;
}

.tk-upcoming--grid .tk-upcoming__items {
	gap: 24px;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.tk-upcoming-item {
	background: var(--ast-global-color-5, #fff);
	border: 1px solid var(--ast-border-color, #d9d9d9);
	border-radius: 8px;
	color: var(--ast-global-color-3, inherit);
	display: grid;
	font-family: inherit;
}

.tk-card-style-plain .tk-upcoming-item {
	border-color: transparent;
	padding-left: 0;
	padding-right: 0;
}

.tk-card-style-border .tk-upcoming-item {
	box-shadow: none;
}

.tk-upcoming-item--list {
	align-items: center;
	gap: clamp(18px, 7vw, 96px);
	grid-template-columns: minmax(72px, 13%) 1fr;
	padding: 8px 22px;
}

.tk-upcoming-item--grid {
	align-content: start;
	overflow: hidden;
}

.tk-upcoming-item__image,
.tk-image-badge-wrap,
.tk-event-card .post-thumb,
.tk-event-card .post-thumb-img-content,
.tk-event-card .entry-header {
	position: relative;
}

.tk-image-badge-wrap {
	display: block;
}

.tk-image-badge-wrap img {
	display: block;
}

.tk-event-badge {
	background: var(--tk-badge-color, var(--tk-accent, #0274be));
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 700;
	left: 14px;
	line-height: 1;
	padding: 7px 10px;
	position: absolute;
	top: 14px;
	z-index: 2;
}

.tk-event-badge--top-right {
	left: auto;
	right: 14px;
}

.tk-event-badge--bottom-left {
	bottom: 14px;
	top: auto;
}

.tk-event-badge--bottom-right {
	bottom: 14px;
	left: auto;
	right: 14px;
	top: auto;
}

.tk-upcoming-item__image img {
	aspect-ratio: 16 / 10;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.tk-upcoming-item__date {
	color: var(--ast-global-color-2, currentColor);
	line-height: 1.2;
	padding: 0;
	text-align: center;
}

.tk-upcoming-item__date span {
	display: block;
	font-size: 1.05em;
	font-weight: 600;
}

.tk-upcoming-item__date small {
	display: block;
	font-size: 1.05em;
	text-transform: none;
}

.tk-upcoming-item__content {
	padding: clamp(18px, 3vw, 28px);
}

.tk-upcoming-item__meta {
	color: var(--ast-global-color-3, #555);
	font-size: 0.9em;
	font-weight: 700;
	margin-bottom: 6px;
}

.tk-upcoming-item h3 {
	color: var(--ast-global-color-2, inherit);
	font-family: inherit;
	font-size: clamp(1.15rem, 1.2vw, 1.45rem);
	line-height: 1.25;
	margin: 0;
}

.tk-upcoming-item__venue {
	color: var(--ast-global-color-2, inherit);
	font-size: 1em;
	font-weight: 700;
	line-height: 1.25;
	margin-bottom: 3px;
}

.tk-upcoming-item__excerpt {
	color: var(--ast-global-color-3, inherit);
	margin: 0.9em 0 1.2em;
}

.tk-upcoming-item__button {
	display: inline-flex;
	line-height: 1;
}

.tk-upcoming-item a:not(.button):not(.ast-button) {
	color: inherit;
	text-decoration: none;
}

.tk-empty {
	margin: 0;
}

.tk-calendar-view {
	display: grid;
	gap: 24px;
	margin: 24px 0;
}

.tk-calendar-view__title,
.tk-calendar-month h3 {
	margin: 0;
}

.tk-calendar-month {
	display: grid;
	gap: 12px;
}

.tk-calendar-month__items {
	display: grid;
	gap: 10px;
}

.tk-calendar-event {
	align-items: center;
	background: var(--ast-global-color-5, #fff);
	border: 1px solid var(--ast-border-color, #d9d9d9);
	border-radius: 8px;
	color: inherit;
	display: grid;
	gap: 16px;
	grid-template-columns: 70px 1fr;
	padding: 14px 16px;
	text-decoration: none;
}

.tk-calendar-event__date {
	border-right: 1px solid var(--ast-border-color, #d9d9d9);
	color: var(--tk-accent, #0274be);
	display: grid;
	line-height: 1.1;
	padding-right: 14px;
	text-align: center;
}

.tk-calendar-event__date strong {
	font-size: 1.6rem;
}

.tk-calendar-event__date small {
	text-transform: uppercase;
}

.tk-calendar-event__body {
	display: grid;
	gap: 4px;
}

.tk-calendar-event__title {
	color: var(--ast-global-color-2, inherit);
	font-weight: 700;
}

.tk-calendar-event__meta {
	color: var(--ast-global-color-3, inherit);
	font-size: 0.92rem;
}

@media (min-width: 768px) {
	.tk-event-footer {
		grid-template-columns: minmax(180px, 1fr) 2fr;
	}
}

@media (max-width: 544px) {
	.tk-upcoming-item {
		padding: 14px;
	}

	.tk-upcoming-item--list {
		grid-template-columns: 54px 1fr;
		gap: 16px;
	}

	.tk-upcoming-item--grid {
		padding: 0;
	}
}
