.post_main {
  padding: 13.6rem 0 10rem;
}
.post_main .head h1 {
  font-size: 4.6rem;
  line-height: 1.2173913;
  text-transform: unset;
  color: #1c1c1c;
  max-width: 98.5rem;
}
.post_main .head .metas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 1.847rem;
  font-weight: 500;
  color: #333333;
  gap: 3.7rem;
  margin-top: 2.7rem;
}
.post_main .head .metas span {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.post_main .head .metas span::before {
  width: 2rem;
  height: 2rem;
  display: inline-block;
  flex-shrink: 0;
  content: '';
  background: no-repeat center / contain;
  margin-bottom: 2px;
}
.post_main .head .metas .cat {
  text-transform: uppercase;
}
.post_main .head .metas .date::before {
  background-image: url("../img/icon-date.svg");
}
.post_main .head .metas .cat::before {
  background-image: url("../img/icon-cat.svg");
}
.post_main .head .img {
  border-radius: 1.1rem;
  aspect-ratio: 1/0.6;
  margin-top: 6rem;
  width: 70%;
  overflow: hidden;
  border-radius: 15px;
}
.post_main .head .img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  
}
.post_main .main {
  margin-top: 7rem;
}
.post_main .main .lt {
  flex: 1;
  width: 100%;
  max-width: 104.9rem;
}
.post_main .postdetail {
  font-size: 1.8rem;
  line-height: 1.6666667;
  color: #666;
  hyphens: auto;
}
.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.8rem;
  line-height: 1.357143;
  color: #1c1c1c;
  text-transform: unset;
  margin: 6rem 0 3.3rem;
}
.post_main .postdetail h3 {
  font-size: 2.2rem;
  font-weight: 600;
  color: #1c1c1c;
  margin: 3rem 0;
}
.post_main .postdetail p {
  margin: 3rem 0 2rem;
}
.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: 1.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-quote {
  display: grid;
  align-items: flex-start;
  grid-template-columns: 5.1rem 1fr;
  gap: 3.1rem;
  margin: 2.7rem 0 6.3rem;
}
.post_main .postdetail .wp-block-quote::before {
  padding-bottom: 102%;
  display: block;
  background: url("../img/icon-quote.svg") no-repeat center / contain;
  content: '';
  margin-top: 2px;
}
.post_main .postdetail .wp-block-quote p {
  font-size: 1.9rem;
  line-height: 1.579;
  font-weight: 600;
  color: #3d3d3d;
  max-width: 87.9rem;
  margin: 0;
}
.post_main .postdetail .pd_box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  border-radius: 1.6rem;
  background-color: #f8f8f9;
  margin: 6.5rem 0 6rem;
  padding-left: 5.7197%;
  gap: 2rem;
}
.post_main .postdetail .pd_box .wp-block-column:has(img) {
  position: relative;
  width: 48.635%;
}
.post_main .postdetail .pd_box .wp-block-column:has(img)::after {
  padding-bottom: 100%;
  display: block;
  content: '';
}
.post_main .postdetail .pd_box .wp-block-column:has(img) img {
  position: absolute;
  left: 0;
  top: 0;
  object-fit: contain;
  margin: 0;
}
.post_main .postdetail .pd_box .wp-block-column:has(.btn) {
  flex: 1;
  max-width: 46.6rem;
  width: 100%;
  padding: 4rem 0 4.9rem;
}
.post_main .postdetail .pd_box .wp-block-column:has(.btn) .title {
  font-size: 4.8rem;
  line-height: 1.291667;
  font-weight: 700;
  color: var(--title);
  text-transform: uppercase;
}
.post_main .postdetail .pd_box .wp-block-column:has(.btn) .desc {
  color: var(--text);
  margin-top: 3.4rem;
}
.post_main .postdetail .pd_box .wp-block-column:has(.btn) .btn {
  margin-top: 2.2rem;
  padding: 0 3.8rem;
}
.post_main .tags-box {
  border-top: 1px solid rgba(0, 0, 0, 0.14);
  padding-top: 2.5rem;
  margin-top: 8.1rem;
}
.post_main .tags-box .tags {
  flex: 1;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 0.5rem;
}
.post_main .tags-box .tags span {
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 500;
  margin-right: 1.2rem;
  margin-top: 1rem;
}
.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;
  min-width: 12rem;
}
.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 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: var(--secondary);
}
.post_main .tags-box .share a::after {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  background: no-repeat center / contain;
}
.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 {
  width: 27.4375%;
  min-width: 35rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  padding-top: 0.7rem;
  position: sticky;
  top: 10rem;
}
.post_main .post_sidebar .search form {
  display: grid;
  grid-template-columns: 1fr 4.5rem;
  border-radius: 0.7rem;
  border: 1px solid #b2b2b2;
  height: 5.6rem;
}
.post_main .post_sidebar .search form:has(:focus-within) {
  border-color: var(--primary);
}
.post_main .post_sidebar .search form input[type=text] {
  display: block;
  width: 100%;
  background-color: transparent;
  font-size: 1.7rem;
  font-weight: 500;
  color: #787974;
  padding: 0 2rem;
}
.post_main .post_sidebar .search form input[type=text]::placeholder {
  color: #787974;
}
.post_main .post_sidebar .search form input[type=submit] {
  display: block;
  width: 100%;
  text-indent: -999px;
  color: transparent;
  white-space: none;
  font-size: 1px;
  background: url("../img/icon-search.svg") no-repeat center left / 44%;
}
.post_main .post_sidebar .post_nav > .title {
  position: relative;
  font-size: 2.2rem;
  font-weight: 700;
  color: #222222;
  border-bottom: 1px solid rgba(0, 0, 0, 0.17);
}
.post_main .post_sidebar .post_nav > .title span {
  display: inline-block;
  border-bottom: 2px solid var(--primary);
  padding: 1.5rem 0;
  margin-bottom: -2px;
}
.post_main .post_sidebar .post_category ul {
  margin-top: 2.8rem;
  padding-bottom: 1.3rem;
}
.post_main .post_sidebar .post_category ul li + li {
  margin-top: 1.8rem;
}
.post_main .post_sidebar .post_category ul li.active a,
.post_main .post_sidebar .post_category ul a:hover {
  color: var(--primary);
}
.post_main .post_sidebar .post_category ul li.active a::before,
.post_main .post_sidebar .post_category ul a:hover::before {
  filter: unset;
  opacity: 1;
}
.post_main .post_sidebar .post_category ul li.active a {
  font-weight: 500;
}
.post_main .post_sidebar .post_category ul a {
  position: relative;
  text-transform: uppercase;
  font-size: 1.8rem;
  color: #666666;
  vertical-align: top;
  transition: all 0.3s;
  padding-left: 2.6rem;
}
.post_main .post_sidebar .post_category ul a::before {
  position: absolute;
  width: 1.2rem;
  height: 1.2rem;
  left: 0;
  top: 0.5rem;
  content: '';
  background: url("../img/post-nav.svg") no-repeat center left / contain;
  filter: contrast(0) brightness(0);
  opacity: 0.5;
  transition: all 0.3s;
}
.post_main .post_sidebar .post_articles ul {
  margin-top: 4.1rem;
  display: grid;
  gap: 3.2rem;
}
.post_main .post_sidebar .post_articles ul a {
  display: grid;
  grid-template-columns: 39.41% 1fr;
  align-items: center;
  height: 100%;
  gap: 2rem;
}
.post_main .post_sidebar .post_articles ul a:hover img {
  transform: scale(1.02);
}
.post_main .post_sidebar .post_articles ul .img {
  border-radius: 0.6rem;
  padding-bottom: 61.85%;
  position: relative;
}
.post_main .post_sidebar .post_articles ul .img img{
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post_main .post_sidebar .post_articles ul .info {
  padding-bottom: 0.3rem;
}
.post_main .post_sidebar .post_articles ul .info .title {
  font-size: 1.8rem;
  line-height: 2.6rem;
  font-weight: 500;
  color: #000;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.post_main .post_sidebar .post_articles ul .info .date {
  font-size: 1.5rem;
  color: #8e8e8e;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.1rem;
}
.post_main .post_sidebar .post_articles ul .info .date::before {
  display: inline-block;
  content: '';
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  background: url("../img/icon-date2.svg") no-repeat center / contain;
}
.page_blog {
  padding-top: 5rem;
  padding-bottom: 17.5rem;
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .post_main .postdetail .pd_box .wp-block-column:has(.btn) .title {
    font-size: 3.5rem;
  }
}
@media screen and (max-width: 768px) {
  .post_main {
    padding: 30px 0 50px;
  }
  .post_main .head h1 {
    font-size: 22px;
    line-height: 1.3;
  }
  .post_main .head .metas {
    font-size: 14px;
    gap: 20px;
    margin-top: 20px;
  }
  .post_main .head .metas span {
    gap: 8px;
  }
  .post_main .head .metas span::before {
    width: 16px;
    height: 16px;
  }
  .post_main .head .img {
    border-radius: 10px;
    margin-top: 30px;
  }
  .post_main .main {
    margin-top: 30px;
    display: block;
  }
  .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 {
    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 {
    margin: 30px 0;
    gap: 14px;
    grid-template-columns: 40px 1fr;
  }
  .post_main .postdetail .wp-block-quote::before {
    margin: 0;
  }
  .post_main .postdetail .wp-block-quote p {
    font-size: 16px;
    line-height: 1.5;
  }
  .post_main .postdetail .pd_box {
    padding: 0;
    margin: 40px 0;
    border-radius: 10px;
    gap: 0;
  }
  .post_main .postdetail .pd_box .wp-block-column:has(.btn) {
    padding: 20px;
  }
  .post_main .postdetail .pd_box .wp-block-column:has(.btn) .title {
    font-size: 18px;
    line-height: 1.5;
  }
  .post_main .postdetail .pd_box .wp-block-column:has(.btn) .desc {
    margin-top: 10px;
  }
  .post_main .postdetail .pd_box .wp-block-column:has(.btn) .btn {
    margin-top: 20px;
    padding: 0 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;
    min-width: 100px;
    padding: 6px 20px;
  }
  .post_main .tags-box .share {
    gap: 16px;
    margin: 0;
  }
  .post_main .tags-box .share a {
    width: 40px;
    height: 40px;
  }
  .post_main .post_sidebar {
    width: 100%;
    min-width: unset;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 40px;
    gap: 30px 20px;
  }
  .post_main .post_sidebar .search {
    width: 100%;
  }
  .post_main .post_sidebar .search form {
    grid-template-columns: 1fr 40px;
    height: 46px;
  }
  .post_main .post_sidebar .search form input[type=text] {
    font-size: 14px;
    padding: 0 20px;
  }
  .post_main .post_sidebar .post_nav {
    width: calc((100% - 20px) / 2);
  }
  .post_main .post_sidebar .post_nav > .title {
    font-size: 18px;
  }
  .post_main .post_sidebar .post_nav > .title span {
    padding: 10px 0;
  }
  .post_main .post_sidebar .post_category ul {
    margin-top: 20px;
    padding-bottom: 0;
  }
  .post_main .post_sidebar .post_category ul li + li {
    margin-top: 12px;
  }
  .post_main .post_sidebar .post_category ul a {
    font-size: 14px;
    padding-left: 25px;
  }
  .post_main .post_sidebar .post_category ul a::before {
    width: 10px;
    height: 10px;
    top: 3px;
  }
  .post_main .post_sidebar .post_articles ul {
    margin-top: 20px;
    gap: 20px;
  }
  .post_main .post_sidebar .post_articles ul a {
    gap: 14px;
  }
  .post_main .post_sidebar .post_articles ul .info {
    padding: 0;
  }
  .post_main .post_sidebar .post_articles ul .info .title {
    font-size: 16px;
    line-height: 1.5;
  }
  .post_main .post_sidebar .post_articles ul .info .date {
    font-size: 14px;
    gap: 8px;
    margin-top: 10px;
  }
  .post_main .post_sidebar .post_articles ul .info .date::before {
    width: 14px;
    height: 14px;
  }
  .page_blog {
    padding: 50px 0;
  }
}
@media screen and (max-width: 576px) {
  .post_main .postdetail .pd_box .wp-block-column:has(img) {
    width: 100%;
  }
  .post_main .post_sidebar .post_nav {
    width: 100%;
  }
  .post_main .tags-box .share {
    width: 100%;
  }
}
