/**
 * GRPCMedia Blog Components Styles
 * 
 * Styling for modular blog post info components
 */

/* ============================================================================
   BASE BLOG STYLES
   ============================================================================ */

.grpc-blog-holder {
	margin: 40px 0;
}

.grpc-blog--archive {
	/* Archive specific styles */
}

.grpc-blog--single {
	/* Single post specific styles */
}

/* ============================================================================
   POST INFO COMPONENTS
   ============================================================================ */

.grpc-post-meta {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin: 16px 0;
	font-size: 14px;
	color: var(--grpc-text-muted, #666);
}

/* Author */
.grpc-post-author a {
	color: var(--grpc-primary, #2F2483);
	font-weight: 600;
	text-decoration: none;
	transition: color 0.3s ease;
}

.grpc-post-author a:hover {
	color: var(--grpc-secondary, #1e1850);
}

/* Date */
.grpc-post-date {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--grpc-text-muted, #666);
}

/* Categories */
.grpc-post-categories {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.grpc-post-categories a {
	padding: 4px 12px;
	background: var(--grpc-bg-light, #f5f5f5);
	border-radius: 4px;
	color: var(--grpc-text, #333);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.3s ease;
}

.grpc-post-categories a:hover {
	background: var(--grpc-primary, #2F2483);
	color: #fff;
}

/* Tags */
.grpc-post-tags {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.grpc-post-tags a {
	color: var(--grpc-primary, #2F2483);
	font-size: 13px;
	text-decoration: none;
	transition: color 0.3s ease;
}

.grpc-post-tags a:hover {
	color: var(--grpc-secondary, #1e1850);
	text-decoration: underline;
}

/* Comments */
.grpc-post-comments a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--grpc-text-muted, #666);
	text-decoration: none;
	transition: color 0.3s ease;
}

.grpc-post-comments a:hover {
	color: var(--grpc-primary, #2F2483);
}

/* Meta Separator */
.grpc-meta-separator {
	color: var(--grpc-border, #ddd);
	margin: 0 4px;
}

/* ============================================================================
   POST TITLE
   ============================================================================ */

.grpc-post-title {
	margin: 16px 0;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.3;
}

.grpc-post-title a {
	color: var(--grpc-heading, #1a1a1a);
	text-decoration: none;
	transition: color 0.3s ease;
}

.grpc-post-title a:hover {
	color: var(--grpc-primary, #2F2483);
}

/* ============================================================================
   POST EXCERPT
   ============================================================================ */

.grpc-post-excerpt {
	margin: 16px 0;
	font-size: 16px;
	line-height: 1.7;
	color: var(--grpc-text, #555);
}

/* ============================================================================
   READ MORE BUTTON
   ============================================================================ */

.grpc-post-read-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 20px;
	padding: 12px 28px;
	background: var(--grpc-primary, #2F2483);
	color: #fff;
	border-radius: 50px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(47, 36, 131, 0.2);
}

.grpc-post-read-more:hover {
	background: var(--grpc-secondary, #1e1850);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(47, 36, 131, 0.3);
}

.grpc-read-more-text {
	display: inline-block;
}

/* ============================================================================
   FEATURED IMAGE
   ============================================================================ */

.grpc-post-featured-image {
	margin: 20px 0;
	border-radius: 8px;
	overflow: hidden;
}

.grpc-post-featured-image img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.5s ease;
}

.grpc-post-featured-image a:hover img {
	transform: scale(1.05);
}

/* ============================================================================
   POST CARD LAYOUT (for archive/blog grid)
   ============================================================================ */

.grpc-post-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.grpc-post-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.grpc-post-card__image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16/9;
}

.grpc-post-card__content {
	padding: 24px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.grpc-post-card__title {
	margin: 0 0 12px 0;
	font-size: 20px;
	font-weight: 700;
}

.grpc-post-card__excerpt {
	margin: 12px 0;
	flex: 1;
}

.grpc-post-card__meta {
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--grpc-border, #eee);
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 768px) {
	.grpc-post-title {
		font-size: 22px;
	}
	
	.grpc-post-card__content {
		padding: 20px;
	}
	
	.grpc-post-card__title {
		font-size: 18px;
	}
	
	.grpc-post-meta {
		font-size: 13px;
		gap: 12px;
	}
}

