.section-news .container {
  padding: 0;
  margin: 0;
}

.margin_bottom {
  margin-bottom: 40px;
}

.col-12.margin_auto {
  margin: 0 auto;
  max-width: 1320px;
}

.section-news .row>* {
  padding-right: calc(var(--bs-gutter-x)*1);
  padding-left: calc(var(--bs-gutter-x)*1);
}

.news_bottom {
  margin-bottom: 40px;
  display: grid;
  justify-content: space-around;
  align-content: space-between;
}

.news_block {
  height: 100%;
  width: 100%;
  border: 1px solid #E3E3E3;
  max-width: 400px;
  background: white;
}

.news-item-info {
  padding-top: 30px;
  padding-right: 30px;
  padding-left: 30px;
  padding-bottom: 20px;
}

.news-item-title {
  margin-bottom: 20px;
}

.news-item-title h4 a {
  font-family: 'Spectral';
  font-style: normal;
  font-size: 22px;
  line-height: 100%;
  letter-spacing: -0.025em;
  color: #000000;
  transition: 1s;
  overflow-wrap: break-word;
  hyphens: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 800;
}

.news-item-title h4 a:hover {
  color: #007ec4;
  transition: 1s;
  text-decoration: none;
}

.about-news_data {
  display: flex;
  flex-direction: row;
  align-items: center;
  align-content: center;
}

#news_full .news-item-info .about-news_data p {
  margin: 0;
  margin-left: 5px;
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.06em;
  color: #00000040;
}

.news_data_hr {
  border-bottom: 1px dashed #dfdfdf;
  margin-top: 5px;
  margin-bottom: 30px;
  width: 40%;
  margin-left: -30px;
}

.news-item-info-container p {
  color: #000000;
  margin-bottom: 30px;
  overflow-wrap: break-word;
  hyphens: auto;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.about_button .glow-on-hover {
  width: 120px;
  height: 22px;
  border: 0;
  outline: 0;
  background: none;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg,#097dc0 0,#ffba00 100%);
  border-image-slice: 1;
}

.about_button .glow-on-hover:before {
  content: '';
  border: 1px solid transparent;
  border-image: linear-gradient(90deg,#097dc0 0,#ffba00 100%);
  border-image-slice: 1;
  position: absolute;
  top: -1px;
  left: -1px;
  background-size: 100%;
  z-index: -1;
  width: 120px;
  height: 22px;
  animation: glowing 20s linear infinite;
  opacity: 0;
  transition: opacity .3s ease-in-out;
}

.about_button .glow-on-hover:hover:before {
  content: '';
  border: 1px solid transparent;
  border-image: linear-gradient(90deg,#097dc0 0,#ffba00 100%);
  border-image-slice: 1;
  position: absolute;
  top: -1px;
  left: -1px;
  background-size: 100%;
  z-index: -1;
  width: 120px;
  height: 22px;
  animation: glowing 20s linear infinite;
  opacity: 1;
  transition: opacity .3s ease-in-out;
}

.about_button .glow-on-hover a {
  text-decoration: none;
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  color: #000000;
}

.about_button .glow-on-hover:after {
  z-index: -1;
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: transparent;
}

#pag {
  display: flex;
  justify-content: center;
  height: 40px;
  margin-top: 20px;
}

#pag .load-more-items {
  background: url(/local/templates/kemgik/images/news/more_button.svg) no-repeat;
  height: 78px;
  width: 230px;
  background-size: cover;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  cursor: pointer;
}

#pag .load-more-items:hover {
  background: url(/local/templates/kemgik/images/news/more_button_hover.svg) no-repeat;
  height: 70px;
  width: 230px;
  background-size: cover;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  cursor: pointer;
  margin-top: 10px;
}

#pag .load-more-items:hover p {
  padding: 25px;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

#pag p {
  padding: 15px;
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 1023px) {
    #news_block {
        padding-top: 40px;
    }
}

@media (min-width: 1200px) {
    .news_bottom:nth-child(6n+5) {
      margin-top: -68px;
    }
    .news_bottom:nth-child(6n+2) .news-item-info-container p {
      -webkit-line-clamp: 2;
    }
    
    .news_bottom:nth-child(6n+5) .news-item-info-container p {
      -webkit-line-clamp: 8;
    }
}

@media screen and (max-width: 579px) {
  #news_block .margin_bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  #news_block .margin_bottom h2.hr {
    margin-bottom: 20px;
    margin-left: 20px;
  }
  #news_block .section-news a.show-all {
    margin-left: 20px;
  }
}