/* ==========================================================================
   Montana AGD — The Events Calendar (Pro) · Event Tickets · Event Tickets Plus
   Visual only. No plugin templates are overridden, so ticket sales,
   checkout and the WhatsApp connection behave exactly as before.
   ========================================================================== */

:root {
	--tec-color-accent-primary: #f58220;
	--tec-color-accent-primary-hover: #141827;
	--tec-color-accent-primary-active: #141827;
	--tec-color-accent-primary-background: rgba(245, 130, 32, .08);
	--tec-color-accent-secondary: #00a0dd;
	--tec-color-button-primary: #f58220;
	--tec-color-text-primary-light: #141827;
	--tec-color-button-primary-hover: #141827;
	--tec-color-button-primary-active: #141827;
	--tec-color-button-primary-background: rgba(245, 130, 32, .08);
	--tec-color-link-accent: #141827;
	--tec-color-link-accent-hover: #f58220;
	--tec-color-text-primary: #141827;
	--tec-color-text-secondary: #666666;
	--tec-color-text-event-title: #141827;
	--tec-color-text-event-date: #666666;
	--tec-color-border-default: rgba(20, 24, 39, .14);
	--tec-color-border-secondary: rgba(20, 24, 39, .14);
	--tec-color-background-events-bar-submit-button: #f58220;
	--tec-color-background-events-bar-submit-button-hover: #141827;
	--tec-color-day-marker-current-month: #141827;
	--tec-color-day-marker-past-month: #666666;
	--tec-font-family-sans-serif: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--tec-font-family-base: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--tec-border-radius-default: 0;
}

/* Wrapper (Default Events Template) */
#tribe-events-pg-template,
.tribe-events-pg-template { max-width: 1360px; padding: clamp(48px, 7vw, 100px) clamp(20px, 4vw, 56px) !important; }

.tribe-common, .tribe-events, .tribe-tickets, .event-tickets { font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif !important; }

/* Headings */
.tribe-common .tribe-common-h1, .tribe-common .tribe-common-h2, .tribe-common .tribe-common-h3,
.tribe-common .tribe-common-h4, .tribe-common .tribe-common-h5,
.tribe-events-single-event-title,
.tribe-events .tribe-events-calendar-list__event-title,
.tribe-events .tribe-events-calendar-list__event-title-link,
.tribe-events .tribe-events-calendar-latest-past__event-title {
	font-family: "Lato", sans-serif !important; font-weight: 700 !important; letter-spacing: -.005em; color: #141827;
}
.tribe-events-single-event-title { font-size: clamp(2rem, 4vw, 3rem) !important; line-height: 1.1 !important; letter-spacing: -.01em !important; margin-bottom: 20px !important; }

