/* ============================================
   BASE STYLES
   ============================================ */
.panandzoom {
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transition-property: -webkit-transform;
    transition-property: transform;
    -webkit-transition-timing-function: ease;
    transition-timing-function: ease;
}
a:link {
    color:#0000FF;
    text-decoration:none;
}
a:active { color:red }
a:visited { 
    text-decoration: underline;
}
sub, sup { line-height: 0; }
body {
    background-color: #FFFFFF;
    overflow-x: hidden;
    color: #211F20;
    margin: 0;
}
.page {
    position: relative;
    min-width: 320px;
    max-width: 3500px;
    min-height: 100vh;
    margin: 0 auto;
}

/* ============================================
   LAYOUT WRAPPER (come originale)
   ============================================ */
.layout-wrapper {
    position: absolute;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    left: 0;
    top: 0;
    width: 100%;
}

/* ============================================
   HEADER STRUCTURE
   ============================================ */
.header-container {
    position: relative;
    width: 100%;
    height: auto;
    min-width: 10px;
    min-height: 10px;
    flex-grow: 0;
    flex-shrink: 1;
    box-sizing: border-box;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: stretch;
    padding: 0;
}
.header-inner {
    position: relative;
    left: 0;
    top: 0;
    width: 99.9%;
    height: auto;
    min-width: 10px;
    min-height: 10px;
    flex-grow: 0;
    flex-shrink: 1;
    box-sizing: border-box;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: stretch;
    padding: 0;
}
.header-content {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    min-width: 320px;
    max-width: 1280px;
    min-height: 10px;
    flex-grow: 1;
    flex-shrink: 1;
    margin: 0;
    box-sizing: border-box;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
    padding: 0;
}
.header-logo-wrapper {
    position: relative;
    left: 0;
    top: 0;
    width: 8.3%;
    height: auto;
    min-width: 320px;
    min-height: 10px;
    flex-grow: 1;
    flex-shrink: 1;
    margin: 0;
    box-sizing: border-box;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
    padding: 0;
}
.header-logo {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 143px;
    min-height: 100px;
    flex-grow: 1;
    flex-shrink: 1;
    margin-left: 0;
    margin-right: 0;
    margin-top: 21px;
    margin-bottom: 0;
}
.header-title-wrapper {
    position: relative;
    width: 100%;
    flex-grow: 1;
    flex-shrink: 1;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 24px;
    padding-bottom: 0px;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}
.header-title-wrapper * {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}
.header-title {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    flex-grow: 1;
    flex-shrink: 1;
    margin: 0;
    align-self: center;
    box-sizing: border-box;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: stretch;
}

/* ============================================
   SLIDER (COMMENTATO - NON VISIBILE)
   ============================================ */
.slider-container {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    min-width: 10px;
    min-height: 10px;
    flex-grow: 1;
    flex-shrink: 1;
    box-sizing: border-box;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: stretch;
    padding: 0;
}
.slider-bg {
    background-color: #00AEEE;
}
.slider-image {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 411px;
    min-height: 100px;
    flex-grow: 1;
    flex-shrink: 1;
    margin: 0;
}
.slider-image-bg {
    background-color: white;
}

/* ============================================
   MAIN CONTENT STRUCTURE
   ============================================ */
.main-container {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    min-width: 10px;
    min-height: 10px;
    flex-grow: 1;
    flex-shrink: 1;
    box-sizing: border-box;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: stretch;
    padding: 0px 20px;
}
.main-bg {
    background-color: white;
}
.main-inner {
    position: relative;
    width: 100%;
    height: auto;
    min-width: 320px;
    max-width: 3480px;
    flex-grow: 1;
    flex-shrink: 1;
    margin-top: 0px;
    margin-bottom: 15px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 15px;
}
.section-title {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    min-height: auto;
    flex-grow: 1;
    flex-shrink: 1;
    margin-left: 50px;
    margin-right: 50px;
    margin-top: 0;
    margin-bottom: 0;
    box-sizing: border-box;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: stretch;
}
.events-container {
    position: relative;
    width: 100%;
    max-width: 1440px;
    height: auto;
    min-width: 320px;
    flex-grow: 1;
    flex-shrink: 1;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0;
    padding-top: 30px;
    gap: 20px;
}
.events-wrapper {
    position: relative;
    width: 75%;
    height: auto;
    min-width: 320px;
    flex-grow: 0;
    flex-shrink: 1;
    margin: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    align-content: flex-start;
    padding: 0;
}
.filter-sidebar {
    position: relative;
    width: 25%;
    height: auto;
    min-width: 200px;
    flex-grow: 0;
    flex-shrink: 1;
    margin: 0;
    box-sizing: border-box;
    padding: 0;
    font-family: 'Calibri Light Light', 'Calibri-Light', 'Calibri Light', Calibri, sans-serif;
}
.filter-sidebar,
.filter-sidebar * {
    font-family: 'Calibri Light Light', 'Calibri-Light', 'Calibri Light', Calibri, sans-serif;
}
.events-grid {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    min-width: 320px;
    flex-grow: 1;
    flex-shrink: 1;
    align-self: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: center;
    gap: 20px;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0px;
    padding-bottom: 55px;
}

