/* Artigo do blog: coluna editorial, índice e um bloco de produto. */

.blog-layout--post {
  padding-top: 2.25rem;
  background: #fff;
}

.blog-post-grid {
  display: block;
}

.blog-share--rail,
.blog-post-page .blog-aside {
  display: none;
}

.blog-post-title {
  margin: 0;
  max-width: 38rem;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--pp-text, #1a2b3c);
}

.blog-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-kicker a {
  color: var(--pp-primary, #1F80A6);
  text-decoration: none;
}

.blog-kicker a:hover {
  text-decoration: underline;
}

.blog-dek {
  margin: 0.8rem 0 0;
  max-width: 38rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--pp-text-muted, #5a6b7a);
}

.blog-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 1rem 0 0;
  max-width: 38rem;
  color: var(--pp-text-muted, #5a6b7a);
  font-size: 0.92rem;
  line-height: 1.45;
}

.blog-byline span:not(:last-of-type)::after {
  content: "·";
  margin: 0 0.55rem;
  color: #9aa8b3;
}

.blog-byline strong {
  font-weight: 650;
  color: var(--pp-text, #1a2b3c);
}

.blog-breadcrumb-current {
  color: var(--pp-text, #1a2b3c);
}

.blog-article,
.blog-post-title,
.blog-dek,
.blog-byline,
.blog-key-points,
.blog-toc-inline,
.blog-product,
.blog-faq,
.blog-author-block,
.blog-tags {
  max-width: 38rem;
}

.blog-article-cover {
  margin: 1.35rem 0 1.5rem;
  box-shadow: none;
}

.blog-article-cover img {
  width: 100%;
  max-height: none;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-article-cover figcaption {
  margin-top: 0.45rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--pp-text-muted, #5a6b7a);
}

.blog-share--inline {
  margin: 0.9rem 0 0;
}

.blog-key-points {
  margin: 0 0 1.5rem;
  padding: 1.05rem 1.1rem 1.1rem;
  background: #f4f8fa;
  border: 1px solid #d5e3ea;
  border-radius: 0.85rem;
}

.blog-key-points-title,
.blog-toc-inline-title {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--pp-text, #1a2b3c);
}

.blog-key-points ul,
.blog-toc-inline ol {
  margin: 0;
  padding-left: 1.2rem;
}

.blog-key-points li + li,
.blog-toc-inline li + li {
  margin-top: 0.4rem;
}

.blog-key-points a,
.blog-toc-inline a {
  color: var(--pp-text, #1a2b3c);
  text-decoration: none;
}

.blog-key-points a:hover,
.blog-toc-inline a:hover,
.blog-toc-inline a.is-active {
  color: var(--pp-primary, #1F80A6);
  text-decoration: underline;
}

.blog-toc-inline {
  margin: 0 0 2rem;
}

.blog-article-body {
  max-width: 65ch;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.blog-article-body > p:first-of-type {
  font-size: 1.125rem;
  line-height: 1.7;
}

.blog-article-body h2 {
  margin-top: 2.75rem;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  line-height: 1.3;
  scroll-margin-top: 6rem;
}

.blog-article-body h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  scroll-margin-top: 6rem;
}

.blog-article-body h4 {
  margin-top: 1.35rem;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  scroll-margin-top: 6rem;
}

.blog-article-body p {
  margin: 0 0 1rem;
}

.blog-article-body figure {
  margin: 1.5rem 0;
}

.blog-article-body figcaption {
  margin-top: 0.45rem;
  font-size: 0.85rem;
  color: var(--pp-text-muted, #5a6b7a);
}

.blog-article-body hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid #d5e3ea;
}

.blog-article-body pre {
  overflow-x: auto;
  margin: 1.25rem 0;
  padding: 1rem;
  border-radius: 0.6rem;
  background: #f4f7f8;
  font-size: 0.9rem;
  line-height: 1.55;
}

.blog-article-body iframe {
  max-width: 100%;
}

.blog-table-scroll {
  overflow-x: auto;
  margin: 1.25rem 0 1.5rem;
  -webkit-overflow-scrolling: touch;
}

.blog-article-body .blog-table-scroll table {
  width: 100%;
  min-width: 28rem;
  margin: 0;
}

.blog-article-body th {
  background: color-mix(in srgb, var(--pp-primary, #1F80A6) 8%, #fff);
  font-weight: 650;
  text-align: left;
  vertical-align: top;
}

.blog-article-body td {
  text-align: left;
  vertical-align: top;
}

.blog-article-body caption {
  caption-side: top;
  padding-bottom: 0.4rem;
  text-align: left;
  font-size: 0.9rem;
  color: var(--pp-text-muted, #5a6b7a);
}

.blog-tag {
  cursor: default;
}

.blog-product {
  margin-top: 2.5rem;
  padding: 1.35rem 1.25rem 1.4rem;
  border: 1px solid #d5e3ea;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 40, 60, 0.05);
}

.blog-product-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pp-primary, #1F80A6);
}

.blog-product h2 {
  margin: 0 0 0.55rem;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--pp-text, #1a2b3c);
}

.blog-product p {
  margin: 0 0 1rem;
  color: var(--pp-text-muted, #5a6b7a);
}

.blog-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  align-items: center;
}

.blog-product-wa {
  color: var(--pp-primary, #1F80A6);
  font-weight: 650;
  text-decoration: none;
}

.blog-product-wa:hover {
  text-decoration: underline;
}

.blog-faq {
  margin-top: 2.5rem;
}

.blog-faq h2 {
  scroll-margin-top: 6rem;
}

.blog-faq h3 {
  margin: 1.35rem 0 0.35rem;
  font-size: 1.12rem;
  line-height: 1.35;
  color: var(--pp-text, #1a2b3c);
}

.blog-faq p {
  margin: 0 0 0.65rem;
}

.blog-author-block {
  margin-top: 2.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid #e1e8ee;
}

.blog-author-block-title {
  margin: 0 0 0.45rem;
  font-weight: 700;
  color: var(--pp-text, #1a2b3c);
}

.blog-author-block p {
  margin: 0;
  color: var(--pp-text-muted, #5a6b7a);
}

.blog-related-list {
  display: grid;
  gap: 0.75rem;
}

.blog-post-page .blog-related-card {
  flex-direction: row;
  align-items: stretch;
}

.blog-post-page .blog-related-media {
  width: 7.25rem;
  flex: 0 0 7.25rem;
  aspect-ratio: auto;
  min-height: 5.5rem;
}

.blog-post-page .blog-related-media img {
  height: 100%;
}

.blog-related-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-bottom: 0.85rem;
}

.blog-related-cat {
  display: block;
  padding: 0.75rem 0.9rem 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pp-primary, #1F80A6);
}

.blog-missing {
  padding: 4.5rem 0 5.5rem;
  background: #fff;
}

.blog-missing h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  color: var(--pp-text, #1a2b3c);
}

.blog-missing p {
  margin: 0 0 1rem;
  color: var(--pp-text-muted, #5a6b7a);
  font-size: 1.05rem;
}

.blog-missing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.blog-missing-links a {
  color: var(--pp-primary, #1F80A6);
  font-weight: 650;
  text-decoration: none;
}

.blog-missing-links a:hover {
  text-decoration: underline;
}

@media (min-width: 1100px) {
  .blog-post-grid {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 38rem) 17rem;
    column-gap: 1.5rem;
    justify-content: center;
    align-items: start;
  }

  .blog-share--rail {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    position: sticky;
    top: 6.5rem;
    margin: 0;
  }

  .blog-share--inline {
    display: none;
  }

  .blog-post-page .blog-aside {
    display: grid;
  }
}
