.imoto-single-post,
.imoto-single-post * {
	box-sizing: border-box;
}

.imoto-single-post {
	background: #fff;
}

.imoto-single-post .container {
	width: min(100% - 32px, 1224px);
	margin-right: auto;
	margin-left: auto;
}

.imoto-single-post-hero {
	padding: 48px 0 42px;
	background: linear-gradient(180deg, #fff 0%, #fff7f4 100%);
	border-bottom: 1px solid #f1f1f1;
}

.imoto-single-post-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 20px;
	color: #777;
	font-size: 14px;
	line-height: 1.4;
}

.imoto-single-post-breadcrumb a {
	color: #555;
	text-decoration: none;
}

.imoto-single-post-breadcrumb a:hover {
	color: #f05225;
}

.imoto-single-post-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.imoto-single-post-cats a,
.imoto-single-post-tax-list a {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 7px 11px;
	color: #f05225;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	background: rgba(240, 82, 37, .1);
	border-radius: 999px;
}

.imoto-single-post-cats a:hover,
.imoto-single-post-tax-list a:hover {
	color: #fff;
	background: #f05225;
}

.imoto-single-post-hero h1 {
	max-width: 860px;
	margin: 0;
	color: #1f1f1f;
	font-size: 46px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: 0;
}

.imoto-single-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
	color: #666;
	font-size: 15px;
	line-height: 1.4;
}

.imoto-single-post-meta span {
	display: inline-flex;
	align-items: center;
}

.imoto-single-post-meta span:not(:last-child)::after {
	content: "";
	width: 4px;
	height: 4px;
	margin-left: 10px;
	background: #cfcfcf;
	border-radius: 50%;
}

.imoto-single-post-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 36px;
	align-items: start;
	padding-top: 44px;
	padding-bottom: 44px;
}

.imoto-single-post-article {
	min-width: 0;
}

.imoto-single-post-thumb {
	overflow: hidden;
	margin-bottom: 28px;
	background: #f6f6f6;
	border: 1px solid #eeeeee;
	border-radius: 16px;
	box-shadow: 0 12px 34px rgba(0, 0, 0, .07);
}

.imoto-single-post-thumb img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 560px;
	object-fit: cover;
}

.imoto-single-post-thumb-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 360px;
	padding: 40px;
	background: linear-gradient(135deg, #fff 0%, #fff1ec 100%);
}

.imoto-single-post-content {
	padding: 34px;
	color: #2a2a2a;
	font-size: 17px;
	line-height: 1.82;
	background: #fff;
	border: 1px solid #eeeeee;
	border-radius: 16px;
	box-shadow: 0 12px 34px rgba(0, 0, 0, .06);
}

.imoto-single-post-content :where(p, ul, ol, blockquote, table, figure) {
	margin-top: 0;
	margin-bottom: 1.35em;
}

.imoto-single-post-content :where(h2, h3, h4, h5, h6) {
	margin-top: 1.55em;
	margin-bottom: .65em;
	color: #1f1f1f;
	font-weight: 800;
	line-height: 1.25;
}

.imoto-single-post-content h2 {
	font-size: 30px;
}

.imoto-single-post-content h3 {
	font-size: 24px;
}

.imoto-single-post-content h4 {
	font-size: 20px;
}

.imoto-single-post-content a {
	color: #f05225;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.imoto-single-post-content :where(ul, ol) {
	padding-left: 1.25em;
}

.imoto-single-post-content ul {
	list-style: disc;
}

.imoto-single-post-content ol {
	list-style: decimal;
}

.imoto-single-post-content blockquote {
	padding: 18px 22px;
	color: #333;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.65;
	background: #fff7f4;
	border-left: 4px solid #f05225;
	border-radius: 0 12px 12px 0;
}

.imoto-single-post-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.imoto-single-post-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.imoto-single-post-content th,
.imoto-single-post-content td {
	padding: 12px;
	border: 1px solid #eeeeee;
}

.imoto-single-post-content th {
	background: #fafafa;
}

.imoto-single-post-pages {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid #eeeeee;
}

.imoto-single-post-sidebar {
	position: sticky;
	top: 20px;
	display: grid;
	gap: 18px;
	min-width: 0;
}

.imoto-single-post-side-card {
	padding: 20px;
	background: #fff;
	border: 1px solid #eeeeee;
	border-radius: 16px;
	box-shadow: 0 12px 34px rgba(0, 0, 0, .06);
}

.imoto-single-post-side-label {
	display: inline-flex;
	margin-bottom: 13px;
	color: #f05225;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
}

