/*
============================================================
LEGALFREI LIGHT/DARK CONTRAST FIX
============================================================
Loaded last.
Does NOT redesign the site.
Does NOT change reviews/database/footer structure.
============================================================
*/

/* ==========================================================
   LIGHT THEME
   Strong black/dark text on white/light backgrounds
   ========================================================== */

html.lf-light-contrast body,
html.lf-light-contrast main,
html.lf-light-contrast section,
html.lf-light-contrast article {
    color:#111827 !important;
}

html.lf-light-contrast h1,
html.lf-light-contrast h2,
html.lf-light-contrast h3,
html.lf-light-contrast h4,
html.lf-light-contrast h5,
html.lf-light-contrast h6 {
    color:#07111f !important;
    font-weight:800 !important;
}

html.lf-light-contrast p,
html.lf-light-contrast li,
html.lf-light-contrast td,
html.lf-light-contrast th,
html.lf-light-contrast label,
html.lf-light-contrast small {
    color:#172033 !important;
}

html.lf-light-contrast a {
    color:#075985 !important;
    font-weight:700 !important;
}

html.lf-light-contrast input,
html.lf-light-contrast select,
html.lf-light-contrast textarea {
    color:#111827 !important;
    background:#ffffff !important;
    border-color:#9aaebe !important;
}

html.lf-light-contrast input::placeholder,
html.lf-light-contrast textarea::placeholder {
    color:#526477 !important;
    opacity:1 !important;
}

/* ==========================================================
   CUSTOMER REVIEWS
   Specifically fixes the pale review text seen in screenshot
   ========================================================== */

html.lf-light-contrast #customer-reviews {
    color:#172033 !important;
}

html.lf-light-contrast #customer-reviews h1,
html.lf-light-contrast #customer-reviews h2,
html.lf-light-contrast #customer-reviews h3 {
    color:#07111f !important;
    font-weight:800 !important;
}

html.lf-light-contrast #customer-reviews p,
html.lf-light-contrast #customer-reviews li,
html.lf-light-contrast #customer-reviews span {
    color:#172033 !important;
}

html.lf-light-contrast #customer-reviews strong,
html.lf-light-contrast #customer-reviews b {
    color:#07111f !important;
    font-weight:800 !important;
}

html.lf-light-contrast #customer-reviews time {
    color:#40566c !important;
}

html.lf-light-contrast #customer-reviews [class*="review-card"] {
    background:#ffffff !important;
    border-color:#c5d4e1 !important;
}

/* ==========================================================
   DARK THEME
   Keep existing dark design.
   Only restore visibility of moving country/world elements.
   ========================================================== */

html.lf-dark-contrast [class*="country"],
html.lf-dark-contrast [class*="marquee"],
html.lf-dark-contrast [class*="ticker"],
html.lf-dark-contrast [class*="world"],
html.lf-dark-contrast [class*="globe"] {
    color:#d9f9ff !important;
    opacity:1 !important;
    visibility:visible !important;
}

html.lf-dark-contrast [class*="country"] *,
html.lf-dark-contrast [class*="marquee"] *,
html.lf-dark-contrast [class*="ticker"] *,
html.lf-dark-contrast [class*="world"] *,
html.lf-dark-contrast [class*="globe"] * {
    color:inherit !important;
    opacity:1 !important;
    visibility:visible !important;
}

/* Moving/orbital decorative lines */
html.lf-dark-contrast [class*="orbit"],
html.lf-dark-contrast [class*="line"] {
    opacity:1 !important;
    visibility:visible !important;
}
