.mb-recipe__tools[hidden] { display:none; }
.mb-recipe__tools { display:flex; align-items:center; flex-wrap:wrap; gap:12px 24px; padding:16px 0; margin-bottom:10px; border-block:1px solid #e7e5e1; }
.mb-servings { display:flex; align-items:center; flex-wrap:wrap; gap:10px; font:400 13px/1.5 Lato,sans-serif; }
.mb-servings__control { display:inline-flex; align-items:center; border:1px solid #d6d4ce; }
.mb-servings__control button { width:38px; height:40px; border:0; background:white; color:#34342e; font-size:22px; cursor:pointer; }
.mb-servings__control button:disabled { opacity:.3; cursor:default; }
.mb-servings__control input { width:50px; height:40px; padding:0; box-sizing:border-box; border:0; border-inline:1px solid #e7e5e1; border-radius:0; text-align:center; font:400 15px Lato,sans-serif; appearance:textfield; }
.mb-servings__control input::-webkit-inner-spin-button { appearance:none; }
.mb-recipe__tools .mb-recipe-action { background:none; border:0; border-bottom:1px solid #999; padding:5px 0; color:#34342e; font:400 12px/1.5 Lato,sans-serif; cursor:pointer; }
.mb-recipe__tools [data-mb-print] { margin-left:auto; }
body:not(.home) main .mb-recipe__status { font:400 12px/1.5 Lato,sans-serif; color:#6f6660; margin:0 0 24px; }
.mb-recipe__tools :focus-visible,.mb-recipe__step input:focus-visible { outline:2px solid #a87867; outline-offset:3px; }
.mb-recipe__steps ol li:has(.mb-recipe__step) { padding-left:0; }
.mb-recipe__steps ol li:has(.mb-recipe__step)::before { display:none; }
.mb-recipe__step { display:flex; align-items:flex-start; gap:12px; cursor:pointer; }
.mb-recipe__step input { appearance:none; flex:0 0 27px; width:27px; height:27px; border:1px solid #c8c6be; border-radius:50%; margin:1px 0 0; cursor:pointer; display:grid; place-content:center; background:#fff; color:#34342e; }
.mb-recipe__step input::before { content:attr(data-step); font:400 19px/1 'MB Handwriting',cursive; }
.mb-recipe__step input:checked { background:#f3f4f0; }
.mb-recipe__step input:checked::before { content:'✓'; font:400 15px/1 Lato,sans-serif; }
.mb-recipe__step input:checked+span { text-decoration:line-through; color:#777; }
@media print {
 @page { margin:16mm; }
 html,body.single-opskrift { overflow:visible !important; background:#fff !important; }
 body.single-opskrift header,body.single-opskrift footer,body.single-opskrift #wpadminbar,
 body.single-opskrift .mb-recipe__tools,body.single-opskrift .mb-recipe__status,
 body.single-opskrift .wp-block-query,body.single-opskrift .mb-single-hero figure,
 body.single-opskrift .mb-single-hero .wp-block-post-terms,
 body.single-opskrift main>.wp-block-group:not(:has(.mb-recipe)),
 body.single-opskrift .wc-block-mini-cart__drawer,body.single-opskrift .skip-link { display:none !important; }
 body.single-opskrift .wp-site-blocks,body.single-opskrift main { padding:0 !important; margin:0 !important; }
 body.single-opskrift .mb-single-hero { display:block !important; }
 body.single-opskrift .mb-single-hero>.wp-block-column:has(figure) { display:none !important; }
 body.single-opskrift main h1 { font-size:22pt !important; margin:0 0 10pt !important; }
 body.single-opskrift main p,body.single-opskrift .mb-recipe li { font-size:10pt !important; line-height:1.5 !important; }
 body.single-opskrift .mb-recipe { margin-top:12pt; }
 body.single-opskrift .mb-recipe__grid { display:block; }
 body.single-opskrift .mb-recipe__ingredients { position:static; }
 body.single-opskrift .mb-recipe__list { columns:2; column-gap:25pt; }
 body.single-opskrift .mb-recipe__list li,body.single-opskrift .mb-recipe__steps li { break-inside:avoid; }
 body.single-opskrift .mb-recipe__list input,body.single-opskrift .mb-recipe__step input { display:none; }
 body.single-opskrift .mb-recipe__step::before { content:attr(data-step) '.'; min-width:18pt; }
 body.single-opskrift .mb-recipe input:checked+span { text-decoration:none; color:#000; opacity:1; }
 body.single-opskrift a { color:#000; text-decoration:none; }
}

.mb-recipe__print {border-block:1px solid #ddd;padding:18px 0;margin:12px 0 22px;font-size:14px;}
.mb-recipe__print[hidden] {display:none;}
.mb-recipe__print p {margin:0 0 12px;}
.mb-recipe__print .mb-recipe-action {margin:0 22px 10px 0;display:inline-block;}
.mb-recipe__print [data-mb-print-status] {font-size:12px;margin:0;}
@media print {.mb-recipe__print {display:none!important;}}

/* Keep both recipe columns and their headings aligned. */
body.single-opskrift .mb-recipe__grid > :is(.mb-recipe__ingredients,.mb-recipe__steps) {
 position:static;
 border:0;
 border-top:var(--mb-line);
 padding:24px 0;
}
body.single-opskrift .mb-recipe__grid > div > h2 { margin:0 0 1rem; }

/* Hands-on kitchen tasks, with quiet accents from the Madbørn logo. */
body.single-opskrift .mb-recipe__source a {text-decoration:none!important;border-bottom:0;box-shadow:none;}
body.single-opskrift .mb-recipe__source a:hover {color:#0987c7;}
body.single-opskrift .mb-recipe__source a:focus-visible {outline:2px solid #0987c7;outline-offset:4px;}
body.single-opskrift .mb-recipe__kids .mb-kids-intro {font-size:15px;margin:8px 0 20px;max-width:620px;}
body.single-opskrift .mb-recipe__kids ul {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 28px;list-style:none;margin:0;padding:0;}
body.single-opskrift .mb-recipe__kids li {margin:0;padding:0;--task-color:#0987c7;}
body.single-opskrift .mb-recipe__kids li:nth-child(4n+2){--task-color:#32a767;}
body.single-opskrift .mb-recipe__kids li:nth-child(4n+3){--task-color:#dc5b2a;}
body.single-opskrift .mb-recipe__kids li:nth-child(4n){--task-color:#b34e76;}
.mb-kids-task {display:flex;align-items:flex-start;gap:12px;padding:10px 0;min-height:44px;box-sizing:border-box;cursor:pointer;}
.mb-kids-task input {appearance:none;display:grid;place-content:center;flex:0 0 24px;width:24px;height:24px;margin:1px 0 0;border:1.5px solid var(--task-color);border-radius:50%;background:#fff;cursor:pointer;}
.mb-kids-task input:checked {background:var(--task-color);}
.mb-kids-task input:checked::after {
 content:'';
 width:18px;
 height:18px;
 background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='8' cy='9' r='1.25' fill='white'/%3E%3Ccircle cx='16' cy='9' r='1.25' fill='white'/%3E%3Cpath d='M7 14 Q12 20 17 14' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}
.mb-kids-task input:checked+span {color:#666;text-decoration:line-through;}
.mb-kids-task input:focus-visible {outline:2px solid var(--task-color);outline-offset:4px;}
@media(max-width:600px){body.single-opskrift .mb-recipe__kids ul {grid-template-columns:1fr;gap:0;}}

body.single-opskrift main > .mb-recipe__kids {background:#fff;border:0;border-top:var(--mb-line);border-radius:0;padding:24px 0;margin-top:28px;margin-bottom:24px;}
body.single-opskrift main > .mb-recipe__kids .mb-recipe__kids-title {font-family:'MB Handwriting',cursive!important;font-size:26px!important;font-weight:400!important;letter-spacing:.02em;}

/* Equal space between each heading and its first line of text. */
body.single-opskrift .mb-recipe__grid > div > :is(ul,ol) {margin-top:0;padding-top:0;}
body.single-opskrift .mb-recipe__grid > div > :is(ul,ol) > li:first-child {margin-top:0;padding-top:0;}
