.work-category-area {
  margin: 15px 0;
  height: 100px;
  border-bottom: 1px solid var(--wp--preset--color--contrast);
  box-sizing: border-box;
}

.work-item-inner {
  display: flex;
  height: 200px;
  padding: 10px 0;
  border-bottom: 1px solid var(--wp--preset--color--contrast);
  font-size: 17px;
  gap: 10px;
  cursor: pointer;
}

.work-item-thumbnail img {
  height: 100%;
  width: 320px;
  object-fit: cover;
}

.work-item-title {
  flex: 1;
}

.work-item-client {
  width: 200px;
}

.work-item-date {
  width: 200px;
  text-align: right;
}

.work-category-list {
  list-style: none;
  margin: unset;
  padding: unset;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  height: 100%;
  overflow: scroll;
  /* 스크롤바 숨기기 */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.work-category-list::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.work-category-area .category-btn {
  background-color: unset;
  border: unset;
  border: 1px solid var(--wp--preset--color--contrast);
  padding: 0 15px;
  min-width: 50px;
  color: var(--wp--preset--color--contrast);
  font-size: 22px;
  text-align: center;
  cursor: pointer;
  border-radius: 17px;
  height: fit-content;
}

.work-category-area .category-btn.active {
  background-color: var(--wp--preset--color--contrast);
  color: var(--wp--preset--color--base);
  cursor: default;
}

.work-pagination .work-pagination-list {
  list-style: none;
  margin: unset;
  padding: unset;
  margin-top: 20px;
  display: flex;
  gap: 5px;
}

.work-pagination .pagination-btn {
  font-size: 17px;
  width: 22px;
  height: 22px;
  text-align: center;
  border: 1px solid var(--wp--preset--color--contrast);
  border-radius: 50px;
  cursor: pointer;
}

.work-pagination .pagination-btn.active {
  cursor: default;
  color: var(--wp--preset--color--base);
  background-color: var(--wp--preset--color--contrast);
  pointer-events: none;
}

.single-post-top .single-post-title {
  flex: 1;
}

.single-post-top .single-post-client {
  width: 400px;
}

.single-post-top .single-post-date {
  width: 100px;
  text-align: right;
}

.single-post-info-wrap {
  display: flex;
}

.post-type-archive.post-type-archive-work .main-inner-left {
  min-width: 500px;
  height: 100%;
  border-right: 1px solid var(--wp--preset--color--contrast);
  box-sizing: border-box;
  overflow: unset;
  position: relative;
}

.post-type-archive.post-type-archive-work .main-inner-left-inner {
  height: 100%;
  margin-right: 14px;
  overflow: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.post-type-archive.post-type-archive-work
  .main-inner-left-inner::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.post-type-archive.post-type-archive-work .work-category-area {
  margin: unset;
  height: 115px;
  padding: 15px 0;
  border-bottom: 1px solid var(--wp--preset--color--contrast);
  box-sizing: border-box;
  position: absolute;
  background: #121212e6;
  width: calc(100% - 15px);
}

.work-list {
  padding-top: 115px;
}

.post-type-archive.post-type-archive-work .work-pagination {
  margin-bottom: 30px;
}

body .grid-list-btn-wrap {
  display: flex;
  gap: 7px;
  position: absolute;
  right: 0;
  bottom: 1px;
  margin-right: 15px;
}

body .grid-list-btn-wrap figure {
  width: 20px;
  height: 20px;
  cursor: pointer;
  margin-bottom: 5px !important;
}

body .grid-list-btn-wrap img {
  vertical-align: unset;
  width: 100%;
}

.list .list-item-thumbnail.work-item-thumbnail {
  display: none;
}

.work-list.list {
  padding-top: 115px;
}

.list .work-item-inner {
  height: unset;
}

.work-category-area .category-btn:hover {
  background-color: var(--wp--preset--color--contrast);
  color: var(--wp--preset--color--base);
}

.work-pagination .pagination-btn:hover {
  background: var(--wp--preset--color--contrast);
  color: var(--wp--preset--color--base);
}

.work-item-info-wrap {
  display: flex;
  width: 100%;
}

.post-open .work-list:not(.list) .work-item-info-wrap {
  flex-wrap: wrap;
  height: fit-content;
  gap: 5px 0;
}

.post-open .work-list:not(.list) .work-item-title {
  flex: unset;
  width: 100%;
}

.post-open .work-list:not(.list) .work-item-client {
  width: 50%;
}

.post-open .work-list:not(.list) .work-item-date {
  width: 50%;
}

.post-open .list .work-item-client {
  width: 100px;
}

.post-open .list .work-item-date {
  width: 100px;
}

.single-post-content .wp-block-image img {
  width: 100%;
}

.single-post-content figure {
  margin: unset;
}

.single-post-content figure.wp-block-gallery {
  gap: 0;
  height: fit-content;
  align-items: stretch;
}

.single-post-content figure.wp-block-gallery figure.wp-block-image {
  width: 50%;
  flex: 1;
  display: flex;
  align-items: stretch;
}

.single-post-content figure.wp-block-gallery figure.wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-post-content .wp-block-embed__wrapper {
  aspect-ratio: 16 / 9;
}

.single-post-content .wp-block-embed iframe {
  width: 100%;
  height: 100%;
}

.work-pagination .pagination-btn.arrow-btn {
  border: unset;
  width: 18px;
  height: 18px;
  align-self: center;
}

@media (min-width: 770px) {
}

@media (max-width: 1800px) {
  .work-item-client {
    width: 200px;
  }

  .work-item-date {
    width: 100px;
  }
}

@media (max-width: 1100px) {
  .work-category-area .category-btn {
    padding: 0 10px;
    min-width: 30px;
  }
}

@media (max-width: 770px) {
  .work-category-list {
    gap: 5px !important;
  }

  .work-category-area .category-btn {
    min-width: 20px !important;
    padding: 0 10px !important;
    font-size: 17px !important;
  }
  .work-category-area {
    padding: 10px 0 !important;
    height: 80px !important;
  }

  .work-item-inner {
    padding: 10px 0 20px 0;
    display: block !important;
    height: unset !important;
  }

  .work-item-thumbnail img {
    height: 250px !important;
    width: 100% !important;
  }

  .work-item-client {
    display: none !important;
  }

  .work-item-date {
    display: none !important;
  }

  .single-post-top {
    font-size: 16px !important;
    height: 80px;
    width: 100%;
    background: #121212e6;
    margin: unset !important;
    padding: 10px 0 !important;
  }

  .single-post-content-wrap {
    padding-top: 10px;
    margin-bottom: 10px;
  }

  .single-post-info-wrap {
    display: block !important;
  }

  .single-post-top .single-post-client {
    width: 150px !important;
    text-align: right;
  }

  .single-post-top .single-post-date {
    width: unset !important;
  }

  .single-post-area {
    margin: unset !important;
    height: 100%;
  }

  .single-post-content {
    margin-bottom: 10px;
  }

  .post-open .header-btn-area {
    display: none !important;
  }

  .work-list {
    padding-top: 80px;
  }

  body .grid-list-btn-wrap {
    display: none !important;
  }

  .post-type-archive.post-type-archive-work .work-category-area {
    left: -0.5px;
    width: 100%;
  }

  .single-post-content figure {
    line-height: 1;
  }
}
