/* =============================================================
   SERPsKit Sitemap — Frontend & Editor styles
   ============================================================= */

.serpskit-sitemap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 0 30px;
	color: #1a1a1a;
	line-height: 1.55;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	box-sizing: border-box;
}

.serpskit-sitemap *,
.serpskit-sitemap *::before,
.serpskit-sitemap *::after {
	box-sizing: border-box;
}

/* ---------- Gray heading bars ---------- */
.serpskit-sitemap .sks-bar {
	background-color: #E6E7E8;
	padding: 12px 18px;
	margin: 24px 0 14px;
	border-radius: 2px;
}

.serpskit-sitemap .sks-bar__title {
	margin: 0;
	padding: 0;
	color: #1a1a1a;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.2px;
}

.serpskit-sitemap .sks-bar--h1 .sks-bar__title { font-size: 28px; }
.serpskit-sitemap .sks-bar--h2 .sks-bar__title { font-size: 22px; }
.serpskit-sitemap .sks-bar--h3 .sks-bar__title { font-size: 18px; font-weight: 600; }

.serpskit-sitemap .sks-bar--h3 .sks-bar__title a {
	color: inherit;
	text-decoration: none;
}
.serpskit-sitemap .sks-bar--h3 .sks-bar__title a:hover {
	text-decoration: underline;
}

/* ---------- Top section: pages list + logo ---------- */
.serpskit-sitemap .sks-row--pages {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	align-items: start;
	margin-bottom: 8px;
}

.serpskit-sitemap .sks-col--logo {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
	padding: 10px;
}

.serpskit-sitemap .sks-logo-link {
	display: inline-block;
	max-width: 100%;
	text-decoration: none;
}

.serpskit-sitemap .sks-logo-img {
	display: block;
	max-width: 100%;
	max-height: 180px;
	height: auto;
	width: auto;
}

.serpskit-sitemap .sks-logo-text {
	font-size: 30px;
	font-weight: 700;
	color: #1a1a1a;
	text-decoration: none;
}

/* ---------- Categories: 2-column layout ---------- */
.serpskit-sitemap .sks-categories {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 40px;
}

.serpskit-sitemap .sks-category {
	margin-bottom: 6px;
	break-inside: avoid;
}

/* ---------- Lists (no bullets — clean text links) ---------- */
.serpskit-sitemap .sks-list {
	list-style: none;
	padding: 0;
	margin: 6px 0 18px;
}

.serpskit-sitemap .sks-list li {
	padding: 5px 0;
	line-height: 1.5;
}

.serpskit-sitemap .sks-list a {
	color: #1d6fde;
	text-decoration: none;
	word-wrap: break-word;
	overflow-wrap: anywhere;
}

.serpskit-sitemap .sks-list a:hover,
.serpskit-sitemap .sks-list a:focus {
	color: #0d4ea0;
	text-decoration: underline;
}

.serpskit-sitemap .sks-empty {
	color: #555;
	font-style: italic;
	margin: 8px 0 24px;
}

/* ---------- Editor preview hint ---------- */
.serpskit-sitemap-editor-fallback {
	padding: 20px;
	background: #f6f7f7;
	border: 1px dashed #c3c4c7;
	border-radius: 4px;
	text-align: center;
	color: #50575e;
}

/* ---------- Responsive (tablet) ---------- */
@media ( max-width: 900px ) {
	.serpskit-sitemap .sks-categories {
		gap: 0 24px;
	}
}

/* ---------- Responsive (mobile) ---------- */
@media ( max-width: 700px ) {
	.serpskit-sitemap {
		padding: 6px 0 20px;
	}

	.serpskit-sitemap .sks-bar {
		padding: 10px 14px;
		margin: 18px 0 12px;
	}

	.serpskit-sitemap .sks-bar--h1 .sks-bar__title { font-size: 22px; }
	.serpskit-sitemap .sks-bar--h2 .sks-bar__title { font-size: 18px; }
	.serpskit-sitemap .sks-bar--h3 .sks-bar__title { font-size: 16px; }

	.serpskit-sitemap .sks-row--pages,
	.serpskit-sitemap .sks-categories {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.serpskit-sitemap .sks-col--logo {
		justify-content: flex-start;
		min-height: 0;
		padding: 6px 0 10px;
	}

	.serpskit-sitemap .sks-logo-img {
		max-height: 110px;
	}

	.serpskit-sitemap .sks-logo-text {
		font-size: 24px;
	}
}