/* ============================================
   EVENT CARDS (FLEXBOX - come originale)
   ============================================ */
.event-card {
    position: relative;
    width: calc((100% - 40px) / 3);
    height: auto;
    min-height: 10px;
    flex-grow: 0;
    flex-shrink: 0;
    margin: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.event-card:hover {
    transform: scale(0.98);
}
@media (max-width: 1200px) {
    .event-card {
        width: calc((100% - 40px) / 3);
    }
}
@media (max-width: 860px) and (min-width: 641px) {
    .event-card {
        width: calc((100% - 20px) / 2);
    }
}
@media (max-width: 640px) {
    .events-grid {
        justify-content: center;
    }
    .event-card {
        width: 80%;
        margin: 0 auto;
    }
}
.event-card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    text-decoration: none;
    color: inherit;
}
.event-card-bg {
    position: absolute;
    left: 1px;
    top: 0;
    width: calc(100% - 2px);
    height: 100%;
    z-index: 0;
}
.event-card-bg-white { background-color: white; }
.event-card-bg-festa-patronale { background-color: #3C3639; }
.event-card-bg-chiari { background-color: #D7FFF3 !important; }
/* Se evento si trova a Chiari, elimina bg di festa patronale */
.event-card-chiari .event-card-bg-festa-patronale,
.event-card-bg.event-card-bg-chiari.event-card-bg-festa-patronale { 
    background-color: #D7FFF3 !important; 
}
.event-card-bg-sarezzo { background-color: #FFF9E6 !important; }
.event-card-festa-patronale .qx-box-content {
    color: #FFFFFF;
}
.event-card-festa-patronale .qx-box-content * {
    color: #FFFFFF !important;
}
/* PER FORZA: tutto il testo in event-card-festa-patronale deve essere bianco */
.event-card-festa-patronale .char-Normale-Local-85,
.event-card-festa-patronale .char-Normale-Local-97,
.event-card-festa-patronale .char-H4-Local-75,
.event-card-festa-patronale .char-H4-Local-76,
.event-card-festa-patronale .char-H4-Local-77,
.event-card-festa-patronale .char-H4-Local-83,
.event-card-festa-patronale .char-H4-Local-48 {
    color: #FFFFFF !important;
}
.event-card-festa-patronale .para-NoStyle-98 {
    color: #ffffff !important;
}
.event-card-festa-patronale .para-NoStyle-98 * {
    color: #ffffff !important;
}
.event-card-festa-patronale .event-text-header,
.event-card-festa-patronale .event-text-content,
.event-card-festa-patronale .qx-text-box {
    color: #FFFFFF;
}
.event-card-festa-patronale .event-text-header *,
.event-card-festa-patronale .event-text-content *,
.event-card-festa-patronale .qx-text-box * {
    color: #FFFFFF !important;
}
.event-card-festa-patronale .para-titoloHOME-Local-69,
.event-card-festa-patronale .para-titoloHOME-Local-69 * {
    color: #FFFFFF !important;
}
.event-card-chiari .event-text-header,
.event-card-chiari .event-text-content,
.event-card-chiari .qx-text-box {
    color: #211F20;
}
.event-card-chiari .event-text-header *,
.event-card-chiari .event-text-content *,
.event-card-chiari .qx-text-box * {
    color: #211F20;
}
.event-card-sarezzo .event-text-header,
.event-card-sarezzo .event-text-content,
.event-card-sarezzo .qx-text-box {
    color: #211F20;
}
.event-card-sarezzo .event-text-header *,
.event-card-sarezzo .event-text-content *,
.event-card-sarezzo .qx-text-box * {
    color: #211F20;
}
/* Eventi Mostra: allineamento verso il basso e altezza automatica */
.event-card-mostra {
    justify-content: flex-end;
    height: auto;
    min-height: auto;
    padding: 0 !important;
    overflow: hidden;
}
.event-card-mostra .event-card-border {
    display: none;
}
/* Eventi Mostra: immagine occupa tutto l'article */
.event-card-mostra .event-card-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    z-index: 0;
}
.event-card-mostra .event-card-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
    pointer-events: none;
}
/* Eventi Mostra: testo bianco e posizionamento sopra il gradiente */
.event-card-mostra .event-text-header {
    position: relative;
    z-index: 2;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex-grow: 1;
}
.event-card-mostra .event-text-header .qx-box-content {
    align-self: flex-end;
    width: 100%;
}
.event-card-mostra .event-text-content {
    position: relative;
    z-index: 2;
    padding: 15px;
}
.event-card-mostra .qx-text-box,
.event-card-mostra .qx-box-content {
    color: #FFFFFF;
    position: relative;
    z-index: 2;
}
.event-card-mostra .event-text-header *,
.event-card-mostra .event-text-content *,
.event-card-mostra .qx-text-box *,
.event-card-mostra .qx-box-content * {
    color: #FFFFFF !important;
}
.event-card-mostra .char-Normale-Local-97,
.event-card-mostra .char-H4-Local-75,
.event-card-mostra .char-H4-Local-77,
.event-card-mostra .char-H4-Local-48,
.event-card-mostra .para-NoStyle-98,
.event-card-mostra .para-NoStyle-98 * {
    color: #FFFFFF !important;
}
/* Cerimonia deve avere lo stesso colore di Conferenza */
.char-Normale-Local-85 {
    color: #29549D !important;
}
.char-Normale-Local-97 {
    color: #29549D !important;
}
/* Se event-card ha event-card-bg-white, para-titoloHOME-Local-69 deve avere colore #211F20 */
.event-card .para-titoloHOME-Local-69 {
    color: #211F20;
}
/* Eventi Mostra: titolo bianco */
.event-card-mostra .para-titoloHOME-Local-69,
.event-card-mostra .para-titoloHOME-Local-69 * {
    color: #FFFFFF !important;
}
/* Rimuovi color:white da para-NoStyle-98 */
.para-NoStyle-98 {
    color: inherit !important;
}
.event-card-bgimage {
    position: absolute;
    left: 1px;
    top: 1px;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    z-index: 1;
    background-size: 1280px 387px;
    background-position: 0 0;
    background-repeat: no-repeat;
}
.event-card-border {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #29549D;
    z-index: 2;
    pointer-events: none;
    box-sizing: border-box;
}
.event-image {
    position: relative;
    width: 100%;
    height: 175px;
    min-height: 200px;
    max-height: 500px;
    flex-grow: 1;
    flex-shrink: 1;
    margin: 0;
    z-index: 3;
}
/* Tutte le immagini nel box devono avere allineamento top left */
.event-image img {
    object-position: top left;
}
.event-card-bgimage {
    background-position: top left !important;
}
.event-text-header {
    position: relative;
    width: 100%;
    height: auto;
    flex-grow: 1;
    flex-shrink: 1;
    margin: 0;
    margin-top: 16px;
    box-sizing: border-box;
    z-index: 3;
}
.event-text-content {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 25px;
    flex-grow: 0;
    flex-shrink: 0;
    margin: 0;
    margin-top: auto;
    box-sizing: border-box;
    display: flex;
    flex-flow: column wrap;
    justify-content: flex-end;
    align-items: stretch;
    z-index: 3;
}

/* ============================================
   SPONSORS SECTION
   ============================================ */
.sponsors-container {
    position: relative;
    left: 0;
    top: 0;
    width: 98%;
    max-width: 1440px;
    height: auto;
    min-width: 10px;
    flex-grow: 1;
    flex-shrink: 1;
    box-sizing: border-box;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 15px;
    padding-bottom: 76px;
    margin: 0 auto;
}
.sponsors-title {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 40px;
    min-height: 25px;
    flex-grow: 1;
    flex-shrink: 1;
    margin-left: 0;
    margin-right: 0;
    margin-top: 20px;
    margin-bottom: 0;
    box-sizing: border-box;
}
.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}
.logo-item {
    position: relative;
    width: 13%;
    height: auto;
    min-width: 60px;
    min-height: 80px;
    flex-grow: 1;
    flex-shrink: 1;
    align-self: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    align-content: center;
    padding: 15px;
}
.logo-item--small {
    width: 12%;
    height: auto;
    min-width: 60px;
    min-height: 70px;
    flex-grow: 1;
    flex-shrink: 1;
    margin-left: 0;
    margin-right: 15px;
    margin-top: 0;
    margin-bottom: 0;
    align-self: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    align-content: center;
    padding: 15px;
}
.logo-item--tiny {
    width: 5%;
    height: auto;
    min-width: 50px;
    min-height: 70px;
    flex-grow: 1;
    flex-shrink: 1;
    margin-right: 15px;
    align-self: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    align-content: center;
    padding: 15px;
}
.logo-item--medium {
    width: 9%;
    height: auto;
    min-width: 60px;
    min-height: 70px;
    flex-grow: 1;
    flex-shrink: 1;
    margin-right: 15px;
    align-self: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    align-content: center;
    padding: 15px;
}
.logo-item--main {
    width: 13%;
    height: auto;
    min-width: 60px;
    min-height: 55px;
    flex-grow: 1;
    flex-shrink: 1;
    margin-left: 0;
    margin-top: 0;
    align-self: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    align-content: center;
    padding: 15px;
}
.logo-item .logo-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.logo-spacer {
    position: relative;
    width: 13%;
    height: auto;
    min-width: 60px;
    min-height: 80px;
    flex-grow: 1;
    flex-shrink: 1;
    align-self: center;
    box-sizing: border-box;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    align-content: center;
    padding: 15px;
}
.sponsors-divider {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 39px;
    min-height: 25px;
    flex-grow: 1;
    flex-shrink: 1;
    margin: 0;
    box-sizing: border-box;
}

