* {
  box-sizing: border-box;
}
.ff-container {
  display: flex;
  /*grid-template-columns: repeat(3, 1fr);*/
  gap: 20px;
  width: auto;
  margin: auto;
  flex-wrap: wrap;
  margin-top: 40px;
  margin-bottom: 40px;
}
.ff-orderby-section{
  flex-grow: 1;
}
.ff-search-section{
  flex-grow:2;
}
.ff-cat-filter-section{
  flex-grow:6;
  margin-top: 4px;
}
.ff-container-filter {
  display: flex;
  align-items: stretch;
  width: 100%;
  background-color: #E1EEFF; 
  padding:15px;
}
.ff-post-filter{
  list-style: none;
  display: inline-flex;
  font-size: 16px;
  line-height: 14px;
  padding-left: 0!important;
}
.ff-post-filter li{
  padding: 0px 5px;
}
.ff-post-filter li a{
  text-decoration: none;
  color: #0171FF;
}
.ff-post-filter li a:hover{
  color: #001E44;
}
.ff-container-filter > div {
  color: #000000;
  padding: 0px;
  text-align: center;
  font-size: 30px;
}
.ff-search-container {
  position: relative;
}
.ff-search-container input[type=text] {
  padding: 8px;
  margin: 0px;
  font-size: 17px;
  border: 1px solid #0171FF;
  border-radius: 50px;
  line-height:22px;
}
.ff-search-container button {
  padding: 0px;
  margin-top: 0px;
  background: rgba(255,255,255,0);
  font-size: 17px;
  border: none;
  cursor: pointer;
  position: absolute;
  margin-left: 0px;
}
.ff-search-container button:hover{
  background: rgba(255,255,255,0);
}
.ff-search-container .fa-search:before {
    content: "\f002";
    color: #0171FF;
    position: absolute;
	top:14px;
    right:14px;
}
.ff-first-card{
  display: flex;
  width: 100%;
  margin-bottom: 40px;
}
.ff-first-card .ff-first-card-header{
  width: 50%;
}
.ff-first-card .ff-card-body{
  width: 50%; 
  padding: 20px 40px 0px 40px;
}
.ff-card {
  border-radius: 10px;
  overflow: hidden;
  width: 31.00%;
  margin-right:15px;
}
.ff-first-card-header img{
  object-fit: cover;
  border-radius:  10px;
  width: 100%;
  height: 300px;
}
.ff-first-card .ff-user-info h5{
	font-size:18px;
}
.ff-card-header img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0px 0px 10px 10px;
}
.ff-card-body {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 20px 0px 20px 0px;
  min-height: 250px;
}
.ff-card-body a{
  text-decoration: none;
}
.tag-teal{
  display: flex;
  margin-bottom: 25px;
}
.tag-teal a {
  background-color: #C4DCFC;
  color: #0171FF;
  border-radius: 25px;
  font-size: 11px;
  line-height: 15px;
  margin: 0;
  padding:10px 18px 9px;
  text-transform: uppercase;
  margin-right: 6px;
  font-weight: 700;
}
.tag-purple {
  background-color: #3d1d94;
}
.tag-pink {
  background-color: #c62bcd;
}
.ff-card-body h2 {
  color: #004192;
  font-weight: 600;
  padding-bottom:15px;
  font-size:25px;
  line-height:31px;
}
.ff-card-body p {
  margin: 0px 40px 25px 0px!important;
  font-weight: 400;
  color:#002F6B;
}
.ff-user {
  display: flex;
  margin-top: 0;
}
.ff-user-info{
	margin-top:7px;
}
.ff-user img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  object-fit: cover;
}
.ff-user-info h5 {
  margin: 0!important;
  color:#001E44;
  font-size:16px;
  line-height:12px;
  font-weight:700;
}
.ff-user-info small {
    color: #3f58767a;
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
}
.ff-pagination {
  display: inline-block;
  margin: 0 auto;
  width: 100%;
 text-align: center;
}
.ff-pagination a {
  color: #0171FF;
  padding: 9px 12px 9px 12px;
  text-decoration: none !important;
  border: 1px solid #e7e7fc;
  
}
.ff-pagination .current{
  background: #004192;
  padding: 9px 12px 9px 12px;
  color: #ffff
}
.ff-search-filter {
  color:#004192;
  text-align: center;
  width: 100%;
}
@media screen and (min-width: 1024px) and (max-width: 1366px) {
	.ff-first-card .ff-card-body {
    width: 50%!important;
    padding: 20px 40px 0px 40px!important;
   }
   .ff-card{
		width:30%!important;
		margin-right:20px!important;
	 }
	.ff-post-filter{
		font-size:15px!important;
	}
	.ff-post-filter li{
		padding:0px 6px!important;
	}
	.ff-card-body h2{
		font-size:19px!important;
	}
	.ff-card-body p{
		font-size:15px!important;
	}
}
@media screen and (min-width: 768px) and (max-width: 1024px){
	.ff-first-card .ff-card-body {
    width: 55%;
    padding: 20px 10px 0px 20px;
  }
	 .ff-card{
		width:47%;
		margin-right:0px;
	 }
	.ff-post-filter{
		font-size:12px;
	}
	.ff-post-filter li{
		padding:0px 3px;
	}
	.ff-card-body h2{
		font-size:18px;
	}
	.ff-card-body p{
		font-size:15px;
	}
}
@media screen and (min-width: 320px) and (max-width: 667px) {
  .ff-container-filter{
    display: block;
    padding: 0px;
	background-color:inherit;
  }
  .ff-container-filter > div {
    line-height: 8px;
    padding: 10px 0px 10px 0px;
  }
  .ff-first-card{
    display: block;
  }
  .ff-first-card .ff-first-card-header{
    width: 100%;
  }
  .ff-first-card .ff-card-body{
    width: 100%;
    padding: 20px 0px 10px 0px;
  }
  .ff-card{
    width: 100%;
  }
  .ff-card-body p {
     margin: 0px 10px 10px 0px;
  }
  .ff-cat-filter-section , .ff-orderby-section {
		display:none;
	}
	.ff-search-container input[type=text]{
		width:80%;
	}
}