/* ============================================================
   EF — PMPro Premium Preview + Glass Overlay + Premium Buttons
   Version: 1.4.0
   Runtime: main_multisite_runtime
   Control plane: Frontend PMPro / Multisite
   Scope: PMPro frontend membership/login/blocked-content surfaces

   contract_id=ef_pmpro.restricted_content_overlay_style.v1
   check_id=ef_pmpro.restricted_content_overlay_css_full_clean_replace

   Notes:
   - Frontend-only.
   - Does not target WordPress admin.
   - Does not change PMPro access logic, checkout, membership or entitlement.
   ============================================================ */

.pmpro .pmpro_btn:not(.pmpro_btn-plain),
.pmpro a.pmpro_btn:not(.pmpro_btn-plain),
.pmpro button.pmpro_btn:not(.pmpro_btn-plain),
.pmpro .pmpro_btn.pmpro_btn-submit,
.pmpro_login_wrap button:not(.pmpro_btn-plain),
.pmpro_login_wrap a.pmpro_btn:not(.pmpro_btn-plain),
.pmpro_checkout button:not(.pmpro_btn-plain),
.pmpro_checkout a.pmpro_btn:not(.pmpro_btn-plain),
.pmpro_member_profile_edit_wrap a.pmpro_btn:not(.pmpro_btn-plain),
.pmpro_account a.pmpro_btn:not(.pmpro_btn-plain) {
  position: relative !important;
  display: inline-block !important;
  padding: 12px 24px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  letter-spacing: normal !important;
  line-height: 1.2 !important;
  color: #2D2926 !important;
  background-color: #f5f5f7 !important;
  border: 1px solid #2D2926 !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  overflow: hidden !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: 0 4px 10px rgba(0,0,0,.15) !important;
  transform: none !important;
  z-index: 0 !important;
  transition: color .3s ease, font-weight .3s ease, box-shadow .3s ease, background-color .3s ease, border-color .3s ease !important;
}

.pmpro .pmpro_btn:not(.pmpro_btn-plain)::before,
.pmpro a.pmpro_btn:not(.pmpro_btn-plain)::before,
.pmpro button.pmpro_btn:not(.pmpro_btn-plain)::before,
.pmpro .pmpro_btn.pmpro_btn-submit::before,
.pmpro_login_wrap button:not(.pmpro_btn-plain)::before,
.pmpro_login_wrap a.pmpro_btn:not(.pmpro_btn-plain)::before,
.pmpro_checkout button:not(.pmpro_btn-plain)::before,
.pmpro_checkout a.pmpro_btn:not(.pmpro_btn-plain)::before,
.pmpro_member_profile_edit_wrap a.pmpro_btn:not(.pmpro_btn-plain)::before,
.pmpro_account a.pmpro_btn:not(.pmpro_btn-plain)::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to left, #DA2B1F 50%, transparent 50%), linear-gradient(to right, #DA2B1F 50%, transparent 50%) !important;
  background-size: 200% 100% !important;
  background-position: left, right !important;
  z-index: -1 !important;
  transition: background-size .3s ease !important;
}

.pmpro .pmpro_btn:not(.pmpro_btn-plain):hover::before,
.pmpro .pmpro_btn:not(.pmpro_btn-plain):focus::before,
.pmpro a.pmpro_btn:not(.pmpro_btn-plain):hover::before,
.pmpro a.pmpro_btn:not(.pmpro_btn-plain):focus::before,
.pmpro button.pmpro_btn:not(.pmpro_btn-plain):hover::before,
.pmpro button.pmpro_btn:not(.pmpro_btn-plain):focus::before,
.pmpro .pmpro_btn.pmpro_btn-submit:hover::before,
.pmpro .pmpro_btn.pmpro_btn-submit:focus::before,
.pmpro_login_wrap button:not(.pmpro_btn-plain):hover::before,
.pmpro_login_wrap button:not(.pmpro_btn-plain):focus::before,
.pmpro_login_wrap a.pmpro_btn:not(.pmpro_btn-plain):hover::before,
.pmpro_login_wrap a.pmpro_btn:not(.pmpro_btn-plain):focus::before,
.pmpro_checkout button:not(.pmpro_btn-plain):hover::before,
.pmpro_checkout button:not(.pmpro_btn-plain):focus::before,
.pmpro_checkout a.pmpro_btn:not(.pmpro_btn-plain):hover::before,
.pmpro_checkout a.pmpro_btn:not(.pmpro_btn-plain):focus::before,
.pmpro_member_profile_edit_wrap a.pmpro_btn:not(.pmpro_btn-plain):hover::before,
.pmpro_member_profile_edit_wrap a.pmpro_btn:not(.pmpro_btn-plain):focus::before,
.pmpro_account a.pmpro_btn:not(.pmpro_btn-plain):hover::before,
.pmpro_account a.pmpro_btn:not(.pmpro_btn-plain):focus::before {
  background-size: 100% 100% !important;
}

