/* Shared site header, mobile navigation, footer and community dock. */

/* The legacy theme keeps its own layout, type scale and resets outside the shell. */
.lfn-shell-legacy :where(.lfn-shell-header, .site-footer, .community-dock) {
  --color-deep-blue: #000773;
  --color-action-blue: #0041db;
  --color-light-blue: #68c9ff;
  --color-white: #fff;
  --color-graphite: #21232b;
  --font-size-min: 14px;
  --font-label-min: 12px;
  --font-body: Inter, sans-serif;
  --font-heading: Bounded, sans-serif;
  --container-width: 1200px;
  --space-4: 16px;
  --space-6: 24px;
  --radius-pill: 100px;
  --motion-feedback: 160ms;
  --motion-state: 360ms;
  --motion-ease: cubic-bezier(.16, 1, .3, 1);

  @media (max-width:1199.98px) {
    --type-scale: .875;
    --container-width: 768px;
  }
  @media (max-width:767.98px) {
    --container-width: 540px;
  }
  @media (max-width:539.98px) {
    --container-width: 480px;
  }
}

.lfn-shell-legacy .lfn-shell-header {
  position: relative;
  margin-bottom: calc(-1 * var(--p-section));
}

.lfn-shell-legacy :where(.site-header, .site-footer, .mobile-navigation, .skip-link) {
  font: 300 max(var(--font-size-min), calc(16px * var(--type-scale, 1)))/1.5 var(--font-body);
}

.lfn-shell-legacy :where(.site-header.container, .site-footer > .container) {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 15px;
}

.lfn-shell-legacy :where(.site-header, .site-footer, .mobile-navigation, .community-dock) :where(a),
.lfn-shell-legacy .skip-link {
  text-underline-offset: 3px;
}

.lfn-shell-legacy :where(.site-header, .site-footer, .mobile-navigation, .community-dock) :where(a, button):focus-visible,
.lfn-shell-legacy .skip-link:focus-visible {
  outline: 3px solid var(--color-action-blue);
  outline-offset: 5px;
}

.lfn-shell-legacy :where(.site-header, .site-footer, .mobile-navigation, .community-dock) :where(a, button) {
  -webkit-tap-highlight-color: transparent;
  transition: color var(--motion-feedback), background-color var(--motion-feedback), border-color var(--motion-feedback), box-shadow var(--motion-state), opacity var(--motion-feedback), text-decoration-color var(--motion-feedback);
}

.lfn-shell-legacy :where(.site-header.u-flex, .site-header .u-flex) {
  display: flex;
}

.lfn-shell-legacy :where(.site-header .u-grid, .site-footer .u-grid) {
  display: grid;
}

.lfn-shell-legacy :where(.site-header.u-items-center, .site-header .u-items-center) {
  align-items: center;
}

.lfn-shell-legacy :where(.site-header .u-block) { display: block; }
.lfn-shell-legacy :where(.site-header .u-flex-none) { flex: none; }
.lfn-shell-legacy :where(.site-header .u-flex-1) { flex: 1; }
.lfn-shell-legacy :where(.site-header .u-gap-4) { gap: var(--space-4); }
.lfn-shell-legacy :where(.site-header .u-gap-6) { gap: var(--space-6); }

.lfn-shell-legacy :where(.site-header, .mobile-navigation, .community-dock) .icon {
  flex: none;
  display: block;
}

.lfn-shell-legacy :where(.site-header, .community-dock) .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.lfn-shell-legacy .site-header__toggle {
  font: inherit;
  cursor: pointer;
}

.lfn-shell-legacy .site-header__icon [data-cart-count] {
  inset-inline-end: auto;
  height: auto;
}

