/* Roboto Mono Regular */
@font-face {
  font-family: 'Roboto Mono';
  src: local('Roboto Mono'),
       local('RobotoMono-Regular'),
       url('../assets/fonts/RobotoMono-Regular.ttf');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Roboto Mono Italic */
@font-face {
  font-family: 'Roboto Mono';
  src: local('Roboto Mono Italic'),
       local('RobotoMono-Italic'),
       url('../assets/fonts/RobotoMono-Italic.ttf');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Roboto Mono Bold */
@font-face {
  font-family: 'Roboto Mono';
  src: local('Roboto Mono Bold'),
       local('RobotoMono-Bold'),
       url('../assets/fonts/RobotoMono-Bold.ttf');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Roboto Mono Bold Italic */
@font-face {
  font-family: 'Roboto Mono';
  src: local('Roboto Mono Bold Italic'),
       local('RobotoMono-BoldItalic'),
       url('../assets/fonts/RobotoMono-BoldItalic.ttf');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}


/* Golos Text Regular */
@font-face {
  font-family: 'Golos Text';
  src: local('Golos Text Regular'),
       local('GolosText-Regular'),
       local('GolosTextVF'), /* Переменный шрифт */
       url('../assets/fonts/GolosText-Regular.ttf');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Golos Text Medium */
@font-face {
  font-family: 'Golos Text';
  src: local('Golos Text Medium'),
       local('GolosText-Medium'),
       local('GolosTextVF'),
       url('../assets/fonts/GolosText-Medium.ttf');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Golos Text SemiBold */
@font-face {
  font-family: 'Golos Text';
  src: local('Golos Text SemiBold'),
       local('GolosText-SemiBold'),
       local('GolosTextVF'),
       url('../assets/fonts/GolosText-SemiBold.ttf');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Golos Text Bold */
@font-face {
  font-family: 'Golos Text';
  src: local('Golos Text Bold'),
       local('GolosText-Bold'),
       local('GolosTextVF'),
       url('../assets/fonts/GolosText-Bold.ttf');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Golos Text ExtraBold */
@font-face {
  font-family: 'Golos Text';
  src: local('Golos Text ExtraBold'),
       local('GolosText-ExtraBold'),
       local('GolosTextVF'),
       url('../assets/fonts/GolosText-ExtraBold.ttf');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Golos Text Black */
@font-face {
  font-family: 'Golos Text';
  src: local('Golos Text Black'),
       local('GolosText-Black'),
       local('GolosTextVF'),
       url('../assets/fonts/GolosText-Black.ttf');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --md-text-font: "Golos Text";
  --md-code-font: "Roboto Mono";
}

/* Палитры для светлой и темной тем */
:root > * {
  --md-primary-fg-color: #269595;
  --md-accent-fg-color: #3DA6A6;
  --md-footer-fg-color--light: #7A8492;
  --md-footer-fg-color--lighter: #7A8492;
  --md-typeset-a-color: #3DA6A6;
  
}

[data-md-color-scheme="default"] {
  --md-default-fg-color--light: #2B2B36;
  --md-default-fg-color--lighter: #2B2B36;


  --md-footer-bg-color: #ffffff;
  --md-footer-bg-color--dark: #fff;
}

[data-md-color-scheme="slate"] {
  --md-default-fg-color--light: var(--md-typeset-color);
  --md-default-fg-color--lighter: var(--md-typeset-color);
}

[data-md-color-scheme="slate"][data-md-color-primary=indigo] {
  --md-typeset-a-color: #3DA6A6;
}

.md-search-result__more summary div {
  color: #269595;
}

.md-header__topic:first-child {
  font-weight: 400;
}

/* Настройка admonition note*/
.md-typeset .admonition.note,
.md-typeset details.note {
  border-color: #65CCCC;
}

.md-typeset .note > .admonition-title::before,
.md-typeset .note > summary::before,
.md-typeset .note > summary::after {
  background-color: #3DA6A6;
}

[data-md-color-scheme="default"] .md-typeset .note > summary {
  background-color: #EFF8F9;
  font-weight: 600;
}
[data-md-color-scheme="slate"] .md-typeset .note > summary {
  background-color: #1A2833;
  font-weight: 600;
}

[data-md-color-scheme="default"] .md-typeset .note .admonition-title {
  background-color: #EFF8F9;
  font-weight: 600;
}
[data-md-color-scheme="slate"] .md-typeset .note .admonition-title {
  background-color: #1A2833;
  font-weight: 600;
}

.smaller {
  font-size: 0.85em;
}

/* Настройка контентных карточек */

.cards {
  font-size: 0.72rem;
  color: #7A8492;
}

.cards .title-text {
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 20px;
}

[data-md-color-scheme="default"] .cards .title-text {
  color: #202224;
}

[data-md-color-scheme="slate"] .cards .title-text {
  color: var(--md-typeset-color);
}

.cards .title-icon {
  color: #3DA6A6;
}

.cards .footer-button {
  font-size: 0.75rem;
  margin-top: 20px;
}

/* Шрифт в списке версий */
.md-version__link {
    font-weight: normal;
}

/* Цвет ховера в списке версий */
.md-version__link:focus, .md-version__link:hover {
    color: #3DA6A6;
}
