.tad-editorial-list-heading {
	margin: 0 0 1rem;
}

.tad-editorial-view-wrapper {
	display: grid;
	gap: 1rem;
}

.tad-editorial-view-toggle {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: flex-end;
}

.tad-editorial-view-button {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 999px;
	cursor: pointer;
	font-weight: 700;
	line-height: 1.2;
	padding: 0.45rem 0.8rem;
}

.tad-editorial-view-button.is-active {
	background: #1d2327;
	border-color: #1d2327;
	color: #fff;
}

.tad-editorial-view-panel {
	display: none;
}

.tad-editorial-view-panel.is-active {
	display: block;
}

.tad-editorial-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 1rem;
}

.tad-editorial-card {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 10px;
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	min-height: 220px;
	overflow: hidden;
}

.tad-editorial-card-media {
	background: #f6f7f7;
	min-height: 100%;
}

.tad-editorial-card-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 220px;
	text-decoration: none;
	width: 100%;
}

.tad-editorial-card-thumb img,
.tad-editorial-card-image {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.tad-editorial-card-thumb-placeholder {
	color: #646970;
	font-size: 0.85rem;
	font-weight: 700;
	text-align: center;
}

.tad-editorial-card-body {
	min-width: 0;
	padding: 1rem;
}

.tad-editorial-type {
	background: #f0f0f1;
	border-radius: 999px;
	color: #50575e;
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.2;
	margin: 0 0 0.55rem;
	padding: 0.25rem 0.55rem;
	text-transform: uppercase;
}

.tad-editorial-title {
	font-size: 1.25rem;
	line-height: 1.2;
	margin: 0 0 0.45rem;
}

.tad-editorial-title a,
.tad-editorial-actions a,
.tad-editorial-combo-title a,
.tad-editorial-combo-action a {
	text-decoration: none;
}

.tad-editorial-meta,
.tad-editorial-excerpt {
	color: #555;
	font-size: 0.95rem;
	line-height: 1.45;
	margin: 0 0 0.65rem;
}

.tad-editorial-actions {
	margin: 0.85rem 0 0;
}

.tad-editorial-actions a {
	font-weight: 700;
}

.tad-editorial-combo-list {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 10px;
	overflow: hidden;
}

.tad-editorial-combo-row {
	align-items: center;
	border-bottom: 1px solid #dcdcde;
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(0, 1fr) auto;
	padding: 0.85rem 1rem;
}

.tad-editorial-combo-row:last-child {
	border-bottom: 0;
}

.tad-editorial-combo-title,
.tad-editorial-combo-meta {
	font-size: 1.15rem;
	line-height: 1.35;
}

.tad-editorial-combo-title {
	font-weight: 700;
	margin: 0 0 0.25rem;
}

.tad-editorial-combo-meta {
	color: #1d2327;
	font-weight: 400;
	margin: 0;
}

.tad-editorial-combo-action a {
	font-weight: 700;
}

.tad-editorial-empty {
	color: #555;
}

@media (max-width: 782px) {
	.tad-editorial-view-toggle {
		justify-content: flex-start;
	}

	.tad-editorial-card,
	.tad-editorial-combo-row {
		grid-template-columns: 1fr;
	}

	.tad-editorial-card-thumb {
		min-height: 150px;
	}
}


/* v0.1.3 align editorial public views with Upcoming/Legacy patterns */
.tad-editorial-controls {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: space-between;
	margin: 0 0 1rem;
}

.tad-editorial-filter-pills,
.tad-editorial-view-toggle {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.tad-editorial-view-toggle {
	justify-content: flex-end;
	margin-left: auto;
}

.tad-editorial-filter-pill,
.tad-editorial-view-button {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 999px;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.2;
	padding: 0.65rem 1rem;
}

.tad-editorial-filter-pill.is-active,
.tad-editorial-view-button.is-active {
	background: #111;
	border-color: #111;
	color: #fff;
}

.tad-editorial-card-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
}

.tad-editorial-card {
	border-radius: 10px;
}

.tad-editorial-card.has-media {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	min-height: 220px;
}

.tad-editorial-card.no-media {
	display: block;
	min-height: 0;
}

.tad-editorial-card[hidden],
.tad-editorial-combo-row[hidden] {
	display: none;
}

.tad-editorial-card.no-media .tad-editorial-card-body {
	padding: 1rem 1.25rem;
}

.tad-editorial-card-thumb-placeholder {
	display: none;
}

.tad-editorial-combo-list {
	background: transparent;
	border: 0;
	border-radius: 0;
	display: grid;
	gap: 1rem;
	overflow: visible;
}

.tad-editorial-combo-row {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 10px;
	padding: 1rem 1.25rem;
}

.tad-editorial-combo-row:last-child {
	border-bottom: 1px solid #dcdcde;
}

@media (max-width: 782px) {
	.tad-editorial-controls {
		align-items: flex-start;
		flex-direction: column;
	}

	.tad-editorial-view-toggle {
		margin-left: 0;
	}

	.tad-editorial-card.has-media {
		grid-template-columns: 1fr;
	}
}


/* v0.1.4 editorial layout alignment */
.tad-editorial-list-heading {
	font-size: clamp(2.25rem, 5vw, 4rem);
	line-height: 1.05;
	margin: 0 0 1.25rem;
}

.tad-editorial-controls {
	margin: 0 0 1.75rem;
}

.tad-editorial-view-toggle {
	align-self: center;
}

.tad-editorial-card-grid {
	grid-template-columns: repeat(auto-fill, minmax(320px, 420px));
	justify-content: start;
}

.tad-editorial-card {
	max-width: 420px;
	width: 100%;
}

.tad-editorial-card.no-media {
	min-height: 0;
}

.tad-editorial-card.no-media .tad-editorial-card-body {
	padding: 1.25rem 1.35rem;
}

.tad-editorial-actions a {
	font-weight: 700;
}

.tad-editorial-combo-list {
	display: grid;
	gap: 1rem;
}

.tad-editorial-combo-row {
	align-items: center;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 10px;
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(0, 1fr) auto;
	min-height: 0;
	padding: 1rem 1.25rem;
}

.tad-editorial-combo-title {
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 0.35rem;
}

.tad-editorial-combo-meta {
	align-items: center;
	color: #555;
	display: flex;
	flex-wrap: wrap;
	font-size: 1rem;
	gap: 0.45rem;
	line-height: 1.35;
	margin: 0;
}

.tad-editorial-combo-type {
	background: #f0f0f1;
	border-radius: 999px;
	color: #50575e;
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.2;
	padding: 0.25rem 0.55rem;
	text-transform: uppercase;
}

.tad-editorial-combo-excerpt {
	color: #555;
	font-size: 0.95rem;
	line-height: 1.4;
	margin: 0.45rem 0 0;
}

.tad-editorial-combo-action {
	align-self: center;
}

.tad-editorial-combo-action a {
	font-weight: 700;
	text-decoration: none;
}

@media (max-width: 782px) {
	.tad-editorial-list-heading {
		font-size: clamp(2rem, 12vw, 3rem);
	}

	.tad-editorial-card-grid {
		grid-template-columns: 1fr;
	}

	.tad-editorial-card {
		max-width: none;
	}

	.tad-editorial-combo-row {
		grid-template-columns: 1fr;
	}

	.tad-editorial-combo-action {
		margin-top: 0.25rem;
	}
}


/* v0.1.5 match Upcoming/Legacy vertical rhythm below hero */
.tad-editorial-list-heading {
	font-size: clamp(2.5rem, 5vw, 4rem);
	line-height: 1.05;
	margin: 3.1rem 0 1.25rem;
}

.tad-editorial-controls {
	margin: 0 0 1.65rem;
}

.tad-editorial-view-wrapper {
	gap: 0;
}


/* v0.1.6 force Editorial section title to match Upcoming title placement */
body .tad-editorial-list-heading {
	box-sizing: border-box;
	display: block;
	font-size: clamp(2.5rem, 5vw, 4rem);
	line-height: 1.05;
	margin-top: 0 !important;
	margin-bottom: 1.25rem !important;
	padding-top: 3.1rem;
}


/* v0.1.7 use Upcoming Games wrapper/title pattern for Editorials */
.tad-editorial.tad-games-upcoming {
	margin: 2rem 0;
}

.tad-editorial .tad-games-upcoming-title.tad-editorial-section-title {
	margin-bottom: 1rem;
}


/* v0.1.8 match TAD Games Platform Card/List view-toggle HTML/CSS */
.tad-editorial .tad-games-lifecycle-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 1.5rem;
}

