/* «Публічні закупівлі»: сторінка року (page-npc-procurement.php). Доповнює npc-pages.css */
.npc-proc { --npc-tint: #f4f8f6; }
.npc-proc__head { margin: 8px 0 24px; }
.npc-proc .npc-proc__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 12px;
	padding: 5px 12px;
	border-radius: 999px;
	background: #e8f3ee;
	color: var(--npc-green);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}
.npc-proc .npc-proc__eyebrow:hover { background: var(--npc-green); color: #fff; text-decoration: none; }
.npc-proc .npc-proc__title { margin: 0 0 6px; font-size: 48px; line-height: 1.1; }
.npc-proc__count { margin: 0; font-size: 16px; color: var(--npc-muted); }

/* Роки */
.npc-proc__years { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.npc-proc__years a,
.npc-proc__years span {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 18px;
	border: 1px solid var(--npc-line);
	border-radius: 999px;
	background: #fff;
	color: var(--npc-ink);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}
.npc-proc__years a:hover { border-color: var(--npc-green); color: var(--npc-green); text-decoration: none; }
.npc-proc__years .is-current { background: var(--npc-green); border-color: var(--npc-green); color: #fff; }

/* Пошук */
.npc-proc__search { position: relative; max-width: 520px; margin: 0 0 28px; }
.npc-proc__search svg { position: absolute; left: 18px; top: 50%; margin-top: -9px; color: var(--npc-muted); pointer-events: none; }
.npc-proc__search input {
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 18px 0 48px;
	border: 1px solid var(--npc-line);
	border-radius: 999px;
	background: #fff;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	color: var(--npc-ink);
	outline: none;
	box-shadow: none;
}
.npc-proc__search input:focus { border-color: var(--npc-green); box-shadow: 0 0 0 3px rgba(0, 122, 83, .15); }
.npc-proc__empty { margin: 0 0 24px; font-size: 16px; color: var(--npc-muted); }
.npc-proc .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Групи за місяцями */
.npc-proc__group { margin: 0 0 28px; }
.npc-proc__group[hidden], .npc-proc__item[hidden] { display: none; }
.npc-proc .npc-proc__month {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	padding: 0;
	font-family: 'Open Sans', sans-serif;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 700;
	text-transform: none;
	text-align: left;
	color: var(--npc-ink);
}
.npc-proc__month span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 24px;
	padding: 0 8px;
	border-radius: 999px;
	background: #e8f3ee;
	color: var(--npc-green);
	font-size: 13px;
	font-weight: 700;
}
.npc-proc__items { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.npc-proc__items li { margin: 0; padding: 0; }
.npc-proc__items li::before { display: none; content: none; }
.npc-proc .npc-proc__row {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	background: #fff;
	border: 1px solid var(--npc-line);
	border-radius: 16px;
	color: var(--npc-ink);
	text-decoration: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.npc-proc .npc-proc__row:hover,
.npc-proc .npc-proc__row:focus-visible { border-color: var(--npc-green); box-shadow: 0 6px 18px rgba(0, 0, 0, .05); color: var(--npc-ink); text-decoration: none; }
.npc-proc__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--npc-tint);
	color: var(--npc-green);
}
.npc-proc__main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.npc-proc__name { font-size: 15px; font-weight: 600; line-height: 1.4; }
.npc-proc__id { font-variant-numeric: tabular-nums; white-space: nowrap; }
.npc-proc__desc { font-size: 14px; line-height: 1.5; color: var(--npc-muted); overflow-wrap: anywhere; }
.npc-proc__date { font-size: 14px; font-weight: 600; color: var(--npc-muted); white-space: nowrap; }
.npc-proc__open {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--npc-tint);
	color: var(--npc-green);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	transition: background .2s ease, color .2s ease;
}
.npc-proc__row:hover .npc-proc__open { background: var(--npc-green); color: #fff; }

@media (max-width: 767px) {
	.npc-proc .npc-proc__title { font-size: 34px; }
	.npc-proc .npc-proc__row {
		grid-template-columns: auto minmax(0, 1fr);
		grid-template-areas: "icon main" "icon date";
		gap: 4px 14px;
		padding: 14px 16px;
	}
	.npc-proc__icon { grid-area: icon; align-self: start; width: 40px; height: 40px; }
	.npc-proc__main { grid-area: main; }
	.npc-proc__date { grid-area: date; font-size: 13px; }
	.npc-proc__open { display: none; }
	.npc-proc__id { display: block; }
}

/* Сторінка-перелік документів (page-npc-docs.php) */
.npc-docs__eyebrow {
	display: inline-block;
	margin: 0 0 12px;
	padding: 5px 12px;
	border-radius: 999px;
	background: #e8f3ee;
	color: var(--npc-green);
	font-size: 13px;
	font-weight: 700;
}
.npc-docs .npc-proc__head { margin-bottom: 28px; }
.npc-docs .npc-proc__items { gap: 10px; max-width: 980px; }
.npc-docs .npc-docs__row { grid-template-columns: auto minmax(0, 1fr) auto; padding: 18px 22px; }
.npc-docs .npc-proc__name { font-size: 16px; line-height: 1.5; }
.npc-docs .npc-proc__desc { font-size: 13px; }
@media (max-width: 767px) {
	.npc-docs .npc-docs__row { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "icon main"; padding: 16px; }
	.npc-docs .npc-proc__name { font-size: 15px; }
}
