/**
 * HFCM Events Calendar CSS
 *
 * Migrated from Header Footer Code Manager — site-wide The Events Calendar, Community,
 * Filter Bar, Event Tickets, and related views. Keep in sync with any HFCM snippet you remove.
 *
 * @package mist-child
 */

/* Events Calendar CSS */
/*
 * Scope TEC design tokens away from Community submission form (body.tribe_community_edit).
 * Those pages rely on tec-community-timezone.css + default TEC form chrome.
 */
body:not(.tribe_community_edit) {
	--tec-color-text-primary: #b40000 !important;
	--tec-color-background: #333 !important;
	--tec-color-background-secondary: #383838 !important;
	--tec-color-background-tooltip: #333 !important;
	--tec-color-accent-secondary-hover: #b40000 !important;
	--tec-color-text-secondary: #fff !important;
	--tec-color-icon-active: #b40000;
}

.tribe_community_edit #tribe-add-exclusion,
.tribe_community_edit .button,
.tribe_community_edit .button-primary,
.tribe_community_edit .button-secondary,
.tribe_community_edit .tribe-add-recurrence.tribe-button,
.tribe_community_edit .tribe-button,
.tribe_community_list #tribe-add-exclusion,
.tribe_community_list .button,
.tribe_community_list .button-primary,
.tribe_community_list .button-secondary,
.tribe_community_list .tribe-add-recurrence.tribe-button,
.tribe_community_list .tribe-button {
	background: #b40000 !important;
	color: #fff !important;
}

#post.events-community-submit {
	background: #b40000 !important;
}

a.tribe-button.tribe-button-primary.add-new {
	background: #b40000 !important;
}

.tribe-button-secondary,
.tribe-image-upload-area .choose-file,
a.tribe-button.tribe-button-secondary,
input.button.submit.events-community-submit {
	background: #b40000 !important;
}

.tribe-events-pro .tribe-events-pro-map__event-title {
	color: #fff !important;
}

.tribe-common .tribe-common-anchor-thin {
	color: #fff !important;
}

.tribe-events-meta-group .tribe-events-single-section-title {
	color: #fff;
}

.tribe-events-event-meta dt {
	color: #fff;
}

.elementor-toggle .elementor-tab-title {
	border-radius: 10px;
	border-bottom: none;
}

/* Dark band behind Community list / non-edit contexts only — not the add/edit event form */
body:not(.tribe_community_edit) .tribe-community-events .events-community-post-content > textarea,
body:not(.tribe_community_edit) .tribe-community-events .events-community-post-title > textarea {
	color: #fff !important;
}

body:not(.tribe_community_edit) .tribe-community-events {
	background: #333 !important;
}

body:not(.tribe_community_edit) .tribe-community-events .events-community-post-content > textarea,
body:not(.tribe_community_edit) .tribe-community-events .events-community-post-title > textarea {
	color: #fff;
}

.tribe-community-events-list.display tbody td,
.tribe-community-events-list.display tbody th {
	background: #333;
}

.tribe-events-event-image {
	max-width: 50%;
	justify-content: center;
}

.tribe-events-single > .tribe_events {
	justify-content: center;
}

.tribe-filter-bar .tribe-filter-bar-c-pill--button .tribe-filter-bar-c-pill__pill {
	color: #fff;
}

.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__list-item a,
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__list-item a {
	color: #fff;
}

.tribe-common--breakpoint-medium.tribe-common .tribe-common-c-btn-border,
.tribe-common--breakpoint-medium.tribe-common a.tribe-common-c-btn-border {
	color: #fff;
}

.tribe-common .tribe-common-form-control-checkbox__label,
.tribe-common .tribe-common-form-control-radio__label {
	color: #fff;
}

.tribe-events-related-events-title,
.tribe-events-single ul.tribe-related-events li,
.tribe-events-single ul.tribe-related-events li .tribe-related-events-title {
	background: #333;
}

.tribe-events-single ul.tribe-related-events .tribe-related-events-thumbnail img {
	max-width: 40%;
}

textarea.event-terms-description {
	color: #fff !important;
}

