.anchor-links-block .anchor-links-block-anchors {
  list-style-type: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 40px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin: 50px auto 60px;
}
@media (max-width: 640px) {
  .anchor-links-block .anchor-links-block-anchors {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding: 0 20px;
    gap: 20px;
  }
}
.anchor-links-block .anchor-links-block-anchors li {
  display: inline-block;
  -webkit-box-flex: 1;
      -ms-flex: 1 0 0px;
          flex: 1 0 0;
}
.anchor-links-block .anchor-links-block-anchors li a {
  text-transform: uppercase;
  color: #ffffff;
  background-color: #008BAC;
  margin-right: 0;
  font-weight: 700;
  position: relative;
  z-index: 0;
  -webkit-transition: background-color 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out;
  padding: 10px 15px;
  display: block;
  font-size: 22px;
  font-family: "Avenir Next Condensed", sans-serif;
  letter-spacing: 1.5px;
  text-align: center;
  border: 1px solid #008BAC;
}
.anchor-links-block .anchor-links-block-anchors li a:after {
  z-index: -1;
  position: absolute;
  top: 0;
  bottom: 0;
  content: "";
  width: 30px;
  -webkit-transform: skew(-25deg);
  transform: skew(-25deg);
  background-color: #008BAC;
  -webkit-transition: background-color 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out;
  right: -14px;
  border-left: 1px solid #008BAC;
  border-bottom: 1px solid #008BAC;
  height: 100%;
}
.anchor-links-block .anchor-links-block-anchors li a:before {
  z-index: -1;
  position: absolute;
  top: 0;
  bottom: 0;
  content: "";
  width: 24px;
  -webkit-transform: skew(-25deg);
  transform: skew(-25deg);
  background-color: #008BAC;
  -webkit-transition: background-color 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out;
  left: -12px;
}
.anchor-links-block .anchor-links-block-anchors li a:hover {
  color: #0E6889;
  background-color: #ffffff;
}
.anchor-links-block .anchor-links-block-anchors li a:hover:after {
  background-color: #ffffff;
}
.anchor-links-block .anchor-links-block-anchors li a:hover:before {
  background-color: #ffffff;
}
.anchor-links-block .anchor-links-block-anchors li:first-child a {
  text-align: left;
}
.anchor-links-block .anchor-links-block-anchors li:first-child a:after {
  right: -14px;
  -webkit-transform: skew(-25deg) rotate(180deg);
          transform: skew(-25deg) rotate(180deg);
  top: -1px;
}
.anchor-links-block .anchor-links-block-anchors li:first-child a:before {
  width: 0;
}
.anchor-links-block .anchor-links-block-anchors li:last-child a {
  text-align: right;
}
.anchor-links-block .anchor-links-block-anchors li:last-child a:after {
  right: auto;
  left: -14px;
  top: 0px;
}
.anchor-links-block .anchor-links-block-anchors li:last-child a:before {
  width: 0;
}