html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: white;
  font-family: var(--font);
  line-height: 1.5;
  color: black;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  color: var(--salmon);
}

h2 {
  font: bold 1.5rem var(--font);
  margin-bottom: 1rem;
}

.asw .has-white-background-color {
  color: black;
}

.asw .has-white-background-color a {
  color: var(--teal);
}

.asw .has-white-background-color a:hover {
  color: var(--salmon);
}

.asw .has-black-background-color {
  color: white;
}

.asw .has-black-background-color a {
  color: var(--mint);
}

.asw .has-black-background-color a:hover {
  color: var(--salmon);
}

.asw .has-teal-background-color {
  color: white;
}

.asw .has-teal-background-color a {
  color: var(--mint);
}

.asw .has-teal-background-color a:hover {
  color: var(--salmon);
}

.asw .has-mint-background-color {
  color: black;
}

.asw .has-mint-background-color a {
  color: var(--teal);
}

.asw .has-mint-background-color a:hover {
  color: var(--salmon);
}

.asw .has-salmon-background-color {
  color: white;
}

.asw .has-salmon-background-color a {
  color: black;
}

.asw .has-salmon-background-color a:hover {
  color: var(--mint);
}

.page-width {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--page);
  width: calc( 100% - 4rem );
}

.desktop-width {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--desktop);
  width: calc( 100% - 4rem );
}

header {
  background-color: var(--teal);
  position: relative;
  transition: background-color 250ms linear;
}

body.menu-active header {
  background-color: black;
}

.homepage-hero {
  position: relative;
  z-index: 1;
}

.homepage-hero-image.default {
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: contain;
  height: 100%;
  position: absolute;
  width: 100%;
}

@keyframes chesspiece-slide {
  0% {
    opacity: 0;
    translate: -3rem 0;
  }
  100% {
    opacity: 1;
    translate: 0 0;
  }
}

.homepage-hero-icon {
  animation: chesspiece-slide 1s linear;
  bottom: 0;
  position: absolute;
  right: 1rem;
  transition: opacity 250ms linear;
  z-index: 1;
}

.homepage-hero-icon img {
  height: 200px;
}

body.menu-active .homepage-hero-icon,
body.search-active .homepage-hero-icon {
  opacity: 0;
  z-index: -1;
}

.homepage-hero-content {
  max-height: 400px;
  overflow: hidden;
  position: relative;
  transition: max-height 250ms ease;
}

body.menu-active .homepage-hero-content,
body.search-active .homepage-hero-content {
  max-height: 0;
}

.homepage-hero-text {
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: 1fr;
  line-height: 1.25;
  padding-bottom: 3rem;
  padding-right: 100px;
}

a.button {
  background-color: var(--salmon);
  border: 1px solid var(--salmon);
  border-radius: 99px;
  color: white;
  display: table;
  padding: 0.25em 1em;
  text-transform: uppercase;
}

a.button:hover {
  background-color: black;
}

.homepage-hero-text a.button {
  background-color: var(--teal);
  border-color: black;
  color: black;
}

.homepage-hero-text a.button:hover {
  background-color: black;
  color: var(--teal);
}

.header-areas {
  align-items: center;
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: 1fr auto auto auto;
  grid-template-areas: 
    "logo contact search-toggle menu-toggle"
    "navigation navigation navigation navigation"
    "search search search search";
  padding-top: 2rem;
  position: relative;
  z-index: 3;
}

.header-areas .logo {
  grid-area: logo;
}

.header-areas .logo img {
  max-width: 250px;
  width: 100%;
}

.header-areas .contact-button {
  grid-area: contact;
}

.header-areas .contact-button a.button {
  background-color: transparent;
  border: 1px solid white;
}

.header-areas .contact-button a.button:hover {
  color: black;
  border-color: black;
}

.menu-active .header-areas .contact-button a.button:hover{
  color: var(--mint);
  border-color: var(--mint);
}

.toggle-icon {
  cursor: pointer;
}

