/* Breadcrumbs (tool, category and About pages); items match the BreadcrumbList JSON-LD. */
.page-breadcrumbs .breadcrumb {
	font-size: 0.875rem;
	margin-bottom: 1.25rem;
}

.docs-article .page-breadcrumbs .breadcrumb {
	padding-left: 0;
}

.docs-article .page-breadcrumbs .breadcrumb-item {
	padding-top: 0;
	padding-bottom: 0;
}

.page-breadcrumbs .breadcrumb-item a {
	color: #5d6778;
	text-decoration: none;
}

.page-breadcrumbs .breadcrumb-item a:hover {
	color: #28b76b;
	text-decoration: underline;
}

.page-breadcrumbs-light .breadcrumb {
	--bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.6);
	--bs-breadcrumb-item-active-color: #fff;
	justify-content: center;
}

.page-breadcrumbs-light .breadcrumb-item a {
	color: rgba(255, 255, 255, 0.85);
}

.page-breadcrumbs-light .breadcrumb-item a:hover {
	color: #fff;
}

/* Tool pages: shared header (_tool_header.php) above the tool from _main.php. */
.tool-page .docs-article {
	padding-top: 1.5rem;
}

.tool-header {
	background: #f4fcf6;
	border: 1px solid #e0f4e8;
	border-radius: 0.5rem;
	padding: 1.75rem;
	scroll-margin-top: 85px;
}

.tool-header-title {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}

.tool-header-icon {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	font-size: 1.375rem;
	padding-top: 0.85rem;
	background: #fff;
}

.docs-article .tool-header .docs-heading {
	font-size: 2.5rem;
	margin-bottom: 0;
}

.tool-header-intro {
	font-size: 1.0625rem;
	margin-bottom: 1rem;
}

.docs-article .tool-header-badges {
	gap: 0.5rem;
	padding-left: 0;
}

.docs-article .tool-header-badges li {
	padding: 0.25rem 0.75rem;
	border-radius: 1.5rem;
	background: #fff;
	border: 1px solid #c9ecd7;
	color: #1f8d53;
	font-size: 0.8125rem;
	font-weight: 500;
}

/* The tool itself (first section of _main.php) stands out as the main action. */
.tool-header + .docs-section .card {
	border-top: 3px solid #28b76b;
	box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.06);
}

.tool-related .card-title {
	font-size: 1rem;
}

.tool-related .card-icon-holder {
	width: 48px;
	height: 48px;
	font-size: 1.125rem;
	padding-top: 0.8rem;
}

/* Landing-style pages (category, About, Search, Error): hero is shorter than the homepage one. */
.page-hero {
	padding: 3rem 0;
}

.page-hero .page-heading i {
	opacity: 0.85;
}

.page-prose p {
	font-size: 1.0625rem;
	line-height: 1.75;
}

.search-results li + li {
	margin-top: 1rem;
}

.search-result:hover {
	background: #f4fcf6;
}

.search-result .card-title a {
	color: #252930;
	text-decoration: none;
}

.search-result .card-title a:hover {
	color: #28b76b;
}

.search-empty-hint + .home-section {
	padding-top: 2rem;
}

.error-code {
	color: #fff;
	opacity: 0.6;
	font-size: 4rem;
	font-weight: 700;
	line-height: 1;
}

@media (max-width: 767.98px) {
	.tool-page .docs-article {
		padding: 1.25rem 0.75rem;
	}

	.tool-header {
		padding: 1.25rem 1rem;
	}

	.tool-header-title {
		gap: 0.75rem;
	}

	.docs-article .tool-header .docs-heading {
		font-size: 1.625rem;
		overflow-wrap: anywhere;
	}

	.tool-header-icon {
		width: 48px;
		height: 48px;
		font-size: 1.125rem;
		padding-top: 0.8rem;
	}

	.page-hero {
		padding: 2.5rem 0;
	}

	.page-hero .page-heading {
		font-size: 2rem;
	}
}
