/* Larger italic school heading within the approved portrait composition. */
@media (max-width:600px) {
  :root body.school-page .school-intro .school-hero h1 {
    font-size:21.5cqw !important;
  }
}
@media (min-width:601px) and (max-width:1100px) {
  :root body.school-page .school-intro .school-hero h1 {
    font-size:clamp(72px,9.8cqw,104px) !important;
  }
}

/* A quiet forest backing keeps the secondary action readable over sunlit leaves. */
:root body.group-reference-page .group-reference-actions > a {
  padding:9px 12px;
  min-height:44px;
  color:#fffdf3 !important;
  background:rgba(3,30,20,.88);
  border:1px solid rgba(255,253,243,.3);
  border-radius:12px;
  text-decoration-thickness:1px;
  text-underline-offset:4px;
  font-size:16px;
  line-height:1.35;
  box-sizing:border-box;
}
:root body.group-reference-page .group-reference-actions > a:hover {
  background:#062d1e;
}
:root body.group-reference-page .group-reference-actions > a:focus-visible {
  outline:2px solid #c6ff4b;
  outline-offset:4px;
}
@media (max-width:600px) {
  :root body.group-reference-page .group-reference-actions { flex-wrap:wrap; gap:12px; }
  :root body.group-reference-page .group-reference-actions > a { padding:8px; font-size:14px; }
  :root body.group-reference-page .group-reference-actions .group-reference-button {
    flex:1 1 150px; width:auto; max-width:240px;
    min-height:44px !important; height:auto;
    padding:10px 12px !important; gap:8px;
    font-size:14px !important;
  }
  :root body.group-reference-page .group-reference-actions .group-reference-button svg { width:18px; height:18px; }
}
