/* Шрифт */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@font-face {
    font-family: 'Normalidad';
    src: url('/media/fonts/Normalidad/Medium/NormalidadText-Medium.woff') format('woff'),
    url('/media/fonts/Normalidad/Medium/NormalidadText-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Normalidad';
    src: url('/media/fonts/Normalidad/Regular/NormalidadText-Regular.woff') format('woff'),
    url('/media/fonts/Normalidad/Regular/NormalidadText-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

#custom-style {
    --app-font-famaly: 'Roboto';
}

/* границы таблицы */

.article table > tbody > tr:last-child {
    border-bottom: 1px solid var(--color-line);
}

.article table > tbody > tr > td,
.article table > tbody > tr > th,
.article table > tfoot > tr > td,
.article table > tfoot > tr > th,
.article table > thead > tr > td,
.article table > thead > tr > th {
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
}

.article table > tbody > tr > td:first-child,
.article table > tbody > tr > th:first-child,
.article table > tfoot > tr > td:first-child,
.article table > tfoot > tr > th:first-child,
.article table > thead > tr > td:first-child,
.article table > thead > tr > th:first-child {
    border-left: 1px solid var(--color-line);
}

.article table > tbody > tr > td:last-child,
.article table > tbody > tr > th:last-child,
.article table > tfoot > tr > td:last-child,
.article table > tfoot > tr > th:last-child,
.article table > thead > tr > td:last-child,
.article table > thead > tr > th:last-child {
    border-right: 1px solid var(--color-line);
}

/* Цвет шапки таблицы, светлая тема */
#custom-style[data-theme="light"]

.article .article-body table th {
    background-color: #EDEDED;
}

/* Цвет шапки таблицы, темная тема */
#custom-style[data-theme="dark"]

.article .article-body table th {
    background-color: #313548;
}

/*Карточки на главной странице */

#custom-style .catalog-title-logo {
    top: 1rem;
    height: 4rem;
    right: -1rem;
    width: 7rem;
}

#custom-style .catalog-text {
    -webkit-line-clamp: 3;
}

#custom-style .catalog-texts {
    width: 70%;
}

.depth-0, .article-title {
    font-family: 'Normalidad', sans-serif;
}
