.cm-blog-content {
  font-size: 17px;
  line-height: 1.65;
}

.cm-blog-content h2,
.cm-blog-content h3 {
  margin: 1.35rem 0 0.5rem;
  color: #101828;
  font-weight: 800;
  line-height: 1.25;
}

.cm-blog-content h2 {
  font-size: 1.8rem;
}

.cm-blog-content h3 {
  font-size: 1.35rem;
}

.details-body h3:not(:first-child) {
  margin-top: 20px;
}

.cm-blog-content p,
.cm-blog-content ul,
.cm-blog-content ol {
  margin: 0 0 0.65rem;
}

.cm-blog-content ul,
.cm-blog-content ol {
  padding-left: 1.4rem;
}

.cm-blog-content a {
  color: var(--cm-primary, #465fff);
  font-weight: 700;
  text-decoration: underline;
}

.cm-blog-content img {
  max-width: 100%;
  border-radius: 14px;
}

.cm-blog-list-figure {
  position: relative;
  overflow: hidden;
  border-radius: 20px 0 0 20px;
  margin-left: 0;
  height: 365px;
}

.cm-blog-list-figure img {
  height: 100%;
  object-fit: cover;
  border-radius: 20px 0 0 20px !important;
}

@media (max-width: 1023px) {
  .cm-blog-list-figure {
    margin: 0;
    height: 305px;
  }
}

.cm-blog-list-meta {
  position: absolute;
  right: 14px;
  top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: calc(100% - 28px);
}

.cm-blog-list-meta span,
.cm-blog-list-meta time {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  background: #ffffff;
  color: #101828;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.12);
}

.cm-blog-share-panel {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(16, 24, 40, 0.1);
  border-radius: 18px;
  background: #ffffff !important;
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.12);
}

.cm-blog-share-panel h5 {
  margin: 0;
  color: #101828;
  font-size: 18px;
  font-weight: 800;
}

.cm-blog-share-panel ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cm-blog-share-panel a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 24, 40, 0.12);
  border-radius: 999px;
  padding: 8px 16px;
  color: #101828;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s ease;
}

.cm-blog-share-panel a:hover {
  border-color: var(--color-ns-green, #c6f56f);
  background: var(--color-ns-green, #c6f56f);
}

@media (min-width: 768px) {
  .cm-blog-share-panel {
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: min(330px, calc(100% - 48px));
    margin-top: 0;
    border-color: rgba(16, 24, 40, 0.12);
    background: #ffffff !important;
  }
}

.cm-related-articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .cm-related-articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .cm-related-articles-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
