/* sitewide-redesign 2026-11-20
   Visual consistency for shared chrome and the remaining site pages.
   Scoped to body.mws. Do not load this file unless mwSitewideRedesignOn is true.

   Tokens match the jobs / resumes / post-job redesigns and the UX handoff.
   Spacing scale: 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64

   Hard exclusions:
   - Homepage pricing (.hp-ed-pricing) is untouched — no rules target it.
   - Home faded hero layout and stat icons are unchanged. Only contrast/type
     tweaks around them (path separator color, search field contrast). Hero
     CTAs keep their current colors. Do not convert any existing faded hero
     (home, FAQ, Contact, Login, Favs, My Jobs, Connect, Privacy, Improve,
     alerts) into a split hero.
   - Ministry Jobs listing/detail, resume pages, and Post a Job body layouts
     are out of scope. Header/footer/FAQ token styles still apply there.
*/

body.mws {
  --mws-blue: #2a6599;
  --mws-blue-hover: #1f4f7a;
  --mws-blue-press: #173d60;
  --mws-navy: #001f3f;
  --mws-orange: #f3941d;
  --mws-on-orange: #1d2733;
  --mws-text: #2a2f36;
  --mws-muted: #566070;
  --mws-bg: #f5f7fa;
  --mws-ice: #f4f7f9;
  --mws-surface: #ffffff;
  --mws-blue-50: #eef5fb;
  --mws-border: #e5e8ee;
  --mws-field-border: #6b7686;
  --mws-danger: #c0392b;
  --mws-danger-bg: #fdf3f2;
  --mws-danger-text: #922b21;
  --mws-focus: #001f3f;
  --mws-focus-halo: #ffffff;
  --mws-footer-bg: #001f3f;
  --mws-footer-text: #d6e8f7;
  --mws-footer-input-bg: #12253d;
  --mws-footer-input-border: #9bb4cc;
  --mws-r: 8px;
  --mws-r-lg: 12px;
  --mws-col: 800px;
  --mws-input-h: 48px;
  --mws-sans: "museo-sans", "Nunito Sans", "Segoe UI", Arial, sans-serif;
  --mws-narrow: "pt-sans-narrow", "pt-sans", Arial, sans-serif;
}

/* ---- Shared wrapper: 1280 content, 24px pad; at 1440 the content starts at 80px ---- */
body.mws .page-wrapper:not(.jd-hero__content):not(.jd-hero__inner),
body.mws .page-wrapper-emphasis,
body.mws .page-wrapper-footer {
  width: 100%;
  max-width: calc(1280px + 48px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}
body.mws .ft-ed .page-wrapper {
  padding-left: 24px;
  padding-right: 24px;
}
@media (max-width: 720px) {
  body.mws .page-wrapper,
  body.mws .page-wrapper-emphasis,
  body.mws .page-wrapper-footer,
  body.mws .ft-ed .page-wrapper {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Prevent leftover min-widths from causing horizontal scroll */
body.mws .slider-section,
body.mws .slider-wrapper,
body.mws .slider-image,
body.mws .jd-hero,
body.mws .jo-band,
body.mws .emphasis-section,
body.mws .main-section,
body.mws .hp-ed-hero {
  max-width: 100%;
  box-sizing: border-box;
}

/* ========================================================================
   HEADER — Sign In (and quiet account links) 44×44 hit area
   ======================================================================== */
body.mws .gnav__item--account .gnav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 10px;
  box-sizing: border-box;
}
body.mws .gnav__link:focus-visible,
body.mws .gnav__cta:focus-visible,
body.mws .site-logo:focus-visible,
body.mws .mw-theme-toggle:focus-visible {
  outline: 3px solid var(--mws-focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--mws-focus-halo);
}

/* ========================================================================
   FOOTER
   ======================================================================== */
body.mws .footer-section,
body.mws .ft-ed {
  background-color: var(--mws-footer-bg);
  color: var(--mws-footer-text);
}
body.mws .ft-ed__tagline,
body.mws .ft-ed__copy,
body.mws .ft-ed__note {
  color: var(--mws-footer-text);
}
body.mws .ft-ed__heading {
  font-family: var(--mws-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.3;
}
body.mws .ft-ed__list {
  gap: 0;
}
body.mws .ft-ed__list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--mws-footer-text);
  font-family: var(--mws-sans);
  font-size: 14px;
  text-decoration: none;
  box-sizing: border-box;
}
body.mws .ft-ed__list a:hover,
body.mws .ft-ed__list a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
body.mws .ft-ed__list a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

/* Footer "Stay in the loop" */
body.mws .ft-ed .mw-signup__title {
  font-family: var(--mws-sans);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}
body.mws .ft-ed .mw-signup__lead,
body.mws .ft-ed .mw-signup__fine,
body.mws .ft-ed .mw-signup__legend,
body.mws .ft-ed .mw-signup__label,
body.mws .ft-ed .mw-signup__radio {
  color: var(--mws-footer-text);
  font-size: 14px;
  line-height: 1.45;
}
body.mws .ft-ed .mw-signup__fine a {
  color: var(--mws-footer-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
body.mws .ft-ed .mw-signup__input,
body.mws .ft-ed .mw-signup__fields input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) {
  height: var(--mws-input-h);
  min-height: var(--mws-input-h);
  padding: 12px 16px;
  font-size: 16px;
  color: var(--mws-footer-text);
  background: var(--mws-footer-input-bg);
  border: 1px solid var(--mws-footer-input-border);
  border-radius: var(--mws-r);
  box-sizing: border-box;
}
body.mws .ft-ed .mw-signup__input::placeholder {
  color: var(--mws-footer-text);
  opacity: .8;
}
body.mws .ft-ed .mw-signup__input:hover {
  border-color: #c5d6e8;
}
body.mws .ft-ed .mw-signup__input:focus {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--mws-footer-bg);
  border-color: #ffffff;
}
body.mws .ft-ed .mw-signup__btn {
  height: var(--mws-input-h);
  min-height: var(--mws-input-h);
  padding: 0 20px;
  font-family: var(--mws-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--mws-on-orange);
  background: var(--mws-orange);
  border: 0;
  border-radius: var(--mws-r);
  cursor: pointer;
}
body.mws .ft-ed .mw-signup__btn:hover {
  filter: brightness(.96);
  color: var(--mws-on-orange);
}
body.mws .ft-ed .mw-signup__radio,
body.mws .ft-ed .mw-signup__choice label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  cursor: pointer;
}

