/* Shared treatment for text links that navigate or start an enquiry. */
.references-button,.contact-secondary,#eja-references-draft .references-button{display:inline-flex;align-items:center;justify-content:space-between;gap:16px;max-width:100%;min-height:46px;padding:12px 16px;border:1.5px solid #226a71;border-radius:8px;background:#fff;color:#0b202b;font-family:'DM Sans',Arial,sans-serif;font-size:.9rem;font-weight:550;line-height:1.4;text-decoration:none;box-shadow:0 2px 5px #0b202b0a;transition:background-color .18s,color .18s,border-color .18s,box-shadow .18s}
.references-button:hover,.contact-secondary:hover,#eja-references-draft .references-button:hover{background:#e7f3f2;color:#0b202b;border-color:#226a71;box-shadow:0 3px 8px #0b202b14}
.references-button:focus-visible,.contact-secondary:focus-visible,#eja-references-draft .references-button:focus-visible{outline:3px solid #226a71;outline-offset:3px}
.references-button:active,.contact-secondary:active{box-shadow:none}
@media(prefers-reduced-motion:reduce){.references-button,.contact-secondary{transition:none}}

/* Visible text links across desktop and phone layouts; retain button and image treatments. */
main a:not(.button):not(.references-button):not(:has(img)),.photo-credit a{color:var(--teal,#226a71);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
main a:not(.button):not(.references-button):not(:has(img)):hover,.photo-credit a:hover{text-decoration-thickness:2px}
