
.event-filter {
    padding: 80px 150px 100px;
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    gap: 14px;
}
.event-filter div {
    background: rgba(171, 183, 179, 0.48);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    text-align: center;
    line-height: 25px;
    color: #334A41;
    font-size: 20px;
    font-weight: 600;
    flex: 1 1 0px;
    height: 70px;
    padding: 0 10px;
    cursor: pointer;
}
.event-filter div.active {
    color: #fff;
    background: #334A41;
}

.events-container {
    padding: 0 150px;
    max-width: 1500px;
    margin: 0 auto;
}

.event {
    display: flex;
    gap: 35px;
    margin-bottom: 100px;
    min-height: 375px;
}
.single-event-container .event {
    margin-bottom: 0;
}

.single-event-container {
    padding: 100px 150px;
    max-width: 1500px;
    margin: 0 auto;
}

.event .image {
    flex: 0 1 50%;
    position: relative;
}
.single-event-container .event .image {
    flex: 0 1 40%;
    margin-top: 17px;
}
.single-event-container .event .image img {
    width: 100%;
}
.event .image a {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}
.event .event-text {
    flex: 0 1 50%;
    display: flex;
    flex-direction: column;
}
.single-event-container .event .event-text {
    flex: 0 1 60%;
    box-sizing: border-box;
    padding-left: 40px;
}
.event h2 {
    margin-bottom: 10px;
}
.event h3 {
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 900;
    margin: 0 0 0;
    color: #2B4B40;
}
.event .event-tags {
    margin: 0 0 0;
    display: flex;
    gap: 14px;
    margin-top: auto;
    text-transform: uppercase;
    color: rgba(171, 183, 179, 1);
    font-family: neutratext-regular, sans-serif;
    font-size: 18px;
    font-weight: 600;
}
.event .event-tag {
    font-family: neutratext-regular, sans-serif;
    font-size: 20px;
    font-weight: 600;
    background: rgba(171, 183, 179, 0.48);
    color: #334A41;
    padding: 10px;
}
 .single-event-container .event .event-dates.mobile {
    display: none;
 }
.event .event-dates {
    display: flex;
    gap: 40px;
}
.single-event-container .event .event-dates {
    margin-top: 30px;
}
.event .event-dates .dates-col-1,
.event .event-dates .dates-col-2 {
    flex: 0 0 calc(50% - 20px);
}
.event .event-dates h4 {
    font-size: 20px;
    font-weight: 600;
    color: #424242;
    font-family: neutratext-regular, sans-serif;
    margin: 0 10px 0 0;
}
.event .event-dates {
    margin: 0;
    font-family: neutratext-regular, sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #424242;    
}
.event .event-date {
    margin-bottom: 16px;
}