/* In-page (For Ministers) signup — not the footer */
body.mws .mw-signup--page .mw-signup__input,
body.mws .fm-hub .mw-signup__input {
  height: var(--mws-input-h);
  min-height: var(--mws-input-h);
  padding: 12px 16px;
  font-size: 16px;
  border: 1px solid var(--mws-field-border);
  border-radius: var(--mws-r);
  box-sizing: border-box;
  background: var(--mws-surface);
  color: var(--mws-text);
}
body.mws .mw-signup--page .mw-signup__fields,
body.mws .fm-hub .mw-signup__fields {
  gap: 24px;
}
body.mws .mw-signup--page .mw-signup__label,
body.mws .fm-hub .mw-signup__label {
  margin-bottom: 8px;
  display: block;
}
body.mws .mw-signup--page .mw-signup__btn,
body.mws .fm-hub .mw-signup__btn {
  height: var(--mws-input-h);
  min-height: var(--mws-input-h);
  font-size: 16px;
  font-weight: 700;
  color: var(--mws-on-orange);
  background: var(--mws-orange);
  border: 0;
  border-radius: var(--mws-r);
}

/* ========================================================================
   SHARED: FAQ accordion (tint when open, not a solid blue bar)
   Also applies on Post a Job / My Jobs / Contact / Login where the include is used.
   ======================================================================== */
body.mws .faq-section .faq-list,
body.mws .faq-section__title {
  max-width: var(--mws-col);
  width: 100%;
  margin-left: 0;
  margin-right: auto;
}
body.mws .faq-section__title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--mws-navy);
  margin: 0 0 24px;
}
/* Duplicate FAQ title under the FAQ-page hero: text kept, not shown as a heading */
body.mws .faq-section__title--dup {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
body.mws .faq-item {
  background: var(--mws-surface);
  border: 1px solid var(--mws-border);
  border-radius: 0;
}
body.mws .faq-item__trigger {
  min-height: 56px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--mws-text);
  background: var(--mws-surface);
}
body.mws .faq-item__trigger:hover {
  background: var(--mws-blue-50);
  color: var(--mws-navy);
}
body.mws .faq-item--open .faq-item__trigger,
body.mws .faq-item--open .faq-item__body {
  background: var(--mws-blue-50);
  color: var(--mws-navy);
}
body.mws .faq-item--open .faq-item__trigger {
  color: var(--mws-navy);
}
body.mws .faq-item--open .faq-item__body p {
  color: var(--mws-text);
}
body.mws .faq-item__trigger:focus-visible {
  outline: 3px solid var(--mws-focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--mws-focus-halo);
}

/* Inner-page .jd-hero is already a split banner (ice typography panel + photo
   on the right via .jd-hero__overlay). Do not retarget the overlay background
   or force white titles — that hides the photo and fails contrast on ice.
   Existing type (PT Sans Narrow / navy) stays. */

/* ========================================================================
   SHARED form controls (scoped to the form pages, not jobs/resume/post-job)
   ======================================================================== */
