.blog-hero {
  background: linear-gradient(135deg, rgba(38, 96, 255, 0.08), rgba(38, 96, 255, 0.2));
  padding: 1rem;
  color: #1a2c68;
}

.blog-hero--post {
  margin-bottom: 1rem;
}

.blog-hero-kicker {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2660ff;
  background-color: rgba(38, 96, 255, 0.1);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  margin-bottom: 1rem;
}

.blog-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.blog-hero-subtitle {
  font-size: 1.1rem;
  max-width: 640px;
  color: #4a4a4a;
}

.blog-listing {
  padding: 1.5rem 0 4rem;
}

.blog-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 35px -25px rgba(22, 38, 79, 0.35);
  display: flex;
  flex-direction: column;
}

.blog-card-cover {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.blog-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-cover img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blog-card-date {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7c88a0;
}

.blog-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.35;
}

.blog-card-title a {
  color: #142552;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: #2660ff;
}

.blog-card-excerpt {
  color: #4b5567;
  font-size: 0.98rem;
  line-height: 1.6;
}

.blog-card-footer {
  padding: 0 1.5rem 1.25rem;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #4b5567;
  font-size: 0.9rem;
}

.blog-card-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-card-tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2660ff;
  background: rgba(38, 96, 255, 0.12);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}

.empty-state {
  text-align: center;
  padding: 4rem 0;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 35px -25px rgba(22, 38, 79, 0.35);
}

.empty-state h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.empty-state p {
  color: #4b5567;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: #4b5567;
}

.blog-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
}

.blog-post-layout {
  padding: 0 0 4rem;
}

.blog-post-card {
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 25px 40px -28px rgba(22, 38, 79, 0.35);
}

.post-cover {
  margin: 0;
  overflow: hidden;
}

.post-cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.post-body {
  padding: 1rem 2.2rem 2.5rem;
}

.blog-content {
  color: #27324c;
  line-height: 1.8;
  font-size: 1.02rem;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #152348;
}

.blog-content p {
  margin-bottom: 1.5rem;
}

.blog-content a {
  color: #2660ff;
  text-decoration: underline;
}

.blog-content blockquote {
  border-left: 4px solid #2660ff;
  padding-left: 1.5rem;
  color: #505b71;
  font-style: italic;
}

.blog-content ul,
.blog-content ol {
  margin: 0 0 1.5rem 1.5rem;
  padding: 0;
}

.blog-content li {
  margin-bottom: 0.75rem;
}

.blog-content img {
  width: 100%;
  border-radius: 16px;
  margin: 2rem 0;
}

.blog-content pre {
  background: #0f1b3d;
  color: #ffffff;
  padding: 1.25rem;
  border-radius: 12px;
  overflow-x: auto;
}

.blog-sidebar {
  position: sticky;
  top: 6rem;
}

.sidebar-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 2rem 1.8rem;
  box-shadow: 0 20px 40px -30px rgba(22, 38, 79, 0.45);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #142552;
}

.recommended-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  text-decoration: none;
  padding: 0.75rem 0.5rem;
  border-radius: 16px;
  color: #142552;
}

.recommended-card:hover {
  background: rgba(38, 96, 255, 0.08);
}

.recommended-thumbnail {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
}

.recommended-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recommended-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.recommended-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.recommended-meta {
  font-size: 0.85rem;
  color: #4b5567;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.sidebar-empty {
  color: #4b5567;
}

@media (max-width: 991.98px) {
  .blog-sidebar {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .blog-hero {
    padding: 4rem 0 3rem;
  }

  .blog-card-body,
  .blog-card-footer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .post-body {
    padding: 1.75rem 1.5rem 2rem;
  }
}

@media (max-width: 575.98px) {
  .blog-hero-title {
    font-size: 2.1rem;
  }

  .blog-card {
    border-radius: 16px;
  }
}