/*
Theme Name: ZERAI TECH V10
Theme URI: https://zeraitech.com/
Author: ZERAI TECH SDN. BHD.
Author URI: https://zeraitech.com/
Description: Independent bilingual corporate theme for ZERAI TECH. Built for a reversible staging-to-production deployment without Astra, Elementor, WPForms, external fonts or third-party front-end dependencies.
Version: 10.0.1
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: zerai-tech-v10
*/

:root {
	--zerai-blue: #0047ab;
	--zerai-ink: #132c3a;
	--zerai-muted: #596a72;
	--zerai-line: #dbe3e1;
	--zerai-white: #ffffff;
	--zerai-page-width: min(1120px, calc(100vw - 48px));
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--zerai-ink);
	background: var(--zerai-white);
	font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

body.admin-bar .header {
	top: 32px;
}

a {
	color: inherit;
}

img {
	max-width: 100%;
}

.zerai-generic-main {
	width: var(--zerai-page-width);
	min-height: 62vh;
	margin: 0 auto;
	padding: 88px 0 112px;
}

.zerai-generic-main article {
	max-width: 900px;
}

.zerai-generic-main h1 {
	margin: 0 0 34px;
	color: var(--zerai-ink);
	font-size: clamp(44px, 6vw, 76px);
	font-weight: 650;
	letter-spacing: -0.045em;
	line-height: 1.02;
}

.zerai-generic-content {
	color: var(--zerai-muted);
	font-size: 16px;
	line-height: 1.78;
}

.zerai-generic-content :is(h2, h3) {
	margin: 44px 0 18px;
	color: var(--zerai-ink);
	line-height: 1.2;
}

.zerai-generic-content a {
	color: var(--zerai-blue);
}

@media (max-width: 782px) {
	body.admin-bar .header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	body.admin-bar .header {
		top: 0;
	}

	:root {
		--zerai-page-width: calc(100vw - 32px);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