body.mws .cs-form-wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
body.mws .cs-form-wrapper select,
body.mws .mw-improve-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
body.mws .mw-improve-form select,
body.mws .ja-subscribe input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
body.mws .ja-subscribe select,
body.mws .mw-signin__input,
body.mws .login-form input[type="text"],
body.mws .login-form input[type="password"],
body.mws .login-form input[type="email"] {
  height: var(--mws-input-h);
  min-height: var(--mws-input-h);
  padding: 12px 16px;
  font-size: 16px;
  line-height: 1.3;
  color: var(--mws-text);
  background: var(--mws-surface);
  border: 1px solid var(--mws-field-border);
  border-radius: var(--mws-r);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}
body.mws .cs-form-wrapper textarea,
body.mws .mw-improve-form textarea {
  min-height: 160px;
  padding: 12px 16px;
  font-size: 16px;
  color: var(--mws-text);
  background: var(--mws-surface);
  border: 1px solid var(--mws-field-border);
  border-radius: var(--mws-r);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}
body.mws .cs-form-wrapper input:hover,
body.mws .cs-form-wrapper select:hover,
body.mws .cs-form-wrapper textarea:hover,
body.mws .mw-improve-form input:hover,
body.mws .mw-improve-form select:hover,
body.mws .mw-improve-form textarea:hover,
body.mws .ja-subscribe input:hover,
body.mws .ja-subscribe select:hover,
body.mws .mw-signin__input:hover,
body.mws .login-form input[type="text"]:hover,
body.mws .login-form input[type="password"]:hover {
  border-color: #4a5563;
}
body.mws .cs-form-wrapper input:focus,
body.mws .cs-form-wrapper select:focus,
body.mws .cs-form-wrapper textarea:focus,
body.mws .mw-improve-form input:focus,
body.mws .mw-improve-form select:focus,
body.mws .mw-improve-form textarea:focus,
body.mws .ja-subscribe input:focus,
body.mws .ja-subscribe select:focus,
body.mws .mw-signin__input:focus,
body.mws .login-form input:focus,
body.mws .mw-signup--page .mw-signup__input:focus {
  outline: 3px solid var(--mws-focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--mws-focus-halo);
  border-color: var(--mws-focus);
}
body.mws .cs-form-wrapper input::placeholder,
body.mws .mw-improve-form input::placeholder,
body.mws .login-form input::placeholder,
body.mws .mw-signin__input::placeholder {
  color: var(--mws-muted);
}

/* Primary buttons on form pages: brand blue, never Bootstrap #3498db */
body.mws .cs-form-wrapper button[type="submit"],
body.mws .cs-form-wrapper input[type="submit"],
body.mws .cs-form-wrapper .freeform-button,
body.mws .ja-subscribe__btn,
body.mws .mw-signin__submit,
body.mws .login-form .btn,
body.mws .login-form-button,
body.mws .mws-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--mws-input-h);
  min-height: var(--mws-input-h);
  padding: 0 20px;
  font-family: var(--mws-sans);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff !important;
  background: var(--mws-blue) !important;
  border: 0 !important;
  border-radius: var(--mws-r) !important;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}
body.mws .cs-form-wrapper button[type="submit"]:hover,
body.mws .cs-form-wrapper input[type="submit"]:hover,
body.mws .ja-subscribe__btn:hover,
body.mws .mw-signin__submit:hover,
body.mws .login-form-button:hover,
body.mws .mws-btn-primary:hover {
  background: var(--mws-blue-hover) !important;
  color: #ffffff !important;
}
body.mws .cs-form-wrapper button[type="submit"]:active,
body.mws .ja-subscribe__btn:active,
body.mws .mw-signin__submit:active {
  background: var(--mws-blue-press) !important;
}

/* Improve submit stays orange with dark text (contrast) */
body.mws .mw-improve-form button[type="submit"],
body.mws .mw-improve-form input[type="submit"],
body.mws .mw-improve-form .freeform-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--mws-input-h);
  min-height: var(--mws-input-h);
  padding: 0 20px;
  font-family: var(--mws-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--mws-on-orange) !important;
  background: var(--mws-orange) !important;
  border: 0 !important;
  border-radius: var(--mws-r) !important;
  cursor: pointer;
}

/* Ghost / secondary */
body.mws .mw-signin__magic-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--mws-input-h);
  min-height: var(--mws-input-h);
  padding: 0 20px;
  font-family: var(--mws-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--mws-blue);
  background: transparent;
  border: 2px solid var(--mws-blue);
  border-radius: var(--mws-r);
  box-sizing: border-box;
  cursor: pointer;
}
body.mws .mw-signin__magic-btn:hover {
  background: var(--mws-blue-50);
  color: var(--mws-blue);
}

