/* ==========================================================================
   MyLivora — WordPress-only additions for the sub-pages (loaded after pages.css).
   pages.css / pages.js / float.* are copies of the static HTML site (HTML/assets).
   ========================================================================== */

/* Admin bar: keep the fixed header (and sticky bits) below it. */
body.admin-bar .pg-header { top: 32px; }
body.admin-bar .pg-filter { top: calc(5.25rem + 32px); }
body.admin-bar .pg-card--sticky { top: calc(6.5rem + 32px); }
@media screen and (max-width: 782px) {
  body.admin-bar .pg-header { top: 46px; }
}
@media screen and (max-width: 600px) {
  body.admin-bar .pg-header { top: 0; }
}

/* Form result (AJAX, shown under the form — or after the no-JS redirect). */
.pg-form__status.is-sent { background: color-mix(in oklab, var(--sage, #b8c4a9) 30%, white 70%); color: var(--olive-deep, #3c422a); }
.pg-form__status.is-error { background: #f6e3df; color: #8a3324; }
.pg-form button[type="submit"][disabled] { opacity: .6; cursor: progress; }

/* reCAPTCHA v2 widget spacing inside sub-page forms. */
.pg-form .ml-recaptcha { margin-top: .25rem; }

/* reCAPTCHA v3 badge stays under the floating WhatsApp / back-to-top buttons. */
body.pg .grecaptcha-badge { z-index: 40; }
