/**
 * VDM Numismatic Engine - Frontend Styles
 * Fully integrated and responsive with the Kadence Theme.
 */

/* 1. Price Tables */
.vdm-table-wrap {
  overflow-x: auto;
  margin: 28px 0 35px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  background: #ffffff;
}
.vdm-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px;
}
.vdm-table th {
  background: #0f172a;
  color: #ffffff;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.vdm-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: #334155;
}
.vdm-table tr:nth-child(even) td {
  background: #f8fafc;
}
.vdm-table tr:hover td {
  background: #f1f5f9;
}
.vdm-rare-tag {
  background: #fef2f2;
  color: #dc2626;
  font-weight: 800;
  font-size: 11.5px;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #fecaca;
  display: inline-block;
}
.vdm-common-tag {
  background: #f0fdf4;
  color: #16a34a;
  font-weight: 700;
  font-size: 11.5px;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
}

/* 2. eBay Verified Comps Grid */
.vdm-ebay-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 24px;
  margin: 40px 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}
.vdm-ebay-header {
  margin-bottom: 22px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 14px;
}
.vdm-ebay-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.vdm-ebay-badge {
  background: #16a34a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 5px;
}
.vdm-ebay-subtitle {
  font-size: 13.5px;
  color: #64748b;
}
.vdm-ebay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.vdm-ebay-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vdm-ebay-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}
.vdm-ebay-thumb-wrap {
  background: #ffffff;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-bottom: 1px solid #e2e8f0;
}
.vdm-ebay-thumb {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.vdm-ebay-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.vdm-ebay-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 38px;
}
.vdm-ebay-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.vdm-ebay-price {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}
.vdm-ebay-date {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 600;
}
.vdm-ebay-btn {
  display: block;
  text-align: center;
  background: #0f172a;
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background 0.2s ease;
  margin-top: auto;
}
.vdm-ebay-btn:hover {
  background: #2563eb;
}
.vdm-ebay-verified-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  margin-top: auto;
  text-align: center;
  letter-spacing: 0.01em;
}
.vdm-ebay-verified-pill .vdm-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}
.vdm-ebay-disclaimer {
  font-size: 11.5px;
  color: #94a3b8;
  margin: 18px 0 0;
  line-height: 1.5;
  text-align: center;
}

/* 3. Key Metrics Grid */
.vdm-key-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin: 25px 0 35px;
}
.vdm-metric-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.vdm-metric-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.vdm-metric-val {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}
.vdm-metric-sub {
  font-size: 12px;
  color: #16a34a;
  font-weight: 600;
}

/* 4. Conversion Banners */
.vdm-cta-funnel {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 18px;
  padding: 36px 28px;
  color: #ffffff;
  text-align: center;
  margin: 40px 0;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.2);
}
.vdm-cta-funnel h3 {
  color: #ffffff;
  font-size: 23px;
  margin: 0 0 10px;
}
.vdm-cta-funnel p {
  color: #cbd5e1;
  font-size: 15.5px;
  max-width: 600px;
  margin: 0 auto 20px;
}
.vdm-btn-gold {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 800;
  padding: 13px 26px;
  border-radius: 9px;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.4);
  transition: transform 0.2s ease;
}
.vdm-btn-gold:hover {
  transform: translateY(-2px);
}

/* 5. Numista Technical Specs Card */
.vdm-specs-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 26px 24px;
  margin: 32px 0 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.vdm-specs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}
.vdm-specs-badge {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 9999px;
  border: 1px solid #bfdbfe;
  margin-bottom: 6px;
}
.vdm-specs-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}
.vdm-specs-refs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.vdm-ref-tag {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #cbd5e1;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  font-family: monospace;
}
.vdm-ref-tag strong {
  color: #0f172a;
}
.vdm-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.vdm-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f8fafc;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
  transition: all 0.2s ease;
}
.vdm-spec-item:hover {
  background: #f1f5f9;
  border-color: #e2e8f0;
}
.vdm-spec-icon {
  font-size: 20px;
  line-height: 1;
}
.vdm-spec-details {
  display: flex;
  flex-direction: column;
}
.vdm-spec-label {
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  margin-bottom: 3px;
}
.vdm-spec-value {
  font-size: 14.5px;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.35;
}
.vdm-specs-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
  font-size: 12px;
  color: #94a3b8;
  text-align: right;
}
.vdm-specs-footer a {
  color: #2563eb;
  text-decoration: underline;
  font-weight: 600;
}