body.mws .mw-signin__remember,
body.mws .login-form .rememberMe,
body.mws .ja-subscribe label,
body.mws .cs-form-wrapper label.freeform-label:has(input[type="checkbox"]),
body.mws .mw-improve-form label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
body.mws .mw-signin__forgot,
body.mws .login-form + p a,
body.mws .resume-login-section p a[href*="password"] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--mws-blue);
  font-size: 14px;
}
body.mws .mws-req-note {
  font-family: var(--mws-sans);
  font-size: 14px;
  line-height: 1.45;
  color: var(--mws-muted);
  margin: 0 0 16px;
}
body.mws .freeform-required:after,
body.mws .mw-signup__req,
body.mws .mws-req {
  color: var(--mws-danger);
}

/* Form / empty-state column: 800px, left-aligned in the 1280 wrapper */
body.mws .cs-header,
body.mws .cs-form-wrapper,
body.mws .mws-form-card,
body.mws .mws-empty-card,
body.mws .sp-page__article,
body.mws .sp-page__wrap {
  max-width: var(--mws-col);
  width: 100%;
  margin-left: 0;
  margin-right: auto;
  box-sizing: border-box;
}
body.mws .cs-form-wrapper,
body.mws .mws-form-card,
body.mws .mws-empty-card,
body.mws .mw-improve-form {
  background: var(--mws-surface);
  border: 1px solid var(--mws-border);
  border-radius: var(--mws-r-lg);
  padding: 32px;
}
body.mws .main-section {
  background: var(--mws-bg);
  padding: 32px 0 64px;
}
@media (max-width: 720px) {
  body.mws .cs-form-wrapper,
  body.mws .mws-form-card,
  body.mws .mws-empty-card,
  body.mws .mw-improve-form {
    padding: 20px 16px;
  }
  body.mws .main-section {
    padding: 24px 0 48px;
  }
}

