img {
  max-width: 100%;
  height: auto;
}

h1 {
  font-size: 2.5em;
  margin: 0 0 0.5em 0;
  line-height: 1.3;
}

h2 {
  font-size: 1.75em;
}

h3 {
  font-size: 1.25em;
}

h4 {
  font-size: 1.1em;
}

h5 {
  font-size: 0.9em;
}

h6 {
  font-size: 0.7em;
}

h1 {
  color: #2e3842;
}

a {
  color: #C54E00;
}

a:hover {
  color: #F27224;
}

input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover, button:hover, .button:hover {
  color: #ffffff;
}

#menu ul > li > a {
  color: #1C1C1C;
}

#menu .close {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiMxQzFDMUMiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48bGluZSB4MT0iMTgiIHkxPSI2IiB4Mj0iNiIgeTI9IjE4Ij48L2xpbmU+PGxpbmUgeDE9IjYiIHkxPSI2IiB4Mj0iMTgiIHkyPSIxOCI+PC9saW5lPjwvc3ZnPg==");
}

#banner:after {
  background: #000000;
  opacity: 0.4;
  -moz-transition-delay: 0.25s;
  -webkit-transition-delay: 0.25s;
  -ms-transition-delay: 0.25s;
  transition-delay: 0.25s;    
}

#banner .more {
  -moz-transition-delay: 2.0s;
  -webkit-transition-delay: 2.0s;
  -ms-transition-delay: 2.0s;
  transition-delay: 2.0s;
}

#main.secondary-header {
  position: relative;
}


#main.secondary-header:after {
  background: #000000;
  opacity: 0.4;  
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;  
}

#main.secondary-header > header h2 {
  position: relative;
  z-index: 1;
}

#main.secondary-header > header p {
  position: relative;
  z-index: 1;
}  

#footer .icons a {
    color: #E0E4E8;
}

#cta {
  position: relative;
}

#cta:after {
    background: #000000;
    opacity: 0.4;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;    
}

.homepage-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 60rem;
  margin: auto;  
  color: #fff;
  position: relative;
  z-index: 1;
  opacity: 1;  
}

#banner p {
  -moz-transform: scale(1);
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  -moz-transition:
    -moz-transform 0.5s ease,
    opacity 0.5s ease;
  -webkit-transition:
    -webkit-transform 0.5s ease,
    opacity 0.5s ease;
  -ms-transition:
    -ms-transform 0.5s ease,
    opacity 0.5s ease;
  transition:
    transform 0.5s ease,
    opacity 0.5s ease; 
  position: relative;
  z-index: 1;
  opacity: 1;
}

body.is-preload #banner p {
  -moz-transform: scale(0.95);
  -webkit-transform: scale(0.95);
  -ms-transform: scale(0.95);
  transform: scale(0.95);
  opacity: 0;
}

@media screen and (max-width: 736px) {
  h1 {
    font-size: 2em;
    line-height: 1.4;
  }
  h2 {
    font-size: 1.5em;
  }
}

/* Mobile first: stacked by default */
.grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* Desktop: snaps into 2 even columns at 768px wide */
@media (min-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-prevnext {
  max-width: 60rem;
  margin: 0 auto;
  padding-top: 1rem;
}
.blog-prevnext .items {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1rem;
  flex-direction: column;
  align-items: center;  

  @media (min-width: 480px) {
    flex-direction: row;
  }  
}

.blog-prevnext .items .button {
  width: 12rem;
}
.small-font {
  font-size: 0.75rem;
}

input[type="submit"].secondary,
input[type="reset"].secondary,
input[type="button"].secondary,
button.secondary,
.button.secondary {
  background-color: #fff;
  border: 1px solid #ee8b34;
  box-shadow: none !important;
  color: #ee8b34 !important;
}

input[type="submit"].secondary:hover,
input[type="reset"].secondary:hover,
input[type="button"].secondary:hover,
button.secondary:hover,
.button.secondary:hover {
  background-color: #fee0c6 !important;
}
