h1, h2, h3, h4, h5, h6 {
  font-family: "klavika-web";
}

/**
* HEADER
*/
header, footer, main, section, article {
  border-radius: 0 !important;
  overflow: hidden;
}

header .wp-block-navigation-item.wp-block-navigation-link a {
  text-decoration: none;
  -webkit-text-decoration-color: rgb(255, 255, 255);
          text-decoration-color: rgb(255, 255, 255);
}
header .wp-block-navigation-item.wp-block-navigation-link a:hover {
  -webkit-text-decoration-color: rgba(255, 255, 255, 0);
          text-decoration-color: rgba(255, 255, 255, 0);
}

header .header-content {
  height: var(--header-height);
  transition: var(--header-height-transition);
}
header .header-content .wp-block-column {
  display: flex;
  align-items: center;
  height: 100%;
}
header .header-content .wp-block-column:first-child {
  justify-content: flex-start;
}
header .header-content .wp-block-column:last-child {
  justify-content: flex-end;
}
header .header-content .wp-block-column .wp-block-site-logo {
  display: flex;
  align-items: center;
  height: 100%;
}
header .header-content .wp-block-column .wp-block-site-logo .custom-logo-link {
  display: flex;
  align-items: center;
  height: 100%;
}
header .header-content .wp-block-column .wp-block-site-logo .custom-logo-link img {
  aspect-ratio: 2.51;
  width: auto;
  height: 60%;
  max-width: unset;
  min-height: unset;
  transition: all 150ms;
}

/**
* HYPHENS
*/
p, .wp-block-heading {
  -webkit-hyphens: auto;
          hyphens: auto;
  hyphenate-limit-chars: 10 4 4;
}

* {
  -webkit-hyphens: auto;
          hyphens: auto;
  hyphenate-limit-chars: 10 4 4;
}

/**
* ANCHORS
*/
a {
  text-underline-offset: 4px;
  text-decoration-thickness: 1px !important;
}

/* Button lines */
.wp-block-buttons .wp-block-button.line-before, .wp-block-buttons .wp-block-button.line-after {
  --w: 2rem;
}
.wp-block-buttons .wp-block-button.line-before .wp-block-button__link, .wp-block-buttons .wp-block-button.line-after .wp-block-button__link {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  transition: all 150ms ease-out;
}
.wp-block-buttons .wp-block-button.line-before .wp-block-button__link:after, .wp-block-buttons .wp-block-button.line-after .wp-block-button__link:after {
  content: "";
  position: absolute;
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
  opacity: 1;
  transform: rotate(-45deg);
  transition: inherit;
}
@media (hover: hover) {
  .wp-block-buttons .wp-block-button.line-before .wp-block-button__link:after, .wp-block-buttons .wp-block-button.line-after .wp-block-button__link:after {
    width: 0;
    height: 0;
    opacity: 0;
  }
}
.wp-block-buttons .wp-block-button.line-before .wp-block-button__link:before, .wp-block-buttons .wp-block-button.line-after .wp-block-button__link:before {
  content: "";
  display: inline-block;
  width: var(--w);
  height: 1px;
  vertical-align: middle;
  background: currentColor;
  transition: inherit;
}
.wp-block-buttons .wp-block-button.line-before:hover .wp-block-button__link, .wp-block-buttons .wp-block-button.line-after:hover .wp-block-button__link {
  gap: 1rem;
}
.wp-block-buttons .wp-block-button.line-before:hover .wp-block-button__link:after, .wp-block-buttons .wp-block-button.line-after:hover .wp-block-button__link:after {
  width: 0.5rem;
  height: 0.5rem;
  opacity: 1;
}
.wp-block-buttons .wp-block-button.line-before:hover .wp-block-button__link:before, .wp-block-buttons .wp-block-button.line-after:hover .wp-block-button__link:before {
  width: calc(var(--w) * 2);
}
.wp-block-buttons .wp-block-button.line-after .wp-block-button__link {
  flex-direction: row-reverse;
}
.wp-block-buttons .wp-block-button.line-after .wp-block-button__link:after {
  transform: rotate(135deg);
}
.wp-block-buttons .wp-block-button > .wp-block-button__link > .icon {
  font-size: 0.75em;
  margin-right: 0.25em;
}

/* TEXT ALIGN INLINE */
.wp-block-group:has(> p.has-text-align-right) {
  text-align: right;
}

/**
* LIGHTBOX 
*/
.wp-lightbox-overlay.zoom {
  background: rgba(0, 0, 0, 0.5);
}
.wp-lightbox-overlay button {
  display: none !important;
}

.wp-lightbox-container img {
  cursor: nesw-resize;
}

.lightbox-trigger {
  display: none !important;
}