/* Site-specific overrides on top of the BizPage theme (style.css). */

/* Language flags: compact in the desktop menu, side by side in the mobile menu. */
.nav-menu > li.nav-lang {
  margin-left: 4px;
}

.nav-menu > li.nav-lang > a,
.nav-menu > li.nav-lang:hover > a {
  padding: 0 2px 10px;
  border-bottom: none;
}

#mobile-nav ul li.nav-lang {
  display: inline-block;
}

#mobile-nav ul li.nav-lang a {
  display: inline-block;
  width: auto;
  padding: 10px 4px 10px 15px;
}

/* Logo: same look whether it is the page's h1 (home) or a div (other pages). */
#header #logo .logo-title {
  font-size: 20px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

#header #logo .logo-title a,
#header #logo .logo-title a:hover {
  color: #fff;
  padding-left: 10px;
  border-left: 4px solid #f26522;
}

@media (max-width: 768px) {
  #header #logo .logo-title {
    font-size: 28px;
  }
}

/* Page titles are h1 for SEO but keep the theme's section-title (h3) look. */
.section-header h1 {
  font-size: 32px;
  color: #111;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.section-header h1::before {
  content: '';
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 60px);
}

.section-header h1::after {
  content: '';
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: #f26522;
  bottom: 0;
  left: calc(50% - 20px);
}

#blog h1.news-subject {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.5;
  margin: 0;
}

#blog .news-body p {
  font-size: 18px;
}

/* Blog posts come from a WYSIWYG editor with fixed pixel sizes; keep them inside the screen. */
#blog .news img,
#blog .news table,
#blog .news iframe {
  max-width: 100%;
}

#blog .news img {
  height: auto;
}

#blog .news {
  overflow-wrap: break-word;
}
