/* Transcription languages on the homepage. */
.transcription-panel {
  --language-text: #15354b;
  box-sizing: border-box;
  width: min(calc(100% - 2rem), 64rem);
  margin: clamp(1.75rem, 3.5vw, 2.75rem) auto 0;
  padding: clamp(1.25rem, 2.8vw, 2.25rem) clamp(1rem, 3.5vw, 2.75rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.75rem;
  border: 1px solid #d6e4ef;
  border-radius: 1.25rem;
  background: #edf4fa;
  color: var(--language-text);
}
.transcription-panel__title {
  margin: 0;
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: -.035em;
}
.transcription-flags {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: clamp(.45rem, 1.35vw, 1.25rem);
  row-gap: 1.125rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.transcription-panel > .transcription-flags {
  flex: 0 0 30rem;
}
.transcription-flags > li {
  box-sizing: border-box;
  display: flex;
  flex: 0 0 max(4.625rem, 13%);
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  margin: 0;
  padding: 0;
  color: #15354b;
  text-align: center;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.15;
}
.transcription-flags img {
  display: block;
  inline-size: auto;
  block-size: 2rem;
  border: 1px solid rgb(19 53 77 / 15%);
  border-radius: .3rem;
  box-shadow: 0 2px 5px rgb(19 53 77 / 12%);
}
.transcription-flags small {
  color: #365c7b;
  font-size: .6875rem;
  font-weight: 500;
  white-space: nowrap;
}
@media (max-width: 920px) {
  .transcription-panel {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .transcription-panel > .transcription-flags {
    flex-basis: auto;
    width: 100%;
  }
}
@media (max-width: 490px) {
  .transcription-flags {
    justify-content: center;
    max-width: 16rem;
    margin-inline: auto;
  }
  .transcription-panel {
    gap: 1.125rem;
  }
}

/* Compact language list within the meetings article. */
.transcription-panel--meeting {
  width: min(100%, 64rem);
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
  padding: clamp(1rem, 2vw, 1.5rem) 0;
  border: 0;
  border-top: 1px solid #d6e4ef;
  border-radius: 0;
  background: transparent;
  scroll-margin-top: 11rem;
}
.transcription-panel--meeting .transcription-panel__title {
  font-size: clamp(1.25rem, 2.1vw, 1.625rem);
}
