/* ============================================================
   VEST (POJEDINAČNA) — v2 — premium article
   Spirit of Youth · District Sensation
   ============================================================ */

/* ══════════════════════════════════════════════════════════
   1. ARTICLE HERO — fotografija + dominantan naslov
══════════════════════════════════════════════════════════ */

.vest-hero {
  position: relative;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.vest-hero-bg {
  position: absolute; inset: 0;
}
.vest-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

/* Jači overlay: dubina i čitljivost */
.vest-hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top,
      rgba(10,43,64,1) 0%,
      rgba(10,43,64,0.88) 30%,
      rgba(10,43,64,0.55) 60%,
      rgba(10,43,64,0.2) 100%
    );
}

.vest-hero-inner {
  position: relative; z-index: 1;
  padding-top: 140px;
  padding-bottom: 60px;
}

/* Breadcrumb / back link */
.vest-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-6);
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}
.vest-back:hover { color: var(--color-accent); gap: 12px; }
.vest-back svg { flex-shrink: 0; transition: transform 0.2s; }
.vest-back:hover svg { transform: translateX(-3px); }

/* Meta row: kategorija + datum */
.vest-hero-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}
.vest-hero-category {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: var(--weight-black);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-dark);
  background: var(--color-accent);
  padding: 5px 14px;
  border-radius: 100px;
}
.vest-hero-date {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
}
.vest-hero-date-sep {
  color: rgba(255,255,255,0.2);
  font-size: 10px;
}

/* H1 — dominantan */
.vest-hero-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: var(--weight-black);
  color: var(--color-white);
  letter-spacing: -0.035em;
  line-height: 1.08;
  max-width: 820px;
  margin: 0;
}


/* ══════════════════════════════════════════════════════════
   2. MAIN LAYOUT — Article + Sidebar
══════════════════════════════════════════════════════════ */

.vest-section {
  background: var(--color-off-white);
  padding-top: 72px;
  padding-bottom: 96px;
}
.vest-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-9);
  align-items: start;
}


/* ══════════════════════════════════════════════════════════
   3. ARTICLE BODY — premium typografija
══════════════════════════════════════════════════════════ */

.vest-body {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* Tanka accent linija na vrhu */
.vest-body::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(to right, var(--color-accent), var(--color-mid));
}

.vest-body-inner {
  padding: var(--space-9) var(--space-10);
}

/* Lead — vizuelno izdvojen */
.vest-lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: var(--weight-medium);
  color: var(--color-text-dark);
  line-height: 1.6;
  margin-bottom: var(--space-7);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid var(--color-border);
  letter-spacing: -0.01em;
}

/* Paragrafi */
.vest-body p {
  font-size: 16px;
  line-height: 1.95;
  color: var(--color-text-body);
  margin-bottom: var(--space-6);
  max-width: 68ch;
}
.vest-body p:last-child { margin-bottom: 0; }

/* H2 u tekstu */
.vest-body h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: var(--weight-bold);
  color: var(--color-text-dark);
  letter-spacing: -0.02em;
  margin: var(--space-9) 0 var(--space-5);
  line-height: 1.2;
  padding-top: var(--space-2);
  position: relative;
}
/* Accent linija ispod h2 */
.vest-body h2::after {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  margin-top: var(--space-3);
}

/* Quote block */
.vest-quote {
  margin: var(--space-8) 0;
  padding: var(--space-7) var(--space-8);
  background: var(--color-off-white);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  position: relative;
}
.vest-quote::before {
  content: '"';
  position: absolute;
  top: -20px; left: var(--space-7);
  font-family: var(--font-heading);
  font-size: 120px;
  font-weight: var(--weight-black);
  color: rgba(124,205,221,0.12);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.vest-quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: var(--weight-semi);
  color: var(--color-text-dark);
  line-height: 1.55;
  font-style: italic;
  margin: 0 !important;
  position: relative; z-index: 1;
  max-width: none !important;
}
.vest-quote footer {
  margin-top: var(--space-4);
  font-size: 12px;
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  position: relative; z-index: 1;
}

/* Naredna vest — na dnu artikla */
.vest-next {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-6) var(--space-7);
  background: var(--color-off-white);
  border-top: 1px solid var(--color-border);
  text-decoration: none;
  transition: background 0.25s;
}
.vest-next:hover { background: rgba(124,205,221,0.06); }
.vest-next:hover .vest-next-title { color: var(--color-accent); }
.vest-next:hover .vest-next-arrow { transform: translateX(4px); }

.vest-next-label {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: var(--weight-black);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
  flex-shrink: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.vest-next-image {
  width: 72px; height: 52px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}
.vest-next-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
  transition: filter 0.3s;
}
.vest-next:hover .vest-next-image img { filter: grayscale(0%); }

