/* TEC-IT documentation site hook for MkDocs Material.
   Keep this layer small: Material handles layout, search and navigation. */

:root {
  --tecit-red: #8b1818;
  --tecit-blue: #1a3a6b;
  --tecit-text: #1e1e1e;
  --tecit-muted: #6e6e6e;
  --tecit-border: #dcdcdc;
  --tecit-surface: #f6f6f6;
}

[data-md-color-primary="custom"] {
  --md-primary-fg-color: var(--tecit-blue);
  --md-primary-fg-color--light: #274f8e;
  --md-primary-fg-color--dark: #102848;
}

[data-md-color-accent="custom"] {
  --md-accent-fg-color: var(--tecit-red);
}

.md-typeset h1 {
  color: var(--tecit-blue);
  font-weight: 700;
}

.md-typeset h2 {
  color: var(--tecit-blue);
}

.md-typeset .tecit-home-title {
  margin-bottom: 0.25rem;
}

.md-typeset .tecit-home-subtitle {
  margin-top: 0;
  margin-bottom: 0;
}

.md-typeset .tecit-home-date {
  font-size: 0.85em;
  margin-top: 0.35rem;
  margin-bottom: 0;
}

.md-typeset .tecit-home-subtitle + ul,
.md-typeset .tecit-home-date + ul {
  margin-top: 1.5rem;
}

.md-typeset a {
  color: var(--tecit-blue);
}

.md-typeset a:hover {
  color: var(--tecit-red);
}

.md-typeset img {
  border: 1px solid var(--tecit-border);
  border-radius: 4px;
  height: auto;
}

.md-typeset figure.tecit-image-figure {
  margin: 1em 0 1.25em;
  max-width: 100%;
  text-align: center;
}

.md-typeset figure.tecit-image-figure > p {
  margin: 0;
}

.md-typeset figure.tecit-image-figure > p > img {
  display: block;
  margin: 0 auto;
}

.md-typeset figure.tecit-image-figure > figcaption {
  color: var(--tecit-muted);
  font-size: 0.85em;
  font-style: normal;
  margin: 0.25rem 0 0;
  max-width: none;
  text-align: center;
}

.md-typeset code,
.md-typeset pre {
  font-size: 0.9em;
}

.md-typeset dt {
  color: var(--tecit-blue);
  font-weight: 700;
}

.md-typeset .fields dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 0.35rem 1.2rem;
}

.md-typeset .fields dt,
.md-typeset .fields dd {
  margin: 0;
}

.md-typeset .table-no-header table thead {
  display: none;
}

.md-typeset figure.tecit-table-figure {
  margin: 1em 0 1.25em;
  max-width: 100%;
  text-align: left;
}

.md-typeset figure.tecit-table-figure > table {
  margin-bottom: 0;
}

.md-typeset figure.tecit-table-figure > .md-typeset__scrollwrap,
.md-typeset figure.tecit-table-figure > .md-typeset__scrollwrap > .md-typeset__table {
  line-height: 0;
  margin-bottom: 0;
}

.md-typeset figure.tecit-table-figure table {
  line-height: 1.6;
}

.md-typeset figure.tecit-table-figure > figcaption {
  color: var(--tecit-muted);
  font-size: 0.85em;
  font-style: normal;
  margin: 0.25rem 0 0;
  max-width: none;
  text-align: left;
}

.md-typeset .keep {
  break-inside: avoid;
}
