/**
 * Site colophon (bottom bar) — sitewide, independent of Elementor footer.
 */

/* Eliminate any default whitespace between the page content / Elementor footer
   and our bottom bar (body padding, footer margin-bottom, etc). */
html,
body {
	margin-bottom: 0;
	padding-bottom: 0;
}

body > .pm-site-colophon {
	margin-top: 0;
}

body > footer,
body > .elementor-location-footer,
body > [data-elementor-type="footer"],
.site-footer,
footer.site-footer {
	margin-bottom: 0;
}

/* Neutralizuj margin/padding baš na elementu koji se nalazi tačno pre colophon-a. */
body > *:has(+ .pm-site-colophon) {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

.pm-site-colophon {
	width: 100%;
	box-sizing: border-box;
	background: #22211f;
	color: #faf8f4;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 0;
	margin: 0;
	padding: 0.7rem 0;
	font-family: "Roboto", system-ui, -apple-system, sans-serif;
	font-size: 0.8125rem;
	line-height: 1.4;
}

.pm-site-colophon,
.pm-site-colophon__inner {
	border-radius: 0 !important;
}

/* Neutralizuj zaobljenje na svim Elementor / Hello footer kontejnerima
   (radi i kad je footer ugnježden u dodatne wrappere). */
body footer.elementor-location-footer,
body [data-elementor-type="footer"],
body footer.site-footer,
body .elementor-location-footer,
body .elementor-location-footer .elementor,
body .elementor-location-footer .elementor-section,
body .elementor-location-footer .elementor-container,
body .elementor-location-footer .e-con,
body .elementor-location-footer .e-con-inner,
body .elementor-location-footer .elementor-widget-wrap,
body .elementor-location-footer .elementor-element {
	border-bottom-left-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}

/* Element koji se nalazi tačno iznad colophon-a (i sva njegova deca / poslednja deca):
   skini sve border-radius koji bi mogli da prave optičku zaobljenost na donjoj ivici. */
body > *:has(+ .pm-site-colophon) {
	border-bottom-left-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}

body > *:has(+ .pm-site-colophon) > *:last-child,
body > *:has(+ .pm-site-colophon) *:last-child {
	border-bottom-left-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}

/* Hello Elementor / WP block teme: site-main, page-content i wrapper kontejneri
   ponekad imaju kartice sa border-radius. Skini zaobljenje na dnu. */
body .site,
body .site-content,
body .site-main,
body .wp-site-blocks,
body main.site-main,
body div.site-content,
body article.page,
body .entry-content,
body .page-content {
	border-bottom-left-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}

/* Bilo koji <footer> i Hello site-footer iznad colophon-a. */
body footer,
body footer#site-footer,
body footer.site-footer,
body #site-footer {
	border-bottom-left-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}

.pm-site-colophon__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 clamp(1rem, 4vw, 2rem);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1.25rem;
}

.pm-site-colophon p {
	margin: 0;
	color: inherit;
}

.pm-site-colophon a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid rgba(250, 248, 244, 0.32);
	transition: border-color 120ms ease, color 120ms ease;
}

.pm-site-colophon a:hover,
.pm-site-colophon a:focus-visible {
	border-bottom-color: #faf8f4;
	color: #fff;
}

.pm-site-colophon a:focus {
	outline: none;
}

.pm-site-colophon a:focus-visible {
	outline: 2px solid rgba(250, 248, 244, 0.55);
	outline-offset: 2px;
}

@media (max-width: 540px) {
	.pm-site-colophon__inner {
		justify-content: center;
		text-align: center;
	}
}
