/* ==========================================================================
   PGD Vodice – tema
   Barve izhajajo iz vozil: gasilska rdeča, temno modra uniforma in
   rumeni odsevni pas. Pisava Barlow Condensed spominja na napise na vozilih.
   ========================================================================== */

:root {
	--red: #c8102e;
	--red-dark: #9e0c24;
	--navy: #14213d;
	--navy-2: #1e2f52;
	--yellow: #f2c200;
	--concrete: #eef0f3;
	--line: #d9dde3;
	--steel: #5b6676;
	--ink: #14213d;
	--white: #ffffff;

	--font: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-display: "Barlow Condensed", "Arial Narrow", "Barlow", sans-serif;

	--step--1: 0.875rem;
	--step-0: 1.0625rem;
	--step-1: 1.25rem;
	--step-2: 1.5rem;
	--step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
	--step-4: clamp(2.25rem, 1.6rem + 2.6vw, 3.25rem);
	--step-5: clamp(3rem, 1.4rem + 7vw, 6.75rem);

	--gutter: clamp(1rem, 4vw, 2.5rem);
	--max: 1240px;
	--radius: 6px;
	--head-h: 72px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font);
	font-size: var(--step-0);
	line-height: 1.6;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--red); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red-dark); text-decoration-thickness: 2px; }

:focus-visible {
	outline: 3px solid var(--yellow);
	outline-offset: 2px;
	box-shadow: 0 0 0 5px var(--navy);
	border-radius: 2px;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.005em;
	margin: 0 0 0.5em;
	color: var(--navy);
}

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

.skip {
	position: absolute; left: 1rem; top: -100px; z-index: 100;
	background: var(--yellow); color: var(--navy); padding: 0.6rem 1rem; font-weight: 700;
}
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Gumbi ---------- */
.pgd-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	min-height: 48px; padding: 0.7rem 1.4rem;
	border: 2px solid var(--red); border-radius: 4px;
	background: var(--red); color: var(--white);
	font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em;
	text-decoration: none; cursor: pointer;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.pgd-btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); text-decoration: none; }
.pgd-btn--ghost { background: transparent; border-color: var(--white); color: var(--white); }
.pgd-btn--ghost:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.pgd-btn--light { background: var(--white); border-color: var(--white); color: var(--red); }
.pgd-btn--light:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }

/* ---------- Opozorilna vrstica ---------- */
.alertbar { background: var(--navy); color: #c9d1de; font-size: var(--step--1); }
.alertbar__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.alertbar__112 { color: var(--white); text-decoration: none; display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 500; }
.alertbar__112:hover { color: var(--yellow); }
.alertbar__num {
	background: var(--red); color: var(--white);
	font-family: var(--font-display); font-weight: 800; font-size: 1rem;
	padding: 0 0.45rem; border-radius: 3px; line-height: 1.5;
}
@media (max-width: 640px) { .alertbar__hours { display: none; } }

/* ---------- Glava ---------- */
.site-head {
	position: sticky; top: 0; z-index: 50;
	background: var(--white);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-head { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-head { top: 0; } }

.site-head__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--head-h); }

.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--navy); }
.brand:hover { color: var(--navy); text-decoration: none; }
.brand__logo { width: auto; height: 56px; object-fit: contain; }
.brand__mark {
	display: grid; place-items: center; width: 48px; height: 48px;
	background: var(--red); color: var(--white); border-radius: 4px;
	font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.02em;
	box-shadow: inset 0 -6px 0 var(--yellow);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; }
.brand__sub { font-size: 0.8rem; color: var(--steel); letter-spacing: 0.01em; }

