/* VS Media — Blog Post Styles | vsmediapa.com */
/* Include this on every individual blog post page */

/* ═══════════════ BLOG POST STYLES ═══════════════ */

/* Hero */
.post-hero {
  padding: 160px 60px 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.post-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 70% 50%, rgba(201,168,76,0.06) 0%, transparent 65%),
    var(--black);
}
.post-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.post-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}
.post-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--warm-grey);
  margin-bottom: 28px;
}
.post-breadcrumb a {
  color: var(--warm-grey);
  text-decoration: none;
  transition: color 0.3s;
}
.post-breadcrumb a:hover { color: var(--gold); }
.post-breadcrumb span { color: rgba(201,168,76,0.4); }

.post-category {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.post-category::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.post-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.92;
  letter-spacing: 2px;
  margin-bottom: 28px;
  opacity: 0;
  animation: aFadeUp 0.9s 0.2s ease forwards;
}

.post-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2.2vw, 24px);
  font-style: italic;
  color: var(--warm-grey);
  line-height: 1.5;
  max-width: 620px;
  margin-bottom: 40px;
  opacity: 0;
  animation: aFadeUp 0.9s 0.4s ease forwards;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: aFadeUp 0.9s 0.55s ease forwards;
}
.post-meta-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  background: rgba(201,168,76,0.12);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  color: var(--gold);
  letter-spacing: 1px;
}
.author-info { }
.author-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--off-white);
}
.author-role {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--warm-grey);
  margin-top: 2px;
}
.post-meta-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}
.post-meta-item {
  font-size: 11px;
  color: var(--warm-grey);
  letter-spacing: 1px;
}
.post-meta-item strong {
  color: var(--gold);
  font-weight: 400;
  display: block;
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 3px;
}

/* Featured image */
.post-image-wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 60px 0;
}
.post-image {
  width: 100%;
  height: 480px;
  background: var(--charcoal2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.post-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.post-image img,
.post-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
  top: 0;
  left: 0;
}
.post-image-placeholder {
  position: relative;
  text-align: center;
}
.post-image-placeholder svg { opacity: 0.15; }
.post-image-placeholder p {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--warm-grey);
  margin-top: 12px;
}
.post-image-caption {
  font-size: 12px;
  color: var(--warm-grey);
  font-style: italic;
  text-align: center;
  padding: 12px 0 0;
  font-family: 'Cormorant Garamond', serif;
}

/* Article body layout */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 60px 120px;
  align-items: start;
}

/* Article content */
.post-content h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  letter-spacing: 2px;
  color: var(--off-white);
  margin: 52px 0 18px;
  line-height: 1;
}
.post-content h2:first-child { margin-top: 0; }
.post-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-style: italic;
  color: var(--gold-light);
  margin: 36px 0 14px;
  line-height: 1.3;
}
.post-content p {
  font-size: 15px;
  color: var(--warm-grey);
  line-height: 1.95;
  margin-bottom: 22px;
}
.post-content strong { color: var(--off-white); font-weight: 500; }
.post-content em { color: var(--gold-light); font-style: italic; }
.post-content a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201,168,76,0.3);
  transition: border-color 0.3s;
}
.post-content a:hover { border-color: var(--gold); }

/* Blockquote / pull quote */
.post-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 24px 32px;
  margin: 40px 0;
  background: rgba(201,168,76,0.04);
  position: relative;
}
.post-content blockquote::before {
  content: '"';
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px;
  color: rgba(201,168,76,0.15);
  position: absolute;
  top: -12px;
  left: 20px;
  line-height: 1;
}
.post-content blockquote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-style: italic;
  color: var(--off-white);
  margin: 0;
  line-height: 1.5;
  position: relative;
}
.post-content blockquote cite {
  display: block;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 12px;
  font-style: normal;
  position: relative;
}

