/* 0926v3 homepage-only visual corrections. Keep the full WAICY image visible. */
.hero-panel[data-kind="waicy"] .hero-art img {
  width: auto;
  height: auto;
  max-width: 57%;
  max-height: 43%;
  background: transparent;
}

/* Match the image's intrinsic 1229 × 820 ratio at phone sizes as well. */
@media (max-width: 600px) {
  .hero-panel[data-kind="waicy"] .hero-art img {
    max-width: 88%;
    max-height: 35%;
  }
}

@media (max-height: 600px) {
  .hero-panel[data-kind="waicy"] .hero-art img {
    max-width: 48%;
    max-height: 38%;
  }
}

@media (max-width: 1100px) and (orientation: portrait) {
  .hero-panel[data-kind="waicy"] .hero-art img {
    max-width: 88%;
    max-height: 58%;
  }

  #home:has(.hero-panel[data-kind="training"].active) #slide-link {
    color: #fff;
    background: rgb(17 38 31 / 78%);
    border-radius: 4px;
    padding: .04em .22em .1em;
    text-shadow: 0 1px 2px rgb(0 0 0 / 85%);
  }
}

#home:has(.hero-panel[data-kind="training"].active) #slide-link {
  color: #fff;
  text-shadow: 0 1px 3px rgb(0 0 0 / 90%), 0 4px 16px rgb(0 0 0 / 58%);
}
