/*
Theme Name: Careonix
Theme URI: https://careonix.com.au/
Description: WordPress theme for Careonix Health Staffing, converted from the Careonix Wagtail site. Includes the Careonix homepage, accessibility toolbar (read aloud, text size, high contrast), website guide FAQ, Who's Who team directory and news. On activation it creates the Careonix pages and main menu if they don't already exist.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: careonix
License: Proprietary. Careonix logo and brand assets are not licensed for reuse by other organisations.
*/

/* The main stylesheet is assets/css/site.css (shared with the original site).
   WordPress-specific additions follow. */

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; }
.screen-reader-text:focus { position: static !important; width: auto; height: auto; clip: auto; }
.prose img, .prose figure, .prose .wp-block-image { max-width: 100%; height: auto; }
.prose figure { margin: 1.6em 0; }
.prose figcaption, .wp-caption-text { font-size: .9rem; color: var(--ink-soft); margin-top: .4em; }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.prose .wp-block-button__link { display: inline-block; text-decoration: none; }
.home-extra { padding-block: clamp(40px, 6vw, 80px); }
.pagination { margin-top: 2rem; display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { padding: .45em .9em; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.search-form { display: flex; gap: 8px; margin: 1rem 0 2rem; max-width: 520px; }
.search-form input[type="search"] { flex: 1; padding: .6em .8em; border: 1px solid var(--line); border-radius: var(--radius-s); font: inherit; }
.search-results-list { list-style: none; padding: 0; }
.search-results-list li { border-top: 1px solid var(--line); padding: 1rem 0; }
.search-results-list h2 { font-size: 1.2rem; margin: 0 0 .3em; }
