/*-- ===================================================================== */
/*-- =================== Styling for new insight block =================== */
/*-- ===================================================================== */

.post-excerpt {
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3; /* number of lines to show */
	line-clamp: 3;
	-webkit-box-orient: vertical;
}

#insights_more_btn:hover {
	border: 1px solid #ffc600;
}

.insights-block--content {
	min-height: 260px;
}

.insights-block--content .insights-btn {
	position: absolute;
	width: 100%;
	bottom: 0;
}

.insights-block--loadmore .btn {
	display: inline-block;
	padding: 10px 20px;
	font-size: 16px;
	line-height: 1.5;
	border-radius: 5px;
	max-width: 200px;
	margin: 20px auto;
}

.mobile-sort-dropdown {
	position: absolute;
	width: auto;
	text-align: center;
	margin: 0 auto;
	right: 16px;
	top: -34px;
}

.sort-by-btn {
	border: 1px solid #ccc;
	padding: 8px 12px;
	border-radius: 6px;
	color: #000;
	background: #fff;
	text-decoration: none;
	font-size: 14px;
	cursor: pointer;
	transition: background-color .3s ease, border-color .3s ease;
}

.sort-by-btn:hover {
	background-color: #f5f5f5;
	border-color: #999;
}

.sort-dropdown {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	margin-top: 7px;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
	z-index: 1000;
	width: 110px;
}

.sort-dropdown button {
	display: block;
	width: 100%;
	padding: 8px 12px;
	border: 0;
	background: #fff;
	color: #000;
	font-size: 14px;
	text-align: center;
	cursor: pointer;
}

.sort-dropdown button:hover {
	background: #f0f0f0
}

.sort-dropdown.open {
	display: block;
}

.insights-shorting-by button {
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
  min-width: auto;
  padding: .63rem 0;
  margin: 0 1rem;
  position: relative;
}

.insights-shorting-by button:hover {
  color: #ffc600;
}

/* .insights-shorting-by li.active button {
	font-weight: 700;
	text-decoration: underline;
} */

.insights-shorting-by li.active button::before {
  height: .32rem;
  opacity: 1;
  background-color: #ffc600;
  bottom: 0;
  content: "";
  display: block;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  transition: .4s ease-in-out;
  width: 100%;
}
/*-- ===================================================================== */
/*-- ================== Styling for new insight block End ================ */
/*-- ===================================================================== */

.insights-block {
	position: relative
}

@media (min-width:1200px) {
.insights-block {
	padding: 1.25rem 0
}
}

@media (min-width:768px) and (max-width:1199px) {
.insights-block {
	padding: 1.38rem 0
}
}

@media (max-width:767px) {
	
	.insights-latest--img picture {
		align-items: stretch !important;
	}
	.insights-block {
		padding: 1.13rem 0;
	}
	
	.insights-block--content {
		min-height: auto;
	}
	.insights-block--content .insights-btn {
		position: relative;
	}
}
.insights-block--img {
	margin-bottom: 1.5rem;
	padding-top: 75%;
	transition: .4s ease-in-out
}
.insights-block--inner {
	color: #1a222e;
	display: block;
	margin-bottom: 3.13rem;
	position: relative
}

@media (min-width:992px) {
	.insights-block--inner {
		margin-bottom: 5rem
	}
}
.insights-block--inner:hover .insights-block--content .h4, .insights-block--inner:hover .insights-block--content h4 {
	color: #ffc600
}
.insights-block--content .h4, .insights-block--content h4 {
	transition: .4s ease-in-out
}

@media (min-width:1200px) {
.insights-block--content .insights-btn {
	margin-top: .63rem
}
}
.insights-block--content .insights-date {
	color: #485363
}

@media (max-width:991px) {
.insights-block--content .insights-date {
	width: 100%
}
}
.insights-block--title .h2, .insights-block--title h2 {
	margin: 0
}
.insights-block--ft {
	margin-bottom: 2.5rem
}

@media (min-width:1200px) {
.insights-block--loadmore {
	margin-top: 3.13rem
}
}

@media (max-width:1199px) {
.insights-block--filter {
	display: none
}
}
.insights-block--filterbtn {
	display: none
}

@media (max-width:1199px) {
.insights-block--filterbtn {
	display: flex;
	justify-content: flex-end
}
}
.insights-block--filterbtn button {
	align-items: center;
	background-color: #f3f3f3;
	color: #1a222e;
	display: flex;
	min-width: auto
}
.insights-block--filterbtn button img {
	display: block;
	margin-left: .75rem;
	width: 1.25rem
}