/* blog_details.css */
.nx-article-hero {
  padding: 28px 0 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #052c65 0%, #0d6efd 55%, #6ea8fe 100%);
}
.nx-article-hero .container { position: relative; z-index: 2; }
.nx-article-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.nx-article-crumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.nx-article-crumb a:hover { color: #ffc221; }
.nx-article-crumb span { color: #ffc221; }
.nx-article-hero h1 {
  margin: 0 auto;
  max-width: 860px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  text-align: center;
}
.nx-article-wrap {
  background: #f4f7fb;
  padding: 40px 0 70px;
}
.nx-article-card {
  background: #fff;
  border: 1px solid #e6edf5;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(5, 44, 101, .06);
}
.nx-article-cover {
  position: relative;
  background: linear-gradient(135deg, #052c65, #0d6efd);
  min-height: 180px;
}
.nx-article-cover img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
}
.nx-article-cover-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  color: rgba(255,255,255,.7);
  font-size: 42px;
}
.nx-article-date {
  position: absolute;
  right: 18px;
  bottom: -16px;
  min-width: 56px;
  padding: 8px 10px;
  text-align: center;
  background: #ffc221;
  color: #052c65;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(255, 194, 33, .35);
}
.nx-article-date strong,
.nx-article-date span {
  display: block;
  line-height: 1.1;
  color: #052c65;
}
.nx-article-date strong { font-size: 18px; }
.nx-article-date span { font-size: 12px; font-weight: 700; text-transform: uppercase; }
.nx-article-body { padding: 36px 28px 28px; }
.nx-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
}
.nx-article-meta i { color: #0d6efd; margin-right: 4px; }
.nx-article-body h2.nx-article-title {
  margin: 0 0 18px;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 800;
  color: #052c65;
  line-height: 1.35;
}
.entry-content {
  line-height: 1.75;
  color: #334155;
  overflow-wrap: break-word;
}
.entry-content p { margin: 0 0 1rem; }
.entry-content ul {
  list-style: disc outside !important;
  margin: 1rem 0 1.25rem !important;
  padding: 0 0 0 1.5rem !important;
}
.entry-content ol {
  list-style: decimal outside !important;
  margin: 1rem 0 1.25rem !important;
  padding: 0 0 0 1.5rem !important;
}
.entry-content ul li,
.entry-content ol li {
  display: list-item !important;
  margin: 0 0 .5rem !important;
  padding: 0 !important;
  font-size: 15px;
  line-height: 1.7;
  color: #334155;
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
}
.entry-content table th,
.entry-content table td {
  border: 1px solid #ced4da;
  padding: 10px 14px;
  text-align: left;
  font-size: 14px;
}
.entry-content table th,
.entry-content table tr:first-child td {
  background: #052c65;
  color: #fff;
  font-weight: 600;
}
.nx-side-card {
  background: #fff;
  border: 1px solid #e6edf5;
  border-radius: 14px;
  padding: 18px 18px 10px;
  margin-bottom: 18px;
  box-shadow: 0 8px 22px rgba(5, 44, 101, .05);
}
.nx-side-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: #052c65;
  padding-bottom: 10px;
  border-bottom: 2px solid #ffc221;
}
.nx-side-card ul {
  list-style: disc;
  margin: 0;
  padding: 0 0 0 18px;
}
.nx-side-card li::marker {
  color: #ffc221;
  font-size: 1.05em;
}
.nx-side-card li {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid #eef2f7;
}
.nx-side-card li:last-child { border-bottom: 0; }
.nx-side-card a {
  color: #0d6efd;
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
  font-weight: 500;
}
.nx-side-card a:hover { color: #052c65; text-decoration: underline; }
.blog-author-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding: 16px 18px;
  background: #f8fbff;
  border: 1px solid #e5eaf0;
  border-left: 4px solid #052c65;
  border-radius: 10px;
}
.blog-author-box .author-left { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1; }
.blog-author-box .author-photo,
.blog-author-box .author-photo-fallback {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover; display: block;
}
.blog-author-box .author-photo-fallback {
  background: linear-gradient(135deg, #052c65, #0d6efd);
  color: #fff; font-size: 18px; font-weight: 700; line-height: 56px; text-align: center;
}
.blog-author-box .author-eyebrow {
  display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  font-weight: 600; color: #64748b; margin: 0 0 2px;
}
.blog-author-box .author-name { font-size: 17px; font-weight: 700; color: #0f172a; margin: 0; }
.blog-author-box .author-role-badge {
  display: inline-block; font-size: 11px; font-weight: 600; color: #052c65;
  background: #e8f0fe; padding: 2px 8px; border-radius: 4px; margin-top: 4px;
}
.blog-author-box .author-actions { display: flex; gap: 8px; }
.blog-author-box .author-icon-btn {
  width: 40px; height: 40px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; color: #fff; font-size: 18px; text-decoration: none;
}
.blog-author-box .author-icon-btn.call { background: #0d6efd; }
.blog-author-box .author-icon-btn.whatsapp { background: #25d366; }
@media (max-width: 767px) {
  .nx-article-hero { padding: 20px 0 20px; }
  .nx-article-body { padding: 32px 16px 20px; }
  .blog-author-box { flex-wrap: wrap; }
}
