/*
Theme Name: Flatsome Child (IBET888)
Description: Child theme for Flatsome. SEO-UI 2026-11-25: readability/contrast/measure fixes; all site changes live here, parent theme untouched.
Template: flatsome
Version: 1.0
Text Domain: flatsome-child
*/

/* ==========================================================================
   SEO-UI 2026-11-25 (wave 1). Palette = the site's own (--ibet-* tokens from
   mu-plugins/assets/ibet-refresh.css); only shades adjusted for 4.5:1.
   ========================================================================== */

/* body text: Flatsome grey #777 (4.48:1) -> site ink tone */
body,
.entry-content,
.entry-meta,
footer.entry-meta,
#email-notes {
  color: #3d5653; /* --ibet-muted hue, darker: 7.6:1 on white */
}

.entry-content :is(h1, h2, h3, h4) {
  color: var(--ibet-ink, #082b29);
}

/* header buttons: white on light teal->blue gradient (2.8:1) -> same hues, deeper */
.header-button .button,
#main .button {
  background: linear-gradient(120deg, #00745a, #0062a8); /* --ibet-brand / --ibet-accent, darker */
  color: #fff;
}

/* nav grey #7d7d7d (4.1:1) -> darker neutral */
.header-main .nav > li > a,
.header-bottom .nav > li > a {
  color: #4f4f4f;
}

/* tables: header cell text */
.entry-content table th,
#main table th {
  color: var(--ibet-ink, #082b29);
}

/* footer on deep teal: lighter teal links (was #6d8a88 at 3.3:1) */
.absolute-footer,
.absolute-footer .copyright-footer,
#footer .absolute-footer a,
#footer .footer-nav > li > a {
  color: #d7f4ef;
}

#footer .footer-nav {
  opacity: 1;
}

/* reading measure ~70-75 characters on desktop */
:is(.page-wrapper .col-inner, .entry-content) > :is(p, ul, ol, h2, h3, h4, h5, h6, blockquote) {
  max-width: 36rem;
}

.single-post .entry-content > :is(p, ul, ol, h2, h3, h4, h5, h6, blockquote) {
  margin-left: auto;
  margin-right: auto;
}

:is(.page-wrapper, .entry-content) :is(h1, h2, h3) {
  text-wrap: balance;
}

:is(.page-wrapper, .entry-content) :is(p, li) {
  text-wrap: pretty;
}
