/*
 * MaishaThabiti Theme 2.0.0
 * Public site shell, ordinary WordPress content, navigation and common-page UI.
 * Entity component styling remains owned by the separate presentation plugin.
 */

:root{
    --mst-theme-ink:#111111;
    --mst-theme-ink-soft:#2d2d2d;
    --mst-theme-muted:#666666;
    --mst-theme-red:#a80000;
    --mst-theme-red-dark:#7d0000;
    --mst-theme-forest:#027212;
    --mst-theme-forest-dark:#00570d;
    --mst-theme-leaf:#4f8e58;
    --mst-theme-sand:#f3ede7;
    --mst-theme-sand-light:#faf6f2;
    --mst-theme-mist:#f7f7f5;
    --mst-theme-white:#ffffff;
    --mst-theme-bg:#ffffff;
    --mst-theme-border:rgba(17,17,17,.14);
    --mst-theme-border-strong:rgba(17,17,17,.28);
    --mst-theme-shadow:0 18px 50px rgba(0,0,0,.08);
    --mst-theme-shadow-small:0 8px 28px rgba(0,0,0,.07);
    --mst-theme-content:760px;
    --mst-theme-wide:1180px;
    --mst-theme-gutter:clamp(18px,4vw,32px);
    --mst-theme-radius:12px;
    --mst-theme-radius-small:7px;
    --mst-theme-nav-height:54px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:96px}
body{
    margin:0;
    background:var(--mst-theme-bg);
    color:var(--mst-theme-ink);
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    font-size:16px;
    line-height:1.65;
    text-rendering:optimizeLegibility;
    -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto}
figure{margin-left:0;margin-right:0}
a{color:var(--mst-theme-forest);text-decoration-thickness:.08em;text-underline-offset:.16em}
a:hover{color:var(--mst-theme-forest-dark)}
button,input,textarea,select{font:inherit}
button,input[type="submit"]{cursor:pointer}
:focus-visible{outline:3px solid rgba(40,92,67,.35);outline-offset:3px}
::selection{background:var(--mst-theme-sand);color:var(--mst-theme-ink)}

