/* ============================================================
   BLOG POST (POJEDINAČNI) — v1 — esejistički, čitljiv
   Spirit of Youth · District Sensation
   ============================================================ */

/* ══════════════════════════════════════════════════════════
   1. POST HERO — svetao, miran uvod
══════════════════════════════════════════════════════════ */

.bpost-hero {
  background: var(--color-dark);
  padding: 140px 0 76px;
  position: relative;
  overflow: hidden;
}
.bpost-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 52% 58% at 84% 22%, rgba(124,205,221,0.09) 0%, transparent 62%),
    radial-gradient(ellipse 40% 44% at 8% 90%, rgba(64,130,146,0.08) 0%, transparent 64%);
  pointer-events: none;
}
.bpost-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,205,221,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,205,221,0.028) 1px, transparent 1px);
  background-size: 58px 58px;
  pointer-events: none;
}
.bpost-hero-inner {
  position: relative; z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  padding-bottom: 0;
}
.bpost-hero-inner::after {
  content: '';
  position: absolute;
  top: 12px;
  right: var(--container-pad);
  width: 120px;
  height: 120px;
  border-top: 1px solid rgba(124,205,221,0.22);
  border-right: 1px solid rgba(124,205,221,0.22);
  pointer-events: none;
}
.bpost-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.35);
  margin-bottom: var(--space-7);
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}
.bpost-back:hover { color: var(--color-accent); gap: 12px; }
.bpost-back svg { flex-shrink: 0; transition: transform 0.2s; }
.bpost-back:hover svg { transform: translateX(-3px); }

.bpost-back::after {
  content: '';
  display: block;
  width: 54px;
  height: 1px;
  margin-left: 10px;
  background: rgba(124,205,221,0.3);
}

.bpost-hero-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-7);
  flex-wrap: wrap;
}
.bpost-category-badge {
  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;
}
.bpost-date,
.bpost-read-time {
  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.35);
}
.bpost-meta-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.bpost-hero-title {
  font-size: clamp(2.06rem, 3.9vw, 3.7rem);
  font-weight: var(--weight-black);
  color: var(--color-white);
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin-bottom: calc(var(--space-6) + 4px);
  max-width: 18ch;
  text-wrap: balance;
}
.bpost-hero-lead {
  font-size: clamp(1.08rem, 1.28vw, 1.18rem);
  color: rgba(255,255,255,0.66);
  line-height: 1.8;
  max-width: 700px;
  position: relative;
  padding-top: var(--space-5);
}
.bpost-hero-lead::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, rgba(124,205,221,0.65), rgba(124,205,221,0.1));
}
.bpost-hero-lead strong {
  color: var(--color-white);
  font-weight: var(--weight-bold);
}

.bpost-hero-image {
  display: none;
}
.bpost-hero-spacer { display: none; }

/* ══════════════════════════════════════════════════════════
   2. TELO POSTA — svetla površina, esejistički tekst
══════════════════════════════════════════════════════════ */

.bpost-body {
  background:
    linear-gradient(rgba(124,205,221,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,205,221,0.015) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,1), rgba(249,251,252,1));
  background-size: 44px 44px, 44px 44px, auto;
  padding: var(--space-8) 0 var(--section-y);
}
.bpost-content-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  position: relative;
}
.bpost-content-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(var(--container-pad) * -0.55);
  width: 1px;
  height: 120px;
  background: linear-gradient(180deg, rgba(124,205,221,0), rgba(124,205,221,0.42), rgba(124,205,221,0));
}

