/*
Theme Name: TS Divi Child
Template: Divi
Description: Shared Divi child theme for techsico-prod-01 sites. Holds the WCAG fixes (focus visible, mobile menu button, footer heading order, comment labels, in-text links).
Version: 1.2.0
Text Domain: ts-divi-child
*/

/* WCAG 2.4.7: visible keyboard focus */
a:focus-visible,
.et_pb_button:focus-visible,
.mobile_menu_bar:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* WCAG 2.1.1: the mobile menu toggle is a real button; keep Divi's look */
button.mobile_menu_bar {
	-webkit-appearance: none;
	appearance: none;
	background: none;
	border: 0;
	margin: 0;
	padding: 0;
	font: inherit;
	line-height: 0; /* Divi sets this on the span; font:inherit would reset it */
	color: inherit;
	cursor: pointer;
}

/* Footer widget titles are H2 now; keep the size Divi gave the H4 */
.footer-widget h2.title {
	font-size: 18px;
}
/* WCAG 1.4.1: links inside text are underlined, not told apart by color alone. Nav, buttons and footer menus are outside these containers. */
.entry-content a:not(.et_pb_button),
.et_pb_text a:not(.et_pb_button),
.et_pb_post_content a:not(.et_pb_button) {
	text-decoration: underline;
}
/* WCAG 3.3.2 / 1.4.3 / 1.4.11: comment fields keep a visible label (functions.php wraps them) and readable text */
.ts-comment-field {
	display: block;
}
#commentform .ts-comment-field input[type],
#commentform .ts-comment-field textarea,
.et-db #et-boc .et-l #commentform .ts-comment-field input[type],
.et-db #et-boc .et-l #commentform .ts-comment-field textarea {
	color: #333;
	border: 1px solid #767676;
}
/* Archive and posts-page H1 (index.php) */
.ti-archive-title {
	margin-bottom: 30px;
}
