.wordmark-image{display:block;width:200px;max-width:100%;height:auto;flex:none}
.site-header .brand{display:inline-flex;align-items:center;gap:0;max-width:100%;margin-inline:-16px;line-height:0;text-decoration:none}
.site-header .site-identity{display:flex;align-items:center;gap:28px;min-width:0;width:100%}
.site-header .site-identity .brand{flex-shrink:0}
.course-identity{display:flex;flex-direction:column;gap:4px;min-width:0;padding-left:24px;border-left:1px solid var(--line);white-space:normal}
.course-identity-title{font-size:14px;font-weight:700;line-height:1.25;letter-spacing:1.1px;text-transform:uppercase;color:var(--ink)}
.course-identity-summary{max-width:400px;font-size:12px;line-height:1.5;color:var(--muted)}
.wordmark-link{display:inline-flex;align-items:center;max-width:100%;flex:0 0 auto;margin:-10px -12px;line-height:0;text-decoration:none}
.wordmark-link .wordmark-image{width:150px}
.site-header .brand:focus-visible,.wordmark-link:focus-visible{outline:3px solid var(--brand-focus);outline-offset:0}
@media(max-width:600px){.site-header .brand{margin-inline:-14px}.site-header .brand .wordmark-image{width:180px}}
@media(max-width:650px){.site-header .site-identity{flex-direction:column;align-items:flex-start;gap:0}.site-header .site-identity .brand{margin-block:-10px}.course-identity{gap:3px;max-width:100%;margin-top:3px;padding-left:0;border-left:0}.course-identity-title{font-size:13px;letter-spacing:1.2px}.course-identity-summary{max-width:100%;font-size:12px;line-height:1.5}}
@media(max-width:360px){.wordmark-link{margin-inline:-11px}.wordmark-link .wordmark-image{width:140px}}

.vocab-counter {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 12px;
  margin-inline-start: auto;
  padding: 7px 12px;
  border-inline-end: 3px solid var(--brand-highlight);
  background: var(--soft);
}
.vocab-counter[hidden] { display: none; }
.vocab-counter-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.vocab-counter-score {
  text-align: end;
  white-space: nowrap;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.standard-vocabulary {
  grid-column: 1 / -1;
  min-width: 0;
  margin-top: 20px;
  padding: 16px clamp(14px, 2.5vw, 28px);
  background: var(--soft);
  border-inline-start: 3px solid #91a8ec;
  scroll-margin-top: 20px;
}
.standard-vocabulary h4 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.45;
}
.standard-vocabulary ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 2px clamp(12px, 2vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.standard-vocabulary li {
  padding-block: 3px;
  font-size: .9375rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.standard-quiz {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.standard-quiz h5 {
  margin: 0 0 .75rem;
  font-size: 1rem;
}
.standard-quiz .wayground-logo { margin-bottom: .5rem; }
.standard-quiz a {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
  min-height: 44px;
  color: var(--ink);
  font-weight: 700;
  text-underline-offset: 3px;
}
@media(max-width:650px) {
  .site-header .site-identity {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 12px;
  }
  .site-identity .brand { grid-area: 1 / 1; justify-self: start; }
  .site-identity .course-identity { grid-area: 2 / 1 / 3 / -1; }
  .site-identity .vocab-counter { grid-area: 1 / 2; padding: 4px 8px; }
  .vocab-counter-label { font-size: 12px; }
  .vocab-counter-score { font-size: 17px; }
}
@media (max-width: 540px) {
  .site-header .site-identity .vocab-counter {
    grid-area: 3 / 1 / 4 / -1;
    justify-self: stretch;
    margin: 8px 0 0;
    padding: 6px 10px;
  }
}
