/*
 * Muscle & Authority Magazine™ — publication-wide refinement layer.
 * White editorial canvas, wider authority features, and restrained long-form rhythm.
 */

body[data-theme="default"] {
	--ma-paper: #ffffff;
	--ma-paper-deep: #f4f1e8;
	background: #ffffff !important;
}

body[data-theme="default"] .site-outer,
body[data-theme="default"] .main-site-outer,
body[data-theme="default"] .site-content,
body[data-theme="default"] .content-wrap,
body[data-theme="default"] .single-content,
body[data-theme="default"] .single-page,
body[data-theme="default"] .archive-content,
body[data-theme="default"] .elementor-location-single {
	background-color: #ffffff !important;
	background-image: none !important;
}

body[data-theme="default"] #site-header,
body[data-theme="default"] .elementor-1954 .elementor-element-db49a3c {
	background: rgba(255, 255, 255, .985) !important;
}

/* Publication pages keep a generous institutional reading measure. */
body.page[data-theme="default"] .ma-page {
	background: #ffffff;
}

body.page[data-theme="default"] .ma-page > * {
	max-width: 880px;
}

body.page[data-theme="default"] .single-page .entry-content {
	margin-inline: auto;
	max-width: 980px;
	width: min(100%, 980px);
}

/*
 * Long-form articles:
 * - remove Capital Post's unrelated demo sidebar;
 * - reveal the 1120px wrappers already present in the editorial HTML;
 * - retain an 860px measure for uninterrupted prose.
 */
body.single-post[data-theme="default"] .single-sidebar {
	display: none !important;
}

body.single-post[data-theme="default"] .single-standard-8 .grid-container {
	display: block !important;
	margin-inline: auto;
	max-width: 1300px;
	width: calc(100% - 40px);
}

body.single-post[data-theme="default"] .single-standard-8 .s-ct {
	float: none !important;
	margin-inline: auto;
	max-width: none !important;
	width: 100% !important;
}

body.single-post[data-theme="default"] .single-header,
body.single-post[data-theme="default"] .s-feat-outer {
	margin-inline: auto !important;
	max-width: 1120px !important;
	width: calc(100% - 40px) !important;
}

body.single-post[data-theme="default"] .single-header {
	padding-inline: 0;
}

body.single-post[data-theme="default"] .single-standard-8 .s-ct-inner {
	justify-content: space-between;
}

body.single-post[data-theme="default"] .single-standard-8 .e-ct-outer {
	max-width: 1120px !important;
	width: calc(100% - 120px) !important;
}

body.single-post[data-theme="default"] .entry-content {
	box-sizing: border-box;
	margin-inline: auto !important;
	max-width: 1120px !important;
	width: 100% !important;
}

body.single-post[data-theme="default"] .entry-content > p,
body.single-post[data-theme="default"] .entry-content > h2,
body.single-post[data-theme="default"] .entry-content > h3,
body.single-post[data-theme="default"] .entry-content > h4,
body.single-post[data-theme="default"] .entry-content > ul,
body.single-post[data-theme="default"] .entry-content > ol,
body.single-post[data-theme="default"] .entry-content > blockquote,
body.single-post[data-theme="default"] .entry-content > .wp-block-group:not(.alignwide):not(.alignfull) {
	margin-left: auto;
	margin-right: auto;
	max-width: 860px;
}

body.single-post[data-theme="default"] .ma-imported-feature {
	background: #ffffff !important;
	border-top-color: #d9d3c7;
	box-sizing: border-box;
	margin-inline: auto !important;
	max-width: 1120px !important;
	width: 100% !important;
}

/* A quiet, consistent editorial finish for migrated modules. */
body.single-post[data-theme="default"] .ma-imported-feature img {
	height: auto;
	max-width: 100%;
}

