/*
 * Preletači — protest-banner register: cool sheet white, black paint, and red
 * that only ever means "a preletač is here" (map markers) or the main action.
 * One family, Archivo, used across its width axis: extra-condensed black for
 * names and headlines, normal width for reading.
 */

@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--sheet: #f2f2ee;
	--paper: #ffffff;
	--paint: #000000;
	--text: #2a2a2e;
	--muted: #6e6e73;
	--rule: #d9d9d3;
	--red: #c8102e;
	--red-dark: #9e0c24;

	--font: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--condensed: 62%;
	--narrow: 75%;

	--gutter: clamp(16px, 4vw, 48px);
	--max: 1240px;
	--header-h: 72px;
	--radius: 3px;
}

/* Base */

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--sheet);
	color: var(--text);
	font-family: var(--font);
	font-size: 1.125rem;
	line-height: 1.6;
	font-stretch: 100%;
}

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

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	text-decoration-thickness: 2px;
}

:focus-visible {
	outline: 3px solid var(--red);
	outline-offset: 2px;
}

h1,
h2,
h3 {
	color: var(--paint);
	font-weight: 900;
	font-stretch: var(--condensed);
	line-height: 0.95;
	letter-spacing: -0.005em;
	margin: 0;
	text-wrap: balance;
}

h2 {
	font-size: clamp(2rem, 4vw, 2.75rem);
}

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

.skip-link {
	position: absolute;
	left: var(--gutter);
	top: -100px;
	z-index: 1000;
	background: var(--paint);
	color: var(--sheet);
	padding: 0.6em 1em;
}

.skip-link:focus {
	top: 8px;
}

/* Buttons */

.button,
.site-main .wpforms-container button[type="submit"],
#login .button-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.6em 1.15em;
	border: 0;
	border-radius: var(--radius);
	background: var(--paint);
	color: var(--sheet);
	font: inherit;
	font-size: 1rem;
	font-weight: 750;
	font-stretch: var(--narrow);
	line-height: 1.1;
	text-decoration: none;
	cursor: pointer;
}

.button:hover {
	background: #333;
}

.button--red,
.site-main .wpforms-container button[type="submit"] {
	background: var(--red);
	color: #fff;
}

.button--red:hover,
.site-main .wpforms-container button[type="submit"]:hover {
	background: var(--red-dark);
}

/* Header */

.site-header {
	display: flex;
	align-items: center;
	gap: clamp(16px, 3vw, 40px);
	height: var(--header-h);
	padding: 0 var(--gutter);
	background: var(--sheet);
	border-bottom: 2px solid var(--paint);
	position: relative;
	z-index: 1001;
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--paint);
	text-decoration: none;
	flex-shrink: 0;
}

.logo__mark {
	width: 44px;
	height: 28px;
}

.logo__word {
	font-size: 1.85rem;
	font-weight: 900;
	font-stretch: var(--condensed);
	line-height: 1;
}

.site-nav {
	display: flex;
	gap: clamp(12px, 2vw, 28px);
	font-weight: 650;
	font-stretch: var(--narrow);
}

.site-nav a {
	text-decoration: none;
	padding: 6px 0;
	border-bottom: 3px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
	border-bottom-color: var(--red);
}

.site-actions {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 18px;
}

.site-actions__account {
	font-weight: 600;
	font-stretch: var(--narrow);
	white-space: nowrap;
}

.site-main {
	display: block;
}

/* Layout helpers */

.site-main > *:not(.mapview):not(.map-strip):not(.cta-band) {
	max-width: var(--max);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

.site-main > .narrow {
	max-width: calc(720px + 2 * var(--gutter));
}

.page-head {
	padding-top: clamp(32px, 6vw, 72px);
	padding-bottom: 24px;
}

.page-head h1 {
	font-size: clamp(3rem, 8vw, 5.5rem);
}

.page-head__summary {
	margin: 12px 0 0;
	color: var(--muted);
	font-size: 1.125rem;
}

.prose {
	max-width: 65ch;
	line-height: 1.65;
}

.prose p {
	margin: 0 0 1em;
}

.empty {
	padding: 32px 0 64px;
	color: var(--muted);
}

/* Hero */

.hero {
	padding-top: clamp(40px, 8vw, 104px);
	padding-bottom: clamp(32px, 5vw, 56px);
}

.hero__title {
	font-size: clamp(3.1rem, 10vw, 8.75rem);
	line-height: 0.86;
	max-width: 13ch;
	letter-spacing: -0.01em;
}

.hero__lede {
	max-width: 52ch;
	margin: 28px 0 32px;
	font-size: clamp(1.125rem, 1.6vw, 1.3rem);
}

/* Filters */

.filters {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px;
	padding-bottom: 32px;
}

.filters__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: min(100%, 240px);
}

