/*
 * Visual novo dos posts do blog (body.g-v2): uma coluna de leitura, letra um pouco menor,
 * menos caixas coloridas e a lista de material com um botão só por item.
 * Fica por cima de guides.css; os blocos que não aparecem aqui seguem como estão.
 */

.g-v2 {
  --g2-col: 680px;
  --g2-rail: 220px;
  --g2-gap: 72px;
  --g2-soft: #efeff7;
  --g2-cream: #fff7df;
  --g2-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Barra fina de leitura ---------- */
.g2-read { position: fixed; inset: 0 0 auto; z-index: 200; height: 3px; pointer-events: none; }
.g2-read i { display: block; height: 100%; background: var(--ag-indigo); transform: scaleX(0); transform-origin: 0 50%; transition: transform .12s linear; }

/* ---------- Topo: foto de fundo com o texto por cima, na largura do índice + texto ---------- */
.g-v2 { --g2-width: calc(var(--g2-rail) + var(--g2-gap) + var(--g2-col) + 2 * var(--ag-gutter)); }
.g-v2 .g2-crumbs, .g-v2 .g-hero, .g-v2 .g2-single > .g-products { max-width: var(--g2-width); }
.g-v2 .g-hero.is-panel .g-hero-inner { min-height: 380px; border-radius: 24px; }
.g-v2 .g-hero.is-panel .g-hero-text { gap: 14px; padding: 40px 44px; max-width: 580px; }
.g-v2 .g-hero h1 { font-size: clamp(28px, 3vw, 38px); line-height: 1.12; letter-spacing: -0.02em; }
.g-v2 .g-hero-lede { font-size: 17px; line-height: 1.6; }
.g-v2 .g-hero-kicker { font-size: 14px; }
.g-v2 .g-hero-kicker .g-kicker { min-height: 24px; padding: 0 10px; font-size: 12px; }
.g-v2 .g-hero-facts { gap: 10px 28px; padding-top: 16px; margin-top: 2px; }
.g-v2 .g-hero-facts dt { font-size: 12px; }
.g-v2 .g-hero-facts dd { font-size: 16px; }
.g-v2 .g-hero-credit { font-size: 12px; }
/* Linha de cima do título: formato e tempo de leitura, discretos. */
.g-v2 .g2-kicker { gap: 0; font-size: 14px; font-weight: 500; letter-spacing: 0; }
.g-v2 .g-hero.is-panel .g2-kicker { color: rgba(255, 255, 255, .78); }
.g-v2 .g2-kicker span + span::before { content: "·"; margin: 0 8px; }
.g-v2 .g2-crumbs .ag-breadcrumbs { font-size: 13.5px; }
.g-v2 .g2-crumbs .ag-breadcrumbs { flex-wrap: nowrap; white-space: nowrap; }
.g-v2 .g2-crumbs .ag-breadcrumbs > * { flex: 0 0 auto; }
.g-v2 .g2-crumbs .g2-crumb-here { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* No celular e no tablet também: a foto fica de fundo e o texto por cima, embaixo, sobre um escurecido. */
@media (max-width: 900px) {
  .g-v2 .g-hero.is-panel .g-hero-inner { flex-direction: column; justify-content: flex-end; min-height: 520px; border-radius: 20px; }
  .g-v2 .g-hero.is-panel .g-hero-bg { position: absolute; inset: 0; height: auto; }
  .g-v2 .g-hero.is-panel .g-hero-bg img { object-position: center 35%; }
  .g-v2 .g-hero.is-panel .g-hero-bg::after { display: block; background: linear-gradient(0deg, rgba(22, 22, 46, .96) 0%, rgba(22, 22, 46, .88) 45%, rgba(22, 22, 46, .35) 75%, rgba(22, 22, 46, .1) 100%); }
  .g-v2 .g-hero.is-panel .g-hero-text { padding: 120px 22px 24px; max-width: none; }
}
/* Post sem foto de verdade (foto de produto): o topo de texto e foto lado a lado, também mais contido. */
.g-v2 .g-hero:not(.is-panel) .g-hero-inner { gap: 40px; }

/* ---------- Corpo ---------- */
.g2-body { display: grid; grid-template-columns: var(--g2-rail) minmax(0, var(--g2-col)); column-gap: var(--g2-gap); justify-content: center; align-items: start; padding-top: 56px; }
.g2-rail { position: sticky; top: 140px; max-height: calc(100vh - 160px); display: flex; flex-direction: column; transition: top .3s ease; }
.ag-header-hidden .g2-rail { top: 32px; }
.g-v2 .g-toc { padding-right: 8px; }
.g-v2 .g-aside-title { margin: 0 0 10px; font-family: var(--ag-font-body); font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--ag-ink); }
.g-v2 .g-toc ol { border-left: 1px solid var(--ag-line); }
.g-v2 .g-toc a { margin-left: -1px; padding: 6px 0 6px 14px; border-left: 1px solid transparent; font-size: 13.5px; line-height: 1.4; color: var(--ag-muted); transition: color .2s ease, border-color .2s ease; }
.g-v2 .g-toc a:hover { color: var(--ag-ink); }
.g-v2 .g-toc a.is-active { border-left-color: var(--ag-indigo); color: var(--ag-indigo); font-weight: 600; }

.g-v2 .g-content { font-size: 16.5px; line-height: 1.75; color: var(--ag-text); }
.g-v2 .g-content > * { max-width: none; }
.g-v2 .g-content > * + * { margin-top: 1.1em; }
.g-v2 .g-content h2 { margin-top: 1.7em; font-size: clamp(23px, 2.1vw, 28px); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; scroll-margin-top: 120px; }
.g-v2 .g-content > h2:first-child { margin-top: 0; }
.g-v2 .g-content > h2 + * { margin-top: .7em; }
.g-v2 .g-content h3 { margin-top: 1.8em; font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -0.005em; color: var(--ag-ink); }
.g-v2 .g-content > h3 + * { margin-top: .4em; }
.g-v2 .g-content p a, .g-v2 .g-content li a:not(.ag-card-link):not(.ag-btn) { color: var(--ag-indigo); font-weight: 500; text-decoration-color: rgba(49, 49, 128, .3); text-underline-offset: 3px; transition: text-decoration-color .2s ease; }
.g-v2 .g-content p a:hover, .g-v2 .g-content li a:not(.ag-card-link):not(.ag-btn):hover { text-decoration-color: currentColor; }
.g-v2 .g-lede { margin-bottom: 0; font-size: inherit; line-height: inherit; color: inherit; } /* a introdução no mesmo tamanho do resto do texto */
/* O link de cada parte só aparece ao passar o mouse no título, e só nos títulos grandes. */
.g-v2 .g-anchor { width: 28px; height: 28px; margin-left: 4px; opacity: 0; }
.g-v2 .g-content h2:hover .g-anchor, .g-v2 .g-anchor:focus-visible { opacity: .7; }
.g-v2 .g-content h3 .g-anchor { display: none; }

/* Blocos que entram devagar ao rolar */
.g-v2 .g2-rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--g2-ease), transform .7s var(--g2-ease); }
.g-v2 .g2-rv.is-in { opacity: 1; transform: none; }

/* ---------- Lugares (antes eram cartões): linhas com a foto ao lado ---------- */
.g-v2 .g-trails { display: block; margin-top: 1.2em; }
.g-v2 .g-trail,
.g-v2 .g-trails > .g-trail:last-child:nth-child(odd),
.g-v2 .g-trails > .g-trail:last-child:nth-child(odd):has(> .g-photo) { position: static; display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 0 32px; align-content: start; min-height: 0; padding: 28px 0; border-top: 1px solid var(--ag-line); border-radius: 0; background: none; }
.g-v2 .g-trails > .g-trail:last-child { border-bottom: 1px solid var(--ag-line); }
.g-v2 .g-trail > * { grid-column: 1; margin: 0; }
.g-v2 .g-trail > * + * { margin-top: 8px; }
.g-v2 .g-trail > .g-photo,
.g-v2 .g-trails > .g-trail:last-child:nth-child(odd):has(> .g-photo) > .g-photo { position: static; grid-column: 2; grid-row: 1 / span 12; align-self: start; margin: 4px 0 0; inset: auto; }
.g-v2 .g-trail .g-photo img,
.g-v2 .g-trails > .g-trail:last-child:nth-child(odd):has(> .g-photo) > .g-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: none; object-fit: cover; border-radius: 14px; cursor: zoom-in; }
.g-v2 .g-trail h3 { margin: 0; font-size: 19px; }
.g-v2 .g-trail p { font-size: 16.5px; line-height: 1.65; }
.g-v2 .g-facts { font-size: 14px; font-weight: 500; color: var(--ag-muted); }
.g-v2 .g-facts li:not(:last-child)::after { margin: 0 8px; }
.g-v2 .g-trail .g-facts { margin-top: 12px; }

