@import url(https://fonts.googleapis.com/css?family=Montserrat+Alternates:100,200,300regular500,600,700,800,900&display=swap);

@import url(https://fonts.googleapis.com/css?family=Montserrat:100,200,300,regular,500,600,700,800,900&display=swap);

@charset "UTF-8";

* {
  padding: 0px;
  margin: 0px;
  border: 0px;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

html,
body {
  height: 100%;
  min-width: 320px;
}

body {
  color: #000;
  line-height: 1;
  font-family: "Montserrat Alternates", sans-serif;
  font-size: 0.875rem;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

input,
button,
textarea {
  font-family: "Montserrat Alternates", sans-serif;
  font-size: inherit;
}

button {
  cursor: pointer;
  color: inherit;
  background-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}


body {
  background-color: #243855;
}

.lock body {
  overflow: hidden;
  -ms-touch-action: none;
      touch-action: none;
  -ms-scroll-chaining: none;
      overscroll-behavior: none;
}

.wrapper {
  min-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  overflow: hidden;
}

@supports (overflow: clip) {
  .wrapper {
    overflow: clip;
  }
}

.wrapper > main {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
}

.wrapper > * {
  min-width: 0;
}

/*
(i) Стилі будуть застосовуватись до
всіх класів, що містять *__container
Наприклад header__container, main__container і т.п.
Сніппет (HTML): cnt
*/

[class*=__container] {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 0.9375rem;
}

[class*=-ibg] {
  position: relative;
}

[class*=-ibg] img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  -o-object-fit: cover;
     object-fit: cover;
}

[class*=-ibg_contain] img {
  -o-object-fit: contain;
     object-fit: contain;
}

.posts {
  --cards: 3;
  --gap: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: var(--gap);
}

.single-post {
  position: relative;
  width: calc((100% - (var(--cards) - 1) * var(--gap)) / (var(--cards)));
  border: 1px solid #6e7b8d;
  border-radius: 8px;
  background-color: #6e7b8d;
}

.single-post__image {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
  position: relative;
  padding-bottom: 60%;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  background-color: #ffffff;
}

.single-post__image img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: all 0.7s ease 0s;
  transition: all 0.7s ease 0s;
}

.single-post__content {
  padding: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  overflow: hidden;
  min-height: 400px;
  margin-bottom: 20px;
}

.single-post__image-link {
  position: absolute;
  top: 15px;
  right: 20px;
  width: 20px;
  height: 20px;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}

.single-post__image-link img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.single-post__body {
  padding-bottom: 20px;
  border-bottom: 1px solid #9cabbd;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
}

.single-post__category-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.single-post__category-item {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 1.2857142857;
  font-weight: 500;
  padding: 6px;
  border-radius: 4px;
  color: #ffffff;
  background-color: #9cabbd;
}

.single-post__title {
  color: #ffffff;
  font-size: 32px;
  line-height: 1.125;
  font-weight: 700;
  margin-bottom: 20px;
  overflow: hidden;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.single-post__text {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.1111111111;
  font-weight: 400;
  color: #ffffff;
  overflow: hidden;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.single-post__date {
  position: absolute;
  top: 15px;
  left: 20px;
  padding: 4px 6px;
  border-radius: 4px;
  background-color: #404a58;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 1.2857142857;
  font-weight: 400;
  color: #ffffff;
}

.single-post__footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-top: 20px;
}

.single-post__time-read {
  font-size: 14px;
  line-height: 1.1428571429;
  font-weight: 400;
  color: #9cabbd;
}

.single-post__button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 5px;
}

.single-post__button span {
  font-size: 14px;
  line-height: 1.1428571429;
  font-weight: 400;
  color: #FFFFFF;
  display: inline-block;
  -webkit-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}

.single-post__button svg,
.single-post__button path {
  -webkit-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
  fill: #FFFFFF;
}

.breadcrumbs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 80px;
}

.breadcrumbs__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
          flex-wrap: wrap;
}

.breadcrumbs__item {
  margin-right: 36px;
  color: #9cabbd;
  font-size: 14px;
  line-height: 1.2857142857;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
}