.filters__field--q {
	flex: 1 1 320px;
}

.filters__label {
	font-size: 0.875rem;
	font-weight: 650;
	color: var(--paint);
}

.filters input,
.filters select,
.mapview__controls input,
.mapview__controls select,
#login input[type="text"],
#login input[type="email"],
#login input[type="password"] {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 2px solid var(--paint);
	border-radius: var(--radius);
	background: var(--paper);
	color: var(--paint);
	font: inherit;
	font-size: 1rem;
}

.filters select,
.mapview__controls select {
	padding-right: 8px;
}

/* Register rows */

.rows {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 2px solid var(--paint);
}

.row {
	border-bottom: 1px solid var(--rule);
}

.row__link {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) minmax(0, 13rem) 7.5rem;
	align-items: center;
	gap: 18px;
	padding: 12px 8px;
	text-decoration: none;
}

.row__link:hover {
	background: var(--paper);
}

.row__face img,
.row__face .initials {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: var(--radius);
}

.initials {
	border-radius: var(--radius);
	display: grid;
	place-items: center;
	background: var(--paint);
	color: var(--sheet);
	font-weight: 900;
	font-stretch: var(--condensed);
	font-size: 1.4rem;
	line-height: 1;
}

.initials--large {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	font-size: clamp(4rem, 10vw, 7rem);
}

.row__main {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.row__name {
	color: var(--paint);
	font-size: 1.4rem;
	font-weight: 850;
	font-stretch: var(--narrow);
	line-height: 1.1;
}

.row__role {
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.35;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.row__place {
	font-weight: 600;
	font-stretch: var(--narrow);
}

.row__date {
	color: var(--muted);
	font-size: 0.9rem;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

/* The register's top rule must line up with the text column, so size it by width, not padding. */
.site-main > .rows {
	width: min(calc(100% - 2 * var(--gutter)), calc(var(--max) - 2 * var(--gutter)));
	padding-left: 0;
	padding-right: 0;
}

.rows--archive {
	margin-bottom: 32px;
}

.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 16px;
}

.section-head a {
	font-weight: 650;
}

/* Pagination */

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding-bottom: 64px;
}

.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 2px solid var(--paint);
	border-radius: var(--radius);
	text-decoration: none;
	font-weight: 700;
}

.pagination .page-numbers.current {
	background: var(--paint);
	color: var(--sheet);
}

/* Maps */

.map {
	background: #e6e6e1;
}

.map .leaflet-tile-pane {
	filter: grayscale(1) contrast(1.06) brightness(1.03);
}

.map .leaflet-control-attribution {
	font-family: var(--font);
	font-size: 0.75rem;
	background: rgba(242, 242, 238, 0.9);
}

.map .leaflet-control-zoom a {
	color: var(--paint);
	font-weight: 700;
}

/* Two classes: leaflet.css (loaded later) sets display:block on .leaflet-marker-icon. */
.leaflet-marker-icon.pin {
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--red);
	color: #fff;
	font-family: var(--font);
	font-weight: 800;
	font-stretch: var(--narrow);
	font-size: 0.95rem;
	line-height: 1;
	box-shadow: 0 0 0 3px var(--sheet);
	cursor: pointer;
}

.pin--cluster {
	box-shadow: 0 0 0 3px var(--sheet), 0 0 0 9px rgba(200, 16, 46, 0.28);
	font-size: 1.05rem;
}

.pin--single {
	cursor: default;
}

.pin.is-active {
	background: var(--paint);
}

.leaflet-tooltip.pin-tip {
	font-family: var(--font);
	font-weight: 700;
	font-stretch: var(--narrow);
	font-size: 0.95rem;
	border: 2px solid var(--paint);
	border-radius: var(--radius);
	box-shadow: none;
	padding: 4px 8px;
}

