.logo__img {
  max-height: 92px;
  width: auto;
  height: auto;
}

.logo {
  margin: 0;
  padding: 0;
}

.logo__imagebox {
  margin: 0;
  padding: 0;
}

.header__container {
  max-width: 100%;
  padding: 0;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.footer__copyright-credits,
.footer__copyright-credits a {
    color: transparent;
}

.slider-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.slider-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.slider img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Стили для списка новостей */
.list__item {
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.list__thumbnail {
  float: left;
  margin: 0 1.5rem 0.5rem 0;
  max-width: 300px;
}

.thumbnail__link {
  display: block;
}

.thumbnail__image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.list__header {
  margin-bottom: 0.5rem;
}

.list__title {
  margin: 0;
}

.list__meta {
  margin-top: 0.25rem;
}

.list__excerpt {
  margin-top: 0.5rem;
}

/* Стили для постов только с изображением */
.post--image-only {
  grid-template-columns: 1fr;
}

.post--image-only .thumbnail__image {
  max-height: 450px;
}

/* Адаптивные стили */
@media (max-width: 768px) {
  .list__thumbnail {
    float: none;
    margin: 0 0 1rem 0;
    max-width: 100%;
  }
}

/* --- Мобильное меню --- */
.menu__btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.menu__btn span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: #222;
  border-radius: 2px;
  transition: 0.3s;
}
@media (max-width: 900px) {
  .menu__btn {
    display: flex;
  }
  .menu__list {
    display: none;
    position: absolute;
    top: 60px;
    right: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    flex-direction: column;
    min-width: 180px;
    padding: 10px 0;
    z-index: 1000;
  }
  .menu__list.menu__list--active {
    display: flex;
  }
  .menu__item {
    margin: 0;
    padding: 0 20px;
  }
  .menu__link {
    display: block;
    padding: 12px 0;
    color: #222;
    text-decoration: none;
  }
}
.menu__btn--active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu__btn--active span:nth-child(2) {
  opacity: 0;
}
.menu__btn--active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 900px) {
  body.section-novosti .sidebar {
    display: none !important;
  }
  body.section-novosti .primary {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 900px) {
  body.section-hide-sidebar .sidebar {
    display: none !important;
  }
  body.section-hide-sidebar .primary {
    width: 100% !important;
    max-width: 100% !important;
  }
}
