/* ==========================================================================
   The Events Calendar — Game A Lot styling
   ========================================================================== */

/* Calendar views (list / month / day / single) take the theme tokens.
   TEC declares its variables on .tribe-common, so these need more specificity. */
body .tribe-common,
body .tribe-events,
body .tec-block__archive-events,
body .tribe-events-single {
	--tec-color-text-primary: #1f1a1c;
	--tec-color-text-secondary: #4a4346;
	--tec-color-text-events-title: #1f1a1c;
	--tec-color-link-primary: #1f1a1c;
	--tec-color-link-accent: #a3262a;
	--tec-color-link-accent-hover: #7a1b20;
	--tec-color-accent-primary: #a3262a;
	--tec-color-accent-primary-hover: #7a1b20;
	--tec-color-accent-primary-active: #7a1b20;
	--tec-color-accent-secondary: #b58f41;
	--tec-color-button-primary: #a3262a;
	--tec-color-button-primary-hover: #7a1b20;
	--tec-color-button-primary-active: #7a1b20;
	--tec-color-icon-active: #a3262a;
	--tec-color-day-marker-current-month: #1f1a1c;
	--tec-color-background-events-bar-submit-button: #a3262a;
	--tec-color-background-events-bar-submit-button-hover: #7a1b20;
	--tec-color-background-events-bar-submit-button-active: #7a1b20;
	--tec-color-border-active-month-grid-hover: #1f1a1c;
	--tec-font-family-sans-serif: "Nunito Sans", system-ui, sans-serif;
	--tec-font-family-base: "Nunito Sans", system-ui, sans-serif;
	--tec-border-radius-default: 10px;
	--tec-color-background-secondary: #e6ecf1;
	--tec-color-border-secondary: rgba(31,26,28,.2);
	--tec-color-text-disabled: #6b6466;
}
body .tribe-common :is(p, li, time, span, .tribe-common-b1, .tribe-common-b2, .tribe-common-b3) { font-family: "Nunito Sans", system-ui, sans-serif; }
.tribe-events-view { overflow-x: clip; }
.tribe-events .tribe-events-c-subscribe-dropdown__button { border-color: #a3262a !important; color: #a3262a !important; }
.tribe-events .tribe-events-c-subscribe-dropdown__button:hover { background: #a3262a !important; color: #fff !important; }

.tribe-common :is(.tribe-common-h1, .tribe-common-h2, .tribe-common-h3, .tribe-common-h4, .tribe-common-h5, .tribe-common-h6, .tribe-common-h7, .tribe-common-h8),
.tribe-events .tribe-events-calendar-list__event-title,
.tribe-events-single-event-title,
.tribe-events .tribe-events-c-top-bar__datepicker-button,
.tribe-events .tribe-events-calendar-month__calendar-event-title {
	font-family: "Germania One", Georgia, serif !important;
	font-weight: 400 !important;
}
.tribe-common .tribe-common-c-btn,
.tribe-common a.tribe-common-c-btn,
.tribe-events .tribe-events-c-search__button {
	font-family: "Germania One", Georgia, serif;
	font-weight: 400;
	font-size: 17px;
	border-radius: 10px;
}
.tribe-events .tribe-events-calendar-list__event-featured-image { border-radius: 14px; border: 2px solid #1f1a1c; }
.tribe-events-l-container { padding-top: 8px !important; }
.tec-block__archive-events,
.tribe-events-view { max-width: 1200px; margin-inline: auto; }

/* --------------------------------------------------------------------------
   Homepage "Coming Up at the Shop" — the Events List widget, restyled.
   Markup comes from tribe/events/v2/widgets/widget-events-list/event.php.
   -------------------------------------------------------------------------- */
.gal-events-list .tribe-events-widget,
.gal-events-list .tribe-events-widget-events-list { margin: 0; padding: 0; background: none; }
.gal-events-list .tribe-events-widget-events-list__events { display: flex; flex-direction: column; gap: 12px; }
.gal-events-list .tribe-common-l-container { padding: 0 !important; }

.gal-events-list .gal-event {
	--gal-badge: #d98b86;
	display: flex;
	align-items: center;
	gap: 18px;
	background: rgba(246,242,236,.07);
	border: 1.5px solid rgba(246,242,236,.18);
	border-radius: 12px;
	padding: 14px 18px;
}
.gal-events-list .tribe-events-widget-events-list__events > .gal-event:nth-child(3n+2) { --gal-badge: #b3aaa6; }
.gal-events-list .tribe-events-widget-events-list__events > .gal-event:nth-child(3n) { --gal-badge: #d9b25e; }
.gal-events-list .gal-event__day {
	flex: none;
	width: 64px;
	box-sizing: border-box;
	padding: 10px 0;
	border: 2px solid var(--gal-badge);
	border-radius: 10px;
	text-align: center;
	font: 400 17px/1.2 "Germania One", Georgia, serif;
	color: var(--gal-badge);
}
.gal-events-list .gal-event__body { flex: 1; min-width: 0; }
.gal-events-list .gal-event__title { margin: 0; font: 400 18px/1.25 "Germania One", Georgia, serif; letter-spacing: 0; }
.gal-events-list .gal-event__title a { color: #f6f2ec; text-decoration: none; }
.gal-events-list .gal-event__title a:hover, .gal-events-list .gal-event__title a:focus { text-decoration: underline; color: #fff; }
.gal-events-list .gal-event__meta { margin: 2px 0 0; font: 400 14px/1.45 "Nunito Sans", system-ui, sans-serif; color: #b3aaa6 !important; }
.gal-events-list .gal-event__time { flex: none; font: 700 15px "Nunito Sans", system-ui, sans-serif; color: #b3aaa6; white-space: nowrap; }

.gal-events-list .tribe-events-c-messages__message { color: #f6f2ec; background: rgba(246,242,236,.07); border-radius: 12px; }

@media (max-width: 600px) {
	.gal-events-list .gal-event { gap: 12px; padding: 12px 14px; }
	.gal-events-list .gal-event__day { width: 50px; font-size: 15px; padding: 8px 0; }
	.gal-events-list .gal-event__time { font-size: 13px; }
}

/* Month view (phones): explicit, high-contrast day states.
   normal = no fill, ink number · today = bold red number · hover/focus = pale fill · selected = red fill, white number */
.tribe-events .tribe-events-calendar-month__day-cell--mobile,
.tribe-events .tribe-events-calendar-month__day-cell--mobile:is(:hover, :focus) {
	background-color: transparent !important;
	border-radius: 10px;
	color: var(--gal-ink, #1f1a1c);
}
.tribe-events .tribe-events-calendar-month__day-cell--mobile:is(:hover, :focus-visible) { background-color: #e6ecf1 !important; }
.tribe-events .tribe-events-calendar-month__day-cell--mobile :is(.tribe-events-calendar-month__day-date, .tribe-events-calendar-month__day-date-daynum) { color: #1f1a1c !important; }
.tribe-events .tribe-events-calendar-month__day-cell--mobile[aria-label$="today"] .tribe-events-calendar-month__day-date-daynum { color: #a3262a !important; font-weight: 800; }
.tribe-events .tribe-events-calendar-month__day-cell--mobile.tribe-events-calendar-month__day-cell--selected,
.tribe-events .tribe-events-calendar-month__day-cell--mobile.tribe-events-calendar-month__day-cell--selected:is(:hover, :focus) { background-color: #a3262a !important; }
.tribe-events .tribe-events-calendar-month__day-cell--mobile.tribe-events-calendar-month__day-cell--selected :is(.tribe-events-calendar-month__day-date, .tribe-events-calendar-month__day-date-daynum) { color: #fff !important; }
.tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__mobile-events-icon { background-color: #fff !important; }
