/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Version: 5.8.1.1784261752
Updated: 2026-07-17 00:15:52

*/

/* ==========================================================================
   Accessibility fixes — WCAG 2.1 AA pass, 2026-08-17.

   In-text links must be distinguishable from surrounding copy by more than
   color alone (WCAG 1.4.1 / axe "link-in-text-block"). Divi's global styles
   strip underlines everywhere, so restore them for links that sit inside
   running text: Divi text modules, post-content modules (the plugin's
   cart/checkout/account/roster output renders there), and the plugin's
   faculty-role listings. Buttons and pills are excluded — they are
   distinguishable by shape.
   ========================================================================== */

.et_pb_text_inner p a:not(.et_pb_button),
.et_pb_text_inner li a:not(.et_pb_button),
.et_pb_post_content p a:not(.et_pb_button):not(.cllcw-button):not(.cllcw-button--primary),
.et_pb_post_content li a:not(.et_pb_button):not(.cllcw-button):not(.cllcw-button--primary),
.et_pb_blurb_description a:not(.et_pb_button),
.entry p a:not(.et_pb_button),
.entry li a:not(.et_pb_button),
.cllcw-el--faculty-roles .cllcw-faculty-roles__role a {
	text-decoration: underline;
}

/* Keyboard focus must be visible (WCAG 2.4.7). Divi resets outlines to
   none sitewide, leaving keyboard users with no focus indicator at all.
   :focus-visible keeps mouse clicks outline-free; !important is needed to
   beat Divi's resets. Dark green ring on light backgrounds, the light
   Active Link Color inside the dark green header/footer. */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid #0d3f12 !important;
	outline-offset: 2px !important;
	/* Divi menu links carry `transition: all .4s`, which would fade the
	   ring in from 0px — the indicator must appear the moment focus
	   lands. */
	transition: none !important;
}

.et-l--header a:focus-visible,
.et-l--header button:focus-visible,
.et-l--footer a:focus-visible,
.et-l--footer button:focus-visible {
	outline-color: #ff8f3f !important;
}

/* Blog-module excerpts: the parent theme colors them #666666 directly
   (beating the site's #616161 body color), which is 4.47:1 on the sage
   background — just under AA. Match the body color. */

.et_pb_bg_layout_light .et_pb_post p,
.et_pb_bg_layout_light .et_pb_post .post-meta,
.et_pb_bg_layout_light .et_pb_post .post-meta a {
	color: #616161;
}

/* Keyboard-operable dropdown menus (WCAG 2.1.1). Divi opens submenus on
   hover only and parks them at visibility:hidden — which also makes their
   links unfocusable, so a keyboard user tabs straight past the whole
   dropdown with no way to open it. Mirror the hover reveal for keyboard
   focus: focusing the parent link opens the submenu, the next Tab moves
   into the (now visible) submenu links, and it closes when focus leaves
   the item. */

.et-menu li:focus-within > ul.sub-menu {
	visibility: visible !important;
	opacity: 1 !important;
}

/* Skip link (printed on wp_body_open in functions.php): hidden until it
   receives keyboard focus, then pinned top-left above the fixed header. */

.cll-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100001;
	padding: 0.75em 1.25em;
	background: #0d3f12;
	color: #ffffff;
	font-size: 1rem;
	text-decoration: underline;
}

.cll-skip-link:focus,
.cll-skip-link:focus-visible {
	left: 0.5rem;
	top: 0.5rem;
	outline: 3px solid #ff8f3f !important;
	outline-offset: 2px !important;
}

