/* Legacy membership notice presentation, scoped to PMPro's content card. */
.pmpro .pmpro_content_message:has(.membership_message_wrapper) {
 background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 0;
}
.pmpro .pmpro_content_message:has(.membership_message_wrapper) > .pmpro_card_content { padding: 0; }
.pmpro .membership_message_wrapper {
 padding: 30px 20px; background: #fcf9f0; border: 0; border-radius: 10px;
 color: #415674; font-size: 15px; line-height: 1.85; box-shadow: none;
}
/* Weighted above PMPro's ".pmpro .pmpro_card_content p:not(.pmpro_form_hint)" so the first line sits on the 30px padding. */
.pmpro .pmpro_card_content .membership_message_wrapper p:not(.pmpro_form_hint) { margin: 0 0 12px; }
.pmpro .pmpro_card_content .membership_message_wrapper p:not(.pmpro_form_hint):last-of-type { margin-bottom: 0; }
.pmpro .membership_message_wrapper .style-rt-btn {
 display: inline-flex; align-items: center; justify-content: center;
 margin-top: 10px; padding: 12px 20px; min-height: 44px;
 border: 0; border-radius: 5px; background: #f5a313; color: #fff;
 font-size: 14px; line-height: 1.5; font-weight: 600; text-decoration: none;
 box-shadow: none; transition: background-color .15s ease;
}
.pmpro .membership_message_wrapper .style-rt-btn:hover { background: #d98c08; color: #fff; text-decoration: none; }
/* Buttons placed by the client in the paywall Kadence Elements: same look unless a color is chosen in the editor. */
.pmpro .membership_message_wrapper .wp-block-buttons { margin-top: 10px; }
.pmpro .membership_message_wrapper .wp-block-button__link {
 display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; min-height: 44px;
 border-radius: 5px; font-size: 14px; line-height: 1.5; font-weight: 600; text-decoration: none; box-shadow: none;
}
.pmpro .membership_message_wrapper .wp-block-button__link:not(.has-background) { background: #f5a313; transition: background-color .15s ease; }
.pmpro .membership_message_wrapper .wp-block-button__link:not(.has-background):hover { background: #d98c08; }
.pmpro .membership_message_wrapper .wp-block-button__link:not(.has-text-color) { color: #fff; }
.pmpro .membership_message_wrapper .wp-block-button__link:focus-visible { outline: 2px solid #173d60; outline-offset: 3px; }
.pmpro .membership_message_wrapper .style-rt-btn:focus-visible { outline: 2px solid #173d60; outline-offset: 3px; }
@media(max-width:600px) {
 .pmpro .membership_message_wrapper { padding: 24px 20px; }
 .pmpro .membership_message_wrapper .style-rt-btn { max-width: 100%; text-align: center; }
}
