body.dd-hide-header > header:first-of-type,
body.dd-hide-footer > footer:last-of-type {
	display: none !important;
}

.dd-entry-content {
	margin-inline: auto;
}

.dd-content-width-narrow .dd-entry-content {
	max-width: 720px;
}

.dd-content-width-normal .dd-entry-content {
	max-width: 960px;
}

.dd-content-width-wide .dd-entry-content {
	max-width: 1180px;
}

.dd-entry-featured-wrap,
.dd-featured-image {
	width: min(100% - 32px, 1180px);
	margin: 28px auto;
}

.dd-featured-image img {
	width: 100%;
	height: auto;
	border-radius: 18px;
}

.dd-entry-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 30px;
}

.dd-entry-tags a {
	padding: 6px 10px;
	border: 1px solid currentColor;
	border-radius: 999px;
}

.dd-author-box {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 18px;
	align-items: center;
	margin-top: 36px;
	padding: 22px;
	border: 1px solid rgba(100, 116, 139, .25);
	border-radius: 18px;
	background: rgba(255, 255, 255, .8);
}

.dd-author-box img {
	border-radius: 50%;
}

.dd-author-box h2,
.dd-author-box p {
	margin: 4px 0 0;
}

.dd-entry-navigation {
	margin-top: 32px;
}

.dd-entry-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.dd-entry-navigation a {
	display: block;
	padding: 16px;
	border: 1px solid rgba(100, 116, 139, .25);
	border-radius: 14px;
	background: #fff;
}

.dd-entry-navigation .nav-next {
	text-align: right;
}

.dd-related-posts {
	margin-top: 46px;
}

.dd-related-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.dd-related-posts article {
	overflow: hidden;
	border: 1px solid rgba(100, 116, 139, .25);
	border-radius: 16px;
	background: #fff;
}

.dd-related-posts article img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.dd-related-posts article > div {
	padding: 15px;
}

.dd-related-posts h3 {
	margin: 5px 0 0;
}

@media (max-width: 700px) {
	.dd-related-posts-grid,
	.dd-entry-navigation .nav-links {
		grid-template-columns: 1fr;
	}

	.dd-entry-navigation .nav-next {
		text-align: left;
	}
}
