/* =====================================================================
   Sugarlaws legacy posts: the modern editorial layer around an original
   post. Loaded after style.css and sugarlaws.css (tokens live there).
   ===================================================================== */
.lp-main{padding:56px 0 0}
.lp-wrap{max-width:1180px}
.lp-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:72px;align-items:start}
.lp-article{max-width:760px;min-width:0}

/* head */
.lp-head{margin-bottom:36px;max-width:680px}
.lp-head h1{font-size:54px;line-height:1.04;letter-spacing:-.02em;margin-bottom:16px;text-wrap:balance}
.lp-deck{font-family:var(--sl-serif);font-style:italic;font-size:21px;line-height:1.45;color:#333;margin-bottom:20px}
.lp-meta{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--sl-muted);font-weight:500}

/* lead photograph: shown at its own proportions, never blown up past what the file can carry */
.lp-lead{margin:0 0 48px}
.lp-lead img{width:100%;height:auto;display:block;background:var(--sl-paper)}
.lp-lead.is-portrait{max-width:640px}
.lp-lead.is-small{max-width:600px}
.lp-lead.is-portrait.is-small{max-width:500px}

/* body: the original words, set for reading */
.lp-body{font-family:var(--sl-serif);font-size:18px;line-height:1.8;color:#1f1f1f}
.lp-body>p,.lp-body>ul,.lp-body>ol,.lp-body>blockquote,.lp-body>h2,.lp-body>h3{max-width:660px}
.lp-body p{margin:0 0 1.35em;font-size:inherit;line-height:inherit;color:inherit}
.lp-body a{border-bottom:1px solid var(--c-pink);color:inherit}
.lp-body a:hover{color:var(--c-raspberry)}
.lp-body strong{font-weight:600}
.lp-body em{font-style:italic}
.lp-body del{color:var(--sl-muted)}
.lp-body ul,.lp-body ol{margin:0 0 1.35em 1.2em;padding:0;list-style:disc}
.lp-body ol{list-style:decimal}
.lp-body li{margin-bottom:.4em}
.lp-body blockquote{margin:0 0 1.35em;padding-left:22px;border-left:2px solid var(--c-pink);font-style:italic}
.lp-body h2,.lp-body h3{font-family:var(--sl-serif);font-weight:500;font-size:24px;margin:1.6em 0 .6em;line-height:1.25}
.lp-body img{max-width:100%;height:auto;float:none}
.lp-body table{max-width:100%;overflow-x:auto;display:block}
.lp-body iframe,.lp-body video,.lp-body embed,.lp-body object{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:16/9;margin:8px 0 1.35em;border:0}

/* photographs inside the post */
.lp-fig{margin:8px 0 40px}
.lp-fig img{width:100%;height:auto;display:block;background:var(--sl-paper)}
.lp-single.is-portrait{max-width:560px}
.lp-single.is-small{max-width:560px}
.lp-single.is-portrait.is-small{max-width:480px}
.lp-single.is-landscape.is-small{max-width:600px}
/* a justified row: widths follow each photo's own proportions, heights match, nothing is cropped */
.lp-gallery{display:flex;gap:20px;margin:8px 0 40px;align-items:stretch}
.lp-gallery .lp-fig{margin:0;max-width:none;flex:1 1 0;min-width:0}
.lp-gallery .lp-fig img{width:100%;height:100%;object-fit:cover;aspect-ratio:var(--ar,auto)}
.lp-gallery+.lp-gallery{margin-top:-20px}

/* recipe card: the original lines, made readable */
.lp-recipe{margin:16px 0 44px;background:var(--sl-paper);border-top:2px solid var(--c-raspberry)}
.lp-recipe-in{padding:32px 36px 28px}
.lp-body .lp-recipe-title,.lp-body .lp-recipe-title{font-family:var(--sl-serif);font-weight:400;font-size:30px;margin:0 0 20px;line-height:1.15}
.lp-body .lp-recipe-h,.lp-body .lp-recipe-h{font-family:var(--sl-sans);font-weight:500;font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--c-raspberry);margin:18px 0 10px}
.lp-body .lp-recipe-h:first-child{margin-top:0}
.lp-body .lp-ingredients,.lp-body .lp-ingredients{list-style:none;margin:0 0 6px;padding:0;font-size:17px;line-height:1.55}
.lp-ingredients li{padding:7px 0;border-bottom:1px solid var(--sl-hair)}
.lp-ingredients li:last-child{border-bottom:0}
.lp-body .lp-body .lp-recipe p{margin:0 0 1em;font-size:17px;line-height:1.7;max-width:none}
.lp-recipe p:last-child{margin-bottom:0}

