.post-contents {
  justify-content: center;
  margin: calc(var(--col) * 2) auto calc(var(--col) * 2);
}

.post-header {
  width: calc(var(--col) * 15);
  max-width: 860px;
  min-width: 780px;
  margin: 0 auto;
}
.post-body {
  width: calc(var(--col) * 15);
  max-width: 860px;
  min-width: 780px;
  margin: 0 auto;
}
.post-cover {
  display: block;
  width: calc(var(--col) * 15);
  max-width: 860px;
  min-width: 780px;
  margin: var(--col) auto;
  text-align: center;
}
.post-cover img {
  max-width: 100%;
}

/* title */
.post-header .date{
  text-align: center;
}
.post-header .post-title{
  text-align: center;
  padding: calc(var(--col) * .5) 0 calc(var(--col) * 1);
  border-bottom: 2px solid var(--border);
  font-size: 1.8em;
}


/* text */
.post-body .text {
  margin: var(--col) auto;
}
.post-body p {
  margin-bottom: 1em;
}
.post-body .align-center {
  text-align: center;
}
.post-body .align-right {
  text-align: right;
}
.post-body .align-left {
  text-align: left;
}

/* img */
.post-body img {
  max-width: 100%;
  margin-bottom: 1em;
}
.post-body p img {
  margin-bottom: 0;
}

/* headline */
.post-body h2,
.post-body .h2 {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1.25em;
  margin-top: 2em;
}

.post-body h3,
.post-body .h3 {
  font-size: 1.6rem;
  font-weight: 400;
}
.post-body h4,
.post-body .h4 {
  font-size: 1.25rem;
}
.post-body h3,
.post-body h4
.post-body .h3,
.post-body .h4 {
  margin-bottom: 1.15em;
  margin-top: 2.75em;
  font-weight: 600;
}

.post-body h5,
.post-body .h5 {
  font-size: 1.15rem;
  margin-bottom: 1em;
  margin-top: 2.5em;
  font-weight: 600;
}
.post-body h6,
.post-body .h6 {
  font-size: 1rem;
  margin-bottom: 1em;
  margin-top: 1.5em;
  font-weight: 600;
}



/* button */
.post-body .btn-link-wrapper {
  width: 100%;
  margin: 3em 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.post-body .btn-link {
  margin-bottom: 1.5em;
}
.post-body .btn-link-wrapper > *:first-child {
  margin-top: 0;
}
.post-body .btn-link-wrapper > *:last-child {
  margin-bottom: 0;
}

/* link */
.post-body a:not(.btn) {
  background-image: linear-gradient(var(--navy), var(--navy));
  background-size: 100% 1px;
  background-position: bottom left;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: background-size .25s ease-in-out;

  box-decoration-break: slice;
  -webkit-box-decoration-break: slice;
  transition: background-size .25s ease-in-out;
}
.post-body a:hover {
  background-size: 0 1px;
  background-position: bottom right;
}


/* hr */
hr {
  border: 0;
  border-top: 2px solid var(--border);
  margin-top: 3em;
  margin-bottom: 3em;
}

/* frame */
.post-body .frame {
  width: 100%;
  margin: 2em 0;
  padding: 2.5em;
  border-radius: 1.7857142857vw;
  border: 2px solid var(--navy);
}
.post-body .frame > *:first-child {
  margin-top: 0;
}
.post-body .frame > *:last-child {
  margin-bottom: 0;
}

.post-body .btn-link-wrapper.navy,
.post-body .frame.navy {
  border-color: var(--navy);
}
.post-body .btn-link-wrapper.orange,
.post-body .frame.orange {
  border-color: var(--orange);
}
.post-body .btn-link-wrapper.gray,
.post-body .frame.gray {
  border-color: var(--border);
}


/* list */
.post-body ul {
  text-align: left;
  margin-left: 20px;
  margin-bottom: 1em;
}
.post-body ul.no-margin {
  margin-left: 0;
}
.post-body ul li{
  list-style: square;
  margin-bottom: .5em;
}

/* grid */
.post-body .grid {
  display: grid;
  gap: var(--col);
}
.post-body .grid.col2 {
  grid-template-columns: 1fr 1fr;
}
.post-body .grid.col3 {
  grid-template-columns: 1fr 1fr 1fr;
}

/* spacer */
.post-body .spacer-s {
  height: 1em;
}
.post-body .spacer-m {
  height: 2.5em;
}
.post-body .spacer-l {
  height: 6em;
}



@media (max-width: 912px){
  .post-contents {
    margin: calc(var(--col) * 3) 0 calc(var(--col) * 4);
  }

  .post-header {
    width: calc(var(--col) * 24);
    max-width: none;
    min-width: auto;
  }
  .post-body {
    width: calc(var(--col) * 24);
    max-width: none;
    min-width: auto;
    margin: 0 none;
  }
  .post-cover{
    width: calc(var(--col) * 26);
    min-width: auto;
    margin: calc(var(--col) * 2) auto;
  }

  .post-header .post-title {
    font-size: 1.4em;
  }

}


@media (max-width: 780px){
  .post-body .grid {
    grid-template-columns: 1fr!important;
    gap: 1em;
  }

}


@media (max-width: 512px){
  .post-header .post-title {
    padding: calc(var(--col) * 2) 0;
    font-size: 1.4em;
  }
}