div.gm-style-iw.gm-style-iw-c {
	background: #333 !important;
}

/*
 * Event Aggregator (EA) Select2: vertical rhythm + horizontal inset.
 * Community / `.tribe-dropdown` Select2 is styled in tec-community-timezone.css — do not set line-height
 * here or it fights min-height on `.select2-selection--single` (top-heavy label, icons look misaligned).
 */
.tribe-ea-dropdown .select2-selection--single .select2-selection__rendered {
	line-height: 1.35 !important;
	padding: 0.35rem 2.25rem 0.35rem 0.5rem !important;
}

.tribe-community-events-content .tribe-pagination {
	display: none;
}

/* Uniform image containers without cropping */
.tribe-events-view--photo .tribe-events-pro-photo__event-featured-image-link {
	display: block;
	position: relative;
	width: 100%;
	padding-top: 100%;
	overflow: hidden;
	background-color: #000;
}

.tribe-events-view--photo .tribe-events-pro-photo__event-featured-image-link img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* TEC Photo View – Larger, yellow price display */
.tribe-events-view--photo .tribe-events-pro-photo__event-cost {
	font-size: 1.15em !important;
	font-weight: bold;
	color: yellow;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* TEC List View – uniform thumbnails (no cropping) */
.tribe-events-view--list .tribe-events-calendar-list__event-featured-image-wrapper,
.tribe-events-view--list .tribe-events-pro-list__event-featured-image-wrapper,
.tribe-events-view--list .tribe-events-event-image {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #000;
}

.tribe-events-view--list .tribe-events-calendar-list__event-featured-image-wrapper img,
.tribe-events-view--list .tribe-events-pro-list__event-featured-image-wrapper img,
.tribe-events-view--list .tribe-events-event-image img {
	position: absolute !important;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: contain;
	object-position: center;
}

.tribe-events-view--list .tribe-events-calendar-list__event-featured-image-wrapper,
.tribe-events-view--list .tribe-events-pro-list__event-featured-image-wrapper,
.tribe-events-view--list .tribe-events-event-image {
	height: auto !important;
	max-height: none !important;
}

.tribe-events-view--list .tribe-events-c-small-cta__price,
.tribe-events-view--list .tribe-events-pro-list__event-cost {
	font-size: 1.15em;
	font-weight: bold;
	color: yellow;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.tribe-events-view--list .tribe-events-calendar-list__event-venue,
.tribe-events-view--list .tribe-events-pro-list__event-venue {
	font-size: 1.05em;
	font-weight: bold;
	color: yellow;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* Community Events image upload (applies on add/edit form; layout only) */
.tribe-community-events .tribe-section.tribe-section-image-uploader .tribe-image-upload-area.has-image .form-controls {
	display: flex !important;
	gap: 8px;
	align-items: center;
}

.tribe-community-events .tribe-section.tribe-section-image-uploader .tribe-image-upload-area.has-image .tribe-remove-upload {
	display: block !important;
}

/* Community Events: higher-contrast dark theme (list / other contexts; not submission form) */
body:not(.tribe_community_edit) .tribe-community-events {
	--nrl-text: #e9e9e9;
	--nrl-subtle: #b7b7b7;
	--nrl-accent: #ffde59;
	--nrl-red: #b40000;
}

body:not(.tribe_community_edit) .tribe-community-events .tribe-section .tribe-section-title,
body:not(.tribe_community_edit) .tribe-community-events .tribe-section h3,
body:not(.tribe_community_edit) .tribe-community-events .tribe-section legend {
	color: var(--nrl-text) !important;
}

body:not(.tribe_community_edit) .tribe-community-events label {
	color: var(--nrl-text) !important;
}

body:not(.tribe_community_edit) .tribe-community-events input[type='text'],
body:not(.tribe_community_edit) .tribe-community-events input[type='email'],
body:not(.tribe_community_edit) .tribe-community-events input[type='url'],
body:not(.tribe_community_edit) .tribe-community-events input[type='number'],
body:not(.tribe_community_edit) .tribe-community-events input[type='time'],
body:not(.tribe_community_edit) .tribe-community-events input[type='date'],
body:not(.tribe_community_edit) .tribe-community-events select,
body:not(.tribe_community_edit) .tribe-community-events textarea {
	color: #f2f2f2 !important;
}

body:not(.tribe_community_edit) .tribe-community-events .tribe-section-datetime,
body:not(.tribe_community_edit) .tribe-community-events .tribe-section-datetime * {
	color: var(--nrl-text) !important;
}

/* TEC List View – fix mobile image size + date overlap */
@media (max-width: 768px) {
	.tribe-events-view--list .tribe-events-calendar-list__event-featured-image-wrapper,
	.tribe-events-view--list .tribe-events-pro-list__event-featured-image-wrapper,
	.tribe-events-view--list .tribe-events-event-image {
		padding-top: 0 !important;
		aspect-ratio: auto !important;
		height: 100px !important;
		max-height: 100px !important;
		position: relative;
		overflow: hidden;
		z-index: 1;
	}

	.tribe-events-view--list .tribe-events-calendar-list__event-featured-image-wrapper img,
	.tribe-events-view--list .tribe-events-pro-list__event-featured-image-wrapper img,
	.tribe-events-view--list .tribe-events-event-image img,
	.tribe-events-view--list .tribe-events-event-image picture img {
		position: absolute !important;
		inset: 0;
		width: 100% !important;
		height: 100% !important;
		object-fit: contain !important;
		object-position: center;
	}

	.tribe-events-view--list .tribe-events-calendar-list__event-date-tag {
		position: relative;
		z-index: 2;
	}
}

@media (max-width: 768px) {
	.tribe-events-view--list .tribe-events-calendar-list__event-featured-image-wrapper,
	.tribe-events-view--list .tribe-events-pro-list__event-featured-image-wrapper,
	.tribe-events-view--list .tribe-events-event-image {
		background: transparent !important;
	}
}

.tribe-filter-bar .tribe-filter-bar__filters-slider-container {
	visibility: visible !important;
	overflow: visible !important;
}

.tribe-events--filter-bar-horizontal.tribe-common--breakpoint-medium {
	overflow: visible !important;
}

.tribe-filter-bar .tribe-filter__dropdown,
.tribe-filter-bar .select2-dropdown {
	z-index: 999999 !important;
	position: absolute !important;
}

/* TEC Month View */
.tribe-events-view--month .tribe-events-calendar-month__multiday-event-bar,
.tribe-events-view--month .tribe-events-calendar-month__multiday-event-bar-inner,
.tribe-events-view--month .tribe-events-calendar-month__multiday-event {
	background: #fff !important;
	color: #222 !important;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 999px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.tribe-events-view--month .tribe-events-calendar-month__multiday-event a,
.tribe-events-view--month .tribe-events-calendar-month__multiday-event .tribe-events-calendar-month__multiday-event-title {
	color: #000 !important;
	font-weight: 600;
	text-decoration: none;
}

.tribe-events-view--month .tribe-events-calendar-month__day {
	background: #8c8c8c;
	border-color: #fff !important;
	box-shadow: inset -1px 0 0 #fff, inset 0 -1px 0 #fff !important;
}

th.tribe-events-calendar-month__header-column {
	background: transparent;
}

button.tribe-common-c-btn.tribe-events-c-search__button {
	background: #b40000 !important;
}

/* Event Tickets — attendee modal & forms (abbreviated class list; see original HFCM for full set) */
.tribe-tickets,
.tribe-tickets__modal,
.tribe-common .tribe-tickets,
#tribe-tickets,
.event-tickets {
	color: #e9e9e9;
}

.tribe-tickets h1,
.tribe-tickets h2,
.tribe-tickets h3,
.tribe-tickets legend,
.tribe-tickets__title,
.tribe-tickets__attendee-title {
	color: #f2f2f2 !important;
	font-weight: 700;
	letter-spacing: 0.2px;
}

.tribe-tickets label,
.tribe-tickets__attendee label,
.tribe-tickets__attendee-fields label,
.event-tickets label {
	color: #d6d6d6 !important;
	font-weight: 600;
	font-size: 14px;
}

.tribe-tickets .required,
.tribe-tickets abbr[title='required'],
.tribe-tickets .tribe-required,
.tribe-tickets .tribe-tickets__required {
	color: #ff4d4d !important;
	font-weight: 800;
}

.tribe-tickets .description,
.tribe-tickets .tribe-tickets__field-description,
.tribe-tickets small,
.tribe-tickets__attendee .tribe-tickets__help-text {
	color: #a9a9a9 !important;
	font-size: 12.5px;
	line-height: 1.35;
	margin-top: 6px;
}

.tribe-tickets input[type='text'],
.tribe-tickets input[type='email'],
.tribe-tickets input[type='tel'],
.tribe-tickets input[type='number'],
.tribe-tickets select,
.tribe-tickets textarea {
	background: #1b1b1b !important;
	color: #f2f2f2 !important;
	border: 1px solid #4b4b4b !important;
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 15px;
	line-height: 1.2;
	outline: none;
	box-shadow: none !important;
}

.tribe-tickets input:focus,
.tribe-tickets select:focus,
.tribe-tickets textarea:focus {
	border-color: #bdbdbd !important;
}

.tribe-tickets .tribe-tickets__attendee-field,
.tribe-tickets .tribe-tickets__attendee-fields > * {
	margin-bottom: 14px;
}

.tribe-tickets .tribe-tickets__attendee,
.tribe-tickets .tribe-tickets__attendee-fields,
.tribe-tickets .tribe-tickets__attendee-wrapper {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	padding: 18px;
}

.tribe-tickets hr,
.tribe-tickets__divider {
	border: 0;
	height: 1px;
	background: rgba(255, 255, 255, 0.1);
	margin: 18px 0;
}

.tribe-tickets input[type='checkbox'] {
	transform: scale(1.1);
}

.tribe-tickets .tribe-tickets__attendee-privacy,
.tribe-tickets .tribe-tickets__attendee-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #cfcfcf !important;
}

@media (max-width: 700px) {
	.tribe-tickets .tribe-tickets__attendee,
	.tribe-tickets .tribe-tickets__attendee-fields,
	.tribe-tickets .tribe-tickets__attendee-wrapper {
		padding: 14px;
		border-radius: 12px;
	}

	.tribe-tickets input[type='text'],
	.tribe-tickets input[type='email'],
	.tribe-tickets select {
		font-size: 16px;
	}
}

.tribe-tickets__form-field-label,
.tribe-tickets__form-field-label > span {
	color: #e6e6e6 !important;
	font-weight: 700 !important;
}

.tribe-tickets__form-field-label.tribe-common-b2,
.tribe-tickets__form-field-label.tribe-common-h6,
.tribe-tickets__form-field-label.tribe-common-h5 {
	color: #e6e6e6 !important;
}

.tribe-tickets__form-field-label .tribe-required,
.tribe-required {
	color: #ff4d4d !important;
	font-weight: 800 !important;
}

.tribe-tickets__form-field-label .screen-reader-text {
	color: inherit !important;
}

.tribe-tickets__form-field-description,
.tribe-tickets__form-field-description.tribe-common-b2,
.tribe-tickets__form-field-description p,
.tribe-tickets__form-field-description span,
.tribe-tickets__iac-email-disclaimer,
.tribe-tickets__iac-email-disclaimer.tribe-common-b2 {
	color: #bdbdbd !important;
	font-size: 13.5px !important;
	line-height: 1.5 !important;
}

.tribe-dialog__title,
.tribe-modal__title,
.tribe-modal__title.tribe-common-h5,
.tribe-dialog__title.tribe-common-h5 {
	color: #f2f2f2 !important;
	font-weight: 800 !important;
}

.tribe-tickets .tribe-common a,
.tribe-tickets .tribe-common-b2,
.tribe-tickets .tribe-common-b1,
.tribe-tickets .tribe-common-h6,
.tribe-tickets .tribe-common-h5 {
	color: inherit;
}

.tribe-dialog__overlay,
.tribe-modal__overlay,
[data-js='a11y-overlay'] {
	background-color: rgba(15, 15, 15, 0.78) !important;
}

.tribe-tickets__attendee-tickets-footer {
	gap: 16px;
}

.tribe-tickets__attendee-tickets-footer-cart-button,
button.tribe-tickets__attendee-tickets-footer-cart-button,
.tribe-common--breakpoint-medium .tribe-tickets__attendee-tickets-footer-cart-button {
	background: transparent !important;
	color: #cfcfcf !important;
	border: 1px solid rgba(255, 255, 255, 0.25) !important;
	box-shadow: none !important;
	font-weight: 600;
	padding: 10px 16px;
}

.tribe-tickets__attendee-tickets-footer-cart-button:hover {
	background: rgba(255, 255, 255, 0.06) !important;
	color: #ffffff !important;
}

.tribe-tickets__attendee-tickets-footer-checkout-button,
button.tribe-tickets__attendee-tickets-footer-checkout-button {
	background-color: #b40000 !important;
	color: #ffffff !important;
	border: none !important;
	font-weight: 700;
	padding: 12px 20px;
	border-radius: 10px;
	box-shadow: 0 4px 14px rgba(180, 0, 0, 0.35);
}

.tribe-tickets__attendee-tickets-footer-checkout-button:hover,
.tribe-tickets__attendee-tickets-footer-checkout-button:focus {
	background-color: #9e0000 !important;
	box-shadow: 0 6px 18px rgba(180, 0, 0, 0.45);
}

.tribe-tickets__attendee-tickets-footer-checkout-button[disabled],
.tribe-tickets__attendee-tickets-footer-checkout-button.is-disabled {
	background-color: #5c1a1a !important;
	color: #e0e0e0 !important;
	box-shadow: none;
	cursor: not-allowed;
}

#tribe-tickets__tickets-submit,
button.tribe-tickets__tickets-buy {
	background-color: #b40000 !important;
	color: #ffffff !important;
	border: none !important;
	font-weight: 700;
	padding: 12px 22px;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(180, 0, 0, 0.3);
}

#tribe-tickets__tickets-submit:hover,
#tribe-tickets__tickets-submit:focus,
button.tribe-tickets__tickets-buy:hover {
	background-color: #9e0000 !important;
	box-shadow: 0 6px 16px rgba(180, 0, 0, 0.45);
}

#tribe-tickets__tickets-submit[disabled],
button.tribe-tickets__tickets-buy[disabled] {
	background-color: #5c1a1a !important;
	color: #e0e0e0 !important;
	box-shadow: none;
	cursor: not-allowed;
}

.tribe-tickets__tickets-item-content-title,
.tribe-tickets__tickets-item-content-title.tribe-common-h7,
.tribe-tickets__tickets-item-content-title.tribe-common-h6--min-medium {
	color: #f0f0f0 !important;
	font-weight: 700;
	letter-spacing: 0.2px;
	border-left: 3px solid #b40000;
	padding-left: 10px;
}

.tribe-tickets__tickets-item-quantity button,
.tribe-tickets__tickets-item-quantity .tribe-common-c-btn,
.tribe-tickets__tickets-item-quantity [type='button'] {
	background: rgba(255, 255, 255, 0.06) !important;
	color: #eaeaea !important;
	border: 1px solid rgba(255, 255, 255, 0.18) !important;
	border-radius: 10px !important;
	padding: 10px 14px !important;
	min-width: 44px;
	min-height: 44px;
	line-height: 1;
	box-shadow: none !important;
}

.tribe-tickets__tickets-item-quantity button:hover,
.tribe-tickets__tickets-item-quantity button:focus {
	background: rgba(255, 255, 255, 0.1) !important;
	border-color: rgba(255, 255, 255, 0.28) !important;
}

/* Phase 2.2 — event meta */
.tribe-events-meta-list .tribe-events-meta-item {
	color: #eeeeee !important;
}

.tribe-events-meta-list a,
.tribe-events-meta-list a:visited {
	color: #eaeaea !important;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.25);
	text-underline-offset: 3px;
}

.tribe-events-single .tribe-tickets__tickets-title {
	color: #e6e6e6;
	letter-spacing: 0.06em;
	font-weight: 600;
}

.event-tickets .tribe-dialog__wrapper,
.tribe-dialog__wrapper {
	color: #eaeaea;
}

.event-tickets .tribe-dialog__wrapper .tribe-dialog__title,
.tribe-dialog__wrapper .tribe-dialog__title {
	color: #ffffff !important;
}

.event-tickets .tribe-dialog__wrapper .tribe-ticket__tickets-heading,
.tribe-dialog__wrapper .tribe-ticket__tickets-heading {
	color: #ffffff !important;
}

.event-tickets .tribe-dialog__wrapper .tribe-tickets__attendee-tickets-item-title,
.tribe-dialog__wrapper .tribe-tickets__attendee-tickets-item-title {
	color: #ffffff !important;
}

.event-tickets .tribe-dialog__wrapper .tribe-amount,
.tribe-dialog__wrapper .tribe-amount {
	color: #ffffff !important;
}

.event-tickets .tribe-dialog__wrapper .tribe-tickets__tickets-footer-quantity,
.event-tickets .tribe-dialog__wrapper .tribe-tickets__tickets-footer-total,
.tribe-dialog__wrapper .tribe-tickets__tickets-footer-quantity,
.tribe-dialog__wrapper .tribe-tickets__tickets-footer-total {
	color: #ffffff !important;
}

.event-tickets .tribe-dialog__wrapper .tribe-tickets__tickets-footer-quantity-label,
.event-tickets .tribe-dialog__wrapper .tribe-tickets__tickets-footer-quantity-number,
.tribe-dialog__wrapper .tribe-tickets__tickets-footer-quantity-label,
.tribe-dialog__wrapper .tribe-tickets__tickets-footer-quantity-number {
	color: #ffffff !important;
}

.event-tickets .tribe-dialog__wrapper .tribe-currency-symbol,
.tribe-dialog__wrapper .tribe-currency-symbol {
	color: #ffffff !important;
}

.event-tickets .tribe-dialog__wrapper .tribe-tickets__form select.tribe-tickets__form-field-input:invalid,
.event-tickets .tribe-dialog__wrapper .tribe-tickets__form select.tribe-common-form-control-text__input:invalid {
	color: rgba(255, 255, 255, 0.75) !important;
	border-color: rgba(255, 255, 255, 0.35) !important;
	box-shadow: none !important;
	outline: none !important;
}

.event-tickets .tribe-dialog__wrapper .tribe-tickets__form input.tribe-tickets__form-field-input,
.event-tickets .tribe-dialog__wrapper .tribe-tickets__form input.tribe-common-form-control-text__input {
	color: #fff !important;
	caret-color: #fff !important;
}

.event-tickets .tribe-dialog__wrapper .tribe-tickets__form input.tribe-tickets__form-field-input::placeholder,
.event-tickets .tribe-dialog__wrapper .tribe-tickets__form input.tribe-common-form-control-text__input::placeholder {
	color: rgba(255, 255, 255, 0.55) !important;
}

@media (max-width: 700px) {
	.event-tickets .tribe-tickets__tickets-item-details-content,
	.entry .entry-content .event-tickets .tribe-tickets__tickets-item-details-content {
		display: block !important;
	}
}

.event-tickets,
.tribe-dialog__wrapper,
.tribe-tickets {
	--tec-color-icon-focus: #b40000;
}

.tribe-tickets__tickets-wrapper .tribe-tickets__tickets-title {
	border-bottom: 1px solid #b40000 !important;
	padding-bottom: 14px;
	margin-bottom: 14px;
}

.tribe-tickets__tickets-wrapper > form.tribe-tickets__tickets-form,
.tribe-tickets__tickets-wrapper form#tribe-tickets__tickets-form {
	border: 2px solid #b40000 !important;
	border-radius: 14px !important;
	padding: 22px 26px !important;
	background: rgba(180, 0, 0, 0.08) !important;
}

.tribe-tickets__tickets-wrapper > form.tribe-tickets__tickets-form .tribe-tickets__tickets-title,
.tribe-tickets__tickets-wrapper form#tribe-tickets__tickets-form .tribe-tickets__tickets-title {
	border-bottom: 1px solid #b40000 !important;
	padding-bottom: 14px;
	margin-bottom: 14px;
}

.single-tribe_events .tribe-tickets__tickets-item-content--inactive::after {
	content: ' CST';
}

.home .tribe-events-c-top-bar {
	display: none !important;
}

.tribe-events-c-top-bar__datepicker-button {
	display: none !important;
}

/* Filter bar — mobile */
@media (max-width: 768px) {
	.tribe-filter-bar,
	.tribe-filter-bar-c-filter-bar {
		display: block !important;
	}

	.tribe-filter-bar__filters,
	.tribe-filter-bar-c-filter-bar__filters {
		display: flex !important;
		flex-wrap: nowrap !important;
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch;
		gap: 10px;
		padding: 10px 0 6px;
		margin: 0;
	}

	.tribe-filter-bar__filter,
	.tribe-filter-bar-c-filter-bar__filter {
		flex: 0 0 auto !important;
	}

	.tribe-filter-bar-c-filter__toggle,
	.tribe-filter-bar__filter-toggle {
		border-radius: 999px !important;
		padding: 10px 14px !important;
		line-height: 1 !important;
		min-height: 40px;
		white-space: nowrap;
	}

	.tribe-filter-bar,
	.tribe-filter-bar-c-filter-bar {
		position: relative !important;
		top: auto !important;
		z-index: 1 !important;
		margin-bottom: 14px !important;
		padding-bottom: 8px !important;
	}

	.tribe-filter-bar,
	.tribe-filter-bar-c-filter-bar,
	.tribe-filter-bar__filters,
	.tribe-filter-bar-c-filter-bar__filters {
		overflow: visible !important;
		height: auto !important;
	}

	.tribe-filter-bar__filters,
	.tribe-filter-bar-c-filter-bar__filters {
		display: flex !important;
		flex-wrap: nowrap !important;
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch;
		gap: 10px !important;
		padding: 8px 0 !important;
		margin: 0 !important;
	}

	.tribe-filter-bar__filter,
	.tribe-filter-bar-c-filter-bar__filter {
		flex: 0 0 auto !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
	}

	.tribe-filter-bar-c-filter__toggle,
	.tribe-filter-bar__filter-toggle {
		display: inline-flex !important;
		align-items: center;
		gap: 8px;
		border-radius: 999px !important;
		padding: 10px 14px !important;
		min-height: 40px;
		white-space: nowrap;
		border: 1px solid rgba(255, 255, 255, 0.35) !important;
		background: rgba(255, 255, 255, 0.06) !important;
	}

	.tribe-filter-bar-c-filter__toggle .tribe-common-c-svgicon,
	.tribe-filter-bar__filter-toggle .tribe-common-c-svgicon {
		margin-left: 2px;
	}

	.tribe-filter-bar-c-filter__toggle[aria-expanded='true'],
	.tribe-filter-bar__filter-toggle[aria-expanded='true'] {
		border-color: rgba(255, 255, 255, 0.85) !important;
		background: rgba(255, 255, 255, 0.12) !important;
		font-weight: 700;
	}

	.tribe-filter-bar-c-filter--active .tribe-filter-bar-c-filter__toggle,
	.tribe-filter-bar__filter--active .tribe-filter-bar__filter-toggle {
		border-color: rgba(255, 255, 255, 0.85) !important;
		background: rgba(255, 255, 255, 0.12) !important;
		font-weight: 700;
	}

	.tribe-filter-bar::before,
	.tribe-filter-bar-c-filter-bar::before {
		margin: 6px 0 8px !important;
		line-height: 1.25;
	}

	.tribe-filter-bar-c-filter__toggle[aria-expanded='true'],
	.tribe-filter-bar__filter-toggle[aria-expanded='true'] {
		outline: 2px solid currentcolor;
		outline-offset: 2px;
		font-weight: 700;
	}

	.tribe-filter-bar-c-filter--active .tribe-filter-bar-c-filter__toggle,
	.tribe-filter-bar__filter--active .tribe-filter-bar__filter-toggle,
	.tribe-filter-bar-c-filter__toggle[aria-pressed='true'],
	.tribe-filter-bar__filter-toggle[aria-pressed='true'] {
		font-weight: 700;
		text-decoration: underline;
	}

	.tribe-filter-bar-c-filter__toggle,
	.tribe-filter-bar__filter-toggle {
		color: #e6e6e6 !important;
		font-weight: 500 !important;
	}

	.tribe-filter-bar-c-filter__toggle .tribe-common-c-svgicon,
	.tribe-filter-bar__filter-toggle .tribe-common-c-svgicon {
		fill: currentcolor !important;
	}

	.tribe-filter-bar-c-filter__toggle:hover,
	.tribe-filter-bar__filter-toggle:hover {
		color: #ffffff !important;
	}

	.tribe-filter-bar-c-filter__toggle[aria-expanded='true'],
	.tribe-filter-bar__filter-toggle[aria-expanded='true'],
	.tribe-filter-bar-c-filter--active .tribe-filter-bar-c-filter__toggle,
	.tribe-filter-bar__filter--active .tribe-filter-bar__filter-toggle {
		color: #e10600 !important;
		font-weight: 700 !important;
	}
}

.tribe-filter-bar::before,
.tribe-filter-bar-c-filter-bar::before {
	content: 'FILTERS: Tap a filter below (Match Type, Club, State/Province, City) to narrow events. Swipe left/right to see more filters.';
	display: block;
	font-size: 13px;
	opacity: 0.9;
	margin: 6px 0 10px;
}

/* NRL22 view pills */
.nrl22-view-pills {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 18px 0;
	flex-wrap: wrap;
}

.nrl22-view-pills__label {
	flex: 0 0 auto;
	opacity: 0.9;
	font-size: 14px;
	white-space: nowrap;
}

.nrl22-view-pills__list {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nrl22-view-pills__list a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 14px;
	min-height: 40px;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.04);
	color: #e6e6e6;
	font-weight: 600;
	text-decoration: none !important;
	transition: all 0.15s ease;
}