body.mws .cs-header__title {
  font-family: var(--mws-sans);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--mws-navy);
  margin: 0 0 8px;
}
body.mws .cs-header__title--dup {
  /* demoted duplicate of the hero title: keep the words, don't present as a heading */
  font-size: 24px;
  font-weight: 700;
  /* hidden when it only repeats the hero; contact/alerts templates use this class */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
body.mws .cs-header__intro,
body.mws .mws-empty-card p,
body.mws .mw-signin__intro,
body.mws .mw-signin__hint,
body.mws .mw-signin__help {
  font-size: 14px;
  line-height: 1.45;
  color: var(--mws-muted);
}
body.mws .cs-header {
  margin-bottom: 16px;
}

/* "MY INFORMATION" Freeform legend → 13px kicker (words kept) */
body.mws .cs-form-wrapper legend,
body.mws .cs-form-wrapper .freeform-page-label,
body.mws .cs-form-wrapper fieldset > legend {
  font-family: var(--mws-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--mws-blue);
  line-height: 1.3;
  margin: 0 0 16px;
}

/* Contact name/email: 2-col when Freeform rows allow it */
body.mws .cs-form-wrapper .freeform-row,
body.mws .mw-improve-form .freeform-row {
  gap: 24px;
  margin-bottom: 24px;
}
body.mws .cs-form-wrapper .freeform-label,
body.mws .mw-improve-form .freeform-label,
body.mws .ja-subscribe label,
body.mws .mw-signin__label,
body.mws .login-form label,
body.mws .login-form h3 {
  display: block;
  font-family: var(--mws-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--mws-text);
  margin: 0 0 8px;
}

/* Alerts: keep 3-col desktop / 1-col mobile select row, 48px fields */
body.mws .ja-subscribe__row--filters,
body.mws .ja-subscribe__filters .ja-subscribe__row {
  gap: 24px;
}

/* ========================================================================
   2. HOME — do not change faded hero layout or stat icons.
      Pricing section is completely excluded (no selectors under .hp-ed-pricing).
   ======================================================================== */
/* Path separator contrast on the ice/washed hero (layout unchanged) */
body.mws .hp-ed-hero__paths-sep {
  color: var(--mws-muted);
}
/* H1 already uses PT Sans Narrow / --blue-deep; leave size and placement alone. */

/* Search lives below the hero */
body.mws .hp-ed-search__input {
  height: var(--mws-input-h);
  min-height: var(--mws-input-h);
  font-size: 16px;
  border: 1px solid var(--mws-field-border);
  border-radius: var(--mws-r);
  box-sizing: border-box;
  padding: 12px 16px;
}
body.mws .hp-ed-search__btn {
  height: var(--mws-input-h);
  min-height: var(--mws-input-h);
  padding: 0 20px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  background: var(--mws-blue);
  border: 0;
  border-radius: var(--mws-r);
}
body.mws .hp-ed-search__btn:hover {
  background: var(--mws-blue-hover);
  color: #ffffff;
}
body.mws .hp-ed-search__input:focus,
body.mws .hp-ed-search__btn:focus-visible {
  outline: 3px solid var(--mws-focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--mws-focus-halo);
}

body.mws .hp-ed-featured__cta,
body.mws .hp-ed-job__link,
body.mws a.hp-ed-viewall,
body.mws .hp-ed-jobs-head__link {
  min-height: 44px;
}
body.mws .hp-ed-featured__cta,
body.mws a.hp-ed-viewall {
  display: inline-flex;
  align-items: center;
}

/* Section padding around (not including) pricing */
body.mws .hp-ed-split {
  padding-top: 48px;
  padding-bottom: 64px;
}
body.mws .hp-ed-stats {
  padding-top: 48px;
  padding-bottom: 48px;
}

/* Final CTA / other non-hero, non-pricing orange buttons on the home page.
   Hero CTAs (.hp-ed-hero__cta) and pricing CTAs are intentionally omitted. */
body.mws .hp-ed-final .hp-ed-final__cta,
body.mws .hp-ed-personal a.hp-ed-personal__cta,
body.mws a.hp-ed-cta--orange:not(.hp-ed-hero__cta) {
  color: var(--mws-on-orange);
  background: var(--mws-orange);
  height: var(--mws-input-h);
  min-height: var(--mws-input-h);
  border-radius: var(--mws-r);
  font-weight: 700;
}

/* ========================================================================
   3. FOR MINISTERS
   ======================================================================== */
body.mws .fm-hub__inner {
  max-width: none; /* open from 960 to the shared 1280 wrapper */
}
body.mws .fm-hub__title {
  font-family: var(--mws-narrow);
  font-size: clamp(2rem, 3.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--mws-navy);
}
body.mws .fm-hub__eyebrow {
  font-family: var(--mws-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--mws-blue);
}
body.mws .fm-hub__lede {
  font-size: 16px;
  line-height: 1.5;
  color: var(--mws-muted);
}
body.mws .fm-hub__grid {
  gap: 16px;
}
body.mws .fm-hub__card,
body.mws .fm-hub .mw-signup--page,
body.mws .fm-hub .mw-rm-offer {
  border-radius: var(--mws-r-lg);
  padding: 24px;
  box-sizing: border-box;
}
body.mws .fm-hub__card-title {
  font-family: var(--mws-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--mws-navy);
}
body.mws .fm-hub__card-cta {
  color: var(--mws-blue);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* ========================================================================
   4–5. GUIDES index + article
   ======================================================================== */
body.mws .gd-hero__title {
  font-family: var(--mws-narrow);
  font-size: clamp(2rem, 3.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--mws-navy);
}
body.mws .gd-hero__eyebrow {
  font-family: var(--mws-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--mws-blue);
}
body.mws .gd-hero__dek {
  font-size: 16px;
  line-height: 1.5;
  color: var(--mws-muted);
}
body.mws .gd .lp-btn,
body.mws .gd-hero .lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--mws-input-h);
  min-height: var(--mws-input-h);
  padding: 0 20px;
  border-radius: var(--mws-r);
  font-size: 16px;
  font-weight: 700;
  box-sizing: border-box;
}
body.mws .gd .lp-btn--primary,
body.mws .gd-hero .lp-btn--primary {
  background: var(--mws-blue);
  border-color: var(--mws-blue);
  color: #ffffff;
}
body.mws .gd .lp-btn--ghost,
body.mws .gd-hero .lp-btn--ghost {
  background: transparent;
  border: 2px solid var(--mws-blue);
  color: var(--mws-blue);
}
body.mws .gd-card {
  border-radius: var(--mws-r-lg);
}
body.mws .gd-card__title {
  font-family: var(--mws-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--mws-navy);
}
body.mws .gd-card__more {
  color: var(--mws-blue);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
body.mws .gd-prose {
  font-size: 16px;
  line-height: 1.6;
  color: var(--mws-text);
}
body.mws .gd-prose h2 {
  font-family: var(--mws-sans);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--mws-navy);
}
body.mws .gd-aside__card {
  border-radius: var(--mws-r-lg);
  padding: 20px;
  box-sizing: border-box;
}
body.mws .gd-aside__heading {
  font-family: var(--mws-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--mws-navy);
}
body.mws .gd-aside__list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--mws-blue);
}

/* ========================================================================
   11. PRIVACY — typography in the 800px column (legal text unchanged)
   ======================================================================== */