.map-strip {
	position: relative;
	border-top: 2px solid var(--paint);
	border-bottom: 2px solid var(--paint);
}

.map--teaser {
	height: clamp(380px, 66vh, 680px);
}

.map-strip__open {
	position: absolute;
	right: var(--gutter);
	bottom: 24px;
	z-index: 500;
}

/* Latest + CTA */

.latest {
	padding-top: clamp(40px, 6vw, 72px);
	padding-bottom: clamp(40px, 6vw, 72px);
}

.cta-band {
	background: var(--paper);
	border-top: 2px solid var(--paint);
	padding: clamp(40px, 6vw, 80px) var(--gutter);
}

.cta-band__inner {
	max-width: var(--max);
	margin: 0 auto;
}

.cta-band__title {
	font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.cta-band p {
	max-width: 52ch;
	margin-top: 16px;
	margin-bottom: 24px;
}

/* Map page */

.mapview {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
	height: calc(100dvh - var(--header-h));
}

.map--full {
	height: 100%;
}

.mapview__panel {
	display: flex;
	flex-direction: column;
	min-height: 0;
	border-left: 2px solid var(--paint);
	background: var(--sheet);
}

.mapview__title {
	font-size: clamp(2.5rem, 4vw, 3.5rem);
	padding: 24px 20px 0;
}

.mapview__hint {
	margin: 8px 20px 0;
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.45;
}

.mapview__controls {
	display: grid;
	gap: 12px;
	padding: 16px 20px;
}

.mapview__status {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0 20px 12px;
}

.mapview__status p {
	margin: 0;
	font-weight: 650;
}

.chip {
	border: 2px solid var(--paint);
	border-radius: 999px;
	background: var(--paper);
	padding: 4px 12px;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 650;
	cursor: pointer;
}

.rows--compact {
	overflow-y: auto;
	flex: 1;
	min-height: 0;
}

.rows--compact .row__link {
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 12px;
	padding: 10px 20px;
}

.rows--compact .row__face img,
.rows--compact .row__face .initials {
	width: 44px;
	height: 44px;
	font-size: 1.1rem;
}

.rows--compact .row__name {
	font-size: 1.2rem;
}

.rows--compact .row__more {
	padding: 14px 20px;
	color: var(--muted);
	font-size: 0.95rem;
}

/* Profile */

.crumbs {
	padding-top: 24px;
	font-size: 0.95rem;
	color: var(--muted);
}

.crumbs a {
	color: var(--text);
}

.profile__head {
	display: grid;
	grid-template-columns: minmax(180px, 300px) minmax(0, 1fr);
	gap: clamp(20px, 4vw, 48px);
	align-items: end;
	padding: 24px 0 32px;
	border-bottom: 2px solid var(--paint);
}

.profile__photo {
	margin: 0;
}

.profile__photo img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--radius);
}

.profile__name {
	font-size: clamp(3rem, 7.5vw, 6.25rem);
	line-height: 0.88;
}

.profile__role {
	margin: 16px 0 0;
	font-size: clamp(1.15rem, 2vw, 1.4rem);
	font-weight: 600;
	font-stretch: var(--narrow);
	color: var(--paint);
}

.profile__facts {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 4px 16px;
	margin: 20px 0 0;
}

.profile__facts dt {
	color: var(--muted);
}

.profile__facts dd {
	margin: 0;
	font-weight: 600;
}

.profile__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
	gap: clamp(28px, 5vw, 64px);
	padding: 36px 0 48px;
}

.profile__text {
	font-size: 1.2rem;
}

.map--single {
	height: 240px;
	border: 2px solid var(--paint);
	border-radius: var(--radius);
}

.profile__maplink {
	display: inline-block;
	margin: 10px 0 28px;
	font-weight: 650;
}

.aside-title {
	font-size: 1.6rem;
	margin: 0 0 10px;
}

.links {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	border-top: 1px solid var(--rule);
}

.links li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px solid var(--rule);
	overflow-wrap: anywhere;
}

.links__label {
	color: var(--muted);
}

.links a {
	font-weight: 650;
}

.links--sources li {
	display: block;
}

.profile__gallery {
	padding-bottom: 72px;
}

.profile__gallery h2 {
	margin-bottom: 20px;
}

