/*
Theme Name: SIMAC
Theme URI: https://www.simac.ca
Description: Custom theme for SIMAC — Independent Medical Assessments. Includes Home, What we Do, Who we Serve, For Assessors (application and sign-in), Privacy and Support (referral form, surveys, complaint form, FAQ). Pages are created automatically on activation.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: simac
*/

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

body {
	margin: 0;
	background: #F4F7F7;
	color: #0F2A33;
	font-family: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: #0D5C63; }
a:hover { color: #083F44; }

[id] { scroll-margin-top: 110px; }

:focus-visible { outline: 3px solid #F2C46D; outline-offset: 2px; }

input, select, textarea, button { font: inherit; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 100;
	width: auto; height: auto; clip: auto;
	background: #FFFFFF; color: #0F2A33; padding: 12px 16px; border-radius: 8px;
}

/* Admin bar offset for the pinned header */
.admin-bar .simac-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .simac-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .simac-header { top: 0; } }

/* Header logo shrinks a little on phones */
@media (max-width: 640px) {
	.simac-logo { height: 52px !important; }
	h1 { font-size: 40px !important; }
	h2 { font-size: 30px !important; }
}

/* Tabs on For Assessors */
.simac-tab {
	border: 0; background: transparent; color: #3E5157;
	border-radius: 8px; padding: 12px; font-weight: 600; cursor: pointer;
}
.simac-tab[aria-selected="true"] { background: #FFFFFF; color: #0D5C63; font-weight: 700; }

/* Survey cards */
.simac-survey-card[aria-expanded="true"] { border-color: #0D5C63 !important; box-shadow: inset 0 0 0 1px #0D5C63; }

/* FAQ */
.simac-faq-sign::before { content: "+"; }
.simac-faq-q[aria-expanded="true"] .simac-faq-sign::before { content: "\2212"; }

/* Messages */
.simac-alert {
	background: #FBE9E7; color: #8A1C0F; border-radius: 10px; padding: 14px 16px; font-weight: 600;
}
.simac-alert a { color: #8A1C0F; }

/* Generic pages and posts (index.php / page.php) */
.simac-content { max-width: 820px; margin: 0 auto; padding: 72px 24px 96px; }
.simac-content h1 { font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; font-size: 46px; line-height: 1.1; margin: 0 0 24px; }
.simac-content h2, .simac-content h3 { font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; }
.simac-content p, .simac-content li { color: #3E5157; }
