body.fa-native #soledad_wrapper,body.fa-native #footer-section-container{width:auto;max-width:none;margin-left:var(--inner);margin-right:var(--inner);background:var(--bg);color:var(--txt)}
body.fa-native #fa-original-header[hidden]{display:none!important}body.fa-native .fa-rail{z-index:10001}
body.fa-native #soledad_wrapper .container{max-width:100%;width:100%}
body.fa-native .fa-native-split{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(215px,29%);gap:20px;align-items:start}
body.fa-native .fa-native-split #main{width:auto;float:none}body.fa-native .fa-native-widgets{position:sticky;top:18px}
body.fa-native #soledad_wrapper #main>article,body.fa-native #soledad_wrapper #sidebar .widget,body.fa-native .fa-native-widgets .widget,body.fa-native #soledad_wrapper .post-comments,body.fa-native #soledad_wrapper .post-author,body.fa-native #soledad_wrapper #respond{background:var(--surface);color:var(--txt);border:1px solid var(--border);padding:clamp(12px,1.5vw,26px);border-radius:8px;margin-bottom:16px}
body.fa-native #soledad_wrapper :is(.header-standard h1,.post-title,.penci-cat-name,.widget-title,.post-title a,.penci-entry-title a,.archive-box h1,.archive-box h2,.penci-entry-title,.penci-grid li.grid-style .item h2 a){font-family:Arial,Helvetica,sans-serif;letter-spacing:-.035em;color:var(--txt)}
body.fa-native #soledad_wrapper :is(.widget-title,.penci-border-arrow,.penci-block-heading,.penci-block-vc){border-color:var(--border)}
body.fa-native #soledad_wrapper .inner-post-entry,body.fa-native #soledad_wrapper .inner-post-entry p{font-family:Arial,Helvetica,sans-serif;color:var(--txt);font-size:var(--reader,1.06rem);line-height:1.75}
body.fa-native #soledad_wrapper :is(.post-entry a,.cat a,.penci-category-description a){color:var(--accent)}
body.fa-native :is(#soledad_wrapper,#footer-section-container) :is(.widget,.penci-block-vc,.penci-media-content,.post-pagination,.penci-post-related,.penci-page-header,.wrapper-penci-review){border-color:var(--border);border-radius:6px}
body.fa-dark #soledad_wrapper :is(.penci-block-vc,.penci-block-heading,.inner-post-entry,.widget,.post-entry,.widget-title,.post-pagination,.penci-post-related,.header-standard,.archive-box,.penci-breadcrumb,.penci-media-content,.inner-content,.related-content,.comment-form,.penci-entry-title){background-color:var(--surface);color:var(--txt)}
body.fa-dark #soledad_wrapper :is(p,h1,h2,h3,h4,h5,li,label,blockquote,.widget-title span,.penci-entry-title a,.penci-media-content a,.post-pagination a,.related-content a){color:var(--txt)}body.fa-dark #soledad_wrapper :is(input,textarea,select){background:var(--faint);color:var(--txt);border-color:var(--border)}
body.fa-native.admin-bar .fa-rail{top:32px}body.fa-native .fa-original-menu{border:0;background:transparent;font:inherit;cursor:pointer;font-size:.84rem;color:var(--accent)}
@media(max-width:900px){body.fa-native .fa-native-split{grid-template-columns:1fr}body.fa-native .fa-native-widgets{position:static}}
@media(max-width:782px){body.fa-native.admin-bar .fa-rail{top:46px}}


body.fa-native .fa-native-tools{margin:0 0 16px;position:static;width:auto}

#fa-shell :is(.fa-box,.fa-tv,.fa-play,.fa-search,.fa-share,.fa-bookmark)::before{content:none!important}#fa-shell button,#fa-shell button h3{text-transform:none;letter-spacing:normal}body.fa-native #wpadminbar{left:0;right:0;width:100%}

.fa-audience{margin-bottom:18px}.fa-audience .fa-stats{margin-bottom:0}.fa-market{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:10px 2px 0;font-size:.81rem}.fa-market b{margin-right:8px}.fa-market span{color:var(--muted)}#fa-shell .fa-market button{font:inherit;font-weight:650;color:var(--accent);padding:4px 0}.fa-audience .fa-stat strong{font-variant-numeric:tabular-nums;font-size:clamp(1.15rem,2.15vw,1.95rem)}.fa-markets{width:100%;margin:16px 0;border-collapse:collapse}.fa-markets caption{text-align:left;font-weight:650;margin-bottom:8px}.fa-markets th,.fa-markets td{text-align:right;padding:5px 8px;border-bottom:1px solid var(--border)}.fa-markets th:first-child{text-align:left}.fa-markets~.fa-lime{display:inline-flex;margin-top:12px}.fa-audience button.fa-stat{white-space:normal;line-height:1.4}

/* Soledad and Elementor style the linked text inside headings separately.
   Set the ink on those elements as well as on the heading containers. */
@media screen {
  body.fa-native.fa-dark {
    --txt: #f7f9f5;
    --muted: #c6cec6;
    --pcaccent-cl: var(--accent);
    --pcbg-cl: var(--bg);
    --pcheading-cl: var(--txt);
    --pctext-cl: var(--txt);
    --pcmeta-cl: var(--muted);
    --pcborder-cl: var(--border);
  }

  body.fa-dark :is(#soledad_wrapper, #footer-section-container, .fa-native-widgets, .penci-mobile-sidebar-content-wrapper)
  :is(a, h1, h2, h3, h4, h5, h6, label, legend, p, blockquote, dt, dd, th, td,
      .site-name, .inner-arrow, .inner-arrow span, .elementor-heading-title, .pcsl-title, .title-bar) {
    color: var(--txt) !important;
  }

  body.fa-dark :is(#soledad_wrapper, #footer-section-container, .fa-native-widgets)
  :is(time, figcaption, cite, small, .byline, .author-url, .category-item-count,
      .post-box-meta-single, .grid-post-box-meta, .grid-post-box-meta span, .title-bar > span) {
    color: var(--muted) !important;
  }

  body.fa-dark :is(#soledad_wrapper, #footer-section-container, .fa-native-widgets)
  :is(.post-entry p a, .fl-contact p a, a:hover, a:focus-visible) {
    color: var(--accent) !important;
  }

  /* Give widgets and page-builder panels a matching surface, including the ribbons behind headings. */
  body.fa-dark :is(#soledad_wrapper, #footer-section-container, .fa-native-widgets)
  :is(.elementor-section, .elementor-widget-wrap, .elementor-widget-container,
      .penci-border-arrow, .inner-arrow, .inner-arrow span,
      .widget-title span, .title-bar, .archive-box, .post-author, .penci-pagination a,
      .sub-menu, .sub-sub-menu, .penci-header-wrap, .penci_navbar, .penci_nav_row,
      .wp-block-table td, .wp-block-table th, .wp-block-table tr,
      .wp-block-group.has-background, .wp-block-quote, pre, code) {
    background-color: var(--surface) !important;
    border-color: var(--border);
  }
  body.fa-dark .penci-mobile-sidebar-content-wrapper,
  body.fa-dark #sidebar-nav, body.fa-dark #footer-section-container {
    background-color: var(--surface) !important;
  }
  body.fa-dark :is(#soledad_wrapper, #footer-section-container, .fa-native-widgets)
  :is(input:not([type=submit],[type=button],[type=checkbox],[type=radio]), textarea, select, option) {
    color: var(--txt) !important;
    background-color: var(--faint) !important;
    border-color: #7e8c80;
  }
  body.fa-dark :is(#soledad_wrapper, #fa-shell, .fa-native-widgets) ::placeholder {
    color: var(--muted) !important;
    opacity: 1;
  }
  body.fa-dark :is(#soledad_wrapper, #footer-section-container, .fa-native-widgets)
  :is(input[type=submit], button[type=submit], .elementor-button, .penci-builder-button, .wp-block-button__link,
      .wp-block-search__button, .penci-pagination .current) {
    background: var(--lime) !important;
    color: #172610 !important;
  }
  body.fa-dark :is(#soledad_wrapper, #footer-section-container)
  :is(.elementor-button, .penci-builder-button, .wp-block-button__link) :is(span, i) {
    color: inherit !important;
  }

  body.fa-dark #fa-shell :is(h1, h2, h3, h4, h5, h6, label, caption, th, td,
      .fa-newsrow, .fa-mini, .fa-stat, .fa-field, .fa-dialog, .fa-desks a) {
    color: var(--txt) !important;
  }
  body.fa-dark #fa-shell :is(.fa-lime, .fa-lime:hover, .fa-lime:focus-visible) {
    color: #172610 !important;
    background-color: var(--lime) !important;
  }
  body.fa-dark #fa-shell .fa-lime :is(svg, span) { color: inherit !important; }
  body.fa-dark .fa-shell .fa-markets :is(th, td, tr) { background-color: var(--surface); }
  body.fa-dark .wpcf7-not-valid-tip { color: #ffb8af !important; }
  body.fa-dark :is(#fa-shell, #soledad_wrapper, #footer-section-container) :focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
  }
}

@media screen {
  /* Imported article spans, pull quotes and theme widgets can carry their own light-theme ink. */
  body.fa-dark :is(#soledad_wrapper, #footer-section-container, .fa-native-widgets)
  :is(.penci-social-share-text, .comment-reply-title span, .widget-social a span,
      .entry-content [style*="color" i], .entry-content .has-text-color, .penci-pullqoute .author span) {
    color: var(--txt) !important;
  }
  body.fa-dark #soledad_wrapper :is(blockquote, .penci-pullqoute, .penci-pullquote,
      .entry-content [style*="background-color" i], .entry-content .has-background) {
    background-color: var(--faint) !important;
  }
}

@media screen {
  body.fa-dark #soledad_wrapper :is(.penci-bgitin, .pcsl-itemin) {
    background-color: var(--surface) !important;
  }
  body.fa-dark #soledad_wrapper .penci-cat-name,
  body.fa-dark #soledad_wrapper .penci-cat-name span {
    background-color: var(--active) !important;
    color: var(--txt) !important;
  }
  /* Older templates animate link colours from their light-mode values on first paint. */
  body.fa-dark :is(#fa-shell, #soledad_wrapper, #footer-section-container) :is(a, a span, button, button span) {
    transition-property: opacity, transform, box-shadow !important;
  }
}