/* 6. Interactive Numismatic Value Calculator */
.vdm-calc-widget {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 30px 26px;
  margin: 36px 0 45px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
  font-family: inherit;
  position: relative;
}
.vdm-calc-header {
  margin-bottom: 24px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 18px;
}
.vdm-calc-badge-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.vdm-calc-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}
.vdm-calc-badge-sub {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}
.vdm-calc-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
}
.vdm-calc-desc {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}
.vdm-calc-selectors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}
.vdm-calc-field:first-child {
  grid-column: 1 / -1;
}
.vdm-calc-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.vdm-calc-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}
.vdm-calc-step {
  background: #0f172a;
  color: #ffffff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.vdm-calc-select-wrap {
  position: relative;
}
.vdm-calc-select {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 600;
  outline: none;
  transition: all 0.2s ease;
  cursor: pointer;
  box-sizing: border-box;
}
.vdm-calc-select:focus {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.vdm-calc-result-box {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.25s ease;
}
.vdm-calc-result-box.is-holy-grail {
  background: linear-gradient(180deg, #fffbeb 0%, #fef2f2 100%);
  border-color: #dc2626;
  box-shadow: 0 0 28px rgba(220, 38, 38, 0.18);
}
.vdm-calc-result-box.is-holy-grail .vdm-calc-status-tag {
  background: #dc2626;
  animation: vdm-pulse 2s infinite;
}
.vdm-calc-result-box.is-holy-grail .vdm-calc-price-amount {
  color: #dc2626;
}
.vdm-calc-result-box.is-scarce {
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  border-color: #3b82f6;
}
.vdm-calc-result-box.is-scarce .vdm-calc-status-tag {
  background: #2563eb;
}
.vdm-calc-result-box.is-warning {
  background: #fffbeb;
  border-color: #f59e0b;
}
.vdm-calc-result-box.is-warning .vdm-calc-status-tag {
  background: #d97706;
}
.vdm-calc-result-box.is-proof {
  background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 100%);
  border-color: #8b5cf6;
}
.vdm-calc-result-box.is-proof .vdm-calc-status-tag {
  background: #7c3aed;
}
.vdm-calc-result-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.vdm-calc-status-tag {
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 6px;
  display: inline-block;
  transition: background 0.2s ease;
}
.vdm-calc-cert-badge {
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
}
.vdm-calc-price-area {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.vdm-calc-price-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 4px;
}
.vdm-calc-price-amount {
  font-size: 32px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.15;
  transition: color 0.2s ease;
}
.vdm-calc-price-note {
  font-size: 13px;
  color: #16a34a;
  font-weight: 600;
  margin-top: 6px;
}
.vdm-calc-details-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.vdm-calc-diag-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #ffffff;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.vdm-calc-diag-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.vdm-calc-diag-body {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.5;
}
.vdm-calc-diag-title {
  display: block;
  color: #0f172a;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 800;
}
.vdm-calc-diag-body p {
  margin: 0;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.55;
}
.vdm-calc-diag-body p strong {
  display: inline !important;
  color: #0f172a;
  font-weight: 700;
}
.vdm-calc-cta-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #0f172a;
  color: #ffffff;
  padding: 18px 20px;
  border-radius: 12px;
  flex-wrap: wrap;
}
.vdm-calc-cta-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 220px;
}
.vdm-calc-cta-headline {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}
.vdm-calc-cta-subline {
  font-size: 12px;
  color: #cbd5e1;
}
.vdm-calc-cta-button {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
  transition: transform 0.2s ease;
}
.vdm-calc-cta-button:hover {
  transform: translateY(-2px);
}
.vdm-calc-disclaimer {
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.5;
  margin-top: 16px;
  text-align: center;
}

@keyframes vdm-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.02);
  }
}

@media (max-width: 680px) {
  .vdm-calc-widget {
    padding: 20px 16px;
  }
  .vdm-calc-selectors {
    grid-template-columns: 1fr;
  }
  .vdm-calc-field:first-child {
    grid-column: 1;
  }
  .vdm-calc-price-amount {
    font-size: 26px;
  }
  .vdm-calc-cta-strip {
    flex-direction: column;
    text-align: center;
  }
  .vdm-calc-cta-button {
    width: 100%;
    text-align: center;
  }
}

/* 7. Top 10 Verified Auction Records Table */
.vdm-auctions-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 30px 24px;
  margin: 40px 0;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}
.vdm-auctions-header {
  margin-bottom: 22px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 18px;
}
.vdm-auctions-badge-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.vdm-auctions-badge {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 9999px;
}
.vdm-auctions-meta-tag {
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}
.vdm-auctions-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
}
.vdm-auctions-subtitle {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}
.vdm-auctions-table-wrap {
  overflow-x: auto;
  margin: 18px 0;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}
.vdm-auctions-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}
.vdm-auctions-table th {
  background: #0f172a;
  color: #ffffff;
  padding: 13px 14px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.vdm-auctions-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: #334155;
}
.vdm-auctions-table tr:hover td {
  background: #f8fafc;
}
.vdm-row-gold-record td {
  background: #fffdf5 !important;
}
.vdm-row-gold-record {
  border-left: 4px solid #f59e0b;
}
.vdm-col-rank {
  width: 75px;
  min-width: 65px;
  text-align: center;
}
.vdm-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
  white-space: nowrap;
  box-sizing: border-box;
}
.vdm-rank-1 {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  border: 1px solid #fcd34d;
  font-weight: 900;
}
.vdm-rank-2 {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  color: #334155;
  border: 1px solid #cbd5e1;
  font-weight: 800;
}
.vdm-rank-3 {
  background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
  color: #9a3412;
  border: 1px solid #fdba74;
  font-weight: 800;
}
.vdm-auc-variety {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}
.vdm-record-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  margin-left: 6px;
  vertical-align: middle;
}
.vdm-auc-metal {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}
.vdm-cert-cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.vdm-cert-pill {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.vdm-cert-pcgs {
  background: #0284c7;
  color: #ffffff;
}
.vdm-cert-ngc {
  background: #4f46e5;
  color: #ffffff;
}
.vdm-grade-label {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
}
.vdm-auc-price {
  font-size: 15.5px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
}
.vdm-price-gold {
  color: #b45309;
  font-size: 17px;
  font-weight: 900;
}
.vdm-auc-house {
  font-weight: 700;
  color: #1e293b;
  font-size: 12.5px;
  white-space: nowrap;
}
.vdm-auc-date {
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
}
.vdm-auc-desc {
  font-size: 12px;
  color: #475569;
  line-height: 1.4;
  min-width: 180px;
}
.vdm-auctions-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vdm-auctions-footnote {
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.5;
}
.vdm-auctions-cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 12px 18px;
  border-radius: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}