.gallery {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 12px;
}

.gallery__item img,
.gallery__item video {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: var(--paint);
	border-radius: var(--radius);
}

/* Forms: gate, login, WPForms */

.form-intro {
	margin-bottom: 24px;
}

.gate {
	padding: 24px;
	margin-bottom: 72px;
	background: var(--paper);
	border: 2px solid var(--paint);
	border-radius: var(--radius);
}

.gate p {
	margin: 0 0 16px;
	max-width: 52ch;
}

.gate__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 0 !important;
}

.form-switch {
	margin: 16px 0 72px;
	color: var(--muted);
}

.notice--error {
	padding: 12px 16px;
	border-left: 4px solid var(--red);
	background: var(--paper);
	color: var(--paint);
}

#login p {
	margin: 0 0 16px;
}

#login label {
	display: block;
	margin-bottom: 6px;
	font-weight: 650;
	color: var(--paint);
}

#login .login-remember label {
	display: inline-flex;
	gap: 8px;
	font-weight: 500;
}

.site-main .wpforms-container {
	--wpforms-field-border-radius: var(--radius);
	--wpforms-field-border-size: 2px;
	--wpforms-field-border-color: var(--paint);
	--wpforms-field-background-color: var(--paper);
	--wpforms-field-text-color: var(--paint);
	--wpforms-label-color: var(--paint);
	--wpforms-label-sublabel-color: var(--muted);
	--wpforms-label-error-color: var(--red);
	--wpforms-button-background-color: var(--red);
	--wpforms-button-text-color: #ffffff;
	--wpforms-button-border-radius: var(--radius);
	--wpforms-page-break-color: var(--red);
	--wpforms-field-size-input-height: 48px;
	--wpforms-field-size-font-size: 17px;
	--wpforms-label-size-font-size: 17px;
	--wpforms-label-size-sublabel-font-size: 15px;
	margin-bottom: 72px;
}

.site-main .wpforms-container,
.site-main .wpforms-container input,
.site-main .wpforms-container textarea,
.site-main .wpforms-container select,
.site-main .wpforms-container button {
	font-family: var(--font);
}

.site-main .wpforms-container .wpforms-field-label {
	font-weight: 700;
}

.site-main .wpforms-container .wpforms-field-divider h3 {
	font-size: 2rem;
	font-weight: 900;
	font-stretch: var(--condensed);
	padding-top: 16px;
	border-top: 2px solid var(--paint);
}

.site-main .wpforms-container .wpforms-confirmation-container-full {
	background: var(--paper);
	border: 2px solid var(--paint);
	color: var(--paint);
}

/* Footer */

.site-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px 48px;
	width: min(calc(100% - 2 * var(--gutter)), calc(var(--max) - 2 * var(--gutter)));
	margin: 0 auto;
	padding: 32px 0 48px;
	border-top: 2px solid var(--paint);
	color: var(--muted);
	font-size: 0.95rem;
}

.site-footer__about {
	max-width: 60ch;
	margin: 0;
}

.site-footer__side {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.site-footer__nav {
	display: flex;
	gap: 20px;
	font-weight: 650;
	color: var(--paint);
}

.site-footer__motto {
	margin: 0;
	color: var(--paint);
	line-height: 1.5;
}

.site-footer__legal {
	flex-basis: 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	font-size: 0.9rem;
}

/* Notices: the one-line legal-change notice, status lines */

.site-notice {
	margin: 0;
	padding: 10px var(--gutter);
	background: var(--paint);
	color: #ffffff;
	text-align: center;
	font-size: 0.95rem;
}

.site-notice a {
	color: #ffffff;
	text-decoration: underline;
}

.notice {
	padding: 12px 16px;
	border-left: 4px solid var(--paint);
	background: var(--paper);
	color: var(--paint);
}

.notice.notice--error {
	border-left-color: var(--red);
}

/* Person page: entries from different submitters */

.entry {
	padding: 0 0 36px;
	margin-bottom: 36px;
	border-bottom: 2px solid var(--paint);
}

.entry:last-child {
	border-bottom: 0;
}

.entry__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 16px;
	margin-bottom: 12px;
}

.entry__title {
	margin: 0;
	font-size: 1.8rem;
}

.entry__meta {
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem;
}

