/* Contrast corrections are limited to the observed Anvika interface surfaces. */
body {
  --edublink-color-primary: #087865;
  --tutor-color-primary: #087865;
  --tutor-color-primary-hover: #065c4e;
}
.main-header-btn,
.edublink-button-item.edublink-button-style-default,
.tutor-btn-primary,
.wpcf7-submit,
.anvika-courses-archive-faq [aria-expanded="true"] {
  background-color: #087865 !important;
  color: #fff !important;
}
.main-header-btn:hover,
.edublink-button-item.edublink-button-style-default:hover,
.tutor-btn-primary:hover,
.wpcf7-submit:hover {
  background-color: #065c4e !important;
}
.current-menu-item > .nav-link,
.tutor-btn-ghost,
.tutor-toggle-btn-text,
.tutor-accordion-item-header.is-active,
.tutor-nav-link.is-active,
.save-bookmark-btn.edu-btn-border-primary,
.elementor-element-dc89e95 h2,
.copyright-area a,
footer a[href="#"] {
  color: #087865 !important;
}
.anvika-courses-archive-seo p,
.anvika-courses-archive-seo li,
.anvika-courses-archive-seo th,
.anvika-courses-archive-seo td,
.anvika-courses-archive-faq p,
.eb-testimonial-grid .subtitle,
.elementor-element-3e24b46 p,
.anvika-course-purchase p,
.eb-tl-course-main-content > p,
.tutor-nav-link:not(.is-active),
.tutor-color-muted {
  color: #595959 !important;
}
.tutor-form-control { color: #595959 !important; }
.tutor-form-control::placeholder { color: #595959 !important; opacity: 1; }
.single-courses .price { color: #b32640 !important; }
.akh-policy a,
.anvika-courses-archive-seo p a,
.eb-tl-course-main-content > p a { text-decoration: underline; text-underline-offset: 0.15em; }
body :is(a,button,input,select,textarea,[tabindex]):focus-visible {
  outline: 3px solid #155b86 !important;
  outline-offset: 3px;
}
/* Preserve theme animation; inaccessible closed overlays must not accept focus. */
.edu-search-popup:not(.open),
.edublink-login-form-popup:not(.login-popup-visible) { visibility: hidden; }
.edu-search-popup.open,
.edublink-login-form-popup.login-popup-visible { visibility: visible; }
/* Learner-only surfaces, including the read-only completion indicators. */
.single-lesson .tutor-course-topic-summary,
#tutor-dashboard-footer-mobile .tutor-col-4 > span { color: #595959 !important; }
.single-lesson .tutor-btn-secondary:not([disabled]) { color: #065c4e !important; }

/* Tutor 4 can use a dark learning surface; keep EduBlink's dark header text on white. */
html[data-tutor-theme] body:is(.single-lesson,.single-tutor_quiz,.single-courses) #masthead,
html[data-tutor-theme] body:is(.single-lesson,.single-tutor_quiz,.single-courses) #masthead .edublink-header-area {
  background-color: #fff;
}

/* The measured course bar is layer 21. Raise only active header navigation above it. */
html[data-tutor-theme] body:is(.single-lesson,.single-tutor_quiz,.single-courses) #masthead:hover,
html[data-tutor-theme] body:is(.single-lesson,.single-tutor_quiz,.single-courses) #masthead:focus-within {
  z-index: 22;
}