/* Links do fim de cada lugar: texto, não botão */
.g-v2 .g-links { gap: 6px 20px; margin-top: 6px !important; padding-top: 0; }
.g-v2 .g-links a { min-height: 0; padding: 0; border-radius: 0; background: none; font-size: 14.5px; font-weight: 600; color: var(--ag-indigo); text-decoration: underline; text-decoration-color: rgba(49, 49, 128, .25); text-underline-offset: 3px; transition: text-decoration-color .2s ease; }
.g-v2 .g-links a:hover { background: none; color: var(--ag-indigo); text-decoration-color: currentColor; }

/* ---------- Citação ---------- */
.g-v2 .g-quote { margin-block: 2em; padding: 2px 0 2px 24px; border-left: 2px solid var(--ag-yellow); font-size: clamp(20px, 1.9vw, 24px); font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; color: var(--ag-ink); }
.g-v2 .g-quote cite { margin-top: 10px; font-size: 14px; }

/* ---------- Lista de material: uma linha, um botão ---------- */
.g-v2 .g-check-wrap { margin-top: 1.2em; padding: 6px 0 0; border-radius: 0; background: none; }
.g-v2 .g-check-head { align-items: baseline; margin-bottom: 4px; }
.g-v2 .g-check-head h3 { margin: 0; font-size: 16px; font-weight: 600; font-family: var(--ag-font-body); letter-spacing: 0; color: var(--ag-muted); }
.g2-count { margin: 0; font-size: 14px; color: var(--ag-muted); transition: color .2s ease; }
.g2-count.is-on { color: var(--ag-indigo); font-weight: 600; }
.g-v2 .g-check { border-top: 1px solid var(--ag-line); }
.g-v2 .g-check > li { border-bottom: 1px solid var(--ag-line); }
.g-v2 .g-check > li:last-child { border-bottom: 1px solid var(--ag-line); }

.g2-item { display: grid !important; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 0 18px !important; padding: 16px 0; transition: background-color .3s ease; }
.g2-item-img { display: block; width: 64px; height: 64px; border-radius: 14px; overflow: hidden; background: var(--ag-surface); box-shadow: inset 0 0 0 1px var(--ag-line); }
.g2-item-img img, .g2-item-img span { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--g2-ease); }
.g2-item-img:hover img { transform: scale(1.05); }
.g2-item-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.4; }
.g2-item-need { font-size: 16.5px; font-weight: 600; color: var(--ag-ink); }
.g-v2 .g-content .g2-item-prod { align-self: flex-start; font-size: 14px; font-weight: 400; color: var(--ag-muted); text-decoration: none; }
.g2-item-prod span::before { content: "·"; margin: 0 6px; }
.g-v2 .g-content .g2-item-prod:hover { color: var(--ag-indigo); text-decoration: underline; text-underline-offset: 3px; }
.g-v2 .g-check .g2-item-tip { display: block; margin-top: 2px; font-size: 14px; line-height: 1.5; color: var(--ag-muted); }
.g2-item-act { display: flex; align-items: center; gap: 10px; }

.g2-add { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px 0 12px; border: 1px solid var(--ag-line-strong); border-radius: var(--ag-pill); background: var(--ag-surface); font: inherit; font-size: 14px; font-weight: 600; color: var(--ag-indigo); white-space: nowrap; cursor: pointer; transition: background-color .25s ease, border-color .25s ease, color .25s ease; }
.g2-add:hover { border-color: var(--ag-indigo); }
.g2-add i { display: inline-flex; }
.g2-add .g2-add-check { display: none; }
.g2-add.is-added { border-color: transparent; background: var(--g2-soft); color: var(--ag-indigo); }
.g2-add.is-added .g2-add-plus { display: none; }
.g2-add.is-added .g2-add-check { display: inline-flex; animation: g2-pop .35s var(--g2-ease); }
.g2-add.is-added svg { transform: none !important; }
@keyframes g2-pop { from { transform: scale(.4); opacity: 0; } }

/* A quantidade só aparece quando o item já está na lista. */
.g2-item .g-kit-qty { display: none; box-shadow: none; background: var(--g2-soft); }
.g2-item.is-added .g-kit-qty { display: inline-flex; animation: g2-fade .3s ease; }
.g2-item .g-kit-qty button { width: 32px; height: 32px; font-size: 18px; }
.g2-item .g-kit-qty button:hover { background: var(--ag-surface); }
.g2-item .g-kit-qty b { min-width: 18px; font-size: 14px; }
@keyframes g2-fade { from { opacity: 0; } }

.g2-check-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 18px; }
.g2-check-foot [hidden] { display: none; }
.g2-all { min-height: 44px; }
.g-v2 .g-content .g2-mine { font-size: 15px; font-weight: 600; color: var(--ag-indigo); text-underline-offset: 3px; }

/* ---------- Tabela ---------- */
.g-v2 .g-table-wrap { border-radius: 0; background: none; }
.g-v2 .g-table { font-size: 16px; }
.g-v2 .g-table th { padding: 0 16px 10px 0; background: none; color: var(--ag-muted); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; border-bottom: 1px solid var(--ag-line-strong); }
.g-v2 .g-table td { padding: 13px 16px 13px 0; border-bottom-color: var(--ag-line); }
.g-v2 .g-table td:first-child { font-weight: 600; white-space: nowrap; }

