/*
Theme Name: Portal de Chamados
Description: Tema leve para sites dedicados a abrir e acompanhar chamados. A página inicial é o portal do plugin Kanban Demandas.
Version: 0.1.0
Requires at least: 5.9
Requires PHP: 7.4
Text Domain: portal-chamados
*/

:root {
	--pc-bg: #eef1f5;
	--pc-ink: #1f2937;
	--pc-mute: #6b7280;
	--pc-line: #dfe3e8;
	--pc-accent: #2563eb;
}

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

body {
	margin: 0;
	background: var(--pc-bg);
	color: var(--pc-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

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

.pc-header {
	background: #fff;
	border-bottom: 1px solid var(--pc-line);
}

.pc-header-inner {
	max-width: 920px;
	margin: 0 auto;
	padding: 14px 20px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.pc-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--pc-ink);
	text-decoration: none;
	font-weight: 700;
	font-size: 18px;
}

.pc-brand img {
	max-height: 36px;
	width: auto;
}

.pc-main {
	flex: 1 0 auto;
	width: 100%;
	max-width: 920px;
	margin: 0 auto;
	padding: 20px;
}

.pc-main .kd-portal {
	margin-top: 8px;
}

.pc-page {
	background: #fff;
	border: 1px solid var(--pc-line);
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 18px;
}

.pc-page h1,
.pc-page h2 {
	margin-top: 0;
	line-height: 1.25;
}

.pc-page h1 a,
.pc-page h2 a {
	color: inherit;
	text-decoration: none;
}

.pc-notice {
	background: #fef3c7;
	border: 1px solid #fcd34d;
	color: #78350f;
	border-radius: 10px;
	padding: 14px 18px;
}

.pc-footer {
	flex: 0 0 auto;
	text-align: center;
	color: var(--pc-mute);
	font-size: 13px;
	padding: 18px 20px 26px;
}

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

@media (max-width: 600px) {
	.pc-main {
		padding: 0 0 20px;
	}

	.pc-page {
		border-radius: 0;
		border-left: 0;
		border-right: 0;
	}
}
