/* MAI subpage design — 2026-11-05. Shared with the homepage; no behavior changes. */
body:not(.home),body:not(.home) :is(.site,.site-content,.content-bg,.site-main,.entry,.entry-hero,.site-header,.site-footer){background-color:#FBFAF5!important;color:#1D402F}
body:not(.home) #wrapper{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body:not(.home) #wrapper :is(h1,h2,h3,h4,h5,h6){font-family:Lora,Georgia,serif;color:#1D402F;font-weight:500;letter-spacing:-.035em;line-height:1.25}
body:not(.home) .site-header .site-title{font-family:Lora,Georgia,serif;font-size:25px;line-height:1.2;max-width:340px;font-weight:500;letter-spacing:-.035em}
body:not(.home) .site-header .main-navigation a{font-size:14px;font-weight:600;color:#1D402F}
body:not(.home) .site-header{border-bottom:1px solid #DEDFD5}
body:not(.home) .entry-content{font-size:17px;line-height:1.75}
body:not(.home) .entry-content :is(h2,h3){margin-bottom:16px}
body:not(.home) .entry-content h2{font-size:clamp(27px,2.6vw,34px)}
body:not(.home) .entry-content h3{font-size:clamp(22px,2vw,26px)}
body:not(.home) a{text-underline-offset:4px}
body:not(.home) #wrapper :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #606A39!important;outline-offset:4px}
body:not(.home) :is(.wp-element-button,.wp-block-button__link,.mai-button,.mai-macro-button,.mail-member-button,.pms-form input[type=submit],.contact-form button){border-radius:8px!important;min-height:48px;font-weight:600;font-size:16px;line-height:1.5}
body:not(.home) :is(.wp-block-buttons,.mai-actions){gap:12px}
body.page:not(.home) .content-container{display:block;max-width:1160px;padding-inline:24px;margin-inline:auto}
body.page:not(.home) #secondary{display:none}
body.page:not(.home) .content-area{margin-block:28px 64px}
body.page:not(.home) .entry-content-wrap{padding:0!important}
body.page:not(.home) .entry{box-shadow:none;margin-inline:0}
body.page:not(.home) .entry-hero-container-inner{background:transparent;padding:0}
body.page:not(.home) .entry-hero .hero-container{max-width:1160px;min-height:0;padding:36px 24px 12px;justify-content:flex-start}
body.page:not(.home) .entry-hero .entry-header{min-height:0;text-align:left;max-width:850px;margin:0}
body.page:not(.home) .entry-hero h1{font-size:clamp(32px,3.5vw,44px);margin:0;line-height:1.2}
body.page:has(.mai-subhero) .entry-hero{display:none}
body.page:not(.home) .entry-content>.wp-block-group{margin-block:0 32px;max-width:100%}
body.page:not(.home) .entry-content>.wp-block-group.has-background:not(.mai-subhero){border:1px solid #DEDFD5}
body.page:not(.home) .entry-content>.wp-block-heading{margin-top:42px}
body.page:not(.home) .entry-content>.wp-block-paragraph{max-width:850px}
body.page:not(.home) .mai-redesign{background:#FBFAF5!important;padding:0;max-width:1112px!important}
body.page:not(.home) .mai-subhero{background:var(--wp--preset--color--soft-sage,#E0E7D8)!important;border:0;border-radius:17px;overflow:hidden;margin:0 0 34px!important;padding:0!important}
body.page:not(.home) .mai-subhero .mai-subhero-layout{display:grid!important;grid-template-columns:1.08fr 1fr;gap:0!important;align-items:stretch;margin:0!important;max-width:none}
body.page:not(.home) .mai-subhero .mai-subhero-copy{padding:38px 40px;align-self:center;min-width:0;margin:0!important}
body.page:not(.home) .mai-subhero .mai-subhero-copy>.wp-block-group__inner-container{max-width:none}
body.page:not(.home) .mai-subhero .mai-subhero-kicker{font-family:Inter,sans-serif;font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;line-height:1.8;margin:0 0 20px!important}
body.page:not(.home) .mai-subhero h1{font-size:clamp(34px,3.6vw,48px);line-height:1.16;margin:0 0 20px!important}
body.page:not(.home) .mai-subhero p:not(.mai-subhero-kicker){font-size:16px;line-height:1.75;margin:0 0 20px}
body.page:not(.home) .mai-subhero .mai-subhero-note{font-size:13px!important;line-height:1.65!important;margin:18px 0 0!important}
body.page:not(.home) .mai-subhero .wp-block-buttons{margin:24px 0 0;align-items:center}
body.page:not(.home) .mai-subhero .wp-block-button__link{padding:12px 18px;font-size:15px}
body.page:not(.home) .mai-subhero .is-style-outline .wp-block-button__link{background:transparent!important;color:#1D402F!important;border:1px solid #606A39!important}
body.page:not(.home) .mai-subhero .mai-subhero-visual{min-width:0;min-height:350px;position:relative;margin:0!important;overflow:hidden}
body.page:not(.home) .mai-subhero .mai-subhero-visual figure{height:100%;width:100%;margin:0;position:absolute;inset:0}
body.page:not(.home) .mai-subhero .mai-subhero-visual img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;aspect-ratio:auto;border-radius:0}
body:not(.home) :is(.mai-eyebrow,.mail-eyebrow){font-size:11px;font-weight:700;line-height:1.7;letter-spacing:.14em}
body:not(.home) .mai-discovery{border-color:#DEDFD5;padding:16px 0 26px}
body:not(.home) .mai-search{max-width:850px;margin-bottom:0}
body:not(.home) .mai-search input[type=search]{border:1px solid #DEDFD5;border-right:0;border-radius:9px 0 0 9px;min-height:54px}
body:not(.home) .mai-search button{border-radius:0 9px 9px 0;font-size:16px}
body:not(.home) .mai-filter-panel{border:1px solid #DEDFD5!important;border-radius:14px;padding:28px;background:#FFFFFF!important}
body:not(.home) .mai-chip-list a{border-radius:24px;border-color:#DEDFD5!important;min-height:48px;padding:10px 17px}
body:not(.home) .mai-directory-list .wp-block-post-template{gap:26px!important}
body:not(.home) .mai-directory-list .wp-block-post-template>li{background:#FFFFFF!important;border:1px solid #DEDFD5;border-radius:13px;overflow:hidden;padding:0 0 16px;display:flex;flex-direction:column}
body:not(.home) .mai-directory-list .wp-block-post-featured-image{margin:0 0 18px!important;border-radius:0;aspect-ratio:4/3}
body:not(.home) .mai-directory-list .wp-block-post-title{font-size:23px;line-height:1.35;padding:0 20px;margin:0 0 10px}
body:not(.home) .mai-directory-list .wp-block-post-template>li:not(:has(.wp-block-post-featured-image))::before{content:"From Mel’s kitchen";font-family:Lora,Georgia,serif;font-size:19px;font-weight:400;letter-spacing:0;text-transform:none;display:flex;align-items:center;justify-content:center;min-height:112px;padding:24px;margin:0 0 18px;border:0;background:#F4F3EC;color:#1D402F}
body:not(.home) .mai-directory-list .mai-recipe-badges{padding-inline:20px}
body:not(.home) .mai-new-groups article{border:1px solid #DEDFD5;border-radius:13px;background:#FFFFFF;padding:28px}
body:not(.home) .mai-planner-banner{background:#E0E7D8!important;border-radius:16px;padding:34px}
body:is(.page-id-222,.page-id-223) .entry-content>.wp-block-group:not(.mai-subhero){padding:32px!important}
body:is(.page-id-222,.page-id-223) .entry-content>.wp-block-group:not(.mai-subhero) .wp-block-columns{gap:22px;margin:0}
body:is(.page-id-222,.page-id-223) .entry-content>.wp-block-group:not(.mai-subhero) .wp-block-column{padding:24px;background:#FFFFFF;border:1px solid #DEDFD5;border-radius:12px;display:flex;flex-direction:column;min-width:0}
body:is(.page-id-222,.page-id-223) .entry-content>.wp-block-group:not(.mai-subhero) .wp-block-column .wp-block-buttons{margin-top:auto;padding-top:12px}
body:is(.page-id-222,.page-id-223) .entry-content>.wp-block-group:not(.mai-subhero) .wp-block-column p{font-size:16px}
body.page-id-147 .entry-content>.wp-block-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;list-style:none;padding:0;margin:24px 0 42px;counter-reset:guide}
body.page-id-147 .entry-content>.wp-block-list>li{list-style:none;background:#FFFFFF;border:1px solid #DEDFD5;border-radius:12px;padding:22px;margin:0;font-size:15px;line-height:1.7;counter-increment:guide}
body.page-id-147 .entry-content>.wp-block-list>li:before{content:counter(guide,decimal-leading-zero);display:block;color:#506052;font-size:12px;margin-bottom:12px}
body.page-id-147 .entry-content>.wp-block-list>li strong{display:block;font-size:19px;margin-bottom:6px}
body.page-id-147 .entry-content>.wp-block-list>li a{min-height:44px;display:inline-flex;align-items:center}
body.page-id-147 .wp-block-post-template{gap:22px}
body.page-id-147 .wp-block-post-template>li{padding:28px;background:#FFFFFF;border:1px solid #DEDFD5;border-radius:13px}
body.page-id-147 .wp-block-post-title{font-size:25px;line-height:1.35;margin-top:0}
body.page-id-147 .wp-block-post-excerpt{font-size:16px}
body:not(.home) .mail-member-nav{display:flex;flex-wrap:wrap;gap:8px;border:0;margin:0 0 22px;padding:0}
body:not(.home) .mail-member-nav a{display:inline-flex;align-items:center;min-height:46px;padding:9px 16px;background:#FFFFFF;border:1px solid #DEDFD5;border-radius:30px;text-decoration:none;font-size:14px}
body:not(.home) .mail-member-nav a:hover{border-color:#606A39}
body:not(.home) :is(.mail-plan-grid,.mail-pricing-grid){gap:22px;margin:28px 0 42px}
body:not(.home) :is(.mail-plan-card,.mail-price-card){border:1px solid #DEDFD5!important;border-radius:14px;background:#FFFFFF!important;padding:28px;box-shadow:none}
body:not(.home) .mail-plan-card h3{font-size:27px;line-height:1.25}
body:not(.home) .mail-plan-card p{font-size:16px;line-height:1.7}
body:not(.home) .mail-plan-card .mail-eyebrow{font-size:11px}
body:not(.home) .mail-price-card.mail-best{border:2px solid #606A39!important}
body:not(.home) .mail-price-card .mail-price{font-family:Lora,Georgia,serif;font-size:44px;letter-spacing:-.035em}
body:not(.home) .mail-plan-flow{gap:20px;margin:28px 0 40px}
body:not(.home) .mail-plan-flow>section{background:#FFFFFF;border:1px solid #DEDFD5;border-radius:12px;padding:26px}
body:not(.home) .mail-plan-flow h3{font-size:23px}
body:not(.home) .mail-plan-flow p{font-size:16px}
body:not(.home) .mail-plan-hero{background:#E0E7D8;border:0;border-radius:16px;padding:34px;margin:28px 0}
body:not(.home) .mail-plan-faq{background:#FFFFFF;border:1px solid #DEDFD5;border-radius:14px;padding:30px;margin:38px 0}
body:not(.home) .mail-plan-faq summary{padding:16px 0;min-height:48px;font-size:17px}
body:not(.home) :is(.mail-member-box,.mail-consent){border-radius:14px;border-color:#DEDFD5;padding:28px}
body.page-id-2016 .entry-content>.mai-macro{max-width:900px;border:1px solid #DEDFD5;border-radius:16px;padding:36px;margin:0 auto;background:#FFFFFF}
body.page-id-2016 .mai-macro>h2{font-size:34px;max-width:600px}
body.page-id-2016 .mai-macro-intro{font-size:13px;color:#506052}
body:not(.home) .mai-macro .mai-goal-help{margin-top:14px}
body:not(.home) #mai-macro-planner{max-width:1112px}
body:not(.home) #mai-macro-planner .mai-flow-intro{background:#E0E7D8;border:0;border-radius:16px;padding:34px;margin:0 0 24px}
body:not(.home) #mai-macro-planner .mai-flow-intro h2{font-family:Lora,Georgia,serif;font-size:clamp(30px,3.2vw,42px);font-weight:500;line-height:1.2}
body:not(.home) #mai-macro-planner .mai-flow-intro p{max-width:700px}
body:not(.home) #mai-macro-planner .mai-step-nav button{border-radius:12px;padding:18px;font-size:16px;min-height:80px}
body:not(.home) #mai-macro-planner .mai-dashboard{background:#FFFFFF;border:1px solid #DEDFD5;border-radius:14px;padding:28px}
body:is(.page-id-488,.page-id-1618,.page-id-1619,.page-id-1620,.page-id-1617,.page-id-489,.page-id-490,.page-id-1616) .content-container{max-width:920px}
body:is(.page-id-488,.page-id-1618,.page-id-1619,.page-id-1620,.page-id-489,.page-id-490,.page-id-1616) .entry-content{background:#FFFFFF;border:1px solid #DEDFD5;border-radius:16px;padding:32px}
body:not(.home) .entry-content :is(.pms-form,.contact-form) :is(input:not([type=checkbox],[type=radio],[type=hidden],[type=submit]),select,textarea){border:1px solid #BBC2B3;border-radius:8px;background:#FFFFFF;color:#1D402F;min-height:48px;font-size:16px;max-width:100%}
body:not(.home) .entry-content :is(.pms-form,.contact-form) label{font-size:16px;font-weight:600}
body:not(.home) .entry-content :is(.pms-form,.contact-form) textarea{min-height:160px}
body.single-post .entry-content-wrap{background:#FFFFFF;border:1px solid #DEDFD5;border-radius:16px;box-shadow:none}
body.single-post :is(.post-thumbnail img,.post-thumbnail-inner img){border-radius:14px}
body.single-post .entry-title{font-size:clamp(32px,3.8vw,46px);line-height:1.18}
body.archive .entry-hero .hero-container{min-height:0;padding-block:42px}
body.archive .entry-hero .entry-title{font-size:clamp(32px,3.8vw,46px)}
body:is(.archive,.search) .loop-entry{background:#FFFFFF!important;border:1px solid #DEDFD5;border-radius:14px;overflow:hidden;box-shadow:none}
body:is(.archive,.search) .loop-entry .entry-title{font-size:26px;line-height:1.3}
body:not(.home) .wp-block-query-pagination{gap:12px;padding:20px 0}
body:not(.home) .wp-block-query-pagination :is(a,span.page-numbers){display:inline-flex;min-width:44px;min-height:44px;align-items:center;justify-content:center}
@media(max-width:1024px){
 body.page:not(.home) .mai-subhero .mai-subhero-copy{padding:30px}
 body.page-id-147 .entry-content>.wp-block-list{grid-template-columns:repeat(2,minmax(0,1fr))}
 body:not(.home) :is(.mail-plan-grid,.mail-pricing-grid){gap:16px}
 body:not(.home) :is(.mail-plan-card,.mail-price-card){padding:22px}
}
@media(max-width:767px){
 body:not(.home) .site-header .site-title{font-size:22px;max-width:260px}
 body.page:not(.home) .content-container{padding-inline:20px}
 body.page:not(.home) .content-area{margin-block:22px 42px}
 body.page:not(.home) .entry-hero .hero-container{padding:28px 20px 0}
 body.page:not(.home) .entry-hero h1{font-size:32px}
 body:not(.home) .entry-content{font-size:16px;line-height:1.75}
 body.page:not(.home) .mai-subhero .mai-subhero-layout{grid-template-columns:1fr}
 body.page:not(.home) .mai-subhero .mai-subhero-copy{padding:28px}
 body.page:not(.home) .mai-subhero h1{font-size:35px;line-height:1.18}
 body.page:not(.home) .mai-subhero .mai-subhero-visual{min-height:230px;height:230px}
 body.page:not(.home) .mai-subhero .wp-block-buttons{gap:10px}
 body.page:not(.home) .mai-subhero p:not(.mai-subhero-kicker){font-size:16px}
 body.page:not(.home) .mai-subhero .wp-block-button{flex:1 1 auto}
 body.page:not(.home) .mai-subhero .wp-block-button__link{width:100%}
 body.page:not(.home) .mai-redesign{padding:0}
 body:not(.home) .mai-filter-panel{padding:22px 20px}
 body:not(.home) .mai-chip-list a{font-size:14px;padding-inline:13px}
 body:not(.home) .mai-directory-list .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
 body:not(.home) .mai-directory-list .wp-block-post-title{padding:0 14px;font-size:20px}
 body:not(.home) .mai-directory-list .wp-block-post-template>li:not(:has(.wp-block-post-featured-image))::before{font-size:16px;padding:18px 12px;min-height:98px}
 body:is(.page-id-222,.page-id-223) .entry-content>.wp-block-group:not(.mai-subhero){padding:22px!important}
 body:is(.page-id-222,.page-id-223) .entry-content>.wp-block-group:not(.mai-subhero) .wp-block-column{padding:22px}
 body.page-id-147 .entry-content>.wp-block-list{grid-template-columns:1fr;gap:14px}
 body.page-id-147 .wp-block-post-template{grid-template-columns:1fr!important}
 body.page-id-147 .wp-block-post-template>li{padding:24px}
 body:not(.home) :is(.mail-plan-grid,.mail-pricing-grid,.mail-plan-flow){grid-template-columns:1fr;gap:16px}
 body:not(.home) .mail-member-nav a{font-size:13px;padding:9px 12px}
 body:not(.home) :is(.mail-plan-faq,.mail-plan-hero,.mail-member-box,.mail-consent){padding:24px}
 body:not(.home) #mai-macro-planner .mai-flow-intro{padding:26px 22px}
 body:not(.home) #mai-macro-planner .mai-step-nav button{padding:16px;min-height:68px;text-align:left}
 body:not(.home) #mai-macro-planner .mai-dashboard{padding:22px}
 body.page-id-2016 .entry-content>.mai-macro{padding:24px 20px}
 body.page-id-2016 .mai-macro>h2{font-size:29px}
 body:is(.page-id-488,.page-id-1618,.page-id-1619,.page-id-1620,.page-id-489,.page-id-490,.page-id-1616) .entry-content{padding:24px 20px}
 body.single-post .entry-content-wrap{padding:24px 20px}
}
@media(max-width:380px){
 body.page:not(.home) .content-container{padding-inline:16px}
 body.page:not(.home) .mai-subhero .mai-subhero-copy{padding:24px}
 body.page:not(.home) .mai-subhero h1{font-size:32px}
 body:not(.home) .mai-directory-list .wp-block-post-template{grid-template-columns:1fr!important}
}
@media print{
 body:not(.home) .mai-subhero .mai-subhero-visual{display:none}
 body.page:not(.home) .mai-subhero .mai-subhero-layout{display:block!important}
 body.page:not(.home) .mai-subhero .mai-subhero-copy{padding:0}
 body:not(.home) :is(.entry-content,.entry-content-wrap,.mail-plan-card){border:0!important;box-shadow:none!important}
}