body.mws .sp-page__article.gd-prose,
body.mws .sp-page__article {
  font-size: 16px;
  line-height: 1.6;
  color: var(--mws-text);
}
body.mws .sp-page__article h2,
body.mws .sp-page__article .gd-prose h2 {
  font-family: var(--mws-sans);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--mws-navy);
  margin: 32px 0 16px;
}
body.mws .sp-page__article p {
  margin: 0 0 16px;
}

/* Connect empty state */
body.mws .mws-empty-card p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--mws-text);
  margin: 0 0 8px;
}
body.mws .mws-empty-card p + p,
body.mws .mws-empty-card .mws-empty-card__hint {
  font-size: 14px;
  color: var(--mws-muted);
}

/* ========================================================================
   12. LOGIN — keep faded photo hero; fix overflow; restyle the form card
   ======================================================================== */
body.mws .slider-section {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}
body.mws .slider-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
body.mws .slider-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
/* Darken the washed photo so the existing on-photo title stays readable.
   Layout (full-width photo, title over it) is unchanged. */
body.mws .slider-section .slider-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,30,55,.28) 0%, rgba(10,30,55,.72) 100%);
  pointer-events: none;
}
body.mws .slider-section > .page-wrapper {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: none;
  pointer-events: none;
}
body.mws .slider-section .slider-content {
  position: relative;
  width: 100%;
  max-width: calc(1280px + 48px);
  margin: 0 auto;
  padding: 24px 24px 32px;
  box-sizing: border-box;
  pointer-events: auto;
}
body.mws .slider-section .slider-content h1,
body.mws .slider-section .slider-content h2 {
  font-family: var(--mws-narrow);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,.55);
  margin: 0;
}
@media (max-width: 720px) {
  body.mws .slider-section .slider-content {
    padding: 16px 16px 24px;
  }
}

body.mws .resume-login-section,
body.mws .login-form {
  max-width: 100%;
}
/* Login card only: narrower than the shared 800px form column so username/password
   fields aren't stretched. Still left-aligned to the wrapper edge. Full width on mobile. */
body.mws .resume-login-section.mws-form-card {
  max-width: 520px;
}
body.mws .login-form {
  margin-top: 16px;
}
body.mws h3.login-form-username,
body.mws h3.login-form-password,
body.mws .login-form-username.login-form-main,
body.mws .mws-form-card .login-form h3 {
  display: block;
  float: none;
  position: static;
  margin: 0 0 8px;
  padding: 0;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--mws-sans);
  line-height: 1.3;
  color: var(--mws-text);
  text-align: left;
}
body.mws h3.login-form-password {
  margin-top: 16px;
}
body.mws .login-form label.rememberMe,
body.mws label.rememberMe {
  display: flex;
  align-items: center;
  gap: 8px;
  float: none;
  padding-left: 0;
  margin: 8px 0 16px;
  min-height: 44px;
}
body.mws .login-form input#loginName,
body.mws .login-form input#password {
  display: block;
  width: 100%;
  max-width: 100%;
  float: none;
}
body.mws .mws-form-card > h2,
body.mws .search-block h2 {
  font-family: var(--mws-sans);
  font-size: 24px;
  font-weight: 700;
  color: var(--mws-navy);
  margin: 0 0 12px;
}

/* ========================================================================
   13. MY JOBS (signed-out and signed-in tokens)
   ======================================================================== */
body.mws .myj-login__title,
body.mws .mw-signin__title,
body.mws .mw-signin__side-title {
  font-family: var(--mws-sans);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--mws-navy);
}
body.mws .myj-login__eyebrow {
  font-family: var(--mws-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--mws-blue);
}
body.mws .myj-login__lede,
body.mws .mw-signin__hint,
body.mws .mw-signin__help {
  font-size: 14px;
  color: var(--mws-muted);
}
body.mws .mw-signin--with-side {
  gap: 24px;
  align-items: start;
}
body.mws .mw-signin__card,
body.mws .mw-signin__side {
  padding: 32px;
  border-radius: var(--mws-r-lg);
  box-sizing: border-box;
}
body.mws .mw-signin__submit {
  width: 100%;
}
body.mws .mw-signin__post {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--mws-input-h);
  padding: 0 20px;
  font-weight: 700;
  font-size: 16px;
  color: var(--mws-on-orange) !important;
  background: var(--mws-orange) !important;
  border-radius: var(--mws-r);
  text-decoration: none;
  box-sizing: border-box;
}
body.mws .mw-signin__forgot {
  min-height: 44px;
}

/* Signed-in dashboard: no Bootstrap blue on row actions */
body.mws .myj-main a.btn,
body.mws .myj-main .btn-primary,
body.mws .myj-main a[class*="3498db"] {
  background: var(--mws-blue);
  color: #ffffff;
  border-radius: var(--mws-r);
  min-height: 44px;
}

