
form .hs-button, form .hs-button.primary, 
form input[type=submit] {
    background-color: #86B146 !important;
    color: #ffffff !important;
    position: static !important;
    border: none !important;
    font-family: 'Montserrat', sans-serif !important;
    padding-top: 8px;
    padding-right: 30px;
    padding-bottom: 8px;
    padding-left: 30px;
    text-transform: math-auto;
    width: auto !important;
}

form input[type=email] {
    background-color: #ffffff;
    border: 1px solid #edeef3;
    border-radius: 8px;
    color: #53535b;
    font-family: 'Montserrat', sans-serif !important;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    padding: 10px;
    text-decoration: none;
} 

.blog-post__author-bio p>i:first-child {
    display: block;
    line-height: 1.3;
    margin-bottom: 11px;
}

a.next-link {
  padding-left: 10px;
  padding-right: 10px;
}

a.elipses {
  padding-right: 10px;
}

.in-blog__head {
  margin: 0 auto 40px;
  max-width: 860px;
  text-align: left;
}

.in-blog__head-mini-title {
  text-align: center;
  display: inline;
  color: #000000 !important;
}

.in-blog__head_topic {
  margin: 0 auto 0;
  text-align: center;
}

.in-blog__row,
.in-blog-list {
  display: flex;
  flex-wrap: wrap;
}

.in-blog__row {
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  text-align: left;
}

.in-blog__main {
  flex: 0 0 100%;
  max-width: calc(100% - 350px);
}

.in-blog__post {
  flex: 0 0 100%;
  margin-bottom: 50px;
  /*max-width: calc(50% - 15px); */
  max-width: min(440px, calc(50% - 15px));
  padding: 15px;
  transition: transform 0.2s ease-in-out;
  height: 460px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.in-blog__post_part {
  display: flex;
  flex-direction: column;
  justify-content: justify-start;
  overflow: hidden;
}

.in-blog__post:not(:nth-child(2n)) {
  margin-right: 30px;
}

.in-blog__featured-img {
  margin-bottom: 5px;
  position: relative;
}

.in-blog__featured-img>a {
  display: block;
}

.in-blog__featured-img img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.in-blog__btn_group {
  display: flex;
  justify-content: flex-end;
}

.in-blog-list__tag-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding-top: 0 !important;
  bottom: 0;
  /*left: 18px;
  position: absolute; */
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* or remove this if you want it completely free */
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
}

.in-blog__inside {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: 10px;
}

.in-blog-list__tag {
  border-radius: 8px;
  display: inline-block;
  letter-spacing: 0.3px;
  /*margin: 0 10px 5px 0; */
  padding-left: 6px; 
  /*transition: all linear 0.3s; */
  
}
 
.in-blog__author-name,
.in-blog__btn {
  display: inline-flex !important;
}

.in-blog__author-name {
  margin-bottom:  0 !important;
}
.in-blog__author {
  font-family: Montserrat,sans-serif;
}

.in-blog__btn_group {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}

.in-blog__btn {
  position: relative;
}

.in-blog__btn-icon {
  display: inline-block; 
  height: 24px;
  transform: translateY(20%);
  width: 24px;
  position: static;
}

