/* ==========================================================
   MFTA Remote Posts
   ========================================================== */

.mfta-rp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 20px;
	align-items: stretch;
}

/* ==========================================================
   Card
   ========================================================== */

.mfta-rp-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #ececec;
	transition: all .25s ease;
}

.mfta-rp-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

/* ==========================================================
   Image
   ========================================================== */

.mfta-rp-image {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f5f5f5;
}

.mfta-rp-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .35s ease;
}

.mfta-rp-card:hover .mfta-rp-image img {
	transform: scale(1.05);
}

/* ==========================================================
   Content
   ========================================================== */

.mfta-rp-content {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 22px;
}

/* ==========================================================
   Category
   ========================================================== */

.mfta-rp-category {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #48B7B4;
	margin-bottom: 10px;
}

/* ==========================================================
   Title
   ========================================================== */

.mfta-rp-title {
	margin: 0 0 12px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.35;
}

.mfta-rp-title a {
	color: inherit;
	text-decoration: none;
}

.mfta-rp-title a:hover {
	color: #48B7B4;
}

/* ==========================================================
   Excerpt
   ========================================================== */

.mfta-rp-excerpt {
	color: #666;
	font-size: 15px;
	line-height: 1.7;
	margin-bottom: 20px;
	flex: 1;
}

/* ==========================================================
   Meta
   ========================================================== */

.mfta-rp-meta {
	font-size: 13px;
	color: #888;
	margin-bottom: 18px;
}

/* ==========================================================
   Button
   ========================================================== */

.mfta-rp-button {
	display: inline-flex;
	align-items: center;
	font-size: 14px;
	font-weight: 600;
	color: #48B7B4;
	text-decoration: none;
	transition: all .2s ease;
}

.mfta-rp-button::after {
	content: "→";
	margin-left: 8px;
	transition: margin-left .2s ease;
}

.mfta-rp-button:hover {
	color: #111;
}

.mfta-rp-button:hover::after {
	margin-left: 12px;
}


/* ==========================================================
   Report Layout
========================================================== */

.mfta-rp-grid-report{
	grid-template-columns:repeat(var(--mfta-columns),1fr);
}

.mfta-rp-report{
	display:flex;
	flex-direction:column;
	height:100%;
	    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    transition:.25s;
}
.mfta-rp-report:hover {
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);*/
    transform:translateY(-6px);
	box-shadow:0 12px 32px rgba(0,0,0,.12);
}


.mfta-rp-report-image{
	display:flex;
	aspect-ratio:3 / 4;
	overflow:hidden;
	border-top-left-radius:10px;
	border-top-right-radius:10px;
	background:#f5f5f5;
	margin-bottom:0px;
	transition:.25s;
}

.mfta-rp-report:hover .mfta-rp-report-image{
	/*transform:translateY(-4px);*/
	box-shadow:0 12px 28px rgba(0,0,0,.12);
}

.mfta-rp-report-image img{
	width:100%;
	height:100%;
	object-fit:cover;
	display:block;
}

.mfta-rp-report-content{
	display:flex;
	flex-direction:column;
	flex:1;
	padding:10px 12px 16px;
}

.mfta-rp-report-title {
    flex:1;
    font-size: 16px;
    line-height: 1.45;
    margin: 0 0 8px;
    font-weight: 600;
    min-height:46px;
}

.mfta-rp-report-title a{
	text-decoration:none;
	color:#111;
}

.mfta-rp-report-title a:hover{
	color:#54595F;
}

.mfta-rp-report-date{
	font-size:13px;
	color:#777;
	margin-bottom:4px;
}

.mfta-rp-report-button{
	margin-top:auto;
	display:inline-flex;
	align-items:center;
	font-size:14px;
	font-weight:600;
	color:#54595F;
	text-decoration:none;
}

.mfta-rp-report-button::after{
	content:"→";
	margin-left:8px;
	transition:.2s;
}

.mfta-rp-report-button:hover::after{
	margin-left:12px;
}

/* ==========================================================
   Empty
   ========================================================== */

.mfta-rp-empty {
	padding: 60px 20px;
	text-align: center;
	border: 1px dashed #ddd;
	border-radius: 10px;
	background: #fafafa;
}

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width:1024px){

	.mfta-rp-grid{
		grid-template-columns:repeat(2,1fr);
	}

}

@media (max-width:767px){

	.mfta-rp-grid{
		grid-template-columns:1fr;
	}

	.mfta-rp-content{
		padding:18px;
	}

	.mfta-rp-title{
		font-size:20px;
	}

}