.pmpro .pmpro_btn:not(.pmpro_btn-plain):hover,
.pmpro .pmpro_btn:not(.pmpro_btn-plain):focus,
.pmpro a.pmpro_btn:not(.pmpro_btn-plain):hover,
.pmpro a.pmpro_btn:not(.pmpro_btn-plain):focus,
.pmpro button.pmpro_btn:not(.pmpro_btn-plain):hover,
.pmpro button.pmpro_btn:not(.pmpro_btn-plain):focus,
.pmpro .pmpro_btn.pmpro_btn-submit:hover,
.pmpro .pmpro_btn.pmpro_btn-submit:focus,
.pmpro_login_wrap button:not(.pmpro_btn-plain):hover,
.pmpro_login_wrap button:not(.pmpro_btn-plain):focus,
.pmpro_login_wrap a.pmpro_btn:not(.pmpro_btn-plain):hover,
.pmpro_login_wrap a.pmpro_btn:not(.pmpro_btn-plain):focus,
.pmpro_checkout button:not(.pmpro_btn-plain):hover,
.pmpro_checkout button:not(.pmpro_btn-plain):focus,
.pmpro_checkout a.pmpro_btn:not(.pmpro_btn-plain):hover,
.pmpro_checkout a.pmpro_btn:not(.pmpro_btn-plain):focus,
.pmpro_member_profile_edit_wrap a.pmpro_btn:not(.pmpro_btn-plain):hover,
.pmpro_member_profile_edit_wrap a.pmpro_btn:not(.pmpro_btn-plain):focus,
.pmpro_account a.pmpro_btn:not(.pmpro_btn-plain):hover,
.pmpro_account a.pmpro_btn:not(.pmpro_btn-plain):focus {
  color: #f5f5f7 !important;
  background-color: #DA2B1F !important;
  border-color: #2D2926 !important;
  box-shadow: 0 6px 14px rgba(218,43,31,.4) !important;
  transform: none !important;
  text-decoration: none !important;
}

.pmpro input[type="submit"],
.pmpro_login_wrap input[type="submit"],
.pmpro_checkout input[type="submit"],
.pmpro_form input[type="submit"],
#pmpro_btn-submit {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 12px 24px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  color: #2D2926 !important;
  background-color: #f5f5f7 !important;
  border: 1px solid #2D2926 !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  text-align: center !important;
  box-shadow: 0 4px 10px rgba(0,0,0,.15) !important;
  transition: color .3s ease, box-shadow .3s ease, background-color .3s ease, border-color .3s ease !important;
}

.pmpro input[type="submit"]:hover,
.pmpro input[type="submit"]:focus,
.pmpro_login_wrap input[type="submit"]:hover,
.pmpro_login_wrap input[type="submit"]:focus,
.pmpro_checkout input[type="submit"]:hover,
.pmpro_checkout input[type="submit"]:focus,
.pmpro_form input[type="submit"]:hover,
.pmpro_form input[type="submit"]:focus,
#pmpro_btn-submit:hover,
#pmpro_btn-submit:focus {
  color: #f5f5f7 !important;
  background-color: #DA2B1F !important;
  border-color: #2D2926 !important;
  box-shadow: 0 6px 14px rgba(218,43,31,.4) !important;
}