/* ========================================================================
   14. FAVS — keep the existing destination bar; restyle the list card
       and remove controls (no Bootstrap blue)
   ======================================================================== */
body.mws .resume-favorite-block {
  max-width: var(--mws-col);
  margin-left: 0;
  margin-right: auto;
  background: var(--mws-surface);
  border: 1px solid var(--mws-border);
  border-radius: var(--mws-r-lg);
  padding: 32px;
  box-sizing: border-box;
}
body.mws .resume-favorite-block p,
body.mws .fav-list-intro {
  font-size: 16px;
  line-height: 1.5;
  color: var(--mws-text);
}
body.mws .resume-favorite-block button[type="submit"] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mws-blue);
  background: transparent;
  border: 2px solid var(--mws-blue);
  border-radius: var(--mws-r);
  cursor: pointer;
  text-decoration: none;
}
body.mws .resume-favorite-block a {
  color: var(--mws-blue);
}
body.mws .emphasis-section .btn,
body.mws .emphasis-button .btn {
  /* existing "Back To Resumes" in the promo bar: brand blue, 48px, AA */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--mws-input-h);
  padding: 0 20px;
  font-weight: 700;
  color: #ffffff !important;
  background: var(--mws-blue) !important;
  border-radius: var(--mws-r);
  text-decoration: none;
}

/* ========================================================================
   15. PASTOR / role / region landings
   ======================================================================== */
body.mws .lp-hero__title {
  font-family: var(--mws-narrow);
  font-size: clamp(2rem, 3.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--mws-navy);
}
body.mws .lp-hero__eyebrow,
body.mws .lp-crumbs {
  font-family: var(--mws-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--mws-muted);
}
body.mws .lp-hero .lp-btn,
body.mws .lp .lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--mws-input-h);
  min-height: var(--mws-input-h);
  padding: 0 20px;
  border-radius: var(--mws-r);
  font-size: 16px;
  font-weight: 700;
  box-sizing: border-box;
}
body.mws .lp .lp-btn--primary {
  background: var(--mws-blue);
  border-color: var(--mws-blue);
  color: #ffffff;
}
body.mws .lp .lp-btn--ghost {
  background: transparent;
  border: 2px solid var(--mws-blue);
  color: var(--mws-blue);
}
body.mws .lp-seeker__card {
  border-radius: var(--mws-r-lg);
  padding: 24px;
  box-sizing: border-box;
}
body.mws .lp-seeker__row {
  gap: 16px;
}
body.mws .lp-jobs__title,
body.mws .lp-related__title,
body.mws .lp-snap__h3,
body.mws .lp h2 {
  font-family: var(--mws-sans);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--mws-navy);
}
body.mws .lp h3,
body.mws .lp-about h3 {
  font-family: var(--mws-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--mws-navy);
}
body.mws .lp-jobs__panel,
body.mws .lp .mj-results-panel {
  border-radius: var(--mws-r-lg);
  overflow: auto;
  max-width: 100%;
}
body.mws .lp .mj-table-header {
  background: var(--mws-ice);
}
body.mws .lp .mj-col {
  padding: 16px;
  color: var(--mws-text);
}
body.mws .lp .mj-col--position {
  color: var(--mws-navy);
  font-weight: 700;
}
body.mws .lp .mj-badge {
  background: var(--mws-blue-50);
  color: var(--mws-blue);
  border-radius: 999px;
}
/* Hiring CTA */
body.mws .lp a.lp-btn--primary[href*="post-ministry-jobs"],
body.mws .lp-hire .lp-btn--primary {
  height: var(--mws-input-h);
}

/* ========================================================================
   Errors: icon + text, not color alone
   ======================================================================== */
body.mws .mw-signin__error,
body.mws .freeform-errors,
body.mws .freeform-form-errors,
body.mws .mw-signup__flash--err,
body.mws .myj-flash--err {
  color: var(--mws-danger-text);
  background: var(--mws-danger-bg);
  border-radius: var(--mws-r);
  padding: 12px 14px;
}
body.mws input[aria-invalid="true"],
body.mws .is-invalid,
body.mws .freeform-has-errors input,
body.mws .mw-signin__input[aria-invalid="true"] {
  border: 2px solid var(--mws-danger);
  background: var(--mws-danger-bg);
}

/* ========================================================================
   Dark mode
   ======================================================================== */