.tad-editorial .tad-games-view-toggle {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-left: auto;
}

.tad-editorial .tad-games-view-toggle-button {
	border: 1px solid #d0d7de;
	background: #fff;
	border-radius: 999px;
	padding: 0.6rem 0.95rem;
	font-size: 0.95rem;
	line-height: 1.2;
	cursor: pointer;
	font-weight: 400;
}

.tad-editorial .tad-games-view-toggle-button.is-active,
.tad-editorial .tad-games-view-toggle-button:hover,
.tad-editorial .tad-games-view-toggle-button:focus {
	background: #111;
	border-color: #111;
	color: #fff;
}

/* Neutralize older Editorial button sizing so the Games Platform sizing wins. */
.tad-editorial .tad-editorial-view-button.tad-games-view-toggle-button {
	padding: 0.6rem 0.95rem;
	font-size: 0.95rem;
	line-height: 1.2;
}

@media (max-width: 782px) {
	.tad-editorial .tad-games-lifecycle-controls {
		display: block;
	}

	.tad-editorial .tad-games-view-toggle {
		margin: 1rem 0 0;
	}
}


/* v0.1.9 match TAD Games Platform Upcoming filter button HTML/CSS */
.tad-editorial .tad-games-lifecycle-controls .tad-games-upcoming-filters {
	margin-bottom: 0;
}

