.blog-wrap {
  padding: 3rem 0 5rem;
}

.blog-header {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.blog-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rv-primary, #1d4ed8);
  margin-bottom: 0.5rem;
}

.blog-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.blog-lead {
  font-size: 1.125rem;
  color: #4b5563;
  margin: 0;
}

.blog-back {
  display: inline-block;
  margin-bottom: 1rem;
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 500;
}

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

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.blog-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-card:hover {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.blog-card__image-link img,
.blog-card__placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.blog-card__placeholder {
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
}

.blog-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.blog-card__body time {
  font-size: 0.8125rem;
  color: #6b7280;
}

.blog-card__body h2 {
  font-size: 1.125rem;
  line-height: 1.35;
  margin: 0;
}

.blog-card__body h2 a {
  color: inherit;
  text-decoration: none;
}

.blog-card__body h2 a:hover {
  color: #1d4ed8;
}

.blog-card__body p {
  margin: 0;
  color: #4b5563;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.blog-card__author {
  margin-top: auto;
  font-size: 0.8125rem;
  color: #6b7280;
}

.blog-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: #6b7280;
}

.blog-pagination {
  margin-top: 2.5rem;
}

.blog-pagination ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.blog-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  text-decoration: none;
  color: #374151;
  font-weight: 500;
}

.blog-pagination a.is-active,
.blog-pagination li a.is-active {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
}

.blog-pagination .is-active a {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
}

.blog-single {
  max-width: 820px;
}

.blog-single__header time {
  display: block;
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.blog-single__header h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.blog-single__meta {
  color: #4b5563;
  margin: 0;
}

.blog-single__meta a {
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 500;
}

.blog-single__featured {
  margin: 2rem 0;
}

.blog-single__featured img {
  width: 100%;
  border-radius: 12px;
}

.blog-single__content {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #1f2937;
}

.blog-single__content h2,
.blog-single__content h3,
.blog-single__content h4 {
  font-family: 'Sora', sans-serif;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.blog-single__content p,
.blog-single__content ul,
.blog-single__content ol {
  margin-bottom: 1.25rem;
}

.blog-single__content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.blog-single__tags {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.blog-tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: 999px;
  font-size: 0.8125rem;
  text-decoration: none;
  font-weight: 500;
}

.blog-tag:hover {
  background: #dbeafe;
}
