.wp-events-filter {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
}
.form-styles {
  padding: 30px;
  background-color: #f8f7f5;
}
.flex {
  display: flex;
}
.justify-between {
  justify-content: space-between;
}
.filter-header {
  background: #175332;
  cursor: pointer;
  padding: 12px 24px;
  color: #fff !important;
}
.fs-20 {
  font-size: 20px;
}
.fs-16 {
  font-size: 16px;
}
button.wp-events-filter__reset-button {
  padding: 10px 20px;
  background: white;
  outline: none;
  border: 1px solid #575757;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  width: 100%;
  font-size: 16px;
  color: #575757;
}
button.wp-events-filter__reset-button:hover {
  background-color: #aaa;
  color: #fff;
  border-color: transparent;
}
.wp-events-filter__search-input {
  width: 100% !important;
  height: 49px !important;
  max-height: 49px !important;
  padding: 5px 16px !important;
  border: 1px solid #a7a9ac !important;
  background: #fff !important;
  border-radius: unset !important;
}
.search-icon {
  position: absolute;
  top: 30%;
  right: 5%;
}
.mb-12 {
  margin-bottom: 12px;
}
.mt-10 {
  margin-top: 10px;
}
.wp-events-filter__checkbox-group {
  padding: 12px 24px;
}
.w-full {
  width: 100%;
}
.wp-events-filter__checkbox {
  padding: 4px 0;
  height: 40px;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
  color: #676767;
}
.wp-events-filter__checkbox input {
  width: 20px;
  height: 20px;
  margin: 0 10px 0 0;
  accent-color: #0f723c;
  border: 1px solid #a7a9ac;
  outline: none;
}
.divider {
  background: #a7a9ac;
  height: 1px;
  display: block;
  margin: 24px 0;
}
.wp-events-filter__checkbox-group {
  padding: 12px 24px;
  max-height: 304px;
  overflow-y: scroll;
}
.wp-events-filter__select {
  padding: 10px 16px;
  color: #888a89;
  border: 1px solid #888a89;
}
select option:hover {
  box-shadow: 0 0 10px 100px #1882a8 inset;
}
.wp-events-filter__count {
  color: #575757;
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 40px;
}
.wp-events-filter__events {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 40px 20px;
}

.wp-events-filter__event-image img {
  width: 100%;
  aspect-ratio: 29 / 22;
  object-fit: cover;
}

.date {
  color: #888a89;
  font-size: 14px;
  gap: 5px;
  text-decoration: none;
}

.align-items-center {
  align-items: center;
}

.event-conten-parts {
  padding: 16px;
}

.event-conten-parts h3 *{
  color: #575757;
  margin-top: 10px;
  transition: all 0.3s ease-in-out;
}

.wp-events-filter__event-item a {
  text-decoration: none;
      display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 16px;
    margin-top: 0;
}

.wp-events-filter__event-item a:hover{
  color: #009ec8 !important;
}

.wp-events-filter__event-item {
  background-color: #f8f7f5;
}


span.event-status {
    padding: 6px 10px;
    background: #009ec8;
    color: #fff;
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
    transition: all 0.3s;
}

span.event-status:hover {
    background: #EDF8FE;
    color: #009EC8;
}

.wp-events-filter__event-image {
  position: relative;
  display: block;
}

.wp-events-filter__pagination span,
.wp-events-filter__pagination a {
  background: #f8f7f5;
  width: 32px;
  height: 32px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}

.wp-events-filter__pagination a img {
  width: 15px;
  height: 15px;
}

.wp-events-filter__pagination a:hover,
span.page-numbers.current {
  background: #009ec8;
  color: white;
}

.wp-events-filter__pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 8px;
}

.wp-events-filter__custom--select{
  position: relative;
  user-select: none;
}

.wp-events-filter__selected-option {
  padding: 10px 16px;
  border: 1px solid #A7A9AC;
  cursor: pointer;
  position: relative;
  font-size: 14px;
  color: #888A89;
  display: flex;
  align-items: center;
  gap: 10px;
}


.wp-events-filter__options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 4px 4px;
  z-index: 10;
  display: none;
  max-height: 200px;
  overflow-y: auto;
}

.wp-events-filter__custom--select.open .wp-events-filter__options{
  display: block;  
}

.wp-events-filter__option {
  padding: 8px 16px;
  cursor: pointer;
}

.wp-events-filter__options {
    font-size: 16px;
    color: #888A89;
    min-width: max-content;
}

.wp-events-filter__option:hover {
  background-color: #ECFAD6;
}

.wp-events-filter__option.selected {
  background-color: #ECFAD6;
}

.view-post button {
    cursor: pointer;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-height: 49px;
    padding: 8.167px;
    border: 1px solid #A7A9AC;
}


.view-post button img {
  width: 32.667px;
  height: 32.667px;
}


.view-post button:hover img,
.view-post button.active img {
    filter: brightness(0) saturate(100%) invert(63%) sepia(86%) saturate(2895%) hue-rotate(41deg) brightness(88%) contrast(101%);
}


.wp-events-filter__events[data-view="grid"] .wp-events-filter__event-excerpt,
.wp-events-filter__events[data-view="grid"] .wp-events-filter__permalink {
  display: none;
}

