/* Black & White Elegant Theme */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background: linear-gradient(to bottom, #ffffff 0%, #f8f8f8 100%);
	color: #1a1a1a;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	line-height: 1.6;
	overflow-x: hidden;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
}

/* Blog Header */
.blog-header {
	background: #000000;
	color: #ffffff;
	padding: 2.5rem 0;
	position: relative;
	overflow: hidden;
}

.blog-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
	pointer-events: none;
}

.blog-header::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, #ffffff 0%, transparent 50%, #ffffff 100%);
	opacity: 0.1;
}

/* Header Container */
.blog-header .container {
	display: flex;
	align-items: center;
	justify-content: space-around;
	gap: 2rem;
	position: relative;
	z-index: 2;
}

/* Header Main */
.header-main {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.blog-header .hero-image {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid #ffffff;
	box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
	transition: all 0.4s ease;
	position: relative;
}

.blog-header .hero-image::before {
	content: '';
	position: absolute;
	inset: -8px;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: -1;
}

.blog-header .hero-image:hover::before {
	opacity: 1;
}

.blog-header .hero-image:hover {
	transform: scale(1.05) rotate(5deg);
	box-shadow: 0 12px 40px rgba(255, 255, 255, 0.35);
}

.blog-header h1 {
	font-size: 2.5rem;
	font-weight: 700;
	margin: 0;
	letter-spacing: -0.03em;
	line-height: 1;
	color: #ffffff;
}

.subtitle {
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.65);
	font-weight: 400;
	letter-spacing: 0.01em;
}

/* Header Stats */
.header-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	padding: 1.5rem 2rem;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	position: relative;
}

.header-stats::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.05) 100%);
	pointer-events: none;
}

.stat-item {
	text-align: center;
	position: relative;
	transition: all 0.3s ease;
}

.stat-item:not(:last-child)::after {
	content: '';
	position: absolute;
	right: -1rem;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 40px;
	background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.stat-item:hover {
	transform: translateY(-2px);
}

.stat-number {
	font-size: 2rem;
	font-weight: 700;
	color: #ffffff;
	line-height: 1;
	margin-bottom: 0.5rem;
	transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
	transform: scale(1.08);
}

.stat-label {
	font-size: 0.7rem;
	color: rgba(255, 255, 255, 0.6);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-weight: 600;
}

.stat-divider {
	display: none;
}

/* Posts Grid */
.posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 2.5rem;
	padding: 5rem 0;
}

/* Post Card */
.post-card {
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	display: flex;
	flex-direction: column;
	cursor: pointer;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.post-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #000000 0%, #4a4a4a 100%);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.post-card:hover::before {
	transform: scaleX(1);
}

/* Post Number */
.post-number {
	font-size: 6rem;
	font-weight: 800;
	background: linear-gradient(135deg, #000000 0%, #3a3a3a 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	padding: 2rem 2rem 0;
	line-height: 0.8;
	letter-spacing: -0.05em;
	opacity: 0.06;
	transition: all 0.4s ease;
	user-select: none;
}

.post-card:hover .post-number {
	opacity: 0.12;
	letter-spacing: -0.03em;
}

/* Post Content */
.post-content {
	padding: 0.5rem 2rem 2rem;
	flex: 1;
	display: flex;
	flex-direction: column;
	position: relative;
}

.post-content h2 {
	font-size: 1.6rem;
	font-weight: 700;
	color: #000000;
	margin-bottom: 1rem;
	line-height: 1.3;
	letter-spacing: -0.02em;
	transition: color 0.3s ease;
}

.post-card:hover .post-content h2 {
	color: #1a1a1a;
}

.post-content p {
	color: #666666;
	font-size: 0.975rem;
	line-height: 1.75;
	margin-bottom: 1.5rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Post Meta */
.post-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 1.5rem;
	border-top: 1px solid #e8e8e8;
	margin-top: auto;
}

.post-date {
	font-size: 0.8rem;
	color: #999999;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-weight: 600;
}

/* Read More Button */
.read-more {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: #000000;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.9rem;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	padding: 0.5rem 1rem 0.5rem 0;
}

.read-more::after {
	content: '';
	position: absolute;
	bottom: 0.3rem;
	left: 0;
	width: 0;
	height: 2px;
	background: #000000;
	transition: width 0.3s ease;
}

.read-more:hover::after {
	width: calc(100% - 1.5rem);
}

.read-more svg {
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	flex-shrink: 0;
}

.read-more:hover svg {
	transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
	.container {
		padding: 0 1.5rem;
	}

	.blog-header {
		padding: 2rem 0;
	}

	.blog-header .container {
		gap: 1.5rem;
	}

	.header-main {
		gap: 0.75rem;
	}

	.blog-header .hero-image {
		width: 80px;
		height: 80px;
	}

	.blog-header h1 {
		font-size: 2rem;
	}

	.subtitle {
		font-size: 0.9rem;
		padding-left: 0.65rem;
	}

	.header-stats {
		grid-template-columns: repeat(3, 1fr);
		gap: 1rem;
		padding: 1.25rem 1.5rem;
	}

	.stat-item:not(:last-child)::after {
		right: -0.5rem;
		height: 35px;
	}

	.stat-number {
		font-size: 1.5rem;
	}

	.stat-label {
		font-size: 0.65rem;
	}

	.posts-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
		padding: 3.5rem 0;
	}

	.post-number {
		font-size: 4.5rem;
		padding: 1.5rem 1.5rem 0;
	}

	.post-content {
		padding: 0.5rem 1.5rem 1.5rem;
	}

	.post-content h2 {
		font-size: 1.4rem;
	}

	footer>div {
		flex-direction: column !important;
		gap: 1rem;
		text-align: center;
		padding: 0 1.5rem !important;
	}
}

@media (max-width: 480px) {
	.blog-header .container {
		gap: 1.5rem;
	}

	.header-main {
		align-items: center;
		text-align: center;
		gap: 0.75rem;
	}

	.blog-header .hero-image {
		width: 80px;
		height: 80px;
	}

	.blog-header h1 {
		font-size: 1.75rem;
	}

	.subtitle {
		font-size: 0.9rem;
		border-left: none;
		border-top: 2px solid rgba(255, 255, 255, 0.3);
		padding-left: 0;
		padding-top: 0.5rem;
	}

	.header-stats {
		grid-template-columns: 1fr;
		gap: 0;
		padding: 0;
		background: transparent;
		border: none;
	}

	.stat-item {
		padding: 1rem;
		background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
		border: 1px solid rgba(255, 255, 255, 0.15);
	}

	.stat-item:first-child {
		border-radius: 12px 12px 0 0;
	}

	.stat-item:last-child {
		border-radius: 0 0 12px 12px;
	}

	.stat-item:not(:last-child) {
		border-bottom: none;
	}

	.stat-item:not(:last-child)::after {
		display: none;
	}

	.stat-number {
		font-size: 1.5rem;
	}

	.stat-label {
		font-size: 0.65rem;
	}

	.post-number {
		font-size: 3.8rem;
		padding: 1.2rem 1.2rem 0;
	}

	.post-content {
		padding: 0.5rem 1.2rem 1.2rem;
	}

	.post-content h2 {
		font-size: 1.25rem;
	}

	.post-content p {
		font-size: 0.9rem;
	}

	.post-meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

	.read-more {
		padding: 0.5rem 0;
	}
}