/* Show the service and booking action before the illustration on a stacked first screen. */
@media (max-width: 1040px) {
  .eye-test-page .hero > .test-board {
    order: 0;
  }
}

/* Long words in the progressive lens heading must fit the narrowest grid track. */
@media (max-width: 560px) {
  .progressive-page .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .progressive-page .hero h1 {
    font-size: clamp(30px, 10vw, 52px);
    overflow-wrap: anywhere;
  }
}

/* Core action styling follows the main page across the public templates. */
body:has(.co-topbar) main .button--primary {
  min-height: 52px;
  border-color: #e30613;
  border-radius: 8px;
  background: #e30613;
  color: #fff;
}
body:has(.co-topbar) main .button--primary:hover {
  border-color: #b8000a;
  background: #b8000a;
}
body:has(.co-topbar) main .button--ghost {
  border-radius: 8px;
}
