/**
 SASS files that don't get compiled into CSS. Do not put element selectors in here.
 Every file not starting with '_' should import this file if you want to use functions and mixins.
 */
/**
 * SASS variables
 *
 These are only used in the properties and abstract SASS files.
 */
/**
 Breakpoints and columns
 */
/**
 Text
 */
/**
Fill in the header styles, only write the properties you want to override.
 */
/**
  Buttons
 */
/**
 Breakpoints

 @param {Keyword} $breakpoint - The breakpoint name of the minimum width. Can be any of the names in the $breakpoint variable
 */
/**
  Custom column size.
  Especially handy inside other columns.

  @param {Number|string} $size - the size in columns or 'expand'/'shrink'.
  @param {number} $total - the total size in columns. Ignored when size is 'expand'/'shrink'
 */
/**
  Custom offset size.
  Especially handy inside other columns.

  @param {Number|string} $size - the size of the offset.
  @param {number} $total - the total size in columns.
  @param {string} - the side from the offset.
 */
:root {
  --header-padding-x: 32px;
  --header-margin-bottom: calc(60px - var(--header-padding-x));
}
@media (min-width: 992px) {
  :root {
    --header-padding-x: 34px;
    --header-margin-bottom: 42px;
  }
}

.region-header {
  padding-block: 32px;
  margin-bottom: var(--header-margin-bottom);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.region-header #block-elaba-off-canvas-right-toggle {
  margin-left: auto;
}
.region-header #block-elaba-off-canvas-right-toggle #dialog-open-off-canvas-right {
  width: 48px;
  height: 48px;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: transparent;
  row-gap: 7px;
}
.region-header #block-elaba-off-canvas-right-toggle #dialog-open-off-canvas-right:before, .region-header #block-elaba-off-canvas-right-toggle #dialog-open-off-canvas-right:after {
  content: "";
  height: 2px;
  width: 24px;
  background-color: var(--primary-color);
}
@media (min-width: 1200px) {
  .region-header #block-elaba-secondary-menu {
    justify-self: end;
  }
}

.region-header:has(.menu--secondary) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
@media (min-width: 1200px) {
  .region-header:has(.menu--secondary) {
    display: grid;
    grid-template-columns: 1fr minmax(var(--site-logo-width), auto) 1fr;
    align-items: end;
  }
}
@media (min-width: 1200px) {
  .region-header:has(.menu--secondary) .site-logo img {
    margin: 0 auto;
  }
}
.region-header:has(.menu--secondary) .menu {
  padding-bottom: 12px;
}
.region-header:has(.menu--secondary) .system-branding-block {
  flex: 1 0 auto;
}
