/* V26 certificate gallery: accessible native radio/label switching; no JS dependency. */
.v26-honors {
  margin-top: clamp(48px, 7vw, 88px);
  padding: 0 0 clamp(38px, 5vw, 64px);
}
.v26-honors-heading {
  max-width: 1120px;
  margin: 0 auto 22px;
  padding-top: clamp(22px, 3vw, 34px);
  border-top: 1px solid #e6e5e1;
}
.v26-honors-heading h3 {
  margin: 8px 0 5px;
  color: #263136;
  font-size: clamp(22px, 2.5vw, 32px);
  letter-spacing: -.025em;
}
.v26-honors-heading p {
  margin: 3px 0;
  color: #68747a;
  font-size: 14px;
  line-height: 1.65;
}
.v26-honors-switcher {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  grid-template-areas: "gallery picker";
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(14px, 2.2vw, 26px);
  border: 1px solid #e6e5e1;
  border-radius: 18px;
  background: linear-gradient(145deg, #fff 0%, #f7f6f2 100%);
  box-shadow: 0 18px 48px rgb(31 42 46 / 7%);
}
.v26-honors-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.v26-honors-picker {
  grid-area: picker;
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  align-content: start;
}
.v26-honors-picker label {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #e3e0d9;
  border-radius: 11px;
  background: #fff;
  color: #4d5b60;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.v26-honors-picker label:hover {
  border-color: #b94749;
  transform: translateY(-1px);
}
.v26-honors-picker label span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 50%;
  background: #f5e9e8;
  color: #9f363a;
  font-size: 12px;
  font-weight: 700;
}
.v26-honors-picker label b {
  font-size: 13px;
  line-height: 1.4;
}
#v26-honor-1:checked ~ .v26-honors-picker label[for="v26-honor-1"],
#v26-honor-2:checked ~ .v26-honors-picker label[for="v26-honor-2"],
#v26-honor-3:checked ~ .v26-honors-picker label[for="v26-honor-3"],
#v26-honor-4:checked ~ .v26-honors-picker label[for="v26-honor-4"] {
  border-color: #b94749;
  background: #fff8f7;
  color: #263136;
  box-shadow: 0 0 0 3px rgb(185 71 73 / 9%);
}
#v26-honor-1:checked ~ .v26-honors-picker label[for="v26-honor-1"] span,
#v26-honor-2:checked ~ .v26-honors-picker label[for="v26-honor-2"] span,
#v26-honor-3:checked ~ .v26-honors-picker label[for="v26-honor-3"] span,
#v26-honor-4:checked ~ .v26-honors-picker label[for="v26-honor-4"] span { background: #b94749; color: #fff; }
#v26-honor-1:focus-visible ~ .v26-honors-picker label[for="v26-honor-1"],
#v26-honor-2:focus-visible ~ .v26-honors-picker label[for="v26-honor-2"],
#v26-honor-3:focus-visible ~ .v26-honors-picker label[for="v26-honor-3"],
#v26-honor-4:focus-visible ~ .v26-honors-picker label[for="v26-honor-4"] {
  outline: 3px solid #c45152;
  outline-offset: 3px;
}
.v26-honors-gallery {
  grid-area: gallery;
  min-width: 0;
  min-height: 460px;
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px solid #e7e4dd;
  border-radius: 13px;
  background: #f3f1eb;
}
.v26-honors-slide {
  display: none;
  width: 100%;
  min-width: 0;
  margin: 0;
  justify-items: center;
  gap: 12px;
}
#v26-honor-1:checked ~ .v26-honors-gallery .v26-honors-slide-1,
#v26-honor-2:checked ~ .v26-honors-gallery .v26-honors-slide-2,
#v26-honor-3:checked ~ .v26-honors-gallery .v26-honors-slide-3,
#v26-honor-4:checked ~ .v26-honors-gallery .v26-honors-slide-4 { display: grid; }
.v26-honors-slide > a {
  display: grid;
  width: 100%;
  height: clamp(320px, 64vh, 680px);
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #ebe9e2;
}
.v26-honors-slide > a:focus-visible {
  outline: 3px solid #c45152;
  outline-offset: 3px;
}
.v26-honors-slide img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}
.v26-honors-rotate { transform: rotate(180deg); }
.v26-honors-slide figcaption {
  display: grid;
  width: 100%;
  gap: 4px;
  color: #68747a;
  font-size: 13px;
  line-height: 1.55;
}
.v26-honors-slide figcaption strong {
  color: #303a3e;
  font-size: 14px;
}
.v26-honors-disclaimer {
  max-width: 1120px;
  margin: 10px auto 0;
  color: #758087;
  font-size: 12px;
  line-height: 1.6;
}
@media (max-width: 760px) {
  .v26-honors { margin-top: 42px; }
  .v26-honors-heading { margin-bottom: 16px; }
  .v26-honors-switcher {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "gallery" "picker";
    gap: 12px;
    padding: 10px;
    border-radius: 14px;
  }
  .v26-honors-gallery { min-height: 0; padding: 8px; }
  .v26-honors-slide > a { height: min(58svh, 520px); min-height: 260px; }
  .v26-honors-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .v26-honors-picker label { min-height: 58px; gap: 7px; padding: 7px; }
  .v26-honors-picker label span { width: 29px; height: 29px; flex-basis: 29px; font-size: 11px; }
  .v26-honors-picker label b { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .v26-honors-picker label { transition: none; }
}

/* V27: show the certificate and its matching plaque from each supplied photo. */
.v27-honor-pair {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(200px, .72fr) minmax(0, 1.28fr);
  align-items: stretch;
  gap: 14px;
}
.v27-honor-pair > a {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 430px;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  background: #e9e5dc;
}
.v27-honor-pair > a > span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 8px 10px;
  border: 1px solid rgb(255 255 255 / 52%);
  border-radius: 7px;
  background: rgb(31 42 46 / 70%);
  color: #fff;
  font-size: 12px;
  text-align: center;
  opacity: .94;
}
.v26-honors-slide .v27-honor-portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.v27-honor-details {
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  min-width: 0;
  gap: 12px;
}
.v27-honor-details figure {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e3dfd5;
  border-radius: 9px;
  background: #f7f5ef;
}
.v27-honor-details img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #e9e5dc;
}
.v27-honor-details figcaption {
  padding: 7px 10px;
  color: #536067;
  font-size: 12px;
  line-height: 1.35;
}
.v27-honor-pair > a:focus-visible {
  outline: 3px solid #c45152;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .v27-honor-pair {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }
  .v27-honor-pair > a {
    min-height: 0;
    height: min(37svh, 330px);
  }
  .v27-honor-details {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 160px;
    gap: 8px;
  }
  .v27-honor-details figcaption { padding: 6px 8px; }
}
