/* The main bar background */
.tribe-events-c-events-bar {
    background-color: #f0f0f0 !important;
    padding: 20px 30px !important;
    margin-bottom: 30px !important;
}

/* Align inputs and button in one row */
.tribe-events-c-events-bar__form {
    display: flex !important;
    gap: 20px !important;
    align-items: flex-end !important;
    width: 100% !important;
}

/* Target both Keyword and Datepicker inputs */
.tribe-events-c-search__input, 
.tribe-events-c-datepicker__input {
    border: none !important;
    border-bottom: 1px dashed #999 !important; /* The dashed look */
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 5px 0 !important;
    font-style: italic !important;
    color: #666 !important;
}

/* Style the labels above the inputs */
.tribe-events-c-events-bar__search-container label,
.tribe-events-c-datepicker__label {
    display: block !important;
    font-weight: 800 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    margin-bottom: 5px !important;
    color: #000 !important;
}

.tribe-events-c-search__button {
    background-color: #555 !important; /* Dark grey button */
    color: #fff !important;
    border-radius: 0 !important; /* Square corners */
    padding: 12px 25px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    height: auto !important;
}

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

/* Target the event titles specifically */
.tribe-common--breakpoint-medium.tribe-common .tribe-common-h4--min-medium{
    font-family: "Raleway", sans-serif !important;
    font-weight: 700 !important; /* Adjust weight as needed for your design */
    text-transform: none; /* Set to uppercase if you want to match the filter bar */
    font-size: 1.6em;
}

.tribe-common h1, .tribe-common h2, .tribe-common h3, .tribe-common h4, .tribe-common h5, .tribe-common h6, .tribe-common p {
    font-weight: 400;
    text-rendering: optimizelegibility;
    line-height: 1.7;
    margin: 0 0 10px;
    font-size: 1.125rem;
    font-size: 1.125rem;
}

/* The Main Button */
.custom-event-button {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(to right, #ffcc00 0%, #ff6600 100%);
    color: #000 !important;
    padding:.5rem 1.25rem !important;
    text-decoration: none !important;
    font-weight: 800;
    font-family: "Raleway", sans-serif;
    text-transform: capitalize;
    margin-top: 15px;
    transition: opacity 0.3s ease;
 
}

.custom-event-button:hover {
    opacity: 0.9;
}

/* The CSS Arrow using your specific styles */
.custom-event-button::after {
    content: "";
    width: 0.75rem;
    border: 0 solid rgba(0, 0, 0, 0);
    border-bottom-width: 6px;
    border-top-width: 6px;
    border-left: 8px solid #620020; /* Dark maroon arrow */
    margin-left: .6rem;
    transition: border 300ms ease;
    display: inline-block;
}

/* Optional: Hover effect for the arrow */
.custom-event-button:hover::after {
    border-left-color: #000;
}

.tribe-events .tribe-events-calendar-list__month-separator h3 time{
    font-family: "Quattrocento", serif !important;
    color: #000;
    font-weight:bold !important;
    font-size: 24px !important;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-events-bar--border{
    border:none !important;
}

.custom-event-button:hover {
    color: var(--tec-color-text-primary);
    outline: 0;
    -webkit-text-decoration: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(270deg, rgb(139, 35, 70) 0%, rgb(98, 0, 32) 100%);
    border-bottom: 1px solid #ffd200;
    border-radius: 2px;
    height: 2.5rem;
    /* padding: 1rem 1.25rem; */
    font-weight: 800;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    color: #ffd200;
    letter-spacing: 1px;
    transition: background-size 500ms;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-wrapper {
    flex: 1 1 calc(var(--tec-grid-width-1-of-9) * 8);
}

.tribe-events .tribe-events-calendar-list__month-separator:before {
    background-color: var(--tec-color-border-default);
    content: "";
    display: block;
    flex: auto;
    height: 1px;
    margin-right: 20px;
}

.tribe-events .tribe-events-calendar-list__month-separator:before {
    background-color: var(--tec-color-border-default);
    content: "";
    display: block;
    flex: auto;
    height: 1px;
    margin-left: 20px;
}

.tribe-events-page-title{
    font-size: 30px !important;
    font-weight: 700 !important;
    text-align: center;
}

.tribe-events-calendar-month th{
    background:inherit !important;
}

.datepicker-switch:hover{
    color:#fff !important;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-search__input-control-icon-svg{
    display: none !important;
}

.tribe-events .tribe-events-c-events-bar .tribe-common-form-control-text__input{
    width:25rem !important;
}