{# Sidebar CSS Start #}

.in-blog__sidebar {
  flex: 0 0 100%;
  max-width: 300px;
  position: sticky;
  top: 30px;
}

.in-blog__action-search {
  margin-bottom: 50px;
  position: relative;
}

.in-blog__sidebar .in-blog__action-search form,
.in-blog__sidebar .in-blog__widget form {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.in-blog__sidebar .hs-search-field__input {
  margin-bottom: 20px;
}

.in-blog__action-search.hs-search-field--open ul.hs-search-field__suggestions {
  padding: 8px 12px;
}

.in-blog__action-search ul.hs-search-field__suggestions {
  background: #ffffff;
  border: none;
  box-shadow: 0px 4px 8px rgb(145 151 161 / 4%), 0px 4px 24px rgb(145 151 161 / 8%);
  left: 0;
  max-height: 200px;
  overflow-y: auto;
  position: absolute;
  right: 0;
  top: 93px;
  z-index: 99;
}

.in-blog__action-search ul.hs-search-field__suggestions::-webkit-scrollbar {
  width: 8px;
}

.in-blog__action-search ul.hs-search-field__suggestions::-webkit-scrollbar-thumb {
  background: #d6d6d6;
  border-radius: 12px;
}

.in-blog__action-search ul.hs-search-field__suggestions li {
  border-bottom: 1px solid #c7c7c7;
  margin-bottom: 10px;
  padding-bottom: 8px;
}

.in-blog__action-search ul.hs-search-field__suggestions li a {
  color: #030303;
  font-weight: 400;
}

.in-blog__action-search ul.hs-search-field__suggestions li a:hover {
  background: transparent;
  color: #030303;
  font-weight: 400;
}

.in-blog__sidebar button {
  cursor: pointer;
}

.in-blog__widget {
  margin-bottom: 30px;
}

.in-blog__widget h6 {
  margin-bottom: 10px;
}

.in-blog__widget ul {
  padding: 0 0 0 0px;
  margin: 0 0 0 20px;
} 

.in-blog__widget a {
  font-size: 14px;
  font-family: Montserrat,sans-serif;
  padding-bottom: 10px;
}

.in-blog__sidebar-tags,
.in-blog__sidebar-post {
  list-style-type: disc;
  padding-left: 10px;
  margin-left: 10px;
}
.in-blog__sidebar-post li {
  margin-bottom: 10px; /* adjust spacing as needed */
}
.in-blog__sidebar-tags>li>a,
.in-blog__sidebar-post>li>a {
  display: inline;
  position: relative;
  line-height: 24px !important;
}
.in-blog__sidebar .form-title {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background-color: transparent;
}

/* Pagination */

.in-blog-pagination {
  text-align: center;
  padding: 40px 0;
}

.in-blog-pagination>h6,
.in-blog-pagination .blog-pagination-left,
.in-blog-pagination .blog-pagination-center,
.in-blog-pagination .blog-pagination-right {
  display: inline-block;
}
.blog-pagination-right a {
  color: #53535B;
  font-size: 15px;
}

.in-blog-pagination .blog-pagination-center {
  margin: 0 0;
}

.in-blog-pagination .blog-pagination-center>a {
 /* border-radius: 8px; */
  /*display: inline-block; */
  height: 28px;
  margin-right: 10px;
  width: 20px;
  font-size: 15px;
  color: #53535B;
  position: relative;
  padding-bottom: 5px; /* adjust space between number and line */
  text-decoration: none; /* remove default underline */
}

.in-blog-pagination .blog-pagination-center>a:last-child {
  margin-left: 0;
}

.in-blog-pagination .blog-pagination-center > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #53535B;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

/* Show underline on hover and active */
.in-blog-pagination .blog-pagination-center > a:hover::after,
.in-blog-pagination .blog-pagination-center > a.active::after {
  transform: scaleX(1);
}

{# FLAGS #}

.blog-card-image-container {
  position: relative;
}

.blog-card-flags {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  z-index: 5;
}

.blog-card-flags img {
  width: 24px;
  height: 16px;
  object-fit: cover;
  background: #fff;
  border-radius: 2px;
  padding: 1px;
}

.more-languages {
  background: #fff;
  font-size: 12px;
  color: #333;
  padding: 2px 6px;
  border-radius: 10px;
}

.blog-card-flags a {
  line-height: 20px;
}

.block h3 {
  display: none; 
}

.in-blog__title  {
  margin-top: 25px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* or remove this if you want it completely free */
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
   overflow: hidden;
}

.in-why-us__title,.systems-page .success,h6 {
  margin-bottom: 10px !important;
}

.in-blog__description {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1; 
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  padding: 0 10px;
}

.in-blog__description a {
    color: inherit !important;
    text-decoration: none !important;
    pointer-events: none; /* disables clicking */
    cursor: default;
}

@media only screen and (max-width: 1100px) {
  .in-blog__main,
  .in-blog__sidebar {
    max-width: 100%;
  }

  .in-blog__main {
    margin: 200px 0 40px 0;
  }

  .in-blog__sidebar {
    position: unset;
    padding: 0 40px 0 40px;
  }

  .in-blog__action-search.hs-search-field {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 99;
  }
}


{# AUTHOR STYLES #}
.in-blog__head-content .author-info__container{
  text-align: left !important;
  padding-top: 40px;
}

.author-info__role p{
  font-style: italic !important;
}
.in-blog__head-content .author-info__content p>i:first-child{
  display: block;
  margin-bottom: 11px;
  line-height: 1.3;
}

.in-blog__head-content .author-info__content h5.author-info__name {
  font-size: 32px;
  margin-bottom: 0px !important;
}

h5.author-info__name {
  color: #004360 !important;
}

.author-info__avatar img {
    width: 200px;
    height: 200px;
    border-radius: 50% !important;
 } 

.blog-sidebar-topic-filter ul li a {
  display: list-item;
}

.in-blog__sidebar-post>li>a:hover,
.in-blog__widget ul.tag-list li a:hover {
  text-decoration: underline !important;
  color: #004360 !important;
  font-weight: 400 !important;
}

@media only screen and (max-width: 767px) {
  
  .in-blog__sidebar .in-blog__action-search form,
  .in-blog__sidebar .in-blog__widget form {
    text-align: center;
  }

  .in-blog__head-content h1 {
    text-align: center !important;
  }

  .in-blog__head-tag-banner {
    text-align: center !important;
  }

  .in-blog__row {
    align-items: center;
    justify-content: center;
    position: relative;
    display: flex;
  }
  
  .in-blog-list {
    justify-content: center;
    display: flex;
  }
  
  .in-blog__head {
    margin: 20px 40px;
  }
  
  .in-blog__post {
    margin-bottom: 20px;
    max-width: 440px;
    padding: 14px 14px 14px;
    max-height: 400px;
  }

  .in-blog__post:not(:nth-child(2n)) {
    margin-right: 0;
  }
  
  .in-blog__head-content .author-info__container{
    padding: 20px !important;
  } 
  
  .in-blog__head-content .author-info__container .author-info__content p {
    text-align: center;
  }
  
  .in-blog__featured-img img {
    display: block;
    width: 100%;
    height: 130px;
    object-fit: cover;
  }
 .in-blog__title {
   font-size: 18px;
  }
  
  .in-blog__head-content .author-info__content h3.author-info__name {
    font-size: 23px !important;
    margin-bottom: 0px !important;
  }
  
  .author-info__avatar img {
    width: 150px;
    height: 150px;
    border-radius: 50% !important;
 } 

}


@media only screen and (min-width: 768px) {
  .head__title {
    font-size: 42px !important;
    /*padding-bottom: 20px !important; */
  }

  .in-blog__head-content h1 {
    font-size: 42px !important;
    text-align: center !important;
     margin-bottom: 40px !important; 
  }

  .in-blog__head-tag-banner {
    font-size: 42px !important;
    text-align: center !important;
    margin-bottom: 40px !important;
  }
}
  @media only screen and (max-width: 576px) {
    form .hs-button, form input[type=submit] {
        display: block;
        width: fit-content !important;
    }
  .in-blog-topic,
  .in-blog-topic h1,
  .in-blog-topic h2,
  .in-blog-topic h3,
  .in-blog-topic h4,
  .in-blog-topic h5,
  .in-blog-topic h6,
  .in-blog-topic p,
  .head__title {
    font-size: 32px !important;  
    }
}

.in-blog__widget .blog-sidebar-topic-filter span div form .hs_submit .actions {
    display: flex !important;
    justify-content: center !important;
  }

.subscribe-widget  h6 {
  margin-bottom: 0px !important;
}

.blog-sidebar-topic-filter span div form div .hs-main-font-element {
  margin-bottom: 0px !important;
}

#turnstile-container {
  display: flex;
  justify-content:center;
}