/* Storico page specific styling */

/* Remove border-top for archive page sections */
.section {
  border-top: none;
}

/* Search bar styles */
.search-bar {
  margin-bottom: 1.5rem;
}

.search-input-container {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.search-input {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 25px;
  font-size: 1rem;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: all 0.3s ease;
  outline: none;
}

.search-input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(123, 22, 255, 0.1);
}

.search-clear {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.search-clear:hover {
  background: var(--bg-accent);
  color: var(--text-primary);
}

.search-clear.visible {
  display: flex;
}

.search-results-count {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
}
.year-group {
  margin-bottom: 4rem;
  padding: 1.5rem 0;
}

.year-group:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 3rem;
}

.year-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent-color);
  position: relative;
}

.year-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--accent-color);
  opacity: 0.7;
}

.year-articles {
  border-left: 3px solid var(--border-color);
  padding-left: 2rem;
  margin-left: 1rem;
}

.article-list-item {
  margin-bottom: 2.5rem;
  padding: 1.5rem 2rem 1.5rem 1.5rem;
}

.article-list-item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Override IntersectionObserver effects for archive page */
body .section {
  opacity: 1 !important;
  transform: none !important;
}