.tags {
  color: #7c8ba5;
  opacity: 0.25;
  font-size: 0.875em;
}

.tags a {
  color: inherit;
  transition: all 0.4s ease;
}

.tags a:hover {
  opacity: 1;
  color: #dbe2f2;
}
.icon {
  border: 1px solid rgba(0, 0, 0, 0.102);
  border-radius: 4px;
  padding: 4px;
  cursor: pointer;
  margin-right: 5px;
}

.icon span:nth-child(2) {
  line-height: 32px;
}

.icons a,
.icons a:hover {
  color: #000;
}

.icon-facebook:before,
.icon-twitter:before,
.icon-vk:before,
.icon-google:before {
  content: '';
  display: inline-block;
  height: 32px;
  width: 32px;
  vertical-align: middle;
  background-color: #000;
  border-radius: 10px;
}

.icon-facebook:after,
.icon-twitter:after,
.icon-vk:after,
.icon-google:after {
  content: '';
  display: inline-block;
  line-height: 32px;
  vertical-align: middle;
}

.icon-facebook:after {
  width: 7px;
  height: 16px;
  margin-left: -19px;
  margin-right: 15px;
  background: url(/static/images/facebook.svg) no-repeat;
}

.icon-vk:after {
  width: 16px;
  height: 9px;
  margin-left: -23px;
  margin-right: 10px;
  background: url(/static/images/vk.svg) no-repeat;
}

.icon-twitter:after {
  margin-left: -24px;
  margin-right: 9px;
  width: 18px;
  height: 16px;
  background: url(/static/images/twitter.svg) no-repeat;
}

.icon-google:after {
  width: 16px;
  height: 10px;
  margin-left: -23px;
  margin-right: 10px;
  background: url(/static/images/google.svg) no-repeat;
}

@media only screen and (min-width: 768px) and (max-width: 992px) {
  .social .icon {
    width: 24%;
    margin-right: 1%;
  }

  .social .icon:first-child {
    margin-left: 0.5%;
  }

  .social .icon:last-child {
    margin-right: 0.5%;
  }
}

@media only screen and (max-width: 767px) {
  .icon {
    width: 90%;
    max-width: 260px;
    float: none;
    clear: both;
    margin: 0 auto 18px;
  }
}
.social {
  margin-top: 55px;
}

.social h2 {
  margin-bottom: 35px;
  text-align: center;
}
.social-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

:is(.social-buttons, .share-control) .social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  min-width: 148px;
  padding: 5px 12px;
  border: 1px solid rgba(0, 0, 0, .102);
  border-radius: 4px;
  color: #000;
  background: #fff;
  font: inherit;
  line-height: 24px;
  text-decoration: none;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}

:is(.social-buttons, .share-control) .social-button:hover {
  color: #000;
  border-color: rgba(0, 0, 0, .3);
  background: #fff;
  text-decoration: none;
}

:is(.social-buttons, .share-control) .social-button:focus-visible {
  outline: 2px solid #000;
  outline-offset: 4px;
}