.vdm-auctions-cta-btn {
  background: #0f172a;
  color: #ffffff !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.2s;
  white-space: nowrap;
}
.vdm-auctions-cta-btn:hover {
  background: #2563eb;
}

.vdm-table-swipe-hint {
  display: none;
  font-size: 11.5px;
  color: #64748b;
  text-align: right;
  margin-bottom: 8px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .vdm-table-swipe-hint {
    display: block;
  }
  .vdm-auctions-card {
    padding: 20px 14px;
  }
  .vdm-auctions-table th,
  .vdm-auctions-table td {
    padding: 10px 10px;
    font-size: 12.5px;
  }
  .vdm-col-rank {
    width: 60px;
  }
  .vdm-rank-badge {
    padding: 2px 6px;
    font-size: 10px;
  }
  .vdm-auctions-cta-box {
    flex-direction: column;
    text-align: center;
  }
  .vdm-auctions-cta-btn {
    width: 100%;
    text-align: center;
  }
}

/* 8. Interactive Grade vs. Price Curve Chart */
.vdm-chart-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 30px 24px;
  margin: 40px 0;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}
.vdm-chart-header {
  margin-bottom: 22px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 18px;
}
.vdm-chart-badge-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.vdm-chart-badge {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(3, 105, 161, 0.25);
}
.vdm-chart-tag {
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}
.vdm-chart-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
}
.vdm-chart-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

/* Tabs & Legend Bar */
.vdm-chart-tabs-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #e2e8f0;
}
.vdm-chart-tabs {
  display: inline-flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 10px;
  gap: 4px;
}
.vdm-chart-tab {
  background: transparent;
  border: none;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.vdm-chart-tab:hover {
  color: #0f172a;
}
.vdm-chart-tab.is-active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
.vdm-chart-legend {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}
.vdm-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vdm-legend-color {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  display: inline-block;
}
.vdm-legend-color.copper {
  background: #f59e0b;
  border: 1px solid #d97706;
}
.vdm-legend-color.zinc {
  background: #3b82f6;
  border: 1px solid #2563eb;
}

/* Dynamic Interactive Inspector */
.vdm-chart-inspector {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 22px;
  transition: all 0.2s ease;
}
.vdm-chart-inspector:hover {
  border-color: #cbd5e1;
}
.vdm-insp-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}
.vdm-insp-badge {
  background: #0f172a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}
.vdm-insp-hint {
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 600;
}
.vdm-insp-prices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}
.vdm-insp-price-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.vdm-insp-price-box.copper {
  border-left: 4px solid #f59e0b;
}
.vdm-insp-price-box.zinc {
  border-left: 4px solid #3b82f6;
}
.vdm-insp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.vdm-insp-dot.copper {
  background: #f59e0b;
}
.vdm-insp-dot.zinc {
  background: #3b82f6;
}
.vdm-insp-price-content {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.vdm-insp-label {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.vdm-insp-val {
  font-size: 17px;
  font-weight: 900;
  color: #0f172a;
}
.vdm-insp-price-box.copper .vdm-insp-val {
  color: #b45309;
}
.vdm-insp-price-box.zinc .vdm-insp-val {
  color: #1d4ed8;
}
.vdm-insp-desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  padding: 10px 14px;
  border-radius: 8px;
}

/* SVG Chart Canvas */
.vdm-chart-canvas-wrap {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 8px 10px 0;
  box-sizing: border-box;
  margin-bottom: 20px;
}
.vdm-chart-svg {
  width: 100%;
  height: auto;
  display: block;
}
.vdm-chart-axis-label {
  fill: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
}
.vdm-chart-x-label {
  fill: #334155;
  font-size: 11.5px;
  font-weight: 800;
  font-family: inherit;
}
.vdm-chart-line {
  transition: all 0.3s ease;
}
.vdm-chart-dot {
  cursor: pointer;
  transition: transform 0.15s ease, r 0.15s ease;
}
.vdm-chart-dot.copper {
  fill: #ffffff;
  stroke: #f59e0b;
  stroke-width: 3.5px;
}
.vdm-chart-dot.zinc {
  fill: #ffffff;
  stroke: #3b82f6;
  stroke-width: 3px;
}
.vdm-chart-dot:hover {
  r: 8px;
}
.vdm-chart-beacon {
  cursor: pointer;
}
.vdm-beacon-wave {
  animation: vdm-wave-anim 2s infinite ease-out;
}
.vdm-beacon-text {
  fill: #dc2626;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.03em;
  font-family: inherit;
}

@keyframes vdm-wave-anim {
  0% {
    r: 6px;
    opacity: 0.8;
  }
  100% {
    r: 22px;
    opacity: 0;
  }
}

/* Insights & CTA */
.vdm-chart-insights {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.vdm-insight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 14px 16px;
  border-radius: 10px;
}
.vdm-insight-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}
.vdm-insight-text {
  font-size: 13.5px;
  color: #78350f;
  line-height: 1.5;
}
.vdm-insight-text strong {
  color: #451a03;
}
.vdm-chart-cta-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  background: #0f172a;
  color: #ffffff;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  flex-wrap: wrap;
}
.vdm-chart-cta-btn {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(3, 105, 161, 0.3);
  transition: transform 0.2s ease;
}
.vdm-chart-cta-btn:hover {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .vdm-chart-card {
    padding: 20px 14px;
  }
  .vdm-chart-tabs-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .vdm-chart-tabs {
    width: 100%;
    display: flex;
  }
  .vdm-chart-tab {
    flex: 1;
    text-align: center;
    padding: 8px 10px;
    font-size: 12px;
  }
  .vdm-insp-prices {
    grid-template-columns: 1fr;
  }
  .vdm-chart-cta-strip {
    flex-direction: column;
    text-align: center;
  }
  .vdm-chart-cta-btn {
    width: 100%;
    text-align: center;
  }
  .vdm-chart-x-label {
    font-size: 9.5px;
  }
}

