/*
Sem dávaj väčšie custom štýly, ktoré nechceš miešať do style.css.
Dobré pre komponenty, landing page sekcie alebo refactor CSS.
*/

.acd-after-header {
  background: #ffffff;
}

.acd-before-footer {
  background: #fafafa;
}

:root {
  --acd-header-height-desktop: 80px;
  --acd-header-height-mobile: 80px;
  --acd-header-side-gap: 80px;
}

.acd-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  width: 100%;
  min-height: var(--acd-header-height-desktop);
  background: #fafafafa;
  color: #111;
}

body.acd-theme-active {
  padding-top: var(--acd-header-height-desktop);
}

.acd-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--acd-header-height-desktop);
  width: 100%;
  padding: 20px var(--acd-header-side-gap);
  box-sizing: border-box;
}

.acd-site-header__branding {
  display: flex;
  align-items: center;
  min-width: 0;
}

.acd-site-header__brand-link {
  display: grid;
  grid-template-columns: 52px max-content;
  align-items: center;
  column-gap: 0;
  color: #111;
  text-decoration: none;
}

.acd-site-header__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  justify-self: end;
}

.acd-site-header__logo-image {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.acd-site-header__title {
  color: #111;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  justify-self: start;
  text-align: left;
}

.acd-site-header__nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.acd-site-header__menu,
.acd-site-header__menu ul,
.acd-site-header__nav .page-menu,
.acd-site-header__nav .page-menu ul {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.acd-site-header__menu a,
.acd-site-header__nav .page-menu a {
  color: #111;
  text-decoration: none;
}

.acd-site-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
}

.acd-site-header__toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
}

@media (max-width: 921px) {
  body.acd-theme-active {
    padding-top: var(--acd-header-height-mobile);
  }

  .acd-site-header {
    min-height: var(--acd-header-height-mobile);
  }

  .acd-site-header__inner {
    min-height: var(--acd-header-height-mobile);
    height: var(--acd-header-height-mobile);
    padding: 20px 20px;
  }

  .acd-site-header__brand-link {
    grid-template-columns: 46px max-content;
    column-gap: 0;
  }

  .acd-site-header__title {
    font-size: 1.2rem;
  }

  .acd-site-header__toggle {
    display: inline-flex;
  }

  .acd-site-header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    margin-left: 0;
    padding: 16px;
    background: #fafafafa;
    border-top: 1px solid rgba(17, 17, 17, 0.12);
  }

  .acd-site-header.is-open .acd-site-header__nav {
    display: block;
  }

  .acd-site-header__menu,
  .acd-site-header__menu ul,
  .acd-site-header__nav .page-menu,
  .acd-site-header__nav .page-menu ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* Tighten the first hero block: logo on the right side of its column, text on the left side of its column. */
.home .uagb-block-81953d0a > .uagb-container-inner-blocks-wrap > .wp-block-columns {
  display: grid;
  grid-template-columns: auto max-content;
  justify-content: center;
  align-items: center;
  column-gap: 40px;
}

.home .uagb-block-81953d0a > .uagb-container-inner-blocks-wrap > .wp-block-columns > .wp-block-column:first-child {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 0 0 auto;
}

.home .uagb-block-81953d0a > .uagb-container-inner-blocks-wrap > .wp-block-columns > .wp-block-column:last-child {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex: 0 0 auto;
}

.home .uagb-block-81953d0a > .uagb-container-inner-blocks-wrap > .wp-block-columns > .wp-block-column {
  margin: 0;
}
