/* ==========================================================================
   The CS Vault — magazinski stil: zlato + serif (Fraunces), sepia fotografije
   ========================================================================== */
.az-vault {
	--az-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
	--az-sepia: sepia(.55) saturate(.8) contrast(1.05) brightness(.92);
	--az-vline: #2e2818;
	padding-bottom: 56px;
}
.az-serif { font-family: var(--az-serif); font-optical-sizing: auto; }
.az-vault .az-breadcrumbs a:hover { color: var(--az-gold); }
.az-vlink { color: var(--az-gold); font-weight: 600; font-size: 14px; white-space: nowrap; }
.az-vlink:hover { color: var(--az-gold-soft); }

/* ---------- Uvod ---------- */
.az-vhero {
	position: relative; overflow: hidden; padding: 28px 0 36px;
	background:
		radial-gradient(700px 260px at 12% 0%, rgba(233, 196, 106, .12), transparent 70%),
		linear-gradient(180deg, var(--az-gold-bg), var(--az-bg));
	border-bottom: 1px solid var(--az-gold-border);
}
.az-vhero::after { /* tanka „filmska" zrnast tekstura */
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05;
	background-image: repeating-linear-gradient(0deg, #fff 0 1px, transparent 1px 3px);
}
.az-vhero .az-wrap { position: relative; z-index: 1; }
.az-vhero__brand { display: inline-flex; align-items: center; gap: 8px; color: var(--az-gold); margin-bottom: 14px; }
.az-vhero__brand .az-disp { font-size: 15px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.az-vhero__title { margin: 0; max-width: 18ch; font-size: clamp(34px, 5.2vw, 60px); line-height: 1.04; font-weight: 600; letter-spacing: -.015em; color: #f6efe0; }
.az-vhero__lead { margin: 16px 0 0; max-width: 62ch; font-size: 17px; line-height: 1.6; color: var(--az-text-2); }
.az-vhero__stats { display: flex; flex-wrap: wrap; gap: 12px 36px; margin: 26px 0 0; }
.az-vhero__stats div { display: flex; flex-direction: column-reverse; gap: 2px; }
.az-vhero__stats dd { margin: 0; font-size: 26px; font-weight: 700; color: var(--az-gold); }
.az-vhero__stats dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--az-muted); }

.az-vault__main { display: flex; flex-direction: column; gap: 40px; padding-top: 32px; }
.az-vsec__head h2 { margin: 0 0 14px; font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--az-text-3); }

