/* Use colour and focus rings for actions, leaving the editorial rules to separate content. */
:is(a[href], button, summary, [role="button"], [role="link"]),
:is(a[href], button, summary, [role="button"], [role="link"]) :is(span, strong, em, b, i, small, u, h2, h3, h4, p) {
  text-decoration-line: none !important;
}

:is(.ba-links a, .ec-link, .sa-home-line, .bc-inline-link, .bn-series-product-link,
  .bc-launch-link, .se-link, .sa-foot-intro > a, .he-link, .hs-text, .hs-response a,
  .hs-small a, .hs-product-team, .hs-shop-foot a, .hs-set-alt a, .bs-intro > div:last-child a,
  .bs-file-info button, .bs-next-links a, .bs-control-footer button, .td-jump,
  .cs-studio-link, .se-back, .lb-cover nav a, .ho-resources a,
  .ec-layer-controls button, .bc-core-product .bc-variant-option) {
  border-bottom-color: transparent !important;
}

#header .sa-primary a::after, .cs-mast nav a::after, .pg-header nav a::after {
  content: none !important;
}

.ec-nav a[aria-current], .ec-layer-controls button, .pr17-sheets button {
  box-shadow: none !important;
}
:is(.hp-subnav a, .dr17-film button, .ho-toolbar button, .td-selector button,
  .bc-category-nav a, .bc-screen-options label, .se-glass-menu button) {
  border-bottom-color: transparent !important;
}
:is(.hp-subnav, .ec-nav, .pr17-sheets, .ec-layer-controls, .ho-toolbar, .td-selector,
  .dr17-film, .bc-category-nav, .se-glass-menu) :is([aria-current="page"], [aria-pressed="true"]),
.bc-screen-options label:has(input:checked),
.bc-core-product .bc-variant-option.is-active,
:is(.fh-choices, .he-filters, .sw-categories, .bn-cross, .pr17-select, .td-view-options)
  :is([aria-pressed="true"], [aria-current]:not([aria-current="false"])) {
  font-weight: 800 !important;
}
:is(#header .sa-primary, .cs-mast nav, .pg-header nav) a[aria-current="page"] {
  color: #75475e !important;
}
:is(a[href], button, summary, [role="button"], [role="link"]):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
@media (hover: hover) {
  :is(.sw-all, .hs-text, .he-link, .ec-link, .fh-link, .cs-link, .hp-inline):hover {
    opacity: .76;
  }
}