.pmpro #pmpro_login .pmpro_btn.pmpro_btn-plain,
.pmpro #pmpro_login button.pmpro_btn.pmpro_btn-plain,
.pmpro #pmpro_login #pmpro_btn-password-toggle-1,
.pmpro #pmpro_login .pmpro_actions_nav a,
.pmpro #pmpro_login .pmpro_card_actions .pmpro_actions_nav a {
  display: inline !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #2D2926 !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  text-decoration: none !important;
  transform: none !important;
}

.pmpro #pmpro_login .pmpro_btn.pmpro_btn-plain::before,
.pmpro #pmpro_login button.pmpro_btn.pmpro_btn-plain::before,
.pmpro #pmpro_login #pmpro_btn-password-toggle-1::before,
.pmpro #pmpro_login .pmpro_actions_nav a::before {
  content: none !important;
  display: none !important;
}

.pmpro #pmpro_login .pmpro_btn.pmpro_btn-plain:hover,
.pmpro #pmpro_login button.pmpro_btn.pmpro_btn-plain:hover,
.pmpro #pmpro_login #pmpro_btn-password-toggle-1:hover,
.pmpro #pmpro_login .pmpro_actions_nav a:hover,
.pmpro #pmpro_login .pmpro_actions_nav a:focus,
.pmpro a:not(.pmpro_btn):hover,
.pmpro a:not(.pmpro_btn):focus {
  color: #DA2B1F !important;
  background: transparent !important;
  box-shadow: none !important;
}

.pmpro #pmpro_login .nsl-container a,
.pmpro #pmpro_login .nsl-container .nsl-button,
.pmpro #pmpro_login .nsl-container .nsl-button-google,
.pmpro #pmpro_login .nsl-container .nsl-button-default {
  background-color: #ffffff !important;
  color: #1f1f1f !important;
  border-radius: 4px !important;
  box-shadow: inset 0 0 0 1px #747775 !important;
  border: 0 !important;
  text-decoration: none !important;
}

.pmpro #pmpro_login .nsl-container a::before,
.pmpro #pmpro_login .nsl-container .nsl-button::before,
.pmpro #pmpro_login .nsl-container .nsl-button-google::before,
.pmpro #pmpro_login .nsl-container .nsl-button-default::before {
  content: none !important;
  display: none !important;
}

.pmpro #pmpro_login .nsl-container a:hover,
.pmpro #pmpro_login .nsl-container a:focus,
.pmpro #pmpro_login .nsl-container .nsl-button:hover,
.pmpro #pmpro_login .nsl-container .nsl-button:focus {
  background-color: #ffffff !important;
  color: #1f1f1f !important;
  box-shadow: inset 0 0 0 1px #747775 !important;
  border: 0 !important;
  transform: none !important;
}

.pmpro #pmpro_login #user_login,
.pmpro #pmpro_login #user_pass,
.pmpro #pmpro_login input[type="text"],
.pmpro #pmpro_login input[type="password"],
.pmpro #pmpro_login input[type="email"] {
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease, color .25s ease !important;
}

.pmpro #pmpro_login #user_login:focus,
.pmpro #pmpro_login #user_pass:focus,
.pmpro #pmpro_login input[type="text"]:focus,
.pmpro #pmpro_login input[type="password"]:focus,
.pmpro #pmpro_login input[type="email"]:focus,
.pmpro #pmpro_login #user_login:focus-visible,
.pmpro #pmpro_login #user_pass:focus-visible,
.pmpro #pmpro_login input[type="text"]:focus-visible,
.pmpro #pmpro_login input[type="password"]:focus-visible,
.pmpro #pmpro_login input[type="email"]:focus-visible {
  background-color: #FFF4CF !important;
  color: #2D2926 !important;
  border-color: #DA2B1F !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(218,43,31,0.14), 0 4px 12px rgba(45,41,38,0.08) !important;
}

