.pf {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 16px;
	margin: 0 0 20px;
}

.pfc {
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 16px;
	background: #fff;
}

.pfc img {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.pfc h3 {
	margin: 10px 0 6px;
	font-size: 1.05rem;
}

.pfc p {
	margin: 0 0 6px;
	font-size: .92rem;
	color: #475569;
}

.pfl {
	display: inline-block;
	background: #0f172a;
	color: #fff;
	font-size: .75rem;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 999px;
	margin: 0 0 10px;
}

.pfb {
	display: inline-block;
	background: #f59e0b;
	color: #1e293b;
	font-weight: 700;
	padding: 10px 18px;
	border-radius: 999px;
	text-decoration: none;
}

.pfq {
	color: #1d4ed8;
	font-weight: 700;
}

.pfj {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 28px;
}

.pfj a {
	background: #f59e0b;
	color: #1e293b;
	font-weight: 700;
	padding: 10px 18px;
	border-radius: 999px;
	text-decoration: none;
}

/* Wide tables scroll inside their wrapper on small screens instead of pushing the page sideways. */
.wp-block-table {
	overflow-x: auto;
}

/* Tables inside scenario details scroll within the details element. */
details {
	overflow-x: auto;
}

/* Bare tables with no figure wrapper scroll within themselves. */
table {
	display: block;
	overflow-x: auto;
}

/* Div-based tables (ARIA role) scroll within themselves. */
[role="table"],
[role="grid"] {
	display: block;
	overflow-x: auto;
}

/* Stronger table containment: overrides width attributes and theme table rules. */
table {
	display: block !important;
	overflow-x: auto !important;
}

/* Let the content column and Finder cards shrink below wide content, so wide tables scroll within themselves instead of widening the page. */
main, .wp-block-post-content, .pfc {
	min-width: 0;
}

/* Stack Finder cards on narrow screens so cramped card content cannot push the page sideways. */
@media (max-width: 600px) {
	.pf {
		grid-template-columns: 1fr;
	}
}

.wp-block-navigation .nav-cta a, .wp-block-navigation .nav-cta .wp-block-navigation-item__content {
	background: #F2B544;
	color: #142638;
	padding: 8px 16px;
	border-radius: 6px;
	font-weight: 700;
}