/**
 * Manx Rent – Single blog post polish (Homeo blog detail demo).
 */

.manx-blog-single-polish {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Reading progress */
.manx-reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	z-index: 9999;
	background: rgba(0, 0, 0, 0.06);
	pointer-events: none;
}

.manx-reading-progress__bar {
	display: block;
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, #ff5a5f, #ff8a65);
	transition: width 0.12s ease-out;
}

/* Breadcrumbs */
.manx-blog-single-polish .breadcrumb {
	margin-bottom: 12px;
}

/* Article card */
.manx-blog-single-polish .detail-post article {
	background: #fff;
	border: 1px solid #e8eef2;
	border-radius: 12px;
	box-shadow: 0 2px 20px rgba(32, 32, 64, 0.05);
	overflow: hidden;
}

.manx-blog-single-polish .detail-post article > .inner {
	padding: 28px 28px 8px;
}

@media (min-width: 1200px) {
	.manx-blog-single-polish .detail-post article > .inner {
		padding: 36px 40px 12px;
	}
}

/* Category pill */
.manx-blog-single-polish .entry-content-detail .categories-name {
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	padding: 4px 14px;
}

/* Title */
.manx-blog-single-polish .entry-content-detail .entry-title {
	font-size: clamp(1.65rem, 4vw, 2.35rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.2;
	margin-bottom: 16px;
	color: #1a2332;
}

/* Meta row */
.manx-blog-single-polish .top-detail-info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid #f0f3f6;
}

.manx-blog-single-polish .author-wrapper .avatar-img {
	width: 44px;
	height: 44px;
	border: 2px solid #fff;
	box-shadow: 0 2px 8px rgba(32, 32, 64, 0.1);
}

.manx-blog-single-polish .author-wrapper .author-title {
	font-weight: 600;
	font-size: 15px;
}

.manx-blog-single-polish .author-wrapper .author-title a {
	color: #1a2332;
}

.manx-blog-single-polish .top-detail-info .date,
.manx-blog-single-polish .top-detail-info .comments {
	font-size: 14px;
	color: #5c6b7a;
}

.manx-blog-single-polish .top-detail-info i {
	color: #ff5a5f;
}

/* Featured image */
.manx-blog-single-polish .entry-content-detail .entry-thumb {
	border-radius: 12px;
	margin-bottom: 28px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(32, 32, 64, 0.08);
}

