:root {
  --ast-global-color-0: #155f3d;
  --ast-global-color-1: #0f5137;
  --df-accessible-green: #155f3d;
}

.dfcr-page a:not(.dfcr-btn):not(.dfcr-card),
.site-content .entry-content a:not(.button):not(.wp-element-button):not(.dfcr-btn):not(.dfcr-card),
.site-content .woocommerce a:not(.button):not(.wp-element-button):not(.dfcr-btn):not(.dfcr-card),
.site-content .woocommerce-Price-amount,
.site-content .price {
  color: var(--df-accessible-green) !important;
}

.ast-site-header-cart .woocommerce-Price-amount,
.ast-site-header-cart .ast-woo-header-cart-total {
  color: var(--df-accessible-green) !important;
}

.dfcr-page .dfcr-note a,
.site-content .entry-content p a:not(.button):not(.wp-element-button):not(.dfcr-btn):not(.dfcr-card),
.site-content .entry-content li a:not(.button):not(.wp-element-button):not(.dfcr-btn):not(.dfcr-card) {
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .16em;
}

.dfcr-page .dfcr-btn--primary,
.dfcr-page a.dfcr-btn--primary,
.dfcr-page button.dfcr-btn--primary {
  background: #1f7a4d !important;
  border-color: #1f7a4d !important;
  color: #fff !important;
}

.dfcr-page .dfcr-btn:not(.dfcr-btn--primary):not(.dfcr-btn--secondary):not(.dfcr-btn--ghost),
.dfcr-page .df-platform-actions > button:not(.dfcr-btn--secondary):not(.dfcr-btn--ghost),
.dfcr-page .dfcr-form-actions > button:not(.dfcr-btn--secondary):not(.dfcr-btn--ghost),
.dfcr-page button[data-df-submit-disc],
.dfcr-page button[data-df-import-action] {
  background: var(--df-accessible-green) !important;
  border-color: var(--df-accessible-green) !important;
  color: #fff !important;
}

.dfcr-page .dfcr-btn--ghost {
  background: #fff !important;
  border-color: var(--df-accessible-green) !important;
  color: var(--df-accessible-green) !important;
}

.dfcr-page .dfcr-hero .dfcr-btn--ghost,
.dfcr-page .dfcr-section--dark .dfcr-btn--ghost {
  background: rgba(255, 255, 255, .14) !important;
  border-color: rgba(255, 255, 255, .72) !important;
  color: #fff !important;
}

.dfcr-page .dfcr-section--light .dfcr-kicker {
  color: var(--df-accessible-green) !important;
}

.dfcr-page .dfcr-hero__panel > strong,
.dfcr-page .dfcr-challenge-hero .dfcr-kicker {
  color: var(--df-accessible-green) !important;
}

.dfcr-page .dfcr-challenge-hero figcaption {
  color: #344054 !important;
}

html body .site-content .dfcr-page.dfcr-challenge-page .dfcr-hero.dfcr-challenge-hero .dfcr-challenge-hero__copy > .dfcr-kicker {
  color: var(--df-accessible-green) !important;
}

html body .site-content .dfcr-page.dfcr-challenge-page .dfcr-hero.dfcr-challenge-hero figcaption {
  color: #344054 !important;
}

.dfcr-challenge-page .dfcr-card {
  background: #fff !important;
  border-color: rgba(10, 15, 31, .14) !important;
}

.dfcr-challenge-page .dfcr-card > strong {
  color: #0a0f1f !important;
}

.dfcr-challenge-page .dfcr-card > .dfcr-card-copy,
.dfcr-challenge-page .dfcr-card > p {
  color: #344054 !important;
}

.dfcr-challenge-page .dfcr-card > span:not(.dfcr-card-copy) {
  color: var(--df-accessible-green) !important;
}

.dfcr-poster-grid > a {
  display: block;
  min-height: 44px;
  overflow: hidden;
}

.dfcr-poster-grid > a:nth-child(1) {
  aspect-ratio: 4 / 5;
}

.dfcr-poster-grid > a:nth-child(2) {
  aspect-ratio: 1 / 1;
}

.dfcr-poster-grid > a:nth-child(3) {
  aspect-ratio: 9 / 16;
}

