.event_main_wrapper {
    margin-top: 40px;
    margin-bottom: 100px;
  }

.top-hero-content{
width: 43%;
}

.top-hero-content h1{
line-height: 60px;
}

.top-hero-content p{
font-size: 16px;
font-weight: 500;
line-height: 24px;
width: 68%;
}

.top-hero-content img{
top: 75px;
left: 30%;
}
  
  .event-section .category-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }
  .event-section .event-filters {
    display: flex;
    margin-top: 60px;
    margin-bottom: 40px;
    align-items: center;
    gap: 30px;
    justify-content: space-between;
  }
  .event-filters .filter-input {
    width: 23%;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 9px;
    padding: 0px 16px;
    border-radius: 28px;
    box-shadow: var(--box-shadow-light);
  }
  .event-filters .filter-input input {
    border: none;
    outline: none;
    color: #b4b4b4;
    font-size: var(--h6-size);
    font-weight: var(--h6-weight);
    padding: 14px 0px;
line-height: 24px;
  }
  
  .event-filters-dropdown {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
  }
  
  .event-filters-dropdown .filter-btn {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white-color);
    border-radius: 28px;
    padding: 14px 16px;
    white-space: nowrap;
    justify-content: center;
    box-shadow: var(--box-shadow-light);
    cursor: pointer;
  }
  .filter-btn:first-child .filter-label {
    color:var(--primary-color);
    font-weight:500;
line-height: 24px;
}
  .filter-btn .filter-label {
    font-size: var(--h6-size);
    font-weight: var(--h6-weight);
    color: var(--gray-color);
    margin: 0 9px;
  }
  
  .filter-btn .filter-value {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 500;
    margin-right: 12px;
  }
  
  .filter-btn .country-filter,
  .filter-btn .sort-filter {
    position: absolute;
    top: 0;
    left: 0;
    font-family: var(--font-family);
    width: 100%;
    height: 100%;
    font-size: var(--h6-size);
    font-weight: var(--h6-weight);
    opacity: 0;
    cursor: pointer;
    background-color: var(--white-color);
    box-shadow: 0px 8px 40px 0px #bdbdbd47;
  }
  
  
  .top-hero.event {
    background-image: url(../images/event-bg.png);
  }
  
  
  .show-more-btn {
    color: var(--secondary-color);
    font-weight: 600;
    margin: 60px auto;
  }

.ft-card-wrap{
    row-gap: 40px !important;
    column-gap: 28px !important;
}

.ft-tags span{
padding-bottom: 5px !important;
    font-weight: 400;
    line-height: 16px;
}

.ft-card h5{
line-height: 26px;
}

.ft-meta-info {
    margin-top: 16px !important;
}
  
  @media screen and (max-width: 862px) {
      
      .event-filters .filter-input {
          width: 100%;
      }
     
      .event-section .projects-filters {
          flex-direction: column;
      }
      .event-filters-dropdown {
          width: 100%;
      }
      .event-filters-dropdown  .filter-btn {
          width: 100%;
      }
      .event-section .event-filters{
        flex-direction: column;
    }
      
  }


@media screen and (max-width: 767px){
.top-hero-content {
    width: 100%;
}

.top-hero-content img {
    top: 58px;
    left: 60%;
}
.event-filters-dropdown {
    display: block;
}

.event-filters-dropdown .filter-btn{
margin-bottom: 30px;
}

.event-filters-dropdown .filter-btn{
justify-content: flex-start;
}
div#filterSidebar {
    width: 90%;
    border-radius: 0px;
}
}

}




/* Overlay Background */
.overlay {
  position: fixed;
  inset: 0;
  background:  rgba(22, 30, 22, 0.38);
  backdrop-filter: blur(6px);
  display: none;
  z-index: 999;
}


:root{
  --sidebar-width: 480px;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: calc(-1 * var(--sidebar-width));
  width: var(--sidebar-width);
  height: 100%;
  background: var(--white-color);
  box-shadow: -2px 0px 10px rgba(0, 0, 0, 0.2);
  padding: 40px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  overflow-y: auto;
  transition: right 0.3s ease-in-out;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.sidebar.open {
  right: 0;
}

/* Sidebar Heading */
.sidebar .sidebar-heading {
  font-size: 32px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 28px;
}

/* Close Button */
.close-btn {
  font-size: 24px;
  border: none;
  background: none;
  color: #6E706C;
  cursor: pointer;
  position: absolute;
  top: 16px;
  right: 20px;
}

/* Filter Sections */
.filter-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 16px;
}

/* Filters */
.country-list,
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  margin-bottom: 20px;
}

/* Checkbox and Label Alignment */
.filter-group label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  cursor: pointer;

  color: var(--primary-color);
  font-size: 14px;
}
.filter-group .country-name{
  font-size: 14px;
  color: var(--primary-color);
}
.filter-group label img {
width: 20px;
}


.show-more-less {
  color: var(--secondary-color);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.show-less {
  display: none;
}

/* Flag Styling */
.side-bar-country-flag {
  width: 22px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
}

/* Checkbox with Text */
.checkbox-container {
  display: flex;
  align-items: center;
  gap: 8px;
}


.checkbox-container input {
  width: 20px;
  height: 20px;
  border: 1px solid #e2e4e2; /* Default border */
  border-radius: 6px;
  cursor: pointer;
  appearance: none; /* Remove default browser styles */
  display: inline-block;
  position: relative;
  background-color: transparent;
  transition: all 0.3s ease;
}

.checkbox-container input:checked {
  border: 1px solid green; /* Green border when checked */
  background-color: green; /* Green background when checked */
}

.checkbox-container input:checked::after {
  content: "";
  position: absolute;
  top: 40%;
  left: 50%;
  width: 10px; /* Width of the checkmark */
  height: 4px; /* Height of the checkmark */
  border: solid white;
  border-width: 0 0 2px 2px; /* White checkmark */
  transform: translate(-50%, -50%) rotate(-45deg); /* Rotate to create a checkmark */
  /* border-radius: 2px; Round the edges of the checkmark */
}

/* Right-aligned Number */
.filter-group span {
  font-size: 14px;
  color: var(--text-color);
}

/* Show More */
.show-more {
  color: var(--secondary-color);
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
}

/* Buttons */
.filter-buttons {
  position: sticky;
  bottom: -50px;
  background: var(--white-color);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 15px;
  padding-bottom: 40px;

}
.filter-buttons button{
  flex: 1;
}
#filterSidebar {
    display: none;
}
#filterSidebar.open {
    display: block;
}
