.post-view__header {
  position: relative;
}
.post-view__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 30rem;
  gap: 15rem 20rem;
  position: relative;
}
@media (max-width: 800px) {
  .post-view__top {
    gap: 10rem 15rem;
  }
}
.post-view__category {
  display: inline-flex;
  flex-shrink: 0;
  align-self: center;
  align-items: center;
  justify-content: center;
  min-width: 65rem;
  min-height: 25rem;
  padding: 3rem 10rem;
  color: #fff;
  font-weight: 500;
  background-color: var(--color-primary);
  font-size: 14rem;
}
@media (max-width: 1280px) {
  .post-view__category {
    font-size: calc(14rem / 1.05);
  }
}
@media (max-width: 1024px) {
  .post-view__category {
    font-size: calc(14rem / 1.08);
  }
}
@media (max-width: 800px) {
  .post-view__category {
    font-size: calc(14rem / 1.15);
  }
}
@media (max-width: 445px) {
  .post-view__category {
    font-size: calc(14rem / 1.1);
  }
}
.post-view__title {
  word-break: break-all;
  line-height: 1.3;
  text-align: center;
  font-size: 34rem;
}
@media (max-width: 1280px) {
  .post-view__title {
    font-size: calc(34rem / 1.05);
  }
}
@media (max-width: 1024px) {
  .post-view__title {
    font-size: calc(34rem / 1.18);
  }
}
@media (max-width: 800px) {
  .post-view__title {
    font-size: calc(34rem / 1.2);
  }
}
@media (max-width: 445px) {
  .post-view__title {
    font-size: calc(34rem / 1.25);
  }
}
.post-view__info {
  display: flex;
  flex-wrap: wrap;
  gap: 5rem 40rem;
  position: relative;
  padding: 20rem 30rem;
  margin-top: 30rem;
  border-top: 2px solid var(--color-222);
  border-bottom: 1px solid var(--color-border);
}
.post-view__info:has(.post-view__share) {
  margin-top: 50rem;
}
@media (max-width: 800px) {
  .post-view__info {
    padding: 20rem;
  }
}
@media (max-width: 640px) {
  .post-view__info {
    flex-direction: column;
    flex-wrap: nowrap;
  }
}
@media (max-width: 445px) {
  .post-view__info {
    padding: 20rem 10rem;
  }
}
.post-view__info-item {
  display: flex;
  gap: 0 10rem;
}
.post-view__info-title {
  flex-shrink: 0;
  font-weight: 600;
  color: var(--color-444);
  font-size: 15rem;
}
@media (max-width: 1280px) {
  .post-view__info-title {
    font-size: calc(15rem / 1.05);
  }
}
@media (max-width: 1024px) {
  .post-view__info-title {
    font-size: calc(15rem / 1.08);
  }
}
@media (max-width: 800px) {
  .post-view__info-title {
    font-size: calc(15rem / 1.15);
  }
}
@media (max-width: 445px) {
  .post-view__info-title {
    font-size: calc(15rem / 1.12);
  }
}
.post-view__info-text {
  display: inline-flex;
  align-self: center;
  align-items: center;
  gap: 0 5rem;
  color: var(--color-888);
  font-size: 15rem;
}
@media (max-width: 1280px) {
  .post-view__info-text {
    font-size: calc(15rem / 1.05);
  }
}
@media (max-width: 1024px) {
  .post-view__info-text {
    font-size: calc(15rem / 1.08);
  }
}
@media (max-width: 800px) {
  .post-view__info-text {
    font-size: calc(15rem / 1.15);
  }
}
@media (max-width: 445px) {
  .post-view__info-text {
    font-size: calc(15rem / 1.12);
  }
}
.post-view__info-icon {
  transform: translateY(-1px);
}
@media (max-width: 800px) {
  .post-view__info-icon {
    transform: translateY(1px);
  }
}
.post-view__share {
  position: absolute;
  top: -45rem;
  right: 20rem;
}
@media (max-width: 445px) {
  .post-view__share {
    right: 10rem;
  }
}
.post-view__share-btn {
  color: var(--color-222);
  border: 0;
  background-color: transparent;
  transition: color 0.3s;
  font-size: 24rem;
}
@media (max-width: 1280px) {
  .post-view__share-btn {
    font-size: calc(24rem / 1.05);
  }
}
@media (max-width: 1024px) {
  .post-view__share-btn {
    font-size: calc(24rem / 1.18);
  }
}
@media (max-width: 800px) {
  .post-view__share-btn {
    font-size: calc(24rem / 1.2);
  }
}
@media (max-width: 445px) {
  .post-view__share-btn {
    font-size: calc(24rem / 1.25);
  }
}
@media (min-width: 1025px) {
  .post-view__share-btn:focus, .post-view__share-btn:hover {
    color: var(--color-primary);
  }
}
.post-view__share-pop {
  position: absolute;
  top: 100%;
  right: 0;
  visibility: hidden;
  opacity: 0;
  padding: 10rem 20rem;
  border: 2px solid var(--color-border);
  background-color: #fff;
  box-shadow: 5rem 5rem 15rem rgba(0, 0, 0, 0.1);
  transition-property: visibility, opacity;
  transition-duration: 0.3s;
  z-index: 10;
}
.on .post-view__share-pop {
  visibility: visible;
  opacity: 1;
}

