/**
 * Start Here / audience path pages — homepage-style split hero and compact rhythm.
 */

.cfo-topic-category-page .pc-container {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 2rem;
	box-sizing: border-box;
}

body.cfo-cs-hero-layout .cfo-topic-category-page > .cs-hero,
body.admin-bar.cfo-cs-hero-layout .cfo-topic-category-page > .cs-hero,
body.admin-bar .cfo-topic-category-page > .cs-hero.cs-hero--home,
.cfo-topic-category-page > .cs-hero--home {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0 !important;
	border-bottom: 1px solid rgba(184, 148, 63, 0.22);
	background: #070707;
}

.cfo-topic-category-page {
	padding-top: var(--cfo-header-offset, 64px);
}

body.admin-bar .cfo-topic-category-page {
	padding-top: calc(32px + var(--cfo-header-offset, 64px));
}

@media (max-width: 782px) {
	body.admin-bar .cfo-topic-category-page {
		padding-top: calc(46px + var(--cfo-header-offset, 64px));
	}
}

.cfo-topic-category-page .cs-hero--home::before,
.cfo-topic-category-page .cs-hero--home::after {
	display: none;
}

.cfo-topic-category-page .cs-hero-home {
	display: grid;
	grid-template-columns: minmax(20rem, 0.95fr) minmax(0, 1.05fr);
	align-items: stretch;
	min-height: 0;
}

.cfo-topic-category-page .cs-hero-home-copy {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: visible;
	padding: 0.85rem 1.4rem 0.95rem max(2rem, calc((100vw - 1440px) / 2 + 2rem));
	text-align: left;
	background:
		radial-gradient(90% 140% at 0% 80%, rgba(184, 148, 63, 0.18), transparent 58%),
		linear-gradient(160deg, #14110d 0%, #0a0a0a 62%);
}

.cfo-topic-category-page .cs-hero-home-kicker {
	margin: 0 0 0.22rem;
	font-family: "IBM Plex Mono", "Plex Mono Fallback", monospace;
	font-size: 0.62rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #b8943f;
}

.cfo-topic-category-page .cs-hero-home-copy .cs-title,
body.cfo-cs-hero-layout .cfo-topic-category-page .cs-hero-home-copy .cs-title {
	margin: 0 0 0.28rem;
	font-size: clamp(1.25rem, 2vw, 1.7rem);
	line-height: 1.12;
	letter-spacing: -0.025em;
	text-align: left;
	text-transform: none;
	color: #fff;
}

.cfo-topic-category-page .cs-hero-home-copy .cs-desc,
body.cfo-cs-hero-layout .cfo-topic-category-page .cs-hero-home-copy .cs-desc {
	margin: 0 0 0.5rem;
	max-width: 36rem;
	font-size: 0.8rem;
	line-height: 1.4;
	text-align: left;
	color: rgba(245, 240, 230, 0.72);
}

.cfo-topic-category-page .cs-hero-home-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.1rem;
}

.cfo-topic-category-page .cs-hero-home-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 30px;
	padding: 0.22rem 0.9rem;
	border-radius: 999px;
	background: #b8943f;
	color: #111;
	font-family: "Libre Franklin", "Franklin Fallback", sans-serif;
	font-weight: 700;
	font-size: 0.86rem;
	text-decoration: none;
	border: 1px solid #b8943f;
}

.cfo-topic-category-page .cs-hero-home-btn:hover {
	background: #d4b56a;
	color: #111;
}

.cfo-topic-category-page .cs-hero-home-link {
	color: #b8943f;
	font-family: "Libre Franklin", "Franklin Fallback", sans-serif;
	font-weight: 600;
	font-size: 0.88rem;
	text-decoration: none;
}

.cfo-topic-category-page .cs-hero-home-link:hover {
	color: #d4b56a;
}

.cfo-topic-category-page .cs-hero-home-visual {
	position: relative;
	min-height: 100%;
	overflow: hidden;
}