/* ---------- Aulas em vídeo: miniatura ao lado do texto ---------- */
.g2-lesson { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; padding: 22px 0; border-top: 1px solid var(--ag-line); }
.g-v2 .g-content > .g2-lesson + .g2-lesson { margin-top: 0; }
.g-v2 .g-content > h2 + .g2-lesson { margin-top: 1em; }
.g2-lesson + :not(.g2-lesson) { border-top: 0; }
.g2-lesson-text h3 { margin: 0 !important; font-size: 17px !important; }
.g2-lesson-text p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.6; }
.g2-lesson .g-video-btn { border-radius: 12px; }
.g2-lesson .g-play { left: 50%; top: 50%; bottom: auto; width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.g2-lesson .g-play::after { left: 18px; top: 14px; border-width: 8px 0 8px 12px; }
.g2-lesson .g-video figcaption { margin-top: 8px; }
.g2-lesson .g-video figcaption b { display: none; }
.g2-lesson .g-video figcaption span { font-size: 12.5px; line-height: 1.4; }
/* Ao tocar, a aula abre na largura toda. */
.g2-lesson.is-playing { grid-template-columns: minmax(0, 1fr); }
.g2-lesson.is-playing .g-video iframe { border-radius: 14px; }

.g-v2 .g-video-btn, .g-v2 .g-video iframe { border-radius: 14px; }
.g-v2 .g-play { width: 48px; height: 48px; left: 16px; bottom: 16px; box-shadow: 0 6px 18px rgba(22, 22, 46, .25); }
.g-v2 .g-play::after { left: 19px; top: 15px; border-width: 9px 0 9px 14px; }
.g-v2 .g-video figcaption { font-size: 15px; }
.g-v2 .g-video figcaption b { font-weight: 600; }
.g-v2 .g-video figcaption span { font-size: 13px; }
.g-v2 .g-videos { gap: 24px 20px; }

/* ---------- Fotos ---------- */
.g-v2 .g-photo img { max-height: 460px; border-radius: 16px; }
.g-v2 .g-photo figcaption { font-size: 13.5px; color: var(--ag-muted); }

/* ---------- Duas colunas (receita) sem fundo azul ---------- */
.g-v2 .g-recipe { gap: 32px; }
.g-v2 .g-recipe > div,
.g-v2 .g-recipe > div:first-child { padding: 0; border-radius: 0; background: none; color: var(--ag-text); }
.g-v2 .g-recipe h3,
.g-v2 .g-recipe > div:first-child h3 { margin: 0 0 4px; font-size: 16px; color: var(--ag-ink); }
.g-v2 .g-recipe li,
.g-v2 .g-recipe > div:first-child li { padding: 10px 0; border-bottom: 1px solid var(--ag-line); font-size: 16px; }
.g-v2 .g-recipe li:last-child { border-bottom: 0; }
.g-v2 .g-recipe h3 .g-anchor { display: none; }

/* ---------- Dica e aviso: nota com uma linha fina ao lado, sem caixa ---------- */
.g-v2 .g-tip, .g-v2 .g-warn { margin-block: 1.8em; padding: 2px 0 2px 20px; border-left: 2px solid var(--ag-indigo); border-radius: 0; background: none; font-size: 16.5px; line-height: 1.65; color: var(--ag-text); }
.g-v2 .g-warn { border-left-color: #b3261e; }
.g-v2 .g-tip > b:first-child, .g-v2 .g-warn > b:first-child { margin-bottom: 2px; font-family: var(--ag-font-body); font-size: 16px; letter-spacing: 0; color: var(--ag-ink); }
.g-v2 .g-tip strong, .g-v2 .g-warn strong { color: var(--ag-ink); }
.g-v2 .g-content .g-tip a, .g-v2 .g-content .g-warn a { color: var(--ag-indigo); }

/* ---------- Produtos dentro do texto: grade compacta em duas colunas, sem rolar para o lado ---------- */
.g-v2 .g-shop { margin-top: 2.4em; }
.g-v2 .g-shop-title { margin: 0 0 6px; font-family: var(--ag-font-body); font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--ag-ink); }
.g-v2 .g-shop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; padding: 0; }
.g-v2 .g-shop-grid > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--ag-line); font-size: 14px; }
.g-v2 .g-shop-grid .ag-card-link { display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: center; min-width: 0; text-decoration: none; }
.g-v2 .g-shop-grid .ag-photo { grid-row: 1 / span 2; width: 52px; height: 52px; aspect-ratio: auto; margin: 0; border-radius: 12px; }
.g-v2 .g-shop-grid .ag-photo img { width: 100%; height: 100%; object-fit: cover; }
.g-v2 .g-shop-grid .ag-photo-empty { display: none; }
.g-v2 .g-shop-grid .ag-card-link b { align-self: end; overflow: hidden; font-size: 14.5px; font-weight: 600; line-height: 1.3; color: var(--ag-ink); white-space: nowrap; text-overflow: ellipsis; }
.g-v2 .g-shop-grid .ag-card-link small { display: none; }
.g-v2 .g-shop-grid .ag-card-price { align-self: start; margin: 2px 0 0; font-size: 13.5px; font-weight: 500; color: var(--ag-muted); }
.g-v2 .g-shop-grid .ag-card-link:hover b { color: var(--ag-indigo); }
.g-v2 .g-shop-grid .ag-btn { min-height: 34px; margin: 0; padding-inline: 12px; font-size: 13px; }
@media (max-width: 640px) { .g-v2 .g-shop-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Fim do post: compartilhar, recado e fontes ---------- */
.g-v2 .g-sources { margin-top: 3em; padding-top: 18px; border-top: 1px solid var(--ag-line); font-size: 13.5px; }
.g-v2 .g-content .g-sources h2 { font-size: 13px; letter-spacing: 0; text-transform: none; }
.g-v2 .g-sources li + li { margin-top: .5em; }

.g2-end { display: flex; flex-direction: column; gap: 16px; margin-top: 48px !important; }
.g-v2 .g-share { display: flex; align-items: center; gap: 14px; }
.g-v2 .g-share .g-aside-title { margin: 0; font-size: 14px; font-weight: 500; color: var(--ag-muted); }
.g-v2 .g-share a, .g-v2 .g-share button { width: 38px; height: 38px; border-color: var(--ag-line); }
.g-v2 .g-share-note { margin: 0; }

.g2-recado { border-radius: 16px; background: var(--ag-surface); box-shadow: inset 0 0 0 1px var(--ag-line); }
.g2-recado > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; font-size: 15px; line-height: 1.5; color: var(--ag-text); list-style: none; cursor: pointer; }
.g2-recado > summary::-webkit-details-marker { display: none; }
.g2-recado > summary b { color: var(--ag-ink); }
.g2-recado > summary svg { flex: 0 0 auto; color: var(--ag-indigo); transform: rotate(90deg); transition: transform .3s var(--g2-ease); }
.g2-recado[open] > summary svg { transform: rotate(-90deg); }
.g2-recado .g-recado { margin: 0 !important; padding: 0 20px 22px; border-radius: 0; background: none; }
.g2-recado .g-recado > h2, .g2-recado .g-recado > p:first-of-type { display: none; }
.g2-recado .g-recado-form { margin-top: 4px; }
.g2-recado[open] .g-recado { animation: g2-fade .35s ease; }