.single-event-container .event .event-time {
    margin-bottom: 30px;
}
.event .event-desc {
    color: #000;
    font-size: 18px;
    line-height: 30px;
    font-weight: 300;
    margin: 10px 0 20px;
}
.single-event-container .event .event-desc {
    margin-bottom: 0;
}
.event .event-cta {
    font-weight: 400;
    color: #fff;
    background: #2c4b40;
    font-family: darwin-regular,sans-serif;
    font-size: 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    height: 50px;
    width: 180px;
}
.event .event-cta:hover {
    background: #80958e; 
}
.event-rsvp-cta {
    margin: 20px 0 0;
    font-weight: 700;
    color: #fff;
    background: #2c4b40;
    font-family: darwin-regular,sans-serif;
    font-size: 20px;
    width: 180px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.event-rsvp-cta:hover {
    background: #80958e; 
}
html { position: relative; }
.rsvp-modal-bg {
    background-color: rgba(255, 255, 255, 0.3); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
}
.rsvp-modal {
    position: relative;
    color: #fff;
    background: #2c4b40;
    width: 50%;
    max-width: 800px;
    padding: 20px 30px 50px;
    border-radius: 10px;
}
.rsvp-modal .close {
    position: absolute;
    color: #fff;
    top: 15px;
    right: 12px;
    font-size: 40px;
    cursor: pointer;
}
.rsvp-modal .gfield_label {
    color: #fff;
    margin-bottom: 5px;
    font-style: normal;
    font-size: 18px;
}
.rsvp-modal form fieldset {
    border: none;
    padding: 0;
}
.rsvp-modal form fieldset .ginput_complex {
    display: flex;
    gap: 15px;
}
.rsvp-modal form fieldset .ginput_complex span {
    flex: 0 1 50%;
}
.rsvp-modal .gform_required_legend {
    display: none;
}
.rsvp-modal form {
    padding: 30px 20px 0 !important;
}
.rsvp-modal form .hsfc-Step__Content label {
    color: #fff !important;
    margin-bottom: 5px !important;
    font-family: neutratext-regular, sans-serif;
}
.rsvp-modal form input {
    border: 1px solid #fff !important;
    color: #fff !important;
    background: transparent;
    height: 54px;
    padding: 9px 15px;
    width: 100%;
    font-family: neutratext-regular, sans-serif;
    font-size: 18px !important;
}
.rsvp-modal form select {
    border: 1px solid #fff !important;
    color: #fff !important;
    background: transparent;
    height: 54px;
    padding: 9px 15px;
    width: 100%;
}
.rsvp-modal form select option {
    color: #2c4b40;
    background: #fff;
}
.rsvp-modal .ginput_container_select:after {
    color: #fff;
    top: calc(50% - 12px);
}
.rsvp-modal button[type="submit"] {
    margin: 0 auto;
    background: #fff;
    color: #2c4b40 !important;
    border-radius: 5px;
    width: 180px;
}
.rsvp-modal button[type="submit"]:hover {
    background: rgba(171, 183, 179, 0.48);
}
[data-hsfc-id=Renderer] .hsfc-DropdownInput__Caret>span {
   border-top: 6px solid #fff !important;
}
.rsvp-modal .hsfc-RichText {
    padding-top: 30px;
}
.rsvp-modal .hsfc-RichText p {
    color: #fff !important;
    text-align: center;
}
.rsvp-modal .gform_footer {
    text-align: center;
}
.rsvp-modal .gform_confirmation_message {
    margin-top: 50px;
}
.event-ty-container {
    text-align: center;
    padding: 100px 150px;
    max-width: 1500px;
    margin: 0 auto;
}
.events-pagination {
    display: flex;
    justify-content: space-between;
    color: #424242;
    margin-bottom: 30px;
}
.events-pagination .next, .events-pagination .prev {
    color: #424242;
    font-family: neutratext-regular,sans-serif;
    font-weight: 700;
    font-size: 20px;
}
.events-pagination ul.pages {
    display: flex;
    list-style-type: none;
    flex: 1 0 auto;
    justify-content: center;
} 
.events-pagination ul.pages li {
    margin: 0 5px;
}
.events-pagination ul.pages li a {
    color: #424242;
    font-family: neutratext-regular,sans-serif;
    font-weight: 700;
    font-size: 20px;
} 
.events-pagination ul.pages li a.current {
    font-weight: 400;
}





/* Media Queries */

@media (max-width: 1200px) {
    .event-filter {
        padding: 50px 80px 100px;
    }
    .events-container {
        padding: 0 80px;
    }
    .single-event-container {
        padding: 100px 80px;
    }
}

@media (max-width: 992px) {
    .event-ty-container {
        padding: 50px 80px 100px;
    }
    .event-filter {
        padding: 50px 10px 80px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .event-filter div {
        flex: 1 1 25%;
    }
    .events-container {
        padding: 0 10px;
    }
    .single-event-container {
        padding: 50px 10px;
    }
    .event {
        flex-wrap: wrap;
    }
    .single-event-container .event .image {
        flex: 0 0 100%;
        height: auto;
        margin-top: 0;
    }
    .single-event-container .event .image img {
        height: 58vw;
    }
    .single-event-container .event .event-dates {
        display: none;
    }
    .single-event-container .event .event-dates.mobile {
        display: flex;
        margin-bottom: 0;
    }
    .single-event-container .event .event-text {
        padding-left: 0;
    }
    .event .image {
        flex: 0 0 100%;
        height: 58vw;
        overflow: hidden;
        margin-top: 0;
    }
    .single-event-container .event .event-text,
    .event .event-text {
        flex: 0 0 100%;
    }
    .rsvp-modal {
        width: 70%;
    }
}

@media (max-width: 768px) {
    .event-ty-container {
        padding: 50px 10px 100px;
    }
    .rsvp-modal {
        padding: 0 20px 35px;
    }
    .rsvp-modal form fieldset .ginput_complex {
        flex-wrap: wrap;
        gap: 5px;
    }
    .rsvp-modal form fieldset .ginput_complex span {
        flex: 0 0 100%;
    }
    .rsvp-modal form input {
        height: 40px;
        padding: 9px 5px;
        font-size: 14px;
    }
    .rsvp-modal .gfield_label {
        font-size: 14px;
        margin-bottom: 0;
    }
    .rsvp-modal .ginput_container_name label {
        font-size: 12px;
        margin-bottom: 0;
    }
    .rsvp-modal form select {
        height: 40px;
        font-size: 14px;
        padding: 9px 5px;
    }
    .rsvp-modal .ginput_container_select:after {
        top: calc(50% - 11px);
        right: 11px;
    }
    .rsvp-modal input[type="submit"] {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {

    .event .event-dates {
        flex-wrap: wrap;
        gap: 0;
    }
    .event .event-dates .dates-col-1,
    .event .event-dates .dates-col-2 {
        flex: 0 0 100%;
    }
    .rsvp-modal {
        width: 80%;
    }
    .rsvp-modal form {
        padding: 30px 0 0 !important;
    }
    /*.rsvp-modal .ginput_container, .rsvp-modal .ginput_container_text+.gfield_description, .rsvp-modal .ginput_container_textarea+.gfield_description {
        margin-bottom: 20px;
    }*/
}