/* Scoopdeals look for the top of blog posts (ReHub's title area, share row and featured image). Posts only. */

/* Category labels: soft purple pills instead of black boxes */
body.single-post .title_single_area .rh-cat-list-title {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin-bottom: 14px;
}
body.single-post .title_single_area .rh-cat-label-title {
	background: #f1e9ff !important;
	color: #7000f4 !important;
	border-radius: 999px;
	padding: 4px 12px !important;
	margin: 0 !important;
	font-size: 12px !important;
	font-weight: 700;
	line-height: 1.4;
	text-transform: none;
	letter-spacing: .01em;
	transition: background .15s ease, color .15s ease;
}
body.single-post .title_single_area .rh-cat-label-title:hover {
	background: #7000f4 !important;
	color: #fff !important;
}

/* Title */
body.single-post .title_single_area h1 {
	font-size: clamp(26px, 3.6vw, 40px);
	line-height: 1.18;
	letter-spacing: -.02em;
	color: #1f2430;
	max-width: 900px;
	margin: 0 auto 14px;
}

/* Date, views, comments: quiet, with dots between */
body.single-post .title_single_area .post-meta {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 4px 14px;
	color: #6b7280;
	font-size: 14px;
}
body.single-post .title_single_area .post-meta span {
	font-style: normal !important;
	color: #6b7280;
	margin: 0 !important;
}
body.single-post .title_single_area .post-meta a {
	color: #6b7280;
}

/* Byline: author photo, name, updated time; disclosure below */
body.single-post .sdh-byline {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin: 4px 0 6px;
	font-size: 15px;
	color: #4b5563;
}
body.single-post .sdh-byline-who {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: #1f2430 !important;
	text-decoration: none;
}
body.single-post .sdh-byline-who img {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #e4d6ff;
}
body.single-post .sdh-byline-who strong {
	color: #1f2430;
	font-weight: 700;
}
body.single-post .sdh-byline-who:hover strong {
	color: #7000f4;
}
body.single-post .sdh-byline-when {
	color: #6b7280;
	font-size: 14px;
	padding-left: 14px;
	border-left: 1px solid #e5e7eb;
}
/* (i): how we earn, opens on click (and on hover with a mouse) */
body.single-post .sdh-byline-info {
	position: relative;
	display: inline-flex;
}
body.single-post .sdh-info-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #9ca3af;
	cursor: pointer;
}
body.single-post .sdh-info-btn:hover,
body.single-post .sdh-info-btn[aria-expanded="true"] {
	color: #7000f4;
	background: #f1e9ff;
}
body.single-post .sdh-info-pop {
	position: absolute;
	top: calc(100% + 8px);
	right: -10px;
	z-index: 50;
	width: 270px;
	padding: 12px 14px;
	background: #1f2430;
	color: #f3f4f6;
	font-size: 12.5px;
	line-height: 1.5;
	text-align: left;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}
body.single-post .sdh-info-pop a {
	color: #c4b5fd;
	text-decoration: underline;
}
body.single-post .sdh-info-pop[hidden] {
	display: none;
}
@media (hover: hover) and (pointer: fine) {
	body.single-post .sdh-byline-info:hover .sdh-info-pop {
		display: block;
	}
}

body.single-post .title_single_area .post-meta .date_meta {
	display: none !important;
}

