/*
Theme Name: Access Equity AAA
Author: Access Equity Team
Description: A WCAG AAA compliant theme with custom SVG assets, high contrast, and keyboard optimization.
Version: 3.0
*/

:root {
    --bg-color: #f9f9f9; /* Soft white to reduce glare */
    --text-color: #000000; /* Pure Black for Max Contrast */
    --link-color: #0000EE; /* Standard Blue for high recognition */
    --focus-color: #000000;
    --accent-color: #0044CC;
    --max-width: 800px; /* Limits line length for reading ease */
}

/* Base Accessibility Reset */
html { font-size: 100%; } /* Respect user browser settings */

body {
    background-color: var(--bg-color);
    /* Professional Grid Pattern */
    background-image: radial-gradient(#d1d1d1 1px, transparent 1px);
    background-size: 20px 20px;
    color: var(--text-color);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Skip Link for Keyboard Users */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 10px;
    z-index: 9999;
    font-weight: bold;
}
.skip-link:focus { top: 0; }

/* Layout Containers */
header, nav, main, footer { display: block; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem;
    background-color: #ffffff; /* White background behind text for reading clarity */
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    min-height: 90vh;
}

/* Links & Focus States (Crucial for Accessibility) */
a { color: var(--link-color); text-decoration: underline; }
a:focus, button:focus, input:focus, .site-logo a:focus {
    outline: 4px solid var(--focus-color);
    outline-offset: 4px;
    background-color: #FFFF00; /* Yellow highlight on focus */
    color: #000;
}

/* Typography */
h1, h2, h3 { line-height: 1.3; margin-top: 2rem; color: #000; }
h1 { font-size: 2.5rem; border-bottom: 2px solid #000; padding-bottom: 0.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* Header & Navigation */
header { background-color: #fff; border-bottom: 3px solid #000; }

nav ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
nav a { text-decoration: none; font-weight: bold; font-size: 1.2rem; color: #333; }
nav a:hover { text-decoration: underline; color: var(--accent-color); }

/* Content Areas */
article { margin-bottom: 3rem; border-bottom: 1px solid #eee; padding-bottom: 2rem; }

/* SVG Icon Styling */
svg { vertical-align: middle; max-width: 100%; height: auto; }