.post {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.post__header {
  padding: 40px 0 0 0;
  margin-bottom: 40px;
  position: relative;
}

.post__header ul {}

.post__header h1 {
  font-family: FontinSansCR-Regular;
  font-weight: 300;
  font-size: 44px;
  color: #000000;
  letter-spacing: 0;
  line-height: 50px;
  margin-bottom: 20px;
}

.page .post__header h1 {
  text-align: center;
}

.post__header p.time {
  margin-bottom: 0px;
}

.has-post-thumbnail .post__header {
  padding: 30px 0 0 0;
  margin-bottom: 50px;
  ;
}

.has-post-thumbnail .post__header ul {
  justify-content: center;
}

.has-post-thumbnail .post__header h1 {
  margin-bottom: 15px;
  text-align: center;
}

.has-post-thumbnail .post__header p.time {
  margin-bottom: 30px;
  width: 100%;
  text-align: center;
}

.has-post-thumbnail .post__header img {
  width: 100%;
  height: auto;
}

.has-post-thumbnail .post__header img+p {
  margin-top: 20px;
  padding: 0 40px;
  font-family: FontinSansCR-Italic;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.50);
  line-height: 22px;
  text-align: center;
}

.post__content {
  position: relative;
  margin-bottom: 20px;
  width: 100%;
}

.post__content .wp-caption {
  width: 100% !important;
}

.post__content .wp-caption img {
  width: 100%;
  height: auto;
}

.post__content .wp-caption p {
  margin-top: 20px;
  padding: 0 40px;
  font-family: FontinSansCR-Italic;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.50);
  line-height: 22px;
  text-align: center;
}

.post__content img,
.post__content img.aligncenter {
  width: 100%;
  height: auto;
}

.post__content p {
  opacity: 0.9;
  font-family: Alice-Regular;
  font-size: 19px;
  color: #000000;
  letter-spacing: 0;
  line-height: 28px;
  margin-bottom: 20px;
}

.post__content>div:first-child>p:first-child {
  font-family: FontinSansCR-Regular;
  font-size: 22px;
  color: #000000;
  letter-spacing: 0;
  line-height: 32px;
}

.post__content a {
  color: #000;
  font-family: Alice-Regular;
  font-size: 19px;
  text-decoration: underline;
}

.post__content hr {
  margin: 40px 0;
  height: 1px;
  background: #ddd;
  width: 100%;
  border: none;
}

.post__content h1,
.post__content h2,
.post__content h3,
.post__content h4,
.post__content h5,
.post__content h6 {
  margin-top: 10px;
  font-weight: 300;
}

.post__content h1,
.post__content h2 {
  font-family: FontinSansCR-Regular;
  font-size: 44px;
  color: #000000;
  letter-spacing: 0;
  line-height: 50px;
  margin-bottom: 10px;
}

.post__content h3 {
  font-family: FontinSansCR-Regular;
  font-size: 36px;
  color: #000000;
  letter-spacing: 0;
  line-height: 42px;
  margin-bottom: 10px;
}

.post__content h4 {
  font-family: FontinSansCR-Regular;
  font-size: 30px;
  color: #000000;
  letter-spacing: 0;
  line-height: 36px;
  margin-bottom: 10px;
}

.post__content h5 {
  font-family: FontinSansCR-Bold;
  font-size: 24px;
  color: #000000;
  letter-spacing: 0;
  line-height: 30px;
  margin-bottom: 10px;
}

.post__content h6 {
  font-family: FontinSansCR-Bold;
  font-size: 20px;
  color: #000000;
  letter-spacing: 0;
  line-height: 26px;
  margin-bottom: 10px;
  text-transform: none;
}

.post__content blockquote {
  margin: 40px 0 40px;
}

.post__content blockquote:before {
  content: " ";
  width: 90px;
  height: 4px;
  display: block;
  background: rgba(0, 0, 0, 0.20);
  margin: 0 auto;
}

.post__content blockquote::after {
  content: " ";
  width: 90px;
  height: 4px;
  display: block;
  background: rgba(0, 0, 0, 0.20);
  margin: 0 auto;
}

.post__content blockquote p {
  margin: 30px 0;
}

.post__content blockquote,
.post__content blockquote p {
  font-family: Alice-Regular;
  font-size: 30px;
  color: #000000;
  letter-spacing: 0;
  line-height: 36px;
  text-align: center;
}

.post__content ol {
  margin: 10px 0 40px 0;
  padding: 0;
  counter-reset: myCounter;
}

.page .post__content ol {
  margin: 0 0 40px 50px;
}

.post__content ul {
  margin: 10px 0 40px 0;
  padding: 0;
}

.page .post__content ul {
  margin: 0 0 40px 50px;
}

.post__content ol li,
.post__content ul li {
  list-style: none;
  position: relative;
  margin-bottom: 20px;
  opacity: 0.9;
  font-family: Alice-Regular;
  font-size: 19px;
  color: #000000;
  letter-spacing: 0;
  line-height: 28px;
}

.post__content ul li {
  padding: 5px;
}

.post__content ol li p,
.post__content ul li p {
  margin-bottom: 0;
}

.post__content ol li:last-child,
.post__content ul li:last-child {
  margin-bottom: 0px;
}

