/*
 * The Events Calendar — brand overrides for The Baltimore Station.
 *
 * Loaded by functions.php only when The Events Calendar is active. Modern TEC
 * (6.x) exposes CSS custom properties (`--tec-color-*`); we retint those to the
 * brand and add a few targeted overrides for buttons, links, and the date badge.
 */

.tribe-common,
.tribe-events {
	--tec-color-accent-primary: var(--wp--preset--color--brand-red);
	--tec-color-accent-primary-hover: var(--wp--preset--color--brand-maroon);
	--tec-color-accent-primary-active: var(--wp--preset--color--brand-maroon);
	--tec-color-accent-primary-multiday: rgba(227, 29, 26, 0.24);
	--tec-color-accent-primary-multiday-hover: rgba(227, 29, 26, 0.4);
	--tec-color-background-secondary: var(--wp--preset--color--gray-50);
	--tec-font-family-sans-serif: var(--wp--preset--font-family--inter, inherit);
	--tec-font-family-base: var(--wp--preset--font-family--inter, inherit);
}

/* Links */
.tribe-events a,
.tribe-events .tribe-events-calendar-list__event-title-link,
.tribe-common a.tribe-common-anchor-thin {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}
.tribe-events a:hover,
.tribe-events .tribe-events-calendar-list__event-title-link:hover {
	color: var(--wp--preset--color--brand-red);
}

/* Buttons — pill, brand red */
.tribe-common .tribe-common-c-btn,
.tribe-common a.tribe-common-c-btn,
.tribe-events .tribe-events-c-subscribe-dropdown__button-text,
#tribe-events .tribe-events-button,
.tribe-events .tribe-rsvp-list .tribe-rsvp-list__rsvp-button {
	background-color: var(--wp--preset--color--brand-red);
	color: #fff;
	border: 0;
	border-radius: 999px;
	font-weight: 700;
}
.tribe-common .tribe-common-c-btn:hover {
	background-color: var(--wp--preset--color--brand-maroon);
	color: #fff;
}

/* Event titles */
.tribe-events .tribe-events-calendar-list__event-title,
.tribe-events .tribe-events-single-event-title {
	font-weight: 800;
}

/* Featured / date accents */
.tribe-events .tribe-events-calendar-list__event-datetime-featured-text,
.tribe-events .tribe-events-calendar-day__event-datetime-featured-text {
	color: var(--wp--preset--color--brand-red);
}

/* Event card images — soften corners to match the theme */
.tribe-events .tribe-events-calendar-list__event-featured-image,
.tribe-events .tribe-events-calendar-list__event-featured-image-wrapper img {
	border-radius: 14px;
}
