body.l7a-adapter {
  --l7a-shell-top: 0px;
  --l7a-shell-height: 68px;
  --l7a-gutter: 1.25rem;
  --l7a-shell-color: #fff;
  --l7a-shell-muted: #e7edf4;
  --l7a-shell-rgb: 28 52 66;
  --l7a-shell-line: rgba(255, 255, 255, 0.18);
  --l7a-shell-surface: rgb(var(--l7a-shell-rgb) / 0.42);
  --l7a-shell-library-surface: rgb(var(--l7a-shell-rgb) / 0.48);
  --l7a-shell-surface-strong: rgb(var(--l7a-shell-rgb) / 0.7);
  --l7a-shell-menu-surface: rgb(var(--l7a-shell-rgb) / 0.82);
  --l7a-shell-glass-blur: 14px;
  --l7a-shell-glass-saturation: 118%;
  --l7a-footer-menu-surface: rgb(14 17 22 / 0.98);
  --l7a-footer-menu-text: #bec8d4;
}

html[data-l7a-theme='light'] body.l7a-surface-library.l7a-adapter {
  --l7a-shell-color: #18303c;
  --l7a-shell-muted: #566f7b;
  --l7a-shell-rgb: 249 252 253;
  --l7a-shell-line: rgba(24, 48, 60, 0.12);
  --l7a-shell-surface: rgb(var(--l7a-shell-rgb) / 0.74);
  --l7a-shell-library-surface: rgb(var(--l7a-shell-rgb) / 0.8);
  --l7a-shell-surface-strong: rgb(var(--l7a-shell-rgb) / 0.86);
  --l7a-shell-menu-surface: rgb(var(--l7a-shell-rgb) / 0.94);
}

html[data-l7a-theme='light'] body.l7a-surface-library.l7a-adapter .l7a-site-brand__logo {
  content: url('/wp-content/uploads/2018/08/7l-logo-b.png');
  filter: none;
  opacity: 1;
}

html[data-l7a-theme='light'] body.l7a-surface-library.l7a-adapter
  :is(.l7a-site-theme-toggle, .xl-site-theme-toggle, .l7a-site-menu-button) {
  border-color: rgba(24, 48, 60, 0.16);
  background: rgba(24, 48, 60, 0.055);
  color: #18303c;
}

@media (hover: hover) and (pointer: fine) {
  html[data-l7a-theme='light'] body.l7a-surface-library.l7a-adapter
    :is(.l7a-site-theme-toggle, .xl-site-theme-toggle, .l7a-site-menu-button):hover {
    border-color: rgba(15, 125, 163, 0.34);
    background: rgba(15, 125, 163, 0.1);
  }
}

body.l7a-adapter .l-header,
body.l7a-adapter > .l-footer,
body.l7a-adapter > .w-header-show,
body.l7a-adapter > .w-header-overlay {
  display: none !important;
}

body.l7a-adapter .l7a-site-header {
  position: fixed;
  z-index: 1002;
  top: var(--l7a-shell-top);
  left: 0;
  width: 100%;
  height: var(--l7a-shell-height);
  color: var(--l7a-shell-color);
  border-bottom: 1px solid var(--l7a-shell-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), transparent 74%),
    var(--l7a-shell-surface);
  box-shadow: 0 6px 22px rgba(3, 10, 17, 0.08);
  -webkit-backdrop-filter: blur(var(--l7a-shell-glass-blur)) saturate(var(--l7a-shell-glass-saturation));
  backdrop-filter: blur(var(--l7a-shell-glass-blur)) saturate(var(--l7a-shell-glass-saturation));
}

body.admin-bar.l7a-adapter .l7a-site-header {
  top: calc(var(--l7a-shell-top) + 32px);
}

body.l7a-surface-game .l7a-site-header:not([data-scrolled='true']) {
  --l7a-shell-surface: rgb(var(--l7a-shell-rgb) / 0.48);
}

body.l7a-surface-library .l7a-site-header:not([data-scrolled='true']) {
  --l7a-shell-surface: var(--l7a-shell-library-surface);
}

