/*
 * Dark/gold overrides for The Events Calendar's default (light) frontend styles.
 * Loaded only when the plugin is active — see functions.php.
 */

.tribe-events,
.tribe-events *,
.tribe-events-pg-template,
.tribe-events-pg-template * {
	color: #e5e5e5 !important;
	font-family: Inter, sans-serif !important;
}

/* Titles, section headings, and links get the gold treatment specifically
 * (the blanket rule above would otherwise leave them off-white too). */
.tribe-events-single-event-title,
.tribe-events-single-section-title,
.tribe-events-pg-template a:not(.tribe-common-c-btn):not(.tribe-events-cal-links a) {
	color: #d4af37 !important;
}

.tribe-events-pg-template a:hover {
	color: #f2cd5a !important;
}

.tribe-events-single-event-title,
.tribe-events-single-section-title,
.tribe-common-h1,
.tribe-common-h2,
.tribe-common-h--alt {
	font-family: 'Inter Tight', Inter, sans-serif !important;
}

.tribe-events-header,
.tribe-events-calendar-list__event-row,
.tribe-events-calendar-list__event,
.tribe-events-calendar-month__day,
.tribe-events-calendar-month__calendar-event,
.tribe-events-single-event-title,
.tribe-events-content,
.tribe-events-schedule,
body.tribe-theme-woodmart .tribe-events,
.tribe-common {
	background-color: transparent !important;
}

.tribe-common {
	--tribe-common-color-accent: #d4af37 !important;
	--tribe-common-color-accent-hover: #f2cd5a !important;
	--tribe-common-color-background-accent: #d4af37 !important;
	--tribe-common-font-family-base: Inter, sans-serif !important;
	--tribe-common-font-family-alt: 'Inter Tight', Inter, sans-serif !important;
}

.tribe-events-calendar-month__calendar-event-title-link,
.tribe-events-calendar-list__event-title-link,
.tribe-events-calendar-day__event-title-link,
a.tribe-common-anchor-thin {
	color: #d4af37 !important;
}

/* Gold-filled buttons (Find Events, the date-range pill) need BLACK text —
 * including every nested span/time/icon inside them, which would otherwise
 * be caught (and lightened) by the blanket light-gray rule above. Order
 * matters here: this block must come after the blanket rule. */
.tribe-common-c-btn,
.tribe-common-c-btn *,
.tribe-events-c-top-bar__datepicker-button,
.tribe-events-c-top-bar__datepicker-button * {
	background-color: transparent;
	color: #000 !important;
}

.tribe-common-c-btn,
.tribe-events-c-top-bar__datepicker-button,
button.tribe-events-c-top-bar__datepicker-button {
	background-color: #d4af37 !important;
	border-color: #d4af37 !important;
}

.tribe-events-calendar-month__day--current,
.tribe-events-calendar-month table,
.tribe-events-calendar-month__calendar-event {
	border-color: rgba(212, 175, 55, 0.2) !important;
}

/* ==================== Toolbar (search / view tabs / date nav) ====================
 * TEC ships this as several independently-styled widgets (search bar, view
 * tabs, "Today" button, date-range pill) with mismatched heights, radii, and
 * font sizes. Unify them into one consistent control row.
 */
.tribe-events-c-events-bar,
.tribe-events-c-events-bar__search-container,
.tribe-events-c-view-selector__content,
.tribe-common-c-btn-border-small.tribe-events-c-top-bar__today-button,
.tribe-common-c-btn-border.tribe-events-c-subscribe-dropdown__button,
.tribe-events-c-subscribe-dropdown__list {
	background-color: #0a0a0a !important;
	border-color: rgba(212, 175, 55, 0.3) !important;
	color: #e5e5e5 !important;
}

