/*
 * style-events.css — brand skin for The Events Calendar (SPEC-001)
 * Enqueued only on TEC front-end views (list / month / day / category, single
 * event, venue, organizer) — see functions.php. Loads after TEC's own view CSS
 * and after style-content.css (page hero, breadcrumbs, neon card, content
 * typography), which these views share with the generic pages.
 *
 * Strategy: map TEC's CSS custom properties to brand tokens first, then a
 * thin layer of component rules (pills, cards, month grid). No TEC template
 * overrides — markup is stock TEC v2 (archive) / classic single.
 *
 * All values NOT IN DESIGN — proposed pending review (no mockups exist for
 * the calendar); colours/type from the brandbook tokens in theme.json.
 */

/* ---------------------------------------------------------------------------
 * 1. TEC tokens → brand tokens
 *    html:root out-ranks TEC's :root blocks regardless of load order, and the
 *    derived tokens (button, link, multiday…) are restated because var()
 *    references resolve where they're declared.
 * ------------------------------------------------------------------------- */
html:root {
	--ao-ev-orange: var(--wp--preset--color--orange, #ef5023);
	--ao-ev-blue: var(--wp--preset--color--blue, #99b9db);
	--ao-ev-yellow: var(--wp--preset--color--yellow, #f8db4a);
	--ao-ev-cream: var(--wp--preset--color--cream, #f3ede4);
	--ao-ev-black: var(--wp--preset--color--black, #1a1a1a);
	--ao-ev-text: var(--wp--preset--color--text, #222222);
	--ao-ev-muted: rgba(34, 34, 34, 0.72);
	--ao-ev-line: rgba(26, 26, 26, 0.12);
	--ao-ev-radius: clamp(14px, 2vw, 22px); /* = .ao-page-card */
	--ao-ev-shadow: 0 2px 10px rgba(26, 26, 26, 0.05); /* = .ao-page-card */
	--ao-ev-font: var(--wp--preset--font-family--work-sans, "work-sans", system-ui, sans-serif);

	--tec-font-family-sans-serif: var(--ao-ev-font);
	--tec-font-family-base: var(--ao-ev-font);
	--tec-border-radius-default: 10px;

	--tec-color-text-primary: var(--ao-ev-black);
	--tec-color-text-primary-light: rgba(26, 26, 26, 0.62);
	--tec-color-text-secondary: var(--ao-ev-muted);
	--tec-color-text-events-title: var(--ao-ev-black);
	--tec-color-text-event-title: var(--ao-ev-black);
	--tec-color-text-event-date: var(--ao-ev-orange);
	--tec-color-text-secondary-event-date: var(--ao-ev-muted);

	--tec-color-icon-primary: var(--ao-ev-orange);
	--tec-color-icon-primary-alt: var(--ao-ev-orange);
	--tec-color-icon-active: var(--ao-ev-black);
	--tec-color-icon-focus: var(--ao-ev-orange);
	--tec-color-event-icon: var(--ao-ev-orange);
	--tec-color-event-icon-hover: var(--ao-ev-blue);

	--tec-color-accent-primary: var(--ao-ev-orange);
	--tec-color-accent-primary-hover: rgba(239, 80, 35, 0.86);
	--tec-color-accent-primary-active: rgba(239, 80, 35, 0.94);
	--tec-color-accent-primary-background: rgba(239, 80, 35, 0.08);
	--tec-color-accent-secondary: var(--ao-ev-black);
	--tec-color-accent-secondary-hover: rgba(26, 26, 26, 0.8);
	--tec-color-accent-secondary-active: rgba(26, 26, 26, 0.9);
	--tec-color-accent-secondary-background: rgba(26, 26, 26, 0.07);

	--tec-color-button-primary: var(--ao-ev-orange);
	--tec-color-button-primary-hover: var(--ao-ev-blue);
	--tec-color-button-primary-active: var(--ao-ev-blue);
	--tec-color-button-primary-background: rgba(239, 80, 35, 0.08);
	--tec-color-button-secondary: var(--ao-ev-black);
	--tec-color-button-secondary-hover: rgba(26, 26, 26, 0.8);
	--tec-color-button-secondary-active: rgba(26, 26, 26, 0.9);
	--tec-color-button-secondary-background: rgba(26, 26, 26, 0.07);

	--tec-color-link-primary: var(--ao-ev-black);
	--tec-color-link-accent: var(--ao-ev-orange);
	--tec-color-link-accent-hover: var(--ao-ev-blue);

	--tec-color-border-default: rgba(26, 26, 26, 0.18);
	--tec-color-border-secondary: var(--ao-ev-line);
	--tec-color-border-tertiary: rgba(26, 26, 26, 0.45);
	--tec-color-border-hover: var(--ao-ev-orange);
	--tec-color-border-active: var(--ao-ev-black);

	--tec-color-background: #ffffff;
	--tec-color-background-secondary: var(--ao-ev-cream);
	--tec-color-background-secondary-hover: #ebe2d4;
	--tec-color-background-messages: rgba(239, 80, 35, 0.08);

	--tec-color-background-primary-multiday: rgba(153, 185, 219, 0.45); /* brand blue tint */
	--tec-color-background-primary-multiday-hover: rgba(153, 185, 219, 0.7);
	--tec-color-background-secondary-multiday: rgba(26, 26, 26, 0.1);
	--tec-color-background-secondary-multiday-hover: rgba(26, 26, 26, 0.18);
	--tec-color-background-secondary-datepicker: var(--ao-ev-cream);
	--tec-color-accent-primary-background-datepicker: rgba(239, 80, 35, 0.1);

	/* view-level tokens (views-full.css) */
	--tec-color-text-event-title-list: var(--ao-ev-black);
	--tec-color-text-events-title-day: var(--ao-ev-black);
	--tec-color-text-events-title-latest-past: var(--ao-ev-black);
	--tec-color-text-events-title-month-multiday: var(--ao-ev-black);
	--tec-color-text-secondary-event-date-month: var(--ao-ev-muted);
	--tec-color-text-secondary-event-date-month-mobile: var(--ao-ev-muted);
	--tec-color-text-day-of-week-month: var(--ao-ev-black);
	--tec-color-day-marker-month: var(--ao-ev-black);
	--tec-color-day-marker-current-month: var(--ao-ev-orange);
	--tec-color-day-marker-past-month: rgba(26, 26, 26, 0.45);
	--tec-color-border-secondary-month-grid: var(--ao-ev-line);
	--tec-color-border-active-month-grid-hover: var(--ao-ev-orange);
	--tec-color-background-month-grid: #ffffff;
	--tec-color-background-tooltip: #ffffff;
	--tec-color-border-events-bar: transparent;
	--tec-color-background-events-bar: #ffffff;
	--tec-color-background-view-selector-list-item-hover: var(--ao-ev-cream);
	--tec-color-background-subscribe-list-item-hover: var(--ao-ev-cream);
	--tec-color-text-view-selector-list-item: var(--ao-ev-black);
	--tec-color-text-view-selector-list-item-hover: var(--ao-ev-orange);
	--tec-color-text-events-bar-input: var(--ao-ev-black);
	--tec-color-text-events-bar-input-placeholder: var(--ao-ev-muted);
	--tec-color-text-events-bar-submit-button: #ffffff;
	--tec-color-text-events-bar-submit-button-hover: var(--ao-ev-black);
	--tec-color-text-events-bar-submit-button-active: var(--ao-ev-black);
	--tec-color-background-events-bar-submit-button: var(--ao-ev-orange);
	--tec-color-background-events-bar-submit-button-hover: var(--ao-ev-blue);
	--tec-color-background-events-bar-submit-button-active: var(--ao-ev-blue);
	--tec-color-icon-events-bar: var(--ao-ev-orange);
	--tec-color-icon-events-bar-hover: var(--ao-ev-black);
	--tec-color-icon-events-bar-active: var(--ao-ev-black);
	--tec-events-border-radius-pill: 999px;
}

/* ---------------------------------------------------------------------------
 * 2. Page shell — hero band, body band, flush sections
 * ------------------------------------------------------------------------- */

/* flush coloured bands (same rule as generic pages, extended to events parts) */
.wp-site-blocks > .ao-page-hero ~ :is(.ao-events-body, .ao-event-register, .ao-art-strip) {
	margin-block-start: 0;
}

/* TEC prints its <link> tags inside the block wrapper, so the TEC block is
   never :first-child and picks up the 24px flow-layout gap, which then
   collapsed out of the band as a white sliver under the hero */
.ao-events-body > .tribe-block {
	margin-block-start: 0;
}

.ao-events-body {
	display: flow-root;
}

/* calendar views: the hero's cream continues into the calendar band (like the
   Events hub: cream field, white cards) */
body .ao-events-body--archive {
	background: var(--ao-ev-cream);
	padding: 0 0 clamp(2.5rem, 5vw, 3.5rem);
}

/* hero rail: the calendar is wider than the 840px text column */
.ao-page-hero--events:not(.ao-page-hero--event) :is(.ao-page-hero__crumbs, .ao-page-hero__inner) {
	max-width: 1176px; /* = TEC's content width, so crumbs/H1 align with the calendar */
}

.ao-page-hero--events:not(.ao-page-hero--event) .ao-page-hero__inner {
	padding-bottom: clamp(0.75rem, 2vw, 1.25rem);
}

@media (max-width: 767px) {
	/* TEC's small-screen page gutter is 19.5px — match it */
	.ao-page-hero--events:not(.ao-page-hero--event) :is(.ao-page-hero__crumbs, .ao-page-hero__inner) {
		padding-left: 19.5px;
		padding-right: 19.5px;
	}
}

/* single event hero */
.ao-page-hero--event :is(.ao-page-hero__crumbs, .ao-page-hero__inner) {
	max-width: 1100px;
}

.ao-page-hero--long-title .ao-page-hero__title {
	font-size: clamp(2rem, 3.9vw, 3rem);
}

.ao-event-hero__when {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	margin: 1.25rem 0 0;
	font-family: var(--ao-ev-font);
	line-height: 1.4;
}

.ao-event-hero__date {
	font-weight: 700;
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
	color: var(--ao-ev-black);
}

.ao-event-hero__venue {
	font-weight: 500;
	font-size: 1rem;
	color: var(--ao-ev-muted);
}

.ao-event-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1.4rem;
}

.ao-event-hero__cost {
	display: inline-flex;
	align-items: center;
	padding: 0.45em 1em;
	border: 1.5px solid rgba(26, 26, 26, 0.25);
	border-radius: 999px;
	font-family: var(--ao-ev-font);
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.2;
	color: var(--ao-ev-black);
}

/* primary pill (Register / Find Events): orange, white text, hover blue */
.ao-event-hero__register {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 1.9rem;
	background: var(--ao-ev-orange);
	color: #ffffff;
	border-radius: 999px;
	font-family: var(--ao-ev-font);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	transition: transform 200ms ease, background-color 200ms ease, color 200ms ease;
}

.ao-event-hero__register:hover,
.ao-event-hero__register:focus-visible {
	background: var(--ao-ev-blue);
	color: var(--ao-ev-black);
	transform: translateY(-2px);
}

/* event photo: shown whole (posters), not cropped like page-hero media */
.ao-page-hero--event .ao-page-hero__media {
	aspect-ratio: auto;
	overflow: visible;
	border-radius: 0;
	display: flex;
	justify-content: flex-end;
	align-self: center;
}

.ao-page-hero--event .ao-page-hero__media img,
.ao-page-hero--event .ao-page-hero__photo {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 440px;
	object-fit: contain;
	transform: none;
	border-radius: clamp(14px, 2vw, 24px);
	box-shadow: 0 2px 14px rgba(26, 26, 26, 0.08);
}

@media (max-width: 720px) {
	.ao-page-hero--event .ao-page-hero__media {
		justify-content: flex-start;
	}
	.ao-page-hero--event .ao-page-hero__media img,
	.ao-page-hero--event .ao-page-hero__photo {
		max-height: 380px;
	}
}

/* ---------------------------------------------------------------------------
 * 3. Calendar views — shared chrome
 * ------------------------------------------------------------------------- */

body .ao-events-body .tribe-common {
	font-family: var(--ao-ev-font);
}

/* hero owns the H1 + crumbs — hide TEC's own category title/breadcrumbs */
body .ao-events-body .tribe-events-header__title,
body .ao-events-body .tribe-events-header__breadcrumbs {
	display: none;
}

body .ao-events-body .tribe-common-l-container.tribe-events-l-container {
	padding-top: 0.5rem;
	padding-bottom: 0;
	min-height: 0;
}

body .ao-events-body .tribe-events .tribe-events-c-top-bar {
	margin-bottom: 1.25rem;
}

/* first month/time separator sits close to the top bar */
body .ao-events-body .tribe-events :is(.tribe-events-calendar-list, .tribe-events-calendar-day) > :is(.tribe-events-calendar-list__month-separator, .tribe-events-calendar-day__type-separator):first-child {
	margin-top: 0;
}

/* events bar: white rounded bar on the cream field */
body .ao-events-body .tribe-events .tribe-events-c-events-bar {
	background: #ffffff;
	border-radius: var(--ao-ev-radius);
	box-shadow: var(--ao-ev-shadow);
}

body .ao-events-body .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-events-bar--border {
	border: 0;
}

body .ao-events-body .tribe-events .tribe-events-c-events-bar__search-container {
	border-radius: var(--ao-ev-radius);
}

body .ao-events-body .tribe-events .tribe-events-c-events-bar__views {
	border-radius: 0 var(--ao-ev-radius) var(--ao-ev-radius) 0;
	background: transparent;
}

body .ao-events-body .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__content {
	background: transparent;
}

body .ao-events-body .tribe-common .tribe-common-form-control-text__input,
body .ao-events-body .tribe-events .tribe-events-c-search__input {
	font-family: var(--ao-ev-font);
	font-size: 1rem;
	color: var(--ao-ev-black);
}

/* Find Events — our pill */
body .ao-events-body .tribe-common .tribe-common-c-btn,
body .ao-events-body .tribe-events .tribe-events-c-search__button,
body .ao-events-body .tribe-events button.tribe-events-c-search__button {
	border-radius: 999px;
	font-family: var(--ao-ev-font);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.8rem 1.6rem;
	transition: background-color 200ms ease, color 200ms ease, transform 200ms ease;
}

body .ao-events-body .tribe-events .tribe-events-c-search__button:hover,
body .ao-events-body .tribe-events .tribe-events-c-search__button:focus,
body .ao-events-body .tribe-events button.tribe-events-c-search__button:hover,
body .ao-events-body .tribe-events button.tribe-events-c-search__button:focus {
	border-radius: 999px;
	transform: translateY(-1px);
}

/* view tabs (List / Month / Day) */
body .ao-events-body .tribe-events .tribe-events-c-view-selector__list-item-text {
	font-family: var(--ao-ev-font);
	font-weight: 600;
	font-size: 0.95rem;
}

body .ao-events-body .tribe-events .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-text {
	color: var(--ao-ev-orange);
	font-weight: 700;
}

body .ao-events-body .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link::after {
	background-color: var(--ao-ev-orange);
	height: 3px;
	border-radius: 3px;
}

/* mobile view-selector dropdown */
body .ao-events-body .tribe-events .tribe-events-c-view-selector__content {
	border-radius: 14px;
}

/* top bar: arrows, Today, date picker */
body .ao-events-body .tribe-events .tribe-events-c-top-bar__nav-link,
body .ao-events-body .tribe-common .tribe-common-c-btn-icon {
	color: var(--ao-ev-orange);
}

body .ao-events-body .tribe-common .tribe-common-c-btn-icon--caret-left .tribe-common-c-btn-icon__icon-svg path,
body .ao-events-body .tribe-common .tribe-common-c-btn-icon--caret-right .tribe-common-c-btn-icon__icon-svg path {
	fill: var(--ao-ev-orange);
}

/* secondary pill (Today, Subscribe/Add to calendar): = .ao-jump-links chip */
body .ao-events-body .tribe-common .tribe-common-c-btn-border-small,
body .ao-events-body .tribe-common a.tribe-common-c-btn-border-small,
body .ao-events-body .tribe-common .tribe-common-c-btn-border,
body .ao-events-body .tribe-common a.tribe-common-c-btn-border {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.55em 1.1em;
	border: 1.5px solid var(--ao-ev-orange);
	border-radius: 999px;
	background: transparent;
	color: var(--ao-ev-orange);
	font-family: var(--ao-ev-font);
	font-weight: 700;
	font-size: 0.9rem;
	line-height: 1;
	text-decoration: none;
	transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

body .ao-events-body .tribe-common .tribe-common-c-btn-border-small:hover,
body .ao-events-body .tribe-common .tribe-common-c-btn-border-small:focus-visible,
body .ao-events-body .tribe-common .tribe-common-c-btn-border:hover,
body .ao-events-body .tribe-common .tribe-common-c-btn-border:focus-within {
	background: var(--ao-ev-blue);
	border-color: var(--ao-ev-blue);
	color: #ffffff;
}

body .ao-events-body .tribe-events .tribe-events-c-top-bar__datepicker-button,
body .ao-events-body .tribe-events .tribe-events-c-top-bar__datepicker-desktop,
body .ao-events-body .tribe-events .tribe-events-c-top-bar__datepicker-mobile {
	font-family: var(--ao-ev-font);
	font-weight: 700;
	color: var(--ao-ev-black);
}

body .ao-events-body .tribe-events .tribe-events-c-top-bar__datepicker-button-icon-svg path {
	fill: var(--ao-ev-orange);
}

/* messages ("There are no upcoming events…") */
body .ao-events-body .tribe-events .tribe-events-c-messages__message {
	border-radius: 14px;
	background: #ffffff;
	font-family: var(--ao-ev-font);
	color: var(--ao-ev-black);
}

/* bottom nav (Previous / Next events) */
body .ao-events-body .tribe-events .tribe-events-c-nav {
	border-top: 0;
}

body .ao-events-body .tribe-events .tribe-events-c-nav__prev,
body .ao-events-body .tribe-events .tribe-events-c-nav__next,
body .ao-events-body .tribe-events .tribe-events-c-nav__today {
	font-family: var(--ao-ev-font);
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--ao-ev-orange);
}

body .ao-events-body .tribe-events .tribe-events-c-nav__prev:hover,
body .ao-events-body .tribe-events .tribe-events-c-nav__next:hover,
body .ao-events-body .tribe-events .tribe-events-c-nav__today:hover,
body .ao-events-body .tribe-events .tribe-events-c-nav__prev:focus-visible,
body .ao-events-body .tribe-events .tribe-events-c-nav__next:focus-visible {
	color: var(--ao-ev-blue);
}

body .ao-events-body .tribe-events .tribe-events-c-nav__prev:disabled,
body .ao-events-body .tribe-events .tribe-events-c-nav__next:disabled {
	color: rgba(26, 26, 26, 0.35);
}

body .ao-events-body .tribe-events .tribe-events-c-nav__prev-icon-svg path,
body .ao-events-body .tribe-events .tribe-events-c-nav__next-icon-svg path {
	fill: currentColor;
}

/* subscribe dropdown list */
body .ao-events-body .tribe-events .tribe-events-c-subscribe-dropdown__button-text {
	font-family: var(--ao-ev-font);
	font-weight: 700;
	color: inherit;
}

body .ao-events-body .tribe-events .tribe-events-c-subscribe-dropdown__content {
	border-radius: 14px;
}

/* mouse clicks don't leave TEC's focus box on the pill text; keyboard focus keeps it */
body .ao-events-body .tribe-events .tribe-events-c-subscribe-dropdown__button-text:focus:not(:focus-visible) {
	outline: none;
}

body .ao-events-body .tribe-events .tribe-events-c-subscribe-dropdown .tribe-common-c-svgicon path,
body .ao-events-body .tribe-events .tribe-events-c-subscribe-dropdown__button-icon path {
	stroke: currentColor;
}

/* ---------------------------------------------------------------------------
 * 4. List view — each event is a card (= .ao-page-card: white, radius, soft
 *    shadow), date tag in brand orange
 * ------------------------------------------------------------------------- */

body .ao-events-body .tribe-events .tribe-events-calendar-list__month-separator,
body .ao-events-body .tribe-events .tribe-events-calendar-day__type-separator {
	margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

body .ao-events-body .tribe-events .tribe-events-calendar-list__month-separator-text,
body .ao-events-body .tribe-events .tribe-events-calendar-day__type-separator-text,
body .ao-events-body .tribe-events .tribe-events-calendar-latest-past__month-separator-text {
	font-family: var(--ao-ev-font);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ao-ev-orange);
}

body .ao-events-body .tribe-events .tribe-events-calendar-list__month-separator::after,
body .ao-events-body .tribe-events .tribe-events-calendar-day__type-separator::after {
	background-color: rgba(239, 80, 35, 0.35);
}

body .ao-events-body .tribe-events .tribe-events-calendar-list__event-row {
	position: relative;
	margin: clamp(0.85rem, 1.6vw, 1.25rem) 0 0;
	padding: clamp(1.1rem, 2.2vw, 1.75rem) clamp(1rem, 2vw, 1.75rem);
	background: #ffffff;
	border-radius: var(--ao-ev-radius);
	box-shadow: var(--ao-ev-shadow);
}

body .ao-events-body .tribe-events .tribe-events-calendar-list__month-separator + .tribe-events-calendar-list__event-row {
	margin-top: clamp(0.85rem, 1.6vw, 1.25rem);
}

/* date tag */
body .ao-events-body .tribe-events .tribe-events-calendar-list__event-date-tag-weekday {
	font-family: var(--ao-ev-font);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	color: var(--ao-ev-orange);
}

body .ao-events-body .tribe-events .tribe-events-calendar-list__event-date-tag-daynum {
	font-family: var(--ao-ev-font);
	font-weight: 800;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	line-height: 1.05;
	color: var(--ao-ev-black);
}

/* featured flag bar → orange, inside the card's padding */
body .ao-events-body .tribe-events .tribe-events-calendar-list__event-row--featured .tribe-events-calendar-list__event-date-tag-datetime::after {
	background-color: var(--ao-ev-orange);
}

/* title / meta / description */
body .ao-events-body .tribe-events :is(.tribe-events-calendar-list__event-title, .tribe-events-calendar-day__event-title, .tribe-events-calendar-latest-past__event-title) {
	font-family: var(--ao-ev-font);
	font-weight: 700;
	font-size: clamp(1.2rem, 1.9vw, 1.45rem);
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0;
	margin: 0.3rem 0 0.4rem;
}

body .ao-events-body .tribe-events :is(.tribe-events-calendar-list__event-title-link, .tribe-events-calendar-day__event-title-link, .tribe-events-calendar-latest-past__event-title-link) {
	color: var(--ao-ev-black);
	border-bottom: 0;
	text-decoration: none;
}

body .ao-events-body .tribe-events :is(.tribe-events-calendar-list__event-title-link, .tribe-events-calendar-day__event-title-link, .tribe-events-calendar-latest-past__event-title-link):is(:hover, :focus-visible) {
	color: var(--ao-ev-orange);
	border-bottom: 0;
}

body .ao-events-body .tribe-events :is(.tribe-events-calendar-list__event-datetime, .tribe-events-calendar-day__event-datetime, .tribe-events-calendar-latest-past__event-datetime) {
	font-family: var(--ao-ev-font);
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--ao-ev-orange);
}

body .ao-events-body .tribe-events :is(.tribe-events-calendar-list__event-venue, .tribe-events-calendar-day__event-venue, .tribe-events-calendar-latest-past__event-venue) {
	font-family: var(--ao-ev-font);
	font-size: 0.925rem;
	color: var(--ao-ev-muted);
}

body .ao-events-body .tribe-events :is(.tribe-events-calendar-list__event-venue-title, .tribe-events-calendar-day__event-venue-title, .tribe-events-calendar-latest-past__event-venue-title) {
	font-weight: 700;
	color: var(--ao-ev-black);
}

body .ao-events-body .tribe-events :is(.tribe-events-calendar-list__event-description, .tribe-events-calendar-day__event-description, .tribe-events-calendar-latest-past__event-description) {
	font-family: var(--ao-ev-font);
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--ao-ev-text);
}

body .ao-events-body .tribe-events :is(.tribe-events-calendar-list__event-description, .tribe-events-calendar-day__event-description) p {
	font-size: inherit;
	line-height: inherit;
}

/* cost → small chip */
body .ao-events-body .tribe-events .tribe-events-c-small-cta__price {
	display: inline-block;
	padding: 0.3em 0.85em;
	background: var(--ao-ev-cream);
	border-radius: 999px;
	font-family: var(--ao-ev-font);
	font-weight: 600;
	font-size: 0.85rem;
	color: var(--ao-ev-black);
}

/* event photo: rounded, 3:2 like .ao-page-card media */
body .ao-events-body .tribe-events :is(.tribe-events-calendar-list__event-featured-image, .tribe-events-calendar-day__event-featured-image, .tribe-events-calendar-latest-past__event-featured-image) {
	width: 100%;
	aspect-ratio: 3 / 2;
	height: auto;
	object-fit: cover;
	border-radius: calc(var(--ao-ev-radius) - 6px);
}

/* ---------------------------------------------------------------------------
 * 5. Day view — events are cards too
 * ------------------------------------------------------------------------- */

body .ao-events-body .tribe-events .tribe-events-calendar-day__event {
	margin: clamp(0.85rem, 1.6vw, 1.25rem) 0 0; /* TEC's negative row gutters made the card overhang (and scroll at 390px) */
	padding: clamp(1.1rem, 2.2vw, 1.75rem) clamp(1rem, 2vw, 1.75rem);
	background: #ffffff;
	border-radius: var(--ao-ev-radius);
	box-shadow: var(--ao-ev-shadow);
}

/* the day view offsets its content for a time column we don't show inside the card */
body .ao-events-body .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event-content {
	flex: 1 1 100%;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
}

/* ---------------------------------------------------------------------------
 * 6. Month view — the grid sits in one white card
 * ------------------------------------------------------------------------- */

body .ao-events-body .tribe-events .tribe-events-calendar-month {
	background: #ffffff;
	border-radius: var(--ao-ev-radius);
	box-shadow: var(--ao-ev-shadow);
	overflow: hidden;
	margin-top: clamp(0.5rem, 1vw, 1rem);
}

body .ao-events-body .tribe-events .tribe-events-calendar-month__header-column-title {
	font-family: var(--ao-ev-font);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ao-ev-black);
}

body .ao-events-body .tribe-events .tribe-events-calendar-month__header-column {
	padding-top: 0.9rem;
}

body .ao-events-body .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__header-column-title {
	padding-left: 15px; /* = day-cell inner padding, so S M T… sit over the dates */
}

body .ao-events-body .tribe-events .tribe-events-calendar-month__day-date,
body .ao-events-body .tribe-events .tribe-events-calendar-month__day-date-daynum {
	font-family: var(--ao-ev-font);
	font-weight: 700;
}

/* today: orange disc behind the date number */
body .ao-events-body .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-daynum {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.6em;
	height: 1.6em;
	margin: -0.3em 0 -0.3em -0.3em;
	border-radius: 50%;
	background: var(--ao-ev-orange);
	color: #ffffff;
}

body .ao-events-body .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-daynum,
body .ao-events-body .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link {
	color: #ffffff;
}

body .ao-events-body .tribe-events .tribe-events-calendar-month__calendar-event-title,
body .ao-events-body .tribe-events .tribe-events-calendar-month__multiday-event-bar-title,
body .ao-events-body .tribe-events .tribe-events-calendar-month__multiday-event-hidden-title {
	font-family: var(--ao-ev-font);
	font-weight: 600;
	font-size: 0.85rem;
	line-height: 1.3;
}

body .ao-events-body .tribe-events .tribe-events-calendar-month__calendar-event-title-link {
	color: var(--ao-ev-black);
	border-bottom: 0;
}

body .ao-events-body .tribe-events .tribe-events-calendar-month__calendar-event-title-link:is(:hover, :focus-visible) {
	color: var(--ao-ev-orange);
	border-bottom: 0;
}

body .ao-events-body .tribe-events .tribe-events-calendar-month__calendar-event-datetime {
	font-family: var(--ao-ev-font);
	font-weight: 600;
	font-size: 0.75rem;
	color: var(--ao-ev-orange);
}

body .ao-events-body .tribe-events .tribe-events-calendar-month__more-events-link {
	font-family: var(--ao-ev-font);
	font-weight: 700;
	color: var(--ao-ev-orange);
}

/* past days: soft cream wash */
body .ao-events-body .tribe-events .tribe-events-calendar-month__day--past {
	background-color: rgba(243, 237, 228, 0.45);
}

/* mobile month: event dots + selected day */
body .ao-events-body .tribe-events .tribe-events-calendar-month__mobile-events-icon--event {
	background-color: var(--ao-ev-orange);
}

body .ao-events-body .tribe-events .tribe-events-calendar-month__day-cell--selected {
	background-color: var(--ao-ev-orange);
}

body .ao-events-body .tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__day-date-daynum,
body .ao-events-body .tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__day-date {
	color: #ffffff;
}

body .ao-events-body .tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__mobile-events-icon--event {
	background-color: #ffffff;
}

body .ao-events-body .tribe-events .tribe-events-calendar-month-mobile-events {
	margin-top: 1rem;
}

body .ao-events-body .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event {
	margin-bottom: 0.75rem;
	padding: 1rem 1.1rem;
	background: #ffffff;
	border-radius: 14px;
	box-shadow: var(--ao-ev-shadow);
}

body .ao-events-body .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-title {
	font-family: var(--ao-ev-font);
	font-weight: 700;
}

body .ao-events-body .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-title-link {
	color: var(--ao-ev-black);
	border-bottom: 0;
}

body .ao-events-body .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime {
	font-family: var(--ao-ev-font);
	font-weight: 600;
	color: var(--ao-ev-orange);
}

body .ao-events-body .tribe-events .tribe-events-c-day-marker__date {
	font-family: var(--ao-ev-font);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ao-ev-orange);
}

/* month tooltip (appended inside the view) */
body .tribe-events-tooltip-theme.tooltipster-base .tooltipster-box,
body .tribe-events .tribe-events-tooltip-theme .tooltipster-box {
	border-radius: 14px;
	font-family: var(--ao-ev-font);
}

body .tribe-events .tribe-events-calendar-month__calendar-event-tooltip-title-link {
	color: var(--ao-ev-black);
	font-family: var(--ao-ev-font);
	font-weight: 700;
}

body .tribe-events .tribe-events-calendar-month__calendar-event-tooltip-datetime {
	font-family: var(--ao-ev-font);
	font-weight: 600;
	color: var(--ao-ev-orange);
}

body .tribe-events .tribe-events-calendar-month__calendar-event-tooltip-featured-image {
	border-radius: 10px;
}

/* ---------------------------------------------------------------------------
 * 7. Single event (classic TEC template inside .ao-content-body)
 *    Title, schedule, cost and photo live in the hero — hide TEC's copies.
 * ------------------------------------------------------------------------- */

body .ao-events-body--single .tribe-events-back,
body .ao-events-body--single .tribe-events-single-event-title,
body .ao-events-body--single .tribe-events-schedule,
body .ao-events-body--single #tribe-events-header,
body .ao-events-body--single .tribe-events-event-image {
	display: none;
}

body .ao-events-body--single #tribe-events-pg-template {
	max-width: 840px;
	margin: 0 auto;
	padding: 0;
}