.breadcrumbs__link {
  position: relative;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 1.2857142857;
  font-weight: 400;
  color: #ffffff;
  -webkit-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}

.breadcrumbs__link::after {
  content: ">";
  color: #ffffff;
  position: absolute;
  width: 12px;
  height: 12px;
  right: -24px;
}

/*.fade {*/
/*  position: relative;*/
/*  opacity: 0;*/
/*  -webkit-transition: opacity 0.8s;*/
/*  transition: opacity 0.8s;*/
/*}*/

/*.fade.is-inview {*/
/*  opacity: 1;*/
/*}*/

/*.fade-in-bottom {*/
/*  position: relative;*/
/*  opacity: 0;*/
/*  bottom: -60px;*/
/*  -webkit-transition: bottom 0.7s, opacity 0.7s;*/
/*  transition: bottom 0.7s, opacity 0.7s;*/
/*}*/

/*.fade-in-bottom.is-inview {*/
/*  bottom: 0;*/
/*  opacity: 1;*/
/*}*/

.header {
  width: 100%;
  height: 91px;
  background-color: #35517a;
}

.header__block {
  width: 100%;
}

.blog {
  padding-top: 30px;
}

.blog__title {
  font-family: "Montserrat Alternates", sans-serif;
  font-size: 60px;
  line-height: 1.1333333333;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 32px;
  text-align: center;
}

.form {
  margin-bottom: 60px;
}

.form__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 32px;
}

.form__search-field {
  position: relative;
  width: 100%;
  border: 1px solid #6e7b8d;
  background-color: #9cabbd;
  border-radius: 8px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 20px;
}

.form__input {
  width: 100%;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.3333333333;
  font-weight: 400;
  background-color: #9cabbd;
  color: #ffffff;
}

.form__input::-webkit-input-placeholder {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.3333333333;
  font-weight: 400;
  color: #ffffff;
}

.form__input::-moz-placeholder {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.3333333333;
  font-weight: 400;
  color: #ffffff;
}

.form__input:-ms-input-placeholder {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.3333333333;
  font-weight: 400;
  color: #ffffff;
}

.form__input::-ms-input-placeholder {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.3333333333;
  font-weight: 400;
  color: #ffffff;
}

.form__input::placeholder {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.3333333333;
  font-weight: 400;
  color: #ffffff;
}

.form__button {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  right: 20px;
  z-index: 2;
}

.form__button svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

.form__select-field {
  position: relative;
  border-radius: 8px;
  background-color: #9cabbd;
}

.form__select-field select.form__select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border: 1px solid #6e7b8d;
  border-radius: 8px;
  color: #cedef2;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.3333333333;
  max-width: 100%;
  outline: none;
  padding: 20px;
  width: 340px;
}

.form__label {
  position: absolute;
  top: 5px;
  left: 20px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 1.2857142857;
  font-weight: 400;
  text-transform: uppercase;
  color: #ffffff;
}

.tags {
  padding-top: 60px;
  padding-bottom: 60px;
}

.tags__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
}

.tags__link {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 500;
  color: #ffffff;
  background-color: #404a58;
  border-radius: 4px;
  padding: 4px 6px;
  -webkit-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
  border: 1px solid #404a58;
}

.post {
  padding-top: 130px;
}

.post__inner-container {
  max-width: 860px;
  margin: 0 auto;
}

.post__posts {
  margin-bottom: 60px;
  margin-top: 60px;
}
.post__posts h3{color: white;}
.post__content h1 {
  color: #ffffff;
  font-family: "Montserrat Alternates", sans-serif;
  font-size: 60px;
  line-height: 1.1333333333;
  font-weight: 700;
  letter-spacing: 0px;
  text-align: center;
  margin-bottom: 64px;
}

.post__content h2 {
  color: #ffffff;
  font-family: "Montserrat Alternates", sans-serif;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: 0em;
  text-align: left;
  margin-bottom: 32px;
  counter-increment: counter;
}