.social-mark {
  display: inline-block;
  position: relative;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #000;
}
.social-mark::before {
  content: '';
  position: absolute;
  inset: 8px;
  background: #fff;
  mask: var(--social-symbol) center / contain no-repeat;
  -webkit-mask: var(--social-symbol) center / contain no-repeat;
}
.social-mark-facebook { --social-symbol: url('/static/images/facebook.svg'); }
.social-mark-vk { --social-symbol: url('/static/images/vk.svg'); }
.social-mark-twitter { --social-symbol: url('/ui/x.svg'); }
.social-mark-google { background: #fff; }
.social-mark-google::before {
  inset: 6px;
  background: url('/ui/google.svg') center / contain no-repeat;
  mask: none;
  -webkit-mask: none;
}

.social-login-form .social-buttons { padding: 0 30px 40px; }
.social-login-form .social-button {
  flex: 1 1 170px;
  color: #000;
  background: #fff;
  border-color: rgba(0, 0, 0, .102);
  justify-content: flex-start;
}
.social-login-form .social-button:hover { color: #000; background: #fff; border-color: rgba(0, 0, 0, .3); }

@media (max-width: 767px) {
  .social .social-buttons { max-width: 360px; margin: 0 auto; float: none; flex-wrap: nowrap; gap: 8px; }
  .social .social-buttons .social-button {
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    gap: 6px;
    padding: 8px 4px;
    font-size: 12px;
    line-height: 18px;
  }
  .social-login-form .social-buttons { padding: 16px 24px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  :is(.social-buttons, .share-control) .social-button { transition: none; }
}

.share-control { text-align: center; }
.share-menu { display: inline-block; max-width: 100%; }
.share-menu > summary { list-style: none; cursor: pointer; }
.share-menu > summary::-webkit-details-marker { display: none; }
.share-options { margin-top: 12px; padding: 12px; border: 1px solid rgba(0, 0, 0, .102); border-radius: 4px; background: #fff; }
.share-control .share-copy { width: auto; max-width: 100%; height: auto; margin-top: 12px; box-shadow: none; cursor: pointer; }
.share-control [hidden] { display: none; }
.share-status { font-size: 14px; margin: 12px 0 0; }
.share-status:empty { display: none; }
.share-url { display: block; width: 100%; margin-top: 12px; color: #000; background: #fff; border: 1px solid rgba(0, 0, 0, .3); padding: 8px; }

.share-options .social-buttons .social-button {
  flex: 0 0 48px;
  min-width: 48px;
  width: 48px;
  height: 48px;
  padding: 8px;
  gap: 0;
  border-color: transparent;
}
.share-options .social-buttons .social-button:hover { border-color: rgba(0, 0, 0, .102); }
.subscribe {
  margin-top: 60px;
  background-color: #3d2954;
  padding: 50px 0;
  color: #fff;
}

.subscribe h2 {
  margin-bottom: 35px;
  text-align: center;
}

.subscribe .subscribe-body {
  min-height: 110px;
}

.subscribe input {
  width: 100%;
  border-radius: 4px;
  height: 40px;
  outline: none;
  padding: 0 10px;
  color: #000;
  max-width: 480px;
  border: 1px solid #ffffff;
}

.subscribe input.error {
  box-shadow: 0 0 20px 3px rgba(224, 28, 1, 0.7);
  border: 1px solid #f57769;
}

.subscribe div.error {
  font-size: 0.875em;
  color: #f57769;
  height: 1em;
  line-height: 1em;
  margin-top: 15px;
  width: 500px; /* For going under the button if it's necessary until 767px max-width*/
}

.subscribe button {
  margin-left: -10px;
}

.subscribe .confidential {
  font-size: 0.875em;
  margin-top: 15px;
  color: #665a75;
}

.subscribe .subscribed {
  font-size: 1em;
  color: #fff;
  margin: 30px auto 0;
  text-align: center;
}

.subscribe .subscribed:before {
  content: url(/static/images/mail.svg);
  display: inline-block;
  margin-right: 20px;
  width: 41px;
  vertical-align: middle;
}

@media only screen and (max-width: 767px) {
  .subscribe {
    padding-top: 35px;
    padding-bottom: 20px;
    text-align: center;
  }

  .subscribe .subscribe-body {
    min-height: 230px;
  }

  .subscribe input {
    width: 90%;
    max-width: 260px;
  }

  .subscribe div.error {
    width: 100%;
  }

  .subscribe button {
    margin-top: 20px;
    margin-left: 0;
  }

  .subscribe .confidential {
    margin-top: 40px;
    width: 80%;
    margin-left: 10%;
  }

  .subscribe .subscribed {
    margin-top: 70px;
  }
}

@media only screen and (max-width: 400px) {
  .subscribe .subscribe-body {
    min-height: 250px;
  }
}
.avatar {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  overflow: hidden;
}

.avatar img {
  width: 100%;
}

@media only screen and (min-width: 768px) and (max-width: 992px) {
  .avatar-container {
    max-width: 80px;
  }
}

@media only screen and (max-width: 767px) {
  .avatar-container {
    max-width: 75px;
  }
}
.comment-form {
  padding: 0;
  margin-top: 20px;
}

.add-comment {
  text-align: right;
}

.add-comment button {
  width: 206px;
  height: 40px;
  background: url('/static/images/add_comment.png') no-repeat;
  font-size: 0.875em;
  padding: 6px 18px 17px 19px;
  color: #bf1b13;
  cursor: pointer;
  box-shadow: none;
  max-width: none;
  margin-top: 20px;
}

@media only screen and (min-width: 768px) and (max-width: 992px) {
  .comment-form .author p {
    line-height: 65px;
  }

  .comment-form .comment-body {
    width: 100%;
  }
}

@media only screen and (max-width: 767px) {
  .comment-form .author p {
    line-height: 65px;
  }

  .add-comment {
    margin-top: 15px;
    text-align: left;
    font-size: 1em;
  }

  .add-comment button {
    margin-top: 0;
  }
}
.reply {
  margin-bottom: 10px;
}

.reply a {
  color: #7f7f7f;
}

.reply a:hover {
  color: #bf1b13;
}
.comment-sent {
  color: #3fa800;
  margin-top: 20px;
}

.comment-sent img {
  display: inline-block;
  vertical-align: baseline;
}

.comment-sent span {
  margin-left: 10px;
}
.comment {
  margin-top: 33px;
  width: 100%;
  padding: 0;
}

.comment .date {
  text-align: left;
  line-height: 2em;
}

.comment p {
  margin-bottom: 0;
  line-height: 1.5em;
}

.comment a {
  margin-right: 15px;
}

.comment-body {
  margin-bottom: 10px;
}

.comment-recent {
  color: #7f7f7f;
}

.comment-body textarea {
  height: 40px;
  min-height: 40px;
}

#pencil {
  max-width: 12px;
  margin-top: -4px;
  margin-left: 5px;
}

@media only screen and (min-width: 768px) and (max-width: 992px) {
  .comment-body {
    margin-top: 15px;
  }
}

@media only screen and (max-width: 767px) {
  .comment .date {
    margin-top: 5px;
    font-size: 0.75em;
  }

  .comment-body {
    margin-top: 5px;
    font-size: 0.875em;
  }

  #pencil {
    max-width: 10px;
    margin-top: -2px;
  }
}
.more-comments {
  text-align: center;
  margin-top: 45px;
  padding: 0;
}

.more-comments a {
  color: #bf1b13;
  border-bottom: 1px dotted transparent;
  transition: all 0.3s ease;
}

.more-comments a:hover {
  border-bottom: 1px dotted #bf1b13;
}

.more-comments hr {
  margin-top: 8px;
}

@media only screen and (max-width: 767px) {
  .more-comments {
    margin-top: 20px;
  }

  .more-comments hr {
    margin-top: 7px;
  }
}
.social-login {
  margin-top: 50px;
  margin-bottom: 50px;
  text-align: center;
}

.social-login a {
  color: #bf1b13;
  border-bottom: 1px dotted transparent;
  transition: all 0.3s ease;
}

.social-login a:hover {
  border-bottom: 1px dotted #bf1b13;
}
.comments {
  margin-top: 70px;
}

.comments h2 {
  text-align: left;
}
body.ReactModal__Body--open {
  /* Prevent scrolling with opened react-modal component in most cases*/
  overflow: hidden;
  position: relative;
  touch-action: none;
  min-height: 100%;
}

.ReactModal__Body--open article,
.ReactModal__Body--open header {
  /* TODO Find a way to use blur.svg instead. At this time svg-url-loader doesn't support filter with #id in SVG - https://github.com/bhovhannes/svg-url-loader/issues/123 */
  filter: blur(3px);
}

.ReactModal__Body--open footer {
  position: relative;
}

.social-login-form {
  text-align: center;
  border-radius: 10px;
  margin: 15% auto;
  max-width: 460px;
  height: auto;
  background-color: #fff;
  color: #000;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.24);
  outline: none;
}

#close {
  position: absolute;
  top: 10px;
  right: 25px;
  cursor: pointer;
  z-index: 1;
}

.social-login-form h2 {
  margin-top: 55px;
  margin-bottom: 60px;
}

.social-login-form .icons {
  padding: 0;
  margin-bottom: 60px;
}

.social-login-form .icon {
  max-width: 170px;
  margin-left: 40px;
  margin-bottom: 30px;
  text-align: left;
}

@media only screen and (max-width: 767px) {
  .social-login-form {
    top: 0;
    width: 90%;
    margin: 2% auto;
    max-width: none;
  }

  .social-login-form h2 {
    margin-top: 15px;
    margin-bottom: 10px;
  }

  .social-login-form .icons {
    margin-bottom: 15px;
  }

  .social-login-form .icon {
    max-width: 170px;
    margin: 10px auto 10px;
  }
}
.related-post a {
  color: inherit;
}

.related-post a:hover {
  text-decoration: underline dotted;
}

.related-post .brief {
  color: #7f7f7f;
  font-size: 0.875em;
}

.related-post .tags {
  text-align: left;
}

@media only screen and (max-width: 767px) {
  .related-post {
    margin: 15px 0;
  }

  .related-post p {
    margin-bottom: 15px;
  }
}
.related-posts {
  background: #f3f3f3;
  margin-top: 35px;
  padding-bottom: 50px;
  margin-bottom: -50px;
  border-radius: 10px;
}

.related-posts h2 {
  text-align: center;
  margin: 50px 0;
}

@media only screen and (max-width: 767px) {
  .related-posts h2 {
    text-align: center;
    margin: 30px 0 15px;
  }
}
.post-header .tags,
.post-header .date {
  color: #7f7f7f;
  opacity: 1;
  line-height: 1em;
  text-align: center;
  margin-bottom: 20px;
}

.post-header .date {
  font-size: 1em;
}

.post-header-photo {
  text-align: center;
}

.post-header-photo img {
  width: 100%;
  max-width: 100%;
}
.post-content .signature {
  color: #7f7f7f;
  text-align: right;
}
