/* Orbenta Stack Academy accent layer.
 * Hand written, loaded last. Complements orbenta-theme.css, which is generated
 * by remapping the vendor hexes; this file covers what a flat hex swap cannot:
 * stylesheets outside main.css, and hover states that should lift to lime.
 */

:root {
  --orb-green:      #173328;  /* primary */
  --orb-green-dark: #0c1f18;
  --orb-green-tint: #eef2ec;
  --orb-lime:       #c7ff32;  /* accent, dark text only */
  --orb-mint:       #8ed8bc;
  --orb-gold:       #c5a04a;
  --orb-gold-deep:  #8f6f1e;  /* darkened for AA contrast on white */
  --orb-cream:      #fefcf6;
}

/* Cookie consent ships its own red in purecookie.css. That file is <link>ed
 * from inside the body by eu-cookie.php, so it loads after this one and would
 * win on order. Matching on the container's id outranks its class selector on
 * specificity instead, which avoids !important. */
#cookieConsentContainer .cookieButton a {
  background: var(--orb-green);
}
#cookieConsentContainer .cookieButton a:hover {
  background: var(--orb-lime);
  color: var(--orb-green-dark);
}
#cookieConsentContainer .link-cookie-policy {
  color: var(--orb-mint);
}

/* Primary actions lift to lime. Dark green text on lime keeps this readable;
 * lime is never used behind light text anywhere in this theme. */
.btn:hover,
.btn:focus,
.sign-in-box .btn-sign-up:hover,
.course-sidebar-text-box .buy-btns .btn-buy-now:hover,
.home-banner-wrap .btn:hover {
  background-color: var(--orb-lime);
  border-color: var(--orb-lime);
  color: var(--orb-green-dark);
}

/* Prices in brass rather than the primary green, so they read as a
 * distinct piece of information instead of another call to action. */
.current-price {
  color: var(--orb-gold-deep);
}

/* Course badges: gold for earned status, lime for freshness. */
.course-badge.best-seller {
  background-color: var(--orb-gold);
  color: var(--orb-green-dark);
}
.course-badge.hot-new {
  background-color: var(--orb-lime);
  color: var(--orb-green-dark);
}

/* Rating stars keep the warm accent rather than inheriting green. */
.rating i.fa-star,
.rating i.fa-star-half-alt,
.course-box .rating i {
  color: var(--orb-gold);
}

/* Section tint, used behind alternating home blocks. */
.home-fact-area {
  background: linear-gradient(-45deg, var(--orb-green) 0, var(--orb-green-dark) 100%);
}