.wp-events-filter__events[data-view="list"] .layout-wrapper{
    display: grid;
    grid-template-columns: 240px auto;
    grid-gap: 20px;
}

.wp-events-filter__events[data-view="list"] .wp-events-filter__event-item {
    background-color: #fff;
}


.wp-events-filter__events[data-view="list"]{
    grid-template-columns: repeat(1, 1fr);
}

.wp-events-filter__events[data-view="list"] .event-conten-parts{
    padding: 0;
    margin-bottom: 8px;
}

.wp-events-filter__events[data-view="list"] .event-conten-parts h3{
    margin-top: 10px;
    margin-bottom: 0;
}

.wp-events-filter__event-excerpt {
    color: #888A89;
    font-size: 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

a.wp-events-filter__permalink {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 16px;
    color: #009EC8;
    margin-top: 22px;
}

.wp-events-filter__events[data-view="list"] .wp-events-filter__event-item {
    border-bottom: 1px solid #A7A9AC;
    padding-bottom: 30px;
}

.ordering {
    gap: 10px;
}

.wp-events-filter__selected-option::after {
    content: "";
    display: block;
    width: 22px;
    height: 22px;
    background: url('./arrow-down.svg') no-repeat center center;    
}

.wp-events-filter__search button{
    display: none;
}

.wp-events-filter__search button {
    border: 1px solid var(--Stroke, #A7A9AC);
    background: #fff;
    align-items: center;
    gap: 8px;
    padding: 10px;
}

.wp-events-filter__filters_wrapper.active {
    background: #00000040;
    position: fixed;
    top: 0;
    z-index: 10000;
    left: 0;
    width: 100%;
}

.wp-events-filter__filters_wrapper.active .wp-events-filter__filters {
    margin: 20px;
    padding: 20px;
    background: white;
    height: 80%;
    max-height: 90%;
    overflow-y: scroll;
}

.mobile-filter-header{
    display: none;
}

.mobile-filter-header .input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.mobile-filter-header {
    margin-bottom: 14px;
    align-items: center;
}

button#close-filter {
    background: #fff;
    border: unset;
}

.wp-events-filter__checkbox-group.hidden{
    display: none;
}

.wp-events-filter__filter.active img {
    transform: rotate(180deg);
}

.is-layout-constrained
  > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 1902px !important;
}

@media screen and (max-width: 1520px) {
    .wp-events-filter {
        gap: 40px;
    }
}

@media screen and (max-width: 1280px) {
    .wp-events-filter {
        gap: 30px;
        grid-template-columns: 1fr;
    }
    .form-styles{
        padding: 10px;
    }
    .wp-events-filter__form,
    .ordering{
        flex-direction: column;
    }
    .wp-events-filter__selected-option::after{
        margin-left: auto;
    }
    .wp-events-filter__events{
        grid-template-columns: repeat(1, 1fr);
    }
    .view-post button{
        width: 36px;
        height: 36px;
    }
    .view-post button img {
        width: 24px;
        height: 24px;
    }
    .wp-events-filter__search label {
        display: none;
    }
    .wp-events-filter__search button{
        display: flex;
    }
    .wp-events-filter__search .input-group{
        width: 100%;
        margin-top: 0;
    }
    .wp-events-filter__search{
        display: flex;
        gap: 8px;
    }
    .wp-events-filter__filters_wrapper.active .mobile-filter-header{
        display: flex;
        justify-content: space-between;
    }
    .fs-20{
        font-size: 16px;
    }
    .wp-events-filter__checkbox-group {
        padding: 6px 12px;
    }
    .wp-events-filter__filters_wrapper{
        display: none;
    }
    .wp-events-filter__filters_wrapper.active{
        display: block;
        height: 100%;
    }
    .wp-events-filter__form.form-styles{
        padding: 0;
    }
    .view-post {
        margin-top: 24px;
        text-align: center;
    }
    .wp-events-filter__count{
        margin-bottom: 24px;
        text-align: center;
    }
    .event-conten-parts {
        padding: 14px;
    }
    .event-conten-parts h3 {
        margin-bottom: 0;
    }
    .wp-events-filter__events{
        grid-gap: 18px 20px;
    }
    .wp-events-filter__events[data-view="list"] .layout-wrapper{
        grid-template-columns: 1fr;
    }
    .wp-events-filter__event-excerpt{
        font-size: 16px;
    }
}

@media screen and (max-width: 720px) {
    .wp-events-filter {
        gap: 0;
    }
}


/*Styles Event Detail Template*/

span.event-sta {
    background: #009EC8;
    font-size: 14px;
    color: #fff;
    padding: 6px 10px;
}
.event-detail-header{
    text-align: center;
    margin-bottom: 20px;
}
.event-deatil-title{
    margin-bottom: 70px;
}
.event-image {
    text-align: center;
}
.event-image img{
    max-width: 1000px;
    margin: 0 auto;
    object-fit: cover;
}
.event-detail-col {
    max-width: 1000px;
    margin: 0 auto;
}
.event-detail-col a{
    color: rgba(113, 161, 0, 1);
}

