/* TOPOSEL single blog post. Loaded only on individual posts, after toposel-blog.css;
   every rule is scoped to .toposel-single-wrapper so the Blog listing is untouched. */

.toposel-single-wrapper .toposel-hero-section--single {
	padding: 34px 0 56px;
}
.toposel-single-wrapper .toposel-hero-section--single .toposel-breadcrumb {
	font-size: 15px;
}
.toposel-single-wrapper .toposel-single-section {
	padding-top: 56px;
}

/* Article card */
.toposel-single-wrapper .toposel-single-article {
	background: #FFFFFF;
	padding: 36px 40px 40px;
	box-shadow: 0 12px 30px -6px rgba(0, 0, 0, 0.12);
	min-width: 0;
}
.toposel-single-wrapper .toposel-single-title {
	font-size: 36px;
	font-weight: 700;
	line-height: 1.17;
	letter-spacing: -0.3px;
	margin: 0 0 14px;
	color: var(--toposel-text);
	overflow-wrap: anywhere;
}
.toposel-single-wrapper .toposel-single-meta {
	gap: 6px 18px;
	margin-bottom: 22px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--toposel-line);
}
.toposel-single-wrapper .toposel-single-meta .meta-cats a {
	color: inherit;
	text-decoration: none;
}
.toposel-single-wrapper .toposel-single-meta .meta-cats a:hover,
.toposel-single-wrapper .toposel-single-meta .meta-cats a:focus-visible {
	color: var(--toposel-purple);
}
.toposel-single-wrapper .toposel-single-image {
	margin: 0 0 26px;
}
.toposel-single-wrapper .toposel-single-image img {
	display: block;
	width: 100%;
	height: auto;
}

/* Post content: whatever the editor produced */
.toposel-single-wrapper .toposel-single-content {
	font-size: 17px;
	line-height: 1.75;
	color: var(--toposel-body);
	overflow-wrap: break-word;
	min-width: 0;
}
.toposel-single-wrapper .toposel-single-content > :first-child {
	margin-top: 0;
}
.toposel-single-wrapper .toposel-single-content p {
	margin: 0 0 20px;
	text-align: justify;
	hyphens: auto; /* Breaks long words on narrow screens, so justified lines do not get wide gaps (uses the page language). */
}
.toposel-single-wrapper .toposel-single-content h1,
.toposel-single-wrapper .toposel-single-content h2,
.toposel-single-wrapper .toposel-single-content h3,
.toposel-single-wrapper .toposel-single-content h4,
.toposel-single-wrapper .toposel-single-content h5,
.toposel-single-wrapper .toposel-single-content h6 {
	color: var(--toposel-text);
	font-weight: 700;
	line-height: 1.25;
	margin: 34px 0 14px;
}
.toposel-single-wrapper .toposel-single-content h1 { font-size: 32px; }
.toposel-single-wrapper .toposel-single-content h2 { font-size: 28px; }
.toposel-single-wrapper .toposel-single-content h3 { font-size: 23px; }
.toposel-single-wrapper .toposel-single-content h4 { font-size: 20px; }
.toposel-single-wrapper .toposel-single-content h5,
.toposel-single-wrapper .toposel-single-content h6 { font-size: 17px; }
.toposel-single-wrapper .toposel-single-content a {
	color: var(--toposel-purple);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.toposel-single-wrapper .toposel-single-content a:hover {
	color: var(--toposel-purple-dark);
}
.toposel-single-wrapper .toposel-single-content ul,
.toposel-single-wrapper .toposel-single-content ol {
	margin: 0 0 22px;
	padding-left: 26px;
}
.toposel-single-wrapper .toposel-single-content li {
	margin-bottom: 8px;
}
.toposel-single-wrapper .toposel-single-content img,
.toposel-single-wrapper .toposel-single-content video,
.toposel-single-wrapper .toposel-single-content iframe,
.toposel-single-wrapper .toposel-single-content embed {
	max-width: 100%;
}
.toposel-single-wrapper .toposel-single-content img {
	height: auto;
}
.toposel-single-wrapper .toposel-single-content figure {
	margin: 0 0 24px;
	max-width: 100%;
}
.toposel-single-wrapper .toposel-single-content figcaption,
.toposel-single-wrapper .toposel-single-content .wp-caption-text {
	font-size: 14px;
	color: var(--toposel-soft);
	margin-top: 8px;
}
.toposel-single-wrapper .toposel-single-content .alignleft {
	float: left;
	margin: 6px 24px 16px 0;
}
.toposel-single-wrapper .toposel-single-content .alignright {
	float: right;
	margin: 6px 0 16px 24px;
}
.toposel-single-wrapper .toposel-single-content .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.toposel-single-wrapper .toposel-single-content blockquote {
	margin: 0 0 24px;
	padding: 6px 0 6px 20px;
	border-left: 4px solid var(--toposel-purple);
	color: var(--toposel-muted);
	font-style: italic;
}
.toposel-single-wrapper .toposel-single-content table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
	margin: 0 0 24px;
	font-size: 16px;
}
.toposel-single-wrapper .toposel-single-content th,
.toposel-single-wrapper .toposel-single-content td {
	border: 1px solid #e3e3e3;
	padding: 8px 12px;
	text-align: left;
}
.toposel-single-wrapper .toposel-single-content pre {
	overflow-x: auto;
	padding: 14px 16px;
	background: #f6f4fd;
	font-size: 15px;
}
.toposel-single-wrapper .toposel-single-content hr {
	border: 0;
	border-top: 1px solid var(--toposel-line);
	margin: 32px 0;
}
.toposel-single-wrapper .toposel-single-content::after {
	content: "";
	display: table;
	clear: both;
}
.toposel-single-wrapper .toposel-single-pages {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}
.toposel-single-wrapper .toposel-single-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 26px;
	padding-top: 20px;
	border-top: 1px solid var(--toposel-line);
}
.toposel-single-wrapper .toposel-single-tags a {
	padding: 4px 12px;
	border-radius: 50px;
	background: #f1edfc;
	color: var(--toposel-purple);
	font-size: 14px;
	text-decoration: none;
}
.toposel-single-wrapper .toposel-single-tags a:hover {
	background: var(--toposel-purple);
	color: #FFFFFF;
}

