/* Page-specific styles are mobile-first. Global variables are defined in main.css */
.dictionary-container {
  box-sizing: border-box;
  padding: 16px;
  max-width: var(--max-content-width);
  margin: 0 auto;
  width: 100%;
}

h1 {
  text-align: center;
  color: var(--accent);
  margin-bottom: 24px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 8px;
  font-size: 1.4rem;
}

.term {
  margin-bottom: 18px;
  background: var(--surface);
  border-left: 4px solid var(--accent);
  padding: 12px;
  border-radius: 8px;
  transition: transform 0.12s ease, background 0.18s ease;
}

.term:hover {
  transform: translateY(-3px);
  background: #222;
}

.term h2 {
  margin: 0 0 8px;
  color: #4dd0e1;
  font-size: 1.15rem;
}

.term p {
  margin: 0;
  color: var(--fg);
  line-height: 1.6;
}

@media screen and (min-width: 1024px) {
  .dictionary-container { padding: 40px; }
  h1 { font-size: 1.6rem; margin-bottom: 40px; padding-bottom: 10px; }
  .term { margin-bottom: 28px; padding: 16px 20px; }
}