/* ---------- Vremenska linija era ---------- */
.az-eras { position: relative; display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.az-era {
	position: relative; flex: 1 0 128px; scroll-snap-align: start;
	display: flex; flex-direction: column; gap: 6px; padding: 30px 12px 12px;
	border: 1px solid var(--az-border-soft); border-radius: var(--az-radius); background: var(--az-surface);
	color: var(--az-text-2); transition: border-color var(--az-ease), background var(--az-ease);
}
.az-era::after { /* linija vremena kroz kartice */
	content: ""; position: absolute; top: 18px; left: 26px; right: -9px; height: 1px; background: var(--az-vline);
}
.az-era:last-child::after { right: 12px; }
.az-era::before { /* tačka na liniji */
	content: ""; position: absolute; top: 14px; left: 12px; width: 9px; height: 9px; border-radius: 50%;
	background: var(--az-bg); border: 2px solid var(--az-gold-border); z-index: 1;
}
.az-era:hover { border-color: var(--az-gold-border); color: var(--az-text); }
.az-era.is-on { background: var(--az-gold-bg); border-color: var(--az-gold); color: var(--az-text); }
.az-era.is-on::before { background: var(--az-gold); border-color: var(--az-gold); box-shadow: 0 0 0 4px rgba(233, 196, 106, .18); }
.az-era.is-empty { opacity: .6; }
.az-era__y { font-size: 15px; font-weight: 700; color: var(--az-gold); }
.az-era__l { font-size: 12px; line-height: 1.35; color: var(--az-muted); }
.az-era.is-on .az-era__l { color: var(--az-text-3); }

/* ---------- Izabrana era ---------- */
.az-vcur { display: flex; flex-direction: column; gap: 20px; }
.az-vcur__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.az-vcur__kicker { font-size: 12px; letter-spacing: .1em; margin-bottom: 6px; }
.az-vcur__title { margin: 0; font-size: clamp(26px, 3.4vw, 38px); font-weight: 600; line-height: 1.1; color: #f6efe0; }
.az-vcur__desc { margin: 10px 0 0; max-width: 70ch; color: var(--az-text-3); line-height: 1.6; }

.az-vfeat {
	display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	border: 1px solid var(--az-gold-border); border-radius: var(--az-radius-lg); overflow: hidden;
	background: var(--az-gold-bg); color: var(--az-text);
}
.az-vfeat:hover { color: var(--az-text); border-color: var(--az-gold); }
.az-vfeat__img { position: relative; min-height: 300px; background: #1a1710; overflow: hidden; }
.az-vfeat__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--az-sepia); transition: transform .5s ease, filter .5s ease; }
.az-vfeat:hover .az-vfeat__img img { transform: scale(1.03); filter: sepia(.2) contrast(1.05); }
.az-vfeat__body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 32px; }
.az-vfeat__tags { display: flex; gap: 12px; font-size: 12px; letter-spacing: .1em; color: var(--az-text-3); }
.az-vfeat__title { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; font-weight: 600; color: #f6efe0; }
.az-vfeat__ex { color: var(--az-text-2); line-height: 1.6; }
.az-vfeat__meta { font-size: 13px; color: var(--az-muted); }

.az-veps { list-style: none !important; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.az-veps li { margin: 0; padding: 0; }
.az-vep { display: flex; flex-direction: column; gap: 10px; color: var(--az-text); }
.az-vep:hover { color: var(--az-gold-soft); }
.az-vep__img { position: relative; aspect-ratio: 16 / 10; border-radius: var(--az-radius); overflow: hidden; background: #1a1710; border: 1px solid var(--az-border-soft); }
.az-vep__img img { width: 100%; height: 100%; object-fit: cover; filter: var(--az-sepia); transition: filter .4s ease, transform .4s ease; }
.az-vep:hover .az-vep__img img { filter: sepia(.15); transform: scale(1.03); }
.az-vep__n { position: absolute; left: 10px; bottom: 10px; padding: 3px 7px; border-radius: 4px; font-size: 11px; font-weight: 700; background: rgba(11, 14, 20, .85); color: var(--az-gold); }
.az-vep__title { font-size: 19px; line-height: 1.25; font-weight: 600; }
.az-vep__meta { font-size: 13px; color: var(--az-muted); }

/* ---------- Balkanski specijal ---------- */
.az-vbalkan {
	display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
	padding: 28px; border-radius: var(--az-radius-lg); border: 1px solid var(--az-gold-border);
	background: radial-gradient(500px 200px at 100% 100%, rgba(214, 51, 77, .10), transparent 70%), var(--az-gold-bg);
}
.az-vbalkan .az-disp { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.az-vbalkan h2 { margin: 6px 0 8px; font-size: 28px; font-weight: 600; color: #f6efe0; }
.az-vbalkan p { margin: 0; max-width: 62ch; color: var(--az-text-3); line-height: 1.6; }

/* ==========================================================================
   Epizoda
   ========================================================================== */
.az-vault--ep { padding-top: 20px; }
.az-vstory__head { max-width: 860px; margin: 8px auto 28px; text-align: center; }
.az-vstory__kicker { font-size: 12px; letter-spacing: .12em; }
.az-vstory__title { margin: 14px 0 0; font-size: clamp(32px, 5vw, 56px); font-weight: 600; line-height: 1.06; letter-spacing: -.015em; color: #f6efe0; }
.az-vstory__sub { margin: 16px auto 0; max-width: 46ch; font-size: clamp(18px, 2vw, 22px); font-style: italic; font-weight: 400; line-height: 1.45; color: var(--az-text-2); }
.az-vstory__meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: 13px; color: var(--az-muted); }
.az-vstory__meta > * + *::before { content: "·"; margin-right: 18px; color: var(--az-gold-border); }

.az-vstory__fig { margin: 0 0 40px; }
.az-vstory__fig img { display: block; width: 100%; max-height: 72vh; object-fit: cover; filter: var(--az-sepia); border-block: 1px solid var(--az-gold-border); }
.az-vstory__fig figcaption { padding-top: 10px; font-size: 13px; color: var(--az-muted); }
.az-vstory__fig figcaption span { color: var(--az-text-3); }

.az-vstory__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.az-vstory { min-width: 0; max-width: 720px; justify-self: center; width: 100%; }

.az-vbody { font-family: var(--az-serif); font-size: 19px; line-height: 1.75; color: #e3ddd0; }
.az-vbody > * { margin: 0 0 1.15em; }
.az-vbody > p:first-of-type::first-letter {
	float: left; margin: .06em .1em 0 0; font-size: 4.1em; line-height: .82; font-weight: 700; color: var(--az-gold);
}
.az-vbody h2, .az-vbody h3 { font-family: var(--az-serif); font-weight: 600; line-height: 1.2; color: #f6efe0; margin-top: 1.8em; }
.az-vbody h2 { font-size: 1.55em; }
.az-vbody h3 { font-size: 1.25em; }
.az-vbody a { color: var(--az-gold); text-decoration: underline; text-decoration-color: var(--az-gold-border); text-underline-offset: 3px; }
.az-vbody a:hover { color: var(--az-gold-soft); text-decoration-color: currentColor; }
.az-vbody blockquote, .az-vbody .wp-block-quote, .az-vbody .wp-block-pullquote {
	margin: 1.8em 0; padding: 4px 0 4px 26px; border: 0; border-left: 3px solid var(--az-gold);
	font-size: 1.3em; font-style: italic; line-height: 1.45; color: #f6efe0;
}
.az-vbody blockquote p { margin: 0 0 .4em; }
.az-vbody blockquote cite, .az-vbody figcaption { display: block; font: 13px/1.5 var(--az-font); font-style: normal; color: var(--az-muted); }
.az-vbody img { height: auto; max-width: 100%; border-radius: 6px; filter: sepia(.35); }
.az-vbody figure { margin-inline: 0; }
.az-vbody ul, .az-vbody ol { padding-left: 1.3em; }
.az-vbody li { margin-bottom: .4em; }
.az-vbody hr { border: 0; text-align: center; margin: 2em 0; }
.az-vbody hr::after { content: "✦  ✦  ✦"; color: var(--az-gold); letter-spacing: .4em; }

.az-vfacts { margin: 36px 0; padding: 22px 24px; border: 1px solid var(--az-gold-border); border-radius: var(--az-radius); background: var(--az-gold-bg); }
.az-vfacts h2 { margin: 0 0 14px; font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.az-vfacts dl { margin: 0; display: grid; gap: 0; }
.az-vfacts dl > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 10px 0; border-top: 1px solid var(--az-vline); }
.az-vfacts dl > div:first-child { border-top: 0; padding-top: 0; }
.az-vfacts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--az-muted); padding-top: 2px; }
.az-vfacts dd { margin: 0; color: var(--az-text); }
.az-vfacts dd a { color: var(--az-gold); }

.az-vgal { margin: 36px 0; }
.az-vgal h2, .az-vbox h2 { margin: 0 0 14px; font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--az-text-3); }
.az-vgal__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.az-vgal__a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; border: 1px solid var(--az-border-soft); }
.az-vgal__a img { width: 100%; height: 100%; object-fit: cover; filter: var(--az-sepia); transition: filter .3s ease, transform .3s ease; }
.az-vgal__a:hover img { filter: none; transform: scale(1.04); }
.az-vlb { max-width: min(1100px, 94vw); width: 100%; padding: 0; border: 0; background: transparent; color: var(--az-text); overflow: visible; }
.az-vlb::backdrop { background: rgba(5, 6, 9, .92); }
.az-vlb figure { margin: 0; text-align: center; }
.az-vlb img { max-width: 100%; max-height: 82vh; border-radius: 6px; }
.az-vlb figcaption { margin-top: 10px; font-size: 13px; color: var(--az-text-3); }
.az-vlb button { position: absolute; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--az-gold-border); background: rgba(11, 14, 20, .8); color: var(--az-gold); font-size: 20px; cursor: pointer; }
.az-vlb__x { top: -52px; right: 0; }
.az-vlb__p { left: 8px; top: 50%; transform: translateY(-50%); }
.az-vlb__n { right: 8px; top: 50%; transform: translateY(-50%); }

.az-vtags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.az-vtags a { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--az-border); font-size: 13px; color: var(--az-text-3); }
.az-vtags a:hover { border-color: var(--az-gold-border); color: var(--az-gold); }

.az-vnav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 40px 0 0; padding-top: 28px; border-top: 1px solid var(--az-vline); }
.az-vnav__a { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--az-border-soft); border-radius: var(--az-radius); background: var(--az-surface); color: var(--az-text); }
.az-vnav__a:hover { border-color: var(--az-gold-border); color: var(--az-gold-soft); }
.az-vnav__a .az-mono { font-size: 11px; letter-spacing: .08em; color: var(--az-gold); text-transform: uppercase; }
.az-vnav__a .az-serif { font-size: 18px; line-height: 1.3; font-weight: 600; }
.az-vnav__a--next { text-align: right; }
.az-vcomments { margin-top: 40px; }

