/* ==========================================================================
   Музички едикт - фестивалски део сајта (inc/festival.php)
   Ослања се на branko.css и branko-edikt-single.css (.me-*)
   ========================================================================== */

.is-festival {
	--f-night: #1F100F;
	--f-bark: #391F1E;
	--f-bark-2: #4A2A28;
	--f-gold: #E8C686;
	--f-paper: #F3E9D6;
	--f-paper-2: #EADBBE;
	--f-sand: #C9A77A;
	--f-ember: #A0452B;
	--f-ember-2: #8A3A23;
	--f-line: rgba(216, 189, 132, .22);
	background: var(--f-paper);
}
.is-festival .me { background: var(--f-paper); }

/* ---------- Лого фестивала (assets/img/edikt-logo.svg, боја = currentColor) ---------- */
.bf-logo { display: block; flex: 0 0 auto; height: auto; color: var(--f-gold); }
svg.bf-logo { overflow: visible; }
.bf .screen-reader-text, .bf-page .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Заглавље ---------- */
.branko-header--fest { background: var(--f-bark); }
.bf-top { background: var(--f-night); font: 400 12.5px/1 var(--b-body); color: var(--f-sand); }
.bf-top__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 36px; }
.bf-top a { color: var(--f-sand); text-decoration: none; }
.bf-top a:hover { color: var(--f-paper); }
.bf-back span { display: inline-block; margin-right: 6px; transition: transform .2s ease; }
.bf-back:hover span { transform: translateX(-3px); }
.bf-top__right { display: flex; align-items: center; gap: 22px; }
.bf-top__org { color: #8F7D63; }
.bf-top .branko-lang .is-active { color: var(--f-paper); }

.bf-bar { border-bottom: 1px solid var(--f-line); }
.bf-bar__inner { display: flex; align-items: center; gap: 28px; min-height: 92px; }
.bf-brand { display: flex; align-items: center; gap: 20px; flex: 0 0 auto; margin-right: auto; padding: 12px 0; text-decoration: none; }
.bf-brand .bf-logo { width: 74px; transition: color .25s ease; }
.bf-brand:hover .bf-logo { color: #F4DDA6; }
.bf-brand .bf-logo--img { width: auto; height: 68px; }
.bf-brand__txt { display: flex; flex-direction: column; gap: 6px; padding-left: 20px; border-left: 1px solid var(--f-line); }
.bf-brand__txt small { font: 600 9.5px/1 var(--b-body); letter-spacing: .2em; text-transform: uppercase; color: var(--f-sand); white-space: nowrap; }
.bf-brand__txt .bf-brand__city { margin-top: 2px; font: italic 500 15px/1 var(--b-serif); letter-spacing: 0; text-transform: none; color: var(--f-gold); }

.branko-header--fest .branko-nav { flex: 0 1 auto; min-width: 0; border: 0; background: transparent; }
.branko-header--fest .branko-nav__list { justify-content: flex-end; min-height: 92px; }
.branko-header--fest .branko-nav__list > li + li::before { width: 4px; height: 4px; background: rgba(216, 189, 132, .35); }
.branko-header--fest .branko-nav__list > li > a { padding: 0 14px; font-size: 12px; letter-spacing: .14em; color: var(--f-paper); margin-bottom: 0; white-space: nowrap; }
.branko-header--fest .branko-nav__list > li.menu-item--fest-home { display: none; }
.branko-header--fest .branko-nav__list > li.menu-item--fest-home + li::before { display: none; }
.branko-header--fest .branko-nav__list > li > a:hover,
.branko-header--fest .branko-nav__list > li:hover > a,
.branko-header--fest .branko-nav__list > li:focus-within > a,
.branko-header--fest .branko-nav__list > .current-menu-item > a,
.branko-header--fest .branko-nav__list > .current-menu-ancestor > a,
.branko-header--fest .branko-nav__list > .current_page_item > a { color: var(--b-gold-pale); border-bottom-color: var(--b-gold-pale); }
.branko-header--fest .branko-nav .sub-menu { background: var(--f-bark); border-color: var(--f-line); border-top-color: var(--b-gold-pale); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); min-width: 220px; }
.branko-header--fest .branko-nav .sub-menu a { color: var(--f-paper); font-size: 19px; }
.branko-header--fest .branko-nav .sub-menu a:hover,
.branko-header--fest .branko-nav .sub-menu .current-menu-item > a { color: var(--b-gold-pale); background: var(--f-bark-2); }

.bf-pill {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	flex: 0 0 auto;
	padding: 8px 16px;
	font: 600 11px/1 var(--b-body);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--b-gold-pale);
	border: 1px solid rgba(216, 189, 132, .55);
	border-radius: 999px;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .2s ease, color .2s ease;
}
.bf-pill b { font: 600 20px/1 var(--b-serif); letter-spacing: 0; color: var(--f-paper); }
.bf-pill:hover { background: rgba(216, 189, 132, .12); color: var(--f-paper); }
.bf-pill--apply { background: var(--f-ember); border-color: var(--f-ember); color: #FFF4E8; }
.bf-pill--apply:hover { background: var(--f-ember-2); color: #fff; }
.bf-pill__dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.bf-pill__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: bfPulse 1.8s ease-out infinite; }
.bf-pill--live { color: #FFD9CF; border-color: #C0492F; }
@keyframes bfPulse { to { transform: scale(3); opacity: 0; } }

.branko-header--fest .branko-burger { border-color: rgba(216, 189, 132, .45); }
.branko-header--fest .branko-burger span { background: var(--f-paper); }

/* кад мени не стаје (мери branko-festival.js) */
.bf-tight .bf-brand__txt { display: none; }
.bf-tight .branko-nav__list > li > a { padding: 0 10px; letter-spacing: .1em; }
.bf-tight2 .bf-pill { display: none; }
@media (max-width: 1280px) {
	.branko-header--fest .branko-nav__list > li > a { padding: 0 10px; letter-spacing: .1em; }
	.bf-bar__inner { gap: 18px; }
}
@media (max-width: 1100px) {
	.bf-top__org { display: none; }
	.branko-header--fest .branko-nav__list > li.menu-item--fest-home { display: flex; }
	.bf-bar__inner { min-height: 76px; }
	.bf-brand { margin-right: auto; }
	.bf-brand { padding: 8px 0; }
	.bf-brand .bf-logo { width: 60px; }
	/* панел менија - тамни */
	.branko-header--fest .branko-nav { background: var(--f-bark); border-top: 1px solid var(--f-line); }
	.branko-header--fest .branko-nav .branko-nav__list { min-height: 0; justify-content: flex-start; }
	.branko-header--fest .branko-nav .branko-nav__list > li { border-bottom-color: var(--f-line); }
	.branko-header--fest .branko-nav .branko-nav__list > li > a { font-family: var(--b-serif); font-size: clamp(18px, 2.7vh, 22px); letter-spacing: 0; text-transform: none; padding: 6px 0; color: var(--f-paper); border-bottom: 0; }
	.branko-header--fest .branko-subtoggle { color: var(--b-gold-pale); }
	.branko-header--fest .branko-drill__panel { background: var(--f-bark); }
	.branko-header--fest .branko-drill__head, .branko-header--fest .branko-drill__list, .branko-header--fest .branko-drill__list li { border-color: var(--f-line); }
	.branko-header--fest .branko-drill__t, .branko-header--fest .branko-nav .branko-drill__list a { color: var(--f-paper); }
	.branko-header--fest .branko-nav .branko-drill__back { color: var(--b-gold-pale); }
	.branko-header--fest .branko-nav .branko-drill__open { color: var(--b-gold-pale); }
	.branko-header--fest .branko-nav__mobile-extra .branko-lang a { color: var(--f-sand); }
	.branko-header--fest .branko-nav__mobile-extra .branko-lang .is-active { color: var(--f-paper); }
	.branko-header--fest .branko-nav__mobile-extra .branko-btn--primary { background: var(--f-ember); }
}
@media (max-width: 600px) {
	.bf-top__inner { font-size: 11.5px; }
	.bf-back { max-width: 72vw; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
	.bf-brand { gap: 14px; }
	.bf-brand .bf-logo { width: 52px; }
	.bf-brand__txt { padding-left: 14px; gap: 5px; }
	.bf-brand__txt small { font-size: 8px; letter-spacing: .16em; }
	.bf-brand__txt .bf-brand__city { font-size: 13px; }
	.bf-pill { display: none; }
	.bf-bar__inner { gap: 10px; }
}

/* ---------- Заглавље унутрашње стране ---------- */
.bf-phead {
	position: relative;
	padding: 64px 0 60px;
	background: radial-gradient(110% 90% at 90% 0%, rgba(160, 69, 43, .28), transparent 60%), linear-gradient(180deg, var(--f-bark) 0%, var(--f-night) 100%);
	color: var(--f-paper);
}
.bf-phead::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--b-gold), transparent); }
.bf-phead__inner { display: flex; flex-direction: column; gap: 16px; }
.bf-phead__t { margin: 0; font: 600 clamp(44px, 6vw, 80px)/1 var(--b-serif); color: #FBF3E4; letter-spacing: -.01em; }
.bf-phead__lead { margin: 4px 0 0; max-width: 720px; font: italic 400 clamp(19px, 2vw, 23px)/1.45 var(--b-serif); color: #E6D6B5; }

/* ---------- Херо почетне ---------- */
.bf-hero {
	position: relative;
	overflow: hidden;
	padding: 96px 0 104px;
	background:
		radial-gradient(90% 80% at 85% 10%, rgba(160, 69, 43, .32), transparent 62%),
		radial-gradient(60% 60% at 0% 100%, rgba(216, 189, 132, .10), transparent 70%),
		linear-gradient(180deg, var(--f-bark) 0%, var(--f-night) 100%);
	color: var(--f-paper);
}
.bf-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--b-gold), transparent); }
.bf-hero__num {
	position: absolute;
	top: 20px;
	right: -2vw;
	font: 700 min(46vw, 620px)/.8 var(--b-serif);
	color: rgba(216, 189, 132, .06);
	pointer-events: none;
	user-select: none;
	letter-spacing: -.04em;
}
.bf-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 72px; align-items: center; }
.bf-hero__text { display: flex; flex-direction: column; gap: 22px; }
.bf-hero__title { display: flex; align-items: flex-end; gap: clamp(18px, 2.4vw, 34px); margin: 4px 0 0; }
.bf-hero__logo.bf-logo { width: clamp(220px, 27vw, 380px); color: var(--f-gold); filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .35)); }
.bf-hero__logo.bf-logo--img { width: auto; height: clamp(200px, 25vw, 340px); }
.bf-hero__title em { margin-bottom: -.12em; font: italic 500 clamp(54px, 7vw, 104px)/1 var(--b-serif); letter-spacing: -.02em; color: #FBF3E4; }
.bf-hero__motto { margin: 0; font: italic 400 clamp(21px, 2.3vw, 27px)/1.35 var(--b-serif); color: #E6D6B5; }
.bf-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.bf-btn { background: var(--f-ember); color: #FFF4E8; }
.bf-btn:hover { background: var(--f-ember-2); color: #fff; }
.bf-btn--ghost { color: var(--f-paper); border-color: rgba(216, 189, 132, .5); }
.bf-btn--ghost:hover { background: rgba(216, 189, 132, .12); color: var(--f-paper); border-color: var(--b-gold-pale); }
.bf-stream { max-width: 520px; color: var(--f-paper); }

.bf-count { display: flex; gap: 10px; }
.bf-count span { display: flex; flex-direction: column; align-items: center; min-width: 78px; padding: 14px 8px 11px; border: 1px solid rgba(216, 189, 132, .3); background: rgba(216, 189, 132, .06); }
.bf-count b { font: 600 40px/1 var(--b-serif); color: #FBF3E4; font-variant-numeric: tabular-nums; }
.bf-count small { margin-top: 7px; font: 600 10px/1 var(--b-body); letter-spacing: .16em; text-transform: uppercase; color: var(--b-gold-light); }
.bf-live { display: inline-flex; align-items: center; gap: 12px; margin: 0; font: italic 600 26px/1.2 var(--b-serif); color: #FFD9CF; }
.bf-live__dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #E0623F; }
.bf-live__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: bfPulse 1.6s ease-out infinite; }

.bf-facts { position: relative; padding: 10px 30px; background: rgba(243, 233, 214, .06); border: 1px solid rgba(216, 189, 132, .3); backdrop-filter: blur(2px); }
.bf-facts::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid rgba(216, 189, 132, .35); pointer-events: none; }
.bf-facts__row { display: flex; flex-direction: column; gap: 5px; padding: 20px 0; border-bottom: 1px solid var(--f-line); }
.bf-facts__row:last-of-type { border-bottom: 0; }
.bf-facts__k { font: 600 10.5px/1 var(--b-body); letter-spacing: .22em; text-transform: uppercase; color: var(--b-gold-pale); }
.bf-facts__v { font: 600 26px/1.15 var(--b-serif); color: #FBF3E4; }
.bf-facts__x { font: 400 14px/1.5 var(--b-body); color: #C9BBA2; }
.bf-facts__apply { margin: 0 -30px -10px; padding: 14px 30px; background: var(--f-ember); font: 600 12px/1.3 var(--b-body); letter-spacing: .1em; text-transform: uppercase; color: #FFF4E8; }

/* ---------- Увод и бројке ---------- */
.bf-intro__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.bf-intro__text { display: flex; flex-direction: column; gap: 18px; }
.bf-intro__text p { margin: 0; font: 400 17px/1.8 var(--b-body); color: #3D3226; }
.bf-link { color: var(--f-ember); }
.bf-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--b-line-2); border-left: 1px solid var(--b-line-2); }
.bf-stats li { display: flex; flex-direction: column; gap: 8px; padding: 28px 24px; border-right: 1px solid var(--b-line-2); border-bottom: 1px solid var(--b-line-2); }
.bf-stats b { font: 600 52px/1 var(--b-serif); color: var(--f-ember); }
.bf-stats span { font: 600 11px/1.4 var(--b-body); letter-spacing: .16em; text-transform: uppercase; color: var(--b-muted); }
.bf-stats--col { grid-template-columns: minmax(0, 1fr); }
.bf-stats--col li { padding: 20px 22px; }
.bf-stats--col b { font-size: 40px; }

/* ---------- Последње издање ---------- */
.bf-last { background: var(--f-paper-2); }
.bf-last__grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 72px; align-items: center; }
.bf-last__poster { position: relative; display: block; }
.bf-last__poster::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--f-ember); pointer-events: none; }
.bf-last__poster img { position: relative; display: block; width: 100%; height: auto; box-shadow: 0 30px 60px rgba(42, 28, 18, .25); transition: transform .5s ease; }
.bf-last__poster:hover img { transform: translateY(-4px); }
.bf-last__text { display: flex; flex-direction: column; gap: 18px; }
.bf-last__dates { margin: 0; font: italic 400 22px/1.3 var(--b-serif); color: var(--b-gold-dark); }
.bf-last__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }
.bf-faces { display: flex; margin: 6px 0 0; padding: 0 0 0 10px; list-style: none; }
.bf-faces li { width: 54px; height: 54px; margin-left: -10px; border-radius: 50%; overflow: hidden; border: 3px solid var(--f-paper-2); background: var(--f-bark-2); display: flex; align-items: center; justify-content: center; }
.bf-faces img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bf-faces span { font: 600 22px/1 var(--b-serif); color: var(--b-gold-pale); }
.bf-faces__more { font: 600 13px/1 var(--b-body); color: var(--f-paper); background: var(--f-ember) !important; }

/* ---------- Архива ---------- */
.bf-arch__list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 16px; margin: 0; padding: 0 0 8px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.bf-arch__list > li { scroll-snap-align: start; }
.bf-ed { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--b-ivory-2); border: 1px solid var(--b-line); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.bf-ed:hover { transform: translateY(-4px); border-color: var(--b-gold); box-shadow: 0 20px 40px rgba(42, 28, 18, .12); }
.bf-ed__img { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 4; overflow: hidden; background: var(--f-bark); }
.bf-ed__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.bf-ed:hover .bf-ed__img img { transform: scale(1.04); }
.bf-ed__num { font: 600 90px/1 var(--b-serif); color: rgba(216, 189, 132, .5); }
.bf-ed__body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 20px; }
.bf-ed__n { font: 600 11px/1 var(--b-body); letter-spacing: .2em; text-transform: uppercase; color: var(--f-ember); }
.bf-ed__y { font: 600 36px/1 var(--b-serif); color: var(--b-ink); }
.bf-ed__h { font: italic 400 15px/1.35 var(--b-serif); color: var(--b-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bf-ed__c { margin-top: 6px; font: 600 10.5px/1 var(--b-body); letter-spacing: .14em; text-transform: uppercase; color: var(--b-gold-dark); }

/* ---------- Савет ---------- */
.bf-council-teaser { background: var(--b-ivory); border-top: 1px solid var(--b-line); }
.bf-ct__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.bf-ct__grid > div { display: flex; flex-direction: column; gap: 16px; }
.bf-ct__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; padding: 0; list-style: none; }
.bf-ct__list li { display: flex; flex-direction: column; gap: 3px; padding: 16px 0; border-bottom: 1px solid var(--b-line); }
.bf-ct__list b { font: 600 21px/1.2 var(--b-serif); color: var(--b-ink); }
.bf-ct__list span { font: 400 13.5px/1.4 var(--b-body); color: var(--b-muted); }

.bf-council__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.bf-person { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 28px 26px; background: var(--b-ivory-2); border: 1px solid var(--b-line); }
.bf-person.is-lead { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 22px; background: var(--f-bark); border-color: var(--f-bark); }
.bf-person__mono { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--f-paper-2); font: 600 26px/1 var(--b-serif); color: var(--f-ember); flex: 0 0 auto; }
.bf-person__n { font: 600 23px/1.2 var(--b-serif); color: var(--b-ink); }
.bf-person__r { font: 600 11px/1.4 var(--b-body); letter-spacing: .14em; text-transform: uppercase; color: var(--b-gold-dark); }
.bf-person.is-lead .bf-person__n { font-size: 30px; color: #FBF3E4; }
.bf-person.is-lead .bf-person__r { color: var(--b-gold-pale); }
.bf-person.is-lead .bf-person__mono { background: var(--f-ember); color: #FFF4E8; width: 70px; height: 70px; font-size: 32px; }
.bf-orgs { margin-top: 56px; display: flex; flex-direction: column; gap: 14px; }
.bf-orgs ul { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.bf-orgs a, .bf-orgs li { font: 600 20px/1.3 var(--b-serif); color: var(--b-ink); text-decoration: none; }
.bf-orgs li { padding: 16px 22px; border: 1px solid var(--b-line-2); background: var(--b-ivory-2); }
.bf-orgs a:hover { color: var(--f-ember); }

/* ---------- Позив ---------- */
.bf-apply {
	position: relative;
	padding: 88px 0;
	background:
		radial-gradient(70% 140% at 100% 0%, rgba(160, 69, 43, .38), transparent 62%),
		radial-gradient(50% 90% at 0% 100%, rgba(216, 189, 132, .08), transparent 70%),
		linear-gradient(180deg, var(--f-bark) 0%, var(--f-night) 100%);
	color: #FFF4E8;
}
.bf-apply::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--b-gold), transparent); }
.bf-apply__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.bf-apply__inner > div { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.bf-apply .me-kicker { color: var(--f-gold); }
.bf-apply .me-kicker::before { background: var(--f-gold); }
.bf-apply .me-h2 { color: #FFF8EE; }
.bf-apply p { margin: 0; font: 400 16px/1.6 var(--b-body); color: #E6D6BC; }
.bf-apply .me-btn--light { flex: 0 0 auto; color: var(--f-bark); }

/* ---------- Унутрашње стране ---------- */
.bf-prose h2 { margin: 1.6em 0 .5em; font: 600 32px/1.15 var(--b-serif); color: var(--b-ink); }
.bf-prose h2:first-child { margin-top: 0; }
.bf-prose p:first-child { font: 400 21px/1.65 var(--b-serif); color: var(--b-ink); }
.bf-about__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 80px; align-items: start; }
.bf-quote { position: sticky; top: 40px; display: flex; flex-direction: column; gap: 14px; }
.bf-quote__t { margin: 0; font: italic 500 34px/1.2 var(--b-serif); color: var(--f-ember); }
.bf-quote__s { margin: 0 0 16px; font: 600 11px/1 var(--b-body); letter-spacing: .18em; text-transform: uppercase; color: var(--b-muted); }

.bf-applyp__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.bf-applyp__form { padding: 40px; background: var(--b-ivory-2); border: 1px solid var(--b-line); border-top: 3px solid var(--f-ember); }
.bf-deadline { margin: 0 0 24px; padding: 12px 16px; background: rgba(160, 69, 43, .08); border-left: 2px solid var(--f-ember); font: 600 13px/1.4 var(--b-body); letter-spacing: .06em; color: var(--f-ember-2); }
.bf-form .bc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bc-status.is-ok { background: rgba(78, 107, 88, .1); border-left: 2px solid #4E6B58; color: #34503F; }
.bf-form.is-sent .bc-grid, .bf-form.is-sent .bc-foot { opacity: .45; pointer-events: none; }
.bf-closed { display: flex; flex-direction: column; gap: 10px; }
.bf-closed__t { margin: 0; font: italic 500 28px/1.3 var(--b-serif); color: var(--b-ink); }
.bf-closed p { margin: 0; font: 400 16px/1.6 var(--b-body); color: var(--b-muted); }
.bf-closed a { color: var(--f-ember); }

.bf-press__top { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; align-items: start; margin-bottom: 72px; }
.bf-press__contact dd a { color: var(--f-ember); font-size: 15px; }
.bf-files { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.bf-file { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--b-ivory-2); border: 1px solid var(--b-line); transition: border-color .2s ease, transform .2s ease; }
.bf-file:hover { border-color: var(--f-ember); transform: translateY(-3px); }
.bf-file__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: var(--f-paper-2); overflow: hidden; }
.bf-file__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bf-file__ext { font: 600 34px/1 var(--b-serif); color: var(--f-ember); }
.bf-file__t { padding: 14px 16px 4px; font: 600 18px/1.25 var(--b-serif); color: var(--b-ink); }
.bf-file__m { padding: 0 16px 16px; font: 600 10.5px/1 var(--b-body); letter-spacing: .14em; text-transform: uppercase; color: var(--b-gold-dark); }

.bf-page .me-sec:first-of-type { padding-top: 80px; }

/* ---------- Цело издање (крај Програма / Учесника) ---------- */
.bf-fulled { position: relative; margin-top: 24px; padding: 96px 0; background: radial-gradient(90% 120% at 0% 100%, rgba(160, 69, 43, .10), transparent 60%), var(--f-paper-2); border-top: 1px solid rgba(154, 122, 74, .28); overflow: hidden; }
.bf-fulled::after { content: ""; position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 360px; height: 360px; border: 1px solid rgba(160, 69, 43, .14); border-radius: 50%; box-shadow: 0 0 0 48px rgba(160, 69, 43, .018); pointer-events: none; }
.bf-fulled__in { position: relative; z-index: 1; display: grid; grid-template-columns: 200px minmax(0, 1fr) minmax(0, 440px); gap: 64px; align-items: center; }
.bf-fulled__in:not(:has(.bf-fulled__poster)) { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); }
.bf-fulled__poster { position: relative; display: block; transform: rotate(-2.5deg); transition: transform .35s ease; }
.bf-fulled__poster::before { content: ""; position: absolute; inset: 12px -12px -12px 12px; border: 1px solid var(--f-ember); z-index: -1; }
.bf-fulled__poster img { display: block; width: 100%; height: auto; box-shadow: 0 22px 44px rgba(42, 28, 18, .28); }
.bf-fulled__poster:hover { transform: rotate(0deg) translateY(-4px); }
.bf-fulled__eye { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; font: 600 11px/1 var(--b-body); letter-spacing: .24em; text-transform: uppercase; color: var(--f-ember); }
.bf-fulled__eye::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.bf-fulled__t { margin: 0 0 16px; font: 600 clamp(34px, 4vw, 52px)/1.05 var(--b-serif); color: var(--b-ink); }
.bf-fulled__t em { font-style: italic; font-weight: 500; color: var(--f-ember); }
.bf-fulled__p { max-width: 460px; margin: 0 0 28px; font: 400 16px/1.65 var(--b-body); color: var(--b-muted); }
.bf-fulled__btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px; background: var(--f-bark); color: var(--f-paper); font: 600 11.5px/1 var(--b-body); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; transition: background-color .2s ease; }
.bf-fulled__btn:hover { background: var(--f-ember); color: #fff; }
.bf-fulled__btn span { transition: transform .25s ease; }
.bf-fulled__btn:hover span { transform: translateX(4px); }
.bf-fulled__links { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(42, 28, 18, .18); }
.bf-fulled__links li { border-bottom: 1px solid rgba(42, 28, 18, .18); }
.bf-fulled__links a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 18px 4px; text-decoration: none; color: var(--b-ink); transition: background-color .2s ease, padding .25s ease; }
.bf-fulled__links a:hover { padding-left: 14px; background: rgba(243, 233, 214, .6); }
.bf-fulled__n { font: italic 500 18px/1 var(--b-serif); color: var(--f-ember); }
.bf-fulled__l { display: flex; flex-direction: column; gap: 5px; }
.bf-fulled__l b { font: 600 22px/1.1 var(--b-serif); }
.bf-fulled__l small { font: 400 13.5px/1.3 var(--b-body); color: var(--b-muted); }
.bf-fulled__a { font-size: 18px; color: var(--f-ember); transition: transform .25s ease; }
.bf-fulled__links a:hover .bf-fulled__a { transform: translateX(4px); }
@media (max-width: 1100px) {
	.bf-fulled__in { grid-template-columns: 160px minmax(0, 1fr); gap: 40px 48px; }
	.bf-fulled__links { grid-column: 1 / -1; }
}
@media (max-width: 360px) {
	.bf-brand__txt { display: none; }
}
@media (max-width: 600px) {
	.bf-fulled { padding: 64px 0; }
	.bf-fulled::after { display: none; }
	.bf-fulled__in, .bf-fulled__in:not(:has(.bf-fulled__poster)) { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.bf-fulled__poster { width: 140px; margin: 6px 0 0 10px; }
	.bf-fulled__links { grid-column: auto; }
}
.me--part .me-sec { padding-top: 72px; }

/* ---------- Партнери ---------- */
.bf-partners { display: flex; flex-direction: column; align-items: center; gap: 22px; margin: 0 0 64px; padding: 36px 32px; background: var(--f-paper); }
.bf-partners__t { margin: 0; font: 600 11px/1 var(--b-body); letter-spacing: .22em; text-transform: uppercase; color: var(--b-gold-dark); }
.bf-partners__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 44px; margin: 0; padding: 0; list-style: none; }
.bf-partners__list img { display: block; max-height: 64px; max-width: 150px; width: auto; height: auto; filter: grayscale(1); opacity: .8; transition: filter .3s ease, opacity .3s ease; }
.bf-partners__list a:hover img { filter: none; opacity: 1; }

/* ---------- Подножје ---------- */
.bf-footer { padding-top: 72px; background: var(--f-night); color: #D9CBB0; font: 400 15px/1.6 var(--b-body); }
.bf-footer a { color: #E6D6B5; text-decoration: none; }
.bf-footer a:hover { color: var(--b-gold-pale); }
.bf-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--f-line); }
.bf-footer__brand { display: flex; flex-direction: column; gap: 22px; }
.bf-brand--foot { margin: 0; padding: 0; align-self: flex-start; }
.bf-brand--foot .bf-logo { width: 104px; }
.bf-footer__motto { margin: 0; font: italic 400 21px/1.4 var(--b-serif); color: var(--b-gold-pale); }
.bf-footer__t { margin: 0 0 16px; font: 600 11px/1 var(--b-body); letter-spacing: .2em; text-transform: uppercase; color: var(--f-sand); }
.bf-footer ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.bf-footer address { margin: 0 0 12px; font-style: normal; }
.bf-footer .bf-footer__social { flex-direction: row; gap: 16px; margin-top: 16px; }
.bf-footer__social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid var(--f-line); border-radius: 50%; }
.bf-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0 28px; font-size: 13px; color: #8F7D63; }
.bf-footer__bottom p { margin: 0; }
.bf-footer__home { font: 600 11px/1 var(--b-body); letter-spacing: .16em; text-transform: uppercase; }

