@import 'items-news.css';

main {
  .breadcrumbs {
    @media (max-width: 999px) {
      margin-bottom: 48px;
    }
  }
  h1 {
    font-size: 28px;
    letter-spacing: 2.24px;
    margin: 35px var(--margin) 46px;
  }
}
.loadMore {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  margin: 60px auto;
  font-size: 20px;
  letter-spacing: 1.2px;
  width: 220px;
  height: 52px;
  border: 1px solid #DADADA;
  border-radius: 26px;
}

.nav-links {
  margin: 103px 0;
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 18px;
  letter-spacing: 1.44px;

  > span,
  > a {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 0 4px;
  }
  .current {
    border-bottom: 1px solid #828282;
    padding-bottom: 8px;
  }

  .prev,
  .next {
    &:after {
      display: block;
      width: 14px;
      height: 15px;
    }
  }
  .prev {
    &:after {
      content: url(../image/arrow-mini-left.svg);
    }
  }
  .next {
    &:after {
      content: url(../image/arrow-mini-right.svg);
    }
  }
  /* 前のページがない場合 */
  &:not(:has(.prev)) {
    &:before {
      content: url(../image/arrow-mini-left.svg);
      opacity: 0.3;
    }
  }
  /* 次のページがない場合 */
  &:not(:has(.next)) {
    &:after {
      content: url(../image/arrow-mini-right.svg);
      opacity: 0.3;
    }
  }
}


html[lang="en"] {
  main {
    h1 {
      margin-top: -5px;
      margin-bottom: 60px;
      letter-spacing: 0.84px;
    }
  }
}

@media (max-width: 999px) {
  html[lang="en"] {
    main {
      h1 {
        margin-top: 49px;
        margin-bottom: 43px;
      }
    }
  }
}