.imoto-single-post-author-row {
	display: flex;
	align-items: center;
	gap: 13px;
}

.imoto-single-post-avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
}

.imoto-single-post-author strong,
.imoto-single-post-latest strong {
	color: #1f1f1f;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.35;
}

.imoto-single-post-author p,
.imoto-single-post-latest span,
.imoto-post-card__date {
	margin: 4px 0 0;
	color: #777;
	font-size: 13px;
	line-height: 1.35;
}

.imoto-single-post-share,
.imoto-single-post-tax-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.imoto-single-post-share a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 8px 12px;
	color: #1f1f1f;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	background: #f6f6f6;
	border-radius: 999px;
}

.imoto-single-post-share a:hover {
	color: #fff;
	background: #f05225;
}

.imoto-single-post-latest {
	display: grid;
	gap: 12px;
}

.imoto-single-post-latest a {
	display: grid;
	gap: 4px;
	padding-bottom: 12px;
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid #eeeeee;
}

.imoto-single-post-latest a:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.imoto-single-post-latest a:hover strong {
	color: #f05225;
}

.imoto-single-post-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-bottom: 56px;
}

.imoto-single-post-nav-item {
	min-height: 96px;
	padding: 20px;
	background: #fff;
	border: 1px solid #eeeeee;
	border-radius: 16px;
	box-shadow: 0 12px 34px rgba(0, 0, 0, .06);
}

.imoto-single-post-nav-item:only-child {
	grid-column: 1 / -1;
}

.imoto-single-post-nav-item span {
	display: block;
	margin-bottom: 7px;
	color: #777;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
}

.imoto-single-post-nav-item a {
	display: block;
	color: #1f1f1f;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.35;
	text-decoration: none;
}

.imoto-single-post-nav-item a:hover {
	color: #f05225;
}

.imoto-single-post-nav-item.is-next {
	text-align: right;
}

.imoto-single-post-related {
	padding: 0 0 80px;
}

.imoto-single-post-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 24px;
}

.imoto-single-post-section-head h2 {
	margin: 0;
	color: #1f1f1f;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.25;
}

.imoto-single-post-section-head a {
	color: #f05225;
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
}

.imoto-single-post-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.imoto-post-card {
	overflow: hidden;
	background: #fff;
	border: 1px solid #eeeeee;
	border-radius: 16px;
	box-shadow: 0 12px 34px rgba(0, 0, 0, .06);
}

.imoto-post-card__thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #f6f6f6;
}

.imoto-post-card__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.imoto-post-card:hover .imoto-post-card__thumb img {
	transform: scale(1.04);
}

.imoto-post-card__body {
	padding: 16px;
}

.imoto-post-card__body h3 {
	margin: 6px 0 0;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.35;
}

.imoto-post-card__body h3 a {
	color: #1f1f1f;
	text-decoration: none;
}

.imoto-post-card__body h3 a:hover {
	color: #f05225;
}

@media (max-width: 1023px) {
	.imoto-single-post .container {
		width: calc(100% - 32px);
	}

	.imoto-single-post-hero {
		padding: 36px 0 32px;
	}

	.imoto-single-post-hero h1 {
		font-size: 34px;
	}

	.imoto-single-post-layout {
		grid-template-columns: 1fr;
		gap: 28px;
		padding-top: 32px;
		padding-bottom: 36px;
	}

	.imoto-single-post-sidebar {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.imoto-single-post-content {
		padding: 24px;
	}

	.imoto-single-post-related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.imoto-single-post .container {
		width: calc(100% - 24px);
	}

	.imoto-single-post-hero h1 {
		font-size: 28px;
	}

	.imoto-single-post-meta {
		gap: 8px;
		font-size: 13px;
	}

	.imoto-single-post-thumb {
		margin-bottom: 18px;
		border-radius: 14px;
	}

	.imoto-single-post-thumb-placeholder {
		min-height: 220px;
	}

	.imoto-single-post-content {
		padding: 18px;
		font-size: 16px;
		line-height: 1.75;
		border-radius: 14px;
	}

	.imoto-single-post-content h2 {
		font-size: 24px;
	}

	.imoto-single-post-content h3 {
		font-size: 21px;
	}

	.imoto-single-post-sidebar,
	.imoto-single-post-nav,
	.imoto-single-post-related-grid {
		grid-template-columns: 1fr;
	}

	.imoto-single-post-nav-item.is-next {
		text-align: left;
	}

	.imoto-single-post-related {
		padding-bottom: 56px;
	}

	.imoto-single-post-section-head h2 {
		font-size: 24px;
	}
}