.tad-editorial .tad-games-upcoming-filter-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.tad-editorial .tad-games-upcoming-filter-button {
	border: 1px solid #d0d7de;
	background: #fff;
	border-radius: 999px;
	padding: 0.6rem 0.95rem;
	font-size: 0.95rem;
	line-height: 1.2;
	cursor: pointer;
	font-weight: 400;
}

.tad-editorial .tad-games-upcoming-filter-button.is-active,
.tad-editorial .tad-games-upcoming-filter-button:hover,
.tad-editorial .tad-games-upcoming-filter-button:focus {
	background: #111;
	border-color: #111;
	color: #fff;
}

/* Neutralize older Editorial filter-pill sizing so the Games Platform sizing wins. */
.tad-editorial .tad-editorial-filter-pill.tad-games-upcoming-filter-button {
	padding: 0.6rem 0.95rem;
	font-size: 0.95rem;
	line-height: 1.2;
	font-weight: 400;
}


/* v0.2.0 article polls */
.tad-article-poll {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 10px;
	margin: 0 0 2rem;
	padding: 1.25rem;
}

.tad-article-poll-kicker {
	background: #f0f0f1;
	border-radius: 999px;
	color: #50575e;
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.2;
	margin: 0 0 0.75rem;
	padding: 0.25rem 0.55rem;
	text-transform: uppercase;
}

.tad-article-poll-title {
	font-size: 1.5rem;
	line-height: 1.2;
	margin: 0 0 0.75rem;
}

.tad-article-poll-abstract,
.tad-article-poll-message,
.tad-article-poll-status {
	color: #555;
	font-size: 1rem;
	line-height: 1.45;
	margin: 0 0 1rem;
}

.tad-article-poll-form fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

.tad-article-poll-form legend {
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 0.75rem;
	padding: 0;
}

.tad-article-poll-choice {
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	cursor: pointer;
	display: block;
	margin: 0 0 0.5rem;
	padding: 0.7rem 0.85rem;
}

.tad-article-poll-choice input {
	margin-right: 0.5rem;
}

.tad-article-poll-submit {
	background: #111;
	border: 1px solid #111;
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	font-weight: 700;
	margin-top: 0.75rem;
	padding: 0.6rem 1.1rem;
}

.tad-article-poll-results {
	margin-top: 1rem;
}

.tad-article-poll-results h3 {
	font-size: 1.15rem;
	margin: 0 0 1rem;
}

.tad-article-poll-results-layout {
	align-items: center;
	display: grid;
	gap: 1.25rem;
	grid-template-columns: 150px minmax(0, 1fr);
}

.tad-article-poll-pie {
	aspect-ratio: 1;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
	width: 150px;
}

.tad-article-poll-results-list {
	display: grid;
	gap: 0.7rem;
}

.tad-article-poll-result-row {
	display: grid;
	gap: 0.5rem;
	grid-template-columns: minmax(0, 1fr) minmax(120px, 200px) auto;
	align-items: center;
}

