/* Blog: listagem, artigo e 404 no sistema visual da Scase. */
.blog-hero, .article__hero { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--paper); }
.blog-hero::before, .article__hero::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .22; background-image: linear-gradient(#444 1px, transparent 1px), linear-gradient(90deg, #444 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, transparent 15%, #000 100%); }
.blog-hero::after { content: ''; position: absolute; width: min(58vw, 790px); aspect-ratio: 1; right: -14%; top: -40%; z-index: -1; border: 1px solid rgb(9 234 107 / .32); border-radius: 50%; box-shadow: 0 0 0 100px rgb(9 234 107 / .035), 0 0 0 210px rgb(9 234 107 / .025); pointer-events: none; }

.blog-hero__inner { min-height: clamp(460px, 60svh, 680px); padding: 36px var(--gutter) clamp(48px, 6vw, 80px); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.blog-hero h1 { max-width: 14ch; font-size: clamp(48px, 7vw, 120px); line-height: .96; letter-spacing: -.06em; font-weight: 800; font-stretch: 110%; }
.blog-hero h1 em { display: block; color: var(--green); font-weight: 600; font-stretch: 80%; }
.blog-hero p { max-width: 52ch; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .3); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.4; color: #d7ddd7; }
.blog-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.btn--outline-light { border-color: var(--paper); color: var(--paper); }
.btn--outline-light:hover { background: var(--paper); color: var(--ink); }
.blog-hero--404 .blog-hero__inner { min-height: clamp(520px, 75svh, 820px); }

.article__meta { display: flex; justify-content: space-between; gap: 20px; color: var(--muted-light); }
.article__meta a { color: var(--green); }
.article__hero-inner { padding: 36px var(--gutter) clamp(40px, 5vw, 70px); display: flex; flex-direction: column; gap: clamp(40px, 6vw, 90px); }
.article__title { max-width: 22ch; font-size: clamp(36px, 5.2vw, 84px); line-height: 1.02; letter-spacing: -.05em; font-weight: 800; font-stretch: 105%; text-wrap: balance; }
.article__info { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .3); font: 11px var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted-light); }
.article__info time { color: var(--green); }
.article__cover { margin: 0 var(--gutter) clamp(40px, 5vw, 70px); overflow: hidden; border-radius: var(--image-radius); background: var(--ink); }
.article__cover img { display: block; width: 100%; height: auto; max-height: 720px; object-fit: cover; }

.article__body { max-width: 760px; margin: 0 auto; padding: clamp(56px, 7vw, 110px) var(--gutter); font-size: clamp(17px, 1.2vw, 19px); line-height: 1.7; color: var(--text-soft); }
.article__body > * + * { margin-top: 1.1em; }
.article__body h2 { margin-top: 2.2em; font-size: clamp(28px, 2.8vw, 42px); line-height: 1.1; letter-spacing: -.04em; font-weight: 800; color: var(--ink); text-wrap: balance; }
.article__body h3 { margin-top: 1.8em; font-size: clamp(21px, 1.8vw, 27px); line-height: 1.2; letter-spacing: -.025em; font-weight: 700; color: var(--ink); }
.article__body h2 + *, .article__body h3 + * { margin-top: .7em; }
.article__body strong { color: var(--ink); font-weight: 700; }
.article__body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--green-dark); text-underline-offset: 3px; }
.article__body a:hover { color: var(--green-dark); }
.article__body ul, .article__body ol { padding-left: 1.3em; }
.article__body ul { list-style: none; padding-left: 0; }
.article__body ul > li { position: relative; padding-left: 1.4em; }
.article__body ul > li::before { content: ''; position: absolute; left: 0; top: .72em; width: .5em; height: .5em; border-radius: 50%; background: var(--green-dark); }
.article__body ol { list-style: decimal; }
.article__body ol > li::marker { color: var(--green-dark); font-weight: 700; }
.article__body li + li { margin-top: .5em; }
.article__body blockquote { padding-left: 1.2em; border-left: 3px solid var(--green); font-size: 1.15em; color: var(--ink); }
.article__table { overflow-x: auto; border: 1px solid var(--ink); border-radius: 8px; }
.article__table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.article__table th, .article__table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid #c9c9c3; }
.article__table th { background: var(--ink); color: var(--paper); font-weight: 600; }
.article__table th strong { color: inherit; }
.article__table tr:last-child td { border-bottom: 0; }

.article-cta { background: var(--green); padding: clamp(64px, 8vw, 120px) var(--gutter); }
.article-cta__content { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; margin-top: clamp(40px, 5vw, 70px); }
.article-cta h2 { max-width: 14ch; font-size: clamp(38px, 5vw, 80px); line-height: 1.02; letter-spacing: -.05em; font-weight: 800; font-stretch: 110%; }
.article-cta h2 em { font-weight: 600; font-stretch: 80%; }

@media (max-width: 640px) {
  .article__meta { flex-direction: column; gap: 6px; }
  .article__body ul > li { padding-left: 1.2em; }
}
