/*
Theme Name: Музичний код Запоріжжя
Author: Kekseman
Description: Тема сайту «Музичний код Запоріжжя: цифровий архів сучасної музики».
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: muzkod
*/

@font-face {
	font-family: 'Franklin Gothic Book';
	src: url('assets/fonts/franklin-gothic-book.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Franklin Gothic Book';
	src: url('assets/fonts/franklin-gothic-book-italic.woff2') format('woff2');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Franklin Gothic Medium';
	src: url('assets/fonts/franklin-gothic-medium.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Franklin Gothic Medium';
	src: url('assets/fonts/franklin-gothic-medium-italic.woff2') format('woff2');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Franklin Gothic Heavy';
	src: url('assets/fonts/franklin-gothic-heavy.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Arsenal';
	src: url('assets/fonts/arsenal-400.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Arsenal';
	src: url('assets/fonts/arsenal-700.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--color-bg: #ffffff;
	--color-bg-alt: #f4f7f8;
	--color-accent-pink: #db146d;
	--color-accent-indigo: #3f51b5;
	--color-text: #171717;
	--color-text-muted: #5b6270;
	--color-border: #e7e9ee;
	--color-footer-bg: #06323b;

	--font-book: 'Franklin Gothic Book', Arial, sans-serif;
	--font-medium: 'Franklin Gothic Medium', Arial, sans-serif;
	--font-heavy: 'Franklin Gothic Heavy', Arial, sans-serif;
	--font-accent: 'Arsenal', Georgia, serif;

	--content-width: 1200px;

	--space-1: 8px;
	--space-2: 16px;
	--space-3: 24px;
	--space-4: 32px;
	--space-6: 48px;
	--space-8: 64px;

	--radius-sm: 8px;
}

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

html {
	scroll-behavior: smooth;
	height: 100%;
}

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	font-family: var(--font-book);
	color: var(--color-text);
	background: var(--color-bg);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

#main { flex: 1 0 auto; }

h1, h2, h3, h4 {
	font-family: var(--font-heavy);
	font-weight: 400;
	line-height: 1.15;
	margin: 0 0 var(--space-2);
}

p { margin: 0 0 var(--space-2); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
	width: 100%;
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 0 var(--space-3);
}

a:focus-visible,
button:focus-visible {
	outline: 3px solid var(--color-accent-indigo);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
