/* Keep both logo placements proportional and uncropped. */
.khcm-home-page header{padding-top:10px;padding-bottom:10px;gap:24px}
.khcm-home-page .brand .khcm-brand-logo{display:block;width:80px;height:80px;object-fit:contain;flex-shrink:0;border-radius:0;box-shadow:none}
.khcm-home-page .footer-brand .khcm-footer-logo{display:block;width:80px;height:80px;object-fit:contain;margin-bottom:14px;border-radius:0;box-shadow:none}
.khcm-home-page .menu-toggle{margin:0;line-height:1.5;font-size:13px;font-family:Arial,Helvetica,sans-serif;cursor:pointer;border-radius:0;box-shadow:none}
@media(max-width:700px){.khcm-home-page .brand .khcm-brand-logo{width:68px;height:68px}.khcm-home-page header{gap:14px}}

/* Preserve the reference text colours when theme typography has higher specificity. */
.khcm-home-page .scripture blockquote{color:var(--cream)}
.khcm-home-page .study-card h3,.khcm-home-page .peniel h2,.khcm-home-page .connect h2{color:var(--cream)}

/* Keep reference button colours despite Betheme's button rules. */
body.khcm-home-page a.button{opacity:1!important;visibility:visible!important;text-shadow:none!important;background-image:none!important;box-shadow:none!important;filter:none!important}
body.khcm-home-page a.button.primary{background:#cd663f!important;color:#fff!important;border:1px solid #cd663f!important}
body.khcm-home-page a.button.primary:hover,body.khcm-home-page a.button.primary:focus-visible{background:#b75431!important;color:#fff!important;border-color:#b75431!important}
body.khcm-home-page a.button.secondary{background:transparent!important;color:#213c36!important;border:1px solid #9aada0!important}
body.khcm-home-page .peniel a.button.secondary,body.khcm-home-page .connect a.button.secondary{background:transparent!important;color:#f6f2e9!important;border:1px solid #9aada0!important}
body.khcm-home-page a.button.secondary:hover{background:rgba(255,255,255,.08)!important}
body.khcm-home-page a.button span{color:inherit!important;opacity:1!important;background:transparent!important}
body.khcm-home-page a.button::before,body.khcm-home-page a.button::after{display:none!important;content:none!important}
body.khcm-home-page header a.nav-cta{background:#193b35!important;color:#fff!important;opacity:1!important}
body.khcm-home-page button.menu-toggle{background:transparent!important;color:#213c36!important;border:1px solid #a5b3a4!important;opacity:1!important}
body.khcm-home-page a.button:focus-visible{outline:3px solid #cd663f!important;outline-offset:5px!important}
