
.blog-listing-section {
    padding: 100px 5px;
}


.blog-tags-container {
    margin-bottom: 80px;
}
.recent-blogs-container {
	margin-bottom: 0rem;
}

.recent-blogs-container.related {
	
}

.recent-blogs-container .rich-text {
	margin-bottom: 6.7rem;
}

.recent-blogs-container .posts {
	gap:20px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.recent-blogs-container .posts .post {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 15px;

	background-color: var(--white);
}



.recent-blogs-container .posts.grid .post:nth-child(1) .body .summary {
	display: none;
}


.recent-blogs-container .posts.grid .post:nth-child(1) .body .post-footer {
	display: block;
}



.recent-blogs-container .posts.grid .post:nth-child(1) .body .post-footer .written-author {
	margin-bottom: 2rem;
}





.recent-blogs-container .posts .post .post-container {
    flex: 1;
    display: flex\;
    flex-direction: column;
    padding: 15px;
    border-radius: 15px;
    border: 2px solid #1976D2;
}

.recent-blogs-container .posts .post .featured-image {
	flex: 1;
	display: flex;
	overflow: hidden;
	max-height: 240px;

	align-items: center;
	justify-content: center;
}

.recent-blogs-container .posts .post .featured-image a {
	display: block;
	width: 100%;
	height: 100%;
}

.recent-blogs-container .posts .post .featured-image img {
display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    max-height: 250px;
    width: 100%;
    border-radius: 15px;
  min-height: 250px;

}

.recent-blogs-container .posts .post .body {
    flex: 1;
    display: flex;
    padding: 27px 0px 0px 0px;
    flex-direction: column;
}

.recent-blogs-container .posts .post .body .tag {
	letter-spacing: 0;
    display: inline-block;
    text-decoration: none;
    margin-bottom: 5px;
    color: #1976D2;
    text-align: left;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.recent-blogs-container .posts .post .body .blog-post-title {
    letter-spacing: 0;
    overflow: hidden;
    color: var(--bodyColour);
    font-size: 22px;
    font-style: normal;
    font-weight: 300;
    line-height: 30px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-blogs-container .posts .post .body .blog-post-title a {
	color: inherit;
	text-decoration: none;
  cursor:pointer;
}

.recent-blogs-container .posts .post .body .summary-container {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: end;
      display: none !important;
}

.recent-blogs-container .posts .post .body .summary {
	display: none;
	font-size: 1.6rem;
	color: #161B30;
	letter-spacing: 0;
	line-height: 25px;
	font-weight: 400;
}

.recent-blogs-container .posts .post .body .summary-container .author {
	font-size: 1.6rem;
	color: #161B30;
	letter-spacing: 0;
	line-height: 25px;
	font-weight: 600;
}


@media(max-width:992px){
    .recent-blogs-container .posts {
        gap: 20px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }


}

@media(max-width:767px){
    .recent-blogs-container .posts {
        gap: 20px;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }


}











.recent-blogs-container .pagination {
    display: flex;
	gap: 5px;
	justify-content: center;
	align-items: center;
	padding-top: 9rem;
}

.recent-blogs-container .pagination .page-number {
	color: #141517;
	font-size: 16px;
	letter-spacing: 0;
	text-align: center;
	line-height: 25px;
	font-weight: 400;
	text-decoration: none;
	padding: 5px 10px;
}

.recent-blogs-container .pagination .page-number.active {
    color: #00A9F3;
	font-weight: 700;
}

.recent-blogs-container .pagination .previous-posts {
	margin-right: 10px;
}

.recent-blogs-container .pagination .next-posts {
	margin-left: 10px;
}




















/* Dropdown container */
.tags {
  position: relative;
  display: inline-block;
}

/* Trigger */
.tags #initial-tag {
  display: block;
  background: #fff;
  cursor: pointer;
}

/* Dropdown list */
.tags .list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid #1976D2;
  border-radius: 8px;
  margin-top: 6px;
  z-index: 100;
  padding: 6px 0;
}

.tags.open .list {
  display: block;
}

/* Parent item */
.tags .parent-tag {
  position: relative;
  padding: 5px 20px;
}

.tags .tag.parent {
  display: block;
  padding: 5px 10px!important;
  font-family: Roboto;
  font-size: 18px!important;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  border-radius: 10px;
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.tags .tag.parent:hover {
  background: #f5f7fa;
}

/* Sub-menu flyout */
.tags .sub-tags {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 380px;
  background: #fff;
  border: 2px solid #1976D2;
  border-radius: 8px;
  padding: 6px 0;
  z-index: 200;
  padding: 15px 20px;
}

@media(max-width:768px){

.blog-tags-container .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column-reverse;
    gap: 15px;
    width: 100%;
}
.blog-tags-container .tags {
    width: 100%;
    max-width: 100%;
}
.blog-search.hs-search-field {
    width: 100%;
}

.hs-search-field__bar.form form .hs-search-field__input {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
          padding-left: 27px;
}
.blog-tags-container .tags .list {
    width: 100%;
    max-width: 100%;
    min-width: 100.8%;
}
.tags .sub-tags {
    display: none;
    position: relative;
    top: 0;
    left: 0;
    min-width: 380px;
    background: #fff;
    border: 0px solid #1976D2;
    border-radius: 8px;
    padding: 6px 0;
    z-index: 200;
    padding: 15px 20px;
  }
  .tags .parent-tag:hover .sub-tags {
		  display: block;
		}
  
  .blog-tags-container .tags .list{max-height:max-content!important;}
}

/* Sub-tag item */
.tags .sub-tags .tag.child {
  display: block;
  margin: 5px 0px;
  line-height: 24px;
}

.tags .sub-tags .tag.child:hover {
  font-weight: 600;
  background: #F1F1F1;
  color: var(--primaryColour);
}
.parent-tag:hover a.tag.parent {
    /* border-radius: 10px; */
    background: #1976D2;
    color: #fff;
    font-weight: 400;
    /* position: relative; */
    /* display: flex; */
    /* flex-direction: row; */
    /* flex-wrap: nowrap; */
    /* justify-content: space-between; */
}




.parent-tag.has-child>a:after { 
    content: "";
    width: 13px;
    height: 18px;
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    transform: rotate(
0deg) translateY(-50%);
    background-image: url(https://146481062.fs1.hubspotusercontent-eu1.net/hubfs/146481062/Arrow%201.svg);
    right: 11px;
    position: absolute;
    top: 16px;
    background-size: contain;
}

.parent-tag.has-child:hover>a:after {
    content: "";
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(89deg) brightness(106%) contrast(101%);
    transform: rotate(
270deg) translateY(-50%);
    top: 8px;
    right: 1px;
}


