#wpadminbar {
    display: none !important;
}
html {
    font-size: 10px;
    background: white;
    font-family: var(--font-base);
    color: var(--color-dark);
    padding: 0;
}

body {
    padding: 0;
    margin: 0;
    width: 100vw;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    letter-spacing: -.05rem;
}

a {
    color: var(--color-link);
    &:hover {
        color: var(--color-primary);
    }
}

img {
    height:auto;
    max-width: 100%;
}

.img-cover {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit: cover;
    z-index: 2;

}

section {
    position: relative;
    z-index: 1;
}

.img {
    position:relative;
    width:100%;
    height:100%;
    img {
        position:absolute;
        left:0;
        top:0;
        width:100%;
        height:100%;
        object-fit: fit;
    }
}

.bg-image {
    width:100%;
    height:100%;
    z-index: 0;
    img {
        position:absolute;
        left:0;
        top:0;
        width:100%;
        height:100%;
        object-fit: cover;
    }
}

.heading {
    font-size: 2rem;
}

.subheading {
    font-size: 1.5rem;
}

.btn {
    color: var(--color-blue-30);
    text-decoration: none;
    font-size: 1.3rem;
    padding: 0 10px;
    line-height: 2;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: .2rem;
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
}

.btn::after {
    content: '';
    width: calc(100% - 20px);
    height: 2px;
    background: var(--color-blue-30);
    position: absolute;
    bottom: 0;
    left: 10px;
    right: 10px;
    transition: all 0.1s ease-out;
}

.btn:hover::after {
    animation: btnBorder 1s ease infinite;
}



.btn-xs {
    font-size: .8rem;
    padding: 0 6px;
    line-height: 1.6;
}

.btn-xs::after {
    width: calc(100% - 12px);
    left: 6px;
    right: 6px;
}

.btn-sm {
    font-size: 1rem;
    padding: 0 8px;
    line-height: 1.8;
}

.btn-sm::after {
    width: calc(100% - 16px);
    left: 8px;
    right: 8px;
}

.btn-md {
    font-size: 1.3rem;
    padding: 0 10px;
    line-height: 2;
}

.btn-md::after {
    width: calc(100% - 20px);
    left: 10px;
    right: 10px;
}

.btn-lg {
    font-size: 1.6rem;
    padding: 0 14px;
    line-height: 2.2;
}

.btn-lg::after {
    width: calc(100% - 28px);
    left: 14px;
    right: 14px;
}

.btn-xl {
    font-size: 2rem;
    padding: 0 18px;
    line-height: 2.4;
}

.btn-xl::after {
    width: calc(100% - 36px);
    left: 18px;
    right: 18px;
}
@keyframes btnBorder {
    from {
        width: 0%;
    }
    to {
        width: calc(100% - 20px);
    }
}

.lightbox-item .zoom-ico {
  opacity: 0;
}
.lightbox-item:hover .zoom-ico {
  opacity: 1;
}

a.link-btn {
    color: white;
    background:var(--color-blue-30);
    text-decoration: none;
    font-size: 1rem;
    display: inline-block;
    margin:25px 0;
    padding: 10px 20px 5px 20px;
    line-height: 1;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: .2rem;
    position: relative;
    border-radius: 100px;
    overflow: hidden;
    z-index: 1;
}
.btn-filled {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    text-align: center;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: .2rem;
    position: relative;
    border-radius: 100px;
    overflow: hidden;
    background:var(  --color-dark);
    z-index: 1;
}

.btn-filled::after {
    border-radius: 100px;
    content: '';
    background: var(--color-blue-30);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    transition: all 0.1s ease-out;
    z-index: -1;
}

.btn-filled:hover {
    color: var(--color-blue-30);
    font-family: var(--font-primary);
    background:var(  --color-dark);
}

.btn-filled:hover::after {
    left: 100%;
    right: auto;
}