.cfo-topic-category-page .cs-hero-home-visual::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, #0a0a0a 0%, rgba(10, 10, 10, 0.18) 28%, transparent 55%);
	pointer-events: none;
}

.cfo-topic-category-page .cs-hero-home-visual img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: saturate(0.9) contrast(1.06);
}

.cfo-topic-category-page .value-strip {
	padding: 1.15rem 0;
	background: #080808;
	border-bottom: 1px solid rgba(184, 148, 63, 0.16);
}

.cfo-topic-category-page .value-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem;
	counter-reset: pathcard;
}

.cfo-topic-category-page .value-card {
	counter-increment: pathcard;
	padding: 1.05rem 1.1rem 1.15rem;
	text-align: left;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.025);
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.cfo-topic-category-page .value-card:hover {
	transform: translateY(-3px);
	border-color: rgba(184, 148, 63, 0.45);
	background: rgba(184, 148, 63, 0.06);
	box-shadow: none;
}

.cfo-topic-category-page .value-card-icon {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0;
	line-height: 0;
	color: transparent;
}

.cfo-topic-category-page .value-card-icon::before {
	content: counter(pathcard, decimal-leading-zero);
	font-family: "IBM Plex Mono", "Plex Mono Fallback", monospace;
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	color: #b8943f;
}

.cfo-topic-category-page .value-card h3 {
	margin: 0 0 0.35rem;
	font-family: "Playfair Display", "Playfair Fallback", serif;
	font-size: 1.02rem;
	font-weight: 700;
	color: #fff;
}

.cfo-topic-category-page .value-card p {
	margin: 0;
	font-size: 0.8rem;
	line-height: 1.45;
	color: rgba(245, 240, 230, 0.62);
}

.cfo-topic-category-page .featured-section,
.cfo-topic-category-page .articles-section,
.cfo-topic-category-page .playlist-section,
.cfo-topic-category-page .toolkits-section {
	width: 100%;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	box-sizing: border-box;
}

.cfo-topic-category-page .featured-section,
.cfo-topic-category-page .toolkits-section {
	padding: 1.65rem 0 1.25rem;
	background:
		radial-gradient(80% 120% at 8% 0%, rgba(184, 148, 63, 0.08), transparent 55%),
		#0b0b0b;
}

.cfo-topic-category-page .path-kicker,
.cfo-topic-category-page .featured-section .sv-hero-eyebrow {
	display: flex !important;
	align-items: center;
	gap: 0.7rem;
	margin-bottom: 0.9rem !important;
	padding: 0 !important;
	border: none !important;
	backdrop-filter: none;
	font-family: "IBM Plex Mono", "Plex Mono Fallback", monospace;
	font-size: 0.64rem !important;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #b8943f;
	background: none;
}

.cfo-topic-category-page .path-kicker::before,
.cfo-topic-category-page .featured-section .sv-hero-eyebrow::before {
	content: "";
	width: 1.6rem;
	height: 1px;
	background: #b8943f;
}

.cfo-topic-category-page .featured-card {
	position: relative;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	min-height: 15.5rem;
	border-radius: 14px;
	overflow: hidden;
	text-decoration: none;
	background: #101010;
	border: 1px solid rgba(184, 148, 63, 0.22);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.cfo-topic-category-page .featured-card:hover {
	transform: translateY(-3px);
	border-color: rgba(184, 148, 63, 0.5);
	box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
}

.cfo-topic-category-page .featured-visual {
	position: relative;
	min-height: 15.5rem;
	padding: 0 !important;
	overflow: hidden;
	background-size: cover !important;
	background-position: center !important;
}

.cfo-topic-category-page .featured-visual::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg, transparent 18%, rgba(10, 10, 10, 0.55) 100%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.28));
}