.manx-blog-single-polish .entry-content-detail .entry-thumb img {
	width: 100%;
	height: auto;
	max-height: 520px;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.manx-blog-single-polish .entry-content-detail .entry-thumb:hover img {
	transform: scale(1.02);
}

/* Article body typography */
.manx-blog-single-polish .entry-description {
	font-size: 17px;
	line-height: 1.75;
	color: #3d4f5f;
}

.manx-blog-single-polish .entry-description p {
	margin-bottom: 1.25em;
}

.manx-blog-single-polish .entry-description h2,
.manx-blog-single-polish .entry-description h3,
.manx-blog-single-polish .entry-description h4 {
	color: #1a2332;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 1.75em 0 0.75em;
	line-height: 1.3;
}

.manx-blog-single-polish .entry-description h2 {
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.manx-blog-single-polish .entry-description h3 {
	font-size: clamp(1.1rem, 2vw, 1.25rem);
}

.manx-blog-single-polish .entry-description a {
	color: #ff5a5f;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s ease;
}

.manx-blog-single-polish .entry-description a:hover {
	color: #e04a4f;
}

.manx-blog-single-polish .entry-description blockquote {
	margin: 1.5em 0;
	padding: 20px 24px;
	border-left: 4px solid #ff5a5f;
	background: #fafbfc;
	border-radius: 0 8px 8px 0;
	font-style: italic;
	color: #5c6b7a;
}

.manx-blog-single-polish .entry-description img {
	border-radius: 8px;
	max-width: 100%;
	height: auto;
}

/* Tags + social share */
.manx-blog-single-polish .tag-social {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid #e8eef2;
}

.manx-blog-single-polish .apus-social-share strong {
	font-size: 15px;
	font-weight: 700;
	color: #1a2332;
}

.manx-blog-single-polish .bo-social-icons a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-right: 8px;
	border-radius: 50%;
	background: #f4f6f8;
	color: #5c6b7a;
	transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.manx-blog-single-polish .bo-social-icons a:hover {
	background: #ff5a5f;
	color: #fff;
	transform: translateY(-2px);
}

.manx-blog-single-polish .entry-tags-list a,
.manx-blog-single-polish .tag-links a {
	display: inline-block;
	padding: 6px 14px;
	margin: 4px 6px 4px 0;
	background: #f4f6f8;
	border-radius: 6px;
	font-size: 13px;
	transition: background 0.2s ease, color 0.2s ease;
}

.manx-blog-single-polish .entry-tags-list a:hover,
.manx-blog-single-polish .tag-links a:hover {
	background: #ff5a5f;
	color: #fff;
}

/* Post navigation */
.manx-blog-single-polish .post-navigation {
	margin: 0;
	padding: 24px 28px;
	border-top: 1px solid #e8eef2;
	background: #fafbfc;
}

.manx-blog-single-polish .post-navigation .meta-nav {
	background: #ff5a5f;
	transition: background 0.25s ease, transform 0.25s ease;
}

.manx-blog-single-polish .post-navigation a:hover .meta-nav {
	background: #e04a4f;
	transform: scale(1.05);
}

.manx-blog-single-polish .post-navigation .navi {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #5c6b7a;
}

.manx-blog-single-polish .post-navigation .title-direct {
	font-weight: 600;
	color: #1a2332;
}

/* Author bio */
.manx-blog-single-polish .author-info {
	margin-top: 0;
	padding: 32px 28px;
	background: #fff;
	border: 1px solid #e8eef2;
	border-radius: 12px;
	box-shadow: 0 2px 16px rgba(32, 32, 64, 0.04);
}

.manx-blog-single-polish .author-info .avatar-img img {
	border-radius: 50%;
	box-shadow: 0 4px 16px rgba(32, 32, 64, 0.1);
}

.manx-blog-single-polish .author-info .author-title {
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 10px;
}

.manx-blog-single-polish .author-info .description {
	font-size: 15px;
	line-height: 1.65;
	color: #5c6b7a;
}

/* Related posts carousel */
.manx-blog-single-polish .related-posts {
	margin-top: 36px;
	padding: 28px;
	background: #fff;
	border: 1px solid #e8eef2;
	border-radius: 12px;
	box-shadow: 0 2px 16px rgba(32, 32, 64, 0.04);
}

.manx-blog-single-polish .related-posts .title {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid #f0f3f6;
}

.manx-blog-single-polish .related-posts .post {
	margin-bottom: 0;
}

.manx-blog-single-polish .related-posts .slick-arrow {
	background: #fff;
	border: 1px solid #e8eef2;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.manx-blog-single-polish .related-posts .slick-arrow:hover {
	background: #ff5a5f;
	border-color: #ff5a5f;
	color: #fff;
}

/* Newsletter block */
.manx-blog-single-polish .manx-single-newsletter {
	margin: 36px 0;
}

.manx-blog-single-polish .manx-single-newsletter__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px 32px;
	padding: 32px 36px;
	background: linear-gradient(135deg, #1a2332 0%, #2d3a4d 100%);
	border-radius: 12px;
	color: #fff;
}

.manx-blog-single-polish .manx-single-newsletter__copy {
	flex: 1 1 280px;
}

.manx-blog-single-polish .manx-single-newsletter__eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #ff8a65;
	margin-bottom: 8px;
}

.manx-blog-single-polish .manx-single-newsletter__title {
	font-size: clamp(1.2rem, 2.5vw, 1.5rem);
	font-weight: 700;
	margin: 0 0 8px;
	color: #fff;
}

.manx-blog-single-polish .manx-single-newsletter__desc {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.85);
}

.manx-blog-single-polish .manx-single-newsletter__form {
	flex: 1 1 260px;
	max-width: 400px;
}

.manx-blog-single-polish .manx-single-newsletter .mc4wp-form-fields input[type="email"] {
	width: 100%;
	min-height: 48px;
	padding: 12px 16px;
	border: 0;
	border-radius: 8px;
	margin-bottom: 10px;
}