/* ---------- Прилагођавање ---------- */
@media (max-width: 1100px) {
	.bf-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 56px; }
	.bf-facts { max-width: 560px; }
	.bf-intro__grid, .bf-ct__grid, .bf-about__grid, .bf-applyp__grid, .bf-press__top { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.bf-last__grid { grid-template-columns: 280px minmax(0, 1fr); gap: 48px; }
	.bf-quote { position: static; }
	.bf-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bf-council__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.bf-phead { padding: 44px 0 40px; }
	.bf-hero { padding: 56px 0 64px; }
	.bf-hero__num { top: 40px; right: -8vw; font-size: 80vw; }
	.bf-hero__logo.bf-logo { width: 200px; }
	.bf-hero__title em { font-size: 52px; }
	.bf-count { gap: 6px; }
	.bf-count span { flex: 1 1 0; min-width: 0; padding: 12px 4px 9px; }
	.bf-count b { font-size: 30px; }
	.bf-count small { font-size: 9px; letter-spacing: .1em; }
	.bf-hero__btns > * { flex: 1 1 auto; }
	.bf-facts { padding: 4px 20px; }
	.bf-facts::before { inset: 10px -8px -10px 8px; }
	.bf-facts__v { font-size: 23px; }
	.bf-facts__apply { margin: 0 -20px -4px; padding: 12px 20px; }
	.bf-stats b { font-size: 40px; }
	.bf-stats li { padding: 20px 16px; }
	.bf-last__grid { grid-template-columns: minmax(0, 1fr); }
	.bf-last__poster { max-width: 280px; margin-right: 18px; }
	.bf-arch__list { grid-auto-columns: 62%; margin: 0 -16px; padding: 0 16px 8px; scroll-padding-inline: 16px; }
	.bf-ct__list { grid-template-columns: minmax(0, 1fr); }
	.bf-council__grid { grid-template-columns: minmax(0, 1fr); }
	.bf-person.is-lead { flex-direction: column; align-items: flex-start; }
	.bf-apply { padding: 64px 0; }
	.bf-apply__inner { flex-direction: column; align-items: flex-start; }
	.bf-applyp__form { padding: 24px 18px; margin: 0 -16px; border-left: 0; border-right: 0; }
	.bf-form .bc-grid { grid-template-columns: minmax(0, 1fr); }
	.bf-partners { margin: 0 -16px 48px; padding: 28px 16px; }
	.bf-partners__list { gap: 20px 28px; }
	.bf-partners__list img { max-height: 48px; max-width: 110px; }
	.bf-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.bf-footer__bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	.bf-pill__dot::after, .bf-live__dot::after { animation: none; }
}

