/* A estrutura de leitura, as fontes e os componentes vêm do artigo.css da Toda Fase. */
:root[data-blog="tarot"] {
  --paper: #faf7ff; --surface: #fff; --blush: #eee6fc; --ink: #281b36;
  --muted: #675475; --line: #ddcfea; --berry: #7132c2; --on-berry: #fff;
}
:root[data-blog="financas"] {
  --paper: #f6f8fe; --surface: #fff; --blush: #e5edfc; --ink: #152c47;
  --muted: #50647c; --line: #cedcee; --berry: #1d4ed8; --on-berry: #fff;
}
:root[data-blog="viagens"] {
  --paper: #fff9f2; --surface: #fff; --blush: #fce9d6; --ink: #362719;
  --muted: #73604d; --line: #e9d5bf; --berry: #a8440a; --on-berry: #fff;
}
@media (prefers-color-scheme: dark) {
  :root[data-blog="tarot"] {
    --paper: #18121e; --surface: #241b2d; --blush: #30213d; --ink: #f3eafa;
    --muted: #c8b7d6; --line: #4c395e; --berry: #c5a0f4; --on-berry: #241134;
  }
  :root[data-blog="financas"] {
    --paper: #111b29; --surface: #1a283b; --blush: #22334b; --ink: #edf3fd;
    --muted: #b3c4db; --line: #3b526f; --berry: #a4c1ff; --on-berry: #152540;
  }
  :root[data-blog="viagens"] {
    --paper: #211710; --surface: #302219; --blush: #3b2a1d; --ink: #fff0e3;
    --muted: #d5bda6; --line: #5b412c; --berry: #ffb87e; --on-berry: #34200e;
  }
}
html { scrollbar-color: var(--berry) var(--paper); }
::selection { background: var(--berry); color: var(--on-berry); }
.skip { position: fixed; z-index: 50; inset: 8px auto auto 8px; padding: 10px 16px; background: var(--surface); transform: translateY(-160%); }
.skip:focus { transform: none; }
.blog-wrap { max-width: 1120px; }
.top .wrap { gap: 12px; }
.brand .name { font-size: clamp(1.15rem, 4.2vw, 1.5rem); }
.nav { gap: 16px; flex-shrink: 0; }
.home-hero { padding: 34px 0 4px; }
.home-hero h1 { max-width: 21ch; font-size: clamp(2.3rem, 6.7vw, 3.6rem); margin-bottom: 16px; }
.home-hero .dek { max-width: 65ch; }
.chips { gap: 8px; }
.chips a { min-height: 44px; }
.chips a[aria-current="page"] { border-color: var(--berry); background: var(--blush); }
.capa { display: grid; gap: 26px; margin: 24px 0 44px; }
.post { border-radius: 16px; }
.post img, .mini img, .card img, .hero figure img { object-position: 50% 30%; }
.post.feature > a { display: block; }
.post.feature img { width: 100%; height: auto; min-height: 0; aspect-ratio: 3 / 2; }
.post-category { font-size: .9rem; font-weight: 700; color: var(--berry) !important; margin-bottom: 8px !important; }
.post h2 { font-size: clamp(1.45rem, 4.8vw, 1.9rem); }
.post.feature h2 { font-size: clamp(1.8rem, 5.6vw, 2.5rem); }
.post a:hover h2, .mini:hover strong { color: var(--berry); }
.lista { display: grid; gap: 16px; align-content: start; }
.lista > h2 { font-size: 1.55rem; margin-bottom: 2px; }
.mini { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; text-decoration: none; color: var(--ink); padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.mini img { width: 112px; height: 112px; object-fit: cover; border-radius: 12px; }
.mini small { display: block; color: var(--berry); font-size: .85rem; font-weight: 700; margin-bottom: 6px; }
.mini strong { display: block; font: 400 1.3rem/1.2 var(--display); }
.mini-time { display: block; margin-top: 8px; font-size: .85rem; color: var(--muted); }
.all-posts { min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; }
.autora { margin: 40px 0; }
.autora img { object-position: center top; }
.autora h2 { font-size: 1.35rem; margin-bottom: 10px; }
.autora h2 a { color: var(--ink); text-decoration: none; }
.autora p { max-width: 70ch; }
.autora div > a { display: inline-flex; min-height: 44px; align-items: center; font-size: 1rem; }
.editorial { margin: 28px 0 36px; padding: 24px; }
.editorial p { margin: 16px 0 0; }
.editorial p:only-child { margin: 0; }
.hero { padding-top: 30px; }
.hero figure img { aspect-ratio: 3 / 2; }
.tldr { border-left-width: 1px; }
.tldr ul { margin: 0; padding-left: 1.2em; }
.tldr li { margin-bottom: 10px; }
.step p { max-width: 70ch; }
.sources { margin: 36px 0; }
.sources h2 { font-size: 1.6rem; }
.sources li { margin-bottom: 10px; }
.sources p { color: var(--muted); font-size: .9rem; }
.sources a { overflow-wrap: anywhere; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.card { min-height: 90px; }
.card span { padding-block: 10px; }
@media (min-width: 960px) {
  .capa { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .autora { grid-template-columns: 64px minmax(0, 1fr); padding: 16px; gap: 12px; }
  .autora img { width: 64px; height: 64px; }
  .mini { grid-template-columns: 88px minmax(0, 1fr); }
  .mini img { width: 88px; height: 104px; }
  .mini strong { font-size: 1.18rem; }
}
