.database-filter-wrapper {
  background: #f5f5f5;
  padding: 30px;
  border-radius: 6px;
  border: 1px solid #dcdcdc;
  max-width: 100%;
  box-sizing: border-box;
  margin-bottom: 30px;
  overflow: visible;
  position: relative;
}
.database-filter-wrapper .database-filter-form {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 5px;
  padding: 10px 15px;
  gap: 0;
  flex-wrap: wrap;
}
.database-filter-wrapper .filter-field {
  flex: 1;
  padding: 0 15px;
}
.database-filter-wrapper .filter-field input,
.database-filter-wrapper .filter-field select {
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  background: transparent;
  color: #1d2b36;
}
.database-filter-wrapper .select2-selection.select2-selection--multiple {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231d2b36' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 25px;
  cursor: pointer;
  border: none;
  outline: none;
}
.database-filter-wrapper .select2-container .select2-selection--multiple .select2-selection__rendered {
  margin: 0;
}
/* Remove focus outline */
.custom-dropdown-subject+.select2-container .select2-selection--multiple:focus {
  outline: none;
}
.database-filter-wrapper .filter-separator {
  width: 1px;
  height: 40px;
  background: #e1e5ea;
}
.database-filter-wrapper .select2-dropdown {
  border-color: #ccc;
}
.database-filter-wrapper .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  color: var(--secondary-color);
  background-color: rgba(245, 130, 31, 0.05);
}
.database-filter-wrapper .select2-container--default .select2-results__option--selected {
  background-color: #f5f5f5;
}
.database-filter-wrapper .select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: rgba(245, 130, 31, 0.05);
  border-color: var(--secondary-color);
  color: var(--secondary-color);
  vertical-align: middle;
}
.database-filter-wrapper .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  font-size: inherit;
  top: 2px;
  border-right: none;
  color: var(--secondary-color);
}


.cim-workshop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.cim-workshop-card {
  overflow: hidden;
  background: #fff;
}
.cim-workshop-card .image-wrapper {
  background-color: #f5f5f5;
  height: 220px;
  width: 100%;
  border-radius: 3px;
  position: relative;
}

.cim-workshop-card .event-type-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 5px 10px;
  background-color: rgb(0, 0, 0, 60%);
  color: white;
  border-bottom-right-radius: 3px;
  /* width: 100%; */
  /* text-align: right; */
}

.cim-workshop-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 3px;
}

.cim-workshop-card-content {
  padding: 20px 0;
}

.cim-workshop-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.cim-workshop-card .date,
.cim-workshop-card .event-speaker {
  font-size: 14px;
  color: #555;
  display: block;
}
.cim-workshop-card .date {
  margin-bottom: 10px;
}

.cim-workshop-card .cim-workshop-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  padding-right: 5px;
}

.cim-mentee-count {
  color: #666;
  font-size: 14px;
  margin: 8px 0;
}

.cim-joined-pill {
  background: rgba(245, 245, 245, 1);
  padding: 8px 12px;
  border-radius: 5px;
  font-weight: 600;
  color: green;
  margin-top: 8px;
  display: inline-block;
}

.event-card {
  background: #fff;
  overflow: hidden;
}

/* Image */

.event-card .event-image {
  background-color: #f5f5f5;
  height: 220px;
  width: 100%;
  border-radius: 3px;
  position: relative;
}

.event-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 3px;
}

.event-card .event-type-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 5px 10px;
  background-color: rgb(0, 0, 0, 60%);
  color: white;
  border-bottom-right-radius: 3px;
}
/* Content */

.event-content {
  padding: 28px 0;
}

.event-card .event-title a {
  color: var(--text-color);
}
.event-card .event-title a:hover {
  color: var(--secondary-color);
}
/* Date block */

.event-date {
  float: left;
  width: 40px;
  text-align: center;
  margin-right: 25px;
  border-bottom-width: 3px;
  border-bottom-style: solid;
  padding-bottom: 10px;
  border-color: var(--secondary-color);
}

.event-date .day {
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  display: block;
}

.event-date .month {
  font-size: 16px;
  display: block;
  font-weight: 700;
  text-transform: uppercase;
}

/* Title */

.event-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

/* Meta */

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.event-meta-item {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #555;
}

.event-meta-item .icon {
  margin-right: 8px;
  font-size: 14px;
}


/* .workshop-detail { max-width: 1100px; margin: auto; } */
.single-alumni-story .page-content .container {
  max-width: 1140px;
  padding: 0 20px;
}
.workshop-detail .workshop-hero {
  /* display: grid; */
  /* grid-template-columns: 1fr 1fr; */
  gap: 40px;
}
.workshop-detail .workshop-thumb {
  padding-bottom: 40%;
  position: relative;
  margin-bottom: 42px;
}
.workshop-detail .workshop-thumb img {
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.workshop-detail .workshop-meta {
  display: inline-block;
  margin-right: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #959595;
}
.workshop-detail .badge-status {
  background: #eee;
}
.workshop-detail .badge-mode {
  background: var(--secondary-color);
  color: #000;
}
.workshop-detail .workshop-section {
  margin-top: 32px;
}
.gallery-section h3 {
  font-size: 30px;
}
.workshop-detail .alumni-story-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.workshop-detail .alumni-story-gallery-item {
  display: block;
  border-radius: 3px;
  overflow: hidden;
}

.workshop-detail .alumni-story-gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.workshop-detail .alumni-gallery-flexslider {
  margin: 15px 0 0;
  border: 0;
  box-shadow: none;
}

.workshop-detail .alumni-gallery-flexslider .slides img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 4px;
}

.badge-upcoming {
  background: #e0f4ff;
}
.badge-completed {
  background: #e6e6e6;
}

.workshop-detail .workshop-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.workshop-detail .workshop-title {
  font-size: 38px;
  line-height: 1.3;
  color: var(--text-color);
  margin-top: 20px;
  margin-bottom: 10px;
}

.workshop-detail .workshop-badges {
  margin-bottom: 10px;
}

.workshop-detail .badge {
  padding: 6px 12px;
  font-size: 14px;
  /* border-radius: 20px; */
}
.workshop-detail .add-to-cal i {
  vertical-align: middle;
}

.workshop-detail .mentor-list {
  display: grid;
  /* grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); */
  gap: 20px;
}

.workshop-detail .mentor-card {
  display: flex;
  gap: 15px;
  align-items: normal;
}
.workshop-detail .mentor-avatar {
  flex: 0 0 90px;
}
.workshop-detail .mentor-info {
  flex: 1;
}
.workshop-detail .mentor-avatar img {
  border-radius: 50%;
}

.workshop-detail .guest-card {
  margin-top: 15px;
}

.workshop-detail .workshop-resources-table .resource-icon {
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.workshop-detail .workshop-resources-table .rs-title {
  width: 18%;
  /* Title */
}

.workshop-detail .workshop-resources-table .rs-desc {
  width: 42%;
  /* Description */
}

.workshop-detail .workshop-resources-table .rs-type {
  width: 8%;
  /* Type */
  text-align: center;
}

.workshop-detail .workshop-resources-table .rs-icons {
  width: 8%;
  /* Link/File icon */
  text-align: center;
}

.workshop-detail .workshop-resources-table .rs-uploaded {
  width: 14%;
  /* Uploaded On */
  text-align: center;
}

.workshop-detail .workshop-resources-table .rs-action {
  width: 10%;
  /* Action */
  text-align: center;
}

@media (max-width:767px) {
  .workshop-detail .workshop-hero {
    grid-template-columns: 1fr;
  }
  .workshop-detail .alumni-story-gallery-grid {
    grid-template-columns: 1fr;
  }
}
