.explore-topics {
  padding: 84px 0 100px;
}
.explore-topics h2,
.explore-search h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.12;
}
.explore-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.explore-topic {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d7e3e6;
  border-radius: 5px;
  background: #fff;
  color: #536d7b;
  transition:
    border-color 0.18s,
    transform 0.18s,
    box-shadow 0.18s;
}
.explore-topic:hover {
  border-color: #9eb9c7;
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(39, 70, 89, 0.09);
}
.explore-topic:focus-visible,
.explore-browse-button:focus-visible {
  outline: 3px solid #d9ab4e;
  outline-offset: 3px;
}
.explore-topic img {
  display: block;
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.explore-topic:hover img {
  transform: scale(1.035);
}
.explore-topic > span {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 24px 26px;
}
.explore-topic strong {
  color: #31536c;
  font-size: 25px;
  line-height: 1.2;
}
.explore-topic span span {
  margin-top: 9px;
  font-size: 15px;
  line-height: 1.5;
}
.explore-topic b {
  margin-top: auto;
  padding-top: 22px;
  color: #2b739e;
  font-size: 14px;
}
.explore-search {
  padding: 83px 0 105px;
  background: #f4f7f8;
  border-top: 1px solid #e2eaed;
}
.explore-search-intro p {
  margin-top: 10px;
  color: var(--copy);
  font-size: 17px;
}
.explore-search .library-controls {
  margin: 29px 0 0;
}
.explore-search .library-controls input,
.explore-search .library-controls select {
  min-height: 50px;
}
.explore-search .library-controls select {
  appearance: none;
  padding-right: 40px;
  background-image:
    linear-gradient(45deg, transparent 50%, #526f7f 50%),
    linear-gradient(135deg, #526f7f 50%, transparent 50%);
  background-position:
    calc(100% - 19px) 50%,
    calc(100% - 14px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.explore-search .library-controls input:focus,
.explore-search .library-controls select:focus {
  outline: 2px solid #92b7cc;
  outline-offset: 1px;
}
.explore-browse-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  margin-top: 23px;
  padding: 12px 20px;
  border: 1px solid #315b78;
  border-radius: 4px;
  background: #315b78;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.explore-browse-button:hover {
  background: #254b68;
}
.explore-browse-button[hidden],
.explore-search .library-list[hidden] {
  display: none;
}
.explore-search .library-list {
  margin-top: 27px;
}
.explore-search .library-card {
  border-color: #d6e2e7;
}
.explore-search .library-card h2 {
  margin-bottom: 8px;
}
@media (max-width: 900px) {
  .explore-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .explore-topics {
    padding: 59px 0 69px;
  }
  .explore-topic-grid {
    grid-template-columns: 1fr;
    gap: 11px;
    margin-top: 23px;
  }
  .explore-topic {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 153px;
  }
  .explore-topic img {
    width: 112px;
    height: 100%;
    aspect-ratio: auto;
  }
  .explore-topic > span {
    padding: 16px 16px 17px;
  }
  .explore-topic strong {
    font-size: 20px;
  }
  .explore-topic span span {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.42;
  }
  .explore-topic b {
    padding-top: 9px;
    font-size: 12px;
  }
  .explore-search {
    padding: 61px 0 77px;
  }
  .explore-search .library-controls {
    margin-top: 23px;
  }
  .explore-browse-button {
    width: 100%;
  }
}
@media (max-width: 360px) {
  .explore-topic {
    grid-template-columns: 94px minmax(0, 1fr);
  }
  .explore-topic img {
    width: 94px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .explore-topic,
  .explore-topic img {
    transition: none;
  }
}