/* Save and share: light round buttons, brand colour on hover */
body.single-post .top_share .row_social_inpost {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
}
body.single-post .top_share .row_social_inpost > span,
body.single-post .top_share .favour_in_row {
	margin: 0 !important;
	float: none !important;
}
body.single-post .top_share .share-link-image {
	background: #f4f2f8 !important;
	color: #3f3a52 !important;
	border: 0 !important;
	border-radius: 999px !important;
	height: 38px !important;
	line-height: 38px !important;
	padding: 0 16px !important;
	box-shadow: none !important;
	transition: background .15s ease, color .15s ease, transform .15s ease;
}
body.single-post .top_share .share-link-image:hover {
	transform: translateY(-1px);
	color: #fff !important;
}
/* ReHub labels it "XTwitter" next to the X logo */
body.single-post .row_social_inpost span.tw:after {
	content: "Post";
}
body.single-post .top_share .share-link-image.fb:hover { background: #1877f2 !important; }
body.single-post .top_share .share-link-image.tw:hover { background: #111 !important; }
body.single-post .top_share .share-link-image.pn:hover { background: #e60023 !important; }
body.single-post .top_share .share-link-image.in:hover { background: #7000f4 !important; }
body.single-post .top_share .heart_thumb_wrap {
	background: #fff !important;
	border: 2px solid #7000f4 !important;
	color: #7000f4 !important;
	border-radius: 999px !important;
	height: 38px !important;
	line-height: 34px !important;
	padding: 0 14px !important;
	box-shadow: none !important;
}
body.single-post .top_share .heart_thumb_wrap * {
	color: #7000f4 !important;
}
body.single-post .top_share .heart_thumb_wrap .thumbscount {
	background: #7000f4 !important;
	color: #fff !important;
}

/* Featured image: rounded with a soft shadow */
body.single-post .top_featured_image {
	margin: 22px 0 28px;
}
body.single-post .top_featured_image img {
	border-radius: 18px;
	box-shadow: 0 12px 36px rgba(40, 20, 90, .14);
	width: 100%;
	height: auto;
}

@media (max-width: 600px) {
	body.single-post .top_featured_image img {
		border-radius: 12px;
	}
	body.single-post .top_share .share-link-image {
		padding: 0 12px !important;
	}
}

/* "Jump to" (SDH_Toc): a folded bar at the top of the article; on wide screens in the space on its left */
body.single-post .sdh-toc {
	margin: 0 0 24px;
}
body.single-post .sdh-toc-box {
	background: #f8f6fd;
	border: 1px solid #ebe6f5;
	border-radius: 14px;
	padding: 4px 16px;
}
body.single-post .sdh-toc-box > summary {
	cursor: pointer;
	list-style: none;
	font-weight: 800;
	font-size: 14px;
	color: #1f2430;
	padding: 10px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
body.single-post .sdh-toc-box > summary::-webkit-details-marker {
	display: none;
}
body.single-post .sdh-toc-box > summary::after {
	content: "";
	width: 8px;
	height: 8px;
	border-right: 2px solid #7000f4;
	border-bottom: 2px solid #7000f4;
	transform: rotate(45deg);
	margin-right: 4px;
	transition: transform .2s ease;
}
body.single-post .sdh-toc-box[open] > summary::after {
	transform: rotate(-135deg);
}
body.single-post .sdh-toc ol {
	list-style: none;
	margin: 0 0 10px !important;
	padding: 0 !important;
	counter-reset: toc;
}
body.single-post .sdh-toc li {
	margin: 0 !important;
	padding: 0 !important;
	border-top: 1px solid #ebe6f5;
	font-size: 13.5px;
	line-height: 1.35;
}
body.single-post .sdh-toc li a {
	display: block;
	padding: 8px 0;
	color: #374151;
	text-decoration: none;
}
body.single-post .sdh-toc li a:hover {
	color: #7000f4;
}
body.single-post h2[id] {
	scroll-margin-top: 90px;
}
@media (min-width: 1400px) {
	body.single-post .post-inner {
		position: relative;
	}
	body.single-post .sdh-toc {
		position: absolute;
		top: 0;
		bottom: 0;
		left: -235px;
		width: 205px;
		margin: 0;
	}
	body.single-post .sdh-toc-box {
		position: sticky;
		top: 100px;
		max-height: calc(100vh - 130px);
		overflow: auto;
	}
	body.single-post .sdh-toc-box > summary {
		pointer-events: none;
	}
	body.single-post .sdh-toc-box > summary::after {
		display: none;
	}
}

/* Related posts under the article: modern cards, no price (it belongs to a product, not the article) */
body.single-post .related_articles {
	border-top: 1px solid #ebe6f5 !important;
	padding-top: 32px !important;
}
body.single-post .related_articles .related_title {
	font-size: 22px !important;
	font-weight: 800;
	color: #1f2430;
	margin-bottom: 20px !important;
}
body.single-post .related_articles .priced_block,
body.single-post .related_articles .rh-flex-center-align,
body.single-post .related_articles .button_action {
	display: none !important;
}
body.single-post .related_articles .col_item {
	background: #fff;
	border: 1px solid #ebe6f5;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(60, 30, 120, .06);
	transition: box-shadow .2s ease, transform .2s ease;
}
body.single-post .related_articles .col_item:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(60, 30, 120, .13);
}
body.single-post .related_articles figure {
	margin: 0 !important;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #f7f5fc;
}
body.single-post .related_articles figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}
body.single-post .related_articles .col_item:hover figure img {
	transform: scale(1.04);
}
body.single-post .related_articles .content_constructor {
	padding: 14px 16px 16px !important;
}
body.single-post .related_articles .content_constructor h2 {
	font-size: 15px !important;
	line-height: 1.4 !important;
	font-weight: 700 !important;
	margin: 0 0 10px !important;
}
body.single-post .related_articles .content_constructor h2 a {
	color: #1f2430;
}
body.single-post .related_articles .content_constructor::after {
	content: "Read article \2192";
	font-size: 13px;
	font-weight: 700;
	color: #7000f4;
}
