/**
 * ACF homepage (.pm-acf-home) — tokens aligned with protomuseum-home-museum.css
 */

/*
 * Override Hello / Elementor / Site Settings caps on main (e.g. max-width: 1440px).
 * Same breakout pattern as .alignfull in Hello theme.css.
 */
#content.site-main.pm-acf-home.pm-museum-home,
main.site-main.pm-acf-home.pm-museum-home,
.site-content > .site-main.pm-acf-home.pm-museum-home,
.site-content .site-main.pm-acf-home.pm-museum-home,
.elementor .site-main.pm-acf-home.pm-museum-home {
	width: 100vw !important;
	max-width: 100vw !important;
	min-width: 0;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	box-sizing: border-box;
}

/* Parent wrapper sometimes caps width (e.g. 1440px) — release only when it wraps ACF home */
body .site-content:has(> .site-main.pm-acf-home.pm-museum-home),
body .site-content:has(> main#content.site-main.pm-acf-home) {
	max-width: none !important;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
	overflow-x: visible;
}

.pm-acf-home.pm-museum-home {
	--pm-bg: #faf8f4;
	--pm-bg-alt: #f4f1ea;
	--pm-ink: #22211f;
	--pm-muted: #4d4c49;
	--pm-accent: #5a4a36;
	--pm-line: rgba(34, 33, 31, 0.08);
	--pm-prose: 44rem;
	--pm-wide: min(56rem, 100%);
	/* Jedan „okvir“ sa .pm-acf-columns / kontaktom: 1140px, uvek unutar roditelja (bez 94vw) */
	--pm-figure-max: min(71.25rem, 100%);
	--pm-gutter: clamp(1rem, 5vw, 3rem);
	/* Vertikalni razmak svih sekcija (pre i posle sadržaja), osim gornjeg ruba hero sekcije */
	--pm-sec-pad-y: clamp(2rem, 5vw, 3.25rem);
	--pm-h1: clamp(2rem, 4.5vw, 2.65rem);
	--pm-h2: clamp(1.28rem, 2.1vw, 1.55rem);
	--pm-h3: clamp(1rem, 1.5vw, 1.15rem);
	--pm-h4: clamp(0.75rem, 1vw, 0.8125rem);
	/* Исти размак: узастопни pasusi / .pm-acf-prose блокови ≈ размак пре дугмета (.pm-acf-actions) */
	--pm-prose-stack-gap: 1.25rem;
	box-sizing: border-box;
	background-color: var(--pm-bg);
	color: var(--pm-ink);
	font-family: "Roboto", system-ui, -apple-system, sans-serif;
	font-size: 1.075rem;
	line-height: 1.82;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	/* Donji razmak stranice: samo padding poslednje sekcije (bez duplog sabiranja) */
	padding-bottom: 0;
	overflow-x: clip;
}

.pm-acf-home__inner {
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}

.pm-acf-sec {
	padding-top: var(--pm-sec-pad-y);
	padding-bottom: var(--pm-sec-pad-y);
	padding-left: var(--pm-gutter);
	padding-right: var(--pm-gutter);
	border-bottom: 1px solid rgba(42, 40, 37, 0.06);
	box-sizing: border-box;
}

.pm-acf-sec:last-child {
	border-bottom: none;
}

.pm-acf-band {
	background-color: var(--pm-bg-alt);
	box-shadow: inset 0 1px 0 var(--pm-line);
	margin-left: 0;
	margin-right: 0;
	/* horizontal padding comes from .pm-acf-sec + band is also a section */
}

.pm-acf-h1,
.pm-acf-h2,
.pm-acf-h3,
.pm-acf-h4 {
	font-family: "Roboto", system-ui, -apple-system, sans-serif;
	color: var(--pm-ink);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.015em;
}

.pm-acf-h1 {
	font-size: var(--pm-h1);
	font-weight: 400;
	letter-spacing: -0.025em;
	margin: 0 auto 0.2em;
	line-height: 1.08;
	max-width: var(--pm-prose);
	width: 100%;
	box-sizing: border-box;
	text-align: center;
}

.pm-acf-h2.home-heading,
.pm-acf-h2.has-text-align-center.home-heading {
	font-size: var(--pm-h2);
	font-weight: 400;
	margin: 0 auto 0.45em;
	letter-spacing: -0.02em;
	line-height: 1.22;
	max-width: var(--pm-prose);
	width: 100%;
	box-sizing: border-box;
	text-align: center;
}

/* Hero: vertikalni tok — naslov, podnaslov, 2 pasusa (kao metaparadigma u knjizi), slika, potpis, dugme */
.pm-acf-sec--hero {
	/* Jedini izuzetak: manji razmak od vrha (~polovina --pm-sec-pad-y); dole isti kao ostale sekcije */
	padding-top: clamp(1rem, 2.5vw, 1.625rem);
	padding-bottom: var(--pm-sec-pad-y);
	--pm-hero-h1: clamp(1.2rem, 2.6vw, 1.55rem);
}

