/* Blog Card Styles
   ========================================================================== */

/* Card hover effects */
.blog-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

/* Image zoom on hover */
.blog-card-image {
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image {
  transform: scale(1.05);
}

.blog-card-image-link {
  text-decoration: none;
}

/* Blog tags */
.blog-tag {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.3em 0.65em;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  background-color: #f0f0f0 !important;
  color: #555 !important;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.blog-tag:hover {
  background-color: var(--bitcoin-orange) !important;
  color: #1a1a1a !important;
}

.blog-tag-more {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.3em 0.5em;
  background-color: transparent !important;
  color: #999 !important;
}

/* Article Content Styles
   ========================================================================== */

/* Tags */
.article-content-tags .badge {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4em 0.8em;
  background-color: #f5a623 !important;
  color: #1a1a1a !important;
  letter-spacing: 0.03em;
}

.article-content-tags .badge:hover {
  background-color: #d4891a !important;
  color: #fff !important;
}

/* Content area */
.article-content {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #333;
  max-width: 720px;
}

.article-content h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  color: #1a1a1a;
  line-height: 1.3;
}

.article-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #f5a623;
  color: #1a1a1a;
}

.article-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
}

.article-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #333;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content strong {
  color: #1a1a1a;
  font-weight: 700;
}

.article-content a {
  color: #f5a623;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-content a:hover {
  color: #d4891a;
}

/* Tables */
.article-content table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e5e5;
}

.article-content table thead {
  background: #1a1a1a;
  color: #fff;
}

.article-content table thead th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.article-content table tbody td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}

.article-content table tbody tr:last-child td {
  border-bottom: none;
}

.article-content table tbody tr:nth-child(even) {
  background: #fafafa;
}

.article-content table tbody tr:hover {
  background: #fff8ed;
}

/* Highlight row (bold rows) */
.article-content table tbody tr td strong {
  color: #f5a623;
}

/* Lists */
.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

/* Blockquotes */
.article-content blockquote {
  border-left: 4px solid #f5a623;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  background: #fdf8f0;
  font-style: italic;
  color: #555;
  border-radius: 0 8px 8px 0;
}

/* Code */
.article-content code {
  background: #f4f4f4;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.9em;
  color: #d63384;
}

.article-content pre {
  background: #1a1a1a;
  color: #f8f8f2;
  padding: 1.5rem;
  border-radius: 10px;
  overflow-x: auto;
  margin: 2rem 0;
  line-height: 1.6;
}

.article-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* Horizontal rules */
.article-content hr {
  border: none;
  border-top: 2px solid #eee;
  margin: 3rem 0;
}

/* Images */
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 2rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Emphasis */
.article-content em {
  color: #666;
}

/* Responsive */
@media (max-width: 768px) {
  .article-content {
    font-size: 1.05rem;
    line-height: 1.8;
  }

  .article-content h1 { font-size: 1.75rem; }
  .article-content h2 { font-size: 1.35rem; }
  .article-content h3 { font-size: 1.15rem; }

  .article-content table {
    font-size: 0.85rem;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .article-content table thead th,
  .article-content table tbody td {
    padding: 0.625rem 0.75rem;
  }
}
