/**
 * Logez base styles.
 */

html {
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.logez-theme {
  background: var( --lz-color-dark );
  color: var( --lz-color-white );
  font-family: var( --lz-font-body-family );
  font-size: var( --lz-font-body );
  line-height: var( --lz-line-body );
}

body.logez-theme :where( h1, h2 ) {
  font-family: var( --lz-font-display-family );
  font-weight: 400;
  letter-spacing: 0;
}

body.logez-theme h1 {
  font-size: var( --lz-font-h1 );
  line-height: var( --lz-line-h1 );
}

body.logez-theme h2 {
  font-size: var( --lz-font-h2 );
  line-height: var( --lz-line-h2 );
}

body.logez-theme :where( h3, h4, h5, h6 ) {
  font-family: var( --lz-font-bold-family );
  font-weight: 400;
  line-height: var( --lz-line-heading );
}

body.logez-theme h3 {
  font-size: var( --lz-font-h3 );
}

body.logez-theme h4 {
  font-size: var( --lz-font-h4 );
}

body.logez-theme h5 {
  font-size: var( --lz-font-h5 );
}

body.logez-theme h6 {
  font-size: var( --lz-font-h6 );
}

body.logez-theme :where( p, ul, ol ) {
  margin-block-start: 0;
}

body.logez-theme :where( a ) {
  color: currentColor;
}

body.logez-theme :where( main a:not( .elementor-button ):not( .lz-button ):not( .lz-card__link ):not( .lz-project-card__link ):not( .lz-post-card__link ):not( .lz-team-card__link ) ) {
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

body.logez-theme :where( header nav a, footer nav a, .elementor-nav-menu a ) {
  text-decoration: none;
}

body.logez-theme :where( header nav a, footer nav a, .elementor-nav-menu a ):where( :hover, :focus-visible ) {
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

body.logez-theme :where( a, button, input, textarea, select, summary, [tabindex] ):focus-visible {
  outline: 2px solid var( --lz-color-accent );
  outline-offset: 3px;
}

body.logez-theme img {
  max-width: 100%;
  height: auto;
}

body.logez-theme :where( svg ) {
  flex-shrink: 0;
}

@media ( prefers-reduced-motion: reduce ) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