/* 9. Master Pillar Hub Page (/valor-centavos/) */
.vdm-pillar-wrap {
  max-width: 960px;
  margin: 0 auto;
  font-family: inherit;
  color: #1e293b;
  line-height: 1.6;
}

/* Hero Section */
.vdm-pillar-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 44px 36px;
  margin-bottom: 34px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
  position: relative;
  overflow: hidden;
}
.vdm-pillar-hero::after {
  content: '¢';
  position: absolute;
  right: -10px;
  bottom: -40px;
  font-size: 240px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}
.vdm-pillar-badge-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.vdm-pillar-badge-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 14px;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
}
.vdm-pillar-badge-sec {
  background: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.vdm-pillar-title {
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 14px;
}
.vdm-pillar-subtitle {
  font-size: 16px;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 820px;
}

/* Quick Jump Navigation */
.vdm-pillar-nav-box {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.vdm-pillar-nav-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  white-space: nowrap;
}
.vdm-pillar-nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}
.vdm-pillar-nav-link {
  background: #f1f5f9;
  color: #334155 !important;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.vdm-pillar-nav-link:hover {
  background: #0f172a;
  color: #ffffff !important;
}

/* Era Cards Grid */
.vdm-eras-section {
  margin: 44px 0;
}
.vdm-section-heading {
  font-size: 24px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 8px;
}
.vdm-section-subline {
  font-size: 14.5px;
  color: #64748b;
  margin: 0 0 22px;
}
.vdm-eras-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.vdm-era-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.vdm-era-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}
.vdm-era-card.is-featured {
  border-color: #f59e0b;
  background: linear-gradient(180deg, #fffdfa 0%, #ffffff 100%);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.12);
}
.vdm-era-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.vdm-era-years {
  font-size: 12px;
  font-weight: 800;
  color: #0284c7;
  background: #e0f2fe;
  padding: 3px 10px;
  border-radius: 6px;
  display: inline-block;
}
.vdm-era-metal-tag {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  background: #f8fafc;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}
.vdm-era-name {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
  line-height: 1.3;
}
.vdm-era-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 14px;
}
.vdm-era-keys {
  background: #f8fafc;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12.5px;
  color: #334155;
  margin-bottom: 16px;
}
.vdm-era-keys strong {
  color: #0f172a;
  display: block;
  margin-bottom: 3px;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.vdm-era-action {
  margin-top: auto;
}
.vdm-era-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 16px;
  background: #0f172a;
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background 0.2s ease;
  box-sizing: border-box;
}
.vdm-era-btn:hover {
  background: #2563eb;
}
.vdm-era-btn.is-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.3);
}

/* ==========================================================================
   Identification Protocol Steps & Grading Guides
   ========================================================================== */
.vdm-steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 24px 0 36px;
}

/* If the grid has exactly 3 children, make it 3 columns on desktop */
.vdm-steps-grid:has(> :nth-child(3):last-child) {
  grid-template-columns: repeat(3, 1fr);
}

/* If the grid has exactly 4 children, maintain balanced 2x2 grid */
.vdm-steps-grid:has(> :nth-child(4):last-child) {
  grid-template-columns: repeat(2, 1fr);
}

.vdm-step-card,
.vdm-step-item {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.vdm-step-card:hover,
.vdm-step-item:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

/* Header container: badge + title inline on the same row */
.vdm-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.vdm-step-header .vdm-step-title,
.vdm-step-header h3,
.vdm-step-header h4 {
  flex: 1;
}

/* Fallback if not wrapped in .vdm-step-header */
.vdm-step-card > .vdm-step-num {
  align-self: flex-start;
  margin-bottom: 10px;
}

/* The badge / pill: flexible, never clips or wraps */
.vdm-step-num {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #0f172a !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  padding: 4px 12px !important;
  min-height: 28px !important;
  min-width: 28px !important;
  width: auto !important;
  height: auto !important;
  border-radius: 9999px !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.12) !important;
}

