/* --- Верхнее горизонтальное меню --- */
.conf_leftMenu {
    width: 100%;
    float: none;
    margin-bottom: 20px;
}

/* Контейнер меню */
#outer {
    display: flex;
    flex-wrap: wrap;           /* разрешаем перенос строк */
    justify-content: center;   /* центрируем пункты */
    gap: 5px;
    border: none;
    background: #ECECEC;
    padding: 10px 0;
    position: relative;
}

/* Универсально все элементы внутри #outer */
#outer * {
    box-sizing: border-box; /* padding не ломает размеры */
}

/* Прямые элементы меню */
#outer > * {
    display: inline-block;
    margin: 0;
    padding: 0;
}

/* Все ссылки в меню */
#outer a {
    display: inline-block; /* чтобы в ряд шли */
    font-family: Poppins, Arial, sans-serif;
    font-weight: bold;
    font-size: 11pt;
    color: #2C2C54;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 4px;
    transition: background 0.2s;
    white-space: nowrap;
}

/* Hover для всех ссылок */
#outer a:hover {
    background: #e0e0e0;
}

/* Активный пункт меню */
#outer .selected a {
    color: #D5A253 !important;
    background: rgba(170, 171, 184, 0.2);
}

/* Подменю */
li ul.inner {
    position: absolute;
    display: none;
    background: #f6f6f6;
    border: 1px solid #ccc;
    margin-top: 5px;
    padding: 5px 0;
    z-index: 1000;
}

li:hover ul.inner {
    display: block;
}

li ul.inner li a {
    display: block;
    padding: 5px 15px;
    background: none;
}

/* Контент без отступа слева */
.confBodyBox {
    margin-left: 0;
}

/* Заголовок */
.confTitle,
h1 {
    color: #D5A253;
}

/* Контакты внизу страницы */
.contact-info {
    margin-top: 40px;
    padding: 10px 0;
    text-align: center;
    font-size: 10pt;
    border-top: 1px solid #ccc;
}