/* =====================================================================================================
   N46p (13-11-2026), Nick. Last sheet of the theme (after n46m.css). Tokens of tokens.css only.
   1. The partner band: banners the script hides, the band on the hub and page columns, square banners.
   2. The language switch (ruling SY8): the active language is button yellow with dark text, the others grey.
   ===================================================================================================== */

/* ----- 1. The partner band ----- */
/* A banner the page picked not to show this time. The selector is stronger than any display set on .sigad. */
.gpcf-n46p .sigband > .sigad[hidden]{ display:none; }
/* On the hubs and the pages the band sits under the article, in the main column, like the band at the foot of an article. */
.sigmain > .gpcf-adpanel{ margin-top:var(--space-13); }
@media (max-width:768px){
  .sigmain > .gpcf-adpanel{ margin-top:var(--space-9); }
}
/* Equal cells, every banner at the width of its cell, whole and uncropped: a square banner (300 x 300, The Yacht Sales Co)
   prints at the same width as a 600 x 500 neighbour and is simply taller. No fixed ratio, no crop, no stretch;
   the cells line up at the top. (sidebars.css already sets width:100% and height:auto on the image.) */
.gpcf-n46p .sigband{ align-items:start; }
.gpcf-n46p .sigband > .sigad{ min-width:0; }
.gpcf-n46p .sigband > .sigad img{ display:block; width:100%; height:auto; object-fit:fill; }

/* ----- 2. The language switch: active = button yellow, dark text; the others stay grey ----- */
.lang a[aria-current],
.topbar .lang a[aria-current],
.gpcf-mobile-nav .lang a[aria-current],
body .gpcf-mobile-nav.dir-dark .lang a[aria-current]{
  background:var(--os-cta);
  color:var(--os-cta-ink);
  box-shadow:none;
}
.topbar .lang a:not([aria-current]),
.gpcf-mobile-nav .lang a:not([aria-current]),
body .gpcf-mobile-nav.dir-dark .lang a:not([aria-current]){
  background:none;
  color:var(--on-dark-muted);
}
.topbar .lang a:not([aria-current]):hover,
.gpcf-mobile-nav .lang a:not([aria-current]):hover{ color:var(--on-dark); }
.topbar .lang a[aria-current]:hover,
.gpcf-mobile-nav .lang a[aria-current]:hover,
body .gpcf-mobile-nav.dir-dark .lang a[aria-current]:active{ background:var(--os-cta-hover); color:var(--os-cta-ink); }
.lang a[aria-current]:focus-visible,
body .gpcf-mobile-nav.dir-dark .lang a[aria-current]:focus-visible{ outline:3px solid var(--on-dark); outline-offset:3px; }