/* The main column stacks its blocks with the same gap as the sidebar */
.toposel-single-wrapper .toposel-single-main {
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.toposel-single-wrapper .toposel-single-nav {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	font-size: 16px;
}
.toposel-single-wrapper .toposel-single-nav a {
	color: var(--toposel-purple);
	text-decoration: none;
	font-weight: 600;
}
.toposel-single-wrapper .toposel-single-nav a:hover {
	color: var(--toposel-purple-dark);
	text-decoration: underline;
}
.toposel-single-wrapper .toposel-single-nav__next {
	margin-left: auto;
	text-align: right;
}

.toposel-single-wrapper .toposel-single-h2 {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 22px;
	color: var(--toposel-text);
}
.toposel-single-wrapper .toposel-single-related,
.toposel-single-wrapper .toposel-single-comments {
	background: #FFFFFF;
	padding: 32px 40px 36px;
	box-shadow: 0 12px 30px -6px rgba(0, 0, 0, 0.12);
}
.toposel-single-wrapper .toposel-single-related__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}
.toposel-single-wrapper .toposel-single-related .toposel-blog-card {
	box-shadow: 0 8px 22px -6px rgba(0, 0, 0, 0.12);
}
.toposel-single-wrapper .toposel-single-related .toposel-card-title {
	font-size: 18px;
}

