/**
 * Blendo Magazine Template Styles
 * Modern, Minimalist Magazine Layout
 */

/* ==========================================================================
   Header Image Section
   ========================================================================== */
.blendo-header-image-section {
	width: 100%;
	max-width: 1920px;
	margin: 0 auto 60px;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
}

.blendo-header-image {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	max-height: 444px;
	margin: 0 auto;
}

@media (max-width: 768px) {
	.blendo-header-image-section {
		margin-bottom: 40px;
	}
}

/* ==========================================================================
   Section Shared Styles
   ========================================================================== */
.blendo-section {
	padding: 60px 0;
	border-bottom: 1px solid #e5e5e5;
}

.blendo-section:last-child {
	border-bottom: none;
}

.blendo-section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 40px;
	padding-bottom: 20px;
	border-bottom: 3px solid #000;
}

.blendo-section-title {
	font-size: 36px;
	font-weight: 800;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: -0.5px;
}

.blendo-view-all {
	font-size: 16px;
	font-weight: 600;
	color: #667eea;
	text-decoration: none;
	transition: color 0.3s ease;
}

.blendo-view-all:hover {
	color: #764ba2;
}

/* ==========================================================================
   News Section - Clean 3-Column Grid (3×4 = 12 posts)
   ========================================================================== */
.blendo-news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.blendo-news-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
}

.blendo-news-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blendo-news-image {
	display: block;
	overflow: hidden;
	position: relative;
	padding-bottom: 66.67%; /* 3:2 aspect ratio - uniform for all */
	background: #f5f5f5;
}

.blendo-news-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.blendo-news-card:hover .blendo-news-image img {
	transform: scale(1.05);
}

.blendo-news-content {
	padding: 20px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.blendo-post-meta {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-bottom: 10px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.blendo-category {
	font-weight: 700;
	color: #667eea;
}

.blendo-category a {
	color: #667eea;
	text-decoration: none;
}

.blendo-date {
	color: #999;
	font-weight: 500;
}

.blendo-news-title {
	margin: 0;
	line-height: 1.4;
	font-size: 16px;
	font-weight: 700;
	flex-grow: 1;
}

.blendo-news-title a {
	color: #000;
	text-decoration: none;
	transition: color 0.3s ease;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.blendo-news-title a:hover {
	color: #667eea;
}

/* ==========================================================================
   Reviews Section - Card Grid
   ========================================================================== */
.blendo-reviews-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

.blendo-review-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blendo-review-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blendo-review-image {
	display: block;
	overflow: hidden;
	position: relative;
	padding-bottom: 75%; /* 4:3 aspect ratio */
}

.blendo-review-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.blendo-review-card:hover .blendo-review-image img {
	transform: scale(1.05);
}

.blendo-review-content {
	padding: 25px;
}

.blendo-review-title {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 12px 0;
	line-height: 1.3;
}

.blendo-review-title a {
	color: #000;
	text-decoration: none;
	transition: color 0.3s ease;
}

.blendo-review-title a:hover {
	color: #667eea;
}

.blendo-review-excerpt {
	font-size: 15px;
	line-height: 1.6;
	color: #666;
	margin-bottom: 15px;
}

.blendo-read-more {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	color: #667eea;
	text-decoration: none;
	transition: color 0.3s ease;
}

.blendo-read-more:hover {
	color: #764ba2;
}

/* ==========================================================================
   Open Calls & Awards Section - Single Column Combined List
   ========================================================================== */
.blendo-opportunities-grid {
	display: block;
}

.blendo-opportunities-column {
	background: #f9f9f9;
	padding: 40px;
	border-radius: 8px;
}

.blendo-opportunities-single-column {
	background: #f9f9f9;
	padding: 40px;
	border-radius: 8px;
	max-width: 1000px;
	margin: 0 auto;
}

.blendo-column-title {
	font-size: 28px;
	font-weight: 800;
	margin: 0 0 30px 0;
	padding-bottom: 15px;
	border-bottom: 2px solid #000;
	text-transform: uppercase;
}

.blendo-opportunity-list {
	margin-bottom: 25px;
}

.blendo-opportunity-item {
	display: flex;
	gap: 20px;
	padding: 20px;
	background: #fff;
	border-radius: 6px;
	margin-bottom: 15px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blendo-opportunity-item:hover {
	transform: translateX(5px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.blendo-opportunity-thumb {
	flex-shrink: 0;
	width: 150px;
	height: 150px;
	border-radius: 4px;
	overflow: hidden;
}

.blendo-opportunity-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.blendo-opportunity-content {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.blendo-opportunity-title {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 8px 0;
	line-height: 1.3;
}

.blendo-opportunity-title a {
	color: #000;
	text-decoration: none;
	transition: color 0.3s ease;
}

.blendo-opportunity-title a:hover {
	color: #667eea;
}

.blendo-opportunity-date {
	font-size: 13px;
	color: #999;
	font-weight: 500;
}

.blendo-opportunity-category {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	color: #667eea;
	background: rgba(102, 126, 234, 0.1);
	padding: 4px 10px;
	border-radius: 3px;
	margin-bottom: 8px;
	letter-spacing: 0.5px;
}

.blendo-view-all-opportunities {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	color: #667eea;
	text-decoration: none;
	transition: all 0.3s ease;
	padding: 12px 30px;
	border: 2px solid #667eea;
	border-radius: 4px;
	background: transparent;
}

.blendo-view-all-opportunities:hover {
	color: #fff;
	background: #667eea;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Tablet (Portrait) - 2 columns */
@media (max-width: 1024px) {
	.blendo-news-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 25px;
	}

	.blendo-reviews-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Mobile - 1 column */
@media (max-width: 768px) {
	.blendo-section {
		padding: 40px 0;
	}

	.blendo-section-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
		margin-bottom: 30px;
	}

	.blendo-section-title {
		font-size: 28px;
	}

	.blendo-news-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.blendo-news-content {
		padding: 18px;
	}

	.blendo-reviews-grid {
		grid-template-columns: 1fr;
	}

	.blendo-opportunities-grid {
		display: block;
	}

	.blendo-opportunities-column {
		padding: 25px;
	}

	.blendo-opportunities-single-column {
		padding: 25px;
	}
}

/* Small Mobile */
@media (max-width: 480px) {
	.blendo-news-content {
		padding: 15px;
	}

	.blendo-news-title {
		font-size: 15px;
	}

	.blendo-opportunity-item {
		flex-direction: column;
		text-align: center;
	}

	.blendo-opportunity-thumb {
		width: 100%;
		height: 150px;
	}
}

/* ==========================================================================
   WordPress Category Color Override
   ========================================================================== */
.blendo-post-meta .category a,
.blendo-category a {
	color: #667eea !important;
}

/* Remove default 15Zine margin/padding if needed */
.blendo-magazine-template .wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}
