header {
   height: auto;
}

.gallery,
.mob__gallery {
   background-color: transparent;
   padding-top: 80px;
   margin-bottom: 50px;
}

/* ------- Filtr Gallery --------- */
.gallery-filters {
   margin-bottom: 20px;
}

.filter-btn {
   color: #212121;
   font-weight: 500;
   padding: 10px 20px;
   margin-top: 6px;
   margin-right: 6px;
   margin-bottom: 6px;
   cursor: pointer;
   background-color: #fff4e5;
   border: 1px solid #ffebce;
   border-radius: 5px;
   box-shadow: 1px 1px 1px rgba(121, 121, 121, 0.1);
   transition:
      background-color 0.3s,
      box-shadow 0.3s;
}
.filter-btn:hover {
   background-color: #fce9ce;
}
.filter-btn.active {
    background-color: #333;
    color: #fff;
    border: 1px solid #333;
}

/* --- PAGINATION --- */
.custom__pagination {
   margin-top: 60px;
   margin-bottom: 60px;
}
.custom__pagination-list {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 8px;
   list-style: none;
   padding: 0;
}
.custom__pagination-list li {
   display: inline-block;
   margin-bottom: 20px;
}
.custom__pagination-list a,
.custom__pagination-list span {
   padding: 10px 16px;
   border: 1px solid #ddd;
   border-radius: 4px;
   text-decoration: none;
   color: #333;
   transition: 0.2s;
}
.custom__pagination-list a:hover {
   background-color: #f1f1f1;
}
.custom__pagination-list .active span {
   background-color: #121212;
   color: #fff;
   border-color: #121212;
}
.custom__pagination-list .disabled span {
   color: #bbb;
   pointer-events: none;
   background-color: #f5f5f5;
}

@media (max-width: 1216px) {
   .gallery__wrapper {
      justify-content: space-evenly;
   }
}

@media (max-width: 600px) {
   .gallery,
   .mob__gallery {
      padding-top: 50px;
   }
}

@media (max-width: 480px) {
   .gallery-title {
      margin-bottom: 30px;
   }
   .custom__pagination {
      margin-top: 40px;
   }
   .gallery,
   .mob__gallery {
      padding-bottom: 40px;
   }
}