/* Theme integration is intentionally limited to the real front page using [kcc_home]. */
body.kcc-home-page #sidebar,
body.kcc-home-page .sidebar,
body.kcc-home-page .sidebar-scroll,
body.kcc-home-page #toc,
body.kcc-home-page .toc,
body.kcc-home-page .toc-widget-box,
body.kcc-home-page .sns-share,
body.kcc-home-page .sns-share-message,
body.kcc-home-page .sns-share-buttons,
body.kcc-home-page .sns-follow,
body.kcc-home-page .date-tags,
body.kcc-home-page .post-date,
body.kcc-home-page .post-update,
body.kcc-home-page .author-info,
body.kcc-home-page .entry-categories-tags,
body.kcc-home-page .footer-meta,
body.kcc-home-page .comment-area,
body.kcc-home-page #comments {
	display: none !important;
}

body.kcc-home-page #main .article-header,
body.kcc-home-page #main .entry-header,
body.kcc-home-page #main .entry-title,
body.kcc-home-page main .article-header,
body.kcc-home-page main .entry-header,
body.kcc-home-page main .entry-title,
body.kcc-home-page main .wp-block-post-title,
body.kcc-home-page main .page-title {
	display: none !important;
}

body.kcc-home-page .content-in {
	display: block !important;
}

body.kcc-home-page #main,
body.kcc-home-page .main {
	width: min(100%, calc(var(--kcc-container) + 3rem)) !important;
	max-width: calc(var(--kcc-container) + 3rem) !important;
	float: none !important;
	margin-inline: auto !important;
}

body.kcc-home-page .wp-site-blocks > main .wp-block-post-content {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: calc(var(--kcc-container) + 2rem) !important;
	margin-inline: auto !important;
	padding-inline: 1rem !important;
}

body.kcc-home-page .entry-content > .kcc-home {
	width: min(calc(100% - 2rem), var(--kcc-container)) !important;
	max-width: var(--kcc-container) !important;
	margin-inline: auto !important;
}

body.kcc-home-page #header-container,
body.kcc-home-page .header-container {
	border-bottom: 1px solid var(--kcc-border);
	background: var(--kcc-bg);
}

body.kcc-home-page .header-in,
body.kcc-home-page .navi-in {
	max-width: var(--kcc-container);
	margin-inline: auto;
}

body.kcc-home-page .navi-in a {
	min-height: 44px;
	color: var(--kcc-text);
}

body.kcc-home-page #footer,
body.kcc-home-page .footer {
	background: var(--kcc-text);
	color: var(--kcc-bg);
}

body.kcc-home-page #footer a,
body.kcc-home-page .footer a {
	color: var(--kcc-bg);
}

body.kcc-home-page .mobile-footer-menu-buttons {
	border-top: 1px solid var(--kcc-border);
	background: var(--kcc-bg);
}

body.kcc-home-page .kcc-home-footer-links {
	box-sizing: border-box;
	width: 100%;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	background: var(--kcc-text);
	color: var(--kcc-bg);
	padding: 0.75rem 1rem 1.25rem;
}

body.kcc-home-page .kcc-home-footer-links__inner {
	max-width: var(--kcc-container);
	margin-inline: auto;
}

body.kcc-home-page .kcc-home-footer-links ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.25rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.kcc-home-page .kcc-home-footer-links a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	color: var(--kcc-bg) !important;
	font-size: 0.9rem;
	text-decoration: none;
}
