.post_main {
  padding: 12.1rem 0 12.2rem;
}
.post_main > img {
  height: auto;
}
.post_main h1 {
  letter-spacing: 1.25px;
}
.post_main .head .metas {
  margin-top: 3.3rem;
}
.post_main .head .metas ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem 3.5rem;
}
.post_main .head .metas li {
  display: flex;
  align-items: center;
  font-size: 1.847rem;
  font-weight: 500;
  color: #333333;
  gap: 1.1rem;
}
.post_main .head .metas img {
  width: 2rem;
  height: 2rem;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}
.post_main .head .img {
  width: 100%;
  border-radius: 1.1rem;
  padding-bottom: 43.05555556%;
  margin-top: 3.2rem;
}
.post_main .main {
  margin-top: 5rem;
}
.post_main .main .lt {
  flex: 1;
  width: 100%;
  max-width: 97rem;
}
.post_main .main .post_sidebar {
  width: 26.73611%;
  min-width: 32rem;
}
.post_main .postdetail {
  font-size: 1.7rem;
  line-height: 1.7058824;
  color: #3d3d3d;
}
.post_main .postdetail .content > *:first-child {
  margin-top: 0;
}
.post_main .postdetail .content > *:last-child {
  margin-bottom: 0;
}
.post_main .postdetail h2 {
  font-size: 3.1rem;
  line-height: 1.41935;
  font-weight: 600;
  color: #161616;
  margin: 5rem 0 2.7rem;
  letter-spacing: 0.71px;
}
.post_main .postdetail h3 {
  font-size: 2rem;
  font-weight: 500;
  color: #161616;
  margin: 2rem 0;
}
.post_main .postdetail p {
  margin: 2.7rem 0 2.9rem;
}
.post_main .postdetail a:not(.btn) {
  color: var(--primary);
  text-decoration: underline;
  transition: all 0.3s;
}
.post_main .postdetail a:not(.btn):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: 2.9rem;
}
.post_main .postdetail ul li::before {
  width: 0.8rem;
  height: 0.8rem;
  position: absolute;
  left: 0;
  top: 1.2rem;
  content: '';
  border-radius: 50%;
  background-color: var(--primary);
}
.post_main .postdetail ul li + li {
  margin-top: 1rem;
}
.post_main .postdetail .wp-block-columns {
  gap: 16px;
}
.post_main .postdetail .wp-block-columns .wp-block-column > *:first-child {
  margin-top: 0;
}
.post_main .postdetail .wp-block-columns .wp-block-column > *:last-child {
  margin-bottom: 0;
}
.post_main .postdetail .wp-block-quote {
  display: grid;
  align-items: flex-start;
  grid-template-columns: 5.2rem 1fr;
  gap: 3.1rem;
  margin: 3.6rem 0 6.2rem;
}
.post_main .postdetail .wp-block-quote::before {
  padding-bottom: 100%;
  display: block;
  background: url("../img/icon-quote.svg") no-repeat center / contain;
  content: '';
}
.post_main .postdetail .wp-block-quote p {
  font-weight: 600;
  margin: 0;
}
.post_main .postdetail .pd_box {
  margin: 6.2rem 0 6.1rem;
  display: flex;
  align-items: center;
  border-radius: 1.6rem;
  overflow: hidden;
  position: relative;
  padding: 4% 5.68181818% 3%;
  min-height: 48rem;
}
.post_main .postdetail .pd_box .wp-block-column:has(h2) {
  flex: 1;
  position: relative;
  z-index: 2;
  max-width: 46.1rem;
}
.post_main .postdetail .pd_box h2 {
  margin-bottom: 2.8rem;
}
.post_main .postdetail .pd_box .btn {
  margin-top: 0.6rem;
}
.post_main .postdetail .pd_box .wp-block-column:has(img) {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}
.post_main .postdetail .pd_box .wp-block-column:has(img) img {
  height: 100%;
}
.post_main .postdetail .pd_box .wp-block-column:has(img)::after {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  content: '';
  background-image: linear-gradient(to right, #f5f9fc 11.9952%, rgba(245, 249, 252, 0.9), transparent);
  pointer-events: none;
}
.post_main .tags-box {
  border-top: 1px solid rgba(0, 0, 0, 0.14);
  padding-top: 2.5rem;
  margin-top: 8.9rem;
}
.post_main .tags-box .tags {
  flex: 1;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.7rem;
  color: #161616;
  margin-top: 0.5rem;
}
.post_main .tags-box .tags span {
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 600;
  margin-right: 1.2rem;
  margin-top: 0.9rem;
}
.post_main .tags-box .tags p {
  font-size: 1.8rem;
  transition: all 0.3s;
  border-radius: 0.6rem;
  background-color: rgba(239, 239, 239, 0.45);
  padding: 1.1rem 2rem;
}
.post_main .tags-box .tags p:hover {
  background-color: var(--primary);
  color: #fff;
}
.post_main .tags-box .share {
  gap: 2rem;
  display: flex;
  flex-wrap: wrap;
}
.post_main .tags-box .share .active a {
  background-color: var(--primary);
}
.post_main .tags-box .share .active a::after {
  filter: contrast(0) brightness(2);
}
.post_main .tags-box .share a {
  opacity: 1;
  display: block;
  width: 5.1rem;
  height: 5.1rem;
  overflow: hidden;
  text-indent: -999px;
  position: relative;
  transition: all 0.3s;
  border-radius: 0.6rem;
  background-color: #eeeeee;
}
.post_main .tags-box .share a::after {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  background: no-repeat center / contain;
  transition: all 0.3s;
}
.post_main .tags-box .share .facebook a::after {
  background-image: url(../img/facebook2.svg);
}
.post_main .tags-box .share .twitter a::after {
  background-image: url(../img/twitter2.svg);
}
.post_main .tags-box .share .pinterest a::after {
  background-image: url(../img/pinterest2.svg);
}
.post_main .post_sidebar {
  display: flex;
  flex-direction: column;
  gap: 3.8rem;
  margin-top: 0.7rem;
  position: sticky;
  top: 12rem;
}
.post_main .post_sidebar .title {
  font-size: 2.142rem;
  font-weight: 500;
  color: #222222;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.17);
  letter-spacing: 0.1px;
}
.post_main .post_sidebar .title span {
  display: inline-block;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 1.6rem;
  margin-bottom: -1px;
}
.post_main .post_sidebar form {
  display: grid;
  grid-template-columns: 1fr 4.5rem;
  border-radius: 0.7rem;
  border: 1px solid #b2b2b2;
  height: 5.6rem;
}
.post_main .post_sidebar form input[type=text] {
  width: 100%;
  background-color: transparent;
  font-size: 1.7rem;
  font-weight: 500;
  color: #787974;
  display: block;
  padding: 1px 1.9rem 0;
}
.post_main .post_sidebar form input[type=text]::placeholder {
  color: #787974;
}
.post_main .post_sidebar form input[type=submit] {
  text-indent: -999px;
  color: transparent;
  display: block;
  background: url("../img/icon-search.svg") no-repeat center left / 44%;
}
.post_main .post_sidebar .cat_list {
  margin-top: 2.7rem;
  padding-bottom: 1.4rem;
}
.post_main .post_sidebar .cat_list li + li {
  margin-top: 1.9rem;
}
.post_main .post_sidebar .cat_list .active a,
.post_main .post_sidebar .cat_list a:hover {
  color: #000;
}
.post_main .post_sidebar .cat_list .active a::before,
.post_main .post_sidebar .cat_list a:hover::before {
  filter: unset;
}
.post_main .post_sidebar .cat_list a {
  position: relative;
  display: inline-block;
  transition: all 0.3s;
  vertical-align: top;
  font-size: 1.8rem;
  font-weight: 500;
  color: #666666;
  padding-left: 2.6rem;
}
.post_main .post_sidebar .cat_list a::before {
  width: 1.2rem;
  height: 1.2rem;
  position: absolute;
  left: 0;
  top: 0.5rem;
  content: '';
  background: url("../img/post-nav.svg") no-repeat center left / contain;
  transition: all 0.3s;
  filter: contrast(0) brightness(1.2);
}
.post_main .post_sidebar .related_list {
  margin-top: 4.1rem;
}
.post_main .post_sidebar .related_list ul {
  display: grid;
  gap: 3.2rem;
}
.post_main .post_sidebar .related_list a {
  display: grid;
  grid-template-columns: 44.94% 1fr;
  align-items: center;
  gap: 2rem 5.195%;
}
.post_main .post_sidebar .related_list a:hover img {
  transform: scale(1.02);
}
.post_main .post_sidebar .related_list .img {
  border-radius: 0.6rem;
  padding-bottom: 61.85%;
}
.post_main .post_sidebar .related_list .info {
  padding-bottom: 3%;
}
.post_main .post_sidebar .related_list .info .name {
  font-size: 1.8rem;
  line-height: 1.444444;
  font-weight: 500;
  color: #000000;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.post_main .post_sidebar .related_list .info .date {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  align-items: center;
  font-size: 1.5rem;
  color: #8e8e8e;
  gap: 0.8rem;
  margin-top: 0.8rem;
}
.post_main .post_sidebar .related_list .info .date::before {
  padding-bottom: 100%;
  display: block;
  content: '';
  background: url("../img/icon-date.svg") no-repeat center / contain;
}
.breadcrumbs{
  margin-top: 4rem;
}
.breadcrumbs a:hover{
  color: var(--primary);
}
@media screen and (max-width: 768px) {
  .post_main {
    padding: 30px 0 50px;
  }
  .post_main .head h1 {
    font-size: 22px;
  }
  .post_main .head .metas {
    margin-top: 16px;
  }
  .post_main .head .metas ul {
    gap: 20px;
  }
  .post_main .head .metas li {
    font-size: 14px;
    gap: 10px;
  }
  .post_main .head .metas img {
    width: 16px;
    height: 16px;
  }
  .post_main .head .img {
    margin-top: 30px;
    border-radius: 10px;
  }
  .post_main .main {
    margin-top: 30px;
    gap: 40px;
  }
  .post_main .main .post_sidebar {
    width: 100%;
    min-width: unset;
  }
  .post_main .postdetail {
    font-size: 14px;
    line-height: 1.5;
    margin-top: 30px;
  }
  .post_main .postdetail h2 {
    font-size: 18px;
    margin: 30px 0 16px;
    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 {
    margin: 14px 0;
  }
  .post_main .postdetail ul li + li {
    margin-top: 10px;
  }
  .post_main .postdetail ul li {
    padding-left: 25px;
  }
  .post_main .postdetail ul li::before {
    width: 7px;
    height: 7px;
    top: 7px;
  }
  .post_main .postdetail .wp-block-quote {
    grid-template-columns: 40px 1fr;
    gap: 20px;
    margin: 30px 0;
  }
  .post_main .postdetail .pd_box {
    margin: 40px 0;
    min-height: unset;
    padding: 20px;
  }
  .post_main .postdetail .pd_box h2 {
    margin-bottom: 10px;
  }
  .post_main .postdetail .pd_box .btn {
    margin-top: 20px;
  }
  .post_main .tags-box {
    margin-top: 30px;
    padding-top: 16px;
  }
  .post_main .tags-box .tags {
    gap: 14px;
    margin-top: 7px;
  }
  .post_main .tags-box .tags span {
    font-size: 14px;
    margin-right: 4px;
    margin-top: 5px;
  }
  .post_main .tags-box .tags p {
    font-size: 14px;
    padding: 5px 2rem;
  }
  .post_main .tags-box .share {
    gap: 16px;
    margin: 0;
  }
  .post_main .tags-box .share a {
    width: 40px;
    height: 40px;
  }
  .post_main .post_sidebar {
    position: static;
    gap: 30px 20px;
    margin: 0;
  }
  .post_main .post_sidebar .title {
    font-size: 18px;
    letter-spacing: unset;
  }
  .post_main .post_sidebar .title span {
    padding-bottom: 10px;
  }
  .post_main .post_sidebar form {
    grid-template-columns: 1fr 40px;
    height: 46px;
  }
  .post_main .post_sidebar form input[type=text] {
    font-size: 14px;
    padding: 0 20px;
  }
  .post_main .post_sidebar .cat_list {
    margin-top: 20px;
    padding-bottom: 0;
  }
  .post_main .post_sidebar .cat_list li + li {
    margin-top: 10px;
  }
  .post_main .post_sidebar .cat_list a {
    font-size: 14px;
    padding-left: 25px;
  }
  .post_main .post_sidebar .cat_list a::before {
    width: 10px;
    height: 10px;
    top: 6px;
  }
  .post_main .post_sidebar .related_list {
    margin-top: 20px;
  }
  .post_main .post_sidebar .related_list ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .post_main .post_sidebar .related_list .info {
    padding: 0;
  }
  .post_main .post_sidebar .related_list .info .name {
    font-size: 16px;
    line-height: 1.5;
  }
  .post_main .post_sidebar .related_list .info .date {
    grid-template-columns: 14px 1fr;
    font-size: 14px;
    margin-top: 10px;
    gap: 10px;
  }
  .breadcrumbs a, .breadcrumbs span{
    font-size: 14px;
  }
}
@media screen and (max-width: 576px) {
  .post_main .post_sidebar .related_list ul {
    grid-template-columns: 1fr;
  }
  .post_main .tags-box .tags {
    margin: 0;
  }
  .post_main .tags-box .share {
    width: 100%;
  }
}
