@font-face {
  font-family: "Newsreader GEO";
  src: url("/assets/fontes/newsreader/5.3.0/newsreader-latin-opsz-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --d27-bg: light-dark(#f8fafd, #101a28);
  --d27-surface: light-dark(#fff, #162437);
  --d27-text: light-dark(#142438, #e9f0f8);
  --d27-muted: light-dark(#465a70, #b2c3d8);
  --d27-line: light-dark(#c8d6e5, #4e6480);
  --d27-link: light-dark(#00528f, #91d4ff);
  --d27-tint: light-dark(#e9f5fd, #1a3046);
  --d27-focus: light-dark(#00528f, #a7ddff);
  --d27-hero: #102741;
  --d27-hero-text: #f6fbff;
  --d27-hero-muted: #c2d7ec;
  --d27-hero-accent: #94e2ee;
  --d27-display: "Newsreader GEO", Georgia, serif;
}

:root[data-d27-theme="dark"] { color-scheme: dark; }
:root[data-d27-theme="light"] { color-scheme: light; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--d27-bg);
  color: var(--d27-text);
  overflow-wrap: anywhere;
  font: 1rem/1.65 system-ui, sans-serif;
}

a { color: var(--d27-link); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .13em; }
p { text-align: justify; hyphens: auto; }
:focus-visible { outline: 3px solid var(--d27-focus); outline-offset: 4px; }
[id] { scroll-margin-top: 5.5rem; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.d27-wrap { width: min(76rem, calc(100% - 3rem)); margin-inline: auto; }
.d27-skip {
  position: fixed;
  z-index: 30;
  inset: .7rem auto auto .7rem;
  padding: .65rem 1rem;
  background: var(--d27-surface);
  transform: translateY(-180%);
}
.d27-skip:focus { transform: none; }
.d27-topbar {
  position: sticky;
  inset-block-start: 0;
  z-index: 5;
  border-bottom: 1px solid var(--d27-line);
  background: var(--d27-surface);
}
.d27-nav { display: flex; gap: 1.1rem; align-items: center; min-height: 3.75rem; }
.d27-brand { margin-inline-end: auto; color: var(--d27-text); font-weight: 760; text-decoration: none; }
.d27-hub { font-size: .9rem; }
.d27-theme {
  min-height: 2.5rem;
  border: 1px solid var(--d27-line);
  border-radius: .4rem;
  padding: .34rem .65rem;
  background: var(--d27-surface);
  color: var(--d27-text);
  font: 650 .86rem/1.2 system-ui, sans-serif;
  cursor: pointer;
}
.d27-theme:hover { background: var(--d27-tint); }
.d27-hero { background: var(--d27-hero); color: var(--d27-hero-text); position: relative; }
.d27-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--d27-hero-accent);
}
.d27-hero :focus-visible { outline-color: var(--d27-hero-accent); }
.d27-hero a { color: var(--d27-hero-accent); }
.d27-hero-grid {
  padding-block: clamp(2.6rem, 6vw, 5.3rem);
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.7fr) minmax(15rem, 1fr);
  column-gap: clamp(2rem, 7vw, 7rem);
  row-gap: 2.3rem;
}
.d27-trail ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  padding: 0;
  margin: 0;
  font-size: .88rem;
  color: var(--d27-hero-muted);
}
.d27-trail li + li::before { content: "/"; padding-inline-end: .45rem; }
.d27-hero h1 {
  margin: 1.6rem 0 1.05rem;
  max-width: 15ch;
  font: 400 clamp(2.8rem, 6.4vw, 6.2rem)/.99 var(--d27-display);
  letter-spacing: -.042em;
  text-wrap: balance;
}
.d27-deck { margin: 0; max-width: 36rem; color: var(--d27-hero-muted); font-size: clamp(1rem, 2vw, 1.22rem); }
.d27-byline { display: flex; gap: .4rem 1.25rem; flex-wrap: wrap; margin-top: 1.35rem; font-size: .93rem; }
.d27-byline time { color: var(--d27-hero-muted); }
.d27-map { border: 1px solid #63819e; border-radius: .5rem; background: #152f4c; padding: .3rem 1rem; }
.d27-map-label { font-weight: 700; margin: .65rem 0; }
.d27-map a { border-top: 1px solid #63819e; display: grid; padding: .6rem .05rem; text-decoration: none; }
.d27-map strong { color: var(--d27-hero-accent); }
.d27-map span { color: var(--d27-hero-text); font-size: .89rem; }
.d27-map a:hover strong { text-decoration: underline; }
.d27-reading {
  display: grid;
  grid-template-columns: minmax(10rem, 14rem) minmax(0, 46rem);
  gap: clamp(1.25rem, 5vw, 5rem);
  padding-block: clamp(2.4rem, 5vw, 4.4rem);
}
.d27-toc {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .37rem;
  position: sticky;
  top: 5rem;
  margin: 0;
  padding: .35rem 0 .35rem .9rem;
  border-inline-start: 1px solid var(--d27-line);
}
.d27-toc a { width: fit-content; font-size: .92rem; }
.d27-prose { min-width: 0; overflow-wrap: anywhere; font-size: 1.04rem; }
.d27-prose p { margin: 0 0 1em; }
.d27-prose .answer-capsule { margin: 0 0 1.7rem; color: var(--d27-muted); font-size: clamp(1.12rem, 2vw, 1.25rem); line-height: 1.58; }
.d27-prose section + section { margin-top: clamp(2.7rem, 5vw, 4rem); }
.d27-prose h2 { font: 400 clamp(1.95rem, 3.9vw, 2.9rem)/1.05 var(--d27-display); letter-spacing: -.022em; margin: 0 0 .8em; text-wrap: balance; }
.d27-prose h3 { margin: 1.75rem 0 .58rem; line-height: 1.3; font-size: 1.22rem; }
.d27-prose li + li { margin-block-start: .48em; }
.d27-prose ul, .d27-prose ol { padding-inline-start: 1.45em; }
.d27-prose code { background: var(--d27-tint); color: var(--d27-text); padding: .09em .3em; border-radius: .22rem; font-size: .92em; }
.d27-prose blockquote { margin-inline: 0; padding: .9rem 1.2rem .12rem; border-inline-start: 3px solid var(--d27-link); background: var(--d27-tint); }
.d27-finder {
  border: 1px solid var(--d27-line);
  border-radius: .55rem;
  padding: clamp(.8rem, 2.6vw, 1.45rem);
  background: var(--d27-surface);
}
.d27-finder h2 { margin-bottom: .58rem; font-size: clamp(1.65rem, 3vw, 2.3rem); }
.d27-finder details { border-top: 1px solid var(--d27-line); }
.d27-finder summary { padding: .6rem .1rem; cursor: pointer; color: var(--d27-link); font-weight: 650; }
.d27-finder details p { padding-inline-start: 1.12rem; }
.d27-schema-example {
  margin-block: 1.3rem;
  padding: .75rem .95rem;
  border: 1px solid var(--d27-line);
  border-radius: .5rem;
  background: var(--d27-surface);
}
.d27-schema-example summary { color: var(--d27-link); cursor: pointer; font-weight: 650; }
.d27-schema-example[open] summary { margin-bottom: .65rem; }
.d27-schema-example pre {
  margin-block: .7rem 0;
  padding: .65rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--d27-tint);
  border-radius: .25rem;
}
.d27-schema-example pre code { background: transparent; padding: 0; }
.d27-prose :target { text-decoration: underline; text-decoration-color: var(--d27-link); text-underline-offset: .13em; }
.d27-prose section:target { text-decoration: none; }
.d27-footer { border-top: 1px solid var(--d27-line); background: var(--d27-surface); }
.d27-footer .d27-wrap { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; padding-block: 1.4rem; font-size: .92rem; }
.d27-prose .article-table-scroll { overflow-x: auto; margin-block: 1.3rem; }
.d27-prose table { border-collapse: collapse; width: 100%; }
.d27-prose th, .d27-prose td { text-align: start; vertical-align: top; border-bottom: 1px solid var(--d27-line); padding: .58rem .62rem; }
.d27-prose th { background: var(--d27-tint); }

@media (max-width: 52rem) {
  .d27-hero-grid, .d27-reading { grid-template-columns: minmax(0, 1fr); }
  .d27-hero h1 { max-width: 17ch; }
  .d27-toc { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); padding: .55rem .7rem; border: 1px solid var(--d27-line); border-radius: .45rem; }
}
@media (max-width: 32rem) {
  .d27-wrap { width: calc(100% - 2rem); }
  .d27-topbar { position: static; }
  .d27-nav { flex-wrap: wrap; gap: .5rem .62rem; min-height: 3.35rem; padding-block: .4rem; }
  .d27-hero h1 { font-size: clamp(2.25rem, 12vw, 3.8rem); }
  .d27-prose { font-size: 1rem; }
  .d27-hub, .d27-theme { font-size: .8rem; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media print {
  :root { color-scheme: light !important; }
  .d27-topbar, .d27-skip, .d27-aside, .d27-map, .d27-finder { display: none; }
  .d27-hero, .d27-reading { display: block; background: white; color: #142438; padding-block: .4rem; }
  .d27-hero a, .d27-deck, .d27-byline time { color: #142438; }
  .d27-hero h1 { font-size: 2.4rem; max-width: none; }
  .d27-wrap { width: 100%; }
}