.cfo-topic-category-page .featured-badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 2;
	padding: 0.28rem 0.62rem;
	border-radius: 4px;
	background: rgba(184, 148, 63, 0.92);
	color: #111;
	font-family: "IBM Plex Mono", "Plex Mono Fallback", monospace;
	font-size: 0.58rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.cfo-topic-category-page .featured-body {
	padding: 1.35rem 1.5rem 1.4rem !important;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background:
		linear-gradient(165deg, #161310 0%, #0c0c0c 70%);
}

.cfo-topic-category-page .featured-eyebrow {
	margin-bottom: 0.45rem;
	font-size: 0.62rem;
	letter-spacing: 0.16em;
}

.cfo-topic-category-page .featured-body h2 {
	margin: 0 0 0.5rem;
	font-size: clamp(1.2rem, 2.1vw, 1.7rem) !important;
	line-height: 1.18;
	letter-spacing: -0.02em;
	color: #fff;
}

.cfo-topic-category-page .featured-body p {
	margin: 0 0 0.95rem;
	font-size: 0.88rem;
	line-height: 1.5;
	color: rgba(245, 240, 230, 0.68);
}

.cfo-topic-category-page .read-more-btn {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 30px;
	padding: 0.18rem 0.85rem;
	border-radius: 999px;
	background: #b8943f;
	color: #111 !important;
	font-size: 0.78rem !important;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: none;
}

.cfo-topic-category-page .articles-section {
	padding: 0.4rem 0 2.1rem;
	background: #090909;
}

.cfo-topic-category-page .section-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.05rem !important;
}

.cfo-topic-category-page .section-header h2 {
	font-family: "Playfair Display", "Playfair Fallback", serif !important;
	font-size: clamp(1.3rem, 2vw, 1.65rem) !important;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #fff !important;
	margin: 0 0 0.2rem !important;
}

.cfo-topic-category-page .section-header p {
	margin: 0;
	font-size: 0.84rem;
	color: rgba(245, 240, 230, 0.58);
}

.cfo-topic-category-page .articles-grid {
	gap: 0.85rem;
}

.cfo-topic-category-page .article-card {
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.028);
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.cfo-topic-category-page .article-card:hover {
	transform: translateY(-4px);
	border-color: rgba(184, 148, 63, 0.42);
	background: rgba(184, 148, 63, 0.05);
}

.cfo-topic-category-page .article-image {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	font-size: 0;
	line-height: 0;
	color: transparent;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	background-size: cover !important;
	background-position: center !important;
}

.cfo-topic-category-page .article-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.45));
	pointer-events: none;
}

.cfo-topic-category-page .article-kicker {
	display: inline-block;
	margin-bottom: 0.4rem;
	font-family: "IBM Plex Mono", "Plex Mono Fallback", monospace;
	font-size: 0.58rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #b8943f;
}

.cfo-topic-category-page .article-body {
	padding: 0.95rem 1rem 1.05rem;
}

.cfo-topic-category-page .article-body h3 {
	margin: 0 0 0.35rem;
	font-size: 1.02rem;
	line-height: 1.28;
	color: #f5f0ea;
}

.cfo-topic-category-page .article-body p {
	margin: 0 0 0.7rem;
	font-size: 0.8rem;
	line-height: 1.45;
	color: rgba(245, 240, 230, 0.58);
}

.cfo-topic-category-page .article-meta {
	padding-top: 0.7rem;
	font-size: 0.72rem;
	color: rgba(245, 240, 230, 0.42);
}

.cfo-topic-category-page .article-meta .arrow {
	color: #b8943f;
	font-weight: 600;
}

.cfo-topic-category-page .playlist-section {
	padding: 1.5rem 0 0.4rem;
	border-top: 1px solid rgba(184, 148, 63, 0.16);
	border-bottom: none;
	background:
		radial-gradient(70% 120% at 92% 10%, rgba(184, 148, 63, 0.09), transparent 58%),
		#080808;
}

