#awards-grid-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

#awards__filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  grid-column: 1/-1;
}

#awards__filter > * {
  margin: 0;
}

#awards__filter select {
  width: fit-content;
  padding: 0.5rem 3rem 0.5rem 0.5rem;
  height: auto;
}

.award {
  box-shadow: 0 0 10px rgb(0 0 0 / 10%);
  border-radius: 3px;
  cursor: pointer;
}

.award__image {
  grid-row-start: 1;
  grid-column-start: 1;
  background: radial-gradient(#f1f1f1 50%, #c9c9c9);
}

.award__image div {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.award__image div img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  border-radius: 3px 3px 0 0;
}

.award__content {
  display: grid;
  grid-template-rows: repeat(3, auto);
}

span.award__year {
  grid-row-start: 1;
  grid-column-start: 1;
  z-index: 1;
  background: gold;
  align-self: flex-start;
  transform: translate(-5px, -5px);
  width: fit-content;
  padding: 0.25rem 0.5rem;
  font-size: 0.85rem;
  font-weight: bold;
}

.award__title {
  padding: 1rem;
}

#content-wrap .award__title h4,
.award__title h4 {
  display: block;
  color: #000;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

.award__title h4:hover {
  text-decoration: underline;
}

span.award__month {
  font-size: 0.75rem;
  color: #767676;
  margin-block-end: 0.25rem;
  display: block;
  font-weight: bold;
}
#awards__modal {
  display: grid;
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  grid-template-columns: minmax(1rem, auto) minmax(0, 800px) minmax(1rem, auto);
  grid-template-rows: 1rem 2rem 1rem 1fr 1rem;
  backdrop-filter: blur(5px);
}

.awards__modal-bg {
  background: rgba(0, 0, 0, 0.5);
  grid-column: 1/-1;
  grid-row: 1/-1;
}

.awards__modal-close-btn {
  grid-column: 1/-1;
  grid-row: 2;
  display: flex;
  justify-content: end;
  padding: 0 1rem 0 0;
}

.awards__modal-close-btn button {
  margin: 0;
  background: #333333;
  padding: 0;
  width: 2rem;
  display: grid;
  justify-content: center;
  align-items: center;
  border-radius: 2px;
}

.awards__modal-close-btn button:hover {
  background: #262626;
}

.awards__modal-close-btn button::before,
.awards__modal-close-btn button::after {
  content: "";
  display: block;
  width: 2px;
  height: 1rem;
  background: #fff;
  grid-column: 1;
  grid-row: 1;
}

.awards__modal-close-btn button::before {
  transform: rotate(45deg);
}

.awards__modal-close-btn button::after {
  transform: rotate(-45deg);
}

.awards__modal-content {
  grid-column: 2;
  align-self: center;
  grid-row: 4;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 3px 6px #0000004a;
  max-height: 600px;
  overflow-y: scroll;
}

.awards__modal-content::-webkit-scrollbar {
  display: none;
}

#awards__modal.award__hidden,
.award__hidden {
  display: none;
}

.award_details_header {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.award_details_ribbon {
  flex: 0 0 40px;
}

.award_details_title {
  flex: 1 0 250px;
}

#content-wrap .award_details_title h1,
.award_details_title h1 {
  margin: 0 0 0.5rem;
}

.award_details_body {
  display: flex;
  gap: 1rem;
  flex-direction: column;
}

.award_details_image img {
  display: block;
  max-width: 200px;
  height: auto;
  float: none;
  margin: 0 auto 2rem;
}

.award_details_description {
  flex: 1 0 300px;
}

@media screen and (min-width: 641px) {
  .award_details_body {
    flex-direction: row;
  }

  .award_details_image {
    flex: 0 0 200px;
  }

  .award_details_description {
    flex: 1 0 250px;
  }
}