/* ====================================
   LEGENDS OF KURILLIA - CUSTOM CSS
   Copy this into: Appearance → Customize → Additional CSS
   ==================================== */
/* Hero Section */
.legends-hero {
	text-align: center;
	padding: 60px 20px;
	background: linear-gradient(135deg, #2C3E50 0%, #4A5F7F 100%);
	color: white;
	margin-bottom: 40px;
	border-radius: 10px;
}

.legends-hero h1 {
	font-size: 3em;
	margin-bottom: 10px;
	font-family: Georgia, serif;
	font-weight: 700;
}

.legends-hero .subtitle {
	font-size: 1.2em;
	font-style: italic;
	opacity: .9;
	max-width: 700px;
	margin: 0 auto;
}

/* Introduction Section */
.intro-section {
	max-width: 800px;
	margin: 0 auto 60px;
	text-align: center;
	padding: 0 20px;
	font-size: 1.1em;
	line-height: 1.8;
}

.intro-section p {
	margin-bottom: 15px;
}

/* Filter Buttons */
.legend-filters {
	text-align: center;
	margin-bottom: 40px;
	padding: 0 20px;
}

.filter-btn {
	background: #f0f0f0;
	border: 2px solid #ddd;
	padding: 10px 20px;
	margin: 5px;
	cursor: pointer;
	border-radius: 5px;
	font-weight: 600;
	transition: all .3s;
	font-size: .95em;
}

.filter-btn:hover,
.filter-btn.active {
	background: #2C3E50;
	color: white;
	border-color: #2C3E50;
}

/* Legend Grid */
.legends-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 30px;
	max-width: 1200px;
	margin: 0 auto 60px;
	padding: 0 20px;
}

/* Legend Card */
.legend-card {
	background: white;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	transition: transform 0.3s, box-shadow .3s;
	display: flex;
	flex-direction: column;
}

.legend-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

/* Card Image */
.card-image {
	position: relative;
	height: 200px;
	overflow: hidden;
	background: #f0f0f0;
}

.card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s;
}

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

.card-badge {
	position: absolute;
	top: 15px;
	right: 15px;
	background: rgba(255,255,255,0.95);
	padding: 5px 12px;
	border-radius: 20px;
	font-size: .85em;
	font-weight: 600;
	color: #2C3E50;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Card Content */
.card-content {
	padding: 25px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.culture-name {
	font-size: .9em;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #7F8C8D;
	margin-bottom: 5px;
	font-weight: 600;
}

.story-title {
	font-size: 1.5em;
	margin-bottom: 15px;
	color: #2C3E50;
	font-family: Georgia, serif;
	line-height: 1.3;
}

.story-hook {
	color: #555;
	line-height: 1.6;
	margin-bottom: 20px;
	font-size: .95em;
	flex-grow: 1;
}

.card-meta {
	display: flex;
	gap: 15px;
	margin-bottom: 20px;
	font-size: .85em;
	color: #7F8C8D;
	flex-wrap: wrap;
}

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

.read-more-btn {
	display: inline-block;
	background: #2C3E50;
	color: white !important;
	padding: 12px 25px;
	text-decoration: none !important;
	border-radius: 5px;
	font-weight: 600;
	transition: background .3s;
	text-align: center;
}

.read-more-btn:hover {
	background: #1a252f;
}

/* Coming Soon Section */
.coming-soon-section {
	max-width: 900px;
	margin: 80px auto 40px;
	padding: 40px 20px;
	background: #f8f9fa;
	border-radius: 10px;
	text-align: center;
}

.coming-soon-section h2 {
	margin-bottom: 30px;
	color: #2C3E50;
	font-family: Georgia, serif;
}

.upcoming-cultures {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 20px;
}

.upcoming-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 20px;
	background: white;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.culture-icon {
	font-size: 2em;
}

.upcoming-item .culture-name {
	font-size: .85em;
	text-transform: none;
	letter-spacing: 0;
	color: #2C3E50;
	font-weight: 600;
	text-align: center;
}

/* CTA Section */
.cta-section {
	text-align: center;
	margin: 60px auto;
	padding: 40px 20px;
	max-width: 700px;
}

.cta-section h2 {
	margin-bottom: 15px;
	color: #2C3E50;
	font-family: Georgia, serif;
}

.cta-section p {
	font-size: 1.1em;
	color: #555;
}

/* Story Page Styles */
.breadcrumb {
	margin-bottom: 20px;
	font-size: .9em;
}

.breadcrumb a {
	color: #2C3E50;
	text-decoration: none;
	transition: color .3s;
}

.breadcrumb a:hover {
	color: #4A5F7F;
}

.story-header {
	text-align: center;
	margin-bottom: 40px;
	padding: 40px 20px;
	background: #f8f9fa;
	border-radius: 10px;
}

.culture-label {
	display: inline-block;
	background: #2C3E50;
	color: white;
	padding: 5px 15px;
	border-radius: 20px;
	font-size: .85em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 15px;
}

.story-header h1 {
	font-family: Georgia, serif;
	font-size: 2.5em;
	margin-bottom: 10px;
	color: #2C3E50;
}

.story-subtitle {
	font-style: italic;
	font-size: 1.2em;
	color: #7F8C8D;
	margin-bottom: 20px;
}

.story-meta {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
	font-size: .9em;
	color: #7F8C8D;
}

.cultural-context {
	background: #e8f4f8;
	border-left: 4px solid #2C3E50;
	padding: 20px;
	margin: 30px 0;
	border-radius: 5px;
}

.cultural-context h4 {
	margin-top: 0;
	color: #2C3E50;
}

.story-content {
	max-width: 800px;
	margin: 0 auto;
	font-size: 1.1em;
	line-height: 1.8;
}

.story-content p {
	margin-bottom: 1.5em;
}

.story-content h2 {
	font-family: Georgia, serif;
	color: #2C3E50;
	margin-top: 2em;
	margin-bottom: 1em;
}

.author-notes {
	max-width: 800px;
	margin: 60px auto 40px;
	padding: 30px;
	background: #f8f9fa;
	border-radius: 10px;
}

.author-notes h3 {
	margin-top: 0;
	color: #2C3E50;
	font-family: Georgia, serif;
}

.story-navigation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	max-width: 800px;
	margin: 40px auto;
}

.nav-previous,
.nav-next {
	padding: 20px;
	background: #f8f9fa;
	border-radius: 8px;
	text-align: center;
}

.nav-label {
	display: block;
	font-size: .85em;
	color: #7F8C8D;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 10px;
}

.nav-previous a,
.nav-next a {
	color: #2C3E50;
	text-decoration: none;
	font-weight: 600;
	transition: color .3s;
}

.nav-previous a:hover,
.nav-next a:hover {
	color: #4A5F7F;
}

/* Responsive Design */
@media (max-width: 768px) {
	.legends-grid {
		grid-template-columns: 1fr;
	}
	
	.legends-hero h1 {
		font-size: 2em;
	}
	
	.legends-hero .subtitle {
		font-size: 1em;
	}
	
	.upcoming-cultures {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.story-header h1 {
		font-size: 1.8em;
	}
	
	.story-navigation {
		grid-template-columns: 1fr;
	}
	
	.filter-btn {
		font-size: .85em;
		padding: 8px 15px;
	}
}

@media (max-width: 480px) {
	.upcoming-cultures {
		grid-template-columns: 1fr;
	}
	
	.legends-hero {
		padding: 40px 15px;
	}
}