/*
Welcome to Custom CSS!
To learn how this works, see https://wp.me/PEmnE-Bt
*/
#actionbar {
    display: none;
}

/* hover color for buttons 42462055-hc DF*/
.comment-list .comment-awaiting-moderation, .comment-navigation .nav-next a:active, .comment-navigation .nav-next a::after, .comment-navigation .nav-next a:focus, .comment-navigation .nav-next a:hover, .comment-navigation .nav-previous a:active, .comment-navigation .nav-previous a::before, .comment-navigation .nav-previous a:focus, .comment-navigation .nav-previous a:hover, .entry-meta .first-category a:active, .entry-meta .first-category a:focus, .entry-meta .first-category a:hover, .entry-title a:active, .entry-title a:focus, .entry-title a:hover, .image-navigation .nav-next a:active, .image-navigation .nav-next a::after, .image-navigation .nav-next a:focus, .image-navigation .nav-next a:hover, .image-navigation .nav-previous a:active, .image-navigation .nav-previous a::before, .image-navigation .nav-previous a:focus, .image-navigation .nav-previous a:hover, .page-title a:active, .page-title a:focus, .page-title a:hover, .search-curtain-wrapper .search-curtain-close:hover, .site-primary-menu-responsive .primary-menu-responsive-close:hover, .toggle-menu-wrapper a:active, .toggle-menu-wrapper a:focus, .toggle-menu-wrapper a:hover, .widget_categories .category-toggle.toggle-on::after, .widget_categories .category-toggle:focus::after, .widget_nav_menu .custom-menu-toggle.toggle-on::after, .widget_nav_menu .custom-menu-toggle:focus::after, .widget_pages .page-toggle.toggle-on::after, .widget_pages .page-toggle:focus::after, a:active, a:focus, a:hover {
    color: gray;
}

/* Hide Header, Footer, and Page Title on Landing Page */
body.page-id-18583 .site-bar, 
body.page-id-18583 #masthead, 
body.page-id-18583 #site-navigation, 
body.page-id-18583 #colophon,
body.page-id-18583 .entry-header-wrapper {
    display: none !important;
}

/* Center ad label "advertisement" on home page and maybe everywhere, who knows */
.valle-adlabel { 
    text-align: center; 
}

/* Hide Tags box on Community Events submission form */
#tribe-community-events .tribe-section-taxonomy + .tribe-section-taxonomy,
#event_tag_control,
.tribe-community-events-tags,
.tribe-events-community-details.tags,
tr.tribe-community-events-tags {
    display: none !important;
}

/* Force Age Range AND the manual custom headings to be perfectly identical in events */
.single-tribe_events .tribe-block__additional-field h3,
h3.custom-tec-label {
    font-family: "Raleway", sans-serif !important;
    font-size: 1.5rem !important; 
    font-weight: 600 !important;
    margin-bottom: 0.25rem !important;
    line-height: 1.4 !important;
    color: #020202 !important;
}

/* Defeat Gutenberg's block gap to keep ONLY the Cost amount snug against the Cost label in events */
.single-tribe_events .tribe-block__event-price {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
    padding-top: 0 !important;
}

/* Make Cost amount match Age Range formatting in events */
.single-tribe_events .tribe-block__event-price__cost {
    font-family: inherit !important;
    font-size: 1.1rem !important; 
    font-weight: 400 !important;
    color: #3d3d3d !important;
}

/* Pull Venue block snug against Venue heading */
.single-tribe_events .tribe-block__venue {
    margin-top: 0 !important;
}

/* 1. Main /events/ archive — drop the theme's fixed width on the content
   wrapper so the calendar gets the room TEC needs for its native vertical
   sidebar. The cap is a `width`, not a max-width, so override width directly. */
body.post-type-archive-tribe_events #content.site-content {
    display: block !important;
    float: none !important;
    width: auto !important;
    max-width: 1140px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}
body.post-type-archive-tribe_events #content.site-content .tribe-events-view {
    width: auto !important;
    max-width: 100% !important;
}

/* 2. Stop the stacked filter bar overlapping events on phones/narrow screens,
   where the calendar is still under TEC's breakpoint. (Unchanged.) */
@media screen and (max-width: 959px) {
    .tribe-filter-bar {
        position: relative !important;
        display: block !important;
        z-index: 50 !important;
    }
    .tribe-events-l-container {
        clear: both !important;
        padding-top: 1.5rem !important;
    }
}

/* 3. Stop the Horizontal Filter Bar from overlapping on Mobile & Tablet
   (unchanged — this is your working fix) */
@media screen and (max-width: 959px) {

    /* Force the filter dropdown into the document flow */
    .tribe-filter-bar {
        position: relative !important;
        display: block !important;
        z-index: 50 !important;
    }
    /* Force the calendar grid to clear the space below the filters */
    .tribe-events-l-container {
        clear: both !important;
        padding-top: 1.5rem !important;
    }
}