.post_section {
  background: no-repeat center / cover;
  padding: 10rem 0 12rem;
}

.post_section h1 {
  font-size: 5rem;
  line-height: 6rem;
  font-weight: 900;
  text-align: center;
}

.post_section .metas {
  display: flex;
  flex-wrap: wrap;
  gap: 2.8rem;
  justify-content: center;
  margin-top: 4rem;
}

.post_section .metas span {
  display: inline-flex;
  align-items: center;
  font-size: 1.8rem;
  line-height: 2.4rem;
  color: var(--content_color);
  font-weight: 500;
  gap: 1rem;
}

.post_section .metas span::before {
  width: 2rem;
  height: 2rem;
  background: no-repeat center / contain;
  display: inline-block;
  content: '';
}

.post_section .metas .date::before {
  background-image: url("../img/icon-date.svg");
}

.post_section .metas .cat::before {
  background-image: url("../img/icon-cat.svg");
}

.post_section .img {
  width: 100%;
  border-radius: 12px;
  margin-top: 4rem;
}

.post_section .postdetail {
  margin-top: 4rem;
  font-size: 2rem;
  line-height: 1.7;
  color: var(--content_color);
  padding-bottom: 6rem;
  border-bottom: 1px solid #e0e0e0;
}

.post_section .postdetail h2 {
  font-size: 3.2rem;
  line-height: 1.5;
  font-weight: 900;
  color: var(--title_color);
  margin: 3.2rem 0 2rem;
}

.post_section .postdetail h3 {
  font-size: 2.8rem;
  line-height: 1.5;
  font-weight: 700;
  color: var(--title_color);
  margin: 2rem 0;
}

.post_section .postdetail p {
  margin: 1.6rem 0;
}

.post_section .postdetail img {
  width: 100%;
  height: auto !important;
  object-fit: cover;
  border-radius: 10px;
  margin: 1.4rem 0;
}

.post_section .postdetail a {
  color: var(--theme_color);
  text-decoration: underline;
  transition: all 0.3s;
}

.post_section .postdetail a:hover {
  text-decoration-color: transparent;
}

.post_section .postdetail ul {
  margin: 1.6rem 0;
}

.post_section .postdetail ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.post_section .postdetail ul li::before {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 1.5rem;
  content: '';
  background-color: var(--content_color);
}

.post_section .postdetail ul li:last-child {
  margin-bottom: 0;
}

.post_section .tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 2rem;
  gap: 2rem;
  margin-top: 3rem;
}

.post_section .tags p {
  font-size: 1.8rem;
  border-radius: 100px;
  padding: 0.5rem 2rem;
  color: var(--content_color);
  border: 1px solid rgba(22, 22, 22, 0.4);
  transition: all 0.3s;
}

.post_section .tags p:hover {
  color: #fff;
  background-color: var(--theme_color);
  border-color: var(--theme_color);
}

.post_related {
  padding: 10rem 0 12rem;
}

.post_related .post_related_swiper {
  margin-top: 5.4rem;
}

.post_related p.center:has(.btn_line) {
  margin-top: 6rem;
}

@media screen and (max-width: 768px) {
  .post_section {
    padding: 2rem 0 4rem;
  }

  .post_section h1 {
    font-size: 22px;
    line-height: 1.5;
  }

  .post_section .metas {
    gap: 1.2rem;
    margin-top: 20px;
  }

  .post_section .metas span {
    font-size: 0.9rem;
    line-height: 1.5;
    gap: 10px;
  }

  .post_section .metas span::before {
    width: 14px;
    height: 14px;
  }

  .post_section .img {
    margin-top: 1.5rem;
  }

  .post_section .postdetail {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
    padding-bottom: 2rem;
  }

  .post_section .postdetail h2 {
    font-size: 18px;
    margin: 1.5rem 0 1rem;
  }

  .post_section .postdetail h3 {
    font-size: 16px;
    margin: 1rem 0;
  }

  .post_section .postdetail p {
    margin: 10px 0;
  }

  .post_section .postdetail img {
    margin: 10px 0;
    border-radius: 8px;
  }

  .post_section .postdetail ul {
    margin: 1rem 0;
  }

  .post_section .postdetail ul li {
    padding-left: 1rem;
    margin-bottom: 10px;
  }

  .post_section .postdetail ul li::before {
    width: 4px;
    height: 4px;
    top: 8px;
  }

  .post_section .tags {
    gap: 1rem;
    font-size: 16px;
    margin-top: 1rem;
  }

  .post_section .tags p {
    font-size: 0.9rem;
    padding: 6px 1.5rem;
  }

  .post_related {
    padding: 4rem 0;
    overflow: hidden;
  }

  .post_related .post_related_swiper {
    margin-top: 2rem;
  }

  .post_related .swiper_btns {
    position: static;
    width: 100%;
    transform: translate(0);
    padding: 0 20px;
    margin-top: 2rem;
    justify-content: flex-end;
  }

  .post_related p.center:has(.btn_line) {
    margin-top: 2rem;
  }
}