.manx-blog-single-polish .manx-single-newsletter .mc4wp-form-fields input[type="submit"],
.manx-blog-single-polish .manx-single-newsletter .mc4wp-form-fields button {
	width: 100%;
	padding: 14px;
	border: 0;
	border-radius: 8px;
	font-weight: 600;
	background: #ff5a5f;
	color: #fff;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.manx-blog-single-polish .manx-single-newsletter .mc4wp-form-fields input[type="submit"]:hover {
	background: #e04a4f;
	transform: translateY(-1px);
}

/* Comments */
.manx-blog-single-polish #comments {
	margin-top: 36px;
	padding: 28px;
	background: #fff;
	border: 1px solid #e8eef2;
	border-radius: 12px;
}

.manx-blog-single-polish #comments .comments-title,
.manx-blog-single-polish #reply-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 20px;
}

.manx-blog-single-polish .comment-form .form-control,
.manx-blog-single-polish .comment-form textarea {
	border-radius: 8px;
	min-height: 44px;
	border-color: #e8eef2;
}

.manx-blog-single-polish .comment-form .btn,
.manx-blog-single-polish .comment-form input[type="submit"] {
	border-radius: 8px;
	padding: 12px 28px;
	font-weight: 600;
	background: #ff5a5f;
	border-color: #ff5a5f;
	transition: background 0.2s ease, transform 0.2s ease;
}

.manx-blog-single-polish .comment-form .btn:hover,
.manx-blog-single-polish .comment-form input[type="submit"]:hover {
	background: #e04a4f;
	transform: translateY(-1px);
}

/* Sticky sidebar */
@media (min-width: 992px) {
	.manx-blog-single-polish .sidebar-wrapper .sidebar {
		position: sticky;
		top: calc(var(--manx-header-height, 90px) + 16px);
		align-self: flex-start;
	}
}

.manx-blog-single-polish .sidebar-wrapper .widget {
	margin-bottom: 20px;
	padding: 22px;
	background: #fff;
	border: 1px solid #e8eef2;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(32, 32, 64, 0.04);
}

.manx-blog-single-polish .sidebar-wrapper .widget-title {
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid #f0f3f6;
}

.manx-blog-single-polish .sidebar .search-form .form-control {
	border-radius: 8px;
	min-height: 44px;
}

.manx-blog-single-polish .sidebar .widget_categories li a {
	display: block;
	padding: 8px 0;
	border-bottom: 1px solid #f0f3f6;
	transition: color 0.2s ease, padding-left 0.2s ease;
}

.manx-blog-single-polish .sidebar .widget_categories li a:hover {
	color: #ff5a5f;
	padding-left: 6px;
}

.manx-blog-single-polish .sidebar .tagcloud a {
	display: inline-block;
	padding: 6px 12px;
	margin: 4px 4px 4px 0;
	background: #f4f6f8;
	border-radius: 6px;
	font-size: 13px !important;
	transition: background 0.2s ease, color 0.2s ease;
}

.manx-blog-single-polish .sidebar .tagcloud a:hover {
	background: #ff5a5f;
	color: #fff;
}

.manx-blog-single-polish .sidebar .mc4wp-form-fields input[type="email"] {
	border-radius: 8px;
	min-height: 44px;
	width: 100%;
	margin-bottom: 10px;
}

.manx-blog-single-polish .sidebar .mc4wp-form-fields input[type="submit"],
.manx-blog-single-polish .sidebar .mc4wp-form-fields button {
	width: 100%;
	padding: 12px;
	border-radius: 8px;
	font-weight: 600;
	background: #ff5a5f;
	border: 0;
	color: #fff;
}

/* Scroll reveals */
.manx-blog-single-polish .manx-single-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.manx-blog-single-polish .manx-single-reveal.manx-in-view {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 767px) {
	.manx-blog-single-polish .detail-post article > .inner {
		padding: 20px 18px 8px;
	}

	.manx-blog-single-polish .post-navigation {
		padding: 20px 18px;
	}

	.manx-blog-single-polish .manx-single-newsletter__inner {
		padding: 24px 20px;
	}

	.manx-blog-single-polish .entry-content-detail .entry-thumb:hover img {
		transform: none;
	}

	.manx-blog-single-polish .manx-single-reveal {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.manx-blog-single-polish .manx-single-reveal,
	.manx-blog-single-polish .entry-content-detail .entry-thumb img,
	.manx-blog-single-polish .bo-social-icons a,
	.manx-reading-progress__bar {
		transition: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}
