.top-news-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  margin-inline: auto;
  max-width: 1024px;
  margin-top: 12px;
}

.top-news {
  width: 100%;
  padding: 16px 24px;
  background-color: #fffa9d;
  cursor: pointer;
}

.top-news-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.top-news-button {
  display: block;
  width: 40px;
  min-width: 40px;
  height: 40px;
  background: #333;
  border-radius: 50%;
  position: relative;
}

.top-news-button:after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 8px solid #fffa9d;
  border-inline: 8px solid transparent;
  position: absolute;
  right: 0;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: auto;
  margin: auto;
}

.top-news-inner {
  font-weight: bold;
  .top-news-inner__date {
    font-size: 12px;
  }
  .top-news-inner__title {
    font-size: 20px;
    margin-top: 8px;
  }
}

.top-news-detail {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition: 0.3s;
}

.top-news.is-open {
  .top-news-button {
    transform: rotate(180deg);
  }
  .top-news-detail {
    padding-block: 8px;
    overflow: visible;
    height: auto;
    opacity: 1;
    transition: all 0.3s;
  }
}

@media screen and (min-width: 801px) {
  .top-news-inner {
    display: flex;
    gap: 8px;
    align-items: center;
    .top-news-inner__title {
      margin-top: 0px;
    }
  }
}
