/* Pracomat — hlavička, patička a základní layout (zjednodušená replika pracomat.cz) */

:root {
	--pm-primary: #44A6D7;
	--pm-primary-dark: #2C8AB8;
	--pm-primary-light: #dfecf5;
	--pm-accent: #ffa412;
	--pm-accent-dark: #ea9610;
	--pm-text: #333;
	--pm-text-dim: #555;
	--pm-bg: #fff;
}

* { box-sizing: border-box; }

html, body {
	margin: 0;
	padding: 0;
	font-family: 'Signika', Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: var(--pm-text);
	background: var(--pm-bg);
}

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

/* ===== Header ===== */
.pm-header {
	background: #fff;
	border-bottom: 1px solid #e2e8f0;
}
.pm-header__in {
	max-width: 1200px;
	margin: 0 auto;
	height: 80px;
	padding: 0 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
}
.pm-logo {
	color: var(--pm-primary);
	font-size: 38px;
	font-weight: 700;
	text-decoration: none;
	display: inline-block;
	line-height: 1;
	padding-top: 8px;
	position: relative;
}
.pm-logo em {
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	display: block;
	color: var(--pm-text);
	margin-top: 4px;
	letter-spacing: .2px;
}
.pm-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 4px;
}
.pm-menu li a {
	display: block;
	padding: 0 15px;
	height: 80px;
	line-height: 80px;
	color: #000;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 500;
	transition: color .15s;
}
.pm-menu li a:hover { color: var(--pm-primary); }
.pm-menu li:last-child a {
	color: #fff;
	background: var(--pm-accent);
	height: auto;
	line-height: 1;
	padding: 12px 16px;
	border-radius: 6px;
	transition: background .15s;
}
.pm-menu li:last-child a:hover { background: var(--pm-accent-dark); color: #fff; }

/* Mobile menu toggle */
.pm-menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	width: 36px;
	height: 36px;
	padding: 0;
	background: transparent;
	border: 1px solid #ddd;
	border-radius: 6px;
	cursor: pointer;
	align-items: center;
	justify-content: center;
}
.pm-menu-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--pm-text);
	border-radius: 1px;
}

@media (max-width: 900px) {
	.pm-header__in { height: 64px; padding: 0 14px; }
	.pm-logo { font-size: 28px; padding-top: 4px; }
	.pm-logo em { font-size: 11px; margin-top: 2px; }
	.pm-menu-toggle { display: inline-flex; }
	.pm-menu {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		flex-direction: column;
		align-items: stretch;
		padding: 8px 0;
		gap: 0;
		box-shadow: 0 8px 24px rgba(0,0,0,.12);
		display: none;
		z-index: 50;
	}
	.pm-menu.open { display: flex; }
	.pm-menu li a {
		height: auto;
		line-height: 1.2;
		padding: 14px 20px;
	}
	.pm-menu li:last-child a {
		margin: 8px 20px;
		text-align: center;
	}
}

/* ===== Main ===== */
.pm-main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 24px 20px 48px;
}
body.has-header { padding-top: 0; }

/* ===== Footer ===== */
.pm-footer {
	background: #2C3E50;
	color: #fff;
	padding: 40px 0 24px;
	margin-top: 40px;
}
.pm-footer__in {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}
.pm-footer__cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}
.pm-footer__col h3 {
	color: var(--pm-primary);
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 14px;
}
.pm-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.pm-footer__col li { margin-bottom: 8px; }
.pm-footer__col a {
	color: rgba(255,255,255,.85);
	text-decoration: none;
	font-size: 14px;
	transition: color .15s;
}
.pm-footer__col a:hover { color: var(--pm-primary); text-decoration: underline; }
.pm-footer__bottom {
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid rgba(255,255,255,.15);
	text-align: center;
	color: rgba(255,255,255,.7);
	font-size: 13px;
}
.pm-footer__bottom p { margin: 0; }

@media (max-width: 760px) {
	.pm-footer__cols { grid-template-columns: 1fr; gap: 24px; }
	.pm-footer { padding: 28px 0 18px; }
}