/* Comments */
.toposel-single-wrapper .toposel-comment-list {
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
}
.toposel-single-wrapper .toposel-comment-list .children {
	list-style: none;
	margin: 0;
	padding-left: 28px;
}
.toposel-single-wrapper .toposel-comment-list .comment-body {
	padding: 16px 0;
	border-bottom: 1px solid var(--toposel-line);
	font-size: 16px;
	line-height: 1.6;
}
.toposel-single-wrapper .toposel-comment-list .comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
}
.toposel-single-wrapper .toposel-comment-list .avatar {
	border-radius: 50%;
}
.toposel-single-wrapper .toposel-comment-list .says {
	display: none;
}
.toposel-single-wrapper .toposel-comment-list .comment-meta,
.toposel-single-wrapper .toposel-comment-list .comment-metadata {
	font-size: 14px;
	color: var(--toposel-soft);
}
.toposel-single-wrapper .toposel-comment-list a {
	color: var(--toposel-purple);
	text-decoration: none;
}
.toposel-single-wrapper .comment-reply-title {
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 8px;
	color: var(--toposel-text);
}
.toposel-single-wrapper .comment-reply-title small {
	font-size: 15px;
	margin-left: 10px;
}
.toposel-single-wrapper .toposel-comment-form {
	font-size: 15px;
	color: var(--toposel-muted);
}
.toposel-single-wrapper .toposel-comment-form p {
	margin: 0 0 16px;
}
.toposel-single-wrapper .toposel-comment-form a {
	color: var(--toposel-purple);
}
.toposel-single-wrapper .toposel-comment-form input[type="text"],
.toposel-single-wrapper .toposel-comment-form input[type="email"],
.toposel-single-wrapper .toposel-comment-form input[type="url"],
.toposel-single-wrapper .toposel-comment-form textarea {
	display: block;
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #dcdcdc;
	background: #fafafa;
	font: inherit;
	font-size: 16px;
	color: var(--toposel-text);
	border-radius: 0;
}
.toposel-single-wrapper .toposel-comment-form textarea {
	min-height: 150px;
	resize: vertical;
}
.toposel-single-wrapper .toposel-comment-form input:focus,
.toposel-single-wrapper .toposel-comment-form textarea:focus {
	outline: 2px solid var(--toposel-purple);
	outline-offset: 0;
	background: #FFFFFF;
}
.toposel-single-wrapper .toposel-comment-form .comment-form-cookies-consent {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}
.toposel-single-wrapper .toposel-comment-form .comment-form-cookies-consent input {
	margin-top: 5px;
}
.toposel-single-wrapper .toposel-comment-submit {
	border: 0;
	cursor: pointer;
	font-family: inherit;
	display: inline-block;
	border-radius: 50px;
}
.toposel-single-wrapper .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 1024px) {
	.toposel-single-wrapper .toposel-hero-section--single {
		padding: 30px 0 46px;
	}
	.toposel-single-wrapper .toposel-single-section {
		padding-top: 44px;
	}
}

@media (max-width: 767px) {
	.toposel-single-wrapper .toposel-hero-section--single {
		padding: 24px 0 36px;
	}
	.toposel-single-wrapper .toposel-hero-section--single .toposel-breadcrumb {
		font-size: 14px;
	}
	.toposel-single-wrapper .toposel-single-section {
		padding-top: 32px;
	}
	.toposel-single-wrapper .toposel-single-main {
		gap: 28px;
	}
	.toposel-single-wrapper .toposel-single-article,
	.toposel-single-wrapper .toposel-single-related,
	.toposel-single-wrapper .toposel-single-comments {
		padding: 24px 18px 28px;
	}
	.toposel-single-wrapper .toposel-single-title {
		font-size: 28px;
	}
	.toposel-single-wrapper .toposel-single-content {
		font-size: 16px;
		line-height: 1.7;
	}
	.toposel-single-wrapper .toposel-single-content h1 { font-size: 27px; }
	.toposel-single-wrapper .toposel-single-content h2 { font-size: 24px; }
	.toposel-single-wrapper .toposel-single-content h3 { font-size: 20px; }
	.toposel-single-wrapper .toposel-single-content .alignleft,
	.toposel-single-wrapper .toposel-single-content .alignright {
		float: none;
		display: block;
		margin: 0 auto 16px;
	}
	.toposel-single-wrapper .toposel-single-related__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.toposel-single-wrapper .toposel-single-h2,
	.toposel-single-wrapper .comment-reply-title {
		font-size: 24px;
	}
	.toposel-single-wrapper .toposel-comment-list .children {
		padding-left: 14px;
	}
}
