/* Blog MGL: layout editorial sobre os componentes compartilhados do site. */
.blog-page, .blog-article-page { background: #0c0b0a; }
.blog-page .header, .blog-article-page .header { animation: none; background: #11100e; }
.blog-container { width: min(100% - 8rem, 1300px); margin-inline: auto; }
.blog-eyebrow { display: inline-block; color: #c5a059; font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.blog-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; color: #c4b9a9; font-size: .77rem; }
.blog-breadcrumb a:hover { color: #e7c78b; }
.blog-intro { padding: 4.5rem 0 4rem; background: radial-gradient(circle at 80% 20%, #34281d, #15120f 47%, #0c0b0a 78%); }
.blog-intro .blog-breadcrumb { margin-bottom: 3.2rem; }
.blog-intro-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(230px, .55fr); gap: 4rem; align-items: end; }
.blog-intro h1, .blog-article-hero h1 { font: 400 clamp(3.4rem, 6vw, 6.2rem)/.96 var(--font-serif, Georgia, serif); letter-spacing: -.025em; }
.blog-intro h1 span { color: #c5a059; }
.blog-intro p { color: #d3cbbf; font-size: .98rem; line-height: 1.8; }
.blog-intro-note { border-left: 1px solid #9f8254; padding-left: 1.4rem; }
.blog-intro-note strong { display: block; margin-bottom: .55rem; color: #e3c58e; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; }
.blog-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(245px, .72fr); gap: clamp(1.5rem, 3vw, 3rem); padding-block: 3rem 6rem; }
.blog-featured { overflow: hidden; border: 1px solid rgba(197,160,89,.25); border-radius: 22px; background: #1c1a17; }
.blog-featured-photo { display: block; overflow: hidden; aspect-ratio: 16/9; }
.blog-featured-photo img, .blog-card img, .blog-article-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-featured-photo img, .blog-card img { transition: transform .5s ease; }
.blog-featured:hover img, .blog-card:hover img { transform: scale(1.035); }
.blog-featured-content { padding: clamp(1.5rem, 3vw, 2.7rem); }
.blog-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; color: #c6ad83; font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.blog-featured h2 { max-width: 720px; margin: 1rem 0 .8rem; font: 500 clamp(2rem, 3.4vw, 3rem)/1.02 var(--font-serif, Georgia, serif); }
.blog-featured p { max-width: 650px; color: #cbc5bb; font-size: .9rem; line-height: 1.75; }
.blog-text-link { display: inline-flex; gap: .45rem; align-items: center; margin-top: 1.35rem; color: #e2bd78; font-size: .82rem; font-weight: 600; }
.blog-text-link:hover { color: #f1d9a4; }
.blog-sidebar { display: grid; align-content: start; gap: 1.25rem; }
.blog-side-panel { padding: 1.65rem; border: 1px solid rgba(197,160,89,.24); border-radius: 18px; background: #191714; }
.blog-side-panel h2 { margin: .65rem 0 1rem; font: 500 2rem/1 var(--font-serif, Georgia, serif); }
.blog-side-panel p { color: #c7bfb2; font-size: .85rem; line-height: 1.65; }
.blog-topic-list { display: grid; }
.blog-topic-list a { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-top: 1px solid rgba(255,255,255,.09); color: #e6e0d7; font-size: .86rem; }
.blog-topic-list a:hover { color: #d9b674; }
.blog-side-cta { background: linear-gradient(140deg, #3d3123, #231d17 55%, #191714); }
.blog-side-cta a { display: inline-flex; min-height: 44px; align-items: center; margin-top: 1rem; padding: .65rem 1rem; border: 1px solid #c5a059; border-radius: 5px; color: #ead1a4; font-size: .8rem; }
.blog-side-cta a:hover { background: #c5a059; color: #15110c; }
.blog-latest { padding: 0 0 6rem; }
.blog-section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 1.6rem; }
.blog-section-head h2 { margin-top: .6rem; font: 500 clamp(2.7rem, 4.6vw, 4.2rem)/1 var(--font-serif, Georgia, serif); }
.blog-carousel-controls { display: flex; gap: .6rem; }
.blog-carousel-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #a3834e; border-radius: 50%; background: transparent; color: #e4c58b; font-size: 1.2rem; cursor: pointer; }
.blog-carousel-controls button:hover:not(:disabled) { background: #c5a059; color: #100e0b; }
.blog-carousel-controls button:disabled { opacity: .35; cursor: default; }
.blog-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2.4rem)/3); gap: 1.2rem; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #806a48 #171513; padding: .2rem .1rem 1.2rem; }
.blog-card { min-width: 0; overflow: hidden; border: 1px solid rgba(197,160,89,.2); border-radius: 16px; background: #1b1916; scroll-snap-align: start; }
.blog-card-photo { display: block; aspect-ratio: 1.5; overflow: hidden; }
.blog-card-body { padding: 1.25rem; }
.blog-card .blog-meta { font-size: .63rem; }
.blog-card h3 { margin: .7rem 0; font: 500 1.8rem/1.05 var(--font-serif, Georgia, serif); }
.blog-card p { color: #c6bfb4; font-size: .82rem; line-height: 1.6; }
.blog-card .blog-text-link { margin-top: 1rem; }
.blog-callout { margin-bottom: 6rem; border: 1px solid rgba(197,160,89,.32); border-radius: 22px; background: radial-gradient(circle at 85% 45%, #443321, #211b15 52%, #171512 100%); }
.blog-callout-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: clamp(1.6rem, 4vw, 3rem); }
.blog-callout h2 { max-width: 650px; margin-top: .5rem; font: 500 clamp(2.4rem, 4vw, 3.8rem)/1 var(--font-serif, Georgia, serif); }
.blog-callout p { max-width: 650px; margin-top: .6rem; color: #d2c9bd; font-size: .88rem; line-height: 1.7; }
.blog-cta-button { display: inline-flex; min-width: 170px; min-height: 48px; align-items: center; justify-content: center; padding: .75rem 1.1rem; border-radius: 5px; background: #c5a059; color: #17120b; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.blog-cta-button:hover { background: #e0bc75; }
.blog-footer-shell { padding-top: 3rem; background: #161310; }
.blog-article-hero { padding: 4rem 0 2.5rem; background: radial-gradient(circle at 80% 15%, #332719, #14110e 50%, #0c0b0a 80%); }
.blog-article-hero .blog-breadcrumb { margin-bottom: 3rem; }
.blog-article-hero h1 { max-width: 980px; margin: .8rem 0 1.4rem; }
.blog-article-hero p { max-width: 760px; color: #d6cec3; font-size: 1rem; line-height: 1.75; }
.blog-article-hero .blog-meta { margin-top: 1.7rem; }
.blog-article-photo { height: clamp(320px, 46vw, 600px); overflow: hidden; border-radius: 20px; margin-top: 2rem; }
.blog-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 4rem; padding-block: 4.5rem 6rem; }
.blog-prose { min-width: 0; }
.blog-prose .blog-lead { color: #ede1cf; font-size: 1.12rem; }
.blog-prose h2 { margin: 2.7rem 0 .8rem; font: 500 clamp(2rem, 3.5vw, 2.8rem)/1.05 var(--font-serif, Georgia, serif); color: #f2e6d5; }
.blog-prose p, .blog-prose li { margin: 0 0 1rem; color: #d4cfc7; font-size: .95rem; line-height: 1.9; }
.blog-prose ul { margin-left: 1.25rem; list-style: disc; }
.blog-prose a { color: #dfba7b; text-decoration: underline; text-underline-offset: 3px; }
.blog-table-wrap { overflow-x: auto; margin: 1.6rem 0 2rem; border: 1px solid rgba(197,160,89,.32); border-radius: 14px; background: #1d1915; }
.blog-prose table { width: 100%; min-width: 570px; border-collapse: collapse; color: #e7dfd3; font-size: .82rem; line-height: 1.55; }
.blog-prose caption { padding: 1rem 1.2rem; color: #e5c48c; font-size: .78rem; font-weight: 600; text-align: left; }
.blog-prose th, .blog-prose td { padding: .9rem 1.2rem; border-top: 1px solid rgba(255,255,255,.1); text-align: left; vertical-align: top; }
.blog-prose th { color: #e8c687; background: #282119; font-weight: 600; }
.blog-prose tbody tr:nth-child(even) { background: rgba(255,255,255,.025); }
.blog-prose .blog-inline-callout { margin: 2.7rem 0; padding: 1.5rem; border-left: 2px solid #c5a059; background: #211c16; color: #f0dfc7; }
.blog-article-aside { align-self: start; position: sticky; top: 2rem; }
.blog-article-aside .blog-side-panel { padding: 1.3rem; }
.blog-article-aside ul { display: grid; gap: .7rem; margin-top: .8rem; }
.blog-article-aside a { color: #d9cfc0; font-size: .82rem; line-height: 1.45; }
.blog-article-aside a:hover { color: #eac78a; }
.blog-related { padding-bottom: 5rem; }
.blog-related .blog-track { overflow: visible; grid-auto-flow: initial; grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 1100px) {
    .blog-container { width: min(100% - 3rem, 1300px); }
    .blog-track { grid-auto-columns: calc((100% - 1.2rem)/2); }
    .blog-article-layout { gap: 2rem; }
}
@media (max-width: 768px) {
    .blog-page .header, .blog-article-page .header { background: #11100e; }
    .blog-intro { padding-top: 9rem; }
    .blog-intro-grid, .blog-layout, .blog-article-layout { grid-template-columns: 1fr; }
    .blog-intro-grid { gap: 2rem; }
    .blog-intro .blog-breadcrumb, .blog-article-hero .blog-breadcrumb { margin-bottom: 2rem; }
    .blog-layout { padding-block: 2.5rem 4rem; }
    .blog-sidebar { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .blog-article-hero { padding-top: 9rem; }
    .blog-article-aside { position: static; }
    .blog-related .blog-track { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .blog-container { width: min(100% - 2rem, 1300px); }
    .blog-table-wrap::before { content: "Deslize para o lado para ver a tabela completa →"; display: block; padding: .8rem 1rem; color: #cdbb9f; font-size: .72rem; }
    .blog-intro h1, .blog-article-hero h1 { font-size: clamp(3rem, 13vw, 4.3rem); }
    .blog-sidebar { grid-template-columns: 1fr; }
    .blog-section-head { align-items: center; flex-wrap: wrap; }
    .blog-carousel-controls button { width: 40px; height: 40px; }
    .blog-track { grid-auto-columns: 86%; }
    .blog-callout-inner { flex-direction: column; align-items: start; }
    .blog-article-photo { height: 280px; margin-top: 1.4rem; }
    .blog-article-layout { padding-block: 2.5rem 4rem; }
}
