
/* Swiss Art Gallery · parcours éditoriaux · ivoire / beige / or */
.sag-paths{color:#322a22; background:#f7f3ea; padding:1.5rem 0 4rem; min-height:70vh}
.sag-paths-wrap{max-width:1160px; margin:0 auto; padding:0 1.2rem}
.sag-paths a{color:#73551a;text-decoration:none}
.sag-paths a:hover,.sag-paths a:focus-visible{text-decoration:underline;color:#523b12}
.sag-paths-crumb{font-size:.91rem;color:#766951;margin:1rem 0 1.5rem}
.sag-paths-hero{max-width:900px;padding:2rem 0 2.3rem}
.sag-paths-kicker{display:block;text-transform:uppercase;letter-spacing:.13em;font-size:.74rem;color:#8d692e;font-weight:700;margin-bottom:1.1rem}
.sag-paths-hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.05rem,4vw,3.4rem);line-height:1.14;letter-spacing:-.02em;margin:0 0 1.2rem;color:#372b19}
.sag-paths-hero p{font-size:clamp(1rem,1.8vw,1.18rem);line-height:1.85;margin:0;max-width:900px;color:#554b3e}
.sag-paths-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.3rem;align-items:stretch}
.sag-path-card,.sag-path-story{border:1px solid #ded3bc;background:#fffdf8;border-radius:9px;padding:1.6rem;box-shadow:0 4px 19px rgba(75,52,17,.055)}
.sag-path-card{display:flex;flex-direction:column}
.sag-path-card small,.sag-path-story small{color:#866426;letter-spacing:.06em;font-size:.76rem;font-weight:700}
.sag-path-card h2,.sag-path-story h3{font-family:Georgia,'Times New Roman',serif;font-size:1.32rem;line-height:1.34;color:#3b3020;margin:.85rem 0}
.sag-path-card h2 a,.sag-path-story h3 a{color:#3b3020}
.sag-path-card p,.sag-path-story p{color:#64594a;font-size:.95rem;line-height:1.7;margin:0 0 1.2rem}
.sag-path-card p{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}
.sag-path-cta{display:inline-block;font-weight:700;color:#806022!important;margin-top:auto;padding-top:.6rem;font-size:.93rem}
.sag-paths-main{max-width:1090px}
.sag-paths-section{margin:0 0 3rem}
.sag-paths-section h2{font-family:Georgia,'Times New Roman',serif;color:#6e511d;font-size:1.55rem;border-bottom:1px solid #dbccab;margin:0 0 1.3rem;padding-bottom:.65rem}
.sag-paths-story-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.15rem}
.sag-path-story h3{font-size:1.26rem}
.sag-path-story .sag-path-cta{margin-top:.1rem}
.sag-paths-pills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem}
.sag-paths-pills a{display:flex;flex-direction:column;gap:.4rem;border:1px solid #e1d5bd;background:#fffdf8;border-radius:7px;padding:1.05rem 1.15rem;min-width:0}
.sag-paths-pills strong{color:#503f25;font-size:.98rem;line-height:1.4}
.sag-paths-pills span{color:#856a40;font-size:.82rem;line-height:1.4}
.sag-paths-sources{padding-left:1.25rem;display:grid;gap:.7rem;color:#574935}
.sag-paths-sources a{overflow-wrap:anywhere;line-height:1.6}
.sag-paths-all{margin-top:1.4rem;font-weight:700}
@media(max-width:950px){.sag-paths-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){
 .sag-paths{padding-top:.4rem}
 .sag-paths-wrap{padding:0 1rem}
 .sag-paths-hero{padding:1.4rem 0 2rem}
 .sag-paths-grid,.sag-paths-story-grid,.sag-paths-pills{grid-template-columns:minmax(0,1fr);gap:.85rem}
 .sag-path-card,.sag-path-story{padding:1.35rem}
 .sag-paths-section{margin-bottom:2.25rem}
}

.sag-paths-analysis{background:#fffdf8;border:1px solid #e0d6c1;padding:1.6rem 1.85rem;border-radius:9px}
.sag-paths-analysis p{font-size:1.03rem;line-height:1.86;max-width:960px;margin:0 0 1rem;color:#514737}
.sag-paths-analysis p:last-child{margin-bottom:0}
@media(max-width:620px){.sag-paths-analysis{padding:1.25rem}.sag-paths-analysis p{font-size:1rem;line-height:1.75}}


/* 2026-11-14 · Recherche éditoriale progressive, 125 liens conservés pour les robots. */
.sag-paths-filters{background:#fffdf8;border:1px solid #ddd0b5;border-radius:10px;padding:1.3rem 1.5rem;margin:0 0 1.7rem;box-shadow:0 5px 18px rgba(65,42,18,.04)}
.sag-paths-search{display:flex;flex-direction:column;gap:.45rem;margin-bottom:1rem}
.sag-paths-search label{font-size:.92rem;color:#584327;font-weight:700}
.sag-paths-search input{width:100%;border:1px solid #c9b795;border-radius:7px;color:#31291e;background:#fff;padding:.8rem .95rem;min-height:44px;font:inherit;font-size:1rem;box-sizing:border-box}
.sag-paths-search input:focus-visible{outline:2px solid #97702d;outline-offset:2px}
.sag-paths-filter-row{display:flex;flex-wrap:wrap;gap:.55rem;align-items:center;margin-bottom:1rem}
.sag-paths-filter-button{min-height:42px;padding:.55rem .9rem;border:1px solid #d8c6a7;border-radius:999px;background:#fbf6ec;color:#665032;cursor:pointer;font:600 .9rem/1.35 Inter,Arial,sans-serif}
.sag-paths-filter-button[aria-pressed="true"]{background:#745629;border-color:#745629;color:#fff}
.sag-paths-filter-button:focus-visible,.sag-paths-filter-summary button:focus-visible{outline:2px solid #97702d;outline-offset:3px}
.sag-paths-filter-summary{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;color:#65543f}
.sag-paths-filter-summary p{margin:0;font-size:.91rem}
.sag-paths-filter-summary button{padding:.45rem 0;border:0;background:transparent;color:#725120;text-decoration:underline;cursor:pointer;font:600 .87rem/1.4 Inter,Arial,sans-serif}
.sag-paths-no-results{padding:1.8rem;background:#fffdf8;border:1px solid #ddd0b5;border-radius:7px;color:#6c5534;text-align:center}
.sag-paths .sag-path-card[hidden],.sag-paths .sag-paths-no-results[hidden],.sag-paths .sag-paths-filters[hidden]{display:none!important}
@media(max-width:620px){.sag-paths-filters{padding:1rem}.sag-paths-filter-row{gap:.42rem}.sag-paths-filter-button{font-size:.84rem;padding:.55rem .7rem}}

/* SAG · Parcours d'art · art direction 2026-11-17 */
.sag-paths .sag-paths-hero h1 { color:#795a2b; }
@media (min-width:1200px) {
  .sag-paths .sag-paths-wrap {
    box-sizing:border-box;
    width:min(92%,1640px);
    max-width:1640px;
  }
  .sag-paths .sag-paths-grid {
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:clamp(16px,1.45vw,23px);
  }
  .sag-paths .sag-path-card {
    padding:clamp(1.15rem,1.3vw,1.6rem);
  }
}


/* SwissArtGallery · Parcours · navigation progressive (liens rendus côté serveur). */
.sag-paths .sag-paths-more[hidden],
.sag-paths .sag-paths-more-button[hidden],
.sag-paths .sag-paths-more-all[hidden] { display:none !important; }
.sag-paths .sag-path-card { scroll-margin-top:clamp(80px,8vw,112px); }
.sag-paths .sag-paths-more {
  display:grid;
  justify-items:center;
  gap:.85rem;
  margin:clamp(22px,3vw,40px) 0 clamp(28px,4vw,52px);
  padding:clamp(18px,2vw,26px);
  border:1px solid #dfd2ba;
  border-radius:10px;
  background:#fffdf8;
  box-shadow:0 5px 20px rgba(71,49,19,.045);
}
.sag-paths-more-status { margin:0; color:#675337; font-size:.9rem; font-weight:600; text-align:center; }
.sag-paths-more-actions { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:.65rem 1.1rem; }
.sag-paths .sag-paths-more-button {
  min-height:44px;
  padding:.7rem 1.25rem;
  border:1px solid #795a2b;
  border-radius:7px;
  background:#795a2b;
  color:#fffdf8;
  font:700 .92rem/1.3 Inter,Arial,sans-serif;
  cursor:pointer;
}
.sag-paths .sag-paths-more-button:hover { background:#60451f; border-color:#60451f; }
.sag-paths .sag-paths-more-all {
  min-height:44px;
  border:0;
  background:transparent;
  color:#795a2b;
  font:650 .9rem/1.3 Inter,Arial,sans-serif;
  text-decoration:underline;
  text-underline-offset:3px;
  cursor:pointer;
}
.sag-paths .sag-paths-more :is(button:focus-visible) { outline:3px solid #a9823d; outline-offset:3px; }

/* Parcours : retour direct aux filtres après un lot de 40. */
.sag-paths .sag-paths-back-to-filters {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: .45rem .65rem;
  border-radius: 6px;
  color: #795a2b;
  font: 650 .9rem/1.3 Inter, Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sag-paths .sag-paths-back-to-filters:hover { background: #f3ebdc; color: #5e431e; }
.sag-paths #sagPathsSearch { scroll-margin-top: 120px; }
.sag-paths .sag-paths-back-to-filters:focus-visible { outline: 3px solid #a9823d; outline-offset: 3px; }


/* SwissArtGallery 17-11-2026 · Lisibilité des parcours et accès aux histoires. */
.sag-paths-crumb { display:flex; gap:.48rem; flex-wrap:wrap; align-items:center; line-height:1.55; }
.sag-paths-crumb [aria-current="page"] { color:#57462c; font-weight:650; }
.sag-paths-orientation { display:flex; justify-content:space-between; align-items:center; gap:1.5rem; padding:1.35rem 1.5rem; margin:0 0 1.6rem; border:1px solid #deceb1; border-radius:10px; background:linear-gradient(120deg,#fdfaf3,#efe6d5); }
.sag-paths-orientation div { max-width:840px; }
.sag-paths-orientation h2 { font-family:Georgia,serif; font-size:1.36rem; line-height:1.3; margin:0 0 .45rem; color:#58401d; }
.sag-paths-orientation p { color:#5c4f40; font-size:.96rem; line-height:1.65; margin:0; }
.sag-paths-orientation a,.sag-paths-discover a { flex:none; display:inline-flex; align-items:center; min-height:44px; padding:.7rem 1.08rem; border-radius:7px; border:1px solid #8c6c36; background:#78592c; color:#fffaf0!important; font-weight:700; line-height:1.35; text-decoration:none; }
.sag-paths-orientation a:hover,.sag-paths-discover a:hover { background:#60441e; text-decoration:none; color:#fff!important; }
.sag-path-card-meta { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:.4rem .7rem; }
.sag-path-card-kind { display:inline-flex; align-items:center; border:1px solid #e4d5b9; border-radius:999px; padding:.3rem .55rem; background:#faf2e3; color:#674a22; font-size:.74rem; line-height:1.2; font-weight:650; }
.sag-paths-discover { display:flex; justify-content:space-between; align-items:center; gap:1rem; margin:1.8rem 0 2rem; padding:1.2rem 1.4rem; background:#fffdf8; border:1px solid #d8c7a8; border-radius:10px; }
.sag-paths-discover p { color:#51432f; font-size:1rem; font-weight:650; margin:0; }
@media(max-width:800px){ .sag-paths-orientation,.sag-paths-discover{flex-direction:column;align-items:stretch;gap:1rem}.sag-paths-orientation a,.sag-paths-discover a{justify-content:center;flex:auto;text-align:center} }
@media(max-width:620px){ .sag-paths-orientation{padding:1.1rem}.sag-paths-discover{padding:1.1rem}.sag-path-card-kind{font-size:.69rem} }


/* SAG-PARCOURS-UNIFIED-HERO-20261117 · même titre doré que Histoires et Répertoire */
.sag-paths .sag-paths-hero--hub {
  box-sizing:border-box;
  width:100%;
  max-width:1280px;
  margin:0 auto 42px;
  text-align:center;
}
.sag-paths .sag-paths-hero--hub .sag-paths-kicker {
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.22em;
  color:#795a2b;
  margin:0 auto 18px;
}
.sag-paths .sag-paths-hero--hub h1.sag-luxe-title {
  margin:10px auto 14px!important;
}
.sag-paths .sag-paths-hero--hub > p {
  max-width:1040px;
  margin:0 auto;
  text-align:center;
  font-size:clamp(1rem,1.8vw,1.2rem);
  line-height:1.7;
  color:#665b4e;
}
@media (max-width:620px) {
  .sag-paths .sag-paths-hero--hub { margin-bottom:28px; }
  .sag-paths .sag-paths-hero--hub .sag-paths-kicker { letter-spacing:.13em; }
}


/* Swiss Art Gallery · Parcours illustrés · 2026-11-17 : miniatures vérifiées et crédits accessibles */
.sag-paths .sag-path-card-media{
  display:block;margin:0 0 1.15rem;overflow:hidden;border:1px solid #e3d7c1;
  background:#f3ecdf;border-radius:8px;
}
.sag-paths .sag-path-card-image{
  position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;
  width:100%;aspect-ratio:16/10;min-height:0;background:linear-gradient(135deg,#eee7db,#faf6ee);
  color:#674b25;text-decoration:none;
}
.sag-paths .sag-path-card-image img{
  display:block;width:100%;height:100%;object-fit:contain;object-position:center;
  transition:transform .28s ease;transform-origin:center center;
}
.sag-paths .sag-path-card-image:hover img,
.sag-paths .sag-path-card-image:focus-visible img{transform:scale(1.035);}
.sag-paths .sag-path-card-image-kind{
  position:absolute;left:.55rem;top:.55rem;max-width:calc(100% - 1.1rem);
  font:700 .67rem/1.35 Inter,Arial,sans-serif;letter-spacing:.015em;
  padding:.35rem .55rem;border-radius:99px;background:rgba(255,253,247,.96);
  border:1px solid rgba(172,144,102,.35);color:#634b2e;text-align:left;
}
.sag-paths .sag-path-card-credit{
  background:#fffdf9;border-top:1px solid #e5daca;color:#635747;
  font:500 .71rem/1.45 Inter,Arial,sans-serif;padding:0 .65rem;
}
.sag-paths .sag-path-card-credit summary{
  cursor:pointer;min-height:30px;display:flex;align-items:center;gap:.35rem;
  color:#795b31;font-weight:650;list-style:inside;outline-offset:3px;
}
.sag-paths .sag-path-card-credit summary::before{content:'ⓘ';font-size:.9rem;}
.sag-paths .sag-path-card-credit-details{
  display:flex;gap:.45rem .8rem;flex-wrap:wrap;align-items:baseline;
  padding:.15rem .15rem .85rem;line-height:1.55;
}
.sag-paths .sag-path-card-credit-details span:first-child{flex-basis:100%;}
.sag-paths .sag-path-card-credit-details a{
  color:#72501b;text-decoration:underline;text-underline-offset:2px;
}
.sag-paths .sag-path-card-credit-details small{
  display:block;flex-basis:100%;font-size:.68rem;color:#776b5c;
}
.sag-paths .sag-path-card{
  min-width:0;transition:box-shadow .2s ease,border-color .2s ease;
}
.sag-paths .sag-path-card:hover{
  border-color:#cab286;box-shadow:0 12px 32px rgba(75,52,17,.10);
}
.sag-paths .sag-path-card h2{overflow-wrap:anywhere}
.sag-paths .sag-path-card-image:focus-visible{
  outline:3px solid #98712b;outline-offset:-3px;
}
@media(max-width:620px){
 .sag-paths .sag-path-card-media{margin-bottom:1rem}
 .sag-paths .sag-path-card-image-kind{font-size:.66rem}
}
@media(prefers-reduced-motion:reduce){
 .sag-paths .sag-path-card-image img,.sag-paths .sag-path-card{transition:none!important}
 .sag-paths .sag-path-card-image:hover img{transform:none}
}


/* Swiss Art Gallery · Parcours individuels : illustration avec source et mise en valeur, 17-11-2026 */
.sag-paths .sag-paths-cover{
  width:min(100%,1050px);
  margin:0 0 clamp(1.8rem,4vw,3rem);
  border:1px solid #d9c8a9;
  border-radius:12px;
  background:#fffdf8;
  box-shadow:0 8px 26px rgba(73,51,20,.075);
  overflow:hidden;
}
.sag-paths .sag-paths-cover-frame{
  position:relative;display:flex;align-items:center;justify-content:center;
  width:100%;height:clamp(255px,38vw,470px);
  background:linear-gradient(120deg,#eee8dd,#f7f2e9);overflow:hidden;
}
.sag-paths .sag-paths-cover-frame img{
  display:block;max-width:100%;max-height:100%;width:auto;height:auto;
  object-fit:contain;object-position:center center;
}
.sag-paths .sag-paths-cover-badge{
  position:absolute;left:clamp(.65rem,2vw,1rem);top:clamp(.65rem,2vw,1rem);
  padding:.48rem .72rem;border:1px solid #d9c8a9;border-radius:99px;
  background:rgba(255,253,248,.96);color:#73552b;
  font:700 .78rem/1.4 Inter,Arial,sans-serif;
}
.sag-paths .sag-paths-cover-caption{
  display:flex;align-items:center;justify-content:space-between;gap:1.2rem;
  padding:clamp(1rem,2vw,1.45rem);color:#635340;
}
.sag-paths .sag-paths-cover-caption>div{min-width:0;max-width:740px}
.sag-paths .sag-paths-cover-caption strong{
  display:block;color:#604922;font-size:.78rem;margin-bottom:.38rem;
}
.sag-paths .sag-paths-cover-caption p{
  font:500 .81rem/1.6 Inter,Arial,sans-serif;color:#655746;margin:0;
  overflow-wrap:anywhere;
}
.sag-paths .sag-paths-cover-rights{
  margin-top:.45rem;color:#745e3d;font:.75rem/1.6 Inter,Arial,sans-serif;
}
.sag-paths .sag-paths-cover-rights a{
  text-decoration:underline;text-underline-offset:2px;color:#795920;
}
.sag-paths .sag-paths-cover-link{
  display:inline-flex;align-items:center;justify-content:center;
  flex:none;min-height:44px;padding:.65rem 1rem;
  border:1px solid #846331;border-radius:6px;background:#755725;
  color:#fffaf0;font:700 .84rem/1.45 Inter,Arial,sans-serif;
  text-decoration:none;text-align:center;
}
.sag-paths .sag-paths-cover-link:hover{
  background:#5b401d;color:#fffaf0;text-decoration:none;
}
.sag-paths .sag-paths-cover-link:focus-visible{
  outline:3px solid #a6813c;outline-offset:3px;
}
@media(max-width:700px){
  .sag-paths .sag-paths-cover-frame{height:clamp(230px,64vw,380px);}
  .sag-paths .sag-paths-cover-caption{flex-direction:column;align-items:stretch;gap:.85rem}
  .sag-paths .sag-paths-cover-link{width:100%;box-sizing:border-box}
}


/* SwissArtGallery · 2026-11-17 : adapt exceptionally wide museum panoramas */
.sag-paths .sag-paths-cover-frame--panorama {
  height:auto;
  min-height:0;
  padding:clamp(18px,2vw,28px) 0;
}
.sag-paths .sag-paths-cover-frame--panorama img{
  display:block;
  width:100%;
  height:auto;
  max-width:100%;
  max-height:none;
  object-fit:contain;
}
@media(max-width:700px){
 .sag-paths .sag-paths-cover-frame--panorama{height:auto;padding:14px 0;}
}


/* SwissArtGallery – Parcours : cartes de découvertes connexes, avec sources accessibles (2026-11-17) */
.sag-paths .sag-paths-related-grid {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;align-items:stretch;
}
.sag-paths .sag-path-related-card {
  display:flex;flex-direction:column;min-width:0;
  background:#fffdf8;border:1px solid #dfd3bc;border-radius:10px;
  overflow:hidden;box-shadow:0 5px 20px rgba(80,56,27,.055);
  transition:border-color .2s ease,box-shadow .2s ease;
}
.sag-paths .sag-path-related-card:hover {
  border-color:#cbb68f;box-shadow:0 12px 28px rgba(75,52,17,.10);
}
.sag-paths .sag-path-related-figure {margin:0;background:#f5eee3;}
.sag-paths .sag-path-related-photo {
  display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:16/10;
  overflow:hidden;background:linear-gradient(130deg,#eee7da,#faf7f0);
}
.sag-paths .sag-path-related-photo img {
  display:block;width:100%;height:100%;object-fit:contain;object-position:center;
  transition:transform .25s ease;
}
.sag-paths .sag-path-related-photo:hover img {transform:scale(1.035);}
.sag-paths .sag-path-related-credit {
  background:#fffdf9;border-top:1px solid #e3d7c2;
  color:#6b5840;font:600 .73rem/1.4 Inter,Arial,sans-serif;
}
.sag-paths .sag-path-related-credit summary {
  display:flex;align-items:center;gap:.35rem;padding:.35rem .75rem;
  min-height:34px;cursor:pointer;outline-offset:2px;color:#75582a;
}
.sag-paths .sag-path-related-credit summary::before {content:'ⓘ';font-size:.9rem;}
.sag-paths .sag-path-related-credit details>div {
  display:flex;align-items:baseline;flex-wrap:wrap;gap:.25rem .6rem;
  padding:.2rem .8rem .8rem;font-weight:400;overflow-wrap:anywhere;
}
.sag-paths .sag-path-related-credit details>div span {flex-basis:100%;}
.sag-paths .sag-path-related-credit a {
  text-decoration:underline;text-underline-offset:2px;color:#6f5224;
}
.sag-paths .sag-path-related-info {
  display:flex;flex-direction:column;align-items:stretch;gap:.95rem;
  padding:1rem 1.1rem 1.15rem;flex:1;
}
.sag-paths .sag-path-related-info h3 {
  font:700 clamp(1.04rem,1.6vw,1.2rem)/1.35 Georgia,'Times New Roman',serif;
  margin:0;overflow-wrap:anywhere;color:#443322;
}
.sag-paths .sag-path-related-info h3 a {color:#443322;}
.sag-paths .sag-path-related-cta {
  font:700 .87rem/1.45 Inter,Arial,sans-serif;color:#7a571e!important;
  display:inline-flex;min-height:35px;align-items:center;margin-top:auto;
}
.sag-paths .sag-path-related-photo:focus-visible,
.sag-paths .sag-path-related-cta:focus-visible,
.sag-paths .sag-path-related-info h3 a:focus-visible {
  outline:3px solid #9d7636;outline-offset:3px;
}
@media(max-width:950px){
  .sag-paths .sag-paths-related-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:620px){
  .sag-paths .sag-paths-related-grid {grid-template-columns:1fr;gap:.85rem;}
  .sag-paths .sag-path-related-info {padding:1rem;}
}
@media(prefers-reduced-motion:reduce){
  .sag-paths .sag-path-related-card,.sag-paths .sag-path-related-photo img{transition:none;}
  .sag-paths .sag-path-related-photo:hover img{transform:none;}
}

/* Direct navigation between the sections of an individual art pathway. */
.sag-paths-outline {
    max-width: 1090px;
    margin: 0 0 1.25rem;
    border-block: 1px solid #d8c9ad;
    color: #503c22;
}
.sag-paths-outline summary {
    padding: .7rem .25rem;
    font-weight: 700;
    cursor: pointer;
}
.sag-paths-outline ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.2rem;
    margin: 0;
    padding: 0 .25rem .5rem;
    list-style: none;
}
.sag-paths-outline li { max-width: 100%; }
.sag-paths-outline a, .sag-paths-end-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    overflow-wrap: anywhere;
}
.sag-paths-end-links { display: flex; flex-wrap: wrap; gap: .25rem 1.2rem; }
.sag-paths-outline summary, .sag-paths-section > h2[id] { scroll-margin-block-start: 104px; }
.sag-paths-outline :is(summary,a):focus-visible, .sag-paths-end-links a:focus-visible,
.sag-paths-section > h2[id]:focus-visible { outline: 2px solid #76541e; outline-offset: 3px; }
