/* Winery profiles share the editorial chapter rail, with content-aligned anchors. */
.winery-chapter-nav{display:block;margin:0;padding:0;left:auto;right:auto}
.winery-chapter-nav .winery-chapter-top{padding:0;color:var(--gold);text-transform:none;text-decoration:none;letter-spacing:0;background:transparent;border:0;box-shadow:none}
.winery-chapter-nav .winery-chapter-top:hover{color:var(--gold);text-decoration:none}
.winery-chapter-nav .winery-chapter-top:focus-visible{outline:2px solid #fff;outline-offset:4px}
.winery-chapter-nav .chapter-nav-links{flex:1}
.winery-chapter-actions{display:flex;flex:none;align-items:center;gap:8px;margin-left:auto}
.winery-chapter-action{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 12px;border:1px solid var(--gold);color:#fff;font-family:var(--serif);font-size:10px;font-weight:500;line-height:1.2;letter-spacing:.04em;text-transform:uppercase;text-decoration:none;white-space:nowrap}
.winery-chapter-action:hover{background:rgba(255,255,255,.1);color:#fff;text-decoration:none}
.winery-chapter-action:focus-visible{outline:2px solid #fff;outline-offset:3px}
.winery-purchase-actions .wine-data-action:focus-visible{outline:2px solid var(--wine);outline-offset:3px}
.winery-profile-page .winery-sidebar-heading{margin:0;font-family:var(--serif);font-size:27px;font-weight:500;line-height:1.08;color:var(--wine)}
.winery-profile-page .winery-sidebar dt{color:var(--wine)}
.winery-profile-page .winery-sidebar dd{font-size:14.4px}
.winery-purchase-section>h3{margin:0;font-family:var(--sans)!important;font-size:9px;font-weight:700!important;line-height:1.65;letter-spacing:.08em;text-transform:uppercase;color:var(--wine)}
.winery-profile-page .winery-gallery-section>span{display:block;font-family:var(--sans);font-size:9px;font-weight:700;line-height:1.65;letter-spacing:.08em;text-transform:uppercase;color:var(--wine)}
.winery-profile-page .winery-sidebar-section+.winery-sidebar-section{margin-top:13px;padding-top:13px}
.winery-profile-page main.editorial-layout .richtext .profile-copy>p.intro-p{color:#8d6528}
.winery-purchase-section>p{margin:9px 0 16px;font-size:11px;line-height:1.45;color:var(--muted)}
.winery-purchase-section .wine-data-actions{margin-top:0}
.winery-profile-page .winemaker-hero{--hero-title-size:clamp(62px,8.2vw,110px);align-items:center;scroll-margin-top:var(--chapter-header-height,83px)}
.winery-profile-page .winemaker-hero>.shell{padding-bottom:0}
.winery-profile-page .winemaker-hero h1{max-width:100%}
.winery-profile-page .winemaker-hero .winery-hero-punchline{display:block;max-width:980px;margin:0;font-family:var(--heading);font-size:calc(var(--hero-title-size) * .632);font-weight:500;font-style:italic;letter-spacing:-.035em;line-height:1.04;color:#e3ba7b;overflow-wrap:break-word}
.winery-profile-page .winemaker-hero>.shell>p:last-of-type{max-width:630px;margin:28px 0 0;font-size:18px;color:#f0e7df}
.winery-profile-page .winery-hero-cta{margin-top:28px;gap:12px}
.winery-profile-page [data-winery-chapter]{scroll-margin-top:calc(var(--chapter-header-height,83px) + var(--chapter-nav-height,84px) + 20px)}
.winery-profile-page .winery-portfolio h2[id]{scroll-margin-top:calc(var(--chapter-header-height,83px) + var(--chapter-nav-height,84px) + 20px)}
.winery-profile-page .winery-sidebar:focus-visible{outline:2px solid var(--wine);outline-offset:4px}
/* Keep every sidebar section expanded; restore desktop stickiness without a scroll box. */
.winery-profile-page .winery-sidebar{position:static;top:auto;max-height:none;overflow:visible}
.winery-profile-page .winery-sidebar :is(a,button){scroll-margin-block-start:calc(var(--chapter-header-height,83px) + var(--chapter-nav-height,84px) + 22px);scroll-margin-block-end:22px}
@media(min-width:901px){
  .winery-profile-page .winery-sidebar{position:sticky;top:calc(var(--chapter-header-height,83px) + var(--chapter-nav-height,84px) + 22px)}
  /* Let native keyboard focus reveal descendants of a sidebar taller than the viewport. */
  .winery-profile-page .winery-sidebar:has(:focus-visible){position:static;top:auto}
}
@media(max-width:900px){
  .winery-chapter-nav .chapter-nav-inner{flex-wrap:wrap;gap:0 14px;padding-top:10px;padding-bottom:10px}
  .winery-chapter-actions{width:100%;justify-content:flex-end;margin-top:4px}
}
@media(max-width:600px){
  .winery-profile-page .winemaker-hero{--hero-title-size:52px}
  .winery-chapter-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:0}
  .winery-chapter-action{white-space:normal;text-align:center}
}
