/* Blog article detail page */
.blog-article {
  padding: 18px 0 32px;
}

.blog-article__breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.86rem;
  color: #64748b;
}

.blog-article__breadcrumb a {
  color: #004a7e;
  text-decoration: none;
  font-weight: 600;
}

.blog-article__breadcrumb a:hover {
  text-decoration: underline;
}

.blog-article__breadcrumb span[aria-hidden="true"] {
  color: #cbd5e1;
}

.blog-article__hero {
  border-radius: 20px;
  overflow: hidden;
  background: #0b1f3a;
  border: 1px solid #1e3a5f;
  margin-bottom: 24px;
  line-height: 0;
}

.blog-article__hero img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
  vertical-align: middle;
}

.blog-article__header {
  max-width: 820px;
  margin-bottom: 28px;
}

.blog-article__category {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 74, 126, 0.08);
  color: #004a7e;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-article__title {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #0f172a;
  font-weight: 800;
}

.blog-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  color: #64748b;
  font-size: 0.92rem;
}

.blog-article__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-article__meta-item svg {
  flex-shrink: 0;
  color: #94a3b8;
}

.blog-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}

.blog-article__body {
  padding: 32px 36px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}

.blog-article__body.rich-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #334155;
}

.blog-article__body.rich-content > *:first-child {
  margin-top: 0;
}

.blog-article__body.rich-content h2,
.blog-article__body.rich-content h3,
.blog-article__body.rich-content h4 {
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 2rem 0 0.75rem;
  line-height: 1.3;
}

.blog-article__body.rich-content h2 {
  font-size: 1.5rem;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2e8f0;
}

.blog-article__body.rich-content h3 {
  font-size: 1.2rem;
}

.blog-article__body.rich-content p {
  margin: 0 0 1.15rem;
}

.blog-article__body.rich-content ul,
.blog-article__body.rich-content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.4rem;
}

.blog-article__body.rich-content li {
  margin-bottom: 0.5rem;
}

.blog-article__body.rich-content a {
  color: #004a7e;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-article__body.rich-content a:hover {
  color: #ff7829;
}

.blog-article__body.rich-content strong {
  color: #0f172a;
  font-weight: 700;
}

.blog-article__body.rich-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.25rem 0;
}

.blog-article__body.rich-content blockquote {
  margin: 1.5rem 0;
  padding: 16px 20px;
  border-left: 4px solid #004a7e;
  background: #f8fafc;
  border-radius: 0 12px 12px 0;
  color: #475569;
}

.blog-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 96px;
}

.blog-aside__card {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.blog-aside__card h3 {
  margin: 0 0 14px;
  font-size: 1rem;
  color: #0f172a;
}

.blog-aside__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-aside__list a {
  display: block;
  color: #334155;
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 500;
  transition: color 0.2s ease;
}

.blog-aside__list a:hover {
  color: #004a7e;
}

.blog-aside__share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-related {
  padding: 28px 0 40px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}

.blog-related__title {
  margin: 0 0 24px;
  font-size: 1.5rem;
  color: #0f172a;
}

.blog-related .blog-card {
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-related .blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.blog-related .blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-related .blog-card__body {
  padding: 20px;
}

.blog-related .blog-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.35;
}

.blog-related .blog-card h3 a {
  color: #0f172a;
  text-decoration: none;
}

.blog-related .blog-card h3 a:hover {
  color: #004a7e;
}

@media (max-width: 1023px) {
  .blog-detail-grid {
    grid-template-columns: 1fr;
  }

  .blog-aside {
    position: static;
  }

  .blog-article__body {
    padding: 24px 20px;
  }
}

@media (max-width: 640px) {
  .blog-article {
    padding-top: 14px;
  }
}
