.brand-logo img {
    max-width: 120px !important;
    height: auto !important;
    padding: 10px 0;
    padding: 0;
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .brand-logo img {
        max-width: 70px !important;
    }
}

.container-header {
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1000;
}

.navbar-brand {
    padding: 0;
}

.site-description {
    display: none;
}

.sidebar-right .mod-menu__list {
    list-style: none;
    padding-left: 0;
}
.sidebar-right .mod-menu__list li {
    margin-bottom: 10px;
}
.sidebar-right .mod-menu__list a {
    text-decoration: none;
    color: #0056b3;
    font-weight: 500;
}
.sidebar-right .mod-menu__list a:hover {
    color: #007bff;
    text-decoration: underline;
}

.nav-item a {
    text-decoration: none;
    color:#2b2b2b;
    padding: 5px;
}

.mod-list li.active>a {
    text-decoration: none;
    font-weight: 600;
    color: #163257;
    padding: 5px;
    border-radius: 5px;
    padding: 0;
}

.main-phone {
    color: #fff;
    font-weight: 400;
    text-decoration: none;
    padding: 5px 10px;
    background: #163257;
    border-radius: 10px;
    margin-right: 5px;
}

.whatsapp {
    background: #15d648;
    color: #fff;
    border-radius: 10px;
    margin-right: 5px;
    font-weight: 400;
    text-decoration: none;
    padding: 5px 10px;
    font-size: 20px;
}

.card-header {
    background: #163257;
    color: #fff;
    border-radius: 10px !important;
}

.sidebar-right {
    border-radius: 10px !important;
}

.breadcrumb {
    border-radius: 10px !important;
}

.breadcrumb-item a {
    text-decoration: none !important;
    color: #163257;
}

.container-header .mod-menu>li>a, .container-header .mod-menu>li>span {
  color: #163257 !important;
  font-size: 20px !important;
  font-weight: 600 !important;
}

.header {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.header .grid-child {
    width: auto !important;
    margin: 0 !important;
}

/* Гамбургер: стили для всех экранов */
.navbar-toggle {
  display: none; /* Скрыт на десктопе */
  flex-direction: column;
  justify-content: space-around;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1010;
}

.navbar-toggle span {
  width: 100%;
  height: 3px;
  background: #000; /* Цвет линий — поменяйте под дизайн */
  border-radius: 2px;
  transition: all 0.3s ease;
  position: relative;
}

.container-nav {
    align-items: center;
}

.main-phone {
    margin-left: 20px;
    font-size: 20px;
}

/* Адаптив: мобильные устройства (до 768px) */
@media (max-width: 767.98px) {
    p {
        line-height: 1.5;
    }
    .com-content-article__body img {
        width: 100% !important;
    }
    .container-nav.active {
    position: absolute;
    top: 92px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 10px 15px;
}
  /* Показываем гамбургер */
  .navbar-toggle {
    display: flex;
  }

  /* Скрываем основное меню по умолчанию */
  .container-nav {
    display: none;
    width: 100%;
    padding-top: 15px;
  }

  /* Когда меню открыто — показываем */
  .container-nav.active {
    display: block;
  }

  /* Optional: сделать header колонкой на мобиле */
  header .header-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }

  /* Логотип и гамбургер — в одну строку */
  .logo-wrapper {
    order: 1;
  }
  .navbar-toggle {
    order: 2;
  }
  .container-nav {
    order: 3;
    flex-basis: 100%;
  }
}

.container-nav-des {
    display: none;
}

/* Скрываем "Информация о материале" */
.article-info {
    display: none !important;
}

/* Или более точный селектор, если выше не сработало */
.item-page .article-info,
.item-page .article-metadata {
    display: none !important;
}

body {
    background-color: #f6f6f6 !important;
}

.com-content-article {
    background-color: #fff !important;
    padding: 15px;
    border-radius: 10px;
}

.breadcrumb {
    background: #fff !important;
}

.container-header .grid-child {
    padding: 0 !important;
}

p {
    line-height: 2 !important;
}

.com-content-category-blog__item {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.com-content-category-blog__item h2 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.com-content-category-blog__item .intro {
  margin-bottom: 12px;
  color: #555;
}

/* Убираем таблицу, делаем красивый список */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list ul {
    list-style: none;
    padding-left: 0;
}

.category-list li {
    margin-bottom: 16px;
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.category-list li:hover {
    background: #f9f9f9;
    transform: translateY(-2px);
}

.category-list a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 1.1rem;
    display: block;
}

.category-list a:hover {
    color: #007bff;
}

.com-content-category {
    background: #fff !important;
    border-radius: 15px !important;
    padding: 15px;

}

.cat-list-row1 {
    display: flex;
    width: fit-content;
    margin: 10px 0;
    font-size: 20px;
    padding: 0;
    background-color: #163257 !important;
    background: #163257 !important;
    border-radius: 15px !important;
}
.cat-list-row0 {
    display: flex;
    width: fit-content;
    margin: 10px 0;
    color: #fff;
    font-size: 20px;
    padding: 0;
    background-color: #163257 !important;
    background: #163257 !important;
    border-radius: 15px !important;
    
}

.list-title a{
     display: flex;
    width: fit-content;
    margin: 10px 0;
    background-color: #163257 !important;
    background: #163257 !important;
    color: #fff !important;
    padding: 15px;
    font-size: 20px;
    border-radius: 15px;
}

.list-title {
    background: #163257 !important;
    border-radius: 15px !important;
}

.navbar-toggle {
    margin-right: 15px;
}

.photo-start-img {
    max-width: 50%;
    height: 100%;
    border-radius: 15px;
    padding: 10px 5px;
}

.img-block-start {
    display: flex;
    justify-content: start;
    flex-wrap: nowrap;
    width: 100%;
}

.float-end {
    border-radius: 15px;
}

.mobile-contact {
    display: none;
}

@media (max-width: 768px) {
    .navbar-brand {
        margin-right: 10px;
    }
    .mobile-contact {
        display: flex;
        justify-content: end;
        flex-wrap: wrap;
        text-align: start;
        width: 100%;
        margin-left: auto;
    }
    .mob-left-menu {
        display: flex;
        justify-content: end;
        margin-right: 20px;
        width: 100%;
    }
    .mobile-contact a {
        font-size: 12px;
        display: block;
        width: fit-content;
        margin: 1px 0 !important;
    }
    .photo-start-img {
        width: 50%;
    }
    .float-end {
        width: 100%;
    }
}