.toggle-icon:hover {
  filter: invert(100%);
}

.menu-active .toggle-icon:hover {
  filter: invert(0%);
  opacity: 0.75;
}

.header-areas .search-toggle {
  grid-area: search-toggle;
}

.header-areas .menu-toggle {
  grid-area: menu-toggle;
}

.header-areas .navigation {
  grid-area: navigation;
  max-height: 0;
  overflow: hidden;
  position: relative;
  top: 0;
  transition: max-height 250ms ease;
  z-index: 2;
}

.header-areas .navigation > div {
  padding-bottom: 2rem;
}

body.menu-active .header-areas .navigation {
  max-height: 100vh;
  overflow: auto;
}

.toggle-icon span:before {
  background-size: contain;
  background-position: center;
  content: " ";
  display: block;
  height: 2rem;
  width: 2rem;
}

.search-toggle .toggle-icon span:before {
  background-image: url('../images/icon-search.svg');
}

.menu-toggle .toggle-icon span:before {
  background-image: url('../images/icon-menu-open.svg');
}

body.menu-active .menu-toggle .toggle-icon span:before {
  background-image: url('../images/icon-menu-close.svg');
}

.navigation ul {
  list-style-type: none;
  text-align: right;
}

.navigation a {
  color: white;
  font: normal 1.5rem/2 var(--font);
}

.navigation a:hover {
  color: var(--salmon);
}

.navigation .current-menu-item a {
  color: var(--mint);
}

.navigation .menu-item-has-children > a {
  color: var(--teal);
  display: flex;
  gap: 1rem;
  font-weight: 600;
  justify-content: flex-end;
}

.navigation .menu-item-has-children > a:after {
  content: "\25BE";
  display: block;
  opacity: 0.5;
  transition: all 250ms linear;
}

.navigation .menu-item-has-children.active > a:after {
  rotate: 180deg;
}

.navigation .sub-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 250ms ease;
}

.navigation li.active .sub-menu {
  max-height: 600px;
  overflow: auto;
}

.search-form-container {
  grid-area: search;
  max-height: 0;
  overflow: hidden;
  transition: max-height 250ms ease;
}

body.search-active .search-form-container {
  max-height: 300px;
  overflow: auto;
}

.search-form {
  padding-bottom: 2rem;
}

.search-form form {
  display: flex;
  width: 100%;
}

.search-form input {
  background-color: rgba(255,255,255,0.5);
  display: block;
  border: 1px solid white;
  font: normal 1rem var(--font);
  padding: 0.5rem;
}

.search-form input:focus {
  background-color: rgba(255,255,255,1);
  outline: none;
}

.search-form input.search-field {
  width: 100%;
}

.search-form .search-submit {
  background-color: var(--teal);
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
}

.search-form .search-submit:hover {
  background-color: var(--light-teal);
}

.homepage-hero-image-custom {
  background-size: cover;
  background-position: center;
  height: 100%;
  filter: grayscale(1);
  position: absolute;
  opacity: 0.25;
  top: 0;
  transition: opacity 250ms linear;
  width: 100%;
}

body.menu-active .homepage-hero-image-custom,
body.search-active .homepage-hero-image-custom {
  opacity: 0;
}

footer {
  background-color: black;
  display: block;
  min-height: 50px;
}

#footer-graphic {
  background: white url(../images/s64-footer-graphic-2.png) 1rem bottom no-repeat;
  background-size: cover;
  display: block;
  height: 25vw;
  width: 100%;
}

.footer-areas {
  color: white;
  margin: 0 auto;
  max-width: 800px;
  padding: 2rem 0;
  width: calc( 100% - 2rem );
}

.footer-areas ul {
  list-style-type: none;
}

.footer-areas ul.menu {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 2rem;
  width: 100%;
}

.footer-areas ul.menu > li > a {
  font-weight: bold;
}

.footer-areas ul.menu > li > a:hover {
  color: var(--teal);
}