.pm-acf-sec--hero > .pm-acf-h1,
.pm-acf-sec--hero > .pm-acf-h3.pm-acf-h3--accent,
.pm-acf-sec--hero > .pm-acf-h3.modul-un {
	font-family: "Roboto", system-ui, -apple-system, sans-serif;
	text-align: center;
	max-width: min(48rem, 100%);
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.pm-acf-sec--hero > .pm-acf-h1 {
	font-family: "Roboto", system-ui, -apple-system, sans-serif;
	font-size: var(--pm-hero-h1);
	font-weight: 400;
	letter-spacing: -0.01em;
	line-height: 1.2;
	margin-bottom: 0.28em;
}

@media (min-width: 768px) {
	.pm-acf-sec--hero > .pm-acf-h1 {
		font-size: 42px;
	}
}

.pm-acf-sec--hero > .pm-acf-h3.pm-acf-h3--accent,
.pm-acf-sec--hero > .pm-acf-h3.modul-un {
	font-family: "Roboto", system-ui, -apple-system, sans-serif;
	font-size: calc(var(--pm-hero-h1) * 0.7);
	font-weight: 400;
	letter-spacing: -0.01em;
	line-height: 1.2;
	margin-top: 0;
	margin-bottom: clamp(1.05rem, 2.4vw, 1.6rem);
}

.pm-acf-sec--hero .pm-acf-hero-body {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: var(--pm-prose-stack-gap);
	max-width: var(--pm-prose);
	width: 100%;
	margin: 0 auto clamp(1.25rem, 3vw, 1.75rem);
	box-sizing: border-box;
	min-width: 0;
}

.pm-acf-sec--hero .pm-acf-hero-body > .pm-acf-prose + .pm-acf-prose {
	margin-top: 0;
}

.pm-acf-sec--hero .pm-acf-hero-body .pm-acf-prose {
	margin-left: 0;
	margin-right: 0;
	max-width: none;
	width: 100%;
}

/* Bez dodatnog margin-bottom ispod bloka (caption + padding sekcije = isti ritam kao ostale sekcije) */
.pm-acf-sec--hero .pm-acf-hero-media {
	max-width: min(32rem, 100%);
	width: 100%;
	margin: 0 auto 0;
	box-sizing: border-box;
}

.pm-acf-sec--hero .pm-acf-hero-media .pm-acf-figure {
	margin: 10px auto 0;
}

/* Hero: potpis ispod paviljona — odvojenije, uočljivije (lokalni akcent) */
.pm-acf-sec--hero .pm-acf-figure__cap {
	margin-top: clamp(0.85rem, 2vw, 1.25rem);
	font-size: clamp(1rem, 2vw, 1.125rem);
	line-height: 1.45;
	font-weight: 500;
}

.pm-acf-sec--hero .pm-acf-hero-media .pm-acf-figure__img {
	width: 100%;
	display: block;
}

.pm-acf-sec--hero .pm-acf-hero-media-link {
	position: relative;
	display: block;
	color: inherit;
	text-decoration: none;
	border-radius: 4px;
	overflow: hidden;
}

.pm-acf-sec--hero .pm-acf-hero-media-link .pm-acf-figure__img {
	display: block;
	width: 100%;
	height: auto;
}

.pm-acf-sec--hero .pm-acf-hero-media-cta {
	position: absolute;
	right: 0.75rem;
	bottom: 0.75rem;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 0.9rem;
	border-radius: 999px;
	font-family: "Roboto", system-ui, -apple-system, sans-serif;
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 1.1;
	color: #22211f;
	background: rgba(250, 248, 244, 0.9);
	border: 1px solid rgba(90, 74, 54, 0.2);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
	transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.pm-acf-sec--hero .pm-acf-hero-media-link:hover .pm-acf-hero-media-cta {
	transform: translateY(-1px);
	background: rgba(250, 248, 244, 0.96);
	border-color: rgba(90, 74, 54, 0.32);
}

.pm-acf-sec--hero .pm-acf-hero-media-link:focus {
	outline: none;
}

.pm-acf-sec--hero .pm-acf-hero-media-link:focus-visible {
	box-shadow: 0 0 0 3px rgba(90, 74, 54, 0.22);
	border-radius: 6px;
}

.pm-acf-sec--hero > .pm-acf-actions {
	margin-left: auto;
	margin-right: auto;
}

.pm-acf-figure--flush {
	margin-left: 0;
	margin-right: 0;
	max-width: none;
	width: 100%;
}

/* Књига: увод — једна колона, центар као главна поставка (пасус → цитат → пасус…) */
.pm-acf-book-intro {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: var(--pm-prose-stack-gap);
	max-width: var(--pm-prose);
	width: 100%;
	margin: clamp(0.75rem, 2vw, 1.35rem) auto clamp(1.25rem, 3vw, 1.75rem);
	box-sizing: border-box;
	min-width: 0;
}

.pm-acf-book-intro .pm-acf-prose img {
	max-width: 100%;
	height: auto;
}

/* Moto: ista širina kolone kao .pm-acf-prose; podblok uz desnu ivicu; linije unutra levo */
.pm-acf-sec--book .pm-acf-book-moto {
	display: grid;
	justify-items: end;
	gap: 0.4rem;
	max-width: var(--pm-prose);
	width: 100%;
	margin: var(--pm-prose-stack-gap) auto 1.15rem;
	box-sizing: border-box;
}

/* Razmak H2 „Jedna knjiga“ → moto/stihovi: usklađen sa main/theme i razmakom prema tekstu ispod. */
.pm-acf-sec--book .pm-acf-h2.home-heading {
	margin-bottom: var(--pm-prose-stack-gap);
}

.pm-acf-sec--book .pm-acf-h2.home-heading + .pm-acf-book-moto {
	margin-top: 0;
}

.pm-acf-sec--book .pm-acf-book-moto .pm-acf-book-lead,
.pm-acf-sec--book .pm-acf-book-moto .pm-acf-book-quote {
	width: min(22rem, 100%);
	max-width: 100%;
	box-sizing: border-box;
}

.pm-acf-book-moto .pm-acf-book-lead,
.pm-acf-book-moto .pm-acf-book-quote {
	margin: 0;
	padding: 0;
	max-width: none;
	width: 100%;
	box-sizing: border-box;
	text-align: left;
	font-family: "Roboto", system-ui, -apple-system, sans-serif;
	font-size: 1em;
	font-weight: 400;
	font-style: normal;
	line-height: 1.75;
	letter-spacing: 0.02em;
	color: var(--pm-accent);
}

.pm-acf-book-moto .pm-acf-book-quote p {
	text-align: left;
	margin: 0;
	color: inherit;
	font-style: normal;
}

/* Исти фонт / метрика као H3 главне поставке (нпр. „Квинтесенција протознања“) — van mota ostaje centrirano ako se koristi */
.pm-acf-book-lead {
	margin: 0;
	max-width: none;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
	font-family: "Roboto", system-ui, -apple-system, sans-serif;
	font-size: clamp(0.98rem, 1.65vw, 1.1rem);
	font-weight: 400;
	font-style: normal;
	line-height: 1.5;
	letter-spacing: 0.01em;
	color: var(--pm-muted);
	margin-bottom: 0.05rem;
}

.pm-acf-book-intro .pm-acf-prose {
	max-width: none;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.pm-acf-book-intro .pm-acf-prose + .pm-acf-prose {
	margin-top: 0;
}

.pm-acf-h2:not(.home-heading) {
	font-size: var(--pm-h2);
	font-weight: 400;
	margin: 1.5rem auto 0.4em;
	max-width: var(--pm-prose);
	width: 100%;
	box-sizing: border-box;
}

.pm-acf-h3.modul-un,
.pm-acf-h3.pm-acf-h3--accent {
	font-family: "Roboto", system-ui, -apple-system, sans-serif;
	font-size: var(--pm-h3);
	font-weight: 400;
	font-style: normal;
	color: var(--pm-accent);
	margin: 0.25em auto 0.75em;
	line-height: 1.4;
	max-width: var(--pm-prose);
	width: 100%;
	box-sizing: border-box;
	text-align: center;
}

.pm-acf-h3:not(.modul-un):not(.pm-acf-h3--accent) {
	font-family: "Roboto", system-ui, -apple-system, sans-serif;
	font-size: clamp(1.05rem, 1.75vw, 1.22rem);
	font-weight: 400;
	font-style: normal;
	margin: 1.75rem auto 0.5rem;
	line-height: 1.28;
	max-width: var(--pm-prose);
	width: 100%;
	box-sizing: border-box;
}

.pm-acf-h3.has-text-align-center {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.pm-acf-h4 {
	font-family: "Roboto", system-ui, sans-serif;
	font-size: var(--pm-h4);
	font-weight: 400;
	letter-spacing: 0.02em;
	text-transform: none;
	opacity: 0.65;
	margin: 0 auto 0.85rem;
	line-height: 1.45;
	max-width: var(--pm-prose);
	width: 100%;
	box-sizing: border-box;
}

.pm-acf-h4.has-text-align-center {
	text-align: center;
}

/* Četiri tematska naslova (knjiga, glavna, tematska, prateći program): ista metrika kao --pm-h2 */
.pm-acf-sec--book .pm-acf-h2.home-heading,
.pm-acf-sec--main .pm-acf-h2.home-heading,
.pm-acf-sec--theme .pm-acf-h2.home-heading,
.pm-acf-sec--prog .pm-acf-h2.home-heading {
	max-width: var(--pm-prose);
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	font-size: var(--pm-h2);
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.22;
}

/* Glavna + tematska: veći razmak naslov teme (H2) → naslov postavke (H3) nego H3 → H4 */
.pm-acf-sec--main .pm-acf-h2.home-heading,
.pm-acf-sec--theme .pm-acf-h2.home-heading {
	margin-bottom: 1.35rem;
}

.pm-acf-sec--main .pm-acf-h2.home-heading + .pm-acf-h3.has-text-align-center,
.pm-acf-sec--theme .pm-acf-h2.home-heading + .pm-acf-h3.has-text-align-center {
	margin-top: 0;
}

.pm-acf-sec--main .pm-acf-h3.has-text-align-center:has(+ .pm-acf-h4.has-text-align-center),
.pm-acf-sec--theme .pm-acf-h3.has-text-align-center:has(+ .pm-acf-h4.has-text-align-center) {
	margin-bottom: 0.35rem;
}

.pm-acf-sec--main .pm-acf-h3.has-text-align-center + .pm-acf-h4.has-text-align-center,
.pm-acf-sec--theme .pm-acf-h3.has-text-align-center + .pm-acf-h4.has-text-align-center {
	margin-top: 0;
}

/* Tehnički naslovi sekcija (osnivač, kontakt, pitanja-i-komentari): manji od četiri tematska H2 */
.pm-acf-sec--founder .pm-acf-h2.home-heading,
.pm-acf-sec--contact .pm-acf-h2.home-heading,
.pm-acf-sec--qac .pm-acf-h2.home-heading {
	font-size: clamp(1.13rem, 1.85vw, 1.3125rem); /* max 21px — ujednačeno za Osnivač i Pitanja */
	font-weight: 400;
	letter-spacing: -0.018em;
	line-height: 1.22;
}

/* "Pitanja i komentari" — levo poravnato uz širinu forme (ne centrirano) */
.pm-acf-sec--qac .pm-acf-h2.home-heading.pm-acf-qac__heading {
	max-width: var(--pm-figure-max);
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.1rem;
	text-align: left;
}

.pm-acf-sec--main .pm-acf-h3.has-text-align-center,
.pm-acf-sec--main .pm-acf-h4.has-text-align-center,
.pm-acf-sec--theme .pm-acf-h3.has-text-align-center,
.pm-acf-sec--theme .pm-acf-h4.has-text-align-center {
	max-width: var(--pm-prose);
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.pm-acf-sec--main .pm-acf-h3.has-text-align-center,
.pm-acf-sec--theme .pm-acf-h3.has-text-align-center {
	font-family: "Roboto", system-ui, -apple-system, sans-serif;
	font-size: clamp(1.34rem, 2.25vw, 1.625rem); /* max 26px — samo malo veće od --pm-h2 */
	font-weight: 400;
	letter-spacing: -0.01em;
	line-height: 1.18;
	margin: 0.35em auto 0.6em;
}

.pm-acf-sec--main .pm-acf-h4.has-text-align-center,
.pm-acf-sec--theme .pm-acf-h4.has-text-align-center {
	font-family: "Roboto", system-ui, -apple-system, sans-serif;
	font-size: clamp(1.1rem, 2vw, 1.3125rem); /* 21px na većim ekranima */
	font-weight: 400;
}

.pm-acf-sec--main .pm-acf-actions,
.pm-acf-sec--theme .pm-acf-actions {
	text-align: center;
	max-width: var(--pm-prose);
	margin-left: auto;
	margin-right: auto;
}

/* Boxed measure: body copy only */
.pm-acf-prose {
	max-width: var(--pm-prose);
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	color: var(--pm-muted);
	font-size: 1.075rem;
	line-height: 1.85;
	letter-spacing: 0.01em;
	box-sizing: border-box;
	overflow-wrap: break-word;
}

.pm-acf-prose > *:first-child {
	margin-top: 0;
}

.pm-acf-prose p {
	margin: 0 auto var(--pm-prose-stack-gap);
}

.pm-acf-prose p:last-child {
	margin-bottom: 0;
}

/* Узастопна ACF поља прозе (pm_main_p1 + pm_main_p2, оснивач p1 + p2, метапарадигма p1–p3, …) */
.pm-acf-prose + .pm-acf-prose {
	margin-top: var(--pm-prose-stack-gap);
}

/*
 * ACF textarea (new_lines => 'br'): исти размак као између два .pm-acf-prose или до дугмета.
 */
.pm-acf-prose br {
	display: block;
	margin-bottom: var(--pm-prose-stack-gap);
}

.pm-acf-prose.justify-text {
	text-align: left;
	hyphens: auto;
}

.pm-acf-smallcaps {
	font-variant: all-small-caps;
	letter-spacing: 0.04em;
	font-size: 1.08em;
	font-weight: 400;
}

/* Book quote: single field — tipografski navodnici (srp. „ … ”) */
.pm-acf-book-quote {
	position: static;
	margin: 0 auto;
	padding: 0;
	max-width: var(--pm-prose);
	width: 100%;
	box-sizing: border-box;
	font-family: "Roboto", system-ui, -apple-system, sans-serif;
	font-size: clamp(1rem, 2vw, 1.125rem);
	font-style: normal;
	font-weight: 400;
	line-height: 1.65;
	color: var(--pm-muted);
	text-align: center;
	quotes: none;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
}

.pm-acf-book-intro .pm-acf-book-quote {
	margin: 0 0 calc(var(--pm-prose-stack-gap) - 0.15rem);
	max-width: none;
	width: 100%;
	text-align: center;
	padding: 0;
}

.pm-acf-book-intro .pm-acf-book-moto .pm-acf-book-quote {
	margin-bottom: 0;
	text-align: left;
}

.pm-acf-book-lead + .pm-acf-book-quote {
	margin-top: calc(-0.5 * var(--pm-prose-stack-gap));
}

.pm-acf-book-moto .pm-acf-book-lead + .pm-acf-book-quote {
	margin-top: 0;
}

.pm-acf-book-quote::before {
	content: none;
}

.pm-acf-book-quote::after {
	content: none;
}

.pm-acf-book-quote p {
	margin: 0;
	color: inherit;
	text-align: inherit;
}

.pm-acf-book-quote p:last-child {
	margin-bottom: 0;
}

.pm-acf-book-lead strong,
.pm-acf-book-lead b,
.pm-acf-book-quote strong,
.pm-acf-book-quote b {
	font-weight: 400;
}

.pm-acf-sec--book .pm-acf-book-lead {
	font-weight: 400 !important;
}

.pm-acf-actions {
	text-align: center;
	margin: var(--pm-prose-stack-gap) auto 0;
	max-width: var(--pm-prose);
	width: 100%;
	box-sizing: border-box;
}

.pm-acf-actions.has-text-align-center {
	text-align: center;
}

.pm-acf-btn {
	display: inline-block;
	background: var(--pm-ink);
	color: #faf8f4;
	border: 1px solid var(--pm-ink);
	border-radius: 999px;
	padding: 0.65rem 1.35rem;
	font-family: "Roboto", system-ui, sans-serif;
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: 0.02em;
	text-transform: none;
	text-decoration: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.pm-acf-btn:hover {
	opacity: 0.88;
	transform: translateY(-1px);
	color: #faf8f4;
}

.pm-acf-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1rem;
	justify-content: center;
	align-items: center;
	margin: 1rem auto 1.5rem;
	max-width: var(--pm-figure-max);
	width: 100%;
	box-sizing: border-box;
}

/* Wider than prose; still centered (not full-bleed image strip unless desired) */
.pm-acf-figure {
	margin: 10px auto;
	max-width: var(--pm-figure-max);
	width: 100%;
	text-align: center;
	box-sizing: border-box;
}

.pm-acf-figure__img {
	border-radius: 4px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.07);
	display: block;
	margin-left: auto;
	margin-right: auto;
	height: auto;
	max-width: 100%;
}

.pm-acf-figure__cap {
	margin-top: 0.5rem;
	font-family: "Roboto", system-ui, -apple-system, sans-serif;
	font-size: 0.9375rem;
	font-weight: 400;
	font-style: normal;
	line-height: 1.45;
	letter-spacing: 0.01em;
	color: var(--pm-muted);
	text-align: center;
}

/* Knjiga: tehnički caption ispod korice — za stepen veći, odvojen od slike */
.pm-acf-sec--book .pm-acf-columns__media .pm-acf-figure__cap {
	margin-top: clamp(1rem, 2.2vw, 1.35rem);
	font-size: 1.075rem;
	line-height: 1.5;
}

.pm-acf-contact .textarea-container .ninja-forms-req-symbol {
	display: none;
}

:is(.pm-acf-sec--comments, .pm-acf-qac__panel--comments) .pm-acf-comments-wrap {
	max-width: var(--pm-figure-max);
	width: 100%;
	margin: 1.25rem auto 0;
	box-sizing: border-box;
}

:is(.pm-acf-sec--comments, .pm-acf-qac__panel--comments) .pm-acf-comments-contact {
	margin-top: 0;
}

/* Zajednička kartica za formu komentara — isti vizuelni okvir. */
.pm-acf-qac__panel--comments .pm-acf-comments-form,
.pm-acf-sec--comments .pm-acf-comments-form {
	background: rgba(90, 74, 54, 0.05);
	border: 1px solid rgba(90, 74, 54, 0.12);
	border-radius: 8px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
	padding: clamp(1.25rem, 3vw, 1.75rem);
	box-sizing: border-box;
}

/* Da WP comment-respond ne pravi duplu karticu. */
.pm-acf-qac__panel--comments .pm-acf-comments-form .comment-respond,
.pm-acf-sec--comments .pm-acf-comments-form .comment-respond {
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
}

:is(.pm-acf-sec--comments, .pm-acf-qac__panel--comments) .comments-area,
:is(.pm-acf-sec--comments, .pm-acf-qac__panel--comments) #comments {
	max-width: var(--pm-figure-max);
	margin: 0 auto;
}

.pm-acf-comments-list {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	margin: 1.5rem 0 0;
}

.pm-acf-comment-card {
	background: rgba(90, 74, 54, 0.035);
	border: 1px solid rgba(90, 74, 54, 0.12);
	border-radius: 8px;
	padding: 0.85rem 1rem;
}

.pm-acf-comment-card--reply {
	margin-left: 18px;
}

@media (min-width: 768px) {
	.pm-acf-comment-card--reply {
		margin-left: 30px;
	}
}

.pm-acf-comment-card__head {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.7rem;
	align-items: baseline;
	margin-bottom: 0.35rem;
}

.pm-acf-comment-card__author {
	font-family: "Roboto", system-ui, -apple-system, sans-serif;
	font-size: 1rem;
	font-weight: 400;
	color: var(--pm-ink);
}

.pm-acf-comment-card__date {
	font-size: 0.8125rem;
	color: var(--pm-muted);
}

.pm-acf-comment-card__body {
	font-size: 0.98rem;
	line-height: 1.6;
	color: var(--pm-muted);
}

.pm-acf-comments-title {
	font-family: "Roboto", system-ui, -apple-system, sans-serif;
	font-weight: 400;
	font-size: 1.35rem;
	line-height: 1.25;
	margin: 0 0 1rem;
	color: var(--pm-ink);
}

.pm-acf-sec--qac {
	--pm-qac-title-gap: 0.75rem;
	--pm-qac-note-gap: 1.15rem;
	--pm-qac-field-gap: 1.15rem;
	--pm-qac-label-gap: 0.35rem;
	--pm-qac-submit-gap: 0.85rem;
}

.pm-acf-qac__panel--comments .pm-acf-comments-title {
	margin: 0 0 var(--pm-qac-title-gap);
}

.pm-acf-required-note {
	font-family: "Roboto", system-ui, sans-serif;
	font-size: 1.075rem;
	line-height: 1.65;
	color: var(--pm-ink);
	margin: 0 0 var(--pm-qac-note-gap);
}

:is(.pm-acf-sec--comments, .pm-acf-qac__panel--comments) .comment-form {
	display: flex;
	flex-direction: column;
}

:is(.pm-acf-sec--comments, .pm-acf-qac__panel--comments) .comment-form > p {
	margin: 0 0 var(--pm-qac-field-gap);
	width: 100%;
	line-height: normal;
}

:is(.pm-acf-sec--comments, .pm-acf-qac__panel--comments) .comment-form-comment {
	width: 100%;
	order: 3;
}

:is(.pm-acf-sec--comments, .pm-acf-qac__panel--comments) .comment-form-author {
	order: 1;
}

:is(.pm-acf-sec--comments, .pm-acf-qac__panel--comments) .comment-form-email {
	order: 2;
}

:is(.pm-acf-sec--comments, .pm-acf-qac__panel--comments) .comment-form label {
	font-family: "Roboto", system-ui, sans-serif;
	font-weight: 400;
	font-size: 0.8125rem;
	letter-spacing: 0.04em;
	color: var(--pm-accent);
	text-transform: none;
	display: block;
	margin: 0 0 var(--pm-qac-label-gap);
	line-height: 1.2;
}

.pm-acf-comments-required {
	color: #b45348;
}

:is(.pm-acf-sec--comments, .pm-acf-qac__panel--comments) .comment-form input[type="text"],
:is(.pm-acf-sec--comments, .pm-acf-qac__panel--comments) .comment-form input[type="email"],
:is(.pm-acf-sec--comments, .pm-acf-qac__panel--comments) .comment-form textarea {
	border: 1px solid rgba(90, 74, 54, 0.18);
	border-radius: 6px;
	background: #fff;
	padding: 0.75rem 1rem;
	font-family: "Roboto", system-ui, sans-serif;
	font-size: 1rem;
	line-height: 1.45;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	box-shadow: 0 1px 2px rgba(34, 33, 31, 0.04);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

:is(.pm-acf-sec--comments, .pm-acf-qac__panel--comments) .comment-form textarea {
	min-height: 9rem;
	resize: vertical;
}

:is(.pm-acf-sec--comments, .pm-acf-qac__panel--comments) .comment-form input[type="text"]:hover,
:is(.pm-acf-sec--comments, .pm-acf-qac__panel--comments) .comment-form input[type="email"]:hover,
:is(.pm-acf-sec--comments, .pm-acf-qac__panel--comments) .comment-form textarea:hover {
	border-color: rgba(90, 74, 54, 0.28);
}

:is(.pm-acf-sec--comments, .pm-acf-qac__panel--comments) .comment-form input[type="text"]:focus,
:is(.pm-acf-sec--comments, .pm-acf-qac__panel--comments) .comment-form input[type="email"]:focus,
:is(.pm-acf-sec--comments, .pm-acf-qac__panel--comments) .comment-form textarea:focus {
	outline: none;
	border-color: var(--pm-accent);
	box-shadow: 0 0 0 3px rgba(90, 74, 54, 0.12);
}

:is(.pm-acf-sec--comments, .pm-acf-qac__panel--comments) .comment-form .required {
	display: none;
}

:is(.pm-acf-sec--comments, .pm-acf-qac__panel--comments) .comment-form .comment-notes,
:is(.pm-acf-sec--comments, .pm-acf-qac__panel--comments) .comment-form .comment-form-url,
:is(.pm-acf-sec--comments, .pm-acf-qac__panel--comments) .comment-form .comment-form-cookies-consent,
:is(.pm-acf-sec--comments, .pm-acf-qac__panel--comments) .comment-form .comment-form-cookies-consent input,
:is(.pm-acf-sec--comments, .pm-acf-qac__panel--comments) .comment-form .comment-form-cookies-consent label,
:is(.pm-acf-sec--comments, .pm-acf-qac__panel--comments) .comment-form #wp-comment-cookies-consent,
:is(.pm-acf-sec--comments, .pm-acf-qac__panel--comments) .comment-form label[for="wp-comment-cookies-consent"] {
	display: none !important;
	visibility: hidden !important;
}

:is(.pm-acf-sec--comments, .pm-acf-qac__panel--comments) .comment-form .form-submit {
	margin-top: var(--pm-qac-submit-gap);
	margin-bottom: 0;
	order: 4;
}

/* Submit dugme komentar forme — identičan stil kao Ninja submit. */
.pm-acf-home .pm-acf-btn.pm-acf-comment-submit,
.pm-acf-home input[type="submit"].pm-acf-comment-submit,
.pm-acf-home button[type="submit"].pm-acf-comment-submit {
	-webkit-appearance: none;
	appearance: none;
	display: inline-block;
	width: auto;
	min-width: 0;
	background: var(--pm-ink);
	color: #faf8f4;
	border: none;
	border-radius: 999px;
	padding: 0.75rem 1.75rem;
	font-family: "Roboto", system-ui, sans-serif;
	font-size: 0.6875rem;
	font-weight: 400;
	letter-spacing: 0.11em;
	text-transform: none;
	line-height: 1.25;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 2px 8px rgba(34, 33, 31, 0.12);
}

.pm-acf-home .pm-acf-btn.pm-acf-comment-submit:hover,
.pm-acf-home input[type="submit"].pm-acf-comment-submit:hover,
.pm-acf-home button[type="submit"].pm-acf-comment-submit:hover {
	opacity: 0.92;
	transform: translateY(-1px);
	color: #faf8f4;
}

.pm-acf-home .pm-acf-btn.pm-acf-comment-submit:focus,
.pm-acf-home input[type="submit"].pm-acf-comment-submit:focus,
.pm-acf-home button[type="submit"].pm-acf-comment-submit:focus {
	outline: none;
}

.pm-acf-home .pm-acf-btn.pm-acf-comment-submit:focus-visible,
.pm-acf-home input[type="submit"].pm-acf-comment-submit:focus-visible,
.pm-acf-home button[type="submit"].pm-acf-comment-submit:focus-visible {
	box-shadow: 0 0 0 3px rgba(90, 74, 54, 0.25), 0 2px 8px rgba(34, 33, 31, 0.12);
}

/* ARI Fancy Lightbox PDF viewer: fill the whole screen. */
body .fancybox-slide--iframe .fancybox-content {
	width: 100% !important;
	max-width: 100% !important;
	height: 100% !important;
	max-height: 100% !important;
	margin: 0 !important;
}

body .fancybox-toolbar {
	opacity: 1 !important;
	visibility: visible !important;
	top: calc(env(safe-area-inset-top) + 64px) !important;
	right: calc(env(safe-area-inset-right) + 12px) !important;
}

body .fancybox-toolbar .fancybox-button--fullscreen {
	display: none !important;
}

body .fancybox-toolbar {
	display: flex !important;
	align-items: center;
}

body .fancybox-toolbar .fancybox-button--close {
	order: 99;
	margin-left: 6px;
	display: inline-flex !important;
}

/* PDF.js toolbar close button is styled inside the iframe in pdfjs-toolbar-close.js */

.pm-acf-columns {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(1.5rem, 4vw, 2.75rem);
	align-items: center;
	margin: 1.25rem auto 0;
	max-width: var(--pm-figure-max);
	width: 100%;
	box-sizing: border-box;
}

.pm-acf-columns--reverse {
	flex-direction: row-reverse;
}

.pm-acf-columns__text {
	flex: 1 1 min(100%, 22rem);
	min-width: 0;
	max-width: 100%;
	overflow-wrap: break-word;
}

.pm-acf-columns__text .pm-acf-prose {
	margin-left: 0;
	margin-right: 0;
	max-width: none;
}

/* Секција књига: пасуси испод колона — исти размак као остала проза / дугме */
.pm-acf-sec--book .pm-acf-columns__text {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: var(--pm-prose-stack-gap);
}

.pm-acf-sec--book .pm-acf-columns__text > .pm-acf-prose + .pm-acf-prose {
	margin-top: 0;
}

.pm-acf-columns__text .pm-acf-prose img {
	max-width: 100%;
	height: auto;
}

.pm-acf-columns__media {
	flex: 1 1 min(100%, 18rem);
	min-width: 0;
	max-width: 100%;
	overflow-wrap: break-word;
}

.pm-acf-list {
	max-width: var(--pm-prose);
	width: 100%;
	margin: 0.75rem auto 1.1rem;
	padding-left: 1.25rem;
	box-sizing: border-box;
	color: var(--pm-muted);
	font-size: 1.075rem;
	line-height: 1.85;
	letter-spacing: 0.01em;
}

.pm-acf-list li {
	margin-bottom: 0.65rem;
}

.pm-acf-list li:last-child {
	margin-bottom: 0;
}

.pm-acf-separator.separator-tech {
	height: 1px;
	background: var(--pm-line);
	margin: 0 auto 1.5rem;
	max-width: 2.5rem;
	border: none;
}

/* Ispod crte: manji razmak da H2 bude u istom vertikalnom ritmu kao u drugim sekcijama (bez duplog „praznog“) */
.pm-acf-sec--founder > .pm-acf-separator.separator-tech {
	margin-top: 0;
	margin-bottom: 0.5rem;
}

.pm-acf-sec--founder .pm-acf-columns--founder-top {
	align-items: flex-start;
	margin-bottom: 0;
}

.pm-acf-sec--founder .pm-acf-columns--founder-top .pm-acf-columns__media {
	flex: 0 0 min(100%, 240px);
	max-width: 240px;
}

.pm-acf-sec--founder .pm-acf-columns--founder-top .pm-acf-columns__text {
	flex: 1 1 0;
}

.pm-acf-sec--founder .pm-acf-columns__media .pm-acf-figure--flush {
	margin-top: 0;
	margin-bottom: 0;
}

/* Portret u drugim blokovima: topla kartica; u sekciji osnivač slika bez okvira / senke */
.pm-acf-figure--portrait {
	background: rgba(90, 74, 54, 0.06);
	border-radius: 8px;
	padding: 1.25rem;
	box-sizing: border-box;
	margin: 0 auto;
	width: 100%;
}

.pm-acf-figure--portrait .pm-acf-figure__img {
	border-radius: 4px;
	width: 100%;
	height: auto;
}

.pm-acf-sec--founder .pm-acf-figure--flush .pm-acf-figure__img,
.pm-acf-sec--founder .pm-acf-figure--portrait .pm-acf-figure__img {
	box-shadow: none;
	border: none;
	outline: none;
}

.pm-acf-sec--founder .pm-acf-figure--portrait {
	background: transparent;
	padding: 0;
	border-radius: 0;
}

.pm-acf-founder-bottom {
	max-width: var(--pm-prose);
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-top: var(--pm-prose-stack-gap);
	margin-bottom: 0;
}

.pm-acf-founder-bottom .pm-acf-prose {
	max-width: var(--pm-prose);
	margin-left: auto;
	margin-right: auto;
}

.pm-acf-home a:not(.pm-acf-btn) {
	color: var(--pm-accent);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.pm-acf-home a:not(.pm-acf-btn):hover {
	color: var(--pm-ink);
	border-bottom-color: rgba(90, 74, 54, 0.35);
}

.pm-acf-contact {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(1.75rem, 4vw, 3rem);
	max-width: var(--pm-figure-max);
	width: 100%;
	margin: 1.75rem auto 0;
	align-items: flex-start;
	box-sizing: border-box;
}

.pm-acf-contact__form {
	flex: 1 1 min(100%, 28rem);
	min-width: min(100%, 18rem);
}

.pm-acf-contact__info {
	flex: 0 1 16rem;
	min-width: min(100%, 14rem);
	font-size: 0.98rem;
	color: var(--pm-muted);
	line-height: 1.65;
	padding: clamp(1.1rem, 2.5vw, 1.35rem) 0 0;
	border-top: 1px solid rgba(90, 74, 54, 0.12);
}

@media (min-width: 768px) {
	.pm-acf-columns {
		flex-wrap: nowrap;
	}

	.pm-acf-columns__text,
	.pm-acf-columns__media {
		flex: 1 1 0;
	}

	.pm-acf-contact__info {
		padding: clamp(1.25rem, 2.5vw, 1.5rem) 0 0 clamp(1.25rem, 3vw, 1.75rem);
		border-top: none;
		border-left: 1px solid rgba(90, 74, 54, 0.12);
	}

	.pm-acf-sec--founder .pm-acf-columns--founder-top .pm-acf-figure--flush .pm-acf-figure__img {
		margin-top: 10px;
	}
}

.pm-acf-contact__label {
	font-family: "Roboto", system-ui, -apple-system, sans-serif;
	font-weight: 400;
	font-size: 1.05rem;
	color: var(--pm-ink);
	margin-bottom: 0.5rem;
}

/* Ninja Forms — kartica + polja u tonu početne */
.pm-acf-sec--contact .pm-acf-contact__form.ninja-form-home .nf-form-wrap,
.pm-acf-sec--contact .pm-acf-contact__form.ninja-form-home .ninja-forms-form-wrap {
	background: rgba(90, 74, 54, 0.05);
	border: 1px solid rgba(90, 74, 54, 0.12);
	border-radius: 8px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
	padding: clamp(1.25rem, 3vw, 1.75rem);
	box-sizing: border-box;
}

.pm-acf-home .ninja-form-home .nf-field-container {
	margin-bottom: 1.15rem;
}

.pm-acf-home .ninja-form-home .nf-field-container:last-of-type {
	margin-bottom: 0;
}

.pm-acf-home .ninja-form-home .nf-field-label label,
.pm-acf-home .ninja-form-home .nf-field-label .nf-label-span {
	font-family: "Roboto", system-ui, sans-serif;
	font-weight: 400;
	font-size: 0.8125rem;
	letter-spacing: 0.04em;
	color: var(--pm-accent);
	text-transform: none;
}

.pm-acf-home .ninja-form-home .nf-field-label .ninja-forms-req-symbol,
.pm-acf-home .ninja-form-home .nf-field-label label abbr.required {
	color: #b45348;
	font-weight: 400;
	margin-left: 0.15em;
}

.pm-acf-home .ninja-form-home .label-above .nf-field-label,
.pm-acf-home .ninja-form-home .label-below .nf-field-label {
	margin-bottom: 0.35rem;
}

.pm-acf-home .ninja-form-home input[type="text"],
.pm-acf-home .ninja-form-home input[type="email"],
.pm-acf-home .ninja-form-home textarea {
	border: 1px solid rgba(90, 74, 54, 0.18);
	border-radius: 6px;
	background: #fff;
	padding: 0.75rem 1rem;
	font-family: "Roboto", system-ui, sans-serif;
	font-size: 1rem;
	line-height: 1.45;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	box-shadow: 0 1px 2px rgba(34, 33, 31, 0.04);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pm-acf-home .ninja-form-home input[type="text"]:hover,
.pm-acf-home .ninja-form-home input[type="email"]:hover,
.pm-acf-home .ninja-form-home textarea:hover {
	border-color: rgba(90, 74, 54, 0.28);
}

.pm-acf-home .ninja-form-home input[type="text"]:focus,
.pm-acf-home .ninja-form-home input[type="email"]:focus,
.pm-acf-home .ninja-form-home textarea:focus {
	outline: none;
	border-color: var(--pm-accent);
	box-shadow: 0 0 0 3px rgba(90, 74, 54, 0.12);
}

.pm-acf-home .ninja-form-home .nf-field-element textarea {
	min-height: 9rem;
}

/*
 * NF: .label-above .nf-field-element { margin:0 } — razmak pre „Pošalji“ ide na .nf-field-element koji drži submit.
 * (v. fields-wrap / label-above u Ninja Forms display-structure.css)
 */
.pm-acf-home .ninja-form-home .label-above .nf-field-element:has(input[type="submit"]),
.pm-acf-home .ninja-form-home .label-above .nf-field-element:has(button[type="submit"]),
.pm-acf-home .ninja-form-home .label-hidden .nf-field-element:has(input[type="submit"]),
.pm-acf-home .ninja-form-home .label-hidden .nf-field-element:has(button[type="submit"]) {
	margin-top: 0.85rem;
}

.pm-acf-home .ninja-form-home .nf-form-content button,
.pm-acf-home .ninja-form-home button[type="submit"],
.pm-acf-home .ninja-form-home input[type="submit"] {
	-webkit-appearance: none;
	appearance: none;
	display: inline-block;
	width: auto;
	min-width: 0;
	background: var(--pm-ink);
	color: #faf8f4;
	border: none;
	border-radius: 999px;
	padding: 0.75rem 1.75rem;
	font-family: "Roboto", system-ui, sans-serif;
	font-size: 0.6875rem;
	font-weight: 400;
	letter-spacing: 0.11em;
	text-transform: none;
	line-height: 1.25;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 2px 8px rgba(34, 33, 31, 0.12);
}

.pm-acf-home .ninja-form-home button[type="submit"]:hover,
.pm-acf-home .ninja-form-home input[type="submit"]:hover {
	opacity: 0.92;
	transform: translateY(-1px);
}

.pm-acf-home .ninja-form-home button[type="submit"]:focus,
.pm-acf-home .ninja-form-home input[type="submit"]:focus {
	outline: none;
}

.pm-acf-home .ninja-form-home button[type="submit"]:focus-visible,
.pm-acf-home .ninja-form-home input[type="submit"]:focus-visible {
	box-shadow: 0 0 0 3px rgba(90, 74, 54, 0.25), 0 2px 8px rgba(34, 33, 31, 0.12);
}

.pm-acf-home .ninja-form-home .nf-error .ninja-forms-field,
.pm-acf-home .ninja-form-home .nf-error textarea {
	border-color: #b45348;
	box-shadow: 0 0 0 1px rgba(180, 83, 72, 0.15);
}

.pm-acf-home .ninja-form-home .nf-error-msg {
	font-size: 0.8125rem;
	margin-top: 0.35rem;
}

.pm-acf-home .ninja-form-home .nf-response-msg {
	margin-top: 1rem;
	padding: 0.85rem 1rem;
	border-radius: 6px;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.pm-acf-home .ninja-form-home .nf-response-msg:not(:empty) {
	display: block;
	background: rgba(90, 74, 54, 0.08);
	border: 1px solid rgba(90, 74, 54, 0.2);
	color: var(--pm-ink);
}

.pm-acf-home .ninja-form-home .nf-form-errors .nf-response-msg:not(:empty),
.pm-acf-home .ninja-form-home .nf-error-msg-wrap .nf-response-msg:not(:empty) {
	background: rgba(180, 83, 72, 0.08);
	border-color: rgba(180, 83, 72, 0.25);
	color: #5c2e28;
}

/* -----------------------------------------------------------------------------
   Mobile (≤767px): kolone u stub, puna širina teksta, bez „pritisnutog“ reda.
   ----------------------------------------------------------------------------- */
@media (max-width: 767px) {
	/* 100vw breakout + margin-left calc često pravi horizontalni scroll na telefonu */
	#content.site-main.pm-acf-home.pm-museum-home,
	main.site-main.pm-acf-home.pm-museum-home,
	.site-content > .site-main.pm-acf-home.pm-museum-home,
	.site-content .site-main.pm-acf-home.pm-museum-home,
	.elementor .site-main.pm-acf-home.pm-museum-home {
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.pm-acf-home.pm-museum-home {
		overflow-x: visible;
	}

	/* Zajednički flex stub za sve .pm-acf-columns (tematska, osnivač, …) */
	.pm-acf-columns {
		flex-direction: column;
		align-items: stretch;
	}

	.pm-acf-columns .pm-acf-columns__text,
	.pm-acf-columns .pm-acf-columns__media {
		flex: 1 1 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		width: 100%;
	}

	/* Tematska: redosled kao na desktop vizuelu — slika pa tekst */
	.pm-acf-sec--theme .pm-acf-columns--reverse {
		flex-direction: column;
	}

	.pm-acf-sec--theme .pm-acf-columns--reverse .pm-acf-columns__media {
		order: -1;
	}

	/* Osnivač: portret centar, tekst puna širina */
	.pm-acf-sec--founder .pm-acf-columns--founder-top .pm-acf-columns__media {
		flex: 0 0 auto !important;
		max-width: 100% !important;
		width: 100%;
		align-self: center;
	}

	.pm-acf-sec--founder .pm-acf-columns--founder-top .pm-acf-columns__text {
		flex: 1 1 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
		width: 100%;
	}

	.pm-acf-sec--founder .pm-acf-columns--founder-top .pm-acf-columns__media .pm-acf-figure--flush {
		max-width: min(240px, 72vw);
		margin-left: auto;
		margin-right: auto;
	}

	/* Slike: bez teške senke / „okvira“ na malom ekranu */
	.pm-acf-home.pm-museum-home .pm-acf-figure__img {
		box-shadow: none;
		border: none;
		outline: none;
	}

	/*
	 * Glavna + tematska: naslovi nisu dugmad (plugin / global reset).
	 * Tipografija H3/H4 ostaje ista kao na desktopu — globalna .pm-acf-h3 / .pm-acf-h4.
	 */
	.pm-acf-sec--main h2.pm-acf-h2,
	.pm-acf-sec--theme h2.pm-acf-h2,
	.pm-acf-sec--main h3.pm-acf-h3,
	.pm-acf-sec--theme h3.pm-acf-h3,
	.pm-acf-sec--main h4.pm-acf-h4,
	.pm-acf-sec--theme h4.pm-acf-h4 {
		-webkit-appearance: none;
		appearance: none;
		background: transparent !important;
		border: none !important;
		box-shadow: none !important;
		border-radius: 0 !important;
		color: var(--pm-ink);
		cursor: default;
		display: block;
		width: 100%;
		max-width: var(--pm-prose);
		margin-left: auto;
		margin-right: auto;
		text-decoration: none;
		padding: 0;
	}

	/* Jedino pravo dugme u sekciji ostaje pill */
	.pm-acf-sec--main .pm-acf-actions .pm-acf-btn,
	.pm-acf-sec--theme .pm-acf-actions .pm-acf-btn {
		display: inline-block;
		width: auto;
		max-width: 100%;
		margin-top: 0.5rem;
	}
}

/* Pitanja i komentari — samo komentari (forma + lista) */
.pm-acf-sec--qac .pm-acf-qac__forms {
	flex: 1 1 min(100%, 28rem);
	min-width: min(100%, 18rem);
}

.pm-acf-sec--qac .pm-acf-qac__panel--comments {
	display: block;
	margin-top: 0;
}