body .ao-events-body--single #tribe-events-content {
	padding: 0;
	margin: 0;
}

body .ao-events-body--single .tribe-events-single-event-description {
	margin-top: clamp(0.5rem, 1.5vw, 1rem);
}

body .ao-events-body--single .tribe-events-single-event-description > :first-child {
	margin-top: 0;
}

body .ao-events-body--single .tribe-events-single-event-description a {
	border-bottom: 0;
}

body .ao-events-body--single .tribe-events-single-event-description > :last-child {
	margin-bottom: 0;
}

/* "This event has passed." */
body .ao-events-body--single .tribe-events-notices {
	margin: 0 0 1.5rem;
	padding: 0.75rem 1.1rem;
	background: var(--ao-ev-cream);
	border: 0;
	border-left: 4px solid var(--ao-ev-orange);
	border-radius: 10px;
	font-family: var(--ao-ev-font);
	font-weight: 600;
	color: var(--ao-ev-black);
	text-shadow: none;
}

body .ao-events-body--single .tribe-events-notices ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Add to calendar (secondary pill) */
body .ao-events-body--single .tribe-events-c-subscribe-dropdown__container {
	margin: clamp(1.5rem, 3vw, 2rem) 0 0;
}

body .ao-events-body--single .tribe-events.tribe-common:has(> .tribe-events-c-subscribe-dropdown__container) {
	margin: 0;
	padding: 0;
}