body.single-post[data-theme="default"] .ma-imported-feature a {
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

body.single-post[data-theme="default"] .single-header .s-title {
	font-family: var(--ma-display);
	font-size: clamp(44px, 5.1vw, 68px);
	font-weight: 600;
	letter-spacing: -.026em;
	line-height: 1.02;
	max-width: 1080px;
	text-wrap: balance;
}

body.single-post[data-theme="default"] .single-header .p-category,
body.single-post[data-theme="default"] .single-header .single-meta,
body.single-post[data-theme="default"] .single-header .entry-meta {
	font-family: var(--ma-sans);
}

body.single-post[data-theme="default"] .single-header,
body.single-post[data-theme="default"] .entry-content {
	color: var(--ma-ink);
}

body.single-post[data-theme="default"] .s-feat-outer img {
	width: 100%;
}

/* Remove leftover demo/ad shells when they are empty. */
body.single-post[data-theme="default"] .ad-wrap:empty,
body.single-post[data-theme="default"] .rb-ad:empty,
body.single-post[data-theme="default"] .widget:has(.mc4wp-form-fields:empty) {
	display: none !important;
}

@media (max-width: 1024px) {
	body.single-post[data-theme="default"] .single-standard-8 .grid-container {
		width: calc(100% - 36px);
	}

	body.single-post[data-theme="default"] .single-header,
	body.single-post[data-theme="default"] .s-feat-outer {
		width: calc(100% - 36px) !important;
	}

	body.single-post[data-theme="default"] .single-standard-8 .e-ct-outer {
		width: 100% !important;
	}
}

@media (max-width: 767px) {
	body.single-post[data-theme="default"] .single-standard-8 .grid-container {
		width: calc(100% - 28px);
	}

	body.single-post[data-theme="default"] .single-header,
	body.single-post[data-theme="default"] .s-feat-outer {
		width: calc(100% - 28px) !important;
	}

	body.single-post[data-theme="default"] .single-standard-8 .e-ct-outer {
		width: 100% !important;
	}

	body.single-post[data-theme="default"] .single-header .s-title {
		font-size: clamp(36px, 10.8vw, 48px);
		line-height: 1.04;
	}

	body.single-post[data-theme="default"] .entry-content > p,
	body.single-post[data-theme="default"] .entry-content > h2,
	body.single-post[data-theme="default"] .entry-content > h3,
	body.single-post[data-theme="default"] .entry-content > h4,
	body.single-post[data-theme="default"] .entry-content > ul,
	body.single-post[data-theme="default"] .entry-content > ol,
	body.single-post[data-theme="default"] .entry-content > blockquote,
	body.single-post[data-theme="default"] .entry-content > .wp-block-group:not(.alignwide):not(.alignfull) {
		max-width: none;
	}

	body.page[data-theme="default"] .single-page .entry-content {
		width: calc(100% - 28px);
	}
}

/*
 * TruFit Authority Index
 * Crisp black, white, and antique-gold method dossier. Deliberately distinct
 * from Fitness Living Magazine's warm-paper Reader's Index.
 */
body.single-post.ma-authority-spotlight .ma-authority-index {
	--ma-index-black: #121211;
	--ma-index-gold: var(--ma-gold, #9b7731);
	--ma-index-rule: #d9d3c7;
	background: #ffffff;
	border: 0;
	border-bottom: 1px solid var(--ma-index-black);
	border-radius: 0;
	border-top: 4px solid var(--ma-index-black);
	box-shadow: none;
	box-sizing: border-box;
	color: var(--ma-index-black);
	display: block;
	margin: 54px auto 62px;
	max-width: 1120px;
	overflow: hidden;
	padding: 0;
	position: relative;
	width: 100%;
}

body.single-post.ma-authority-spotlight .ma-authority-index::before {
	background: var(--ma-index-gold);
	content: "";
	height: 1px;
	left: 0;
	position: absolute;
	right: 0;
	top: 8px;
	z-index: 2;
}

body.single-post.ma-authority-spotlight .ma-index-mobile-summary {
	display: none;
}

body.single-post.ma-authority-spotlight .ma-index-layout {
	display: grid;
	grid-template-columns: minmax(174px, 21%) minmax(0, 1fr);
}

body.single-post.ma-authority-spotlight .ma-index-rail {
	align-items: flex-start;
	background: var(--ma-index-black);
	border-right: 1px solid var(--ma-index-gold);
	color: #ffffff;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 100%;
	padding: 48px 28px 42px;
}

body.single-post.ma-authority-spotlight .ma-index-monogram {
	color: #ffffff;
	font-family: var(--ma-display, "Cormorant Garamond", Georgia, serif);
	font-size: 48px;
	font-weight: 600;
	letter-spacing: -.045em;
	line-height: .9;
}

body.single-post.ma-authority-spotlight .ma-index-rail-copy {
	color: #d8bd7d;
	font-family: var(--ma-sans, "Libre Franklin", sans-serif);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .16em;
	line-height: 1.72;
	text-transform: uppercase;
}

body.single-post.ma-authority-spotlight .ma-index-body {
	box-sizing: border-box;
	padding: 49px 48px 42px;
}

body.single-post.ma-authority-spotlight .ma-index-eyebrow {
	color: var(--ma-index-gold);
	font-family: var(--ma-sans, "Libre Franklin", sans-serif);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .15em;
	line-height: 1.4;
	margin: 0 0 15px;
	text-transform: uppercase;
}

body.single-post.ma-authority-spotlight .ma-index-eyebrow span {
	color: #827764;
	margin-inline: .35em;
}

body.single-post.ma-authority-spotlight .ma-index-title {
	color: var(--ma-index-black);
	font-family: var(--ma-serif, "Source Serif 4", Georgia, serif);
	font-size: clamp(40px, 4.2vw, 50px);
	font-weight: 700;
	letter-spacing: -.025em;
	line-height: 1;
	margin: 0;
}

body.single-post.ma-authority-spotlight .ma-index-deck {
	color: #4d493f !important;
	font-family: var(--ma-serif, "Source Serif 4", Georgia, serif) !important;
	font-size: 19px !important;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.52 !important;
	margin: 16px 0 31px !important;
	max-width: 760px;
}

body.single-post.ma-authority-spotlight .ma-index-list {
	display: grid;
	gap: 0 36px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

body.single-post.ma-authority-spotlight .ma-index-item {
	border-top: 1px solid var(--ma-index-rule);
	list-style: none;
	margin: 0;
	padding: 0;
}

body.single-post.ma-authority-spotlight .ma-index-item:nth-last-child(-n + 2) {
	border-bottom: 1px solid var(--ma-index-rule);
}

body.single-post.ma-authority-spotlight .ma-authority-index.ma-index-odd .ma-index-item:nth-last-child(2) {
	border-bottom: 0;
}

body.single-post.ma-authority-spotlight .ma-index-link {
	align-items: start;
	color: var(--ma-index-black);
	display: grid;
	gap: 14px;
	grid-template-columns: 34px minmax(0, 1fr);
	padding: 18px 0 17px;
	text-decoration: none !important;
}

body.single-post.ma-authority-spotlight .ma-index-number {
	color: var(--ma-index-gold);
	font-family: var(--ma-sans, "Libre Franklin", sans-serif);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	line-height: 1.55;
	padding-top: 2px;
}

body.single-post.ma-authority-spotlight .ma-index-label {
	color: var(--ma-index-black);
	font-family: var(--ma-serif, "Source Serif 4", Georgia, serif);
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -.012em;
	line-height: 1.28;
	transition: color 150ms ease;
}

body.single-post.ma-authority-spotlight .ma-index-link:hover .ma-index-label {
	color: var(--ma-index-gold);
}

body.single-post.ma-authority-spotlight .ma-index-link:focus-visible {
	outline: 2px solid var(--ma-index-gold);
	outline-offset: 4px;
}

body.single-post.ma-authority-spotlight .ma-method-anchor {
	display: block;
	height: 0;
	position: relative;
	top: -86px;
	visibility: hidden;
}

@media (max-width: 940px) {
	body.single-post.ma-authority-spotlight .ma-index-layout {
		grid-template-columns: 150px minmax(0, 1fr);
	}

	body.single-post.ma-authority-spotlight .ma-index-rail {
		padding-inline: 22px;
	}

	body.single-post.ma-authority-spotlight .ma-index-body {
		padding-inline: 34px;
	}

	body.single-post.ma-authority-spotlight .ma-index-list {
		column-gap: 28px;
	}

	body.single-post.ma-authority-spotlight .ma-index-label {
		font-size: 18.5px;
	}
}

@media (max-width: 767px) {
	body.single-post.ma-authority-spotlight .ma-authority-index {
		border-top: 0;
		margin: 40px auto 48px;
	}

	body.single-post.ma-authority-spotlight .ma-authority-index::before {
		display: none;
	}

	body.single-post.ma-authority-spotlight .ma-index-mobile-summary {
		align-items: center;
		background: var(--ma-index-black);
		color: #ffffff;
		cursor: pointer;
		display: grid;
		gap: 16px;
		grid-template-columns: auto 1fr auto;
		list-style: none;
		padding: 19px 20px 18px;
	}

	body.single-post.ma-authority-spotlight .ma-index-mobile-summary::-webkit-details-marker {
		display: none;
	}

	body.single-post.ma-authority-spotlight .ma-authority-index[open] .ma-index-mobile-summary {
		border-bottom: 1px solid var(--ma-index-gold);
	}

	body.single-post.ma-authority-spotlight .ma-index-mobile-mark {
		color: #ffffff;
		font-family: var(--ma-display, "Cormorant Garamond", Georgia, serif);
		font-size: 31px;
		font-weight: 600;
		letter-spacing: -.04em;
		line-height: .85;
	}

	body.single-post.ma-authority-spotlight .ma-index-mobile-label {
		color: #d8bd7d;
		font-family: var(--ma-sans, "Libre Franklin", sans-serif);
		font-size: 10.5px;
		font-weight: 700;
		letter-spacing: .16em;
		text-transform: uppercase;
	}

	body.single-post.ma-authority-spotlight .ma-index-mobile-icon {
		height: 16px;
		position: relative;
		width: 16px;
	}

	body.single-post.ma-authority-spotlight .ma-index-mobile-icon::before,
	body.single-post.ma-authority-spotlight .ma-index-mobile-icon::after {
		background: #d8bd7d;
		content: "";
		height: 1px;
		left: 0;
		position: absolute;
		top: 7px;
		transition: transform 150ms ease;
		width: 16px;
	}

	body.single-post.ma-authority-spotlight .ma-index-mobile-icon::after {
		transform: rotate(90deg);
	}

	body.single-post.ma-authority-spotlight .ma-authority-index[open] .ma-index-mobile-icon::after {
		transform: rotate(0);
	}

	body.single-post.ma-authority-spotlight .ma-index-layout {
		display: block;
	}

	body.single-post.ma-authority-spotlight .ma-index-rail {
		display: none;
	}

	body.single-post.ma-authority-spotlight .ma-index-body {
		padding: 30px 22px 27px;
	}

	body.single-post.ma-authority-spotlight .ma-index-eyebrow {
		font-size: 10px;
		line-height: 1.6;
		margin-bottom: 12px;
	}

	body.single-post.ma-authority-spotlight .ma-index-title {
		font-size: clamp(35px, 11vw, 42px);
	}

	body.single-post.ma-authority-spotlight .ma-index-deck {
		font-size: 17.5px !important;
		line-height: 1.5 !important;
		margin: 14px 0 25px !important;
	}

	body.single-post.ma-authority-spotlight .ma-index-list {
		display: block;
	}

	body.single-post.ma-authority-spotlight .ma-index-item:nth-last-child(-n + 2) {
		border-bottom: 0;
	}

	body.single-post.ma-authority-spotlight .ma-index-item:last-child {
		border-bottom: 1px solid var(--ma-index-rule);
	}

	body.single-post.ma-authority-spotlight .ma-index-link {
		grid-template-columns: 31px minmax(0, 1fr);
		padding-block: 16px 15px;
	}

	body.single-post.ma-authority-spotlight .ma-index-label {
		font-size: 18px;
		line-height: 1.3;
	}

	body.single-post.ma-authority-spotlight .ma-method-anchor {
		top: -62px;
	}
}

/*
 * Authority Index compact refinement:
 * smaller overall scale, a single black top rule, and quieter serif weights.
 */
body.single-post.ma-authority-spotlight .ma-authority-index {
	border-top-width: 3px;
	margin: 46px auto 52px;
	max-width: 1040px;
}

body.single-post.ma-authority-spotlight .ma-authority-index::before {
	display: none;
}

body.single-post.ma-authority-spotlight .ma-index-layout {
	grid-template-columns: minmax(150px, 19%) minmax(0, 1fr);
}

body.single-post.ma-authority-spotlight .ma-index-rail {
	padding: 40px 24px 34px;
}

body.single-post.ma-authority-spotlight .ma-index-monogram {
	font-size: 42px;
	font-weight: 500;
}

body.single-post.ma-authority-spotlight .ma-index-rail-copy {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .15em;
}

body.single-post.ma-authority-spotlight .ma-index-body {
	padding: 40px 42px 34px;
}

body.single-post.ma-authority-spotlight .ma-index-eyebrow {
	font-size: 10.5px;
	font-weight: 600;
	margin-bottom: 12px;
}

body.single-post.ma-authority-spotlight .ma-index-title {
	font-size: clamp(36px, 3.6vw, 44px);
	font-weight: 600;
	letter-spacing: -.02em;
	line-height: 1.03;
}

body.single-post.ma-authority-spotlight .ma-index-deck {
	font-size: 17.5px !important;
	line-height: 1.5 !important;
	margin: 14px 0 24px !important;
}

body.single-post.ma-authority-spotlight .ma-index-list {
	column-gap: 32px;
}

body.single-post.ma-authority-spotlight .ma-index-link {
	gap: 12px;
	grid-template-columns: 31px minmax(0, 1fr);
	padding: 14px 0;
}

body.single-post.ma-authority-spotlight .ma-index-number {
	font-size: 11px;
	font-weight: 600;
}

body.single-post.ma-authority-spotlight .ma-index-label {
	font-size: 18px;
	font-weight: 500;
	letter-spacing: -.006em;
	line-height: 1.3;
}

@media (max-width: 940px) {
	body.single-post.ma-authority-spotlight .ma-index-layout {
		grid-template-columns: 140px minmax(0, 1fr);
	}

	body.single-post.ma-authority-spotlight .ma-index-rail {
		padding-inline: 20px;
	}

	body.single-post.ma-authority-spotlight .ma-index-body {
		padding-inline: 31px;
	}

	body.single-post.ma-authority-spotlight .ma-index-list {
		column-gap: 25px;
	}

	body.single-post.ma-authority-spotlight .ma-index-label {
		font-size: 17.5px;
	}
}

@media (max-width: 767px) {
	body.single-post.ma-authority-spotlight .ma-authority-index {
		border-top: 0;
		margin: 36px auto 44px;
		max-width: 100%;
	}

	body.single-post.ma-authority-spotlight .ma-index-mobile-summary {
		padding: 17px 18px 16px;
	}

	body.single-post.ma-authority-spotlight .ma-index-mobile-mark {
		font-size: 29px;
		font-weight: 500;
	}

	body.single-post.ma-authority-spotlight .ma-index-mobile-label {
		font-weight: 600;
	}

	body.single-post.ma-authority-spotlight .ma-index-layout {
		display: block;
	}

	body.single-post.ma-authority-spotlight .ma-index-rail {
		display: none;
	}

	body.single-post.ma-authority-spotlight .ma-index-body {
		padding: 26px 20px 24px;
	}

	body.single-post.ma-authority-spotlight .ma-index-eyebrow {
		font-size: 9.5px;
		margin-bottom: 10px;
	}

	body.single-post.ma-authority-spotlight .ma-index-title {
		font-size: clamp(32px, 10vw, 38px);
		font-weight: 600;
	}

	body.single-post.ma-authority-spotlight .ma-index-deck {
		font-size: 16.5px !important;
		margin: 12px 0 21px !important;
	}

	body.single-post.ma-authority-spotlight .ma-index-list {
		display: block;
	}

	body.single-post.ma-authority-spotlight .ma-index-link {
		grid-template-columns: 29px minmax(0, 1fr);
		padding-block: 14px;
	}

	body.single-post.ma-authority-spotlight .ma-index-label {
		font-size: 17px;
		font-weight: 500;
	}
}