.cfo-topic-category-page .playlist-card {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	overflow: hidden;
	border-radius: 14px;
	background: #0d0d0d;
	border: 1px solid rgba(184, 148, 63, 0.22);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.cfo-topic-category-page .playlist-visual {
	padding: 0.85rem;
	gap: 0.65rem;
	background: #111;
	min-height: 13rem;
}

.cfo-topic-category-page .pl-empty {
	grid-column: 1 / -1;
	min-height: 12.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	border-radius: 10px;
	background:
		radial-gradient(70% 90% at 50% 40%, rgba(184, 148, 63, 0.2), transparent 62%),
		linear-gradient(145deg, #1c1812, #0c0c0c);
	color: rgba(245, 240, 230, 0.58);
	font-size: 0.8rem;
}

.cfo-topic-category-page .pl-thumb {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.cfo-topic-category-page .pl-thumb:hover {
	transform: translateY(-2px);
	border-color: rgba(184, 148, 63, 0.45);
}

.cfo-topic-category-page .pl-thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.45));
	pointer-events: none;
}

.cfo-topic-category-page .pl-play-btn {
	position: relative;
	z-index: 1;
	width: 38px;
	height: 38px;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}

.cfo-topic-category-page .playlist-body {
	padding: 1.35rem 1.5rem 1.45rem !important;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: linear-gradient(165deg, #15120e 0%, #0b0b0b 72%);
}

.cfo-topic-category-page .playlist-body h3 {
	margin: 0 0 0.5rem !important;
	font-family: "Playfair Display", "Playfair Fallback", serif;
	font-size: clamp(1.2rem, 2vw, 1.55rem) !important;
	line-height: 1.2;
	color: #fff !important;
}

.cfo-topic-category-page .playlist-body p {
	margin: 0 0 1rem !important;
	font-size: 0.86rem;
	line-height: 1.5;
	color: rgba(245, 240, 230, 0.64) !important;
}

.cfo-topic-category-page .playlist-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 1rem;
}

