/* FILTERS (Brikk style) */
.ap-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 25px;
  background: #75CFA221;
  padding: 60px;
  border-radius: 20px;
}

.ap-filters select,
.ap-filters input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 14px;
  min-width: 180px;
  transition: all 0.2s ease;
  height: 60px;
}

.ap-filters select:focus,
.ap-filters input:focus {
  outline: none;
  border-color: #6366f1;
}

/* LIST */
.ap-item {
  padding: 18px 0;
  border-bottom: 1px solid #f1f1f1;
}

/* CATEGORY BADGE */
.ap-meta a {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  background: #f3f4f6;
  padding: 4px 10px;
  border-radius: 999px;
  text-decoration: none;
  margin-bottom: 6px;
}

/* TITLE */
.ap-item h3 {
  font-size: 18px;
  margin: 5px 0;
  font-weight: 600;
  color: #111827;
}

/* DESCRIPTION */
.ap-item p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}

/* PAGINATION */
.ap-pages {
  margin-top: 25px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ap-page {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ap-page:hover {
  background: #f3f4f6;
}

.ap-page.active {
  background: #111827;
  color: #fff;
  border-color: #111827;
}
.ap-item {
  transition: all 0.2s ease;
}

.ap-item:hover {
  transform: translateY(-2px);
}

select#ap-type {
    width: 48%;
}
input#ap-date {
    width: 48%;
}

.ap-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 6px;
  padding: 3px 8px;
  border-radius: 6px;
  background: #e5e7eb;
  color: #374151;
}

.ap-selected {
  background: #111827;
  color: #fff;
}
/* FUTURE ITEM */
.ap-highlight {
  background: #f0f9ff;
  border-left: 3px solid #0ea5e9;
  padding-left: 15px;
}

/* FUTURE BADGE */
.ap-future {
  background: #0ea5e9;
  color: #fff;
}
.ap-highlight {
  animation: fadeHighlight 0.3s ease;
}

@keyframes fadeHighlight {
  from { background: #e0f2fe; }
  to { background: #f0f9ff; }
}

.ap-item.ap-highlight {
    /*border-bottom: 1px solid;*/
    margin-bottom: 50px;
}

.ap-count {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.ap-count::after {
  content: '';
  display: block;
  height: 1px;
  background: #e5e7eb;
  margin-top: 10px;
}

@media(max-width:768px){
  select#ap-type {
    width: 100%;
  }
  input#ap-date {
      width: 100%;
  }
}