.container-header {
    z-index: 10;
    background-color: #ffffff;
    background-image:none;
    position: relative;
    box-shadow: inset 0 5px 5px #00000008;
}

.container-header .mod-menu>li>a, .container-header .mod-menu>li>span {
    color: #000000;
    font-weight: bold;
    text-decoration: none;
    position: relative;
}

/* Контейнер логотипа + меню — в одну лінію */
.container-nav,
.navbar-brand {
  display: inline-block;
  vertical-align: middle;
}

/* Хедер — flex, щоб усе на одній лінії */
header.container-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Меню вирівнюється вправо */
.container-nav {
  margin-left: auto;
  padding-top: 0.3rem;
}

/* Зробити логотип трохи меншим, якщо треба */
.brand-logo img {
 /* max-height: 60px;
  height: auto;*/
}

.grid-child{
width:auto;
}

/* 🔲 Футер — стилі */
.site-footer {
 /*background-color: #000000;*/
  color: #ffffff;
  text-align: center;
  padding: 20px 20px;
  font-size: 0.9rem;
  max-width: 900px;
  margin: 0 auto;
}

/* 🔗 Посилання у футері */
.site-footer a {
  color: #e60000;
  text-decoration: none;
  margin: 0 10px;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* 📌 Sticky футер (тільки якщо мало контенту) */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#content {
  flex: 1;
}

/* Вирівнювання контейнера футера */
footer {
  display: flex;
  justify-content: center;
}

.mod-articlescategory {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  padding: 40px 0;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.mod-articlescategory li {
  background: #f8f8f8;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  max-width: 300px;
  flex: 1 1 280px;
  padding: 20px;
  text-align: left;
  list-style: none;
}

.mod-articlescategory li a {
  font-weight: 600;
  color: #000;
  text-decoration: none;
}

.mod-articlescategory li a:hover {
  color: #e60000;
  text-decoration: underline;
}

.container-header .navbar-toggler {
    color: #000000 !important;
    cursor: pointer;
    border: 1px solid #fff;
}