/* ── Zenico Blog CSS ──────────────────────────────────────── */

/* ── Blog Hero (Index) ── */
.blog-hero {
  background: #1A1F2E;
  color: #fff;
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}

.blog-hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 20px;
  color: #fff;
  text-align: center;
}

.blog-hero-intro {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  max-width: 620px;
  line-height: 1.6;
  margin: 0 auto;
  text-align: center;
}

/* ── Blog List ── */
.blog-list {
  padding: 80px 0;
  background: #f8f9fa;
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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

.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.blog-card-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card-meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: #718096;
  margin-bottom: 16px;
  font-family: 'Outfit', sans-serif;
}

.blog-card-date,
.blog-card-reading-time {
  display: inline-block;
}

.blog-card-title {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 16px;
  color: #1A1F2E;
}

.blog-card-intro {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  color: #4a5568;
  line-height: 1.6;
  margin: 0 0 24px;
  flex-grow: 1;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
  font-size: 14px;
}

.blog-card-author {
  font-family: 'Outfit', sans-serif;
  color: #718096;
}

.blog-card-read-more {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: #2E9A9A;
}

/* ── Blog Article ── */
.blog-article {
  padding: 48px 0 80px;
  background: #fff;
}

.blog-breadcrumb {
  margin-bottom: 32px;
}

.blog-breadcrumb-link {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: #718096;
  text-decoration: none;
  transition: color 0.2s;
}

.blog-breadcrumb-link:hover {
  color: #2E9A9A;
}

.blog-article-header {
  max-width: 800px;
  margin: 0 auto 48px;
}

.blog-article-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 24px;
  color: #1A1F2E;
}

.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: #718096;
  margin-bottom: 24px;
  font-family: 'Outfit', sans-serif;
}

.blog-article-separator {
  color: #cbd5e0;
}

.blog-article-author,
.blog-article-date,
.blog-article-reading-time {
  display: inline-block;
}

.blog-article-intro {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  line-height: 1.7;
  color: #4a5568;
  margin: 0 0 32px;
}

.blog-article-divider {
  height: 2px;
  background: linear-gradient(90deg, #2E9A9A, #C9A84C);
  margin: 32px 0;
}

.blog-article-body {
  max-width: 800px;
  margin: 0 auto;
}

/* ── Prose Styles (Markdown Content) ── */
.prose {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: #2d3748;
}

.prose h2 {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin: 48px 0 24px;
  color: #1A1F2E;
}

.prose h3 {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  margin: 40px 0 20px;
  color: #1A1F2E;
}

.prose h4 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  margin: 32px 0 16px;
  color: #1A1F2E;
}

.prose p {
  margin: 0 0 24px;
}

.prose ul,
.prose ol {
  margin: 0 0 24px;
  padding-left: 28px;
}

.prose li {
  margin-bottom: 12px;
}

.prose strong {
  font-weight: 600;
  color: #1A1F2E;
}

.prose a {
  color: #2E9A9A;
  text-decoration: underline;
  transition: color 0.2s;
}

.prose a:hover {
  color: #1d6e6e;
}

.prose blockquote {
  border-left: 4px solid #C9A84C;
  padding-left: 24px;
  margin: 32px 0;
  font-style: italic;
  color: #4a5568;
}

.prose code {
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  background: #f7fafc;
  padding: 2px 6px;
  border-radius: 4px;
  color: #e53e3e;
}

.prose pre {
  background: #1A1F2E;
  color: #e2e8f0;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 32px 0;
}

.prose pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 15px;
}

.prose th {
  background: #f7fafc;
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  color: #1A1F2E;
}

.prose td {
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  color: #2d3748;
}

.prose tbody tr:nth-child(even) {
  background: #f7fafc;
}

/* ── Blog Footer / CTA ── */
.blog-article-footer {
  max-width: 800px;
  margin: 64px auto 48px;
}

.blog-cta {
  background: linear-gradient(135deg, #E8F5F5, #FAF3E0);
  border-left: 4px solid #2E9A9A;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
}

.blog-cta-title {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 16px;
  color: #1A1F2E;
}

.blog-cta-text {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  color: #4a5568;
  margin: 0 0 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.blog-cta .btn {
  font-size: 16px;
  padding: 12px 32px;
}

/* ── Blog Navigation ── */
.blog-article-nav {
  max-width: 800px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.blog-nav-btn {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: #f7fafc;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  border: 1px solid #e2e8f0;
}

.blog-nav-btn:hover {
  background: #edf2f7;
  transform: translateY(-2px);
}

.blog-nav-label {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.blog-nav-title {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1A1F2E;
  line-height: 1.4;
}

.blog-nav-prev {
  text-align: left;
}

.blog-nav-next {
  text-align: right;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .blog-article-nav {
    grid-template-columns: 1fr;
  }

  .blog-nav-next {
    text-align: left;
  }

  .blog-cta {
    padding: 32px 24px;
  }
}
