/* Sub pages in the Swiss design (2026-11-12). An add-on to swiss.css: it changes nothing in that file.
   The page content carries its own inline styles (from the design boards); this file holds only what
   inline styles cannot do: the gap above the closing band, the summary marker, and the phone rules. */
.swp .sw-header{background:var(--sw-bg)}                 /* solid bar, like the contact page */
.swp-end{margin-top:clamp(64px,7vw,104px)}               /* black space above the "Work with us" band */
.swp summary::-webkit-details-marker{display:none}
.swp summary:focus-visible{outline:2px solid var(--sw-gold); outline-offset:3px}
.swp main{display:block; overflow-wrap:break-word}
.swp table a{overflow-wrap:anywhere}
/* below 840 px the photo / text bands stack: the photo gets a phone height, the side triangle goes away */
@media (max-width:839px){
  .swp-photo{min-height:min(110vw,560px)!important}
  .swp-tri{display:none!important}
  .swp-rail{flex-basis:100%!important}
}
@media (max-width:599px){
  /* rows of cells (glance, values, jump rows) stack: the side line becomes a top line, no indent */
  .swp-cells > [style*="border-left"]{border-left:0!important; padding-left:0!important; border-top:1px solid var(--sw-line)}
  .swp-404 .swp-ways a > span:nth-child(3){display:none}   /* error page: on a phone only the page names */
  /* jump rows (Resources): a clean 2 x 3 grid */
  .swp-jump{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .swp-jump > li{border-left:0!important; padding-left:0!important}
  .swp-jump > li:nth-child(even){border-left:1px solid var(--sw-line)!important; padding-left:16px!important}
  .swp-jump > li:nth-child(n+3){border-top:1px solid var(--sw-line)}
}
