/*
Theme Name: Teambuild
Theme URI: https://example.com/teambuild
Author: Teambuild
Description: Легка тема для корпоративних сторінок з акцентом на швидкість завантаження та базову SEO-структуру.
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: teambuild
Tags: custom-menu, featured-images, full-width-template, translation-ready, blog
*/

:root {
	--teambuild-bg: #0f1419;
	--teambuild-surface: #1a2332;
	--teambuild-text: #e8eef4;
	--teambuild-muted: #94a3b8;
	--teambuild-accent: #38bdf8;
	--teambuild-accent-2: #a78bfa;
	--teambuild-max: 42rem;
}

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

body {
	margin: 0;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--teambuild-text);
	background: var(--teambuild-bg);
}

a {
	color: var(--teambuild-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover,
a:focus {
	color: var(--teambuild-accent-2);
}

.teambuild-skip {
	position: absolute;
	left: -999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.teambuild-skip:focus {
	position: fixed;
	left: 0.5rem;
	top: 0.5rem;
	width: auto;
	height: auto;
	padding: 0.5rem 1rem;
	background: #fff;
	color: #000;
	z-index: 1000;
}

.site-header {
	padding: 1rem 1.25rem;
	border-bottom: 1px solid rgba(148, 163, 184, 0.2);
	background: var(--teambuild-surface);
}

.site-header__inner {
	max-width: 72rem;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.site-title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.site-title a {
	color: inherit;
	text-decoration: none;
}

.site-title a:hover {
	color: var(--teambuild-accent);
}

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

.primary-nav a {
	font-weight: 600;
	text-decoration: none;
}

.site-main {
	max-width: 72rem;
	margin: 0 auto;
	padding: 2rem 1.25rem 4rem;
}

.post-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.post-list li {
	margin-bottom: 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.entry-title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.35rem, 3vw, 1.75rem);
	letter-spacing: -0.02em;
}

.entry-title a {
	color: inherit;
	text-decoration: none;
}

.entry-meta {
	color: var(--teambuild-muted);
	font-size: 0.9rem;
	margin-bottom: 1rem;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content h1 {
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	line-height: 1.2;
	margin: 0 0 1rem;
	letter-spacing: -0.03em;
}

.entry-content h2 {
	margin: 2.25rem 0 0.75rem;
	font-size: 1.35rem;
	line-height: 1.3;
	color: #f1f5f9;
}

.entry-content h3 {
	margin: 1.5rem 0 0.5rem;
	font-size: 1.1rem;
	color: #cbd5e1;
}

.entry-content p,
.entry-content li {
	color: #cbd5e1;
	max-width: var(--teambuild-max);
}

.entry-content video,
.entry-content .neo-alpha-media__video {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto 1rem;
	border-radius: 6px;
}

.entry-content .wp-block-image img {
	height: auto;
	max-width: 100%;
}

.neo-alpha-figure picture,
.neo-alpha-figure img {
	display: block;
	max-width: 100%;
	height: auto;
}

.entry-content ul {
	max-width: var(--teambuild-max);
	padding-left: 1.25rem;
}

.site-footer {
	padding: 1.5rem 1.25rem;
	border-top: 1px solid rgba(148, 163, 184, 0.2);
	color: var(--teambuild-muted);
	font-size: 0.9rem;
	text-align: center;
	background: var(--teambuild-surface);
}

/* SEO / landing highlight */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
