.post_main {
  background-image: linear-gradient(to bottom, var(--bg), transparent 64rem);
  padding: 2.7rem 0 8.8rem;
}
.post_main .head {
  color: #101010;
  margin-top: 6.8rem;
}
.post_main .head h1 {
  max-width: 106.4rem;
  letter-spacing: 0.1rem;
}
.post_main .head p {
  color: #4c4c4c;
  max-width: 113.8rem;
  margin-top: 4.1rem;
  line-height: 3rem;
}
.post_main .head .post_img {
  width: 100%;
  padding-bottom: 51.28375694%;
  border-radius: 2.4rem;
  margin-top: 7.1rem;
}
.post_main .main {
  margin-top: 7.9rem;
}
.post_main .rt {
  flex: 1;
  width: 100%;
  max-width: 92rem;
}
.post_main .postsidebar {
  width: 31.11111111%;
  min-width: 30rem;
  color: #141414;
  padding-top: 3px;
  position: sticky;
  top: 12rem;
}
.post_main .postsidebar .title {
  font-weight: 500;
}
.post_main .postsidebar .post_menu {
  margin-top: 2.7rem;
}
.post_main .postsidebar .post_menu .active a {
  background-color: #f5f5f5;
  opacity: 1;
  font-weight: 500;
}
.post_main .postsidebar .post_menu li + li {
  margin-top: 0.7rem;
}
.post_main .postsidebar .post_menu a {
  display: block;
  border-radius: 2.4rem;
  transition: all 0.3s;
  font-size: 1.8rem;
  line-height: 1.5;
  opacity: 0.75;
  padding: 1rem 1.7rem 1.1rem;
}
.post_main .postsidebar .post_menu a:hover {
  background-color: #f5f5f5;
}
.post_main .postsidebar .pt_subscribe form {
  border-top: 1px solid #ebebee;
  display: grid;
  margin-top: 3.5rem;
  padding-top: 4.1rem;
  gap: 1.5rem;
}
.post_main .postsidebar .pt_subscribe form span,
.post_main .postsidebar .pt_subscribe form .title {
  width: 100%;
}
.post_main .postsidebar .pt_subscribe form .title {
  margin-bottom: 1.2rem;
}
.post_main .postsidebar .pt_subscribe form input {
  display: block;
  width: 100%;
  border-radius: 100px;
  border: 1px solid #e5e5e8;
  font-size: 1.8rem;
  font-weight: 500;
  color: #141414;
  padding: 0 2.3rem 2px;
  height: 5.5rem;
  transition: all 0.2s;
}
.post_main .postsidebar .pt_subscribe form input::placeholder {
  color: #141414;
}
.post_main .postsidebar .pt_subscribe form input:focus {
  border-color: var(--primary);
}
.post_main .postsidebar .pt_subscribe form input[type=submit] {
  font-size: 1.7rem;
  text-align: center;
  border-color: var(--primary);
  background-color: var(--primary);
  color: #fff;
  transition: all 0.3s;
  height: 5.4rem;
}
.post_main .postsidebar .pt_subscribe form input[type=submit]:hover {
  background-color: transparent;
  color: var(--primary);
}
.post_main .postdetail {
  font-size: 1.8rem;
  line-height: 1.6666667;
  color: #4c4c4c;
}
.post_main .postdetail .content > *:first-child {
  margin-top: 0;
}
.post_main .postdetail .content > *:last-child {
  margin-bottom: 0;
}
.post_main .postdetail h2 {
  font-size: 2.6rem;
  font-weight: 600;
  color: #0f0f0f;
  margin: 3.5rem 0 0.6rem;
  letter-spacing: 0.034rem;
}
.post_main .postdetail h3 {
  font-size: 2rem;
  font-weight: 500;
  color: #0f0f0f;
  margin: 2rem 0 0.5rem;
}
.post_main .postdetail a {
  color: var(--primary);
  text-decoration: underline;
  transition: all 0.3s;
}
.post_main .postdetail a:hover {
  text-decoration-color: transparent;
}
.post_main .postdetail img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
  margin: 4rem 0;
}
.post_main .postdetail ul {
  margin: 3rem 0;
}
.post_main .postdetail ul li {
  position: relative;
  padding-left: 1.2em;
}
.post_main .postdetail ul li::before {
  width: 0.4em;
  height: 0.4em;
  position: absolute;
  left: 0;
  top: 0.6em;
  content: '';
  border-radius: 50%;
  background-color: var(--primary);
}
.post_main .postdetail ul li + li {
  margin-top: 0.2em;
}
.post_main .postdetail ol {
  counter-reset: num;
  margin: 3rem 0;
}
.post_main .postdetail ol li {
  position: relative;
  padding-left: 1.3em;
}
.post_main .postdetail ol li::before {
  position: absolute;
  left: 0;
  top: 0;
  counter-increment: num;
  content: counter(num) '.';
}
.post_main .postdetail ol li + li {
  margin-top: 0.2em;
}
.post_main .postdetail .wp-block-columns {
  gap: 16px;
}
.post_main .tags-box {
  border-top: 1px solid rgba(25, 25, 30, 0.15);
  margin-top: 5.1rem;
  padding-top: 2rem;
}
.post_main .tags-box .tags {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.post_main .tags-box .tags span {
  font-size: 1.8rem;
  font-weight: 500;
  color: #000;
  margin-right: 2.5rem;
  margin-top: 0.7rem;
}
.post_main .tags-box .tags p {
  text-align: center;
  font-weight: 500;
  color: #4c4c4c;
  transition: all 0.3s;
  border-radius: 0.6rem;
  background-color: var(--bg);
  padding: 0.7rem 2rem;
  min-width: 14.4rem;
}
.post_main .tags-box .tags p:hover {
  background-color: var(--primary);
  color: #fff;
}
.page_blog {
  padding-top: 8.8rem;
  padding-bottom: 15.1rem;
}
@media screen and (max-width: 768px) {
  .post_main {
    padding: 20px 0 50px;
  }
  .post_main .head {
    margin-top: 20px;
  }
  .post_main .head h1 {
    letter-spacing: unset;
  }
  .post_main .head p {
    line-height: 1.5;
    margin-top: 12px;
  }
  .post_main .head .post_img {
    border-radius: 10px;
    margin-top: 30px;
  }
  .post_main .main {
    margin-top: 30px;
    flex-direction: column-reverse;
    gap: 30px;
  }
  .post_main .postsidebar {
    width: 100%;
    min-width: unset;
    padding: 0;
    position: static;
  }
  .post_main .postsidebar .post_menu {
    margin-top: 12px;
  }
  .post_main .postsidebar .post_menu li + li {
    margin-top: 10px;
  }
  .post_main .postsidebar .post_menu a {
    font-size: 14px;
    padding: 8px 14px;
  }
  .post_main .postsidebar .pt_subscribe form {
    margin-top: 20px;
    gap: 14px;
    padding-top: 20px;
  }
  .post_main .postsidebar .pt_subscribe form .title {
    margin-bottom: 10px;
  }
  .post_main .postsidebar .pt_subscribe form input,
  .post_main .postsidebar .pt_subscribe form input[type=submit] {
    font-size: 14px;
    padding: 0 20px;
    height: 46px;
  }
  .post_main .postdetail {
    font-size: 14px;
    line-height: 1.5;
  }
  .post_main .postdetail h2 {
    font-size: 18px;
    margin: 20px 0 14px;
    letter-spacing: unset;
  }
  .post_main .postdetail h3 {
    font-size: 16px;
    margin: 14px 0;
  }
  .post_main .postdetail p {
    margin: 10px 0;
  }
  .post_main .postdetail img {
    border-radius: 10px;
    margin: 30px 0;
  }
  .post_main .postdetail ul,
  .post_main .postdetail ol {
    margin: 14px 0;
  }
  .post_main .tags-box {
    margin-top: 30px;
    padding-top: 20px;
  }
  .post_main .tags-box .tags {
    gap: 12px;
  }
  .post_main .tags-box .tags span {
    font-size: 16px;
    margin-right: 5px;
    margin-top: 5px;
  }
  .post_main .tags-box .tags p {
    padding: 6px 20px;
    min-width: 100px;
  }
  .page_blog {
    padding: 50px 0;
  }
}