body.single-post:has(.ef-pmpro-preview-stack.pmpro-no-access) .jeg_share_button,
body.single-post:has(.ef-pmpro-preview-stack.pmpro-no-access) .jeg_sharelist,
body.single-post:has(.ef-pmpro-preview-stack.pmpro-no-access) .jeg_share_stats,
body.single-post:has(.ef-pmpro-preview-stack.pmpro-no-access) .jeg_post_share,
body.single-post:has(.ef-pmpro-preview-stack.pmpro-no-access) .jeg_socialshare,
body.single-post:has(.ef-pmpro-preview-stack.pmpro-no-access) .jnews_share,
body.single-post:has(.ef-pmpro-preview-stack.pmpro-no-access) .jnews_related_post_container,
body.single-post:has(.ef-pmpro-preview-stack.pmpro-no-access) .jnews_prev_next_container,
body.single-post:has(.ef-pmpro-preview-stack.pmpro-no-access) .jnews_author_box_container,
body.single-post:has(.ef-pmpro-preview-stack.pmpro-no-access) .jeg_sidebar,
body.single-post:has(.ef-pmpro-preview-stack.pmpro-no-access) .jegStickyHolder,
body.single-post:has(.ef-pmpro-preview-stack.pmpro-no-access) aside.widget-area,
body.single-post:has(.ef-pmpro-preview-stack.pmpro-no-access) .jeg_ad_module,
body.single-post:has(.ef-pmpro-preview-stack.pmpro-no-access) .jeg_ad,
body.single-post:has(.ef-pmpro-preview-stack.pmpro-no-access) .adsbygoogle {
  display: none !important;
}

body.single-post:has(.ef-pmpro-preview-stack.pmpro-no-access) .jeg_main_content,
body.single-post:has(.ef-pmpro-preview-stack.pmpro-no-access) .jeg_content {
  width: 100% !important;
  max-width: 100% !important;
}

body.single-post:has(.ef-pmpro-preview-stack.pmpro-no-access) .jeg_inner_content,
body.single-post:has(.ef-pmpro-preview-stack.pmpro-no-access) .entry-content {
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  height: auto !important;
  min-height: 1px !important;
  overflow: visible !important;
}

body.single-post .ef-pmpro-preview-stack.pmpro-no-access {
  position: relative !important;
  isolation: isolate !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-items: start !important;
  justify-items: center !important;
  width: 100% !important;
  max-width: none !important;
  min-height: clamp(520px, 52vw, 680px) !important;
  margin: clamp(24px, 3.4vw, 48px) auto clamp(68px, 7vw, 96px) !important;
  overflow: visible !important;
}

body.single-post .ef-pmpro-preview-stack.pmpro-no-access > :not(.ef-pmpro-preview):not(.pmpro) {
  display: none !important;
}

body.single-post .ef-pmpro-preview-stack.pmpro-no-access .ef-pmpro-preview {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 50% !important;
  right: auto !important;
  z-index: 1 !important;
  width: min(calc(100vw - 80px), 1400px) !important;
  max-width: min(calc(100vw - 80px), 1400px) !important;
  min-width: min(calc(100vw - 80px), 1080px) !important;
  transform: translateX(-50%) !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 8px 42px 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  color: rgba(45, 41, 38, .48) !important;
  font-family: Merriweather, Georgia, serif !important;
  font-size: 18px !important;
  line-height: 1.9 !important;
  text-align: left !important;
  filter: blur(2.45px) !important;
  opacity: .76 !important;
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.48) 10%, rgba(0,0,0,.90) 28%, rgba(0,0,0,.86) 58%, rgba(0,0,0,.42) 82%, rgba(0,0,0,0) 100%) !important;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.48) 10%, rgba(0,0,0,.90) 28%, rgba(0,0,0,.86) 58%, rgba(0,0,0,.42) 82%, rgba(0,0,0,0) 100%) !important;
}

body.single-post .ef-pmpro-preview-stack.pmpro-no-access .ef-pmpro-preview p {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
}

body.single-post .ef-pmpro-preview-stack.pmpro-no-access .ef-pmpro-preview p:nth-child(n+7) {
  display: none !important;
}

