/**
 * Remaining Figma screens — scoped teal restyle (mobile-first).
 * Community, News, Rights (wiki), Currency, Hebrew, Jobs-ish listing cats.
 */

@media (max-width: 768px) {
  body.page-community,
  body.page-news,
  body.page-wiki,
  body.page-currency-rates,
  body.page-hebrow-course,
  body.page-hebrew-course,
  body.page-severance-calculator,
  body.page-legal-consultation,
  body.page-events,
  body.page-ask-experts,
  body.page-emergency,
  body.page-jobs {
    background: var(--lc-bg, #F3F8F8) !important;
  }

  body.page-community .entry-content,
  body.page-news .entry-content,
  body.page-wiki .entry-content,
  body.page-currency-rates .entry-content,
  body.page-hebrow-course .entry-content,
  body.page-community .site-main,
  body.page-news .site-main {
    color: var(--lc-text, #0A4852);
  }

  body.page-community .entry-title,
  body.page-news .entry-title,
  body.page-wiki .entry-title,
  body.page-currency-rates .entry-title,
  body.page-hebrow-course .entry-title,
  body.page-severance-calculator .entry-title {
    color: var(--lc-teal, #0A4650) !important;
    font-weight: 700;
  }

  body.page-community a.button,
  body.page-community .button,
  body.page-news .button,
  body.page-wiki .button,
  body.page-currency-rates .button,
  body.page-hebrow-course .button,
  body.page-community .wp-block-button__link,
  body.page-news .wp-block-button__link,
  body.page-wiki .wp-block-button__link {
    background: linear-gradient(180deg, #137578 0%, #0A4650 100%) !important;
    border-color: #0A4650 !important;
    color: #fff !important;
    border-radius: 12px !important;
  }

  body.page-community .card,
  body.page-news .card,
  body.page-wiki .card,
  body.page-currency-rates .card,
  body.page-community article,
  body.page-news article.post,
  body.page-wiki .entry-content > div {
    border-radius: 16px;
  }

  /* News list cards */
  body.page-news .featured-news,
  body.page-news .news-card,
  body.blog .news-card {
    background: #fff !important;
    border: 1px solid var(--lc-border, #A8C8CA) !important;
    box-shadow: 0 8px 20px rgba(10, 70, 80, 0.08) !important;
  }

  /* Currency / calculators */
  body.page-currency-rates input,
  body.page-currency-rates select,
  body.page-severance-calculator input,
  body.page-severance-calculator select {
    border: 1px solid var(--lc-border, #A8C8CA) !important;
    border-radius: 12px !important;
    color: var(--lc-text, #0A4852) !important;
  }

  /* Keep calculator/submit teal; Figma currency keypad stays white until pressed. */
  body.page-currency-rates button:not(.lc-currency-key),
  body.page-severance-calculator button,
  body.page-currency-rates input[type="submit"],
  body.page-severance-calculator input[type="submit"] {
    background: #137578 !important;
    border-color: #0A4650 !important;
    color: #fff !important;
    border-radius: 12px !important;
  }

  /* Hebrew course progress-ish */
  body.page-hebrow-course progress,
  body.page-hebrew-course progress {
    accent-color: #137578;
  }

  body.page-hebrow-course .entry-content,
  body.page-hebrew-course .entry-content {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  /* Jobs = listing category or page */
  body.page-jobs .hp-page,
  body.tax-hp_listing_category.term-jobs {
    background: var(--lc-bg, #F3F8F8);
  }
}

/* Contact Us — icons only: match site header teal */
body.page-id-8147 .lc-contact-card i,
body.page-contact-us .lc-contact-card i,
body:has(.lc-contact-wrap) .lc-contact-card i {
  color: var(--lc-teal, #0A4650) !important;
}

body.page-id-8147 .lc-contact-card a:hover i,
body.page-contact-us .lc-contact-card a:hover i,
body:has(.lc-contact-wrap) .lc-contact-card a:hover i {
  color: var(--lc-teal, #0A4650) !important;
}
