/* style.css */

.ee-advanced-filters-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Section des filtres */
.ee-filters-container {
  background: #f8f9fa;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  align-items: end;
}

.ee-filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-block-end: 1rem;
}

.ee-filter-group label {
  font-weight: 600;
  font-size: 14px;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ee-filter-select,
.ee-filter-input,
.ee-date-first-search {
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: white;
}

.ee-filter-select:focus,
.ee-filter-input:focus {
  outline: none;
  border-color: #4caf50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.ee-filter-actions {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.tt_ee_filter_basic_date {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.link-advanced-filter {
  display: flex;
  justify-content: flex-end;
  margin-block: 8px;
  span {
    color: #000;
    display: flex;
    align-items: center;
  }
  svg {
    path {
      fill: #000;
    }
  }
}
/* custom input type checkbox  */
input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  appearance: none;
  background-color: white;
  margin: 0;
  position: relative;
  top: 3px;
}

input[type="checkbox"]:checked {
  background-color: #d61818;
  border-color: #ffffff;
}
.ee-btn {
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  .tt-ee-advanced-filters-wrapper & {
    margin-block-end: 1rem;
  }
}

input[type="date" i] {
  font-family: "Inter", sans-serif;
  color: rgba(117, 117, 117);
  font-size: 15px;
}

.ee-btn-primary {
  background: #4caf50;
  color: white;
}

.ee-btn-primary:hover {
  background: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.ee-btn-secondary {
  background: #6c757d;
  color: white;
}

.ee-btn-secondary:hover {
  background: #5a6268;
  transform: translateY(-2px);
}

/* Grille d'événements */
.ee-events-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.ee-event-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.ee-event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.ee-event-image {
  width: 100%;
  overflow: hidden;
  background: #f0f0f0;
  aspect-ratio: 315 / 455;
}

.ee-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ee-event-card:hover .ee-event-image img {
  transform: scale(1.08);
}

.ee-event-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ee-event-title {
  margin: 0 0 12px 0;
  font-size: 20px;
  line-height: 1.4;
}

.ee-event-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ee-event-title a:hover {
  color: #4caf50;
}

.ee-event-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  color: #666;
  font-size: 14px;
}

.ee-event-date,
.ee-event-venue {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ee-event-date svg,
.ee-event-venue svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.ee-event-excerpt {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.ee-event-link {
  display: inline-flex;
  align-items: center;
  color: #4caf50;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  margin-top: auto;
}

.ee-event-link:hover {
  color: #45a049;
  gap: 8px;
}

/* États de chargement et d'erreur */
.ee-loading,
.ee-no-results,
.ee-error {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-size: 18px;
}

.ee-loading {
  color: #4caf50;
}

.ee-error {
  color: #dc3545;
}

/* Responsive */
@media (max-width: 768px) {
  .ee-filters-container {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .ee-filter-actions {
    flex-direction: column;
    width: 100%;
  }

  .ee-btn {
    width: 100%;
  }

  .ee-events-grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .ee-advanced-filters-wrapper {
    padding: 10px;
  }

  .ee-event-content {
    padding: 16px;
  }
}

.ee-filters-container {
  position: relative;
  background: rgba(255, 228, 164, 1);
}
label[for="ee-cat-select"] {
  margin-right: 24px;
}

.ee-filter-select,
.ee-filter-input {
  width: inherit;
}
.ee-filter-select:focus,
.ee-filter-input:focus {
  border-color: red;
}
.ee-btn-primary,
.ee-btn-primary:hover {
  background: red;
}
.select2-container--default.select2-container--focus
  .select2-selection--multiple,
.select2-container--default .select2-selection--multiple {
  border: none !important;
  border-radius: 8px !important;
  height: 43px !important;
}
.select2-container .select2-search--inline {
  float: left;
  position: relative;
  top: -8px;
  left: 12px;
}
.ee-filter-select,
.ee-filter-input {
  border: none;
}
.ee-loading {
  color: red;
}
.ee-pagination-dv-filter > * {
  padding: 5px;
  display: inline-block;
}
.ee-pagination-dv-filter {
  margin-top: 35px;
}
.page-numbers.current {
  background: red;
  border-radius: 100px;
  width: 20px;
  text-align: center;
}
.ee-pagination-dv-filter > a {
  text-decoration: underline;
}

.ee-filter-group.tt_ee_filter_categories > div {
  color: #000;
}
@media (min-width: 769px) {
  .ee-filters-container {
    position: relative;
    display: block;
  }
  .ee-filter-group.tt_ee_filter_categories {
    display: flex;
    margin-bottom: 22px;
    flex-direction: row;
    align-items: flex-end;
    flex-wrap: wrap;
  }
  .ee-filter-group.tt_ee_filter_categories label:first-child {
    display: block;
    margin: 0;
    margin-inline-end: 0.5rem;
  }
  .ee-filter-group.tt_ee_filter_categories > div {
    display: inline-block;
    margin: 5px 10px 0 0;
  }
  .tt_other_ee_filter_wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
  }
}
@media (max-width: 768px) {
  .ee-filters-container {
    display: block;
  }
  .select2.select2-container.select2-container--default {
    width: 100% !important;
  }
  .ee-filter-group.tt_ee_filter_date_end {
    margin-bottom: 15px;
  }
  .ee-filter-group.tt_ee_filter_categories {
    margin: 15px 0;
  }
}

.basic-filter-container {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.espresso-notices-msg .tiny-text{
    display: none!important;
}
