/* static/css/custom.css */

/* General Styles */
body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.6;
	color: #333;
	padding: 20px;
}

a {
	color: #0C78BE; /* blauw2 */
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Helvetica Neue", Arial, sans-serif;
	color: #0C78BE; /* Ensure headers have the correct blue color */
	margin-top: 0;
}

p {
	margin: 0 0 1em;
}

/* Header Styles */
header {
	padding: 10px 0;
}

.header-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 800px;
	margin: 0 auto;
}

.logo img {
	width: 100px; /* Adjust the logo size */
	height: auto;
	margin-right: 15px;
}

.site-info {
	display: flex;
	flex-direction: column;
	align-items: center; /* Center align the site title, subtitle, and navbar */
}

.site-title {
	font-size: 2.5em;
	color: #2457A7; /* blauw1 */
	font-weight: bold;
	text-align: center;
}

.site-subtitle {
	font-size: 1.5em;
	color: #2457A7; /* blauw1 */
	text-align: center;
}

/* Navbar Styles */
.navbar {
	margin-top: 10px;
}

.navbar a {
	margin: 0 10px;
	font-size: 1em;
	color: #0C78BE; /* blauw2 */
	text-decoration: none;
}

.navbar a:hover {
	text-decoration: underline;
}

/* Content Styles */
.container {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
	background: #fff;
}

/* Post List Styles */
.post-list {
	list-style: none;
	padding: 0;
}

.post-item {
	margin-bottom: 20px;
}

.post-item h2 {
	margin: 0;
	font-size: 1.5em;
	color: #0C78BE; /* Ensure post titles have the correct blue color */
}

.post-item .post-date {
	color: #666;
	font-size: 0.9em;
}

/* Post Content Styles */
.post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 {
	color: #0C78BE; /* Ensure headers within post content have the correct blue color */
}

.post-content p {
	color: #333;
}

/* Image Styles */
.post-item img,
.post-content img {
	max-width: 100%;
	height: auto;
	border-radius: 5px;
}

.post-content img {
	display: block;
	margin: 0 auto; /* Center-aligns images */
}

/* Footer Styles */
footer {
	text-align: center;
	padding: 10px 0;
	margin-top: 20px;
	color: #666;
	border-top: 1px solid #ddd;
}

footer a {
	color: #0C78BE; /* blauw2 */
}

footer a:hover {
	text-decoration: underline;
}

.footer-small {
	font-size: 0.8em;
}

.footer-small a {
	color: #0C78BE; /* Ensure the link color matches the theme */
	text-decoration: none;
}

.footer-small a:hover {
	text-decoration: underline;
}

.pagination {
	text-align: center;
	margin: 20px 0;
}

.pagination a {
	color: #0C78BE; /* blauw2 */
	text-decoration: none;
	margin: 0 5px;
}

.pagination a:hover {
	text-decoration: underline;
}

.pagination span {
	margin: 0 5px;
	font-weight: bold;
}

/* Gallery Styles */
.image-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Adjust width as needed */
	gap: 10px;
}

.image-gallery a {
	width: 100%;
	display: block;
}

.image-gallery img {
	width: 100%;
	height: 270px; /* Adjust the height for desired thumbnail size */
	object-fit: cover; /* Crops the image to fill the height and width */
	display: block;
	border-radius: 8px; /* Optional: adds rounded corners for aesthetics */
}

/* Smaller Styles -- for text under pictures */
.center-text {
	text-align: center;
}

.small-font {
	font-size: smaller;
}

.no-margin {
	margin: 0;
	padding: 0;
}