.recipe-card-trials{margin:0 0 24px;padding:20px;border:1px solid var(--edge,#cbd5d8);border-radius:22px;background:var(--surface,#fffdf9)}
.recipe-card-trials h2{margin:0 0 10px}
.recipe-card-trials>p{margin:0 0 18px;font-size:.9rem;line-height:1.45}
.recipe-card-trials :focus-visible{outline:2px solid var(--accent);outline-offset:3px}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) [data-wide-recipe-cards]{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .recipe-carousel[data-wide-recipe-cards]{display:grid!important;grid-template-columns:none!important;grid-auto-columns:var(--recipe-carousel-card-width,100%)!important}
@media(min-width:801px){html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) [data-wide-recipe-cards]:not(.recipe-carousel){grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr))!important}}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card]{display:grid!important;grid-template-columns:minmax(0,47%) minmax(0,1fr)!important;grid-template-rows:auto auto auto;align-items:center;gap:3px 10px!important;padding:10px 10px 6px!important;width:100%!important;min-width:0!important;max-width:none!important;overflow:hidden}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card]::before{content:none!important;display:none!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card]>.wide-recipe-media{grid-column:1;grid-row:2;align-self:center;min-width:0;margin-left:-10px}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .wide-recipe-media>.card-photo{display:block;width:100%!important;height:auto!important;max-width:none!important;min-height:0!important;max-height:none!important;aspect-ratio:6/5!important;margin:0!important;border-radius:14px!important;object-fit:cover}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .wide-recipe-media>.recipe-photo-invitation{display:block;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:6/5!important;margin:0!important;border-radius:14px!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card]>.cardbody{grid-column:2;grid-row:2;display:flex!important;flex-direction:column;align-self:stretch;justify-content:space-between;gap:4px;min-width:0;min-height:0!important;padding:0!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .wide-recipe-heading{grid-column:1/-1;grid-row:1;display:flex;align-items:center;gap:8px;min-width:0;max-width:100%}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .wide-recipe-heading>h3.wide-recipe-title{display:block!important;flex:1;min-width:0;margin:0!important;height:auto!important;min-height:0!important;max-height:none!important;text-align:start!important;font-size:1.05rem!important;line-height:1.25!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] h3.wide-recipe-title .catalog-title-text{display:block!important;white-space:nowrap!important;-webkit-line-clamp:1;line-clamp:1;overflow:hidden!important;text-overflow:ellipsis!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .cardbody .catalog-creator{max-width:100%;display:inline-flex!important;align-items:center;gap:7px;min-height:36px!important;margin:0!important;padding:2px 0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;font-size:1.05rem!important;line-height:1.2!important;align-self:start}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .cardbody .catalog-creator img{width:32px!important;height:32px!important;flex:none}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .cardbody .actions{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:0!important;margin:0!important;padding:0!important;height:auto!important;min-height:0!important;min-width:0}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .cardbody .actions>.add-to-shop{flex:1 1 0!important;width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:42px!important;padding:8px 10px!important;font-size:1.0125rem!important;line-height:1.25!important}
.wide-recipe-footer{position:relative;z-index:6;grid-column:1/-1;grid-row:3;min-width:0;border:0;padding:0;align-self:end}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .wide-recipe-social{display:flex!important;align-items:center;justify-content:space-between;flex-wrap:nowrap!important;gap:2px!important;margin:0!important;padding:0!important;font:inherit;font-size:.8rem!important;color:var(--muted,#586871)}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .wide-recipe-social>button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:3px;flex:1 0 auto;min-width:0;min-height:30px!important;height:30px!important;padding:4px 0!important;border:0!important;border-radius:8px;background:transparent!important;color:inherit;font:inherit;font-size:.7rem!important;line-height:1.2!important;cursor:pointer;pointer-events:auto}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .wide-recipe-social>button>svg{display:block;width:18px!important;height:18px!important;flex:none}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .wide-recipe-social>button:hover{background:var(--soft,#e5eff2)!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .wide-recipe-social>.wide-recipe-like[aria-pressed=true]{color:var(--accent)}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .wide-recipe-social>.wide-recipe-category[aria-pressed=true]{color:var(--accent)}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .wide-recipe-social>.recipe-repost-count{border-radius:999px!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .wide-recipe-social>.recipe-repost-count[aria-pressed=true]{color:#217957}
.wide-recipe-social>button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.wide-recipe-social>button:disabled{opacity:.4;cursor:default}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .wide-recipe-heading>.recipe-rating-count{display:inline-flex!important;align-items:center;gap:3px;flex:0 0 auto;min-width:0;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--ink);font:700 .75rem/1.3 var(--al-font,Georgia,serif);white-space:nowrap}
.wide-recipe-share-status{position:absolute;bottom:100%;right:8px;max-width:calc(100% - 16px);padding:5px;border:1px solid var(--edge);border-radius:6px;background:var(--surface,#fffdf9);margin:0;font-size:.75rem;color:var(--accent)}

html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .cardbody .recipe-quick-meta{display:grid!important;grid-template-columns:minmax(0,max-content) max-content!important;grid-template-rows:auto auto;justify-content:start!important;align-items:center;gap:4px!important;margin:0!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .recipe-quick-meta>.recipe-meta-time{display:inline-flex!important;align-items:center;min-height:25px!important;padding:4px 5px!important;border-radius:8px!important;background:var(--fact-bg);font-size:.78rem!important;line-height:1.3!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .recipe-meta-time{grid-column:1;grid-row:1}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .wide-recipe-cost-rating>.budget-estimate{grid-column:2;grid-row:1}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .wide-recipe-cost-rating>.recipe-meta-calories{grid-column:1;grid-row:2}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .wide-recipe-cost-rating>.score{grid-column:2;grid-row:2}


html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .catalog-creator>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .wide-recipe-cost-rating{display:contents!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .wide-recipe-cost-rating>:is(.budget-estimate,.recipe-meta-calories){display:inline-flex!important;align-items:center;gap:3px;min-width:0;min-height:25px!important;padding:4px 5px!important;border-radius:8px;background:var(--fact-bg);color:var(--ink);font-size:.78rem!important;font-weight:700;line-height:1.3!important;white-space:nowrap}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .wide-recipe-cost-rating>.budget-estimate{flex:none}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .wide-recipe-cost-rating>.recipe-meta-calories{flex:none}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .wide-recipe-cost-rating>.score{display:inline-grid!important;place-items:center;flex:none;width:25px!important;height:25px!important;padding:0!important;border-radius:8px!important;font-size:.9rem!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .recipe-rating-count>span{display:block!important;font:inherit!important;min-width:0;min-height:0!important;margin:0!important;padding:0!important;border-radius:0!important;background:none!important;line-height:inherit!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .recipe-rating-count .recipe-vote-count{font:inherit}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .recipe-rating-count svg{width:13px;height:13px;flex:none;fill:#e5b22f;color:#e5b22f}
html[data-theme=dark][data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .wide-recipe-cost-rating>:is(.budget-estimate,.recipe-meta-calories){background:#294252;color:#e7f3fa}

/* Context-specific controls keep their original handlers inside the common card. */
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card]{position:relative;height:auto!important;border-radius:20px!important;background:var(--surface,#fffdf9);font-family:var(--al-font,Georgia,serif)}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .cardbody .actions:not(:has(.add-to-shop)){display:grid!important;grid-template-columns:minmax(0,1fr);gap:6px!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .cardbody .actions>.btn:not(.add-to-shop){width:100%!important;min-width:0!important;min-height:42px!important;height:auto!important;margin:0!important;padding:8px!important;font:700 .95rem/1.25 var(--al-font,Georgia,serif)!important;border-radius:12px!important;white-space:normal!important;overflow-wrap:anywhere}
.wide-recipe-media{position:relative}
.wide-recipe-tools{position:absolute;top:8px;left:8px;z-index:7;display:flex;gap:5px}
.wide-recipe-tools-external{top:42px}
.wide-recipe-tools-personal{display:grid;grid-template-columns:30px minmax(0,1fr) 30px;pointer-events:none}
.wide-recipe-tools-personal>.personal-card-edit{grid-column:1}
.wide-recipe-tools-personal>.personal-card-remove{grid-column:3}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .wide-recipe-tools>button{position:relative!important;inset:auto!important;display:grid!important;place-items:center;width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;margin:0!important;padding:5px!important;border:1px solid var(--edge)!important;border-radius:50%!important;background:var(--surface,#fffdf9)!important;color:var(--accent)!important;box-shadow:0 2px 6px #20344212;pointer-events:auto}
.wide-recipe-tools>button svg{width:18px;height:18px}
.wide-recipe-identity{display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-width:0}
.wide-recipe-portions{font-size:.78rem;color:var(--muted);white-space:nowrap}
.wide-weekly-preview{min-width:0;margin-bottom:20px}.wide-weekly-preview>h2{margin-bottom:12px!important}
.wide-weekly-proposals{width:100%;max-width:480px;margin-inline:auto}
.wide-weekly-proposals .wide-recipe-title{font-style:normal!important}
.wide-attached-recipe{min-width:0;width:100%}.wide-attached-recipe>small{display:block;margin:8px 0;font-size:.75rem;color:var(--muted)}
.activity-recipe-preview.activity-recipe-compact{display:flex;align-items:center;min-height:54px;border-radius:14px}
.activity-recipe-preview.activity-recipe-compact>img{flex:0 0 84px;width:84px;height:84px;max-height:84px;aspect-ratio:1;object-fit:cover}
.activity-recipe-preview.activity-recipe-compact>.activity-recipe-title{min-width:0;padding:10px 12px;text-align:start}
.activity-recipe-preview.activity-recipe-compact .activity-recipe-title strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;font-size:.95rem;line-height:1.35}
html[data-design][data-page][data-recipe-card-layout=band-full] #main#main#main .profile-feed-grid{grid-template-columns:minmax(0,1fr)!important;grid-auto-columns:auto!important;grid-auto-rows:auto!important;align-items:start!important;max-width:720px;width:100%;margin-inline:auto;gap:16px!important}
html[data-design][data-page][data-recipe-card-layout=band-full] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) :is(.profile-feed-grid,.wide-attached-recipe) .catalog-recipe-card[data-wide-recipe-card]{border:1px solid var(--edge,#cbd5d8)!important;border-radius:20px!important}
html[data-design][data-page][data-recipe-card-layout=band-full] #main#main#main .profile-recipe-post>.catalog-recipe-card[data-wide-recipe-card]{width:calc(100% - 16px)!important;margin:0 8px 8px!important}

/* Shopping thumbnails keep their current responsive height and share the 6:5 crop. */
/* Keep the original outer action frame and inner recipe border. */
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card]{display:block!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .recipe-publication-header{position:relative;z-index:6;display:flex;align-items:center;gap:8px;min-height:48px;min-width:0;margin:0;padding:2px 3px 12px;border:0;background:none}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .recipe-publication-header .recipe-publication-person{display:flex!important;align-items:center;flex:1;gap:7px!important;min-width:0!important;max-width:100%!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;text-align:start;font:inherit!important;color:var(--ink);text-decoration:none!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .recipe-publication-person>img{width:28px!important;height:28px!important;flex:0 0 28px;border-radius:50%!important;object-fit:cover}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .recipe-publication-copy{display:flex!important;align-items:baseline;gap:4px;min-width:0;max-width:100%;text-align:start}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .recipe-publication-name{display:block!important;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem!important;font-weight:700!important;line-height:1.3!important}
.recipe-publication-verb{flex:none;font-size:.8rem;font-weight:400;line-height:1.3;white-space:nowrap}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .recipe-publication-date{display:flex!important;flex:none;align-items:center;justify-content:center;align-self:center;box-sizing:border-box;min-width:40px;max-width:84px;min-height:28px;margin:0 0 0 auto!important;padding:5px 8px!important;border:0!important;border-radius:9px!important;background:var(--soft)!important;color:var(--ink)!important;font-size:.8rem!important;font-weight:600!important;font-variant-numeric:tabular-nums;line-height:1.2!important;text-align:center;overflow-wrap:anywhere}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .recipe-publication-content{display:grid;grid-template-columns:minmax(0,47%) minmax(0,1fr);grid-template-rows:auto auto auto;align-items:center;gap:3px 10px;position:relative;min-width:0;padding:8px 10px 6px;border:1px solid var(--edge,#cbd5d8);border-top:0;border-radius:0 0 20px 20px;background:var(--surface,#fffdf9);overflow:hidden}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .recipe-publication-content>.wide-recipe-heading{grid-column:1/-1;grid-row:1}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .recipe-publication-content>.wide-recipe-media{grid-column:1;grid-row:2;align-self:center;min-width:0;margin-left:-10px}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .recipe-publication-content>.cardbody{grid-column:2;grid-row:2;display:flex!important;flex-direction:column;align-self:stretch;justify-content:space-between;gap:4px;min-width:0;min-height:0!important;padding:0!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .recipe-publication-content>.wide-recipe-footer{grid-column:1/-1;grid-row:3}
html[data-design][data-page] #main#main#main .profile-recipe-post{border:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;overflow:visible}
html[data-design][data-page][data-recipe-card-layout=band-full] #main#main#main .profile-recipe-post>.catalog-recipe-card[data-wide-recipe-card]{width:100%!important;margin:0!important}
.profile-feed-context{display:flex;align-items:center;gap:7px;position:relative;z-index:6;min-width:0;min-height:24px;margin:0;padding:2px 3px 8px;color:var(--muted);font-size:.8rem;line-height:1.4}
.profile-feed-context>svg{flex:0 0 15px;width:15px;height:15px;fill:none;stroke:currentColor}
.profile-feed-context>span{min-width:0;overflow-wrap:anywhere}
.profile-feed-context .activity-link{display:inline!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:inherit!important;font:inherit!important;font-weight:500!important;text-align:start;text-decoration:none!important}
.profile-feed-context .activity-link:hover{text-decoration:underline!important}
.profile-feed-context .activity-link:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.recipe-publication-with-context>.recipe-publication-header{min-height:52px}
.recipe-publication-with-context>blockquote{position:relative;z-index:6;margin:0 3px 10px;padding:6px 10px;border-inline-start:2px solid var(--edge);font-size:.85rem;line-height:1.4;overflow-wrap:anywhere}
.profile-text-post>.profile-feed-context,.profile-feed-event.panel>.profile-feed-context{padding:12px 12px 4px}
.profile-text-post:has(>.profile-feed-context)>header{min-height:56px}
html[data-design][data-page=home][data-recipe-card-layout=band-full] #main#main#main .shop-recipes-grid .shop-dish:has(>.shop-dish-photo){grid-template-columns:max-content minmax(0,1fr)!important}
html[data-design][data-page=home][data-recipe-card-layout=band-full] #main#main#main :is(.shop-dish-photo,.shop-group-head>img){width:auto!important;max-width:none!important;aspect-ratio:6/5!important;border-radius:14px!important;object-fit:cover}
html[data-design][data-page=home][data-recipe-card-layout=band-full] #main#main#main .shop-group-head>img{flex-basis:auto!important}

/* The publication cap joins the recipe outline without a second surrounding frame. */
html[data-design][data-page][data-recipe-card-layout=band-full] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) :is(.profile-feed-grid,.wide-attached-recipe) .catalog-recipe-card[data-wide-recipe-card]{border:0!important;border-radius:0!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .recipe-publication-cap{position:relative;padding:10px 10px 0;border:1px solid var(--edge,#cbd5d8);border-bottom:0;border-radius:24px 24px 0 0;background:var(--surface,#fffdf9)}
.recipe-publication-cap>blockquote{position:relative;z-index:6;margin:0 3px 10px;padding:6px 10px;border-inline-start:2px solid var(--edge);font-size:.85rem;line-height:1.4;overflow-wrap:anywhere}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .wide-recipe-utilities{position:relative;z-index:6;flex:none;align-self:stretch;justify-content:center!important;gap:12px!important;min-height:30px;margin-top:auto!important;pointer-events:auto}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .wide-recipe-utilities>button{flex:0 1 56px!important;min-width:36px}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .wide-recipe-footer .wide-recipe-social{justify-content:center!important;gap:clamp(12px,5vw,32px)!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .wide-recipe-footer .wide-recipe-social>button{flex:0 1 64px!important;min-width:44px}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card]:not(:has(>.recipe-publication-cap)) .recipe-publication-content{border-top:1px solid var(--edge,#cbd5d8);border-radius:20px}

/* One full-width divider and an explicit category control. */
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .recipe-publication-cap{border-bottom:1px solid var(--edge,#cbd5d8)}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card] .wide-recipe-utilities>[data-recipe-category-picker]{min-height:36px!important;height:36px!important;min-width:44px;padding:6px 10px!important;border:1px solid var(--edge,#cbd5d8)!important;border-radius:10px!important;background:var(--soft,#e5eff2)!important}

/* Rounded divider follows the recipe's upper corners without another frame. */
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .recipe-publication-cap{border-bottom:0}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .recipe-publication-content::before{content:'';position:absolute;top:0;left:-1px;right:-1px;height:18px;border:1px solid var(--edge,#cbd5d8);border-bottom:0;border-radius:18px 18px 0 0;pointer-events:none}
.recipe-card-trials{scroll-margin-top:110px}
.recipe-card-trials>summary{cursor:pointer;font-weight:700;font-size:1.15rem;color:var(--accent)}
.recipe-card-trials>p{margin-top:14px}
.recipe-layout-controls{display:flex;gap:18px;align-items:end;flex-wrap:wrap;margin:18px 0 24px}
.recipe-layout-controls>label:first-child{flex:1;min-width:180px;display:grid;gap:6px}
.recipe-layout-controls select{width:100%;min-width:0}
.recipe-layout-examples{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}
.recipe-layout-example{min-width:0}.recipe-layout-example>h3{margin:0 0 8px!important;font-size:1.1rem!important}.recipe-layout-example>p{min-height:2.8em;line-height:1.4}
.recipe-layout-preview{max-width:480px;margin-inline:auto;min-width:0;user-select:none}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial] .recipe-quick-meta{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;align-items:center!important;width:100%}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial] .recipe-quick-meta>*{grid-column:auto!important;grid-row:auto!important;min-width:0;justify-self:start}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial] .recipe-trial-portions{grid-column:1/-1!important;font-size:.76rem;color:var(--muted);white-space:nowrap}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows] .recipe-quick-meta{grid-template-columns:minmax(0,1fr)!important;gap:4px!important}
.recipe-trial-fact-row{display:flex;justify-content:space-between;gap:5px;align-items:center;min-width:0;width:100%}.recipe-trial-fact-row>small{font-size:.68rem;color:var(--muted);min-width:0}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows] .cardbody{display:grid!important;grid-template-columns:minmax(0,1fr) 40px;gap:8px!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows] .recipe-quick-meta{grid-column:1/-1}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows] .wide-recipe-utilities{grid-column:2;grid-row:2;margin:0!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows] .wide-recipe-utilities>button{min-width:36px!important;padding:6px!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows] .actions{grid-column:1;grid-row:2}

html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial] .recipe-quick-meta>span{padding:4px!important;font-size:.72rem!important;line-height:1.2!important;white-space:normal!important;overflow-wrap:anywhere}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows] .cardbody{display:block!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows] .recipe-trial-actionbar{grid-column:1/-1;grid-row:3;display:flex;align-items:center;gap:8px;min-width:0;padding-top:8px}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows] .recipe-trial-actionbar>.actions{flex:1;min-width:0}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows] .recipe-trial-actionbar>.wide-recipe-utilities{flex:0 0 44px;margin:0!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows] .wide-recipe-footer{grid-row:4}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows] .recipe-trial-actionbar>.actions{display:flex!important;flex-wrap:nowrap!important;gap:0!important;padding:0!important;margin:0!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows] .recipe-trial-actionbar .add-to-shop{flex:1!important;width:100%!important;min-width:0!important;min-height:42px!important;padding:8px!important;font-size:.95rem!important;line-height:1.25!important}
.recipe-trial-fact-row>:not(small){flex-shrink:1;max-width:62%;white-space:normal!important;overflow-wrap:anywhere;line-height:1.2}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial] .wide-recipe-footer .wide-recipe-social{gap:8px!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial] .wide-recipe-footer .wide-recipe-social>button{min-width:36px;flex:0 1 48px!important}

/* Selected layout: four labelled facts, no quantity line, wider reaction spacing. */
.recipe-layout-examples{grid-template-columns:minmax(0,1fr)}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows] .wide-recipe-footer .wide-recipe-social{justify-content:space-between!important;gap:8px!important;padding-block:8px!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows] .wide-recipe-footer .wide-recipe-social>button{flex:0 1 auto!important;min-width:44px;min-height:40px!important;height:40px!important;padding:8px 6px!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows] .recipe-trial-actionbar>.actions:not(:has(.add-to-shop)){flex-wrap:wrap!important;gap:6px!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows] .recipe-trial-actionbar>.actions>.btn:not(.add-to-shop){flex:1 1 110px;min-width:0;min-height:40px;height:auto;padding:8px;font-size:.85rem;white-space:normal}
/* Compact cards: the four larger facts share the photograph's height. */
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows]:not(.recipe-publication-with-context) .recipe-publication-cap{padding-top:7px}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows]:not(.recipe-publication-with-context) .recipe-publication-header{min-height:40px;padding-bottom:8px}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows] .recipe-publication-content{padding-top:6px;padding-bottom:2px;row-gap:2px}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows] .cardbody{display:flex!important;align-self:stretch;justify-content:center}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows] .recipe-quick-meta{flex:1;grid-template-rows:repeat(4,minmax(0,1fr));gap:0!important;align-self:stretch}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows] .recipe-trial-fact-row>small{font-size:clamp(.74rem,2.5vw,.86rem);line-height:1.2}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows] .recipe-trial-fact-row>:not(small){display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box;min-height:28px!important;padding:5px 6px!important;font-size:clamp(.82rem,2.8vw,.96rem)!important;line-height:1.2!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows] .recipe-trial-fact-row>.score{min-width:28px;height:28px!important;padding:3px!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows] .recipe-trial-actionbar{padding-top:4px}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows] .recipe-trial-actionbar .add-to-shop{min-height:38px!important;padding:6px 8px!important}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows] .wide-recipe-footer .wide-recipe-social{padding-block:2px!important}

/* Stretch the crop only when a narrow card needs taller fact rows. */
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows] .wide-recipe-media{position:relative;align-self:stretch;aspect-ratio:6/5;min-height:128px}
html[data-design][data-page] :is(#main#main#main,.profile-post-reader,#profile-baskets-dialog#profile-baskets-dialog#profile-baskets-dialog) .catalog-recipe-card[data-wide-recipe-card][data-recipe-layout-trial=rows] .wide-recipe-media>:is(.card-photo,.recipe-photo-invitation){position:absolute;inset:0;height:100%!important;aspect-ratio:auto!important}
