/*
Theme Name: Nexon Starter
Theme URI: https://github.com/Jjustmee23/nexon-wordpress
Author: Nexon
Description: Reusable block theme by Nexon with custom sections for business websites.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
Version: 0.3.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nexon-starter
Domain Path: /languages
*/

/* Globale stijlen: theme.json. Blockstijlen: src/blocks/<block>/. */

.nexon-skip-link:focus {
	position: fixed;
	top: 1rem;
	left: 1rem;
	z-index: 100000;
	padding: 0.75rem 1rem;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
}

.nexon-header {
	padding-block: var(--wp--preset--spacing--30);
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.nexon-footer {
	padding-block: var(--wp--preset--spacing--50);
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}

.nexon-footer a {
	color: inherit;
}

.nexon-section {
	padding-block: var(--wp--preset--spacing--70);
}

.nexon-section__inner,
.nexon-hero__inner {
	box-sizing: border-box;
	max-width: var(--wp--style--global--wide-size, 1200px);
	margin-inline: auto;
	padding-inline: var(--wp--preset--spacing--40);
}

.nexon-section--surface {
	background: var(--wp--preset--color--surface);
}

.nexon-section__heading {
	margin-block: 0 var(--wp--preset--spacing--30);
}

.nexon-section__intro {
	max-width: 42rem;
	margin-block: 0 var(--wp--preset--spacing--50);
	color: var(--wp--preset--color--contrast-muted);
}

.nexon-button {
	display: inline-block;
	padding: 0.85rem 1.5rem;
	border-radius: 999px;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.nexon-button:hover,
.nexon-button:focus-visible {
	background: var(--wp--preset--color--primary-dark);
	color: var(--wp--preset--color--base);
}

.nexon-grid {
	display: grid;
	gap: var(--wp--preset--spacing--40);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}

.nexon-card {
	padding: var(--wp--preset--spacing--40);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 1rem;
	background: var(--wp--preset--color--base);
}

.nexon-language-switcher ul {
	display: flex;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nexon-language-switcher a {
	padding: 0.15rem 0.35rem;
	border-radius: 0.25rem;
	color: var(--wp--preset--color--contrast-muted);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	text-decoration: none;
}

.nexon-language-switcher a.is-current,
.nexon-language-switcher a:hover,
.nexon-language-switcher a:focus-visible {
	color: var(--wp--preset--color--primary);
}
