body.home #content-in,
body.yla-catalog-view #content-in,
body.single-yla_item #content-in {
	display: block !important;
}

body.home #main,
body.yla-catalog-view #main,
body.single-yla_item #main {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
}

body.home #sidebar,
body.yla-catalog-view #sidebar,
body.home .sns-share,
body.home .date-tags,
body.home .entry-footer,
body.home .toc,
body.yla-catalog-view .sns-share,
body.yla-catalog-view .date-tags,
body.yla-catalog-view .entry-footer,
body.yla-catalog-view .toc,
body.single-yla_item #sidebar,
body.single-yla_item .sns-share,
body.single-yla_item .date-tags,
body.single-yla_item .entry-footer,
body.single-yla_item .toc {
	display: none !important;
}

.yla-card-title {
	margin: .35rem 0 .7rem;
	font-size: .98rem;
	font-weight: 700;
	line-height: 1.5;
}

.yla-card-title a {
	color: #20222a;
	text-decoration: none;
}

.yla-home-intro {
	margin: 0 0 34px;
	padding: clamp(22px, 4vw, 40px);
	border: 1px solid #e2deef;
	border-radius: 20px;
	background: linear-gradient(135deg, #fff5f8 0%, #f4f0ff 52%, #fff 100%);
	box-shadow: 0 12px 34px rgba(35, 25, 60, .08);
}

.yla-home-intro h2 {
	margin: .45rem 0 .7rem;
	font-size: clamp(1.4rem, 3vw, 2rem);
	line-height: 1.35;
}

.yla-home-intro-copy {
	max-width: 880px;
	margin: 0;
	color: #454a57;
	line-height: 1.9;
}

.yla-home-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 22px 0 14px;
	padding: 0;
	list-style: none;
}

.yla-home-facts li {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 2px;
	padding: 14px 16px;
	border: 1px solid rgba(140, 92, 255, .16);
	border-radius: 13px;
	background: rgba(255, 255, 255, .78);
}

.yla-home-facts strong {
	color: #7d315b;
	font-size: 1.15rem;
}

.yla-home-facts span,
.yla-home-source-note {
	color: #606673;
	font-size: .82rem;
	line-height: 1.65;
}

.yla-home-source-note {
	margin: 0;
}

.yla-card-summary {
	display: -webkit-box;
	overflow: hidden;
	margin: .72rem 0 0;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	color: #555c69;
	font-size: .76rem;
	line-height: 1.65;
}

.yla-card-genres {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 8px;
}

.yla-card-genres a,
.yla-card-genres span {
	padding: 3px 7px;
	border: 1px solid #e1d8f3;
	border-radius: 999px;
	background: #faf7ff;
	color: #68429a;
	font-size: .68rem;
	line-height: 1.35;
	text-decoration: none;
}

.yla-category-note {
	margin-top: 12px;
	font-size: .88rem;
	color: #686e7b;
}

/* Cocoon related-entry and post-navigation thumbnails use the same markup on
 * desktop and mobile. Keep official remote images stable and consistently
 * cropped instead of allowing the theme's NO IMAGE placeholder. */
body.single-yla_item .related-entry-card-thumb img.yla-remote-thumbnail,
body.single-yla_item .post-navi img.yla-remote-thumbnail {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: #eef0f4;
}

@media (max-width: 640px) {
	.yla-home-intro {
		margin-bottom: 26px;
		padding: 19px 16px;
	}

	.yla-home-facts {
		grid-template-columns: 1fr;
	}

	.yla-card-summary {
		font-size: .7rem;
		-webkit-line-clamp: 5;
	}
}