/* Tipografija posta */
.bpost-prose {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.9;
  color: var(--color-text-dark);
  position: relative;
}
.bpost-prose p {
  margin-bottom: 1.42em;
  max-width: 68ch;
}
.bpost-prose > p:first-of-type {
  font-size: clamp(1.12rem, 1.5vw, 1.28rem);
  line-height: 1.82;
  color: #16384c;
  max-width: 62ch;
}
.bpost-prose > p:nth-of-type(2) {
  color: #284456;
}
.bpost-prose p:first-child::first-letter {
  font-family: var(--font-heading);
  font-size: 3.6em;
  font-weight: var(--weight-black);
  color: var(--color-dark);
  float: left;
  line-height: 0.8;
  margin-right: 0.1em;
  margin-top: 0.08em;
}
.bpost-prose h2 {
  font-size: clamp(1.52rem, 1.9vw, 1.9rem);
  font-weight: var(--weight-black);
  color: var(--color-dark);
  line-height: 1.16;
  text-wrap: balance;
  letter-spacing: -0.025em;
  margin-top: 2.3em;
  margin-bottom: 0.9em;
  padding: 0.85rem 1rem 0.85rem 1.2rem;
  max-width: 30ch;
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background:
    linear-gradient(90deg, rgba(124,205,221,0.16), rgba(124,205,221,0.03) 68%),
    rgba(255,255,255,0.88);
  box-shadow: 0 14px 34px rgba(10,43,64,0.06);
}
.bpost-prose h3 {
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  color: var(--color-text-dark);
  margin-top: 2em;
  margin-bottom: 0.6em;
}
.bpost-prose ul,
.bpost-prose ol {
  padding-left: 1.6em;
  margin-bottom: 1.6em;
}
.bpost-prose li { margin-bottom: 0.5em; }
.bpost-prose strong {
  font-weight: var(--weight-bold);
  color: var(--color-dark);
  background-image: linear-gradient(transparent 58%, rgba(124,205,221,0.38) 58%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 0 0.08em;
}
.bpost-prose a {
  color: var(--color-mid);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.bpost-prose a:hover { color: var(--color-dark); }

/* ──────────────────────────────────
   Istaknuti citat (pullquote)
────────────────────────────────── */
.bpost-pullquote {
  margin: 2.5em 0;
  padding: var(--space-6) var(--space-7) var(--space-6) calc(var(--space-7) + 10px);
  border-left: 3px solid var(--color-accent);
  background:
    radial-gradient(circle at top right, rgba(124,205,221,0.16), transparent 38%),
    var(--color-off-white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  position: relative;
  box-shadow: 0 18px 38px rgba(10,43,64,0.08);
}
.bpost-pullquote::before {
  content: '"';
  position: absolute;
  top: 18px;
  left: var(--space-5);
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: var(--weight-black);
  line-height: 1;
  color: rgba(10,43,64,0.14);
}
.bpost-pullquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.08rem, 1.45vw, 1.32rem);
  font-weight: var(--weight-semi);
  color: var(--color-dark);
  line-height: 1.6;
  text-wrap: pretty;
  font-style: normal;
  margin-bottom: 0 !important;
  margin-left: 26px;
  max-width: 42ch;
}
.bpost-pullquote p::first-letter,
.bpost-pullquote p:first-child::first-letter {
  font-family: var(--font-heading);
  font-size: 3.1em;
  font-weight: var(--weight-black);
  color: var(--color-dark);
  float: left;
  line-height: 0.82;
  margin-right: 0.12em;
  margin-top: 0.05em;
}

/* ──────────────────────────────────
   Separator
────────────────────────────────── */
.bpost-divider {
  width: 48px;
  height: 2px;
  background: var(--color-accent);
  border: none;
  margin: 2.5em 0;
  border-radius: 2px;
}

/* ══════════════════════════════════════════════════════════
   3. AUTOR / ORGANIZACIJA
══════════════════════════════════════════════════════════ */

.bpost-author-bar {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-5) 0;
  margin-bottom: var(--space-7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.bpost-author-info {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.bpost-author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: contain;
  border: 2px solid var(--color-accent-20);
  flex-shrink: 0;
  background: var(--color-white);
  padding: 9px;
}
.bpost-author-avatar-placeholder {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bpost-author-avatar-placeholder svg {
  width: 22px; height: 22px;
  stroke: var(--color-accent);
}
.bpost-author-name {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--color-text-dark);
  display: block;
}
.bpost-author-role {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  display: block;
  margin-top: 2px;
}
.bpost-share {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.bpost-share-label {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}
.bpost-share-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: border-color var(--duration-fast), background var(--duration-fast);
}
.bpost-share-btn svg { width: 14px; height: 14px; stroke: var(--color-text-muted); }
.bpost-share-btn:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-08);
}
.bpost-share-btn:hover svg { stroke: var(--color-dark); }