/* ==========================================================================
   1.18 - лого, ритам почетне, тренуци, архива са стрелицама, пријава у корацима
   ========================================================================== */
.bf .me-btn--gold { background: var(--f-bark); color: var(--f-paper); }
.bf .me-btn--gold:hover { background: var(--f-ember); color: #fff; }

/* Тренуци (тамна трака између светлих секција) */
.bf-moments { padding: 96px 0; background: radial-gradient(80% 120% at 100% 0%, rgba(160, 69, 43, .25), transparent 60%), var(--f-bark); color: var(--f-paper); }
.bf-moments .me-kicker { color: var(--f-gold); }
.bf-moments .me-kicker::before { background: var(--f-gold); }
.bf-moments .me-h2 { color: #FBF3E4; }
.bf-moments__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.bf-moments__head .me-h2 { margin-bottom: 0; }
.bf-moments__all { flex: 0 0 auto; font: 600 11.5px/1 var(--b-body); letter-spacing: .18em; text-transform: uppercase; color: var(--f-gold); text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid rgba(232, 198, 134, .4); }
.bf-moments__all:hover { color: #fff; border-color: #fff; }
.bf-moments__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 12px; margin: 0; padding: 0; list-style: none; }
.bf-moments__grid li:first-child { grid-row: 1 / 3; }
.bf-moments__grid--3 { grid-template-columns: 2fr 1fr; }
.bf-moments__grid--4 li:nth-child(4) { grid-column: 2 / 4; }
.bf-moments__grid a { display: block; height: 100%; overflow: hidden; background: var(--f-bark-2); }
.bf-moments__grid img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform .6s ease, filter .4s ease; }
.bf-moments__grid a:hover img { transform: scale(1.04); filter: none; }

/* Архива: стрелице + наговештај да има још */
.me-head.bf-arch__head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; margin-left: 0; margin-right: 0; text-align: left; }
.bf-arch__head > div:first-child { display: flex; flex-direction: column; gap: 14px; }
.bf-arch__nav { display: flex; gap: 8px; margin-bottom: 6px; }
.bf-arch__nav[hidden] { display: none; }
.bf-arch__btn { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0; font-size: 18px; color: var(--b-ink); background: transparent; border: 1px solid rgba(57, 31, 30, .3); border-radius: 50%; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease; }
.bf-arch__btn:hover:not(:disabled) { background: var(--f-bark); border-color: var(--f-bark); color: var(--f-paper); }
.bf-arch__btn:disabled { opacity: .3; cursor: default; }
.bf-arch__list { scroll-behavior: smooth; }
.bf-arch__list.has-more { -webkit-mask: linear-gradient(90deg, #000 88%, transparent); mask: linear-gradient(90deg, #000 88%, transparent); }

/* Пријава: кораци + групе поља */
.bf-applyp__side { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 36px; }
.bf-steps { margin: 0; padding: 0; list-style: none; counter-reset: st; border-left: 1px solid var(--b-line); }
.bf-steps li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 0 0 22px 30px; counter-increment: st; }
.bf-steps li:last-child { padding-bottom: 0; }
.bf-steps li::before { content: counter(st); position: absolute; left: -14px; top: -2px; width: 27px; height: 27px; display: flex; align-items: center; justify-content: center; font: italic 600 14px/1 var(--b-serif); color: var(--f-paper); background: var(--f-bark); border-radius: 50%; }
.bf-steps li:first-child::before { background: var(--f-ember); }
.bf-steps b { font: 600 20px/1.2 var(--b-serif); color: var(--b-ink); }
.bf-steps span { font: 400 14.5px/1.5 var(--b-body); color: var(--b-muted); }
.bf-applyp__help { margin: 0; font: 400 14.5px/1.5 var(--b-body); color: var(--b-muted); }
.bf-applyp__help a { color: var(--f-ember); }
.bf-fs { margin: 0 0 30px; padding: 0; border: 0; min-width: 0; }
.bf-fs__t { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 18px; padding: 0 0 12px; border-bottom: 1px solid var(--b-line); font: 600 24px/1 var(--b-serif); color: var(--b-ink); }
.bf-fs__t span { font: italic 500 16px/1 var(--b-serif); color: var(--f-ember); }

@media (max-width: 1100px) {
	.bf-applyp__side { position: static; }
	.bf-moments__grid { grid-template-rows: 180px 180px; }
}
@media (max-width: 600px) {
	.bf-brand__txt small:not(.bf-brand__city) { display: none; }
	.bf-facts::before { display: none; }
	.bf-moments { padding: 64px 0; }
	.bf-moments__head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 28px; }
	.bf-moments__grid, .bf-moments__grid--3 { display: flex; gap: 10px; margin: 0 -16px; padding: 0 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
	.bf-moments__grid li { flex: 0 0 78%; height: 240px; scroll-snap-align: start; }
	.bf-arch__nav { display: none; }
	.bf-arch__list.has-more { -webkit-mask: none; mask: none; }
	.bf-fs__t { font-size: 21px; }
}
.b-contact-form.bf-form button.bc-submit { background: var(--f-bark); }
.b-contact-form.bf-form button.bc-submit:hover { background: var(--f-ember); }

/* ==========================================================================
   Архива - полица плаката (coverflow), 1.19
   ========================================================================== */
.bf-cf { position: relative; padding: 110px 0 96px; overflow: hidden; background: var(--f-paper); isolation: isolate; }
.bf-cf__glow { position: absolute; left: 50%; top: 150px; z-index: -1; width: min(900px, 90vw); height: 560px; transform: translateX(-50%); background-size: cover; background-position: center; filter: blur(80px) saturate(1.4); opacity: .22; border-radius: 50%; -webkit-mask: radial-gradient(closest-side, #000 40%, transparent); mask: radial-gradient(closest-side, #000 40%, transparent); transition: background-image .6s ease; pointer-events: none; }
.bf-cf__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.bf-cf__head > div:first-child { display: flex; flex-direction: column; gap: 14px; }
.bf-cf__head .me-h2 { margin: 0; }
.bf-cf__ctrl { display: none; align-items: center; gap: 10px; }
.bf-cf__count { display: flex; align-items: baseline; gap: 6px; margin: 0 14px 0 0; font: italic 500 16px/1 var(--b-serif); color: var(--b-muted); }
.bf-cf__count b { font: 600 34px/1 var(--b-serif); font-style: normal; color: var(--b-ink); min-width: 2ch; text-align: right; font-variant-numeric: tabular-nums; }
.bf-cf__btn { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0; font-size: 19px; color: var(--b-ink); background: rgba(255, 255, 255, .35); border: 1px solid rgba(57, 31, 30, .28); border-radius: 50%; cursor: pointer; backdrop-filter: blur(6px); transition: background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease, transform .2s ease; }
.bf-cf__btn:hover:not(:disabled) { background: var(--f-bark); border-color: var(--f-bark); color: var(--f-paper); transform: scale(1.06); }
.bf-cf__btn:disabled { opacity: .3; cursor: default; }

/* без JS: обична водоравна листа */
.bf-cf__stage { display: flex; gap: 18px; margin: 0; padding: 0 0 12px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; }
.bf-cf__item { flex: 0 0 220px; scroll-snap-align: start; }
.bf-cf__card { position: relative; display: block; aspect-ratio: 1 / 1.414; overflow: hidden; background: var(--f-bark); text-decoration: none; box-shadow: 0 18px 40px rgba(57, 31, 30, .22); }
.bf-cf__card img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.bf-cf__ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 100%; background: radial-gradient(circle at 50% 35%, var(--f-bark-2), var(--f-bark) 70%); color: var(--f-gold); }
.bf-cf__ph b { font: 600 88px/1 var(--b-serif); }
.bf-cf__ph small { font: 600 12px/1 var(--b-body); letter-spacing: .3em; }
.bf-cf__tag { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; font: 600 10.5px/1 var(--b-body); letter-spacing: .16em; color: var(--f-paper); background: rgba(31, 16, 15, .78); backdrop-filter: blur(4px); }
.bf-cf__info, .bf-cf__rail { display: none; }

/* са JS: 3D сцена */
.bf-cf.is-cf .bf-cf__ctrl { display: flex; }
.bf-cf.is-cf .bf-cf__stage { --w: 290px; position: relative; display: block; height: calc(var(--w) * 1.414 + 40px); padding: 0; overflow: visible; perspective: 1600px; outline: none; touch-action: pan-y; cursor: grab; user-select: none; }
.bf-cf.is-cf .bf-cf__stage.is-drag { cursor: grabbing; }
.bf-cf.is-cf .bf-cf__stage:focus-visible { outline: 2px solid var(--f-ember); outline-offset: 12px; }
.bf-cf.is-cf .bf-cf__item {
	position: absolute; left: 50%; top: 10px; width: var(--w);
	transform: translateX(-50%) translateX(var(--x, 0)) translateZ(var(--z, 0)) rotateY(var(--r, 0deg)) scale(var(--s, 1));
	z-index: var(--zi, 1); opacity: var(--op, 1);
	transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .5s ease;
	transform-style: preserve-3d; will-change: transform;
}
.bf-cf.is-cf .bf-cf__stage.is-drag .bf-cf__item { transition: none; }
.bf-cf.is-cf .bf-cf__card { box-shadow: 0 30px 60px rgba(31, 16, 15, .28); transition: box-shadow .5s ease, filter .5s ease; filter: brightness(var(--br, 1)) saturate(var(--sa, 1)); -webkit-box-reflect: below 6px linear-gradient(transparent 78%, rgba(255, 255, 255, .18)); }
.bf-cf.is-cf .bf-cf__item.is-active .bf-cf__card { box-shadow: 0 40px 80px rgba(31, 16, 15, .38), 0 0 0 1px rgba(232, 198, 134, .5); }
.bf-cf.is-cf .bf-cf__item.is-active .bf-cf__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%); transform: translateX(-120%); transition: transform 1s ease; pointer-events: none; }
.bf-cf.is-cf .bf-cf__item.is-active .bf-cf__card:hover::after { transform: translateX(120%); }
.bf-cf.is-cf .bf-cf__tag { opacity: 0; transition: opacity .3s ease; }
.bf-cf.is-cf .bf-cf__item:not(.is-active) .bf-cf__tag { opacity: 1; }
.bf-cf.is-cf .bf-cf__item:not(.is-active) .bf-cf__card { cursor: pointer; }

