/*
 * Lyrics71 News / Blog Archive
 * --------------------------------
 */


/* =========================================================
   Archive Layout
   ========================================================= */

.news-archive {
	margin-bottom: 2.5rem;
}

.news-archive__main {
	min-width: 0;
}

.news-archive__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}


/* =========================================================
   News Card
   ========================================================= */

.news-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
	overflow: hidden;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	background: #fff;
}

.news-card__image {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f5f5f5;
}

.news-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.news-card__image:hover img,
.news-card__image:focus img {
	transform: scale(1.03);
}

.news-card__content {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1rem;
}

.news-card__title {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.45;
}

.news-card__title a {
	color: inherit;
	text-decoration: none;
}

.news-card__title a:hover,
.news-card__title a:focus {
	color: var(--lyrics71-color-primary);
	text-decoration: none;
}

.news-card__meta {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin-bottom: 0.65rem;
	color: #777;
	font-size: 0.75rem;
	line-height: 1.4;
}

.news-card__meta i {
	color: var(--lyrics71-color-primary);
	font-size: 0.7rem;
}

.news-card__excerpt {
	margin-bottom: 0.9rem;
	color: #555;
	font-size: 0.8rem;
	line-height: 1.65;
}

.news-card__excerpt p {
	margin: 0;
}

.news-card__read-more {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	align-self: flex-start;
	margin-top: auto;
	color: var(--lyrics71-color-primary);
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
}

.news-card__read-more:hover,
.news-card__read-more:focus {
	color: var(--lyrics71-color-link-hover);
	text-decoration: none;
}

.news-card__read-more i {
	font-size: 0.65rem;
	transition: transform 0.2s ease;
}

.news-card__read-more:hover i,
.news-card__read-more:focus i {
	transform: translateX(2px);
}


/* =========================================================
   Empty State
   ========================================================= */

.news-archive__empty {
	margin-bottom: 1.5rem;
	padding: 1.5rem;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	background: #fff;
	text-align: center;
}

.news-archive__empty h2 {
	margin: 0 0 0.5rem;
	color: var(--lyrics71-color-primary);
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.4;
}

.news-archive__empty p {
	margin: 0;
	color: #777;
	font-size: 0.85rem;
	line-height: 1.6;
}


/* =========================================================
   Tablet / Desktop
   ========================================================= */

@media (min-width: 768px) {

	.news-archive__grid {
		grid-template-columns: repeat(
			2,
			minmax(0, 1fr)
		);
	}

}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 575.98px) {

	.news-card__content {
		padding: 0.9rem;
	}

	.news-card__title {
		font-size: 0.95rem;
	}

}