/* ==========================================================
   Footbeen blog — styles specific to /blog/
   Inherits base tokens + components from /assets/style.css
   ========================================================== */

.blog-page {
  background: var(--bg);
  color: var(--text);
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s;
}
.breadcrumbs a:hover {
  color: var(--green);
}
.breadcrumbs span[aria-hidden="true"] {
  color: var(--border);
}
.breadcrumbs span[aria-current="page"] {
  color: var(--text);
  font-weight: 500;
}

/* ---------- Blog index header ---------- */
.blog-header {
  padding: 68px 0 44px;
  border-bottom: 1px solid var(--border);
}
.blog-title {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 18px;
}
.blog-subtitle {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 620px;
}

/* ---------- Post list ---------- */
.blog-list {
  padding: 56px 0 100px;
  min-height: 40vh;
}
.post-card {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.post-card:first-child {
  border-top: 1px solid var(--border);
}
.post-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s;
}
.post-card-link:hover {
  transform: translateX(4px);
}
.post-meta {
  display: inline-flex;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.post-meta time {
  font-variant-numeric: tabular-nums;
}
.post-card-title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 10px;
  max-width: 760px;
}
.post-card-excerpt {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 14px;
}
.post-card-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.01em;
}
.blog-empty {
  padding: 40px 0;
  color: var(--text-secondary);
  font-size: 15px;
}
.blog-empty a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Post page ---------- */
.blog-post .post-header {
  padding: 48px 0 40px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.post-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  padding: 5px 10px;
  border: 1px solid rgba(13, 110, 63, 0.22);
  border-radius: 100px;
  margin-bottom: 20px;
  background: rgba(21, 184, 97, 0.06);
}
.post-title {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
  max-width: 820px;
}
.post-lede {
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 22px;
}
.post-meta {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  gap: 10px;
  align-items: center;
}

.post-body {
  max-width: 740px !important;
  padding-top: 56px;
  padding-bottom: 72px;
}
.post-body h2 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 56px 0 18px;
  color: var(--text);
}
.post-body h2:first-child {
  margin-top: 0;
}
.post-body h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 36px 0 12px;
  color: var(--text);
}
.post-body p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 20px;
}
.post-body strong {
  color: var(--text);
  font-weight: 700;
}
.post-body em {
  font-style: italic;
  color: var(--text);
}
.post-body a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: color 0.15s;
}
.post-body a:hover {
  color: var(--green-bright);
}
.post-body ul,
.post-body ol {
  margin: 0 0 24px 4px;
  padding-left: 24px;
}
.post-body ul li,
.post-body ol li {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 12px;
}
.post-body ul li::marker {
  color: var(--green);
}

/* ---------- Post CTA ---------- */
.post-cta {
  padding: 72px 0;
  background: #F4F1EA;
  border-top: 1px solid var(--border);
}
.post-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
  max-width: 820px;
  margin: 0 auto;
}
.post-cta h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.2;
}
.post-cta p {
  font-size: 15px;
  color: var(--text-secondary);
}
.post-cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.post-cta-actions img {
  display: block;
  border-radius: 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .blog-header { padding: 48px 0 32px; }
  .blog-title { font-size: 36px; }
  .blog-subtitle { font-size: 16px; }
  .post-card { padding: 24px 0; }
  .post-card-title { font-size: 22px; }
  .post-card-excerpt { font-size: 15px; }
  .blog-post .post-header { padding: 32px 0 28px; }
  .post-title { font-size: 30px; }
  .post-lede { font-size: 17px; }
  .post-body { padding-top: 36px; padding-bottom: 56px; }
  .post-body h2 { font-size: 24px; margin: 40px 0 12px; }
  .post-body h3 { font-size: 19px; }
  .post-body p,
  .post-body ul li,
  .post-body ol li { font-size: 16px; }
  .post-cta { padding: 52px 0; }
  .post-cta h2 { font-size: 22px; }
  .post-cta-inner { flex-direction: column; align-items: flex-start; }
}
