@import "./normalize.css";
@import "./icomoon.css";
@import "./common.css";

.post {
  background-color: #fff;
  width: 100%;
  margin: 0 auto;
  padding: 140px 0 30px;
  overflow: hidden;
}
@media screen and (max-width: 1800px) {
  .post {
    padding: 80px 0 30px;
  }
}
@media only screen and (max-width: 1024px) and (min-width: 768px) {
  .post {
    padding: 60px 0 30px;
  }
}
@media only screen and (max-width: 767px) {
  .post {
    padding: 100px 0 30px;
  }
}
.post__wrapper {
  width: 90%;
  margin: 0 auto;
  max-width: 1200px;
  font-size: 1.8rem;
}
@media screen and (max-width: 1800px) {
  .post__wrapper {
    max-width: 940px;
  }
}
.post__wrapper .post-date {
  font-size: 1.2rem;
}
.post__wrapper p,
.post__wrapper .back-btn,
.wp-block-image a,
.post__wrapper a {
  font-family: 'Open Sans';
  font-weight: 400;
  line-height: 1.65;
  vertical-align: baseline;
  font-size: 2.6rem;
  letter-spacing: 0;
  color: #000;
}
@media screen and (max-width: 1800px) {
  .post__wrapper p,
  .post__wrapper .back-btn,
  .wp-block-image a,
  .post__wrapper a {
    font-size: 1.8rem;
  }
}
@media only screen and (max-width: 767px) {
  .post__wrapper p,
  .post__wrapper .back-btn,
  .wp-block-image a,
  .post__wrapper a {
    font-size: 1.8rem;
  }
}
@media screen and (max-width: 400px) {
  .post__wrapper p,
  .post__wrapper .back-btn,
  .wp-block-image a,
  .post__wrapper a {
    font-size: 1.4rem;
  }
}
.post__wrapper p a,
.wp-block-image a,
.post__wrapper a,
.wp-block-image a:hover,
.post__wrapper p a:hover,
.post__wrapper a:hover,
.wp-block-image a:active,
.post__wrapper p a:active,
.post__wrapper a:active,
.wp-block-image a:focus,
.post__wrapper p a:focus,
.post__wrapper a:focus,
.wp-block-image a:visited,
.post__wrapper p a:visited,
.post__wrapper a:visited {
  text-decoration: none;
  color: #ff4e00;
}
.post__wrapper h1,
.post__wrapper h2 {
  font-family: 'roadgeek';
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  vertical-align: middle;
  font-size: 7rem;
  letter-spacing: -1px;
  color: #000000;
  font-weight: 400;
  margin: 0 auto 20px;
}
@media screen and (max-width: 1800px) {
  .post__wrapper h1,
  .post__wrapper h2 {
    font-size: 7rem;
  }
}
@media screen and (max-width: 1470px) {
  .post__wrapper h1,
  .post__wrapper h2 {
    font-size: 7rem;
  }
}
@media only screen and (max-width: 1024px) and (min-width: 768px) {
  .post__wrapper h1,
  .post__wrapper h2 {
    font-size: 6rem;
  }
}
@media screen and (max-width: 970px) {
  .post__wrapper h1,
  .post__wrapper h2 {
    font-size: 6rem;
  }
}
@media only screen and (max-width: 767px) {
  .post__wrapper h1,
  .post__wrapper h2 {
    font-size: 5rem;
    margin: 0 auto 10px;
  }
}

@media screen and (max-width: 400px) {
  .post__wrapper h1,
  .post__wrapper h2 {
    font-size: 4rem;
  }
}
.post__wrapper .wp-block-image {
  width: 100%;
  margin: 20px 0 40px;
}
.post__wrapper .wp-block-image img {
  margin: 0 auto;
  width: 100%;
  height: 100%;
}
.post__wrapper .back-btn {
  border: none !important;
  padding: 0 !important;
  color: #ff4e00;
  outline: none;
}
.back-btn:focus,
.back-btn:hover,
.back-btn:active {
  border: none !important;
  outline: none;
}
.post__wrapper .wp-block-file__button {
  font-size: 1.2rem;
  background-color: #666;
}
.post__wrapper .wp-block-separator {
  border: 5px solid #e6e6e6;
  margin: 30px 0;
}

.post__wrapper ul {
  line-height: 1.8;
}
.post__wrapper .wp-block-image.cover, .post__wrapper .wp-block-cover.cover {
  margin: 40px -50% 60px;
  width: 200%;
  float: none;
}
.post__wrapper .wp-block-button a {
  padding: 12px 35px;
  display: inline-block;
  color: #fff !important;
  background: #2fb14a;
  width: 100%;
  max-width: 320px;
  outline: none;
  border: none;
  border-radius: 5px;
  text-align: center;
  text-transform: uppercase;
  font-family: "PT Sans";
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 4px;
}

@media screen and (max-width: 1800px) {
  .post__wrapper .wp-block-button a {
    font-size: 1.8rem;
    letter-spacing: 3px;
  }
}

@media only screen and (max-width: 767px) {
  .post__wrapper .wp-block-button a {
    font-size: 1.4rem;
    padding: 12px 35px;
  }
}

.post__wrapper .wp-block-button a:hover {
  text-decoration: underline;
}

.wp-block-buttons>.wp-block-button {
  display: flex;
}

.post__wrapper .wp-block-cover .wp-block-cover__inner-container {
  text-align: center;
}
