/**
 * Featured Magazine Block Styles
 */

.featured-magazine-block {
	margin: 1rem 0;
}

.featured-magazine-block .block-title {
	margin-bottom: 1rem;
	font-size: 1.2rem;
	font-weight: 600;
	color: #1e1e1e;
}

.featured-magazine-block .loading-placeholder,
.featured-magazine-block .error-placeholder {
	padding: 2rem;
	text-align: center;
	color: #666;
	background: #f9f9f9;
	border-radius: 4px;
}

.featured-magazine-block .error-placeholder {
	color: #d63638;
	background: #fcf0f1;
}

/* Hero Layout */
.featured-magazine-hero {
	position: relative;
	min-height: 400px;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.hero-background {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
}

.hero-image {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	   object-fit: cover;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
	position: relative;
	z-index: 2;
	color: white;
	padding: 2rem;
	max-width: 600px;
}

.hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.hero-meta .issue-badge,
.hero-meta .format-badge,
.hero-meta .access-badge {
	padding: 0.5rem 0.75rem;
	border-radius: 6px;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.hero-meta .issue-badge {
	background: rgba(255, 255, 255, 0.2);
	color: white;
}

.hero-meta .format-badge {
	background: rgba(0, 163, 42, 0.9);
	color: white;
}

.hero-meta .format-badge.format-media {
	background: rgba(0, 115, 202, 0.9);
}

.hero-meta .format-badge.format-hybrid {
	background: rgba(150, 75, 0, 0.9);
}

.hero-meta .access-badge {
	background: rgba(255, 255, 255, 0.9);
	color: #333;
}

.hero-meta .access-badge.owned {
	background: rgba(0, 163, 42, 0.9);
	color: white;
}

.hero-meta .access-badge.subscription {
	background: rgba(150, 75, 0, 0.9);
	color: white;
}

.hero-meta .magazine-date {
	font-size: 0.9rem;
	opacity: 0.9;
}

.hero-title {
	margin: 0 0 1rem 0;
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.2;
}

.hero-title a {
	color: white;
	text-decoration: none;
}

.hero-title a:hover {
	text-decoration: underline;
}

.hero-excerpt {
	font-size: 1.1rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
	opacity: 0.95;
}

.hero-info {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	margin-bottom: 2rem;
	font-size: 0.95rem;
	opacity: 0.9;
}

.hero-pages,
.hero-price {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.hero-price {
	font-weight: 600;
	color: #ffd700;
}

.hero-actions {
	margin-top: 1rem;
}

.btn-large {
	padding: 1rem 2rem;
	font-size: 1.1rem;
	font-weight: 600;
}

/* Sidebar Layout */
.featured-magazine-sidebar {
	display: flex;
	gap: 1.5rem;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.sidebar-image {
	flex: 0 0 200px;
}

.sidebar-cover {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	   object-fit: cover;
	min-height: 250px;
}

.sidebar-content {
	flex: 1;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.sidebar-title {
	margin: 0 0 1rem 0;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.3;
}

.sidebar-title a {
	color: #1e1e1e;
	text-decoration: none;
}

.sidebar-title a:hover {
	color: #0073aa;
	text-decoration: underline;
}

.sidebar-excerpt {
	margin-bottom: 1rem;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #666;
}

.sidebar-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1rem;
	font-size: 0.85rem;
	color: #888;
}

.sidebar-actions {
	margin-top: auto;
}

/* Split Layout */
.featured-magazine-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: center;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.split-image {
	order: 1;
}

.split-cover {
	width: 100%;
	height: 300px;
	-o-object-fit: cover;
	   object-fit: cover;
}

.split-content {
	order: 2;
	padding: 2rem;
}

.split-title {
	margin: 0 0 1rem 0;
	font-size: 1.8rem;
	font-weight: 600;
	line-height: 1.3;
}

.split-title a {
	color: #1e1e1e;
	text-decoration: none;
}

.split-title a:hover {
	color: #0073aa;
	text-decoration: underline;
}

.split-excerpt {
	margin-bottom: 1.5rem;
	font-size: 1rem;
	line-height: 1.6;
	color: #666;
}

.split-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1.5rem;
	font-size: 0.9rem;
	color: #888;
}

.split-actions {
	margin-top: 1rem;
}

/* Card Layout (inherited from grid) */
.featured-magazine.layout-card-style .magazine-card {
	height: auto;
	max-width: 400px;
	margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
	.featured-magazine-hero {
		min-height: 300px;
	}
	
	.hero-content {
		padding: 1.5rem;
	}
	
	.hero-title {
		font-size: 2rem;
	}
	
	.hero-excerpt {
		font-size: 1rem;
	}
	
	.featured-magazine-sidebar {
		flex-direction: column;
	}
	
	.sidebar-image {
		flex: none;
	}
	
	.sidebar-cover {
		min-height: 200px;
	}
	
	.featured-magazine-split {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	
	.split-image {
		order: 1;
	}
	
	.split-content {
		order: 2;
		padding: 1.5rem;
	}
	
	.split-title {
		font-size: 1.5rem;
	}
}

@media (max-width: 480px) {
	.hero-content {
		padding: 1rem;
	}
	
	.hero-title {
		font-size: 1.5rem;
	}
	
	.hero-meta {
		gap: 0.5rem;
	}
	
	.hero-meta .issue-badge,
	.hero-meta .format-badge,
	.hero-meta .access-badge {
		padding: 0.25rem 0.5rem;
		font-size: 0.7rem;
	}
	
	.sidebar-content {
		padding: 1rem;
	}
	
	.split-content {
		padding: 1rem;
	}
	
	.split-title {
		font-size: 1.3rem;
	}
}

/* Empty State */
.featured-magazine-empty {
	text-align: center;
	padding: 3rem 1rem;
	color: #666;
	font-style: italic;
}