/* ══════════════════════════════════════════════════════════
   4. TAGOVI KATEGORIJA
══════════════════════════════════════════════════════════ */

.bpost-tags {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}
.bpost-tag {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1.5px solid var(--color-border);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-out);
}
.bpost-tag:hover {
  border-color: var(--color-accent);
  color: var(--color-dark);
  background: var(--color-accent-08);
}

/* ══════════════════════════════════════════════════════════
   5. PROČITAJ JOŠ
══════════════════════════════════════════════════════════ */

.bpost-related {
  background: var(--color-off-white);
  padding: var(--section-y) 0;
  border-top: 1px solid var(--color-border);
}
.bpost-related-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-7);
}
.bpost-related-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-black);
  color: var(--color-dark);
  letter-spacing: -0.02em;
}
.bpost-related-all {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--duration-fast);
}
.bpost-related-all:hover { gap: 10px; }
.bpost-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.bpost-related .blog-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: box-shadow var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out);
}
.bpost-related .blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.bpost-related .blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(124,205,221,0.88), rgba(124,205,221,0.2));
}
.bpost-related .blog-card-img {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: var(--space-4) var(--space-5) 0;
}
.bpost-related .blog-card-img img {
  display: none;
}
.bpost-related .blog-card-cat {
  font-family: var(--font-heading);
  font-size: 8px;
  font-weight: var(--weight-black);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-dark);
  background: var(--color-accent);
  padding: 4px 10px;
  border-radius: 100px;
}
.bpost-related .blog-card-body {
  padding: var(--space-4) var(--space-5) var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
  background:
    radial-gradient(circle at 100% 0%, rgba(124,205,221,0.06) 0%, transparent 34%),
    linear-gradient(rgba(124,205,221,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,205,221,0.018) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,1), rgba(249,251,252,1));
  background-size: auto, 36px 36px, 36px 36px, auto;
}
.bpost-related .blog-card-meta {
  margin-bottom: var(--space-3);
}
.bpost-related .blog-card-date {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}
.bpost-related .blog-card-meta-dot,
.bpost-related .blog-card-read {
  display: none;
}
.bpost-related .blog-card-title {
  font-size: 1.28rem;
  font-weight: var(--weight-black);
  color: var(--color-text-dark);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
.bpost-related .blog-card-read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-dark);
}

/* ══════════════════════════════════════════════════════════
   6. RESPONSIVE
══════════════════════════════════════════════════════════ */

@media (max-width: 860px) {
  .bpost-related-grid { grid-template-columns: repeat(2, 1fr); }
  .bpost-prose { font-size: 16px; }
  .bpost-hero-title {
    max-width: 17ch;
    line-height: 1.1;
  }
  .bpost-hero-lead { max-width: 100%; }
}

@media (max-width: 640px) {
  .bpost-hero {
    padding: 118px 0 64px;
  }
  .bpost-hero-title {
    font-size: clamp(1.86rem, 9vw, 2.5rem);
    max-width: 13ch;
    margin-bottom: var(--space-5);
  }
  .bpost-hero-lead {
    font-size: 1rem;
    line-height: 1.76;
    padding-top: var(--space-4);
  }
  .bpost-hero-inner::after,
  .bpost-content-wrap::before {
    display: none;
  }
  .bpost-body {
    padding: var(--space-6) 0 calc(var(--space-8) + 4px);
  }
  .bpost-author-bar { flex-direction: column; align-items: flex-start; }
  .bpost-related-grid { grid-template-columns: 1fr; }
  .bpost-prose {
    font-size: 15.5px;
    line-height: 1.82;
  }
  .bpost-prose > p:first-of-type {
    font-size: 1.04rem;
    line-height: 1.74;
  }
  .bpost-prose h2 {
    font-size: 1.42rem;
    padding: 0.8rem 0.9rem 0.8rem 1rem;
  }
  .bpost-prose p:first-child::first-letter {
    font-size: 3em;
  }
  .bpost-pullquote p {
    margin-left: 18px;
    max-width: none;
  }
  .bpost-pullquote p::first-letter,
  .bpost-pullquote p:first-child::first-letter {
    font-size: 2.5em;
    margin-right: 0.1em;
  }
}