body .ao-events-body--single .tribe-events .tribe-events-c-subscribe-dropdown {
	margin: 0;
}

/* Details / Organizer / Venue → one cream card (TEC splits it into a
   "primary" and a "secondary" section; styled as one continuous card) */
body.single-tribe_events .ao-events-body--single .tribe-events-single .tribe-events-event-meta {
	margin: 0;
	padding: clamp(1.4rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2.25rem) 0.5rem;
	background: var(--ao-ev-cream);
	border: 0;
	border-radius: 0;
	font-family: var(--ao-ev-font);
	color: var(--ao-ev-text);
}

/* stack the two sections full width (TEC puts them side by side ≥768px) */
body.single-tribe_events .ao-events-body--single .tribe-events-single .tribe-events-event-meta.primary,
body.single-tribe_events .ao-events-body--single .tribe-events-single .tribe-events-event-meta.secondary {
	width: 100%;
	flex: 0 0 100%;
	box-sizing: border-box;
}

body.single-tribe_events .ao-events-body--single .tribe-events-single .tribe-events-event-meta.primary {
	margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
	padding-bottom: clamp(1.2rem, 2.5vw, 1.75rem);
	border-radius: var(--ao-ev-radius);
}

body.single-tribe_events .ao-events-body--single .tribe-events-single .tribe-events-event-meta.primary:has(+ .tribe-events-event-meta.secondary) {
	padding-bottom: 0.5rem;
	border-radius: var(--ao-ev-radius) var(--ao-ev-radius) 0 0;
}

