.post_main {
  position: relative;
  z-index: 2;
  max-width: 192rem;
  margin: 0 auto;
  padding: 19.2rem 0 16.2rem;
}
.post_main .content {
  max-width: 104rem;
}
.post_main .bg {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  z-index: -1;
  overflow: hidden;
}
.post_main .metas {
  gap: 2rem;
  display: flex;
  align-items: center;
}
.post_main .metas .cat {
  padding: 0.8rem 1.7rem 0.9rem;
  font-size: 1.8rem;
  border-radius: 100px;
  background-color: var(--secondary);
}
.post_main .metas .date {
  color: #5C5C5C;
  font-size: 1.7rem;
}
.post_main h1 {
  font-weight: 500;
  font-size: 4.8rem;
  line-height: 6.3rem;
  margin-top: 1.6rem;
}
.post_main .image {
  position: relative;
  z-index: 2;
  margin: 5.4rem 0;
}
.post_main .image::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  transform: translate(1.8rem, 1.8rem);
  border-radius: 2.2rem;
  background-color: rgba(6, 28, 51, 0.3);
}
.post_main .image .img {
  border-radius: 2.2rem;
  padding-bottom: 47.307692%;
}
.post_main .inner {
  padding-top: 9.6rem;
  display: grid;
  align-items: start;
  grid-template-columns: 1fr auto 1fr;
}
.post_main .summary {
  padding: 3rem 5rem 0;
  position: sticky;
  top: 90px;
}
.post_main .summary .title {
  font-weight: 500;
  font-size: 1.8rem;
  margin-bottom: 2.4rem;
}
.post_main .summary li {
  position: relative;
}
.post_main .summary li::before {
  content: '';
  display: block;
  width: 0.8rem;
  height: 1.2rem;
  position: absolute;
  left: -2.2rem;
  top: 0.6rem;
  opacity: 0;
  transition: all 0.3s;
  background: url(../img/arrow-r-s.svg) no-repeat center / contain;
}
.post_main .summary li + li {
  margin-top: 1.2rem;
}
.post_main .summary .active::before {
  opacity: 1;
}
.post_main .summary .active a {
  color: var(--secondary);
}
.post_main .summary a {
  color: #516171;
  transition: all 0.3s;
}
.post_main .summary a:hover {
  color: var(--secondary);
}
.post_detail .content > *:first-child {
  margin-top: 0;
}
.post_detail .content > *:last-child {
  margin-bottom: 0;
}
.post_detail h2 {
  font-weight: 500;
  font-size: 4.2rem;
  line-height: 5.7rem;
  margin: 10rem 0 2.8rem;
}
.post_detail h3 {
  font-weight: 500;
  font-size: 3rem;
  line-height: 1.35;
  margin: 6rem 0 2.4rem;
}
.post_detail p {
  color: var(--text);
  font-size: 2rem;
  line-height: 3.6rem;
  margin: 2.8rem 0 3.6rem;
}
.post_detail .button a {
  gap: 1.6rem;
  display: inline-flex;
  align-items: center;
  position: relative;
}
.post_detail .button a::before {
  content: '';
  display: block;
  position: absolute;
  right: 1.75rem;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  transition: all 0.3s;
  filter: contrast(0) brightness(2);
  background: url(../img/arrow-r-b.svg) no-repeat center / contain;
}
.post_detail .button a::after {
  content: '';
  display: block;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  transition: all 0.3s;
  background-color: var(--primary);
}
.post_detail .button a:hover::before {
  filter: none;
}
.post_detail .button a:hover::after {
  background-color: var(--secondary);
}
.post_detail a {
  transition: all 0.3s;
  color: var(--primary);
  text-decoration: underline;
}
.post_detail a:hover {
  color: var(--secondary);
}
.post_detail ul li {
  position: relative;
  padding-left: 2.6rem;
  color: var(--text);
  font-size: 2rem;
  line-height: 3.6rem;
}
.post_detail ul li::before {
  content: '';
  display: block;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 1px solid #4A555E;
  position: absolute;
  left: 0;
  top: 1.3rem;
}
.post_detail ul li + li {
  margin-top: 1.2rem;
}
.post_detail ol {
  margin: 6rem 0 5.2rem;
  counter-reset: list;
}
.post_detail ol li {
  gap: 2.4rem;
  display: grid;
  align-items: start;
  grid-template-columns: auto 31.346154% 1fr;
  color: var(--text);
  font-size: 1.8rem;
  line-height: 2;
  border-bottom: 1px solid #E8ECEF;
  counter-increment: list;
  padding: 2.1rem 0;
}
.post_detail ol li::before {
  content: counter(list, decimal-leading-zero);
  border-radius: 100px;
  min-width: 3.4rem;
  line-height: 3.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid #DCE1E5;
  color: var(--title);
  font-weight: 500;
  font-size: 1.4rem;
}
.post_detail ol li strong {
  color: var(--title);
  font-weight: 500;
  font-size: 2.2rem;
  line-height: normal;
}
.post_related {
  position: relative;
  z-index: 2;
  max-width: 192rem;
  margin: 0 auto;
  padding: 20.4rem 0 5.4rem;
}
.post_related .bg {
  position: absolute;
  left: 0;
  top: -4.6rem;
  right: 0;
  z-index: -1;
  overflow: hidden;
}
.post_related .bg img {
  width: 113.958333%;
  margin: 0 -6.979166%;
}
.post_related .swiper_box {
  margin-top: 3.2rem;
}
.post_related .swiper_btns {
  top: 40%;
}
.post_related .post_related_swiper {
  overflow: hidden;
}
.post_related .btn {
  margin-top: 12.6rem;
}
.footer_gallery .mask {
  filter: none;
}
@media screen and (min-width: 769px) and (max-width: 1220px) {
  .post_main .content {
    max-width: 650px;
  }
  .post_related .bg img {
    width: 130%;
    margin: 0 -15%;
  }
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .post_main .content {
    max-width: 550px;
  }
  .post_main .summary {
    padding: 3rem 4rem 0;
  }
  .post_related .bg img {
    width: 150%;
    margin: 0 -25%;
  }
}
@media screen and (min-width: 769px) and (max-width: 896px) {
  .post_main .inner {
    grid-template-columns: 1fr auto;
  }
  .post_related .bg img {
    width: 160%;
    margin: 0 -30%;
  }
}
@media screen and (max-width: 768px) {
  .post_main {
    padding: 130px 0 50px;
  }
  .post_main .bg img {
    width: 120%;
    margin: 0 -10%;
  }
  .post_main .metas {
    gap: 10px;
  }
  .post_main .metas .cat {
    font-size: 14px;
    padding: 8px 17px 9px;
  }
  .post_main .metas .date {
    font-size: 14px;
  }
  .post_main h1 {
    font-size: 22px;
    line-height: 1.3;
  }
  .post_main .image {
    margin: 20px 0;
  }
  .post_main .image::before {
    transform: translate(10px, 10px);
  }
  .post_main .inner {
    padding-top: 30px;
    grid-template-columns: 1fr auto;
  }
  .post_main .inner .content {
    max-width: 580px;
  }
  .post_main .summary {
    padding: 30px 0 0 30px;
  }
  .post_detail h2 {
    font-size: 20px;
    line-height: 1.3;
    margin: 30px 0 10px;
  }
  .post_detail h3 {
    font-size: 18px;
    line-height: 1.3;
    margin: 20px 0 10px;
  }
  .post_detail p {
    font-size: 14px;
    line-height: 1.7;
    margin: 10px 0;
  }
  .post_detail ul li {
    font-size: 14px;
    line-height: 1.7;
    padding-left: 20px;
  }
  .post_detail ul li::before {
    width: 6px;
    height: 6px;
    top: 8px;
  }
  .post_detail ul li + li {
    margin-top: 10px;
  }
  .post_detail ol {
    margin: 30px 0;
  }
  .post_detail ol li {
    font-size: 14px;
    line-height: 1.7;
    padding: 12px 0;
  }
  .post_detail ol li::before {
    min-width: 30px;
    line-height: 30px;
    font-size: 14px;
    margin-top: -5px;
  }
  .post_detail ol li strong {
    font-size: 15px;
  }
  .post_detail .button a::after {
    width: 42px;
    height: 42px;
  }
  .post_related {
    padding: 50px 0;
  }
  .post_related .bg {
    top: -30px;
  }
  .post_related .bg img {
    width: 140%;
    margin: 0 -20%;
  }
  .post_related .swiper_box {
    margin-top: 30px;
  }
  .post_related .btn {
    margin-top: 30px;
  }
}
@media screen and (max-width: 576px) {
  .post_main {
    padding: 30px 0 50px;
  }
  .post_main .bg img {
    width: 140%;
    margin: 0 -20%;
  }
  .post_main .image::before {
    border-radius: 20px;
  }
  .post_main .image .img {
    border-radius: 20px;
  }
  .post_main .inner {
    display: block;
  }
  .post_main .summary {
    position: static;
    padding: 0 20px 30px;
  }
  .post_main .summary li::before {
    left: -12px;
  }
  .post_related {
    overflow: hidden;
  }
  .post_related .post_related_swiper {
    overflow: visible;
  }
  .post_related .swiper_btns {
    display: none;
  }
}
