#mc_embed_signup {
  background-color: #0b5394;
  padding: 1em;
  margin: auto 0;
  text-align: center;
  position: relative;
}

/* ── Search page styles ── */
.search-wrap {
  padding: 24px 16px 40px;
  max-width: 800px;
  margin: 0 auto;
}

/*.search-wrap h1 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 1.8em;
  margin-bottom: 6px;
  color: #0b5494;
}*/

.search-wrap .search-subtitle {
  font-size: 0.9em;
  color: #777;
  margin-bottom: 20px;
}

.search-input-wrap {
  position: relative;
  margin-bottom: 14px;
}

.search-input-wrap i {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 15px;
}

#ceg-search-input {
  width: 100%;
  padding: 12px 14px 12px 38px;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 300;
  border: 1px solid #ccc;
  border-radius: 3px;
  outline: none;
  color: #333;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

#ceg-search-input:focus {
  border-color: #0b5394;
}

#ceg-search-input::placeholder {
  color: #aaa;
}

/* Filter pills */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
}

.filter-pill {
  padding: 5px 13px;
  border: 1px solid #ccc;
  border-radius: 20px;
  background: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  color: #555;
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: 0.03em;
}

.filter-pill:hover {
  border-color: #0b5394;
  color: #0b5394;
}

.filter-pill.active {
  background: #0b5394;
  border-color: #0b5394;
  color: #fff;
}

/* Results meta */
.results-meta {
  font-size: 12px;
  color: #999;
  margin-bottom: 12px;
  min-height: 18px;
  letter-spacing: 0.03em;
}

/* Result cards */
.results-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.result-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.result-card:hover {
  border-color: #0b5394;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
  text-decoration: none;
}

.result-badge {
  flex-shrink: 0;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 2px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  width: 64px;
  text-align: center;
}

.badge-artist   { background: #dff0d8; color: #3c7a3c; }
.badge-shop     { background: #d9eaf7; color: #1a5276; }
.badge-exhibit  { background: #fdebd0; color: #935116; }
.badge-category { background: #f2f3f4; color: #555; }
.badge-info     { background: #eaf0fb; color: #2e4057; }

.result-body {
  flex: 1;
  min-width: 0;
}

.result-name {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.05em;
  font-weight: 500;
  color: #222;
  display: block;
  margin-bottom: 2px;
}

.result-card:hover .result-name {
  color: #0b5394;
}

.result-desc {
  font-size: 12px;
  color: #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: 'Open Sans', sans-serif;
}

.result-category {
  flex-shrink: 0;
  font-size: 11px;
  color: #aaa;
  text-align: right;
  min-width: 80px;
  font-family: 'Open Sans', sans-serif;
}

/* State messages */
.state-message {
  text-align: center;
  padding: 48px 20px;
  color: #aaa;
}

.state-message .state-icon {
  font-size: 36px;
  margin-bottom: 12px;
  opacity: 0.5;
}

.state-message p {
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
}

.state-message strong { color: #555; }
.state-message a { color: #0b5394; }

/* Highlight */
mark {
  background: rgba(11,83,148,0.12);
  color: #0b5394;
  border-radius: 2px;
  padding: 0 1px;
}

@media screen and (max-width: 600px) {
  .result-category { display: none; }
  .result-badge { width: 52px; font-size: 9px; }
}