/* Blog: complementa assets/css/noticias.css (mesmo layout da pagina de noticias). */

.blog-reader .news-reader__header h2 {
  margin-bottom: 20px;
}

.blog-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 clamp(26px, 3vw, 38px);
}

.blog-byline img {
  display: block;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  padding: 2px;
  border: 2px solid var(--news-orange);
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}

.blog-byline p {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  min-width: 0;
  margin: 0;
  color: var(--news-muted);
  font-size: .92rem;
  line-height: 1.35;
}

.blog-byline strong {
  color: var(--news-ink);
  font-weight: 800;
}

.blog-byline em {
  color: var(--news-green);
  font-size: .8rem;
  font-style: normal;
  font-weight: 700;
}

.blog-byline [hidden],
.blog-author-card [hidden] {
  display: none !important;
}

.news-reader__author.blog-author-card {
  align-items: flex-start;
  gap: 20px;
  padding: 26px 28px;
  border: 1px solid var(--news-line);
  border-radius: var(--arte-radius-md,16px);
  background: #fff;
  box-shadow: var(--news-shadow);
}

.news-reader__author.blog-author-card img {
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  padding: 3px;
  border: 2px solid var(--news-orange);
}

.blog-author-card > div {
  min-width: 0;
}

.news-reader__author.blog-author-card strong {
  font-size: 1.14rem;
}

.blog-author-card em {
  display: block;
  margin-top: 4px;
  color: var(--news-green);
  font-size: .84rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
}

.blog-author-card p {
  margin: 12px 0 0;
  color: var(--news-muted);
  font-size: .95rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.blog-side-item__author {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  margin-top: 8px;
  color: var(--news-muted);
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.2;
}

.blog-side-item__author img {
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px var(--news-line);
  object-fit: cover;
}

.blog-page .news-empty p {
  margin: 10px 0 0;
  color: var(--news-muted);
  line-height: 1.6;
}

@media (max-width: 560px) {
  .blog-byline {
    gap: 10px;
  }

  .blog-byline img {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .news-reader__author.blog-author-card {
    flex-direction: column;
    gap: 14px;
    padding: 20px;
  }

  .news-reader__author.blog-author-card img {
    flex: none;
    width: 72px;
    height: 72px;
  }
}

html:root body .c-content.blog-page > .news-page__hero.has-bg::before {
  background: linear-gradient(90deg, rgba(0,0,0,.67), rgba(0,0,0,.16)) !important;
}
html:root body .blog-page > .news-page__hero.has-bg :is(h1,.o-breadcrumb,.o-breadcrumb a,.o-breadcrumb i) {
  color:#fff !important;
  text-shadow:0 1px 3px #000;
}
.blog-page [data-blog-media] figure,
.blog-page .blog-side-item .news-side-item__media {
  background:transparent;
  box-shadow:none;
}
.blog-page .blog-author-instagram:not([hidden]) {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  min-height:36px;
  margin-top:4px;
  color:#1f5a40;
  text-decoration:none;
}
.blog-page .blog-author-instagram .ic {font-size:20px}
