/* Исходные стили темы сохранены; дополнения после визуального QA. */

/* Static archived hero; readable navigation without animation initialization. */
header.header {background:#00878e!important;opacity:1!important;visibility:visible!important;}
header.header .navbar-brand img.normal-logo {display:block!important;visibility:visible!important;opacity:1!important;}
.olivia-static-hero {min-height:420px;display:flex;align-items:center;background-size:cover;background-position:center;padding:110px 24px 65px;color:#fff;}
.olivia-static-hero h1 {color:#fff;font-size:clamp(28px,4vw,48px);line-height:1.2;max-width:850px;}
.olivia-static-hero p {max-width:800px;font-size:18px;line-height:1.7;color:#fff;}
.entry-content h2,.post-content h2 {font-size:28px!important;line-height:1.3!important;margin:1.3em 0 .6em!important;}
.entry-content h3,.post-content h3 {font-size:23px!important;line-height:1.35!important;margin:1.2em 0 .6em!important;}
.entry-content h4,.post-content h4 {font-size:20px!important;line-height:1.4!important;margin:1.2em 0 .6em!important;}
.entry-content h5,.post-content h5,.entry-content h6,.post-content h6 {font-size:19px!important;line-height:1.4!important;margin:1.2em 0 .6em!important;}
@media(max-width:767px){.olivia-static-hero{min-height:340px;padding-top:100px;} header.header{position:relative!important;}}

.olivia-article-shell {margin:0;color:#333;font-family:Montserrat,Arial,sans-serif;font-size:16px;line-height:1.65;}
.olivia-article-shell header.header {position:relative!important;min-height:90px;}
.olivia-article-shell header .navbar {display:flex;align-items:center;justify-content:space-between;min-height:90px;}
.olivia-article-shell header .navbar>.container {display:flex;align-items:center;justify-content:space-between;width:100%;}
.olivia-article-shell .header-navibox-3,.olivia-article-shell .scroll-logo,.olivia-article-shell>.lang_sel_list_horizontal {display:none!important;}
.olivia-article-shell .navbar-brand {height:auto;padding:12px 0;}
.olivia-article-shell .navbar-brand .normal-logo {width:145px;height:auto;}
.olivia-article-shell .main-menu {display:flex!important;flex-wrap:wrap;gap:18px;list-style:none;padding:0;margin:0;}
.olivia-article-shell .main-menu>li {list-style:none;}
.olivia-article-shell .main-menu>li>a {color:#fff!important;text-decoration:none;font-size:13px;font-weight:600;}
.olivia-article-shell .page-title {padding:35px 0!important;min-height:0!important;}
.olivia-article-shell h1.title {font-size:32px!important;line-height:1.3!important;color:#fff;padding:15px 0;}
.olivia-article-shell .entry-content {font-size:17px;line-height:1.75;color:#333;}
.olivia-article-shell .entry-content h2,.olivia-article-shell .entry-content h3 {color:#285c61;}
.olivia-article-shell footer a {color:#fff;}
@media(max-width:767px){.olivia-article-shell header .navbar>.container {flex-direction:column;}.olivia-article-shell .main-menu{justify-content:center;gap:12px;padding-bottom:20px;}}

/* Unavailable archived video panels must not reserve empty columns. */
.sombra-video{display:none!important;}

#page-preloader{display:none!important;visibility:hidden!important;pointer-events:none!important;}
.olivia-article-shell>#lang_sel{display:none!important;}
.olivia-article-shell .page-header h1{color:#000!important;}
.olivia-article-shell .page-header .col-md-offset-5{margin-left:0!important;}
.olivia-article-shell .page-header .col-md-8{width:100%!important;}

/* Sitewide text sits on a white panel below the photographic footer. */
.olivia-article-shell footer .romlifooter,.olivia-article-shell footer .romlifooter a,.olivia-article-shell footer .romlifooter p {color:#245b61!important;background-color:#fff!important;}
.olivia-article-shell .page-header {background-image:none!important;padding:25px 0!important;min-height:0!important;}
.olivia-article-shell .wrap-blog-content {padding-top:25px!important;}

/* Make the mobile menu button available on every page. */
@media(max-width:767px){
  .olivia-article-shell header.header {
    height:90px!important;
    min-height:90px!important;
    position:relative!important;
  }
  .olivia-article-shell header .navbar {
    display:block!important;
    height:90px!important;
    min-height:90px!important;
  }
  .olivia-article-shell header .navbar>.container {
    display:block!important;
    position:relative!important;
    width:100%!important;
    height:90px!important;
  }
  .olivia-article-shell .header-navibox-1 {
    position:static!important;
    width:100%!important;
    height:90px!important;
  }
  .olivia-article-shell .navbar-brand {
    position:absolute!important;
    top:14px!important;
    left:50%!important;
    z-index:10000!important;
    padding:0!important;
    line-height:0!important;
    transform:translateX(-50%);
  }
  .olivia-article-shell .navbar-brand .normal-logo {
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:145px!important;
    height:auto!important;
  }
  .olivia-article-shell .navbar-brand .scroll-logo {
    display:none!important;
  }
  .header .header-navibox-1 > .menu-mobile-button {
    display:block!important;
    position:absolute!important;
    top:13px!important;
    right:15px!important;
    z-index:10001!important;
    width:44px!important;
    height:40px!important;
    margin:0!important;
    padding:10px!important;
    background:#fff!important;
    border:1px solid #00878e!important;
    border-radius:2px;
    pointer-events:auto!important;
  }
  .header .header-navibox-1 > .menu-mobile-button .toggle-menu-button-icon {
    display:block!important;
    position:relative;
    width:22px;
    height:17px;
  }
  .header .header-navibox-1 > .menu-mobile-button .toggle-menu-button-icon span {
    background:#00878e!important;
  }
  .mobile-slidebar-menu {
    z-index:10000!important;
  }
}
