/* Blog: layout articolo, tipografia body, sidebar, share, commenti */

.bm-article-layout {
  --bm-article-gap: 2rem;
}

.bm-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  align-items: center;
  color: rgba(255, 255, 255, .65);
  font-size: .925rem;
}

.bm-article-meta__item {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.bm-article-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 1rem;
}

.bm-article-body {
  color: rgba(255, 255, 255, .82);
  font-size: 1.125rem;
  line-height: 1.75;
}

.bm-article-body > *:first-child {
  margin-top: 0;
}

.bm-article-body h2,
.bm-article-body h3,
.bm-article-body h4 {
  color: #fff;
  margin-top: 2rem;
  margin-bottom: .85rem;
  line-height: 1.3;
}

.bm-article-body h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
}

.bm-article-body h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
}

.bm-article-body p {
  margin-bottom: 1.15rem;
}

.bm-article-body ul,
.bm-article-body ol {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
}

.bm-article-body li {
  margin-bottom: .45rem;
}

.bm-article-body a {
  color: #b7a3ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bm-article-body strong {
  color: #fff;
  font-weight: 650;
}

.bm-article-body blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid #6e4ef2;
  background: rgba(110, 78, 242, .12);
  border-radius: 0 .75rem .75rem 0;
  color: rgba(255, 255, 255, .9);
}

.bm-article-body img {
  max-width: 100%;
  height: auto;
  border-radius: .75rem;
  margin: 1.25rem 0;
}

.bm-article-share {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}

.bm-article-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 .85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease;
}

.bm-article-share__btn:hover {
  border-color: #6e4ef2;
  background: rgba(110, 78, 242, .18);
  color: #fff;
}

.bm-article-sidebar .bm-side-card {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .03);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.bm-article-sidebar .bm-side-card h3 {
  font-size: 1rem;
  margin: 0 0 1rem;
  color: #fff;
}

.bm-side-popular__item {
  display: block;
  padding: .7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  text-decoration: none;
  color: inherit;
}

.bm-side-popular__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.bm-side-popular__item:first-child {
  padding-top: 0;
}

.bm-side-popular__title {
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: .2rem;
}

.bm-side-popular__meta {
  font-size: .8rem;
  color: rgba(255, 255, 255, .55);
}

.bm-comments__item {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: .9rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, .03);
}

.bm-comments__author {
  color: #fff;
  font-weight: 600;
}

.bm-comments__date {
  font-size: .8rem;
  color: rgba(255, 255, 255, .5);
}

@media (min-width: 992px) {
  .bm-article-sidebar {
    position: sticky;
    top: 1.25rem;
  }
}