.circle-arrow {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 2px solid white;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;

  &::before {
    content: "";
    position: absolute;
    width: 40%;
    height: 2px;
    background: white;
    left: 28%;
  }

  &::after {
    content: "";
    position: absolute;
    right: 30%;
    width: 10px;
    height: 10px;
    display: block;
    border-bottom: 2px solid white;
    border-right: 2px solid white;
    transform:rotate(-45deg);
  }

  &:hover,
  &:focus-visible {
    background: #111;
    border-color: #111;
    transform: translateY(-1px);

    &::before {
      background-color: #fff;
    }

    &::after {
      border-left-color: #fff;
    }
  }
}
.page-corners::before,
.page-corners::after {
  content: '';
  position: fixed;
  top: 6px;
  width: var(--corner-size, 40vw);
  height: var(--corner-size, 40vw);
  z-index: -1;
  border-radius: 6px;
  opacity: 0.5;
  pointer-events: none;
}

.page-corners::before {
  left: 7px;
  background: linear-gradient(-45deg, rgba(50, 51, 52, 0) 50%, rgba(50, 51, 52, 1) 94%);
}

.page-corners::after {
  right: 7px;
  background: linear-gradient(45deg, rgba(50, 51, 52, 0) 50%, rgba(50, 51, 52, 1) 94%);
}

.top-fade {
    position: relative;
    overflow: hidden;
    & img {
        opacity: .6;
        z-index: 1;
        max-width: unset;
        min-width: unset;
    }
    &::before {
        content: "";
        position: absolute;
        top:0;
        z-index: 2;
        width: 100%;
        height: 50%; /* adjust fade height */
        pointer-events: none;
        background: linear-gradient(
        to bottom,
        rgba(var(--color-gradient-dark), 1),
        rgba(var(--color-gradient-dark), 0)
        );
    }
    &::after {
        content: "";
        position: absolute;
        bottom:0;
        left:0;
        z-index: 2;
        width: 100%;
        height: 50%; /* adjust fade height */
        pointer-events: none;
        background: linear-gradient(
        to top,
        rgba(var(--color-gradient-dark), 1),
        rgba(var(--color-gradient-dark), 0)
        );
    }
}

.site-content {
  padding-top: 0px;

 
}

body.home .site-content {
  padding-top: 0;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.richtext {
  & ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    padding: 0;
    & li {
      max-width: 300px;
      margin-left:40px;
      margin-bottom: 20px;
    }
  }
}
.text-center,
.md\:text-center,
.lg\:text-center,
.xl\:text-center {
  & ul {
    justify-content: center;
    max-width: 800px;
  }
}



.social-links {
    margin: 0;
    padding: 10px 0 0px 0;
    display: flex;
    justify-content:space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;

    & li {
      list-style: none;
      flex: 1 1 auto;
      max-width: 14vw;
      margin:0 auto;

      & a {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 5px 0 5px 0;
        color: white;
        text-decoration: none;

        & svg {
          display: block;
          width: 24px;
          height: 24px;
          margin-right: 2rem;
        }
        & svg {
          fill: white;
        }

        & .label {
          width: 100%;
          font-size: 1rem;
          text-align: center;
        }

      }

      & a:hover svg * {
          fill:var(  --color-dark) !important;
      }
    }

    @media (min-width: 880px) {
      & {
        justify-content: flex-start;
      }

      & li {
        max-width: 50px;

        & a:hover .icon {
          background-color: var(  --color-dark);
        }
      }
    }
  }

