/* Etkinlikler public liste sayfasi */

.event-filter-section {
  margin: -4px 0 18px;
  position: relative;
  z-index: 30;
}

.event-filter-card {
  width: 100%;
  padding: 16px;
  border: 1px solid #dcecdf;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.09);
}

.event-filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.event-filter-heading h2 {
  margin: 0;
  color: #102a18;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.event-filter-form {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(190px, 1fr) minmax(190px, 1fr) minmax(250px, 1.25fr) minmax(150px, 0.8fr);
  gap: 12px;
  align-items: end;
}

.event-filter-field {
  min-width: 0;
  position: relative;
}

.event-filter-field--city { z-index: 35; }
.event-filter-field--district { z-index: 34; }
.event-filter-field--type { z-index: 33; }
.event-filter-field--fee { z-index: 32; }

.event-filter-field label {
  display: block;
  margin: 0 0 7px;
  color: #1f2937;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

.event-filter-control {
  width: 100%;
  height: 46px;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid #d9e7dd;
  border-radius: 16px;
  background: #fbfdfb;
  color: #374151;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.25;
}

.event-filter-control:focus {
  outline: 3px solid rgba(22, 163, 74, 0.16);
  outline-offset: 2px;
  border-color: #16a34a;
}

.event-date-range {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.event-filter-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  grid-column: 1 / -1;
  min-width: 0;
  padding-top: 2px;
}

.event-filter-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  grid-column: 1 / -1;
  color: #203127;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.25;
}

.event-filter-switch input {
  width: 17px;
  height: 17px;
  accent-color: #037f03;
}

.event-filter-section .kamp-native-select {
  width: 100%;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
}

.event-filter-section .kamp-native-select.is-enhanced {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.event-filter-section .kamp-city-picker {
  display: none;
  position: relative;
  width: 100%;
  margin-top: 0;
  z-index: 20;
}

.event-filter-section .kamp-city-picker.is-enhanced {
  display: block;
}

.event-filter-section .kamp-city-trigger {
  width: 100%;
  height: 46px;
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #cfe8d4;
  border-radius: 18px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fcf7 100%);
  color: #374151;
  box-shadow: 0 8px 20px rgba(3, 127, 3, 0.08);
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.25;
  text-align: left;
}

.event-filter-section .kamp-city-trigger:hover,
.event-filter-section .kamp-city-trigger:focus-visible,
.event-filter-section .kamp-city-picker.is-open .kamp-city-trigger {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.14), 0 10px 22px rgba(3, 127, 3, 0.1);
  outline: none;
}

.event-filter-section .kamp-city-picker.is-disabled .kamp-city-trigger,
.event-filter-section .kamp-city-trigger:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  background: #f6f8f6;
  box-shadow: none;
}

.event-filter-section .kamp-city-picker.is-disabled .kamp-city-selected,
.event-filter-section .kamp-city-trigger:disabled .kamp-city-selected {
  color: #9ca3af;
  font-weight: 400;
}

.event-filter-section .kamp-city-trigger-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
}

.event-filter-section .kamp-city-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ecfdf5;
  font-size: 15px;
  flex: 0 0 auto;
}

.event-filter-section .kamp-city-selected {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #374151;
  font-size: 15px;
  font-weight: 400;
}

.event-filter-section .kamp-city-trigger-count,
.event-filter-section .kamp-city-badge {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 4px 8px;
  background: #e3f8e8;
  color: #026b02;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.event-filter-section .kamp-city-chevron {
  margin-left: 2px;
  color: #037f03;
  font-size: 18px;
  line-height: 1;
  transition: transform 0.18s ease;
}

.event-filter-section .kamp-city-picker.is-open .kamp-city-chevron {
  transform: rotate(180deg);
}

.event-filter-section .kamp-city-menu {
  display: none;
  position: absolute;
  z-index: 10;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 330px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid #d8eadb;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}

.event-filter-section .kamp-city-picker.is-open .kamp-city-menu {
  display: block;
}

.event-filter-section .kamp-city-search-wrap {
  position: sticky;
  top: -10px;
  z-index: 1;
  padding: 0 0 8px;
  margin-bottom: 6px;
  background: #fff;
  border-bottom: 1px solid #eef2f0;
}

.event-filter-section .kamp-city-search {
  width: 100%;
  border: 1px solid #dce9df;
  border-radius: 14px;
  padding: 8px 10px;
  background: #f8faf8;
  color: #111827;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
}

.event-filter-section .kamp-city-search::placeholder,
.event-filter-control::placeholder {
  color: #9ca3af;
  font-family: inherit;
  font-weight: 400;
}

.event-filter-section .kamp-city-option {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-radius: 14px;
  padding: 9px 10px;
  background: transparent;
  color: #1f2937;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  text-align: left;
}

.event-filter-section .kamp-city-option:hover {
  background: #f0fbf2;
}

.event-filter-section .kamp-city-option.is-selected {
  background: #e8f8eb;
  color: #025f02;
  font-weight: 600;
}

.event-filter-section .kamp-city-name {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-filter-section .kamp-city-empty {
  padding: 12px 10px;
  color: #6b7280;
  font-size: 13px;
}

.event-results-section {
  margin: 18px 0 0;
}

.event-results-section {
  width: 100%;
  max-width: none;
}

.event-results-section .liste-sonuc-baslik-satiri {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.event-results-section .liste-sonuc-sayac {
  font-size: 14px;
  color: #6b7280;
  margin: 8px 0;
}

.event-results-section .event-card-title {
  margin-bottom: 6px;
  color: #111827;
  font-weight: 700;
  line-height: 1.25;
}

.event-results-section .event-card-title a,
.event-results-section .event-card-title-link {
  color: #111827;
  text-decoration: none;
  font-weight: 700;
}

.event-results-section .event-card-title a:hover,
.event-results-section .event-card-title-link:hover {
  color: #037f03;
  text-decoration: none;
}

.event-results-section .event-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  color: #374151;
  font-size: 13px;
}

.event-results-section .event-meta-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  border-radius: 8px;
  padding: 4px 8px;
  border: 0;
  background: #ebfce9;
  color: #374151;
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
}

.event-results-section .event-meta-chip a {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}

.event-results-section .event-meta-chip a:hover {
  color: #037f03;
  text-decoration: none;
}

.event-results-section #yaklasanList.grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.event-results-section #yaklasanList.grid .liste-karti {
  height: 100%;
}

.event-results-section #yaklasanList.grid .liste-karti-icerik {
  height: 100%;
}

.event-results-section #yaklasanList.grid .liste-karti-aciklama,
.event-results-section #yaklasanList.grid .desc {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1280px) {
  .event-results-section #yaklasanList.grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .event-filter-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .event-filter-field--dates,
  .event-filter-switch,
  .event-filter-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .event-results-section #yaklasanList.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .event-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .event-filter-section {
    margin-top: 0;
  }

  .event-filter-card {
    padding: 14px;
    border-radius: 18px;
  }

  .event-filter-form,
  .event-date-range {
    grid-template-columns: 1fr;
  }

  .event-filter-actions {
    justify-content: stretch;
  }

  .event-filter-actions .btn {
    flex: 1 1 0;
  }

  .event-filter-section .kamp-city-trigger {
    border-radius: 16px;
    padding: 8px 10px;
  }

  .event-filter-section .kamp-city-trigger-count {
    display: none;
  }

  .event-filter-section .kamp-city-menu {
    width: 100%;
    max-width: 100%;
    max-height: 280px;
    border-radius: 18px;
  }

  .event-results-section #yaklasanList.grid {
    grid-template-columns: 1fr;
  }

}
