/* Widen the whole single-post content box by 20% (not just the card),
   so the card sits flush inside it instead of overhanging past its edge. */
article.ast-article-single {
	max-width: none !important;
	margin-left: -10% !important;
	margin-right: -10% !important;
}

@media (max-width: 900px) {
	article.ast-article-single {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}

.ah-pc {
	background: #fff;
	border: 1px solid #e6e4f0;
	border-radius: 18px;
	overflow: hidden;
	display: grid;
	grid-template-columns: 260px 1fr;
	box-shadow: 0 1px 2px rgba(27,26,61,.04), 0 12px 32px -18px rgba(27,26,61,.18);
	margin: 0 0 32px;
}

.ah-pc-rail {
	background: #faf9fe;
	border-right: 1px solid #ece9f6;
	padding: 28px 24px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.ah-pc-avatar {
	position: relative;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: var(--ast-global-color-0, #2B0057);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 700;
	overflow: hidden;
}

.ah-pc-avatar img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #fff;
	padding: 8px;
	box-sizing: border-box;
}

.ah-pc-name {
	margin: 0;
	font-size: 21px;
	font-weight: 800;
	letter-spacing: -.02em;
	color: #1b1a3d;
}

.ah-pc-desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: #6b6a8c;
}

.ah-pc-website {
	font-size: 13px;
	font-weight: 600;
	color: #e5177f;
	text-decoration: none;
	word-break: break-word;
}

.ah-pc-website:hover {
	color: #c9126e;
	text-decoration: underline;
}

.ah-pc-cta {
	display: block;
	text-align: center;
	height: 44px;
	line-height: 44px;
	border-radius: 10px;
	background: #e5177f;
	color: #fff !important;
	font-size: 14.5px;
	font-weight: 700;
	text-decoration: none !important;
}

.ah-pc-cta:hover {
	background: #c9126e;
}

.ah-pc-divider {
	height: 1px;
	background: #ece9f6;
}

.ah-pc-rail-block {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ah-pc-label {
	font-family: ui-monospace, Menlo, monospace;
	font-size: 11px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #8b89a8;
}

.ah-pc-network-value {
	font-size: 14px;
	font-weight: 600;
	color: #1b1a3d;
}

.ah-pc-main {
	display: flex;
	flex-direction: column;
}

.ah-pc-header {
	padding: 26px 28px 22px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	border-bottom: 1px solid #ece9f6;
	flex-wrap: wrap;
}

.ah-pc-commission-block {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ah-pc-commission-value {
	font-size: 32px;
	font-weight: 800;
	letter-spacing: -.03em;
	color: var(--ast-global-color-0, #2B0057);
	line-height: 1.15;
}

.ah-pc-badge {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	color: var(--ast-global-color-0, #2B0057);
	background: #efedfb;
	border-radius: 999px;
	padding: 6px 12px;
}

.ah-pc-facts {
	padding: 20px 28px 4px;
}

.ah-pc-fact-row {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 11px 0;
	border-bottom: 1px dashed #ece9f6;
	font-size: 14.5px;
}

.ah-pc-fact-row:last-child {
	border-bottom: none;
}

.ah-pc-fact-row span:first-child {
	color: #6b6a8c;
	flex: 0 0 auto;
}

.ah-pc-fact-row span:last-child {
	font-weight: 600;
	color: #1b1a3d;
	text-align: right;
}

.ah-pc-niches {
	padding: 18px 28px 26px;
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.ah-pc-niche-list {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.ah-pc-niche-list a {
	font-size: 13px;
	font-weight: 600;
	color: #e5177f;
	border: 1px solid #f7c9e0;
	border-radius: 999px;
	padding: 5px 12px;
	text-decoration: none;
}

.ah-pc-niche-list a:hover {
	background: #fdf0f6;
}

@media (max-width: 720px) {
	.ah-pc {
		grid-template-columns: 1fr;
	}
	.ah-pc-rail {
		border-right: none;
		border-bottom: 1px solid #ece9f6;
	}
}