.cfo-topic-category-page .playlist-stats span {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 0.12rem 0.6rem;
	border-radius: 999px;
	border: 1px solid rgba(184, 148, 63, 0.28);
	background: rgba(184, 148, 63, 0.08);
	color: #d4b56a;
	font-family: "IBM Plex Mono", "Plex Mono Fallback", monospace;
	font-size: 0.62rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cfo-topic-category-page .playlist-body .btn-sv-gold,
.cfo-topic-category-page .playlist-cta {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	padding: 0.22rem 0.95rem;
	border-radius: 999px;
	background: #b8943f !important;
	color: #111 !important;
	font-size: 0.82rem !important;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: none;
	box-shadow: none;
	border: 1px solid #b8943f;
}

.cfo-topic-category-page .playlist-body .btn-sv-gold::after {
	display: none;
}

.cfo-topic-category-page .playlist-body .btn-sv-gold:hover,
.cfo-topic-category-page .playlist-cta:hover {
	background: #d4b56a !important;
	transform: none;
	filter: none;
}

.cfo-topic-category-page .path-books {
	padding: 1.5rem 0 2.1rem;
	border-top: 1px solid rgba(184, 148, 63, 0.16);
	background:
		radial-gradient(70% 120% at 12% 0%, rgba(184, 148, 63, 0.08), transparent 58%),
		#080808;
}

.cfo-topic-category-page .path-books-all {
	color: #b8943f;
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.cfo-topic-category-page .path-books-all:hover {
	color: #d4b56a;
}

.cfo-topic-category-page .path-books-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
}

.cfo-topic-category-page .path-book-card {
	display: grid;
	grid-template-columns: 6.4rem minmax(0, 1fr);
	gap: 1rem;
	align-items: stretch;
	min-height: 10.5rem;
	padding: 0.85rem;
	text-decoration: none;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.028);
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.cfo-topic-category-page .path-book-card:hover {
	transform: translateY(-3px);
	border-color: rgba(184, 148, 63, 0.45);
	background: rgba(184, 148, 63, 0.05);
}

.cfo-topic-category-page .path-book-cover {
	overflow: hidden;
	border-radius: 8px;
	background: #14110d;
	border: 1px solid rgba(184, 148, 63, 0.22);
}

.cfo-topic-category-page .path-book-cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cfo-topic-category-page .path-book-cover span {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 0.6rem;
	color: rgba(245, 240, 230, 0.45);
	font-size: 0.72rem;
	text-align: center;
}

.cfo-topic-category-page .path-book-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.cfo-topic-category-page .path-book-kicker {
	display: inline-block;
	margin-bottom: 0.35rem;
	font-family: "IBM Plex Mono", "Plex Mono Fallback", monospace;
	font-size: 0.58rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #b8943f;
}

.cfo-topic-category-page .path-book-body h3 {
	margin: 0 0 0.35rem;
	font-family: "Playfair Display", "Playfair Fallback", serif;
	font-size: 1.08rem;
	line-height: 1.25;
	color: #f5f0ea;
}

.cfo-topic-category-page .path-book-body p {
	margin: 0 0 0.75rem;
	font-size: 0.8rem;
	line-height: 1.45;
	color: rgba(245, 240, 230, 0.58);
}

.cfo-topic-category-page .path-book-cta {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0.16rem 0.75rem;
	border-radius: 999px;
	background: #b8943f;
	color: #111;
	font-size: 0.76rem;
	font-weight: 700;
}

.cfo-topic-category-page .cs-explore,
.tax-efcfo_masterclass_cat .cs-explore,
.page-template-page-free-masterclasses .cs-explore,
.tax-efcfo_cfo_speaks_cat .cs-explore {
	padding: 2rem 0 2.5rem;
}

.cfo-topic-category-page .mcca-grid-section,
.tax-efcfo_masterclass_cat .mcca-grid-section,
.page-template-page-free-masterclasses .mcca-grid-section,
.tax-efcfo_cfo_speaks_cat .mcca-grid-section {
	padding-top: 1.25rem;
	padding-bottom: 2.5rem;
}

.cfo-topic-category-page .cs-explore-sub,
.tax-efcfo_masterclass_cat .cs-explore-sub {
	margin-bottom: 1.5rem;
}

@media (max-width: 1100px) {
	.cfo-topic-category-page .cs-hero-home {
		grid-template-columns: 1fr;
		max-height: none;
	}

	.cfo-topic-category-page .cs-hero-home-copy {
		padding: 0.85rem 1.25rem;
	}

	.cfo-topic-category-page .cs-hero-home-visual {
		min-height: 9.5rem;
	}

	.cfo-topic-category-page .value-grid,
	.cfo-topic-category-page .articles-grid {
		grid-template-columns: 1fr 1fr;
	}

	.cfo-topic-category-page .featured-card,
	.cfo-topic-category-page .playlist-card {
		grid-template-columns: 1fr;
	}

	.cfo-topic-category-page .featured-visual {
		min-height: 11rem;
	}

	.cfo-topic-category-page .path-books-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.cfo-topic-category-page .pc-container,
	.cfo-topic-category-page .cfo-books-section .cfo-container,
	.cfo-topic-category-page .cfo-books-section .cfo-carousel-wrapper {
		padding: 0 1.15rem;
	}

	.cfo-topic-category-page .value-grid,
	.cfo-topic-category-page .articles-grid {
		grid-template-columns: 1fr;
	}

	.cfo-topic-category-page .featured-section,
	.cfo-topic-category-page .playlist-section {
		padding-bottom: 0;
	}

	.cfo-topic-category-page .articles-section {
		padding-bottom: 1.5rem;
	}

	.cfo-topic-category-page .section-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.cfo-topic-category-page .path-book-card {
		grid-template-columns: 5.4rem minmax(0, 1fr);
	}
}
