.site-events-hero-section {
    background-color: var(--primary-color, #f8f5f2);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
}

.site-events-hero-content {
    text-align: center;
    padding: 0 1rem;
    max-width: 700px;
    margin: 0 auto;
}

.site-events-hero-text {
    font-size: 1.25rem;
    color: #666;
    margin: 0 auto 2rem;
}

.site-events-filters-section {
    padding: 0 2rem 2rem;
    overflow: hidden;
}

.site-events-filters-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-events-filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -ms-overflow-style: none;  /* Hide scrollbar for IE and Edge */
    scrollbar-width: none;  /* Hide scrollbar for Firefox */
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 0.5rem 0;
}

.site-events-filter-tags::-webkit-scrollbar {
    display: none;  /* Hide scrollbar for Chrome, Safari and Opera */
}

.site-events-filter-tag {
    padding: 0.5rem 1rem;
    background-color: white;
    border: 1px solid var(--light-accent, #e6dbd2);
    border-radius: 30px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    white-space: nowrap;
    position: relative;
    scroll-snap-align: center;
}

.site-events-filter-icon {
    display: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
}

.site-events-category-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-events-filter-tag:hover, 
.site-events-filter-tag.active {
    background-color: var(--accent-color, #c9a992);
    color: white;
    border-color: var(--accent-color, #c9a992);
}

.site-events-count {
    background-color: var(--light-accent, #e6dbd2);
    color: var(--text-color, #333333);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.site-events-filter-tag:hover .site-events-count, 
.site-events-filter-tag.active .site-events-count {
    background-color: white;
    color: var(--accent-color, #c9a992);
}

.site-events-secondary-filters {
    position: relative;
    width: 100%;
    margin-top: 1rem;
}

.site-events-dropdown-filter {
    width: 100%;
    position: relative;
}

.site-events-dropdown-filter select {
    appearance: none;
    width: 100%;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--light-accent, #e6dbd2);
    border-radius: 30px;
    background-color: white;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text-color, #333333);
    font-family: var(--font-secondary, 'Montserrat', sans-serif);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23c9a992' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 1.2em;
}

.site-events-dropdown-filter select:hover,
.site-events-dropdown-filter select:focus {
    border-color: var(--accent-color, #c9a992);
    outline: none;
    box-shadow: 0 3px 10px rgba(201, 169, 146, 0.2);
}

/* Style for dropdown options */
.site-events-dropdown-filter select option {
    padding: 10px;
    background-color: white;
    color: var(--text-color, #333333);
}

.site-events-dropdown-filter select option:first-child {
    font-weight: 500;
    background-color: var(--light-accent, #e6dbd2);
}

/* Custom dropdown arrow positioning */
.site-events-dropdown-filter::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 2.5rem;
    pointer-events: none;
    border-radius: 0 30px 30px 0;
}

.site-events-dropdown-filter.focused select {
    border-color: var(--accent-color, #c9a992);
    box-shadow: 0 3px 10px rgba(201, 169, 146, 0.2);
}

.site-events-dropdown-filter.changed select {
    animation: pulse 0.5s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .site-events-filters-section {
        padding: 0 1rem 1.5rem;
    }

    .site-events-filters-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-events-filter-tags {
        width: 100%;
        overflow-x: auto;
        padding: 0.5rem 0.5rem;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }
    
    .site-events-filter-tag {
        padding: 0.5rem;
    }
    
    .site-events-filter-icon {
        display: flex;
    }
    
    .site-events-filter-text {
        display: none;
    }

    .site-events-secondary-filters {
        margin-top: 1.25rem;
    }
}

@media (max-width: 576px) {
    .site-events-filter-tags {
        justify-content: center;
    }
    
    .site-events-filter-tag {
        padding: 0.4rem;
    }
    
    .site-events-filter-icon {
        width: 32px;
        height: 32px;
    }
    
    .site-events-count {
        position: absolute;
        top: -5px;
        right: -5px;
        font-size: 0.65rem;
    }
    
    .site-events-secondary-filters {
        width: 100%;
        margin-top: 1rem;
    }
    
    .site-events-dropdown-filter select {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Accessibility - visually hide labels but keep them for screen readers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
} 