/*
 * NT110 (D-94, amends D-43). Install path: public/wp-content/themes/drgreenrelief/nt110/dgr-nt110.css
 * Brand fills are kept exactly (#98ca3e, #8bc34a, #3dd1fd and the #00a8bf hover). Only the text on them changes,
 * from #fff to #1b1b1b (the text colour the reviewer box already uses), and the menu hover text moves from
 * #8bc34a to #527728, the lightest shade of the same hue that reaches 4.5:1 on the #f1f1f1 dropdown.
 * Ratios (WCAG 2.x, measured colours from the live CSS, render of 2026-10-17):
 *   #fff on #98ca3e 1.93 -> #1b1b1b on #98ca3e 8.90
 *   #fff on #8bc34a 2.10 -> #1b1b1b on #8bc34a 8.20
 *   #fff on #3dd1fd 1.79 -> #1b1b1b on #3dd1fd 9.63
 *   #fff on #00a8bf 2.86 -> #1b1b1b on #00a8bf 6.03 (hover)
 *   #8bc34a on #fff 2.10 -> #527728 on #fff 5.21, on #f1f1f1 4.62 (menu hover)
 */

/* Item 1. Skip link: off screen until focused, then a visible high-contrast chip. */
.dgr-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100000;
	padding: 12px 18px;
	background: #1b1b1b;
	color: #ffffff;
	font-size: 16px;
	line-height: 1.2;
	text-decoration: underline;
}
.dgr-skip-link:focus,
.dgr-skip-link:focus-visible {
	left: 8px;
	top: 8px;
	outline: 3px solid #98ca3e;
	outline-offset: 2px;
}
#main:focus { outline: none; }
.dgr-main { display: block; }

/* Visible keyboard focus everywhere (mouse clicks do not show it). */
#top a:focus-visible,
#top button:focus-visible,
#top input:focus-visible,
#top select:focus-visible,
#top textarea:focus-visible,
#top [role="button"]:focus-visible,
#top [tabindex]:focus-visible {
	outline: 3px solid #1b1b1b !important;
	outline-offset: 2px !important;
	box-shadow: 0 0 0 5px #ffffff !important;
}
/* The skip-link target takes focus programmatically; no ring around the whole page body. */
#top #main:focus,
#top #main:focus-visible {
	outline: none !important;
	box-shadow: none !important;
}

/* Item 2a. Footer social icons and scroll-to-top: at least 44 by 44 px targets (WCAG 2.5.8 needs 24). */
#top #socket .social-contact-icons a.av-icon-char {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
}

/* Item 2b. FAQ toggle button: looks exactly like the old heading text. */
#top .togglecontainer .toggler .dgr-toggle-btn {
	all: unset;
	display: block;
	width: 100%;
	box-sizing: border-box;
	cursor: pointer;
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	text-align: inherit;
	line-height: inherit;
}

/* Item 3. Text on the brand fills (backgrounds unchanged). */
#top #wrap_all .city-banner-page a.avia-button,
#top #wrap_all .city-banner-page a.avia-slideshow-button,
#top #wrap_all .see-a-doctor a,
#top #wrap_all .read-button a.avia-button,
#top #wrap_all .redeem-button a.avia-button,
#top #wrap_all .button-schedule a,
#top #wrap_all .surterra-button a,
#top #wrap_all .evaluate-section .avia-button-wrap a,
#top #wrap_all .cost-pricing-table a.avia-button,
#top #wrap_all .card-point a.avia-button,
#top #wrap_all .location-button a.avia-button,
#top #wrap_all .loc-buttons a.avia-button,
#top .contact-form .gform_footer .button,
html #top .form input[type="submit"],
#top a.button-bottom,
#top a.button-bottom .av-icon-char,
#top #header .schedule-menu > a,
#top #header .schedule-menu > a .avia-menu-text,
#top .dgr-aa-text,
#top .dgr-aa-text * {
	color: #1b1b1b !important;
}

/* Menu hover text on white or the #f1f1f1 dropdown; the green "Schedule" items keep dark text. */
#top #header_main .main_menu li:not(.schedule-menu) > a:hover,
#top #header_main .main_menu li:not(.schedule-menu) > a:focus,
#top #header_main .main_menu li:not(.schedule-menu) > a:hover .avia-menu-text {
	color: #527728 !important;
}

/* Hustle popup state picker: header, its arrow (a graphic, 3:1 needed) and the hovered or focused state link. */
.hustle-ui .telemedicine-states .telemedicine-states-header {
	color: #1b1b1b !important;
}
.hustle-ui .telemedicine-states .telemedicine-states-header::before {
	border-top-color: #1b1b1b !important;
}
.hustle-ui .telemedicine-states-list a:hover,
.hustle-ui .telemedicine-states-list a:focus {
	color: #1b1b1b !important;
}

/* Item 6. The Customizer sets .loc-buttons .avia-button { width: 370px } after the child style.css, which beats the
 * child's own 100 % rule at phone width. Cap it to the column. */
@media only screen and (max-width: 767px) {
	#top #wrap_all .loc-buttons a.avia-button {
		width: 100% !important;
		max-width: 100%;
		box-sizing: border-box;
	}
}
/* Item 6. Caption title: 52 px from the Customizer applies only between 768 and 800 px (the child rule sets 25 px
 * with !important at 767 px and below). Step it down so two-word city names do not crowd the tablet caption. */
@media only screen and (min-width: 768px) and (max-width: 800px) {
	#top .schedule-title { font-size: 40px; }
}
