.honor-gallery {
  display: block;
}
.honor-gallery.honor-enhanced {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.3fr);
}
.honor-story {
  order: -1;
  text-align: center;
  background: #edf0e4;
  padding: 32px 36px 25px;
  min-height: 495px;
}
.honor-story-label {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.honor-story-medal {
  width: 190px;
  height: 180px;
  margin: 8px auto;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse, #f5e8b7 0, #f5e8b700 68%);
}
.honor-story-medal img {
  width: 144px;
  height: 144px;
  filter: drop-shadow(0 7px 9px #5c69381c);
}
.honor-story h3 {
  font-size: 26px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.honor-story-copy {
  font: 19px/1.8 var(--serif);
  margin-top: 9px;
}
.honor-story-condition {
  padding-top: 19px;
  margin-top: 23px;
  border-top: 1px solid #d4dcc7;
}
.honor-story-condition > span {
  font-size: 10px;
  color: var(--green);
}
.honor-story-condition > p {
  font-size: 12px;
  line-height: 1.9;
  margin: 9px auto 0;
  max-width: 340px;
  color: var(--muted);
  min-height: 68px;
}
.honor-story-footer {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 13px;
}
.honor-selector {
  padding: 30px 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.honor-selector-intro {
  font: 18px/1.6 var(--serif);
}
.honor-selector-intro > span {
  display: block;
  margin-top: 5px;
  font: 10px/1.8 var(--sans);
  color: var(--muted);
}
.honor-collection {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px 8px;
  margin-top: 23px;
}
.honor-badge {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 15px 5px 13px;
  min-width: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  transition:
    background 180ms,
    border-color 180ms;
  touch-action: manipulation;
}
.honor-badge:nth-child(4) {
  grid-column: 2 / span 2;
}
.honor-badge:nth-child(5) {
  grid-column: 4 / span 2;
}
.honor-badge img {
  width: 86px;
  height: 86px;
  margin-bottom: 8px;
  transition: transform 250ms cubic-bezier(0.22, 0.85, 0.25, 1);
}
.honor-badge > span {
  font-size: 12px;
  line-height: 1.6;
}
.honor-badge > small {
  font-size: 9px;
  color: var(--muted);
}
.honor-badge[aria-pressed="true"] {
  background: #e8eede;
  border-color: #c7d4bd;
}
.honor-badge:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .honor-badge:hover img {
    transform: translateY(-6px) rotate(-3deg) scale(1.05);
  }
  .honor-badge:hover {
    background: #f0f3e8;
  }
  .honor-badge[aria-pressed="true"]:hover {
    background: #e3ebd7;
  }
}
.honor-badge:active img {
  transform: scale(0.95);
  transition-duration: 90ms;
}
.honor-selector-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 24px;
  font-size: 11px;
  color: var(--muted);
}
.honor-selector-foot > span {
  font-size: 18px;
}
@media (max-width: 850px) {
  .honor-story {
    padding-inline: 22px;
    min-height: 510px;
  }
  .honor-selector {
    padding-inline: 15px;
  }
  .honor-selector-intro {
    font-size: 16px;
  }
  .honor-badge {
    padding-inline: 2px;
  }
  .honor-badge img {
    width: 69px;
    height: 69px;
  }
  .honor-badge > span {
    font-size: 11px;
  }
}
@media (max-width: 640px) {
  .honor-gallery.honor-enhanced {
    display: flex;
    flex-direction: column;
  }
  .honor-selector {
    padding: 24px 14px 18px;
  }
  .honor-selector-intro {
    text-align: center;
  }
  .honor-collection {
    margin-top: 18px;
    gap: 7px;
  }
  .honor-badge {
    padding: 12px 2px;
  }
  .honor-badge img {
    width: 68px;
    height: 68px;
    margin-bottom: 4px;
  }
  .honor-badge > span {
    font-size: 11px;
  }
  .honor-selector-foot {
    margin-top: 14px;
    padding-top: 12px;
    font-size: 10px;
  }
  .honor-story {
    order: 0;
    padding: 24px 22px;
    min-height: 465px;
    border-top: 1px solid var(--line);
  }
  .honor-story-medal {
    height: 155px;
    margin-block: 5px;
  }
  .honor-story-medal img {
    width: 128px;
    height: 128px;
  }
  .honor-story h3 {
    font-size: 24px;
  }
  .honor-story-copy {
    font-size: 18px;
  }
  .honor-story-condition > p {
    font-size: 12px;
    min-height: 69px;
  }
}
@media (max-width: 370px) {
  .honor-selector {
    padding-inline: 9px;
  }
  .honor-badge > span {
    font-size: 10px;
  }
  .honor-badge img {
    width: 60px;
    height: 60px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .honor-badge,
  .honor-badge img {
    transition: none;
  }
  .honor-badge:hover img,
  .honor-badge:active img {
    transform: none;
  }
}