.tribe-events-c-events-bar {
	border-radius: 0.5rem;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tribe-events-c-events-bar:focus-within {
	border-color: rgba( 212, 175, 55, 0.6 ) !important;
	box-shadow: 0 0 0 3px rgba( 212, 175, 55, 0.15 );
}

.tribe-events-c-events-bar__search-container {
	padding: 0.35rem 0.5rem;
}

.tribe-common-form-control-text__input,
.tribe-events-c-search__input {
	background-color: transparent !important;
	border-color: transparent !important;
	font-size: 0.9375rem !important;
	outline: none !important;
}

.tribe-common-form-control-text__input::placeholder,
.tribe-events-c-search__input::placeholder {
	color: rgba( 229, 229, 229, 0.45 ) !important;
}

.tribe-events-c-search__input-control-icon-svg {
	fill: rgba( 229, 229, 229, 0.5 ) !important;
	color: rgba( 229, 229, 229, 0.5 ) !important;
}

.tribe-events-c-search__button,
.tribe-events-c-events-bar__search-button {
	background-color: #d4af37 !important;
	color: #000 !important;
	border-radius: 0.375rem !important;
	font-weight: 600 !important;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.tribe-events-c-search__button:hover,
.tribe-events-c-events-bar__search-button:hover {
	background-color: #f2cd5a !important;
	transform: translateY( -1px );
}

.tribe-events-c-search__button svg,
.tribe-events-c-events-bar__search-button svg {
	fill: #000 !important;
	color: #000 !important;
}

/* View selector (List / Month / Day) — modern segmented-tab look. */
.tribe-events-c-view-selector__content {
	border: none !important;
	display: flex;
	gap: 0.25rem;
	padding: 0.35rem;
}

.tribe-events-c-view-selector__list {
	display: flex;
	gap: 0.25rem;
}

.tribe-events-c-view-selector__list-item {
	border-radius: 0.375rem !important;
	overflow: hidden;
}

.tribe-events-c-view-selector__list-item-link {
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 0.5rem 0.9rem !important;
	border-radius: 0.375rem !important;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.tribe-events-c-view-selector__list-item,
.tribe-events-c-subscribe-dropdown__list-item-link {
	color: #e5e5e5 !important;
}

.tribe-events-c-view-selector__list-item:hover,
.tribe-events-c-view-selector__list-item--active,
.tribe-events-c-subscribe-dropdown__list-item-link:hover {
	background-color: rgba(212, 175, 55, 0.15) !important;
	color: #d4af37 !important;
}

/* Date nav row (Today button + date-range pill) — same height, same radius. */
.tribe-events-c-top-bar {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-top: 1.25rem !important;
	margin-bottom: 1.5rem !important;
}

.tribe-common.tribe-events .tribe-common-c-btn-border-small.tribe-events-c-top-bar__today-button {
	height: 2.5rem !important;
	display: inline-flex !important;
	align-items: center !important;
	padding: 0 1rem !important;
	border-radius: 0.5rem !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	box-sizing: border-box !important;
}

.tribe-events-c-top-bar__datepicker-button {
	height: 2.5rem !important;
	display: inline-flex !important;
	align-items: center !important;
	padding: 0 1.1rem !important;
	border-radius: 0.5rem !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.tribe-events-c-top-bar__datepicker-time,
.tribe-events-c-top-bar__datepicker-mobile,
.tribe-events-c-top-bar__datepicker-desktop {
	font-size: inherit !important;
	font-weight: inherit !important;
}

.tribe-events-c-top-bar__nav button,
.tribe-events-c-top-bar__nav a {
	color: #e5e5e5 !important;
}

/* Single event page: venue/organizer/schedule detail boxes and the
 * "add to calendar" links, which otherwise stay in TEC's light theme. */
.tribe-events-single-section,
.tribe-events-schedule__datetime,
.tribe-events-meta-group,
.tribe-events-venue-map,
.tribe-events-single-event-meta-group,
.tribe-events-single-event-meta-group-details,
.tribe-events-cal-links,
.tribe-events-event-meta {
	background-color: transparent !important;
	border-color: rgba(212, 175, 55, 0.15) !important;
}

.tribe-events-cal-links .tribe-events-gcal,
.tribe-events-cal-links a {
	color: #d4af37 !important;
	border-color: rgba(212, 175, 55, 0.4) !important;
}

.tribe-events-calendar-month__multiday-event-bar-inner,
.tribe-events-calendar-month__calendar-event-tooltip,
.tribe-events-calendar-list__event-datetime-tooltip,
.tribe-events-tooltip-theme {
	background-color: #0a0a0a !important;
	border-color: rgba(212, 175, 55, 0.3) !important;
	color: #e5e5e5 !important;
}

/* Icons inherit currentColor in a lot of TEC markup — force it to the
 * theme's off-white instead of TEC's own near-black default. */
.tribe-common-c-svgicon {
	fill: currentColor !important;
}

/* ==================== Date-picker popover (bootstrap-datepicker) ====================
 * Ships with its own light theme (white background, blue selection) with no
 * relation to Tribe's own dark-theme variables, so it needs its own overrides.
 */
.datepicker.datepicker-dropdown {
	background-color: #0a0a0a !important;
	border: 1px solid rgba( 212, 175, 55, 0.3 ) !important;
	border-radius: 0.5rem !important;
	box-shadow: 0 12px 32px -12px rgba( 0, 0, 0, 0.7 );
	padding: 0.5rem !important;
	font-family: Inter, sans-serif !important;
}

.datepicker.datepicker-dropdown:before,
.datepicker.datepicker-dropdown:after {
	display: none !important;
}

.datepicker table {
	width: 100%;
}

.datepicker table tr td,
.datepicker table tr th {
	color: #e5e5e5 !important;
	text-align: center;
	border-radius: 0.375rem !important;
}

.datepicker table tr th.datepicker-switch,
.datepicker table tr th.prev,
.datepicker table tr th.next {
	color: #d4af37 !important;
	font-weight: 600 !important;
}

.datepicker table tr th.prev:hover,
.datepicker table tr th.next:hover,
.datepicker table tr th.datepicker-switch:hover {
	background-color: rgba( 212, 175, 55, 0.15 ) !important;
	color: #f2cd5a !important;
}

.datepicker table tr th.dow {
	color: rgba( 229, 229, 229, 0.5 ) !important;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-weight: 600 !important;
}

.datepicker table tr td.day:hover {
	background-color: rgba( 212, 175, 55, 0.15 ) !important;
	color: #d4af37 !important;
	cursor: pointer;
}

.datepicker table tr td.old,
.datepicker table tr td.new {
	color: rgba( 229, 229, 229, 0.25 ) !important;
}

.datepicker table tr td.today,
.datepicker table tr td.today:hover {
	background-color: rgba( 212, 175, 55, 0.12 ) !important;
	box-shadow: inset 0 0 0 1px rgba( 212, 175, 55, 0.5 );
	color: #d4af37 !important;
}

.datepicker table tr td.active,
.datepicker table tr td.active:hover,
.datepicker table tr td.active.day:hover {
	background-color: #d4af37 !important;
	background-image: none !important;
	color: #000 !important;
	text-shadow: none !important;
	font-weight: 600 !important;
}

.datepicker table tr td.disabled,
.datepicker table tr td.disabled:hover {
	color: rgba( 229, 229, 229, 0.15 ) !important;
	cursor: default;
}

.datepicker .datepicker-months .month,
.datepicker .datepicker-years .year,
.datepicker .datepicker-decades .decade {
	color: #e5e5e5 !important;
	border-radius: 0.375rem !important;
}

.datepicker .datepicker-months .month:hover,
.datepicker .datepicker-years .year:hover,
.datepicker .datepicker-decades .decade:hover {
	background-color: rgba( 212, 175, 55, 0.15 ) !important;
	color: #d4af37 !important;
}

.datepicker .datepicker-months .focused,
.datepicker .datepicker-years .focused,
.datepicker .datepicker-decades .focused {
	background-color: rgba( 212, 175, 55, 0.12 ) !important;
}

/* ============================================================
   Events page v2 — aligns the calendar with the rest of the site:
   page heading, pill toolbar, location pills, event cards.
   (html body … prefixes beat the blanket !important rules above.)
   ============================================================ */
html body main > .tribe-events,
html body .tribe-events-pg-template > .tribe-events { max-width: 80rem; margin: 0 auto !important; padding: 4rem 1rem 5rem !important; }
@media (min-width: 768px) { html body main > .tribe-events, html body .tribe-events-pg-template > .tribe-events { padding-left: 2rem !important; padding-right: 2rem !important; } }

html body .tribe-events .cc-events-head { margin-bottom: 2rem; }
html body .tribe-events .cc-events-title { font-family: 'Inter Tight', Inter, sans-serif !important; font-size: clamp(2.2rem, 4.2vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; color: #fff !important; }
html body .tribe-events .cc-events-title span { color: var(--cc-gold) !important; font-family: inherit !important; }
html body .tribe-events .cc-events-sub { margin-top: .9rem; max-width: 42rem; font-size: 1.05rem; line-height: 1.6; color: rgba(255, 255, 255, .6) !important; }

/* Toolbar: search + view switcher */
html body .tribe-events .tribe-events-c-events-bar { border-radius: 1.25rem; border: 1px solid var(--cc-line-strong) !important; background: linear-gradient(180deg, rgba(212, 175, 55, .07), transparent 80%), #0b0a07 !important; overflow: visible; }
html body .tribe-events .tribe-events-c-events-bar__search-container,
html body .tribe-events .tribe-events-c-view-selector__content { background: transparent !important; border: 0 !important; }
html body .tribe-events .tribe-events-c-events-bar__search-container { padding: .55rem .75rem; }
html body .tribe-events .tribe-events-c-search__input-control { align-items: center; }
html body .tribe-events .tribe-events-c-search__input { color: #fff !important; }
html body .tribe-events .tribe-events-c-search__button,
html body .tribe-events .tribe-events-c-events-bar__search-button { border-radius: 9999px !important; padding: .7rem 1.3rem !important; font-size: .8rem !important; letter-spacing: .06em; text-transform: uppercase; }
html body .tribe-events .tribe-events-c-view-selector__content { padding: .25rem; margin: .45rem .6rem .45rem 0; border-radius: 9999px; background: rgba(255, 255, 255, .05) !important; border: 1px solid rgba(255, 255, 255, .08) !important; }
html body .tribe-events .tribe-events-c-view-selector__list-item,
html body .tribe-events .tribe-events-c-view-selector__list-item-link { border-radius: 9999px !important; }
html body .tribe-events .tribe-events-c-view-selector__list-item-link { color: rgba(255, 255, 255, .65) !important; padding: .5rem 1rem !important; font-size: .8rem !important; letter-spacing: .06em; }
html body .tribe-events .tribe-events-c-view-selector__list-item--active { background: rgba(212, 175, 55, .18) !important; }
html body .tribe-events .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link,
html body .tribe-events .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-text { color: var(--cc-gold) !important; }
html body .tribe-events .tribe-events-c-view-selector__list-item:hover .tribe-events-c-view-selector__list-item-link { color: #fff !important; }

/* Location pills (same look as the Card Sets game tabs) */
html body .tribe-events .cc-events-location-filter { gap: .5rem; margin: 1.25rem 0 0; }
html body .tribe-events .cc-location-filter-label { margin-right: .35rem; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5) !important; }
html body .tribe-events .cc-events-location-filter a.cc-location-pill { padding: .6rem 1rem; font-size: .9rem; font-weight: 600; border-radius: 9999px; border: 1px solid rgba(255, 255, 255, .12) !important; color: rgba(255, 255, 255, .75) !important; background: transparent; }
html body .tribe-events .cc-events-location-filter a.cc-location-pill:hover { border-color: var(--cc-line-strong) !important; color: #fff !important; }
html body .tribe-events .cc-events-location-filter a.cc-location-pill.is-active { background: rgba(212, 175, 55, .14); border-color: var(--cc-gold) !important; color: var(--cc-gold) !important; }

/* Date navigation */
html body .tribe-events .tribe-events-c-top-bar { margin-top: 1.25rem !important; margin-bottom: 1.75rem !important; }
html body .tribe-events .tribe-events-c-top-bar__today-button { border-radius: 9999px !important; background: transparent !important; border: 1px solid rgba(255, 255, 255, .14) !important; color: #fff !important; }
html body .tribe-events .tribe-events-c-top-bar__today-button:hover { border-color: var(--cc-gold) !important; color: var(--cc-gold) !important; }
html body .tribe-events .tribe-events-c-top-bar__datepicker-button { border-radius: 9999px !important; padding: 0 1.2rem !important; }
html body .tribe-events .tribe-events-c-top-bar__nav-link { border-radius: 9999px; }

/* Month separator in list view */
html body .tribe-events .tribe-events-calendar-list__month-separator { display: flex; align-items: center; gap: 1rem; margin: 2rem 0 1.1rem; padding: 0; border: 0; }
html body .tribe-events .tribe-events-calendar-list__month-separator::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--cc-line-strong), transparent); border: 0; position: static; }
html body .tribe-events .tribe-events-calendar-list__month-separator h3 { margin: 0; }
html body .tribe-events .tribe-events-calendar-list__month-separator-text { font-family: 'Inter Tight', Inter, sans-serif !important; font-size: 1.3rem !important; font-weight: 700; letter-spacing: -.02em; color: #fff !important; text-transform: none; }

/* Event rows -> date tile + card */
html body .tribe-events .tribe-events-calendar-list__event-row { display: flex; align-items: stretch; gap: 1.1rem; margin: 0 0 1rem; padding: 0; }
html body .tribe-events .tribe-events-calendar-list__event-date-tag { flex: 0 0 4.75rem; width: 4.75rem; max-width: 4.75rem; padding: 0; margin: 0; }
html body .tribe-events .tribe-events-calendar-list__event-date-tag-datetime { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; height: 100%; min-height: 5.25rem; padding: .6rem .4rem; border-radius: 1.1rem; border: 1px solid var(--cc-line-strong); background: linear-gradient(180deg, rgba(212, 175, 55, .2), rgba(212, 175, 55, .05)), #0b0a07; text-align: center; }
html body .tribe-events .tribe-events-calendar-list__event-date-tag-datetime::before,
html body .tribe-events .tribe-events-calendar-list__event-date-tag-datetime::after { display: none; }
html body .tribe-events .tribe-events-calendar-list__event-date-tag-weekday { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cc-gold) !important; }
html body .tribe-events .tribe-events-calendar-list__event-date-tag-daynum { font-family: 'Inter Tight', Inter, sans-serif !important; font-size: 1.9rem !important; font-weight: 800; line-height: 1; color: #fff !important; }
html body .tribe-events .tribe-events-calendar-list__event-wrapper { flex: 1 1 auto; width: auto; max-width: none; min-width: 0; padding: 0; margin: 0; }
html body .tribe-events .tribe-events-calendar-list__event { height: 100%; margin: 0; padding: 1.15rem 1.5rem; border-radius: 1.25rem; border: 1px solid var(--cc-line); background: #0b0a07 !important; transition: border-color .25s ease, transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease; }
html body .tribe-events .tribe-events-calendar-list__event:hover { border-color: var(--cc-line-strong); transform: translateY(-2px); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(212, 175, 55, .08); }
html body .tribe-events .tribe-events-calendar-list__event-details { padding: 0; margin: 0; width: 100%; }
html body .tribe-events .tribe-events-calendar-list__event-header { display: flex; flex-direction: column; gap: .5rem; margin: 0; }
html body .tribe-events .tribe-events-calendar-list__event-title { margin: 0; order: 2; }
html body .tribe-events .tribe-events-calendar-list__event-datetime-wrapper { order: 1; margin: 0; }
html body .tribe-events .tribe-events-calendar-list__event-venue { order: 3; margin: .15rem 0 0; font-style: normal; }
html body .tribe-events .tribe-events-calendar-list__event-datetime { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cc-gold) !important; }
html body .tribe-events .tribe-events-calendar-list__event-datetime * { color: var(--cc-gold) !important; font-family: inherit !important; }
html body .tribe-events .tribe-events-calendar-list__event-title a.tribe-events-calendar-list__event-title-link { font-family: 'Inter Tight', Inter, sans-serif !important; font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: #fff !important; transition: color .2s ease; }
html body .tribe-events .tribe-events-calendar-list__event-title a.tribe-events-calendar-list__event-title-link:hover { color: var(--cc-gold) !important; }
html body .tribe-events .tribe-events-calendar-list__event-venue-title { display: inline-flex; align-items: center; gap: .45rem; margin-right: .35rem; font-size: .92rem; font-weight: 600; color: rgba(255, 255, 255, .88) !important; }
html body .tribe-events .tribe-events-calendar-list__event-venue-title::before { content: ""; width: 1rem; height: 1rem; flex: none; background: var(--cc-gold); -webkit-mask: url("../icons/map-pin.svg") center / contain no-repeat; mask: url("../icons/map-pin.svg") center / contain no-repeat; }
html body .tribe-events .tribe-events-calendar-list__event-venue-address { font-size: .88rem; color: rgba(255, 255, 255, .5) !important; }
html body .tribe-events .tribe-events-calendar-list__event-description,
html body .tribe-events .tribe-events-calendar-list__event-description p { color: rgba(255, 255, 255, .6) !important; }
html body .tribe-events .tribe-events-calendar-list-nav { margin-top: 1.5rem; }
html body .tribe-events .tribe-events-calendar-list-nav a,
html body .tribe-events .tribe-events-c-nav__list-item a { border-radius: 9999px; }

@media (max-width: 640px) {
	html body .tribe-events .tribe-events-calendar-list__event-row { gap: .75rem; }
	html body .tribe-events .tribe-events-calendar-list__event-date-tag { flex-basis: 3.75rem; width: 3.75rem; max-width: 3.75rem; }
	html body .tribe-events .tribe-events-calendar-list__event-date-tag-datetime { min-height: 4.5rem; border-radius: .9rem; }
	html body .tribe-events .tribe-events-calendar-list__event-date-tag-daynum { font-size: 1.5rem !important; }
	html body .tribe-events .tribe-events-calendar-list__event { padding: 1rem 1.1rem; }
}

/* Month + day views */
html body .tribe-events .tribe-events-calendar-month { border-radius: 1.25rem; overflow: hidden; border: 1px solid var(--cc-line); background: #0b0a07; }
html body .tribe-events .tribe-events-calendar-month__header-column-title { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cc-gold) !important; }
html body .tribe-events .tribe-events-calendar-month__day,
html body .tribe-events .tribe-events-calendar-month__header-column { border-color: var(--cc-line) !important; }
html body .tribe-events .tribe-events-calendar-month__day-date-daynum { font-family: 'Inter Tight', Inter, sans-serif !important; font-weight: 700; color: #fff !important; }
html body .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-daynum { color: var(--cc-gold) !important; }
html body .tribe-events .tribe-events-calendar-month__calendar-event-title-link { font-weight: 600; color: #fff !important; }
html body .tribe-events .tribe-events-calendar-month__calendar-event-title-link:hover { color: var(--cc-gold) !important; }
html body .tribe-events .tribe-events-calendar-month__calendar-event-datetime { color: var(--cc-gold) !important; }
html body .tribe-events .tribe-events-calendar-day__event { border-radius: 1.25rem; }
html body .tribe-events .tribe-events-calendar-day__event-title-link { color: #fff !important; }
html body .tribe-events .tribe-events-calendar-day__event-title-link:hover { color: var(--cc-gold) !important; }

/* v2 fixes */
html body .tribe-events .tribe-events-c-view-selector,
html body .tribe-events .tribe-events-c-view-selector__content { border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0; margin: 0; }
html body .tribe-events .tribe-events-c-view-selector__list { display: inline-flex; gap: .15rem; margin: .45rem .6rem .45rem 0; padding: .25rem; border-radius: 9999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
html body .tribe-events .tribe-events-c-view-selector__list-item { margin: 0; }
html body .tribe-events .tribe-events-calendar-list__event-date-tag { align-self: flex-start; }
html body .tribe-events .tribe-events-calendar-list__event-date-tag-datetime { height: auto; min-height: 5.25rem; }
html body .tribe-events .tribe-events-calendar-list__event-venue { display: flex; flex-direction: column; gap: .15rem; }
html body .tribe-events .tribe-events-calendar-list__event-venue-title { display: flex; }
html body .tribe-events .tribe-events-calendar-list__event-venue-address { padding-left: 1.45rem; }
html body .tribe-events .tribe-events-calendar-list__event-date-tag { flex: 0 0 4.75rem !important; width: 4.75rem !important; max-width: 4.75rem !important; min-width: 0 !important; padding: 0 !important; }
html body .tribe-events .tribe-events-calendar-list__event-date-tag-datetime { width: 100% !important; box-sizing: border-box; }
html body .tribe-events .tribe-events-calendar-list__event-wrapper { padding: 0 !important; flex: 1 1 0 !important; width: auto !important; max-width: none !important; }
@media (max-width: 640px) { html body .tribe-events .tribe-events-calendar-list__event-date-tag { flex-basis: 3.75rem !important; width: 3.75rem !important; max-width: 3.75rem !important; } }
html body .tribe-events .tribe-events-calendar-list__event-row { margin: 0 0 1rem !important; padding: 0 !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box; }
html body .tribe-events .tribe-events-calendar-list__event-wrapper > .tribe-events-calendar-list__event { margin: 0 !important; width: 100%; box-sizing: border-box; }
html body .tribe-events .tribe-events-calendar-list { margin: 0; padding: 0; }
html body .tribe-events .tribe-events-l-container { padding: 0 !important; min-height: 0; }
html body .tribe-events .tribe-events-calendar-month__body,
html body .tribe-events .tribe-events-calendar-month__week,
html body .tribe-events .tribe-events-calendar-month__header,
html body .tribe-events .tribe-events-calendar-month__header-row,
html body .tribe-events .tribe-events-calendar-month__day,
html body .tribe-events .tribe-events-calendar-month__day-cell { border-color: var(--cc-line) !important; }
html body .tribe-events .tribe-events-calendar-month__header-column-title-desktop { color: var(--cc-gold) !important; }
html body .tribe-events .tribe-events-calendar-month__day-cell--selected,
html body .tribe-events .tribe-events-calendar-month__day:hover { background: rgba(212, 175, 55, .06) !important; }
html body .tribe-events .tribe-events-calendar-month__calendar-event-featured-image-link { display: none; }
html body .tribe-events .tribe-events-calendar-month__header-column-title span[aria-hidden="true"] { display: none; }
html body .tribe-events .tribe-events-calendar-month__header-column-title .screen-reader-text { position: static !important; clip: auto !important; clip-path: none !important; width: auto !important; height: auto !important; margin: 0 !important; overflow: visible !important; display: inline !important; color: var(--cc-gold) !important; }
html body .tribe-events .tribe-events-calendar-month__header-column { padding: .7rem .75rem; text-align: left; }
@media (max-width: 767px) { html body .tribe-events .tribe-events-calendar-month__header-column-title .screen-reader-text { display: none !important; } html body .tribe-events .tribe-events-calendar-month__header-column-title span[aria-hidden="true"] { display: inline; } }

/* ---- Single event page ---- */
html body .tribe-events-pg-template { max-width: 64rem; margin: 0 auto; padding: 3.5rem 1rem 5rem; }
@media (min-width: 768px) { html body .tribe-events-pg-template { padding-left: 2rem; padding-right: 2rem; } }
html body .tribe-events-pg-template .tribe-events-back a { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1rem; border-radius: 9999px; border: 1px solid var(--cc-line-strong); background: rgba(212, 175, 55, .06); font-size: .85rem; font-weight: 600; color: var(--cc-gold) !important; transition: background-color .2s ease, border-color .2s ease; }
html body .tribe-events-pg-template .tribe-events-back a:hover { background: rgba(212, 175, 55, .14); border-color: var(--cc-gold); }
html body .tribe-events-pg-template .tribe-events-single-event-title { margin: 1.5rem 0 1rem; font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; color: #fff !important; }
html body .tribe-events-pg-template .tribe-events-schedule { display: flex; align-items: center; gap: .75rem; margin: 0 0 1.5rem; padding: 0; }
html body .tribe-events-pg-template .tribe-events-schedule h2 { display: inline-flex; margin: 0; padding: .55rem 1.1rem; border-radius: 9999px; border: 1px solid var(--cc-line-strong); background: rgba(212, 175, 55, .1); font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cc-gold) !important; }
html body .tribe-events-pg-template .tribe-events-schedule h2 * { color: var(--cc-gold) !important; }
html body .tribe-events-pg-template .tribe-events-single-event-description { font-size: 1.05rem; line-height: 1.75; color: rgba(255, 255, 255, .75) !important; }
html body .tribe-events-pg-template .tribe-events-cal-links { margin: 1.5rem 0 2rem; }
html body .tribe-events-pg-template .tribe-events-c-subscribe-dropdown__button,
html body .tribe-events-pg-template .tribe-events-c-subscribe-dropdown .tribe-common-c-btn-border { border-radius: 9999px !important; border: 1px solid rgba(255, 255, 255, .16) !important; background: transparent !important; color: #fff !important; }
html body .tribe-events-pg-template .tribe-events-c-subscribe-dropdown__button *,
html body .tribe-events-pg-template .tribe-events-c-subscribe-dropdown .tribe-common-c-btn-border * { color: #fff !important; }
html body .tribe-events-pg-template .tribe-events-event-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; margin: 0 0 2rem; padding: 0; border: 0 !important; }
html body .tribe-events-pg-template .tribe-events-meta-group { float: none; width: auto; margin: 0; padding: 1.4rem 1.5rem; border-radius: 1.25rem; border: 1px solid var(--cc-line) !important; background: #0b0a07 !important; }
html body .tribe-events-pg-template .tribe-events-single-section-title { margin: 0 0 1rem; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--cc-gold) !important; font-family: Inter, sans-serif !important; }
html body .tribe-events-pg-template .tribe-events-meta-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
html body .tribe-events-pg-template .tribe-events-meta-label,
html body .tribe-events-pg-template .tribe-events-venue-meta dt { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .45) !important; }
html body .tribe-events-pg-template .tribe-events-meta-value,
html body .tribe-events-pg-template .tribe-events-meta-group-venue address { font-size: .98rem; font-style: normal; font-weight: 500; color: #fff !important; }
html body .tribe-events-pg-template .tribe-events-abbr { text-decoration: none; border: 0; }
html body .tribe-events-pg-template .tribe-events-nav-pagination { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--cc-line); }
html body .tribe-events-pg-template .tribe-events-sub-nav a { padding: .55rem 1rem; border-radius: 9999px; border: 1px solid rgba(255, 255, 255, .12); font-weight: 600; font-size: .88rem; color: rgba(255, 255, 255, .8) !important; transition: border-color .2s ease, color .2s ease; }
html body .tribe-events-pg-template .tribe-events-sub-nav a:hover { border-color: var(--cc-gold); color: var(--cc-gold) !important; }
html body .tribe-events-pg-template .tribe-events-single > div,
html body .tribe-events-pg-template #tribe-events-footer,
html body .tribe-events-pg-template .tribe-events-nav-pagination { border-color: var(--cc-line) !important; }
html body .tribe-events-pg-template .tribe-events-event-meta { width: 100% !important; max-width: none !important; float: none !important; }
html body .tribe-events-pg-template .tribe-events-schedule > div { display: inline-flex; align-items: center; gap: .35rem; padding: .55rem 1.1rem; border-radius: 9999px; border: 1px solid var(--cc-line-strong); background: rgba(212, 175, 55, .1); font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cc-gold) !important; }
html body .tribe-events-pg-template .tribe-events-schedule > div * { color: var(--cc-gold) !important; }
html body .tribe-events-pg-template .tribe-events-cal-links { margin: 1.25rem 0 1.75rem; border: 0 !important; }
html body .tribe-events-pg-template .tribe-events-event-meta::before,
html body .tribe-events-pg-template .tribe-events-event-meta::after { display: none !important; border: 0 !important; }
html body .tribe-events .tribe-events-c-view-selector__button { background: transparent !important; border: 0 !important; }
html body .tribe-events .tribe-events-c-view-selector__button-icon,
html body .tribe-events .tribe-events-c-view-selector__button-icon * { color: var(--cc-gold) !important; fill: var(--cc-gold) !important; }
html body .tribe-events .tribe-events-calendar-list__event-details,
html body .tribe-events .tribe-events-calendar-list__event-header { padding: 0 !important; margin: 0 !important; }
html body .tribe-events .tribe-events-calendar-list__event-datetime-wrapper,
html body .tribe-events .tribe-events-calendar-list__event-title { margin: 0 !important; padding: 0 !important; }
html body .tribe-events .tribe-events-calendar-list__event-header { gap: .5rem; }

/* Toolbar alignment: Find Events button and the List/Month/Day group share one height. */
html body .tribe-events .tribe-events-c-events-bar { display: flex; align-items: center; }
html body .tribe-events .tribe-events-c-events-bar__search-container,
html body .tribe-events .tribe-events-c-view-selector { display: flex; align-items: center; }
html body .tribe-events .tribe-events-c-events-bar__search-container { flex: 1 1 auto; padding: .6rem .75rem !important; }
html body .tribe-events .tribe-events-c-view-selector { padding: 0 .75rem 0 0 !important; margin: 0 !important; }
html body .tribe-events .tribe-events-c-search__button,
html body .tribe-events .tribe-events-c-events-bar__search-button { height: 2.75rem; min-height: 0; padding: 0 1.4rem !important; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; line-height: 1; }
html body .tribe-events .tribe-events-c-view-selector__list { height: 2.75rem; margin: 0 !important; padding: .2rem !important; box-sizing: border-box; align-items: stretch; }
html body .tribe-events .tribe-events-c-view-selector__list-item { display: flex; margin: 0 !important; }
html body .tribe-events .tribe-events-c-view-selector__list-item-link { display: inline-flex; align-items: center; justify-content: center; height: 100% !important; margin: 0; padding: 0 1.1rem !important; line-height: 1; box-sizing: border-box; }
html body .tribe-events .tribe-events-c-view-selector__list-item-text { line-height: 1; }
html body .tribe-events .tribe-events-c-view-selector__list { height: 2.75rem !important; min-height: 2.75rem !important; }
html body .tribe-events .tribe-events-c-events-bar__views { display: flex !important; align-items: center !important; height: auto !important; margin: 0 !important; padding: 0 .75rem 0 0 !important; }
html body .tribe-events .tribe-events-c-events-bar__search-container { height: auto !important; min-height: 0 !important; }
html body .tribe-events .tribe-events-c-events-bar__search-form,
html body .tribe-events .tribe-events-c-search { display: flex !important; align-items: center !important; width: 100%; margin: 0 !important; padding: 0 !important; height: auto !important; gap: .75rem; }
html body .tribe-events .tribe-events-c-search__input-control { flex: 1 1 auto; margin: 0 !important; padding: 0 !important; height: 2.75rem; display: flex; align-items: center; }
html body .tribe-events .tribe-events-c-search__button,
html body .tribe-events .tribe-events-c-events-bar__search-button { height: 2.75rem !important; margin: 0 !important; }
