/* ConvexVision Blog — matches site typography & palette */

.blog-page {
  background: #fff;
  color: #0b0d12;
}

.blog-hero {
  padding: 140px 24px 64px;
  background:
    linear-gradient(135deg, rgba(0, 87, 152, 0.06) 0%, transparent 45%),
    linear-gradient(180deg, #f7f9fc 0%, #fff 100%);
  border-bottom: 1px solid rgba(12, 16, 32, 0.08);
}

.blog-hero__inner {
  max-width: 920px;
  margin: 0 auto;
}

.blog-hero__label {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #005798;
}

.blog-hero__title {
  margin: 0 0 16px;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #05070c;
}

.blog-hero__lead {
  margin: 0;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.6;
  color: #6a7280;
}

.blog-listing {
  padding: 64px 24px 100px;
}

.blog-listing__grid {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 720px) {
  .blog-listing__grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 28px 24px;
  text-decoration: none;
  color: inherit;
  background: #f7f9fc;
  border: 1px solid rgba(12, 16, 32, 0.08);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.blog-card:hover {
  background: #fff;
  border-color: #005798;
  transform: translateY(-2px);
}

.blog-card__date {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6a7280;
}

.blog-card__title {
  margin: 0;
  flex: 1;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #05070c;
}

.blog-card__link {
  font-size: 13px;
  font-weight: 600;
  color: #005798;
  letter-spacing: 0.02em;
}

.blog-card:hover .blog-card__link {
  text-decoration: underline;
}

/* Inner article */
.blog-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 130px 24px 100px;
}

.blog-article__header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(12, 16, 32, 0.1);
}

.blog-article__back {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 500;
  color: #005798;
  text-decoration: none;
}

.blog-article__back:hover {
  text-decoration: underline;
}

.blog-article__date {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6a7280;
}

.blog-article__title {
  margin: 0;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #05070c;
}

.blog-article__body {
  font-size: 17px;
  line-height: 1.75;
  color: #2a3140;
}

.blog-article__body p {
  margin: 0 0 1.25em;
}

.blog-article__body h2 {
  margin: 2em 0 0.75em;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #05070c;
}

.blog-article__body h3 {
  margin: 1.75em 0 0.6em;
  font-size: 18px;
  font-weight: 700;
  color: #05070c;
}

.blog-article__body ul,
.blog-article__body ol {
  margin: 0 0 1.25em;
  padding-left: 1.25em;
}

.blog-article__body li {
  margin-bottom: 0.4em;
}

.blog-article__body a {
  color: #005798;
}

.blog-article__body blockquote {
  margin: 1.75em 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid #005798;
  color: #2a3140;
  font-style: italic;
}

.blog-article__body blockquote p {
  margin-bottom: 0;
}

.blog-article__footer {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(12, 16, 32, 0.1);
}

.blog-article__back-btn {
  display: inline-block;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: #005798;
  transition: background 0.2s ease;
}

.blog-article__back-btn:hover {
  background: #044a7f;
}
