/* Links inside running text must not rely on colour alone (WCAG 1.4.1). */
#main-content .et_pb_text_inner a:not(.et_pb_button),
#main-content .et_pb_toggle_content a,
#main-content .et_pb_blurb_description a,
#main-content .entry-content p a,
#main-content .entry-content li a,
#main-content figcaption a {
	text-decoration: underline;
}

/* Wrap code samples instead of scrolling, so keyboard users never meet an unreachable scroll area. */
#main-content pre {
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

/* Card titles now take their heading level from the page outline; their size stays fixed. */
#main-content .et_pb_blurb .et_pb_module_header {
	font-size: 18px;
}

/* Footer column titles are h2 (top level within the footer) but keep their original look. */
.et-l--footer .et_pb_text_inner h2 {
	font-size: 20px !important;
	line-height: 1em !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	color: #ffffff !important;
}

/* Accordion titles follow the page outline (h3) at their original size. */
#main-content .et_pb_toggle .et_pb_toggle_title {
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 16px;
	line-height: 1em;
	font-weight: 500;
}

/* The menu search field opens over the teal header bar, so its text must be white. */
.et_pb_menu__search-input,
.et_pb_menu__search-input::placeholder {
	color: #ffffff;
	opacity: 1;
}

/* MediaElement's screen-reader-only hints inherit the player colour; give them a readable pair. */
.mejs-offscreen {
	color: #000000 !important;
	background: #ffffff !important;
}

/* Divi hides the search label with display:none, which removes it from the accessibility tree.
   .screen-reader-text already clips it to 1px, so it stays invisible but is read out. */
.et_pb_search .screen-reader-text {
	display: block !important;
}

/* SSML code sample on the text-to-speech page. */
#ssml pre {
	background: #f3f1f9;
	border-radius: 8px;
	padding: 16px 20px;
	line-height: 1.6;
	margin-bottom: 24px;
}

/* Store buttons for platforms not yet released (Techiaith TTS): visible but inert.
   a11y.js also strips their href and sets aria-disabled. */
a.et_pb_button.btn-anactif {
	opacity: 0.5;
	pointer-events: none;
	cursor: default;
}