.footer-areas .sub-menu a {
  color: white;
}

.footer-areas .sub-menu a:hover {
  color: var(--salmon);
}

footer .credit {
  font-size: 0.75rem;
  padding: 2rem 0;
  text-align: center;
}

.page-content section {
  margin-left: 50%;
  translate: -50% 0;
  width: 100vw;
}

.asw :where(.wp-block-group.has-background) {
  padding: 1rem;
}

.page-content section:where(.wp-block-group.has-background) {
  padding: 2rem;
}

section .wp-block-group {
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
}

.home main {
  margin-top: -5px;
}

.asw .wp-block-button__link {
  padding: 0.25rem 1rem;
  text-transform: uppercase;
}

.asw .wp-block-button__link {
  background-color: transparent;
  border: 1px solid black;
  color: black;
}

.asw .wp-block-button__link:hover {
  background-color: black;
  color: white;
}

.asw .wp-block-button__link.has-salmon-background-color {
  background-color: transparent;
  border: 1px solid var(--salmon);
  color: var(--salmon);
}

.asw .wp-block-button__link.has-salmon-background-color:hover {
  background-color: var(--salmon);
  color: black !important;
}

.asw .wp-block-button__link.has-teal-background-color {
  background-color: transparent;
  border: 1px solid var(--teal);
  color: var(--teal);
}

.asw .wp-block-button__link.has-teal-background-color:hover {
  background-color: var(--teal);
  color: black !important;
}

.asw .wp-block-button__link.has-mint-background-color {
  background-color: transparent;
  border: 1px solid var(--mint);
  color: var(--mint);
}

.asw .wp-block-button__link.has-mint-background-color:hover {
  background-color: var(--mint);
  color: black !important;
}

.asw .wp-block-button__link.has-black-background-color {
  background-color: transparent !important;
  border: 1px solid black;
  color: black !important;
}

.asw .wp-block-button__link.has-black-background-color:hover {
  background-color: black !important;
  color: white !important;
}

h3 {
  font: 300 1.5rem var(--font);
  margin-bottom: 1rem;
}

.wp-block-lazyblock-icon-cta {
  border-radius: 6px;
  height: 100%;
  overflow: hidden;
  position: relative;
}


.icon-cta {
  height: 100%;
  position: relative;
  z-index: 1;
}

.icon-cta .icon {
  margin: 0 auto;
  translate: 0 2rem;
  width: 6rem;
}

.icon-cta .cta-box {
  border-radius: 6px;
  padding: 2rem;
}

.icon-cta-backfill {
  bottom: 0;
  height: 50%;
  left: 0;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.icon-cta.style-b .icon {
  translate: 0;
}

.icon-cta .content ul,
.icon-cta .content ol {
  margin: 0.5rem;
}

.podcast-ctas {
  border-radius: 6px;
  padding: 1rem;
}

.podcast-ctas__logo {
  margin-top: -4rem;
}

.podcast-ctas__logo img {
  margin: 0 auto;
}

.podcast-ctas__summary {
  margin: 1rem auto;
  text-align: center;
}

.podcast-ctas__links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.podcast-ctas__links a:hover {
  opacity: 0.75;
}

.podcast-ctas__episodes {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 2rem;
  margin: 1rem auto;
}

.podcast-ctas__episodes h2 {
  font-size: 1rem;
  margin: 0 0 0.5rem 0;
}

.podcast-ctas__episodes h3 {
  font-size: 1rem;
}

.podcast-ctas__episodes a.button {
  background-color: black;
  border-color: black;
}

.podcast-ctas__episodes a.button:hover {
  background-color: var(--teal);
  border-color: var(--teal);
}

.logos-carousel {
  position: relative;
}

.logos-carousel .logo img {
  max-height: 50px;
  max-width: 125px;
}

.logos-carousel .slick-track {
  align-items: center;
  display: flex;
  gap: 2rem;
}

.logos-carousel button {
  background-color: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1.5em;
  font-weight: bold;
  position: absolute;
  top: 50%;
  translate: 0 -50%;
}

.logos-carousel button.slick-prev {
  left: -1rem;
}

.logos-carousel button.slick-next {
  right: -1rem;
}

.logos-carousel button:hover {
  color: var(--salmon);
}

.anchor-menu ul {
  list-style-type: none;
}

.anchor-menu li {
  margin-bottom: 1rem;
}

.anchor-menu li a {
  align-items: center;
  display: flex;
  gap: 1rem;
}

.anchor-menu img {
  max-width: 32px;
}

.page-content p {
  margin-bottom: 1rem;
}

.page-content ul,
.page-content ol {
  margin: 1rem 0 1rem 3rem;
}

.contact-form p {
  margin: 0;
}

.contact-form input, 
.contact-form textarea {
  border: 0;
  display: block;
  font: normal 1rem var(--font);
  margin-bottom: 0.5rem;
  opacity: 0.75;
  padding: 0.5rem;
  width: 100%;
}

.contact-form input:focus, 
.contact-form textarea:focus {
  opacity: 1;
  outline: none;
}

.contact-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.25em;
}

