/* URSBID public blog detail */
.blog-detail-breadcrumb { margin-bottom: 0 !important; }

.blog-detail-section {
  padding: 32px 0 64px;
  background: #f8fafc;
}

.blog-detail-container {
  max-width: 1180px;
  margin: 0 auto;
}

.article-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .07);
}

.article-header { padding: 30px 32px 26px; }

.article-category {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 13px;
  padding: 5px 11px;
  color: #2258dc;
  background: #eaf0ff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.article-title {
  margin: 0 0 18px;
  color: #171b41;
  font-size: clamp(29px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.article-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 17px;
  border-top: 1px solid #edf1f5;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  color: #64748b;
  font-size: 13px;
}

.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta i { color: #2a66ff; }

.article-share {
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-share-label {
  margin-right: 2px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.article-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #475569;
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 50%;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.article-share a:hover {
  color: #fff;
  background: #2a66ff;
  border-color: #2a66ff;
  transform: translateY(-1px);
}

.article-hero {
  overflow: hidden;
  margin: 0 32px;
  aspect-ratio: 16 / 8.5;
  background: #e2e8f0;
  border-radius: 13px;
}

.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body { padding: 30px 32px 34px; }

.post {
  color: #3f4b5f;
  font-size: 16px;
  line-height: 1.82;
  overflow-wrap: anywhere;
}

.post > :first-child { margin-top: 0; }
.post > :last-child { margin-bottom: 0; }

.post p { margin: 0 0 1.2rem; color: #3f4b5f; line-height: 1.82; }

.post h2,
.post h3,
.post h4 {
  color: #171b41;
  font-weight: 800;
  line-height: 1.35;
}

.post h2 {
  margin: 2.35rem 0 .85rem;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf1f5;
  font-size: 27px;
}

.post h3 { margin: 1.8rem 0 .65rem; font-size: 21px; }
.post h4 { margin: 1.5rem 0 .55rem; font-size: 18px; }

.post ul,
.post ol {
  margin: 0 0 1.3rem;
  padding-left: 1.35rem;
}

.post li { margin-bottom: .48rem; padding-left: .18rem; }
.post li::marker { color: #2a66ff; }

.post a { color: #2a66ff; text-decoration: underline; text-underline-offset: 3px; }
.post a:hover { color: #1f54dc; }

.post img {
  max-width: 100%;
  height: auto;
  margin: 1rem auto;
  border-radius: 12px;
}

.post blockquote {
  margin: 1.6rem 0;
  padding: 18px 20px;
  color: #334155;
  background: #f5f8ff;
  border-left: 4px solid #2a66ff;
  border-radius: 0 10px 10px 0;
}

.post table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 1.6rem 0;
  overflow-x: auto;
  border-collapse: collapse;
  white-space: normal;
}

.post table th,
.post table td {
  min-width: 135px;
  padding: 12px 14px;
  border: 1px solid #dfe6ef;
  text-align: left;
  vertical-align: top;
}

.post table th { color: #172033; background: #eef3ff; font-weight: 800; }
.post table tr:nth-child(even) td { background: #f8fafc; }

.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #e2e8f0;
}

.article-tags-label { margin-right: 3px; color: #172033; font-size: 14px; font-weight: 800; }

.article-tags a,
.article-tags-empty {
  display: inline-flex;
  padding: 6px 11px;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.article-tags a:hover { color: #2a66ff; background: #f5f8ff; border-color: #9bb8ff; }

.related-posts-section {
  padding: 0 0 72px;
  background: #f8fafc;
}

.related-heading-wrap {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.related-eyebrow {
  margin-bottom: 5px;
  color: #2a66ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.related-heading { margin: 0; color: #171b41; font-size: 27px; font-weight: 800; }

.related-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 13px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.related-card:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(15, 23, 42, .1); }

.related-card-image { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #e2e8f0; }
.related-card-image img { width: 100%; height: 100%; object-fit: cover; }
.related-card-body { padding: 15px; }

.related-card-title {
  display: -webkit-box;
  min-height: 44px;
  margin: 9px 0 8px;
  overflow: hidden;
  color: #172033;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.related-card-title:hover { color: #2a66ff; }

@media (max-width: 991.98px) {
  .blog-detail-section { padding-top: 28px; }
  .article-card { margin-bottom: 8px; }
}

@media (max-width: 575.98px) {
  .blog-detail-section { padding: 24px 0 46px; }
  .article-header { padding: 22px 18px 19px; }
  .article-title { font-size: 27px; }
  .article-meta-row { align-items: flex-start; flex-direction: column; }
  .article-share-label { display: none; }
  .article-hero { margin: 0 14px; aspect-ratio: 16 / 10; border-radius: 10px; }
  .article-body { padding: 23px 18px 26px; }
  .post { font-size: 15px; line-height: 1.75; }
  .post p { line-height: 1.75; }
  .post h2 { margin-top: 2rem; font-size: 23px; }
  .post h3 { font-size: 19px; }
  .related-posts-section { padding-bottom: 50px; }
  .related-heading { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .article-share a,
  .related-card { transition: none; }
}