.screen-reader-text,
.mst-theme-skip-link:not(:focus){
    position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
    clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
.mst-theme-skip-link:focus{
    position:fixed;z-index:100000;top:12px;left:12px;padding:10px 14px;background:var(--mst-theme-white);
    color:var(--mst-theme-ink);border:2px solid var(--mst-theme-forest);border-radius:6px;
}

.mst-theme-site{min-height:100vh;display:flex;flex-direction:column}
.mst-theme-main{flex:1}
.mst-theme-main.mst-theme-wide{padding-bottom:80px}
.mst-theme-page-wide,.mst-theme-landing{padding-top:48px;padding-bottom:80px}
.mst-theme-content{width:min(var(--mst-theme-content),calc(100% - (var(--mst-theme-gutter) * 2)));margin:0 auto;padding:48px 0 80px}
.mst-theme-wide{width:min(var(--mst-theme-wide),calc(100% - (var(--mst-theme-gutter) * 2)));margin-left:auto;margin-right:auto}

/* Header and navigation */
.mst-theme-header{
    position:sticky;top:0;z-index:100;background:rgba(251,250,246,.96);border-bottom:1px solid var(--mst-theme-border);
    backdrop-filter:saturate(150%) blur(12px);
}
.mst-theme-header__inner{
    width:min(var(--mst-theme-wide),calc(100% - (var(--mst-theme-gutter) * 2)));min-height:var(--mst-theme-header-height);
    margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px;
}
.mst-theme-brand{display:flex;align-items:center;gap:14px;min-width:0}
.mst-theme-brand__logo{line-height:0}
.mst-theme-brand__logo .custom-logo{display:block;width:auto;max-height:48px}
.mst-theme-brand__name{color:var(--mst-theme-ink);font-size:1.25rem;font-weight:850;letter-spacing:-.025em;text-decoration:none}
.mst-theme-brand__tagline{display:none;margin:0;padding-left:14px;border-left:1px solid var(--mst-theme-border);max-width:300px;color:var(--mst-theme-muted);font-size:.78rem;line-height:1.4}

.mst-theme-nav-toggle{
    display:none;align-items:center;gap:9px;border:1px solid var(--mst-theme-border);background:var(--mst-theme-white);color:var(--mst-theme-ink);
    min-height:44px;padding:8px 12px;border-radius:8px;font-weight:750;
}
.mst-theme-nav-toggle__icon{width:19px;display:grid;gap:4px}
.mst-theme-nav-toggle__icon span{display:block;height:2px;background:currentColor;border-radius:2px;transition:transform .18s ease,opacity .18s ease}
.mst-theme-nav-toggle[aria-expanded="true"] .mst-theme-nav-toggle__icon span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.mst-theme-nav-toggle[aria-expanded="true"] .mst-theme-nav-toggle__icon span:nth-child(2){opacity:0}
.mst-theme-nav-toggle[aria-expanded="true"] .mst-theme-nav-toggle__icon span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

.mst-theme-primary-nav{display:flex;align-items:center;gap:22px}
.mst-theme-primary-nav ul{list-style:none;margin:0;padding:0}
.mst-theme-primary-nav__menu{display:flex;align-items:center;gap:4px}
.mst-theme-primary-nav__menu > li > a{display:flex;align-items:center;min-height:44px;padding:8px 10px;color:var(--mst-theme-ink);font-size:.94rem;font-weight:700;text-decoration:none;border-radius:7px}
.mst-theme-primary-nav__menu > li > a:hover,
.mst-theme-primary-nav__menu > li.current-menu-item > a,
.mst-theme-primary-nav__menu > li.current-menu-ancestor > a{background:var(--mst-theme-mist);color:var(--mst-theme-forest-dark)}
.mst-theme-primary-nav__menu .sub-menu{margin:0;padding:7px}
.mst-theme-primary-nav__menu .sub-menu a{display:block;padding:9px 10px;color:var(--mst-theme-ink);font-size:.9rem;line-height:1.35;text-decoration:none;border-radius:6px}
.mst-theme-primary-nav__menu .sub-menu a:hover{background:var(--mst-theme-mist)}

.mst-theme-header-search{position:relative}
.mst-theme-header-search > summary{
    list-style:none;display:flex;align-items:center;justify-content:center;min-height:42px;padding:8px 14px;border-radius:8px;
    background:var(--mst-theme-forest);color:var(--mst-theme-white);font-size:.9rem;font-weight:800;cursor:pointer;
}
.mst-theme-header-search > summary::-webkit-details-marker{display:none}
.mst-theme-header-search[open] > summary{background:var(--mst-theme-forest-dark)}
.mst-theme-header-search__panel{position:fixed;left:0;right:0;top:var(--mst-theme-header-height);padding:26px var(--mst-theme-gutter);background:var(--mst-theme-white);border-bottom:1px solid var(--mst-theme-border);box-shadow:var(--mst-theme-shadow-small)}
.mst-theme-header-search__inner{width:min(760px,100%);margin:0 auto}
.mst-theme-header-search__inner .mst-theme-eyebrow{margin:0 0 8px}


.admin-bar .mst-theme-header{top:32px}
.admin-bar .mst-theme-header-search__panel{top:calc(var(--mst-theme-header-height) + 32px)}
@media (max-width:782px){
    .admin-bar .mst-theme-header{top:46px}
    .admin-bar .mst-theme-header-search__panel{top:calc(var(--mst-theme-header-height) + 46px)}
}

/* Search */
.mst-theme-search-form{display:flex;align-items:stretch;width:100%;max-width:760px}
.mst-theme-search-form__field{
    min-width:0;flex:1;min-height:52px;padding:12px 16px;border:1px solid var(--mst-theme-border-strong);border-right:0;
    border-radius:9px 0 0 9px;background:var(--mst-theme-white);color:var(--mst-theme-ink);font-size:1rem;
}
.mst-theme-search-form__field::placeholder{color:#7c8981}
.mst-theme-search-form__field:focus{outline:3px solid rgba(40,92,67,.18);outline-offset:0;border-color:var(--mst-theme-forest)}
.mst-theme-search-form__button{
    min-height:52px;padding:12px 20px;border:1px solid var(--mst-theme-forest);border-radius:0 9px 9px 0;
    background:var(--mst-theme-forest);color:var(--mst-theme-white);font-weight:800;
}
.mst-theme-search-form__button:hover{background:var(--mst-theme-forest-dark);border-color:var(--mst-theme-forest-dark)}

/* Home */
.mst-theme-home-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#eef3ec 0%,#fbfaf6 52%,#f3ead8 100%);border-bottom:1px solid var(--mst-theme-border)}
.mst-theme-home-hero::after{content:"";position:absolute;width:480px;height:480px;right:-210px;top:-220px;border:1px solid rgba(40,92,67,.16);border-radius:50%;box-shadow:0 0 0 65px rgba(40,92,67,.025),0 0 0 130px rgba(40,92,67,.018)}
.mst-theme-home-hero__inner{position:relative;z-index:1;width:min(var(--mst-theme-wide),calc(100% - (var(--mst-theme-gutter) * 2)));margin:0 auto;padding:clamp(70px,10vw,130px) 0 clamp(64px,9vw,112px)}
.mst-theme-home-hero__copy{max-width:900px}
.mst-theme-eyebrow{margin:0 0 13px;color:var(--mst-theme-forest);font-size:.78rem;font-weight:850;letter-spacing:.09em;text-transform:uppercase}
.mst-theme-home-hero h1{max-width:860px;margin:0;font-size:clamp(2.7rem,6.4vw,5.6rem);line-height:.98;letter-spacing:-.052em;font-weight:850}
.mst-theme-home-hero__lede{max-width:760px;margin:24px 0 0;color:var(--mst-theme-ink-soft);font-size:clamp(1.12rem,2vw,1.38rem);line-height:1.55}
.mst-theme-home-search{max-width:760px;margin-top:34px;padding:9px;background:rgba(255,255,255,.82);border:1px solid rgba(23,35,29,.12);border-radius:13px;box-shadow:0 15px 45px rgba(23,35,29,.08)}
.mst-theme-home-search .mst-theme-search-form__field{min-height:58px;border:0;background:transparent;font-size:1.04rem}
.mst-theme-home-search .mst-theme-search-form__button{min-height:58px;border-radius:9px}
.mst-theme-search-hint{margin:7px 9px 2px;color:var(--mst-theme-muted);font-size:.82rem}

.mst-theme-home-path{padding:72px 0;background:var(--mst-theme-white);border-bottom:1px solid var(--mst-theme-border)}
.mst-theme-section__heading{max-width:700px;margin-bottom:28px}
.mst-theme-section__heading--centered{text-align:center;margin-left:auto;margin-right:auto}
.mst-theme-section__heading h2{margin:0;font-size:clamp(1.8rem,3.2vw,2.7rem);line-height:1.08;letter-spacing:-.035em}
.mst-theme-section__heading p:not(.mst-theme-eyebrow){margin:11px 0 0;color:var(--mst-theme-muted);font-size:1.05rem}
.mst-theme-step-grid{display:grid;grid-template-columns:1fr;gap:1px;background:var(--mst-theme-border);border:1px solid var(--mst-theme-border);border-radius:var(--mst-theme-radius);overflow:hidden}
.mst-theme-step-card{padding:26px;background:var(--mst-theme-white)}
.mst-theme-step-card > span{display:inline-flex;margin-bottom:38px;color:var(--mst-theme-leaf);font-size:.76rem;font-weight:850;letter-spacing:.06em}
.mst-theme-step-card h3{margin:0 0 8px;font-size:1.15rem}
.mst-theme-step-card p{margin:0;color:var(--mst-theme-muted);font-size:.94rem}
.mst-theme-home-sections{padding:20px 0 90px}
.mst-theme-section{padding:70px 0;border-bottom:1px solid var(--mst-theme-border)}
.mst-theme-section:last-child{border-bottom:0}
.mst-theme-link-grid{display:grid;grid-template-columns:1fr;gap:12px}
.mst-theme-link-card{position:relative;min-height:128px;padding:22px 52px 22px 22px;background:var(--mst-theme-white);border:1px solid var(--mst-theme-border);border-radius:var(--mst-theme-radius-small);color:var(--mst-theme-ink);text-decoration:none;box-shadow:0 1px 0 rgba(23,35,29,.02);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.mst-theme-link-card:hover{transform:translateY(-2px);border-color:rgba(40,92,67,.35);box-shadow:var(--mst-theme-shadow-small);color:var(--mst-theme-ink)}
.mst-theme-link-card__title{display:block;font-size:1.05rem;font-weight:800;line-height:1.25}
.mst-theme-link-card__description{display:block;margin-top:8px;color:var(--mst-theme-muted);font-size:.9rem;line-height:1.5}
.mst-theme-link-card__arrow{position:absolute;right:20px;top:20px;color:var(--mst-theme-forest);font-size:1.15rem}
.mst-theme-home-trust{display:grid;gap:30px;padding:74px clamp(24px,5vw,64px);margin-top:28px;background:#14271f;color:var(--mst-theme-white);border:0;border-radius:18px}
.mst-theme-home-trust .mst-theme-eyebrow{color:#9cbaa8}
.mst-theme-home-trust h2{margin:0;font-size:clamp(1.8rem,3.5vw,3rem);line-height:1.08;letter-spacing:-.035em}
.mst-theme-home-trust__copy p{margin:0 0 16px;color:#d7e1da;font-size:1.04rem}
.mst-theme-home-trust .mst-theme-text-link{color:var(--mst-theme-white);font-weight:800;text-decoration:none}

/* General pages */
.mst-theme-breadcrumbs{margin:0 0 32px;color:var(--mst-theme-muted);font-size:.82rem}
.mst-theme-breadcrumbs ol{display:flex;flex-wrap:wrap;gap:7px;list-style:none;margin:0;padding:0}
.mst-theme-breadcrumbs li{display:flex;align-items:center;gap:7px}
.mst-theme-breadcrumbs li:not(:last-child)::after{content:"/";color:#99a39c}
.mst-theme-breadcrumbs a{color:var(--mst-theme-muted);text-decoration:none}
.mst-theme-breadcrumbs a:hover{color:var(--mst-theme-forest)}
.mst-theme-entry__header{margin-bottom:36px}
.mst-theme-entry__header h1{margin:0;font-size:clamp(2.3rem,5vw,4.4rem);line-height:1.02;letter-spacing:-.047em}
.mst-theme-entry__header h2{margin:0;font-size:2rem;line-height:1.1}
.mst-theme-entry__lede{margin-top:18px;color:var(--mst-theme-muted);font-size:clamp(1.08rem,2vw,1.3rem);line-height:1.55}
.mst-theme-entry__lede p{margin:0}
.mst-theme-entry__featured{margin:0 0 42px}
.mst-theme-entry__featured img{display:block;width:100%;border-radius:var(--mst-theme-radius)}
.mst-theme-entry-meta{margin-bottom:14px;color:var(--mst-theme-muted);font-size:.82rem}
.mst-theme-entry-meta a{color:inherit}
.mst-theme-entry__footer{margin-top:42px;padding-top:22px;border-top:1px solid var(--mst-theme-border)}
.mst-theme-entry__tags{display:flex;flex-wrap:wrap;gap:8px}
.mst-theme-entry__tags a{display:inline-flex;padding:5px 9px;background:var(--mst-theme-mist);border-radius:99px;font-size:.8rem;text-decoration:none}

.mst-theme-prose{font-size:1.03rem;line-height:1.78}
.mst-theme-prose > *:first-child{margin-top:0}
.mst-theme-prose h2,.mst-theme-prose h3,.mst-theme-prose h4{color:var(--mst-theme-ink);line-height:1.18;letter-spacing:-.025em;scroll-margin-top:100px}
.mst-theme-prose h2{margin:2.5em 0 .65em;font-size:1.75rem}
.mst-theme-prose h3{margin:2em 0 .55em;font-size:1.32rem}
.mst-theme-prose h4{margin:1.8em 0 .45em;font-size:1.08rem}
.mst-theme-prose p{margin:0 0 1.2em}
.mst-theme-prose ul,.mst-theme-prose ol{margin:0 0 1.4em;padding-left:1.35em}
.mst-theme-prose li{margin:.36em 0}
.mst-theme-prose blockquote{margin:2em 0;padding:4px 0 4px 22px;border-left:4px solid var(--mst-theme-leaf);color:var(--mst-theme-ink-soft);font-family:Georgia,"Times New Roman",serif;font-size:1.2rem}
.mst-theme-prose hr{margin:3rem 0;border:0;border-top:1px solid var(--mst-theme-border)}
.mst-theme-prose table{width:100%;border-collapse:collapse;margin:1.8em 0;background:var(--mst-theme-white);font-size:.92rem}
.mst-theme-prose th,.mst-theme-prose td{padding:11px 12px;border:1px solid var(--mst-theme-border);vertical-align:top;text-align:left}
.mst-theme-prose th{background:var(--mst-theme-mist);font-weight:800}
.mst-theme-prose code{padding:.12em .35em;background:var(--mst-theme-mist);border-radius:4px;font-size:.9em}
.mst-theme-prose pre{overflow:auto;padding:18px;background:#17231d;color:#f3f7f4;border-radius:8px}
.mst-theme-prose pre code{padding:0;background:transparent;color:inherit}
.mst-theme-prose .wp-block-image img{border-radius:10px}
.mst-theme-prose .wp-block-separator{border-color:var(--mst-theme-border)}

/* Block styles and common-page patterns */
.wp-block-group.is-style-mst-card{padding:clamp(20px,4vw,32px);background:var(--mst-theme-white);border:1px solid var(--mst-theme-border);border-radius:var(--mst-theme-radius);box-shadow:var(--mst-theme-shadow-small)}
.wp-block-group.is-style-mst-callout{padding:clamp(20px,4vw,32px);background:var(--mst-theme-sand-light);border-left:4px solid var(--mst-theme-forest);border-radius:0 var(--mst-theme-radius-small) var(--mst-theme-radius-small) 0}
.wp-block-list.is-style-mst-checklist{list-style:none;padding-left:0}
.wp-block-list.is-style-mst-checklist > li{position:relative;padding-left:1.75em}
.wp-block-list.is-style-mst-checklist > li::before{content:"✓";position:absolute;left:0;color:var(--mst-theme-forest);font-weight:900}
.mst-common-page-intro{padding:22px 24px;background:var(--mst-theme-mist);border-radius:var(--mst-theme-radius-small)}
.mst-common-page-intro p:last-child{margin-bottom:0}
.mst-common-page-grid{gap:18px!important}
.mst-common-page-grid > .wp-block-column{padding:22px;background:var(--mst-theme-white);border:1px solid var(--mst-theme-border);border-radius:var(--mst-theme-radius-small)}
.mst-common-page-grid h3{margin-top:0!important}

/* Lists, cards, archives */
.mst-theme-page-header{padding:58px 0 36px;max-width:820px}
.mst-theme-page-header h1{margin:0;font-size:clamp(2.2rem,5vw,4.2rem);line-height:1.03;letter-spacing:-.045em}
.mst-theme-page-header > p:not(.mst-theme-eyebrow),.mst-theme-archive-description{max-width:700px;margin:15px 0 0;color:var(--mst-theme-muted);font-size:1.05rem}
.mst-theme-page-header--search{padding-bottom:44px}
.mst-theme-page-header__search{margin-top:25px}
.mst-theme-search-summary{padding:12px 0 18px;color:var(--mst-theme-muted);font-size:.9rem;border-bottom:1px solid var(--mst-theme-border)}
.mst-theme-post-grid{display:grid;grid-template-columns:1fr;gap:18px}
.mst-theme-card{overflow:hidden;background:var(--mst-theme-white);border:1px solid var(--mst-theme-border);border-radius:var(--mst-theme-radius);box-shadow:0 1px 0 rgba(23,35,29,.02);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.mst-theme-card:hover{transform:translateY(-2px);border-color:rgba(40,92,67,.3);box-shadow:var(--mst-theme-shadow-small)}
.mst-theme-card__media{display:block;aspect-ratio:16/9;overflow:hidden;background:var(--mst-theme-mist)}
.mst-theme-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.mst-theme-card:hover .mst-theme-card__media img{transform:scale(1.02)}
.mst-theme-card__body{padding:22px}
.mst-theme-card__title{margin:7px 0 9px;font-size:1.25rem;line-height:1.2}
.mst-theme-card__title a{color:var(--mst-theme-ink);text-decoration:none}
.mst-theme-card__excerpt{color:var(--mst-theme-muted);font-size:.93rem}
.mst-theme-card__excerpt p{margin:0}
.mst-theme-search-results{max-width:880px}
.mst-theme-search-result{padding:25px 0;border-bottom:1px solid var(--mst-theme-border)}
.mst-theme-search-result__type{color:var(--mst-theme-forest);font-size:.72rem;font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.mst-theme-search-result h2{margin:5px 0 8px;font-size:1.42rem;line-height:1.2}
.mst-theme-search-result h2 a{color:var(--mst-theme-ink);text-decoration:none}
.mst-theme-search-result__excerpt{max-width:760px;color:var(--mst-theme-muted)}
.mst-theme-search-result__excerpt p{margin:0}

/* Buttons, empty states and navigation */
.mst-theme-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 16px;border:1px solid var(--mst-theme-forest);border-radius:8px;background:var(--mst-theme-forest);color:var(--mst-theme-white);font-weight:800;text-decoration:none}
.mst-theme-button:hover{background:var(--mst-theme-forest-dark);border-color:var(--mst-theme-forest-dark);color:var(--mst-theme-white)}
.mst-theme-button--secondary{background:transparent;color:var(--mst-theme-forest)}
.mst-theme-button--secondary:hover{background:var(--mst-theme-mist);color:var(--mst-theme-forest-dark)}
.mst-theme-empty-state{max-width:760px;padding:70px 0 90px}
.mst-theme-empty-state h1,.mst-theme-empty-state h2{margin:0 0 14px;line-height:1.08;letter-spacing:-.035em}
.mst-theme-empty-state h1{font-size:clamp(2.2rem,5vw,4rem)}
.mst-theme-empty-state > p{color:var(--mst-theme-muted);font-size:1.05rem}
.mst-theme-empty-state .mst-theme-search-form{margin-top:28px}
.mst-theme-empty-state__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.navigation.pagination{margin-top:40px}
.nav-links{display:flex;flex-wrap:wrap;gap:8px}
.page-numbers{min-width:42px;min-height:42px;display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border:1px solid var(--mst-theme-border);border-radius:7px;text-decoration:none}
.page-numbers.current{background:var(--mst-theme-forest);color:var(--mst-theme-white);border-color:var(--mst-theme-forest)}
.post-navigation{margin-top:55px;padding-top:28px;border-top:1px solid var(--mst-theme-border)}
.post-navigation .nav-links{display:grid;grid-template-columns:1fr;gap:12px}
.post-navigation a{display:block;padding:17px;background:var(--mst-theme-white);border:1px solid var(--mst-theme-border);border-radius:8px;text-decoration:none}
.post-navigation .nav-subtitle{display:block;color:var(--mst-theme-muted);font-size:.75rem;text-transform:uppercase;letter-spacing:.06em}
.post-navigation .nav-title{display:block;margin-top:4px;color:var(--mst-theme-ink);font-weight:800}
.mst-theme-related{width:min(var(--mst-theme-wide),calc(100vw - (var(--mst-theme-gutter) * 2)));margin:65px 0 0 50%;padding-top:38px;border-top:1px solid var(--mst-theme-border);transform:translateX(-50%)}

/* Comments */
.mst-theme-comments{margin-top:60px;padding-top:34px;border-top:1px solid var(--mst-theme-border)}
.mst-theme-comments__title{font-size:1.45rem}
.comment-list{padding-left:1.25rem}
.comment-list li{margin-bottom:24px}
.comment-form input:not([type="submit"]),.comment-form textarea{width:100%;padding:12px;background:var(--mst-theme-white);border:1px solid var(--mst-theme-border);border-radius:6px}
.comment-form input[type="submit"]{padding:12px 18px;background:var(--mst-theme-forest);color:var(--mst-theme-white);border:0;border-radius:7px;font-weight:800}

/* Footer */
.mst-theme-footer{margin-top:auto;background:#102019;color:#dce5df}
.mst-theme-footer__inner{width:min(var(--mst-theme-wide),calc(100% - (var(--mst-theme-gutter) * 2)));margin:0 auto;padding:58px 0 30px}
.mst-theme-footer__intro{max-width:520px}
.mst-theme-footer__brand{color:var(--mst-theme-white);font-size:1.25rem;font-weight:850;text-decoration:none}
.mst-theme-footer__tagline{margin:7px 0 0;color:#b3c2b9}
.mst-theme-footer__promise{margin:20px 0 0;color:#8fa399;font-size:.9rem}
.mst-theme-footer__navigation{display:grid;grid-template-columns:1fr 1fr;gap:30px 22px;margin-top:42px;padding-top:38px;border-top:1px solid rgba(255,255,255,.12)}
.mst-theme-footer__section h2{margin:0 0 13px;color:#a8bcb0;font-size:.75rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.mst-theme-footer__menu,.mst-theme-footer__legacy-menu{list-style:none;margin:0;padding:0}
.mst-theme-footer__menu li+li{margin-top:7px}
.mst-theme-footer__menu a{color:#edf3ef;font-size:.9rem;text-decoration:none}
.mst-theme-footer__menu a:hover{color:var(--mst-theme-white);text-decoration:underline}
.mst-theme-footer__legacy{margin-top:28px;padding-top:22px;border-top:1px solid rgba(255,255,255,.12)}
.mst-theme-footer__legacy-menu{display:flex;flex-wrap:wrap;gap:10px 20px}
.mst-theme-footer__legacy-menu a{color:#b8c6bd;font-size:.85rem;text-decoration:none}
.mst-theme-footer__bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-top:38px;padding-top:22px;border-top:1px solid rgba(255,255,255,.12)}
.mst-theme-footer__legal{margin:0;color:#8fa399;font-size:.82rem}
.mst-theme-footer__top{color:#bdcbc2;font-size:.82rem;text-decoration:none}

/* Alignment and wide-page behavior */
.alignwide{width:min(var(--mst-theme-wide),calc(100vw - (var(--mst-theme-gutter) * 2)));max-width:none;margin-left:50%;transform:translateX(-50%)}
.alignfull{width:100vw;max-width:none;margin-left:50%;transform:translateX(-50%)}
.mst-theme-page-wide .mst-theme-entry,.mst-theme-landing .mst-theme-entry{max-width:none}
.mst-theme-page-wide .mst-theme-entry__header,.mst-theme-landing .mst-theme-entry__header{max-width:820px}
.mst-theme-page-wide .mst-theme-prose,.mst-theme-landing .mst-theme-prose{max-width:none}
.mst-theme-page-wide .mst-theme-prose > p,.mst-theme-page-wide .mst-theme-prose > h2,.mst-theme-page-wide .mst-theme-prose > h3,.mst-theme-page-wide .mst-theme-prose > h4,.mst-theme-page-wide .mst-theme-prose > ul,.mst-theme-page-wide .mst-theme-prose > ol,.mst-theme-page-wide .mst-theme-prose > blockquote,
.mst-theme-landing .mst-theme-prose > p,.mst-theme-landing .mst-theme-prose > h2,.mst-theme-landing .mst-theme-prose > h3,.mst-theme-landing .mst-theme-prose > h4,.mst-theme-landing .mst-theme-prose > ul,.mst-theme-landing .mst-theme-prose > ol,.mst-theme-landing .mst-theme-prose > blockquote{max-width:var(--mst-theme-content)}

@media (max-width:859px){
    .mst-theme-js .mst-theme-nav-toggle{display:flex}
    .mst-theme-primary-nav{width:100%;padding:0 0 18px;align-items:stretch;flex-direction:column;gap:12px}
    .mst-theme-js .mst-theme-primary-nav{display:none;position:absolute;left:0;right:0;top:100%;padding:14px var(--mst-theme-gutter) 22px;background:var(--mst-theme-bg);border-bottom:1px solid var(--mst-theme-border);box-shadow:var(--mst-theme-shadow-small);max-height:calc(100vh - var(--mst-theme-header-height));overflow:auto}
    .mst-theme-js .mst-theme-primary-nav.is-open{display:flex}
    .mst-theme-primary-nav__menu{display:block;width:100%}
    .mst-theme-primary-nav__menu > li > a{padding:10px 7px;border-bottom:1px solid var(--mst-theme-border);border-radius:0}
    .mst-theme-primary-nav__menu .sub-menu{padding:5px 0 8px 14px;border-left:2px solid var(--mst-theme-sand)}
    .mst-theme-header-search{width:100%}
    .mst-theme-header-search > summary{width:100%}
    .mst-theme-header-search__panel{position:static;margin-top:8px;padding:14px;background:var(--mst-theme-white);border:1px solid var(--mst-theme-border);border-radius:8px;box-shadow:none}
    .mst-theme-nav-open{overflow:hidden}
}

@media (min-width:640px){
    .mst-theme-link-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .mst-theme-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .mst-theme-step-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (min-width:860px){
    .mst-theme-brand__tagline{display:block}
    .mst-theme-primary-nav__menu .menu-item-has-children{position:relative}
    .mst-theme-primary-nav__menu .menu-item-has-children > a::after{content:"⌄";margin-left:6px;color:var(--mst-theme-muted);font-size:.78rem}
    .mst-theme-primary-nav__menu .sub-menu{display:none;position:absolute;z-index:15;top:calc(100% - 2px);left:0;min-width:240px;background:var(--mst-theme-white);border:1px solid var(--mst-theme-border);border-radius:9px;box-shadow:var(--mst-theme-shadow)}
    .mst-theme-primary-nav__menu .menu-item-has-children:hover > .sub-menu,.mst-theme-primary-nav__menu .menu-item-has-children:focus-within > .sub-menu{display:block}
    .mst-theme-link-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .mst-theme-post-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .mst-theme-step-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
    .mst-theme-home-trust{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:start}
    .post-navigation .nav-links{grid-template-columns:repeat(2,minmax(0,1fr))}
    .post-navigation .nav-next{text-align:right}
    .mst-theme-footer__navigation{grid-template-columns:repeat(4,minmax(0,1fr));gap:36px}
}

@media (max-width:520px){
    :root{--mst-theme-header-height:70px}
    .mst-theme-header__inner{min-height:70px}
    .mst-theme-brand__name{font-size:1.08rem}
    .mst-theme-search-form{display:grid;grid-template-columns:1fr}
    .mst-theme-search-form__field{border:1px solid var(--mst-theme-border-strong);border-radius:8px 8px 0 0}
    .mst-theme-search-form__button{border-radius:0 0 8px 8px}
    .mst-theme-home-search .mst-theme-search-form__field{border-bottom:1px solid var(--mst-theme-border)}
    .mst-theme-home-search .mst-theme-search-form__button{border-radius:0 0 8px 8px}
    .mst-theme-footer__navigation{grid-template-columns:1fr}
}

@media print{
    .mst-theme-header,.mst-theme-footer,.mst-theme-breadcrumbs,.post-navigation,.mst-theme-related,.mst-theme-comments{display:none!important}
    body{background:#fff;color:#000;font-size:11pt}
    .mst-theme-content,.mst-theme-wide{width:100%;max-width:none;padding:0;margin:0}
    a{color:#000;text-decoration:underline}
    a[href^="http"]::after{content:" (" attr(href) ")";font-size:.82em}
}

@media (prefers-reduced-motion:reduce){
    html{scroll-behavior:auto}
    *,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}


/* ========================================================================== 
   MaishaThabiti 1.2.0 — final brand, header and homepage system
   ========================================================================== */
body{background:var(--mst-theme-white);color:var(--mst-theme-ink)}
a{color:var(--mst-theme-forest)}
a:hover{color:var(--mst-theme-red)}
:focus-visible{outline-color:rgba(2,114,18,.38)}
::selection{background:#f1e2e0;color:var(--mst-theme-ink)}

/* Editorial brand header: spacious logo stage + restrained navigation bar. */
.mst-theme-header{position:relative;top:auto;background:var(--mst-theme-white);border-bottom:0;backdrop-filter:none}
.admin-bar .mst-theme-header{top:auto}
.mst-theme-brand-stage{background:#fff}
.mst-theme-brand-stage__inner{width:min(900px,calc(100% - (var(--mst-theme-gutter) * 2)));margin:0 auto;padding:34px 0 26px;text-align:center}
.mst-theme-brand{display:block;margin:0 auto;text-decoration:none;line-height:0}
.mst-theme-brand--bundled img{display:block;width:min(640px,100%);height:auto;margin:0 auto}
.mst-theme-brand--custom .custom-logo-link{display:block;text-align:center;line-height:0}
.mst-theme-brand--custom .custom-logo{display:inline-block;width:auto;max-width:min(640px,100%);max-height:180px}
.mst-theme-nav-shell{position:relative;background:#fff;border-top:1px solid var(--mst-theme-border);border-bottom:1px solid var(--mst-theme-border)}
.mst-theme-header__inner{width:min(var(--mst-theme-wide),calc(100% - (var(--mst-theme-gutter) * 2)));min-height:var(--mst-theme-nav-height);margin:0 auto;display:flex;align-items:center;justify-content:center;gap:20px}
.mst-theme-primary-nav{display:flex;align-items:center;justify-content:center;gap:16px;width:100%}
.mst-theme-primary-nav__menu{display:flex;align-items:center;justify-content:center;gap:0}
.mst-theme-primary-nav__menu > li > a{min-height:var(--mst-theme-nav-height);padding:10px 14px;border-radius:0;color:#1f1f1f;font-size:.9rem;font-weight:750}
.mst-theme-primary-nav__menu > li > a:hover,.mst-theme-primary-nav__menu > li.current-menu-item > a,.mst-theme-primary-nav__menu > li.current-menu-ancestor > a{background:transparent;color:var(--mst-theme-red);box-shadow:inset 0 -3px 0 var(--mst-theme-red)}
.mst-theme-primary-nav__menu .sub-menu a:hover{background:var(--mst-theme-mist);color:var(--mst-theme-red)}
.mst-theme-header-search{margin-left:8px}
.mst-theme-header-search > summary{min-height:38px;padding:7px 10px;background:transparent;color:#1f1f1f;border:0;border-radius:0;font-size:.88rem}
.mst-theme-header-search > summary:hover,.mst-theme-header-search[open] > summary{background:transparent;color:var(--mst-theme-forest)}
.mst-theme-header-search__icon{font-size:1.15rem;line-height:1}
.mst-theme-header-search__panel{position:absolute;z-index:40;left:0;right:0;top:100%;padding:24px var(--mst-theme-gutter);background:#fff;border-top:1px solid var(--mst-theme-border);border-bottom:1px solid var(--mst-theme-border);box-shadow:var(--mst-theme-shadow-small)}
.admin-bar .mst-theme-header-search__panel{top:100%}
.mst-theme-nav-toggle{margin:8px 0;border-color:var(--mst-theme-border);background:#fff;border-radius:5px}

/* Canonical byline colours. */
.mst-theme-brand-byline{font-weight:700;letter-spacing:.01em}
.mst-theme-brand-byline__money,.mst-theme-brand-byline__life{color:#111}
.mst-theme-brand-byline__work{color:var(--mst-theme-red)}
.mst-theme-brand-byline__health{color:var(--mst-theme-forest)}

/* Homepage: product-first, not blog-first. */
.mst-theme-home-intro{background:#fff}
.mst-theme-home-intro__inner{padding:clamp(52px,7vw,88px) 0 42px}
.mst-theme-home-pitch{max-width:930px;margin:0 auto;text-align:center}
.mst-theme-home-pitch h1,.mst-theme-home-pitch > p:first-child{margin:0 auto;max-width:920px;color:#111;font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.15rem,4.9vw,4.45rem);font-weight:700;line-height:1.08;letter-spacing:-.045em}
.mst-theme-home-pitch p{max-width:800px;margin:22px auto 0;color:#4b4b4b;font-size:clamp(1.07rem,1.8vw,1.3rem);line-height:1.62}
.mst-theme-home-pitch .wp-block-heading{max-width:920px}

.mst-theme-home-search-section{background:var(--mst-theme-mist);border-top:1px solid var(--mst-theme-border);border-bottom:1px solid var(--mst-theme-border)}
.mst-theme-home-search-section__inner{padding:42px 0 44px;text-align:center}
.mst-theme-home-search-section .mst-theme-section__heading{margin-bottom:18px}
.mst-theme-home-search-section .mst-theme-section__heading h2{font-size:clamp(1.55rem,2.8vw,2.25rem)}
.mst-theme-home-search{max-width:780px;margin:0 auto;padding:7px;background:#fff;border:1px solid var(--mst-theme-border-strong);border-radius:8px;box-shadow:none}
.mst-theme-home-search .mst-theme-search-form__field{min-height:58px;border:0;background:#fff;font-size:1.02rem}
.mst-theme-home-search .mst-theme-search-form__button{min-height:58px;background:var(--mst-theme-forest);border-color:var(--mst-theme-forest);border-radius:6px}
.mst-theme-home-search .mst-theme-search-form__button:hover{background:var(--mst-theme-forest-dark)}
.mst-theme-search-hint{max-width:760px;margin:10px auto 0;color:#777;font-size:.82rem}

.mst-theme-home-domains{padding:68px 0;background:#fff;border-bottom:1px solid var(--mst-theme-border)}
.mst-theme-domain-grid{display:grid;grid-template-columns:1fr;gap:14px}
.mst-theme-domain-card{display:flex;flex-direction:column;min-height:190px;padding:24px;border:1px solid var(--mst-theme-border);border-top-width:4px;border-radius:8px;background:#fff;color:#111;text-decoration:none;transition:transform .16s ease,box-shadow .16s ease}
.mst-theme-domain-card:hover{transform:translateY(-2px);color:#111;box-shadow:var(--mst-theme-shadow-small)}
.mst-theme-domain-card--money,.mst-theme-domain-card--life{border-top-color:#111}
.mst-theme-domain-card--work{border-top-color:var(--mst-theme-red)}
.mst-theme-domain-card--health{border-top-color:var(--mst-theme-forest)}
.mst-theme-domain-card__label{font-family:Georgia,"Times New Roman",serif;font-size:1.65rem;font-weight:700;line-height:1.1}
.mst-theme-domain-card--work .mst-theme-domain-card__label{color:var(--mst-theme-red)}
.mst-theme-domain-card--health .mst-theme-domain-card__label{color:var(--mst-theme-forest)}
.mst-theme-domain-card__description{margin-top:12px;color:#606060;font-size:.92rem;line-height:1.55}
.mst-theme-domain-card__action{margin-top:auto;padding-top:18px;font-size:.84rem;font-weight:800}

.mst-theme-home-sections{padding-top:8px}
.mst-theme-section{padding:66px 0}
.mst-theme-eyebrow{color:var(--mst-theme-forest)}
.mst-theme-link-card{border-radius:7px;box-shadow:none}
.mst-theme-link-card:hover{border-color:rgba(168,0,0,.28);box-shadow:var(--mst-theme-shadow-small)}
.mst-theme-link-card__arrow{color:var(--mst-theme-red)}
.mst-theme-decision-section__intro{max-width:760px;margin-bottom:30px}
.mst-theme-decision-section__intro h2{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(2rem,4vw,3.5rem);line-height:1.08;letter-spacing:-.04em}
.mst-theme-decision-section__intro > p:not(.mst-theme-eyebrow){color:var(--mst-theme-muted);font-size:1.08rem}
.mst-theme-step-card > span{color:var(--mst-theme-red)}
.mst-theme-question-grid{display:grid;grid-template-columns:1fr;gap:10px}
.mst-theme-question-grid a{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 18px;border:1px solid var(--mst-theme-border);border-radius:6px;background:#fff;color:#222;font-weight:750;text-decoration:none}
.mst-theme-question-grid a:hover{border-color:rgba(2,114,18,.35);color:var(--mst-theme-forest)}
.mst-theme-question-grid a span{color:var(--mst-theme-red)}
.mst-theme-home-trust{background:#121212;border-radius:10px}
.mst-theme-home-trust .mst-theme-eyebrow{color:#8cc697}
.mst-theme-home-trust__copy p{color:#d6d6d6}
.mst-theme-trust-links{display:flex;flex-wrap:wrap;gap:9px 16px}
.mst-theme-trust-links a{color:#fff;font-size:.9rem;font-weight:750;text-decoration:none}
.mst-theme-trust-links a:hover{color:#9fd2a8}

/* Common UI updated to the MaishaThabiti brand palette. */
.mst-theme-search-form__field:focus{outline-color:rgba(2,114,18,.18);border-color:var(--mst-theme-forest)}
.mst-theme-button{background:var(--mst-theme-forest);border-color:var(--mst-theme-forest)}
.mst-theme-button:hover{background:var(--mst-theme-forest-dark);border-color:var(--mst-theme-forest-dark)}
.mst-theme-button--secondary{background:#fff;color:var(--mst-theme-red);border-color:var(--mst-theme-red)}
.mst-theme-button--secondary:hover{background:#fff6f6;color:var(--mst-theme-red-dark);border-color:var(--mst-theme-red-dark)}
.wp-block-group.is-style-mst-callout{background:var(--mst-theme-mist);border-left-color:var(--mst-theme-forest)}
.mst-theme-prose blockquote{border-left-color:var(--mst-theme-red)}

/* Footer: strong neutral field with brand accents, not a green wall. */
.mst-theme-footer{background:#111;color:#e7e7e7;border-top:4px solid var(--mst-theme-red)}
.mst-theme-footer::before{content:"";display:block;height:4px;margin-top:-4px;background:linear-gradient(90deg,var(--mst-theme-red) 0 48%,#111 48% 52%,var(--mst-theme-forest) 52% 100%)}
.mst-theme-footer__brand{font-family:Georgia,"Times New Roman",serif;font-size:1.5rem}
.mst-theme-footer__tagline{margin:10px 0 0}
.mst-theme-footer__promise{color:#aaa}
.mst-theme-footer__navigation{border-top-color:rgba(255,255,255,.14)}
.mst-theme-footer__section h2{color:#aaa}
.mst-theme-footer__menu a{color:#eee}
.mst-theme-footer__menu a:hover{color:#fff}

@media (min-width:640px){
    .mst-theme-domain-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .mst-theme-question-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:860px){
    .mst-theme-domain-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
    .mst-theme-primary-nav__menu .sub-menu{top:100%}
}
@media (max-width:859px){
    .mst-theme-brand-stage__inner{padding:22px 0 18px}
    .mst-theme-brand--bundled img,.mst-theme-brand--custom .custom-logo{max-width:min(460px,100%);max-height:130px}
    .mst-theme-header__inner{min-height:52px;justify-content:flex-end}
    .mst-theme-js .mst-theme-nav-toggle{display:flex}
    .mst-theme-primary-nav{align-items:stretch}
    .mst-theme-js .mst-theme-primary-nav{top:100%;background:#fff}
    .mst-theme-primary-nav__menu > li > a{min-height:46px;padding:10px 7px;border-bottom:1px solid var(--mst-theme-border)}
    .mst-theme-header-search{margin-left:0}
    .mst-theme-header-search__panel{position:static;margin-top:8px}
}
@media (max-width:520px){
    .mst-theme-brand-stage__inner{padding:17px 0 13px}
    .mst-theme-brand--bundled img,.mst-theme-brand--custom .custom-logo{max-width:min(350px,100%);max-height:112px}
    .mst-theme-home-intro__inner{padding:42px 0 34px}
    .mst-theme-home-pitch h1,.mst-theme-home-pitch > p:first-child{font-size:clamp(1.85rem,9vw,2.65rem)}
    .mst-theme-home-search-section__inner{padding:34px 0 36px}
}

/* ========================================================================
   MaishaThabiti 2.0 — private 40+ membership and member workspace
   Renderer components retain their own plugin-owned styling.
   ======================================================================== */

.mst-theme-member-badge{
    display:inline-flex;align-items:center;justify-content:center;margin-left:14px;padding:5px 9px;
    border:1px solid rgba(2,114,18,.25);border-radius:999px;background:#f3faf4;color:var(--mst-theme-forest);
    font-size:.72rem;font-weight:850;letter-spacing:.05em;text-transform:uppercase;vertical-align:middle;
}
.mst-theme-hero-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:30px}
.mst-theme-button{
    display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 18px;border:1px solid var(--mst-theme-forest);
    border-radius:6px;background:var(--mst-theme-forest);color:#fff;font-weight:800;text-decoration:none;
}
.mst-theme-button:hover{background:var(--mst-theme-forest-dark);border-color:var(--mst-theme-forest-dark);color:#fff}
.mst-theme-button--secondary{background:#fff;color:var(--mst-theme-red);border-color:var(--mst-theme-red)}
.mst-theme-button--secondary:hover{background:#fff6f6;color:var(--mst-theme-red-dark);border-color:var(--mst-theme-red-dark)}
.mst-theme-text-link{font-weight:800;text-decoration:none}

/* Public marketing shell: substantive Core knowledge never appears here. */
.mst-theme-public-proposition{padding:76px 0;background:#fff;border-top:1px solid var(--mst-theme-border);border-bottom:1px solid var(--mst-theme-border)}
.mst-theme-public-split{display:grid;gap:24px;margin-bottom:38px}
.mst-theme-public-split h2,.mst-theme-public-how h2,.mst-theme-private-model h2,.mst-theme-membership-offer h2,.mst-theme-public-trust h2{
    margin:0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(2rem,4vw,3.6rem);line-height:1.08;letter-spacing:-.04em
}
.mst-theme-public-split>p,.mst-theme-private-model__inner>div:last-child,.mst-theme-public-trust__inner>div:last-child{color:var(--mst-theme-muted);font-size:1.08rem;line-height:1.7}
.mst-theme-domain-card article{height:100%}
.mst-theme-domain-card .mst-theme-domain-card__action{display:inline-flex;color:var(--mst-theme-forest);text-decoration:none}
.mst-theme-public-how{padding:78px 0;background:var(--mst-theme-mist)}
.mst-theme-public-step-grid{display:grid;grid-template-columns:1fr;gap:1px;margin-top:34px;border:1px solid var(--mst-theme-border);background:var(--mst-theme-border)}
.mst-theme-public-step-grid article{padding:25px;background:#fff}
.mst-theme-public-step-grid article>span{display:block;margin-bottom:28px;color:var(--mst-theme-red);font-size:.8rem;font-weight:900;letter-spacing:.08em}
.mst-theme-public-step-grid h3{margin:0 0 8px;font-size:1.18rem}
.mst-theme-public-step-grid p{margin:0;color:var(--mst-theme-muted)}
.mst-theme-private-model{padding:78px 0;background:#111;color:#fff}
.mst-theme-private-model__inner{display:grid;gap:34px}
.mst-theme-private-model .mst-theme-eyebrow{color:#9bd1a5}
.mst-theme-private-model__inner>div:last-child{color:#d3d3d3}
.mst-theme-membership-offer{padding:82px 0;background:#fff}
.mst-theme-membership-offer__inner{display:grid;gap:38px;align-items:start}
.mst-theme-membership-offer__copy>p:not(.mst-theme-eyebrow){max-width:720px;color:var(--mst-theme-muted);font-size:1.08rem}
.mst-theme-membership-list{display:grid;gap:10px;margin:28px 0 0;padding:0;list-style:none}
.mst-theme-membership-list li{position:relative;padding-left:26px}
.mst-theme-membership-list li::before{content:"✓";position:absolute;left:0;color:var(--mst-theme-forest);font-weight:900}
.mst-theme-price-card{padding:30px;border:1px solid var(--mst-theme-border-strong);border-top:5px solid var(--mst-theme-red);border-radius:9px;background:var(--mst-theme-mist)}
.mst-theme-price-card__label,.mst-theme-price-card__period{display:block;color:var(--mst-theme-muted);font-size:.85rem}
.mst-theme-price-card strong{display:flex;align-items:baseline;gap:7px;margin:8px 0 0;font-size:clamp(3rem,7vw,4.6rem);line-height:1;letter-spacing:-.06em}
.mst-theme-price-card strong span{font-size:1rem;letter-spacing:0}
.mst-theme-price-card__period{margin:5px 0 24px}
.mst-theme-price-card .mst-theme-button{width:100%}
.mst-theme-price-card .mst-theme-text-link{display:block;margin-top:15px;text-align:center}
.mst-theme-public-trust{padding:78px 0;background:var(--mst-theme-sand-light);border-top:1px solid var(--mst-theme-border)}
.mst-theme-public-trust__inner{display:grid;gap:30px}

/* Private member shell. */
.mst-theme--member-ui .mst-theme-header{position:sticky}
.mst-theme-member-shell{background:#fff}
.mst-theme-member-topbar{border-bottom:1px solid var(--mst-theme-border);background:#fafafa;color:var(--mst-theme-muted);font-size:.82rem}
.mst-theme-member-topbar__inner{display:flex;align-items:center;gap:8px;min-height:38px}
.mst-theme-member-topbar a{color:var(--mst-theme-ink);font-weight:750;text-decoration:none}
.mst-theme-member-hero{padding:clamp(54px,8vw,90px) 0;background:linear-gradient(135deg,#f3f8f3,#fff 62%,#fbf3f3);border-bottom:1px solid var(--mst-theme-border)}
.mst-theme-member-hero__inner{max-width:1180px}
.mst-theme-member-hero h1,.mst-theme-member-page-header h1{max-width:900px;margin:0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.35rem,5vw,4.7rem);line-height:1.03;letter-spacing:-.045em}
.mst-theme-member-hero__inner>p:last-of-type,.mst-theme-member-page-header p:last-child{max-width:780px;color:var(--mst-theme-muted);font-size:1.08rem}
.mst-theme-member-search{display:flex;max-width:780px;margin-top:30px;padding:7px;border:1px solid var(--mst-theme-border-strong);border-radius:8px;background:#fff;box-shadow:var(--mst-theme-shadow-small)}
.mst-theme-member-search input{min-width:0;flex:1;min-height:54px;padding:10px 14px;border:0;background:transparent;font-size:1rem}
.mst-theme-member-search button{min-height:54px;padding:10px 18px;border:0;border-radius:5px;background:var(--mst-theme-forest);color:#fff;font-weight:850}
.mst-theme-member-section{padding:62px 0}
.mst-theme-member-section--muted{background:var(--mst-theme-mist);border-top:1px solid var(--mst-theme-border);border-bottom:1px solid var(--mst-theme-border)}
.mst-theme-member-section__heading{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px}
.mst-theme-member-section__heading h2{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.8rem,3vw,2.8rem);letter-spacing:-.035em}
.mst-theme-member-section__heading>a{font-weight:800;text-decoration:none}
.mst-theme-member-practice-grid{display:grid;grid-template-columns:1fr;gap:12px}
.mst-theme-member-practice{display:flex;flex-direction:column;min-height:190px;padding:22px;border:1px solid var(--mst-theme-border);border-top:4px solid #111;border-radius:8px;background:#fff;color:#111;text-decoration:none}
.mst-theme-member-practice:hover{transform:translateY(-2px);box-shadow:var(--mst-theme-shadow-small);color:#111}
.mst-theme-member-practice--work{border-top-color:var(--mst-theme-red)}
.mst-theme-member-practice--health{border-top-color:var(--mst-theme-forest)}
.mst-theme-member-practice__label{font-family:Georgia,"Times New Roman",serif;font-size:1.5rem;font-weight:750}
.mst-theme-member-practice--work .mst-theme-member-practice__label{color:var(--mst-theme-red)}
.mst-theme-member-practice--health .mst-theme-member-practice__label{color:var(--mst-theme-forest)}
.mst-theme-member-practice__description{margin-top:10px;color:var(--mst-theme-muted);font-size:.9rem;line-height:1.55}
.mst-theme-member-practice__count{margin-top:auto;padding-top:15px;color:var(--mst-theme-muted);font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}

.mst-theme-member-page-header{padding:54px 0 38px;border-bottom:1px solid var(--mst-theme-border);background:#fff}
.mst-theme-member-library{padding:34px 0 72px}
.mst-theme-library-controls{display:grid;grid-template-columns:1fr;gap:14px;align-items:end;padding:18px;border:1px solid var(--mst-theme-border);border-radius:8px;background:var(--mst-theme-mist)}
.mst-theme-library-controls label{display:block;margin-bottom:6px;color:var(--mst-theme-muted);font-size:.78rem;font-weight:850;text-transform:uppercase;letter-spacing:.04em}
.mst-theme-library-controls input,.mst-theme-library-controls select{width:100%;min-height:46px;padding:9px 11px;border:1px solid var(--mst-theme-border-strong);border-radius:5px;background:#fff;color:var(--mst-theme-ink)}
.mst-theme-library-summary{display:flex;align-items:baseline;gap:8px;margin:28px 0 14px;color:var(--mst-theme-muted)}
.mst-theme-library-summary strong{color:var(--mst-theme-ink);font-size:1.4rem}
.mst-theme-library-grid{display:grid;grid-template-columns:1fr;gap:14px}
.mst-theme-library-card{display:flex;flex-direction:column;min-height:210px;padding:20px;border:1px solid var(--mst-theme-border);border-radius:8px;background:#fff}
.mst-theme-library-card__meta{display:flex;justify-content:space-between;gap:12px;color:var(--mst-theme-muted);font-size:.75rem;font-weight:750;text-transform:uppercase;letter-spacing:.035em}
.mst-theme-library-card h3{margin:16px 0 8px;font-size:1.25rem;line-height:1.25}
.mst-theme-library-card h3 a{color:#111;text-decoration:none}
.mst-theme-library-card h3 a:hover{color:var(--mst-theme-forest)}
.mst-theme-library-card p{margin:0;color:var(--mst-theme-muted);font-size:.9rem}
.mst-theme-library-card__open{margin-top:auto;padding-top:18px;font-weight:800;text-decoration:none}
.mst-theme-member-pagination{margin-top:28px}
.mst-theme-member-pagination .page-numbers{display:flex;flex-wrap:wrap;gap:7px;list-style:none;padding:0}
.mst-theme-member-pagination a,.mst-theme-member-pagination span{display:inline-flex;min-width:38px;min-height:38px;align-items:center;justify-content:center;padding:6px 10px;border:1px solid var(--mst-theme-border);border-radius:5px;text-decoration:none}
.mst-theme-member-pagination .current{background:#111;color:#fff;border-color:#111}
.mst-theme-empty-state{padding:36px;border:1px dashed var(--mst-theme-border-strong);border-radius:8px;background:#fff;text-align:center}
.mst-theme-empty-state h1,.mst-theme-empty-state h2,.mst-theme-empty-state h3{margin-top:0}
.mst-theme-system-notice{margin:18px 0;padding:14px 16px;border-left:4px solid #b07800;background:#fff8e8;color:#5f4300}

.mst-theme-member-resource{padding:28px 0 76px}
.mst-theme-private-document-action{margin:28px 0;padding:18px;border:1px solid var(--mst-theme-border);border-radius:8px;background:var(--mst-theme-mist)}
.mst-theme-private-document-action a{display:inline-flex;min-height:44px;align-items:center;padding:10px 15px;border-radius:5px;background:var(--mst-theme-forest);color:#fff;font-weight:800;text-decoration:none}

.mst-theme-access-gate{padding:clamp(70px,11vw,130px) 0;background:linear-gradient(135deg,#f7f7f5,#fff)}
.mst-theme-access-gate__inner{padding:0}
.mst-theme-access-gate h1{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.2rem,5vw,4rem);line-height:1.05;letter-spacing:-.04em}
.mst-theme-access-gate p:not(.mst-theme-eyebrow){color:var(--mst-theme-muted);font-size:1.08rem}
.mst-theme-access-gate .mst-theme-hero-actions{justify-content:flex-start}

.mst-theme-member-account{padding:48px 0 80px}
.mst-theme-account-facts{display:grid;gap:1px;margin:0;background:var(--mst-theme-border);border:1px solid var(--mst-theme-border);border-radius:8px;overflow:hidden}
.mst-theme-account-facts>div{display:grid;grid-template-columns:minmax(130px,.45fr) 1fr;gap:16px;padding:16px 18px;background:#fff}
.mst-theme-account-facts dt{color:var(--mst-theme-muted);font-size:.8rem;font-weight:850;text-transform:uppercase;letter-spacing:.04em}
.mst-theme-account-facts dd{margin:0;font-weight:650}
.mst-theme-status{display:inline-flex;padding:3px 8px;border-radius:999px;font-size:.78rem;font-weight:850}
.mst-theme-status--active{background:#e8f6ea;color:#075d13}
.mst-theme-account-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}

@media (min-width:700px){
    .mst-theme-public-step-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .mst-theme-member-practice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .mst-theme-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .mst-theme-library-controls{grid-template-columns:minmax(260px,1.7fr) minmax(150px,.7fr) minmax(150px,.7fr) auto}
}
@media (min-width:900px){
    .mst-theme-public-split,.mst-theme-private-model__inner,.mst-theme-public-trust__inner{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:start}
    .mst-theme-membership-offer__inner{grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr)}
    .mst-theme-public-step-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
    .mst-theme-member-practice-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
    .mst-theme-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:699px){
    .mst-theme-member-search{display:grid}
    .mst-theme-member-search button{width:100%}
    .mst-theme-price-card strong{font-size:3.4rem}
    .mst-theme-account-facts>div{grid-template-columns:1fr;gap:5px}
}
