/* post and edit, /post/edit.html and /post/index.html */
.new-post-section,
.edit-post-section {
	padding: 20px;
	background-color: var(--box-bg-color);
	max-width: 600px;
	margin-inline: auto;
	margin-block-end: 75px;
	border-radius: 8px;
}

.new-post-section > div,
.edit-post-section > div {
	background-color: var(--primary-color);
	padding: 30px;
	border-radius: 8px;
	margin: 0 auto;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.new-post-form,
.edit-post-form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.new-post-form input[type="text"],
.new-post-form input[type="url"],
.new-post-form textarea,
.edit-post-form input[type="text"],
.edit-post-form input[type="url"],
.edit-post-form textarea {
	padding: 10px;
	margin-bottom: 15px;
	border: 1px solid var(--text-tertiary);
	border-radius: 8px;
	font-size: 1em;
	font-family: "Source Sans 3", sans-serif;
	font-weight: 300;
}

.new-post-section h2,
.edit-post-section h2 {
	margin: 0;
	font-size: 1.2em;
}

.button-row {
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

/* blog post detailed, blogdetailed.html */
.detailed-blog-main {
	min-height: 80vh;
	display: flex;
	flex-direction: row;
	width: 90%;
	min-height: 600px;
	box-sizing: border-box;
	margin: auto;
	margin-bottom: 75px;
	max-width: 800px;
}

.main-content-detailed {
	width: 100%;
}

.sidebar-detailed-post {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0 0 0 10px;
	min-width: 75px;
}

.blog-card-detailed {
	border-radius: 20px 20px 0 0;
	width: 100%;
	margin: 0 auto;
}

.header-image-detailed {
	background-color: var(--text-secondary);
	min-height: 350px;
	height: auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
	background-color: var(--primary-color-hover);
	border-radius: 20px 20px 0 0;
}

.title-box {
	z-index: 2;
	position: absolute;
	top: 75%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80%;
	max-width: 700px;
	padding: 2px;
	text-align: center;
	background-color: var(--primary-color);
	color: var(--text-color);
	font-size: 1.5em;
	border: 3px solid var(--background-color);
	border-radius: 15px;
	font-family: montserrat, sans-serif;
	font-weight: bold;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
}

.intro-paragraph {
	font-weight: 600;
}

.blog-detailed-content {
	background-color: var(--text-color);
	padding: 20px 30px 30px;
	border-radius: 0 0 20px 20px;
}

.blog-detailed-author,
.blog-detailed-date {
	color: var(--text-secondary);
	margin: 5px 0;
}

.blog-detailed-body p {
	font-size: 1em;
	color: var(--text-tertiary);
	line-height: 1.6;
	margin: 15px 0;
}