body.single-tribe_events .ao-events-body--single .tribe-events-single .tribe-events-event-meta.primary + .tribe-events-event-meta.secondary {
	padding-top: 0.5rem;
	padding-bottom: clamp(1.2rem, 2.5vw, 1.75rem);
	border-radius: 0 0 var(--ao-ev-radius) var(--ao-ev-radius);
}

/* TEC's hairlines between the sections */
body .ao-events-body--single .tribe-events-event-meta::before,
body .ao-events-body--single .tribe-events-event-meta ~ div:not(.tribe-events-event-meta, .event-tickets) {
	border-top: 0;
}

body .ao-events-body--single .tribe-events-event-meta .tribe-events-meta-group {
	flex: 1 1 200px;
	padding: 0 clamp(0rem, 2vw, 1.5rem) 0.75rem 0;
}

body .ao-events-body--single .tribe-events-event-meta .tribe-events-single-section-title,
body .ao-content-body.ao-events-body--single .tribe-events-event-meta h2.tribe-events-single-section-title {
	margin: 0 0 0.75rem;
	font-family: var(--ao-ev-font);
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.3;
	color: var(--ao-ev-orange);
}

body .ao-events-body--single .tribe-events-event-meta ul.tribe-events-meta-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

body .ao-content-body.ao-events-body--single .tribe-events-event-meta li.tribe-events-meta-item {
	margin: 0 0 0.55rem;
	font-family: var(--ao-ev-font);
	font-size: 0.95rem;
	line-height: 1.45;
	color: var(--ao-ev-text);
}