@media (max-width:767.98px) {
  html:has(.lfn-shell-legacy .mobile-navigation:not([hidden])) {
    scroll-padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .lfn-shell-legacy:has(.mobile-navigation:not([hidden])) .site-footer {
    padding-bottom: max(108px, calc(72px + env(safe-area-inset-bottom, 0px)));
    @media (max-width:539.98px) {
      padding-bottom: max(80px, calc(72px + env(safe-area-inset-bottom, 0px)));
    }
  }
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  transform: translateY(-200%);
  background: white;
  color: var(--color-deep-blue);
  padding: 12px;
  z-index: 10;
}

.skip-link:focus {
  transform: none;
}

.site-header {
  min-height: 90px;
  gap: 48px;
  color: white;
  @media (min-width:1200px) and (max-width:1439px) {
    gap: 28px;
  }
  @media (max-width:1199.98px) {
    gap: 12px;
    position: relative;
  }
  @media (max-width:767.98px) {
    min-height: 80px;
  }

  @media (max-width:539.98px) {
    gap: 2px;
  }
  border-bottom: 0;
}

.site-header__logo {
  line-height: 0;
}

.site-header > .site-header__nav {
  min-width: 0;
  white-space: nowrap;
  @media (min-width:1200px) and (max-width:1439px) {
    gap: 12px;
  }
  @media (max-width:1199.98px) {
    display: none;
    position: absolute;
    top: calc(100% - 4px);
    left: 15px;
    right: 15px;
    z-index: 5;
    white-space: normal;
    max-height: max(0px, calc(100dvh - var(--site-menu-top, 100px) - 12px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 14px 20px 20px;
    background: #fff;
    color: var(--color-deep-blue);
    box-shadow: 0 16px 40px rgb(0 7 50 / .2);
  }
}

.site-header__menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px var(--space-4);
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;

  @media (min-width:1200px) and (max-width:1439px) {
    column-gap: 12px;
  }
  @media (max-width:1199.98px) {
    display: block;
  }

  & li {
    position: relative;
    min-width: 0;
  }

  & > li > a {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  & .current-menu-item > a {
    font-weight: 400;
    text-decoration-color: currentColor;
  }

  & .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-inline-start: 7px;
    vertical-align: .25em;
    border: solid currentColor;
    border-width: 0 1px 1px 0;
    rotate: 45deg;
  }

  & .sub-menu {
    margin: 0;
    padding-inline-start: 14px;
    list-style: none;
  }

  & .sub-menu a {
    display: block;
    padding: 8px 6px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  @media (min-width:1200px) {
    & > li > .sub-menu {
      --submenu-offset: 15px;
      display: none;
      position: absolute;
      z-index: 6;
      inset-block-start: calc(100% + var(--submenu-offset));
      inset-inline-start: -12px;
      width: max-content;
      min-width: 190px;
      max-width: 300px;
      padding: 5px 8px;
      background: var(--color-white);
      color: var(--color-deep-blue);
      box-shadow: 0 12px 32px rgb(0 7 50 / .18);
    }

    /* Keep the submenu hovered while the pointer crosses the gap. */
    & > li > .sub-menu::before {
      content: '';
      position: absolute;
      inset-inline: 0;
      inset-block-end: 100%;
      block-size: var(--submenu-offset);
    }

    & .sub-menu a {
      padding-block: 5px;
    }

    & > li:nth-last-child(-n+2) > .sub-menu {
      inset-inline-start: auto;
      inset-inline-end: -12px;
    }

    & > li:is(:hover, :focus-within) > .sub-menu {
      display: block;
    }

    & .sub-menu .menu-item-has-children > a::after {
      content: none;
    }
  }
}

.site-header__nav a {
  font-size: max(var(--font-size-min), calc(14px * var(--type-scale, 1)));
  text-decoration: none;
  @media (max-width:1199.98px) {
    padding: 10px;
  }
}

.site-header__nav a:hover {
  text-decoration: underline;
}

.site-header__apps {
  gap: 6px;
  background: white;
  color: var(--color-deep-blue);
  border-radius: var(--radius-pill);
  padding: 8px 12px;
  font-size: max(var(--font-size-min), calc(14px * var(--type-scale, 1)));
  line-height: max(1.4em, calc(24px * var(--type-scale, 1)));
  white-space: nowrap;
  text-decoration: none;
  @media (min-width:1200px) and (max-width:1439px) {
    font-size: max(var(--font-size-min), calc(12px * var(--type-scale, 1)));
    padding-inline: 10px;
  }

  @media (max-width:1199.98px) {
    font-size: max(var(--font-size-min), calc(12px * var(--type-scale, 1)));
  }
}

.site-header__icon {
  position: relative;
  place-items: center;
  min-width: 24px;
  min-height: 44px;
}

.site-header__icon :is([data-account-order-count], [data-cart-count]) {
  position: absolute;
  inset-block-start: 4px;
  inset-inline-start: calc(50% + 2px);
  display: grid;
  place-items: center;
  min-width: 16px;
  min-height: 16px;
  padding-inline: 4px;
  border-radius: var(--radius-pill);
  background: var(--color-light-blue);
  color: var(--color-deep-blue);
  font-size: var(--font-label-min);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;

  .site-header--on-light & {
    background: var(--color-action-blue);
    color: var(--color-white);
  }

  &:is(:empty, [data-account-order-count="0"], [data-cart-count="0"]) {
    display: none;
  }
}

.site-header__toggle {
  display: none;
  @media (max-width:1199.98px) {
    display: block;
    color: white;
    margin-left: 0;
    min-height: 44px;
    order: 3;
    flex: none;
  }
  @media (max-width:539.98px) {
    font-size: max(var(--font-size-min), calc(13px * var(--type-scale, 1)));
    padding-inline: 12px;
  }
  @media (max-width:1199.98px) {
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    border-radius: 50%;
    background: transparent;
  }
}

.site-header__mobile-actions {
  display: none;
  @media (max-width:1199.98px) {
    display: flex;
    margin-block-end: 12px;
  }
}

.site-header > .site-header__actions {
  @media (min-width:1200px) and (max-width:1439px) {
    gap: 16px;
  }
  @media (max-width:1199.98px) {
    order: 2;
    margin-left: auto;
    gap: 4px;
  }
  @media (max-width:539.98px) {
    gap: 0;
  }
}

.site-header__logo img {
  @media (min-width:1200px) and (max-width:1439px) {
    width: 153px;
    height: auto;
  }
  @media (max-width:767.98px) {
    width: 145px;
    height: auto;
  }

  @media (max-width:539.98px) {
    width: clamp(105px, 31vw, 128px);
  }
}

/* Compact navigation keeps account and cart in the header. */

.site-header__actions .site-header__icon {
  @media (max-width:1199.98px) {
    display: grid;
    min-width: 44px;
    min-height: 44px;
  }
}

.site-header__apps .icon {
  @media (max-width:1199.98px) {
    width: 20px;
    height: 20px;
  }
}

.site-header__nav.site-header__nav--open {
  @media (max-width:1199.98px) {
    display: block;
  }

  @media (max-width:1199.98px) and (prefers-reduced-motion:no-preference) {
    animation: disclosure-enter 360ms var(--motion-ease) both;
  }
}

.site-header__submenu-toggle {
  display: none;
}

@media (max-width:1199.98px) {
  .site-header__menu li:has(> .site-header__submenu-toggle) > a {
    padding-inline-end: 48px;
    min-height: 44px;

    &::after { content: none; }
  }

  .site-header__submenu-toggle {
    position: absolute;
    inset: 0 0 auto auto;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;

    &::before {
      content: '';
      width: 8px;
      height: 8px;
      border: solid currentColor;
      border-width: 0 1px 1px 0;
      rotate: 45deg;
    }
    &[aria-expanded="true"]::before { rotate: 225deg; }
    &[aria-expanded="false"] + .sub-menu { display: none; }
  }

  body:has(.site-header__nav--open) :is(.mobile-navigation, .community-dock) {
    visibility: hidden;
  }
}

.site-header__menu > li > a {
  @media (max-width:1199.98px) {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 2px;
    border-bottom: 1px solid #e8ebf2;
    font-size: max(var(--font-size-min), calc(16px * var(--type-scale, 1)));
    line-height: 1.35;
    white-space: normal;
  }
}

.site-header__nav .site-header__mobile-apps {
  @media (max-width:1199.98px) {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    min-height: 90px;
    overflow: hidden;
    padding: 16px 82px 16px 18px;
    border-radius: 14px;
    background: var(--color-action-blue);
    color: white;
    font-size: max(var(--font-size-min), calc(15px * var(--type-scale, 1)));
    line-height: 1.3;
    text-decoration: none;
  }
}

.site-header__mobile-apps img {
  @media (max-width:1199.98px) {
    position: absolute;
    right: 6px;
    bottom: -20px;
    width: 72px;
    height: 100px;
    object-fit: contain;
    object-position: bottom;
  }
}

.site-header__actions .site-header__apps,
  .site-header__actions .site-header__icon:first-of-type {
  @media (max-width:767.98px) {
    display: none;
  }
}

.site-header__actions .site-header__icon:last-child {
  @media (max-width:539.98px) {
    display: grid;
  }
}

/* Header layering is independent of page identity. */
.site-header--raised {
  position: relative;
  z-index: 2;
}

.site-header--overlay {
  z-index: 10;
}

/* Compact header controls keep their existing aria-expanded behavior. */
.site-header__toggle-name {
  padding: 0;
}

.site-header__toggle .site-header__toggle-icon,
.site-header__toggle .site-header__toggle-close {
  display: none;
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-name.site-header__toggle-open {
  display: none;
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-name.site-header__toggle-close {
  display: block;
}

.site-header__toggle-label {
  @media (max-width:1199.98px) {
    display: none;
  }
}

.site-header__toggle .site-header__toggle-icon.site-header__toggle-open {
  @media (max-width:1199.98px) {
    display: block;
  }
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-icon.site-header__toggle-open {
  @media (max-width:1199.98px) {
    display: none;
  }
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-icon.site-header__toggle-close {
  @media (max-width:1199.98px) {
    display: block;
  }
}

.site-header--on-light {
  color: var(--color-graphite);
}

.site-header--on-light .site-header__toggle {
  color: var(--color-graphite);
}

.site-header--on-light .site-header__logo img {
  filter: brightness(0) saturate(100%) invert(8%) sepia(100%) saturate(3894%) hue-rotate(238deg) brightness(70%) contrast(120%);
}

.site-header--on-light .site-header__icon .icon {
  filter: brightness(0);
}

.site-header--on-light .site-header__apps {
  background: var(--color-deep-blue);
  color: white;
}

.site-header--on-light .site-header__apps .icon {
  filter: brightness(0) invert(1);
}

/* Phone shortcuts complement the existing header menu. */
.mobile-navigation {
  display: none;
  @media (max-width:767.98px) {
    position: fixed;
    z-index: 40;
    left: max(4px, env(safe-area-inset-left, 0px));
    right: max(4px, env(safe-area-inset-right, 0px));
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    max-width: 430px;
    margin-inline: auto;
    padding: 4px 12px;
    border-radius: 32px;
    background: rgb(255 255 255 / .88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: var(--color-graphite);
    box-shadow: 0 6px 32px rgb(0 7 50 / .2);
  }
}

.mobile-navigation__link {
  @media (max-width:767.98px) {
    min-width: 0;
    min-height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 2px 0;
    border-radius: 24px;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: -.035em;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    position: relative;
    transition: color var(--motion-feedback);
  }

  @media (max-width:359.98px) {
    font-size: 11px;
  }
}

.mobile-navigation__link .icon {
  @media (max-width:767.98px) {
    width: 30px;
    height: 30px;
    padding: 4px;
  }
}

.mobile-navigation__link span {
  @media (max-width:767.98px) {
    color: var(--color-graphite);
    transition: color var(--motion-feedback);
  }
}

.mobile-navigation__link:is(:hover, :focus-visible, [aria-current]) {
  @media (max-width:767.98px) {
    color: var(--color-action-blue);
  }
}

.mobile-navigation__link:is(:hover, :focus-visible, [aria-current]) span {
  @media (max-width:767.98px) {
    color: inherit;
  }
}

.mobile-navigation__link:focus-visible {
  @media (max-width:767.98px) {
    outline-offset: -2px;
  }
}

body:has(.contact-dialog[open]) .mobile-navigation {
  @media (max-width:767.98px) {
    visibility: hidden;
  }
}

.site-footer {
  position: relative;
  isolation: isolate;
  min-height: 375px;
  padding-block: 79px 63px;
  color: #747782;
  overflow: hidden;
  @media (max-width:767.98px) {
    padding-block: 56px 40px;
    padding-bottom: 108px;
  }
  @media (max-width:539.98px) {
    min-height: 0;
    padding-block: 36px 80px;
  }
}

.site-footer__top {
  grid-template-columns: 370px 1fr;
  gap: 30px;
  @media (max-width:1199.98px) {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  @media (max-width:539.98px) {
    gap: 24px;
  }
}

.site-footer__brand img {
  display: block;
  @media (max-width:539.98px) {
    width: 180px;
  }

  @media (max-width:767.98px) {
    max-width: 100%;
    height: auto;
  }
}

.site-footer__brand p {
  font-size: max(var(--font-size-min), calc(14px * var(--type-scale, 1)));
  line-height: max(1.4em, calc(21px * var(--type-scale, 1)));
}

.site-footer__navigation {
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  border-bottom: 1px solid #dfe5f1;
  padding-bottom: 36px;
  @media (max-width:767.98px) {
    gap: 16px;
  }
  @media (max-width:539.98px) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding-bottom: 24px;
  }
  @media (max-width:389.98px) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 24px;
  }
}

.site-footer__navigation h3 {
  font: 300 max(var(--font-label-min), calc(12px * var(--type-scale, 1)))/max(1.25em, calc(15px * var(--type-scale, 1))) var(--font-body);
  letter-spacing: 2.4px;
  text-transform: uppercase;
  margin: 7px 0 27px;
  color: #a4a5ad;
  @media (max-width:767.98px) {
    font-size: max(var(--font-label-min), calc(10px * var(--type-scale, 1)));
    letter-spacing: 1.5px;
  }
  @media (max-width:539.98px) {
    margin: 0 0 12px;
    letter-spacing: 1px;
  }
}

.site-footer__navigation a {
  display: block;
  text-decoration: none;
  line-height: calc(30px * var(--type-scale, 1));
  @media (max-width:767.98px) {
    font-size: max(var(--font-size-min), calc(13px * var(--type-scale, 1)));
    line-height: max(1.4em, calc(28px * var(--type-scale, 1)));
  }
  @media (max-width:539.98px) {
    line-height: 1.5;
    padding-block: 4px;
  }
}

.site-footer__bottom {
  grid-template-columns: 370px 178px 260px 1fr;
  gap: 30px;
  margin-top: 40px;
  font-size: max(var(--font-size-min), calc(14px * var(--type-scale, 1)));
  line-height: max(1.4em, calc(21px * var(--type-scale, 1)));
  @media (max-width:1199.98px) {
    gap: 20px;
    grid-template-columns: 1fr 1fr;
  }
  @media (max-width:767.98px) {
    font-size: max(var(--font-size-min), calc(12px * var(--type-scale, 1)));
    line-height: max(1.4em, calc(19px * var(--type-scale, 1)));
    gap: 24px;
  }
  @media (max-width:539.98px) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
    margin-top: 24px;
  }
}

.site-footer__bottom a {
  display: block;
  @media (max-width:539.98px) {
    padding-block: 3px;
  }
}

.site-footer__phone {
  text-align: right;
  @media (max-width:1199.98px) {
    text-align: left;
  }
  @media (max-width:767.98px) {
    grid-column: 1/-1;
  }
}

.site-footer__phone a {
  font: 300 calc(18px * var(--type-scale, 1))/calc(22px * var(--type-scale, 1)) var(--font-heading);
  text-decoration: none;
  @media (max-width:1199.98px) {
    font-size: max(var(--font-size-min), calc(15px * var(--type-scale, 1)));
  }
  @media (max-width:767.98px) {
    font-size: calc(18px * var(--type-scale, 1));
  }
}

.site-footer__phone p {
  font-size: max(var(--font-size-min), calc(12px * var(--type-scale, 1)));
  line-height: max(1.4em, calc(18px * var(--type-scale, 1)));
  margin-top: 2px;
}

.site-footer__bottom>p {
  @media (max-width:767.98px) {
    grid-column: 1/-1;
  }
}

.site-footer__privacy {
  @media (max-width:539.98px) {
    grid-column: 1/-1;
  }
}

.site-footer--transparent {
  background: none;
}

.community-dock {
  position: relative;
  z-index: 50;
  height: 0;
}

/* Keep desktop artwork; give each confirmed social destination its own link. */
.community-dock__panel {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 281px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
  @media (max-width:1199.98px) {
    right: 16px;
    bottom: 16px;
  }

  @media (max-width:767.98px) {
    right: max(8px, env(safe-area-inset-right, 0px));
    bottom: auto;
    top: clamp(8px, calc(50dvh - 82px), calc(100dvh - 286px - env(safe-area-inset-bottom, 0px)));
    width: 52px;
    height: auto;
    flex-direction: column;
    gap: 4px;
    padding: 4px;
    border-radius: 28px;
    background: var(--color-deep-blue);
    box-shadow: 0 4px 16px rgb(0 7 50 / .16);
  }

  transform: translate(var(--community-x, 0px), var(--community-y, 0px));
}

.community-dock__art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.community-dock__label {
  padding: 0;
  margin: -1px;
  border: 0;
}

.community-dock .community-dock__link {
  position: relative;
  inset: auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 44px;
  color: white;
  border-radius: 50%;
  line-height: 1;
  @media (max-width:767.98px) {
    width: 44px;
    height: 44px;
  }
}

.community-dock__link .icon {
  display: none;
  @media (max-width:767.98px) {
    display: block;
  }
}

.community-dock__link:focus-visible {
  outline-offset: -2px;
}

.community-dock .community-dock__art {
  @media (max-width:767.98px) {
    display: none;
  }
}

.community-dock__link:is(:hover, :focus-visible) {
  @media (max-width:767.98px) {
    background: var(--color-action-blue);
  }
}

body:has(.contact-dialog[open]) .community-dock {
  @media (max-width:767.98px) {
    visibility: hidden;
  }
}

/* Fixed community links move only when footer content intersects their footprint. */
:where(.site-surface, .lfn-shell-legacy:has(.community-dock)) .site-footer > .container {
  @media (max-width:767.98px) {
    padding-right: 84px;
  }
  @media (max-width:359.98px) {
    padding-right: 64px;
  }
}

/* Links and controls retain the shared hover and focus treatment. */
:is(.site-header__nav, .site-footer__navigation) a {
  text-decoration: underline;
  text-decoration-color: transparent;
}

:is(.site-header__nav, .site-footer__navigation) a:is(:hover, :focus-visible) {
  text-decoration: underline;
  text-decoration-color: currentColor;
}

.site-header__menu .menu-item-has-children > a {
  text-decoration: none;
}

:where(.site-header__icon, .site-header__logo) {
  transition: translate var(--motion-state) var(--motion-ease), opacity var(--motion-feedback), background-color var(--motion-feedback);
}

:where(.site-header__icon, .site-header__logo):is(:hover, :focus-visible) {
  opacity: .8;
}

:where(.site-header__apps):is(:hover, :focus-visible) {
  background-color: rgb(255 255 255 / .8);
}

.site-footer a:is(:hover, :focus-visible) {
  color: var(--color-action-blue);
}

.community-dock__link img {
  display: block;
  transition: opacity var(--motion-feedback);
}

.community-dock__link:is(:hover, :focus-visible) img {
  opacity: .85;
}

@keyframes disclosure-enter {
  from {
    opacity: 0;
    translate: 0 5px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}
