/* MuslimCBT site-wide header and footer (2026 redesign).
   Used on every page. Every rule is scoped to an .mcx- class and declares the
   properties older page stylesheets set on nav, header, footer, ul, li and a,
   so the chrome looks the same whatever stylesheet a page carries. */

.mcx-announce,.mcx-announce *,.mcx-header,.mcx-header *,.mcx-footer,.mcx-footer *{box-sizing:border-box}
.mcx-header{font:400 16px/1.5 'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;color:#1F2A2A;text-align:left}
.mcx-inner{max-width:1160px;margin:0 auto;padding:0 24px;width:100%}

.mcx-skip{position:absolute;left:12px;top:-60px;z-index:200;padding:10px 14px;border-radius:8px;background:#164E50;color:#fff;font:600 15px 'Inter',system-ui,sans-serif;text-decoration:none}
.mcx-skip:focus{top:10px}
.mcx-announce{display:block;margin:0;padding:0;background:#0E3B3D;color:#E9E3D6;text-align:center;font:500 14px/1.4 'Inter',system-ui,sans-serif;letter-spacing:0;text-transform:none}
.mcx-announce a{display:block;padding:9px 16px;color:#E9E3D6;text-decoration:none;background:none;border:0}
.mcx-announce a:hover span{text-decoration:underline}
.mcx-announce span{color:#DDBD86;font-weight:600;text-decoration:none;margin-left:6px;white-space:nowrap}

.mcx-header{margin:0;padding:0;background:rgba(255,255,255,.96);-webkit-backdrop-filter:saturate(1.4) blur(10px);backdrop-filter:saturate(1.4) blur(10px);border:0;border-bottom:1px solid #DCE3E0;box-shadow:none;position:-webkit-sticky;position:sticky;top:0;z-index:100;width:auto;height:auto}
.mcx-header .mcx-inner{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:28px;height:64px;min-height:0}
.mcx-brand{display:inline-flex;align-items:center;gap:10px;margin:0;padding:0;font:600 19px/1 'Lora',Georgia,serif;letter-spacing:-.01em;color:#164E50;text-decoration:none;background:none;border:0;white-space:nowrap}
.mcx-brand svg{width:30px;height:16px;flex:0 0 auto;display:block}
.mcx-nav{display:block;margin:0 0 0 auto;padding:0;background:none;border:0;position:static;width:auto;height:auto;min-height:0;max-height:none;align-self:center;box-shadow:none;flex:0 1 auto;contain:none}
.mcx-nav ul{display:flex;align-items:center;gap:26px;margin:0;padding:0;list-style:none;background:none;border:0;height:auto;min-height:0;flex-direction:row;flex-wrap:nowrap;position:static}
.mcx-nav li{display:block;margin:0;padding:0;list-style:none;background:none;border:0;height:auto;min-height:0}
.mcx-nav li::before,.mcx-nav li::after{content:none;display:none}
.mcx-nav a{display:inline-block;margin:0;padding:6px 0;font:500 15px/1.3 'Inter',system-ui,sans-serif;letter-spacing:0;text-transform:none;color:#3B4746;text-decoration:none;background:none;border:0;border-bottom:2px solid transparent;border-radius:0}
.mcx-nav a:hover{color:#164E50;border-bottom-color:#C9A46A}
.mcx-nav a[aria-current="page"]{color:#164E50;border-bottom-color:#164E50}
.mcx-cta{display:inline-flex;align-items:center;margin:0;padding:10px 16px;min-height:42px;font:600 15px/1.2 'Inter',system-ui,sans-serif;letter-spacing:0;text-transform:none;color:#fff;background:#164E50;border:0;border-radius:10px;text-decoration:none;white-space:nowrap;box-shadow:none}
.mcx-cta:hover{background:#1D6265;color:#fff}
.mcx-menu{display:none;margin:0 0 0 auto;padding:0;position:relative;background:none;border:0}
.mcx-menu summary{list-style:none;display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0;border:1px solid #DCE3E0;border-radius:10px;background:#fff;cursor:pointer;color:#164E50;font:600 14px 'Inter',system-ui,sans-serif}
.mcx-menu summary::-webkit-details-marker{display:none}
.mcx-menu summary::marker{content:""}
.mcx-burger,.mcx-burger::before,.mcx-burger::after{display:block;width:18px;height:2px;background:#164E50;border-radius:2px;position:relative;content:""}
.mcx-burger::before{position:absolute;top:-6px;left:0}
.mcx-burger::after{position:absolute;top:6px;left:0}
.mcx-menu[open] .mcx-burger{background:transparent}
.mcx-menu[open] .mcx-burger::before{top:0;transform:rotate(45deg)}
.mcx-menu[open] .mcx-burger::after{top:0;transform:rotate(-45deg)}
.mcx-sheet{position:absolute;right:0;top:54px;width:min(86vw,320px);margin:0;padding:10px;background:#fff;border:1px solid #DCE3E0;border-radius:14px;box-shadow:0 20px 50px rgba(14,59,61,.2)}
.mcx-sheet a{display:block;margin:0;padding:12px 12px;font:500 16px/1.3 'Inter',system-ui,sans-serif;color:#1F2A2A;text-decoration:none;background:none;border:0;border-radius:8px}
.mcx-sheet a:hover{background:#EEF3F1;color:#164E50}
.mcx-sheet .mcx-cta{display:flex;justify-content:center;margin-top:8px;color:#fff;background:#164E50;padding:12px 16px}
.mcx-sheet .mcx-cta:hover{background:#1D6265;color:#fff}
.mcx-announce a:focus-visible,.mcx-header a:focus-visible,.mcx-header summary:focus-visible,.mcx-footer a:focus-visible{outline:3px solid #C9A46A;outline-offset:2px}
@media (max-width:900px){
  .mcx-nav,.mcx-header .mcx-inner > .mcx-cta{display:none}
  .mcx-menu{display:block}
  .mcx-header .mcx-inner{height:60px}
}
@media (max-width:520px){.mcx-announce{font-size:13px}.mcx-announce span{display:inline-block;margin:2px 0 0 4px}}

.mcx-footer{display:block;margin:0;padding:56px 0 32px;background:#0A2F31;color:rgba(233,227,214,.78);border:0;font:400 15px/1.6 'Inter',system-ui,sans-serif;text-align:left;max-width:none;width:auto}
.mcx-footer p{margin:0;padding:0;font:inherit;color:inherit;max-width:none}
.mcx-footer ul{margin:0;padding:0;list-style:none;display:grid;gap:9px;background:none;border:0}
.mcx-footer li{margin:0;padding:0;list-style:none;background:none;border:0}
.mcx-footer li::before{content:none;display:none}
.mcx-footer a{color:rgba(233,227,214,.86);text-decoration:none;background:none;border:0;font:inherit}
.mcx-footer a:hover{color:#DDBD86;text-decoration:underline}
.mcx-fgrid{display:grid;grid-template-columns:1.5fr repeat(4,1fr);gap:32px}
.mcx-fbrand{font:600 21px/1.2 'Lora',Georgia,serif!important;color:#FBF8F1!important;margin-bottom:10px!important}
.mcx-fh{font:600 14px/1.4 'Inter',system-ui,sans-serif!important;color:#DDBD86!important;margin-bottom:12px!important}
.mcx-fbottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 40px;margin-top:40px;padding-top:22px;border-top:1px solid rgba(233,227,214,.14);font-size:14px}
.mcx-fbottom p{max-width:62em}
@media (max-width:900px){.mcx-fgrid{grid-template-columns:1fr 1fr}.mcx-fgrid > div:first-child{grid-column:1/-1}}
@media (max-width:480px){.mcx-fgrid{grid-template-columns:1fr}}

/* Book card on matching articles (tools/site/rollout_chrome.py). Resets the article styles
   that would otherwise underline, recolour or stretch it. */
.mcx-book{margin:2.2em 0!important;padding:0!important;border:1px solid #DCE3E0!important;border-radius:12px!important;background:#F7F3EB!important}
.mcx-book a.mcx-book__link{display:grid!important;grid-template-columns:72px 1fr;gap:18px;align-items:center;padding:18px 20px!important;color:#1F2A2A!important;text-decoration:none!important;border:0!important;background:none!important}
.mcx-book a.mcx-book__link:hover .mcx-book__more,.mcx-book a.mcx-book__link:focus-visible .mcx-book__more{text-decoration-thickness:2px}
.mcx-book a.mcx-book__link:focus-visible{outline:3px solid #164E50;outline-offset:2px;border-radius:12px}
.mcx-book img.mcx-book__cover{width:72px!important;height:auto!important;max-width:none!important;margin:0!important;border-radius:2px 4px 4px 2px!important;box-shadow:0 8px 18px -10px rgba(10,47,49,.55),inset 3px 0 0 rgba(0,0,0,.18)!important}
.mcx-book__text{display:block;font:400 15px/1.5 'Inter',system-ui,sans-serif}
.mcx-book__eyebrow{display:block;font:600 13px/1.3 'Inter',system-ui,sans-serif;color:#7A5E2E;margin-bottom:4px}
.mcx-book__title{display:block;font:600 19px/1.25 'Lora',Georgia,serif;color:#164E50;margin-bottom:4px}
.mcx-book__sub{display:block;color:#3B4746}
.mcx-book__more{display:inline-block;margin-top:8px;font-weight:600;color:#164E50;text-decoration:underline;text-underline-offset:.2em}
.mcx-book__more::after{content:" \2192"}
@media (max-width:480px){.mcx-book a.mcx-book__link{grid-template-columns:60px 1fr;gap:14px;padding:16px!important}.mcx-book img.mcx-book__cover{width:60px!important}}
