/*
 * PingSlash layout: content width and WordPress core classes.
 * Header and footer fallback styles live in header-footer.css.
 * Disable with: add_filter( 'pingslash/theme/enqueue_style', '__return_false' );
 */

/* Content width. Pages built with Elementor stay full width. */

.site-header,
.site-footer,
body:not([class*="elementor-page-"]) .site-main {
	width: 100%;
	max-width: 100%;
	margin-inline: auto;
	padding-inline: 10px;
}

@media (min-width: 576px) {
	.site-header,
	.site-footer,
	body:not([class*="elementor-page-"]) .site-main {
		max-width: 500px;
	}
}

@media (min-width: 768px) {
	.site-header,
	.site-footer,
	body:not([class*="elementor-page-"]) .site-main {
		max-width: 600px;
	}
}

@media (min-width: 992px) {
	.site-header,
	.site-footer,
	body:not([class*="elementor-page-"]) .site-main {
		max-width: 800px;
	}
}

@media (min-width: 1200px) {
	.site-header,
	.site-footer,
	body:not([class*="elementor-page-"]) .site-main {
		max-width: 1140px;
	}
}

/* Content */

.page-header .entry-title {
	margin-block-start: 1rem;
}

.page-content::after {
	display: table;
	clear: both;
	content: "";
}

.post {
	margin-block-end: 2.5rem;
}

.post .entry-title {
	font-size: 1.75rem;
}

.post-tags {
	margin-block-start: 1.5rem;
	font-size: 0.875rem;
}

.sticky {
	position: relative;
}

.bypostauthor {
	font-size: inherit;
}

/* Pagination */

.pagination .nav-links,
.comments-area .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-block: 2rem;
}

.pagination .page-numbers.current {
	font-weight: 700;
}

/* Comments */

.comments-area {
	margin-block: 2.5rem;
}

.comment-list {
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	padding-inline-start: 2rem;
	list-style: none;
}

.comment-body {
	padding-block: 1rem;
	border-bottom: 1px solid #eee;
}

.comment-author .avatar {
	float: left;
	margin-inline-end: 0.75rem;
	border-radius: 50%;
}

.comment-meta {
	margin-block-end: 0.5rem;
	font-size: 0.875rem;
}

.comment-form p {
	margin-block-end: 1rem;
}

.comment-form label {
	display: block;
	margin-block-end: 0.25rem;
}

/* WordPress alignment */

.alignleft {
	float: left;
	margin-inline-end: 1rem;
}

.alignright {
	float: right;
	margin-inline-start: 1rem;
}

.aligncenter {
	display: block;
	clear: both;
	margin-inline: auto;
}

.alignwide {
	margin-inline: -80px;
}

.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
}

@media (max-width: 991px) {
	.alignwide {
		margin-inline: 0;
	}
}

.wp-caption {
	max-width: 100%;
	margin-block-end: 1.25rem;
}

.wp-caption img {
	display: block;
	margin-inline: auto;
}

.wp-caption-text,
.wp-element-caption {
	margin: 0.5rem 0 0;
	font-size: 0.875rem;
	color: #666;
	text-align: center;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 1rem;
}

.gallery-item {
	margin: 0;
}

/* Post meta and featured image */

.entry-meta {
	margin: 0.25rem 0 0;
	font-size: 0.875rem;
	color: #666;
}

.entry-meta > * + *::before {
	content: " \00B7 ";
}

.entry-thumbnail {
	margin: 0 0 1.5rem;
}

.entry-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
}
