/* The archive rail uses the shared chapter-bar appearance, with filter buttons. */
.wine-style-nav .chapter-nav-links button{flex:none;display:block;padding:12px 15px;border:1px solid transparent;background:transparent;color:#fff;font-family:var(--heading);font-size:16px;font-weight:500;line-height:1.2;white-space:nowrap;cursor:pointer;transition:background .18s,color .18s}
.wine-style-nav .chapter-nav-links button:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.18)}
.wine-style-nav .chapter-nav-links button[aria-pressed="true"]{color:var(--gold);background:transparent;border-color:transparent;box-shadow:none;text-decoration:none}
.wine-style-nav .chapter-nav-links button:disabled{opacity:.4;cursor:not-allowed}
.wine-style-nav .chapter-nav-links button:focus-visible{outline:2px solid #fff;outline-offset:-2px}
.wine-archive-page .wine-archive-section,.wine-archive-page .wine-results{scroll-margin-top:calc(var(--chapter-header-height,83px) + var(--chapter-nav-height,84px) + 20px)}
@media(min-width:901px){
  .wine-archive-page .wine-filter-panel{top:calc(var(--chapter-header-height,83px) + var(--chapter-nav-height,84px) + 22px);max-height:calc(100vh - var(--chapter-header-height,83px) - var(--chapter-nav-height,84px) - 38px);max-height:calc(100dvh - var(--chapter-header-height,83px) - var(--chapter-nav-height,84px) - 38px)}
}
@media(max-width:1100px){.wine-style-nav .chapter-nav-links button{font-size:15px;padding:12px}}
@media(max-width:600px){.wine-style-nav .chapter-nav-links button{font-size:15px;padding:10px 12px}}
@media(prefers-reduced-motion:reduce){.wine-style-nav .chapter-nav-links button{transition:none}}

/* Archive purchase links use the winery rail's button appearance. */
.wine-style-nav .chapter-nav-links{flex:1}
.wine-style-actions{display:flex;flex:none;align-items:center;gap:8px;margin-left:auto}
.wine-style-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}
.wine-style-action:hover{background:rgba(255,255,255,.1);color:#fff;text-decoration:none}
.wine-style-action:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(max-width:1300px){
  .wine-style-nav .chapter-nav-inner{flex-wrap:wrap;row-gap:0;padding-top:10px;padding-bottom:10px}
  .wine-style-actions{width:100%;justify-content:flex-end;margin-top:4px}
}
@media(max-width:900px){
  .wine-style-nav .chapter-nav-inner{gap:0 14px}
}
@media(max-width:600px){
  .wine-style-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:0}
  .wine-style-action{white-space:normal;text-align:center}
}
