:root {
  --md-primary-fg-color: #320325;
  --md-accent-fg-color: #f4601a;
  --md-text-font: "Helvetica Neue", Arial, sans-serif;
  --allo-header-font-size: 0.72rem;
}

body,
input,
select,
textarea {
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.md-header,
.md-tabs {
  background-color: #320325;
}

.md-header__inner {
  padding-top: 1rem;
}

.md-header__button.md-logo img,
.md-header__button.md-logo svg {
  height: 1.6rem;
  width: auto;
}

/* Hide visible site title text but keep header spacing/alignment */
.md-header__title {
  visibility: hidden;
}

.md-typeset a {
  color: #f4601a;
}


/* Keep header controls at one consistent text size */
.md-tabs__link,
.md-search__input,
.md-header__option .md-select__label,
.md-select__list .md-select__item .md-select__link {
  font-size: var(--allo-header-font-size);
}

.md-button {
  border-radius: 999px;
}

.md-button--primary {
  background-color: #f4601a !important;
  border-color: #f4601a !important;
  color: #ffffff !important;
}

/* Hide empty footer metadata row after disabling generator text */
.md-footer-meta {
  display: none;
}

/* Language menu: use real SVG flags for consistent rendering */
.md-select__list .md-select__item .md-select__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.md-select__list .md-select__item:nth-child(1) .md-select__link::before,
.md-select__list .md-select__item:nth-child(2) .md-select__link::before {
  content: "";
  width: 1.1rem;
  height: 0.75rem;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
  flex: 0 0 auto;
}

.md-select__list .md-select__item:nth-child(1) .md-select__link::before {
  background-image: url("../images/flag-gb.svg");
}

.md-select__list .md-select__item:nth-child(2) .md-select__link::before {
  background-image: url("../images/flag-nl.svg");
}

/* Language trigger: replace translate glyph with active-language flag */
.md-header__option .md-select > .md-header__button.md-icon > svg {
  display: none;
}

.md-header__option .md-select > .md-header__button.md-icon::before {
  content: "";
  display: inline-block;
  width: 1.15rem;
  height: 0.8rem;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
  vertical-align: middle;
}

html[lang="en"] .md-header__option .md-select > .md-header__button.md-icon::before {
  background-image: url("../images/flag-gb.svg");
}

html[lang="nl"] .md-header__option .md-select > .md-header__button.md-icon::before {
  background-image: url("../images/flag-nl.svg");
}