body .ao-events-body--single .tribe-events-event-meta .tribe-events-meta-label {
	display: block;
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	color: var(--ao-ev-black);
}

body .ao-events-body--single .tribe-events-event-meta .tribe-events-meta-value,
body .ao-events-body--single .tribe-events-event-meta abbr {
	text-decoration: none;
	border: 0;
	font-size: 0.95rem;
}

body .ao-events-body--single .tribe-events-event-meta a {
	color: var(--ao-ev-orange);
	word-break: normal;
	overflow-wrap: anywhere;
}

body .ao-events-body--single .tribe-events-event-meta :is(.tribe-events-meta-item, .tribe-events-meta-value) {
	word-break: normal;
	overflow-wrap: anywhere;
}

body .ao-events-body--single .tribe-events-event-meta a:is(:hover, :focus-visible) {
	color: var(--ao-ev-blue);
}

body .ao-events-body--single .tribe-events-venue-map {
	border-radius: 14px;
	overflow: hidden;
}

/* prev / next event */
body .ao-events-body--single #tribe-events-footer {
	margin: clamp(2rem, 4vw, 3rem) 0 0;
	padding: clamp(1.25rem, 2.5vw, 1.75rem) 0 0;
	border-top: 1px solid var(--ao-ev-line);
}

body .ao-events-body--single #tribe-events-footer .tribe-events-sub-nav {
	display: flex;
	justify-content: space-between;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

