/* PMPro membership pages — rendered via bgw-pages clean template (.bgw-pmpro-page).
   Palette-aware (tokens, follows light/dark), mobile friendly, cards match the Story cards (flat, no shadow). */

/* clean page shell */
.bgw-pmpro-page{background:var(--bg,#f3efe7);color:var(--text,#1a1714)}
.bgw-pmpro-inner{max-width:1180px;margin:0 auto;padding:clamp(40px,6vw,82px) 6vw clamp(56px,8vw,100px);box-sizing:border-box}
.bgw-pmpro-title{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:clamp(2rem,5vw,3.2rem);line-height:1.05;letter-spacing:-.01em;color:var(--text,#1a1714);margin:0 0 .6em}

/* recolor PMPro's own variables to our palette (its default accent is teal #0c3d54, base is white) */
.pmpro{
	--pmpro--color--accent:var(--accent,#9b2f2c);
	--pmpro--color--accent--variation:var(--accent2,#b24a47);
	--pmpro--color--contrast:var(--text,#1a1714);
	--pmpro--color--base:var(--bg,#fff);
	--pmpro--color--border--variation:var(--line,rgba(26,23,20,.14));
	font-family:'Inter',-apple-system,sans-serif;color:var(--text,#1a1714);max-width:none;width:100%}
.pmpro .pmpro_section,.pmpro .pmpro_form,.pmpro .pmpro_form_fields{max-width:none!important;width:100%}

/* cards: flat like the Story cards (.bgwa-card) — subtle surface, thin line, NO white, NO shadow */
.pmpro .pmpro_card{background:var(--surface,rgba(26,23,20,.025))!important;border:1px solid var(--line,var(--divider,rgba(26,23,20,.12)))!important;border-radius:10px!important;box-shadow:none!important;padding:28px 30px 26px;margin:0 0 22px}
.pmpro .pmpro_card_content{padding:0}

/* headings + body text (forced so dark mode stays readable) */
.pmpro,.pmpro p,.pmpro li,.pmpro .pmpro_card_content,.pmpro .pmpro_level_description_text,.pmpro .pmpro_level_cost_text{color:var(--text,#1a1714)!important}
.pmpro h1,.pmpro h2,.pmpro h3,.pmpro .pmpro_card_title,.pmpro .pmpro_form_heading,.pmpro .pmpro_form_legend{font-family:'Fraunces',Georgia,serif!important;font-weight:600!important;color:var(--text,#1a1714)!important;letter-spacing:-.01em}
.pmpro .pmpro_card_title{font-size:clamp(1.5rem,3.4vw,2rem);margin:0 0 .3em;line-height:1.1}
.pmpro .pmpro_form_heading{font-size:1.35rem;margin:0 0 16px}
.pmpro .pmpro_form_legend{font-size:1.12rem;margin:0 0 4px}
.pmpro strong{color:var(--text,#1a1714)}

/* labels + fields */
.pmpro .pmpro_form_label,.pmpro label{font-family:'Inter',-apple-system,sans-serif!important;font-size:13px;font-weight:600;letter-spacing:.02em;color:var(--text2,#4a443d)!important;display:block;margin-bottom:7px;opacity:1}
.pmpro .pmpro_form_field{margin-bottom:18px}
.pmpro input[type=text],.pmpro input[type=email],.pmpro input[type=password],.pmpro input[type=tel],.pmpro input[type=number],.pmpro select,.pmpro textarea{
	width:100%;box-sizing:border-box;min-height:50px;padding:13px 15px;font-size:16px;line-height:1.3;
	font-family:'Inter',-apple-system,sans-serif;color:var(--text,#1a1714)!important;background:var(--bg,#fff)!important;
	border:1px solid var(--line2,var(--divider,rgba(26,23,20,.22)))!important;border-radius:9px;
	transition:border-color .15s,box-shadow .15s;appearance:none;-webkit-appearance:none}
.pmpro input:focus,.pmpro select:focus,.pmpro textarea:focus{outline:none;border-color:var(--accent,#9b2f2c)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--accent,#9b2f2c) 22%,transparent)}
.pmpro input::placeholder{color:color-mix(in srgb,var(--text2,#4a443d) 55%,transparent)}

/* buttons */
.pmpro .pmpro_btn,.pmpro button,.pmpro input[type=submit]{font-family:'Inter',-apple-system,sans-serif;font-weight:600;font-size:16px;border-radius:9px;padding:15px 30px;cursor:pointer;border:1px solid transparent;transition:background .2s,transform .15s,color .2s}
.pmpro .pmpro_btn-submit-checkout,.pmpro .pmpro_btn-submit,.pmpro input[type=submit]{background:var(--accent,#9b2f2c)!important;color:#fff!important;border-color:var(--accent,#9b2f2c)!important}
.pmpro .pmpro_btn-submit-checkout:hover,.pmpro .pmpro_btn-submit:hover{background:var(--accent2,#b24a47)!important;transform:translateY(-1px)}
.pmpro .pmpro_btn-plain{background:none!important;border:0!important;color:var(--accent,#9b2f2c)!important;padding:6px 4px;font-weight:600}
.pmpro .pmpro_btn-plain:hover{color:var(--accent2,#b24a47)!important}
/* password toggle: show only the brick eye icon, no text (text kept for screen readers) */
.pmpro .pmpro_btn-password-toggle{color:var(--accent,#9b2f2c)!important;background:none!important;border:0!important;outline:none!important;box-shadow:none!important;padding:4px 6px!important;display:inline-flex;align-items:center;-webkit-tap-highlight-color:transparent}
.pmpro .pmpro_btn-password-toggle:hover,.pmpro .pmpro_btn-password-toggle:focus,.pmpro .pmpro_btn-password-toggle:focus-visible,.pmpro .pmpro_btn-password-toggle:active{background:none!important;border:0!important;outline:none!important;box-shadow:none!important;transform:none!important}
.pmpro .pmpro_btn-password-toggle svg{width:18px!important;height:18px!important}
.pmpro .pmpro_form_field-password-toggle-state{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}

/* links + messages */
.pmpro a{color:var(--accent,#9b2f2c);text-decoration:underline;text-underline-offset:2px}
.pmpro a:hover{color:var(--accent2,#b24a47)}
.pmpro a.pmpro_btn{text-decoration:none}
.pmpro .pmpro_message{border-radius:9px;border:1px solid var(--line,rgba(26,23,20,.14));color:var(--text,#1a1714)}

/* keep PMPro's free-level hidden sections hidden */
.pmpro #pmpro_billing_address_fields[style*="none"],.pmpro #pmpro_payment_information_fields[style*="none"]{display:none!important}

/* responsive */
@media(max-width:680px){
	.bgw-pmpro-inner{padding:34px 6vw 60px}
	.pmpro .pmpro_cols-2,.pmpro .pmpro_form_fields.pmpro_cols-2{display:block!important}
	.pmpro .pmpro_form_fields-inline{flex-wrap:wrap}
	.pmpro .pmpro_card{padding:22px 18px}
	.pmpro .pmpro_btn-submit-checkout,.pmpro .pmpro_card_actions .pmpro_btn{width:100%;text-align:center}
}
