/* ═══════════════════════════════════════════════════════════════
   BLOG TABLE STYLING
   REGENERATE SRI HASH:
   openssl dgst -sha384 -binary style.css | openssl base64 -A
   ═══════════════════════════════════════════════════════════════ */

/* Wrapper for horizontal scroll on mobile */
.blog-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0 2.5rem 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-overflow-scrolling: touch;
}

.blog-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.5;
  min-width: 600px; /* Force scroll on small viewports */
}

/* Header styling */
.blog-table thead {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.04) 100%);
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.blog-table thead th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 700;
  color: #d4af37; /* Gold accent matching brand */
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.blog-table thead th:first-child {
  border-top-left-radius: 12px;
}

.blog-table thead th:last-child {
  border-top-right-radius: 12px;
}

/* Body styling */
.blog-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background-color 0.2s ease;
}

.blog-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}

.blog-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

.blog-table tbody tr:last-child {
  border-bottom: none;
}

.blog-table tbody td {
  padding: 1rem 1.25rem;
  vertical-align: top;
  color: rgba(255, 255, 255, 0.85);
}

/* First column emphasis - label column */
.blog-table tbody td:first-child {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  min-width: 140px;
}

/* Column dividers between AI Assistant and AI Agent (visual separation) */
.blog-table tbody td:nth-child(2) {
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-table thead th:nth-child(2) {
  border-right: 1px solid rgba(212, 175, 55, 0.15);
}

.blog-table thead th:first-child {
  border-right: 1px solid rgba(212, 175, 55, 0.15);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .blog-table {
    font-size: 0.9rem;
  }
  
  .blog-table thead th,
  .blog-table tbody td {
    padding: 0.85rem 1rem;
  }
  
  .blog-table tbody td:first-child {
    min-width: 120px;
  }
  
  /* Scroll indicator hint */
  .blog-table-wrapper::after {
    content: '';
    position: sticky;
    right: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 0%, rgba(8, 12, 20, 0.5) 100%);
  }
}

/* Print styles */
@media print {
  .blog-table-wrapper {
    background: transparent;
    border: 1px solid #333;
    overflow: visible;
  }
  
  .blog-table thead {
    background: #f0f0f0;
  }
  
  .blog-table thead th {
    color: #000;
  }
  
  .blog-table tbody td {
    color: #000;
    border: 1px solid #ccc;
  }
}
