/* inc/blocks/ccep-menu/style.scss */
:root {
  --wp--preset--color---primary: #64C0C1;
  --wp--preset--color---secondary: #505665;
  --wp--preset--color---white: $white;
  --wp--preset--color---black: $black;
  --wp--preset--color---light-grey: $light_grey;
  --font-default: "rooney-sans", calibri, sans-serif;
  --font-alt: "rooney-sans", calibri, sans-serif;
  --font-size-default: 18px;
  --font-weight-default: 300;
  --line-height-default: 1.333;
}

body {
  --wp--preset--font-size--medium: 18px;
}

/**  end vars */
.wp-block-acf-ccep-menu {
  margin: 0;
  padding: 0;
  position: absolute;
  z-index: 1;
  width: 100%;
  top: -48px;
  background: #479697;
}
@media (max-width: 1099px) {
  .wp-block-acf-ccep-menu {
    top: -64px;
  }
}
@media (max-width: 1024px) {
  .wp-block-acf-ccep-menu {
    top: -96px;
  }
}
@media screen and (max-width: 480px) {
  .wp-block-acf-ccep-menu {
    top: -124px;
  }
}
.wp-block-acf-ccep-menu .ccep-menu {
  overflow: hidden;
  /* mobile: keep it usable */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.wp-block-acf-ccep-menu .ccep-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  white-space: nowrap;
  gap: 1px;
  background: rgba(255, 255, 255, 0.35);
  /* gap color */
}
@media (max-width: 1099px) {
  .wp-block-acf-ccep-menu .ccep-menu__list {
    flex-wrap: wrap;
  }
}
.wp-block-acf-ccep-menu .ccep-menu__list > li {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  flex: 0 1 auto;
  /* key: equal-width tabs */
  min-width: 0;
  /* key: allow text to shrink/ellipsis */
}
.wp-block-acf-ccep-menu .ccep-menu__list > li:before {
  content: " ";
  background-image: none;
}
.wp-block-acf-ccep-menu .ccep-menu__list > li > a {
  display: flex;
  align-items: center;
  padding: 16px 16px;
  line-height: 1;
  text-decoration: none;
  font-family: "rooney-sans", calibri, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  background: transparent;
  width: 100%;
  justify-content: center;
  padding: 16px 16px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  background: #479697;
  /* solid fill so gap shows as line */
  transition: background-color 160ms ease, color 160ms ease;
}
.wp-block-acf-ccep-menu .ccep-menu__list > li > a:hover,
.wp-block-acf-ccep-menu .ccep-menu__list > li > a:focus-visible {
  background: #3a777b;
  outline: none;
}
.wp-block-acf-ccep-menu .ccep-menu__list > li.current-menu-item > a,
.wp-block-acf-ccep-menu .ccep-menu__list > li.current-menu-ancestor > a {
  background: #64C0C1;
  color: #ffffff;
}
@media (max-width: 600px) {
  .wp-block-acf-ccep-menu .ccep-menu__list > li > a {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
}
