@import "theme_colors_and_fonts.css";
/* * * * * * * * * * 
/* SCSS VARIABLES  */
/* ~~~~~~~~~~~~~~~~*/
/* Fonts */
/* Other variables */
:root {
  --red: #D2232A;
  --dark-blue: #304F6F;
  --light-blue: #5E97BA;
  --lightest-blue: #D4EFFF;
  --gray: #F4F4F4;
  --black: #323232;
  --white: #FFFFFF;
  --wp--style--block-gap: $padding;
  --extramargin: calc((100vw - 70rem) / 2);
}
/* Mixins */
/* ~~~~~~~~~~~~~~~~*/
/* END VARIABLES   *
 * * * * * * * * * */
/* ~~~~~~~~~~~~~~~~*/
/* END VARIABLES   *
 * * * * * * * * * */
/* * * * * * * * * * 
 * GLOBAL          */
/* ~~~~~~~~~~~~~~~~*/
body {
  font-family: "lato", sans-serif;
  color: var(--black);
}
.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;
  max-width: 100rem;
  padding: var(--wp--preset--spacing--med);
}
#masthead .site-branding {
  margin-right: 2rem;
}
#masthead .site-branding img {
  max-width: 20rem;
}
#masthead .main-navigation ul {
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}
#masthead .main-navigation ul li a {
  color: var(--black);
  font-family: "lato", sans-serif;
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  transition: all 200ms ease-out;
  display: block;
  padding: 0.75rem 0.25rem;
  transition: all 300ms ease-in-out;
}
#masthead .main-navigation ul li a:hover {
  color: var(--dark-blue);
  text-decoration-color: var(--red);
}
#masthead .main-navigation ul li.donate a {
  background: linear-gradient(to right, var(--white) 50%, var(--dark-blue) 50%);
  background-color: var(--dark-blue);
  border: 2px solid var(--dark-blue);
  color: var(--white);
  text-decoration: none;
  border-radius: 9999px;
  font-size: 1em;
  font-weight: 500;
  padding: 0.4em var(--wp--preset--spacing--sm);
  text-transform: uppercase;
  transition: all 0.3s ease-out;
  background-position: right center;
  background-size: 202%;
}
#masthead .main-navigation ul li.donate a:hover {
  color: var(--dark-blue) !important;
  border-color: var(--dark-blue);
  background-position: left center;
}
#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;
  z-index: 2;
}
#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: 45%;
  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;
  min-width: 240px;
  width: 100%;
  background-color: var(--white);
  border: 1px solid var(--dark-blue);
}
#masthead .main-navigation ul li.menu-item-has-children > .sub-menu a {
  color: var(--dark-blue);
  padding: 0.75rem 1rem;
}
#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      *
 * * * * * * * * * */
/* ~~~~~~~~~~~~~~~~~~*/
/* END TYPOGRAPHY    *
 * * * * * * * * * * */
/* * * * * * * * * * *
 * BLOCK STYLES      */
/* ~~~~~~~~~~~~~~~~~~*/
/* Columns */
.is-style-container {
  max-width: 70rem;
  margin: 0 auto;
  padding: var(--wp--preset--spacing--lg) var(--wp--preset--spacing--med);
}
.is-style-no-gap {
  gap: 0;
}
.wp-block-columns {
  margin-bottom: 0;
}
/* ~~~~~~~~~~~~~~~~~~*/
/* END BLOCK STYLES  *
 * * * * * * * * * * */
/* * * * * * * * * * *
 * mdIA QUERIES     */
/* ~~~~~~~~~~~~~~~~~~*/
@media screen and (max-width: 75rem) {
  #masthead .is-style-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--wp--preset--spacing--med);
  }
  #masthead #primary-menu {
    justify-content: center;
  }
}
@media screen and (max-width: 58.125rem) {
  #masthead:has(.toggled) {
    padding-bottom: 10rem;
  }
  #masthead:has(.toggled) > .is-style-container {
    position: relative;
    top: 0;
    left: 0;
    width: 100vw;
  }
  #masthead .is-style-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  #masthead .is-style-container .site-branding img {
    max-width: 30vw;
    min-width: 200px;
  }
  #masthead .main-navigation #primary-menu {
    position: fixed;
    width: 100vw;
    height: 70vh;
    overflow-y: scroll;
    transform: translateX(100%);
    transition: transform 0.5s ease;
    left: 0;
    right: 0;
    margin-top: var(--wp--preset--spacing--med);
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    z-index: 10;
  }
  #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--med);
    background: #fff;
    box-shadow: -2px 0px 6px rgba(0, 0, 0, 0.2);
  }
  #masthead .menu-toggle {
    border-radius: 9999px;
    font-size: 1em;
    font-weight: 500;
    padding: 0.4em var(--wp--preset--spacing--sm);
    text-transform: uppercase;
    transition: all 0.3s ease-out;
    background-position: right center;
    background-size: 202%;
    margin-right: 0;
    margin-left: auto;
    color: transparent;
    font-size: 0;
    width: 2rem;
    height: 2rem;
    padding: 0;
    overflow: hidden;
    background-color: #fff;
    border: none;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
  }
  #masthead .menu-toggle[aria-expanded="false"] {
    background-image: url(assets/images/menu.svg);
  }
  #masthead .menu-toggle[aria-expanded="true"] {
    background-image: url(assets/images/close.svg);
  }
}
/* Ken maddy page */
@media screen and (max-width: 1200px) {
  .page-id-422 .entry-content > .wp-block-cover .title-group {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 100%;
  }
  .page-id-422 .wp-block-spacer {
    display: none !important;
  }
  .page-id-422 .wp-block-cover {
    flex-direction: column !important;
    gap: 0 !important;
    min-height: unset !important;
    padding: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .page-id-422 .wp-block-cover__inner-container > .wp-block-group {
    margin-top: 0;
  }
  .page-id-422 .wp-block-cover > img {
    position: relative !important;
    display: block !important;
    z-index: 1 !important;
  }
  .page-id-422 .wp-block-cover .wp-block-group {
    width: 100%;
    max-width: 100%;
  }
}
@media screen and (max-width: 700px) {
  .page-id-422 .entry-content > .wp-block-cover .title-group {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 100%;
  }
  .page-id-422 .entry-content > .wp-block-cover .title-group h1 {
    font-size: 1.5rem !important;
  }
  .page-id-422 .entry-content > .wp-block-cover:has(.title-group) > img {
    min-height: 80vh;
    object-fit: cover;
    object-position: bottom right;
  }
}
/* ~~~~~~~~~~~~~~~~~~*/
/* END mdIA QUERIES *
 * * * * * * * * * * */