.tad-article-poll-result-label {
	font-weight: 700;
}

.tad-article-poll-result-bar {
	background: #f0f0f1;
	border-radius: 999px;
	height: 0.65rem;
	overflow: hidden;
}

.tad-article-poll-result-bar span {
	background: #111;
	display: block;
	height: 100%;
}

.tad-article-poll-result-value {
	white-space: nowrap;
}

.tad-article-poll-result-value span {
	color: #555;
}

.tad-article-poll-total {
	color: #555;
	margin: 0.75rem 0 0;
}

@media (min-width: 900px) {
	.single-tad_editorial .tad-article-poll {
		float: right;
		margin: 0 0 1.5rem 1.75rem;
		max-width: 420px;
		width: 40%;
	}
}

@media (max-width: 782px) {
	.tad-article-poll-results-layout,
	.tad-article-poll-result-row {
		grid-template-columns: 1fr;
	}

	.tad-article-poll-pie {
		width: 130px;
	}
}


/* v0.2.1 contain article polls inside the normal article/page width */
.single-tad_editorial .tad-article-poll {
	box-sizing: border-box;
	clear: both;
	float: none;
	margin: 0 auto 2.25rem;
	max-width: min(100%, var(--wp--style--global--content-size, 920px));
	width: 100%;
}

/* Ensure the article body starts with visible air after the poll. */
.single-tad_editorial .tad-article-poll + * {
	margin-top: 0;
}

/* Remove the v0.2.0 right-float behavior that could push polls beyond the page edge. */
@media (min-width: 900px) {
	.single-tad_editorial .tad-article-poll {
		float: none;
		margin: 0 auto 2.25rem;
		max-width: min(100%, var(--wp--style--global--content-size, 920px));
		width: 100%;
	}
}


/* v0.2.4 poll visual refinement */
.tad-article-poll-title {
	font-size: clamp(1.25rem, 2vw, 1.375rem);
	line-height: 1.22;
	margin-bottom: 0.6rem;
}

.tad-article-poll-abstract {
	margin-bottom: 1rem;
	max-width: 72ch;
}

.tad-article-poll-form legend {
	font-size: 1rem;
	line-height: 1.32;
}


/* v0.2.5 contained right-side poll inside article content only */
@media (min-width: 900px) {
	.single-tad_editorial .entry-content > .tad-article-poll {
		box-sizing: border-box;
		clear: right;
		float: right;
		margin: 0.25rem 0 1.75rem 2rem;
		max-width: 420px;
		width: min(420px, 38%);
	}

	.single-tad_editorial .entry-content > .tad-article-poll + * {
		margin-top: 0;
	}
}

@media (max-width: 899px) {
	.single-tad_editorial .entry-content > .tad-article-poll {
		clear: both;
		float: none;
		margin: 0 auto 2.25rem;
		max-width: min(100%, var(--wp--style--global--content-size, 920px));
		width: 100%;
	}
}


/* v0.2.6 stack results inside the right-side article poll card */
@media (min-width: 900px) {
	.single-tad_editorial .entry-content > .tad-article-poll .tad-article-poll-results-layout {
		display: flex;
		flex-direction: column;
		gap: 1rem;
	}

	.single-tad_editorial .entry-content > .tad-article-poll .tad-article-poll-results-list {
		order: 1;
		width: 100%;
	}

	.single-tad_editorial .entry-content > .tad-article-poll .tad-article-poll-pie {
		align-self: center;
		order: 2;
		width: 140px;
	}

	.single-tad_editorial .entry-content > .tad-article-poll .tad-article-poll-result-row {
		display: grid;
		gap: 0.35rem;
		grid-template-columns: minmax(0, 1fr) auto;
		margin-bottom: 0.75rem;
	}

	.single-tad_editorial .entry-content > .tad-article-poll .tad-article-poll-result-label {
		grid-column: 1 / -1;
	}

	.single-tad_editorial .entry-content > .tad-article-poll .tad-article-poll-result-bar {
		grid-column: 1;
		min-width: 0;
	}

	.single-tad_editorial .entry-content > .tad-article-poll .tad-article-poll-result-value {
		grid-column: 2;
		text-align: right;
	}
}