/* Step Title */
.vdm-step-title,
.vdm-step-card h3,
.vdm-step-card h4,
.vdm-step-header h3,
.vdm-step-header h4 {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 !important;
  line-height: 1.35 !important;
}

/* Step Description / Body */
.vdm-step-body,
.vdm-step-desc,
.vdm-step-card p {
  font-size: 14px !important;
  color: #475569 !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

.vdm-step-content {
  flex: 1;
}

@media (max-width: 768px) {
  .vdm-steps-grid,
  .vdm-steps-grid:has(> :nth-child(3):last-child),
  .vdm-steps-grid:has(> :nth-child(4):last-child) {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .vdm-step-card,
  .vdm-step-item {
    padding: 18px 20px;
  }
  .vdm-step-header {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* Lead Magnet Banner */
.vdm-pillar-lead-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 16px;
  padding: 28px 30px;
  margin: 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: #ffffff;
  flex-wrap: wrap;
}
.vdm-lead-info {
  flex: 1;
  min-width: 260px;
}
.vdm-lead-badge {
  background: #f59e0b;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 8px;
}
.vdm-lead-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 4px;
  color: #ffffff;
}
.vdm-lead-desc {
  font-size: 13.5px;
  color: #cbd5e1;
  margin: 0;
}
.vdm-lead-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
  transition: transform 0.2s ease;
}
.vdm-lead-btn:hover {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .vdm-pillar-hero {
    padding: 28px 20px;
  }
  .vdm-pillar-title {
    font-size: 24px;
  }
  .vdm-eras-grid,
  .vdm-steps-grid {
    grid-template-columns: 1fr;
  }
  .vdm-pillar-lead-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px 18px;
  }
  .vdm-lead-btn {
    width: 100%;
    text-align: center;
  }
}

/* Series Grid (CoinValueChecker Pattern) */
.vdm-series-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 28px 0 40px;
}
@media (max-width: 992px) {
  .vdm-series-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .vdm-series-grid {
    grid-template-columns: 1fr;
  }
}

.vdm-series-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.vdm-series-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}
.vdm-series-card.is-featured {
  border: 1.5px solid #f59e0b;
  background: linear-gradient(180deg, #fffdfa 0%, #ffffff 100%);
}
.vdm-series-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}
.vdm-series-thumb {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}
.vdm-series-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.vdm-series-years {
  font-size: 11.5px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.vdm-series-name {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}
.vdm-series-stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  flex: 1;
}
.vdm-series-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #f1f5f9;
}
.vdm-series-stat-row:last-child {
  border-bottom: none;
}
.vdm-series-stat-label {
  color: #64748b;
  font-weight: 600;
}
.vdm-series-stat-val {
  color: #0f172a;
  font-weight: 800;
  text-align: right;
}
.vdm-series-stat-val.gold {
  color: #b45309;
}
.vdm-series-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 18px;
  background: #175676;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.vdm-series-btn:hover {
  background: #0f172a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

/* Year by Year Decade Tables (Indian Head etc.) */
.vdm-decade-block {
  margin: 36px 0 44px;
}
.vdm-decade-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vdm-year-table-wrap {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}
.vdm-year-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: center;
}
.vdm-year-table th {
  background: #175676;
  color: #ffffff;
  padding: 12px 10px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: none;
}
.vdm-year-table th:first-child {
  text-align: left;
  padding-left: 16px;
}
.vdm-year-table th span {
  display: block;
  font-size: 9.5px;
  font-weight: 500;
  color: #bae6fd;
  text-transform: none;
  margin-top: 2px;
}
.vdm-year-table td {
  padding: 11px 10px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  font-weight: 600;
}
.vdm-year-table td:first-child {
  text-align: left;
  padding-left: 16px;
  font-weight: 800;
  color: #0f172a;
}
.vdm-year-table tr:nth-child(even) td {
  background: #f8fafc;
}
.vdm-year-table tr:hover td {
  background: #f0fdf4;
}
.vdm-key-year {
  background: #fef3c7 !important;
  color: #92400e;
  font-weight: 900;
}

/* ==========================================================================
   VDM TOC (Quick Jump Menu)
   ========================================================================== */
.vdm-toc {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 22px 26px;
  margin: 25px 0 35px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}
.vdm-toc-header {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.vdm-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 8px 20px;
}
.vdm-toc-list li a {
  color: #2563eb;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease;
}
.vdm-toc-list li a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* ==========================================================================
   VDM Melt Value Box (Precious Metals Calculator)
   ========================================================================== */