.post__content ol li:before {
  counter-increment: myCounter;
  content: counter(myCounter)'.';
  font-family: FontinSansCR-Regular;
  font-size: 36px;
  color: #000000;
  letter-spacing: 0;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  text-align: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  position: absolute;
  left: -50px;
}

.post__content ul li:before {
  content: " ";
  height: 100%;
  width: 4px;
  background: #F05B41;
  position: absolute;
  left: -24px;
}
.post__content ul li.blocks-gallery-item:before {
  display: none;
}
.post__content--slider {
  margin-bottom: 30px;
  width: 100%;
}

.post__content--slider figure {
  width: 100%;
  min-height: 400px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  -webkit-flex-direction: column;
  flex-direction: column;
  background: #F6F6F6;
}

.post__content--slider figure img {
  height: auto;
  max-height: 400px;
  width: auto;
  max-width: 100%;
  margin: auto;
}

.post__content--slider figcaption {
  padding-top: 15px;
  width: 100%;
  background: #fff;
}

.post__content .post__content--slider figcaption>p {
  font-family: FontinSansCR-Italic;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.50);
  line-height: 22px;
  text-align: center;
  margin-bottom: 0px;
}

/*flickity*/

.post__content--slider figure img {
  -webkit-transition: opacity 0.4s;
  -o-transition: opacity 0.4s;
  transition: opacity 0.4s;
  opacity: 0;
}

.post__content--slider figure img.flickity-lazyloaded,
.post__content--slider figure img.flickity-lazyerror {
  opacity: 1;
}

.post__content--slider .flickity-prev-next-button {
  width: 60px;
  height: 60px;
  border-radius: 30px;
  background: rgba(0, 0, 0, 0.60);
  top: calc(50% - 30px);
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
  display: flex;
}

.post__content--slider .flickity-prev-next-button.previous {
  left: 20px;
}

.post__content--slider .flickity-prev-next-button.next {
  right: 20px;
}

.post__content--slider .flickity-prev-next-button svg {
  width: 20px;
  margin: auto;
  position: static;
}

.flickity-prev-next-button .arrow {
  fill: #fff;
}

.post__content--slider .flickity-prev-next-button.previous svg {}

.post__content--slider .flickity-prev-next-button.next svg {}

/*end flickity*/

/*democracy*/

.post__content .dem-poll-shortcode {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  margin-top: 20px;
  margin-bottom: 40px;
}

.post__content .dem-poll-shortcode .dem-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.post__content .dem-poll-shortcode input[type="submit"].dem-button,
.post__content .dem-poll-shortcode a.dem-button,
.post__content .dem-poll-shortcode .dem-button {
  font-family: FontinSansCR-Bold;
  font-size: 15px;
  color: #FFFFFF;
  text-transform: none;
  background: #000;
}

.post__content .dem-poll-shortcode a.dem-link {
  font-family: Alice-Regular;
  font-style: normal;
  font-size: 16px;
  color: #F05B41;
  letter-spacing: 0;
  text-decoration: none;
}

.post__content .dem-poll-shortcode strong.dem-poll-title {
  /* Вам нравится новый с: */
  font-family: FontinSansCR-Bold;
  font-size: 24px;
  color: #000000;
  letter-spacing: 0;
  line-height: 30px;
}

.post__content .dem-poll-shortcode .dem-graph {
  background: #F3F3F3;
}

.post__content .dem-poll-shortcode .dem-voted-this .dem-fill {
  background-color: #F05B41;
}

.post__content .dem-poll-shortcode .dem-fill {
  background-color: #D3D3D3;
  background-image: none;
}

.post__content .dem-poll-shortcode .dem-voted-this .dem-votes-txt span,
.post__content .dem-poll-shortcode .dem-voted-this .dem-percent-txt {
  /*color: #fff;*/
}

.post__content .dem-poll-shortcode .dem-votes-txt span,
.post__content .dem-poll-shortcode .dem-percent-txt {
  font-family: 'Ubuntu';
  font-size: 10px;
  color: #000000;
  text-transform: uppercase;
}

.post__content .dem-poll-shortcode .dem-poll-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.post__content .dem-poll-shortcode .dem-poll-info>* {
  opacity: 1;
}

.post__content .dem-poll-shortcode .dem-poll-info .dem-total-votes {
  font-family: FontinSansCR-Bold;
  font-style: normal;
  font-size: 24px;
  color: #000000;
  letter-spacing: 0;
  line-height: 30px;
}

.post__content .dem-poll-shortcode .dem-poll-info .dem-date {
  font-family: Alice-Regular;
  font-style: normal;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.60);
  letter-spacing: 0;
}

.post__content .dem-poll-shortcode .dem-poll-info:after {
  content: none;
}

/*end democracy*/

/*end text*/

.post__action {
  margin-bottom: 40px;
}

.post__action--tag {
  margin-bottom: 20px;
}

.post__action--tag a {
  font-family: FontinSansCR-SC;
  font-size: 20px;
  color: #F05B41;
  text-transform: uppercase;
  margin: 10px 20px 10px 0;
}

@media screen and (min-width:1000px) and (max-width:1279px) {}

@media screen and (min-width:760px) and (max-width:999px) {}

@media screen and (min-width:560px) and (max-width:759px) {
  .post__content,
  .post__action {
    padding: 0 15px;
  }
}

@media screen and (min-width:0) and (max-width:559px) {
  .post__content,
  .post__action {
    padding: 0 15px;
  }
}
