/* Founder authority page.
   Reuse the site's standard light page, hero, section, grid, and card system. */
.wps-authority-page {
	--wps-agent-accent: #0f8f58;
	--wps-agent-heading: #101827;
	--wps-agent-text: #515151;
	--wps-agent-muted: #657084;
	--wps-agent-border: rgba(15, 23, 42, .10);
	--wps-agent-surface: #fff;
	--wps-agent-shadow: 0 14px 36px rgba(15, 23, 42, .05);
	min-height: 70vh;
	background: #f4f5f9;
	color: var(--wps-agent-text);
}

.wps-authority-page .wps-agent-hero,
.wps-authority-page .wps-agent-section {
	width: 100%;
	max-width: 1200px;
}

.wps-authority-page > .wpsuite-container {
	margin-right: auto;
	margin-left: auto;
}

.wps-authority-page .wps-agent-hero .wps-agent-lead {
	max-width: 900px;
	margin-bottom: 0;
}

.wps-authority-section + .wps-authority-section {
	border-top: 1px solid var(--wps-agent-border);
}

.wps-authority-section h2 {
	margin-top: 0 !important;
}

.wps-authority-ecosystem > p {
	max-width: 860px;
	color: var(--wps-agent-muted);
	font-size: 1.05rem;
	line-height: 1.75;
}

.wps-authority-expertise {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
	padding: 0;
	list-style: none;
}

.wps-authority-expertise li {
	margin: 0;
	padding: 9px 14px;
	border: 1px solid rgba(15, 143, 88, .18);
	border-radius: 999px;
	background: rgba(15, 143, 88, .06);
	color: #0b6b43;
	font-size: .92rem;
	font-weight: 700;
}

.wps-authority-article-grid {
	margin-top: 28px !important;
}

.wps-authority-article-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0 !important;
	padding: 24px;
	border: 1px solid var(--wps-agent-border);
	border-radius: 18px;
	background: var(--wps-agent-surface);
	box-shadow: var(--wps-agent-shadow);
}

.wps-authority-article-card h3 {
	margin: 0 !important;
	font-size: clamp(1.15rem, 1.7vw, 1.45rem) !important;
	line-height: 1.35;
}

.wps-authority-article-card h3 a {
	color: var(--wps-agent-heading);
	text-decoration-color: rgba(15, 143, 88, .32);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.wps-authority-article-card h3 a:hover {
	color: var(--wps-agent-accent);
	text-decoration-color: currentColor;
}

.wps-authority-article-card .wp-block-post-terms,
.wps-authority-article-card .wp-block-post-date {
	margin-top: 0 !important;
	margin-bottom: 10px !important;
	color: var(--wps-agent-muted);
	font-size: .82rem;
}

.wps-authority-article-card .wp-block-post-excerpt {
	display: flex;
	flex: 1;
	flex-direction: column;
	margin-bottom: 0 !important;
	color: var(--wps-agent-text);
	line-height: 1.65;
}

.wps-authority-article-card .wp-block-post-excerpt__more-link {
	margin-top: auto;
	padding-top: 16px;
	color: var(--wps-agent-accent);
	font-weight: 700;
}

.wps-authority-profiles {
	margin-top: 22px !important;
	font-weight: 700;
}

.wps-authority-page a {
	color: #087044;
	text-underline-offset: 4px;
}

.wps-authority-pagination {
	gap: 8px;
	margin-top: 36px !important;
}

.wps-authority-pagination a,
.wps-authority-pagination .current {
	min-width: 42px;
	padding: 9px 12px;
	border: 1px solid var(--wps-agent-border);
	background: #fff;
	text-align: center;
	text-decoration: none;
}

.wps-authority-pagination .current {
	border-color: var(--wps-agent-accent);
	background: var(--wps-agent-accent);
	color: #fff;
}

@media (max-width: 767px) {
	.wps-authority-page .wps-agent-hero,
	.wps-authority-page .wps-agent-section {
		width: 100%;
	}

	.wps-authority-article-grid {
		grid-template-columns: 1fr !important;
	}
}
