/* ==========================================================================
   The Events Calendar - Custom Styling
   Brand Colors: #ED3237 (Red), #000000 (Black)
   Design: Flat, Modern
   ========================================================================== */

/* Page background white */
body.tribe-events-page-template,
body.post-type-archive-tribe_events,
.tribe-events {
    background-color: #ffffff !important;
    color: #000000;
}

/* "Find Events" button (search) */
.tribe-events .tribe-events-c-search__button {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    box-shadow: none !important;
    transition: background-color 0.25s ease;
}

.tribe-events .tribe-events-c-search__button:hover {
    background-color: #ED3237 !important;
}

/* "Subscribe to calendar" (apply hover to outer container) */
.tribe-events .tribe-common-c-btn-border.tribe-events-c-subscribe-dropdown__button {
    background-color: #000000 !important;
    border: none !important;
    border-radius: 4px !important;
    transition: background-color 0.25s ease;
}

.tribe-events .tribe-common-c-btn-border.tribe-events-c-subscribe-dropdown__button:hover {
    background-color: #ED3237 !important;
}

.tribe-events .tribe-events-c-subscribe-dropdown__button-text {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-transform: uppercase;
}

/* Datepicker button (no hover background, flat design) */
.tribe-events .tribe-events-c-top-bar__datepicker-button {
    background-color: transparent !important;
    border: 1px solid #000000 !important;
    color: #000000 !important;
    border-radius: 4px !important;
    padding: 6px 12px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    transition: none !important;
}

.tribe-events .tribe-events-c-top-bar__datepicker-button:hover,
.tribe-events .tribe-events-c-top-bar__datepicker-button:focus {
    background-color: transparent !important;
    /* no hover bg */
    color: #ED3237 !important;
    /* slight hover text color */
    border-color: #ED3237 !important;
}

/* SVG icons adapt color */
.tribe-events .tribe-common-c-svgicon {
    fill: currentColor !important;
}

/* Optional: fix spacing under header */
.tribe-events .tribe-common-l-container {
    margin-top: 100px !important;
}


/* Force icon color for both single and archive views */
.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-icon,
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-icon {
    color: #ffffff !important;

    stroke: #ffffff !important;
    transition: color 0.25s ease, stroke 0.25s ease;
}

/* On hover, make icons red to match hover state */
/* .single-tribe_events 
.tribe-events-c-subscribe-dropdown:hover .tribe-events-c-subscribe-dropdown__button-icon,
.tribe-events 
.tribe-events-c-subscribe-dropdown:hover .tribe-events-c-subscribe-dropdown__button-icon {
  color: #ED3237 !important;
  stroke: #ED3237 !important;
} */
.tribe-events-c-subscribe-dropdown__button .tribe-events-c-subscribe-dropdown__export-icon,
.tribe-block__events-link .tribe-events-c-subscribe-dropdown__export-icon {
    fill: #FFFFFF !important;
    color: #ffffff !important;
    stroke: #ffffff !important;
}

.tribe-events-c-top-bar__datepicker-button .tribe-common-c-svgicon--caret-down .tribe-common-c-svgicon__svg-fill {
    fill: #000000 !important;
}

.tribe-events-c-top-bar__datepicker-button:hover .tribe-common-c-svgicon--caret-down .tribe-common-c-svgicon__svg-fill {
    fill: #ED3237 !important;
}

.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-text:focus,
.single-tribe_events .tribe-events-c-subscribe-dropdown button.tribe-events-c-subscribe-dropdown__button-text:focus,
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-text:focus,
.tribe-events .tribe-events-c-subscribe-dropdown button.tribe-events-c-subscribe-dropdown__button-text:focus {
    outline-color: #ED3237 !important;
    outline-style: dashed;
    outline-width: 1px;
}