/* Mobilni meni */
.nav-toggle {
	display: inline-flex; align-items: center; gap: 0.6rem;
	min-height: 44px; padding: 0 0.9rem;
	background: transparent; border: 2px solid var(--navy); border-radius: 4px; color: var(--navy);
	font: 700 1.05rem var(--font-display); cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform 0.2s;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.nav__list, .nav .sub-menu { list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; color: var(--navy); }

@media (max-width: 1079px) {
	.nav {
		display: none;
		position: fixed; left: 0; right: 0; bottom: 0;
		top: calc(var(--head-h) + 38px);
		background: var(--white); overflow-y: auto;
		padding: 0.5rem var(--gutter) 2rem;
		border-top: 1px solid var(--line);
	}
	.admin-bar .nav { top: calc(var(--head-h) + 38px + 46px); }
	.nav-open .nav { display: block; }
	.nav-open { overflow: hidden; }
	.nav__list > li { border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; }
	.nav__list > li > a { flex: 1; padding: 0.9rem 0; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; }
	.nav .sub-toggle {
		width: 48px; height: 48px; display: grid; place-items: center;
		background: none; border: 0; color: var(--navy); cursor: pointer;
	}
	.nav .sub-toggle svg { transition: transform 0.2s; }
	.nav .is-open > .sub-toggle svg { transform: rotate(180deg); }
	.nav .sub-menu { display: none; width: 100%; padding: 0 0 0.75rem 0.75rem; border-left: 3px solid var(--red); margin-bottom: 0.75rem; }
	.nav .is-open > .sub-menu { display: block; }
	.nav .sub-menu a { display: block; padding: 0.55rem 0; font-size: 1.05rem; }
	.nav .is-members > a { color: var(--red); }
}

@media (min-width: 1080px) {
	.nav-toggle { display: none; }
	.nav__list { display: flex; align-items: center; gap: 0.1rem; }
	.nav__list > li { position: relative; display: flex; align-items: center; }
	.nav__list > li > a {
		display: flex; align-items: center; gap: 0.35rem;
		padding: 0 0.65rem; min-height: var(--head-h);
		font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
		border-bottom: 3px solid transparent; margin-bottom: -1px;
	}
	.nav__list > li > a:hover, .nav__list > .is-current > a { border-bottom-color: var(--red); color: var(--navy); }
	.nav .has-sub > a { padding-right: 0.15rem; }
	.nav .sub-toggle {
		width: 26px; height: 32px; margin-right: 0.3rem; display: grid; place-items: center;
		background: none; border: 0; color: var(--steel); cursor: pointer; border-radius: 3px;
	}
	.nav .sub-toggle:hover { color: var(--navy); background: var(--concrete); }
	.nav .sub-menu {
		position: absolute; top: 100%; left: 0; min-width: 260px;
		background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--red);
		border-radius: 0 0 var(--radius) var(--radius);
		box-shadow: 0 18px 40px -20px rgba(20, 33, 61, 0.45);
		padding: 0.4rem 0; display: none;
	}
	.nav .has-sub:hover > .sub-menu, .nav .has-sub:focus-within > .sub-menu, .nav .is-open > .sub-menu { display: block; }
	.nav .sub-menu a { display: block; padding: 0.55rem 1.1rem; font-size: 1rem; }
	.nav .sub-menu a:hover { background: var(--concrete); }
	.nav .is-members { margin-left: 0.6rem; }
	.nav .is-members > a {
		min-height: 40px; padding: 0 0.9rem; border: 2px solid var(--navy); border-radius: 4px; margin: 0;
	}
	.nav .is-members > a:hover, .nav .is-members.is-current > a { background: var(--navy); color: var(--white); border-color: var(--navy); }
}