.vdm-melt-box {
  background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
  border: 2px solid #eab308;
  border-radius: 12px;
  padding: 24px;
  margin: 30px 0;
}
.vdm-melt-header {
  font-size: 18px;
  font-weight: 800;
  color: #854d0e;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vdm-melt-desc {
  margin: 0 0 10px 0;
  color: #713f12;
  font-size: 15px;
  line-height: 1.6;
}
.vdm-melt-formula {
  margin: 0 0 16px 0;
  color: #713f12;
  font-size: 14px;
}
.vdm-melt-formula code {
  background: #fef08a;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 13.5px;
  color: #854d0e;
}
.vdm-melt-tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  text-align: center;
  margin-bottom: 14px;
}
.vdm-melt-tier-card {
  background: #ffffff;
  padding: 12px 10px;
  border-radius: 8px;
  border: 1px solid #fde047;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.vdm-melt-tier-label {
  font-size: 11.5px;
  color: #854d0e;
  font-weight: 700;
  text-transform: uppercase;
}
.vdm-melt-tier-val {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 2px;
}
.vdm-melt-footer-note {
  font-size: 12.5px;
  color: #92400e;
  line-height: 1.5;
  border-top: 1px dashed #fde047;
  padding-top: 10px;
}

/* ==========================================================================
   VDM Strike Guide (Full Steps, Full Bands, Full Bell Lines, Full Head)
   ========================================================================== */
.vdm-fs-guide {
  background: #f8fafc;
  border: 2px solid #0284c7;
  border-radius: 12px;
  padding: 24px;
  margin: 30px 0;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.08);
}
.vdm-fs-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.vdm-fs-badge {
  background: #0284c7;
  color: #ffffff;
  font-weight: 800;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.vdm-fs-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}
.vdm-fs-intro {
  font-size: 15.5px;
  color: #334155;
  line-height: 1.65;
  margin: 0 0 16px 0;
}
.vdm-fs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.vdm-fs-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
}
.vdm-fs-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #0369a1;
  margin-bottom: 6px;
}
.vdm-fs-card p {
  font-size: 14px;
  line-height: 1.55;
  color: #334155;
  margin: 0;
}

/* ==========================================================================
   Article Content & Presentation Components (Specs Cards, Tables, FAQ)
   ========================================================================== */

/* Article Wrapper & Intro Card */
.vdm-article-wrapper {
  font-family: inherit;
  color: #1e293b;
  line-height: 1.7;
}
.vdm-intro-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-left: 5px solid #0284c7;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 20px 0 30px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.vdm-lead {
  font-size: 17px !important;
  line-height: 1.75 !important;
  color: #334155 !important;
  margin: 0 !important;
}

/* Table of Contents Box */
.vdm-toc-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 25px 0 35px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.vdm-toc-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vdm-toc-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vdm-toc-list li {
  margin: 0 !important;
  padding: 0 !important;
}
.vdm-toc-list a {
  color: #0369a1 !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease, transform 0.15s ease;
}
.vdm-toc-list a:hover {
  color: #0284c7 !important;
  transform: translateX(4px);
}

/* Callout / Info Box */
.vdm-info-box {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-left: 5px solid #f59e0b;
  border-radius: 10px;
  padding: 18px 22px;
  margin: 25px 0;
}
.vdm-info-box h4 {
  font-size: 16px;
  font-weight: 800;
  color: #92400e;
  margin: 0 0 10px 0;
}
.vdm-info-box ul {
  margin: 0 0 0 20px;
  padding: 0;
  color: #78350f;
  font-size: 14.5px;
  line-height: 1.65;
}
.vdm-info-box li {
  margin-bottom: 6px;
}

/* Specs / Feature Grid (Fix for Image 1) */
.vdm-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 25px 0 35px 0;
}
.vdm-spec-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.vdm-spec-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  border-color: #cbd5e1;
}
.vdm-spec-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 2px;
}
.vdm-spec-data {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.vdm-spec-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}
.vdm-spec-value {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.45;
}

/* Interactive Pricing Table (Fix for Image 2) */
.vdm-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  margin: 25px 0 35px 0;
  -webkit-overflow-scrolling: touch;
}
.vdm-pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  text-align: left;
  border: none !important;
  margin: 0 !important;
}
.vdm-pricing-table thead th {
  background: #0f172a !important;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 18px !important;
  border: none !important;
  white-space: nowrap;
}
.vdm-pricing-table thead th:first-child {
  border-top-left-radius: 11px;
}
.vdm-pricing-table thead th:last-child {
  border-top-right-radius: 11px;
}
.vdm-pricing-table tbody tr {
  border-bottom: 1px solid #e2e8f0;
  transition: background-color 0.15s ease;
}
.vdm-pricing-table tbody tr:nth-child(even) {
  background-color: #f8fafc;
}
.vdm-pricing-table tbody tr:last-child {
  border-bottom: none;
}
.vdm-pricing-table tbody tr:hover {
  background-color: #f1f5f9;
}
.vdm-pricing-table tbody td {
  padding: 13px 18px !important;
  color: #334155;
  border: none !important;
  line-height: 1.45;
  vertical-align: middle;
}
.vdm-pricing-table tbody td strong {
  color: #0f172a;
}
.vdm-pricing-table tbody tr:last-child td {
  font-weight: 700;
  color: #b91c1c;
  background-color: #fef2f2 !important;
}

