/* v1.1.20: Breadcrumbs before recipe hero and simplified footer. */
body.single-post main.wrap > .page-crumb{display:block;text-align:left;margin:0;padding:18px 0 14px;font-size:12px;line-height:1.6;color:var(--ink);}
body.single-post main.wrap > .page-crumb a{color:var(--teal);}
body.single-post main.wrap > .page-crumb a:focus-visible{outline:2px solid var(--teal);outline-offset:3px;}
.designed-footer .footer-top{display:flex;justify-content:flex-end;padding:25px 0 18px;}
.designed-footer .footer-top .back-top{display:inline-block;}
@media(max-width:660px){.designed-footer .footer-top{padding:18px 0;}}
@media print{body.single-post main.wrap > .page-crumb{display:none!important;}}

/* v1.1.24 — floating back-to-top control bridges the apricot footer edge. */
.designed-footer{position:relative;padding-top:21px}
.designed-footer .footer-top{position:relative;height:0;padding:0;display:block}
.designed-footer .footer-top .back-top{position:absolute;z-index:3;right:0;top:-49px;display:flex;align-items:center;justify-content:center;width:50px;height:50px;box-sizing:border-box;padding:0;margin:0;border-radius:50%;border:3px solid var(--apricot);color:var(--teal);background:var(--cream);text-decoration:none;box-shadow:0 3px 10px rgba(20,54,48,.15);transition:background-color .2s ease,color .2s ease,transform .2s ease}
.designed-footer .footer-top .back-top:hover{background:var(--apricot);color:#343831;transform:translateY(-3px)}
.designed-footer .footer-top .back-top:focus-visible{outline:3px solid var(--cream);outline-offset:4px}
@media(max-width:660px){.designed-footer{padding-top:18px}.designed-footer .footer-top{height:0;padding:0}.designed-footer .footer-top .back-top{width:46px;height:46px;top:-43px;right:3px}}
@media(prefers-reduced-motion:reduce){.designed-footer .footer-top .back-top{transition:none}.designed-footer .footer-top .back-top:hover{transform:none}}

/* v1.1.25: colour-only interactions and compact copyright/navigation row. */
.designed-footer .footer-top .back-top,.designed-footer .footer-top .back-top:hover{transform:none!important;}
.designed-footer .footer-top .back-top{transition:background-color .2s ease,color .2s ease!important;}
.designed-footer .sb-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:22px;border-top:1px solid #fffaf040;margin-top:8px;}
.designed-footer .sb-footer-bottom .footer-navigation{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;padding:20px 0;border:0;min-width:0;}
.designed-footer .sb-footer-bottom .footer-fineprint{flex:0 0 auto;padding:0;font-size:11px;white-space:nowrap;text-align:right;}
@media(max-width:850px){.designed-footer .sb-footer-bottom{display:block;padding:18px 0 0}.designed-footer .sb-footer-bottom .footer-navigation{padding:0;gap:14px 20px}.designed-footer .sb-footer-bottom .footer-fineprint{padding:15px 0 0;white-space:normal;text-align:left;}}
@media(prefers-reduced-motion:reduce){.designed-footer .footer-top .back-top{transition:none!important}}

/* v1.1.28 — newsletter-free footer. Back-to-top occupies its own row, never overlaying navigation. */
.designed-footer{padding-top:16px;}
.designed-footer .footer-top{height:auto;min-height:58px;display:flex;align-items:center;justify-content:flex-end;padding:0 0 14px;position:static;}
.designed-footer .footer-top .back-top{position:static;top:auto;right:auto;margin:0;flex:0 0 50px;transform:none!important;}
.designed-footer .sb-footer-bottom{margin-top:0;}
@media(max-width:660px){.designed-footer{padding-top:14px;}.designed-footer .footer-top{height:auto;min-height:54px;padding:0 0 12px;}.designed-footer .footer-top .back-top{flex-basis:46px;}}

/* v1.1.29 — centred button straddles apricot top edge; compact footer with no divider. */
.designed-footer{position:relative;padding-top:30px;padding-bottom:18px;}
.designed-footer .footer-top{position:relative;display:block;height:0;min-height:0;padding:0;margin:0;}
.designed-footer .footer-top .back-top{position:absolute;left:50%;right:auto;top:-52px;margin:0 0 0 -25px;transform:none!important;flex:none;width:50px;height:50px;}
.designed-footer .sb-footer-bottom{margin:0;border-top:0;gap:22px;}
.designed-footer .sb-footer-bottom .footer-navigation{padding:7px 0 0;border:0;}
@media(max-width:850px){.designed-footer .sb-footer-bottom{padding:0;}}
@media(max-width:660px){.designed-footer{padding-top:30px;padding-bottom:17px;}
 .designed-footer .footer-top{height:0;min-height:0;padding:0;}
 .designed-footer .footer-top .back-top{width:46px;height:46px;left:50%;right:auto;top:-50px;margin-left:-23px;flex:none;}
 .designed-footer .sb-footer-bottom .footer-navigation{padding:7px 0 0;}
}

/* v1.1.30 — optical vertical centring of footer nav and copyright. */
@media(min-width:851px){.designed-footer{padding-top:24px;padding-bottom:24px}.designed-footer .sb-footer-bottom .footer-navigation{padding:5px 0 0}}
@media(max-width:850px){.designed-footer{padding-top:26px;padding-bottom:20px}}

/* RC7: Centre mobile footer links and copyright, retaining desktop layout. */
@media screen and (max-width:660px){
 .designed-footer .sb-footer-bottom .footer-navigation{
  display:flex;justify-content:center;align-items:center;
  flex-wrap:wrap;text-align:center;gap:12px 20px;
 }
 .designed-footer .sb-footer-bottom .footer-fineprint{
  text-align:center;width:100%;
 }
}


/* v1.2.3: final, explicit post layout; loaded after earlier recipe CSS.
   Story / sidebar / comments occupy named areas, so the form cannot fall
   into the sidebar column. On narrow displays comments precede sidebar. */
@media screen and (min-width:801px){
 body.single-post .post-layout {display:grid;grid-template-columns:minmax(0,1fr) 310px;grid-template-areas:"story sidebar" "comments comments";column-gap:40px;row-gap:22px;align-items:start;}
 body.single-post .post-layout > article {grid-area:story;grid-column:1;grid-row:1;min-width:0;}
 body.single-post .post-layout > aside.sidebar {grid-area:sidebar;grid-column:2;grid-row:1;min-width:0;}
 body.single-post .post-layout > section.post-comments {grid-area:comments;grid-column:1 / -1;grid-row:2;width:100%;min-width:0;}
}
@media screen and (min-width:801px) and (max-width:950px){body.single-post .post-layout{grid-template-columns:minmax(0,1fr) 270px;column-gap:28px;}}
@media screen and (max-width:800px){
 body.single-post .post-layout{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"story" "comments" "sidebar";row-gap:22px;align-items:start;}
 body.single-post .post-layout > article{grid-area:story;grid-column:1;grid-row:1;min-width:0;}
 body.single-post .post-layout > section.post-comments{grid-area:comments;grid-column:1;grid-row:2;min-width:0;width:100%;}
 body.single-post .post-layout > aside.sidebar{grid-area:sidebar;grid-column:1;grid-row:3;min-width:0;}
}
/* Do not vertically distribute the page body around extra plugin-inserted
   privacy controls beneath the footer. The footer remains in normal flow. */
body.single-post{display:block;min-height:100vh;min-height:100svh;}
body.single-post > footer.designed-footer{margin-top:0;}
