/*!
Theme Name: checkpoint
Author: Sowa-Studio
Author URI: http://sowa-studio.ru/
Version: 1.0.0
*/

.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.gallery {
  margin-bottom: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
}

.gallery-columns-2 .gallery-item {
  max-width: 50%;
}

.gallery-columns-3 .gallery-item {
  max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
  max-width: 25%;
}

.gallery-columns-5 .gallery-item {
  max-width: 20%;
}

.gallery-columns-6 .gallery-item {
  max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
  max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
  max-width: 11.11%;
}

.gallery-caption {
  display: block;
}

.acf-field input[type='search'] {
  width: 100% !important;
}

div.wpcf7-response-output {
  border: none !important;
}

.wpcf7-form p {
  margin: 0;
}

.acceptance [type='checkbox'] {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.acceptance label span::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -webkit-box-flex: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
  border: 2px solid #e9690d;
  background-color: #fff;
  border-top-width: 2px;
  border-radius: 0.25em;
  margin-right: 0.5em;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50% 50%;
  margin: 0 10px 0 0px;
}

.acceptance [type='checkbox']:checked + span::before {
  background-image: url("data:image/svg+xml,%3Csvg width='30px' height='30px' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 12.6111L8.92308 17.5L20 6.5' stroke='%23ffffff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-color: #e9690d;
}

.checkpoint-blog-card {
  margin-bottom: 20px;
}

.blog-page .checkpoint-blog-card {
  margin-bottom: 40px;
}

.checkpoint-blog-card .blog-item-inner {
  height: 100%;
  text-decoration: none;
  background: #fff;
  -webkit-box-shadow: 0 12px 35px rgba(38, 47, 59, 0.15);
  box-shadow: 0 12px 35px rgba(38, 47, 59, 0.15);
  border-radius: 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-transition: color 0.3s ease, box-shadow 0.3s ease;
  -o-transition: color 0.3s ease, box-shadow 0.3s ease;
  transition: color 0.3s ease, box-shadow 0.3s ease;
}

.checkpoint-blog-card .blog-item-text {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
  -o-transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.checkpoint-blog-card .blog-item-title {
  color: #212121;
  -webkit-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.checkpoint-blog-card .blog-card-image-link {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  -webkit-transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
  -o-transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.checkpoint-blog-card .blog-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  -o-transition: transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.checkpoint-blog-card .blog-item-excerpt {
  display: block;
  margin-bottom: 15px;
  color: #6b6764;
  -webkit-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.checkpoint-blog-card .blog-more-btn {
  -ms-flex-item-align: start;
  align-self: flex-start;
  margin-top: auto;
  -webkit-transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
  -o-transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.checkpoint-blog-card:hover .blog-item-inner {
  -webkit-box-shadow: 0 5px 10px rgba(38, 47, 59, 0.35);
  box-shadow: 0 5px 10px rgba(38, 47, 59, 0.35);
}

.checkpoint-blog-card:hover .blog-item-img {
  -webkit-transform: scale(1.04);
  -ms-transform: scale(1.04);
  transform: scale(1.04);
}

.checkpoint-blog-card:hover .blog-item-title {
  color: #e9690d;
}

.checkpoint-blog-card:hover .blog-item-excerpt {
  color: #6b6764;
}

.checkpoint-blog-card:hover .blog-more-btn {
  color: #fff;
  background-color: #e9690d;
  border-color: #e9690d;
}

.checkpoint-blog h1 {
  margin-bottom: 30px;
}

.checkpoint-blog .blog-grid {
  margin-bottom: 10px;
}

.checkpoint-blog-article .article-faq,
.checkpoint-blog-article .article-related {
  margin-top: 45px;
}

.checkpoint-blog-article .article-faq h2,
.checkpoint-blog-article .article-related h2 {
  margin-bottom: 25px;
}

.checkpoint-blog-article .article-faq__item {
  padding: 20px 0;
  border-top: 1px solid #e1d9d5;
}

.checkpoint-blog-article .article-faq__item:last-child {
  border-bottom: 1px solid #e1d9d5;
}

.checkpoint-blog-article .article-faq__question {
  margin-bottom: 10px;
  font-size: 20px;
}

.checkpoint-blog-article iframe {
  max-width: 100%;
}

.checkpoint-blog-article .wp-block-table {
  margin: 25px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.checkpoint-blog-article .checkpoint-table-scroll {
  width: 100%;
  margin: 25px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.checkpoint-blog-article .wp-block-table .checkpoint-table-scroll {
  margin: 0;
}

.checkpoint-blog-article table {
  width: 100%;
  margin: 25px 0;
  border-collapse: collapse;
  border-spacing: 0;
  background-color: #fff;
}

.checkpoint-blog-article .wp-block-table table {
  margin: 0;
}

.checkpoint-blog-article .checkpoint-table-scroll table {
  margin: 0;
  min-width: 640px;
}

.checkpoint-blog-article table th,
.checkpoint-blog-article table td {
  padding: 14px 16px;
  border: 1px solid #e1d9d5;
  vertical-align: top;
  line-height: 1.5;
}

.checkpoint-blog-article table th {
  font-weight: 700;
  color: #2f2f2f;
  background-color: #f7f4f2;
}

.checkpoint-blog-article table tbody tr:nth-child(even) td {
  background-color: #fbfaf9;
}

@media (max-width: 767px) {
  .checkpoint-blog-article .wp-block-table {
    margin: 20px 0;
  }

  .checkpoint-blog-article .checkpoint-table-scroll {
    margin: 20px 0;
  }

  .checkpoint-blog-article .wp-block-table table {
    min-width: 640px;
  }

  .checkpoint-blog-article table th,
  .checkpoint-blog-article table td {
    min-width: 150px;
    padding: 12px 14px;
  }
}

.checkpoint-blog-navigation {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.checkpoint-blog-navigation li {
  margin-left: 10px;
  min-width: 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #e9690d;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  -o-transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.checkpoint-blog-navigation li:first-child {
  margin-left: 0;
}

.checkpoint-blog-navigation li:has(.current) {
  color: #fff;
  background-color: #e9690d;
  border-color: #e9690d;
}

.checkpoint-blog-navigation li .current {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0;
  color: inherit;
}

.checkpoint-blog-navigation li:hover {
  color: #fff;
  background-color: #e9690d;
}

.checkpoint-blog-navigation li:hover a {
  color: #fff;
}

.checkpoint-blog-navigation li a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  -webkit-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.checkpoint-blog-navigation .next.page-numbers,
.checkpoint-blog-navigation .prev.page-numbers {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  text-indent: -9999px;
}

.checkpoint-blog-navigation .next.page-numbers::before,
.checkpoint-blog-navigation .prev.page-numbers::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  -webkit-transition: border-color 0.3s ease;
  -o-transition: border-color 0.3s ease;
  transition: border-color 0.3s ease;
}

.checkpoint-blog-navigation .next.page-numbers::before {
  -webkit-transform: translate(-65%, -50%) rotate(45deg);
  -ms-transform: translate(-65%, -50%) rotate(45deg);
  transform: translate(-65%, -50%) rotate(45deg);
}

.checkpoint-blog-navigation .prev.page-numbers::before {
  -webkit-transform: translate(-35%, -50%) rotate(-135deg);
  -ms-transform: translate(-35%, -50%) rotate(-135deg);
  transform: translate(-35%, -50%) rotate(-135deg);
}
