/* Minimal, horizontally scrollable navigation; active content keeps native controls. */
.fitfoodie.single-recipe .ff-recipe-tabs{width:100%;min-width:0}
/* Left-aligned labels; the active underline follows the word width. */
.fitfoodie .ff-recipe-tablist{display:flex;justify-content:flex-start;gap:88px;width:100%;max-width:100%;box-sizing:border-box;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;border:0;border-radius:0;background:linear-gradient(var(--ff-section-line,#dcd0ee),var(--ff-section-line,#dcd0ee)) left bottom / 100% var(--ff-section-line-width,2px) no-repeat;padding:0;margin:0;-webkit-overflow-scrolling:touch}
.fitfoodie .ff-recipe-tablist::-webkit-scrollbar{display:none}
.fitfoodie .ff-recipe-tablist>button{position:relative;flex:0 0 auto;min-width:max-content;min-height:0;box-sizing:border-box;margin:0;padding:0 0 var(--ff-button-pad-y,14px);border:0;border-radius:0;background:transparent;color:var(--ff-ink,#1e1660);font:400 28px/1.25 var(--ff-display,Georgia,serif);letter-spacing:0;white-space:nowrap;box-shadow:none;cursor:pointer;text-transform:none;transition:background-color .18s ease,color .18s ease}
.fitfoodie .ff-recipe-tablist>button:is(:hover,:active){background:transparent;color:var(--ff-ink,#1e1660);box-shadow:none}
.fitfoodie .ff-recipe-tablist>button[aria-selected=true]{background:transparent;color:var(--ff-ink,#1e1660);box-shadow:none}
.fitfoodie .ff-recipe-tablist>button::after{content:"";position:absolute;left:0;right:0;bottom:0;height:var(--ff-section-line-width,2px);background:transparent}
.fitfoodie .ff-recipe-tablist>button[aria-selected=true]::after{background:var(--ff-ink,#1e1660)}
.fitfoodie .ff-recipe-tablist>button:focus-visible{outline:2px solid var(--ff-ink,#1e1660);outline-offset:2px}
@media(prefers-reduced-motion:reduce){.fitfoodie .ff-recipe-tablist>button{transition:none}}
.fitfoodie.single-recipe .ff-recipe-details .ff-recipe-tabs>.ff-recipe-tabpanel{display:flow-root;margin:0;padding:44px 0 0;scroll-margin-top:120px}
.fitfoodie .ff-recipe-tabpanel[hidden],.fitfoodie .ff-tabs-empty{display:none!important}
.fitfoodie .ff-recipe-tabpanel:focus-visible{outline:2px solid var(--ff-section-line,#cbb7e8);outline-offset:8px}
.fitfoodie .ff-recipe-tabpanel>h2,.fitfoodie .ff-recipe-tabpanel>.ff-section-top>h2{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.fitfoodie .ff-recipe-tabpanel .ff-section-top{justify-content:flex-end;margin:0 0 24px}
.fitfoodie .ff-recipe-tabpanel .ff-steps{margin-top:0}
/* Nutrition already has its own tab and needs no enclosing frame. */
.fitfoodie.single-recipe .ff-recipe-details .ff-recipe-tabs .ff-app-nutrition-preview{border:0;border-radius:0}
/* The serving control is secondary to the tab navigation. */
.fitfoodie.single-recipe .ff-recipe-tabs .ff-portions{background:var(--ff-control,#d0b6ff);border:0;border-radius:999px;box-shadow:none;padding-inline:6px}
/* Draw both symbols geometrically, independent of the font baseline. */
.fitfoodie.single-recipe .ff-recipe-tabs .ff-portions button{position:relative;box-sizing:border-box;width:44px;height:44px;min-width:44px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--ff-ink,#1e1660);font-size:0;line-height:1;box-shadow:none}
.fitfoodie.single-recipe .ff-recipe-tabs .ff-portions button:is(:hover,:focus){background:transparent;border-color:transparent}
.fitfoodie.single-recipe .ff-recipe-tabs .ff-portions button::before,.fitfoodie.single-recipe .ff-recipe-tabs .ff-portions button[data-ff-plus]::after{content:"";position:absolute;left:50%;top:50%;width:14px;height:2px;border-radius:1px;background:currentColor;transform:translate(-50%,-50%);pointer-events:none}
.fitfoodie.single-recipe .ff-recipe-tabs .ff-portions button[data-ff-plus]::after{transform:translate(-50%,-50%) rotate(90deg)}
@media(max-width:767px){.fitfoodie .ff-recipe-tablist>button{font-size:26px;font-weight:400;padding-inline:0}.fitfoodie .ff-recipe-tablist{padding:0;gap:60px;margin-bottom:0}.fitfoodie.single-recipe .ff-recipe-details .ff-recipe-tabs>.ff-recipe-tabpanel{padding-top:36px}}
/* The hidden preparation/nutrition sections no longer create page-wide dividers. */
@media screen and (max-width:1024px){
 body.fitfoodie.single-recipe.ff-home-lower-tint.ff-recipe-surfaces.ff-recipe-has-tabs{background-image:linear-gradient(to bottom,var(--ff-canvas) 0,var(--ff-canvas) var(--ff-related-start),var(--ff-section-line) var(--ff-related-start),var(--ff-section-line) calc(var(--ff-related-start) + var(--ff-section-line-width)),var(--ff-canvas) calc(var(--ff-related-start) + var(--ff-section-line-width)),var(--ff-canvas) var(--ff-related-end),var(--ff-section-line) var(--ff-related-end),var(--ff-section-line) calc(var(--ff-related-end) + var(--ff-section-line-width)),var(--ff-canvas) calc(var(--ff-related-end) + var(--ff-section-line-width)),var(--ff-canvas) 100%)}
 .fitfoodie.single-recipe.ff-recipe-has-tabs .ff-recipe-author{border-top:1px solid var(--ff-section-line,#cbb7e8);padding-top:var(--ff-recipe-section-space)}
}
@media print{
 .fitfoodie .ff-recipe-tablist{display:none!important}
 .fitfoodie .ff-recipe-tabpanel[hidden]{display:block!important}
 .fitfoodie.single-recipe .ff-recipe-details .ff-recipe-tabs>.ff-recipe-tabpanel{margin-bottom:28px;padding-top:0}
 .fitfoodie .ff-recipe-tabpanel>h2,.fitfoodie .ff-recipe-tabpanel>.ff-section-top>h2{position:static;width:auto;height:auto;clip-path:none;white-space:normal;overflow:visible}
}

/* A shared desktop footer beneath both recipe columns. */
.fitfoodie .ff-recipe-meta-wide[hidden]{display:none!important}
@media(min-width:1025px){
 .fitfoodie.single-recipe .ff-recipe-meta-wide{width:100%;box-sizing:border-box;border-top:var(--ff-section-line-width,2px) solid var(--ff-section-line,#dcd0ee);margin-top:72px;padding-top:72px}
 .fitfoodie.single-recipe .ff-recipe-meta-wide .ff-recipe-author{margin:0 auto 40px;padding:0;max-width:640px;border:0;border-radius:0;background:transparent;box-shadow:none}
 .fitfoodie.single-recipe .ff-recipe-meta-wide .ff-recipe-author::before,.fitfoodie.single-recipe .ff-recipe-meta-wide .ff-recipe-author::after{content:none;display:none}
 .fitfoodie.single-recipe .ff-recipe-meta-wide .ff-recipe-author-avatar{transform:none;margin:0;position:relative;top:auto;box-shadow:none}
 .fitfoodie.single-recipe .ff-recipe-meta-wide .ff-chips{justify-content:center;margin:0 auto;max-width:800px}
}

/* Give the creator name a little more room above the biography. */
.fitfoodie.single-recipe .ff-recipe-author h3{margin-bottom:20px}

/* Slightly tighten only the description-to-tabs gap. */
.fitfoodie.single-recipe .ff-recipe-details>.elementor-widget:has(.ff-recipe-tabs){margin-top:-8px}

/* Preserve the recipe chip design outside the details column as well. */
.fitfoodie.single-recipe .ff-recipe-meta-wide .ff-chips{display:flex;flex-wrap:wrap;gap:20px}
.fitfoodie.single-recipe .ff-recipe-meta-wide .ff-chips a.ff-chip{display:inline-block;padding:9px 18px;border:0;border-radius:100px;background:var(--ff-control,#d0b6ff);color:var(--ff-ink,#1e1660);font:500 15px/1.5 var(--ff-body);text-decoration:none}

/* Match the creator directory scale on desktop; keep the compact mobile credit. */
@media(min-width:1025px){
 .fitfoodie.single-recipe .ff-recipe-meta-wide .ff-recipe-author{gap:28px}
 .fitfoodie.single-recipe .ff-recipe-meta-wide .ff-recipe-author-avatar{flex:0 0 176px;width:176px;height:176px}
 .fitfoodie.single-recipe .ff-recipe-meta-wide .ff-recipe-author h3{font-size:clamp(26px,2.3vw,32px);line-height:1.3}
}

/* A soft edge hints at more tabs only while content remains to the right. */
.fitfoodie .ff-recipe-tablist.ff-tabs-more-right{-webkit-mask-image:linear-gradient(to right,#000 0,#000 calc(100% - 36px),transparent 100%);mask-image:linear-gradient(to right,#000 0,#000 calc(100% - 36px),transparent 100%)}

.fitfoodie .ff-recipe-tablist.ff-tabs-more-left{-webkit-mask-image:linear-gradient(to right,transparent 0,#000 36px,#000 100%);mask-image:linear-gradient(to right,transparent 0,#000 36px,#000 100%)}
.fitfoodie .ff-recipe-tablist.ff-tabs-more-left.ff-tabs-more-right{-webkit-mask-image:linear-gradient(to right,transparent 0,#000 36px,#000 calc(100% - 36px),transparent 100%);mask-image:linear-gradient(to right,transparent 0,#000 36px,#000 calc(100% - 36px),transparent 100%)}

@media(hover:hover) and (pointer:fine){
 .fitfoodie .ff-recipe-tablist{user-select:none;-webkit-user-select:none}
 .fitfoodie .ff-recipe-tablist:is(.ff-tabs-more-left,.ff-tabs-more-right),.fitfoodie .ff-recipe-tablist:is(.ff-tabs-more-left,.ff-tabs-more-right)>button{cursor:grab}
 .fitfoodie .ff-recipe-tablist.ff-tabs-dragging,.fitfoodie .ff-recipe-tablist.ff-tabs-dragging>button{cursor:grabbing}
}

/* Attach mobile dividers to their sections rather than measured body positions. */
@media screen and (max-width:1024px){
 .fitfoodie.single-recipe.ff-recipe-has-tabs .ff-recipe-details>.ff-recipe-visual{position:relative}
 .fitfoodie.single-recipe.ff-recipe-has-tabs .ff-recipe-author{position:relative;border-top:0}
 .fitfoodie.single-recipe.ff-recipe-has-tabs .ff-recipe-details>.ff-recipe-visual::after,
 .fitfoodie.single-recipe.ff-recipe-has-tabs .ff-recipe-author::before{content:"";display:block;position:absolute;left:50%;width:100vw;height:var(--ff-section-line-width,2px);background:var(--ff-section-line,#dcd0ee);transform:translateX(-50%);pointer-events:none}
 .fitfoodie.single-recipe.ff-recipe-has-tabs .ff-recipe-details>.ff-recipe-visual::after{bottom:0}
 .fitfoodie.single-recipe.ff-recipe-has-tabs .ff-recipe-author::before{top:0}
}

/* On phones the photo leads directly into the tabs, without a section divider. */
@media screen and (max-width:767px){
 .fitfoodie.single-recipe.ff-recipe-has-tabs .ff-recipe-details>.ff-recipe-visual{padding-bottom:0}
 .fitfoodie.single-recipe.ff-recipe-has-tabs .ff-recipe-details>.ff-recipe-visual::after{content:none;display:none}
}