/* Unordered / ordered lists */
.post-content ul, .post-content ol {
  margin: 0 0 24px 0;
  padding-left: 0;
  list-style: none;
}
.post-content ul li, .post-content ol li {
  font-size: 15px;
  color: var(--warm-grey);
  line-height: 1.8;
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.post-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.post-content ol {
  counter-reset: post-list;
}
.post-content ol li::before {
  counter-increment: post-list;
  content: counter(post-list, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 8px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: var(--gold);
  letter-spacing: 1px;
}

/* Callout / tip box */
.post-callout {
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.2);
  border-left: 3px solid var(--gold);
  padding: 28px 32px;
  margin: 36px 0;
}
.post-callout-label {
  font-size: 9px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.post-callout p {
  font-size: 14px;
  color: var(--off-white);
  margin: 0;
  line-height: 1.75;
}

/* In-post image */
.post-inline-image {
  width: 100%;
  height: 320px;
  background: var(--charcoal2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}
.post-inline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-inline-image-caption {
  font-size: 12px;
  color: var(--warm-grey);
  font-style: italic;
  text-align: center;
  padding: 10px 0 0;
  font-family: 'Cormorant Garamond', serif;
}

/* Tags / share footer */
.post-footer {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.post-tag {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 6px 14px;
  transition: all 0.3s;
  cursor: default;
}
.post-tag:hover { border-color: var(--gold); background: rgba(201,168,76,0.06); }
.post-share {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.post-share-label {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--warm-grey);
}
.share-btn {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--warm-grey);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 8px 18px;
  transition: all 0.3s;
  cursor: pointer;
  background: none;
  font-family: 'DM Sans', sans-serif;
}
.share-btn:hover { color: var(--gold); border-color: var(--gold); }

/* Author card */
.post-author-card {
  margin-top: 52px;
  padding: 40px;
  background: var(--charcoal2);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.author-card-avatar {
  width: 64px;
  height: 64px;
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 1px;
}
.author-card-text h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.author-card-text .author-card-role {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.author-card-text p {
  font-size: 13px;
  color: var(--warm-grey);
  line-height: 1.75;
  margin: 0;
}

/* ── SIDEBAR ── */
.post-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.sidebar-widget {
  background: var(--charcoal2);
  border: 1px solid var(--border);
  padding: 32px 28px;
}
.sidebar-widget-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.sidebar-post-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}
.sidebar-post-item:last-child { border-bottom: none; }
.sidebar-post-item:hover .sidebar-post-title { color: var(--gold); }
.sidebar-post-cat {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}
.sidebar-post-title {
  font-size: 13px;
  color: var(--off-white);
  line-height: 1.4;
  transition: color 0.3s;
}
.sidebar-post-date {
  font-size: 11px;
  color: var(--warm-grey);
}
.sidebar-cta {
  background: var(--gold);
  padding: 32px 28px;
  text-align: center;
}
.sidebar-cta h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 2px;
  color: var(--black);
  margin-bottom: 10px;
}
.sidebar-cta p {
  font-size: 12px;
  color: rgba(0,0,0,0.6);
  margin-bottom: 20px;
  line-height: 1.6;
}
.sidebar-cta a {
  display: block;
  background: var(--black);
  color: var(--gold);
  padding: 12px;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s;
}
.sidebar-cta a:hover { background: var(--charcoal2); }

/* Related posts */
.post-related {
  background: var(--charcoal2);
  border-top: 1px solid var(--border);
  padding: 80px 60px;
}
.post-related h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 48px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.related-card {
  background: var(--black);
  padding: 40px 32px;
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.related-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.4s;
  transform-origin: left;
}
.related-card:hover { border-color: var(--border); background: rgba(201,168,76,0.03); }
.related-card:hover::after { transform: scaleX(1); }
.related-card-cat {
  font-size: 9px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}
.related-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 1.5px;
  line-height: 1.1;
  margin-bottom: 12px;
}
.related-card p {
  font-size: 12px;
  color: var(--warm-grey);
  line-height: 1.7;
  margin-bottom: 20px;
}
.related-card-date {
  font-size: 11px;
  color: var(--warm-grey);
}

/* Responsive */
@media (max-width: 960px) {
  .post-hero { padding: 140px 24px 60px; }
  .post-image-wrap { padding: 40px 24px 0; }
  .post-layout { grid-template-columns: 1fr; padding: 48px 24px 80px; gap: 48px; }
  .post-sidebar { position: relative; top: auto; }
  .post-related { padding: 60px 24px; }
  .related-grid { grid-template-columns: 1fr; }
  .post-author-card { flex-direction: column; padding: 28px; }
  .post-image { height: 280px; }
}