/* sign-off, shop, share */
.lp-shop{border-top:1px solid var(--sl-ink);padding-top:28px;margin:12px 0 44px;display:grid;grid-template-columns:240px minmax(0,1fr);gap:36px;align-items:start}
.lp-shop-img{overflow:hidden;background:var(--sl-paper)}
.lp-shop-img img{width:100%;height:auto;display:block;aspect-ratio:var(--ar,1);object-fit:cover}
.lp-shop-img.is-portrait img{aspect-ratio:4/5}
.lp-shop-img.is-landscape img{aspect-ratio:4/3}
.lp-shop .sl-eyebrow{display:block;color:var(--c-raspberry);margin-bottom:4px;font-size:11px}
.lp-shop-list{list-style:none;margin:0;padding:0}
.lp-shop-list a{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 2px;border-bottom:1px solid var(--sl-hair);font-family:var(--sl-serif);font-size:19px;line-height:1.3}
.lp-shop-list a span{font-family:var(--sl-sans);color:var(--c-raspberry);transition:transform .2s}
.lp-shop-list a:hover{color:var(--c-raspberry)}
.lp-shop-list a:hover span{transform:translateX(4px)}
.lp-share{display:flex;align-items:center;gap:22px;flex-wrap:wrap;padding:20px 0 8px;border-top:1px solid var(--sl-hair)}
.lp-share a,.lp-copy{font-family:var(--sl-sans);font-size:12px;letter-spacing:.14em;text-transform:uppercase;font-weight:500;border:0;background:none;padding:0;cursor:pointer;color:var(--sl-ink);border-bottom:1px solid transparent}
.lp-share a:hover,.lp-copy:hover{color:var(--c-raspberry);border-bottom-color:var(--c-raspberry)}

/* sidebar */
.lp-side{position:sticky;top:96px;display:flex;flex-direction:column;gap:44px}
.lp-mod .sl-eyebrow{display:block;margin-bottom:14px;color:var(--sl-ink)}
.lp-author .lp-author-photo{width:150px;margin-bottom:18px}
.lp-author .lp-author-photo img{width:100%;height:auto;display:block}
.lp-author p{font-size:14px;line-height:1.7;font-weight:300;color:#333;margin-bottom:14px}
.lp-related ul,.lp-topics ul{list-style:none;margin:0;padding:0}
.lp-related li{border-top:1px solid var(--sl-hair)}
.lp-related li:last-child{border-bottom:1px solid var(--sl-hair)}
.lp-related a{display:grid;grid-template-columns:72px 1fr;gap:16px;align-items:center;padding:12px 0}
.lp-rel-img{display:block;aspect-ratio:4/5;overflow:hidden;background:var(--sl-paper)}
.lp-rel-img img{width:100%;height:100%;object-fit:cover;display:block}
.lp-rel-k{display:block;font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--sl-muted);margin-bottom:4px}
.lp-rel-t{display:block;font-family:var(--sl-serif);font-size:16px;line-height:1.3}
.lp-related a:hover .lp-rel-t{color:var(--c-raspberry)}
.lp-arch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:12px}
.lp-arch-grid a:first-child{grid-column:span 2}
.lp-arch-img{display:block;aspect-ratio:var(--ar,1);overflow:hidden;background:var(--sl-paper)}
.lp-arch-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s}
.lp-arch-grid a:hover img{transform:scale(1.02)}
.lp-arch-k{display:block;font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--sl-muted);margin-top:8px}
.lp-arch-note{font-size:12px;color:var(--sl-muted);font-weight:300;margin-bottom:10px}
.lp-topics li{border-top:1px solid var(--sl-hair)}
.lp-topics li:last-child{border-bottom:1px solid var(--sl-hair)}
.lp-topics a{display:block;padding:10px 0;font-size:14px}
.lp-topics a:hover{color:var(--c-raspberry)}

/* mobile: one true column, sidebar after the article */
@media (max-width:980px){
  .lp-grid{grid-template-columns:minmax(0,1fr);gap:56px}
  .lp-side{position:static}
  .lp-article{max-width:none}
}
@media (max-width:700px){
  .lp-main{padding-top:20px}
  .lp-head h1{font-size:34px}
  .lp-deck{font-size:18px}
  .lp-lead{margin-bottom:28px}
  .lp-lead.is-portrait,.lp-lead.is-small,.lp-lead.is-portrait.is-small{max-width:none}
  .lp-body{font-size:17px;line-height:1.75}
  .lp-single.is-portrait,.lp-single.is-small,.lp-single.is-portrait.is-small,.lp-single.is-landscape.is-small{max-width:none}
  .lp-gallery{gap:10px;margin-bottom:28px}
  .lp-gallery+.lp-gallery{margin-top:-18px}
  .lp-recipe-in{padding:22px 20px}
  .lp-recipe-title{font-size:26px}
  .lp-shop{grid-template-columns:minmax(0,1fr);gap:20px}
  .lp-shop-img{max-width:100%}
  .lp-shop-list a{font-size:17px;padding:13px 0}
  .lp-share{gap:16px}
  .lp-side{gap:36px}
}
