/* Design System SPU / gov.br (DSGov) */
@import url('https://fonts.cdnfonts.com/css/rawline');

:root {
  --govbr-blue-primary: #1351B4;
  --govbr-blue-dark: #0C326F;
  --govbr-blue-deep: #071D41;
  --govbr-gray-bg: #F8F9FA;
  --govbr-gray-border: #E6E8EC;
  --govbr-text: #212529;
  --govbr-text-secondary: #555C66;

  /* Variaveis Material for MkDocs */
  --md-primary-fg-color:        #1351B4;
  --md-primary-fg-color--light: #2670E8;
  --md-primary-fg-color--dark:  #0C326F;
  --md-accent-fg-color:         #1351B4;
  --md-default-fg-color--link:  #1351B4;

  --md-text-font: 'Rawline', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --md-code-font: "Roboto Mono", monospace;
}

body, html, .md-typeset, .md-header, .md-sidebar, .md-nav {
  font-family: 'Rawline', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.md-header {
  background-color: #0C326F;
  border-bottom: 3px solid #1351B4;
}

.md-header__title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Redução e padronização das fontes dos cabeçalhos */
.md-typeset h1 {
  font-size: 1.75rem !important;
  color: #0C326F !important;
  font-weight: 800 !important;
  margin-top: 1.6rem !important;
  margin-bottom: 1.2rem !important;
  line-height: 1.25 !important;
}

.md-typeset h2 {
  font-size: 1.35rem !important;
  color: #0C326F !important;
  font-weight: 700 !important;
  margin-top: 1.5rem !important;
  margin-bottom: 0.8rem !important;
  border-bottom: 1px solid #E6E8EC !important;
  padding-bottom: 0.35rem !important;
  line-height: 1.3 !important;
}

.md-typeset h3 {
  font-size: 1.15rem !important;
  color: #0C326F !important;
  font-weight: 700 !important;
  margin-top: 1.3rem !important;
  margin-bottom: 0.6rem !important;
  line-height: 1.35 !important;
}

.md-typeset h4 {
  font-size: 1rem !important;
  color: #1351B4 !important;
  font-weight: 700 !important;
  margin-top: 1rem !important;
  margin-bottom: 0.5rem !important;
}

/* Espaçamento inferior entre parágrafos */
.md-typeset p {
  margin-bottom: 1.2rem !important;
  line-height: 1.65 !important;
}

/* Tabelas forçadas para estilo nativo responsivo */
.md-typeset table:not([class]) {
  display: table !important;
  width: 100% !important;
  border-collapse: collapse !important;
  margin-top: 1rem !important;
  margin-bottom: 1.6rem !important;
  border: 1px solid #E6E8EC !important;
  font-size: 0.875rem !important;
}

.md-typeset table:not([class]) th {
  background-color: #0C326F !important;
  color: #ffffff !important;
  padding: 10px 14px !important;
  font-weight: 700 !important;
  text-align: left !important;
  border: 1px solid #0C326F !important;
}

.md-typeset table:not([class]) td {
  padding: 9px 14px !important;
  border: 1px solid #E6E8EC !important;
  vertical-align: top !important;
}

.md-typeset table:not([class]) tr:nth-child(even) td {
  background-color: #F8F9FA !important;
}

.md-typeset table:not([class]) tr:hover td {
  background-color: #EDF4FF !important;
}

.md-typeset a {
  color: #1351B4;
  font-weight: 500;
}

.md-typeset a:hover {
  color: #0C326F;
  text-decoration: underline;
}

.md-typeset blockquote {
  border-left: 4px solid #1351B4 !important;
  background-color: rgba(19, 81, 180, 0.05) !important;
  padding: 12px 18px !important;
  margin: 1.2rem 0 !important;
  border-radius: 0 6px 6px 0;
}

.md-typeset blockquote p {
  margin-bottom: 0.4rem !important;
}

.md-typeset blockquote p:last-child {
  margin-bottom: 0 !important;
}

.md-typeset pre, .md-typeset code {
  font-family: "Roboto Mono", monospace;
  font-size: 0.875rem;
}
