/* loglasi.rs: zajednički tokeni, osnova, zaglavlje, podnožje i donja navigacija (boje iz odluke 23. 10. 2026) */

/* Manrope (OFL, public/fonts/OFL.txt), varijabilni 200–800, sa sajta, bez spoljnih zahteva */
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/manrope-latin.woff2") format("woff2");
	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: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
	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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Rezervni font sa istim merama kao Manrope, da zamena fonta ne pomera stranu */
@font-face {
	font-family: "Manrope rezerva";
	src: local("Arial"), local("Liberation Sans"), local("Helvetica");
	size-adjust: 103%;
	ascent-override: 103.5%;
	descent-override: 29.1%;
	line-gap-override: 0%;
}

:root {
	--lg-green: #2b7a64;      /* dugmad (AA kontrast) */
	--lg-green-dark: #1f5b4a;
	--lg-brand: #379b7f;      /* logo, akcenti */
	--lg-orange: #b8501a;     /* dugmad (AA kontrast) */
	--lg-orange-dark: #9a4215;
	--lg-accent: #ef7a38;     /* akcenti */
	--lg-mint: #e9f4f0;
	--lg-peach: #fcebdf;
	--lg-bg: #f6f7f5;
	--lg-text: #1d2b26;
	--lg-text-2: #3f4a45;
	--lg-muted: #5b6470;
	--lg-border: #e3e7e4;
	--lg-input: #c9d1cc;
	--lg-error: #b42318;
	--lg-footer: #374b5c;      /* podnožje, kao na starom sajtu */
	--lg-footer-line: #4c6072;
	--lg-footer-text: #dce3e9;
	--lg-radius: 14px;
	--lg-radius-sm: 12px;
	--lg-max: 1240px;
	--lg-gutter: 24px;
	--lg-mnav-h: 68px;
	--lg-font: "Manrope", "Manrope rezerva", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

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

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--lg-bg);
	color: var(--lg-text);
	font: 16px/1.5 var(--lg-font);
	overflow-wrap: break-word;
}

main { flex: 1 0 auto; }

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

a { color: var(--lg-green); text-underline-offset: 2px; }
a:hover { color: var(--lg-green-dark); }

:focus-visible {
	outline: 2px solid var(--lg-accent);
	outline-offset: 2px;
}

/* Text fields: always a clearly visible ring (#B8501A has 3:1+ contrast on white). */
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--lg-orange);
	outline-offset: 2px;
}

button, input, select, textarea { font: inherit; color: inherit; }

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

.lg-skip {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 10000;
	padding: 10px 14px;
	border-radius: 10px;
	background: #fff;
	color: var(--lg-green-dark);
	font-weight: 700;
	transform: translateY(-200%);
}
.lg-skip:focus { transform: none; }

