/* SDM editorial pages and reusable latest-article widget. */
.sdm-blog{--blog-ink:#241a1d;--blog-muted:#665952;--blog-cream:#f2ebe3;color:var(--blog-ink);max-width:1280px;margin:30px auto 64px;padding:0 24px}.sdm-blog--home{margin:56px auto}.sdm-blog__heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:28px}.sdm-blog__eyebrow{text-transform:uppercase;letter-spacing:.11em;font-size:12px;font-weight:700;color:#75614f;margin:0 0 12px}.sdm-blog h1{font-size:clamp(30px,3vw,44px);font-weight:700;line-height:1.15;margin:0 0 20px}.sdm-blog h2{font-size:28px;font-weight:700;line-height:1.2;margin:0 0 14px}.sdm-blog__heading p:not(.sdm-blog__eyebrow){margin:0}.sdm-blog a{color:inherit}.sdm-blog a:hover{text-decoration:underline}.sdm-blog a:focus-visible,.sdm-blog button:focus-visible{outline:2px solid #ed7900;outline-offset:4px}.sdm-blog__all{font-weight:700;white-space:nowrap}.sdm-blog__cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.sdm-blog__cards--slider{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:16px;scroll-padding-inline:0;overscroll-behavior-inline:contain}.sdm-blog__cards--slider .sdm-blog__card{flex:0 0 calc((100% - 48px)/3);scroll-snap-align:start}.sdm-blog__card{display:flex;flex-direction:column;border:1px solid #e4d8ca;background:#f9f6f2;border-radius:12px;overflow:hidden;min-width:0}.sdm-blog__image-link{display:block;aspect-ratio:3/2;background:var(--blog-cream)}.sdm-blog__image-link img{width:100%;height:100%;object-fit:cover}.sdm-blog__card-body{display:flex;flex-direction:column;flex:1;padding:24px}.sdm-blog__card h2,.sdm-blog__card h3{font-size:22px;line-height:1.25;font-weight:700;margin:0 0 14px}.sdm-blog__card-body>p:not(.sdm-blog__eyebrow){font-size:14px;line-height:1.65;margin:0 0 20px}.sdm-blog__card time{font-size:12px;color:var(--blog-muted);margin-top:auto}.sdm-blog__controls{display:flex;justify-content:end;gap:12px;margin-top:12px}.sdm-blog__controls button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid #d9c9b8;border-radius:50%;background:var(--blog-cream);color:var(--blog-ink);line-height:1}.sdm-blog__controls button svg{display:block;flex:none;width:20px;height:20px}.sdm-blog__pages{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:36px}.sdm-blog__pages a{padding:10px 16px;border:1px solid #dfd2c4;border-radius:7px}.sdm-blog__pages a[aria-current]{background:var(--blog-ink);color:#fff}.sdm-blog__back{display:inline-block;font-size:14px;margin-bottom:32px}.sdm-blog__article-header{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:48px;margin-bottom:48px}.sdm-blog__article-header figure{margin:0}.sdm-blog__article-header img{width:100%;height:auto;max-height:520px;object-fit:cover;border-radius:16px}.sdm-blog__lead{font-size:18px;line-height:1.7;margin:0 0 22px}.sdm-blog__byline{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:13px;color:var(--blog-muted)}.sdm-blog__body{max-width:820px;margin:0 0 36px;font-size:17px;line-height:1.85;overflow-wrap:anywhere}.sdm-blog__body p{margin:0 0 22px}.sdm-blog__body h2{margin-top:32px}.sdm-blog__body h3{font-size:22px;font-weight:700;margin:24px 0 12px}.sdm-blog__body ul,.sdm-blog__body ol{padding-left:24px;margin-bottom:24px;list-style:revert}.sdm-blog__body img{max-width:100%;height:auto;border-radius:8px}.sdm-blog__body figcaption{font-size:13px;color:var(--blog-muted)}.sdm-blog__body a{text-decoration:underline}.sdm-blog__recipe{display:grid;grid-template-columns:.8fr 1.2fr;gap:40px;margin-top:32px}.sdm-blog__recipe section{padding:32px;border-radius:14px;background:var(--blog-cream)}.sdm-blog__recipe ul,.sdm-blog__recipe ol{list-style:revert;padding-left:24px;margin:20px 0 0}.sdm-blog__recipe li{padding-left:6px;margin-bottom:16px;line-height:1.7}.sdm-blog__source{max-width:820px;margin:40px 0 0;border-top:1px solid #dfd2c4;padding-top:24px}.sdm-blog__source h2{font-size:18px}.sdm-blog__preview{padding:16px;background:#fff1ce;border:1px solid #dc9a26;border-radius:8px;margin-bottom:24px}
@media(max-width:900px){.sdm-blog__cards{grid-template-columns:repeat(2,minmax(0,1fr))}.sdm-blog__cards--slider .sdm-blog__card{flex-basis:calc((100% - 24px)/2)}.sdm-blog__article-header{gap:28px}.sdm-blog__recipe{gap:24px}}
@media(max-width:600px){.sdm-blog{padding:0 16px;margin-top:24px}.sdm-blog__heading{display:block}.sdm-blog__all{display:inline-block;margin-top:16px}.sdm-blog__cards{grid-template-columns:1fr;gap:18px}.sdm-blog__cards--slider .sdm-blog__card{flex-basis:86%}.sdm-blog__card-body{padding:20px}.sdm-blog__article-header,.sdm-blog__recipe{grid-template-columns:1fr;gap:24px}.sdm-blog__article-header{margin-bottom:28px}.sdm-blog__article-header img{max-height:390px;object-fit:contain;background:var(--blog-cream)}.sdm-blog__lead{font-size:16px}.sdm-blog__body{font-size:16px}.sdm-blog__recipe section{padding:24px}.sdm-blog h2{font-size:25px}.sdm-blog__back{margin-bottom:24px}}
@media(prefers-reduced-motion:reduce){.sdm-blog *{scroll-behavior:auto!important}}
.sdm-blog__body aside{background:var(--blog-cream);padding:24px;border-radius:12px;margin:28px 0}.sdm-blog__body aside h2{margin-top:12px}.sdm-blog__body aside a.action.primary{display:inline-flex;background:#f78000;color:#fff;text-decoration:none;font-weight:700;border-radius:6px;padding:10px 18px}.sdm-blog__body aside a.action.primary:hover{background:#e87600;color:#fff}

/* Keep the product recommendation on the article's left edge, with a contained packshot. */
.sdm-blog__body .sdm-recipe__product{display:grid;grid-template-columns:minmax(0,1fr) 150px;align-items:center;gap:24px}
.sdm-blog__body .sdm-blog__product-image{grid-column:2;grid-row:1;width:150px;height:220px;object-fit:contain;border-radius:0;margin:0}
.sdm-blog__product-copy{grid-column:1;grid-row:1;min-width:0}
.sdm-blog__product-copy>p:last-child{margin-bottom:0}
@media(max-width:600px){.sdm-blog__body .sdm-recipe__product{grid-template-columns:1fr;gap:16px}.sdm-blog__body .sdm-blog__product-image{grid-column:1;grid-row:1;width:120px;height:160px;justify-self:center}.sdm-blog__product-copy{grid-column:1;grid-row:2}}
/* Give the wider Chimac bottle more presence in its recipe recommendation. */
.sdm-blog__body .sdm-recipe__product:has([data-product-sku="SCS-CHI-001"]){grid-template-columns:minmax(0,1fr) 200px}
.sdm-blog__body .sdm-recipe__product [data-product-sku="SCS-CHI-001"]{width:200px;height:240px}
@media(max-width:600px){.sdm-blog__body .sdm-recipe__product:has([data-product-sku="SCS-CHI-001"]){grid-template-columns:1fr}.sdm-blog__body .sdm-recipe__product [data-product-sku="SCS-CHI-001"]{width:150px;height:180px}}


/* Account for the source packshot’s slightly asymmetric transparent margins. */
.sdm-blog__body .sdm-recipe__product [data-product-sku="SCS-CHI-001"]{transform:translate(-0.5%,-0.7%)}

/* A symmetric soft diamond frames the visible Chimac bottle, without extra media. */
.sdm-blog__body .sdm-recipe__product:has([data-product-sku="SCS-CHI-001"])::before{content:"";grid-area:1/2;justify-self:center;align-self:center;width:154px;height:154px;border-radius:30%;background:#f4d0a6;transform:rotate(45deg);pointer-events:none}
.sdm-blog__body .sdm-recipe__product picture:has([data-product-sku="SCS-CHI-001"]){grid-area:1/2;position:relative;z-index:1;justify-self:center}
@media(max-width:600px){.sdm-blog__body .sdm-recipe__product:has([data-product-sku="SCS-CHI-001"])::before{grid-area:1/1;width:116px;height:116px}.sdm-blog__body .sdm-recipe__product picture:has([data-product-sku="SCS-CHI-001"]){grid-area:1/1}}

/* Recipe notes and recommendation share the same columns as the recipe below. */
.sdm-blog__body--wide{max-width:none}
.sdm-blog__recipe-context{display:grid;grid-template-columns:.8fr 1.2fr;gap:40px;align-items:start}
.sdm-blog__recipe-notes{min-width:0}
.sdm-blog__recipe-context>.sdm-recipe__product{margin:0}
.sdm-blog__recipe-context .sdm-blog__product-copy h2{font-size:24px}
@media(max-width:900px){.sdm-blog__recipe-context{grid-template-columns:1fr;gap:24px}}

/* Recipe portion selector follows the SDM quantity controls. */
.sdm-blog__portions [hidden]{display:none!important}
.sdm-blog__portion-controls{margin:20px 0 24px}
.sdm-blog__portion-controls>label{display:block;font-weight:700;margin-bottom:10px}
.sdm-blog__stepper{display:inline-flex;align-items:center;border:1px solid #cdbba9;border-radius:8px;overflow:hidden;background:#fff}
.sdm-blog__stepper button{width:44px;height:44px;background:transparent;color:var(--blog-ink);font-size:22px;line-height:1}
.sdm-blog__stepper button:hover:not(:disabled){background:#e8dccf}
.sdm-blog__stepper button:disabled{opacity:.35;cursor:default}
.sdm-blog__stepper input{width:60px;height:44px;min-height:0;padding:0 4px;margin:0;border:0;border-left:1px solid #e4d8ca;border-right:1px solid #e4d8ca;border-radius:0;box-shadow:none;text-align:center;font-size:16px;color:var(--blog-ink);background:#fff;appearance:textfield;-moz-appearance:textfield}
.sdm-blog__stepper input::-webkit-inner-spin-button,.sdm-blog__stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.sdm-blog__stepper input:focus-visible{outline:2px solid #ed7900;outline-offset:-3px}
.sdm-blog__stepper button:focus-visible{outline-offset:-3px}
.sdm-blog__portion-note{font-size:12px;line-height:1.6;color:var(--blog-muted);margin:24px 0 0}

.sdm-blog__sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.sdm-blog__after-recipe{margin-top:40px}

/* The homepage already supplies the shared page width and horizontal gutters. */
.cms-index-index .sdm-blog--home{max-width:none;margin:56px 0;padding-inline:0}
.sdm-blog .sdm-blog__image-link{overflow:hidden}
.sdm-blog .sdm-blog__image-link img{display:block;width:100%;height:100%;object-fit:cover}
@media(min-width:1200px){.sdm-blog--home .sdm-blog__cards--slider .sdm-blog__card{flex-basis:calc((100% - 72px)/4)}}
