/******************** Stories Custom Post ********************/
.omk-stories {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 100px;
}
.omk-stories-header h1 {
  font-size: 46px;
  text-transform: uppercase;
  font-family: Rubik;
  font-weight: 500;
  color: #444;
  margin-bottom: 0;
}
.omk-stories-header h2 {
  font-family: Rubik;
  font-weight: 400;
  text-transform: uppercase;
  margin-top: 8px;
  font-size: 26px;
}
.omk-stories-header img {
  width: 100px;
  margin-bottom: 24px;
}
.omk-stories-social {
  display: flex;
  margin-bottom: 36px;
}
.omk-stories-social > a {
  color: #009966;
  font-size: 24px;
  text-decoration: none;
  margin-right: 18px;
  cursor: pointer;
}
.omk-stories-social i {
  width: 50px;
  height: 50px;
  border: 3px solid #009966;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}
.omk-stories-social > a:hover > i {
  background: #009966;
  color: #fff;
}

.omk-stories-image {
  width: 100%;
  height: auto;
}
.omk-stories-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.omk-stories-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

.omk-stories-content > img {
  width: 100px;
  margin: 0 auto;
}
.omk-stories-content p {
  text-align: center;
  font-size: 28px;
  margin-bottom: 24px;
  margin-top: 0;
}
.omk-stories-content p:first-of-type {
  margin-top: -100px;
}
.omk-stories-nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
}
.omk-stories-nav-section {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.omk-stories-nav-section p {
  text-decoration: none;
  color: #444;
  text-transform: uppercase;
  font-family: Rubik;
  font-weight: 400;
  font-size: 20px;
  margin-bottom: 4px;
  margin-top: 0;
}
.omk-stories-nav-section > p {
  text-decoration: none;
  color: #444;
  text-transform: uppercase;
  font-family: Rubik;
  font-weight: 700;
  font-size: 26px;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.omk-stories-nav-section a {
  text-decoration: none;
  color: #444;
  text-transform: uppercase;
  font-family: Rubik;
  font-weight: 700;
  font-size: 26px;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.omk-stories-nav-section img {
  width: 22px;
}
.omk-stories-nav-section:first-of-type img {
  margin-right: 24px;
}
.omk-stories-nav-section:last-of-type img {
  margin-left: 24px;
}
.omk-stories-nav-section:nth-of-type(2) {
  justify-content: center;
  text-align: center;
}
.omk-stories-nav-section:last-of-type {
  text-align: right;
  justify-content: flex-end;
}
.omk-stories-nav-section:first-of-type {
  text-align: left;
  justify-content: flex-start;
}

@media screen and (max-width: 1024px) {
  .omk-stories-nav-section a {
    font-size: 22px;
  }
  .omk-stories-content p {
    font-size: 22px;
  }
  .omk-stories-header h1 {
    font-size: 34px;
  }
  .omk-stories-header h2 {
    font-size: 22px;
  }
}
@media screen and (max-width: 850px) {
  .omk-stories-nav-section:nth-of-type(2) {
    display: none;
  }
}
@media screen and (max-width: 630px) {
  .omk-stories-nav-section a {
    font-size: 18px;
  }
}
@media screen and (max-width: 530px) {
  .omk-stories-nav-section a > div {
    display: none;
  }
  .omk-stories-content p {
    font-size: 20px;
  }
  .omk-stories-header h1 {
    font-size: 30px;
  }
  .omk-stories-header h2 {
    font-size: 20px;
  }
  .omk-stories-social > a {
    font-size: 20px;
  }
  .omk-stories-social i {
    width: 40px;
    height: 40px;
  }
  .omk-stories-nav-section:last-of-type img {
    margin-right: 12px;
  }
  .omk-stories-nav-section:first-of-type img {
    margin-left: 12px;
  }
}
