/* Public blog */
.blog-main { padding: 12px 0 96px; max-width: 1100px; }
.blog-preview-banner {
  margin: 0 0 18px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 179, 71, 0.35);
  background: rgba(255, 179, 71, 0.1);
  color: #ffd6a0;
  font-size: 0.9rem;
}
.blog-hero { margin-bottom: 40px; max-width: 720px; }
.blog-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--spree-b);
  font-weight: 700;
  margin: 0 0 8px;
}
.blog-eyebrow a { color: inherit; text-decoration: none; }
.blog-hero h1, .blog-article-head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.6vw, 2.45rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
}
.blog-article-head {
  margin-bottom: 14px;
  max-width: 42rem;
}
.blog-article-head .blog-eyebrow { margin-bottom: 6px; }
.blog-article-meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 6px;
  line-height: 1.35;
}
.blog-article-head .blog-lead {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.5;
}
.blog-lead { color: var(--muted); font-size: 1.05rem; max-width: 46rem; }
.blog-cover {
  margin: 0 0 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: #0B0E1A;
  aspect-ratio: 16 / 9;
}
/* Never use object-fit:cover on SVG — Safari iOS often paints a white blank */
.blog-cover img {
  width: 100%;
  height: auto;
  display: block;
  background: #0B0E1A;
}
.blog-cover img[src$=".png"],
.blog-cover img[src$=".jpg"],
.blog-cover img[src$=".jpeg"],
.blog-cover img[src$=".webp"] {
  height: 100%;
  object-fit: cover;
}

.blog-table-wrap {
  margin: 0.85em 0 1.75em;
  overflow-x: auto;
  border-radius: 0;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  background: transparent;
}
.blog-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 420px;
}
.blog-table th,
.blog-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  vertical-align: top;
}
.blog-table th {
  background: transparent;
  color: var(--spree-b);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255,179,71,0.35);
  padding-top: 10px;
  padding-bottom: 12px;
}
.blog-table tr:last-child td { border-bottom: none; }
.blog-table td { color: rgba(244,245,251,0.88); }
.blog-table td:first-child { font-weight: 600; color: var(--ink); }
.blog-table tbody tr:hover td { background: rgba(255,255,255,0.03); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.blog-card {
  background: rgba(23, 29, 51, 0.85);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.blog-card-media {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0B0E1A;
}
.blog-card-media img {
  width: 100%;
  height: auto;
  display: block;
  background: #0B0E1A;
}
.blog-card-media img[src$=".png"],
.blog-card-media img[src$=".jpg"],
.blog-card-media img[src$=".jpeg"],
.blog-card-media img[src$=".webp"] {
  height: 100%;
  object-fit: cover;
}
.blog-card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card-meta { font-size: 0.78rem; color: var(--muted); }
.blog-card-title { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.3; }
.blog-card-title a { color: var(--ink); text-decoration: none; }
.blog-card-title a:hover { color: var(--spree-b); }
.blog-card-excerpt { color: var(--muted); font-size: 0.92rem; flex: 1; }
.blog-card-more { color: var(--spree-a); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.blog-empty { color: var(--muted); }

.blog-article { max-width: 760px; margin: 0 auto; }
.blog-content { font-size: 1.05rem; line-height: 1.7; color: rgba(244,245,251,0.92); }
.blog-content h2, .blog-content h3, .blog-content h4 {
  font-family: var(--font-display);
  margin: 1.6em 0 0.55em;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.blog-content h2 { font-size: 1.45rem; }
.blog-content h3 { font-size: 1.2rem; }
.blog-content h2 + .blog-table-wrap,
.blog-content h3 + .blog-table-wrap { margin-top: 0.55em; }
.blog-content p { margin: 0 0 1em; }
.blog-content ul, .blog-content ol { margin: 0 0 1.1em 1.2em; }
.blog-content li { margin: 0.35em 0; }
.blog-content a { color: var(--spree-b); }
.blog-content strong { color: #fff; }
.blog-content code {
  font-size: 0.9em;
  background: rgba(255,255,255,0.06);
  padding: 0.1em 0.35em;
  border-radius: 6px;
}

.blog-faq { margin-top: 48px; }
.blog-faq h2 { font-family: var(--font-display); margin-bottom: 14px; }
.blog-faq-item {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: rgba(23,29,51,0.6);
}
.blog-faq-item summary { cursor: pointer; font-weight: 600; }
.blog-faq-item div { margin-top: 10px; color: var(--muted); line-height: 1.55; }

.blog-cta {
  margin-top: 48px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,77,109,0.16), rgba(255,179,71,0.1));
  border: 1px solid rgba(255,179,71,0.22);
}
.blog-cta h2 { font-family: var(--font-display); margin-bottom: 8px; }
.blog-cta p { color: var(--muted); margin-bottom: 16px; }

.blog-related { margin-top: 40px; }
.blog-related h2 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 10px; }
.blog-related ul { list-style: none; }
.blog-related a { color: var(--ink); }
.blog-related a:hover { color: var(--spree-b); }

@media (max-width: 640px) {
  .blog-main { padding: 28px 0 64px; }
}