.post-view__share-list {
  display: flex;
  gap: 0 10rem;
}
.post-view__share-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  transition-property: box-shadow, transform;
  transition-duration: 0.3s;
}
.post-view__share-link.kakao {
  background-color: #f9e000;
}
.post-view__share-link.insta {
  background: linear-gradient(45deg, #ffd600, #ff7a00, #ff0069, #d300c5, #7638fa);
}
.post-view__share-link.facebook {
  background-color: #3b5998;
}
.post-view__share-link.twitter {
  background-color: #00acee;
}
.post-view__share-link.blog {
  background-color: #1ec800;
}
.post-view__share-link.copylink {
  background-color: #aaa;
}
@media (min-width: 1025px) {
  .post-view__share-link:focus, .post-view__share-link:hover {
    box-shadow: 3rem 3rem 3rem rgba(0, 0, 0, 0.1);
    transform: translate3d(-2rem, -2rem, -2rem);
  }
}
.post-view__share-icon {
  font-size: 0;
  line-height: 1;
}
.post-view__share-icon::before {
  color: #fff;
  font-size: 16rem;
}
@media (max-width: 1280px) {
  .post-view__share-icon::before {
    font-size: calc(16rem / 1.05);
  }
}
@media (max-width: 1024px) {
  .post-view__share-icon::before {
    font-size: calc(16rem / 1.08);
  }
}
@media (max-width: 800px) {
  .post-view__share-icon::before {
    font-size: calc(16rem / 1.15);
  }
}
@media (max-width: 445px) {
  .post-view__share-icon::before {
    font-size: calc(16rem / 1.12);
  }
}
.kakao .post-view__share-icon::before {
  color: var(--color-222);
  font-size: 20rem;
}
@media (max-width: 1280px) {
  .kakao .post-view__share-icon::before {
    font-size: calc(20rem / 1.05);
  }
}
@media (max-width: 1024px) {
  .kakao .post-view__share-icon::before {
    font-size: calc(20rem / 1.08);
  }
}
@media (max-width: 800px) {
  .kakao .post-view__share-icon::before {
    font-size: calc(20rem / 1.15);
  }
}
@media (max-width: 445px) {
  .kakao .post-view__share-icon::before {
    font-size: calc(20rem / 1.18);
  }
}
.post-view__files:not(:first-child) {
  margin-top: 20rem;
}
@media (max-width: 800px) {
  .post-view__files:not(:first-child) {
    margin-top: 15rem;
  }
}
.post-view__files-container, .post-view__attachment {
  padding: 30rem;
  margin-top: 40rem;
  background-color: #f8f8f8;
}
@media (max-width: 800px) {
  .post-view__files-container, .post-view__attachment {
    padding: 20rem;
  }
}
@media (max-width: 445px) {
  .post-view__files-container, .post-view__attachment {
    padding: 20rem 15rem;
  }
}
.post-view__files-container + .post-view__files-container, .post-view__attachment + .post-view__files-container, .post-view__files-container + .post-view__attachment, .post-view__attachment + .post-view__attachment {
  margin-top: 15rem;
}
.post-view__files-title {
  display: flex;
  align-items: center;
  gap: 0 5rem;
}
.post-view__files-item {
  display: flex;
  align-items: center;
  gap: 5rem;
  width: 100%;
  min-width: 1px;
}
.post-view__files-item + .post-view__files-item {
  margin-top: 5rem;
}
.post-view__files-icon {
  flex-shrink: 0;
  margin-right: 10rem;
}
.post-view__files-link {
  display: flex;
  align-items: center;
  max-width: 100%;
  min-width: 1px;
  color: var(--color-555);
  transition: color 0.3s;
  font-size: 15rem;
}
@media (max-width: 1280px) {
  .post-view__files-link {
    font-size: calc(15rem / 1.05);
  }
}
@media (max-width: 1024px) {
  .post-view__files-link {
    font-size: calc(15rem / 1.08);
  }
}
@media (max-width: 800px) {
  .post-view__files-link {
    font-size: calc(15rem / 1.15);
  }
}
@media (max-width: 445px) {
  .post-view__files-link {
    font-size: calc(15rem / 1.12);
  }
}
@media (min-width: 1025px) {
  .post-view__files-link:focus, .post-view__files-link:hover {
    color: var(--color-222);
  }
  .post-view__files-link:focus .post-view__files-name, .post-view__files-link:hover .post-view__files-name {
    text-decoration: underline;
  }
}
.post-view__files-name {
  word-break: break-all;
}
.post-view__files-size {
  flex-shrink: 0;
  align-self: flex-end;
  margin-left: 5rem;
  color: var(--color-999);
  font-size: 13rem;
}
@media (max-width: 1280px) {
  .post-view__files-size {
    font-size: calc(13rem / 1.05);
  }
}
@media (max-width: 1024px) {
  .post-view__files-size {
    font-size: calc(13rem / 1.08);
  }
}
@media (max-width: 800px) {
  .post-view__files-size {
    font-size: calc(13rem / 1.15);
  }
}
@media (max-width: 445px) {
  .post-view__files-size {
    font-size: calc(13rem / 1.1);
  }
}
.post-view__attachment-item {
  min-width: 1px;
}
.post-view__attachment-item + .post-view__attachment-item {
  margin-top: 10rem;
}
.post-view__attachment-inner {
  font-size: 0;
  line-height: 1;
}
.post-view__attachment-img {
  max-width: 100%;
}
.post-view__contents {
  min-height: 300rem;
  padding: 30rem;
}
@media (max-width: 800px) {
  .post-view__contents {
    padding: 30rem 20rem;
  }
}
@media (max-width: 445px) {
  .post-view__contents {
    padding: 25rem 10rem;
  }
}
.post-view__contents .editor-contents {
  overflow-x: auto;
}
.post-view__contents .editor-contents > * {
  max-width: 1420px;
}
.post-view__footer-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0 10rem;
  max-width: 200rem;
  height: 60rem;
  padding: 0 30rem;
  margin: 80rem auto 0;
  color: #fff;
  background-color: var(--color-222);
  transition-property: color, border-color, background-color;
  transition-duration: 0.3s;
  font-size: 16rem;
}
@media (max-width: 1280px) {
  .post-view__footer-btn {
    font-size: calc(16rem / 1.05);
  }
}
@media (max-width: 1024px) {
  .post-view__footer-btn {
    font-size: calc(16rem / 1.08);
  }
}
@media (max-width: 800px) {
  .post-view__footer-btn {
    font-size: calc(16rem / 1.15);
  }
}
@media (max-width: 445px) {
  .post-view__footer-btn {
    font-size: calc(16rem / 1.12);
  }
}
@media (min-width: 1025px) {
  .post-view__footer-btn:focus, .post-view__footer-btn:hover {
    background-color: var(--color-primary);
  }
}
@media (max-width: 800px) {
  .post-view__footer-btn {
    max-width: 160rem;
    height: 50rem;
    padding: 0 20rem;
    margin-top: 50rem;
  }
}
.post-view__footer-icon {
  font-size: 20rem;
}
@media (max-width: 1280px) {
  .post-view__footer-icon {
    font-size: calc(20rem / 1.05);
  }
}
@media (max-width: 1024px) {
  .post-view__footer-icon {
    font-size: calc(20rem / 1.08);
  }
}
@media (max-width: 800px) {
  .post-view__footer-icon {
    font-size: calc(20rem / 1.15);
  }
}
@media (max-width: 445px) {
  .post-view__footer-icon {
    font-size: calc(20rem / 1.18);
  }
}
.post-view__related {
  border-top: 1px solid var(--color-222);
  border-bottom: 1px solid var(--color-222);
}
.post-view__related-wrap {
  display: flex;
  align-items: center;
  min-height: 60rem;
  padding: 0 30rem;
}
.post-view__related-wrap.disabled {
  opacity: 0.4;
}
.post-view__related-wrap:not(:first-child) {
  border-top: 1px solid var(--color-border);
}
@media (max-width: 800px) {
  .post-view__related-wrap {
    padding: 0 20rem;
  }
}
@media (max-width: 445px) {
  .post-view__related-wrap {
    min-height: 50rem;
    padding: 0 10rem;
  }
}
.post-view__related-title {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0 20rem;
  position: relative;
  color: #444;
  font-size: 15rem;
}
@media (max-width: 1280px) {
  .post-view__related-title {
    font-size: calc(15rem / 1.05);
  }
}
@media (max-width: 1024px) {
  .post-view__related-title {
    font-size: calc(15rem / 1.08);
  }
}
@media (max-width: 800px) {
  .post-view__related-title {
    font-size: calc(15rem / 1.15);
  }
}
@media (max-width: 445px) {
  .post-view__related-title {
    font-size: calc(15rem / 1.12);
  }
}
@media (max-width: 640px) {
  .post-view__related-title {
    gap: 0 10rem;
  }
}
.post-view__related-title::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  font-family: xeicon !important;
  font-style: normal;
  color: #999;
  line-height: 1;
  font-variant: normal;
  text-transform: none;
  speek: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: translateY(-1px);
}
.prev .post-view__related-title::before {
  content: "\e930";
}

.next .post-view__related-title::before {
  content: "\e936";
}

.post-view__related-title::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 15rem;
  background-color: #e5e5e5;
}
@media (max-width: 640px) {
  .post-view__related-title::after {
    margin-left: 10rem;
  }
}
.post-view__related-text {
  display: block;
  width: 100%;
  min-width: 1px;
  overflow: hidden;
  margin-left: 20rem;
  color: #999;
  word-wrap: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color 0.3s;
  font-size: 15rem;
}
@media (max-width: 1280px) {
  .post-view__related-text {
    font-size: calc(15rem / 1.05);
  }
}
@media (max-width: 1024px) {
  .post-view__related-text {
    font-size: calc(15rem / 1.08);
  }
}
@media (max-width: 800px) {
  .post-view__related-text {
    font-size: calc(15rem / 1.15);
  }
}
@media (max-width: 445px) {
  .post-view__related-text {
    font-size: calc(15rem / 1.12);
  }
}
.post-view__related-text[href]:focus, .post-view__related-text[href]:hover {
  color: #444;
}