body.l7a-adapter .l7a-site-header__glass {
  position: relative;
  display: grid;
  grid-template-columns: minmax(204px, 1fr) auto minmax(204px, 1fr);
  align-items: center;
  width: min(var(--l7a-width), calc(100% - (var(--l7a-gutter) * 2)));
  height: 100%;
  margin-inline: auto;
  padding: 0 0.5rem;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.l7a-adapter .l7a-site-header__glass::before {
  display: none;
}

body.l7a-adapter .l7a-site-header__glass > * {
  position: relative;
  z-index: 1;
}

body.l7a-adapter .l7a-site-header[data-scrolled='true'] {
  --l7a-shell-glass-blur: 16px;
  --l7a-shell-glass-saturation: 114%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 62%),
    var(--l7a-shell-surface-strong);
  box-shadow: 0 8px 26px rgba(3, 10, 17, 0.1);
}

body.l7a-adapter .l7a-site-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

body.l7a-adapter .l7a-site-brand img {
  display: block;
  width: auto;
  height: 50px;
  max-width: 224px;
}

body.l7a-adapter .l7a-site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.4vw, 2.4rem);
  min-width: 0;
}

body.l7a-adapter .l7a-site-nav a,
body.l7a-adapter .l7a-site-footer a {
  color: inherit;
  text-decoration: none;
}

body.l7a-adapter .l7a-site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--l7a-shell-muted);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}

body.l7a-adapter .l7a-site-nav a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--color-content-primary, #32beeb);
  opacity: 0;
  transform: scaleX(0.72);
  transition:
    opacity 160ms var(--l7a-ease-out),
    transform 160ms var(--l7a-ease-out);
}

body.l7a-adapter .l7a-site-nav a:focus-visible,
body.l7a-adapter .l7a-site-nav a[aria-current='page'] {
  color: var(--l7a-shell-color);
}

body.l7a-adapter .l7a-site-nav a[aria-current='page']::after {
  opacity: 1;
  transform: scaleX(1);
}

body.l7a-adapter .l7a-site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

body.l7a-adapter .l7a-site-theme-toggle,
body.l7a-adapter .l7a-site-header .xl-site-theme-toggle {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #f5f7fa;
  cursor: pointer;
  transition:
    background-color 160ms var(--l7a-ease-out),
    border-color 160ms var(--l7a-ease-out),
    transform 140ms var(--l7a-ease-out);
}

body.l7a-adapter .l7a-site-theme-toggle svg,
body.l7a-adapter .l7a-site-header .xl-site-theme-toggle svg {
  display: block;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.l7a-adapter .l7a-site-theme-toggle__sun,
body.l7a-adapter .l7a-site-theme-toggle__moon {
  display: none;
}

html[data-l7a-theme='light'] body.l7a-adapter .l7a-site-theme-toggle__sun,
html[data-l7a-theme='dark'] body.l7a-adapter .l7a-site-theme-toggle__moon {
  display: grid;
}

body.l7a-adapter .l7a-site-menu-button {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  cursor: pointer;
}

body.l7a-adapter .l7a-site-menu-button::before,
body.l7a-adapter .l7a-site-menu-button::after,
body.l7a-adapter .l7a-site-menu-button span {
  content: '';
  position: absolute;
  left: 12px;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 160ms var(--l7a-ease-out),
    opacity 120ms ease;
}

body.l7a-adapter .l7a-site-menu-button::before {
  top: 15px;
}

body.l7a-adapter .l7a-site-menu-button span {
  top: 21px;
}

body.l7a-adapter .l7a-site-menu-button::after {
  top: 27px;
}

body.l7a-adapter .l7a-site-menu-button[aria-expanded='true']::before {
  transform: translateY(6px) rotate(45deg);
}

body.l7a-adapter .l7a-site-menu-button[aria-expanded='true'] span {
  opacity: 0;
}

body.l7a-adapter .l7a-site-menu-button[aria-expanded='true']::after {
  transform: translateY(-6px) rotate(-45deg);
}

body.l7a-adapter .l7a-site-header a:focus-visible,
body.l7a-adapter .l7a-site-header button:focus-visible,
body.l7a-adapter .l7a-site-footer a:focus-visible,
body.l7a-adapter .l7a-site-footer summary:focus-visible {
  outline: 2px solid var(--color-content-primary, #32beeb);
  outline-offset: 3px;
}

body.l7a-adapter .l7a-site-footer {
  position: relative;
  z-index: 2;
  color: #f5f7fa;
  background:
    linear-gradient(110deg, rgba(31, 112, 139, 0.08), transparent 36%, rgba(132, 84, 39, 0.05) 78%, transparent),
    #0e1116;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.l7a-adapter .l7a-site-footer__inner {
  width: min(var(--l7a-width), calc(100% - (var(--l7a-gutter) * 2)));
  margin-inline: auto;
  padding: 1.25rem 0 1rem;
}

body.l7a-adapter .l7a-site-footer__main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 3.5rem;
}

body.l7a-adapter .l7a-site-footer__brand img {
  height: 32px;
  max-width: 146px;
  filter: grayscale(1) brightness(1.6);
  opacity: 0.72;
}

body.l7a-adapter .l7a-site-footer__brand:hover img,
body.l7a-adapter .l7a-site-footer__brand:focus-visible img {
  filter: none;
  opacity: 1;
}

body.l7a-adapter .l7a-site-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
}

