/*
Theme Name: MTsN 3 Theme
Theme URI: https://mtsn3malang.sch.id
Author: Codex
Author URI: https://openai.com
Description: Custom WordPress theme for MTsN 3 Malang with an editorial school website layout.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: mtsn3-theme
*/

/*
 * Global design tokens live here so WordPress can read the theme metadata
 * while the main presentation layer is loaded from assets/css/main.css.
 */
:root {
	--color-primary: #1a7bbf;
	--color-primary-light: #2196c4;
	--color-primary-dark: #0d5a8a;
	--color-accent: #f5a623;
	--color-accent-dark: #e8921a;
	--color-dark: #2d2d2d;
	--color-bg: #f8f9fa;
	--color-white: #ffffff;
	--color-border: #e0e0e0;
	--color-text: #333333;
	--color-text-muted: #777777;
	--font-heading: "Poppins", sans-serif;
	--font-body: "Inter", sans-serif;
	--container-width: 1200px;
	--section-padding: 3rem;
	--card-radius: 10px;
	--button-radius: 6px;
	--shadow-soft: 0 18px 45px rgba(13, 90, 138, 0.12);
	--transition-base: 0.3s ease;
}

html {
	box-sizing: border-box;
	scroll-behavior: smooth;
}

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

body {
	margin: 0;
	background-color: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.7;
}

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

a {
	color: var(--color-primary);
	text-decoration: none;
	transition: color var(--transition-base);
}

a:hover,
a:focus {
	color: var(--color-primary-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 1rem;
	color: var(--color-dark);
	font-family: var(--font-heading);
	font-weight: 600;
	line-height: 1.2;
}

p {
	margin: 0 0 1rem;
}

button,
.button,
input[type="submit"] {
	border-radius: var(--button-radius);
}

.container {
	width: min(100% - 2rem, var(--container-width));
	margin-right: auto;
	margin-left: auto;
}

.screen-reader-text {
	position: absolute;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	border: 0;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	top: 5px;
	left: 5px;
	z-index: 100000;
	clip: auto !important;
	width: auto;
	height: auto;
	padding: 15px 23px 14px;
	background-color: var(--color-white);
	color: var(--color-primary-dark);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: normal;
	text-decoration: none;
}
