
dt {
  margin-top: 10px;
}

dt::after {
  content: ""
}

article {
  margin-bottom: 40px;
  display: flex;
  flex-direction: row;
  
  .card {
    padding: 0.7em 1em;
    display: flex;
    flex-grow: 1;
    max-width: min(700px, calc(100vw - 340px));
    box-sizing: border-box;
  }
  
  .description {
    h2 {
      margin-bottom: 20px;
      margin-top: 0px;
    }
    flex-grow: 1;
  }
  .buttons {
    display: flex;
    flex-direction: column;
    justify-content: end;
  }
  
  .image-box {
    position: relative;
    width: 300px;
    min-height: 200px;
    display: flex;
    justify-content: end;
    img {
      position: absolute;
      left: 0px;
      object-fit: cover;
      object-position: center;
      width: 300px;
      height: 100%;
      min-height: 200px;
      &:has(+ .image-credit) {
        width: 290px;
      }
    }
  }

  &:nth-of-type(odd) .image-box {
    order: 1;
  }
}

.date {
  display: table;
  margin-bottom: -0.1em;
  font-weight: 300;
}
.location, dt {
  font-weight: 500;
}

#secondary-nav {
  display: flex;
  flex-direction: row;
  align-items: end;
  .nav-button {
    padding-right: 0px;
    text-align: right;
  }
}


@media screen and not (max-width: 640px) {

  article:nth-of-type(even) {
    .card {
      border-left: none;
      border-right: 3px solid var(--acc1);
    }
    .image-credit {
      background-color: var(--bg1);
    }
  }
  
}
@media screen and (max-width: 640px) {
  article {
    .image-box {
      display: none;
    }
    .card {
      max-width: unset;
    }
  }
}