/* Bočna kolona */
.az-vside { position: sticky; top: calc(var(--az-header-h) + 20px); display: flex; flex-direction: column; gap: 20px; }
.az-vbox { padding: 18px; border: 1px solid var(--az-border-soft); border-radius: var(--az-radius); background: var(--az-surface); }
.az-vlist, .az-vtime { list-style: none !important; margin: 0; padding: 0; display: flex; flex-direction: column; }
.az-vlist li, .az-vtime li { margin: 0; padding: 0; }
.az-vlist a { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; padding: 8px 10px; margin-inline: -10px; border-radius: 6px; font-size: 14px; line-height: 1.35; color: var(--az-text-2); }
.az-vlist a:hover { background: var(--az-surface-2); color: var(--az-text); }
.az-vlist .az-mono { font-size: 12px; color: var(--az-muted); padding-top: 1px; }
.az-vlist .is-on a { background: var(--az-gold-bg); color: var(--az-gold-soft); box-shadow: inset 2px 0 0 var(--az-gold); }
.az-vlist .is-on .az-mono { color: var(--az-gold); }

.az-vtime { position: relative; padding-left: 18px; }
.az-vtime::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: var(--az-vline); }
.az-vtime a { position: relative; display: flex; flex-direction: column; gap: 1px; padding: 7px 0; color: var(--az-text-2); }
.az-vtime a::before { content: ""; position: absolute; left: -18px; top: 13px; width: 9px; height: 9px; border-radius: 50%; background: var(--az-bg); border: 2px solid var(--az-gold-border); }
.az-vtime .az-mono { font-size: 13px; font-weight: 700; }
.az-vtime span + span { font-size: 12px; color: var(--az-muted); }
.az-vtime a:hover .az-mono { color: var(--az-gold-soft); }
.az-vtime .is-on .az-mono { color: var(--az-gold); }
.az-vtime .is-on a::before { background: var(--az-gold); border-color: var(--az-gold); box-shadow: 0 0 0 3px rgba(233, 196, 106, .2); }