.entry__text {
	font-size: 1.2rem;
}

.entry__subtitle {
	margin: 24px 0 10px;
	font-size: 1.3rem;
}

.entry .disclaimer {
	margin-top: 24px;
}

.profile__add {
	display: flex;
	justify-content: center;
	margin-bottom: 24px;
}

/* Listing: notice, byline, statements, provenance */

.disclaimer {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 24px;
	margin-top: 28px;
	padding: 14px 18px;
	background: var(--paper);
	border-left: 4px solid var(--paint);
	font-size: 0.95rem;
}

.disclaimer p {
	margin: 0;
	max-width: 75ch;
}

.disclaimer__report {
	font-weight: 650;
	white-space: nowrap;
}

.byline--anonimno,
.byline--ukinut {
	font-weight: 500 !important;
	color: var(--muted);
}

.statement {
	margin-top: 36px;
	padding: 18px 20px;
	background: var(--paper);
	border: 2px solid var(--paint);
	border-radius: var(--radius);
}

.statement__title {
	margin: 0;
	font-size: 1.6rem;
}

.statement__date {
	margin: 2px 0 12px;
	color: var(--muted);
	font-size: 0.95rem;
}

.provenance {
	margin-top: 6px;
	font-size: 0.85rem;
	line-height: 1.4;
	color: var(--muted);
	overflow-wrap: anywhere;
}

.gallery__item figure {
	margin: 0;
}

.gallery__item audio {
	width: 100%;
}

.links__type {
	display: block;
	font-size: 0.85rem;
	color: var(--muted);
}

/* Comments (members only): votes are black, red stays for errors. The last
   entry's bottom rule separates them from the entries. */

.comments__head {
	display: flex;
	align-items: baseline;
	gap: 12px;
}

.comments__title {
	margin: 0;
	font-size: 1.8rem;
}

.comments__count {
	font-size: 1.4rem;
	font-weight: 800;
	font-stretch: var(--narrow);
	color: var(--muted);
}

.comments__intro {
	margin: 6px 0 20px;
	font-size: 0.95rem;
	color: var(--muted);
}

.comments .gate {
	margin: 0 0 24px;
}

.gate__link {
	align-self: center;
	font-weight: 650;
}

.comments > .notice {
	margin: 0 0 20px;
}

.comments__empty {
	color: var(--muted);
}

.comment-form {
	margin-bottom: 28px;
}

.comment-form__label,
.report__label {
	display: block;
	margin-bottom: 6px;
	font-weight: 650;
	color: var(--paint);
}

.comment-form textarea,
.report__form input[type="text"] {
	display: block;
	width: 100%;
	padding: 10px 12px;
	border: 2px solid var(--paint);
	border-radius: var(--radius);
	background: var(--paper);
	color: var(--text);
	font: inherit;
	font-size: 1rem;
}

.comment-form textarea {
	min-height: 7.5em;
	resize: vertical;
}

.comment-form__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	margin-top: 10px;
}

.comment-form__note {
	flex: 1 1 260px;
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.45;
	color: var(--muted);
}

.comment-form__count {
	font-size: 0.9rem;
	font-variant-numeric: tabular-nums;
	color: var(--muted);
}

.comment-form__error,
.comment__error,
.report__form .notice {
	margin: 10px 0 0;
	font-size: 0.95rem;
}

.comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--rule);
}

.comment {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 14px;
	padding: 16px 0;
	border-bottom: 1px solid var(--rule);
	scroll-margin-top: 16px;
}

.comment--no-votes {
	grid-template-columns: minmax(0, 1fr);
}

.comment:target {
	background: var(--paper);
	box-shadow: -10px 0 0 var(--paper), 10px 0 0 var(--paper);
}

.vote {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
}

.vote--static {
	padding-top: 2px;
}

.vote__button {
	display: grid;
	place-items: center;
	width: 36px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: var(--radius);
	background: none;
	color: var(--muted);
	cursor: pointer;
}

.vote__button svg {
	width: 15px;
	height: 15px;
}

.vote__button:hover {
	background: var(--rule);
	color: var(--paint);
}

.vote__button[aria-pressed="true"] {
	background: var(--paint);
	color: var(--sheet);
}

.vote__button:focus-visible {
	outline: 2px solid var(--paint);
	outline-offset: 2px;
}