/* v0.2.7 structural article/poll layout; no floats */
.single-tad_editorial .entry-content > .tad-article-poll-layout {
	box-sizing: border-box;
	display: grid;
	gap: 2.25rem;
	grid-template-areas: "body poll";
	grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
	margin-left: auto;
	margin-right: auto;
	max-width: min(100%, var(--wp--style--global--wide-size, 1200px));
	width: 100%;
}

.single-tad_editorial .entry-content > .tad-article-poll-layout > .tad-article-body {
	grid-area: body;
	min-width: 0;
}

.single-tad_editorial .entry-content > .tad-article-poll-layout > .tad-article-poll-slot {
	grid-area: poll;
	min-width: 0;
}

.single-tad_editorial .entry-content > .tad-article-poll-layout .tad-article-poll {
	box-sizing: border-box;
	clear: none;
	float: none;
	margin: 0;
	max-width: none;
	width: 100%;
}

/* Keep v0.2.6's readable stacked result layout inside the poll card. */
.single-tad_editorial .entry-content > .tad-article-poll-layout .tad-article-poll-results-layout {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.single-tad_editorial .entry-content > .tad-article-poll-layout .tad-article-poll-results-list {
	order: 1;
	width: 100%;
}

.single-tad_editorial .entry-content > .tad-article-poll-layout .tad-article-poll-pie {
	align-self: center;
	order: 2;
	width: 140px;
}

.single-tad_editorial .entry-content > .tad-article-poll-layout .tad-article-poll-result-row {
	display: grid;
	gap: 0.35rem;
	grid-template-columns: minmax(0, 1fr) auto;
	margin-bottom: 0.75rem;
}

.single-tad_editorial .entry-content > .tad-article-poll-layout .tad-article-poll-result-label {
	grid-column: 1 / -1;
}

.single-tad_editorial .entry-content > .tad-article-poll-layout .tad-article-poll-result-bar {
	grid-column: 1;
	min-width: 0;
}

.single-tad_editorial .entry-content > .tad-article-poll-layout .tad-article-poll-result-value {
	grid-column: 2;
	text-align: right;
}

@media (max-width: 899px) {
	.single-tad_editorial .entry-content > .tad-article-poll-layout {
		display: grid;
		gap: 2rem;
		grid-template-areas:
			"poll"
			"body";
		grid-template-columns: minmax(0, 1fr);
		max-width: min(100%, var(--wp--style--global--content-size, 920px));
	}

	.single-tad_editorial .entry-content > .tad-article-poll-layout .tad-article-poll {
		margin: 0;
	}
}


/* v0.2.8 align first article block with the poll card top */
.single-tad_editorial .entry-content > .tad-article-poll-layout {
	align-items: start;
}

.single-tad_editorial .entry-content > .tad-article-poll-layout > .tad-article-body > :first-child {
	margin-top: 0;
}


/* v0.2.13 constrain single Article featured images to the Article layout */
.single-tad_editorial .wp-block-post-featured-image,
.single-tad_editorial .wp-block-post-featured-image.alignwide,
.single-tad_editorial .wp-block-post-featured-image.alignfull {
	box-sizing: border-box;
	clear: both;
	left: auto !important;
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: min(100%, var(--wp--style--global--wide-size, 1200px)) !important;
	position: relative;
	right: auto !important;
	transform: none !important;
	width: 100% !important;
}

.single-tad_editorial .wp-block-post-featured-image img {
	box-sizing: border-box;
	display: block;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
	object-fit: cover;
	width: 100%;
}


/* v0.2.14 undo full-bleed featured image frames on single Articles */
body.single-tad_editorial,
body.single-tad-editorial {
	--tad-article-featured-gutter: clamp(1.25rem, 4.85vw, 5.75rem);
}

body.single-tad_editorial .wp-block-post-featured-image,
body.single-tad_editorial .wp-block-post-featured-image.alignwide,
body.single-tad_editorial .wp-block-post-featured-image.alignfull,
body.single-tad_editorial figure.wp-block-post-featured-image,
body.single-tad-editorial .wp-block-post-featured-image,
body.single-tad-editorial .wp-block-post-featured-image.alignwide,
body.single-tad-editorial .wp-block-post-featured-image.alignfull,
body.single-tad-editorial figure.wp-block-post-featured-image {
	box-sizing: border-box;
	clear: both;
	left: auto !important;
	margin-left: var(--tad-article-featured-gutter) !important;
	margin-right: var(--tad-article-featured-gutter) !important;
	max-width: none !important;
	position: relative;
	right: auto !important;
	transform: none !important;
	width: auto !important;
}

body.single-tad_editorial .wp-block-post-featured-image img,
body.single-tad_editorial figure.wp-block-post-featured-image img,
body.single-tad-editorial .wp-block-post-featured-image img,
body.single-tad-editorial figure.wp-block-post-featured-image img {
	box-sizing: border-box;
	display: block;
	height: auto;
	max-width: 100%;
	object-fit: cover;
	width: 100%;
}

@media (max-width: 899px) {
	body.single-tad_editorial,
	body.single-tad-editorial {
		--tad-article-featured-gutter: 1rem;
	}
}


/* v0.2.15 constrain the outer featured-image block group, not only the figure */
body.single-tad_editorial,
body.single-tad-editorial {
	--tad-article-frame-gutter: clamp(1.25rem, 4.85vw, 5.75rem);
}

/*
 * The theme places the Article featured image outside .entry-content in an
 * alignwide wp-block-group. That parent frame creates the full-bleed rounded
 * background, so it must be constrained too.
 */
body.single-tad_editorial .wp-block-group.alignwide.tad-article-featured-frame,
body.single-tad-editorial .wp-block-group.alignwide.tad-article-featured-frame,
body.single-tad_editorial .wp-block-group.alignwide:has(> .wp-block-post-featured-image),
body.single-tad-editorial .wp-block-group.alignwide:has(> .wp-block-post-featured-image) {
	box-sizing: border-box;
	left: auto !important;
	margin-left: var(--tad-article-frame-gutter) !important;
	margin-right: var(--tad-article-frame-gutter) !important;
	max-width: none !important;
	position: relative;
	right: auto !important;
	transform: none !important;
	width: auto !important;
}

/* Once the parent frame is constrained, the figure should fill that frame only. */
body.single-tad_editorial .tad-article-featured-frame > .wp-block-post-featured-image,
body.single-tad-editorial .tad-article-featured-frame > .wp-block-post-featured-image,
body.single-tad_editorial .wp-block-group.alignwide:has(> .wp-block-post-featured-image) > .wp-block-post-featured-image,
body.single-tad-editorial .wp-block-group.alignwide:has(> .wp-block-post-featured-image) > .wp-block-post-featured-image {
	box-sizing: border-box;
	left: auto !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: 100% !important;
	position: relative;
	right: auto !important;
	transform: none !important;
	width: 100% !important;
}

body.single-tad_editorial .tad-article-featured-frame > .wp-block-post-featured-image img,
body.single-tad-editorial .tad-article-featured-frame > .wp-block-post-featured-image img,
body.single-tad_editorial .wp-block-group.alignwide:has(> .wp-block-post-featured-image) > .wp-block-post-featured-image img,
body.single-tad-editorial .wp-block-group.alignwide:has(> .wp-block-post-featured-image) > .wp-block-post-featured-image img {
	display: block;
	height: 100%;
	max-width: 100%;
	object-fit: cover;
	width: 100%;
}

@media (max-width: 899px) {
	body.single-tad_editorial,
	body.single-tad-editorial {
		--tad-article-frame-gutter: 1rem;
	}
}


/* v0.2.16 original source link in single Article metadata */
.single-tad_editorial .tad-editorial-original-source,
.single-tad-editorial .tad-editorial-original-source {
	margin: 0.2rem 0 0;
}

.single-tad_editorial .tad-editorial-original-source a,
.single-tad-editorial .tad-editorial-original-source a {
	font-weight: 700;
	text-decoration: none;
}


/* v0.2.17 separate original source link from author name */
.single-tad_editorial .wp-block-post-author .tad-editorial-original-source,
.single-tad-editorial .wp-block-post-author .tad-editorial-original-source,
.single-tad_editorial .tad-editorial-original-source,
.single-tad-editorial .tad-editorial-original-source {
	display: block;
	margin-top: 1.35rem;
	margin-bottom: 0;
}

.single-tad_editorial .wp-block-post-author .tad-editorial-original-source a,
.single-tad-editorial .wp-block-post-author .tad-editorial-original-source a,
.single-tad_editorial .tad-editorial-original-source a,
.single-tad-editorial .tad-editorial-original-source a {
	display: inline-block;
}