.dfcr-poster-grid > a > img {
  height: 100% !important;
  object-fit: contain;
  width: 100% !important;
}

.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb a {
  color: #6b7280 !important;
}

.woocommerce .show-password-input,
.woocommerce button.show-password-input {
  align-items: center;
  display: inline-flex !important;
  height: 44px !important;
  justify-content: center;
  min-height: 44px !important;
  min-width: 44px !important;
  width: 44px !important;
}

.woocommerce-cart-form a.remove {
  align-items: center;
  display: inline-flex !important;
  height: 32px !important;
  justify-content: center;
  line-height: 1 !important;
  min-width: 32px;
  width: 32px !important;
}

.woocommerce .shipping-calculator-button,
.woocommerce .showcoupon,
.woocommerce #payment button[type="button"],
.woocommerce-checkout label,
.df-course-finder__filters label {
  min-height: 24px;
}

.woocommerce-checkout label:has(input[type="checkbox"]),
.woocommerce-checkout label:has(input[type="radio"]) {
  align-items: center;
  display: inline-flex;
  min-height: 24px;
}

.woocommerce .shipping-calculator-button,
.woocommerce .showcoupon {
  display: inline-flex;
  align-items: center;
  padding-block: 2px;
}

.woocommerce-checkout .df-a11y-promoted-heading {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.25;
  margin-block: 1.2em .7em;
}

.site-footer .menu-link {
  align-items: center;
  display: inline-flex !important;
  min-height: 24px;
  padding-block: 2px;
}

.ast-header-navigation-arrow[role="button"] {
  align-items: center;
  display: inline-flex;
  height: 24px;
  justify-content: center;
  min-height: 24px;
  min-width: 24px;
  width: 24px;
}

@media (max-width: 921px) {
  .main-header-menu .menu-link,
  .ast-mobile-popup-content .menu-link {
    align-items: center;
    display: flex !important;
    min-height: 44px;
    padding-block: 10px !important;
  }

  .main-header-menu .current-menu-item > .menu-link,
  .main-header-menu .current-menu-ancestor > .menu-link,
  .ast-mobile-popup-content .current-menu-item > .menu-link,
  .ast-mobile-popup-content .current-menu-ancestor > .menu-link {
    color: var(--df-accessible-green) !important;
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-content .main-header-menu .sub-menu {
    background: #f9fffb !important;
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-content .main-header-menu .sub-menu .menu-link {
    background: transparent !important;
    color: #0a0f1f !important;
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-content .main-header-menu .sub-menu .menu-link:hover,
  .ast-mobile-popup-drawer .ast-mobile-popup-content .main-header-menu .sub-menu .menu-link:focus-visible,
  .ast-mobile-popup-drawer .ast-mobile-popup-content .main-header-menu .sub-menu .current-menu-item > .menu-link {
    background: #edf6ef !important;
    color: var(--df-accessible-green) !important;
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-content .main-header-menu > .menu-item > .menu-link {
    color: #f9fffb !important;
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-content .main-header-menu > .current-menu-item > .menu-link,
  .ast-mobile-popup-drawer .ast-mobile-popup-content .main-header-menu > .current-menu-ancestor > .menu-link,
  .ast-mobile-popup-drawer .ast-mobile-popup-content .main-header-menu > .menu-item:has(> .ast-menu-toggle[aria-expanded="true"]) > .menu-link {
    color: #b8ff18 !important;
  }
}

.cmplz-cookiebanner .cmplz-btn {
  min-height: 44px !important;
}

.cmplz-cookiebanner .cmplz-accept,
.cmplz-cookiebanner .cmplz-save-preferences {
  background: var(--df-accessible-green) !important;
  border-color: var(--df-accessible-green) !important;
  color: #fff !important;
}

.cmplz-cookiebanner .cmplz-deny,
.cmplz-cookiebanner .cmplz-view-preferences {
  background: #fff !important;
  border-color: var(--df-accessible-green) !important;
  color: var(--df-accessible-green) !important;
}

/* Keep the anti-spam honeypot available to form processing without exposing
 * an unlabeled text field in the popup's visual or accessibility flow. */
.df-email-popup__hp {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  display: none !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #0b5fcc !important;
  outline-offset: 3px !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