body .ao-events-body--single #tribe-events-footer .tribe-events-sub-nav li {
	margin: 0;
	max-width: 48%;
	font-family: var(--ao-ev-font);
	font-size: 0.95rem;
	line-height: 1.35;
}

body .ao-events-body--single #tribe-events-footer .tribe-events-sub-nav a {
	font-weight: 700;
	color: var(--ao-ev-orange);
	text-decoration: none;
}

body .ao-events-body--single #tribe-events-footer .tribe-events-sub-nav a:is(:hover, :focus-visible) {
	color: var(--ao-ev-blue);
}

body .ao-events-body--single #tribe-events-footer .tribe-events-nav-next {
	margin-left: auto;
	text-align: right;
}

/* chevrons: TEC draws grey SVG backgrounds — use brand-orange text arrows */
body .ao-events-body--single #tribe-events-footer .tribe-events-sub-nav .tribe-events-nav-previous a::before,
body .ao-events-body--single #tribe-events-footer .tribe-events-sub-nav .tribe-events-nav-previous a:is(:hover, :focus)::before {
	content: "\2190";
	background: none;
	width: auto;
	height: auto;
	margin-right: 0.4em;
	vertical-align: baseline;
}

body .ao-events-body--single #tribe-events-footer .tribe-events-sub-nav .tribe-events-nav-next a::after,
body .ao-events-body--single #tribe-events-footer .tribe-events-sub-nav .tribe-events-nav-next a:is(:hover, :focus)::after {
	content: "\2192";
	background: none;
	width: auto;
	height: auto;
	margin-left: 0.4em;
	vertical-align: baseline;
}

