/* ══════════════════════════════════════════
   Fredsondrinks Rezept-Index – CSS v1.0.0
   ══════════════════════════════════════════ */

.fsd-idx {
  max-width: 680px;
  margin: 0 auto;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* ── Suchleiste ── */
.fsd-idx__search-wrap {
  position: relative;
  margin-bottom: 36px;
}

.fsd-idx__search {
  width: 100%;
  padding: 14px 44px 14px 18px;
  font-size: 1rem;
  border: 2px solid #e0dbd4;
  border-radius: 4px;
  outline: none;
  background: #fff;
  color: #1a1a1a;
  box-sizing: border-box;
  transition: border-color 0.15s;
}

.fsd-idx__search:focus {
  border-color: #c0392b;
}

.fsd-idx__search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  pointer-events: none;
}

/* ── Keine Treffer ── */
.fsd-idx__no-results {
  color: #999;
  font-size: 0.95rem;
  padding: 12px 0;
}

/* ── Buchstabengruppe ── */
.fsd-idx__group {
  margin-bottom: 28px;
}

.fsd-idx__group[hidden] {
  display: none;
}

.fsd-idx__letter {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: #c0392b !important;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
  border: none !important;
  line-height: 1 !important;
}

/* ── Listeneinträge ── */
.fsd-idx__items {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-left: 3px solid #f0e8e6;
  padding-left: 16px !important;
}

.fsd-idx__item {
  padding: 5px 0;
  border-bottom: 1px solid #f7f3f1;
}

.fsd-idx__item:last-child {
  border-bottom: none;
}

.fsd-idx__item[hidden] {
  display: none;
}

.fsd-idx__link {
  color: #333 !important;
  text-decoration: none !important;
  font-size: 0.95rem;
  transition: color 0.1s;
}

.fsd-idx__link:hover {
  color: #c0392b !important;
  text-decoration: underline !important;
}

/* ── Highlight bei Suche ── */
.fsd-idx__link mark {
  background: #fde8e6;
  color: #c0392b;
  border-radius: 2px;
  padding: 0 2px;
  font-style: normal;
}

/* ── Leer-Zustand ── */
.fsd-idx-empty {
  color: #aaa;
  font-style: italic;
}

@media (max-width: 480px) {
  .fsd-idx__letter {
    font-size: 1.2rem !important;
  }
  .fsd-idx__search {
    font-size: 0.95rem;
    padding: 12px 40px 12px 14px;
  }
}