.vote__score {
	font-weight: 800;
	font-stretch: var(--narrow);
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
	color: var(--paint);
}

.is-busy {
	opacity: 0.55;
	pointer-events: none;
}

.comment__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 10px;
	margin: 0;
	font-size: 0.9rem;
	color: var(--muted);
}

.comment__meta .byline {
	font-weight: 650;
	color: var(--paint);
}

.comment__own {
	font-weight: 650;
}

.comment__meta .byline--osoblje {
	padding: 0 6px;
	border: 1px solid var(--paint);
	border-radius: var(--radius);
}

.comments__staff {
	margin: -12px 0 28px;
	font-size: 0.9rem;
	color: var(--muted);
}

.comment__text {
	margin: 4px 0 0;
	white-space: pre-line;
	overflow-wrap: anywhere;
}

.comment__reported {
	margin: 6px 0 0;
	font-size: 0.9rem;
	color: var(--muted);
}

.report,
.comment__request {
	margin-top: 6px;
	font-size: 0.9rem;
}

.report summary,
.comment__request {
	display: inline-block;
	list-style: none;
	color: var(--muted);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	cursor: pointer;
}

.report summary::-webkit-details-marker {
	display: none;
}

.report[open] summary {
	color: var(--paint);
}

.report__form {
	margin-top: 10px;
	padding: 14px 16px;
	background: var(--paper);
	border-left: 4px solid var(--paint);
}

.report__form fieldset {
	margin: 0 0 14px;
	padding: 0;
	border: 0;
}

.report__form legend {
	margin-bottom: 6px;
	font-weight: 650;
	color: var(--paint);
}

.report__form fieldset label {
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding: 3px 0;
}

.report__form .button {
	min-height: 40px;
	margin-top: 12px;
}

/* Map: area-of-activity note */

.map-legend {
	max-width: 260px;
	padding: 4px 8px;
	background: rgba(255, 255, 255, 0.92);
	border-radius: var(--radius);
	color: var(--paint);
	font: 12px/1.3 var(--font);
}

.map-tip {
	max-width: 240px;
	white-space: normal;
	font-family: var(--font);
	font-size: 13px;
}

.mapview__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin-top: 16px;
	padding-top: 12px;
	border-top: 1px solid var(--rule);
	font-size: 0.85rem;
}

/* Legal documents: a long text to read, keep and cite. Parts open under the
   masthead's heavy rule, articles are a step down, and stavovi and tačke are
   ordered lists carrying the lawyer's own numbers ("(1)", "1)"). On a wide
   screen the stav numbers hang in the margin, right-aligned on their bracket, so
   the text of every stav lines up with the headings above it. */

.legal__head {
	padding-bottom: 8px;
}

.legal__head h1 {
	max-width: 18ch;
	font-size: clamp(2.5rem, 6vw, 4.25rem);
}

.legal__meta {
	margin: 14px 0 0;
	color: var(--muted);
	font-size: 1rem;
	font-variant-numeric: tabular-nums;
}

/* "Primenjuje se od: 4. 11. 2026." breaks between parts, never inside one. */
.legal__meta > span {
	white-space: nowrap;
}

.legal__head .button {
	margin-top: 10px;
}

.legal__text {
	--stav-num: 2.4em;
	--tacka-num: 2.1em;
	--num-gap: 0.55em;
	max-width: 66ch;
	font-size: 1.0625rem;
	line-height: 1.65;
}

.legal__text p {
	margin: 0 0 0.9em;
}

.legal__text h2 {
	margin: 3.25rem 0 1rem;
	padding-top: 14px;
	border-top: 3px solid var(--paint);
	font-size: clamp(1.45rem, 2.6vw, 1.75rem);
	line-height: 1.05;
	letter-spacing: 0.01em;
}

.legal__text > h2:first-child {
	margin-top: 1.25rem;
}

.legal__text h3 {
	margin: 2.25rem 0 0.55rem;
	font-size: 1.3rem;
	font-weight: 800;
	font-stretch: var(--narrow);
	line-height: 1.2;
}

.legal__text h2 + h3 {
	margin-top: 0;
}

.legal__stavovi,
.legal__tacke {
	margin: 0 0 1.1em;
	padding: 0;
	list-style: none;
}