.post__content h2::before {
  content: counter(counter) ". ";
  color: #ffffff;
  font-family: "Montserrat Alternates", sans-serif;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 500;
}

.post__content p {
  color: #f5f6f7;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.3333333333;
  font-weight: 400;
  letter-spacing: 0em;
  text-align: left;
  margin-bottom: 24px;
}

.post__content a {
  color: #f5f6f7;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.3333333333;
  font-weight: 500;
  text-decoration: underline;
}

.post__content ul {
  color: #f5f6f7;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.3333333333;
  font-weight: 400;
  letter-spacing: 0em;
  text-align: left;
  margin-bottom: 50px;
}

.post__content ul li {
  list-style-type: none;
  counter-increment: alphabeticList;
}

.post__content ul li:not(:last-child) {
  margin-bottom: 25px;
}

.post__content ul li::before {
  content: counter(alphabeticList, lower-alpha) ". ";
  color: #f5f6f7;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.1111111111;
  font-weight: 400;
}

.scrollToTopBtn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: #ffffff;
  border: 1px solid #000000;
  position: fixed;
  bottom: 50px;
  right: 50px;
  z-index: 100;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  opacity: 0;
  -webkit-transform: translateY(100px);
      -ms-transform: translateY(100px);
          transform: translateY(100px);
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.scrollToTopBtn svg {
  -webkit-transform: rotate(-180deg);
      -ms-transform: rotate(-180deg);
          transform: rotate(-180deg);
}

.showBtn {
  opacity: 1;
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}

.pagging {
  padding-top: 64px;
  padding-bottom: 32px;
  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;
  gap: 15px;
}

.pagging__arrow {
  border-radius: 4px;
  border: 1px solid #ffffff;
}

.pagging__arrow svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

.pagging__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 15px;
}

.pagging__list li, .pagging__list .page-numbers {
  color: #ffffff;
  font-size: 20px;
  line-height: 24px;
  font-family: "Montserrat Alternates", sans-serif;
}

.pagging__item._active, .page-numbers.current {
  position: relative;
}

.pagging__item._active::after, .page-numbers.current::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 120%;
  height: 2px;
  background: linear-gradient(135deg, #FF7523 0%, #FF7523 53.12%, #FFAB23 100%);
}

@media (max-width: 61.99875em) {
  .posts {
    --cards: 2;
  }

  .form__body {
    gap: 16px;
  }

  .form__select-field select.form__select {
    width: 200px;
  }
}

@media (max-width: 47.99875em) {
  .posts {
    --cards: 1;
  }

  .form__select-field select.form__select {
    width: 140px;
  }

  .post__content h1 {
    font-size: 42px;
    line-height: 1.1904761905;
  }

  .post__content h2 {
    font-size: 32px;
    line-height: 1.1875;
  }

  .post__content h2::before {
    font-size: 32px;
    line-height: 1.1875;
  }

  .scrollToTopBtn {
    bottom: 15px;
    right: 15px;
  }
}

@media (max-width: 29.99875em) {
  .single-post__title {
    font-size: 24px;
    line-height: 1.0833333333;
  }

  .blog__title {
    font-size: 52px;
    line-height: 1.0769230769;
  }

  .form__body {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 8px;
  }

  .form__select-field {
    width: 100%;
  }

  .form__select-field select.form__select {
    width: 100%;
  }
}

@media (any-hover: hover) {
  .single-post__image:hover .single-post__image-link {
    opacity: 1;
    visibility: visible;
  }

  .single-post__image img:hover {
    -webkit-transform: scale(1.05);
        -ms-transform: scale(1.05);
            transform: scale(1.05);
  }

  .single-post__button:hover span,
  .single-post__button:hover svg,
  .single-post__button:hover path {
    color: #9cabbd;
    fill: #9cabbd;
  }

  .breadcrumbs__link:hover {
    background: -webkit-linear-gradient(135deg, #FF7523 0%, #FF7523 53.12%, #FFAB23 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .tags__link:hover {
    color: #404a58;
    background-color: #ffffff;
  }
}

.list_related-posts{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}