body.l7a-adapter .l7a-site-footer__links a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: #a5afbd;
  font-size: 14px;
}

body.l7a-adapter .l7a-site-footer__links a:hover,
body.l7a-adapter .l7a-site-footer__links a:focus-visible {
  color: #fff;
}

@media (hover: hover) and (pointer: fine) {
  body.l7a-adapter .l7a-site-footer__brand:hover img {
    transition:
      filter 160ms var(--l7a-ease-out),
      opacity 160ms var(--l7a-ease-out);
  }

  body.l7a-adapter .l7a-site-footer__links a:hover {
    transition: color 160ms var(--l7a-ease-out);
  }
}

body.l7a-adapter .l7a-site-footer__controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

body.l7a-adapter .l7a-language-menu {
  position: relative;
}

body.l7a-adapter .l7a-language-menu summary {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #f5f7fa;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  list-style: none;
  cursor: pointer;
}

body.l7a-adapter .l7a-language-menu summary::-webkit-details-marker {
  display: none;
}

body.l7a-adapter .l7a-language-menu summary > svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
}

body.l7a-adapter .l7a-language-menu summary::after {
  content: '';
  width: 0.4rem;
  height: 0.4rem;
  margin-left: 0.1rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.12rem) rotate(45deg);
  transition: transform 160ms var(--l7a-ease-out);
}

body.l7a-adapter .l7a-language-menu[open] summary::after {
  transform: translateY(0.12rem) rotate(225deg);
}

body.l7a-adapter .l7a-language-menu summary:focus-visible::after {
  transition: none;
}

body.l7a-adapter .l7a-language-menu__list {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.5rem);
  width: min(18rem, calc(100vw - 2rem));
  max-height: 18rem;
  margin: 0;
  padding: 0.4rem;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: var(--l7a-footer-menu-surface);
  box-shadow: 0 20px 60px rgba(5, 10, 18, 0.18);
  list-style: none;
  scrollbar-color: #687581 transparent;
  scrollbar-width: thin;
  -webkit-backdrop-filter: blur(var(--l7a-shell-glass-blur)) saturate(var(--l7a-shell-glass-saturation));
  backdrop-filter: blur(var(--l7a-shell-glass-blur)) saturate(var(--l7a-shell-glass-saturation));
}

body.l7a-adapter .l7a-language-menu__list::-webkit-scrollbar {
  width: 10px;
}

body.l7a-adapter .l7a-language-menu__list::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: #687581;
  background-clip: padding-box;
}

body.l7a-adapter .l7a-language-menu__list a,
body.l7a-adapter .l7a-language-menu__current {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  color: var(--l7a-footer-menu-text);
  font-size: 14px;
  line-height: 1.35;
}

body.l7a-adapter .l7a-language-menu__list a:hover,
body.l7a-adapter .l7a-language-menu__list a:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

body.l7a-adapter .l7a-language-menu__current {
  color: #fff;
  background: rgba(50, 190, 235, 0.12);
  box-shadow: inset 0 0 0 1px rgba(131, 218, 246, 0.14);
}

body.l7a-adapter .l7a-site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #758296;
  font-size: 14px;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  body.l7a-adapter .l7a-site-header {
    background: var(--l7a-shell-surface-strong);
  }
}

