.list-container {
  display: flex;
  padding: 40px 16px;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  border-radius: 16px;
  background: white;
}

.content {
  cursor: pointer;
  padding: 28px 35px;
  width: 100%;
  text-align: start;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 28px;
  &:first-child {
    padding-top: 0px;
  }
}

.photo-tab {
  gap: 60px;
}

.writer {
  white-space: nowrap;
  display: flex;
  justify-content: flex-end;
}

.tab {
  display: flex;
  gap: 20px;
}

.tab-item {
  cursor: pointer;
  display: flex;
  width: 265px;
  padding: 12px 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;

  color: var(--color-sub-2);
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px; /* 125% */
}

.tab-item.active {
  color: var(--color-point);
  font-size: 18px;
  border-bottom: 4px solid var(--color-point);
}

.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

.notice-photo {
  object-fit: cover;
  width: 100%;
  max-width: 120px;
  max-height: 180px;
}

.photo-tab-text {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding-top: 16px;
}

.photo-tab-writer {
  display: flex;
  width: 100%;
  justify-content: flex-end;
}

.notice-detail-img {
  width: 100%;
  height: 100%;
  max-width: 580px;
  max-height: 870px;
}

@media (max-width: 1440px) {
  .list-container {
    padding: 32px 8px;
    gap: 20px;
  }

  .content {
    gap: 12px;
    padding: 20px 15px;
    flex-direction: column;
    &:first-child {
      padding-top: 0px;
    }
  }

  .writer {
    flex-direction: column;
  }

  .tab {
    white-space: nowrap;
    overflow-x: scroll;
  }

  .tab-item {
    /* width: 120px; */
    width: 100%;
  }

  .photo-tab-text {
    gap: 12px;
    padding-top: 8px;
  }

  .photo-tab-writer {
    flex-direction: column;
  }

  .notice-photo {
    max-width: 120px;
    max-height: 180px;
  }
}
