/* ==========================================================================
   POST FEED
========================================================================== */
.post-feed {
	width: 100%;
}

/* -----------------------------------
   Grid
----------------------------------- */
.post-feed__grid {
	display: grid;
	gap: 32px;
}

/* -----------------------------------
   Columns
----------------------------------- */
.post-feed--cols-1 .post-feed__grid {
	grid-template-columns: 1fr;
}

.post-feed--cols-2 .post-feed__grid {
	grid-template-columns: repeat(2, 1fr);
}

.post-feed--cols-3 .post-feed__grid {
	grid-template-columns: repeat(3, 1fr);
}

.post-feed--cols-4 .post-feed__grid {
	grid-template-columns: repeat(4, 1fr);
}

/* ==========================================================================
   CLASSIC ENHANCED VARIANT
========================================================================== */
.post-feed--classic-enhanced .post-feed__card {
	height: 100%;
	background: var(--color-white);
	border-radius: 4px;
	overflow: hidden;
	box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
	transition:
		transform .3s ease,
		box-shadow .3s ease;
}

.post-feed--classic-enhanced .post-feed__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0,0,0,.08);
}

.post-feed--classic-enhanced .post-feed__card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
}

/* -----------------------------------
   Media
----------------------------------- */
.post-feed--classic-enhanced .post-feed__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.post-feed--classic-enhanced .post-feed__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease;
}

.post-feed--classic-enhanced .post-feed__card:hover .post-feed__image {
	transform: scale(1.04);
}

/* -----------------------------------
   Category
----------------------------------- */
.post-feed--classic-enhanced .post-feed__category {
	position: absolute;
	top: 16px;
	left: 16px;
	padding: 2px 8px;
	border: 1px solid rgba(255,255,255,.7);
	background: rgba(255,255,255,.12);
	backdrop-filter: blur(4px);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--color-white);
	border-radius: 3px;
}

/* -----------------------------------
   Content
----------------------------------- */
.post-feed--classic-enhanced .post-feed__content {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: 32px 28px;
	text-align: center;
}

.post-feed--classic-enhanced .post-feed__date {
	margin-bottom: 10px;
	font-size: 12px;
	line-height: 1.4;
	color: var(--color-black);
	
}

.post-feed--classic-enhanced .post-feed__title {
	margin: 0 0 10px;
	font-size: var(--font-size-body);
	line-height: var(--line-height-body);
	font-weight: var(--font-weight-body);
	color: var(--color-black);
}

.post-feed--classic-enhanced .post-feed__excerpt {
	font-size: var(--font-size-body-large);	
	line-height: var(--line-height-body);
	color: rgba(0,0,0,.72);
}



@media screen and (max-width: 991px) {

    .post-feed--cols-3 .post-feed__grid,
    .post-feed--cols-4 .post-feed__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .post-feed--classic-enhanced .post-feed__title {
        font-size: 26px;
    }

}

@media screen and (max-width: 767px) {
    .post-feed__grid {
        grid-template-columns: 1fr !important;
    }

    .post-feed--classic-enhanced .post-feed__content {
        padding: 24px;
    }

    .post-feed--classic-enhanced .post-feed__title {
        font-size: 22px;
    }

    .post-feed--classic-enhanced .post-feed__excerpt {
        font-size: 16px;
    }
}
