@import "theme_colors_and_fonts.css";
/* ............................... */
/* ~~~ SCSS VARIABLES ~~~ */
/* ............................... */
/* + + + + + style + + + + + */
/* + + + + + spacing + + + + + */
:root {
  --max-width: $maxwidth;
}
/* Mixins */
/* ~~~~~~~~~~~~~~~~*/
/* END VARIABLES   *
 * * * * * * * * * */
/* * * * * * * * * * 
 * GLOBAL          */
/* ~~~~~~~~~~~~~~~~*/
body {
  font-family: "montserrat", sans-serif;
}
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
  color: transparent;
}
/* Header */
#masthead .is-style-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#masthead .site-branding {
  margin-right: 2rem;
}
#masthead .main-navigation ul {
  list-style-type: none;
  display: flex;
  gap: 1rem;
}
#masthead .main-navigation ul li a {
  display: block;
  padding: 1rem;
}
#masthead .main-navigation ul li.menu-item-has-children {
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-auto-rows: max-content;
  position: relative;
  justify-content: flex-start;
  align-items: center;
}
#masthead .main-navigation ul li.menu-item-has-children > a {
  grid-column: 1/2;
  grid-row: 1/2;
}
#masthead .main-navigation ul li.menu-item-has-children > .subMenuToggleBtn {
  grid-column: 2/3;
  grid-row: 1/2;
  width: 1.25rem;
  height: 1.25rem;
  background-image: url("assets/images/chevron-down.svg");
  background-color: transparent;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
  cursor: pointer;
}
#masthead .main-navigation ul li.menu-item-has-children > .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
}
#masthead .main-navigation ul li.menu-item-has-children.open > .sub-menu, #masthead .main-navigation ul li.menu-item-has-children:hover > .sub-menu {
  display: block;
}
#masthead .main-navigation ul li.menu-item-has-children.open > .subMenuToggleBtn, #masthead .main-navigation ul li.menu-item-has-children:hover > .subMenuToggleBtn {
  transform: rotate(180deg);
}
#masthead .main-navigation ul li.menu-item-has-children:not(.open):not(:hover) > .sub-menu {
  display: none;
}
/* ~~~~~~~~~~~~~~~~*/
/* END GLOBAL      *
 * * * * * * * * * */
/* * * * * * * * * * 
 * TYPOGRAPHY      */
/* ~~~~~~~~~~~~~~~~*/
h1, h2, h3 {
  font-family: "acumin-variable", serif;
  font-weight: 400;
}
/* ~~~~~~~~~~~~~~~~~~*/
/* END TYPOGRAPHY    *
 * * * * * * * * * * */
/* * * * * * * * * * *
 * BLOCK STYLES      */
/* ~~~~~~~~~~~~~~~~~~*/
/* Buttons */
.is-style-fill .wp-block-button__link {
  border-radius: 0;
  padding: 1rem 2rem;
  text-transform: uppercase;
}
/* Columns */
.is-style-container {
  max-width: 76rem;
  margin: 0 auto;
  padding: var(--wp--preset--spacing--xs);
}
.is-style-no-gap {
  gap: 0;
}
.wp-block-columns {
  margin-bottom: 0;
}
/* ~~~~~~~~~~~~~~~~~~*/
/* END BLOCK STYLES  *
 * * * * * * * * * * */
/* animations */
@keyframes slideUp {
  0% {
    transform: translateY(100%);
  }
  33% {
    transform: translateY(0%);
  }
  66% {
    transform: translateY(3%);
  }
  100% {
    transform: translateY(1%);
  }
}
.is-style-orange-border-bottom figure {
  --lines-svg: url("assets/images/newlines.svg");
  max-width: fit-content;
  margin: 0 auto;
}
.is-style-orange-border-bottom figure::before {
  content: "";
  display: none;
}
.is-style-orange-border-bottom figure:has(.slideUp)::before {
  content: "";
  position: absolute;
  display: block;
  top: 21%;
  left: 8%;
  width: 10%;
  height: 15%;
  background-image: var(--lines-svg);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1);
}
@media screen and (prefers-reduced-motion: no-preference) {
  .is-style-orange-border-bottom, .is-style-pink-border-bottom {
    position: relative;
  }
  .is-style-orange-border-bottom figure, .is-style-pink-border-bottom figure {
    position: relative;
    overflow: hidden;
  }
  .is-style-orange-border-bottom img, .is-style-pink-border-bottom img {
    transform: translateY(100%);
  }
  .is-style-orange-border-bottom img.slideUp, .is-style-pink-border-bottom img.slideUp {
    animation: slideUp 0.5s ease-in-out 1 forwards;
  }
}
/* * * * * * * * * * *
 * MEDIA QUERIES     */
/* ~~~~~~~~~~~~~~~~~~*/
@media screen and (max-width: 50rem) {
  #masthead:has(.toggled) {
    padding-bottom: 10rem;
  }
  #masthead:has(.toggled) > .is-style-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
  }
  #masthead .is-style-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  #masthead .main-navigation #primary-menu {
    position: fixed;
    width: 100vw;
    transform: translateX(100%);
    transition: transform 0.5s ease;
    left: 0;
    right: 0;
    margin-top: var(--wp--preset--spacing--sm);
    flex-direction: column;
  }
  #masthead .main-navigation #primary-menu li.menu-item-has-children > .sub-menu {
    position: relative;
    top: 0;
    left: 0;
    grid-column: 1/4;
    grid-row: 2/3;
  }
  #masthead .main-navigation.toggled #primary-menu {
    transform: translateX(0%);
    padding: var(--wp--preset--spacing--sm);
    background: #fff;
    box-shadow: -2px 0px 6px rgba(0, 0, 0, 0.2);
  }
  #masthead .menu-toggle {
    border-radius: 0;
    padding: 1rem 2rem;
    text-transform: uppercase;
    margin-right: 0;
    margin-left: auto;
  }
}
/* ~~~~~~~~~~~~~~~~~~*/
/* END MEDIA QUERIES *
 * * * * * * * * * * */
