.aoyea-component-news-list {
  position: relative;
  width: 100%;
  height: 791px;
  margin-top: 240px;
  background: var(--aoyea-color-page);
}

.aoyea-component-news-list .aoyea-news-list-toolbar {
  position: absolute;
  top: 205px;
  left: 50%;
  display: flex;
  width: min(var(--aoyea-content-width), calc(100% - 100px));
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
}

.aoyea-component-news-list .aoyea-news-list-tabs {
  display: flex;
  gap: 14px;
}

.aoyea-component-news-list .aoyea-news-list-tab {
  width: 157px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--aoyea-color-brand);
  border-radius: 23px;
  background: transparent;
  font-family: var(--aoyea-font-ui);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.aoyea-component-news-list .aoyea-news-list-tab--active {
  background: var(--aoyea-color-brand);
}

.aoyea-component-news-list .aoyea-news-list-tab:not(.aoyea-news-list-tab--active) {
  transition: background-color 180ms ease, color 180ms ease;
}

.aoyea-component-news-list .aoyea-news-list-tab:not(.aoyea-news-list-tab--active):hover,
.aoyea-component-news-list .aoyea-news-list-tab:not(.aoyea-news-list-tab--active):focus-visible {
  background: rgba(49,197,0,0.14);
}

.aoyea-component-news-list .aoyea-news-list-counter {
  margin: 0;
  font-family: var(--aoyea-font-ui);
  font-size: 28px;
  font-weight: 300;
  line-height: 20px;
}

.aoyea-component-news-list .aoyea-news-list-counter strong {
  font-weight: 700;
}

.aoyea-component-news-list .aoyea-news-list-grid {
  position: absolute;
  top: 285px;
  left: 50%;
  width: min(var(--aoyea-content-width), calc(100% - 100px));
  overflow: hidden;
  transform: translateX(-50%);
}

.aoyea-component-news-list .aoyea-news-list-track {
  display: flex;
  width: max-content;
  gap: 19px;
  transform: translate3d(0, 0, 0);
  transition: transform 650ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.aoyea-component-news-list .aoyea-news-list-grid {
  touch-action: pan-y;
}

.aoyea-component-news-list .aoyea-news-card {
  position: relative;
  width: 320px;
  flex: 0 0 320px;
  height: 379px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--aoyea-color-panel);
  box-shadow: inset 0 4px 6px rgba(92,92,92,0.4), inset 0 -4px 6px #3d3d3d;
}

.aoyea-component-news-list .aoyea-news-card time {
  position: absolute;
  z-index: 1;
  top: 32px;
  left: 34px;
  font-family: var(--aoyea-font-ui);
  font-size: 13px;
  font-weight: 300;
  line-height: 20px;
}

.aoyea-component-news-list .aoyea-news-card h3 {
  position: absolute;
  z-index: 1;
  top: 69px;
  left: 34px;
  width: 240px;
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 26px;
}

.aoyea-component-news-list .aoyea-news-card a {
  transition: color 180ms ease;
}

.aoyea-component-news-list .aoyea-news-card:hover a,
.aoyea-component-news-list .aoyea-news-card:focus-within a {
  color: var(--aoyea-color-brand);
}

.aoyea-component-news-list .aoyea-news-card > img {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 173px;
  object-fit: cover;
}

.aoyea-component-news-list .aoyea-news-card--dim > img {
  height: 100px;
  opacity: 0.25;
  object-position: center bottom;
}

.aoyea-component-news-list .aoyea-news-list-pagination {
  position: absolute;
  top: 721px;
  left: calc(50% - 359px);
  display: flex;
  width: min(976px, calc(100% - 100px));
  height: 70px;
  align-items: center;
  gap: 22px;
  transform: none;
}

.aoyea-component-news-list .aoyea-news-list-control {
  position: relative;
  display: grid;
  width: 71px;
  height: 70px;
  flex: 0 0 71px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease;
}

.aoyea-component-news-list .aoyea-news-list-control:hover:not(:disabled),
.aoyea-component-news-list .aoyea-news-list-control:focus-visible:not(:disabled) {
  transform: scale(1.06);
}

.aoyea-component-news-list .aoyea-news-list-control:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.aoyea-component-news-list .aoyea-news-control-bg {
  position: absolute;
  inset: 0;
  width: 71px;
  height: 70px;
}

.aoyea-component-news-list .aoyea-news-control-arrow {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 21px;
}