@media (prefers-reduced-transparency: reduce) {
  body.l7a-adapter .l7a-site-header {
    background: var(--l7a-shell-surface-strong);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (max-width: 820px) {
  body.l7a-adapter {
    --l7a-shell-top: 0px;
    --l7a-shell-height: 60px;
    --l7a-gutter: 0.75rem;
  }

  body.l7a-adapter .l7a-site-header__glass {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0 0.5rem 0 0.75rem;
  }

  body.l7a-adapter .l7a-site-brand img {
    height: 40px;
    max-width: 184px;
  }

  body.l7a-adapter .l7a-site-menu-button {
    display: block;
  }

  body.l7a-adapter .l7a-site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    justify-content: stretch;
    justify-items: stretch;
    width: min(18rem, calc(100vw - 1.5rem));
    gap: 0.125rem;
    padding: 0.5rem;
    border: 1px solid var(--l7a-shell-line);
    border-radius: 12px;
    background: var(--l7a-shell-menu-surface);
    box-shadow: 0 14px 30px rgba(5, 10, 18, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px) scale(0.985);
    transform-origin: top right;
    transition:
      opacity 150ms var(--l7a-ease-out),
      transform 150ms var(--l7a-ease-out),
      visibility 0s linear 150ms;
    -webkit-backdrop-filter: blur(var(--l7a-shell-glass-blur)) saturate(var(--l7a-shell-glass-saturation));
    backdrop-filter: blur(var(--l7a-shell-glass-blur)) saturate(var(--l7a-shell-glass-saturation));
  }

  body.l7a-adapter .l7a-site-header[data-menu-open='true'] .l7a-site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
  }

  body.l7a-adapter .l7a-site-header[data-menu-input='keyboard'] .l7a-site-nav,
  body.l7a-adapter .l7a-site-header[data-menu-input='keyboard']
    .l7a-site-menu-button::before,
  body.l7a-adapter .l7a-site-header[data-menu-input='keyboard']
    .l7a-site-menu-button::after,
  body.l7a-adapter .l7a-site-header[data-menu-input='keyboard']
    .l7a-site-menu-button span {
    transition: none;
  }

  body.l7a-adapter .l7a-site-nav a {
    min-height: 2.75rem;
    justify-content: flex-start;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
  }

  body.l7a-adapter .l7a-site-nav a::after {
    display: none;
  }

  body.l7a-adapter .l7a-site-nav a:focus-visible,
  body.l7a-adapter .l7a-site-nav a[aria-current='page'] {
    background: rgba(102, 199, 241, 0.11);
    color: var(--l7a-shell-color);
  }

  body.l7a-adapter .l7a-site-footer__main {
    grid-template-columns: 1fr auto;
    gap: 0.75rem 1rem;
  }

  body.l7a-adapter .l7a-site-footer__links {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 0.5rem 1rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  body.l7a-adapter .l7a-site-nav a:hover {
    color: var(--l7a-shell-color);
  }

  body.l7a-adapter .l7a-site-theme-toggle:hover,
  body.l7a-adapter .l7a-site-header .xl-site-theme-toggle:hover {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.14);
  }

  body.l7a-adapter .l7a-site-theme-toggle:active:not(:focus-visible),
  body.l7a-adapter
    .l7a-site-header
    .xl-site-theme-toggle:active:not(:focus-visible) {
    transform: scale(0.96);
  }
}

@media (max-width: 820px) and (hover: hover) and (pointer: fine) {
  body.l7a-adapter .l7a-site-nav a:hover {
    background: rgba(102, 199, 241, 0.11);
    color: var(--l7a-shell-color);
  }
}

@media (max-width: 782px) {
  body.admin-bar.l7a-adapter .l7a-site-header {
    top: calc(var(--l7a-shell-top) + 46px);
  }
}

@media (max-width: 540px) {
  body.l7a-adapter .l7a-site-footer__inner {
    padding-top: 1rem;
  }

  body.l7a-adapter .l7a-site-footer__main {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }

  body.l7a-adapter .l7a-site-footer__links {
    order: 2;
  }

  body.l7a-adapter .l7a-site-footer__controls {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  body.l7a-adapter .l7a-site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.l7a-adapter .l7a-site-theme-toggle:active,
  body.l7a-adapter .l7a-site-header .xl-site-theme-toggle:active {
    transform: none !important;
  }

  body.l7a-adapter .l7a-site-nav a,
  body.l7a-adapter .l7a-site-nav a::after,
  body.l7a-adapter .l7a-site-menu-button::before,
  body.l7a-adapter .l7a-site-menu-button::after,
  body.l7a-adapter .l7a-site-menu-button span,
  body.l7a-adapter .l7a-site-nav,
  body.l7a-adapter .l7a-language-menu summary::after {
    transition: none;
  }
}
