/* ===============================
   Enhanced Modern Design
==================================*/
:root {
	--ck-blue: #1a3a8f;
	--ck-blue-light: #2a4bb0;
	--ck-gold: #d4af37;
	--ck-gold-light: #e6c869;
	--ck-dark: #2c3e50;
	--ck-dark-light: #3a516e;
	--ck-light: #ffffff;
	--ck-bg: #f8f9fa;
	--ck-bg-alt: #f0f2f5;
	--ck-border: #e9ecef;
	--ck-border-light: #f1f3f4;
	--ck-text: #2c3e50;
	--ck-text-light: #6c757d;
	--ck-shadow: 0 4px 12px rgba(0,0,0,0.08);
	--ck-shadow-light: 0 2px 8px rgba(0,0,0,0.05);
	--ck-radius: 8px;
	--ck-radius-lg: 12px;
}

/* Reset and Base */
.ck-clean-page {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	line-height: 1.6;
	color: var(--ck-text);
	background: var(--ck-light);
	overflow-x: hidden;
}

.ck-container {
	max-width: 760px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Enhanced Hero Section */
.ck-clean-hero {
	padding: 100px 0 60px;
	background: linear-gradient(135deg, var(--ck-blue) 0%, var(--ck-dark) 100%);
	color: white;
	position: relative;
	overflow: hidden;
}

.ck-clean-hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
	background-size: cover;
}

.ck-hero-content {
	position: relative;
	z-index: 1;
	text-align: center;
}

.ck-category {
	display: inline-block;
	background: rgba(255, 255, 255, 0.15);
	color: white;
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 8px 16px;
	border-radius: 50px;
	margin-bottom: 24px;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.ck-clean-hero h1 {
	font-size: 2.75rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 28px 0;
	text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ck-meta {
	display: flex;
	justify-content: center;
	gap: 24px;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.85);
	flex-wrap: wrap;
}

.ck-author {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
}

.ck-author::before {
	content: "•";
	color: var(--ck-gold);
}

.ck-date, .ck-reading-time {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ck-date::before, .ck-reading-time::before {
	content: "•";
	color: var(--ck-gold);
}

/* Enhanced Featured Image */
.ck-featured-image {
	padding: 0 0 60px;
	background: var(--ck-light);
}

.ck-post-image {
	width: 100%;
	height: auto;
	border-radius: var(--ck-radius-lg);
	box-shadow: var(--ck-shadow);
	transform: translateY(-40px);
	margin-bottom: -40px;
	border: 8px solid white;
}

/* Main Content */
.ck-main-content {
	padding: 0 0 80px;
	background: var(--ck-light);
}

.ck-content {
	font-size: 1.125rem;
	line-height: 1.7;
	color: var(--ck-text);
}

.ck-content h2 {
	font-size: 1.9rem;
	font-weight: 700;
	color: var(--ck-dark);
	margin: 2.2em 0 1.2em 0;
	line-height: 1.3;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--ck-border-light);
}

.ck-content h3 {
	font-size: 1.6rem;
	font-weight: 600;
	color: var(--ck-dark);
	margin: 2em 0 1em 0;
}

.ck-content h4 {
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--ck-dark);
	margin: 1.8em 0 1em 0;
}

.ck-content p {
	margin-bottom: 1.6em;
}

.ck-content blockquote {
	border-left: 4px solid var(--ck-gold);
	padding: 28px 32px;
	margin: 2.5em 0;
	background: var(--ck-bg);
	border-radius: 0 var(--ck-radius) var(--ck-radius) 0;
	font-style: italic;
	color: var(--ck-text);
	position: relative;
	box-shadow: var(--ck-shadow-light);
}