.bf-cf.is-cf .bf-cf__info { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 12px 40px; max-width: 900px; margin: 56px auto 0; padding: 26px 0 0; border-top: 1px solid rgba(57, 31, 30, .16); transition: opacity .25s ease, transform .25s ease; }
.bf-cf__info.is-swap { opacity: 0; transform: translateY(8px); }
.bf-cf__meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font: 600 11px/1 var(--b-body); letter-spacing: .2em; text-transform: uppercase; color: var(--f-ember); }
.bf-cf__d { color: var(--b-muted); letter-spacing: .08em; text-transform: none; font: italic 400 15px/1 var(--b-serif); }
.bf-cf__y { margin: 0; font: 600 clamp(56px, 6vw, 84px)/.85 var(--b-serif); color: var(--b-ink); font-variant-numeric: lining-nums; }
.bf-cf__h { margin: 0 0 6px; font: italic 400 22px/1.3 var(--b-serif); color: var(--b-ink); }
.bf-cf__act { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; margin-bottom: 6px; }
.bf-cf__c { font: 600 11px/1 var(--b-body); letter-spacing: .2em; text-transform: uppercase; color: var(--b-gold-dark); }
.bf-cf__go { display: inline-flex; align-items: center; gap: 12px; padding: 15px 24px; background: var(--f-bark); color: var(--f-paper); font: 600 11px/1 var(--b-body); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: background-color .2s ease; }
.bf-cf__go:hover { background: var(--f-ember); color: #fff; }
.bf-cf__go span { transition: transform .25s ease; }
.bf-cf__go:hover span { transform: translateX(4px); }

.bf-cf.is-cf .bf-cf__rail { position: relative; display: flex; justify-content: space-between; max-width: 900px; margin: 44px auto 0; padding: 22px 0 0; overflow-x: auto; scrollbar-width: none; }
.bf-cf__rail::-webkit-scrollbar { display: none; }
.bf-cf__line { position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: rgba(57, 31, 30, .2); }
.bf-cf__fill { position: absolute; left: 0; top: 0; height: 1px; width: var(--p, 100%); background: var(--f-ember); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.bf-cf__year { position: relative; flex: 0 0 auto; padding: 18px 6px 0; background: none; border: 0; cursor: pointer; font: 500 16px/1 var(--b-serif); color: var(--b-muted); transition: color .2s ease; }
.bf-cf__year::before { content: ""; position: absolute; left: 50%; top: -4px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--f-paper); border: 1px solid rgba(57, 31, 30, .35); transition: transform .3s ease, background-color .3s ease, border-color .3s ease; }
.bf-cf__year.is-past::before { background: var(--f-ember); border-color: var(--f-ember); }
.bf-cf__year:hover { color: var(--b-ink); }
.bf-cf__year.is-active { color: var(--f-ember); font-weight: 700; }
.bf-cf__year.is-active::before { transform: scale(1.7); background: var(--f-ember); border-color: var(--f-ember); box-shadow: 0 0 0 5px rgba(160, 69, 43, .15); }

@media (max-width: 900px) {
	.bf-cf.is-cf .bf-cf__stage { --w: 230px; }
	.bf-cf.is-cf .bf-cf__info { grid-template-columns: auto minmax(0, 1fr); }
	.bf-cf__act { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (max-width: 600px) {
	.bf-cf { padding: 72px 0 64px; }
	.bf-cf__head { margin-bottom: 24px; }
	.bf-cf__btn { display: none; }
	.bf-cf__count { margin: 0 0 4px; }
	.bf-cf.is-cf .bf-cf__stage { --w: 58vw; }
	.bf-cf.is-cf .bf-cf__card { -webkit-box-reflect: unset; }
	.bf-cf.is-cf .bf-cf__info { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 32px; }
	.bf-cf__y { font-size: 56px; }
	.bf-cf__h { font-size: 19px; }
	.bf-cf.is-cf .bf-cf__rail { justify-content: flex-start; gap: 18px; margin: 32px -16px 0; padding: 22px 16px 4px; }
	.bf-cf__line { left: 16px; right: auto; width: var(--rw, 100%); }
}
@media (prefers-reduced-motion: reduce) {
	.bf-cf.is-cf .bf-cf__item, .bf-cf__fill, .bf-cf__info { transition: none; }
}

/* картица следећег издања */
.bf-cf__ph--next { gap: 14px; background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(232, 198, 134, .05) 14px 15px), radial-gradient(circle at 50% 30%, var(--f-bark-2), var(--f-night) 75%); border: 1px dashed rgba(232, 198, 134, .55); box-sizing: border-box; }
.bf-cf__ph--next .bf-cf__logo { width: 46%; color: var(--f-gold); opacity: .9; }
.bf-cf__ph--next b { font-size: 64px; color: #FBF3E4; }
.bf-cf__ph--next small { color: var(--f-gold); }
.bf-cf__item--next .bf-cf__card { background: var(--f-night); }
.bf-cf__info.is-next .bf-cf__y { color: var(--f-ember); font-style: italic; font-weight: 500; }
.bf-cf__info.is-next .bf-cf__go { background: var(--f-ember); }
.bf-cf__info.is-next .bf-cf__go:hover { background: var(--f-ember-2); }
.bf-cf__year--next { font-style: italic; }
.bf-cf__year--next::before { border-style: dashed; border-color: var(--f-ember); background: transparent; }
.bf-cf__year--next.is-active::before { background: var(--f-paper); box-shadow: 0 0 0 5px rgba(160, 69, 43, .12); }

/* Hello Elementor боји button:hover/:focus у розе (#c36) - неутралисано за контроле фестивала */
.bf-cf__year, .bf-cf__year:hover, .bf-cf__year:focus, .bf-cf__year:active { background: transparent; box-shadow: none; -webkit-tap-highlight-color: transparent; }
.bf-cf__year:hover, .bf-cf__year:focus { color: var(--b-ink); }
.bf-cf__year.is-active, .bf-cf__year.is-active:hover, .bf-cf__year.is-active:focus { color: var(--f-ember); }
.bf-cf__year:focus-visible { outline: 2px solid var(--f-ember); outline-offset: 4px; border-radius: 2px; }
.bf-cf__btn, .bf-arch__btn { -webkit-tap-highlight-color: transparent; }
.bf-cf__btn:focus, .bf-arch__btn:focus { background: rgba(255, 255, 255, .35); color: var(--b-ink); border-color: rgba(57, 31, 30, .28); }
.bf-cf__btn:hover:not(:disabled), .bf-arch__btn:hover:not(:disabled) { background: var(--f-bark); border-color: var(--f-bark); color: var(--f-paper); }
.bf-cf__btn:disabled, .bf-cf__btn:disabled:hover { background: rgba(255, 255, 255, .35); color: var(--b-ink); }
.bf-cf__btn:focus-visible, .bf-arch__btn:focus-visible { outline: 2px solid var(--f-ember); outline-offset: 3px; }

/* Корице издања → assets/css/branko-cover.css (учитава се на целом сајту) */
.bf-last__poster .bf-cover, .bf-fulled__poster .bf-cover { box-shadow: 0 30px 60px rgba(42, 28, 18, .28); transition: transform .5s ease; }
.bf-last__poster:hover .bf-cover { transform: translateY(-4px); }
.bf-last__poster, .bf-fulled__poster, .bf-cf__card { text-decoration: none !important; }

/* Страна издања: корице уместо плаката + тон издања у позадини */
.is-festival .me-hero { background: radial-gradient(55% 85% at 82% 42%, color-mix(in srgb, var(--tone, #391F1E) 90%, #fff 6%), transparent 72%), linear-gradient(180deg, var(--f-bark) 0%, var(--f-night) 100%); }
.me-hero__poster--cover { justify-self: end; width: 100%; max-width: 360px; perspective: 1200px; }
.me-hero__poster--cover::before { border-color: rgba(232, 198, 134, .45); }
.me-hero__poster--cover .bf-cover { box-shadow: 0 40px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(232, 198, 134, .35); transform: rotateY(-7deg) rotateX(2deg); transform-origin: 60% 50%; transition: transform .8s cubic-bezier(.2, .8, .2, 1), box-shadow .8s ease; }
.me-hero__poster--cover:hover .bf-cover { transform: rotateY(0) rotateX(0) translateY(-6px); box-shadow: 0 50px 90px rgba(0, 0, 0, .5), 0 0 0 1px rgba(232, 198, 134, .5); }
.me-hero__poster--cover .bf-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .16) 48%, transparent 62%); transform: translateX(-110%); transition: transform 1.2s ease; pointer-events: none; }
.me-hero__poster--cover:hover .bf-cover::after { transform: translateX(110%); }
@media (max-width: 1100px) { .me-hero__poster--cover { justify-self: start; max-width: 300px; } }
@media (max-width: 600px) { .me-hero__poster--cover { max-width: 50vw; margin: 8px 0 0; } .me-hero__poster--cover .bf-cover { transform: none; } }
@media (prefers-reduced-motion: reduce) { .me-hero__poster--cover .bf-cover { transform: none; transition: none; } }

/* ===== Из визије „Бранка“ ===== */
.bf-vision { background: var(--b-ivory); border-top: 1px solid var(--b-line); }
.bf-vision__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.bf-vision__head { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 18px; }
.bf-vision__motto {
	margin: 10px 0 0;
	padding-top: 22px;
	border-top: 1px solid var(--b-line-2);
	font: italic 500 26px/1.3 var(--b-serif);
	color: var(--f-ember, #A0452B);
}
.bf-vision__text p { margin: 0 0 18px; font: 400 17px/1.8 var(--b-body); color: #3B3127; }
.bf-vision__lead { font-size: 20px !important; line-height: 1.65 !important; color: var(--b-ink) !important; }
.bf-vision__lead::first-letter { float: left; margin: 6px 12px 0 0; font: 600 70px/.8 var(--b-serif); color: var(--f-bark, #391F1E); }
.bf-vision__orgs { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.bf-vision__orgs li { padding: 9px 14px; font: 600 11px var(--b-body); letter-spacing: .14em; text-transform: uppercase; color: var(--f-bark, #391F1E); border: 1px solid var(--b-line-2); }

/* ===== Награда „Милан Мандић“ ===== */
.bf-milan {
	padding: 112px 0;
	background: radial-gradient(70% 80% at 0% 0%, rgba(232, 198, 134, .07), transparent 60%), #17100D;
	color: #D9CBB2;
}
.bf-milan__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: center; }
.bf-milan__media { position: relative; margin: 0; }
.bf-milan__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(.25); }
.bf-milan__media::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(232, 198, 134, .4); pointer-events: none; }
.bf-milan__media figcaption { margin-top: 14px; font: italic 500 20px var(--b-serif); color: #E8C686; }
.bf-milan__media figcaption span { margin-left: 8px; font: 400 13px var(--b-body); color: #8E8170; letter-spacing: .08em; }
.bf-milan__mono {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	aspect-ratio: 4 / 5;
	background: radial-gradient(circle at 50% 40%, #2A1C17, #120C0A 75%);
	border: 1px solid rgba(232, 198, 134, .18);
}
.bf-milan__mono b { font: 600 96px/1 var(--b-serif); color: #E8C686; letter-spacing: .04em; }
.bf-milan__mono small { font: 600 12px var(--b-body); letter-spacing: .3em; color: #8E8170; }
.bf-milan .me-kicker { color: #E8C686; }
.bf-milan .me-h2 { color: #FBF3E4; }
.bf-milan__sub { margin: 10px 0 26px; font: italic 500 22px var(--b-serif); color: #C9A77A; }
.bf-milan__text p:not(.me-kicker):not(.bf-milan__sub) { margin: 0 0 16px; font: 400 16.5px/1.8 var(--b-body); color: #CDBFA6; }
.bf-milan__quote {
	margin: 30px 0 0;
	padding: 24px 0 0 0;
	border-top: 1px solid rgba(232, 198, 134, .25);
	font: italic 500 clamp(24px, 2.4vw, 32px)/1.3 var(--b-serif);
	color: #FBF3E4;
}
.bf-milan__video { margin-top: 28px; }

/* ===== Људи иза „Музичког едикта“ ===== */
.bf-people { background: var(--b-ivory); }
.bf-people__head { max-width: 720px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; }
.bf-people__head p:last-child { font: 400 17px/1.7 var(--b-body); color: var(--b-muted); margin: 0; }
.bf-people__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.bf-pc--team { grid-column: 1 / -1; }
.bf-pc { padding: 30px 30px 32px; background: var(--b-parchment); border: 1px solid var(--b-line); border-top: 2px solid var(--f-gold, #E8C686); }
.bf-pc--lead { background: var(--f-bark, #391F1E); border-color: var(--f-bark, #391F1E); border-top-color: var(--f-gold, #E8C686); }
.bf-pc--lead .bf-pc__name { color: #FBF3E4; }
.bf-pc--lead .bf-pc__x { color: #CDBFA6; }
.bf-pc--lead .bf-pc__k { color: var(--f-gold, #E8C686); }
.bf-pc__k { margin: 0 0 16px; font: 600 11px var(--b-body); letter-spacing: .2em; text-transform: uppercase; color: var(--b-gold-dark); }
.bf-pc__name { margin: 0 0 10px; font: 600 28px/1.15 var(--b-serif); color: var(--b-ink); }
.bf-pc__name small { display: block; margin-top: 4px; font: 400 13px var(--b-body); color: var(--b-muted); }
.bf-pc__x { margin: 0 0 14px; font: 400 15px/1.6 var(--b-body); color: var(--b-muted); }
.bf-pc__list { margin: 0; padding: 0; list-style: none; }
.bf-pc__list li { padding: 9px 0; border-bottom: 1px solid var(--b-line); font: 600 19px/1.25 var(--b-serif); color: var(--b-ink); }
.bf-pc__list li:last-child { border-bottom: 0; }
.bf-pc__list small { display: block; margin-top: 2px; font: 400 12.5px var(--b-body); color: var(--f-ember, #A0452B); }
.bf-pc__list--cols { columns: 3; column-gap: 36px; }
.bf-pc__list--cols li { break-inside: avoid; }

@media (max-width: 1100px) {
	.bf-vision__grid, .bf-milan__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
	.bf-vision__head { position: static; }
	.bf-milan__media { max-width: 420px; }
	.bf-people__grid { grid-template-columns: 1fr 1fr; }
	.bf-pc--lead { grid-column: 1 / -1; }
	.bf-pc__list--cols { columns: 2; }
}
@media (max-width: 767px) {
	.bf-milan { padding: 72px 0; }
	.bf-people__grid { grid-template-columns: 1fr; }
	.bf-pc__list--cols { columns: 1; }
	.bf-vision__lead { font-size: 18px !important; }
	.bf-milan__mono b { font-size: 72px; }
}

/* ===== 1.38.0 - Људи: секретар у првој картици ===== */
.bf-pc__sub { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(232, 198, 134, .22); }
.bf-pc__sub .bf-pc__k { margin-bottom: 10px; font-size: 10px; opacity: .85; }
.bf-pc__name--sm { margin: 0; font-size: 21px; }
.bf-pc--lead .bf-pc__name:not(.bf-pc__name--sm) { font-size: 34px; }

/* ===== 1.38.0 - О фестивалу: стубови и места ===== */
.bf-pillars { padding-top: 0; }
.bf-pillars__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.bf-pillar { position: relative; padding: 44px 44px 40px; background: var(--b-ivory-2); border: 1px solid var(--b-line); border-top: 3px solid var(--f-ember); }
.bf-pillar__n { display: block; margin-bottom: 18px; font: 600 15px/1 var(--b-serif); letter-spacing: .2em; color: var(--f-ember); }
.bf-pillar__t { margin: 0 0 18px; font: 600 30px/1.15 var(--b-serif); color: var(--b-ink); }
.bf-pillar p { margin: 0 0 16px; font: 400 16.5px/1.8 var(--b-body); color: #3B3127; }
.bf-pillar p:last-child { margin-bottom: 0; }

.bf-venue {
	position: relative;
	padding: 104px 0;
	background:
		radial-gradient(70% 90% at 90% 0%, rgba(160, 69, 43, .26), transparent 62%),
		linear-gradient(180deg, var(--f-bark) 0%, var(--f-night) 100%);
	color: var(--f-paper);
}
.bf-venue + .bf-venue { border-top: 1px solid var(--f-line); }
.bf-venue:last-of-type::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--b-gold), transparent); }
.bf-venue__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.bf-venue--flip .bf-venue__media { order: 2; }
.bf-venue__media { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bf-venue__film { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #120908; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.bf-venue__film::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(232, 198, 134, .25); }
.bf-vid { display: block; width: 100%; height: 100%; object-fit: cover; }
.bf-vid__btn {
	position: absolute; right: 14px; top: 14px; z-index: 2;
	width: 40px; height: 40px; padding: 0; border: 1px solid rgba(232, 198, 134, .5); border-radius: 50%;
	background: rgba(31, 16, 15, .62); color: var(--f-gold); cursor: pointer;
	-webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
	transition: background .2s, transform .2s;
}
.bf-vid__btn:hover { background: rgba(31, 16, 15, .85); transform: scale(1.05); }
.bf-vid__btn:focus-visible { outline: 2px solid var(--f-gold); outline-offset: 3px; }
.bf-vid__btn::before, .bf-vid__btn::after { content: ""; position: absolute; top: 50%; left: 50%; }
/* пауза (две црте) док снимак иде, троугао кад стоји */
.bf-vid__btn[aria-pressed="false"]::before { width: 3px; height: 13px; margin: -6.5px 0 0 -5px; background: currentColor; box-shadow: 7px 0 0 currentColor; }
.bf-vid__btn[aria-pressed="true"]::before { width: 0; height: 0; margin: -7px 0 0 -4px; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; }
.bf-venue__photos { display: grid; gap: 14px; }
.bf-venue__photos--1 { grid-template-columns: minmax(0, 1fr); max-width: 62%; margin-left: auto; margin-top: -64px; position: relative; z-index: 1; }
.bf-venue--flip .bf-venue__photos--1 { margin-left: 0; margin-right: auto; }
.bf-venue__photos--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bf-venue__photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .8); outline: 1px solid rgba(232, 198, 134, .2); outline-offset: -1px; }
.bf-venue__photos--1 img { aspect-ratio: 16 / 10; border: 6px solid var(--f-bark); outline: 0; }
.bf-venue__text { display: flex; flex-direction: column; gap: 18px; }
.bf-venue__text .me-kicker { color: var(--f-gold); }
.bf-venue__text .me-kicker::before { background: var(--f-gold); }
.bf-venue__n { margin-right: 10px; font-family: var(--b-serif); letter-spacing: .16em; }
.bf-venue__text .me-h2 { color: #FBF3E4; }
.bf-venue__text p:not(.me-kicker) { margin: 0; font: 400 17px/1.85 var(--b-body); color: #DCCDB4; }

@media (max-width: 1100px) {
	.bf-venue__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
	.bf-venue--flip .bf-venue__media { order: 0; }
}
@media (max-width: 900px) {
	.bf-pillars__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
	.bf-people .bf-pc__list--cols { columns: 1; }
	.bf-pillar { padding: 30px 22px 28px; }
	.bf-pillar__t { font-size: 26px; }
	.bf-venue { padding: 72px 0; }
	.bf-venue__film { margin: 0 -16px; }
	.bf-venue__photos--1 { max-width: 78%; margin-top: -40px; }
	.bf-venue__photos--2 { gap: 8px; }
}
