:root {
  --theme-bg: #ffffff;
  --theme-surface-dark: #1d1f25;
  --theme-text: #43474f;
  --theme-ink: #0f1115;
}

body {
  background: var(--theme-bg);
  color: var(--theme-text);
}

.theme-container {
  width: min(1300px, 92%);
  margin: 0 auto;
}

.theme-header {
  /* See cp-header in app.css */
}

.theme-header__inner {
  /* See cp-header in app.css */
}

.theme-header .custom-logo-link,
.theme-header .custom-logo-link img,
.theme-header img.custom-logo {
  max-height: 80px;
  max-width: 200px;
  width: auto;
  height: auto;
  display: block;
}

.theme-logo a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.theme-nav__list {
  /* See cp-header__menu in app.css */
}

@media (min-width: 1024px) {
  .mb-nav-overlay {
    display: none !important;
  }

  #mb-primary-navigation.mb-primary-nav {
    /* See cp-header__nav in app.css */
  }
}

.theme-nav__list a {
  /* See cp-header__link in app.css */
}

.theme-nav__list a:hover,
.theme-nav__list a:focus-visible {
  /* See cp-header__link in app.css */
}

.theme-burger {
  /* See cp-header__burger in app.css */
}

.mb-btn-primary,
.mb-btn-secondary,
.mb-btn-tertiary {
  border-radius: 50px !important;
  font-family: Lato, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

.theme-footer {
  background: #1e1e1e;
  color: #fff;
  padding-top: 90px;
  padding-bottom: 0;
}

.theme-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 2rem;
  row-gap: 2rem;
  padding-bottom: 0;
  align-items: start;
}

.theme-footer__grid--main {
  align-items: center;
}

.theme-footer__grid--social {
  margin-top: 0.6rem;
}

.theme-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: fit-content;
}

.theme-footer__social-col {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 250px;
}

.theme-footer__social-col > .flex {
  width: 100%;
  justify-content: center;
}

.theme-footer .theme-footer__col-title {
  margin: 0 0 0.75rem;
  font-family: Lato, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-align: left;
}

.theme-footer__address,
.theme-footer__hours,
.theme-footer__col--nav {
  font-family: Lato, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.9;
}

.theme-footer__grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.theme-footer__col--nav ul {
  columns: 1;
}

.theme-footer__col--nav li {
  margin-bottom: 0.35rem;
}

.theme-footer__grid a {
  color: #fff;
  text-decoration: none;
  opacity: 0.85;
}

.theme-footer__grid a:hover {
  opacity: 1;
}

.theme-footer .mb-social-icon {
  background: var(--mb-primary);
}

.theme-footer .mb-social-icon:hover,
.theme-footer .mb-social-icon:focus-visible {
  background: var(--mb-primary-hover);
}

.theme-footer__logo-slot {
  max-width: 220px;
}

.theme-footer__logo-link {
  display: inline-block;
  line-height: 0;
}

.theme-footer__logo-link--text {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
}

.theme-footer .theme-footer__logo-slot .custom-logo-link {
  display: inline-block;
  line-height: 0;
}

.theme-footer__logo-img,
.theme-footer__logo-slot .custom-logo-link img,
.theme-footer__logo-slot img.custom-logo {
  max-width: 220px;
  max-height: 80px;
  width: auto;
  height: auto;
  display: block;
}

.theme-footer__rule {
  margin: 2rem 0 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.theme-footer__bottom {
  padding-bottom: 60px;
}

.theme-footer__bottom-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
}

.theme-footer__bottom-left {
  justify-self: start;
  min-height: 1em;
}

.theme-footer__copyright {
  margin: 0;
  text-align: center;
  justify-self: center;
  font-family: Lato, sans-serif;
  font-size: 14px;
  opacity: 0.9;
  max-width: 100%;
}

.theme-footer__bottom-right {
  justify-self: end;
}

.theme-footer__privacy {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.85;
}

.theme-footer__dev {
  display: inline-block;
  line-height: 0;
  opacity: 0.95;
  text-decoration: none;
}

.theme-footer__dev img {
  height: 28px;
  width: auto;
  max-width: 160px;
  display: block;
}

.theme-footer__dev:hover {
  opacity: 1;
}

#primary {
  min-height: 40vh;
}

@media (max-width: 1023px) {
  body.is-mb-mobile-nav-open {
    overflow: hidden;
  }

  .theme-burger {
    /* See cp-header__burger in app.css */
  }

  .mb-nav-overlay:not(.hidden) {
    display: block !important;
    position: fixed;
    inset: 0;
    z-index: 29;
    cursor: pointer;
    background: rgba(5, 6, 10, 0.52);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  }

  #mb-primary-navigation.mb-primary-nav:not(.hidden) {
    /* See cp-header mobile nav in app.css */
  }

  .theme-nav__list > li > a {
    /* See cp-header mobile links in app.css */
  }

  .theme-footer__grid {
    grid-template-columns: 1fr;
  }

  .theme-footer__brand {
    width: 100%;
    max-width: none;
    align-items: center;
    text-align: center;
  }

  .theme-footer__grid--social {
    margin-top: 0;
  }

  .theme-footer__social-col {
    justify-content: center;
    max-width: 100%;
  }

  .theme-footer__col--nav ul {
    columns: 1;
  }

  .theme-footer .theme-footer__col-title,
  .theme-footer__address,
  .theme-footer__hours {
    text-align: center;
  }

  .theme-footer__col--nav {
    text-align: center;
  }

  .theme-footer__col--nav ul {
    text-align: center;
  }

  .theme-footer__bottom-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .theme-footer__bottom-left,
  .theme-footer__bottom-right,
  .theme-footer__copyright {
    justify-self: center;
  }
}