.ck-content blockquote::before {
	content: """;
	font-size: 4rem;
	color: var(--ck-gold-light);
	position: absolute;
	top: 10px;
	left: 20px;
	opacity: 0.2;
	font-family: Georgia, serif;
}

.ck-content ul, .ck-content ol {
	margin: 1.8em 0;
	padding-left: 2.2em;
}

.ck-content li {
	margin-bottom: 0.6em;
	position: relative;
}

.ck-content ul li::before {
	content: "•";
	color: var(--ck-gold);
	font-weight: bold;
	position: absolute;
	left: -1em;
}

.ck-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--ck-radius);
	margin: 2em 0;
	box-shadow: var(--ck-shadow-light);
}

/* Post Footer */
.ck-post-footer {
	margin-top: 4em;
	padding: 2.5em;
	background: var(--ck-bg);
	border-radius: var(--ck-radius-lg);
	box-shadow: var(--ck-shadow-light);
}

.ck-tags {
	font-size: 0.95rem;
	color: var(--ck-text-light);
}

.ck-tags strong {
	color: var(--ck-dark);
	margin-right: 12px;
	font-size: 1.1rem;
}

.ck-tags a {
	color: var(--ck-blue);
	text-decoration: none;
	background: var(--ck-light);
	padding: 6px 14px;
	border-radius: 50px;
	margin: 0 8px 8px 0;
	display: inline-block;
	transition: all 0.2s ease;
	border: 1px solid var(--ck-border);
}

.ck-tags a:hover {
	background: var(--ck-blue);
	color: white;
	transform: translateY(-2px);
	box-shadow: var(--ck-shadow);
}

/* Enhanced Navigation */
.ck-post-navigation {
	padding: 60px 0;
	background: var(--ck-bg);
	border-top: 1px solid var(--ck-border);
}

.ck-nav-links {
	display: flex;
	justify-content: space-between;
}

.ck-nav-previous, .ck-nav-next {
	flex: 1;
}

.ck-nav-next {
	text-align: right;
}

.ck-nav-previous a, .ck-nav-next a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--ck-blue);
	text-decoration: none;
	font-weight: 600;
	font-size: 1.05rem;
	padding: 16px 24px;
	background: white;
	border-radius: var(--ck-radius);
	transition: all 0.3s ease;
	box-shadow: var(--ck-shadow-light);
	max-width: 280px;
	width: 100%;
}

.ck-nav-previous a:hover, .ck-nav-next a:hover {
	background: var(--ck-blue);
	color: white;
	transform: translateY(-3px);
	box-shadow: var(--ck-shadow);
}

/* Author Bio Section */
.ck-author-bio {
	padding: 40px 0;
	border-top: 1px solid var(--ck-border);
	margin-top: 60px;
}

.ck-author-bio-content {
	display: flex;
	align-items: flex-start;
	gap: 24px;
}

.ck-author-avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--ck-border-light);
}

.ck-author-details {
	flex: 1;
}

.ck-author-name {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--ck-dark);
	margin-bottom: 8px;
}

.ck-author-description {
	color: var(--ck-text-light);
	line-height: 1.6;
}

/* Share Buttons */
.ck-share-buttons {
	display: flex;
	gap: 12px;
	margin-top: 24px;
}

.ck-share-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--ck-bg);
	color: var(--ck-text);
	transition: all 0.2s ease;
	text-decoration: none;
	font-weight: bold;
}

.ck-share-button:hover {
	transform: translateY(-2px);
	box-shadow: var(--ck-shadow);
}

.ck-share-facebook:hover {
	background: #3b5998;
	color: white;
}

.ck-share-twitter:hover {
	background: #1da1f2;
	color: white;
}

.ck-share-linkedin:hover {
	background: #0077b5;
	color: white;
}

/* Responsive */
@media (max-width: 768px) {
	.ck-clean-hero h1 {
		font-size: 2.2rem;
	}
	
	.ck-meta {
		flex-direction: column;
		gap: 12px;
		align-items: center;
	}
	
	.ck-author::before, .ck-date::before, .ck-reading-time::before {
		display: none;
	}
	
	.ck-content {
		font-size: 1.05rem;
	}
	
	.ck-content h2 {
		font-size: 1.7rem;
	}
	
	.ck-content h3 {
		font-size: 1.4rem;
	}
	
	.ck-author-bio-content {
		flex-direction: column;
		text-align: center;
	}
	
	.ck-nav-links {
		flex-direction: column;
		gap: 20px;
	}
	
	.ck-nav-previous a, .ck-nav-next a {
		max-width: 100%;
	}
}

@media (max-width: 480px) {
	.ck-clean-hero {
		padding: 80px 0 40px;
	}
	
	.ck-clean-hero h1 {
		font-size: 1.9rem;
	}
	
	.ck-main-content {
		padding: 0 0 60px;
	}
	
	.ck-post-image {
		transform: translateY(-20px);
		margin-bottom: -20px;
	}
	
	.ck-post-footer {
		padding: 1.5em;
	}
}

/* Animation for content */
.ck-content > * {
	animation: fadeInUp 0.6s ease forwards;
	opacity: 0;
	transform: translateY(20px);
}

@keyframes fadeInUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Stagger animation for list items */
.ck-content li {
	animation: fadeInUp 0.5s ease forwards;
	opacity: 0;
	transform: translateY(15px);
}

.ck-content li:nth-child(1) { animation-delay: 0.1s; }
.ck-content li:nth-child(2) { animation-delay: 0.2s; }
.ck-content li:nth-child(3) { animation-delay: 0.3s; }
.ck-content li:nth-child(4) { animation-delay: 0.4s; }
.ck-content li:nth-child(5) { animation-delay: 0.5s; }