/* Consistent finishing details across public page types. */
.mobile-toggle-holder button.mobile-toggle{border:0;background:transparent;padding:0;border-radius:0;color:inherit;cursor:pointer}
a.thb-search-holder{display:inline-flex;align-items:center;justify-content:center;color:inherit}
:where(a,button,input,select,summary):focus-visible{outline:2px solid var(--mh-brown,#a06b3e);outline-offset:4px}
.mh-plans__foot .mh-more{white-space:normal;text-align:center;line-height:1.6;max-width:100%;justify-content:center}
.mhc-search-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,210px) auto;align-items:stretch;gap:0;border:1px solid #d9cdbd;background:#fff}
.mhc-search-form .search-field{height:60px;border:0;padding:16px 20px;margin:0;font-size:18px;background:transparent}
.mhc-search-form .mh-search-scope{height:60px;min-width:0;max-width:100%;width:100%;margin:0;border:0;border-left:1px solid #e2ddd3;border-radius:0;padding:12px 32px 12px 16px}
.mhc-search-form .btn{height:60px;background:var(--mh-brown,#a06b3e);padding:0 25px}
.mhc-search-form .search-field:focus{outline:2px solid var(--mh-brown,#a06b3e);outline-offset:-2px}
.mhc-mobile-filter{display:none}
.mhc-atlas-legend{display:flex;flex-wrap:wrap;gap:15px 28px;padding:16px 20px;background:#f8f5e8;border-top:2px solid var(--mh-brown,#a06b3e);font-size:14px;line-height:1.6;margin:0 0 20px}
.mhc-atlas-legend span{display:flex;align-items:center;gap:10px}
.mhc-atlas-legend i{flex:0 0 12px;width:12px;height:12px;display:inline-block}
.mhc-atlas-legend__point{border-radius:50%;background:var(--mh-brown,#a06b3e)}
.mhc-atlas-legend__area{background:#eadfcd;border:1px solid var(--mh-brown,#a06b3e)}
.mhc-access-panel{max-width:760px;margin:30px auto;padding:40px;background:#f8f5e8;border:1px solid #e2ddd3;border-top:3px solid var(--mh-brown,#a06b3e)}
.mhc-access-panel h2{font-size:26px;line-height:1.35;margin:0 0 16px}
.mhc-access-panel p{font:20px/1.6 Georgia,serif;margin-bottom:24px}
.mhc-access-panel__signin{display:block;margin-top:20px;text-decoration:underline}
.mhc-plan a[aria-disabled=true]{opacity:.5;pointer-events:none;cursor:default}
.mhc-plan__unavailable{font-size:19px;font-weight:600;color:#767267;display:block;line-height:1.5}
.mhc-learning-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;max-width:100%;}
.mhc-learning-grid .mhc-card{max-width:600px}
.mhc-learning-grid .mhc-card__media:has(.mhc-card__initial){aspect-ratio:auto;height:140px;background:#f8f5e8}
.mhc-learning-grid .mhc-card__initial{font-size:52px;color:var(--mh-brown,#a06b3e)}
.mhc-learning-grid .mhc-card__body{padding:24px}
.mhc-supporting__content{max-width:780px;margin:0 auto;font:20px/1.75 Georgia,serif}
.mhc-supporting__content p{font-size:inherit;line-height:inherit}
.mhc-supporting__content h2,.mhc-supporting__content h3,.mhc-supporting__content h4{font-size:26px;line-height:1.4;margin:36px 0 16px}
.mhc-supporting__content a:not(.btn){text-decoration:underline;text-underline-offset:3px}
.mhc-supporting__content img{max-width:100%;height:auto}
.mhc-supporting__action{background:#f8f5e8;border:1px solid #e2ddd3;border-top:3px solid var(--mh-brown,#a06b3e);margin-bottom:36px;text-align:center}
.mhc-submission__main{padding:32px 40px 36px}
.mhc-submission__icon{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 16px;border:1px solid #dfcdb8;border-radius:50%;background:#f1e9de;color:#8a5831}
.mhc-submission__icon svg{width:28px;height:28px}
.mhc-submission__label{display:block;font:600 10px/1.6 "Sinkin Sans",Georgia;letter-spacing:.14em;text-transform:uppercase;color:#8a5831}
.mhc-supporting__action h2{margin:10px 0 12px;font:normal 34px/1.2 Georgia,serif;letter-spacing:-.025em;color:#262220}
.mhc-supporting__action p{max-width:440px;margin:0 auto 24px;font:18px/1.6 Georgia,serif;color:#625b52}
.mhc-submission__returning{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 14px;padding:18px 24px;border-top:1px solid #e2ddd3;font:12px/1.6 "Sinkin Sans",Georgia;color:#625b52}
.mhc-supporting__action .btn{font-family:"Sinkin Sans",Georgia}
.mhc-supporting__content .mhc-supporting__action h2{font-family:"Sinkin Sans",Georgia!important}
.mhc-supporting__content .mhc-supporting__action p{font-family:Georgia!important}
.mhc-submission__returning a{font-weight:600;color:#262220}
.mhc-submission__returning a span{display:inline-block;margin-left:5px}
@media(max-width:600px){
 .mhc-submission__main{padding:26px 20px 28px}
 .mhc-supporting__action h2{font-size:29px}
 .mhc-supporting__action p{font-size:17px}
 .mhc-submission__returning{flex-direction:column;padding:16px 20px}
}
.mhc-help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:48px}
.mhc-help-card{padding:36px;background:#f8f5e8;border:1px solid #e2ddd3;border-top:3px solid var(--mh-brown,#a06b3e)}
.mhc-help-card__label{font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:var(--mh-brown,#a06b3e);font-weight:600}
.mhc-help-card h2{font-size:28px;line-height:1.4;margin:16px 0}
.mhc-help-card p{font:20px/1.6 Georgia,serif}
.mhc-help-card>a:not(.btn){display:block;margin-top:18px;text-decoration:underline}
.mhc-help-card__email{font:14px/1.5 var(--thb-primary-font,sans-serif)!important;overflow-wrap:anywhere;margin:18px 0 0}
/* Contact: a welcoming email card and two clear editorial routes. */
.mhc-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:1100px;margin:0 auto 64px}
.mhc-contact-card{display:flex;flex-direction:column;min-width:0;border:1px solid #e2ddd3;border-top:3px solid var(--mh-brown,#a06b3e);background:#fff;color:#262220;font-family:"Sinkin Sans",Georgia;text-align:center}
.mhc-contact-card--email{background:#f8f5e8}
.mhc-contact-card__body{flex:1;padding:32px 36px}
.mhc-contact-icon{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 18px;border:1px solid #dfcdb8;border-radius:50%;background:#f1e9de;color:#8a5831}
.mhc-contact-icon svg{width:28px;height:28px}
.mhc-contact-label{display:block;font:600 10px/1.6 "Sinkin Sans",Georgia;letter-spacing:.14em;text-transform:uppercase;color:#8a5831}
.mhc-contact-card h2{margin:12px 0 16px;font:600 26px/1.4 "Sinkin Sans",Georgia!important;letter-spacing:-.025em}
.mhc-contact-card p{max-width:360px;margin:0 auto 24px;font:18px/1.65 Georgia!important;color:#625b52}
.mhc-contact-card .btn{font-family:"Sinkin Sans",Georgia}
.mhc-contact-card__footer{display:flex;flex-direction:column;gap:6px;padding:20px 24px;border-top:1px solid #e2ddd3;font:12px/1.6 "Sinkin Sans",Georgia}
.mhc-contact-card__footer>span{color:#625b52;font-size:10px;letter-spacing:.08em;text-transform:uppercase}
.mhc-contact-card__footer a{overflow-wrap:anywhere;color:#262220;text-decoration:underline;text-underline-offset:4px}
.mhc-contact-paths{border-top:1px solid #e2ddd3;text-align:left}
.mhc-contact-paths a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 12px;border-bottom:1px solid #e2ddd3;color:#262220;text-decoration:none;transition:background .2s}
.mhc-contact-paths a:hover{background:#f8f5e8}
.mhc-contact-paths strong{display:block;font:600 13px/1.6 "Sinkin Sans",Georgia}
.mhc-contact-paths a>span>span{display:block;margin-top:4px;font:15px/1.5 Georgia;color:#625b52}
.mhc-contact-paths__arrow{font:22px/1 Georgia;color:#8a5831}
@media(max-width:760px){
 .mhc-contact-grid{grid-template-columns:1fr;gap:20px;margin-bottom:40px}
 .mhc-contact-card__body{padding:28px 24px}
 .mhc-contact-card h2{font-size:23px!important}
 .mhc-contact-card p{font-size:17px!important}
}
.mhc-topic-group{margin:0 0 48px}
.mhc-topic-group>h2{font-size:26px;line-height:1.5;border-top:2px solid var(--mh-brown,#a06b3e);padding-top:20px;margin:0 0 24px}
/* Topics page: the Explore page's cards, five across */
.mhc-topic-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;margin:0}
@media(max-width:1200px){.mhc-topic-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:900px){.mhc-topic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.mhc-otd-cal__days .is-empty{color:#837c70}
body .mhc-otd-cal__days a,body .mhc-otd-cal__days span{border-radius:3px;}
body .mhc-otd-cal__days[data-cal="hijri"] .is-empty{color:#6b645a;}
body .mhc-otd-cal__days .is-today,
body .mhc-otd-cal__days .is-empty.is-today,
body .mhc-otd-cal__days .is-today:hover{color:#fff;}
@media(max-width:860px){
 .mhc-layout-sidebar>.mhc-kids-link,.mhc-layout-sidebar>.mhc-correction{order:6}
 .mhc-sidebar-links-section{order:5}
 .mhc-topic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:600px){
 .mhc-search-form{grid-template-columns:minmax(0,1fr) auto}
 .mhc-search-form__field{grid-column:1/-1;border-bottom:1px solid #e2ddd3}
 .mhc-search-form .mh-search-scope{border-left:0;height:52px}
 .mhc-search-form .btn{height:52px;padding:0 20px;font-size:12px}
 .mhc-mobile-filter{display:flex;align-items:center;gap:12px;text-align:left;margin:20px 0;font-size:13px;color:#767267}
 .mhc-mobile-filter select{width:100%;min-width:0;margin:0;border:1px solid #e2ddd3;border-radius:0;background:#f8f5e8;height:48px;padding:10px 30px 10px 14px;color:#262220;font-size:14px}
 .mhc-filter-links{display:none!important}
 .mhc-az__letters{padding-bottom:9px;scrollbar-width:thin;scrollbar-color:var(--mh-brown,#a06b3e) #eee7dc}
 .mhc-help-grid{grid-template-columns:1fr;gap:18px}
 .mhc-help-card{padding:24px}
 .mhc-help-card h2{font-size:24px}
 .mhc-supporting__content{font-size:18px}
 .mhc-access-panel{padding:28px 22px}
 .mhc-access-panel h2{font-size:24px}
 .mhc-access-panel p{font-size:18px}
 .mhc-learning-grid{grid-template-columns:1fr}
 .mhc-writers{grid-template-columns:1fr!important}
 .mhc-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 .mhc-topic-group>h2{font-size:22px}
}

.mhc-learning-grid:has(>.mhc-card:only-child){grid-template-columns:1fr}
.mhc-learning-grid>.mhc-card:only-child{max-width:none;flex-direction:row}
.mhc-learning-grid>.mhc-card:only-child .mhc-card__media{width:44%;flex:0 0 44%;aspect-ratio:16/10}
.mhc-learning-grid>.mhc-card:only-child .mhc-card__body{justify-content:center;padding:36px}
.mhc-learning-grid>.mhc-card:only-child .mhc-card__title{font-size:25px;line-height:1.4}
.mhc-learning-grid>.mhc-card:only-child .mhc-card__excerpt{font-size:19px;line-height:1.6}
.thb-cookie-bar button.thb-mobile-close{background:transparent;border:0;padding:8px;cursor:pointer;color:inherit}
.thb-cookie-bar .button-accept{background:var(--mh-brown,#a06b3e);color:#fff;border:0;cursor:pointer;white-space:normal}
/* Slim cookie bar: one row along the bottom edge, so it hides as little as possible until accepted. */
body aside.thb-cookie-bar{left:0;right:0;bottom:0;width:auto;max-width:none;flex-direction:row;align-items:center;justify-content:center;gap:12px 20px;padding:12px 16px 12px 24px;border-top:1px solid var(--mh-line,#e9e9e9);border-radius:0;box-shadow:0 -3px 16px rgba(26,13,5,.07)}
body aside.thb-cookie-bar .thb-cookie-text p{margin:0;font-size:14px;line-height:1.4}
body aside.thb-cookie-bar .thb-cookie-text a{color:var(--mh-brown,#a06b3e)}
body aside.thb-cookie-bar .button-accept{flex:none;width:auto;margin:0;padding:10px 22px;font-size:12px;line-height:1.2;white-space:nowrap}
/* The close button sits at the end of the row as a clear 36px tap target, drawn with a plain cross. */
body aside.thb-cookie-bar .thb-mobile-close{order:3;position:static;flex:none;display:flex;align-items:center;justify-content:center;width:36px;height:36px;margin:0;padding:0;transform:none;color:#5e5e5e;font:300 28px/1 Arial,sans-serif}
body aside.thb-cookie-bar .thb-mobile-close div{display:none}
body aside.thb-cookie-bar .thb-mobile-close::before{content:"\00d7"}
body aside.thb-cookie-bar .thb-mobile-close:hover,body aside.thb-cookie-bar .thb-mobile-close:focus-visible{color:var(--mh-brown,#a06b3e)}
@media(max-width:767px){
 body aside.thb-cookie-bar{bottom:var(--mh-mobile-nav-height,0px);gap:8px 10px;padding:8px 6px 8px 14px;justify-content:space-between}
 body aside.thb-cookie-bar .thb-cookie-text{flex:1 1 auto;min-width:0}
 body aside.thb-cookie-bar .thb-cookie-text p{font-size:12px;line-height:1.35}
 body aside.thb-cookie-bar .button-accept{padding:9px 14px;font-size:11px;letter-spacing:.04em}
}
@media(max-width:760px){
 .mhc-learning-grid>.mhc-card:only-child{flex-direction:column}
 .mhc-learning-grid>.mhc-card:only-child .mhc-card__media{width:100%;flex:auto}
 .mhc-learning-grid>.mhc-card:only-child .mhc-card__body{padding:24px}
 .mhc-learning-grid>.mhc-card:only-child .mhc-card__title{font-size:21px}
}
.mhc-sidebar-support{background:#f8f5e8;border-top:3px solid var(--mh-brown,#a06b3e);padding:24px;color:#262220}
.mhc-sidebar-support>span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--mh-brown,#a06b3e)}
.mhc-sidebar-support h3{font-size:22px;line-height:1.4;margin:14px 0}
.mhc-sidebar-support p{font:18px/1.6 Georgia,serif}
.mhc-sidebar-support a:not(.btn):not(.msc-button__link){font-size:13px;line-height:1.6;text-decoration:underline}
/* Shared dropdown: the homepage's white field, chevron and checked menu. */
.mh-select{position:relative;min-width:0;width:100%;font-family:inherit}
.mhc .mh-select select.mh-select__native, .mh-profiles__mobile .mh-select select.mh-select__native{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;border:0!important;pointer-events:none;clip-path:inset(50%)}
.mhc .mh-select__toggle, .mh-profiles__mobile .mh-select__toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;margin:0;padding:12px 18px;border:1px solid color-mix(in srgb,var(--mh-brown,#a06b3e) 28%,#fff);border-radius:3px;box-shadow:none;background:#fff;color:var(--mh-grey,#555);font:inherit;font-size:14px;font-weight:400;text-align:left;text-transform:none;letter-spacing:0;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.mhc .mh-select__toggle:hover, .mh-profiles__mobile .mh-select__toggle:hover{border-color:var(--mh-brown,#a06b3e)}
.mhc .mh-select__toggle>span, .mh-profiles__mobile .mh-select__toggle>span{min-width:0;overflow-wrap:anywhere}
.mhc .mh-select__toggle svg, .mh-profiles__mobile .mh-select__toggle svg{width:16px;height:16px;flex:0 0 16px;fill:none;stroke:currentColor;stroke-width:1.5}
.mhc .mh-select__toggle:focus-visible, .mh-profiles__mobile .mh-select__toggle:focus-visible, .mhc .mh-select__toggle[aria-expanded=true], .mh-profiles__mobile .mh-select__toggle[aria-expanded=true]{outline:none;background:#fff;border-color:var(--mh-brown,#a06b3e);box-shadow:0 0 0 3px color-mix(in srgb,var(--mh-brown,#a06b3e) 18%,transparent)}
.mhc .mh-select__toggle:disabled, .mh-profiles__mobile .mh-select__toggle:disabled{opacity:.55;cursor:default}
.mhc .mh-select__menu, .mh-profiles__mobile .mh-select__menu{position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:30;padding:6px;border:1px solid color-mix(in srgb,var(--mh-brown,#a06b3e) 28%,#fff);border-radius:6px;background:#fff;box-shadow:0 10px 28px rgba(26,13,5,.12);max-height:320px;overflow:auto;overscroll-behavior:contain}
.mhc .mh-select__menu[hidden],.mhc .mh-select__menu button[hidden], .mh-profiles__mobile .mh-select__menu[hidden], .mh-profiles__mobile .mh-select__menu button[hidden]{display:none!important}
.mhc .mh-select__menu button, .mh-profiles__mobile .mh-select__menu button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:40px;margin:0;padding:0 12px;border:0;border-radius:3px;background:#fff;color:var(--mh-grey,#555);font:inherit;font-size:14px;font-weight:400;line-height:1.3;text-align:left;text-transform:none;letter-spacing:0;cursor:pointer}
.mhc .mh-select__menu button+button, .mh-profiles__mobile .mh-select__menu button+button{margin-top:2px}
.mhc .mh-select__menu button[aria-checked=true], .mh-profiles__mobile .mh-select__menu button[aria-checked=true]{color:var(--mh-brown-dk,#805632);background:color-mix(in srgb,var(--mh-brown,#a06b3e) 14%,#fff);font-weight:600}
.mhc .mh-select__menu button[aria-checked=true]::after, .mh-profiles__mobile .mh-select__menu button[aria-checked=true]::after{content:'✓';flex-shrink:0}
.mhc .mh-select__menu button:hover,.mhc .mh-select__menu button:focus-visible, .mh-profiles__mobile .mh-select__menu button:hover, .mh-profiles__mobile .mh-select__menu button:focus-visible{background:color-mix(in srgb,var(--mh-brown,#a06b3e) 8%,#fff);color:var(--mh-brown-dk,#805632);outline:none}
.mhc .mh-select__menu button[aria-checked=true]:hover, .mh-profiles__mobile .mh-select__menu button[aria-checked=true]:hover{background:color-mix(in srgb,var(--mh-brown,#a06b3e) 14%,#fff)}
.mhc .mh-select__menu button:disabled, .mh-profiles__mobile .mh-select__menu button:disabled{opacity:.5;cursor:default}
.mhc-search-form>.mh-select .mh-select__toggle{height:60px;border:0;border-left:1px solid #e2ddd3}
.mhc-mobile-filter>.mh-select{flex:1}
@media(max-width:600px){.mhc-search-form>.mh-select .mh-select__toggle{height:52px;border-left:0}}

.mhc .mh-select select.mh-select__native[hidden], .mh-profiles__mobile .mh-select select.mh-select__native[hidden]{display:none!important}
/* Phone search scopes use the same dimensions and typography as index filters. */
@media(max-width:600px){
 .mhc .mh-select__toggle,
 .mhc-search-form>.mh-select .mh-select__toggle{
  height:48px;min-height:48px;padding:12px 18px;
  font-family:inherit;font-size:14px;font-weight:400;line-height:1.5;
  text-transform:none;letter-spacing:0;background-color:#fff;color:var(--mh-grey,#555);
 }
 .mhc-search-form .btn{height:48px}
}

/* Writer directory: portraits beside the contributor's details at every size. */
.mhc-writers .mhc-writer-card{
 flex-direction:row;align-items:center;gap:24px;padding:24px;text-align:left;min-width:0;
}
.mhc-writers .mhc-writer-card__photo{
 flex:0 0 96px;margin:0;
}
.mhc-writers .mhc-writer-card__info{flex:1;min-width:0}
.mhc-writers .mhc-writer-card__credit,
.mhc-writers .mhc-writer-card__place,
.mhc-writers .mhc-writer-card__count{display:block;font-family:inherit}
.mhc-writers .mhc-writer-card__name{overflow-wrap:anywhere}
.mhc-writers .mhc-writer-card__count{margin-top:8px}
@media(max-width:600px){
 .mhc-writers .mhc-writer-card{gap:16px;padding:20px 16px}
 .mhc-writers .mhc-writer-card__photo{flex-basis:72px;width:72px!important;height:72px!important}
 .mhc-writers .mhc-writer-card__credit{font-size:9px;line-height:1.6}
 .mhc .mhc-writers .mhc-writer-card__name{font-size:16px;line-height:1.5;margin:4px 0}
 .mhc-writers .mhc-writer-card__count{font-size:11px;margin-top:6px}
}
@media(min-width:1101px){.mhc-writers{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:601px) and (max-width:1100px){.mhc-writers{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Article rail: a compact, readable contributor card. */
.thb-fixed-top .mhc-article-byline{
 padding:20px 16px;border:1px solid #e3ddd3;border-top:3px solid var(--mh-brown,#a06b3e);
 background:#f8f5e8;text-align:left;margin-bottom:24px;
}
.thb-fixed-top .mhc-article-byline .avatar{
 width:64px!important;height:64px!important;object-fit:cover;border-radius:50%;margin:0 0 16px;
}
.thb-fixed-top .mhc-article-byline .author-content{width:100%;text-align:left}
.mhc-article-byline__role{display:block;font-family:inherit;font-weight:700;font-size:9px;line-height:1.6;letter-spacing:.06em;text-transform:uppercase;color:var(--mh-brown,#a06b3e);margin-bottom:6px}
.thb-fixed-top .mhc-article-byline .author-content>a{
 display:block;font-size:14px;font-weight:600;line-height:1.6;text-transform:none;overflow-wrap:anywhere;
}
.thb-fixed-top .mhc-article-byline .author-content p{font:14px/1.7 Georgia,serif;margin:10px 0 0;color:#6b645a}
.mhc-sidebar-support .wp-block-buttons{margin-top:20px}
.mhc-sidebar-support .mhc-sidebar-support__label{font-family:inherit;font-size:11px;line-height:1.6;text-transform:uppercase;letter-spacing:.08em;color:var(--mh-brown,#a06b3e);margin:0}
.post-detail .thb-fixed-container .thb-fixed-top .mhc-article-byline .author-content>a{
 font-size:14px;text-transform:none;font-weight:600;line-height:1.6;
}
.post-detail .thb-fixed-container .thb-fixed-top .mhc-article-byline .avatar{display:block;margin:0 0 16px}
.mhc-article-byline__role,.mhc-sidebar-support .mhc-sidebar-support__label{font-family:'Sinkin Sans',sans-serif}

/* Center the article's compact author identity and match the site CTA buttons. */
.post-detail .thb-fixed-container .thb-fixed-top .mhc-article-byline,
.post-detail .thb-fixed-container .thb-fixed-top .mhc-article-byline .author-content{text-align:center}
.post-detail .thb-fixed-container .thb-fixed-top .mhc-article-byline .avatar{margin:0 auto 16px}

.mhc-sidebar-support a.btn{font-family:inherit;text-decoration:none}
.mhc-sidebar-support a.btn:hover{background:var(--mh-brown,#a06b3e);color:#fff}
.mhc-sidebar-support a.btn:focus-visible{outline:2px solid var(--mh-brown,#a06b3e);outline-offset:4px}
/* Clear Gutenberg's vertical padding so the theme's fixed-height button centers its label. */
.mhc-sidebar-support .wp-block-button{width:100%}
.mhc-sidebar-support a.btn.full{display:flex;width:100%;height:40px;min-height:40px;padding:0 25px!important;font-size:10px;line-height:1;text-box:none;align-items:center;justify-content:center}
.mhc-sidebar-support a.btn.full>span{display:block;text-box:trim-both cap alphabetic}
@supports not (text-box:trim-both cap alphabetic){.mhc-sidebar-support a.btn.full>span{transform:translateY(1px)}}
@media(max-width:1023px){.thb-article-sidebar-mobile-on .article-container>.sidebar{margin-top:28px}}
/* Article headline: about 100px wider than the text column, on screens wide enough for it. */
@media(min-width:64em){.post-detail .post-title-container{margin-inline:-50px}}

/* ===================================================================
   End of an article: one calm sequence. Breadcrumb, "In this article",
   last updated, tags, author, share. Square, hairline dividers, cream for
   the subject card, the site's sans type, brown dash + teal links.
   =================================================================== */
.post-content nav.rank-math-breadcrumb{margin:48px 0 0;font-family:"Sinkin Sans",system-ui,-apple-system,Roboto,sans-serif;font-size:12px;line-height:1.6;color:var(--mh-muted,#6b6b6b)}
.post-content nav.rank-math-breadcrumb p{margin:0;font:inherit;color:inherit}
.post-content nav.rank-math-breadcrumb a{color:var(--mh-grey,#4a4a4a);text-decoration:none!important;box-shadow:none!important}
.post-content nav.rank-math-breadcrumb a:hover{color:var(--mh-brown,#a06b3e)}
.post-content nav.rank-math-breadcrumb .separator{margin:0 .5em;color:#b9b2a5}

/* In this article */
.post-detail .mhc-ap{margin:20px 0 0;padding:20px 0 0;border-top:1px solid var(--mh-line,#e9e9e9);font-family:"Sinkin Sans",system-ui,-apple-system,Roboto,sans-serif}
.post-detail .mhc-ap__eyebrow{display:flex;align-items:center;gap:12px;margin:0 0 14px;font-size:13px;font-weight:600;line-height:1.4;letter-spacing:.05em;text-transform:uppercase;color:var(--mh-ink,#111)}
.post-detail .mhc-ap__eyebrow::before{content:"";flex:none;width:26px;height:3px;background:var(--mh-brown,#a06b3e)}
.post-detail .mhc-ap__label{display:block;margin:0;font-size:11px;font-weight:600;line-height:1.4;letter-spacing:.08em;text-transform:uppercase;color:var(--mh-grey,#4a4a4a)}
.post-detail .mhc-ap__box{padding:20px 24px;background:var(--mh-cream,#f8f5e8)}
.post-detail .mhc-ap__main{display:flex;align-items:center;gap:16px;margin:0;padding:0;background:none;border:0}
.post-detail .mhc-ap__photo{flex:none;display:block;line-height:0;text-decoration:none!important;box-shadow:none!important}
.post-detail .mhc-ap__main img{width:64px;height:64px;object-fit:cover;object-position:center 20%;flex:none;margin:0}
.post-detail .mhc-ap__main-text{display:flex;flex-direction:column;justify-content:center;gap:7px;min-width:0;flex:1}
.post-detail .mhc-ap__name{display:block;font-size:18px;font-weight:600;line-height:1.2;letter-spacing:-.01em;color:var(--mh-ink,#111);text-decoration:none!important;box-shadow:none!important;transition:color .2s}
.post-detail .mhc-ap__name:hover{color:var(--mh-brown,#a06b3e)}
.post-detail .mhc-ap__type{display:block;font:15px/1.2 Georgia,"Times New Roman",serif;color:var(--mh-grey,#4a4a4a)}
/* Trim both lines to cap height / baseline so the pair is optically centred against the photo and the button */
@supports (text-box:trim-both cap alphabetic){.post-detail .mhc-ap__name,.post-detail .mhc-ap__type{text-box:trim-both cap alphabetic}}
/* "View profile": the theme's standard button (same as "Follow our channel"), pushed to the right. */
.post-content .mhc-ap a.mhc-ap__view{flex:none;margin:0 0 0 auto;background:#111;color:#fff;text-decoration:none!important;box-shadow:none!important}
/* Label and chips share one wrapping line */
.post-detail .mhc-ap__row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0}
.post-detail .mhc-ap__main+.mhc-ap__row{margin-top:12px;padding-top:12px;border-top:1px solid rgba(26,13,5,.1)}
.post-detail .mhc-ap__row+.mhc-ap__row{margin-top:8px}
.post-detail .mhc-ap__row .mhc-ap__label{flex:none;padding:0;margin-right:4px;font-weight:500;color:var(--mh-muted,#6b6b6b)}
.post-detail .mhc-ap__chips{display:flex;flex-wrap:wrap;gap:6px}

/* One chip style for profiles and tags: the Explore page's filter buttons (13px / 500, normal case, white, thin line). */
.post-content .mhc-ap a.mhc-ap__chip,
.post-detail .thb-article-tags a{display:inline-flex;align-items:center;justify-content:center;margin:0!important;padding:10px 16px 8px;border:1px solid #e2ddd3;border-radius:3px!important;background:#fff;color:#262220;font-size:13px;font-weight:500;line-height:1;letter-spacing:normal;text-transform:none;text-decoration:none!important;box-shadow:none!important;box-sizing:border-box;transition:background .2s,border-color .2s,color .2s}
@supports (text-box:trim-both cap alphabetic){
 .post-content .mhc-ap a.mhc-ap__chip,
 .post-detail .thb-article-tags a{text-box:trim-both cap alphabetic;padding-block:calc(9px + (1lh - 1cap) / 2 + 1px) calc(9px + (1lh - 1cap) / 2 - 1px)}
}
.post-content .mhc-ap a.mhc-ap__chip:hover,
.post-detail .thb-article-tags a:hover{border-color:var(--mh-brown,#a06b3e);color:var(--mh-brown,#a06b3e)}

/* Last updated: sits just above the "In this article" line */
.post-content .mhc-last-updated{margin:24px 0 0;padding:0;font-family:"Sinkin Sans",system-ui,-apple-system,Roboto,sans-serif;font-size:13px;line-height:1.5;color:var(--mh-muted,#6b6b6b)}
.post-content .mhc-last-updated time{color:var(--mh-grey,#4a4a4a);font-weight:600}

/* Tags */
.post-detail .thb-article-tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:20px;padding:16px 0 0;border-top:1px solid var(--mh-line,#e9e9e9);font-size:inherit;line-height:1.4;text-transform:none;font-family:"Sinkin Sans",system-ui,-apple-system,Roboto,sans-serif}
.post-detail .thb-article-tags span{flex:none;display:block;padding:0;margin-right:4px;font-size:11px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--mh-muted,#6b6b6b)}
.post-detail .thb-article-tags span::after{content:none}
.post-detail .thb-article-tags div{flex:1;display:flex;flex-wrap:wrap;gap:6px;min-width:0}

/* Author */
.post-detail .thb-post-share-container .post-content-container>.thb-article-author.style1{display:flex;flex-direction:row;align-items:flex-start;gap:20px;margin:20px 0 0;padding:20px 0 0;border-top:1px solid var(--mh-line,#e9e9e9);text-align:left}
.post-detail .thb-post-share-container .post-content-container>.thb-article-author.style1 .avatar{width:56px!important;height:56px!important;margin:0;border-radius:50%;object-fit:cover;flex:none}
.post-detail .thb-post-share-container .post-content-container>.thb-article-author.style1 .avatar--initials{font-size:20px!important}
.post-detail .thb-post-share-container .post-content-container>.thb-article-author.style1 .author-content{min-width:0}
.post-detail .thb-post-share-container .post-content-container>.thb-article-author.style1 [rel="author"]{display:inline-block;margin:0 12px 6px 0;font-size:13px;font-weight:600;letter-spacing:.04em;line-height:1.4;text-transform:uppercase;color:var(--mh-ink,#111)}
.post-detail .thb-post-share-container .post-content-container>.thb-article-author.style1 [rel="author"]:hover{color:var(--mh-brown,#a06b3e)}
.post-detail .thb-post-share-container .post-content-container>.thb-article-author.style1 p{margin:0;font:15px/1.55 Georgia,"Times New Roman",serif;color:var(--mh-grey,#4a4a4a)}

/* Share: quiet outlined squares instead of brand-coloured blocks */
.post-detail .thb-social-footer{display:block;margin-top:20px;padding-top:18px;border-top:1px solid var(--mh-line,#e9e9e9)}
.post-detail .thb-social-footer .thb-social-total{display:flex;align-items:baseline;gap:8px;margin:0 0 10px;padding:0}
.post-detail .thb-social-footer .thb-social-total .thb-social-total-count{font-size:14px;font-weight:600;color:var(--mh-ink,#111)}
.post-detail .thb-social-footer .thb-social-total .thb-social-total-text{margin:0;font-size:11px;font-weight:600;letter-spacing:.08em;color:var(--mh-grey,#4a4a4a)}
.post-detail .thb-social-footer.style2 .thb-social-footer-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:8px}
.post-detail .thb-social-footer.style2 .thb-social-footer-buttons .social-button-holder{padding:0}
.post-detail .thb-social-footer.style2 .thb-social-footer-buttons a.social:not(.mhc-x){justify-content:center;height:40px;padding:0 14px;background:#fff;border:1px solid #d8d8d8;color:var(--mh-ink,#111);transition:background .2s,border-color .2s,color .2s}
.post-detail .thb-social-footer.style2 .thb-social-footer-buttons a.social:not(.mhc-x):hover{background:#fff;border-color:#126788;color:#126788}
/* On hover each button takes its own brand colour (email keeps the site's brown) */
.post-detail .thb-social-footer.style2 .thb-social-footer-buttons .social .thb-social-icon{font-size:11px;letter-spacing:.08em}
.post-detail .thb-social-footer.style2 .thb-social-footer-buttons .social .thb-social-count{margin-left:8px;font-size:11px;opacity:.6}

@media(max-width:560px){
 .post-detail .mhc-ap__box{padding:16px 16px}
 .post-detail .mhc-ap__main{flex-wrap:wrap}
 .post-detail .mhc-ap__main-text{flex:1 1 140px}
 .post-content .mhc-ap a.mhc-ap__view{margin:0}
 .post-detail .thb-post-share-container .post-content-container>.thb-article-author.style1{flex-direction:column;gap:12px}
 .post-detail .thb-post-share-container .post-content-container>.thb-article-author.style1 .avatar{width:48px!important;height:48px!important}
 .post-detail .thb-post-share-container .post-content-container>.thb-article-author.style1 .avatar--initials{font-size:18px!important}
}

/* ===================================================================
   On This Day sidebar: the site's subhead style, a calendar on a cream
   panel, Explore-style filter chips, the article share buttons and the
   article sidebar's support card.
   =================================================================== */
.mhc-otd-side{gap:28px}
.mhc-otd-side .mhc-otd-side__box{padding:0 0 28px;border-bottom:1px solid var(--mh-line,#e9e9e9)}
.mhc-otd-side .mhc-otd-side__box:last-child{border-bottom:0;padding-bottom:0}
.mhc-otd-side .mhc-otd-side__label{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:600;line-height:1.4;letter-spacing:.05em;color:var(--mh-ink,#111)}
.mhc-otd-side .mhc-otd-side__label::before{content:"";flex:none;width:26px;height:3px;background:var(--mh-brown,#a06b3e)}
.mhc-otd-side .mhc-otd-side__box>.mhc-otd-side__label{margin-bottom:14px}
.mhc-otd-side .mhc-otd-side__head{align-items:center;gap:12px;margin-bottom:14px}
.mhc-otd-side .mhc-otd-side__more{font-size:11px;font-weight:600;letter-spacing:.08em;color:var(--mh-teal,#126788)}
.mhc-otd-side .mhc-otd-side__more:hover{color:var(--mh-brown,#a06b3e)}
.mhc .mhc-otd-side .mhc-otd-side__text{margin:0 0 14px;font-size:16px;line-height:1.5;color:var(--mh-grey,#4a4a4a)}

/* Entry kinds: the Explore page's filter buttons */
.mhc-otd-side .mhc-otd-side__kinds{gap:8px}
.mhc-otd-side .mhc-otd-side__kinds button{padding:10px 16px 8px;border:1px solid #d8d8d8;border-radius:3px;color:#111;font-size:13px;font-weight:500;line-height:1;gap:6px}
@supports (text-box:trim-both cap alphabetic){.mhc-otd-side .mhc-otd-side__kinds button{text-box:trim-both cap alphabetic;padding-block:calc(9px + (1lh - 1cap) / 2 + 1px) calc(9px + (1lh - 1cap) / 2 - 1px)}}
.mhc-otd-side .mhc-otd-side__kinds button span{font-size:11px;opacity:.6}
.mhc-otd-side .mhc-otd-side__kinds button.is-active span{opacity:.85}
.mhc-otd-side .mhc-otd-side__kinds button.is-active,.mhc-otd-side .mhc-otd-side__kinds button.is-active:hover{background:var(--mh-brown,#a06b3e);border-color:var(--mh-brown,#a06b3e);color:#fff}
.mhc-otd-side .mhc-otd-side__kinds button.is-active span{opacity:.9}

/* Share: the same outlined buttons as under an article */
.mhc-otd-side .mhc-otd-side__share{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.mhc-otd-share{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:40px;margin:0;padding:0 8px;background:#fff;border:1px solid #d8d8d8;border-radius:3px;white-space:nowrap;color:var(--mh-ink,#111);font:600 11px/1 "Sinkin Sans",system-ui,-apple-system,Roboto,sans-serif;letter-spacing:.08em;text-transform:uppercase;text-decoration:none;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.mhc-otd-share i{font-size:14px;line-height:1}
.mhc-otd-share span{display:block}
@supports (text-box:trim-both cap alphabetic){.mhc-otd-share span{text-box:trim-both cap alphabetic}}
.mhc-otd-share svg{width:14px;height:14px;fill:currentColor;flex:none}
/* Same hover as the share buttons under an article: teal outline and text */
.mhc-otd-side .mhc-otd-side__share .mhc-otd-share:hover{background:#fff;border-color:#126788;color:#126788}

/* On This Day page: entries drawn exactly like the homepage's On this day list. */
.mhc-otd-main .mhc-otd-list{border-top:2px solid var(--mh-ink,#111)}
.mhc-otd-main .mhc-otd-list .mhc-otd-entry{grid-template-columns:112px minmax(0,1fr);align-items:center;gap:0 22px;padding:18px 0;border-top:0;border-bottom:1px solid var(--mh-line,#e9e9e9)}
.mhc-otd-main .mhc-otd-list .mhc-otd-entry__when{display:block}
.mhc-otd-main .mhc-otd-list .mhc-otd-entry__year{display:block;font-family:"Sinkin Sans",system-ui,-apple-system,Roboto,sans-serif;font-size:34px;font-weight:700;line-height:1;letter-spacing:-.01em;color:var(--mh-teal,#126788)}
.mhc-otd-main .mhc-otd-list .mhc-otd-entry__year small{font-size:12px;font-weight:700;letter-spacing:.04em}
.mhc .mhc-otd-main .mhc-otd-list .mhc-otd-entry__text{margin:0;font-size:17px;line-height:1.5;color:var(--mh-ink,#111)}
.mhc-otd-main .mhc-otd-list .mhc-otd-entry__meta{display:block;margin-top:6px;font-size:11px;line-height:1.4;letter-spacing:.08em;text-transform:uppercase;color:var(--mh-muted,#6b6b6b)}
.mhc-otd-main .mhc-otd-list .mhc-otd-entry__sep{margin:0 .7em}
.mhc-otd-main .mhc-otd-list .mhc-otd-entry__kind{display:inline;margin:0;font-size:inherit;font-weight:700;letter-spacing:inherit;color:var(--mh-ink,#111)}
@media(max-width:600px){
 .mhc-otd-main .mhc-otd-list .mhc-otd-entry{grid-template-columns:1fr;gap:8px 0;align-items:start}
 .mhc-otd-main .mhc-otd-list .mhc-otd-entry__year{font-size:28px}
}

/* Search results: the same On This Day list. */
.mhc-search-otd .mhc-otd-list{border-top:2px solid var(--mh-ink,#111)}
.mhc-search-otd .mhc-otd-list .mhc-otd-entry{grid-template-columns:112px minmax(0,1fr);align-items:center;gap:0 22px;padding:18px 0;border-top:0;border-bottom:1px solid var(--mh-line,#e9e9e9)}
.mhc-search-otd .mhc-otd-list .mhc-otd-entry__when{display:block}
.mhc-search-otd .mhc-otd-list .mhc-otd-entry__year{display:block;font-family:"Sinkin Sans",system-ui,-apple-system,Roboto,sans-serif;font-size:34px;font-weight:700;line-height:1;letter-spacing:-.01em;color:var(--mh-teal,#126788)}
.mhc-search-otd .mhc-otd-list .mhc-otd-entry__year small{font-size:12px;font-weight:700;letter-spacing:.04em}
.mhc .mhc-search-otd .mhc-otd-list .mhc-otd-entry__text{margin:0;font-size:17px;line-height:1.5;color:var(--mh-ink,#111)}
.mhc-search-otd .mhc-otd-list .mhc-otd-entry__meta{display:block;margin-top:6px;font-size:11px;line-height:1.4;letter-spacing:.08em;text-transform:uppercase;color:var(--mh-muted,#6b6b6b)}
.mhc-search-otd .mhc-otd-list .mhc-otd-entry__sep{margin:0 .7em}
.mhc-search-otd .mhc-otd-list .mhc-otd-entry__kind{display:inline;margin:0;font-size:inherit;font-weight:700;letter-spacing:inherit;color:var(--mh-ink,#111)}
@media(max-width:600px){
 .mhc-search-otd .mhc-otd-list .mhc-otd-entry{grid-template-columns:1fr;gap:8px 0;align-items:start}
 .mhc-search-otd .mhc-otd-list .mhc-otd-entry__year{font-size:28px}
}
.mhc-search-otd .mhc-otd-list .mhc-otd-entry__meta a{color:inherit;text-decoration:none}
.mhc-search-otd .mhc-otd-list .mhc-otd-entry__meta a:hover{color:var(--mh-brown,#a06b3e)}

/* ===================================================================
   Bookmarks on cards (inc/bookmarks.php). The button is MHC Core's Save
   button, icon only. It sits on the card's picture, or beside a row.
   =================================================================== */
.mhc-bmwrap{position:relative;min-width:0}
.post-gallery{position:relative}
.mhc-bm{position:absolute;top:10px;right:10px;z-index:4;line-height:0}
/* Match the course-card corners on every bookmark, including labeled Save buttons. */
body button.mhc-save,body button.mhc-follow{border-radius:3px}
.mhc-bm button.mhc-save{box-sizing:border-box;width:34px;height:34px;margin:0!important;padding:0;gap:0!important;justify-content:center;border:0;border-radius:3px;background:rgba(255,255,255,.96);box-shadow:0 1px 5px rgba(0,0,0,.22);color:var(--mh-ink,#111);transition:background .2s,color .2s}
.mhc-bm .mhc-save svg{width:16px;height:16px}
.mhc-bm button.mhc-save:hover{background:#fff;color:var(--mh-brown,#a06b3e)}
.mhc-bm button.mhc-save.is-on{background:var(--mh-brown,#a06b3e);color:#fff}
.mhc-bm button.mhc-save:focus-visible{outline:2px solid var(--mh-teal,#126788);outline-offset:2px}

/* How each wrapped card keeps its layout */
.mhc-bmwrap--course,.mhc-bmwrap--vmain,.mhc-bmwrap--vi{display:flex}
.mhc-bmwrap--course>.mh-cc,.mhc-bmwrap--vmain>.mh-vmain,.mhc-bmwrap--vi>.mh-vi{flex:1;min-width:0}
.mhc-bmwrap--vi{flex:1}
.mhc-bmwrap--profile>.mh-mcard{display:block}

/* A row: the bookmark sits beside the arrow, vertically centred */
.mhc-bm--row{top:50%;right:48px;transform:translateY(-50%)}
.mhc-bm--row button.mhc-save{width:32px;height:32px;box-shadow:none;border:1px solid #e2ddd3;background:#fff}
.mhc-bm--row button.mhc-save.is-on{border-color:var(--mh-brown,#a06b3e)}
.mhc-bmwrap--row .mh-ev{padding-right:96px}
/* Phone: the bookmark sits at the right end of the "years ago / event" line, level with it */
@media(max-width:700px){
 .mhc-bmwrap--row .mh-ev{padding-right:12px}
 .mhc-bm--row{top:auto;bottom:12px;right:12px;transform:none}
 .mhc-bm--row button.mhc-save{width:28px;height:28px}
}

/* Under a map: inline, before "All maps" */
.mhc-bm--inline{position:static;margin-left:auto}
.mhc-bm--inline button.mhc-save{width:32px;height:32px;box-shadow:none;border:1px solid #e2ddd3;background:#fff}
.mhc-bm--inline button.mhc-save.is-on{border-color:var(--mh-brown,#a06b3e)}

/* Video list on the dark band */
.mhc-bm--vi{top:50%;right:0;transform:translateY(-50%)}
.mhc-bm--vi button.mhc-save{width:30px;height:30px;box-shadow:none}
.mhc-bmwrap--vi .mh-vi{padding-right:42px}

/* Profile cards in the phone swipe row */
@media(max-width:700px){
 .mh-profiles__panel .mhc-bmwrap--profile{flex:0 0 44%;scroll-snap-align:start}
 .mh-profiles__panel .mhc-bmwrap--profile>.mh-mcard{flex:none}
}

/* Profile cards (A to Z cards, search results, and other card grids): the card plus its bookmark */
.mhc-card-wrap{position:relative;display:flex;min-width:0}
.mhc-card-wrap>.mhc-card{flex:1;min-width:0}

/* A to Z list: a small bookmark after each name */
.mhc-az__list>li{position:relative;padding-right:40px}
.mhc-bm--list{position:absolute;top:50%;right:0;transform:translateY(-50%);line-height:0}
.mhc-bm--list button.mhc-save{width:26px;height:26px;box-shadow:none;border:1px solid #e2ddd3;background:#fff}
.mhc-bm--list .mhc-save svg{width:13px;height:13px}
.mhc-bm--list button.mhc-save.is-on{border-color:var(--mh-brown,#a06b3e)}

/* Courses page: the course finder (mhc/archive-mhc_course.php). Dark and light blue panel on the left, three course cards across. */
.mhc-cfinder{display:grid;grid-template-columns:280px minmax(0,1fr);gap:40px;align-items:start;margin:8px 0 56px}
.mhc-cfinder__side{position:sticky;top:110px;padding:18px 16px 10px;border:1px solid color-mix(in srgb,var(--mh-brown,#a06b3e) 16%,#fff);border-radius:6px;background:#f8f5e8;color:var(--mh-ink,#111);font-family:"Sinkin Sans",system-ui,-apple-system,Roboto,sans-serif}
.mhc-cfinder__search{position:relative;margin:0 0 14px}
.mhc-cfinder__search input[type=search]{display:block;width:100%;height:38px;margin:0;padding:0 46px 0 12px;border:1px solid color-mix(in srgb,var(--mh-brown,#a06b3e) 28%,#fff);border-radius:3px;background:#fff;box-shadow:none;font:13px/1 "Sinkin Sans",system-ui,sans-serif;letter-spacing:normal;text-transform:none;color:var(--mh-ink,#111);transition:border-color .15s,box-shadow .15s}
.mhc-cfinder__search input[type=search]::placeholder{font-size:13px;letter-spacing:normal;text-transform:none;color:#8a8478;opacity:1}
.mhc-cfinder__search input[type=search]:focus{outline:none;border-color:var(--mh-brown,#a06b3e);box-shadow:0 0 0 3px color-mix(in srgb,var(--mh-brown,#a06b3e) 18%,transparent)}
.mhc-cfinder__search button{position:absolute;top:0;right:0;display:grid;place-items:center;width:38px;height:38px;margin:0;padding:0;border:0;border-radius:0 3px 3px 0;background:var(--mh-teal,#126788);color:#fff;cursor:pointer;transition:background .2s}
.mhc-cfinder__search button:hover{background:var(--mh-brown-dk,#805632)}
.mhc-cfinder__search svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}
.mhc-cfinder__filters>summary{display:flex;align-items:center;gap:12px;margin:0;list-style:none;font-size:12px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--mh-ink,#111);cursor:default;pointer-events:none}
.mhc-cfinder__filters>summary::-webkit-details-marker{display:none}
.mhc-cfinder__filters>summary::before{content:"";flex:none;width:26px;height:3px;border-radius:2px;background:var(--mh-brown,#a06b3e)}
.mhc-cfinder__filters>summary b{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:3px;background:var(--mh-teal,#126788);color:#fff;font-size:11px;letter-spacing:0}
.mhc-fgroup{padding:12px 0 12px;border-bottom:1px solid color-mix(in srgb,var(--mh-brown,#a06b3e) 16%,#fff)}
.mhc-fgroup:last-child{border-bottom:0}
.mhc-fgroup__title{margin:0 0 6px;font-family:inherit;font-size:11px;font-weight:600;line-height:1.4;letter-spacing:.1em;text-transform:uppercase;color:var(--mh-brown,#a06b3e)}
.mhc-fgroup__list{list-style:none;margin:0;padding:0}
.mhc-fgroup__list.is-long{max-height:264px;overflow:auto;padding-right:2px;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--mh-brown,#a06b3e) 40%,#fff) transparent}
.mhc-fgroup__list li{margin:0;padding:0}
.mhc-fgroup__list li+li{margin-top:2px}
.mhc-fgroup__find{display:block;width:100%;height:32px;margin:0 0 8px;padding:0 12px;border:1px solid #e2ddd3;border-radius:0;background:#fff;box-shadow:none;font:12px "Sinkin Sans",system-ui,sans-serif}
.mhc-fopt{display:flex;align-items:center;justify-content:space-between;gap:10px;position:relative;padding:0 10px 0 12px;min-height:34px;border-radius:3px;color:#262220;font-size:13px;line-height:1;text-decoration:none!important;transition:background .15s,color .15s}
.mhc-fopt>span{display:block}
.mhc-fopt i{flex:none;font-style:normal;font-size:11px;color:var(--mh-muted,#6b6b6b)}
@supports (text-box:trim-both cap alphabetic){.mhc-fopt>span,.mhc-fopt>i{text-box:trim-both cap alphabetic}}
a.mhc-fopt:hover{background:color-mix(in srgb,var(--mh-brown,#a06b3e) 8%,transparent);color:var(--mh-brown-dk,#805632)}
.mhc-fopt.is-active,a.mhc-fopt.is-active:hover{background:color-mix(in srgb,var(--mh-brown,#a06b3e) 14%,#f8f5e8);color:var(--mh-brown-dk,#805632);font-weight:600}
.mhc-fopt.is-active::before{content:"";position:absolute;left:0;top:50%;width:3px;height:18px;transform:translateY(-50%);border-radius:0 3px 3px 0;background:var(--mh-brown,#a06b3e)}
.mhc-fopt.is-active i{color:var(--mh-brown-dk,#805632)}
.mhc-fopt.is-empty{color:#b3ab9b}
.mhc-fopt.is-empty i{color:#c9c2b3}
.mhc-cfinder__bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;margin:0 0 16px;padding-bottom:14px;border-bottom:1px solid var(--mh-line,#e9e9e9)}
.mhc-cfinder__count{margin:0;font-size:14px;line-height:1.4;color:var(--mh-grey,#4a4a4a)}
.mhc-cfinder__sort{display:flex;align-items:center;gap:10px;margin:0}
.mhc-cfinder__sort label{margin:0;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--mh-grey,#4a4a4a);white-space:nowrap}
.mhc-cfinder__sort .mh-select{width:160px}
.mhc .mhc-cfinder__sort .mh-select__toggle,.mhc .mhc-cfinder__sort .mh-select__toggle *{white-space:nowrap}
.mhc .mhc-cfinder__sort .mh-select__toggle{height:38px;min-height:38px;padding:0 12px 0 14px;font-size:13px;line-height:1}
.mhc .mhc-cfinder__sort .mh-select__menu{left:auto;right:0;width:max-content;min-width:100%}
.mhc .mhc-cfinder__sort .mh-select__menu button{min-height:36px;font-size:13px;white-space:nowrap}
.mhc-cfinder__active{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 20px}
.mhc-apill{display:inline-flex;align-items:center;gap:10px;box-sizing:border-box;min-height:36px;padding:0 12px 0 14px;border:1px solid var(--mh-teal,#126788);border-radius:3px;background:#fff;color:var(--mh-teal,#126788);font-size:13px;font-weight:500;line-height:1;text-decoration:none!important;transition:background .2s,color .2s}
.mhc-apill__x{font-size:16px;font-weight:400;opacity:.75}
.mhc-apill:hover .mhc-apill__x{opacity:1}
@supports (text-box:trim-both cap alphabetic){.mhc-apill__label,.mhc-apill__x{text-box:trim-both cap alphabetic}}
.mhc-apill:hover{background:var(--mh-teal,#126788);color:#fff}
.mhc-cfinder__clear{margin-left:2px;padding:9px 10px;border-radius:3px;font-size:13px;line-height:1;color:var(--mh-teal,#126788);text-decoration:none;transition:background .15s,color .15s}
.mhc-cfinder__clear:hover{background:color-mix(in srgb,var(--mh-brown,#a06b3e) 8%,transparent);color:var(--mh-brown-dk,#805632)}
.mhc-courses-page{margin-bottom:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.mhc-cfinder__none{padding:56px 24px;text-align:center;background:var(--mh-cream,#f8f5e8)}
.mhc-cfinder__none h2{margin:0 0 8px;font-size:22px}
.mhc-cfinder__none p{margin:0 0 20px;font-family:Georgia,"Times New Roman",serif;color:var(--mh-grey,#4a4a4a)}
@media(max-width:1200px){.mhc-courses-page{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){.mhc-cfinder{grid-template-columns:240px minmax(0,1fr);gap:28px}}
@media(max-width:900px){
 .mhc-cfinder{grid-template-columns:1fr;gap:20px}
 .mhc-cfinder__side{position:static;padding:14px 16px}
 .mhc-cfinder__filters>summary{margin:0;padding:6px 0;cursor:pointer;pointer-events:auto}
 .mhc-cfinder__filters>summary::after{content:"";margin-left:auto;width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .2s}
 .mhc-cfinder__filters[open]>summary::after{transform:rotate(-135deg)}
}
@media(max-width:600px){
 .mhc-courses-page{grid-template-columns:1fr}
 .mhc-cfinder__sort{width:100%}
 .mhc-cfinder__sort .mh-select{flex:1;width:auto}
}



/* Family trees page (mhc/page-family-trees.php): the finder's cards. A "Pro" tag sits on each card while trees are locked for the reader. */
.mhc-ft-item{position:relative}
.mhc-ft-item__lock{position:absolute;top:10px;left:10px;z-index:2;padding:3px 7px 2px;background:var(--mh-teal,#126788);color:#fff;font:600 10px/1.2 "Sinkin Sans",system-ui,-apple-system,Roboto,sans-serif;letter-spacing:.08em;text-transform:uppercase;pointer-events:none}
.mhc-fts{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1200px){.mhc-fts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.mhc-fts{grid-template-columns:1fr}}
/* The finder's columns may shrink below their content, so the swipeable letter row scrolls inside the page instead of widening it. */
.mhc-cfinder>*{min-width:0}

/* No picture: the logo's mark, on a soft ground (home cards, menus, profile and topic cards). */
.mhc-card__media:has(.mhc-card__initial),
.mhc-learning-grid .mhc-card__media:has(.mhc-card__initial){background:#f8f5e8 url("../img/logo-mark.svg") center / auto 46% no-repeat}
.mhc-card__initial,
.mhc-learning-grid .mhc-card__initial{display:none}

/* Submission block controls apply equally on the page and in its editor preview. */
.mhc-submission--custom{background:var(--msc-backgroundColor);border-color:var(--msc-borderColor);border-top-color:var(--msc-accentColor);border-radius:var(--msc-cornerRadius);text-align:var(--msc-align);overflow:hidden}
.mhc-submission--custom .mhc-submission__main{padding:var(--msc-padding)}
.mhc-submission--custom .mhc-submission__icon{background:var(--msc-iconBackground);color:var(--msc-iconColor);border-color:var(--msc-iconBorder);margin-inline:0}
.mhc-submission--custom[style*="--msc-align:center"] .mhc-submission__icon{margin-inline:auto}
.mhc-submission--custom[style*="--msc-align:right"] .mhc-submission__icon{margin-left:auto}
.mhc-submission--custom .mhc-submission__label{color:var(--msc-labelColor);font-size:var(--msc-labelSize)}
.mhc-supporting__action.mhc-submission--custom h2{color:var(--msc-headingColor);font-family:"Sinkin Sans",Georgia!important;font-size:var(--msc-headingSize);overflow-wrap:anywhere}
.mhc-supporting__action.mhc-submission--custom p{color:var(--msc-textColor);font-family:Georgia!important;font-size:var(--msc-descriptionSize);margin-inline:0}
.mhc-submission--custom[style*="--msc-align:center"] p{margin-inline:auto}
.mhc-submission--custom[style*="--msc-align:right"] p{margin-left:auto}
.mhc-submission--custom .mhc-submission__returning{background:var(--msc-footerBackground);color:var(--msc-footerColor);border-color:var(--msc-borderColor);justify-content:var(--msc-justify);font-size:var(--msc-footerSize)}
.mhc-submission--custom .mhc-submission__returning a{color:var(--msc-linkColor)}
.mhc-supporting__action.mhc-submission--custom a.btn{background:var(--msc-buttonBackground);color:var(--msc-buttonColor)!important}
.mhc-supporting__action.mhc-submission--custom a.btn:hover{background:var(--msc-buttonHoverBackground);color:var(--msc-buttonHoverColor)!important}
@media(max-width:600px){.mhc-submission--custom .mhc-submission__main{padding:min(var(--msc-padding),28px) min(var(--msc-padding),20px)}.mhc-supporting__action.mhc-submission--custom h2{font-size:min(var(--msc-headingSize),34px)}}

/* Fixed site button styling: editable colours, consistent sizing and alignment. */
.mhc-supporting__action a.btn,.mhc-support-card a.btn{display:inline-flex;align-items:center;justify-content:center;height:40px;line-height:1;padding:0 25px;border:0;border-radius:3px;font-family:"Sinkin Sans",Georgia;font-size:10px;font-weight:600;text-transform:uppercase;text-decoration:none;white-space:nowrap;max-width:100%;text-box:normal}
.mhc-support-card{background:var(--mhs-Background);border-color:var(--mhs-Border);border-top-color:var(--mhs-Accent)}
.mhc-support-card .mhc-contact-icon{color:var(--mhs-Accent);background:var(--mhs-IconBackground);border-color:var(--mhs-Border)}
.mhc-support-card .mhc-contact-label{color:var(--mhs-Accent)}
.mhc-support-card h2{color:var(--mhs-HeadingColor)}
.mhc-support-card p,.mhc-support-card .mhc-contact-card__footer{color:var(--mhs-TextColor)}
.mhc-support-card .mhc-contact-card__footer{border-color:var(--mhs-Border)}
.mhc-support-card a.btn{background:var(--mhs-ButtonBackground);color:var(--mhs-ButtonColor)!important}
.mhc-support-card a.btn:hover{background:var(--mhs-ButtonHoverBackground);color:var(--mhs-ButtonHoverColor)!important}
.mhc-support-card .mhc-contact-card__body{display:flex;flex-direction:column;align-items:center}
.mhc-support-card .mhc-contact-card__body>a.btn{margin-top:auto;flex-shrink:0}
/* Profile details and message choices, in setup and the account dashboard. */
.mhc-profile-extra{min-width:0;margin:28px 0;padding:20px;border:1px solid #e2ddd3}
.mhc-profile-extra>legend{padding:0 8px;font:600 11px/1.6 "Sinkin Sans",Georgia}
.mhc-profile-extra>.mhc-acct__small{margin:0 0 20px;font:14px/1.7 Georgia}
.mhc-profile-extra__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px}
.mhc-profile-extra__grid .mhc-acct__field{margin:0;min-width:0}
.mhc-profile-extra__grid input{width:100%;box-sizing:border-box;font-family:"Sinkin Sans",Georgia}
.mhc-acct__prefs .mhc-prefs-intro{margin:0 0 8px;font:15px/1.7 Georgia}
.mhc-acct__prefs .mhc-pref-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 0;margin:0;border-bottom:1px solid #e2ddd3;cursor:pointer}
.mhc-acct__prefs .mhc-pref-row[hidden]{display:none}
.mhc-pref-row__copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.mhc-pref-row__copy strong{font:600 11px/1.8 "Sinkin Sans",Georgia;color:#282522}
.mhc-pref-row__copy>span{font:14px/1.7 Georgia;color:#68645d}
.mhc-acct__prefs .mhc-pref-row>input{appearance:none;-webkit-appearance:none;position:relative;width:38px;height:22px;min-width:38px;flex:0 0 38px;margin:0;padding:0;border:1px solid #9d9992;border-radius:20px;background:#ebe8e2;cursor:pointer}
.mhc-acct__prefs .mhc-pref-row>input::before{content:"";position:absolute;left:3px;top:3px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0002;transition:transform .15s ease}
.mhc-acct__prefs .mhc-pref-row>input:checked{background:var(--mh-teal,#126788);border-color:var(--mh-teal,#126788)}
.mhc-acct__prefs .mhc-pref-row>input:checked::before{transform:translateX(16px)}
.mhc-acct__prefs .mhc-pref-row>input:focus-visible{outline:2px solid var(--mh-brown,#a06b3e);outline-offset:3px}
.mhc-acct__prefs .mhc-prefs-note{padding-top:16px;margin-top:16px;font:13px/1.7 Georgia;color:#68645d}
@media(max-width:600px){.mhc-profile-extra__grid{grid-template-columns:1fr}.mhc-profile-extra{padding:16px}.mhc-acct__prefs .mhc-pref-row{gap:14px}}
@media(prefers-reduced-motion:reduce){.mhc-acct__prefs .mhc-pref-row>input::before{transition:none}}

/* Search page controls: the same compact type, rounded fields and dark actions as My Account.
   Keep the existing custom in-page scope menu; these rules style its trigger only. */
.mhc-search-form{
	display:grid;
	grid-template-columns:minmax(0,1fr) minmax(150px,190px) auto;
	align-items:stretch;
	gap:8px;
	margin:24px 0 32px;
	border:0;
	background:transparent;
}
.mhc-search-form__field{position:relative;display:flex;align-items:center;min-width:0;height:40px;box-sizing:border-box;border:1px solid #cfcfcf;border-radius:3px;background:#fff;}
.mhc-search-form .search-field{
	box-sizing:border-box;
	width:100%;
	height:100%;
	min-height:0;
	margin:0;
	padding:0 12px;
	border:0;
	border-radius:3px;
	background:transparent;
	box-shadow:none;
	color:#282522;
	font:400 12px/1.5 "Sinkin Sans",Georgia;
	letter-spacing:normal;
	text-transform:none;
}
.mhc-search-form .search-field::placeholder{color:#757575;opacity:1;font:400 12px/1.5 "Sinkin Sans",Georgia;letter-spacing:normal;text-transform:none;}
.mhc-search-form__field:focus-within{border-color:#0a0a0a;box-shadow:0 0 0 1px #0a0a0a;}
.mhc-search-form .search-field:focus{outline:0;box-shadow:none;}
.mhc-search-form>.mh-select{min-width:0;}
.mhc-search-form>.mh-select .mh-select__toggle{
	box-sizing:border-box;
	width:100%;
	height:40px;
	min-height:40px;
	padding:0 12px;
	border:1px solid #cfcfcf;
	border-radius:3px;
	background:#fff;
	color:#282522;
	font:400 12px/1.5 "Sinkin Sans",Georgia;
	letter-spacing:normal;
	text-transform:none;
}
.mhc-search-form>.mh-select .mh-select__toggle:focus-visible{outline:2px solid #0a0a0a;outline-offset:2px;background:#fff;box-shadow:none;}
.mhc-search-form .btn{
	box-sizing:border-box;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	height:40px;
	min-height:40px;
	margin:0;
	padding:0 20px;
	border:1px solid #0a0a0a;
	border-radius:3px;
	background:#0a0a0a;
	color:#fff;
	font:600 10px/1.5 "Sinkin Sans",Georgia;
	letter-spacing:0;
	text-transform:uppercase;
	white-space:nowrap;
}
.mhc-search-form .btn:hover,.mhc-search-form .btn:focus-visible{border-color:var(--mh-brown,#a06b3e);background:var(--mh-brown,#a06b3e);color:#fff;}
@media(max-width:600px){
	.mhc-search-form{grid-template-columns:minmax(0,1fr) auto;gap:8px;}
	.mhc-search-form__field{grid-column:1/-1;border-bottom:1px solid #cfcfcf;}
	.mhc-search-form .mh-select__toggle{height:40px;min-height:40px;}
	.mhc-search-form .btn{height:40px;min-height:40px;padding:0 18px;font-size:10px;}
}
.mhc-search-form>.mh-select .mh-select__menu{
	left:0;
	right:auto;
	width:210px;
	padding:6px;
	border:1px solid color-mix(in srgb,var(--mh-brown,#a06b3e) 28%,#fff);
	border-radius:6px;
	background:#fff;
	box-shadow:0 10px 28px rgba(26,13,5,.12);
}
.mhc-search-form>.mh-select .mh-select__menu button{
	gap:12px;
	min-height:38px;
	padding:0 12px;
	border-radius:3px;
	background:#fff;
	color:var(--mh-grey,#555);
	font-family:inherit;
	font-size:12px;
	font-weight:400;
	line-height:1.5;
}
.mhc-search-form>.mh-select .mh-select__menu button[aria-checked=true]{
	background:color-mix(in srgb,var(--mh-brown,#a06b3e) 14%,#fff);
	color:var(--mh-brown-dk,#805632);
	font-weight:600;
}
.mhc-search-form>.mh-select .mh-select__menu button[aria-checked=true]::after{content:'✓';flex-shrink:0;}
.mhc-search-form>.mh-select .mh-select__menu button:hover,
.mhc-search-form>.mh-select .mh-select__menu button:focus-visible{
	background:color-mix(in srgb,var(--mh-brown,#a06b3e) 8%,#fff);
	color:var(--mh-brown-dk,#805632);
	outline:none;
}
@media(max-width:600px){
	.mhc-search-form>.mh-select .mh-select__menu{right:0;width:100%;}
}

/* Desktop dropdown introductions: history eras and profile collections only. */
@media(min-width:1051px){
	.mh-navbar .mh-mega--tabs .mh-mega__intro{
		position:relative;align-self:start;min-width:0;padding:12px 14px;
		border:1px solid #e8dfd1;border-top:3px solid var(--mh-brown,#a06b3e);
		border-radius:3px;background:#f8f5e8;
	}
	.mh-navbar .mh-mega--tabs .mh-mega__intro>.mh-eyebrow{
		display:inline-block;margin:0 0 8px;padding:3px 6px;border-radius:3px;
		background:#e8eeeb;color:#315b5d;font-size:9px;line-height:1.5;letter-spacing:.06em;
	}
	.mh-navbar .mh-mega--tabs .mh-mega__intro h3{
		margin:0 0 8px;font-family:Georgia,"Times New Roman",serif;
		font-size:20px;font-weight:400;line-height:1.15;letter-spacing:-.025em;color:#282522;
	}
	.mh-navbar .mh-mega--tabs .mh-mega__intro p{
		margin:0 0 10px;font-size:13px;line-height:1.5;color:#625d54;-webkit-line-clamp:3;
	}
	.mh-navbar .mh-mega--tabs .mh-mega__intro .mh-mega__actions{
		gap:8px;padding-top:8px;border-top:0;
	}
	.mh-navbar .mh-mega--tabs .mh-mega__intro .mh-btn{
		display:inline-flex;align-items:center;justify-content:center;
		width:auto;max-width:100%;height:auto;min-height:30px;padding:6px 12px;border:0;border-radius:3px;
		background:#0a0a0a;box-shadow:none;color:#fff;
		font-size:10px;font-weight:600;line-height:1.6;letter-spacing:0;text-transform:none;text-box:normal;
	}
	.mh-navbar .mh-mega--tabs .mh-mega__intro .mh-btn::after{
		content:none;
	}
	.mh-navbar .mh-mega--tabs .mh-mega__intro .mh-btn:hover,
	.mh-navbar .mh-mega--tabs .mh-mega__intro .mh-btn:focus-visible{background:#282522;color:#fff;}
	.mh-navbar .mh-mega--tabs .mh-mega__intro .mh-btn:focus-visible{outline:2px solid var(--mh-teal,#126788);outline-offset:4px;}
	.mh-navbar .mh-mega--tabs .mh-mega__intro .mh-mini{border-radius:3px;background:#fff9;}
}

/* Shared actions and segmented toggles, with square internal joins. */
body .mh-btn,
body .mh-arrows a,
body .mh-arrows button,
body .mh-kids__n,
body .mh-tile,
body .mh-tile__go,
body .mh-footer .mh-footer__social .thb-social-link{border-radius:3px;}
body a.mhc-pdf,
body a.mhc-tree__full,
body button.mhc-tree__share{border-radius:3px;}
body .mhc-ap__chip,
body .social-button-holder a.social,
body .post-social-share{border-radius:3px;}
body .mhc-plans__billing{border-radius:3px;}
body .mhc-plans__billing button:first-child{border-radius:3px 0 0 3px;}
body .mhc-plans__billing button:last-child{border-radius:0 3px 3px 0;}
/* The frame clips the fill, avoiding a second curve and white corner gaps. */
body .mh-seg,
body .mh-sec--pricing .mhc-plans__billing{border-radius:3px;overflow:hidden;}
body .mh-seg button,
body .mh-sec--pricing .mhc-plans__billing button:first-child,
body .mh-sec--pricing .mhc-plans__billing button:last-child{border-radius:0;}
body .mh-seg:has(button:focus-visible),
body .mh-sec--pricing .mhc-plans__billing:has(button:focus-visible){outline:2px solid var(--mh-teal,#126788);outline-offset:3px;}

/* Filled type labels share the site's subtle corner radius. */
body .mhc-eyebrow{border-radius:3px!important;}

/* Shared archive controls, including profile types, letters and view switches. */
body .mhc .mhc-explore__types a,
body .mhc .mhc-explore__types button{border-radius:3px!important;}
body .mhc-az__letters a,
body .mhc-az__letters span,
body .mhc-az__pages .tag-cloud-link{border-radius:3px;}
body .mhc .mhc-az__find input[type="search"]{border-radius:3px 0 0 3px;}
body .mhc .mhc-az__find button{border-radius:0 3px 3px 0;}
/* Filter and find buttons are the site's black button. */
body .mhc .mhc-az__find button{background:#0a0a0a;border-color:#0a0a0a;}
body .mhc .mhc-az__find button:hover,body .mhc .mhc-az__find button:focus-visible{background:#333;border-color:#333;}
/* "View full size" on an image page: the black button, full width of the details column. */
.mhc-image-page .mhc-image-page__full{display:block;box-sizing:border-box;width:100%;text-align:center;background:#0a0a0a;color:#fff;font-weight:400;}
.mhc-image-page .mhc-image-page__full:hover,.mhc-image-page .mhc-image-page__full:focus-visible{background:#333;color:#fff;}
body .mhc-az__views>:first-child{border-radius:3px 0 0 3px;}
body .mhc-az__views>:last-child{border-radius:0 3px 3px 0;}

/* Shared content cards: clip their images to the same subtle corners. */
body .mhc-card,
body .post.style6.style6-border,
body .thb-post-grid .post,
body .mh-latest__grid .post,
body .mh-cc,
body .mh-course,
body .mhc-writer-card,
body .mhc-vt-card{
	border-radius:3px;overflow:hidden;
}
body .mh-mcard,
body .mh-mcard__pic,
body .mh-vmain__pic,
body .mh-vi__pic,
body .mh-atlas__pic,
body .post-gallery{
	border-radius:3px;overflow:hidden;
}
body .mhc-card__media,
body .post.style6-border>.post-gallery,
body .mh-latest__grid .post>.post-gallery{
	border-radius:3px 3px 0 0;
}

/* Profile introductions shared by category and article hubs. */
.mhc .mhc-hub-about{
	width:100%;max-width:none;box-sizing:border-box;
	grid-template-columns:140px minmax(0,1fr);gap:22px;padding:20px;
	border:1px solid #e2ddd3;border-top:3px solid var(--mh-brown,#a06b3e);
	border-radius:3px;background:#f8f5e8;
}
.mhc .mhc-hub-about__media{align-self:start;border-radius:3px;background:#eee8d8;}
.mhc .mhc-hub-about__top{align-items:center;gap:12px;}
.mhc .mhc-hub-about__label{
	display:inline-flex;padding:4px 7px;border-radius:3px;background:#e6ece8;
	color:var(--mh-teal,#126788);font-size:9px;letter-spacing:.04em;line-height:1.5;
}
.mhc .mhc-hub-about__title{margin:8px 0 0;font-family:"Sinkin Sans",sans-serif;font-size:26px;font-weight:400;line-height:1.3;color:#282522;}
.mhc .mhc-hub-about__title:hover{color:var(--mh-teal,#126788);}
.mhc .mhc-hub-about__excerpt{margin:8px 0 0;font-size:14px;line-height:1.55;color:#625d54;}
.mhc .mhc-hub-about__facts{gap:8px;margin:14px 0 0;padding:0;border:0;}
.mhc .mhc-hub-about__facts>div{
	margin:0;padding:8px 12px;border:1px solid #e2ddd3;border-radius:3px;background:#fff;
}
.mhc .mhc-hub-about__facts dt{margin:0 0 4px;font-size:9px;letter-spacing:.04em;color:#746e63;}
.mhc .mhc-hub-about__facts dd{font-size:14px;line-height:1.4;}
.mhc .mhc-hub-about__go{
	display:inline-flex;align-items:center;justify-content:center;min-height:32px;
	padding:8px 14px;border:0;border-radius:3px;background:#0a0a0a;color:#fff;
	font:600 10px/1.5 "Sinkin Sans",Georgia;letter-spacing:0;text-transform:none;text-box:normal;
}
.mhc .mhc-hub-about__go:hover{background:#282522;color:#fff;}
.mhc .mhc-hub-about__go:focus-visible{outline:2px solid var(--mh-teal,#126788);outline-offset:3px;}
.mhc .mhc-hub-about__go--end{display:none;}
@media(min-width:601px){
	.mhc .mhc-hub-about{grid-template-columns:clamp(160px,18vw,220px) minmax(0,1fr);gap:24px;}
	.mhc .mhc-hub-about__media{position:relative;align-self:stretch;aspect-ratio:auto;min-height:180px;}
	.mhc .mhc-hub-about__media img{position:absolute;inset:0;width:100%;height:100%;}
	.mhc .mhc-hub-about__facts{margin-top:auto;padding-top:14px;}
	.mhc .mhc-hub-about__facts>div{flex:1 1 140px;min-width:0;}
}
@media(max-width:600px){
	.mhc .mhc-hub-about{grid-template-columns:minmax(0,1fr);gap:0;padding:14px;}
	.mhc .mhc-hub-about__media{display:none;}
	.mhc .mhc-hub-about__top,.mhc .mhc-hub-about__title{grid-column:1;}
	.mhc .mhc-hub-about__title{margin:4px 0 0;font-size:21px;}
	.mhc .mhc-hub-about__excerpt{margin-top:12px;}
	.mhc .mhc-hub-about__top .mhc-hub-about__go{display:none;}
	.mhc .mhc-hub-about__facts>div{flex:1 1 40%;}
	.mhc .mhc-hub-about__go--end{display:inline-flex;justify-self:start;margin-top:14px;}
}

/* Home journey: separate era choices from a spacious reading panel. */
body .mh-sec--eras .mh-era-mobile{display:none;}
body .mh-sec--eras .mh-era-mobile .mh-select__toggle,
body .mh-sec--eras .mh-era-mobile .mh-select__menu{border-radius:3px;}
body .mh-sec--eras .mh-era-mobile select:not(.mh-select__native){width:100%;min-height:48px;border:1px solid #d5c9b8;border-radius:3px;background:#fff;color:#282522;font:inherit;font-size:14px;padding:12px;}
/* Journey through the eras: a timeline. One line runs through the whole span, each era is a dot on it
   with its dates above its name, and the chosen era is the filled dot. */
body .mh-sec--eras .mh-ribbon{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:0;overflow:visible;margin-top:8px;}
body .mh-sec--eras .mh-era{position:relative;display:flex;flex-direction:column-reverse;justify-content:flex-end;align-items:flex-start;min-height:0;padding:34px 14px 0 0;border:0;border-radius:0;background:transparent;color:#fff;text-align:left;}
body .mh-sec--eras .mh-era::before{content:"";position:absolute;left:0;top:0;z-index:1;width:14px;height:14px;box-sizing:border-box;border:2px solid rgba(255,255,255,.75);border-radius:50%;background:var(--mh-teal,#126788);transition:background .2s,border-color .2s,box-shadow .2s;}
body .mh-sec--eras .mh-era::after{content:"";position:absolute;left:14px;right:0;top:6px;height:2px;background:rgba(255,255,255,.28);}
/* The line carries on past the last era to the panel's right edge and ends in an arrowhead: history goes on. */
body .mh-sec--eras .mh-era:last-child::after{top:1px;height:12px;background:linear-gradient(rgba(255,255,255,.28),rgba(255,255,255,.28)) left center / calc(100% - 4px) 2px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='12' viewBox='0 0 8 12'%3E%3Cpath d='M1.5 1.5 6 6l-4.5 4.5' fill='none' stroke='%23ffffff' stroke-opacity='.55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right center / 8px 12px no-repeat;}
body .mh-sec--eras .mh-era b{font-size:14px;font-weight:500;line-height:1.35;white-space:normal;overflow:visible;text-overflow:clip;color:#fff;}
body .mh-sec--eras .mh-era span{margin:0 0 5px;font-size:12px;font-weight:400;letter-spacing:.05em;line-height:1.3;color:rgba(255,255,255,.72);font-variant-numeric:tabular-nums;}
body .mh-sec--eras .mh-era:hover{background:transparent;}
body .mh-sec--eras .mh-era:hover::before{background:#fff;border-color:#fff;}
body .mh-sec--eras .mh-era:hover b{color:#fff;}
body .mh-sec--eras .mh-era[aria-selected="true"]{background:transparent;border:0;color:#f8f5e8;}
body .mh-sec--eras .mh-era[aria-selected="true"]::before{background:#f8f5e8;border-color:#f8f5e8;box-shadow:0 0 0 5px rgba(248,245,232,.25);}
body .mh-sec--eras .mh-era[aria-selected="true"] b{font-weight:600;color:#f8f5e8;}
body .mh-sec--eras .mh-era[aria-selected="true"] span{color:#f8f5e8;}
body .mh-sec--eras .mh-era:focus-visible{outline:none;}
body .mh-sec--eras .mh-era:focus-visible::before{box-shadow:0 0 0 5px rgba(248,245,232,.55);}
body .mh-sec--eras .mh-era-panel{margin-top:32px;border-radius:6px;padding:32px;grid-template-columns:minmax(160px,.7fr) minmax(220px,1fr) minmax(0,1.7fr);gap:28px;align-items:start;}
body .mh-sec--eras .mh-era-panel__pic{border-radius:3px;aspect-ratio:4/5;min-height:0;}
body .mh-sec--eras .mh-era-panel__pic img{width:100%;height:100%;object-fit:cover;}
body .mh-sec--eras .mh-era-panel__main{border-right:0;padding-right:0;}
body .mh-sec--eras .mh-era-panel .mh-eyebrow{display:inline-block;background:#f8f5e8;border-radius:3px;padding:6px 9px;line-height:1.4;}
body .mh-sec--eras .mh-era-panel h3{font-weight:400;font-size:24px;line-height:1.35;margin:14px 0 12px;}
body .mh-sec--eras .mh-era-panel__main p{font-size:16px;line-height:1.6;margin-bottom:22px;}
body .mh-sec--eras .mh-era-panel .mh-btn{background:#0a0a0a;}
body .mh-sec--eras .mh-era-panel .mh-btn:hover{background:#333;}
@media(min-width:701px) and (max-width:1100px){
	body .mh-sec--eras .mh-ribbon{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:10px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.35) transparent;}
	body .mh-sec--eras .mh-era{flex:0 0 168px;scroll-snap-align:start;}
	body .mh-sec--eras .mh-era-panel{grid-template-columns:180px minmax(0,1fr);}
	body .mh-sec--eras .mh-era-panel__links{grid-column:1/-1;}
}
@media(max-width:700px){
	body .mh-sec--eras .mh-ribbon{display:none;}
	body .mh-sec--eras .mh-era-mobile{display:flex;width:100%;margin:0;}
	body .mh-sec--eras .mh-era-panel{grid-template-columns:minmax(0,1fr);padding:24px;gap:24px;margin-top:16px;}
	body .mh-sec--eras .mh-era-panel__pic{aspect-ratio:16/9;}
	body .mh-sec--eras .mh-era-panel__links{grid-column:1;}
}

/* ---------------------------------------------------------------- Explore: views and types */
/* The views under Explore (A–Z index, Historical explorer, Regions, Family trees, Images) are
   pages, not filters: quiet text tabs with a line under the current one. */
.mhc .mhc-explore-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:0 30px;margin:18px 0 0;border-bottom:1px solid var(--mh-line,#e2ddd3);font-family:"Sinkin Sans",system-ui,-apple-system,Roboto,sans-serif}
.mhc .mhc-explore-tabs a{display:block;margin-bottom:-1px;padding:10px 2px 12px;border-bottom:2px solid transparent;color:var(--mh-teal,#126788);font-size:13px;font-weight:500;line-height:1.3;text-decoration:none;transition:color .2s ease,border-color .2s ease}
.mhc .mhc-explore-tabs a:hover{color:var(--mh-ink,#111)}
.mhc .mhc-explore-tabs a.is-active{color:var(--mh-ink,#111);border-bottom-color:var(--mh-teal,#126788)}
.mhc .mhc-explore-tabs a:focus-visible{outline:2px solid var(--mh-teal,#126788);outline-offset:2px}
.mhc-archive-header .mhc-explore-tabs+.mhc-az__tools{margin-top:34px}
/* The kinds of profile that don't fit the row sit behind "More": a tab like the others, with a menu. */
.mhc-explore__types .mhc-more{position:relative}
.mhc-explore__types .mhc-more>summary{display:block;box-sizing:border-box;padding:10px 30px 8px 16px;border:1px solid var(--mhc-border,#e2ddd3);border-radius:3px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23262220' stroke-width='1.6'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 10px center/12px;color:#262220;font-family:var(--thb-primary-font,"Sinkin Sans",system-ui,sans-serif);font-size:13px;font-weight:500;line-height:1;list-style:none;cursor:pointer;transition:border-color .2s ease,color .2s ease}
.mhc-explore__types .mhc-more>summary::-webkit-details-marker{display:none}
.mhc-explore__types .mhc-more>summary:hover,.mhc-explore__types .mhc-more[open]>summary{border-color:var(--mh-brown,#a06b3e);color:var(--mh-brown,#a06b3e)}
.mhc-explore__types .mhc-more>summary.is-active{border-color:var(--mh-brown,#a06b3e);background-color:var(--mh-brown,#a06b3e);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='1.6'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");color:#fff}
.mhc-explore__types .mhc-more__menu{position:absolute;z-index:30;top:calc(100% + 6px);left:0;min-width:210px;padding:6px;border:1px solid #d5c9b8;border-radius:3px;background:#fff;box-shadow:0 8px 24px rgba(26,13,5,.12);text-align:left}
.mhc .mhc-explore__types .mhc-more__menu a{display:block;padding:11px 12px;border:0!important;border-radius:3px!important;background:#fff;color:#262220;text-align:left;text-box:normal}
.mhc .mhc-explore__types .mhc-more__menu a:hover{background:var(--mhc-bg-soft,#f8f5e8);color:var(--mh-brown,#a06b3e)}
.mhc .mhc-explore__types .mhc-more__menu a.is-active,.mhc .mhc-explore__types .mhc-more__menu a.is-active:hover{background:var(--mh-cream,#f8f5e8)!important;color:var(--mh-brown,#a06b3e)!important}
@supports (text-box: trim-both cap alphabetic) and (padding: 1cap){
.mhc-explore__types .mhc-more>summary{text-box:trim-both cap alphabetic;padding-block:calc(9px + (1lh - 1cap) / 2)}
}
@media(max-width:640px){.mhc .mhc-explore-tabs{gap:0 20px}.mhc-explore__types .mhc-more__menu{left:auto;right:0}}

/* The "Find a …" box above a long list of filter choices (Compare, Family trees): the size and
   type of the finder's search box, the site's corners, and a placeholder in normal case. The
   theme's own input rules would otherwise make it tall and upper-case. */
.mhc-cfinder .mhc-fgroup__find{display:block;box-sizing:border-box;width:100%;height:38px;min-width:0;margin:0 0 8px;padding:0 12px;border:1px solid color-mix(in srgb,var(--mh-brown,#a06b3e) 28%,#fff);border-radius:3px;background:#fff;box-shadow:none;font:13px/1 "Sinkin Sans",system-ui,sans-serif;color:var(--mh-ink,#111);letter-spacing:normal;text-transform:none}
.mhc-cfinder .mhc-fgroup__find::placeholder{font-size:13px;color:#8a8478;opacity:1;letter-spacing:normal;text-transform:none}
.mhc-cfinder .mhc-fgroup__find:focus{outline:none;border-color:var(--mh-brown,#a06b3e);box-shadow:0 0 0 3px color-mix(in srgb,var(--mh-brown,#a06b3e) 18%,transparent)}

/* 404 page: the illustration is followed by clear ways back into the site. */
.mh-404-links{max-width:640px;margin:0 auto;padding:8px 16px 56px;text-align:center}
.mh-404-links p{margin:0 0 20px;font:19px/1.6 Georgia,serif;color:#262220}
.mh-404-links__row{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.mh-404-links__row .mh-btn{min-width:120px;text-align:center}

/* Images fade in as they load; the old blur(5px) placeholder made cards look out of focus. */
.lazyload,.lazyloading{-webkit-filter:none;-moz-filter:none;filter:none;opacity:0}
.lazyloaded{opacity:1;transition:opacity .35s ease}
@media (prefers-reduced-motion:reduce){.lazyloaded{transition:none}}

/* While a picture downloads, show a soft panel instead of a black card or a blank gap. */
.post:not(.featured-style) .post-gallery,
.thb-article-featured-image{background-color:var(--mhc-appearance-surface,var(--mh-cream,#f8f5e8))}

/* A to Z list: names flow down three newspaper columns, so a long name only makes its own entry taller
   (a grid made every entry in a row as tall as the longest). A thin line under each name keeps them easy to follow. */
.mhc-az__list{display:block;column-count:3;column-gap:56px}
@media (max-width:860px){.mhc-az__list{column-count:2;column-gap:40px}}
@media (max-width:600px){.mhc-az__list{column-count:1}}
.mhc-az__list>li{break-inside:avoid;-webkit-column-break-inside:avoid;page-break-inside:avoid;padding-top:14px;padding-bottom:14px;border-bottom:1px solid var(--mhc-appearance-line,#e6e0d4)}

/* Explore tabs on the Glossary and Topics pages: a little air below the line. */
.mhc-archive-header .mhc-explore-tabs+.mhc-mobile-filter,.mhc-archive-header .mhc-explore-tabs+.mhc-explore__types{margin-top:34px}
.mhc-archive-header+.mhc-atlas-legend{margin-top:34px}

/* Explore pages (A–Z, Glossary, Images): the kind filters sit on the left and the find box on the right, one row,
   so the letters start higher. Phones keep the stacked layout. */
@media (min-width:801px){
	.mhc-archive-header:has(.mhc-explore-tabs){display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:0 28px;margin-bottom:18px}
	.mhc-archive-header:has(.mhc-explore-tabs)>.mhc-breadcrumb,
	.mhc-archive-header:has(.mhc-explore-tabs)>h1,
	.mhc-archive-header:has(.mhc-explore-tabs)>.mhc-explore-tabs{flex:0 0 100%}
	.mhc-archive-header:has(.mhc-explore-tabs)>.mhc-explore__types{order:1;flex:1 1 0;min-width:0;justify-content:flex-start;margin:34px 0 0}
	.mhc-archive-header:has(.mhc-explore-tabs)>.mhc-az__tools{order:2;flex:0 0 auto;justify-content:flex-end;margin:34px 0 0}
	.mhc-archive-header:has(.mhc-explore-tabs):not(:has(.mhc-explore__types))>.mhc-az__tools{margin-inline:auto}
	.mhc-archive-header:has(.mhc-explore-tabs)>.mhc-az__tools .mhc-az__find input[type="search"]{width:234px}
	.mhc-archive-header:has(.mhc-explore-tabs)>.mhc-az__tools{--mhc-az-h:33px}
	.mhc-archive-header:has(.mhc-explore-tabs)>.mhc-az__tools .mhc-az__find input[type="search"]{font-size:13px;padding-left:14px;padding-right:12px}
	.mhc-archive-header:has(.mhc-explore-tabs)>.mhc-az__tools .mhc-az__find button{font-size:13px;font-weight:500;padding-left:18px;padding-right:18px}
}
@media (max-width:800px){.mhc-archive-header:has(.mhc-explore-tabs){margin-bottom:14px}}

/* Letter row: the same space above and below the boxes, and each letter centred on its capital height. */
.mhc-archive-header:has(.mhc-explore-tabs){margin-bottom:0}
.mhc-az__letters{padding-block:16px}
.mhc-az__letters a,.mhc-az__letters span{padding:0;text-box:trim-both cap alphabetic}
/* The letters line up with the filters above them (left), now that the row uses the full width. */
.mhc-az__letters{justify-content:flex-start}

/* Finder pages (Family trees, Compare, Courses): room between the tab line and the panels, and the letters start level with the filter panel. */
.mhc-cfinder{margin-top:34px}
.mhc-cfinder__main .mhc-az__letters{padding-top:0}

/* Explore tabs on phones: one swipeable row instead of wrapping onto two lines. A soft fade shows which side has more.
   The body prefix keeps this ahead of the plugin's plain stylesheet (used on Regions and others). */
@media(max-width:700px){
	body .mhc .mhc-explore-tabs{flex-wrap:nowrap;justify-content:flex-start;gap:0 24px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;overscroll-behavior-x:contain}
	body .mhc .mhc-explore-tabs::-webkit-scrollbar{display:none}
	body .mhc .mhc-explore-tabs a{flex:none;white-space:nowrap;margin-bottom:0}
	body .mhc .mhc-explore-tabs[data-fade~="right"]{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent)}
	body .mhc .mhc-explore-tabs[data-fade~="left"]{-webkit-mask-image:linear-gradient(270deg,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(270deg,#000 calc(100% - 36px),transparent)}
	body .mhc .mhc-explore-tabs[data-fade~="left"][data-fade~="right"]{-webkit-mask-image:linear-gradient(90deg,transparent,#000 36px,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(90deg,transparent,#000 36px,#000 calc(100% - 36px),transparent)}
}

/* Phones: one compact, even gap (12px) between the tabs, the find box, the kind picker, the filter panel and the letters, on every Explore page. */
@media (max-width:800px){
	.mhc-archive-header:has(.mhc-explore-tabs){margin-bottom:0}
	.mhc-archive-header:has(.mhc-explore-tabs)>.mhc-explore-tabs+*{margin-top:14px}
	.mhc-archive-header:has(.mhc-explore-tabs)>.mhc-az__tools,
	.mhc-archive-header:has(.mhc-explore-tabs)>.mhc-mobile-filter,
	.mhc-archive-header:has(.mhc-explore-tabs)>.mhc-explore__types{margin-top:12px;margin-bottom:0}
	.mhc-archive-header:has(.mhc-explore-tabs)>.mhc-explore-tabs+.mhc-az__tools,
	.mhc-archive-header:has(.mhc-explore-tabs)>.mhc-explore-tabs+.mhc-mobile-filter,
	.mhc-archive-header:has(.mhc-explore-tabs)>.mhc-explore-tabs+.mhc-explore__types{margin-top:14px}
	.mhc-az__letters{padding-block:12px;margin-bottom:12px}
	.mhc-cfinder{margin-top:14px;gap:12px}
	.mhc-cfinder__main .mhc-az__letters{padding-top:0}
}

/* Results bar (count + sort) on the finder pages: one compact line, on desktop and on phones.
   The .mhc .mhc-cfinder prefix keeps this ahead of the Courses page's own sheet. */
.mhc .mhc-cfinder__bar{margin-bottom:14px;padding-bottom:10px;gap:8px 20px}
.mhc .mhc-cfinder__sort .mh-select__toggle{height:33px;min-height:33px}
/* "Sort by" is the same everywhere it appears (Compare, Family trees, Courses, Journeys): the sans-serif filter font, 13px, one line. */
.mhc .mhc-cfinder__sort,.mhc .mhc-cfinder__sort label,.mhc .mhc-cfinder__sort select,.mhc .mhc-cfinder__sort .mh-select__toggle,.mhc .mhc-cfinder__sort .mh-select__menu,.mhc .mhc-cfinder__sort .mh-select__menu button{font-family:"Sinkin Sans",system-ui,-apple-system,Roboto,sans-serif!important;font-style:normal;letter-spacing:normal}
.mhc .mhc-cfinder__sort label{font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.mhc .mhc-cfinder__sort .mh-select__toggle,.mhc .mhc-cfinder__sort .mh-select__menu button{font-size:13px;font-weight:400;line-height:1;white-space:nowrap}
.mhc .mhc-cfinder__sort .mh-select{width:160px;flex:0 0 160px}
@media (max-width:800px){
	.mhc .mhc-cfinder__bar{flex-wrap:nowrap;margin-bottom:12px;padding-bottom:10px;gap:8px 12px}
	.mhc .mhc-cfinder__count{flex:1 1 auto;min-width:0}
	.mhc .mhc-cfinder__sort{width:auto;flex:0 0 auto}
	.mhc .mhc-cfinder__sort .mh-select{flex:none;width:172px}
	/* "Sort by" stays for screen readers; the select itself says what is chosen. */
	.mhc .mhc-cfinder__sort label{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
}

/* Phones and small tablets: the search box and the Filters button share one row; tapping Filters opens the choices below.
   The summary is lifted into the search row, so a closed panel is just that one row. */
@media (max-width:900px){
	.mhc .mhc-cfinder .mhc-cfinder__side{position:relative;top:auto;padding:10px 12px}
	.mhc .mhc-cfinder .mhc-cfinder__search{margin:0 124px 0 0}
	.mhc .mhc-cfinder .mhc-cfinder__search input[type=search]{height:40px}
	.mhc .mhc-cfinder .mhc-cfinder__search button{height:40px}
	.mhc .mhc-cfinder .mhc-cfinder__filters>summary{position:absolute;top:10px;right:12px;display:flex;align-items:center;justify-content:space-between;gap:8px;box-sizing:border-box;width:116px;height:40px;margin:0;padding:0 10px 0 12px;border:1px solid color-mix(in srgb,var(--mh-brown,#a06b3e) 28%,#fff);border-radius:3px;background:#fff;font:500 13px/1 "Sinkin Sans",system-ui,sans-serif;letter-spacing:normal;text-transform:none;color:var(--mh-ink,#111);cursor:pointer;pointer-events:auto}
	.mhc .mhc-cfinder .mhc-cfinder__filters>summary::before{display:none}
	.mhc .mhc-cfinder .mhc-cfinder__filters>summary::after{content:"";flex:none;width:12px;height:12px;margin:0;border:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 4.5 3.5 3.5 3.5-3.5'/%3E%3C/svg%3E") center/12px no-repeat;transform:none;transition:transform .2s}
	.mhc .mhc-cfinder .mhc-cfinder__filters[open]>summary::after{transform:rotate(180deg)}
	.mhc .mhc-cfinder .mhc-cfinder__filters[open]>summary{border-color:var(--mh-brown,#a06b3e)}
	.mhc .mhc-cfinder .mhc-cfinder__filters>summary b{min-width:18px;height:18px;margin-left:auto;padding:0 4px;font-size:11px;line-height:18px}
	.mhc .mhc-cfinder .mhc-cfinder__filters[open]{margin-top:12px}
}

/* Topics page as a finder: three cards across next to the panel; two on phones. */
.mhc-topics-finder .mhc-topic-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
@media(max-width:600px){.mhc-topics-finder .mhc-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}
.mhc-topics-finder .mhc-topic-group__empty{margin:0;padding:24px;background:#f8f5e8;color:#4a4a4a;font:18px/1.6 Georgia,serif}

/* Category page "About" block: open layout, no box and no top bar; a light divider closes it before the articles. */
.mhc .mhc-hub-about{margin:24px 0 0;padding:4px 0 28px;border:0;border-bottom:1px solid var(--mh-line,#e2ddd3);border-radius:0;background:none;grid-template-columns:120px minmax(0,1fr);gap:24px}
.mhc .mhc-hub-about__media{aspect-ratio:1;min-height:0;align-self:start;background:#f1ece0}
.mhc .mhc-hub-about__media span{font-size:44px}
.mhc .mhc-hub-about__label{padding:0;border-radius:0;background:none;color:var(--mh-teal,#126788);font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase}
.mhc .mhc-hub-about__title{margin:6px 0 0;font-size:28px}
.mhc .mhc-hub-about__go{padding:0;border:0;border-radius:0;background:none;color:var(--mh-brown,#a06b3e);font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;text-decoration:none}
.mhc .mhc-hub-about__go::after{content:" →"}
.mhc .mhc-hub-about__go:hover{background:none;color:var(--mh-brown-dk,#805632);text-decoration:underline;text-underline-offset:3px}
.mhc .mhc-hub-about+.mhc-hub__tabs{margin-top:22px}
.mhc-archive-header:has(.mhc-hub-about){margin-bottom:26px}
/* Facts as a tidy list: a small label on the left, its value beside it, a hairline between rows. */
.mhc .mhc-hub-about__facts{display:block;width:100%;max-width:640px;margin:16px 0 0;padding:0;border:0;border-top:1px solid #ece6d9}
.mhc .mhc-hub-about__facts>div{display:grid;grid-template-columns:104px minmax(0,1fr);column-gap:16px;align-items:baseline;margin:0;padding:9px 0;border:0;border-bottom:1px solid #ece6d9;background:none}
.mhc .mhc-hub-about__facts dt{margin:0;font-size:10px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#8a8478}
.mhc .mhc-hub-about__facts dd{margin:0;font-size:15px;line-height:1.45}
@media (max-width:600px){
	/* One tight column: label, title, summary, facts, link, each a few pixels apart. */
	.mhc .mhc-hub-about{display:flex;flex-direction:column;gap:0;margin-top:14px;padding:0 0 18px}
	.mhc .mhc-hub-about__top{margin:0}
	.mhc .mhc-hub-about__title{margin:4px 0 0;font-size:22px;line-height:1.25}
	.mhc .mhc-hub-about__excerpt{margin:8px 0 0;font-size:14px;line-height:1.5}
	.mhc .mhc-hub-about__facts{margin:12px 0 0}
	.mhc .mhc-hub-about__facts>div{grid-template-columns:84px minmax(0,1fr);column-gap:12px;padding:7px 0}
	.mhc .mhc-hub-about__facts dd{font-size:14px}
	.mhc .mhc-hub-about__go--end{align-self:flex-start;justify-content:flex-start;margin:12px 0 0;padding:0}
	.mhc-archive-header:has(.mhc-hub-about){margin-bottom:18px}
}

/* Wide screens: the picture is as tall as the text beside it, the summary stops at three lines, and the facts follow it in one row. */
@media (min-width:601px){
	.mhc .mhc-hub-about{grid-template-columns:120px minmax(0,1fr);padding:0 0 22px}
	.mhc .mhc-hub-about__media{position:relative;align-self:stretch;aspect-ratio:auto;min-height:104px}
	.mhc .mhc-hub-about__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
	.mhc .mhc-hub-about__body{min-height:0}
	.mhc .mhc-hub-about__excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;max-width:720px}
	.mhc .mhc-hub-about__facts{display:flex;flex-wrap:wrap;gap:0;max-width:none;margin:14px 0 0;padding:0;border:0}
	.mhc .mhc-hub-about__facts>div{display:block;flex:0 0 auto;margin:0 28px 0 0;padding:0 28px 0 0;border:0;border-right:1px solid #e6e0d3}
	.mhc .mhc-hub-about__facts>div:last-child{margin-right:0;padding-right:0;border-right:0}
	.mhc .mhc-hub-about__facts dt{margin:0 0 3px}
	.mhc .mhc-hub-about__facts dd{font-size:14px}
}

/* The type (Empire, Caliphate…) is the first fact, so the top row holds only the link. */
.mhc .mhc-hub-about__top{justify-content:flex-end}
@media (min-width:601px){
	.mhc .mhc-hub-about{position:relative}
	.mhc .mhc-hub-about__top{position:absolute;top:0;right:0;width:auto}
	.mhc .mhc-hub-about__excerpt{margin-top:0;padding-right:170px}
}

/* Profile pages (person, place, dynasty…): the same layout, a little more compact. */
body .mhc-section{margin:26px 0}
body .mhc-section h2{padding-bottom:6px!important;margin:0 0 10px!important}
body .mhc-section h3{margin:14px 0 6px}
body .mhc-rel-list,body .mhc-dates-list,body .mhc-metrics-list{margin:10px 0 18px;gap:14px 28px}
body .mhc-rel__label,body .mhc-date-label,body .mhc-metrics-list li strong{margin-bottom:3px}
body .mhc-rel__title,body .mhc-date{font-size:17px;line-height:1.3}
body .mhc-rel__body+.mhc-rel__body{margin-top:3px}
body .mhc-rel__meta{margin-top:2px;font-size:13px}
body .mhc-date__equiv{margin-top:3px}
body .mhc-date__equiv-val{font-size:13.5px}
@media (max-width:600px){
	.mhc-layout-main .mhc-dates-list,.mhc-layout-main .mhc-rel-list,.mhc-layout-main .mhc-metrics-list{gap:11px}
	body .mhc-section{margin:22px 0}
}

/* Inside the app (?mhc_app=1): only the page itself; the app supplies its own title bar and navigation. */
body.mhc-in-app header.fixed,
body.mhc-in-app .mh-strip,
body.mhc-in-app .mh-header,
body.mhc-in-app .mhc-archive-header,
body.mhc-in-app .mhc-breadcrumb,
body.mhc-in-app .mhc-explore-tabs,
body.mhc-in-app .mh-footer,
body.mhc-in-app .mh-drawer,
body.mhc-in-app .mh-mobile-nav,
body.mhc-in-app .thb-search-popup,
body.mhc-in-app aside.thb-cookie-bar { display: none !important; }
body.mhc-in-app { background: #f8f5e8 !important; }
body.mhc-in-app .mhc.row { margin-top: 0 !important; padding-top: 8px !important; }
html:has(body.mhc-in-app) { background: #f8f5e8 !important; }
body.mhc-in-app #wrapper { background: transparent !important; }

/* Search boxes: Sinkin Sans has more space above its capitals than below its baseline, so text in a fixed-height field
   sits about 0.115em low. Every finder search box lifts its text by the same amount, so the space above the letters
   equals the space below them. (A–Z, Compare/Courses/Family trees, Journeys/Watch, the menu drawer and the site search.) */
body .mhc .mhc-az__find input[type="search"],
body .mhc .mhc-cfinder__search input[type="search"],
body .mhc .mhc-fgroup__find,
body .mhc .mhc-jsearch input[type="search"],
body .mh-drawer__search input[type="search"]{padding-top:0;padding-bottom:.115em}
body .mhc .mhc-search-form .search-field{padding-bottom:calc(16px + .115em)}

/* Single article: the slight (3px) rounded corners the rest of the site has, on every box, tag, button and picture
   that was still square. The "Text" button is the same sans-serif and corner as Save and PDF beside it. The full-width
   cover picture at the top runs edge to edge, so it stays square. */
body.single-post .mhc-readpref__toggle{border-radius:3px;font-family:"Sinkin Sans",system-ui,-apple-system,Roboto,sans-serif}
body.single-post .mhc-featured-image-link,
body.single-post .mhc-article-byline,
body.single-post .thb-article-author,
body.single-post .mhc-ap,
body.single-post .mhc-ap__box,
body.single-post .thb-social-footer,
body.single-post .thb-social-count,
body.single-post .mhc-access-tag,
body.single-post .mhc-wa-channel__icon,
body.single-post .mhc-sidebar-support{border-radius:3px}
body.single-post .mhc-wa-channel__card{border-radius:3px;overflow:hidden}
body.single-post .wp-block-image img,
body.single-post .wp-block-image figure img,
body.single-post .post-content img[class*="wp-image-"]{border-radius:3px}

/* Article buttons (Save / PDF / Text, and the share row): the icon and the label share one centre line. The labels are trimmed to
   the height of their capitals (Sinkin Sans otherwise sits low in its line), so a flex row centres them exactly. */
body.single-post .mhc-actions--article .mhc-save,
body.single-post .mhc-actions--article .mhc-pdf,
body.single-post .mhc-actions--article .mhc-readpref__toggle{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;box-sizing:border-box;height:40px;padding-top:0;padding-bottom:0;line-height:1}
body.single-post .mhc-actions--article .mhc-save svg,
body.single-post .mhc-actions--article .mhc-pdf svg,
body.single-post .mhc-actions--article .mhc-readpref__toggle svg{display:block;flex:0 0 14px;width:14px;height:14px}
body.single-post .mhc-save__label,
body.single-post .mhc-pdf__label,
body.single-post .mhc-readpref__toggle>span,
body.single-post .thb-social-footer .thb-social-text,
body.single-post .thb-social-footer .social>.thb-social-count{display:block;line-height:1}
@supports (text-box: trim-both cap alphabetic){
	body.single-post .mhc-save__label,
	body.single-post .mhc-pdf__label,
	body.single-post .mhc-readpref__toggle>span,
	body.single-post .thb-social-footer .thb-social-text,
	body.single-post .thb-social-footer .social>.thb-social-count{text-box:trim-both cap alphabetic}
}

/* Share row icons: each icon sits in its own 16px box, centred, so it lines up with the (cap-trimmed) label beside it. */
body.single-post .thb-social-footer .social .thb-social-icon i{display:flex;align-items:center;justify-content:center;height:16px;line-height:16px}
body.single-post .thb-social-footer .social .thb-social-icon i::before{display:block;line-height:16px}
/* The Facebook "f" and Pinterest "p" glyphs have their ink a little high in their boxes: a half-pixel nudge centres them. */
body.single-post .thb-social-footer .social .thb-social-icon i.thb-icon-facebook{transform:translateY(.8px)}
body.single-post .thb-social-footer .social .thb-social-icon i.thb-icon-pinterest{transform:translateY(.5px)}
/* Room under the share buttons before the footer begins. */
body.single-post .post-detail .thb-social-footer{margin-bottom:40px}

/* Table of contents inside an article (Rank Math's block; its old grey box came from the theme's saved Custom CSS).
   Same family as the site's other article boxes: cream, thin border, brown top rule, 3px corners. Numbered, no bullets. */
.post-detail .wp-block-rank-math-toc-block{margin:32px 0;padding:22px 26px 12px;background:#f8f5e8;border:1px solid #e2ddd3;border-top:3px solid var(--mh-brown,#a06b3e);border-radius:3px}
.post-detail .wp-block-rank-math-toc-block>h2,.post-detail .wp-block-rank-math-toc-block>h3,.post-detail .wp-block-rank-math-toc-block>h4,.post-detail .wp-block-rank-math-toc-block>h5,.post-detail .wp-block-rank-math-toc-block>h6,.post-detail .wp-block-rank-math-toc-block>p:first-child{margin:0 0 8px;font:600 12px/1.4 "Sinkin Sans",system-ui,-apple-system,Roboto,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--mh-ink,#111)}
.post-detail .wp-block-rank-math-toc-block nav ul,.post-detail .wp-block-rank-math-toc-block nav ol{margin:0;padding:0;list-style:none;counter-reset:mhc-toc}
.post-detail .wp-block-rank-math-toc-block nav li{position:relative;display:flex;flex-wrap:wrap;align-items:baseline;margin:0!important;padding:11px 0;border:0;border-top:1px solid #e2ddd3;counter-increment:mhc-toc;font-family:"Sinkin Sans",system-ui,-apple-system,Roboto,sans-serif;line-height:23.25px}
.post-detail .wp-block-rank-math-toc-block nav>ul>li:first-child,.post-detail .wp-block-rank-math-toc-block nav>ol>li:first-child{border-top:0}
.post-detail .wp-block-rank-math-toc-block nav li::before{content:counters(mhc-toc,".") ".";position:static;flex:0 0 38px;font:600 13px/23.25px "Sinkin Sans",system-ui,-apple-system,Roboto,sans-serif;letter-spacing:.02em;color:var(--mh-brown,#a06b3e);font-variant-numeric:tabular-nums}
.post-detail .wp-block-rank-math-toc-block nav li ul,.post-detail .wp-block-rank-math-toc-block nav li ol{margin:8px 0 -11px}
.post-detail .wp-block-rank-math-toc-block nav li li{padding-left:0}
.post-detail .wp-block-rank-math-toc-block nav li>a{flex:1 1 0;min-width:0}
.post-detail .wp-block-rank-math-toc-block nav li>ul,.post-detail .wp-block-rank-math-toc-block nav li>ol{flex:0 0 100%;padding-left:38px}
.post-detail .wp-block-rank-math-toc-block nav a{font:400 15px/1.55 "Sinkin Sans",system-ui,-apple-system,Roboto,sans-serif;color:var(--mh-ink,#111);text-decoration:none!important}
.post-detail .wp-block-rank-math-toc-block nav a:hover,.post-detail .wp-block-rank-math-toc-block nav a:focus-visible{color:var(--mh-teal,#126788)}
html[data-mhc-theme="dark"] .post-detail .wp-block-rank-math-toc-block{background:#282620;border-color:#3d3930;border-top-color:var(--mh-brown,#a06b3e)}
html[data-mhc-theme="dark"] .post-detail .wp-block-rank-math-toc-block>h2,html[data-mhc-theme="dark"] .post-detail .wp-block-rank-math-toc-block>h3,html[data-mhc-theme="dark"] .post-detail .wp-block-rank-math-toc-block>h4,html[data-mhc-theme="dark"] .post-detail .wp-block-rank-math-toc-block>h5,html[data-mhc-theme="dark"] .post-detail .wp-block-rank-math-toc-block>h6,html[data-mhc-theme="dark"] .post-detail .wp-block-rank-math-toc-block>p:first-child,html[data-mhc-theme="dark"] .post-detail .wp-block-rank-math-toc-block nav a{color:#eee9df}
html[data-mhc-theme="dark"] .post-detail .wp-block-rank-math-toc-block nav a:hover{color:#8cc9d6}
html[data-mhc-theme="dark"] .post-detail .wp-block-rank-math-toc-block nav li{border-top-color:#3d3930}

/* Table of contents on phones: the heading is a button that opens and closes the list (built by mhc-polish.js; on a wide screen it is inert and the list stays open). */
.mhc-toc__toggle{display:contents}
@media (max-width:700px){
	.post-detail .wp-block-rank-math-toc-block .mhc-toc__toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;margin:-8px 0;padding:0;background:none;border:0;border-radius:0;font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;text-align:left;cursor:pointer}
	.post-detail .wp-block-rank-math-toc-block .mhc-toc__toggle:focus-visible{outline:2px solid var(--mh-teal,#126788);outline-offset:2px}
	.post-detail .wp-block-rank-math-toc-block .mhc-toc__chevron{flex:0 0 16px;transition:transform .2s ease}
	.post-detail .wp-block-rank-math-toc-block.is-open .mhc-toc__chevron{transform:rotate(180deg)}
	.post-detail .wp-block-rank-math-toc-block:not(.is-open){padding-bottom:22px}
	.post-detail .wp-block-rank-math-toc-block:not(.is-open)>h2,.post-detail .wp-block-rank-math-toc-block:not(.is-open)>h3,.post-detail .wp-block-rank-math-toc-block:not(.is-open)>h4,.post-detail .wp-block-rank-math-toc-block:not(.is-open)>h5,.post-detail .wp-block-rank-math-toc-block:not(.is-open)>h6,.post-detail .wp-block-rank-math-toc-block:not(.is-open)>p:first-child{margin-bottom:0}
	.post-detail .wp-block-rank-math-toc-block:not(.is-open) nav{display:none}
}
/* On This Day: months outside the current one are Pro */
.mhc-otd-cal__note{display:flex;align-items:center;gap:16px;max-width:760px;margin:0 auto 28px;padding:16px 20px;background:#f8f5e8;border:1px solid #e8dfc6;border-left:4px solid #a86733;border-radius:3px;text-align:left;}
.mhc-otd-cal__lock{flex:0 0 auto;width:38px;height:38px;border-radius:3px;background:#a86733;-webkit-mask:none;position:relative;}
.mhc-otd-cal__lock::before{content:"";position:absolute;inset:0;background:#fff;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='1.5'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center/20px 20px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='1.5'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center/20px 20px no-repeat;}
.mhc-otd-cal__note-text{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px;}
.mhc-otd-cal__note-text strong{font-size:17px;line-height:1.3;color:#111;}
.mhc-otd-cal__note-text span{font:14px/1.5 Georgia,serif;color:#4a453d;}
.mhc-otd-cal__note .btn{flex:0 0 auto;margin:0;white-space:nowrap;}
@media (max-width:640px){.mhc-otd-cal__note{flex-wrap:wrap;gap:12px;padding:14px 16px;margin-bottom:22px;}.mhc-otd-cal__lock{width:32px;height:32px;}.mhc-otd-cal__note-text{flex-basis:calc(100% - 48px);}.mhc-otd-cal__note-text strong{font-size:16px;}.mhc-otd-cal__note .btn{flex:1 1 100%;text-align:center;}}
.mhc-otd-cal__month.is-locked .mhc-otd-cal__days{opacity:.45;pointer-events:none;user-select:none;}
.mhc-otd-cal__pro{margin-left:6px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#a86733;text-decoration:none;vertical-align:middle;}

/* Footer: "Get the app" store links (MHC Setup → App download) */
.mh-footer__app{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:0 0 0 auto}
.mh-footer__app span{margin-right:2px;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--mh-cream,#f8f5e8)}
.mh-footer__app a{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 14px;border:1px solid rgba(248,245,232,.25);border-radius:3px;color:var(--mh-cream,#f8f5e8);font-size:12px;font-weight:600;text-decoration:none;transition:background .2s,border-color .2s,color .2s}
.mh-footer__app a svg{flex:none;width:16px;height:16px}
.mh-footer__app a span{margin:0;font-size:inherit;letter-spacing:0;text-transform:none;color:inherit}
.mh-footer__app a:hover,.mh-footer__app a:focus-visible{background:#fff;border-color:#fff;color:var(--mh-ink,#111)}
.mh-footer__app + .mh-footer__social{margin-left:0}
@media(max-width:700px){.mh-footer__app{margin-left:0}}
