:root {
  --visited-color: #999;
}

/* boardList */
#boardList {
  width: 100%;
  font-size: 1em;
  background-color: #fff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 2px 30px 0 rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}

[data-theme='dark'] #boardList {
  background-color: rgba(255, 255, 255, 0.1);
}

#boardList .item {
  height: 80px;
  display: flex;
  justify-content: space-between;
  padding: 15px;
  border-bottom: 0;
}

[data-theme='dark'] #boardList .item {
  color: rgba(255, 255, 255, 0.7);
}

#boardList .item:visited {
  color: var(--visited-color);
}

[data-theme='dark'] #boardList .item:visited {
  color: #999;
}

#boardList .item .info {
  flex: 1;
  width: 80%;
}

#boardList .item .titleContainer {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

#boardList .item .category {
  color: #697183;
  background-color: #f5f6f9;
  border-radius: 6px;
  padding: 4px 6px;
  margin-right: 8px;
  font-size: 0.9em;
  word-break: keep-all;
  box-sizing: border-box;
}

[data-theme='dark'] #boardList .item .category {
  color: rgba(255, 255, 255, 0.7);
  background-color: rgba(255, 255, 255, 0.1);
}

#boardList .item .title {
  font-size: 1.2em;
  font-weight: bold;
  text-overflow: ellipsis;
  overflow: hidden;
}

#boardList .item .commentCount {
  font-size: 0.9em;
  color: #9da5b6;
  margin-left: 10px;
  margin-right: 10px;
}

#boardList .item .etc {
  color: #9da5b6;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 5px 0;
  font-size: 0.9em;
}

#boardList .item .info svg {
  width: 10px;
  height: 10px;
  margin-right: 4px;
  background-repeat: no-repeat;
  background-position: center;
}

#boardList .item .info .commentCount svg {
  width: 14px;
  height: 14px;
}

#boardList .item .image {
  position: relative;
  width: 70px;
  height: 100%;
}

#boardList .item .image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

#boardList .item .image .count {
  position: absolute;
  right: 0;
  bottom: 0;
  color: #fff;
  font-size: 0.7em;
  padding: 2px 6px;
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.3);
  margin-right: 5px;
  margin-bottom: 10px;
}

#boardList .line {
  border-bottom: 1px solid var(--line-color);
  margin: 0 15px;
}

[data-theme='dark'] #boardList .line {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#boardList .line:last-child {
  display: none;
}

@media (max-width: 1280px) {
  #boardList .item .title {
    font-size: 1em;
  }
}

/* galleryList */
#galleryList {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

#galleryList .item {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 2px 30px 0 rgba(0, 0, 0, 0.06);
}

[data-theme='dark'] #galleryList .item {
  background-color: rgba(255, 255, 255, 0.1);
}

#galleryList .item:visited {
  color: var(--visited-color);
}

[data-theme='dark'] #galleryList .item:visited {
  color: #999;
}

#galleryList .item .category,
#galleryList .item .notice {
  color: #697183;
  background-color: #f5f6f9;
  border-radius: 6px;
  padding: 4px 6px;
  margin-right: 8px;
  font-size: 0.9em;
  word-break: keep-all;
  box-sizing: border-box;
}

#galleryList .image {
  position: relative;
  width: 100%;
  padding: 0;
  padding-bottom: 78.43%;
  margin: 0;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

#galleryList .image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

#galleryList .info {
  padding: 20px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

#galleryList .info .titleContainer {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 10px;
  word-break: break-all;
}

#galleryList .info .titleContainer .commentCount {
  color: #9da5b6;
}

#galleryList .info .titleContainer .commentCount svg {
  width: 14px;
  height: 14px;
  margin-left: 4px;
  margin-right: 4px;
}

#galleryList .info .etc {
  font-size: 0.8em;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: #9da5b6;
}

#galleryList .info .etc .nickName {
  word-break: break-all;
}

@media (max-width: 1280px) {
  #galleryList {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* bookmarkList */
#bookmarkList {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

#bookmarkList.bookmarkThree {
  grid-template-columns: repeat(3, 1fr);
}

#bookmarkList.bookmarkFour {
  grid-template-columns: repeat(4, 1fr);
}

#bookmarkList.bookmarkFive {
  grid-template-columns: repeat(5, 1fr);
}

#bookmarkList .item {
  border: 1px solid rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /* background-color: #fff; */
  box-sizing: border-box;
  padding: 6px;
}

#bookmarkList .item .image {
  width: 100%;
}

#bookmarkList .item .image img {
  width: 100%;
}

#bookmarkList .item .info {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#bookmarkList .item .info div {
  flex: 1;
  width: 100%;
  padding: 6px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 6px 0;
  border-bottom: 2px solid rgba(0, 0, 0, 0.3);
}

#bookmarkList .item .info .title {
  font-weight: bold;
  margin-bottom: 0;
  border-top: 2px solid rgba(0, 0, 0, 0.3);
}

#bookmarkList .item .buttons {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#bookmarkList .item .buttons a {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  padding: 10px 0;
}

#bookmarkList .item .buttons .detail {
  background-color: rgba(0, 0, 0, 0.3);
  margin-right: 6px;
}

#bookmarkList .item .buttons .join {
  background-color: red;
}

@media (max-width: 1280px) {
  #bookmarkList {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-left: 10px;
    margin-right: 10px;
  }
}

/* videoList */
#videoList {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

#videoList .item {
  display: flex;
  flex-direction: column;
  border-radius: 2px;
  background-color: #fff;
  box-shadow: 0 2px 30px 0 rgba(0, 0, 0, 0.06);
}

[data-theme='dark'] #videoList .item {
  background-color: rgba(255, 255, 255, 0.1);
}

#videoList .item:visited {
  color: var(--visited-color);
}

[data-theme='dark'] #videoList .item:visited {
  color: #999;
}

#videoList .item .category,
#videoList .item .notice {
  color: #697183;
  background-color: #f5f6f9;
  border-radius: 6px;
  padding: 4px 6px;
  margin-right: 8px;
  font-size: 0.9em;
  word-break: keep-all;
  box-sizing: border-box;
}

#videoList .image {
  position: relative;
  width: 100%;
  padding: 0;
  padding-bottom: 78.43%;
  margin: 0;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}

#videoList .image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}

#videoList .info {
  padding: 10px;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

#videoList .info svg {
  width: 14px;
  height: 14px;
  margin-right: 4px;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: bottom;
}

#videoList .info .titleContainer {
  width: 185px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 10px;
}

#videoList .info .titleContainer .title {
  line-height: normal;
  font-size: 0.9em;
}

#videoList .info .titleContainer .commentCount {
  color: #9da5b6;
}

#videoList .info .titleContainer .commentCount svg {
  width: 14px;
  height: 14px;
  margin-left: 4px;
  margin-right: 4px;
}

#videoList .info .etc {
  font-size: 0.8em;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: #9da5b6;
}

#videoList .info .etc .nickName {
  word-break: break-all;
}

@media (max-width: 1280px) {
  #list {
    padding: 0px;
  }

  #videoList {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  #videoList .info .titleContainer {
    width: 145px;
  }
}