/* ==============================================
   TEC Single Event Page - Custom Styling
   ============================================== */

#tribe-events-content,
#tribe-events-content *,
.tribe-events-single,
.tribe-events-single * {
    font-family: var(--wp--preset--font-family--montserrat) !important;
}

.tribe-common-c-btn-border {
    border-color: var(--wp--preset--color--accent-2) !important;
    color: var(--wp--preset--color--accent-2) !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
}

.tribe-common-c-btn-border:hover,
.tribe-common-c-btn-border:focus {
    background-color: var(--wp--preset--color--accent-2) !important;
    color: #ffffff !important;
}

.tribe-events-c-subscribe-dropdown__button,
.tribe-events-c-subscribe-dropdown__button-text {
    color: inherit !important;
}

/* ==============================================
   TEC Archive Views (List, Month, Day) - Custom Styling
   ============================================== */

.tribe-events,
.tribe-events * {
    font-family: var(--wp--preset--font-family--montserrat) !important;
}

/* ── Card background on archive pages only (not widget) ── */
.tribe-events-view--list .tec-card,
.tribe-events-view--month .tec-card,
.tribe-events-view--day .tec-card {
    background-color: #e7e7e0 !important;
}

/* ── Top bar ─────────────────────────────────── */

.tribe-events-header__top-bar {
    margin-top: 24px !important;
    margin-bottom: 24px !important;
}

.tribe-events-c-top-bar__datepicker-button,
.tribe-common-c-btn-icon,
.tribe-events-c-top-bar__today-button {
    font-family: var(--wp--preset--font-family--montserrat) !important;
    font-weight: 700 !important;
}

.tribe-events-c-top-bar__datepicker-button:hover,
.tribe-events-c-top-bar__datepicker-button:focus,
.tribe-common-c-btn-icon:hover,
.tribe-common-c-btn-icon:focus,
.tribe-events-c-top-bar__today-button:hover,
.tribe-events-c-top-bar__today-button:focus {
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
}

/* ── Bottom nav ──────────────────────────────── */

.tribe-events-c-nav__list {
    margin-top: 24px !important;
    margin-bottom: 24px !important;
}

.tribe-events-c-nav__prev,
.tribe-events-c-nav__next,
.tribe-events-c-nav__today {
    font-family: var(--wp--preset--font-family--montserrat) !important;
    font-weight: 700 !important;
    color: var(--wp--preset--color--contrast) !important;
}

.tribe-events-c-nav__prev:hover,
.tribe-events-c-nav__prev:focus,
.tribe-events-c-nav__next:hover,
.tribe-events-c-nav__next:focus,
.tribe-events-c-nav__today:hover,
.tribe-events-c-nav__today:focus {
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
}

/* ── Month separator ─────────────────────────── */

.tribe-events-calendar-list__month-separator {
    margin-bottom: 20px !important;
}

.tribe-events-calendar-list__month-separator-text {
    font-family: var(--wp--preset--font-family--montserrat) !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em;
    color: var(--wp--preset--color--contrast) !important;
    font-size: 0.8rem !important;
    opacity: 0.5;
}

/* ── Bottom nav wrapper ──────────────────────── */

.tribe-events-calendar-list-nav.tribe-events-c-nav {
    margin-top: 60px !important;
}

/* ── Event rows (List view) ──────────────────── */

.tribe-common-g-row.tribe-events-calendar-list__event-row {
    all: unset !important;
    display: block !important;
    margin-bottom: 16px !important;
}

.tribe-common .tribe-common-anchor-thin.tribe-events-calendar-list__event-title-link:hover,
.tribe-common .tribe-common-anchor-thin.tribe-events-calendar-list__event-title-link:focus,
.tribe-common .tribe-common-anchor-thin.tribe-events-calendar-list__event-title-link:active {
    border-bottom: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
    color: var(--wp--preset--color--accent-1) !important;
}

.tribe-events-calendar-list__event-title-link {
    font-family: var(--wp--preset--font-family--cinzel) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--wp--preset--color--contrast) !important;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    transition: color 0.2s !important;
}

/* ── Month view event titles ─────────────────── */

.tribe-events-calendar-month__calendar-event-title-link,
.tribe-common .tribe-common-anchor-thin.tribe-events-calendar-month__calendar-event-title-link {
    font-family: var(--wp--preset--font-family--cinzel) !important;
    font-weight: 700 !important;
    color: var(--wp--preset--color--contrast) !important;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    transition: color 0.2s !important;
}

.tribe-events-calendar-month__calendar-event-title-link:hover,
.tribe-common .tribe-common-anchor-thin.tribe-events-calendar-month__calendar-event-title-link:hover {
    color: var(--wp--preset--color--accent-1) !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* ── Day view event titles ───────────────────── */

.tribe-events-calendar-day__event-title-link,
.tribe-common .tribe-common-anchor-thin.tribe-events-calendar-day__event-title-link {
    font-family: var(--wp--preset--font-family--cinzel) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--wp--preset--color--contrast) !important;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    transition: color 0.2s !important;
}

.tribe-events-calendar-day__event-title-link:hover,
.tribe-common .tribe-common-anchor-thin.tribe-events-calendar-day__event-title-link:hover {
    color: var(--wp--preset--color--accent-1) !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* ── Search bar ──────────────────────────────── */

.tribe-events-c-search__button {
    font-family: var(--wp--preset--font-family--montserrat) !important;
    font-weight: 700 !important;
    background-color: var(--wp--preset--color--contrast) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
}

.tribe-events-c-search__button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2) !important;
}

.tribe-common-form-control-text__input {
    font-family: var(--wp--preset--font-family--montserrat) !important;
    border-radius: 10px !important;
}