.aoyea-component-news-list .aoyea-news-list-control--prev .aoyea-news-control-arrow {
  transform: scaleX(-1);
}

.aoyea-component-news-list .aoyea-news-list-line {
  width: min(647px, 60vw);
  height: 1px;
  margin-left: 2px;
}

.aoyea-component-news-list .aoyea-news-list-more {
  display: inline-flex;
  width: 118px;
  height: 46px;
  flex: 0 0 118px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-left: 4px;
  border-radius: 23px;
  background: var(--aoyea-color-brand);
  font-family: var(--aoyea-font-ui);
  font-size: 14px;
  font-weight: 500;
}

.aoyea-component-news-list .aoyea-news-list-more:hover img,
.aoyea-component-news-list .aoyea-news-list-more:focus-visible img {
  transform: rotate(45deg);
}

.aoyea-component-news-list .aoyea-news-list-more img {
  width: 9px;
  height: 9px;
  transition: transform 220ms ease;
}

.aoyea-component-news-list .aoyea-news-list-empty {
  position: absolute;
  top: 285px;
  right: 0;
  left: 0;
  margin: 0;
  color: var(--aoyea-color-muted);
  font-family: var(--aoyea-font-ui);
  font-size: 16px;
  text-align: center;
}

@media (max-width: 1100px) {
  .aoyea-component-news-list {
    height: auto;
    margin-top: 160px;
    padding-bottom: 20px;
  }

  .aoyea-component-news-list .aoyea-news-list-toolbar,
  .aoyea-component-news-list .aoyea-news-list-grid,
  .aoyea-component-news-list .aoyea-news-list-pagination {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
  }

  .aoyea-component-news-list .aoyea-news-list-toolbar,
  .aoyea-component-news-list .aoyea-news-list-grid {
    width: min(920px, calc(100% - 64px));
    margin: 72px auto 0;
  }

  .aoyea-component-news-list .aoyea-news-list-grid {
    margin-top: 34px;
  }

  .aoyea-component-news-list .aoyea-news-list-track {
    width: 100%;
  }

  .aoyea-component-news-list .aoyea-news-card {
    width: calc((100% - 19px) / 2);
    flex-basis: calc((100% - 19px) / 2);
  }

  .aoyea-component-news-list .aoyea-news-list-pagination {
    width: min(920px, calc(100% - 64px));
    margin: 48px auto 0;
  }

  .aoyea-component-news-list .aoyea-news-list-empty {
    position: relative;
    top: auto;
    margin: 60px auto 0;
  }
}

@media (max-width: 600px) {
  .aoyea-component-news-list {
    margin-top: 130px;
  }

  .aoyea-component-news-list .aoyea-news-list-toolbar,
  .aoyea-component-news-list .aoyea-news-list-grid,
  .aoyea-component-news-list .aoyea-news-list-pagination {
    width: calc(100% - 40px);
  }

  .aoyea-component-news-list .aoyea-news-list-toolbar {
    align-items: flex-end;
  }

  .aoyea-component-news-list .aoyea-news-list-tabs {
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: row;
    gap: 9px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .aoyea-component-news-list .aoyea-news-list-tabs::-webkit-scrollbar {
    display: none;
  }

  .aoyea-component-news-list .aoyea-news-list-tab {
    width: 146px;
    flex: 0 0 146px;
    height: 42px;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .aoyea-component-news-list .aoyea-news-list-grid {
    overflow: hidden;
  }

  .aoyea-component-news-list .aoyea-news-list-track {
    width: max-content;
    gap: 19px;
  }

  .aoyea-component-news-list .aoyea-news-card {
    width: min(82vw, 320px);
    flex: 0 0 min(82vw, 320px);
  }

  .aoyea-component-news-list .aoyea-news-list-empty {
    position: relative;
    top: auto;
    margin: 60px 20px 0;
  }

  .aoyea-component-news-list .aoyea-news-list-line {
    display: none;
  }

  .aoyea-component-news-list .aoyea-news-list-pagination {
    gap: 14px;
  }

  .aoyea-component-news-list .aoyea-news-list-more {
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aoyea-component-news-list .aoyea-news-list-more,
  .aoyea-component-news-list .aoyea-news-list-track,
  .aoyea-component-news-list .aoyea-news-card a {
    transition: none;
  }

  .aoyea-component-news-list .aoyea-news-list-control {
    transition: none;
  }
}
