/* ── SECTION ── */
.vd-section {
  padding: 2rem 0 4rem;
}

/* ── CARD ── */
.vd-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eee;
}

/* ── DARK HEADER ── */
.vd-header {
  background: linear-gradient(135deg, #0a1f3c 0%, #185FA5 100%);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

/* subtle glow top-right */
.vd-header::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(74, 144, 196, 0.15);
  pointer-events: none;
}

/* ── CLOSED BADGE ── */
.vd-closed-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(220, 38, 38, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(220, 38, 38, 0.3);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.vd-closed-badge .icon svg {
  width: 13px;
  height: 13px;
  fill: #fca5a5;
}

/* ── TITLE ── */
.vd-title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

/* ── META PILLS ── */
.vd-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.vd-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.vd-pill .icon {
  display: inline-flex;
  align-items: center;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.vd-pill .icon svg {
  width: 13px;
  height: 13px;
  fill: rgba(255, 255, 255, 0.7);
}

.vd-pill-label {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

/* closed pill — red tint */
.vd-pill--closed {
  background: rgba(220, 38, 38, 0.2);
  border-color: rgba(220, 38, 38, 0.3);
  color: #fca5a5;
}

.vd-pill--closed .icon svg {
  fill: #fca5a5;
}

/* ── BODY ── */
.vd-body {
  background: #fff;
  padding: 2rem 2.5rem;
}

/* ── ACTIONS ── */
.vd-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 1.75rem;
}

/* download button */
.vd-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
  border: none;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.vd-dl-btn:hover {
  opacity: 0.9;
  color: #fff !important;
}

.vd-dl-btn .icon svg {
  width: 14px;
  height: 14px;
  fill: #fff;
}

/* share buttons — restyle Bulma defaults */
.vd-share .share-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.vd-share .button {
  border-radius: 20px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  height: auto !important;
  padding: 5px 12px !important;
  border-color: #eee !important;
  color: #555 !important;
  background: #fff !important;
  transition: border-color 0.12s, color 0.12s !important;
}

.vd-share .button:hover {
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
}

/* ── DESCRIPTION ── */
.vd-description {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
}

.vd-description h2,
.vd-description h3 {
  font-weight: 700;
  color: #1a1a1a;
  margin: 1.5rem 0 0.75rem;
}

.vd-description h2 { font-size: 20px; }
.vd-description h3 { font-size: 17px; }

.vd-description p  { margin-bottom: 1rem; }
.vd-description ul,
.vd-description ol { margin: 0.75rem 0 1rem 1.5rem; }
.vd-description li { margin-bottom: 0.4rem; }

.vd-description strong { color: #1a1a1a; }

.vd-description a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .vd-title { font-size: 24px; }
}

@media (max-width: 768px) {
  .vd-section { padding: 1.5rem 0 3rem; }

  .vd-header { padding: 1.75rem 1.5rem; }
  .vd-body   { padding: 1.5rem; }

  .vd-title  { font-size: 20px; }

  .vd-pills  { gap: 6px; }
  .vd-pill   { font-size: 11px; padding: 4px 10px; }

  .vd-dl-btn { width: 100%; justify-content: center; }

  .vd-actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .vd-header { padding: 1.5rem 1.25rem; }
  .vd-body   { padding: 1.25rem; }
  .vd-title  { font-size: 18px; }
}