/* Blog styles. Loaded after /style.css on /blog pages only. */

.blog { padding: var(--sp-10) 0 var(--sp-11); }

.blog__inner { max-width: 900px; }

.blog__head h1 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 600;
  line-height: 1.1;
}

.blog__intro {
  margin-top: var(--sp-3);
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
}

/* ---------- Article list ---------- */

.post-list {
  list-style: none;
  margin: var(--sp-7) 0 0;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.post-list__item { border-bottom: 1px solid rgba(255,255,255,0.12); }

.post-list__link {
  display: block;
  padding: var(--sp-5) 0;
  color: inherit;
  text-decoration: none;
}

.post-list__date {
  font-size: 14px;
  color: rgba(255,255,255,0.56);
}

.post-list__title {
  margin-top: var(--sp-1);
  color: var(--white);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  transition: color 0.15s ease;
}

.post-list__link:hover .post-list__title { color: var(--green); }

.post-list__excerpt {
  margin-top: var(--sp-1);
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
}

/* ---------- Article ---------- */

.post__back {
  display: block;
  width: fit-content;
  margin-bottom: var(--sp-5);
  font-size: 15px;
  color: rgba(255,255,255,0.56);
  text-decoration: none;
}

.post__back:hover { color: var(--green); }

.post h1 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.15;
}

.post__meta {
  margin-top: var(--sp-2);
  font-size: 15px;
  color: rgba(255,255,255,0.56);
}

.post__hero {
  display: block;
  width: 100%;
  height: auto;
  margin-top: var(--sp-5);
  border-radius: var(--radius-l);
}

.post__body { margin-top: var(--sp-6); }

.post__body p,
.post__body ul,
.post__body ol {
  margin-top: var(--sp-3);
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
}

.post__body ul,
.post__body ol { padding-left: var(--sp-4); }

.post__body li + li { margin-top: var(--sp-1); }

.post__body h2 {
  margin-top: var(--sp-7);
  color: var(--white);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
}

.post__body h3 {
  margin-top: var(--sp-5);
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
}

.post__body strong { color: var(--white); font-weight: 600; }

.post__body a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post__body a:hover { color: var(--green); }

.post__body blockquote {
  margin: var(--sp-4) 0 0;
  padding: var(--sp-3) var(--sp-4);
  border-left: 3px solid var(--green);
  background: rgba(255,255,255,0.04);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
}

.post__body blockquote p { margin-top: 0; color: var(--white); }

.post-cta {
  margin-top: var(--sp-8);
  padding: var(--sp-6);
  border-radius: var(--radius-m);
  background: rgba(30,195,65,0.08);
  border: 1px solid rgba(30,195,65,0.32);
}

.post-cta h2 {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--white);
  font-size: 24px;
  font-weight: 600;
}

.post-cta p {
  margin-top: var(--sp-2);
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
}

.post-cta .btn { margin-top: var(--sp-4); }

@media (max-width: 720px) {
  .blog { padding: var(--sp-8) 0 var(--sp-9); }
  .blog__head h1 { font-size: 32px; }
  .post h1 { font-size: 30px; }
  .post__body p,
  .post__body ul,
  .post__body ol { font-size: 16px; }
  .post__body h2 { font-size: 22px; }
  .post-list__title { font-size: 20px; }
  .post-cta { padding: var(--sp-5); }
}