.contact-form br {
  display: none;
}

.contact-form .wpcf7-list-item {
  display: block;
  margin: 0;
}

.check-blocks input {
  display: none;
}

.check-blocks .wpcf7-list-item-label {
  border: 1px solid white;
  cursor: pointer;
  display: block;
  opacity: 0.5;
  padding: 0.5rem;
  text-align: center;
}

.check-blocks .wpcf7-list-item-label:hover {
  opacity: 0.75;
}

.check-blocks .wpcf7-checkbox {
  display: grid;
  grid-column-gap: 1rem;
}

.check-blocks input:checked ~ .wpcf7-list-item-label {
  opacity: 1;
}

.contact-form input[type=submit] {
  background-color: black;
  color: white;
  cursor: pointer;
  display: table;
  float: right;
  font-weight: 600;
  opacity: 1;
  padding: 0.5rem 2rem;
  text-transform: uppercase;
  width: auto;
}

.contact-form input[type=submit]:hover {
  background-color: var(--salmon);
}

.contact-form .cols-1-1 p {
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.contact-form .cols-2-1 p {
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: 1fr 33.33%;
}

.search-results ul {
  display: grid;
  grid-gap: 2rem;
  grid-template-columns: 1fr;
  list-style-type: none;
  margin: 2rem 0;
}

.search-results ul li {
  border: 1px solid var(--smoke);
  border-radius: 6px;
  display: block;
  padding: 1rem;
}

.search-results ul li:hover {
  border-color: black;
}

.search-results .excerpt {
  color: black;
}

.blog-index ul {
  display: grid;
  grid-row-gap: 2rem;
  grid-template-columns: 1fr;
  list-style-type: none;
  margin: 2rem 0;
}

.blog-index .timestamp {
  color: black;
  font-weight: bold;
}

.blog-index .excerpt {
  color: black;
  margin: 0.5rem 0;
}

.blog-index h2 {
  margin: 0;
}

.blog-link {
  display: table;
  margin: 0 auto;
  padding: 1rem 0 0 0;
}

.blog-index .blog-thumbnail {
  background-position: center;
  background-size: cover;
  border-radius: 6px;
  height: 0;
  padding-top: 50%;
  width: 100%;
}

.blog-index li a {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 1rem;
}

.blog-index .blog-intro {
  margin: 2rem auto;
  max-width: var(--page);
}

.read-more {
  font-size: 0.85rem;
  text-align: right;
}

.blog-meta ul {
  display: flex;
  color: white;
  gap: 1rem;
  list-style-type: none;
  justify-content: center;
  margin: 0 auto;
  padding-top: 1rem;
}

.blog-meta ul li:not(:last-of-type):after {
  color: var(--teal);
  content:
  " | ";
  margin-left: 1rem;
}

.blog-meta ul a {
  color: var(--mint);
}

.back-to-top-link {
  bottom: -5rem;
  opacity: 0.5;
  position: fixed;
  right: 1rem;
  transition: all 250ms linear;
}

.back-to-top-link:hover {
  opacity: 1;
}

.scrolled .back-to-top-link {
  bottom: 1rem;
}

.page-title {
    background-color: black;
    margin-left: 50%;
    translate: -50% 0;
    width: 100vw;
}

.page-title h1,
.page-title .section-title {
    color: white;
    font-size: 2rem;
    font-weight: 300;
    padding: 1rem;
    text-align: center;
    text-transform: uppercase;
}

.asw summary {
  font-size: 1.5em;
}

.bios-index h2 {
  margin: 2rem auto;
  text-align: center;
}

.headshot {
  background-position: center;
  background-size: cover;
  border-radius: 6px;
  height: 0;
  padding-top: 125%;
}

.bios-section.partners .bio-content {
  padding: 1rem;
}

.bios-section.partners .bios-grid {
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: 1fr;
}

.bios-section.partners .bio {
  background-color: var(--smoke);
}

.bios-section.associates {
  background-color: white;
  display: table;
  margin-top: 2rem;
  padding-bottom: 2rem;
  width: 100%;
}

.bios-section.associates .bios-grid {
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.bios-section.associates .bio {
  background-color: white;
}

.bios-section.associates h3 {
  display: block;
  font-size: 1.25rem;
  margin: 0.5rem 0 0 0;
  text-align: left;
}

.bios-section.associates h3 a {
  color: var(--teal);
  font-weight: bold;
}

.bios-section.associates h3 a:hover {
  color: var(--salmon);
}

.bios-section.associates h4 {
  display: block;
  font-weight: normal;
}

.bios-section.associates .read-more {
  display: block;
  padding: 0 0.5rem 0.5rem 0.5rem;
  text-align: center;
}

.careers-link {
  display: table;
  margin: 0 auto;
  padding: 1rem 0;
  text-align: center;
}

.careers-link  a {
  margin: 0 auto;
}

.bio-header {
  background-color: black;
  color: white;
  display: table;
  margin-left: 50%;
  padding-bottom: 100px;
  translate: -50% 0;
  width: 100vw;
}

.bio-header .content {
  margin: 1rem auto;
  max-width: var(--page);
  width: calc( 100% - 4rem );
}

.bio-links {
  display: flex;
  gap: 1rem;
  font-size: 2em;
  margin-top: 1rem;
}

.bio-header h1 {
  font: normal 2rem var(--font);
}

.bio-header h2 {
  margin: 0;
}

.bio-headshot {
  border-radius: 6px;
  margin: -100px auto 0 auto;
  max-width: 250px;
  overflow: hidden;
  position: relative;
}

.bio-single .bio-content {
  margin: 1rem 0 0 0;
}

.bios-index .editor-content {
  margin-top: 2rem;
}

.page-title .section-title {
  color: var(--teal);
  display: block;
}

.page-title .section-title:hover {
  color: var(--mint);
}

.blog-single h1 {
  margin-top: 2rem;
}

.icon-links ul {
  display: grid;
  grid-gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
  list-style-type: none;
  margin: 0;
  text-align: center;
}

.icon-links .label {
  font-weight: bold;
  line-height: 1;
}

.icon-links img {
  margin: 0 auto;
  max-width: 150px;
}

.pagination {
  align-items: center;
  display: flex;
  font-weight: bold;
  gap: 1rem;
  justify-content: center;
}

.pagination .page-numbers {
  background-color: black;
  border-radius: 99px;
  color: white;
  display: block;
  padding: 0 1rem;
  text-align: center;
}

.pagination a.page-numbers {
  background-color: var(--teal);
}

.pagination a.page-numbers:hover {
  opacity: 0.5;
}

@media screen and ( max-width: 767px ) {
  .page-content {
    font-size: 1.25rem;
  }
}