/* Approved brand-section refinement. All layout selectors stay inside this section. */
#barista-brand-story.hc-brand-editorial{padding:30px 20px 28px}
#barista-brand-story.hc-brand-editorial .bs-heading{display:block;text-align:center;max-width:680px;margin-inline:auto}
#barista-brand-story.hc-brand-editorial .bs-heading .bs-eyebrow{text-align:center;font-size:9px;letter-spacing:2.4px;margin:0 0 10px}
#barista-brand-story.hc-brand-editorial h2{font-size:28px;font-weight:400;line-height:1.25;letter-spacing:-.4px;margin:0 0 10px;max-width:none}
#barista-brand-story.hc-brand-editorial .bs-intro{font-size:13px;line-height:1.65;max-width:290px;margin-inline:auto}
#barista-brand-story.hc-brand-editorial.bs-interactive .bs-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-width:620px!important;margin:20px auto 0;border-bottom:1px solid var(--bsu-green-soft)}
#barista-brand-story.hc-brand-editorial .bs-tab{min-width:0;min-height:52px;padding:12px 2px;opacity:.68;background:transparent;border-bottom:0}
#barista-brand-story.hc-brand-editorial .bs-tab[aria-selected=true]{opacity:1;background:transparent}
#barista-brand-story.hc-brand-editorial .bs-tab img{width:auto;height:18px;max-width:100%;max-height:18px;object-fit:contain}
#barista-brand-story.hc-brand-editorial .bs-tab[aria-selected=true]::after{height:2px;width:32px;inset-inline:0;margin-inline:auto;bottom:-1px;background:var(--bsu-green)}
#barista-brand-story.hc-brand-editorial .bs-panels{margin-top:18px}
#barista-brand-story.hc-brand-editorial .bs-panel{display:block;background:transparent}
#barista-brand-story.hc-brand-editorial .bs-stage{display:block;max-height:none}
#barista-brand-story.hc-brand-editorial .bs-photo{width:100%;height:auto;aspect-ratio:1;min-height:0;background:transparent;overflow:hidden;padding:0}
#barista-brand-story.hc-brand-editorial .bs-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%;background:transparent}
#barista-brand-story.hc-brand-editorial [data-brand-panel=profitec] .bs-photo img{object-position:50% 54%}
#barista-brand-story.hc-brand-editorial [data-brand-panel=graef] .bs-photo img{object-position:50% 68%}
#barista-brand-story.hc-brand-editorial .bs-copy{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;padding:20px 0 10px;max-width:none;background:transparent}
#barista-brand-story.hc-brand-editorial .bs-origin{font-size:11px;line-height:1.6;color:#68665f;margin:0}
#barista-brand-story.hc-brand-editorial h3{font-size:25px;font-weight:400;line-height:1.35;letter-spacing:-.4px;margin:0;max-width:min(23ch,calc(100vw - 128px))}
#barista-brand-story.hc-brand-editorial .bs-models{align-self:center;justify-content:center;min-height:44px;padding:6px 10px;margin:4px 0 0;font-size:14px;line-height:1.5;color:var(--bsu-green);border-bottom:1px solid #dcd9d0;white-space:normal;text-align:center}
#barista-brand-story.hc-brand-editorial .bs-detail{background:transparent;border-bottom:1px solid var(--bsu-green-soft);padding:0;margin:8px 0 0}
#barista-brand-story.hc-brand-editorial .bs-detail>summary{display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;cursor:pointer;padding:10px 0;font-size:12px;line-height:1.5;color:#68665f;list-style:none}
#barista-brand-story.hc-brand-editorial .bs-detail>summary::-webkit-details-marker{display:none}
#barista-brand-story.hc-brand-editorial .bs-detail>summary::after{content:'+';font:400 18px/1 Arial,sans-serif;margin-inline-start:9px}
#barista-brand-story.hc-brand-editorial .bs-detail[open]>summary::after{content:'−'}
#barista-brand-story.hc-brand-editorial .bs-full-story{font-size:14px;line-height:1.8;text-align:center;width:calc(100% - 88px);max-width:55ch;margin-inline:auto;padding:6px 0 20px}
#barista-brand-story.hc-brand-editorial .bs-detail>summary:focus-visible{outline:2px solid var(--bsu-green);outline-offset:3px}
@media(min-width:680px){
 #barista-brand-story.hc-brand-editorial{padding:42px 32px 32px}
 #barista-brand-story.hc-brand-editorial .bs-heading{max-width:760px}
 #barista-brand-story.hc-brand-editorial h2{font-size:36px;line-height:1.2}
 #barista-brand-story.hc-brand-editorial h2 br{display:none}
 #barista-brand-story.hc-brand-editorial .bs-intro{font-size:15px;max-width:none;justify-self:auto}
 #barista-brand-story.hc-brand-editorial .bs-heading .bs-eyebrow{font-size:10px;margin-bottom:12px}
 #barista-brand-story.hc-brand-editorial.bs-interactive .bs-tabs{margin-top:24px;margin-bottom:0}
 #barista-brand-story.hc-brand-editorial .bs-tab{min-height:56px}
 #barista-brand-story.hc-brand-editorial .bs-tab img{height:21px;max-height:21px}
 #barista-brand-story.hc-brand-editorial .bs-panels{margin-top:24px}
 #barista-brand-story.hc-brand-editorial .bs-stage{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;gap:44px;max-height:none}
 #barista-brand-story.hc-brand-editorial .bs-photo{height:auto;aspect-ratio:1}
 #barista-brand-story.hc-brand-editorial .bs-copy{padding:16px 0;gap:12px;align-items:center;text-align:center}
 #barista-brand-story.hc-brand-editorial .bs-origin{font-size:13px}
 #barista-brand-story.hc-brand-editorial h3{font-size:36px;max-width:16ch;line-height:1.3}
 #barista-brand-story.hc-brand-editorial .bs-models{font-size:15px;margin-top:6px}
 #barista-brand-story.hc-brand-editorial .bs-detail{margin-top:18px}
 #barista-brand-story.hc-brand-editorial .bs-detail>summary{font-size:13px}
 #barista-brand-story.hc-brand-editorial .bs-full-story{font-size:15px;width:100%;padding-bottom:24px}
}
@media(max-width:360px){
 #barista-brand-story.hc-brand-editorial{padding-inline:16px}
 #barista-brand-story.hc-brand-editorial h2{font-size:25px}
 #barista-brand-story.hc-brand-editorial .bs-tab img{height:16px;max-height:16px}
 #barista-brand-story.hc-brand-editorial .bs-copy{gap:6px;padding-top:16px}
 #barista-brand-story.hc-brand-editorial h3{font-size:23px}
}
/* Keep the existing accessibility control clear of centered brand copy on phones. */
@media(max-width:679px){body.bsu-brand-in-view #open_sogoacc{right:auto!important;left:max(12px,env(safe-area-inset-left))!important;bottom:max(12px,env(safe-area-inset-bottom))!important;width:44px!important;height:44px!important;min-width:44px;min-height:44px}body.bsu-brand-in-view #open_sogoacc img{max-width:100%;max-height:100%}}

#barista-brand-story.hc-brand-editorial .bs-panel>.bs-models{display:table;min-height:44px;margin:12px auto 0;text-align:center}