/* "Leia também" dentro da coluna do texto */
.g-v2 .g-content > .g2-related { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--ag-line); }
.g2-related-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.g-v2 .g-content .g2-related-head h2 { margin: 0; font-size: 22px; }
.g-v2 .g-content .g2-related-head a { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--ag-indigo); text-decoration: none; }
.g-v2 .g-content .g2-related-head a:hover { text-decoration: underline; text-underline-offset: 3px; }
.g-v2 .g2-related .g-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
.g-v2 .g2-related .g-cards > li + li { margin-top: 0; }
.g-v2 .g2-related .g2-card-title { font-size: 16.5px; }
.g-v2 .g2-related .g2-card-excerpt { font-size: 14px; }
.g-v2 .g2-related .g2-card-meta span:first-child:not(:last-child) { display: none; }
.g-v2 .g2-related .g2-card-meta span + span::before { content: none; }
@media (max-width: 640px) { .g-v2 .g2-related .g-cards { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Telas menores ---------- */
@media (max-width: 1100px) {
  .g-v2 { --g2-width: calc(var(--g2-col) + 2 * var(--ag-gutter)); }
  .g2-body { grid-template-columns: minmax(0, var(--g2-col)); }
  .g2-rail { display: none; }
  .g2-body { padding-top: 40px; }
}
@media (max-width: 640px) {
  .g-v2 .g-hero h1 { font-size: 27px; }
  .g-v2 .g-hero.is-panel .g-hero-text { padding: 22px 20px 24px; }
  .g-v2 .g-content { font-size: 16.5px; line-height: 1.7; }
  .g-v2 .g-content h2 { font-size: 23px; margin-top: 1.7em; }
  .g-v2 .g-trail,
  .g-v2 .g-trails > .g-trail:last-child:nth-child(odd),
  .g-v2 .g-trails > .g-trail:last-child:nth-child(odd):has(> .g-photo) { grid-template-columns: minmax(0, 1fr); padding: 24px 0; }
  .g-v2 .g-trail > .g-photo,
  .g-v2 .g-trails > .g-trail:last-child:nth-child(odd):has(> .g-photo) > .g-photo { grid-column: 1; grid-row: auto; margin: 0 0 14px; }
  .g-v2 .g-trail .g-photo img { aspect-ratio: 16 / 9; }
  .g2-item { grid-template-columns: 52px minmax(0, 1fr); gap: 0 14px !important; align-items: start; }
  .g2-item-img { width: 52px; height: 52px; border-radius: 12px; }
  .g2-item-act { grid-column: 2; margin-top: 10px; }
  .g2-lesson { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .g-v2 .g-recipe { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .g2-recado > summary { padding: 14px 16px; }
  .g2-recado .g-recado { padding: 0 16px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .g-v2 *, .g-v2 *::before, .g-v2 *::after { animation: none !important; transition: none !important; }
}

/* Dentro do texto, as listas ganham espaço entre itens: aqui não. */
.g-v2 .g-share li + li { margin-top: 0; }
.g-v2 .g-content .g-sources ul { padding-left: 0; }


/* ---------- Cartões de post (Leia também e página do Blog) ---------- */
.g-v2 .g-cards { gap: 40px 28px; }
.g2-card { min-width: 0; }
.g2-card > a { display: flex; flex-direction: column; gap: 8px; color: var(--ag-ink); text-decoration: none; }
.g2-card-cover { position: relative; display: block; margin-bottom: 8px; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 16px; background: var(--g2-soft); }
.g2-card-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--g2-ease); }
.g2-card-cover.is-packshot img { object-fit: contain; padding: 10%; mix-blend-mode: multiply; }
.g2-card > a:hover .g2-card-cover img { transform: scale(1.035); }
.g2-card-meta { display: flex; flex-wrap: wrap; font-size: 13px; color: var(--ag-muted); }
.g2-card-meta span + span::before { content: "·"; margin: 0 8px; }
.g2-card-meta span:first-child:not(:last-child) { color: var(--ag-indigo); font-weight: 600; }
.g2-card-title { font-family: var(--ag-font-display); font-size: 19px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; color: var(--ag-ink); text-wrap: balance; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: text-decoration-color .25s ease, color .25s ease; }
.g2-card > a:hover .g2-card-title { color: var(--ag-indigo); text-decoration-color: currentColor; }
.g2-card-excerpt { display: -webkit-box; overflow: hidden; font-size: 15px; line-height: 1.55; color: var(--ag-text); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.g2-card.is-new { animation: g-in .35s ease both; }
@media (max-width: 640px) {
  .g-v2 .g-cards { gap: 32px; }
  .g2-card-title { font-size: 18px; }
}

/* Lugares: a foto acompanha a altura do texto, sem espaço vazio embaixo dela. */
@media (min-width: 641px) {
  .g-v2 .g-trail,
  .g-v2 .g-trails > .g-trail:last-child:nth-child(odd),
  .g-v2 .g-trails > .g-trail:last-child:nth-child(odd):has(> .g-photo) { grid-template-columns: minmax(0, 1fr) 240px; }
  .g-v2 .g-trail > .g-photo,
  .g-v2 .g-trails > .g-trail:last-child:nth-child(odd):has(> .g-photo) > .g-photo { position: relative; align-self: stretch; min-height: 200px; margin: 0; overflow: hidden; border-radius: 14px; }
  .g-v2 .g-trail .g-photo img,
  .g-v2 .g-trails > .g-trail:last-child:nth-child(odd):has(> .g-photo) > .g-photo img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center 35%; border-radius: 14px; }
}
@media (max-width: 640px) {
  .g-v2 .g-trail .g-photo img { aspect-ratio: 4 / 3; object-position: center 20%; }
}

/* Lista de material com mais respiro: à direita só o botão; a quantidade fica embaixo do nome do produto. */
.g2-item { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-rows: auto auto; padding: 18px 0; }
.g2-item-img { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
.g2-item-text { grid-column: 2; grid-row: 1; }
.g2-item-act { display: contents; }
.g2-item .g-kit-qty { grid-column: 2; grid-row: 2; justify-self: start; margin-top: 10px; }
.g2-item .g2-add { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
@media (max-width: 640px) {
  .g2-item { grid-template-columns: 52px minmax(0, 1fr); }
  .g2-item .g2-add { grid-column: 2; grid-row: 2; justify-self: start; align-self: start; margin-top: 12px; }
  .g2-item .g-kit-qty { grid-column: 2; grid-row: 2; justify-self: end; align-self: start; margin-top: 12px; }
}

/* Compartilhar: na lateral, embaixo do índice; no fim do post só quando a lateral some. */
.g2-rail { gap: 28px; }
.g2-rail .g-share { flex-direction: column; align-items: flex-start; gap: 10px; }
.g2-rail .g-share .g-aside-title { margin: 0; font-size: 13px; font-weight: 600; color: var(--ag-ink); }
.g2-share-end { display: none; }
@media (max-width: 1100px) { .g2-share-end { display: block; } }
.g2-rail .g-toc { display: flex; flex-direction: column; overflow: hidden; padding-bottom: 0; -webkit-mask-image: none; mask-image: none; }
/* O índice ocupa a altura da tela que sobra (com o Compartilhar embaixo); a lista rola (sem barra) e esfuma em cima e embaixo, como as categorias do catálogo. */
.g2-rail .g-toc ol { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.g2-rail .g-toc ol::-webkit-scrollbar { display: none; }
.g2-rail .g-toc ol.is-more { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 48px), transparent); }
.g2-rail .g-toc ol.is-up { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40px); mask-image: linear-gradient(to bottom, transparent, #000 40px); }
.g2-rail .g-toc ol.is-up.is-more { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to bottom, transparent, #000 40px, #000 calc(100% - 48px), transparent); }
.g2-rail .g-share { flex: 0 0 auto; }
.g2-rail { gap: 20px; }

/* ---------- Lista de material no mesmo estilo da grade "na loja": duas colunas, compacta ---------- */
.g-v2 .g-check-wrap .g-check { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-top: 0; }
.g-v2 .g-check-wrap .g-check > li, .g-v2 .g-check-wrap .g-check > li:last-child { border-bottom: 1px solid var(--ag-line); }
.g-v2 .g-check-head { margin-bottom: 0; }
.g-v2 .g-check-head h3 { font-size: 16px; font-weight: 600; color: var(--ag-ink); }
.g2-count { font-size: 13px; }
.g2-item { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 0 14px !important; align-items: start; padding: 12px 0; }
.g2-item-img { width: 52px; height: 52px; border-radius: 12px; box-shadow: none; }
.g2-item-need { font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.g-v2 .g-content .g2-item-prod, .g-v2 .g-content li a.g2-item-prod:not(.ag-card-link):not(.ag-btn) { margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--ag-muted); text-decoration: none; }
.g-v2 .g-check .g2-item-tip { margin-top: 4px; font-size: 13px; line-height: 1.45; }
.g2-item .g2-add { grid-row: 1; align-self: center; min-height: 34px; padding: 0 12px 0 10px; gap: 4px; font-size: 13px; }
.g2-item .g2-add svg { width: 14px; height: 14px; }
.g2-item .g-kit-qty { margin-top: 8px; }
.g2-item .g-kit-qty button { width: 28px; height: 28px; font-size: 16px; }
.g2-item .g-kit-qty b { font-size: 13px; }
.g2-check-foot { margin-top: 16px; }
.g2-all.ag-btn-primary { min-height: 38px; padding-inline: 16px; border: 1px solid var(--ag-line-strong); background: var(--ag-surface); color: var(--ag-indigo); font-size: 14px; }
.g2-all.ag-btn-primary:hover { border-color: var(--ag-indigo); background: var(--ag-surface); color: var(--ag-indigo); }
.g-v2 .g-content .g2-mine { font-size: 14px; }
@media (max-width: 640px) {
  .g-v2 .g-check-wrap .g-check { grid-template-columns: minmax(0, 1fr); }
  .g2-item { grid-template-columns: 52px minmax(0, 1fr) auto; }
  .g2-item .g2-add { grid-column: 3; grid-row: 1; justify-self: end; align-self: center; margin-top: 0; }
  .g2-item .g-kit-qty { grid-column: 2; grid-row: 2; justify-self: start; margin-top: 8px; }
}
/* Cada item em duas linhas curtas, como na grade da loja. */
.g2-item { align-items: center; }
.g2-item-img { align-self: center; }
.g2-item-need { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.g-v2 .g-content .g2-item-prod, .g-v2 .g-content li a.g2-item-prod:not(.ag-card-link):not(.ag-btn) { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 100%; }
.g-v2 .g-check .g2-item-tip { display: none; }
/* Os cinco botões de compartilhar numa linha só. */
.g-v2 .g-share ul { flex-wrap: nowrap; gap: 6px; }
.g-v2 .g-share a, .g-v2 .g-share button { width: 36px; height: 36px; flex: 0 0 36px; }
.g-v2 .g-share svg { width: 18px; height: 18px; }
/* Uma coluna só: em duas, os nomes e os preços ficavam cortados. */
.g-v2 .g-check-wrap .g-check { grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--ag-line); }
.g-v2 .g-check-head { margin-bottom: 8px; }
@media (max-width: 640px) {
  .g2-item-need { display: block; -webkit-line-clamp: unset; }
  .g-v2 .g-content .g2-item-prod, .g-v2 .g-content li a.g2-item-prod:not(.ag-card-link):not(.ag-btn) { white-space: normal; }
  .g2-item .g2-add { padding: 0 10px; }
  .g2-item .g2-add span { display: none; }
  .g2-item .g2-add.is-added span { display: inline; }
}
.g2-item-prod span { white-space: nowrap; } /* o preço não quebra no meio */

/* Lista de material sem título, sem contagem e sem as linhas de fora (a primeira em cima e a última embaixo). */
.g-v2 .g2-count { display: none; }
.g-v2 .g-check-wrap .g-check[data-v2] { border-top: 0; }
.g-v2 .g-check-wrap .g-check[data-v2] > li:last-child { border-bottom: 0; }
.g-v2 .g-check-wrap .g-check[data-v2] > li:first-child { padding-top: 4px; }
.g2-check-foot:not(:has(> :not([hidden]))) { display: none; }

/* ---------- Vídeos: uma lista simples de links para o YouTube ---------- */
.g-v2 .g-content .g2-vids { list-style: none; margin-top: .8em; padding: 0; counter-reset: vid; }
.g-v2 .g-content .g2-vids > li { position: relative; margin: 0; padding: 6px 0; line-height: 1.5; }
.g-v2 .g-content ol.g2-vids > li { counter-increment: vid; padding-left: 28px; }
.g-v2 .g-content ol.g2-vids > li::before { content: counter(vid) "."; position: absolute; left: 0; top: 6px; font-weight: 600; color: var(--ag-muted); }
.g-v2 .g-content ul.g2-vids > li { padding-left: 18px; }
.g-v2 .g-content ul.g2-vids > li::before { content: "•"; position: absolute; left: 2px; top: 6px; color: var(--ag-muted); }
.g-v2 .g-content .g2-vids a { font-weight: 600; color: var(--ag-indigo); }
.g-v2 .g-content .g2-vids a::after { content: "↗"; margin-left: 5px; font-size: .8em; text-decoration: none; display: inline-block; }
.g-v2 .g-content .g2-vids small { margin-left: 8px; font-size: 13.5px; color: var(--ag-muted); }
@media (max-width: 640px) { .g-v2 .g-content .g2-vids small { display: block; margin-left: 0; } }

/* ---------- Lista de material: o mesmo desenho da grade "Fios e agulhas na loja" ---------- */
.g-v2 .g-check-wrap .g-check:has(.g2-item) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; padding: 0; border-top: 0; }
.g-v2 .g-check-wrap .g-check > li.g2-item,
.g-v2 .g-check-wrap .g-check > li.g2-item:last-child { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto; align-items: center; gap: 12px !important; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--ag-line); font-size: 14px; }
.g-v2 .g2-item .ag-card-link { display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: center; min-width: 0; text-decoration: none; }
.g-v2 .g2-item .ag-photo { grid-row: 1 / span 2; display: block; width: 52px; height: 52px; margin: 0; overflow: hidden; border-radius: 12px; background: var(--ag-surface); }
.g-v2 .g2-item .ag-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.g-v2 .g2-item .ag-card-link b { align-self: end; overflow: hidden; font-size: 14.5px; font-weight: 600; line-height: 1.3; color: var(--ag-ink); white-space: nowrap; text-overflow: ellipsis; }
.g-v2 .g2-item .ag-card-price { align-self: start; margin: 2px 0 0; overflow: hidden; font-size: 13.5px; font-weight: 500; color: var(--ag-muted); white-space: nowrap; text-overflow: ellipsis; }
.g-v2 .g2-item .ag-card-link:hover b { color: var(--ag-indigo); }
.g-v2 .g2-item .ag-btn { min-height: 34px; margin: 0; padding-inline: 12px; font-size: 13px; }
.g-v2 .g2-item .ag-btn span { display: inline !important; }
.g2-check-foot { margin-top: 16px; }
@media (max-width: 640px) {
  .g-v2 .g-check-wrap .g-check:has(.g2-item) { grid-template-columns: minmax(0, 1fr); }
  .g-v2 .g-check-wrap .g-check > li.g2-item { grid-template-columns: minmax(0, 1fr) auto; }
  .g-v2 .g2-item .ag-btn { grid-column: auto; grid-row: auto; justify-self: end; margin: 0; padding-inline: 12px; }
}

/* ---------- Dica, aviso e nota: parágrafos normais, com o começo em negrito ---------- */
.g-v2 .g-tip, .g-v2 .g-warn, .g-v2 .g-note { margin-block: 0; margin-top: 1.1em; padding: 0; border: 0; border-radius: 0; background: none; font-size: inherit; line-height: inherit; color: var(--ag-text); }
.g-v2 .g-tip > b:first-child, .g-v2 .g-warn > b:first-child, .g-v2 .g-note > b:first-child { display: inline; margin: 0; font-family: inherit; font-size: inherit; font-weight: 700; color: var(--ag-ink); }


.g2-rail { --g2-rail-top: 124px; top: var(--g2-rail-top); max-height: calc(100vh - var(--g2-rail-top) - 24px); }
.ag-header-hidden .g2-rail { --g2-rail-top: 32px; }
/* Vídeo sozinho: uma linha sem marcador. */
.g-v2 .g-content .g2-vids > li:only-child { padding-left: 0; }
.g-v2 .g-content .g2-vids > li:only-child::before { content: none; }

/* ---------- Agenda e linha de datas: data em texto, linhas finas, sem cartão e sem quadrado azul ---------- */
.g-v2 .g-content .g-agenda { gap: 0; margin-top: 1em; border-top: 1px solid var(--ag-line); }
.g-v2 .g-content .g-agenda > li,
.g-v2 .g-content .g-agenda > li.has-img { grid-template-columns: 84px minmax(0, 1fr); gap: 4px 20px; padding: 18px 0; border-bottom: 1px solid var(--ag-line); border-radius: 0; background: none; box-shadow: none; }
.g-v2 .g-content .g-agenda > li.has-img { grid-template-columns: 84px minmax(0, 1fr) 150px; }
.g-v2 .g-date { align-items: flex-start; justify-content: flex-start; min-height: 0; padding: 2px 0 0; border-radius: 0; background: none; color: var(--ag-indigo); text-align: left; }
.g-v2 .g-date b { font-size: 21px; letter-spacing: -0.02em; color: var(--ag-indigo); white-space: nowrap; }
.g-v2 .g-date small { margin-top: 4px; font-size: 12.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ag-muted); }
.g-v2 .g-agenda h3 { margin: 0; padding-right: 96px; font-size: 16.5px; }
.g-v2 .g-agenda > li.has-img h3 { padding-right: 0; }
.g-v2 .g-agenda p { margin-top: 4px; font-size: 15.5px; line-height: 1.6; }
.g-v2 .g-agenda .g-facts { margin-top: 8px; font-size: 13.5px; }
.g-v2 .g-agenda .g-links { margin-top: 8px !important; }
.g-v2 .g-agenda-img { align-self: start; border-radius: 12px; }
.g-v2 .g-agenda-img img { min-height: 0; aspect-ratio: 4 / 3; }
.g-v2 .g-content .g-agenda > li.is-past { background: none; box-shadow: none; }
.g-v2 .g-content .g-agenda > li.is-past > * { opacity: .5; }
.g-v2 .g-content .g-agenda > li.is-past .g-date { background: none; }
.g-v2 .g-content .g-agenda > li.is-next { box-shadow: none; }
.g-v2 .g-agenda-flag { top: 20px; right: 0; padding: 2px 10px; font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; background: var(--g2-soft); color: var(--ag-indigo); }
.g-v2 .g-agenda > li.is-past .g-agenda-flag { background: none; color: var(--ag-muted); padding: 0; }
.g-v2 .g-agenda > li.has-img .g-agenda-flag { right: 170px; }
@media (max-width: 640px) {
  .g-v2 .g-content .g-agenda > li, .g-v2 .g-content .g-agenda > li.has-img { grid-template-columns: 64px minmax(0, 1fr); gap: 4px 14px; }
  .g-v2 .g-agenda-img { grid-column: 1 / -1; grid-row: 1; margin-bottom: 8px; }
  .g-v2 .g-agenda-img img { aspect-ratio: 16 / 9; }
  .g-v2 .g-date b { font-size: 18px; }
  .g-v2 .g-agenda h3 { padding-right: 0; }
  .g-v2 .g-agenda-flag { position: static; grid-column: 2; justify-self: start; margin-top: 6px; }
  .g-v2 .g-agenda > li.has-img .g-agenda-flag { right: auto; }
}

/* ---------- Listas numeradas (tops): número pequeno em azul, linhas finas ---------- */
.g-v2 .g-content .g-top { margin-top: 1em; border-top: 1px solid var(--ag-line); }
.g-v2 .g-content .g-top > li { grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; padding-block: 22px; border-top: 0; border-bottom: 1px solid var(--ag-line); }
.g-v2 .g-content .g-top > li:first-child { padding-top: 22px; }
.g-v2 .g-content .g-top > li::before { width: auto; height: auto; place-items: start; border-radius: 0; background: none; padding-top: 1px; font-size: 18px; color: var(--ag-indigo); }
.g-v2 .g-content .g-top > li > * + * { margin-top: 8px; }
.g-v2 .g-content .g-top > li > h2 { margin-top: 0; font-size: 19px; }
.g-v2 .g-content .g-top > li > h3 { margin-top: 0; font-size: 17px; }
.g-v2 .g-content .g-top > li > p { font-size: 16px; }
.g-v2 .g-content .g-top > li > .g-photo img { max-height: 380px; }

/* ---------- Passo a passo: número pequeno num círculo claro ---------- */
.g-v2 .g-content .g-steps { margin-top: 1em; }
.g-v2 .g-content .g-steps > li { min-height: 0; padding: 16px 0 16px 44px; border-top-color: var(--ag-line); }
.g-v2 .g-content .g-steps > li:last-child { border-bottom-color: var(--ag-line); }
.g-v2 .g-content .g-steps > li::before { top: 16px; width: 28px; height: 28px; background: var(--g2-soft); font-size: 14px; color: var(--ag-indigo); }
.g-v2 .g-content .g-steps > li > b:first-child { font-size: 16.5px; }
.g-v2 .g-content .g-steps > li > * { max-width: none; }

/* ---------- Linha do tempo: ponto pequeno azul, linha clara ---------- */
.g-v2 .g-content .g-timeline { padding-left: 24px; border-left: 1px solid var(--ag-line-strong); }
.g-v2 .g-content .g-timeline li + li { margin-top: 20px; }
.g-v2 .g-content .g-timeline li::before { left: -29px; top: 8px; width: 9px; height: 9px; background: var(--ag-indigo); box-shadow: 0 0 0 4px var(--ag-ground); }
.g-v2 .g-content .g-timeline b { font-size: 17px; }

/* ---------- Listas mistas: tarefa sem produto ocupa a linha inteira, com um ponto ---------- */
.g-v2 .g-check-wrap .g-check:has(.g2-item) > li:not(.g2-item) { grid-column: 1 / -1; display: block; position: relative; padding: 10px 0 10px 18px; border-bottom: 1px solid var(--ag-line); font-size: 15.5px; line-height: 1.5; color: var(--ag-ink); }
.g-v2 .g-check-wrap .g-check:has(.g2-item) > li:not(.g2-item)::before { content: ""; position: absolute; left: 2px; top: 19px; width: 5px; height: 5px; border-radius: 50%; background: var(--ag-line-strong); }
.g-v2 .g-check-wrap .g-check:has(.g2-item) > li:not(.g2-item) label { padding: 0; }
.g-v2 .g-check-wrap .g-check:has(.g2-item) > li:not(.g2-item) small { display: inline; margin-left: 6px; font-size: 13.5px; }

/* ---------- Lista de marcar (sem produto): caixinha menor, letra no tamanho do texto ---------- */
.g-v2 .g-check-wrap:not(:has(.g2-item)) .g-check-head { margin-bottom: 4px; }
.g-v2 .g-check-wrap:not(:has(.g2-item)) .g-check-head h3 { font-size: 16px; color: var(--ag-ink); }
.g-v2 .g-check-wrap:not(:has(.g2-item)) .g-check { border-top: 1px solid var(--ag-line); }
.g-v2 .g-check-wrap:not(:has(.g2-item)) .g-check li { border-bottom: 1px solid var(--ag-line); }
.g-v2 .g-check label { gap: 12px; padding: 11px 0; font-size: 15.5px; }
.g-v2 .g-check input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; border-radius: 6px; }
.g-v2 .g-check input:checked { background-size: 14px; }
.g-v2 .g-progress { flex-basis: 200px; font-size: 13px; font-weight: 500; }
.g-v2 .g-progress span { height: 4px; background: var(--ag-line); }
.g-v2 .g-progress span i { background: var(--ag-indigo); }
.g-v2 .g-check-reset { font-size: 13.5px; font-weight: 500; }

/* ---------- Conta de quanto comprar: sem o cartão, linhas finas, produto compacto ---------- */
.g-v2 .g-conta { margin-top: 1.2em; padding: 0; border-radius: 0; background: none; }
.g-v2 .g-conta-head { margin-bottom: 4px; padding-bottom: 12px; border-bottom: 1px solid var(--ag-line); }
.g-v2 .g-conta-head h3 { font-size: 16px; color: var(--ag-ink); }
.g-v2 .g-conta-head label { font-size: 14.5px; font-weight: 500; }
.g-v2 .g-conta-head input { width: 76px; height: 38px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--ag-line-strong); font-size: 16px; }
.g-v2 .g-conta .g-check li.g-kit { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); align-items: center; gap: 4px 20px; padding: 12px 0; border-bottom: 1px solid var(--ag-line); }
.g-v2 .g-conta-need { padding: 0; font-size: 15px; }
.g-v2 .g-conta-need b { font-size: 19px; }
.g-v2 .g-conta-need small { font-size: 13px; }
.g-v2 .g-conta .g-kit-prod { flex: none; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 12px; margin: 0; padding: 0; border-radius: 0; background: none; }
.g-v2 .g-conta .g-kit-thumb { width: 44px; height: 44px; border-radius: 10px; }
.g-v2 .g-conta .g-kit-info a { font-size: 14px; font-weight: 600; -webkit-line-clamp: 1; }
.g-v2 .g-conta .g-kit-info small { font-size: 13px; }
.g-v2 .g-conta .g-kit-qty { box-shadow: none; background: var(--g2-soft); }
.g-v2 .g-conta .g-kit-qty button { width: 28px; height: 28px; font-size: 16px; }
.g-v2 .g-conta .ag-list-add { min-height: 34px; padding-inline: 12px; font-size: 13px; }
.g-v2 .g-kit-all.ag-btn-primary { margin-top: 16px; min-height: 38px; padding-inline: 16px; border: 1px solid var(--ag-line-strong); background: var(--ag-surface); color: var(--ag-indigo); font-size: 14px; }
.g-v2 .g-kit-all.ag-btn-primary:hover { border-color: var(--ag-indigo); background: var(--ag-surface); }
@media (max-width: 640px) {
  .g-v2 .g-conta .g-check li.g-kit { grid-template-columns: minmax(0, 1fr); }
  .g-v2 .g-conta .g-kit-prod { grid-template-columns: 44px minmax(0, 1fr) auto; margin: 0; }
  .g-v2 .g-conta .g-kit-qty { grid-column: 2; grid-row: 2; justify-self: start; }
  .g-v2 .g-conta .ag-list-add { grid-column: 3; grid-row: 1 / span 2; }
  .g-v2 .g-check-wrap .g-check:has(.g2-item) > li:not(.g2-item) { grid-column: 1; }
}

