.archive__header {
  background: url('https://mhlhidraulica.com.br/wp-content/themes/artneo-static/assets/bg-texture.webp');
  min-height: 180px;
  background-size: cover;
  padding-top: 46px;
}
.archive__header_container {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding-bottom: 60px;
}
.archive__title_container {
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.archive__title {
  flex-shrink: 0;
  font-size: var(--h2-size);
  line-height: var(--h2-line-height);
}
.archive__list {
  display: grid;
  gap: 20px;
  margin-top: -36px;
  position: relative;
}
.archive__btns_container {
  position: relative;
}
.archive__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: absolute;
  top: -38px;
  right: 10px;
}

@media(max-width: 1000px) {
  .archive__btns {
    position: unset;
    padding-bottom: 24px;
    margin-top: -24px;
  }
  .archive__list {
    grid-template-columns: repeat(auto-fit, calc(50% - 10px));
  }
}

/* Cards */
.archive_1__item {
  box-shadow: var(--box-shadow-next);
  border-radius: 6px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 250ms;
}
@media(hover: hover) {
  .archive_1__item_link:hover .archive_1__item {
    transform: translateY(-4px);
    transition: transform 125ms;
  }
  .no-animation .archive_1__item_link:hover .archive_1__item {
    transform: unset;
  }
}
.archive_1__item_image {
  padding: 4px;
  padding-bottom: 0;
  display: grid;
}
.archive_1__item_image > * {
  grid-area: 1/1;
}
.archive_1__item_image > *:last-child {
  z-index: 1;
}
.archive_1__item_image_loading {
  background-color: var(--slate-200);
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.archive_1__item_image_loading::after {
  content: "";
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .2) 20%, rgba(255, 255, 255, .5) 60%, rgba(255, 255, 255, 0));
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translate(-100%);
  animation: shimmer 1.2s infinite;
}
.archive_1__item_image img {
  border-radius: 4px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  height: 100%;
}
.archive_1__item_content {
  padding: 16px;
  padding-bottom: 20px;
  text-align: center;
  gap: 4px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.archive_1__item_title {
  font-size: calc(14 / 16 * 1rem);
  line-height: 20px;
  color: var(--slate-700);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(20px * 2);
}
.archive_1__item_excerpt {
  font-size: calc(12 / 16 * 1rem);
  line-height: 16px;
  color: var(--slate-600);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(20px * 2);
}

/* Pagination */
.nav-links {
  display: flex;
  flex-wrap: wrap;
  margin-top: 40px;
  gap: 4px;
}
.nav-links > * {
  display: block;
  width: 40px;
  height: 40px;
  background-color: var(--slate-50);
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: calc(14 / 16 * 1rem);
  line-height: 20px;
  font-weight: 600;
  color: var(--slate-500);
  flex-shrink: 0;
}
.nav-links > *:hover {
  background-color: var(--slate-100);
}
.nav-links > .current {
  color: var(--main);
  background-color: var(--slate-100);
  pointer-events: none;
}
.archive__pagination--custom_color .nav-links > .current {
  background-color: transparent;
  border: 1px solid;
}
.nav-links > .dots {
  pointer-events: none;
}

@media (max-width: 1000px) {
  .archive__list {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 500px) {
  .archive__list {
    grid-template-columns: 1fr !important;
  }
}