/* List view rows — hairline editorial rows */
.tribe-events .tribe-events-calendar-list__month-separator-text {
	font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #f58220;
}
.tribe-events .tribe-events-calendar-list__event-row { padding: 40px 0; border-top: 1px solid #141827; margin: 0; }
.tribe-events .tribe-events-calendar-list__event-date-tag-weekday { font-weight: 700; letter-spacing: .08em; color: #f58220; }
.tribe-events .tribe-events-calendar-list__event-date-tag-daynum { font-weight: 700; font-size: 2.6rem; letter-spacing: -.01em; color: #141827; }
.tribe-events .tribe-events-calendar-list__event-featured-image { border-radius: 0; }
.tribe-events .tribe-events-calendar-list__event-title { font-size: clamp(1.4rem, 2vw, 1.9rem) !important; line-height: 1.1 !important; }
.tribe-events .tribe-events-calendar-list__event-datetime { font-weight: 700; color: #141827; }

/* Events bar + view switcher */
.tribe-events .tribe-events-c-events-bar, .tribe-events .tribe-events-header__events-bar { border-radius: 0 !important; }
.tribe-events .tribe-events-c-events-bar--border { border-color: rgba(20, 24, 39, .3); }
.tribe-events .tribe-events-c-top-bar__datepicker-desktop { font-weight: 700; letter-spacing: -.005em; }

/* Month view */
.tribe-events .tribe-events-calendar-month__header-column-title { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date { color: #f58220; }

/* Buttons — square, tracked caps */
.tribe-common .tribe-common-c-btn,
.tribe-common a.tribe-common-c-btn,
.tribe-events .tribe-events-c-search__button,
.tribe-common .tribe-common-c-btn-border,
.tribe-tickets__tickets-buy,
.tribe-common .tribe-tickets__tickets-buy,
.tribe-tickets__commerce-checkout-form-submit-button,
.tribe-tickets__rsvp-form-button,
.tribe-tickets__attendee-tickets-submit,
.tribe-tickets__tickets-footer .tribe-common-c-btn {
	border-radius: 0 !important; font-weight: 700 !important; letter-spacing: .06em !important; text-transform: uppercase !important; font-size: 13px !important;
}

/* Single event */
.tribe-events-single { max-width: 1040px; margin: 0 auto; }
.tribe-events-back a { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #666; }
.tribe-events-back a:hover { color: #f58220; }
.tribe-events-schedule { padding: 18px 0 !important; border-top: 1px solid #141827; border-bottom: 1px solid rgba(20, 24, 39, .14); margin-bottom: 32px !important; }
.tribe-events-schedule h2 { font-size: 1.1rem !important; font-weight: 700 !important; letter-spacing: 0 !important; color: #141827 !important; }
.tribe-events-schedule .tribe-events-cost { color: #f58220; font-weight: 700; }
.single-tribe_events .tribe-events-event-image img { width: 100%; height: auto; }
.tribe-events-single .tribe-events-content { font-size: 1.1rem; line-height: 1.7; color: #3a3f4c; }
.tribe-events-single .tribe-events-event-meta { background: #f5f3ef !important; border: 0 !important; border-radius: 0; }
.tribe-events-meta-group .tribe-events-single-section-title { font-size: 12px !important; font-weight: 700 !important; letter-spacing: .08em; text-transform: uppercase; color: #f58220 !important; }
.tribe-events-sub-nav a { font-weight: 700; color: #141827; }
.tribe-events-sub-nav a:hover { color: #f58220; }

/* Tickets form (Event Tickets / Plus) */
.tribe-common .tribe-tickets__tickets-wrapper,
.event-tickets .tribe-tickets__tickets-wrapper,
.tribe-tickets__rsvp-wrapper {
	border: 1px solid #141827 !important; border-radius: 0 !important; background: #fff; box-shadow: none !important;
}
.tribe-tickets__tickets-title { font-weight: 700 !important; letter-spacing: -.005em !important; color: #141827 !important; }
.tribe-tickets__tickets-item-content-title { font-weight: 700 !important; }
.tribe-tickets__tickets-sale-price, .tribe-tickets__tickets-item-extra-price { font-weight: 700; color: #141827; }
.tribe-tickets__tickets-item-extra-available { color: #f58220; font-weight: 700; }
.tribe-tickets__tickets-item-quantity-add, .tribe-tickets__tickets-item-quantity-remove { color: #141827 !important; }

/* Checkout / order pages */
.tribe-tickets__commerce-checkout, .tribe-tickets__commerce-order,
.tribe-tickets__form, .tribe-common .tribe-tickets__commerce-checkout-cart { max-width: 960px; margin-left: auto; margin-right: auto; }
.tribe-tickets__commerce-checkout-header-title, .tribe-tickets__commerce-order-header-title { font-weight: 700 !important; letter-spacing: -.01em; }

/* Contrast: navy text on orange buttons (white on orange is only 2.6:1) */
.tribe-common .tribe-common-c-btn, .tribe-common a.tribe-common-c-btn, .tribe-events .tribe-events-c-search__button,
.tribe-tickets__tickets-buy, .tribe-common .tribe-tickets__tickets-buy, .tribe-tickets__commerce-checkout-form-submit-button,
.tribe-tickets__rsvp-form-button, .tribe-tickets__attendee-tickets-submit { color: #141827 !important; }
.tribe-events .tribe-events-calendar-list__month-separator-text, .tribe-events .tribe-events-calendar-list__event-date-tag-weekday,
.tribe-events-meta-group .tribe-events-single-section-title, .tribe-tickets__tickets-item-extra-available { color: #a8530c !important; }