/* ============================================
   FOOTER
   ============================================ */
.footer-container {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    min-width: 320px;
    min-height: 10px;
    flex-grow: 0;
    flex-shrink: 0;
    margin: 0;
    box-sizing: border-box;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
    padding: 0;
}
.footer-bg {
    background-color: #29549D;
}
.footer-content {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    min-width: 320px;
    max-width: 1280px;
    min-height: 10px;
    flex-grow: 1;
    flex-shrink: 1;
    margin-top: 0;
    margin-bottom: 0;
    box-sizing: border-box;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    align-content: flex-start;
    padding-left: 0;
    padding-right: 0;
    padding-top: 30px;
    padding-bottom: 0;
}
.footer-nav {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    min-width: 320px;
    min-height: 50px;
    flex-grow: 0;
    flex-shrink: 1;
    margin: 0;
    box-sizing: border-box;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    padding: 0;
}
.footer-nav-item {
    position: relative;
    width: auto;
    height: auto;
    min-width: 100px;
    min-height: 10px;
    flex-grow: 0;
    flex-shrink: 1;
    max-width: calc(100%);
    box-sizing: border-box;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    align-content: flex-start;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
}
.footer-nav-item--border {
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: white;
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: white;
}
.footer-nav-item--border .qx-box-border {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    pointer-events: none;
}
.footer-nav-link {
    position: relative;
    width: auto;
    height: auto;
    min-height: 20px;
    flex-grow: 1;
    flex-shrink: 1;
    margin: 0;
    max-width: calc(100% + 0px + 0px);
    box-sizing: border-box;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.footer-nav-link:hover {
    text-decoration: none;
    color: inherit;
}
.footer-social {
    position: relative;
    left: 0;
    top: 0;
    width: 18.5%;
    height: auto;
    min-width: 230px;
    min-height: 35px;
    flex-grow: 1;
    flex-shrink: 1;
    margin: 0;
    box-sizing: border-box;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
    padding: 15px;
}
.social-icon {
    position: relative;
    width: 45px;
    height: 45px;
    min-height: 10px;
    flex-grow: 0;
    flex-shrink: 1;
    box-sizing: border-box;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: flex-start;
    padding: 10px;
    cursor: pointer;
}
.social-icon .qx-img-box {
    position: relative;
    width: 100%;
    height: 28px;
    flex-grow: 1;
    flex-shrink: 1;
    margin: 0;
}
.social-icon .qx-img-box img {
    width: 100%;
    height: 100%;
}
.footer-copyright {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    min-width: 320px;
    min-height: 10px;
    flex-grow: 100;
    flex-shrink: 1;
    box-sizing: border-box;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    align-content: flex-start;
    padding: 15px;
}
.footer-copyright-content {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    flex-grow: 1;
    flex-shrink: 1;
    margin: 0;
    box-sizing: border-box;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: stretch;
}
.para-NoStyle-0 span {
    line-height: 1em;
}

/* ============================================
   FILTER SYSTEM
   ============================================ */
.filter-container {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 0;
    box-sizing: border-box;
    z-index: 100;
}
.filter-title {
    font-weight: bold;
    font-size: 20px;
    color: #211F20;
    margin-bottom: 20px;
    font-family: 'Calibri Light Light', 'Calibri-Light', 'Calibri Light', Calibri, sans-serif;
}
.filter-toggle-button {
    display: none;
    width: 100%;
    padding: 12px 16px;
    background-color: #f8f8f8;
    border: none;
    border-radius: 0;
    font-weight: bold;
    font-size: 20px;
    color: #211F20;
    cursor: pointer;
    text-align: left;
    font-family: 'Calibri Light Light', 'Calibri-Light', 'Calibri Light', Calibri, sans-serif;
    box-sizing: border-box;
    position: relative;
}
.filter-toggle-button::after {
    content: '▼';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}
.filter-toggle-button.filter-open::after {
    transform: translateY(-50%) rotate(180deg);
}
.filter-content {
    display: block;
}
.filter-group {
    margin-bottom: 20px;
}
.filter-group:last-child {
    margin-bottom: 0;
}
.filter-group-label {
    display: block;
    font-weight: bold !important;
    margin-bottom: 10px;
    font-size: 14px;
    color: #211F20;
}
.filter-chips {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
}
.filter-chip {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 16px;
    background-color: white;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #211F20;
    font-family: inherit;
    box-sizing: border-box;
    position: relative;
    z-index: 101;
    gap: 10px;
}
.filter-chip:hover {
    background-color: #f0f9ff;
}
.filter-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
    accent-color: #00AEEE;
}
.filter-checkbox:focus {
    outline: 2px solid #00AEEE;
    outline-offset: 2px;
}
.filter-chip.filter-active {
    background-color: #00AEEE;
    color: white;
}
.filter-chip.filter-active .filter-checkbox {
    accent-color: white;
}
.filter-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    flex-wrap: wrap;
    gap: 10px;
}
.filter-reset {
    padding: 8px 16px;
    background-color: #666;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: inherit;
}
.filter-reset:hover {
    background-color: #444;
}
.filter-reset:focus {
    outline: 2px solid #00AEEE;
    outline-offset: 2px;
}
.filter-counter {
    font-size: 14px;
    color: #666;
    font-weight: normal;
}
.filter-no-results {
    display: none;
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}
.filter-no-results.filter-visible {
    display: block;
}
.event-card.filter-hidden {
    display: none !important;
}
@media (max-width: 1024px) {
    .events-container {
        flex-direction: column;
        gap: 20px;
    }
    .events-wrapper {
        width: 100%;
    }
    .filter-sidebar {
        width: 100%;
    }
    .filter-toggle-button {
        display: block;
    }
    .filter-content {
        display: none;
        padding: 0;
    }
    .filter-content.filter-open {
        display: block;
        /*padding: 15px;*/
    }
    .filter-container {
        padding: 0;
        padding-left: 20px;
        padding-right: 20px;
    }
    .filter-title {
        display: none;
    }
    .filter-group-label {
        display: block;
        font-weight: bold !important;
        margin-bottom: 10px;
    }
    .filter-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-reset {
        width: 100%;
    }
}
@media (max-width: 640px) {
    .filter-content.filter-open {
        display: block;
        /* padding: 15px; */
    }
    .events-grid {
        justify-content: center;
    }
    .event-card {
        width: 80%;
        margin: 0 auto;
    }
}
