@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Sacramento&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400&display=swap');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

ol, li {
	list-style: none;
}

a {
	text-decoration: none;
}

html, body {
	width: 100%;
	min-height: 100vh;
	background: #fafafa;
}

#wrap {
	width: 100%;
	min-height: 100vh;
	padding: 20px;
}

header {
	max-width: 1200px;
	margin: 0 auto 50px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 30px;
}

#title {
	font-family: Sacramento;
	width: 100px;
	height: 100px;
	line-height: 100px;
	font-weight: normal;
	font-size: 28px;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.05);
	text-align: center;
	border: solid 1.3px blue;
	transition: all 0.3s ease;
}

#title > a {
	color: #333;
	display: block;
}

#title:hover {
	background-color: rgba(255, 255, 255, 0.9);
	border-color: #000;
	transform: scale(1.05);
}

/* Journal Navigation */
.journal-nav {
	display: flex;
	gap: 30px;
	font-family: Raleway;
}

.journal-nav a {
	color: #666;
	font-size: 16px;
	font-weight: 400;
	padding: 5px 0;
	border-bottom: 2px solid transparent;
	transition: all 0.3s ease;
}

.journal-nav a:hover,
.journal-nav a.active {
	color: #000;
	border-bottom-color: blue;
}

/* Journal Container */
.journal-container {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 40px;
}

/* Journal Post */
.journal-post {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
}

.journal-post:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.journal-post.expanded {
	grid-column: 1 / -1;
	max-width: 900px;
	width: 100%;
	margin: 0 auto;
}

.journal-post.expanded .post-content {
	padding: 30px;
}

.journal-post.expanded .full-content {
	font-family: Merriweather;
	font-size: 16px;
	line-height: 1.8;
	color: #333;
}

.journal-post.expanded .full-content h3 {
	font-size: 20px;
	margin: 30px 0 15px;
	color: #222;
}

.journal-post.expanded .full-content h4 {
	font-size: 18px;
	margin: 25px 0 12px;
	color: #333;
}

.journal-post.expanded .full-content p {
	margin-bottom: 20px;
}

.post-image {
	width: 100%;
	height: 250px;
	overflow: hidden;
}

.post-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.journal-post:hover .post-image img {
	transform: scale(1.05);
}

.post-content {
	padding: 30px;
}

.post-date {
	font-family: Raleway;
	font-size: 12px;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 1px;
	display: block;
	margin-bottom: 10px;
}

.post-content h2 {
	font-family: Merriweather;
	font-size: 24px;
	font-weight: 400;
	color: #222;
	margin-bottom: 15px;
	line-height: 1.4;
}

.post-content p {
	font-family: Raleway;
	font-size: 15px;
	color: #666;
	line-height: 1.6;
	margin-bottom: 20px;
}

.read-more {
	font-family: Raleway;
	font-size: 14px;
	color: #10b981;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	transition: all 0.3s ease;
}

.read-more:hover {
	color: #059669;
	transform: translateX(5px);
}

/* Coming Soon Message */
.coming-soon-message {
	grid-column: 1 / -1;
	text-align: center;
	padding: 60px 20px;
	font-family: Raleway;
	font-size: 18px;
	color: #999;
}

/* Empty State */
.empty-state {
	grid-column: 1 / -1;
	text-align: center;
	padding: 80px 20px;
	color: #666;
}

.empty-state p {
	margin-bottom: 10px;
	font-size: 18px;
	font-family: Raleway;
}

.empty-state a {
	color: #0066cc;
	text-decoration: none;
	font-weight: 600;
}

.empty-state a:hover {
	text-decoration: underline;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
	#wrap {
		padding: 15px;
	}

	header {
		margin-bottom: 30px;
		justify-content: center;
		text-align: center;
	}

	#title {
		width: 80px;
		height: 80px;
		line-height: 80px;
		font-size: 24px;
		margin: 0 auto;
	}

	.journal-nav {
		width: 100%;
		justify-content: center;
		gap: 20px;
		font-size: 14px;
	}

	.journal-container {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.post-image {
		height: 200px;
	}

	.post-content {
		padding: 20px;
	}

	.post-content h2 {
		font-size: 20px;
	}

	.post-content p {
		font-size: 14px;
	}
}

@media screen and (max-width: 480px) {
	.journal-nav {
		gap: 15px;
	}

	.journal-nav a {
		font-size: 13px;
	}

	.post-content h2 {
		font-size: 18px;
	}
}

/* Filter Animation */
.journal-post {
	opacity: 1;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.journal-post.hidden {
	display: none;
}

.journal-post.fade-out {
	opacity: 0;
	transform: scale(0.95);
}

/* Loading State */
.loading {
	grid-column: 1 / -1;
	text-align: center;
	padding: 40px;
	font-family: Raleway;
	color: #999;
}

/* Mini Gallery Styles */
.mini-gallery {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #e0e0e0;
}

.mini-gallery__title {
	font-family: Raleway;
	font-size: 16px;
	margin-bottom: 15px;
	color: #666;
}

.mini-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	max-width: 400px;
}

.mini-gallery__item {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 6px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.2s ease;
}

.mini-gallery__item:hover {
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.mini-gallery__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.2s ease;
}

.mini-gallery__item:hover .mini-gallery__image {
	transform: scale(1.05);
}

.mini-gallery__footer {
	margin-top: 12px;
}

.mini-gallery__link {
	color: #10b981;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	font-family: Raleway;
	transition: color 0.2s ease;
}

.mini-gallery__link:hover {
	color: #059669;
}

/* Mini Gallery Responsive */
@media screen and (max-width: 480px) {
	.mini-gallery__grid {
		gap: 6px;
		max-width: 100%;
	}

	.mini-gallery__title {
		font-size: 14px;
	}

	.mini-gallery__link {
		font-size: 13px;
	}
}