/* Recipe-post refinements, scoped to the Simply Bake layout. */
.post-hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch}
.post-hero-copy{padding:36px 42px;min-width:0}
.post-hero-media{position:relative;min-width:0;min-height:490px;overflow:hidden}
.post-hero-media>img,.post-hero-media>noscript>img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center}
.post-hero:not(:has(.post-hero-media)){grid-template-columns:minmax(0,1fr)}
#sb-hero-share{margin-top:20px;padding-top:16px}
#sb-hero-share .eyebrow{margin-bottom:10px}
#sb-hero-share .dpsp-shortcode-wrapper{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:0!important;margin:0!important;min-height:44px}
#sb-hero-share .dpsp-shortcode-wrapper:before,#sb-hero-share .dpsp-shortcode-wrapper:after{display:none}
#sb-hero-share .dpsp-total-share-wrapper{position:static!important;float:none!important;flex:0 0 auto;width:auto!important;min-width:48px;height:auto!important;margin:0!important;padding:0 8px 0 0!important;color:var(--teal)!important;line-height:1.25!important}
#sb-hero-share .dpsp-icon-total-share{display:none}
#sb-hero-share .dpsp-networks-btns-wrapper{display:flex!important;flex:0 1 auto;flex-wrap:wrap;gap:8px;width:auto!important;margin:0!important;padding:0!important}
#sb-hero-share .dpsp-network-list-item{float:none!important;flex:0 0 auto!important;width:auto!important;min-width:44px;margin:0!important;padding:0!important}
#sb-hero-share .dpsp-network-btn{--networkColor:#276c63;--customNetworkColor:#276c63;--networkHover:#eea274;--customNetworkHoverColor:#eea274;display:flex!important;align-items:center;justify-content:center;gap:6px;width:auto!important;min-width:40px!important;max-width:none!important;height:40px!important;min-height:40px!important;max-height:40px!important;padding:0 9px!important;background:#276c63!important;border:1px solid #276c63!important;border-radius:0!important;color:#fffaf0!important;box-shadow:none!important;text-indent:0!important;text-decoration:none!important;overflow:hidden}
#sb-hero-share .dpsp-network-btn:hover,#sb-hero-share .dpsp-network-btn:focus-visible{background:#eea274!important;border-color:#eea274!important;color:#343831!important}
#sb-hero-share .dpsp-network-btn .dpsp-network-icon{display:flex!important;align-items:center;justify-content:center;position:static!important;width:20px!important;min-width:20px!important;height:20px!important;min-height:20px!important;margin:0!important;padding:0!important;line-height:1!important;border:0!important;border-radius:0!important;background:transparent!important;color:inherit!important;transform:none!important}
#sb-hero-share .dpsp-network-btn .dpsp-network-icon-inner{display:flex!important;align-items:center;justify-content:center;position:static!important;width:18px!important;height:18px!important;margin:0!important;transform:none!important}
#sb-hero-share .dpsp-network-btn .dpsp-network-icon-inner svg,#sb-hero-share .dpsp-network-btn .dpsp-network-icon-inner svg path{width:16px!important;height:16px!important;fill:currentColor!important;stroke:none!important;color:inherit!important}
#sb-hero-share .dpsp-network-btn .dpsp-network-icon:before,#sb-hero-share .dpsp-network-btn .dpsp-network-icon:after{display:none!important}
#sb-hero-share .dpsp-network-label,#sb-hero-share .dpsp-network-count{color:inherit!important}
.sb-recipe-card .sb-card-body .wprm-recipe-header{font:400 29px/1.12 'DM Serif Display',Georgia,serif!important;letter-spacing:-.03em;color:var(--teal);margin:25px 0 17px!important}
.sb-recipe-card .sb-card-body .wprm-recipe-group-name{font:700 13px/1.65 'DM Sans',Arial,Helvetica,sans-serif!important;color:var(--teal);margin:20px 0 10px!important}
.sb-recipe-card .sb-card-body .wprm-recipe-ingredients{list-style:none;margin:0 0 20px!important;padding:0!important}
.sb-recipe-card .sb-card-body .wprm-recipe-ingredient{list-style:none!important;margin:0!important;padding:7px 0!important;line-height:1.65}
.sb-ingredient-check{display:flex;align-items:baseline;gap:12px;cursor:pointer}
.sb-ingredient-check>input{flex:0 0 auto;width:15px;height:15px;margin:0;accent-color:var(--teal);cursor:pointer}
.sb-ingredient-check>span{min-width:0}
.sb-ingredient-check>input:checked+span{text-decoration:line-through;color:#6b756e}
.sb-recipe-card .sb-card-body .wprm-recipe-instructions{margin:0 0 20px!important;padding-left:24px!important}
.sb-recipe-card .sb-card-body .wprm-recipe-instruction{margin:0!important;padding:0 0 15px 6px!important;line-height:1.65}
.sb-recipe-card .sb-card-body .wprm-recipe-instruction::marker{color:var(--teal);font-weight:700}
.sb-recipe-card .sb-card-body .wprm-recipe-notes-container{padding:1px 22px 18px!important;margin-top:18px;background:var(--peach)}
.sb-recipe-card .sb-card-body .wprm-recipe-notes{font:14px/1.65 'DM Sans',Arial,Helvetica,sans-serif}
.sb-recipe-card .sb-card-body .wprm-recipe-notes p{font-size:14px;margin:0 0 12px!important}
.post-comments{--comment-rating-star-color:#276c63}
.post-comments .wprm-star-empty{fill:none!important;stroke:var(--teal)!important}
.post-comments .wprm-star-full{fill:var(--teal)!important;stroke:var(--teal)!important}
.post-comments .comment-form input[type=submit]{display:inline-block;width:auto;min-width:0;padding:13px 23px;font:700 13px/1.65 'DM Sans',Arial,Helvetica,sans-serif;border:1px solid var(--teal);background:var(--teal);color:var(--cream);cursor:pointer}
.post-comments .comment-form input[type=submit]:hover{background:#1e554e}
.post-comments .comment-form input[type=radio]{padding:0;background:transparent;border:0}
@media(max-width:900px){.post-hero-copy{padding:30px}.post-hero h1{font-size:44px}}
@media(max-width:660px){.post-hero{grid-template-columns:minmax(0,1fr)}.post-hero-copy{padding:28px 24px}.post-hero h1{font-size:38px}.post-hero-media{min-height:0;aspect-ratio:4/3}.sb-recipe-card .sb-card-body .wprm-recipe-header{font-size:27px!important}}
@media print{#sb-hero-share,.sb-ingredient-check>input{display:none!important}.sb-ingredient-check>input:checked+span{text-decoration:none;color:inherit}}

/* RC4: On phones, keep the full article photograph rather than repeating it in the hero. */
@media(max-width:660px){body.single-post .post-hero-media{display:none}}

/* RC5: close the space between the mobile hero and first article paragraph. */
@media screen and (max-width:660px){
 body.single-post .post-hero{margin-bottom:15px}
 body.single-post .post-story>:first-child{margin-top:0}
}


/* RC6: Match the hero-to-intro breathing room to the intro-to-image rhythm. */
@media screen and (max-width:660px){
 body.single-post .post-hero{margin-bottom:25px}
}


/* RC8 — measured section spacing. No decorative divider needed.
   Keep the desktop sidebar in its normal grid; do not overlap comments. */
@media screen {
 body.single-post .post-story{margin-bottom:0}
 body.single-post .post-comments{padding-top:20px}
}
@media screen and (max-width:660px) {
 body.single-post .post-layout{row-gap:22px}
 body.single-post .post-layout .author-panel{margin-bottom:0}
 body.single-post .post-comments{padding-top:20px;padding-bottom:18px}
 body.single-post + .related-section,
 body.single-post .related-section{margin-top:0}
}

/* RC9: Restore a gentle cream-coloured break after comments on phones. */
@media screen and (max-width:660px){
 body.single-post .related-section{margin-top:28px!important}
}