/* Interactive SVG Diagrams Container */
.vdm-interactive-svg-wrap {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px 16px;
  margin: 30px 0;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

/* FAQ Accordion / Items */
.vdm-faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s ease;
}
.vdm-faq-item:hover {
  border-color: #cbd5e1;
}
.vdm-faq-item h3 {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vdm-faq-item h3::before {
  content: "❓";
  font-size: 15px;
}
.vdm-faq-item p {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   VDM Auto-Linker / Interlinker Styles
   ========================================================================== */
.vdm-coin-link {
  color: #1d4ed8 !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(29, 78, 216, 0.35) !important;
  text-underline-offset: 3px !important;
  font-weight: inherit !important;
  transition: all 0.15s ease-in-out !important;
  display: inline !important;
}

.vdm-coin-link:hover {
  color: #0284c7 !important;
  text-decoration-color: #0284c7 !important;
  background-color: rgba(2, 132, 199, 0.08) !important;
  border-radius: 3px !important;
}

/* Inside tables: ensure seamless integration and maximum clarity */
.vdm-auctions-table .vdm-auc-variety .vdm-coin-link,
.vdm-year-table td .vdm-coin-link,
.vdm-table td .vdm-coin-link {
  font-weight: 700 !important;
  color: #1e40af !important;
}

.vdm-auctions-table .vdm-auc-variety .vdm-coin-link:hover,
.vdm-year-table td .vdm-coin-link:hover,
.vdm-table td .vdm-coin-link:hover {
  color: #2563eb !important;
}

/* ==========================================================================
   VDM Top 10 Ranking Cards & Visual Elements
   ========================================================================== */
.vdm-rank-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 26px 24px;
  margin: 36px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vdm-rank-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.vdm-rank-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 14px;
}

.vdm-rank-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.vdm-rank-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 800;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.vdm-rank-pill.rank-gold {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  border-color: #fcd34d;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.2);
}

.vdm-rank-pill.rank-silver {
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  color: #334155;
  border-color: #cbd5e1;
}

.vdm-rank-pill.rank-bronze {
  background: linear-gradient(135deg, #ffedd5, #fed7aa);
  color: #9a3412;
  border-color: #fdba74;
}

.vdm-rank-title {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.vdm-rank-price-pill {
  display: inline-block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.vdm-rank-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
}

.vdm-rg-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vdm-rg-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: #64748b;
}

.vdm-rg-val {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
}

.vdm-badge-feasi {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
}

.vdm-badge-feasi.feasi-circ {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.vdm-badge-feasi.feasi-rolls {
  background: #fef9c3;
  color: #854d0e;
  border: 1px solid #fef08a;
}

.vdm-badge-feasi.feasi-elite {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.vdm-rank-img-wrap {
  text-align: center;
  margin: 20px 0;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.vdm-rank-img {
  max-width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  padding: 12px;
}

.vdm-rank-caption {
  font-size: 12px;
  color: #64748b;
  font-style: italic;
  padding: 8px 14px 12px;
  border-top: 1px solid #f1f5f9;
  background: #ffffff;
}

.vdm-rank-body {
  font-size: 15.5px;
  color: #334155;
  line-height: 1.7;
  margin: 18px 0;
}

.vdm-rank-body p {
  margin-bottom: 14px;
}

.vdm-rank-body p:last-child {
  margin-bottom: 0;
}

.vdm-rank-action {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed #e2e8f0;
}

.vdm-deepdive-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1e40af, #2563eb);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
}

.vdm-deepdive-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  color: #ffffff !important;
}

.vdm-chart-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 16px;
  margin: 32px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  box-sizing: border-box;
}

.vdm-chart-box svg {
  display: block;
  width: 100%;
  max-width: 820px;
  height: auto;
  margin: 0 auto;
}

.vdm-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  box-sizing: border-box;
}

.vdm-rank-card {
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* ==========================================================================
   14. MOBILE RESPONSIVENESS & CORE WEB VITALS OPTIMIZATIONS
   ========================================================================== */

/* Universal mobile containment to prevent horizontal viewport blowout */
.vdm-pillar-wrap,
.vdm-series-wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Force all price and record tables to scroll smoothly within their wrappers on mobile */
.vdm-year-table-wrap,
.vdm-table-wrap,
.vdm-pillar-wrap .vdm-year-table-wrap,
.vdm-series-wrap .vdm-year-table-wrap {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  box-sizing: border-box !important;
  display: block !important;
}

.vdm-year-table {
  min-width: 580px;
}

@media (max-width: 768px) {
  .vdm-pillar-wrap,
  .vdm-series-wrap,
  .entry-content {
    overflow-x: clip;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .vdm-pillar-hero {
    padding: 26px 18px !important;
    border-radius: 16px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .vdm-pillar-title {
    font-size: 22px !important;
    line-height: 1.28 !important;
    word-break: break-word;
  }

  .vdm-pillar-subtitle {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
  }

  .vdm-pillar-nav-box {
    padding: 16px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .vdm-chart-inspector {
    padding: 18px 14px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Any unwrapped tables inside post content must scroll rather than blow out layout */
  .vdm-pillar-wrap table:not(.vdm-table-scroll-handled),
  .vdm-series-wrap table:not(.vdm-table-scroll-handled) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
  }
}

/* Modern Web Performance: Defer layout & rendering of heavy offscreen sections */
.vdm-year-section:not(:first-of-type),
.vdm-ebay-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 600px;
}

/* ==========================================================================
   7. Header Polish & Brand Wordmark
   ========================================================================== */
.site-branding a.brand {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
}

.site-branding .site-title {
  font-family: var(--global-font-family, inherit) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.02em !important;
  margin: 0 !important;
  line-height: 1.15 !important;
  transition: color 0.2s ease !important;
}

.site-branding a.brand:hover .site-title {
  color: #d97706 !important;
}

/* Ensure Site Header and Navigation Dropdowns float above Hero */
#masthead,
.site-header,
#site-header,
.site-header-wrap {
  position: relative !important;
  z-index: 1200 !important;
}

.main-navigation .sub-menu {
  z-index: 1300 !important;
}

/* Header Primary Navigation CTA Button */
.vdm-header-cta-item {
  display: inline-flex !important;
  align-items: center !important;
  margin-left: 14px !important;
}

.vdm-header-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  padding: 8px 18px !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.28) !important;
  transition: all 0.2s ease !important;
  letter-spacing: -0.01em !important;
  line-height: 1.2 !important;
}

.vdm-header-btn:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4) !important;
  color: #ffffff !important;
}

