/*
 * Mobile footer links previously measured only 16-18 px in height. A 44 px
 * target follows WCAG target-size guidance while keeping the visual label in
 * the same position.
 */
.menu-footer-container a {
	min-height: 44px;
	min-width: 44px;
	display: inline-flex;
	align-items: center;
}

/* Keep keyboard focus visible on the controls touched by this plugin. */
.tdm_block_popup a.tds-button7:focus-visible,
.menu-footer-container a:focus-visible,
.qc-cmp-cleanslate button:focus-visible,
.qc-cmp-cleanslate a:focus-visible {
	outline: 3px solid #0b57d0 !important;
	outline-offset: 3px;
}

/*
 * Quantcast's US privacy panel renders the status text in a low-contrast
 * grey. The override is deliberately scoped to that panel.
 */
#qc-cmp2-usp .qc-cmp2-list-item,
#qc-cmp2-usp .qc-cmp2-list-item .css-jg567y,
#qc-cmp2-usp .qc-cmp2-list-item-header,
#qc-cmp2-usp .qc-usp-action-description {
	color: #1f2937 !important;
}

/*
 * Alias the theme's existing regular Open Sans file. Keeping this alias to a
 * single face lets the browser synthesize bold text from the same downloaded
 * file instead of requesting an additional Open Sans weight.
 */
@font-face {
	font-family: "Open Sans Regular";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/wp-content/themes/Newspaper-child/fonts/open-sans-v34-latin-regular.woff2") format("woff2");
}

/*
 * Reuse Open Sans for article copy and post excerpts. These stable selectors
 * outrank Newspaper's per-template tdi_* rules without overriding explicit
 * heading or icon font rules.
 */
body .tdb_single_content.td-post-content,
body .tdb_single_content.td-post-content > p,
body .tdb_single_content.td-post-content .tdb-block-inner > p,
body .tdb_single_content.td-post-content li {
	font-family: "Open Sans Regular", "Open Sans", sans-serif !important;
}

body .td_module_wrap .td-excerpt,
body .td-excerpt {
	font-family: "Open Sans Regular", "Open Sans", sans-serif !important;
}

/*
 * Inline article links must not rely on colour alone. A darker brand-adjacent
 * purple reaches a 7.34:1 contrast ratio against white, while a persistent
 * underline supplies the additional non-colour cue required by WCAG. This is
 * scoped to article copy and does not change buttons, navigation or CMP styles.
 */
body.single-post .tdb_single_content.td-post-content p a[href],
body.single-post .td-post-content p a[href] {
	color: #a0008a !important;
	text-decoration-line: underline !important;
	text-decoration-thickness: 0.08em !important;
	text-underline-offset: 0.14em;
	text-decoration-skip-ink: auto;
}