/* Neon form band directly above the photo strip */
.ao-event-register {
	scroll-margin-top: 87px;
}

@media (max-width: 720px) {
	body .ao-events-body--single #tribe-events-footer .tribe-events-sub-nav {
		flex-direction: column;
		gap: 0.75rem;
	}
	body .ao-events-body--single #tribe-events-footer .tribe-events-sub-nav li {
		max-width: none;
	}
	body .ao-events-body--single #tribe-events-footer .tribe-events-nav-next {
		text-align: left;
		margin-left: 0;
	}
}

/* ---------------------------------------------------------------------------
 * Submit an Event (Community add-on), in the site frame via the theme override
 * tribe-events/community/default-template.php (2026-10-20). Brand pass only —
 * the add-on's form layout stays: our pill buttons, dark readable labels,
 * calmer section headings, soft rounded sections. NOT IN DESIGN — proposed.
 * ------------------------------------------------------------------------- */
.ao-community.ao-content-body .tribe-community-events {
	max-width: 900px;
	margin: 0 auto;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
}
.ao-community.ao-content-body .tribe-section {
	border: 1px solid #e2d9cc;
	border-radius: 14px;
	background: var(--wp--preset--color--white, #fff);
	overflow: hidden;
}
.ao-community.ao-content-body .tribe-section-header h3 {
	margin: 0;
	font-size: 1.15rem;
	letter-spacing: 0.04em;
}
.ao-community.ao-content-body :is(.tribe-section-content-label, .tribe-colgroup-label, label) {
	color: var(--wp--preset--color--black, #1a1a1a);
	font-weight: 600;
}
.ao-community.ao-content-body :is(.tribe-button, .tribe-configure-virtual-button, .events-community-submit, input[type="submit"]) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.6rem 1.4rem;
	background: var(--wp--preset--color--orange, #ef5023);
	color: var(--wp--preset--color--white, #fff);
	border: 0;
	border-radius: 999px;
	font-family: var(--wp--preset--font-family--work-sans, sans-serif);
	font-weight: 700;
	font-size: 0.85rem;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
}
.ao-community.ao-content-body .tribe-button-secondary {
	background: transparent;
	color: var(--wp--preset--color--orange, #c63c12);
	box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--orange, #ef5023);
}
.ao-community.ao-content-body :is(.tribe-button, .tribe-configure-virtual-button, .events-community-submit, input[type="submit"]):is(:hover, :focus-visible) {
	background: var(--wp--preset--color--blue, #99b9db);
	color: var(--wp--preset--color--black, #1a1a1a);
	box-shadow: none;
}

/* Submit an Event — compact pass (Sasha 10/20: inputs too small, headings huge).
   Our content heading rule (26px, margin-top 1.6em) reached the form's section
   headings, and the add-on sets 12px table text with 28px-high inputs. The
   `body` prefix outranks both. Select2 dropdowns open at the end of <body>,
   so they're scoped by the add-on's body class instead. */
body .ao-community.ao-content-body .tribe-section {
	margin: 0 0 1rem;
}
body .ao-community.ao-content-body .tribe-section-header {
	padding: 0.85rem 1.25rem;
	border-bottom: 1px solid #efe8dd;
}
body .ao-community.ao-content-body .tribe-section-header h3 {
	margin: 0;
	font-size: 1rem;
	line-height: 1.3;
	letter-spacing: 0.06em;
}
body .ao-community.ao-content-body .tribe-section-content {
	font-size: 0.95rem;
}
body .ao-community.ao-content-body .tribe-section-content :is(td, th) {
	padding: 0.55rem 1.25rem;
	vertical-align: middle;
}
body .ao-community.ao-content-body .tribe-section-content-label {
	width: 150px;
	font-size: 0.9rem;
}
body .ao-community.ao-content-body :is(input[type="text"], input[type="url"], input[type="email"], input[type="tel"], input[type="number"], select, textarea) {
	min-height: 44px;
	padding: 0.55rem 0.75rem;
	font-family: var(--wp--preset--font-family--work-sans, sans-serif);
	font-size: 1rem;
	line-height: 1.4;
	color: var(--wp--preset--color--black, #1a1a1a);
	background: var(--wp--preset--color--white, #fff);
	border: 1px solid #bdb5aa;
	border-radius: 8px;
	box-sizing: border-box;
}
body .ao-community.ao-content-body textarea {
	min-height: 160px;
}
body .ao-community.ao-content-body #post_title {
	width: 100%;
	font-size: 1.05rem;
}
body .ao-community.ao-content-body .tribe-datepicker {
	width: 9.5rem;
}
body .ao-community.ao-content-body .tribe-timepicker {
	width: 7.5rem;
}
body .ao-community.ao-content-body .select2-container {
	width: 100% !important;
	max-width: 560px;
}
body .ao-community.ao-content-body .select2-container .select2-selection {
	min-height: 44px;
	border: 1px solid #bdb5aa;
	border-radius: 8px;
}
body .ao-community.ao-content-body .select2-selection--single .select2-selection__rendered {
	padding-left: 0.75rem;
	font-size: 1rem;
	line-height: 42px;
}
body .ao-community.ao-content-body .select2-selection--single .select2-selection__arrow {
	height: 42px;
}
body.tribe_community_edit .select2-dropdown .select2-search__field {
	min-height: 40px;
	padding: 0.5rem 0.75rem;
	font-size: 1rem;
	border-radius: 6px;
}
body.tribe_community_edit .select2-dropdown .select2-results__option {
	padding: 0.55rem 0.75rem;
	font-size: 0.95rem;
}
/* (compact pass, cont.) The content heading rule carries three :not() classes, so it
   still outranks the section titles — hence !important here. */
body .ao-community.ao-content-body .tribe-section-header h3 {
	margin: 0 !important;
	font-size: 1rem !important;
	line-height: 1.3 !important;
	letter-spacing: 0.06em !important;
}
body .ao-community.ao-content-body span.select2.select2-container {
	width: 100% !important;
	max-width: 560px !important;
}
body .ao-community.ao-content-body .select2-selection--multiple .select2-search__field {
	min-height: 0;
	padding: 0.35rem 0.5rem;
	border: 0 !important;
	border-radius: 0;
}
body.tribe_community_edit .select2-dropdown .select2-results__option--highlighted {
	background: var(--wp--preset--color--blue, #99b9db);
	color: var(--wp--preset--color--black, #1a1a1a);
}
body .ao-community.ao-content-body select.linked-post-dropdown {
	width: 100% !important; /* the add-on pins it at 200px */
	max-width: 560px !important;
}
/* the add-on's script sets the single-select box to inline-block, so it shrinks
   to its text — fill the (560px) container instead */
body .ao-community.ao-content-body .select2-container .select2-selection--single {
	display: flex !important;
	align-items: center;
	width: 100%;
}
body .ao-community.ao-content-body .select2-selection--single .select2-selection__rendered {
	flex: 1 1 auto;
}
/* rows holding only the hidden "Add another venue/organizer" button */
body .ao-community.ao-content-body .tribe-section-content tr:has(> td > .tribe-add-post[style*="display: none"]) {
	display: none;
}
