:root {
  /* Volt Color Palette */
  --volt-light-teal: #ccf2fa;
  --volt-medium-teal: #80def0;
  --volt-primary-teal: #00bfde;
  --volt-dark-teal: #003d54;

  /* Abbott Color Overrides */
  --abbott-md-blue: var(--volt-dark-teal);
  /* --abbott-purple: var(--volt-primary-teal); */

  --button-bg-color: var(--volt-medium-teal);
  --button-color: var(--volt-dark-teal);

  /* Volt Fonts */
}

header,
.logo-header {
  background-color: var(--volt-primary-teal);
}

.tpw-panel h4 {
  color: var(--volt-dark-teal);
}

/* headshots */

.speaker-grid {
  grid-area: speakers;
  display: grid;
  /* grid-template-columns: 1fr 1fr; */
  grid-template-columns: repeat(auto-fit, minmax(min(260px, calc(50% - 20px)), 1fr));
  gap: 30px;
  margin: 0px auto auto;
  width: 100%;

  @media (width < 540px) {
    --speakerCol: 125px;
  }

  & > figure {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "headshot";
    position: relative;
    align-items: end;
    padding: 0;
    width: 100%;
    max-width: 320px;
    margin-bottom: 0;

    @media (width < 540px) {
      max-width: 125px;
    }
  }

  & > figure > * {
    grid-area: headshot;
  }

  & > figure > img {
    /* border-radius: 10px;
    border-top-left-radius: 0; */
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
  }

  & .caption-overlay {
    /* border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px; */
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    color: #ffffff;
    background-color: var(--volt-dark-teal);
    font-size: 13px;
    line-height: 1.2;
    text-align: left;
    padding-block: 6px;
    padding-inline-start: 1rem;
    margin-top: auto;
    height: auto;

    @media (width < 540px) {
      font-size: 11px;
    }
  }

  .caption-overlay strong {
    font-weight: 500;
  }
}

.side-button a:hover, .button:not(.flickity-button):hover, .mktoForm .mktoButtonWrap.mktoSimple .mktoButton:hover {
  --button-color: var(--volt-dark-teal);
  border-color: var(--button-color);
}

a:hover {
  text-decoration: underline;
}