.legal__stavovi > li,
.legal__tacke > li {
	display: grid;
	grid-template-columns: var(--stav-num) minmax(0, 1fr);
	column-gap: var(--num-gap);
}

.legal__tacke > li {
	grid-template-columns: var(--tacka-num) minmax(0, 1fr);
}

.legal__stavovi > li > *,
.legal__tacke > li > * {
	grid-column: 2;
}

.legal__stavovi > li + li {
	margin-top: 0.8em;
}

.legal__tacke > li + li {
	margin-top: 0.3em;
}

.legal__text .legal__num {
	grid-column: 1;
	color: var(--paint);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.legal__stavovi p,
.legal__tacke p {
	margin: 0;
}

/* Tačke inside a stav: their own indent, under the stav's text. */
.legal__stavovi .legal__tacke {
	margin: 0.45em 0 0.1em;
}

/* A phone can't afford two indents: tačke start under the stav's number. */
@media (max-width: 599px) {
	.legal__text {
		--stav-num: 2.1em;
		--tacka-num: 1.9em;
		--num-gap: 0.45em;
	}

	.legal__stavovi .legal__tacke {
		grid-column: 1 / -1;
	}
}

@media (min-width: 960px) {
	.legal__text > .legal__stavovi,
	.legal__text > .legal__tacke {
		margin-left: calc(-1 * (var(--stav-num) + var(--num-gap)));
	}

	.legal__text > .legal__tacke {
		--tacka-num: var(--stav-num);
	}
}

/* Long Paragraf links in član 23 must not widen the page on a phone. */
.legal__text a {
	overflow-wrap: anywhere;
}

/* "Podaci o upravljaču" lands on #clan-22, a citation on #clan-13-stav-4: lift it off the sheet. */
.legal__text :target {
	scroll-margin-top: 24px;
	background: var(--paper);
	box-shadow: 0 0 0 8px var(--paper);
}

.legal__text mark {
	background: #fff1a8;
	color: var(--paint);
}

.legal__text table {
	width: 100%;
	margin: 0.5rem 0 1.25rem;
	border-collapse: collapse;
	font-size: 0.95rem;
	line-height: 1.5;
}

.legal__text th,
.legal__text td {
	padding: 10px 14px 10px 0;
	border-bottom: 1px solid var(--rule);
	text-align: left;
	vertical-align: top;
}

.legal__text th {
	border-bottom: 2px solid var(--paint);
	color: var(--paint);
	font-weight: 700;
}

.legal__archive {
	max-width: 66ch;
	margin: 56px 0 72px;
	padding-top: 14px;
	border-top: 3px solid var(--paint);
}

.legal__archive h2 {
	margin-bottom: 0.75rem;
	font-size: clamp(1.45rem, 2.6vw, 1.75rem);
}

.legal .prose {
	margin-top: 8px;
}

@media print {
	.site-header,
	.site-footer,
	.skip-link,
	.legal__head .button {
		display: none;
	}

	body {
		background: #fff;
	}

	.legal__text,
	.legal__archive {
		max-width: none;
	}

	.legal__text a {
		text-decoration: none;
	}
}

/* Account */

.account {
	display: grid;
	grid-template-columns: minmax(140px, max-content) minmax(0, 1fr);
	gap: 10px 24px;
	margin: 0 0 48px;
}

.account dt {
	color: var(--muted);
}

.account dd {
	margin: 0;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.account__note {
	display: block;
	font-weight: 400;
	font-size: 0.9rem;
	color: var(--muted);
}

.danger {
	margin-bottom: 72px;
	padding: 24px;
	background: var(--paper);
	border: 2px solid var(--paint);
	border-radius: var(--radius);
}

.danger h2 {
	margin-top: 0;
}

.danger__form {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px;
}

.danger__form label {
	flex-basis: 100%;
	font-weight: 650;
	color: var(--paint);
}

.danger__form input {
	flex: 1 1 240px;
	height: 48px;
	padding: 0 12px;
	border: 2px solid var(--paint);
	border-radius: var(--radius);
	font: inherit;
}

/* Form additions: warnings, provenance per file, confirm dialog */

.pr-warning {
	font-weight: 800;
	color: var(--paint);
}

p.pr-warning {
	padding: 10px 14px;
	border-left: 4px solid var(--paint);
	background: var(--paper);
	font-weight: 600;
}

.pr-provenance {
	display: grid;
	gap: 12px;
	margin-top: 12px;
}

.site-main .wpforms-container .pr-provenance__item {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 12px 14px;
	background: var(--paper);
	border: 2px solid var(--paint);
	border-radius: var(--radius);
}

.site-main .wpforms-container .pr-provenance__item.is-invalid {
	border-color: var(--red);
}

/* WPForms' repeater buttons default to a pale grey that reads as disabled. */
.site-main .wpforms-container .wpforms-field-repeater-display-blocks-buttons button {
	color: var(--paint);
	font-weight: 650;
	background: var(--paper);
	border: 2px solid var(--paint);
	border-radius: var(--radius);
}

.pr-provenance__item legend {
	padding: 0 4px;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.pr-provenance__field {
	display: grid;
	gap: 4px;
	font-weight: 600;
	color: var(--paint);
}

.pr-provenance__field select {
	height: 44px;
	padding: 0 10px;
	background: var(--paper);
	border: 2px solid var(--paint);
	border-radius: var(--radius);
	font: inherit;
	font-weight: 400;
}

.site-main .wpforms-container .pr-people {
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
	background: var(--paper);
	border: 2px solid var(--paint);
	border-radius: var(--radius);
}

.site-main .wpforms-container .pr-people li {
	padding: 10px 12px;
	cursor: pointer;
	border-bottom: 1px solid var(--rule);
}

.site-main .wpforms-container .pr-people li:last-child {
	border-bottom: 0;
}

.site-main .wpforms-container .pr-people li:hover,
.site-main .wpforms-container .pr-people li[aria-selected="true"] {
	background: var(--sheet);
}

.pr-person-chosen {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin-top: 8px;
	padding: 10px 14px;
	background: var(--paper);
	border-left: 4px solid var(--paint);
}

.pr-person-chosen p {
	margin: 0;
	flex: 1 1 260px;
}

.site-main .wpforms-container .pr-person-chosen__change {
	padding: 6px 12px;
	background: var(--paper);
	color: var(--paint);
	border: 2px solid var(--paint);
	border-radius: var(--radius);
	font-weight: 650;
	cursor: pointer;
}

.site-main .wpforms-container .wpforms-field[hidden] {
	display: none;
}

.pr-dialog {
	max-width: min(520px, calc(100% - 32px));
	padding: 24px;
	background: var(--paper);
	color: var(--paint);
	border: 2px solid var(--paint);
	border-radius: var(--radius);
	font-family: var(--font);
}

.pr-dialog::backdrop {
	background: rgba(0, 0, 0, 0.5);
}

.pr-dialog p {
	margin-top: 0;
}

.pr-dialog__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* Small screens */

@media (max-width: 900px) {
	.site-nav {
		display: none;
	}

	.mapview {
		grid-template-columns: 1fr;
		grid-template-rows: 55dvh auto;
		height: auto;
	}

	.mapview__panel {
		border-left: 0;
		border-top: 2px solid var(--paint);
	}

	.rows--compact {
		overflow: visible;
	}

	.profile__body {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	:root {
		--header-h: 64px;
	}

	.logo__word {
		font-size: 1.5rem;
	}

	.site-actions__account {
		display: none;
	}

	.site-actions .button {
		min-height: 40px;
		padding: 0.5em 0.8em;
		font-size: 0.95rem;
	}

	.filters__field {
		flex: 1 1 100%;
	}

	.row__link {
		grid-template-columns: 48px minmax(0, 1fr);
		column-gap: 12px;
		row-gap: 0;
	}

	.row__face {
		grid-row: span 3;
		align-self: start;
	}

	.row__face img,
	.row__face .initials {
		width: 48px;
		height: 48px;
	}

	.row__place,
	.row__date {
		grid-column: 2;
		text-align: left;
		font-size: 0.9rem;
	}

	.profile__head {
		grid-template-columns: 1fr;
	}

	.profile__photo {
		max-width: 260px;
	}

	.account {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	.account dd {
		margin-bottom: 12px;
	}

	.map-strip__open {
		right: 16px;
		bottom: 16px;
	}
}

@media (max-width: 340px) {
	.logo__word {
		display: none;
	}
}