.nrl22-view-pills__list a:hover {
	background: rgba(255, 255, 255, 0.08);
}

.nrl22-view-pills__list a.is-active {
	color: #ffffff !important;
	border-color: #e10600;
	background: rgba(225, 6, 0, 0.15);
	font-weight: 800;
}

.nrl22-view-pills__list a {
	color: #e6e6e6 !important;
}

.nrl22-view-pills__list a:not(.is-active) {
	color: #e6e6e6 !important;
}

.tribe-filter-bar,
.tribe-filter-bar-c-filter-bar {
	margin-top: 10px !important;
}

.tribe-events-c-events-bar__filter-button,
.tribe-events-c-view-selector {
	display: none !important;
}

.tribe-events-c-events-bar__views {
	display: flex !important;
	align-items: center;
	justify-content: flex-start !important;
	gap: 12px;
}

.tribe-events-c-events-bar__views .tribe-events-c-search__button,
.tribe-events-c-events-bar__views .tribe-common-c-btn {
	margin-left: 0 !important;
}

.tribe-events-c-events-bar__views .tribe-events-c-search {
	flex: 1 1 auto !important;
}

.tribe-events-c-search,
.tribe-events-c-events-bar__search,
.tribe-events-c-events-bar__views {
	justify-content: flex-start !important;
}

.tribe-events-c-search__button,
.tribe-events-c-events-bar__views .tribe-events-c-search__button {
	margin-left: 12px !important;
	margin-right: 12px !important;
}

.tribe-events-c-search__button-wrapper,
.tribe-events-c-events-bar__views .tribe-events-c-search__button-wrapper {
	margin-left: 0 !important;
	margin-right: 0 !important;
	justify-content: flex-start !important;
}

.tribe-events-c-events-bar__views {
	grid-template-columns: 1fr auto;
	column-gap: 12px;
}

/* End Events Calendar CSS */