/***** HEADER *****/
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  width: 100%;
  min-height: 64px;
  transition: all 0.1s ease-out;
  background: #FFFFFF;

  & * {
    transition: all 0.1s ease-out;
  }

  /* Header variant: transparent */
  &.header-transparent {
    background:none !important;
    & .primary-logo {
        max-width: 200px;
        margin: 20px;
      & svg.logo-svg {
        .mark {
          * {
            fill:white !important;
          }
        }
        .word {
          opacity:1;
        }
      }
    }
    & .mobile-nav-toggle {
      background: rgba(0, 10, 10, 0);
    }
  }

  & .mobile-nav-toggle {
    background: rgba(0, 10, 10, 1);
    border-radius: 5rem;
    width: 30px;
    height:30px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  & .mobile-nav-toggle::after {
      content: '';
      width: 60px;
      height: 60px;
      background-image: url(../img/mob-shadow.png);
      background-size: 100%;
      display: block;
      position: absolute;
      top: 50%;
      left: 50%;

      /* baseline center + dynamic shadow offsets */
      transform: translate(
        calc(-50% + var(--shadow-x, 0px)),
        calc(-50% + var(--shadow-y, 0px))
      );

      opacity: 1;
      z-index: -1;
  }

  & .mobile-nav-toggle svg * {
    stroke: white;
  }


  & .content-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    align-content: center;
    width: calc(100% - 20px);
    margin: 5px auto;
    max-width: unset;
  }


  & .primary-logo {
    min-width: unset;
    display: block;
    width: 100%;
    max-width: 270px;
    margin: 6px 30px;
    text-align: center;
    position:relative;
    z-index: 99999;
   

    & svg.logo-svg {
      max-width: 100%;
      & path {
        transition: all 0.1s ease-out;
      }      
      .mark {
        * {
          fill:black !important;
        }
      }
      .word {
        opacity:0;
      }
    }
  }
  

  & .mobile-nav-toggle {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 10;
    width: auto;
    padding: 4px;
    flex: 0 1 52px;
    display: flex;
  }

  /* Mobile full-screen nav */
  & .mobile-nav {
    position: fixed;
    inset:0;
    left: unset !important;
    right:0 !important;
    width: 400px;
    background: rgba(0,0,0,.8);

    background: linear-gradient(90deg, rgba(20, 21, 22, 1) 0%, rgba(20, 21, 22, .9) 50%, rgba(20, 21, 22, .8) 100%);
    border-left:1px solid white;
    background-size: cover;
    z-index: 999;
    transform: translateX(100%); /* hide off screen to the right */
    transition: transform 0.3s ease;
    display: block; /* keep it rendered for animation */

    /* &::before {
      content:'';
      width:30%;
      height:100%;
      display: block;
      position: absolute;
      top:0;
      left:0;
      bottom: 0;
      z-index: 0;
      background: #141516;
      background: linear-gradient(90deg, rgba(20, 21, 22, 1) 0%, rgba(20, 21, 22, 0) 94%);
    } */
    &.open {
        transform: translateX(0);
        z-index: 9999999;
    }
    & .mobile-nav-close {
      position: fixed;
      top: 25px;
      right: 25px;
      z-index: 9999;
      width: auto;
      padding: 4px;
      flex: 0 1 45px;
      display: flex;

      & svg * {
        stroke: white !important;
      }
    }

  }

  /* Mobile swipe nav pieces used by both states */
  & .mobile-menu-items {
    & .nav-group {
      width: 100%;
      max-height: calc(100vh - 60px);
      margin: 5rem 0 0 0;
      padding: 0 30px;

      & li {
        list-style: none;

        & .nav-link,
        & .link-item {
          display: flex;
          justify-content: flex-start;
          cursor: pointer;
          padding: 1rem 0 1rem 4rem;
          font-weight: 400;
          color: white;
          font-size: 2.6rem;
          text-decoration: none;
          font-family: var(--font-primary);
        }

        & .nav-link span,
        & .link-item span {
          position: relative;
          display: inline-block;
          transition: font-weight 0.2s ease;
        }

        & .nav-link span::after,
        & .link-item span::after {
          content: "";
          position: absolute;
          left: 0;
          bottom: -0.3rem; /* adjust as needed */
          width: 100%;
          height: 1px;
          background: white;
          transform: scaleX(0);
          transform-origin: left;
          transition: transform 0.3s ease;
        }


        &:hover .nav-link span::after,
        &:hover .link-item span::after {
          transform: scaleX(1);
        }
      }
    }

    & .nav-group {
      position: relative;
    }

    & .submenu-slide {
      position: absolute;
      top: 0;
      bottom: 0;
      left: 100%;
      width: 100%;
      height: 100vh;
      z-index: 10;
      background: var(--color-dark);

    

      & .submenu-slide {
        z-index: 11;
      }

      & ul {
        margin: 0;
      }

      & ul li {
        padding: 0;
        margin: 0;
      }

      & .menu-item a.link-item {
        color: white;
        font-weight: 300;
        font-size: 2rem;
        text-decoration: none;
        padding: 10px 15px;
        margin: 0 15px;
        font-family: var(--font-primary);
        line-height: 1;
        text-align: center;
      }
    }
  }
  & .action-menu {
    position: relative;
    z-index: 2;
  }
}

/***** FOOTER *****/
.site-footer {

  background: var(--color-dark);
  position:relative;
  z-index: 1;
  & .content {
    z-index: 10;
    position:relative;
  }


  & .footer-logo {
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
  }



  
}

