/**
 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 {
  --menu-item-color: var(--black);
}

ul.menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
ul.menu a:not(.button) {
  text-underline-offset: 4px;
  color: var(--menu-item-color);
}
ul.menu a.button {
  margin-left: 100px;
}

.navigation > .menu {
  -moz-column-gap: 30px;
       column-gap: 30px;
}
.navigation > .menu > li {
  padding: 16px 0;
}
.navigation > .menu > li > span,
.navigation > .menu > li > a {
  text-transform: lowercase;
}
.navigation > .menu a {
  font-family: var(--header-font-family);
  display: inline-block;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
.navigation > .menu a:hover, .navigation > .menu a:focus-visible {
  text-shadow: 0.02em 0 currentColor, -0.02em 0 currentColor;
}
.navigation > .menu li:not(.menu-item--active-trail) a {
  text-decoration: none;
}
.navigation > .menu a.is-active {
  font-weight: var(--font-weight-bold);
  text-shadow: none;
}
.navigation > .menu .menu-item--expanded .menu a,
.navigation > .menu .menu-item--expanded .menu span {
  text-transform: lowercase;
}

/**
 * Dropdown menu
 */
.menu-item--expanded {
  position: relative;
  display: flex;
  gap: 6px;
  z-index: 10;
}
.menu-item--expanded > a {
  display: inline-block;
  white-space: nowrap;
}
.menu-item--expanded > .icon-drop {
  display: inline-flex;
  align-items: baseline;
  align-self: end;
  justify-content: center;
  width: 8px;
  height: 14px;
  margin-left: 2px;
  flex-shrink: 0;
  cursor: pointer;
}
.menu-item--expanded > .icon-drop::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  box-sizing: border-box;
}
.menu-item--expanded > .menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  min-width: -moz-max-content;
  min-width: max-content;
  align-items: start;
  margin: 0;
  padding: var(--dropdown-menu-padding);
  background: var(--primary-light-color);
  --anchor-color: var(--white);
  flex-direction: column;
  row-gap: 8px;
  white-space: nowrap;
}
.menu-item--expanded > .menu a {
  display: block;
  padding: 4px 0;
  text-decoration: none;
}
.menu-item--expanded:hover > .menu, .menu-item--expanded:focus-within > .menu {
  display: flex;
}
.menu-item--expanded:hover > .icon-drop::before, .menu-item--expanded:focus-within > .icon-drop::before {
  transform: rotate(-135deg);
}

.menu .icon-drop {
  color: var(--menu-item-color);
  line-height: 1;
}
