/* GABCONT - Blog | Dúvidas de Psicólogos */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container--narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.nav a[aria-current="page"] { color: var(--pink-600); }

/* Breadcrumbs */
.crumbs ol { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: .35rem; font-size: .85rem; color: var(--ink-soft); }
.crumbs li + li::before { content: "›"; margin-right: .35rem; color: var(--pink-400); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--pink-600); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.crumbs--light ol, .crumbs--light a, .crumbs--light [aria-current] { color: rgba(255, 255, 255, .92); }
.crumbs--light li + li::before { color: #fff; }

/* Topo do blog */
.blog-hero { background: linear-gradient(135deg, var(--pink-400) 0%, var(--pink-300) 100%); color: #fff; padding: clamp(2.2rem, 6vw, 4rem) 0 clamp(2.8rem, 6vw, 4.2rem); text-align: center; }
.blog-hero .crumbs ol { justify-content: center; }
.blog-hero__eyebrow { font-weight: 800; letter-spacing: .18em; text-transform: uppercase; font-size: .8rem; margin: 0 0 .6rem; opacity: .95; }
.blog-hero h1 { font-size: clamp(1.7rem, 4.2vw, 2.7rem); font-weight: 800; max-width: 820px; margin: 0 auto .6rem; text-shadow: 0 2px 12px rgba(157, 23, 77, .25); }
.blog-hero__lead { font-size: clamp(1rem, 2vw, 1.2rem); max-width: 620px; margin: 0 auto 1.8rem; }
.search { position: relative; max-width: 620px; margin: 0 auto; }
.search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--lilac-600); }
.search input { width: 100%; padding: 1rem 1.2rem 1rem 3.2rem; border-radius: 999px; border: 0; font: inherit; font-size: 1rem; color: var(--ink); box-shadow: 0 14px 30px -14px rgba(157, 23, 77, .55); }
.search input:focus { outline: 3px solid var(--lilac-500); outline-offset: 2px; }

/* Categorias */
.blog-list { padding-top: 2.2rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.chip { font: inherit; font-size: .86rem; font-weight: 600; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: .45rem .9rem; cursor: pointer; transition: border-color .15s, background .15s; }
.chip span { color: var(--ink-soft); font-weight: 500; margin-left: .15rem; }
.chip:hover { border-color: var(--pink-300); }
.chip.is-active { background: var(--pink-50); border-color: var(--pink-500); color: var(--pink-600); }
.blog-list__status { color: var(--ink-soft); font-size: .92rem; min-height: 1.4em; margin: 0 0 1rem; }

/* Cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.post-card[hidden] { display: none; }
.post-card__img img { aspect-ratio: 1200 / 630; width: 100%; object-fit: cover; background: var(--pink-50); }
.post-card__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post-card__cat { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lilac-600); margin: 0 0 .45rem; }
.post-card__title { font-size: 1.08rem; margin: 0 0 .5rem; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--pink-600); }
.post-card__desc { color: var(--ink-soft); font-size: .93rem; flex: 1; }
.post-card__more { font-weight: 700; font-size: .92rem; color: var(--pink-600); text-decoration: none; }
.post-card__more:hover { text-decoration: underline; }
.empty { text-align: center; max-width: 520px; margin: 1rem auto; background: var(--pink-50); border-radius: var(--radius); padding: 2rem 1.5rem; }
.empty__title { font-weight: 800; font-size: 1.15rem; }
.more { text-align: center; margin-top: 2rem; }

/* Artigo */
.post__head { padding-top: clamp(1.6rem, 4vw, 2.6rem); }
.post__cat { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lilac-600); background: var(--lilac-100); padding: .3rem .75rem; border-radius: 999px; text-decoration: none; margin-bottom: .9rem; }
.post__head h1 { font-size: clamp(1.75rem, 4.4vw, 2.6rem); font-weight: 800; line-height: 1.15; }
.post__meta { color: var(--ink-soft); font-size: .9rem; }
.post__meta a { color: var(--ink); font-weight: 600; }
.post__hero { width: min(1000px, 100% - 32px); margin: 1.2rem auto 2rem; }
.post__hero img { border-radius: 22px; width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.post__body { font-size: 1.06rem; padding-bottom: 3rem; }
.post__body p, .post__body li { color: #2d2940; }
.post__body h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin-top: 2.4rem; }
.post__body h3 { margin-top: 0; }
.post__body ul, .post__body ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.post__body li { margin-bottom: .45rem; }
.post__body a:not(.btn) { color: var(--lilac-600); }
.post__body .btn--wa, .post__body .btn--wa:hover { color: #fff; }
.post__lead { font-size: 1.15rem; color: var(--ink) !important; }
.answer { background: var(--pink-50); border-left: 5px solid var(--pink-500); border-radius: 0 16px 16px 0; padding: 1.2rem 1.4rem; margin: 1.6rem 0; }
.answer__label { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pink-600) !important; margin: 0 0 .4rem; }
.answer p:last-child { margin: 0; }
.destaque { background: var(--lilac-100); border-radius: 14px; padding: 1rem 1.2rem; margin: 1.2rem 0; font-size: 1rem; }
.tabela { overflow-x: auto; margin: 1rem 0 1.4rem; }
.tabela table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 480px; }
.tabela th, .tabela td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--line); }
.tabela th { background: var(--pink-50); font-weight: 700; }
.steps ol { list-style: none; padding: 0; counter-reset: passo; }
.steps li { counter-increment: passo; position: relative; padding: .2rem 0 .8rem 3rem; min-height: 2.2rem; }
.steps li::before { content: counter(passo); position: absolute; left: 0; top: 0; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: linear-gradient(135deg, var(--pink-400), var(--lilac-500)); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .95rem; }
.checklist { list-style: none; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1.4rem; }
.checklist li { position: relative; padding-left: 1.8rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.05rem; height: 1.05rem; border-radius: 5px; background: var(--pink-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23db2777' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 75% no-repeat; border: 1.5px solid var(--pink-300); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.split__col { border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.2rem .4rem; }
.split__col--alt { background: var(--pink-50); border-color: transparent; }
.split__col h3 { font-size: 1rem; }
.split__col ul { font-size: .97rem; }
.closing { font-size: 1.12rem; font-weight: 600; color: var(--ink) !important; border-top: 1px solid var(--line); padding-top: 1.6rem; margin-top: 2.2rem; }
.author { display: grid; grid-template-columns: 150px 1fr; gap: 1.6rem; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 1.6rem; box-shadow: var(--shadow); margin: 2rem 0; }
.author img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; }
.author__eyebrow { font-weight: 800; font-size: 1.1rem; color: var(--pink-600) !important; margin-bottom: .6rem; }
.author p { font-size: 1rem; }
.author .btn { margin-top: .4rem; }
.sources h2 { font-size: 1.15rem; }
.sources ul { font-size: .93rem; }
.disclaimer { font-size: .86rem; color: var(--ink-soft) !important; background: #f8f7fb; border-radius: 12px; padding: .9rem 1rem; }
.related h2 { text-align: center; margin-bottom: 1.6rem; }

@media (max-width: 960px) {
  .post-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .post-grid, .split, .checklist { grid-template-columns: 1fr; }
  .author { grid-template-columns: 1fr; text-align: center; }
  .author img { margin: 0 auto; width: 120px; height: 120px; }
  .author .btn { width: 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .4rem; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .chip { flex: none; }
}
.cta .btn--wa, .cta .btn--wa:hover { color: #fff; }