body.single-post .ef-pmpro-preview-stack.pmpro-no-access .ef-pmpro-preview .jeg_post,
body.single-post .ef-pmpro-preview-stack.pmpro-no-access .ef-pmpro-preview .jeg_postblock,
body.single-post .ef-pmpro-preview-stack.pmpro-no-access .ef-pmpro-preview .jeg_related,
body.single-post .ef-pmpro-preview-stack.pmpro-no-access .ef-pmpro-preview .jeg_post_related,
body.single-post .ef-pmpro-preview-stack.pmpro-no-access .ef-pmpro-preview .jnews_related_post,
body.single-post .ef-pmpro-preview-stack.pmpro-no-access .ef-pmpro-preview .jnews_inline_related_post_wrapper,
body.single-post .ef-pmpro-preview-stack.pmpro-no-access .ef-pmpro-preview .jnews_inline_related_post,
body.single-post .ef-pmpro-preview-stack.pmpro-no-access .ef-pmpro-preview .sharedaddy,
body.single-post .ef-pmpro-preview-stack.pmpro-no-access .ef-pmpro-preview .jeg_share_button {
  display: none !important;
}

body.single-post .ef-pmpro-preview-stack.pmpro-no-access > .pmpro,
body.single-post .ef-pmpro-preview-stack.pmpro-no-access .pmpro {
  position: relative !important;
  z-index: 3 !important;
  display: flex !important;
  justify-content: center !important;
  width: min(100%, 700px) !important;
  max-width: 700px !important;
  margin: clamp(34px, 4vw, 56px) auto 0 !important;
  padding: 0 !important;
}

body.single-post .ef-pmpro-preview-stack.pmpro-no-access .pmpro_card.pmpro_content_message,
body.single-post .pmpro_card.pmpro_content_message {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  width: 100% !important;
  max-width: 700px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 1px solid rgba(45, 41, 38, .08) !important;
  border-radius: 20px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.90)), rgba(237,237,219,.32) !important;
  color: #2D2926 !important;
  box-shadow: 0 30px 80px rgba(45, 41, 38, .14), 0 12px 30px rgba(45, 41, 38, .09), inset 0 1px 0 rgba(255, 255, 255, .92) !important;
  backdrop-filter: blur(18px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.08) !important;
  transform: none !important;
  float: none !important;
  clear: both !important;
}

body.single-post .ef-pmpro-preview-stack.pmpro-no-access .pmpro_card.pmpro_content_message::before,
body.single-post .ef-pmpro-preview-stack.pmpro-no-access .pmpro_card.pmpro_content_message::after,
body.single-post .pmpro_card.pmpro_content_message::before,
body.single-post .pmpro_card.pmpro_content_message::after {
  content: none !important;
  display: none !important;
}

body.single-post .ef-pmpro-preview-stack.pmpro-no-access .pmpro_card_content,
body.single-post .pmpro_card.pmpro_content_message .pmpro_card_content {
  display: block !important;
  padding: 30px 40px 22px !important;
  color: #2D2926 !important;
  font-family: Merriweather, Georgia, serif !important;
  text-align: left !important;
}

body.single-post .pmpro_card.pmpro_content_message .pmpro_card_content::before {
  content: none !important;
  display: none !important;
}

body.single-post .ef-pmpro-kicker {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  margin: 0 0 14px !important;
  padding: 6px 12px !important;
  border: 1px solid rgba(218, 43, 31, .16) !important;
  border-radius: 999px !important;
  background: rgba(218, 43, 31, .07) !important;
  color: #DA2B1F !important;
  font-family: Inter, Jost, Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

body.single-post .ef-pmpro-title {
  max-width: 100% !important;
  margin: 0 0 14px !important;
  color: #2D2926 !important;
  font-family: Merriweather, Georgia, serif !important;
  font-size: clamp(26px, 2.4vw, 34px) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  letter-spacing: -.025em !important;
}

body.single-post .ef-pmpro-copy {
  max-width: 48em !important;
  margin: 0 0 24px !important;
  color: rgba(45, 41, 38, .78) !important;
  font-family: Merriweather, Georgia, serif !important;
  font-size: 16px !important;
  line-height: 1.72 !important;
}

body.single-post .ef-pmpro-actions,
body.single-post .ef-pmpro-preview-stack.pmpro-no-access .ef-pmpro-actions,
body.single-post .pmpro_card.pmpro_content_message .ef-pmpro-actions {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 28px 0 0 !important;
  text-align: center !important;
}

body.single-post .ef-pmpro-primary,
body.single-post .ef-pmpro-preview-stack.pmpro-no-access .ef-pmpro-primary,
body.single-post .ef-pmpro-preview-stack.pmpro-no-access .pmpro_card_content a.ef-pmpro-primary,
body.single-post .pmpro_card.pmpro_content_message .ef-pmpro-primary,
body.single-post .pmpro_card.pmpro_content_message .pmpro_card_content a.ef-pmpro-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 190px !important;
  min-height: 46px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 13px 28px !important;
  border: 1px solid #DA2B1F !important;
  border-radius: 999px !important;
  background: #DA2B1F !important;
  background-image: none !important;
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(218, 43, 31, .20) !important;
  font-family: Inter, Jost, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: .05em !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  transform: none !important;
}

