.filters-title {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  background-color: #f4f1ec;
  padding: 0.5rem 2rem;
  width: 100%;
  position: relative;

  &:before {
    content: "";
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translate(0, -50%);
    width: 32px;
    height: 50px;
    background: linear-gradient(
      90deg,
      rgba(255, 175, 64, 0.3) 0%,
      rgba(255, 255, 255, 0.3) 100%
    );
    z-index: 1;
  }
}
.catalog-filters {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: var(--bg);
  width: 100%;
  padding: 1.5rem 1.5rem 1.5rem 0;
  box-shadow: 3px 0px 8px rgba(96, 74, 47, 0.12);
}

.main-page {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.all-articles {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-block: 2rem;
}
.all-articles-content {
  display: flex;
  gap: 1.5rem;
}
.catalog-aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 280px;
  flex-shrink: 0;
  position: sticky;
  bottom: 0px;
}
.small-line {
  width: 14px;
  height: 2px;
  background: rgba(135, 122, 106, 0.55);
}
.aside-section {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  gap: 0.5rem;
  transition: 0.3s;
}
.catalog-call {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem;
  gap: 1rem;
  height: 430px;
  min-height: 430px;
  background: url(../img/catalog/call-img.png),
    linear-gradient(
      163.93deg,
      rgba(74, 66, 55, 0) 49.91%,
      rgba(201, 158, 82, 0.41) 71.28%
    ),
    #4a4237;
  background-repeat: no-repeat;
  background-position: right bottom 40px, 0 0;
  color: #ffefdd;
}

.all-articles-list {
  gap: 1.5rem;
  display: flex;
  flex-direction: column;
  font-size: 22px;
  & li {
    gap: 1rem;
    display: flex;
    & span {
      font-weight: 700;
      color: #ca9232;
    }
  }
}
.small-text:hover {
  color: #9b6d36;
  transition: 0.3s;
}
.news-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.catalog-manager {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 1.5rem;
  padding: 1.5rem;
  padding-top: calc(2rem + 40px);
  min-height: 210px;
  grid-row: 2;
  grid-column: 1 / -1;
  background: url("../img/catalog/manager-img.png"),
    linear-gradient(
      129.44deg,
      rgba(0, 0, 0, 0) 26.76%,
      rgba(201, 158, 82, 0.12) 73.24%
    ),
    linear-gradient(to bottom, transparent 40px, #4a4237 40px);
  background-repeat: no-repeat;
  background-position: left bottom, 0 40px, 0 0;
  background-size: 361px 199px, auto, auto;
  color: #ffefdd;
  position: relative;

  &:before {
    content: "";
    position: absolute;
    background: linear-gradient(
      to right,
      rgba(198, 181, 149, 0) 0%,
      #fff5e6 50%,
      rgba(198, 181, 149, 0) 100%
    );

    width: 60%;
    height: 2px;
    right: 1.5rem;
    top: calc(40px + 1.5rem);
  }

  &:after {
    content: "";
    position: absolute;
    background: linear-gradient(
      to right,
      rgba(198, 181, 149, 0) 0%,
      #fff5e6 50%,
      rgba(198, 181, 149, 0) 100%
    );

    width: 60%;
    height: 2px;
    right: 3.5rem;
    bottom: 1.5rem;
  }
}

.catalog-manager-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.catalog-manager-title {
  font-family: var(--font-secondary);
  font-size: 2rem;

  span {
    color: #d3d073;
  }
}
@media all and (max-width: 1600px) {
  .news-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media all and (max-width: 1279px) {
  .catalog-filters-btn-mob {
    display: flex;
  }

  .catalog-aside {
    position: fixed;
    top: 60px;
    left: 0;
    z-index: 100;
    width: 100%;
    background: #fff;
    overflow: auto;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s;
  }

  .catalog-aside.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}
@media all and (max-width: 1023px) {
  .catalog-manager {
    flex-direction: column;
    min-height: 570px;
    padding-bottom: 2.5rem;
    background-position: left top, 0 40px, 0 0;
    background-size: 600px 331px, auto, auto;

    &:before {
      right: 50%;
      top: unset;
      bottom: 13rem;
      transform: translate(50%);
    }

    &:after {
      right: 50%;
      transform: translate(50%);
      bottom: 1rem;
    }
  }
}
@media all and (max-width: 767px) {
  .main-images {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalog-manager {
    grid-row: 5;
    min-height: 450px;
    background-size: 350px 193px, auto, auto;

    &:before {
      bottom: 15rem;
      width: 80%;
    }

    &:after {
      width: 80%;
    }
  }
  .catalog-manager-title {
    font-size: 1.5rem;
  }
}
@media all and (max-width: 767px) {
  .close-filters {
    display: block;
  }
  .catalog-aside {
    max-width: unset;
  }
  .news-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media all and (max-width: 480px) {
  .news-card-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