.lg-visually-hidden {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.lg-icon { display: block; flex: none; }

/* Dugmad (zajednička) ------------------------------------------------- */

.lg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 22px;
	border: 2px solid transparent;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.lg-btn--green, .lg-btn--green:visited { background: var(--lg-green); color: #fff; }
.lg-btn--green:hover { background: var(--lg-green-dark); color: #fff; }
.lg-btn--orange, .lg-btn--orange:visited { background: var(--lg-orange); color: #fff; }
.lg-btn--orange:hover { background: var(--lg-orange-dark); color: #fff; }
.lg-btn--outline, .lg-btn--outline:visited { background: #fff; border-color: var(--lg-green); color: var(--lg-green); }
.lg-btn--outline:hover { background: var(--lg-green); color: #fff; }

/* Zaglavlje ----------------------------------------------------------- */

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

.lg-header__in {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	padding-top: 14px;
	padding-bottom: 14px;
}

.lg-logo,
.lg-logo:visited {
	flex: none;
	color: var(--lg-text);
	font-size: 26px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -.5px;
	text-decoration: none;
}
.lg-logo:hover { color: var(--lg-text); }
.lg-logo span { color: var(--lg-brand); }
.lg-logo img { display: block; height: 44px; width: auto; }

.lg-header__mesto { display: none; }

.lg-search {
	flex: 1 1 300px; /* small basis: the account links stay on the same line down to a tablet */
	min-width: 0;
	display: flex;
	align-items: stretch;
	margin: 0;
	border: 2px solid var(--lg-brand);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}
.lg-search:focus-within { outline: 2px solid var(--lg-orange); outline-offset: 2px; }
.lg-search :focus-visible { outline: none; }
.lg-search__izbor:focus-visible,
.lg-search__dugme:focus-visible,
.lg-search__filteri:focus-visible { box-shadow: inset 0 0 0 2px var(--lg-accent); }
.lg-search__polje {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	padding: 0 14px;
	color: var(--lg-muted);
}
.lg-search__input {
	width: 100%;
	height: 48px;
	border: 0;
	background: transparent;
	color: var(--lg-text);
	font-size: 16px;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}
.lg-search__input::placeholder { color: var(--lg-muted); opacity: 1; }
.lg-search__input::-webkit-search-decoration { -webkit-appearance: none; }
.lg-search__izbor {
	border: 0;
	border-left: 1px solid var(--lg-border);
	border-radius: 0;
	padding: 0 12px;
	background: #fff;
	color: var(--lg-text);
	font-size: 15px;
	cursor: pointer;
}
.lg-search .lg-search__izbor--kat { flex: none; width: 168px; }
.lg-search .lg-search__izbor--mesto { flex: none; width: 184px; }
/* Signed in, the bell, Poruke and Moj nalog take the room: the place is chosen on the results page instead,
   so the search field and the category stay readable. */
@media (max-width: 1599.98px) { .lg-header--nalog .lg-search .lg-search__izbor--mesto { display: none; } }
.lg-search__dugme {
	border: 0;
	padding: 0 22px;
	background: var(--lg-green);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}
.lg-search__dugme:hover { background: var(--lg-green-dark); }
.lg-search__filteri { display: none; }

.lg-header__nav {
	display: flex;
	align-items: center;
	gap: 16px;
}
.lg-header__nalog,
.lg-header__nalog:visited {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	color: var(--lg-text);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}
.lg-header__nalog:hover { color: var(--lg-green); text-decoration: underline; }
/* Bell (in-app notifications) and the message count: a small orange badge on the icon */
.lg-header__ik { position: relative; display: inline-flex; }
.lg-header__zvono,
.lg-header__zvono:visited {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: var(--lg-text);
}
.lg-header__zvono:hover { background: var(--lg-mint); color: var(--lg-green); }
.lg-header__broj {
	position: absolute;
	top: -6px;
	right: -10px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border: 2px solid #fff;
	border-radius: 9px;
	background: var(--lg-orange);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 14px;
	text-align: center;
}
.lg-header__zvono .lg-header__broj { top: 2px; right: 0; }
/* Up to a very wide screen "Poruke" is only the icon (like the bell), so the search keeps its width. */
@media (max-width: 1679.98px) { .lg-header__tekst { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.lg-header__postavi,
.lg-header__postavi:visited {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 12px 18px;
	border-radius: 10px;
	background: var(--lg-orange);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}
.lg-header__postavi:hover { background: var(--lg-orange-dark); color: #fff; }

/* Između tableta i desktopa izbor mesta ne staje u red. */
@media (max-width: 1100px) {
	.lg-search .lg-search__izbor--mesto { display: none; }
}

/* Kolačići ------------------------------------------------------------ */

.lg-kolacici {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9995;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px 16px;
	padding: 8px var(--lg-gutter) calc(8px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--lg-border);
	background: #fff;
	box-shadow: 0 -4px 16px rgba(29, 43, 38, .08);
}
.lg-kolacici[hidden] { display: none; }
.lg-kolacici p { margin: 0; min-width: 0; font-size: 14px; line-height: 1.4; }
.lg-kolacici a { white-space: nowrap; }
.lg-kolacici__ok {
	flex: none;
	min-height: 44px;
	padding: 8px 18px;
	border: 0;
	border-radius: 10px;
	background: var(--lg-green);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}
.lg-kolacici__ok:hover { background: var(--lg-green-dark); }
.lg-kolacici__ne {
	flex: none;
	min-height: 44px;
	padding: 8px 12px;
	border: 0;
	background: none;
	color: inherit;
	font-size: 15px;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}
.lg-footer__kolacici {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-decoration: underline;
	cursor: pointer;
}
.lg-footer__kolacici[hidden] { display: none; }
@media (max-width: 767.98px) {
	.lg-kolacici { justify-content: space-between; padding-top: 6px; padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px)); }
	.lg-kolacici p { font-size: 13px; }
	/* Sits right on top of the bottom nav (which already pads for the safe area), not over it. */
	body.lg-has-mnav .lg-kolacici { bottom: calc(var(--lg-mnav-h) + env(safe-area-inset-bottom, 0px)); padding-bottom: 6px; }
}

/* Podnožje ------------------------------------------------------------ */

.lg-footer {
	margin-top: 48px;
	background: var(--lg-footer);
	color: var(--lg-footer-text);
}
.lg-footer a,
.lg-footer a:visited { color: var(--lg-footer-text); text-decoration: none; }
.lg-footer a:hover { color: #fff; text-decoration: underline; }
.lg-footer__vrh {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 20px;
	padding-top: 28px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--lg-footer-line);
}
.lg-footer__vesti { margin: 0; color: #fff; font-size: 20px; font-weight: 800; line-height: 1.3; }
.lg-footer__podnaslov { margin: 4px 0 0; font-size: 15px; line-height: 1.5; }
.lg-footer a.lg-footer__postavi,
.lg-footer a.lg-footer__postavi:visited { color: #fff; text-decoration: none; }
.lg-footer__in {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px 36px;
	padding-top: 44px;
	padding-bottom: 40px;
}
.lg-footer__col { min-width: 0; }
.lg-footer__brend { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.lg-footer a.lg-footer__logo,
.lg-footer a.lg-footer__logo:visited {
	display: inline-flex;
	color: #fff;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.3;
	text-decoration: none;
}
.lg-footer__logo span { color: #8fd8c1; }
.lg-footer__logo img { display: block; height: 48px; width: auto; }
.lg-footer__tekst { margin: 0; font-size: 15px; line-height: 1.6; }
.lg-footer__kontakt { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.lg-footer__kontakt a,
.lg-footer__kontakt span { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.lg-footer__naslov { margin: 4px 0 10px; color: #fff; font-size: 16px; font-weight: 800; }
.lg-footer__naslov--mreze { margin-top: 18px; }
/* Link groups: plain headings on a computer, folding rows on a phone. */
.lg-footer__grupe { display: grid; gap: 18px; align-content: start; }
.lg-footer__grupa > summary { display: block; list-style: none; pointer-events: none; }
.lg-footer__grupa > summary::-webkit-details-marker { display: none; }
.lg-footer__lista { margin: 0; padding: 0; list-style: none; }
/* Room for the 4 latest listings + "Pogledajte sve" (5 x 44 px) before they load: no layout shift. */
.lg-footer__najnoviji { min-height: 220px; }
.lg-footer__lista a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
.lg-footer__lista a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.lg-footer a.lg-footer__sve { color: #fff; font-weight: 700; }
.lg-footer__lista a.lg-footer__oglas { display: flex; justify-content: space-between; gap: 10px; max-width: 100%; }
.lg-footer__oglas span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-footer__cena { flex: 0 0 auto; color: #fff; font-weight: 700; }
.lg-footer__mreze { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.lg-footer__mreze a,
.lg-footer__mreze a:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--lg-footer-line);
	color: #fff;
}
.lg-footer__mreze a:hover { background: var(--lg-brand); color: #fff; }
.lg-footer :focus-visible { outline-color: #fff; box-shadow: 0 0 0 4px var(--lg-accent); }
.lg-footer__dno {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 16px;
	padding-top: 18px;
	padding-bottom: 18px;
	border-top: 1px solid var(--lg-footer-line);
	font-size: 14px;
	line-height: 1.5;
}
.lg-footer__dno p { margin: 0; }

@media (max-width: 1100px) {
	.lg-footer__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Navigacija naloga: meni sa strane na računaru, lista na pregledu naloga na telefonu --------- */

.lg-acct {
	display: grid;
	grid-template-columns: 264px minmax(0, 1fr);
	gap: 32px;
	align-items: start;
	padding-top: 28px;
	padding-bottom: 56px;
}
.lg-acct__side { position: sticky; top: 20px; }
.lg-acct__main { min-width: 0; }
/* Strane naloga imaju svoj omotač; unutar okvira naloga on ne dodaje širinu ni razmak. */
.lg-acct__main > .lg-wrap { max-width: none; margin: 0; padding: 0; }
.lg-acct__back { display: none; }

.lg-acct-nav {
	padding: 10px;
	border: 1px solid var(--lg-border);
	border-radius: 18px;
	background: #fff;
}
.lg-acct-nav__me,
.lg-acct-nav__me:visited {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 10px 14px;
	margin-bottom: 6px;
	border-bottom: 1px solid var(--lg-border);
	color: var(--lg-text);
	text-decoration: none;
}
.lg-acct-nav__avatar {
	display: grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--lg-mint);
	color: var(--lg-green-dark);
	font-weight: 800;
}
.lg-acct-nav__avatar img { width: 100%; height: 100%; object-fit: cover; }
.lg-acct-nav__who { display: grid; min-width: 0; line-height: 1.3; }
.lg-acct-nav__who strong { overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.lg-acct-nav__who small { color: var(--lg-muted); font-size: 13px; }
.lg-acct-nav__title {
	margin: 12px 12px 4px;
	color: var(--lg-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.lg-acct-nav ul { margin: 0; padding: 0; list-style: none; }
.lg-acct-nav a,
.lg-acct-nav a:visited,
.lg-acct-nav button {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 44px;
	padding: 0 12px;
	border: 0;
	border-radius: 12px;
	background: none;
	color: var(--lg-text);
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}
.lg-acct-nav .lg-icon { flex: none; color: var(--lg-muted); }
.lg-acct-nav a:hover,
.lg-acct-nav button:hover { background: var(--lg-bg); }
.lg-acct-nav a[aria-current="page"] { background: var(--lg-mint); color: var(--lg-green-dark); }
.lg-acct-nav a[aria-current="page"] .lg-icon { color: var(--lg-green); }
.lg-acct-nav__label { flex: 1; min-width: 0; }
.lg-acct-nav__count {
	min-width: 24px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--lg-bg);
	color: var(--lg-muted);
	font-size: 13px;
	font-weight: 700;
	text-align: center;
}
.lg-acct-nav__count.is-alert { background: var(--lg-orange); color: #fff; }
.lg-acct-nav__group--end { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--lg-border); }
.lg-acct-nav__group--end button:hover { color: var(--lg-error); }

/* Lista na pregledu naloga (samo telefon). */
.lg-acct-nav--list { display: none; }

@media (max-width: 1023.98px) {
	.lg-acct { display: block; padding-top: 12px; padding-bottom: 32px; }
	.lg-acct__side { display: none; }
	.lg-acct__back,
	.lg-acct__back:visited {
		display: inline-flex;
		align-items: center;
		gap: 4px;
		min-height: 40px;
		margin: 0 0 4px -6px;
		padding: 0 8px 0 2px;
		color: var(--lg-green-dark);
		font-size: 15px;
		font-weight: 700;
		text-decoration: none;
	}
	.lg-acct-nav--list { display: block; padding: 6px; }
	.lg-acct-nav--list a,
	.lg-acct-nav--list button { min-height: 52px; }
	.lg-acct-nav--list .lg-icon--chevron-r { color: var(--lg-input); }
}

/* Donja navigacija (samo telefon) -------------------------------------- */

.lg-mnav { display: none; }

/* Telefon --------------------------------------------------------------- */

@media (max-width: 767.98px) {
	:root { --lg-gutter: 16px; }

	body.lg-has-mnav { padding-bottom: calc(var(--lg-mnav-h) + env(safe-area-inset-bottom, 0px)); }

	.lg-header__in {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto auto;
		gap: 10px;
		padding-top: 12px;
		padding-bottom: 12px;
	}
	.lg-logo { justify-self: start; font-size: 22px; }
	.lg-header__zvono { grid-row: 1; grid-column: 3; }
	.lg-header__mesto {
		display: flex;
		align-items: center;
		gap: 4px;
		margin: 0;
		font-size: 13px;
		color: var(--lg-muted);
	}
	.lg-search { grid-column: 1 / -1; }
	.lg-search__polje { padding: 0 12px; }
	.lg-search__input { height: 44px; }
	.lg-search .lg-search__izbor,
	.lg-search__dugme { display: none; }
	.lg-search__filteri,
	.lg-search__filteri:visited {
		display: flex;
		align-items: center;
		justify-content: center;
		flex: none;
		width: 48px;
		border-left: 1px solid var(--lg-border);
		color: var(--lg-green);
	}
	.lg-search__filteri:hover { color: var(--lg-green-dark); background: var(--lg-mint); }
	/* Na telefonu su nalog i „Postavi oglas” u donjoj navigaciji. */
	body.lg-has-mnav .lg-header__nav { display: none; }
	.lg-header__nav { grid-column: 1 / -1; justify-content: space-between; }
	/* Pages without the bottom bar (posting, a listing with its contact bar): the account links go into the
	   top row, compact, instead of a loose second row; posting itself is one tap away on every other page. */
	body:not(.lg-has-mnav) .lg-header__mesto { display: none; }
	body:not(.lg-has-mnav) .lg-header__nav { grid-row: 1; grid-column: 2; gap: 10px; }
	body:not(.lg-has-mnav) .lg-header__postavi { display: none; }

	.lg-footer { margin-top: 32px; }
	.lg-footer__vrh { padding-top: 24px; padding-bottom: 24px; }
	.lg-footer__vesti { font-size: 18px; }
	.lg-footer__podnaslov { font-size: 14px; }
	.lg-footer__postavi { width: 100%; justify-content: center; }
	.lg-footer__in { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 28px; padding-bottom: 16px; }
	.lg-footer__brend { gap: 6px; padding-bottom: 20px; }
	.lg-footer__kontakt a, .lg-footer__kontakt span { min-height: 36px; }
	.lg-footer__grupe { gap: 0; }
	.lg-footer__grupa { border-top: 1px solid var(--lg-footer-line); }
	.lg-footer__grupa > summary {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 52px;
		margin: 0;
		pointer-events: auto;
		cursor: pointer;
	}
	.lg-footer__grupa > summary::after {
		content: "";
		width: 9px;
		height: 9px;
		margin-right: 4px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg) translateY(-3px);
		transition: transform .2s;
	}
	.lg-footer__grupa[open] > summary::after { transform: rotate(-135deg) translate(-2px, -1px); }
	.lg-footer__grupa > .lg-footer__lista { padding-bottom: 10px; }
	.lg-footer__lista a { font-size: 15px; }
	.lg-footer__zadnja { padding-top: 20px; border-top: 1px solid var(--lg-footer-line); }
	/* The newest listings are all over the page already; on a phone the footer keeps only the social links. */
	.lg-footer__naslov--najnoviji, .lg-footer__najnoviji { display: none; }
	.lg-footer__naslov--mreze { margin-top: 0; }
	.lg-footer__dno { font-size: 13px; }

	.lg-mnav {
		display: block;
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 9990;
		padding-bottom: env(safe-area-inset-bottom, 0px);
		border-top: 1px solid var(--lg-border);
		background: #fff;
		box-shadow: 0 -4px 16px rgba(29, 43, 38, .06);
	}
	.lg-mnav__lista {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
		height: var(--lg-mnav-h);
		margin: 0;
		padding: 0;
		list-style: none;
	}
	.lg-mnav__stavka { display: flex; margin: 0; padding: 0; }
	.lg-mnav__link,
	.lg-mnav__link:visited {
		position: relative;
		display: flex;
		flex: 1;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4px;
		min-width: 44px;
		min-height: 44px;
		padding: 6px 2px;
		color: var(--lg-muted);
		font-size: 12px;
		font-weight: 600;
		line-height: 1.2;
		text-align: center;
		text-decoration: none;
		-webkit-tap-highlight-color: transparent;
	}
	.lg-mnav__link:hover { color: var(--lg-text); }
	.lg-mnav__link:focus-visible { outline-offset: -4px; border-radius: 10px; }
	.lg-mnav__link[aria-current="page"] { color: var(--lg-green); font-weight: 700; }
	.lg-mnav__link[aria-current="page"]::before {
		content: "";
		position: absolute;
		top: 0;
		left: 50%;
		width: 28px;
		height: 3px;
		border-radius: 0 0 3px 3px;
		background: var(--lg-green);
		transform: translateX(-50%);
	}
	.lg-mnav__ikonica { position: relative; display: flex; }
	.lg-mnav__naziv { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

	/* Srednje dugme: narandžasti krug izdignut iznad trake. */
	.lg-mnav__stavka--cta .lg-mnav__link,
	.lg-mnav__stavka--cta .lg-mnav__link:visited {
		justify-content: flex-end;
		padding-bottom: 12px;
		color: var(--lg-text);
		font-weight: 700;
		letter-spacing: -.01em;
	}
	.lg-mnav__stavka--cta .lg-mnav__ikonica {
		position: absolute;
		top: -20px;
		left: 50%;
		align-items: center;
		justify-content: center;
		width: 56px;
		height: 56px;
		border: 4px solid #fff;
		border-radius: 50%;
		background: var(--lg-orange);
		color: #fff;
		box-shadow: 0 4px 12px rgba(184, 80, 26, .35);
		transform: translateX(-50%);
		transition: transform .15s ease;
	}
	.lg-mnav__stavka--cta .lg-mnav__link:active .lg-mnav__ikonica { transform: translateX(-50%) scale(.94); }
	.lg-mnav__stavka--cta .lg-mnav__link[aria-current="page"]::before { display: none; }
	.lg-mnav__broj {
		position: absolute;
		top: -6px;
		right: -10px;
		min-width: 18px;
		height: 18px;
		padding: 0 5px;
		border: 2px solid #fff;
		border-radius: 9px;
		background: var(--lg-orange);
		color: #fff;
		font-size: 10px;
		font-weight: 700;
		line-height: 14px;
		text-align: center;
	}
}

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

@media print {
	.lg-header__nav, .lg-search, .lg-mnav, .lg-footer__nav { display: none !important; }
	body { background: #fff; padding-bottom: 0 !important; }
}

/* Ranije pretrage (js/recent.js) */
.lg-recent {
	position: absolute;
	z-index: 9000;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--lg-border);
	border-radius: 14px;
	box-shadow: 0 16px 40px rgba(20, 40, 30, .16);
}
.lg-recent[hidden] { display: none; }
.lg-recent__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 4px 16px; }
.lg-recent__title { font-size: 13px; font-weight: 700; color: var(--lg-muted); }
.lg-recent__clear { min-height: 40px; padding: 0 10px; border: 0; background: none; color: var(--lg-green); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.lg-recent__list { margin: 0; padding: 0 0 6px; list-style: none; }
.lg-recent__list li { display: flex; align-items: center; }
.lg-recent__list li + li { border-top: 1px solid var(--lg-border); }
.lg-recent__row,
.lg-recent__row:visited {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 0 16px;
	overflow: hidden;
	color: var(--lg-text);
	text-decoration: none;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.lg-recent__row:hover, .lg-recent__row:focus-visible { background: var(--lg-bg); outline: none; }
.lg-recent__x { flex: none; width: 44px; height: 44px; border: 0; background: none; color: var(--lg-muted); font-size: 22px; cursor: pointer; }
.lg-recent__x:hover { color: var(--lg-text); }

/* Questions (<details name>): one answer open at a time, the answer slides open where the browser can animate it. */
details[name] {
	interpolate-size: allow-keywords;
}
details[name]::details-content {
	block-size: 0;
	overflow: hidden;
	transition: block-size .25s ease, content-visibility .25s allow-discrete;
}
details[name][open]::details-content {
	block-size: auto;
}
@media (prefers-reduced-motion: reduce) {
	details[name]::details-content { transition: none; }
}

/* Password field with a show/hide button (js/lozinka.js) */
.lg-lozinka { position: relative; display: block; width: 100%; }
.lg-lozinka > input { width: 100%; padding-right: 52px !important; }
.lg-lozinka__oko {
	position: absolute;
	top: 50%;
	right: 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--lg-muted);
	cursor: pointer;
	transform: translateY(-50%);
}
.lg-lozinka__oko:hover { color: var(--lg-text); }
.lg-lozinka__oko:focus-visible { outline: 2px solid var(--lg-green); outline-offset: -2px; }

/* Category colours (CategorySheet::COLORS / THEME_COLORS): text or icon, soft background, border */
.lg-tone--blue { --tone: #2563a8; --tone-bg: #e8f0fb; --tone-line: #c9dcf3; }
.lg-tone--orange { --tone: #b8501a; --tone-bg: #fdf0e6; --tone-line: #f6d6bf; }
.lg-tone--red { --tone: #c42b2f; --tone-bg: #fdecec; --tone-line: #f4b4b4; }
.lg-tone--violet { --tone: #6b4fbb; --tone-bg: #f1edfb; --tone-line: #ddd3f4; }
.lg-tone--teal { --tone: #1f7a6d; --tone-bg: #e6f5f3; --tone-line: #c4e6e0; }
.lg-tone--indigo { --tone: #4338ca; --tone-bg: #eceefe; --tone-line: #d3d6fb; }
.lg-tone--green { --tone: #3d7a1f; --tone-bg: #edf6e6; --tone-line: #cfe6c0; }
.lg-tone--pink { --tone: #b0306f; --tone-bg: #fcebf4; --tone-line: #f3c9de; }
.lg-tone--sky { --tone: #0369a1; --tone-bg: #e4f4fc; --tone-line: #bfe3f5; }
.lg-tone--amber { --tone: #9a5b00; --tone-bg: #fdf4e0; --tone-line: #f0d9a8; }
.lg-tone--gray { --tone: #3f4a45; --tone-bg: #f1f4f2; --tone-line: #dde3df; }
