/* Shared navigation for the existing Milk to Meat app. */
[aria-current="page"]{color:var(--blue);font-weight:800}
.header #primary-navigation{gap:22px}
.mobile-extras{display:none}
.bottom-navigation{display:none}
.home-question img{display:block;width:100%;max-width:440px;height:auto;margin:auto}
.home-question .duo{align-items:center}
#home-resources h2{font-size:clamp(28px,3vw,40px)}
#latest-teaching h3{font-size:22px;line-height:1.35;margin:14px 0}
.resource-more{display:block;margin:24px auto;grid-column:2}
.resource-list{align-content:start}
.resource-list article{min-width:0}
.resource-list a{overflow-wrap:anywhere}
.resources-grid>div:first-child{align-self:start}
.resources-grid{align-items:start}
html{scroll-padding-top:100px}
.page-title{font-size:clamp(36px,5vw,56px);line-height:1.08;color:var(--deep);margin:0 0 24px}
html[data-page="watch"] #watch{padding-top:48px}
.bottom-navigation a:focus-visible{outline:3px solid #e68139;outline-offset:-4px}
@media(min-width:1025px){
 .header .menu-toggle{display:none}
 .header #primary-navigation{display:flex;position:static;flex-direction:row;align-items:center;max-height:none;overflow:visible;border:0;box-shadow:none;padding:0;background:transparent;gap:16px}
 .header #primary-navigation>a{padding:8px 0;font-size:12px}
}
@media(min-width:801px){
 .header #primary-navigation>a{white-space:nowrap}
 .resources-grid>div:first-child{position:sticky;top:106px}
}
@media(max-width:1024px){
 body{padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))}
 .bottom-navigation{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;z-index:80;left:0;right:0;top:auto;bottom:0;max-height:none;overflow:visible;background:#fff;border-top:1px solid #d5e3e7;box-shadow:0 -4px 20px #10394d0d;padding:7px 6px calc(7px + env(safe-area-inset-bottom,0px));gap:0}
 .bottom-navigation a{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-width:0;min-height:56px;padding:4px 2px;border:0;border-radius:9px;text-align:center;text-decoration:none;font-size:11px;line-height:1.15;color:#526974;font-weight:650}
 .bottom-navigation svg{width:23px;height:23px;flex-shrink:0}
 .bottom-navigation a[aria-current="page"]{color:#17688b;background:#eaf4f6;font-weight:800}
 .podcast-player{bottom:calc(86px + env(safe-area-inset-bottom,0px));z-index:30}
 .footer{padding-bottom:24px}
}
@media(max-width:800px){
 .header #primary-navigation{max-height:calc(100dvh - 160px);overflow:auto;gap:0}
 .mobile-extras{display:flex;flex-direction:column;border-top:1px solid #d5e3e7;margin-top:8px;padding-top:8px}
 .mobile-extras a,.mobile-extras button{text-align:left;min-height:44px;padding:12px}
 .resource-more{grid-column:1;margin:18px auto}
 .resources-grid>div:first-child{position:static}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Home: lead with the approved ministry artwork on phones and tablets. */
@media(max-width:1024px){
 .hero-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"art" "copy";gap:28px}
 .hero-grid>.hero-art{grid-area:art;justify-self:center;width:100%;max-width:620px}
 .hero-grid>.hero-copy{grid-area:copy;min-width:0}
}