/* ---------- Busca de sobrenome e botões de filtro: menores e claros ---------- */
.g-v2 .g-find { gap: 8px; margin-bottom: 16px; }
.g-v2 .g-find label { font-family: var(--ag-font-body); font-size: 15.5px; font-weight: 600; letter-spacing: 0; color: var(--ag-ink); }
.g-v2 .g-find input { max-width: 380px; min-height: 44px; padding: 0 18px; border: 0; border-radius: var(--ag-pill); background: var(--ag-surface); box-shadow: inset 0 0 0 1px var(--ag-line-strong); font-size: 16px; }
.g-v2 .g-find input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--ag-indigo); }
.g-v2 .g-find-msg { font-size: 14.5px; font-weight: 500; }
.g-v2 .g-filter { gap: 6px; }
.g-v2 .g-filter button { min-height: 34px; padding: 0 14px; border: 1px solid var(--ag-line-strong); font-size: 13.5px; font-weight: 600; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.g-v2 .g-trail.is-match { box-shadow: none; background: var(--g2-cream); }
.g-v2 .g-trail .g-names { font-size: 15.5px; line-height: 1.65; }
.g-v2 .g-level { gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.g-v2 .g-level i::before, .g-v2 .g-level i::after, .g-v2 .g-level i span { width: 14px; height: 5px; }
.g-v2 .g-trail.is-closed { box-shadow: none; }

/* ---------- Comparação lado a lado: duas colunas sem cartão e sem o "&" ---------- */
.g-v2 .g-vs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 1em; }
.g-v2 .g-vs > span { display: none; }
.g-v2 .g-vs > div { padding: 14px 0 0; border-top: 1px solid var(--ag-line-strong); border-radius: 0; background: none; }
.g-v2 .g-vs > div h3 { margin: 0 0 6px; font-size: 16px; }
.g-v2 .g-vs > div ul { font-size: 15.5px; }
@media (max-width: 640px) { .g-v2 .g-vs { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* ---------- Mapas e Street View: cantos e altura no padrão das fotos ---------- */
.g-v2 .g-content > iframe.g-wide { display: block; height: 340px !important; margin: 1.2em 0 .4em !important; border-radius: 16px !important; background: var(--g2-soft); }
@media (max-width: 640px) { .g-v2 .g-content > iframe.g-wide { height: 260px !important; } }

/* Lugares com foto: alterna o lado da foto, um à direita e o seguinte à esquerda (só no computador). */
@media (min-width: 641px) {
  .g-v2 .g-trails > .g-trail:has(> .g-photo):nth-child(even),
  .g-v2 .g-trails > .g-trail:last-child:nth-child(even):has(> .g-photo) { grid-template-columns: 240px minmax(0, 1fr); }
  .g-v2 .g-trails > .g-trail:has(> .g-photo):nth-child(even) > * { grid-column: 2; }
  .g-v2 .g-trails > .g-trail:has(> .g-photo):nth-child(even) > .g-photo { grid-column: 1; }
}

/* ---------- Página do Blog: título menor, temas sem caixa, filtros pequenos ---------- */
.g-v2.g-hub-page .ag-page-head { padding-block: 12px 24px; }
.g-v2.g-hub-page .ag-page-head h1 { font-size: clamp(28px, 3vw, 38px); }
.g-v2.g-hub-page .ag-page-head p { font-size: 16px; }
.g-v2 .g-search input { min-height: 44px; border: 0; background: var(--ag-surface); box-shadow: inset 0 0 0 1px var(--ag-line-strong); font-size: 15px; }
.g-v2 .g-search input:focus { box-shadow: inset 0 0 0 1px var(--ag-indigo); }
.g-v2 .g-filters { top: 124px; border-radius: 0; background: none; }
.g-v2 .g-filters .ag-filters-box { padding: 0; }
.g-v2 .g-filters .ag-filters-box > summary { padding: 6px 0 8px; font-family: var(--ag-font-body); font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--ag-ink); }
.g-v2 .g-filters .ag-tree-leaf, .g-v2 .g-filters .ag-tree-all { min-height: 34px; padding: 0 10px 0 0; border-radius: 0; }
.g-v2 .g-filters .ag-tree-leaf:hover, .g-v2 .g-filters .ag-tree-all:hover { background: none; }
.g-v2 .g-filters .ag-tree a, .g-v2 .g-filters .ag-tree-all, .g-v2 .g-filters .ag-tree-root > li > .ag-tree-leaf > a { font-size: 14px; font-weight: 500; color: var(--ag-text); }
.g-v2 .g-filters .ag-tree a[aria-current], .g-v2 .g-filters .ag-tree-all[aria-current] { font-weight: 600; color: var(--ag-indigo); }
.g-v2 .g-filters .ag-tree small, .g-v2 .g-filters .ag-tree-all small { margin-left: auto; font-size: 12.5px; }
.g-v2 .g-chips { gap: 6px; }
.g-v2 .g-chips a { min-height: 32px; padding: 0 12px; border: 1px solid var(--ag-line); font-size: 13.5px; font-weight: 500; transition: border-color .2s ease; }
.g-v2 .g-chips a:hover { border-color: var(--ag-line-strong); }
.g-v2 .g-chips a[aria-current] { border-color: var(--ag-indigo); }
.g-v2 .g-chips a small { font-size: 12px; }
.g-v2.g-hub-page .ag-more .ag-btn { min-height: 40px; font-size: 14.5px; }
@media (max-width: 760px) {
  .g-v2 .g-filters .ag-filters-box > summary { padding: 12px 14px; border-radius: 12px; background: var(--ag-surface); box-shadow: inset 0 0 0 1px var(--ag-line); font-size: 14.5px; }
}
.g-v2 .g-filters .ag-filters-box { background: none; }

/* ---------- Dificuldade das trilhas: etiqueta pequena com ícone, no lugar das barrinhas ---------- */
.g-v2 .g-level { display: inline-flex; align-self: flex-start; justify-self: start; width: fit-content; align-items: center; gap: 5px; height: 24px; padding: 0 10px 0 7px; border-radius: var(--ag-pill); font-size: 12.5px; font-weight: 600; line-height: 1; letter-spacing: 0; text-transform: none; }
.g-v2 .g-level i { display: none; }
.g-v2 .g-level::before { content: ""; flex: none; width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--g2-level-icon) center / contain no-repeat; mask: var(--g2-level-icon) center / contain no-repeat; }
.g-v2 .g-level[data-n="1"] { background: #e6f4ea; color: #1f7a3d; --g2-level-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12.5 2.7 2.7L16 9.8'/%3E%3C/svg%3E"); }
.g-v2 .g-level[data-n="2"] { background: #fdf3d8; color: #8a5a00; --g2-level-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.9 2.4 17.6A2 2 0 0 0 4.1 20.6h15.8a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z'/%3E%3Cpath d='M12 9.5v4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E"); }
.g-v2 .g-level[data-n="3"] { background: #fbe7e6; color: #b3261e; --g2-level-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M10.3 3.9 2.4 17.6A2 2 0 0 0 4.1 20.6h15.8a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0zM10.9 8.8h2.2v5.4h-2.2zM10.9 15.6h2.2v2.2h-2.2z'/%3E%3C/svg%3E"); }
.g-v2 .g-trail > .g-level + h3 { margin-top: 10px; }

/* Lugar sem foto: o texto ocupa a largura toda, sem a coluna vazia da foto. */
.g-v2 .g-trails > .g-trail:not(:has(> .g-photo)),
.g-v2 .g-trails > .g-trail:last-child:nth-child(odd):not(:has(> .g-photo)) { grid-template-columns: minmax(0, 1fr) !important; }
.g-v2 .g-trails > .g-trail:not(:has(> .g-photo)) > * { grid-column: 1 !important; }

/* Grupo só de notas (nenhum cartão com foto): grade de duas colunas, compacta. */
.g-v2 .g-content .g-trails:not(:has(.g-photo)) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.g-v2 .g-content .g-trails:not(:has(.g-photo)) > .g-trail { display: flex !important; flex-direction: column; gap: 6px; padding: 18px 0; border-top: 1px solid var(--ag-line); border-bottom: 0 !important; }
.g-v2 .g-content .g-trails:not(:has(.g-photo)) > .g-trail > * + * { margin-top: 0; }
.g-v2 .g-content .g-trails:not(:has(.g-photo)) > .g-trail:last-child:nth-child(odd) { grid-column: auto; }
.g-v2 .g-content .g-trails:not(:has(.g-photo)) > .g-trail h3 { font-size: 16px; }
.g-v2 .g-content .g-trails:not(:has(.g-photo)) > .g-trail p { font-size: 15px; line-height: 1.6; }
.g-v2 .g-content .g-trails:not(:has(.g-photo)) > .g-trail .g-facts { margin-top: 2px; font-size: 13px; }
@media (max-width: 640px) { .g-v2 .g-content .g-trails:not(:has(.g-photo)) { grid-template-columns: minmax(0, 1fr); } }

/* Tabelas no celular: cada linha é um bloco, sem rolar para o lado. */
@media (max-width: 640px) {
  .g-v2 .g-table-wrap:has(.g2-stack) { overflow: visible; }
  .g-v2 .g2-stack, .g-v2 .g2-stack tbody, .g-v2 .g2-stack tr, .g-v2 .g2-stack td { display: block; width: 100%; }
  .g-v2 .g2-stack thead { display: none; }
  .g-v2 .g2-stack tr { padding: 12px 0; border-bottom: 1px solid var(--ag-line); }
  .g-v2 .g2-stack td { padding: 2px 0; border: 0; font-size: 14.5px; }
  .g-v2 .g2-stack td:first-child { padding-bottom: 4px; font-size: 15.5px; white-space: normal; }
  .g-v2 .g2-stack td:not(:first-child)[data-label]::before { content: attr(data-label) ": "; color: var(--ag-muted); }
}
/* "Temas" na página do Blog: a letra não é cortada pela borda da lateral. */
.g-v2 .g-filters { padding-left: 3px; margin-left: -3px; }

/* ---------- Linha do tempo das histórias (agenda só de anos) ---------- */
.g-v2 .g-content .g-agenda.g2-years { position: relative; margin-top: 1.2em; padding-left: 22px; border-top: 0; }
.g-v2 .g-content .g-agenda.g2-years::before { content: ""; position: absolute; left: 4px; top: 10px; bottom: 10px; width: 1px; background: var(--ag-line-strong); }
.g-v2 .g-content .g-agenda.g2-years > li { position: relative; display: block; padding: 0 0 22px; border: 0; }
.g-v2 .g-content .g-agenda.g2-years > li:last-child { padding-bottom: 0; }
.g-v2 .g-content .g-agenda.g2-years > li::before { content: ""; position: absolute; left: -22px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--ag-indigo); box-shadow: 0 0 0 4px var(--ag-ground); }
.g-v2 .g2-years .g-date { display: flex; flex-direction: row; align-items: baseline; gap: 0; margin-bottom: 2px; padding: 0; }
.g-v2 .g2-years .g-date b { font-family: var(--ag-font-body); font-size: 13.5px; font-weight: 700; letter-spacing: 0; }
.g-v2 .g2-years .g-date small { margin: 0; font-size: 13.5px; font-weight: 500; color: var(--ag-muted); }
.g-v2 .g2-years .g-date small::before { content: "·"; margin: 0 6px; }
.g-v2 .g2-years h3 { padding-right: 0; font-size: 16px; }
.g-v2 .g2-years p { margin-top: 3px; font-size: 15.5px; }
.g-v2 .g2-years .g-agenda-flag { display: none; }

/* Listas numeradas: o número entra no começo do título, na mesma linha, em vez de ficar sozinho numa coluna. */
.g-v2 .g-content .g-top > li { display: block; padding-left: 0; }
.g-v2 .g-content .g-top > li::before { content: none; }
.g-v2 .g-content .g-top > li > * { max-width: none; }
.g-v2 .g-content .g-top > li > :is(h2, h3):first-of-type::before { content: counter(top) "."; margin-right: 8px; font-variant-numeric: tabular-nums; color: var(--ag-indigo); opacity: .55; }

/* Título de cada lista de produtos (ex.: "Para a casa", "Para os presentes"): pequeno, em cima da lista. */
.g-v2 .g-check-wrap .g-check-head { margin: 0 0 6px; }
.g-v2 .g-check-wrap .g-check-head h3 { margin: 0; font-family: var(--ag-font-body); font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--ag-ink); }
.g-v2 .g-content > .g-check-wrap + .g-check-wrap { margin-top: 2em; }

/* Listas comuns no texto: sem recuo; o marcador fica pendurado para fora, e o texto alinha com os parágrafos. */
/* (O "entrar devagar" põe a classe g2-rv nas listas soltas, então não dá para contar com :not([class]).) */
.g-v2 .g-content :is(ul, ol):not([class*="g-"]):not([class*="g2-vids"]):not([class*="ag-"]) { padding-left: 0; list-style-position: outside; }
.g-v2 .g-content :is(ul, ol):not([class*="g-"]):not([class*="g2-vids"]):not([class*="ag-"]) > li::marker { color: var(--ag-muted); }

/* ---------- Agenda com fotos (ol.g-agenda.g-agenda-fotos): uma coluna, foto grande em cima, texto embaixo ---------- */
.g-v2 .g-content .g-agenda.g-agenda-fotos { margin-top: .6em; border-top: 0; }
.g-v2 .g-content > h2:has(+ .g-agenda-fotos) { margin-top: .9em; }
.g-v2 .g-content .g-agenda-fotos > li,
.g-v2 .g-content .g-agenda-fotos > li.has-img { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "img" "date" "body"; row-gap: 6px; padding: 32px 0; border-bottom: 1px solid var(--ag-line); }
.g-v2 .g-content .g-agenda-fotos > li:first-child { padding-top: 8px; }
.g-v2 .g-content .g-agenda-fotos > li:last-child { border-bottom: 0; }
.g-v2 .g-agenda-fotos .g-agenda-img { grid-area: img; position: relative; margin-bottom: 10px; border-radius: 14px; }
.g-v2 .g-agenda-fotos .g-agenda-img img { aspect-ratio: 16 / 9; }
.g-v2 .g-agenda-fotos .g-date { grid-area: date; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 0; }
.g-v2 .g-agenda-fotos .g-date b { font-size: 14.5px; font-weight: 700; letter-spacing: 0; }
.g-v2 .g-agenda-fotos .g-date small { margin: 0; font-size: 14.5px; }
.g-v2 .g-agenda-fotos .g-date small::before { content: "·"; margin-right: 8px; color: var(--ag-line-strong); }
.g-v2 .g-agenda-fotos > li > div { grid-area: body; }
.g-v2 .g-agenda-fotos h3 { padding-right: 0; font-size: 20px; line-height: 1.3; scroll-margin-top: 140px; }
.g-v2 .g-agenda-fotos p { margin-top: 6px; }
.g-v2 .g-agenda-fotos .g-agenda-flag,
.g-v2 .g-agenda-fotos > li.has-img .g-agenda-flag { grid-area: img; position: relative; top: auto; right: auto; z-index: 1; align-self: start; justify-self: start; margin: 14px; padding: 4px 12px; background: #fff; color: var(--ag-indigo); box-shadow: 0 2px 8px rgba(22, 22, 46, .12); }
.g-v2 .g-agenda-fotos > li.is-past .g-agenda-flag { padding: 4px 12px; background: #fff; color: var(--ag-muted); }
.g-v2 .g-content .g-agenda-fotos > li.is-past > * { opacity: .55; }
.g-v2 .g-content .g-agenda-fotos > li.is-past > .g-agenda-flag { opacity: 1; }
@media (max-width: 640px) {
  .g-v2 .g-content .g-agenda-fotos > li, .g-v2 .g-content .g-agenda-fotos > li.has-img { padding: 24px 0; }
  .g-v2 .g-agenda-fotos .g-agenda-img img { aspect-ratio: 3 / 2; }
  .g-v2 .g-agenda-fotos .g-agenda-flag, .g-v2 .g-agenda-fotos > li.has-img .g-agenda-flag { margin: 10px; }
  .g-v2 .g-agenda-fotos h3 { font-size: 18px; }
}
/* Galeria do evento: fotos lado a lado que deslizam (sem barra nem setas), miniaturas embaixo. */
.g-v2 .g-agenda-fotos .g-agenda-gal { grid-area: img; min-width: 0; margin-bottom: 10px; }
.g-ev-main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 14px; background: var(--ag-ground); scrollbar-width: none; overscroll-behavior-x: contain; user-select: none; -webkit-user-select: none; }
.g-ev-main::-webkit-scrollbar { display: none; }
.g-ev-main.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.g-ev-main.is-dragging img { cursor: grabbing; }
.g-ev-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.g-ev-slide img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; cursor: zoom-in; }
.g-ev-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.g-ev-thumbs button { width: 76px; height: 52px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: var(--ag-ground); opacity: .55; cursor: pointer; transition: opacity .2s ease; }
.g-ev-thumbs button:hover { opacity: .85; }
.g-ev-thumbs button.is-active { opacity: 1; box-shadow: 0 0 0 2px var(--ag-surface, #fff), 0 0 0 4px var(--ag-indigo); }
.g-ev-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
  .g-ev-slide img { aspect-ratio: 3 / 2; }
  .g-ev-thumbs { gap: 6px; }
  .g-ev-thumbs button { width: calc((100% - 30px) / 6); height: auto; aspect-ratio: 4 / 3; }
}