.vdm-header-btn .vdm-btn-icon {
  flex-shrink: 0;
  stroke: #ffffff;
}

/* Mobile Drawer Header CTA styling */
.mobile-menu-container .vdm-header-cta-item {
  margin: 18px 14px 10px !important;
}

.mobile-menu-container .vdm-header-btn {
  width: 100% !important;
  justify-content: center !important;
  padding: 12px 20px !important;
  font-size: 15px !important;
}

/* ==========================================================================
   8. Enterprise 4-Column Modern Numismatic Footer
   ========================================================================== */
.vdm-modern-footer {
  background: #0b132b !important;
  color: #e2e8f0 !important;
  padding: 65px 0 35px !important;
  border-top: 3px solid #d97706 !important;
  font-family: var(--global-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
  position: relative !important;
  z-index: 10 !important;
}

.vdm-footer-wrap {
  width: 100% !important;
  box-sizing: border-box !important;
}

.vdm-footer-container {
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 0 28px !important;
  box-sizing: border-box !important;
}

/* Main 4-Column Grid */
.vdm-footer-grid {
  display: grid !important;
  grid-template-columns: 1.4fr 1fr 1.15fr 1fr !important;
  gap: 45px !important;
  margin-bottom: 45px !important;
}

/* Column 1: Brand */
.vdm-footer-brand-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  margin-bottom: 18px !important;
}

.vdm-footer-logo {
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.35) !important;
  display: block !important;
}

.vdm-footer-brand-name {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em !important;
}

.vdm-footer-mission {
  font-size: 13.5px !important;
  line-height: 1.65 !important;
  color: #94a3b8 !important;
  margin: 0 0 22px !important;
}

.vdm-footer-yt-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: rgba(239, 68, 68, 0.12) !important;
  border: 1px solid rgba(239, 68, 68, 0.32) !important;
  color: #fca5a5 !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.vdm-footer-yt-btn:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
  border-color: #ef4444 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35) !important;
}

.vdm-yt-icon {
  flex-shrink: 0;
}

/* Columns 2, 3, 4: Headings & Lists */
.vdm-footer-title {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  margin: 0 0 20px !important;
  position: relative !important;
  padding-bottom: 10px !important;
}

.vdm-footer-title::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 28px !important;
  height: 2.5px !important;
  background: #d97706 !important;
  border-radius: 2px !important;
}

.vdm-footer-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.vdm-footer-list li {
  margin: 0 0 11px !important;
  padding: 0 !important;
}

.vdm-footer-list li a {
  color: #94a3b8 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  display: inline-block !important;
}

.vdm-footer-list li a:hover {
  color: #f59e0b !important;
  transform: translateX(3px) !important;
}

/* Trust Badge in Col 4 */
.vdm-footer-trust-badge {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  margin-top: 20px !important;
}

.vdm-trust-badge-title {
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: #f59e0b !important;
  display: block !important;
  margin-bottom: 6px !important;
}

.vdm-trust-badge-desc {
  font-size: 12px !important;
  line-height: 1.55 !important;
  color: #94a3b8 !important;
  margin: 0 !important;
}

/* Suppress redundant in-content disclaimer on homepage */
.vdm-disclaimer-box {
  display: none !important;
}

/* Disclaimer Box */
.vdm-footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 10px !important;
  padding: 16px 22px !important;
  margin-bottom: 30px !important;
}

.vdm-footer-disclaimer-box p {
  font-size: 12px !important;
  line-height: 1.65 !important;
  color: #64748b !important;
  margin: 0 !important;
}

.vdm-footer-disclaimer-box strong {
  color: #94a3b8 !important;
}

/* Bottom Bar */
.vdm-footer-bottom-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-top: 24px !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
}

.vdm-footer-copyright {
  font-size: 13px !important;
  color: #64748b !important;
}

.vdm-footer-legal-links {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.vdm-footer-legal-links a {
  font-size: 13px !important;
  color: #94a3b8 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.vdm-footer-legal-links a:hover {
  color: #f59e0b !important;
}

.vdm-footer-dot {
  color: #475569 !important;
  font-size: 12px !important;
}

/* Responsive Footer Breakpoints */
@media (max-width: 1024px) {
  .vdm-footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 36px !important;
  }
}

@media (max-width: 768px) {
  .vdm-modern-footer {
    padding: 50px 0 30px !important;
  }

  .vdm-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .vdm-footer-bottom-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }
}



