.news-detail-contents {
  border-radius: 20px;
  background: #fff;
  padding: 9rem 0;
}
@media (max-width: 767px) {
  .news-detail-contents {
    margin: 0 1.5rem;
    padding: 5rem 1.5rem 6rem;
  }
}

.news-detail-title {
  font-size: 3.6rem;
  margin-bottom: 1em;
  padding-bottom: 1em;
  border-bottom: 1px solid;
}
@media (max-width: 767px) {
  .news-detail-title {
    font-size: 2.4rem;
    line-height: 1.6;
    padding-bottom: 0.5em;
    margin-bottom: 4rem;
  }
}

.news-list-contents .news-row {
  display: grid;
  grid-template-columns: 24rem 1fr;
  gap: 10rem;
}
@media (max-width: 767px) {
  .news-list-contents .news-row {
    display: block;
  }
}

.news-list {
  position: relative;
  z-index: 3;
}

.news-list-items {
  display: grid;
  gap: 2rem;
}
@media (max-width: 767px) {
  .news-list-items {
    gap: 2.5rem 2rem;
  }
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.news-tabs {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
@media (max-width: 767px) {
  .news-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
  }
}

.news-tab {
  width: 24rem;
  height: 5rem;
  border-radius: 3rem;
  display: flex;
  align-items: center;
  justify-content: start;
  font-weight: bold;
  padding: 0 3rem;
  --button-text-color: var(--color-black);
  --button-color: #fff;
  --button-before-bg: var(--accent1);
  --button-hover-text-color: #fff;
}
@media (max-width: 767px) {
  .news-tab {
    width: 100%;
    height: 4rem;
    font-size: 1.4rem;
    padding: 0 1rem;
    text-align: center;
    justify-content: center;
  }
}
