/* Blog do mrfab.dev — usa os tokens e componentes de /styles.css */
.narrow { width: min(780px, 92%); margin-inline: auto; }
.page-hero { padding: 9rem 0 3.5rem; background: radial-gradient(60% 100% at 85% 0%, rgba(37, 99, 235, 0.18), transparent 70%); }
.page-hero h1 { max-width: 22ch; }
.page-hero .lead { max-width: 60ch; }
.page-hero .tag { display: inline-block; margin-bottom: 1.2rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.6rem; font-size: 0.85rem; color: var(--muted); margin-bottom: 1.6rem; }
.crumbs a:hover { color: var(--cyan); }
.crumbs span { opacity: 0.5; }
.art-meta { margin-top: 1.4rem; font-size: 0.9rem; color: var(--muted); }

.areas-blog { display: flex; gap: 0.6rem; margin-top: 2rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.areas-blog::-webkit-scrollbar { display: none; }
.areas-blog a { flex: none; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid var(--border); font-size: 0.88rem; font-weight: 600; color: var(--muted); transition: border-color 0.2s, color 0.2s; }
.areas-blog a span { font-size: 0.72rem; opacity: 0.7; }
.areas-blog a:hover { border-color: var(--cyan); color: var(--cyan); }
.areas-blog a[aria-current] { background: var(--grad); border-color: transparent; color: #04121f; }

.blog { padding-top: 2rem; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.post { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.25s ease, border-color 0.25s ease; }
.post:hover { transform: translateY(-4px); border-color: rgba(56, 189, 248, 0.35); }
.post .cover { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; color: var(--cyan); background: linear-gradient(140deg, #0f1d36, #06080d 75%); overflow: hidden; }
.post .cover svg { width: 30%; fill: none; stroke: currentColor; stroke-width: 1; opacity: 0.85; }
.post .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.post:hover .cover img { transform: scale(1.05); }
.chip { position: absolute; top: 14px; left: 14px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; background: rgba(6, 8, 13, 0.85); color: var(--cyan); border: 1px solid var(--border); }
.post .body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.meta { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.7rem; }
.post h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.post p { font-size: 0.93rem; color: var(--muted); }
.post .read { margin-top: auto; padding-top: 1rem; font-size: 0.88rem; font-weight: 600; color: var(--cyan); }
.post .read::after { content: " →"; }
.vazio { color: var(--muted); }

.art { padding-bottom: 4rem; }
.art-capa { margin: 0 0 2.5rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.art-capa img { width: 100%; height: auto; }
.prose { font-size: 1.07rem; line-height: 1.75; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.2em; color: #c3ccda; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 2.4rem 0 0.8rem; }
.prose h3 { font-size: 1.25rem; margin: 1.8rem 0 0.6rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: 0.5rem; }
.prose li::marker { color: var(--cyan); }
.prose strong { color: var(--text); }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose figure { margin: 2rem 0; }
.prose img { width: 100%; height: auto; border-radius: 14px; }
.prose figcaption { margin-top: 0.6rem; font-size: 0.88rem; color: var(--muted); text-align: center; }
.prose blockquote { margin: 1.8rem 0; padding: 0.2rem 0 0.2rem 1.2rem; border-left: 3px solid var(--cyan); font-size: 1.15rem; color: var(--text); }
.callout { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; justify-content: space-between; background: linear-gradient(120deg, rgba(37, 99, 235, 0.16), rgba(56, 189, 248, 0.06)); }
.callout:hover { transform: none; }
.callout p { margin: 0; font-family: var(--font-display); font-size: 1.15rem; max-width: 32ch; }
.share { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--border); font-size: 0.9rem; color: var(--muted); }
.share > span { margin-right: 0.3rem; }
.share a, .share button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-width: 40px; height: 40px; padding: 0 0.7rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font: 600 0.86rem var(--font-body); color: var(--text); cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.share svg { width: 17px; height: 17px; fill: currentColor; }
.share a:hover, .share button:hover { border-color: var(--cyan); color: var(--cyan); }
.share .share-nativo { background: var(--grad); color: #04121f; border-color: transparent; padding: 0 1rem; }
.page-hero .share { margin-top: 1.4rem; padding-top: 0; border-top: 0; }
@media (max-width: 620px) { .share [data-copiar] b { display: none; } }

@media (max-width: 960px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } .page-hero { padding-top: 7rem; } }