body.single-post .ef-pmpro-primary:hover,
body.single-post .ef-pmpro-primary:focus {
  background: #b91f17 !important;
  border-color: #b91f17 !important;
  color: #fff !important;
  box-shadow: 0 18px 36px rgba(218, 43, 31, .26) !important;
  text-decoration: none !important;
}

body.single-post .ef-pmpro-login,
body.single-post .ef-pmpro-preview-stack.pmpro-no-access .ef-pmpro-login,
body.single-post .pmpro_card.pmpro_content_message .ef-pmpro-login {
  display: flex !important;
  align-items: baseline !important;
  justify-content: flex-end !important;
  gap: 5px !important;
  width: auto !important;
  margin: 26px -40px -22px !important;
  padding: 15px 40px 16px !important;
  border-top: 1px solid rgba(218, 43, 31, .22) !important;
  background: rgba(237, 237, 219, .34) !important;
  color: rgba(45, 41, 38, .68) !important;
  font-family: Inter, Jost, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  text-align: right !important;
}

body.single-post .ef-pmpro-login a,
body.single-post .ef-pmpro-login a:link,
body.single-post .ef-pmpro-login a:visited,
body.single-post .ef-pmpro-preview-stack.pmpro-no-access .ef-pmpro-login a,
body.single-post .ef-pmpro-preview-stack.pmpro-no-access .ef-pmpro-login a:link,
body.single-post .ef-pmpro-preview-stack.pmpro-no-access .ef-pmpro-login a:visited,
body.single-post .pmpro_card.pmpro_content_message .ef-pmpro-login a,
body.single-post .pmpro_card.pmpro_content_message .ef-pmpro-login a:link,
body.single-post .pmpro_card.pmpro_content_message .ef-pmpro-login a:visited {
  display: inline !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(45, 41, 38, .82) !important;
  font-family: Inter, Jost, Arial, sans-serif !important;
  font-size: inherit !important;
  font-weight: 800 !important;
  line-height: inherit !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px !important;
  text-align: inherit !important;
  transform: none !important;
}

body.single-post .ef-pmpro-login a:hover,
body.single-post .ef-pmpro-login a:focus,
body.single-post .ef-pmpro-preview-stack.pmpro-no-access .ef-pmpro-login a:hover,
body.single-post .ef-pmpro-preview-stack.pmpro-no-access .ef-pmpro-login a:focus,
body.single-post .pmpro_card.pmpro_content_message .ef-pmpro-login a:hover,
body.single-post .pmpro_card.pmpro_content_message .ef-pmpro-login a:focus {
  color: #DA2B1F !important;
  background: transparent !important;
  box-shadow: none !important;
  text-decoration-color: #DA2B1F !important;
}

body.single-post .pmpro_card.pmpro_content_message:has(.ef-pmpro-login) .pmpro_card_actions,
body.single-post .ef-pmpro-preview-stack.pmpro-no-access .pmpro_card.pmpro_content_message:has(.ef-pmpro-login) .pmpro_card_actions {
  display: none !important;
}