.az-vbox--gold { background: var(--az-gold-bg); border-color: var(--az-gold-border); }
.az-vbox--gold p { margin: 0 0 12px; font-size: 17px; font-style: italic; line-height: 1.45; color: #f6efe0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.az-vstory__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.az-vside { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 860px) {
	.az-vfeat { grid-template-columns: 1fr; }
	.az-vfeat__img { min-height: 0; aspect-ratio: 16 / 9; }
	.az-vfeat__body { padding: 22px; }
}
@media (max-width: 640px) {
	.az-vhero { padding: 20px 0 28px; }
	.az-vhero__lead { font-size: 16px; }
	.az-vhero__stats dd { font-size: 22px; }
	.az-era { flex-basis: 118px; }
	.az-veps { grid-template-columns: 1fr 1fr; gap: 14px; }
	.az-vep__title { font-size: 16px; }
	.az-vbody { font-size: 18px; line-height: 1.7; }
	.az-vstory__head { text-align: left; }
	.az-vstory__meta { justify-content: flex-start; }
	.az-vstory__fig { margin-bottom: 28px; }
	.az-vfacts dl > div { grid-template-columns: 1fr; gap: 2px; }
	.az-vnav { grid-template-columns: 1fr; }
	.az-vnav__a--next { text-align: left; }
	.az-vbalkan { padding: 22px; }
}
@media (max-width: 400px) {
	.az-veps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.az-vault img { transition: none !important; transform: none !important; }
}
