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

.blog-listing-section {
  padding: 32px 0 72px;
  background: #f8fafc;
}

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

.blog-page-intro {
  max-width: 700px;
  margin-bottom: 32px;
}

.blog-eyebrow {
  margin-bottom: 8px;
  color: #2a66ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.blog-page-title {
  margin: 0 0 10px;
  color: #171b41;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.blog-page-description {
  margin: 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.7;
}

.blog-card-grid { row-gap: 24px; }

.card-blog {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .055);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.card-blog:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .11);
}

.card-blog-image {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e2e8f0;
}

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

.card-blog:hover .card-blog-image img { transform: scale(1.025); }

.card-blog-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.card-blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}

.badge-cat {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  color: #2258dc;
  background: #eaf0ff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.blog-meta-text {
  color: #64748b;
  font-size: 12px;
  white-space: nowrap;
}

.card-blog-title {
  display: -webkit-box;
  min-height: 48px;
  margin: 0 0 9px;
  overflow: hidden;
  color: #172033;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.42;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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

.card-blog-description {
  display: -webkit-box;
  margin: 0 0 16px;
  overflow: hidden;
  color: #64748b;
  font-size: 14px;
  line-height: 1.62;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.card-blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  margin-top: auto;
  color: #2a66ff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.card-blog-link i { transition: transform .2s ease; }
.card-blog-link:hover { color: #1f54dc; }
.card-blog-link:hover i { transform: translateX(3px); }

.blog-empty-state {
  padding: 36px;
  color: #475569;
  text-align: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}

.blog-sidebar-inner {
  position: sticky;
  top: 24px;
}

.blog-widget {
  margin-bottom: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .05);
}

.blog-widget-head {
  padding: 17px 18px 13px;
  color: #171b41;
  font-size: 17px;
  font-weight: 800;
}

.blog-widget-head::after {
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 10px;
  background: #2a66ff;
  border-radius: 99px;
  content: '';
}

.blog-widget-body { padding: 0 18px 18px; }

.blog-search-widget { padding: 10px; }

.blog-searchbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 4px 12px;
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
}

.blog-searchbar:focus-within {
  border-color: #2a66ff;
  box-shadow: 0 0 0 3px rgba(42, 102, 255, .12);
}

.blog-searchbar .form-control {
  height: 38px;
  padding: 0;
  border: 0;
  box-shadow: none;
  font-size: 14px;
}

.blog-searchbar .btn {
  min-width: 42px;
  min-height: 38px;
  padding: 7px 12px;
  border-radius: 8px !important;
}

.featured-image {
  display: block;
  overflow: hidden;
  margin-bottom: 14px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
}

.featured-image img { width: 100%; height: 100%; object-fit: cover; }

.featured-title {
  display: block;
  margin: 10px 0 6px;
  color: #172033;
  font-weight: 800;
  line-height: 1.45;
  text-decoration: none;
}

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

.featured-excerpt {
  display: -webkit-box;
  margin: 8px 0 12px;
  overflow: hidden;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.mini-post {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #edf1f5;
}

.mini-post:first-child { padding-top: 0; }
.mini-post:last-child { padding-bottom: 0; border-bottom: 0; }

.mini-post-image {
  flex: 0 0 78px;
  height: 58px;
  overflow: hidden;
  border-radius: 8px;
  background: #e2e8f0;
}

.mini-post-image img { width: 100%; height: 100%; object-fit: cover; }

.mini-post-title {
  display: -webkit-box;
  margin-bottom: 5px;
  overflow: hidden;
  color: #172033;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mini-post-title:hover { color: #2a66ff; }

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-follow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #475569;
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 50%;
  font-size: 16px;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.social-follow-btn:hover {
  color: #fff;
  background: #2a66ff;
  border-color: #2a66ff;
  transform: translateY(-2px);
}

/* Pagination */
.blog-pagination-shell {
  width: 100%;
  max-width: none;
  margin: 36px auto 0;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .07);
  text-align: center;
}

.blog-pagination-status {
  margin-bottom: 11px;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 42px;
  height: 42px;
  padding: 0 13px;
  color: #334155;
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 9px !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
}

.blog-pagination .page-link:hover {
  color: #2a66ff;
  background: #f5f8ff;
  border-color: #9bb8ff;
}

.blog-pagination .page-item.active .page-link {
  color: #fff;
  background: #2a66ff;
  border-color: #2a66ff;
  box-shadow: 0 5px 12px rgba(42, 102, 255, .25);
}

.blog-pagination .page-item.disabled .page-link {
  color: #94a3b8;
  background: #f8fafc;
  border-color: #e2e8f0;
  pointer-events: none;
}

.blog-pagination .page-ellipsis {
  min-width: 28px;
  color: #64748b;
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .blog-listing-section { padding-top: 28px; }
  .blog-sidebar-inner { position: static; }
}

@media (max-width: 575.98px) {
  .blog-listing-section { padding: 28px 0 48px; }
  .blog-page-intro { margin-bottom: 24px; }
  .blog-page-title { font-size: 31px; }
  .blog-page-description { font-size: 14px; }
  .card-blog-body { padding: 16px; }
  .card-blog-title { min-height: auto; }
  .blog-pagination-shell { padding: 14px 10px; }
  .blog-pagination { gap: 5px; }
  .blog-pagination .page-link { min-width: 38px; height: 38px; padding: 0 10px; }
  .blog-pagination-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .card-blog,
  .card-blog-image img,
  .card-blog-link i,
  .social-follow-btn { transition: none; }
}