.vest-next-body { flex: 1; }
.vest-next-tag {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: var(--weight-black);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-mid);
  display: block;
  margin-bottom: 4px;
}
.vest-next-title {
  font-size: 14px;
  font-weight: var(--weight-bold);
  color: var(--color-text-dark);
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.vest-next-arrow {
  color: var(--color-accent);
  flex-shrink: 0;
  display: flex;
  transition: transform 0.25s var(--ease-out);
}


/* ══════════════════════════════════════════════════════════
   4. SIDEBAR
══════════════════════════════════════════════════════════ */

.vest-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: sticky;
  top: 100px;
}

/* Sidebar card base */
.vest-sidebar-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.vest-sidebar-card-header {
  padding: 14px var(--space-6);
  background: var(--color-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.vest-sidebar-card-header h4 {
  font-size: 10px;
  font-weight: var(--weight-black);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: rgba(255,255,255,0.45);
  margin: 0;
}
.vest-sidebar-card-body {
  padding: var(--space-5) var(--space-6);
}

/* Deli vest */
.vest-share {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vest-share-link {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: var(--weight-bold);
  color: var(--color-text-body);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.vest-share-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(124,205,221,0.05);
}
.vest-share-link svg { flex-shrink: 0; }
.vest-share-link-arrow {
  margin-left: auto;
  opacity: 0;
  color: var(--color-accent);
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
  display: flex;
}
.vest-share-link:hover .vest-share-link-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Druge vesti */
.vest-related {
  display: flex;
  flex-direction: column;
}
.vest-related-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  transition: background 0.2s;
  border-radius: var(--radius-sm);
}
.vest-related-item:last-child { border-bottom: none; padding-bottom: 0; }
.vest-related-item:first-child { padding-top: 0; }

.vest-related-num {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: var(--weight-black);
  color: var(--color-accent);
  opacity: 0.4;
  flex-shrink: 0;
  width: 16px;
  transition: opacity 0.2s;
}
.vest-related-item:hover .vest-related-num { opacity: 1; }

.vest-related-title {
  font-size: 13px;
  font-weight: var(--weight-medium);
  color: var(--color-text-body);
  line-height: 1.45;
  flex: 1;
  transition: color 0.2s;
}
.vest-related-item:hover .vest-related-title { color: var(--color-accent); }

.vest-related-arrow {
  color: var(--color-accent);
  opacity: 0;
  flex-shrink: 0;
  display: flex;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
}
.vest-related-arrow svg { width: 14px; height: 14px; }
.vest-related-item:hover .vest-related-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* CTA u sidebaru */
.vest-sidebar-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  background: var(--color-accent);
  border-radius: var(--radius-xl);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: var(--weight-black);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-dark);
  text-decoration: none;
  gap: 8px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s var(--ease-out);
  box-shadow: 0 6px 20px rgba(124,205,221,0.2);
}
.vest-sidebar-cta:hover {
  background: var(--color-accent-dark);
  box-shadow: 0 10px 32px rgba(124,205,221,0.35);
  transform: translateY(-2px);
}
.vest-sidebar-cta svg { transition: transform 0.2s; }
.vest-sidebar-cta:hover svg { transform: translateX(3px); }


/* ══════════════════════════════════════════════════════════
   5. RESPONSIVE
══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .vest-body-inner { padding: var(--space-8) var(--space-8); }
}

@media (max-width: 900px) {
  .vest-inner { grid-template-columns: 1fr; }
  .vest-sidebar { position: static; }
  .vest-body-inner { padding: var(--space-7) var(--space-7); }
  .vest-hero { min-height: 460px; }
  .vest-hero-title { font-size: clamp(1.8rem, 6vw, 3rem); }
}

@media (max-width: 640px) {
  .vest-hero { min-height: 380px; }
  .vest-hero-inner { padding-top: 110px; padding-bottom: 40px; }
  .vest-hero-title { font-size: 1.9rem; }

  .vest-section { padding-top: 48px; padding-bottom: 72px; }
  .vest-body-inner { padding: var(--space-5) var(--space-5); }
  .vest-body p { font-size: 15px; }
  .vest-lead { font-size: 1.05rem; }

  .vest-quote { padding: var(--space-5) var(--space-6); margin: var(--space-6) 0; }
  .vest-quote::before { font-size: 80px; top: -12px; left: var(--space-5); }

  .vest-next { flex-wrap: wrap; gap: var(--space-4); }
  .vest-next-label { writing-mode: horizontal-tb; transform: none; }
}