html[data-theme="dark"] body.mws {
  --mws-text: #e8edf2;
  --mws-muted: #b7c3d0;
  --mws-bg: #121820;
  --mws-ice: #1a222c;
  --mws-surface: #1b232c;
  --mws-navy: #e8edf2;
  --mws-border: #2c3846;
  --mws-field-border: #9bb4cc;
  --mws-blue-50: #1a2a3a;
  --mws-focus-halo: #1b232c;
}
html[data-theme="dark"] body.mws .faq-item--open .faq-item__trigger,
html[data-theme="dark"] body.mws .faq-item--open .faq-item__body {
  background: #1a2a3a;
  color: #e8edf2;
}
html[data-theme="dark"] body.mws .cs-form-wrapper,
html[data-theme="dark"] body.mws .mws-form-card,
html[data-theme="dark"] body.mws .mws-empty-card,
html[data-theme="dark"] body.mws .mw-improve-form,
html[data-theme="dark"] body.mws .resume-favorite-block,
html[data-theme="dark"] body.mws .fm-hub__card,
html[data-theme="dark"] body.mws .gd-aside__card,
html[data-theme="dark"] body.mws .mw-signin__card,
html[data-theme="dark"] body.mws .mw-signin__side {
  background: var(--mws-surface);
  border-color: var(--mws-border);
}
html[data-theme="dark"] body.mws .cs-form-wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]),
html[data-theme="dark"] body.mws .cs-form-wrapper select,
html[data-theme="dark"] body.mws .cs-form-wrapper textarea,
html[data-theme="dark"] body.mws .mw-improve-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]),
html[data-theme="dark"] body.mws .mw-improve-form textarea,
html[data-theme="dark"] body.mws .ja-subscribe input,
html[data-theme="dark"] body.mws .ja-subscribe select,
html[data-theme="dark"] body.mws .mw-signin__input,
html[data-theme="dark"] body.mws .login-form input[type="text"],
html[data-theme="dark"] body.mws .login-form input[type="password"] {
  background: #121820;
  color: var(--mws-text);
  border-color: var(--mws-field-border);
}
html[data-theme="dark"] body.mws .mw-signin__submit,
html[data-theme="dark"] body.mws .ja-subscribe__btn,
html[data-theme="dark"] body.mws .login-form-button,
html[data-theme="dark"] body.mws .cs-form-wrapper button[type="submit"] {
  background: var(--mws-blue) !important;
  color: #ffffff !important;
}
html[data-theme="dark"] body.mws .gd-hero__title,
html[data-theme="dark"] body.mws .fm-hub__title,
html[data-theme="dark"] body.mws .lp-hero__title,
html[data-theme="dark"] body.mws .cs-header__title,
html[data-theme="dark"] body.mws .myj-login__title,
html[data-theme="dark"] body.mws .mw-signin__title,
html[data-theme="dark"] body.mws .faq-section__title,
html[data-theme="dark"] body.mws .sp-page__article h2,
html[data-theme="dark"] body.mws .gd-prose h2,
html[data-theme="dark"] body.mws .lp-jobs__title,
html[data-theme="dark"] body.mws .lp-related__title {
  color: #e8edf2;
}

/* 200% zoom / narrow: no page-level horizontal scroll */
@media (max-width: 720px) {
  body.mws .cs-form-wrapper input,
  body.mws .cs-form-wrapper select,
  body.mws .cs-form-wrapper textarea,
  body.mws .cs-form-wrapper button,
  body.mws .mw-improve-form input,
  body.mws .mw-improve-form textarea,
  body.mws .mw-improve-form button,
  body.mws .ja-subscribe input,
  body.mws .ja-subscribe select,
  body.mws .ja-subscribe__btn,
  body.mws .mw-signin__submit,
  body.mws .mw-signin__magic-btn,
  body.mws .login-form input,
  body.mws .login-form-button,
  body.mws .mw-signup--page .mw-signup__input,
  body.mws .mw-signup--page .mw-signup__btn {
    width: 100%;
    max-width: 100%;
  }
  body.mws .lp .mj-results-panel,
  body.mws .lp-jobs__panel {
    overflow-x: auto;
  }
}


/* form-polish uses !important (44px / #c5ccd6). Match it so these pages get 48px and #6b7686. */
body.mws .mw-improve-form .freeform-input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]):not(textarea):not([aria-hidden="true"]):not(.tox-target),
body.mws .cs-form-wrapper .freeform-input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]):not(textarea):not([aria-hidden="true"]):not(.tox-target),
body.mws .mw-improve-form select.freeform-input,
body.mws .cs-form-wrapper select.freeform-input {
  min-height: 48px !important;
  height: 48px !important;
  padding: 12px 16px !important;
  border: 1px solid #6b7686 !important;
  border-radius: 8px !important;
}
body.mws .mw-improve-form textarea.freeform-input:not([aria-hidden="true"]):not(.tox-target),
body.mws .cs-form-wrapper textarea.freeform-input:not([aria-hidden="true"]):not(.tox-target) {
  min-height: 160px !important;
  padding: 12px 16px !important;
  border: 1px solid #6b7686 !important;
  border-radius: 8px !important;
}
