/* Theme additions on top of the shared styles */

/* "Similar Posts" is a static three-card grid (the previous theme used a carousel). */
.entry-related .bsf-related-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 2.5rem;
	grid-template-columns: 1fr;
}
@media (min-width: 576px) {
	.entry-related .bsf-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1025px) {
	.entry-related .bsf-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.entry-related .bsf-related-grid .entry-list-item { display: flex; }
.entry-related .bsf-related-grid .loop-entry { width: 100%; }

/* Hero sections without a background image use the brand brown. */
.search-archive-hero-section .entry-hero-container-inner,
.post-archive-hero-section .entry-hero-container-inner { background: var(--global-palette5); }
.post-archive-title h1,
.post-archive-title .rank-math-breadcrumb,
.post-archive-title .rank-math-breadcrumb a { color: var(--global-palette9); }

/* Footer copyright: keep long lines tidy on phones. */
.site-footer .footer-html-inner p { margin: 0; text-wrap: balance; }

/* Kadence Blocks rows set to "inherit theme width": same width as under the previous theme (content width incl. edge padding). */
.kb-row-layout-wrap > .kt-row-column-wrap.kb-theme-content-width {
	max-width: var(--global-content-width);
}
