@use 'utils/base' as *;

/* 보도자료 목록 */
.news-intro {
  margin-bottom: rem(60);
}
.news-items {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, rem(280)), 1fr));
  gap: rem(40);
  margin-bottom: rem(42);
}
.news-item {
  padding: rem(20);
  border: 1px solid rgba($gray-light, 0.5);
  &:hover {
    background-color: $gray-light;
  }
}
.news-item-figure {
  position: relative;
  margin-bottom: rem(23);
}
.news-item-content {
  padding-bottom: rem(10);
}
.news-item-info {
  margin-bottom: rem(10);
}
@media screen and (max-width: $breakpoint-md) {
  .news-intro {
    margin-bottom: rem(40);
  }
  .news-item-figure {
    &::after {
      background-size: 10vw;
    }
  }
}
