/* Wortliste */
.letter-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px 20px;
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

.letter-list li a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 15px;
}

.letter-list li a:hover {
    color: var(--main-color);
    text-decoration: underline;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 30px 0;
}

.pagination a {
    padding: 6px 12px;
    border-radius: 6px;
    background: var(--bg-soft);
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
}

.pagination a.active {
    background: var(--main-color);
    color: #fff;
}

.pagination a.page-arrow {
    font-weight: 700;
}
.breadcrumb {
    font-size: 14px;
    margin-bottom: 15px;
    color: #666;
}

.breadcrumb a {
    color: var(--main-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}
.dict-header {
  text-align: center;
  margin-bottom: 2rem;
}

.alphabet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: 1rem;
  max-width: 600px;
  margin: 2rem auto;
}

.letter-box {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  background: #fff;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  color: #111;
  box-shadow: 0 4px 10px rgba(0,0,0,.06);
  transition: all .2s ease;
}

.letter-box:hover {
  background: #11c375;
  color: #fff;
  transform: translateY(-2px);
}
.last-searches {
  max-width: 600px;
  margin: 2rem auto;
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.last-searches h2 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.last-searches ul {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  list-style: none;
  padding: 0;
}

.last-searches a {
  background: #f2f2f2;
  padding: .4rem .7rem;
  border-radius: 6px;
  font-size: .9rem;
  text-decoration: none;
  color: #111;
}

.last-searches a:hover {
  background: #11c375;
  color: #fff;
}
.sidebar {
  background: #fff;
  padding: 1.2rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.sidebar h3 {
  margin-bottom: .8rem;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  margin-bottom: .4rem;
}

.sidebar a {
  text-decoration: none;
  color: #111;
}

.sidebar a:hover {
  color: #11c375;
}
