/* Issue-assigned TagDiv articles: keep the HN Summary/content on the page surface. */
body.hn-issue-article .tdb_single_content {
	background-color: transparent;
}

/* Keep the article and its native-size sidebar creative readable on tablets. */
@media (max-width: 1140px) {
	body.hn-issue-article .hn-article-content-row {
		flex-wrap: wrap !important;
	}
	body.hn-issue-article .hn-article-content-row > .tdc-column {
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
	}

	body.hn-issue-article .hn-article-content-row > .td-is-sticky > .wpb_wrapper {
		position: static !important;
		width: auto !important;
		transform: none !important;
	}
}

/* The original clickable wrapper stays intact; only its placement scales. */
body.hn-issue-article .hn-responsive-ad-placement {
	width: 100%;
	max-width: 300px;
	overflow: hidden;
	margin-left: auto;
	margin-right: auto;
}

body.hn-issue-article .hn-responsive-ad-placement [role="link"]:focus,
body.hn-issue-article .hn-responsive-ad-placement [role="link"]:focus-visible {
	outline: 3px solid #111111;
	outline-offset: -3px;
}

/* Article return links remain usable with touch, keyboard and enlarged text. */
body.hn-issue-article .hn-article-return a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	max-width: 100%;
	box-sizing: border-box;
	padding: 10px 14px;
	border: 1px solid #0056b3;
	color: #0056b3;
	background: #eef6fc;
	font-size: 1rem;
	line-height: 1.5;
	overflow-wrap: anywhere;
	text-decoration: underline;
	text-underline-offset: 3px;
}
body.hn-issue-article .hn-article-return a:focus,
body.hn-issue-article .hn-article-return a:focus-visible {
	outline: 3px solid #111111;
	outline-offset: 3px;
}

/* Keep tablet related headlines readable without changing article order or links. */
@media (min-width: 768px) and (max-width: 1140px) {
	body.hn-issue-article .hn-article-logo-row {
		padding-top: 12px !important;
		padding-bottom: 12px !important;
	}
	body.hn-issue-article .hn-article-related .td_block_inner {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 20px;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	body.hn-issue-article .hn-article-related .td_block_inner::before,
	body.hn-issue-article .hn-article-related .td_block_inner::after {
		display: none;
	}
	body.hn-issue-article .hn-article-related .td_module_wrap {
		width: 100% !important;
		float: none !important;
		clear: none !important;
		padding: 0 !important;
		margin: 0 !important;
		min-width: 0;
	}
	body.hn-issue-article .hn-article-related .entry-title,
	body.hn-issue-article .hn-article-related .entry-title a {
		font-size: 1rem !important;
		line-height: 1.35 !important;
		overflow-wrap: anywhere;
	}
	body.hn-issue-article .hn-article-related .td-post-category {
		font-size: .75rem !important;
	}
}
