.bm-client-wrap {
  max-width: 980px;
  margin: 24px auto;
}

.bm-client-title {
  font-size: 34px;
  line-height: 1.2;
  margin: 0 0 20px;
  color: #0f172a;
  font-weight: 800;
}

.bm-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bm-card {
  background: #fff;
  border: 1px solid #e5edf7;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.bm-card-image-wrap {
  max-height: 260px;
  overflow: hidden;
  background: #f1f5f9;
}

.bm-card-image {
  width: 100%;
  height: auto;
  display: block;
}

.bm-card-body {
  padding: 16px 18px;
}

.bm-card-title {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.3;
}

.bm-card-title a {
  color: #0f172a;
}

.bm-card-title a:hover {
  color: #1d4ed8;
  text-decoration: none;
}

.bm-card-excerpt {
  color: #475569;
  margin-bottom: 14px;
}

.bm-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.bm-read-btn:hover {
  color: #fff;
  text-decoration: none;
  filter: brightness(1.05);
}

.bm-pagination {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 10px;
}

.bm-page-btn {
  border: 1px solid #c8d6ea;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  text-decoration: none;
}

.bm-page-btn:hover {
  text-decoration: none;
  border-color: #94b0d6;
}

.bm-page-current {
  color: #64748b;
  font-size: 13px;
}

.bm-sitemap-link {
  display: inline-block;
  margin-top: 8px;
  color: #1d4ed8;
}

.bm-post {
  background: #fff;
  border: 1px solid #e5edf7;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.bm-post-title {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 800;
}

.bm-post-meta {
  color: #64748b;
  font-size: 13px;
  margin-bottom: 18px;
}

.bm-post-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 16px;
}

.bm-post-content {
  color: #1e293b;
  line-height: 1.75;
  font-size: 16px;
}

.bm-post-content h2,
.bm-post-content h3 {
  color: #0f172a;
}

.bm-back-link {
  display: inline-block;
  margin-top: 20px;
  font-weight: 600;
}

.bm-related {
  margin-top: 18px;
  padding: 18px 20px;
  background: #f8fbff;
  border: 1px solid #e2ecfa;
  border-radius: 12px;
}

.bm-related h3 {
  margin: 0 0 10px;
}

.bm-related ul {
  margin: 0;
  padding-left: 18px;
}

.bm-related li {
  margin-bottom: 6px;
}

@media (max-width: 991px) {
  .bm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .bm-grid {
    grid-template-columns: 1fr;
  }
}

.bm-engagement {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 10px;
}

.bm-like-btn {
  border: 1px solid #c8d6ea;
  background: #fff;
  color: #1e293b;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
}

.bm-like-btn.active {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.bm-like-count {
  font-size: 13px;
  color: #64748b;
}

.bm-comments {
  margin-top: 20px;
  background: #fff;
  border: 1px solid #e5edf7;
  border-radius: 14px;
  padding: 16px;
}

.bm-comment-form textarea {
  width: 100%;
  border: 1px solid #cdd9e8;
  border-radius: 8px;
  padding: 8px;
  min-height: 90px;
}

.bm-comment-item {
  padding: 12px 0;
  border-bottom: 1px solid #edf2f8;
}

.bm-comment-item:last-child {
  border-bottom: 0;
}

.bm-comment-head {
  font-weight: 600;
  color: #0f172a;
}

.bm-comment-time {
  color: #64748b;
  font-size: 12px;
}

.bm-comment-text {
  color: #334155;
  margin-top: 6px;
}

.bm-comment-reply {
  margin-top: 8px;
  margin-left: 14px;
  padding-left: 10px;
  border-left: 3px solid #93c5fd;
}

.bm-hero {
  background: linear-gradient(135deg, #eff6ff, #f8fbff);
  border: 1px solid #dbe7f7;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 16px;
}

.bm-hero-sub {
  margin: 4px 0 0;
  color: #475569;
}

.bm-submit-card {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.bm-submit-card .bm-form-row label {
  display: block;
  margin: 0 0 6px;
  font-weight: 600;
  color: #334155;
}

.bm-submit-card .form-control {
  width: 100%;
  max-width: 100%;
  border: 1px solid #cdd9e8;
  border-radius: 8px;
  padding: 9px 10px;
  background: #fff;
}

.bm-submit-card .form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  outline: none;
}

.bm-submit-footer {
  margin-top: 12px;
}

.bm-my-posts-table th {
  color: #1e3a8a;
}

.bm-my-posts-table td,
.bm-my-posts-table th {
  vertical-align: middle !important;
}

.bm-doc-list {
  margin: 0 0 12px;
  padding-left: 18px;
}

.bm-doc-list li {
  margin-bottom: 8px;
}

/* HostOpy aligned visual refresh */
.bm-client-wrap {
  max-width: 1120px;
  margin: 30px auto;
  padding: 0 10px;
}

.bm-hero {
  background:
    radial-gradient(circle at 12% 20%, rgba(37, 99, 235, 0.12), transparent 42%),
    radial-gradient(circle at 88% 80%, rgba(34, 197, 94, 0.14), transparent 45%),
    linear-gradient(145deg, #f8fbff 0%, #f7fffb 100%);
  border: 1px solid #dce8fa;
  border-radius: 18px;
  padding: 22px 24px;
  margin-bottom: 18px;
}

.bm-hero-list {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.bm-client-title {
  margin-bottom: 8px;
}

.bm-top-actions {
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bm-card {
  border-radius: 18px;
  transition: all 0.3s ease;
  border: 1px solid #e3ecf9;
}

.bm-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 38px rgba(15, 23, 42, 0.12);
  border-color: #cfe0f8;
}

.bm-card-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.bm-card-title {
  font-size: 20px;
  margin: 6px 0 10px;
}

.bm-post {
  border-radius: 18px;
  border-color: #dde8f8;
}

.bm-post-title {
  font-size: 42px;
}

.bm-post-content p,
.bm-post-content li {
  color: #334155;
}

.bm-comments h3,
.bm-related h3 {
  color: #0f172a;
  font-weight: 700;
}

.bm-meta-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d6e2f6;
  background: #f8fbff;
  color: #334155;
  border-radius: 999px;
  padding: 4px 10px;
  margin-right: 6px;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 600;
}

.bm-page-btn {
  border: 1px solid #d4e1f5;
  background: #fff;
  color: #0f172a;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.bm-page-btn:hover {
  text-decoration: none;
  border-color: #b9cdef;
  color: #1d4ed8;
  transform: translateY(-1px);
}

.bm-read-btn {
  border: 1px solid transparent;
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.24);
}

.bm-read-btn:hover {
  transform: translateY(-1px);
}

.bm-pagination {
  background: #f9fcff;
  border: 1px solid #e0eaf8;
  border-radius: 14px;
  padding: 10px 12px;
  display: inline-flex;
}

.bm-related {
  border-radius: 14px;
}

.bm-comments,
.bm-submit-card {
  border-radius: 16px;
  border-color: #dee8f8;
}

.bm-comment-form textarea {
  border-color: #c9daef;
  border-radius: 10px;
}

.bm-comment-form textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  outline: none;
}

.bm-my-posts-table {
  background: #fff;
}

.bm-my-posts-table thead th {
  background: #f2f7ff;
}

@media (max-width: 767px) {
  .bm-post-title {
    font-size: 30px;
  }

  .bm-card-image {
    height: 180px;
  }
}
