/**
 * vce-core.css
 * WTMG Redesign: VCE Branding & WCAG 2.1 AA Compliance
 * Restored Header Styling and Official SVG Masking.
 */

/* 1. Root Variables: Official VCE Digital Palette */
:root {
    --vce-dark-blue: #072938;   /* Primary Text Color */
    --vce-teal: #51ded6;        /* High Contrast Support */
    --vce-yellow: #ff9f2b;      /* Accent */
    --vce-orange: #fe6a29;      /* Accent */
    --vce-light-grey: #e3ebfb;  /* Backgrounds */
    --vce-maroon: #8b1843;      /* Secondary Headers/Alerts */
    --vce-dark-green: #005267;  /* Accent */
    --vce-white: #ffffff;
}

/* 2. Global Typography */
body {
    font-family: 'Epilogue', Arial, sans-serif; 
    background-color: var(--vce-white);
    color: var(--vce-dark-blue);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* 3. Accessible Headers */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: none;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; color: var(--vce-maroon); }

/* 4. Accessibility & Interactive Elements */
a {
    color: var(--vce-dark-green);
    text-decoration: underline; 
    font-weight: 700;
}

a:hover, a:focus {
    color: var(--vce-maroon);
    outline: 3px solid var(--vce-orange); 
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--vce-maroon);
    color: white;
    padding: 8px;
    z-index: 100;
}

.skip-link:focus { top: 0; }

/* 5. Utility Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer {
    background-color: var(--vce-light-grey);
    padding: 2.5rem 0;
    border-top: 4px solid var(--vce-maroon);
    font-size: 0.95rem;
}

.vce-button {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 800;
    border-radius: 4px;
    background-color: var(--vce-yellow);
    color: var(--vce-dark-blue);
    border: none;
}

/* 6. VCE Official SVG Swoosh Implementation */
.vce-swoosh-mask {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 500px;
    background-size: cover;
    background-position: center;
    mask-image: url('assets/swoosh-blue.svg');
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
    -webkit-mask-image: url('assets/swoosh-blue.svg');
    -webkit-mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
}

/* --- BRIDGE CODE: Ensures existing pages match the Login style --- */

.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.vce-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* Matches the Login 'Vault' box exactly */
.file-tile {
    background: var(--vce-light-grey);
    padding: 30px;
    border-top: 8px solid var(--vce-maroon);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 4px;
    color: var(--vce-dark-blue);
}

.file-tile h3 {
    margin-top: 0;
    color: var(--vce-maroon);
}