/*
Theme Name:  Hua Xia Schools
Theme URI:   https://huaxia.edu.my
Author:      Hua Xia Schools
Author URI:  https://huaxia.edu.my
Description: Official premium theme for Hua Xia Schools. Soft luxury minimalism with rounded cards, layered editorial layouts, and modern enterprise design. Fully Elementor-compatible with security-first architecture.
Version:     1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License:     GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: huaxia-schools
Tags: elementor, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, responsive-layout, accessibility-ready, full-site-editing

--- BRAND COLORS ---
Primary Red:   #880000
Dark Red:      #660000
Gold Accent:   #D4A017
Light BG:      #F7F5F2
White:         #FFFFFF
Heading Text:  #1A1A1A
Body Text:     #4A4A4A
Border:        #E8E2DA
*/

/* ── Base Reset ───────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
    color: #4A4A4A;
    background: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* Accessibility: Skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 9999;
}

.skip-link:focus {
    position: fixed;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    padding: 12px 24px;
    background: #880000;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    outline: 3px solid #D4A017;
    outline-offset: 2px;
    z-index: 99999;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}