.post_main {
  padding-bottom: 90px;
}
.post_main:not(:has(.wc-favorites-list)) .content {
  max-width: 1310px;
}
.post_main .bg1 {
  width: 124px;
  aspect-ratio: 124/370;
  position: absolute;
  top: 108px;
  left: 184px;
  transition: all 1s;
  pointer-events: none;
  background: url(../img/postbg1.svg) no-repeat center / contain;
}
.post_main .bg2 {
  width: 100%;
  height: 1131px;
  position: absolute;
  top: 32px;
  right: 0;
  pointer-events: none;
  transition: all 1s;
  background: url(../img/postbg2.png) no-repeat center / cover;
}
.post_main .head {
  position: relative;
  padding: 67px 0 2.6rem;
  z-index: 2;
}
.post_main .head:has(.imgmain) {
  padding-bottom: 0;
}
.post_main .head:has(.imgmain)::after {
  height: calc(100% - 140px);
}
.post_main .head::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(213, 200, 220, 0.21);
  z-index: -1;
}
.post_main .head .date {
  font-size: 14px;
  color: rgba(83, 83, 83, 0.8);
}
.post_main .head .date span {
  font-size: 16px;
  color: #000;
}
.post_main .head h1 {
  font-size: 38px;
  font-weight: 500;
  color: #000000;
  line-height: 53px;
  max-width: 959px;
  margin: 0 auto;
  margin-top: 14px;
}
.post_main .head .imgmain {
  width: 100%;
  margin-top: 58px;
}
.post_main .head .imgmain img {
  display: block;
  width: 100%;
}
.post_main .main:not(:has(.wc-favorites-list)) {
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 65px;
}
.post_main .main:not(:has(.wc-favorites-list)) p {
  font-size: 17px;
  font-weight: 300;
  color: #3d3d3d;
  line-height: 30px;
  margin: 29px 0;
}
.post_main .main:not(:has(.wc-favorites-list)) h2 {
  font-size: 28px;
  font-weight: 500;
  color: #000000;
  line-height: 36px;
  margin-bottom: -9px;
  margin-top: 61px;
}
.post_main .main:not(:has(.wc-favorites-list)) h3 {
  font-size: 24px;
  font-weight: 500;
  color: #000000;
  line-height: 36px;
  margin-top: 40px;
}
.post_main .main:not(:has(.wc-favorites-list)) h4 {
  font-size: 20px;
  font-weight: 500;
  color: #000000;
  line-height: 30px;
  margin-top: 30px;
}
.post_main .main:not(:has(.wc-favorites-list)) li {
  font-size: 17px;
  color: #3d3d3d;
  line-height: 30px;
  margin: 12px 0;
  position: relative;
  padding-left: 20px;
}
.post_main .main:not(:has(.wc-favorites-list)) li::before {
  content: '';
  display: block;
  width: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: var(--theme_color);
  position: absolute;
  left: 0;
  top: 12px;
}
.post_main .main:not(:has(.wc-favorites-list)) a {
  color: var(--theme_color);
  text-decoration: underline;
}
.post_main .main:not(:has(.wc-favorites-list)) a:hover {
  text-decoration: none;
}
.post_main .main:not(:has(.wc-favorites-list)) .wp-block-columns {
  display: flex;
  flex-wrap: nowrap;
  gap: 2.1667%;
  min-width: 108.4167%;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 56px 0 -7px;
}
.post_main .main:not(:has(.wc-favorites-list)) .wp-block-columns .wp-block-column {
  flex: 1;
}
.post_main .main:not(:has(.wc-favorites-list)) .wp-block-columns .wp-block-column img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.post_main .tags-box {
  border-top: 1px solid #e0e0e0;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 50px;
  padding-top: 25px;
}
.post_main .tags-box .tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.post_main .tags-box span {
  font-size: 18px;
  font-weight: 500;
  color: #000000;
}
.post_main .tags-box p {
  font-size: 16px;
  color: #171717;
  background-color: #f9f9f9;
  padding: 11px 44px;
  transition: all 0.3s;
}
.post_main .tags-box p:hover {
  background-color: var(--theme_color);
}
.post_related {
  padding: 84px 0 127px;
}
.post_related .head {
  align-items: end;
}
.post_related h2 {
  margin-top: 2px;
}
.post_related .left {
  flex: 1;
  padding-bottom: 5px;
}
.post_related .post_related_swiper {
  margin-top: 45px;
  overflow: hidden;
}
.post_related p.center:has(.btn) {
  margin-top: 105px;
  min-height: 52px;
}
