:root {
    --template-bg-light: #f2e9d3;
    --template-text-dark: #17130f;

    --template-special-color: #b85c4a;

    --cassiopeia-color-primary: #b85c4a;
    --cassiopeia-color-hover: #9e493b;

    --cassiopeia-color-link: #9e493b;
    --link-color: #9e493b;
    --link-hover-color: #b85c4a;

    --cassiopeia-font-family-body: "Noto Sans", sans-serif;
    --cassiopeia-font-family-headings: "Roboto", sans-serif;

    --cassiopeia-font-weight-normal: 400;
    --cassiopeia-font-weight-headings: 500;
}

body {
    background-color: #f2e9d3 !important;
    color: #17130f !important;
}
.banev-header {
    width: 100%;
    text-align: center;
}

.banev-header img {
    display: block;
    width: 100%;
    height: auto;
}
.container-header .container-nav {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 20;
    width: 55%;
}
.container-header .mod-menu {
    justify-content: flex-end;
	padding-right: 30px;
}
.container-header .mod-menu > li > a {
    color: #17130f !important;
	font-size: 17px;
    font-weight: 700;
}

.container-header .mod-menu > li.current > a,
.container-header .mod-menu > li.active > a {
    color: #b85c4a !important;
	font-weight: 700;
}

container-header .mod-menu > li > a {
    color: #17130f !important;
    font-weight: 600;
}
.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:focus {
    color: #9e493b !important;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
.banev-header {
    position: relative;
}

.banev-logo {
    position: absolute;
    top: 20px;
    left: 30px;
    z-index: 30;
}

.banev-logo img {
    display: block;
    width: 103px;
    height: 32px;
}
.container-header .mod-menu > li.active::after,
.container-header .mod-menu > li:hover::after {
    height: 2px !important;
    background: #fff !important;
    opacity: 1 !important;
}
.container-header .mod-menu > li.current > a,
.container-header .mod-menu > li.active > a {
    color: #f6c167 !important;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.45);
	background: rgba(23, 19, 15, 0.15);
}
.container-header .mod-menu {
    flex: 0 1 auto !important;
}
@media (max-width: 991.98px) {
    .container-header .mod-menu {
        display: none;
    }

    .banev-menu-toggle {
        width: 44px;
        height: 44px;
        padding: 8px;
        margin: 0;
        border: 0;
        background: transparent;
        position: absolute;
        top: 5px;
        right: 80px;
        z-index: 50;
        cursor: pointer;
    }

    .banev-menu-toggle span {
        display: block;
        height: 3px;
        margin: 5px 0;
        background: #f6c167;
        border-radius: 2px;
    }

    .container-header .mod-menu > li > a {
        color: #fff !important;
    }
	.container-header .mod-menu {
    background: rgba(0, 0, 0, 0.55);
    padding: 10px 15px;
    border-radius: 4px;
	}
}
/* оформление модуля "Новое" */
.sidebar-right.card h4.mod-articles-title {
     font-size: 1rem !important;
}
/* Кнопка «Подробнее» */
p.readmore .btn.btn-secondary {
    --btn-color: #f2e9d3;
    --btn-bg: #6f463f;
    --btn-border-color: #6f463f;
    --btn-hover-color: #f2e9d3;
    --btn-hover-bg: #5f332c;
}
/* Пагинация */
.pagination .page-link {
    color: #f2e9d3 !important;
    background-color: #6f463f !important;
    border-color: #6f463f !important;
}
/* Пагинация — текущая страница */
.pagination .page-item.active .page-link {
    color: #000000 !important;
    background-color: #d0c3ad !important;
    border-color: #b8a995 !important;
}
/* Центрируем пагинацию */
.pagination {
    justify-content: center;
}

.pagination .page-link:hover {
    color: #f2e9d3 !important;
    background-color: #5f332c !important;
    border-color: #5f332c !important;
}
.sidebar-right.card {
    --card-bg: var(--body-bg);
	background: #f2e9d3 !important;
    border: 1px solid #b8b3a8;
    border-radius: 3px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.sidebar-right.card .card-header {
    background: transparent;
    border-bottom: 1px solid #b8b3a8;
}
.sidebar-right.card .card-body {
    background: transparent !important;
}

.sidebar-right.card .mod-articles-link {
    color: #5f332c;
}

.sidebar-right.card h4.mod-articles-title {
    font-size: 1rem !important;
}
#mod-custom111 {
    background: #f2e9d3;
    border: 1px solid #b8b3a8;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    padding: 15px;
}
.bottom-a.card {
    background: #f2e9d3 !important;
    border: 1px solid #b8b3a8;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.bottom-a.card .card-body {
    background: transparent !important;
    padding: 6px;
}
/* Иконки на странице «Контакты» */
#top > div > div.grid-child.container-component > main > div > div > div > div > p:nth-child(3) {
    display: flex !important;
    justify-content: center !important;
    gap: 24px !important;
    flex-wrap: nowrap !important;
}
/* Карточка страницы «Контакты» */
body.itemid-110 .item-content {
    background-color: #f4efe3 !important;
    border: 1px solid #d0c3ad !important;
    border-radius: 4px;
    padding: 28px 36px 2px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
    margin-top: 16px;
	min-height: 500px;
}