body.single-post .ef-pmpro-preview-stack.pmpro-no-access .jnews_inline_related_post_wrapper,
body.single-post .ef-pmpro-preview-stack.pmpro-no-access .jnews_inline_related_post,
body.single-post .pmpro_card.pmpro_content_message .jnews_inline_related_post_wrapper,
body.single-post .pmpro_card.pmpro_content_message .jnews_inline_related_post {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.jnews-dark-mode.single-post .ef-pmpro-preview-stack.pmpro-no-access .pmpro_card.pmpro_content_message,
body.jnews-dark-mode.single-post .pmpro_card.pmpro_content_message {
  border-color: rgba(237, 237, 219, .12) !important;
  background: linear-gradient(180deg, rgba(45, 41, 38, .94), rgba(28, 28, 30, .90)), rgba(0, 0, 0, .42) !important;
  color: #EDEDDB !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .38), 0 12px 30px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .06) !important;
}

body.jnews-dark-mode.single-post .ef-pmpro-title,
body.jnews-dark-mode.single-post .pmpro_card.pmpro_content_message .pmpro_card_content {
  color: #EDEDDB !important;
}

body.jnews-dark-mode.single-post .ef-pmpro-copy {
  color: rgba(237, 237, 219, .78) !important;
}

body.jnews-dark-mode.single-post .ef-pmpro-login {
  border-top-color: rgba(218, 43, 31, .26) !important;
  background: rgba(237, 237, 219, .06) !important;
  color: rgba(237, 237, 219, .70) !important;
}

body.jnews-dark-mode.single-post .ef-pmpro-login a {
  color: rgba(237, 237, 219, .86) !important;
}

body.jnews-dark-mode.single-post .ef-pmpro-login a:hover,
body.jnews-dark-mode.single-post .ef-pmpro-login a:focus {
  color: #DA2B1F !important;
}

@media (max-width: 782px) {
  body.single-post .ef-pmpro-preview-stack.pmpro-no-access {
    min-height: 500px !important;
    margin-top: 24px !important;
    margin-bottom: 58px !important;
  }

  body.single-post .ef-pmpro-preview-stack.pmpro-no-access .ef-pmpro-preview {
    left: 50% !important;
    right: auto !important;
    width: calc(100vw - 30px) !important;
    max-width: calc(100vw - 30px) !important;
    min-width: 0 !important;
    transform: translateX(-50%) !important;
    padding: 8px 12px 0 !important;
    font-size: 15px !important;
    line-height: 1.76 !important;
    filter: blur(2.8px) !important;
    opacity: .64 !important;
  }

  body.single-post .ef-pmpro-preview-stack.pmpro-no-access > .pmpro,
  body.single-post .ef-pmpro-preview-stack.pmpro-no-access .pmpro {
    width: calc(100% - 30px) !important;
    max-width: calc(100% - 30px) !important;
    margin-top: 28px !important;
  }

  body.single-post .ef-pmpro-preview-stack.pmpro-no-access .pmpro_card.pmpro_content_message,
  body.single-post .pmpro_card.pmpro_content_message {
    max-width: calc(100vw - 30px) !important;
    border-radius: 18px !important;
  }

  body.single-post .ef-pmpro-preview-stack.pmpro-no-access .pmpro_card_content,
  body.single-post .pmpro_card.pmpro_content_message .pmpro_card_content {
    padding: 26px 20px 20px !important;
  }

  body.single-post .ef-pmpro-kicker {
    margin-bottom: 14px !important;
    font-size: 11px !important;
  }

  body.single-post .ef-pmpro-title {
    font-size: clamp(26px, 7vw, 34px) !important;
    line-height: 1.12 !important;
  }

  body.single-post .ef-pmpro-copy {
    font-size: 19px !important;
    line-height: 1.7 !important;
  }

  body.single-post .ef-pmpro-actions {
    margin-top: 26px !important;
  }

  body.single-post .ef-pmpro-primary,
  body.single-post .ef-pmpro-preview-stack.pmpro-no-access .ef-pmpro-primary,
  body.single-post .ef-pmpro-preview-stack.pmpro-no-access .pmpro_card_content a.ef-pmpro-primary,
  body.single-post .pmpro_card.pmpro_content_message .ef-pmpro-primary,
  body.single-post .pmpro_card.pmpro_content_message .pmpro_card_content a.ef-pmpro-primary {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 54px !important;
    font-size: 15px !important;
  }

  body.single-post .ef-pmpro-login,
  body.single-post .ef-pmpro-preview-stack.pmpro-no-access .ef-pmpro-login,
  body.single-post .pmpro_card.pmpro_content_message .ef-pmpro-login {
    justify-content: center !important;
    text-align: center !important;
    margin: 24px -20px -20px !important;
    padding: 16px 20px 17px !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
  }

  .pmpro .pmpro_btn:not(.pmpro_btn-plain),
  .pmpro a.pmpro_btn:not(.pmpro_btn-plain),
  .pmpro button.pmpro_btn:not(.pmpro_btn-plain),
  .pmpro .pmpro_btn.pmpro_btn-submit,
  .pmpro_login_wrap button:not(.pmpro_btn-plain),
  .pmpro_login_wrap a.pmpro_btn:not(.pmpro_btn-plain),
  .pmpro_checkout button:not(.pmpro_btn-plain),
  .pmpro_checkout a.pmpro_btn:not(.pmpro_btn-plain),
  .pmpro_member_profile_edit_wrap a.pmpro_btn:not(.pmpro_btn-plain),
  .pmpro_account a.pmpro_btn:not(.pmpro_btn-plain),
  .pmpro input[type="submit"],
  .pmpro_login_wrap input[type="submit"],
  .pmpro_checkout input[type="submit"],
  .pmpro_form input[type="submit"],
  #pmpro_btn-submit {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 18px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pmpro .pmpro_btn,
  .pmpro .pmpro_btn::before,
  .pmpro input[type="submit"],
  body.single-post .ef-pmpro-primary,
  body.single-post .ef-pmpro-login a {
    transition: none !important;
    transform: none !important;
  }
}

/* ==========================================================================
   EF PMPro Restricted Content Overlay — final background/card polish
   contract_id=ef_pmpro.restricted_content_overlay_style.v1
   check_id=ef_pmpro.restricted_content_final_background_card_polish
   ========================================================================== */

/* Wider desktop card to avoid FAN/VIP title wrapping unnecessarily. */
body.single-post .ef-pmpro-preview-stack.pmpro-no-access > .pmpro,
body.single-post .ef-pmpro-preview-stack.pmpro-no-access .pmpro {
  width: min(100%, 760px) !important;
  max-width: 760px !important;
}

body.single-post .ef-pmpro-preview-stack.pmpro-no-access .pmpro_card.pmpro_content_message,
body.single-post .pmpro_card.pmpro_content_message {
  max-width: 760px !important;
}

/* Slightly calmer editorial background: present, but not too readable. */
body.single-post .ef-pmpro-preview-stack.pmpro-no-access .ef-pmpro-preview {
  width: min(calc(100vw - 80px), 1400px) !important;
  max-width: min(calc(100vw - 80px), 1400px) !important;
  min-width: min(calc(100vw - 80px), 1080px) !important;

  color: rgba(45, 41, 38, .40) !important;
  filter: blur(3px) !important;
  opacity: .66 !important;

  mask-image: linear-gradient(
    180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,.38) 8%,
    rgba(0,0,0,.84) 24%,
    rgba(0,0,0,.82) 68%,
    rgba(0,0,0,.32) 90%,
    rgba(0,0,0,0) 100%
  ) !important;
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,.38) 8%,
    rgba(0,0,0,.84) 24%,
    rgba(0,0,0,.82) 68%,
    rgba(0,0,0,.32) 90%,
    rgba(0,0,0,0) 100%
  ) !important;
}

/* Keep mobile card controlled. */
@media (max-width: 782px) {
  body.single-post .ef-pmpro-preview-stack.pmpro-no-access > .pmpro,
  body.single-post .ef-pmpro-preview-stack.pmpro-no-access .pmpro {
    width: calc(100% - 30px) !important;
    max-width: calc(100% - 30px) !important;
  }

  body.single-post .ef-pmpro-preview-stack.pmpro-no-access .ef-pmpro-preview {
    width: calc(100vw - 30px) !important;
    max-width: calc(100vw - 30px) !important;
    min-width: 0 !important;
    filter: blur(3px) !important;
    opacity: .60 !important;
  }
}
