/* WordPress additions to the template's style.css */

/* photos and logos instead of initials */
.avatar img,.uni-logo img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}
.uni-logo:has(img){background:#fff;padding:8px}
.uni-logo:has(img) img{object-fit:contain}
.thumb img{width:100%;height:100%;object-fit:cover;display:block}
.thumb:has(img){padding:0}

/* paginate_links() markup */
.pagination .page-numbers.dots{border:0;background:none}
.pagination .current{background:var(--ink);color:var(--paper);border-color:var(--ink)}

/* the admin bar must not cover the sticky header */
.admin-bar .site-header{top:32px}
@media (max-width:782px){.admin-bar .site-header{top:46px}}

/* submit states of the forms */
.form-error{color:var(--red);font-weight:500;margin:0}
button[aria-busy="true"]{opacity:.6;pointer-events:none}

/* block editor content inside .prose */
.prose .wp-block-image img,.prose img{max-width:100%;height:auto;border-radius:var(--r)}
.prose .alignwide,.prose .alignfull{max-width:none}

/* after sending the assessment the step list is hidden; let the success card use the full width */
.wizard:has(.wizard-nav[hidden]){grid-template-columns:1fr}
