.document-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.document-card {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s;
}
.document-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.doc-section {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.doc-section a {
  text-decoration: none;
  color: #507564;
  font-weight: 100;
}

.doc-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.doc-meta {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 12px;
}

.doc-button {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.85rem;
  background: #00a859;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}
.doc-button:hover {
  background: #007a45;
}
/* Контейнер пагинации */
.pager {
  display: flex;
  justify-content: center;
  margin: 24px 0 8px;
}

.pager__list {
  display: inline-flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}


.pager__link,
.pager__dots {
  display: inline-flex;
  min-width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  line-height: 1;
  background: #fff;
  color: #000;
  border: none;
  transition: background 0.2s, color 0.2s;
}


.pager__link:hover {
  background: #00a859;
  color: #fff;
}


.pager__link.is-active {
  background: #00a859;
  color: #fff;
}


.pager__dots {
  color: #000;
}


.pagerprev, .pagernext {
  padding: 0 14px;
  min-width: 40px;
}


.pager__link.is-disabled {
  opacity: .35;
  pointer-events: none;
}

/* ===== SEARCH BAR ===== */
.searchbar{
  display:flex;
  align-items:center;
  gap:10px;
  max-width:820px;
  margin:16px auto 12px;
  background:#f5f7f9;
  border-radius:999px;
  padding:6px;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.06);
}
.searchbar__input{
  flex:1;
  height:46px;
  border:none;
  outline:none;
  background:transparent;
  padding:0 14px 0 16px;
  font-size:16px;
}
.searchbar__input::placeholder{ color:#98a2ad; }

.searchbar__btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  height:42px;
  padding:0 16px;
  border:none;
  border-radius:999px;
  background:#00a859;
  color:#fff;
  font-weight:600;
  cursor:pointer;
  transition:filter .15s ease;
}
.searchbar__btn:hover{ filter:brightness(1.1); }
.searchbar__icon{ display:block; }

/* ===== CHIPS (плашки) ===== */
.chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:10px auto 18px;
  max-width:920px;
}
.chips--years{ margin-top:2px; }

.chip{
  display:inline-flex;
  align-items:center;
  height:34px;
  padding:0 12px;
  border-radius:10px;
  background:#0e1a2e;
  color:#dfe6ee;
  text-decoration:none;
  font-size:14px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);
  transition:transform .06s ease, filter .15s ease;
}
.chip:hover{ filter:brightness(1.1); }
.chip--active{
  background:#24b25c;
  color:#fff;
}


@media (max-width:640px){
  .searchbar{ margin:10px 12px; }
}

.chip {
    background-color: #4CAF50;
    color: white;
    border-radius: 16px;
    padding: 6px 12px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.chip:hover {
    background-color: #45a049;
}


.chip--active {
    background-color: #2e7d32;
    color: white;
}
.filter-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 30px;
  margin: 30px auto;
  background: #f5f7f9;
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.chip-input,
.chip-select {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #cfd8dc;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.chip-input:focus,
.chip-select:focus {
  border-color: #24b25c;
  box-shadow: 0 0 0 2px rgba(36,178,92,0.2);
  outline: none;
}

.chip-btn {
  grid-column: span 2;
  padding: 12px;
  border-radius: 8px;
  background: #24b25c;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}

.chip-btn:hover {
  background: #1e8f49;
}

