/* ===============================================
   Header Block Styles
   =============================================== */

.block-header {
  width: 100%;
  padding: var(--wp--preset--spacing--medium) 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--wp--preset--spacing--medium);
  width: 100%;
  max-width: var(--wp--style--global--content-size);
  margin: 0 auto;
  padding: 0 var(--wp--preset--spacing--medium);
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo a {
  display: block;
  text-decoration: none;
}

.header__logo img {
  max-height: 60px;
  width: auto;
  height: auto;
}

.header__navigation {
  display: flex;
  align-items: center;
}

.header__navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--wp--preset--spacing--medium);
  flex-wrap: wrap;
}

.header__navigation li {
  margin: 0;
}

.header__navigation a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

.header__navigation a:hover {
  opacity: 0.7;
}

/* Tablet and up */
@media (min-width: 768px) {
  .header__inner {
    padding: 0 var(--wp--preset--spacing--large);
  }

  .header__logo img {
    max-height: 80px;
  }

  .header__navigation ul {
    gap: var(--wp--preset--spacing--large);
  }
}

/* Desktop and up */
@media (min-width: 1024px) {
  .header__inner {
    padding: 0 var(--wp--preset--spacing--x-large);
  }
}

/* ===============================================
   Header Block - Floating Style
   =============================================== */

.block-header.is-style-floating,
body .block-header.is-style-floating {
  max-width: var(--wp--style--global--wide-size) !important;
  width: 92% !important;
  margin: 0 auto !important;
}

.block-header.is-style-floating>.header__inner,
body .block-header.is-style-floating>.header__inner {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 8px 16px;
}

@media (min-width: 1012px) {

  .block-header.is-style-floating>.header__inner,
  body .block-header.is-style-floating>.header__inner {
    padding: 8px 24px;
  }
}