/* ---------- Naslovnica: hero ---------- */
.hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.hero__in {
	display: grid; gap: 1.5rem 3rem; align-items: end;
	padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(4.5rem, 8vw, 6.5rem);
}
@media (min-width: 900px) { .hero__in { grid-template-columns: 1.25fr 1fr; } }
.hero__title {
	font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
	font-size: var(--step-5); line-height: 0.9; letter-spacing: -0.005em;
	max-width: 10ch; margin: 0; color: var(--white);
}
.hero__text { max-width: 36ch; font-size: var(--step-1); line-height: 1.45; margin: 0 0 1.75rem; color: #dbe1ea; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }
.hero__pano { margin: 0; position: relative; }
.hero__img { width: 100%; aspect-ratio: 5 / 1; min-height: 220px; object-fit: cover; object-position: 40% 55%; }
/* Odsevni pas: rumena diagonala z belo obrobo, kot na boku vozila GVC-2.
   Seka mejo med modro površino in fotografijo. */
.hero__stripe {
	position: absolute; left: 0; right: 0; pointer-events: none;
	bottom: calc(max(220px, 20vw) - 34px); height: 90px;
}
.hero__stripe::before, .hero__stripe::after { content: ""; position: absolute; inset: 0; }
.hero__stripe::before { background: var(--white); clip-path: polygon(0 62%, 100% 6%, 100% 40%, 0 96%); }
.hero__stripe::after { background: var(--yellow); clip-path: polygon(0 68%, 100% 12%, 100% 34%, 0 90%); }
@media (prefers-reduced-motion: no-preference) {
	.hero__stripe::before, .hero__stripe::after { animation: pgd-stripe 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both 0.15s; }
	@keyframes pgd-stripe { from { clip-path: polygon(0 62%, 0 56%, 0 90%, 0 96%); } }
}
@media (max-width: 720px) {
	.hero__img { aspect-ratio: 16 / 9; min-height: 0; object-position: 28% 50%; }
	.hero__stripe { bottom: calc(56.25vw - 30px); height: 56px; }
}

/* ---------- Pasovi na naslovnici ---------- */
.band { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.band__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.band__title { font-size: var(--step-4); margin: 0; }
.band__more { font-weight: 600; white-space: nowrap; }
.band--fleet { background: var(--concrete); }
.band--dom { background: var(--navy); color: #dfe5ee; }
.band--dom .band__title { color: var(--white); }
.band--people { border-top: 1px solid var(--line); }

/* Novice */
.news-lead { display: grid; gap: 1.5rem; }
.news-lead__side { display: grid; gap: 1rem; align-content: start; }
@media (min-width: 900px) {
	.news-lead { grid-template-columns: 1.35fr 1fr; gap: 2rem; }
	.news-lead__side .pgd-card__link { flex-direction: row; border-top: 0; }
	.news-lead__side .pgd-card__img { flex: 0 0 40%; aspect-ratio: 4 / 3; }
	.news-lead__side .pgd-card__body { padding: 0.2rem 0 0.2rem 1rem; }
	.news-lead__side .pgd-card { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding-bottom: 1rem; }
	.news-lead__side .pgd-card:last-child { border-bottom: 0; }
}

/* Operativa + 112 */
.ops { display: grid; gap: 2rem; }
@media (min-width: 960px) { .ops { grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: start; } }
.ops__112 {
	background: var(--red); color: var(--white); border-radius: var(--radius);
	padding: clamp(1.5rem, 3vw, 2.25rem);
}
.ops__112-title { color: var(--white); font-size: var(--step-3); display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.ops__112-title span {
	font-weight: 800; font-size: 1.6em; line-height: 1;
	background: var(--white); color: var(--red); border-radius: 4px; padding: 0.05em 0.25em;
}
.ops__112 p { margin: 0 0 1.25rem; }
.ops__112-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin: 0 !important; }
.ops__112-link { color: var(--white); font-weight: 600; }
.ops__112-link:hover { color: var(--yellow); }

/* Novi dom */
.dom { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .dom { grid-template-columns: 1fr 1.2fr; gap: 4rem; } }
.dom__text p { max-width: 48ch; }
.band--dom .pgd-build { color: #dfe5ee; }
.band--dom .pgd-build__bar { background: rgba(255, 255, 255, 0.14); }
.band--dom .pgd-build__steps li { border-color: rgba(255, 255, 255, 0.16); }
.band--dom .pgd-build__state { color: #aab4c4; }

.band--dom .pgd-build__phase strong, .band--dom .pgd-build__pct { color: var(--white); }

/* Društvo */
.people { display: grid; gap: 2rem; }
@media (min-width: 960px) { .people { grid-template-columns: 1fr 1.6fr; gap: 4rem; } }
.people__text p { max-width: 52ch; }

/* ---------- Glava podstrani ---------- */
.page-head { background: var(--concrete); padding: 2rem 0 2.25rem; border-bottom: 1px solid var(--line); }
.page-head__title { font-size: var(--step-4); margin: 0; max-width: 24ch; text-wrap: balance; }
.page-head--members { background: var(--navy); border-bottom-color: var(--navy); }
.page-head--members .page-head__title, .page-head--members .crumbs a, .page-head--members .crumbs li { color: var(--white); }
.crumbs ol { list-style: none; margin: 0 0 0.75rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0; font-size: var(--step--1); color: var(--steel); }
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 0.5rem; opacity: 0.6; }
.crumbs a { color: var(--steel); }
.page-body { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(3rem, 6vw, 5rem); }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.filters a {
	padding: 0.35rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white);
	color: var(--navy); text-decoration: none; font-size: var(--step--1); font-weight: 600;
}
.filters a:hover { border-color: var(--navy); }
.filters a[aria-current="page"] { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---------- Besedilo ---------- */
.prose { max-width: 72ch; }
.prose > .pgd-fleet, .prose > .pgd-people, .prose > .pgd-sections, .prose > .pgd-news, .prose > .pgd-map, .prose > .pgd-organ { margin-top: 1.5rem; }
.prose > * + * { margin-top: 1rem; }
.prose :where(p) { margin: 0; }
.prose h2 { font-size: var(--step-3); margin-top: 2.5rem; }
.prose h3 { font-size: var(--step-2); margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0; }
.prose li + li { margin-top: 0.35rem; }
.prose ol > li::marker { font-family: var(--font-display); font-weight: 700; color: var(--red); }
.prose ul > li::marker { color: var(--red); }
.prose figure { margin: 1.5rem 0; }
.prose figcaption { font-size: var(--step--1); color: var(--steel); margin-top: 0.4rem; }
.prose img { border-radius: var(--radius); }
.prose .wp-block-columns { display: flex; flex-wrap: wrap; gap: 1.5rem; max-width: none; }
.prose .wp-block-column { flex: 1 1 240px; min-width: 0; }
.prose .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.5rem; }
.prose .wp-block-gallery figure { margin: 0; }
.prose .wp-block-gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.prose details { border: 1px solid var(--line); border-radius: var(--radius); padding: 0.85rem 1.1rem; }
.prose details summary { cursor: pointer; font-weight: 600; }
.prose details[open] summary { margin-bottom: 0.75rem; }
.prose .wp-block-file { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 0.8rem 1rem; background: var(--concrete); border-radius: var(--radius); }
.prose .wp-block-file__button { background: var(--red); color: var(--white); padding: 0.35rem 0.9rem; border-radius: 4px; text-decoration: none; font-weight: 600; }
.pgd-lead { font-size: var(--step-1); line-height: 1.5; color: var(--navy); }
.pgd-fill { background: #fff3b0; color: var(--navy); border-bottom: 2px dashed var(--yellow); padding: 0 0.2em; }
.pgd-empty { color: var(--steel); font-style: italic; }
.page-body > .prose + .pgd-sections, .page-body > .prose + .tiles { margin-top: 2.5rem; }

/* Besedilo ostane v berljivi širini, kratke kode (vozila, člani, novice, zemljevid) pa se razširijo. */
.page-body > .prose, .page-body > article.prose { max-width: none; }
.prose > p, .prose > ul, .prose > ol, .prose > h2, .prose > h3, .prose > h4, .prose > details,
.prose > figure, .prose > .wp-block-columns, .prose > .wp-block-file, .prose > .pgd-login,
.prose > .pgd-timeline, .prose > .pgd-contact, .prose > .pgd-build, .prose > .pgd-members-bar { max-width: 72ch; }
.prose > .wp-block-gallery { max-width: 960px; }
.entry .prose { max-width: 72ch; }
.prose > .pgd-fleet, .prose > .pgd-people, .prose > .pgd-sections, .prose > .pgd-news, .prose > .pgd-map, .prose > .pgd-organ { margin-top: 1.5rem; }

/* ---------- Ploščice podstrani ---------- */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.tile {
	display: flex; flex-direction: column; gap: 0.4rem; height: 100%;
	padding: 1.4rem 1.4rem 1.6rem; background: var(--white);
	border: 1px solid var(--line); border-bottom: 4px solid var(--red); border-radius: var(--radius);
	color: var(--ink); text-decoration: none;
}
.tile:hover { border-color: var(--navy); border-bottom-color: var(--red); color: var(--ink); text-decoration: none; }
.tile__title { font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); color: var(--navy); line-height: 1.1; }
.tile__text { color: var(--steel); font-size: 0.98rem; }

/* ---------- Kartice novic ---------- */
.pgd-news { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pgd-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.pgd-card__link { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
.pgd-card__link:hover { color: var(--ink); text-decoration: none; }
.pgd-card__link:hover .pgd-card__title { color: var(--red); }
.pgd-card__img { display: block; aspect-ratio: 16 / 10; background: var(--concrete); overflow: hidden; border-radius: 4px; }
.pgd-card__img img { width: 100%; height: 100%; object-fit: cover; }
/* Novica brez fotografije: besedilna kartica */
.pgd-card--text .pgd-card__link { border-top: 4px solid var(--red); }
.pgd-card--text.pgd-card--big { background: var(--navy); border-radius: var(--radius); }
.pgd-card--text.pgd-card--big .pgd-card__link { border-top: 0; min-height: 100%; }
.pgd-card--text.pgd-card--big .pgd-card__body { padding: clamp(1.5rem, 4vw, 3rem); justify-content: flex-end; min-height: 22rem; height: 100%; background: linear-gradient(160deg, transparent 55%, rgba(242, 194, 0, 0.16) 55% 58%, transparent 58%); }
.pgd-card--text.pgd-card--big .pgd-card__title { color: var(--white); font-size: var(--step-4); }
.pgd-card--text.pgd-card--big .pgd-card__meta, .pgd-card--text.pgd-card--big .pgd-card__excerpt { color: #c9d1de; }
.pgd-card--text.pgd-card--big .pgd-card__link:hover .pgd-card__title { color: var(--yellow); }
.pgd-card__body { display: flex; flex-direction: column; gap: 0.35rem; padding: 1rem 1.1rem 1.25rem; }
.pgd-card__meta { font-size: var(--step--1); color: var(--steel); }
.pgd-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1.12; color: var(--navy); transition: color 0.15s; }
.pgd-card__excerpt { color: #3b475a; }
.pgd-card--big { border: 0; }
.pgd-card--big .pgd-card__body { padding: 1.1rem 0 0; }
.pgd-card--big .pgd-card__title { font-size: var(--step-3); }
.pgd-card--big .pgd-card__img { aspect-ratio: 16 / 9; }

/* ---------- Intervencije ---------- */
.pgd-calls { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pgd-call { display: grid; grid-template-columns: 5.25rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.pgd-call__time { display: flex; flex-direction: column; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pgd-call__day { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--navy); }
.pgd-call__year, .pgd-call__hour { font-size: var(--step--1); color: var(--steel); }
.pgd-call__body { display: flex; flex-direction: column; gap: 0.15rem; }
.pgd-call__type { display: inline-flex; align-items: center; gap: 0.45rem; font-size: var(--step--1); font-weight: 600; color: var(--steel); }
.pgd-call__type::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--steel); flex: none; }
.pgd-call--pozar .pgd-call__type::before, .pgd-call--dimniski-pozar .pgd-call__type::before { background: var(--red); }
.pgd-call--prometna-nesreca .pgd-call__type::before { background: var(--yellow); box-shadow: inset 0 0 0 1px #b48f00; }
.pgd-call--tehnicna-pomoc .pgd-call__type::before { background: var(--navy); }
.pgd-call--naravna-nesreca .pgd-call__type::before { background: #2f7a9e; }
.pgd-call__title { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.15; color: var(--navy); text-decoration: none; }
.pgd-call__title:hover { color: var(--red); text-decoration: underline; }
.pgd-call__meta { color: var(--steel); font-size: 0.95rem; }

.calls-page { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .calls-page { grid-template-columns: 1.7fr 1fr; gap: 4rem; align-items: start; } .calls-page__side { position: sticky; top: calc(var(--head-h) + 1.5rem); } }
.calls-page__note { font-size: var(--step--1); color: var(--steel); margin-top: 1.25rem; }

.pgd-stats { background: var(--concrete); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.pgd-stats__total { margin: 0 0 1rem; }
.pgd-stats__total strong { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--red); margin-right: 0.3rem; }
.pgd-stats__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.pgd-stats__bars li { display: grid; grid-template-columns: minmax(7rem, 1fr) 1.4fr 2rem; gap: 0.6rem; align-items: center; font-size: 0.95rem; }
.pgd-stats__bar { height: 10px; background: var(--white); border-radius: 5px; overflow: hidden; }
.pgd-stats__bar span { display: block; height: 100%; background: var(--red); border-radius: 5px; }
.pgd-stats__n { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }

.call__facts { margin-bottom: 2rem; }

/* ---------- Vozni park ---------- */
.pgd-fleet { display: grid; gap: 1rem 1.25rem; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
@media (max-width: 560px) { .pgd-fleet { grid-template-columns: 1fr 1fr; } .pgd-fleet__code { font-size: 1.5rem; } }
.pgd-fleet__item {
	display: flex; flex-direction: column; gap: 0.1rem;
	background: var(--white); border-radius: var(--radius); padding: 1rem 1.1rem 1.25rem;
	color: var(--ink); text-decoration: none; border: 1px solid var(--line);
}
.band--fleet .pgd-fleet__item { border-color: transparent; }
.pgd-fleet__item:hover { color: var(--ink); text-decoration: none; border-color: var(--navy); }
.pgd-fleet__img { display: grid; place-items: center; aspect-ratio: 4 / 3; margin-bottom: 0.6rem; }
.pgd-fleet__img img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; transition: transform 0.25s; }
.pgd-fleet__item:hover .pgd-fleet__img img { transform: translateX(4px); }
.pgd-fleet__code { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--red); }
.pgd-fleet__model { font-weight: 600; color: var(--navy); }
.pgd-fleet__year { color: var(--steel); font-weight: 400; }
.pgd-fleet__type { font-size: var(--step--1); color: var(--steel); }
.pgd-fleet__img:empty { background: repeating-linear-gradient(-55deg, var(--concrete) 0 14px, #e3e6eb 14px 28px); border-radius: 4px; }

.page-head--vehicle .vehicle__code { font-size: var(--step-5); font-weight: 800; color: var(--red); line-height: 0.95; }
.vehicle__model { font-size: var(--step-1); margin: 0.5rem 0 0; font-weight: 600; }
.vehicle { display: grid; gap: 2rem; }
@media (min-width: 960px) { .vehicle { grid-template-columns: 1.3fr 1fr; gap: 4rem; align-items: start; } }
.vehicle__img { margin: 0; background: var(--concrete); border-radius: var(--radius); padding: clamp(1rem, 4vw, 3rem); }
.vehicle__img img { margin: 0 auto; }
.specs { margin: 0 0 1.5rem; display: grid; border-top: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--steel); }
.specs dd { margin: 0; font-weight: 600; }
@media (max-width: 520px) { .specs > div { grid-template-columns: 1fr; gap: 0.1rem; } }
.equip { padding-left: 1.2rem; }

/* ---------- Člani in vodstvo ---------- */
.pgd-organ + .pgd-organ { margin-top: 3rem; }
.pgd-organ__title { font-size: var(--step-3); padding-bottom: 0.5rem; border-bottom: 3px solid var(--red); display: inline-block; }
.pgd-people { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.pgd-person { display: flex; flex-direction: column; gap: 0.75rem; }
.pgd-person__photo { display: grid; place-items: center; aspect-ratio: 1; background: var(--concrete); border-radius: var(--radius); overflow: hidden; }
.pgd-person__photo img { width: 100%; height: 100%; object-fit: cover; }
.pgd-person__ini { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: #b5bdc9; letter-spacing: 0.04em; }
.pgd-person__body { display: flex; flex-direction: column; gap: 0.1rem; }
.pgd-person__role { font-size: var(--step--1); font-weight: 600; color: var(--red); line-height: 1.3; }
.pgd-person__name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.15; color: var(--navy); }
.pgd-person__rank { color: var(--steel); font-size: 0.95rem; }
.pgd-person__tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.35rem; }
.pgd-person__tags span { font-size: 0.8rem; padding: 0.1rem 0.5rem; border-radius: 999px; background: var(--concrete); color: var(--navy); }
.pgd-person__tel { font-size: 0.95rem; font-weight: 600; margin-top: 0.2rem; }
/* Vodstvo: brez fotografij je seznam bolj zbit */
.pgd-people--roles { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.pgd-people--roles .pgd-person { flex-direction: row; align-items: center; gap: 0.9rem; padding: 0.85rem 0.25rem; border-bottom: 1px solid var(--line); }
.pgd-people--roles .pgd-person__photo { flex: 0 0 52px; width: 52px; border-radius: 50%; }
.pgd-people--roles .pgd-person__ini { font-size: 1.05rem; color: var(--steel); }
.pgd-people--roles .pgd-person__name { font-size: 1.2rem; }

.pgd-sections { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.pgd-section {
	display: flex; flex-direction: column; gap: 0.4rem; padding: 1.25rem 1.3rem 1.4rem;
	background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius);
	color: var(--ink); text-decoration: none;
}
.pgd-section:hover { color: var(--ink); text-decoration: none; border-color: var(--navy); border-left-color: var(--red); }
.pgd-section__name { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: var(--navy); line-height: 1.1; }
.pgd-section__desc { color: var(--steel); font-size: 0.95rem; }
.pgd-section__count { font-size: var(--step--1); font-weight: 600; color: var(--red); margin-top: auto; padding-top: 0.25rem; }

/* ---------- Časovnica ---------- */
.pgd-timeline { list-style: none; margin: 2rem 0; padding: 0; position: relative; }
.pgd-timeline::before { content: ""; position: absolute; left: calc(5.5rem + 0.875rem - 1px); top: 0.4rem; bottom: 0.4rem; width: 2px; background: var(--line); }
.pgd-timeline li { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.75rem; padding: 0 0 1.6rem; position: relative; }
.pgd-timeline li::after { content: ""; position: absolute; left: calc(5.5rem + 0.875rem - 6px); top: 0.55rem; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 3px solid var(--red); }
.pgd-timeline__year { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; color: var(--red); line-height: 1.2; text-align: right; font-variant-numeric: tabular-nums; }
.pgd-timeline p { margin: 0 !important; }
@media (max-width: 560px) {
	.pgd-timeline::before { left: 5px; }
	.pgd-timeline li { grid-template-columns: 1fr; gap: 0.2rem; padding-left: 1.75rem; }
	.pgd-timeline li::after { left: 0; }
	.pgd-timeline__year { text-align: left; }
}

/* ---------- Novi dom ---------- */
.pgd-build { margin: 1.5rem 0; }
.pgd-build__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.6rem; flex-wrap: wrap; }
.pgd-build__pct { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--navy); }
.pgd-build__bar { height: 14px; background: var(--concrete); border-radius: 7px; overflow: hidden; }
.pgd-build__bar span {
	display: block; height: 100%; border-radius: 7px;
	background: repeating-linear-gradient(-55deg, var(--yellow) 0 12px, #e0b300 12px 18px);
}
.pgd-build__steps { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0; }
.pgd-build__steps li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.pgd-build__step { font-weight: 500; }
.pgd-build__state { font-size: var(--step--1); color: var(--steel); white-space: nowrap; }
.pgd-build .is-done .pgd-build__step { opacity: 0.75; }
.pgd-build .is-done .pgd-build__state { color: #2e7d4f; font-weight: 600; }
.pgd-build .is-now .pgd-build__step { font-weight: 700; }
.pgd-build .is-now .pgd-build__state { color: var(--red); font-weight: 700; }
.band--dom .pgd-build .is-done .pgd-build__state, .band--dom .pgd-build .is-now .pgd-build__state { color: var(--yellow); }

/* ---------- Zemljevid ---------- */
.pgd-map { margin: 1.5rem 0; }
.pgd-map__canvas, .pgd-map--embed iframe { width: 100%; height: clamp(320px, 55vh, 520px); border: 0; border-radius: var(--radius); background: var(--concrete); }
.pgd-map__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.75rem; font-size: var(--step--1); color: var(--steel); margin: 0.6rem 0 0 !important; }
.pgd-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--line); }
.pgd-dot--nad { background: var(--red); }
.pgd-dot--pod { background: var(--navy); }
.pgd-map__count { margin-left: auto; }

/* ---------- Kontakt in obrazci ---------- */
.pgd-contact { display: grid; margin: 1.5rem 0; border-top: 1px solid var(--line); }
.pgd-contact > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.pgd-contact dt { color: var(--steel); }
.pgd-contact dd { margin: 0; font-weight: 600; }
@media (max-width: 520px) { .pgd-contact > div { grid-template-columns: 1fr; gap: 0.1rem; } }

.pgd-form { display: grid; gap: 1rem; grid-template-columns: 1fr; max-width: 720px; }
@media (min-width: 640px) { .pgd-form { grid-template-columns: 1fr 1fr; } .pgd-form__wide { grid-column: 1 / -1; } }
.pgd-form p { margin: 0 !important; }
.pgd-form label, .pgd-login label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.pgd-form input, .pgd-form textarea, .pgd-login input[type="text"], .pgd-login input[type="password"], .search input {
	width: 100%; min-height: 48px; padding: 0.65rem 0.8rem;
	font: inherit; color: var(--ink); background: var(--white);
	border: 1px solid #b9c0cb; border-radius: 4px;
}
.pgd-form input:focus, .pgd-form textarea:focus, .pgd-login input:focus, .search input:focus { border-color: var(--navy); outline: 3px solid var(--yellow); outline-offset: 0; box-shadow: none; }
.pgd-form__hp { position: absolute !important; left: -9999px; }
.pgd-form__ok, .pgd-form__err { padding: 0.9rem 1.1rem; border-radius: 4px; font-weight: 600; max-width: 720px; }
.pgd-form__ok { background: #e3f3e8; color: #1d5a35; }
.pgd-form__err { background: #fde8eb; color: var(--red-dark); }
.search { display: flex; gap: 0.5rem; max-width: 520px; margin: 1.5rem 0; }

/* ---------- Za člane ---------- */
.pgd-login { max-width: 460px; padding: clamp(1.5rem, 4vw, 2.25rem); background: var(--concrete); border-radius: var(--radius); border-top: 4px solid var(--navy); }
.pgd-login h2 { margin-top: 0 !important; font-size: var(--step-3); }
.pgd-login form p { margin: 0 0 1rem !important; }
.pgd-login .login-remember label { display: flex; align-items: center; gap: 0.5rem; font-weight: 400; }
.pgd-login .login-remember input { width: 18px; height: 18px; }
.pgd-login input[type="submit"] {
	min-height: 48px; padding: 0.7rem 1.6rem; border: 0; border-radius: 4px; cursor: pointer;
	background: var(--navy); color: var(--white); font: 700 1.15rem var(--font-display);
}
.pgd-login input[type="submit"]:hover { background: var(--red); }
.pgd-login__error { background: #fde8eb; color: var(--red-dark); padding: 0.75rem 1rem; border-radius: 4px; font-weight: 600; }
.pgd-login__help { font-size: var(--step--1); color: var(--steel); }
.pgd-members-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; padding: 0.7rem 1rem; background: var(--concrete); border-radius: 4px; font-size: var(--step--1); }
.pgd-members-links { list-style: none; padding: 0 !important; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-top: 2rem !important; }
.pgd-members-links li { margin: 0 !important; }
.pgd-members-links a { display: flex; flex-direction: column; gap: 0.3rem; height: 100%; padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.pgd-members-links a:hover { border-color: var(--navy); }
.pgd-members-links strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); }
.pgd-members-links span { color: var(--steel); font-size: 0.95rem; }

/* ---------- Novica ---------- */
.page-head--entry .page-head__title { max-width: 28ch; }
.entry__meta { margin: 0 0 0.6rem; color: var(--steel); font-size: var(--step--1); display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.entry__cat { font-weight: 600; text-decoration: none; padding: 0.1rem 0.55rem; background: var(--white); border-radius: 999px; border: 1px solid var(--line); color: var(--red); }
.entry__hero { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.entry__hero img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius); }
.entry__nav { display: grid; gap: 1rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); max-width: 72ch; }
@media (min-width: 640px) { .entry__nav { grid-template-columns: 1fr 1fr; } }
.entry__nav a { display: flex; flex-direction: column; gap: 0.2rem; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--navy); text-decoration: none; }
.entry__nav a span { font-family: var(--font); font-weight: 400; font-size: var(--step--1); color: var(--steel); }
.entry__nav a:hover { color: var(--red); }
.entry__next { text-align: right; grid-column: 2; }

.pagination, .navigation.pagination { margin-top: 2.5rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.nav-links .page-numbers { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; padding: 0 0.8rem; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; color: var(--navy); font-weight: 600; }
.nav-links .page-numbers.current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---------- Noga ---------- */
.site-foot { background: var(--navy); color: #c9d1de; padding-top: clamp(3rem, 6vw, 4.5rem); border-top: 6px solid var(--yellow); }
.site-foot a { color: var(--white); }
.site-foot a:hover { color: var(--yellow); }
.site-foot__grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-bottom: 2.5rem; }
.site-foot__title { color: var(--white); font-size: 1.35rem; margin-bottom: 0.75rem; }
.site-foot p { margin: 0 0 0.75rem; }
.site-foot__people { margin: 0; display: grid; gap: 0.75rem; }
.site-foot__people dt { font-size: var(--step--1); color: #94a0b4; }
.site-foot__people dd { margin: 0; color: var(--white); }
.site-foot__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.site-foot__dl { font-weight: 600; }
.site-foot__dl::before { content: ""; display: inline-block; width: 0.7em; height: 0.85em; margin-right: 0.45em; vertical-align: -0.05em; background: var(--yellow); clip-path: polygon(0 0, 70% 0, 100% 30%, 100% 100%, 0 100%); }
.site-foot__bottom { font-size: var(--step--1); }
.site-foot__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1.5rem; padding: 1.25rem 0 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.site-foot__bottom p { margin: 0; display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* ---------- Leaflet ---------- */
.leaflet-container { font: inherit; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
	.alertbar, .site-head, .site-foot, .hero__stripe, .entry__nav { display: none !important; }
	.page-head { background: none; }
}

/* Slike-ikone (oznake hidrantov ipd.) ostanejo majhne */
.prose .pgd-icon-img img { max-height: 200px; width: auto; border-radius: 0; }

/* ---------- Predogled predloga sprememb ---------- */
.pgd-preview-bar { background: var(--yellow); color: var(--navy); padding: 0.8rem 0; font-size: 0.98rem; position: sticky; top: var(--head-h); z-index: 40; }
.pgd-preview-op { padding: 2rem 0; border-bottom: 1px solid var(--line); }
.pgd-preview-op:first-child { padding-top: 0; }
.pgd-preview-op__title { font-size: var(--step-2); display: flex; gap: 0.75rem; align-items: baseline; }
.pgd-preview-op__title span { display: inline-grid; place-items: center; min-width: 2rem; height: 2rem; border-radius: 50%; background: var(--red); color: var(--white); font-size: 1.1rem; }
.pgd-preview-diff { margin: 0 0 1.25rem; max-width: 72ch; border: 1px solid var(--line); border-radius: var(--radius); padding: 0.75rem 1rem; }
.pgd-preview-diff summary { cursor: pointer; font-weight: 600; }
.pgd-preview-diff li { margin: 0.6rem 0; }
.pgd-preview-diff del { display: block; background: #fde8eb; color: var(--red-dark); padding: 0.2rem 0.4rem; border-radius: 3px; }
.pgd-preview-diff ins { display: block; background: #e3f3e8; color: #1d5a35; padding: 0.2rem 0.4rem; border-radius: 3px; text-decoration: none; margin-top: 0.2rem; }
.pgd-preview-content { border-left: 4px solid var(--yellow); padding-left: 1.25rem; }
.pgd-preview-note { font-size: var(--step--1); color: var(--steel); margin-top: 1rem; }
