/*
Theme Name: Application Abroad
Theme URI: https://applicationabroad.com/
Author: Application Abroad
Description: A companion theme for the Application Abroad platform. Deliberately thin: it provides the page shell, navigation and typography, and leaves every discovery and application surface to the plugin, so the platform stays portable to any other theme.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: application-abroad-theme
Tags: education, custom-menu, custom-logo, translation-ready, block-styles, wide-blocks
*/

:root {
	--aat-ink: #10182b;
	--aat-ink-soft: #55607a;
	--aat-line: #e3e7ef;
	--aat-surface: #ffffff;
	--aat-accent: #1d4ed8;
	--aat-width: 1240px;
	--aat-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
	:root {
		--aat-ink: #eef1f7;
		--aat-ink-soft: #aeb7c9;
		--aat-line: #2b3244;
		--aat-surface: #0f131d;
		--aat-accent: #7aa2ff;
	}
}

* { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--aat-surface);
	color: var(--aat-ink);
	font-family: var(--aat-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

a { color: var(--aat-accent); }

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

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

.skip-link:focus {
	position: fixed;
	top: .5rem;
	left: .5rem;
	z-index: 100;
	width: auto;
	height: auto;
	clip: auto;
	padding: .6rem 1rem;
	background: var(--aat-ink);
	color: #fff;
	border-radius: 6px;
}

.aat-header {
	position: sticky;
	top: 0;
	z-index: 30;
	border-bottom: 1px solid var(--aat-line);
	background: color-mix(in srgb, var(--aat-surface) 88%, transparent);
	backdrop-filter: saturate(180%) blur(10px);
}

.aat-header__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	max-width: var(--aat-width);
	margin-inline: auto;
	padding: .85rem 1rem;
}

.aat-brand {
	font-weight: 800;
	font-size: 1.0625rem;
	letter-spacing: -.01em;
	color: var(--aat-ink);
	text-decoration: none;
	white-space: nowrap;
}

.aat-brand span { color: var(--aat-accent); }

.aat-nav { flex: 1; }

.aat-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.aat-nav a {
	color: var(--aat-ink-soft);
	text-decoration: none;
	font-size: .9375rem;
	font-weight: 500;
}

.aat-nav a:hover, .aat-nav .current-menu-item > a { color: var(--aat-accent); }

.aat-header__actions { display: flex; gap: .5rem; align-items: center; }

.aat-header__action {
	padding: .45rem .85rem;
	border: 1px solid var(--aat-line);
	border-radius: 8px;
	font-size: .875rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--aat-ink);
}

.aat-header__action--primary { background: var(--aat-accent); border-color: var(--aat-accent); color: #fff; }

.aat-main { min-height: 60vh; }

.aat-content {
	max-width: var(--aat-width);
	margin-inline: auto;
	padding: 2rem 1rem 3rem;
}

.aat-hero {
	max-width: var(--aat-width);
	margin-inline: auto;
	padding: 3.5rem 1rem 2rem;
	text-align: center;
}

.aat-hero h1 {
	margin: 0 0 .75rem;
	font-size: clamp(2rem, 5vw, 3.25rem);
	line-height: 1.1;
	letter-spacing: -.02em;
}

.aat-hero p {
	margin: 0 auto;
	max-width: 58ch;
	color: var(--aat-ink-soft);
	font-size: 1.0625rem;
}

.aat-footer {
	border-top: 1px solid var(--aat-line);
	margin-top: 3rem;
	padding: 2.5rem 1rem;
	color: var(--aat-ink-soft);
	font-size: .875rem;
}

.aat-footer__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	justify-content: space-between;
	max-width: var(--aat-width);
	margin-inline: auto;
}

.aat-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.aat-footer a { color: inherit; text-decoration: none; }
.aat-footer a:hover { color: var(--aat-accent); }

@media (max-width: 720px) {
	.aat-header__inner { flex-wrap: wrap; }
	.aat-nav { order: 3; flex-basis: 100%; }
}
