/**
 * Frontend Styles for News Archive & Single Post Enhancements
 */

/* Blog Header */
.enews-blog-header {
	margin-bottom: 2rem;
}

.enews-archive-h1 {
	font-size: 2.25rem;
	font-weight: 800;
	margin: 0.5rem 0 0.25rem;
	color: #0f172a;
}

/* News Grid */
.enews-news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 1.5rem;
	margin-top: 1rem;
}

@media (max-width: 640px) {
	.enews-news-grid {
		grid-template-columns: 1fr;
	}
}

/* News Card */
.enews-news-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.enews-news-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px -3px rgba(15, 23, 42, 0.08);
	border-color: #2563eb;
}

/* Media Area */
.enews-card-media {
	aspect-ratio: 16 / 9;
	background: #f1f5f9;
	overflow: hidden;
	display: block;
	position: relative;
	text-decoration: none;
}

.enews-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.enews-news-card:hover .enews-card-img {
	transform: scale(1.03);
}

.enews-card-monogram {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #e0f2fe, #dbeafe);
}

.monogram-letter {
	font-size: 3rem;
	font-weight: 800;
	color: #2563eb;
	opacity: 0.7;
	text-transform: uppercase;
}

/* Card Body */
.enews-card-body {
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.enews-card-meta-top {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 0.6rem;
	flex-wrap: wrap;
}

.enews-cat-chip {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	color: #2563eb;
	text-decoration: none;
	background: #eff6ff;
	padding: 2px 8px;
	border-radius: 4px;
}

.enews-lang-chip {
	font-size: 0.75rem;
	font-weight: 600;
	color: #047857;
	background: #ecfdf5;
	padding: 2px 8px;
	border-radius: 4px;
}

.enews-card-title {
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.4;
	margin: 0 0 0.5rem;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.enews-card-title a {
	color: #0f172a;
	text-decoration: none;
}

.enews-card-title a:hover {
	color: #2563eb;
}

.enews-card-time-author {
	font-size: 0.8rem;
	color: #64748b;
	margin-bottom: 0.75rem;
}

.meta-dot {
	margin: 0 4px;
}

.source-tag {
	color: #475569;
	font-weight: 500;
}

.enews-card-excerpt {
	font-size: 0.9rem;
	color: #475569;
	line-height: 1.5;
	margin-bottom: 1.25rem;
	flex: 1;
}

.enews-card-footer {
	margin-top: auto;
}

.read-btn--compact {
	font-size: 0.85rem;
	padding: 6px 14px;
}

/* In-feed Ad Break */
.enews-grid-ad-break {
	grid-column: 1 / -1;
	margin: 1.5rem 0;
	text-align: center;
	padding: 1rem;
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
}

/* Pagination */
.enews-pagination-wrap {
	margin: 2.5rem 0;
	display: flex;
	justify-content: center;
}

.enews-pagination-wrap .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	margin: 0 3px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	color: #334155;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
	transition: all 0.2s ease;
}

.enews-pagination-wrap .page-numbers.current,
.enews-pagination-wrap .page-numbers:hover {
	background: #2563eb;
	color: #ffffff;
	border-color: #2563eb;
}

/* Single Post Meta Bar */
.enews-post-metabar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	margin-bottom: 1.5rem;
	font-size: 0.85rem;
	color: #475569;
	flex-wrap: wrap;
}

.enews-meta-item,
.enews-meta-source {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.enews-meta-badge {
	background: #e0f2fe;
	color: #0369a1;
	padding: 2px 8px;
	border-radius: 4px;
	font-weight: 600;
	font-size: 0.75rem;
}

/* Internal Directory Linking Callout */
.enews-directory-box {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-left: 4px solid #10b981;
	border-radius: 8px;
	padding: 14px 18px;
	margin: 2rem 0;
	font-size: 0.95rem;
	color: #065f46;
}

.enews-directory-box p {
	margin: 0 0 0.5rem 0;
}

.enews-directory-box p:last-child {
	margin-bottom: 0;
}

.enews-directory-box a {
	color: #047857;
	font-weight: 700;
	text-decoration: underline;
}

.enews-directory-box a:hover {
	color: #064e3b;
}

.enews-mentioned-newspapers {
	margin: 6px 0 0 16px;
	padding: 0;
}

.enews-mentioned-newspapers li {
	margin-bottom: 4px;
}

/* FAQs block */
.article-faq-section {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid #e2e8f0;
}

.faq-item {
	margin-bottom: 1.25rem;
}

.faq-item strong {
	display: block;
	font-size: 1.05rem;
	margin-bottom: 4px;
	color: #0f172a;
}
