/* Дополнительные стили; визуальная проверка выполняется в фазе 4. */
/* Контраст шапки и доступное раскрытие архивного меню без зависимости от JS. */
#header { background: #171c23; }
#header #site-name, #header #site-name a { color: #fff; }
#header #site-slogan { color: #d5dbe1; }
#header ul.nice-menu li span { color: #e0e5ea; }
#header ul.nice-menu ul, #header ul.nice-menu ul * { visibility: visible !important; }
#header ul.nice-menu li > ul { display: none !important; margin-top: 0; }
#header ul.nice-menu li:hover > ul,
#header ul.nice-menu li:focus-within > ul { display: block !important; }
#header ul.nice-menu a:focus-visible { outline: 2px solid #f5cc43; }
#content { overflow-wrap: anywhere; }
#footer a, footer a { color: #cbd3db; }
#header .section, body.with-slogan #header .section {
  height: auto; min-height: 120px; display: flow-root;
}
#header .region-header { clear: both; margin-left: 0; width: 100%; height: auto; line-height: normal; }
#header .block-nice-menus { float: none; }
#header ul.nice-menu { display: flex; flex-wrap: wrap; justify-content: flex-end; height: auto; margin: 10px 0 20px; }
#header ul.nice-menu > li { margin-top: 0; }
#header ul.nice-menu a { color: #e0e5ea; }
#footer { background-color: #0b0e13; }
#footer .romlifooter { background: #0b0e13; color: #f3f5f7; }
#footer .romlifooter a { color: #f3f5f7 !important; }
#footer .romlifooter img {
  max-width: 160px;
  height: auto;
  object-fit: contain;
  display: block;
}
/* Sponsor/collaborator logos: keep inside 172px footer columns (Danone is 234px native). */
#footer #block-block-2 img,
#footer #block-block-3 img {
  max-width: 100%;
  height: auto;
  margin: 0 3px 6px 0;
  opacity: 0.5;
  vertical-align: middle;
}
#footer #block-block-2 img:hover,
#footer #block-block-3 img:hover {
  opacity: 1;
}
