/* V34 local-preview override: compact, balanced certificate and award pair.
   Load this file after v30-honors.css. Keeps V26 radio selection and V28 JS rotation intact. */
.v30-honors {
  --honor-ink: #25343a;
  --honor-muted: #68777d;
  --honor-red: #ad3439;
  --honor-line: #e2e5e4;
  --honor-stage: #f5f4f0;
  margin-top: clamp(34px, 5vw, 64px);
  padding-bottom: clamp(28px, 4vw, 48px);
}

.v30-honors-heading {
  margin-bottom: clamp(14px, 2vw, 22px);
}

.v30-honors-heading h3 {
  color: var(--honor-ink);
}

.v30-honors-heading p {
  color: var(--honor-muted);
}

.v30-honors-switcher {
  gap: clamp(12px, 1.8vw, 22px);
  padding: clamp(14px, 2vw, 24px);
  border: 1px solid var(--honor-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 34px rgb(31 42 46 / 6%);
}

.v30-honors-picker {
  gap: 8px;
}

.v30-honors-picker label {
  min-height: 48px;
  padding: 8px 10px;
  border-bottom: 2px solid var(--honor-line);
  color: var(--honor-muted);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.v30-honors-picker label:hover {
  background: #faf8f5;
}

#v26-honor-1:checked ~ .v30-honors-picker label[for="v26-honor-1"],
#v26-honor-2:checked ~ .v30-honors-picker label[for="v26-honor-2"],
#v26-honor-3:checked ~ .v30-honors-picker label[for="v26-honor-3"],
#v26-honor-4:checked ~ .v30-honors-picker label[for="v26-honor-4"] {
  border-bottom-color: var(--honor-red);
  color: var(--honor-red);
}

.v30-honors-gallery {
  min-height: 0;
  padding: clamp(10px, 1.5vw, 18px);
  border: 1px solid var(--honor-line);
  border-radius: 8px;
  background: #f7f7f5;
}

.v30-honors-slide {
  width: 100%;
  align-items: start;
  gap: clamp(10px, 1.6vw, 18px);
}

.v30-honor-item {
  min-height: 0;
  min-width: 0;
  grid-template-rows: auto auto;
  gap: 8px;
  margin: 0;
  padding: clamp(8px, 1.1vw, 14px);
  border: 1px solid var(--honor-line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 5px 18px rgb(31 42 46 / 5%);
}

.v30-honor-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: var(--honor-stage);
}

.v30-honor-item figcaption,
.v30-honor-item > figcaption {
  min-height: 1.4em;
  color: var(--honor-muted);
  font-size: 13px;
  line-height: 1.4;
}

.v30-honors-note {
  color: var(--honor-muted);
}

@media (max-width: 760px) {
  .v30-honors {
    margin-top: 32px;
  }

  .v30-honors-switcher {
    gap: 12px;
    padding: 10px;
    border: 1px solid var(--honor-line);
    border-radius: 8px;
  }

  .v30-honors-picker {
    display: flex;
    gap: 7px;
    padding: 0 1px 7px;
  }

  .v30-honors-picker label {
    min-width: 132px;
    min-height: 42px;
    padding: 7px 9px;
    white-space: normal;
    scroll-snap-align: start;
  }

  .v30-honors-picker label b {
    font-size: 12px;
    line-height: 1.35;
  }

  .v30-honors-gallery {
    min-height: 0;
    padding: 8px;
  }

  .v30-honors-slide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .v30-honor-item {
    padding: 6px;
    gap: 6px;
  }

  .v30-honor-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
  }

  .v30-honor-item figcaption,
  .v30-honor-item > figcaption {
    font-size: 12px;
  }

  .v30-honors-note {
    margin-top: 7px;
  }
}

@media (max-width: 360px) {
  .v30-honors-slide {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .v30-honors-slide {
    animation: none;
  }
}

/* Natural rectangular proportions keep certificate lettering and stamps undistorted. */
.v30-honor-item { display:flex; flex-direction:column; align-items:stretch; }
.v30-honor-item .v34-perspective { position:relative; overflow:hidden; width:100%; aspect-ratio:1.52; background:#f7f5ef; }
.v30-honor-item .v34-perspective.v34-plaque { aspect-ratio:1.32; }
.v30-honor-item .v34-perspective img { display:block; width:100%; height:100%; aspect-ratio:auto; object-fit:contain; object-position:center; filter:brightness(.98) contrast(1.03); }
.v30-honor-item .v34-perspective.v34-ready img { position:absolute; left:0; top:0; max-width:none; height:auto; object-fit:fill; transform-origin:0 0; }
@media (max-width:760px) { .v30-honors-slide { grid-template-columns:minmax(0,1fr); } .v30-honor-item { height:auto; } }
